openplanr 3.1.1 → 3.2.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 (363) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/cli/commands/groups/delivery.d.ts.map +1 -1
  3. package/dist/cli/commands/groups/delivery.js +2 -0
  4. package/dist/cli/commands/groups/delivery.js.map +1 -1
  5. package/dist/cli/commands/planning-artifacts.d.ts.map +1 -1
  6. package/dist/cli/commands/planning-artifacts.js +22 -12
  7. package/dist/cli/commands/planning-artifacts.js.map +1 -1
  8. package/dist/cli/commands/ship.d.ts +3 -0
  9. package/dist/cli/commands/ship.d.ts.map +1 -0
  10. package/dist/cli/commands/ship.js +65 -0
  11. package/dist/cli/commands/ship.js.map +1 -0
  12. package/dist/dashboard/.vite/manifest.json +1 -1
  13. package/dist/dashboard/assets/{index-G7ygVDGg.js → index-L8qtwqv6.js} +2 -2
  14. package/dist/dashboard/assets/{index-G7ygVDGg.js.map → index-L8qtwqv6.js.map} +1 -1
  15. package/dist/dashboard/dashboard-manifest.json +8 -8
  16. package/dist/dashboard/index.html +1 -1
  17. package/dist/models/schema.d.ts +39 -23
  18. package/dist/models/schema.d.ts.map +1 -1
  19. package/dist/models/schema.js +19 -12
  20. package/dist/models/schema.js.map +1 -1
  21. package/dist/models/types.d.ts +6 -0
  22. package/dist/models/types.d.ts.map +1 -1
  23. package/dist/services/id-service.d.ts +1 -5
  24. package/dist/services/id-service.d.ts.map +1 -1
  25. package/dist/services/id-service.js +1 -34
  26. package/dist/services/id-service.js.map +1 -1
  27. package/dist/services/ship-checks/changes.d.ts +24 -0
  28. package/dist/services/ship-checks/changes.d.ts.map +1 -0
  29. package/dist/services/ship-checks/changes.js +135 -0
  30. package/dist/services/ship-checks/changes.js.map +1 -0
  31. package/dist/services/ship-checks/contract.d.ts +81 -0
  32. package/dist/services/ship-checks/contract.d.ts.map +1 -0
  33. package/dist/services/ship-checks/contract.js +7 -0
  34. package/dist/services/ship-checks/contract.js.map +1 -0
  35. package/dist/services/ship-checks/discover.d.ts +10 -0
  36. package/dist/services/ship-checks/discover.d.ts.map +1 -0
  37. package/dist/services/ship-checks/discover.js +250 -0
  38. package/dist/services/ship-checks/discover.js.map +1 -0
  39. package/dist/services/ship-checks/glob.d.ts +5 -0
  40. package/dist/services/ship-checks/glob.d.ts.map +1 -0
  41. package/dist/services/ship-checks/glob.js +39 -0
  42. package/dist/services/ship-checks/glob.js.map +1 -0
  43. package/dist/services/ship-checks/hooks.d.ts +7 -0
  44. package/dist/services/ship-checks/hooks.d.ts.map +1 -0
  45. package/dist/services/ship-checks/hooks.js +65 -0
  46. package/dist/services/ship-checks/hooks.js.map +1 -0
  47. package/dist/services/ship-checks/packages.d.ts +29 -0
  48. package/dist/services/ship-checks/packages.d.ts.map +1 -0
  49. package/dist/services/ship-checks/packages.js +197 -0
  50. package/dist/services/ship-checks/packages.js.map +1 -0
  51. package/dist/services/ship-checks/related-tests.d.ts +13 -0
  52. package/dist/services/ship-checks/related-tests.d.ts.map +1 -0
  53. package/dist/services/ship-checks/related-tests.js +73 -0
  54. package/dist/services/ship-checks/related-tests.js.map +1 -0
  55. package/dist/services/ship-checks/scope.d.ts +8 -0
  56. package/dist/services/ship-checks/scope.d.ts.map +1 -0
  57. package/dist/services/ship-checks/scope.js +66 -0
  58. package/dist/services/ship-checks/scope.js.map +1 -0
  59. package/dist/services/ship-checks/task-requirements.d.ts +14 -0
  60. package/dist/services/ship-checks/task-requirements.d.ts.map +1 -0
  61. package/dist/services/ship-checks/task-requirements.js +145 -0
  62. package/dist/services/ship-checks/task-requirements.js.map +1 -0
  63. package/dist/services/ship-checks/workflows.d.ts +21 -0
  64. package/dist/services/ship-checks/workflows.d.ts.map +1 -0
  65. package/dist/services/ship-checks/workflows.js +208 -0
  66. package/dist/services/ship-checks/workflows.js.map +1 -0
  67. package/dist/services/template-service.d.ts +2 -0
  68. package/dist/services/template-service.d.ts.map +1 -1
  69. package/dist/services/template-service.js +4 -0
  70. package/dist/services/template-service.js.map +1 -1
  71. package/dist/utils/slugify.d.ts +1 -8
  72. package/dist/utils/slugify.d.ts.map +1 -1
  73. package/dist/utils/slugify.js +1 -25
  74. package/dist/utils/slugify.js.map +1 -1
  75. package/docs/CLI.md +48 -1
  76. package/lib/backlog-item.d.mts +49 -0
  77. package/lib/backlog-item.mjs +339 -0
  78. package/lib/host-packages/adapter-registry.json +5 -5
  79. package/lib/host-packages/capability-map.json +1 -1
  80. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  81. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
  82. package/lib/host-packages/claude/openplanr/.openplanr-content.json +126 -90
  83. package/lib/host-packages/claude/openplanr/CONNECTORS.md +4 -6
  84. package/lib/host-packages/claude/openplanr/README.md +1 -1
  85. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  86. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  87. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  88. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  89. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  90. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  91. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → claude/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  92. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  93. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  94. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  95. package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-shared-protocol-contracts-31a760fc.mjs → design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  96. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  97. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +215 -55
  98. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  99. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  100. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  101. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  102. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  103. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  104. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  105. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  106. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  107. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  108. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  109. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  110. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  111. 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 +259 -522
  112. 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 +585 -937
  113. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  114. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  115. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  116. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  117. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  118. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  119. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  120. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  121. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  122. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  123. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  124. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  125. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  126. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  127. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  128. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  129. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  130. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +45 -12
  131. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  132. package/lib/host-packages/claude/openplanr/skills/connect/references/connectors.md +4 -6
  133. package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +12 -0
  134. package/lib/host-packages/claude/openplanr/skills/design/references/craft.md +14 -3
  135. package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +33 -1
  136. package/lib/host-packages/claude/openplanr/skills/design/references/discovery.md +18 -4
  137. package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +74 -1
  138. package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +62 -0
  139. package/lib/host-packages/claude/openplanr/skills/design/references/review.md +46 -1
  140. package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +6 -0
  141. package/lib/host-packages/claude/openplanr/skills/design/schemas/design-document.schema.json +78 -5
  142. package/lib/host-packages/claude/openplanr/skills/design-loop/references/craft.md +14 -3
  143. package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +33 -1
  144. package/lib/host-packages/claude/openplanr/skills/design-loop/references/discovery.md +18 -4
  145. package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +74 -1
  146. package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +46 -1
  147. package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +6 -0
  148. package/lib/host-packages/claude/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
  149. package/lib/host-packages/claude/openplanr/skills/design-review/references/craft.md +14 -3
  150. package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +33 -1
  151. package/lib/host-packages/claude/openplanr/skills/design-review/references/discovery.md +18 -4
  152. package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +74 -1
  153. package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +46 -1
  154. package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +6 -0
  155. package/lib/host-packages/claude/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
  156. package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +10 -1
  157. package/lib/host-packages/claude/openplanr/skills/investigate/references/findings.md +92 -0
  158. package/lib/host-packages/claude/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
  159. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +3 -0
  160. package/lib/host-packages/claude/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
  161. package/lib/host-packages/claude/openplanr/skills/share/references/connectors.md +4 -6
  162. package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +15 -4
  163. package/lib/host-packages/claude/openplanr/skills/ship/references/findings.md +92 -0
  164. package/lib/host-packages/claude/openplanr/skills/ship/references/result-contract.md +3 -1
  165. package/lib/host-packages/claude/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
  166. package/lib/host-packages/claude/openplanr/skills/sprint/references/connectors.md +4 -6
  167. package/lib/host-packages/claude/openplanr/skills/status/references/connectors.md +4 -6
  168. package/lib/host-packages/claude/openplanr/skills/sync/references/connectors.md +4 -6
  169. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +125 -89
  170. package/lib/host-packages/cursor/openplanr/CONNECTORS.md +4 -6
  171. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  172. package/lib/host-packages/cursor/openplanr/rules/planr-connect/references/connectors.md +4 -6
  173. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/craft.md +14 -3
  174. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +33 -1
  175. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/discovery.md +18 -4
  176. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +74 -1
  177. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +62 -0
  178. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +46 -1
  179. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +6 -0
  180. package/lib/host-packages/cursor/openplanr/rules/planr-design/schemas/design-document.schema.json +78 -5
  181. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/craft.md +14 -3
  182. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +33 -1
  183. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/discovery.md +18 -4
  184. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +74 -1
  185. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +46 -1
  186. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +6 -0
  187. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/schemas/design-document.schema.json +78 -5
  188. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/craft.md +14 -3
  189. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +33 -1
  190. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/discovery.md +18 -4
  191. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +74 -1
  192. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +46 -1
  193. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +6 -0
  194. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/schemas/design-document.schema.json +78 -5
  195. package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +12 -0
  196. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/findings.md +92 -0
  197. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/scripts/backlog-item.mjs +339 -0
  198. package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +10 -1
  199. package/lib/host-packages/cursor/openplanr/rules/planr-plan/schemas/design-document.schema.json +78 -5
  200. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +3 -0
  201. package/lib/host-packages/cursor/openplanr/rules/planr-share/references/connectors.md +4 -6
  202. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/findings.md +92 -0
  203. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/result-contract.md +3 -1
  204. package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/backlog-item.mjs +339 -0
  205. package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +15 -4
  206. package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/connectors.md +4 -6
  207. package/lib/host-packages/cursor/openplanr/rules/planr-status/references/connectors.md +4 -6
  208. package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/connectors.md +4 -6
  209. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  210. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  211. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  212. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  213. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  214. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  215. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → cursor/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  216. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  217. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  218. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  219. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs → cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  220. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  221. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +215 -55
  222. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  223. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  224. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  225. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  226. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  227. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  228. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  229. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  230. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  231. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  232. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  233. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  234. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  235. 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 +259 -522
  236. 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 +585 -937
  237. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  238. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  239. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  240. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  241. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  242. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  243. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  244. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  245. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  246. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  247. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  248. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  249. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  250. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  251. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  252. package/lib/host-packages/{claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  253. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  254. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +45 -12
  255. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  256. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  257. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  258. package/lib/host-packages/openai/openplanr/.openplanr-content.json +128 -92
  259. package/lib/host-packages/openai/openplanr/CONNECTORS.md +4 -6
  260. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  261. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  262. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  263. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  264. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  265. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  266. package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → openai/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  267. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  268. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  269. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  270. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs → openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  271. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  272. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +215 -55
  273. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  274. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  275. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  276. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  277. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  278. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  279. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  280. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  281. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  282. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  283. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  284. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  285. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  286. 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 +259 -522
  287. 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 +585 -937
  288. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  289. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  290. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  291. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  292. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  293. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  294. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  295. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  296. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  297. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  298. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  299. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  300. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  301. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  302. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  303. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  304. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  305. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +45 -12
  306. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  307. package/lib/host-packages/openai/openplanr/skills/connect/references/connectors.md +4 -6
  308. package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +12 -0
  309. package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +11 -0
  310. package/lib/host-packages/openai/openplanr/skills/design/references/craft.md +14 -3
  311. package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +33 -1
  312. package/lib/host-packages/openai/openplanr/skills/design/references/discovery.md +18 -4
  313. package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +74 -1
  314. package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +62 -0
  315. package/lib/host-packages/openai/openplanr/skills/design/references/review.md +46 -1
  316. package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +6 -0
  317. package/lib/host-packages/openai/openplanr/skills/design/schemas/design-document.schema.json +78 -5
  318. package/lib/host-packages/openai/openplanr/skills/design-loop/references/craft.md +14 -3
  319. package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +33 -1
  320. package/lib/host-packages/openai/openplanr/skills/design-loop/references/discovery.md +18 -4
  321. package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +74 -1
  322. package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +46 -1
  323. package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +6 -0
  324. package/lib/host-packages/openai/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
  325. package/lib/host-packages/openai/openplanr/skills/design-review/references/craft.md +14 -3
  326. package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +33 -1
  327. package/lib/host-packages/openai/openplanr/skills/design-review/references/discovery.md +18 -4
  328. package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +74 -1
  329. package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +46 -1
  330. package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +6 -0
  331. package/lib/host-packages/openai/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
  332. package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +10 -1
  333. package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +22 -0
  334. package/lib/host-packages/openai/openplanr/skills/investigate/references/findings.md +92 -0
  335. package/lib/host-packages/openai/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
  336. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +3 -0
  337. package/lib/host-packages/openai/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
  338. package/lib/host-packages/openai/openplanr/skills/share/references/connectors.md +4 -6
  339. package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +15 -4
  340. package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +22 -0
  341. package/lib/host-packages/openai/openplanr/skills/ship/references/findings.md +92 -0
  342. package/lib/host-packages/openai/openplanr/skills/ship/references/result-contract.md +3 -1
  343. package/lib/host-packages/openai/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
  344. package/lib/host-packages/openai/openplanr/skills/sprint/references/connectors.md +4 -6
  345. package/lib/host-packages/openai/openplanr/skills/status/references/connectors.md +4 -6
  346. package/lib/host-packages/openai/openplanr/skills/sync/references/connectors.md +4 -6
  347. package/package.json +3 -3
  348. package/dist/templates/backlog/backlog-item.md.hbs +0 -40
  349. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  350. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  351. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  352. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  353. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
  354. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  355. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  356. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  357. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  358. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
  359. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  360. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  361. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  362. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  363. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
@@ -9,9 +9,7 @@
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Scheduler = require_scheduler();
13
- var React36 = require_react();
14
- var ReactDOM4 = require_react_dom();
12
+ var Scheduler = require_scheduler(), React36 = require_react(), ReactDOM4 = require_react_dom();
15
13
  function formatProdErrorMessage(code) {
16
14
  var url = "https://react.dev/errors/" + code;
17
15
  if (1 < arguments.length) {
@@ -22,27 +20,25 @@
22
20
  return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
23
21
  }
24
22
  function isValidContainer(node) {
25
- return !(!node || 1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType);
23
+ return !(!node || node.nodeType !== 1 && node.nodeType !== 9 && node.nodeType !== 11);
26
24
  }
27
25
  function getNearestMountedFiber(fiber) {
28
26
  for (var node = fiber, nextNode = node; nextNode && !nextNode.alternate; )
29
- node = nextNode, 0 !== (node.flags & 4098) && (fiber = node.return), nextNode = node.return;
27
+ node = nextNode, (node.flags & 4098) !== 0 && (fiber = node.return), nextNode = node.return;
30
28
  for (; node.return; ) node = node.return;
31
- return 3 === node.tag ? fiber : null;
29
+ return node.tag === 3 ? fiber : null;
32
30
  }
33
31
  function getSuspenseInstanceFromFiber(fiber) {
34
- if (13 === fiber.tag) {
32
+ if (fiber.tag === 13) {
35
33
  var suspenseState = fiber.memoizedState;
36
- null === suspenseState && (fiber = fiber.alternate, null !== fiber && (suspenseState = fiber.memoizedState));
37
- if (null !== suspenseState) return suspenseState.dehydrated;
34
+ if (suspenseState === null && (fiber = fiber.alternate, fiber !== null && (suspenseState = fiber.memoizedState)), suspenseState !== null) return suspenseState.dehydrated;
38
35
  }
39
36
  return null;
40
37
  }
41
38
  function getActivityInstanceFromFiber(fiber) {
42
- if (31 === fiber.tag) {
39
+ if (fiber.tag === 31) {
43
40
  var activityState = fiber.memoizedState;
44
- null === activityState && (fiber = fiber.alternate, null !== fiber && (activityState = fiber.memoizedState));
45
- if (null !== activityState) return activityState.dehydrated;
41
+ if (activityState === null && (fiber = fiber.alternate, fiber !== null && (activityState = fiber.memoizedState)), activityState !== null) return activityState.dehydrated;
46
42
  }
47
43
  return null;
48
44
  }
@@ -53,17 +49,15 @@
53
49
  function findCurrentFiberUsingSlowPath(fiber) {
54
50
  var alternate = fiber.alternate;
55
51
  if (!alternate) {
56
- alternate = getNearestMountedFiber(fiber);
57
- if (null === alternate) throw Error(formatProdErrorMessage(188));
52
+ if (alternate = getNearestMountedFiber(fiber), alternate === null) throw Error(formatProdErrorMessage(188));
58
53
  return alternate !== fiber ? null : fiber;
59
54
  }
60
55
  for (var a = fiber, b = alternate; ; ) {
61
56
  var parentA = a.return;
62
- if (null === parentA) break;
57
+ if (parentA === null) break;
63
58
  var parentB = parentA.alternate;
64
- if (null === parentB) {
65
- b = parentA.return;
66
- if (null !== b) {
59
+ if (parentB === null) {
60
+ if (b = parentA.return, b !== null) {
67
61
  a = b;
68
62
  continue;
69
63
  }
@@ -79,17 +73,13 @@
79
73
  }
80
74
  if (a.return !== b.return) a = parentA, b = parentB;
81
75
  else {
82
- for (var didFindChild = false, child$0 = parentA.child; child$0; ) {
76
+ for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {
83
77
  if (child$0 === a) {
84
- didFindChild = true;
85
- a = parentA;
86
- b = parentB;
78
+ didFindChild = !0, a = parentA, b = parentB;
87
79
  break;
88
80
  }
89
81
  if (child$0 === b) {
90
- didFindChild = true;
91
- b = parentA;
92
- a = parentB;
82
+ didFindChild = !0, b = parentA, a = parentB;
93
83
  break;
94
84
  }
95
85
  child$0 = child$0.sibling;
@@ -97,15 +87,11 @@
97
87
  if (!didFindChild) {
98
88
  for (child$0 = parentB.child; child$0; ) {
99
89
  if (child$0 === a) {
100
- didFindChild = true;
101
- a = parentB;
102
- b = parentA;
90
+ didFindChild = !0, a = parentB, b = parentA;
103
91
  break;
104
92
  }
105
93
  if (child$0 === b) {
106
- didFindChild = true;
107
- b = parentB;
108
- a = parentA;
94
+ didFindChild = !0, b = parentB, a = parentA;
109
95
  break;
110
96
  }
111
97
  child$0 = child$0.sibling;
@@ -115,22 +101,21 @@
115
101
  }
116
102
  if (a.alternate !== b) throw Error(formatProdErrorMessage(190));
117
103
  }
118
- if (3 !== a.tag) throw Error(formatProdErrorMessage(188));
104
+ if (a.tag !== 3) throw Error(formatProdErrorMessage(188));
119
105
  return a.stateNode.current === a ? fiber : alternate;
120
106
  }
121
107
  function findCurrentHostFiberImpl(node) {
122
108
  var tag = node.tag;
123
- if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
124
- for (node = node.child; null !== node; ) {
125
- tag = findCurrentHostFiberImpl(node);
126
- if (null !== tag) return tag;
109
+ if (tag === 5 || tag === 26 || tag === 27 || tag === 6) return node;
110
+ for (node = node.child; node !== null; ) {
111
+ if (tag = findCurrentHostFiberImpl(node), tag !== null) return tag;
127
112
  node = node.sibling;
128
113
  }
129
114
  return null;
130
115
  }
131
116
  function traverseVisibleInstancesAndTextInstances(child, searchWithinHosts, fn, a, b, c) {
132
- for (; null !== child; ) {
133
- if ((5 === child.tag || 27 === child.tag || 6 === child.tag) && fn(child, a, b, c) || (22 !== child.tag || null === child.memoizedState) && (searchWithinHosts || 5 !== child.tag && 27 !== child.tag) && traverseVisibleInstancesAndTextInstances(
117
+ for (; child !== null; ) {
118
+ if ((child.tag === 5 || child.tag === 27 || child.tag === 6) && fn(child, a, b, c) || (child.tag !== 22 || child.memoizedState === null) && (searchWithinHosts || child.tag !== 5 && child.tag !== 27) && traverseVisibleInstancesAndTextInstances(
134
119
  child.child,
135
120
  searchWithinHosts,
136
121
  fn,
@@ -138,54 +123,49 @@
138
123
  b,
139
124
  c
140
125
  ))
141
- return true;
126
+ return !0;
142
127
  child = child.sibling;
143
128
  }
144
- return false;
129
+ return !1;
145
130
  }
146
131
  function getFragmentParentInstanceOrContainerFiber(fiber) {
147
- for (fiber = fiber.return; null !== fiber; ) {
148
- if (3 === fiber.tag || 5 === fiber.tag || 27 === fiber.tag) return fiber;
132
+ for (fiber = fiber.return; fiber !== null; ) {
133
+ if (fiber.tag === 3 || fiber.tag === 5 || fiber.tag === 27) return fiber;
149
134
  fiber = fiber.return;
150
135
  }
151
136
  return null;
152
137
  }
153
138
  function fiberIsPortaledIntoHost(fiber) {
154
- var foundPortalParent = false;
155
- for (fiber = fiber.return; null !== fiber; ) {
156
- 4 === fiber.tag && (foundPortalParent = true);
157
- if (3 === fiber.tag || 5 === fiber.tag || 27 === fiber.tag) break;
139
+ var foundPortalParent = !1;
140
+ for (fiber = fiber.return; fiber !== null && (fiber.tag === 4 && (foundPortalParent = !0), !(fiber.tag === 3 || fiber.tag === 5 || fiber.tag === 27)); )
158
141
  fiber = fiber.return;
159
- }
160
142
  return foundPortalParent;
161
143
  }
162
144
  function getFragmentInstanceOrTextInstanceSiblings(fiber) {
163
145
  var result = [null, null], parentHostFiber = getFragmentParentInstanceOrContainerFiber(fiber);
164
- if (null === parentHostFiber) return result;
165
- findFragmentInstanceOrTextInstanceSiblings(
146
+ return parentHostFiber === null || findFragmentInstanceOrTextInstanceSiblings(
166
147
  result,
167
148
  fiber,
168
149
  parentHostFiber.child,
169
- { foundSelf: false }
170
- );
171
- return result;
150
+ { foundSelf: !1 }
151
+ ), result;
172
152
  }
173
153
  function findFragmentInstanceOrTextInstanceSiblings(result, self, child, state) {
174
- for (; null !== child; ) {
175
- if (child === self) state.foundSelf = true;
176
- else if (5 === child.tag || 27 === child.tag || 6 === child.tag) {
177
- if (state.foundSelf) return result[1] = child, true;
154
+ for (; child !== null; ) {
155
+ if (child === self) state.foundSelf = !0;
156
+ else if (child.tag === 5 || child.tag === 27 || child.tag === 6) {
157
+ if (state.foundSelf) return result[1] = child, !0;
178
158
  result[0] = child;
179
- } else if ((22 !== child.tag || null === child.memoizedState) && findFragmentInstanceOrTextInstanceSiblings(
159
+ } else if ((child.tag !== 22 || child.memoizedState === null) && findFragmentInstanceOrTextInstanceSiblings(
180
160
  result,
181
161
  self,
182
162
  child.child,
183
163
  state
184
164
  ))
185
- return true;
165
+ return !0;
186
166
  child = child.sibling;
187
167
  }
188
- return false;
168
+ return !1;
189
169
  }
190
170
  function getInstanceFromHostFiber(fiber) {
191
171
  switch (fiber.tag) {
@@ -199,20 +179,19 @@
199
179
  throw Error(formatProdErrorMessage(559));
200
180
  }
201
181
  }
202
- var searchTarget = null;
203
- var searchBoundary = null;
182
+ var searchTarget = null, searchBoundary = null;
204
183
  function isFiberPrecedingCheck(child, target, boundary) {
205
- return child === boundary ? true : child === target ? (searchTarget = child, true) : false;
184
+ return child === boundary ? !0 : child === target ? (searchTarget = child, !0) : !1;
206
185
  }
207
186
  function isFiberFollowingCheck(child, target, boundary) {
208
- return child === boundary ? (searchBoundary = child, false) : child === target ? (null !== searchBoundary && (searchTarget = child), true) : false;
187
+ return child === boundary ? (searchBoundary = child, !1) : child === target ? (searchBoundary !== null && (searchTarget = child), !0) : !1;
209
188
  }
210
189
  function getParentForFragmentAncestors(inst) {
211
- if (null === inst) return null;
190
+ if (inst === null) return null;
212
191
  do
213
- inst = null === inst ? null : inst.return;
214
- while (inst && 5 !== inst.tag && 27 !== inst.tag && 3 !== inst.tag);
215
- return inst ? inst : null;
192
+ inst = inst === null ? null : inst.return;
193
+ while (inst && inst.tag !== 5 && inst.tag !== 27 && inst.tag !== 3);
194
+ return inst || null;
216
195
  }
217
196
  function getLowestCommonAncestor(instA, instB, getParent2) {
218
197
  for (var depthA = 0, tempA = instA; tempA; tempA = getParent2(tempA)) depthA++;
@@ -221,44 +200,22 @@
221
200
  for (; 0 < depthA - tempA; ) instA = getParent2(instA), depthA--;
222
201
  for (; 0 < tempA - depthA; ) instB = getParent2(instB), tempA--;
223
202
  for (; depthA--; ) {
224
- if (instA === instB || null !== instB && instA === instB.alternate)
203
+ if (instA === instB || instB !== null && instA === instB.alternate)
225
204
  return instA;
226
- instA = getParent2(instA);
227
- instB = getParent2(instB);
205
+ instA = getParent2(instA), instB = getParent2(instB);
228
206
  }
229
207
  return null;
230
208
  }
231
- var assign = Object.assign;
232
- var REACT_LEGACY_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
233
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
234
- var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
235
- var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
236
- var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
237
- var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
238
- var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
239
- var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
240
- var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
241
- var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
242
- var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
243
- var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
244
- var REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy");
245
- var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
246
- var REACT_LEGACY_HIDDEN_TYPE = /* @__PURE__ */ Symbol.for("react.legacy_hidden");
247
- var REACT_MEMO_CACHE_SENTINEL = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel");
248
- var REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition");
249
- var REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable");
250
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
209
+ var assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
251
210
  function getIteratorFn(maybeIterable) {
252
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
253
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
254
- return "function" === typeof maybeIterable ? maybeIterable : null;
211
+ return maybeIterable === null || typeof maybeIterable != "object" ? null : (maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"], typeof maybeIterable == "function" ? maybeIterable : null);
255
212
  }
256
213
  var REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference");
257
214
  function getComponentNameFromType(type) {
258
- if (null == type) return null;
259
- if ("function" === typeof type)
215
+ if (type == null) return null;
216
+ if (typeof type == "function")
260
217
  return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
261
- if ("string" === typeof type) return type;
218
+ if (typeof type == "string") return type;
262
219
  switch (type) {
263
220
  case REACT_FRAGMENT_TYPE:
264
221
  return "Fragment";
@@ -275,7 +232,7 @@
275
232
  case REACT_VIEW_TRANSITION_TYPE:
276
233
  return "ViewTransition";
277
234
  }
278
- if ("object" === typeof type)
235
+ if (typeof type == "object")
279
236
  switch (type.$$typeof) {
280
237
  case REACT_PORTAL_TYPE:
281
238
  return "Portal";
@@ -285,32 +242,24 @@
285
242
  return (type._context.displayName || "Context") + ".Consumer";
286
243
  case REACT_FORWARD_REF_TYPE:
287
244
  var innerType = type.render;
288
- type = type.displayName;
289
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
290
- return type;
245
+ return type = type.displayName, type || (type = innerType.displayName || innerType.name || "", type = type !== "" ? "ForwardRef(" + type + ")" : "ForwardRef"), type;
291
246
  case REACT_MEMO_TYPE:
292
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
247
+ return innerType = type.displayName || null, innerType !== null ? innerType : getComponentNameFromType(type.type) || "Memo";
293
248
  case REACT_LAZY_TYPE2:
294
- innerType = type._payload;
295
- type = type._init;
249
+ innerType = type._payload, type = type._init;
296
250
  try {
297
251
  return getComponentNameFromType(type(innerType));
298
- } catch (x) {
252
+ } catch {
299
253
  }
300
254
  }
301
255
  return null;
302
256
  }
303
- var isArrayImpl = Array.isArray;
304
- var ReactSharedInternals = React36.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
305
- var ReactDOMSharedInternals = ReactDOM4.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
306
- var sharedNotPendingObject = {
307
- pending: false,
257
+ var isArrayImpl = Array.isArray, ReactSharedInternals = React36.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM4.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = {
258
+ pending: !1,
308
259
  data: null,
309
260
  method: null,
310
261
  action: null
311
- };
312
- var valueStack = [];
313
- var index2 = -1;
262
+ }, valueStack = [], index2 = -1;
314
263
  function createCursor(defaultValue) {
315
264
  return { current: defaultValue };
316
265
  }
@@ -318,22 +267,14 @@
318
267
  0 > index2 || (cursor.current = valueStack[index2], valueStack[index2] = null, index2--);
319
268
  }
320
269
  function push(cursor, value) {
321
- index2++;
322
- valueStack[index2] = cursor.current;
323
- cursor.current = value;
324
- }
325
- var contextStackCursor = createCursor(null);
326
- var contextFiberStackCursor = createCursor(null);
327
- var rootInstanceStackCursor = createCursor(null);
328
- var hostTransitionProviderCursor = createCursor(null);
270
+ index2++, valueStack[index2] = cursor.current, cursor.current = value;
271
+ }
272
+ var contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null);
329
273
  function pushHostContainer(fiber, nextRootInstance) {
330
- push(rootInstanceStackCursor, nextRootInstance);
331
- push(contextFiberStackCursor, fiber);
332
- push(contextStackCursor, null);
333
- switch (nextRootInstance.nodeType) {
274
+ switch (push(rootInstanceStackCursor, nextRootInstance), push(contextFiberStackCursor, fiber), push(contextStackCursor, null), nextRootInstance.nodeType) {
334
275
  case 9:
335
276
  case 11:
336
- fiber = (fiber = nextRootInstance.documentElement) ? (fiber = fiber.namespaceURI) ? getOwnHostContext(fiber) : 0 : 0;
277
+ fiber = (fiber = nextRootInstance.documentElement) && (fiber = fiber.namespaceURI) ? getOwnHostContext(fiber) : 0;
337
278
  break;
338
279
  default:
339
280
  if (fiber = nextRootInstance.tagName, nextRootInstance = nextRootInstance.namespaceURI)
@@ -350,42 +291,37 @@
350
291
  fiber = 0;
351
292
  }
352
293
  }
353
- pop(contextStackCursor);
354
- push(contextStackCursor, fiber);
294
+ pop(contextStackCursor), push(contextStackCursor, fiber);
355
295
  }
356
296
  function popHostContainer() {
357
- pop(contextStackCursor);
358
- pop(contextFiberStackCursor);
359
- pop(rootInstanceStackCursor);
297
+ pop(contextStackCursor), pop(contextFiberStackCursor), pop(rootInstanceStackCursor);
360
298
  }
361
299
  function pushHostContext(fiber) {
362
300
  var stateHook = fiber.memoizedState;
363
- null !== stateHook && (HostTransitionContext._currentValue = stateHook.memoizedState, push(hostTransitionProviderCursor, fiber));
364
- stateHook = contextStackCursor.current;
301
+ stateHook !== null && (HostTransitionContext._currentValue = stateHook.memoizedState, push(hostTransitionProviderCursor, fiber)), stateHook = contextStackCursor.current;
365
302
  var JSCompiler_inline_result = getChildHostContextProd(stateHook, fiber.type);
366
303
  stateHook !== JSCompiler_inline_result && (push(contextFiberStackCursor, fiber), push(contextStackCursor, JSCompiler_inline_result));
367
304
  }
368
305
  function popHostContext(fiber) {
369
- contextFiberStackCursor.current === fiber && (pop(contextStackCursor), pop(contextFiberStackCursor));
370
- hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor), HostTransitionContext._currentValue = sharedNotPendingObject);
306
+ contextFiberStackCursor.current === fiber && (pop(contextStackCursor), pop(contextFiberStackCursor)), hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor), HostTransitionContext._currentValue = sharedNotPendingObject);
371
307
  }
372
- var prefix;
373
- var suffix;
308
+ var prefix, suffix;
374
309
  function describeBuiltInComponentFrame(name) {
375
- if (void 0 === prefix)
310
+ if (prefix === void 0)
376
311
  try {
377
312
  throw Error();
378
313
  } catch (x) {
379
314
  var match = x.stack.trim().match(/\n( *(at )?)/);
380
- prefix = match && match[1] || "";
381
- suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
315
+ prefix = match && match[1] || "", suffix = -1 < x.stack.indexOf(`
316
+ at`) ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
382
317
  }
383
- return "\n" + prefix + name + suffix;
318
+ return `
319
+ ` + prefix + name + suffix;
384
320
  }
385
- var reentry = false;
321
+ var reentry = !1;
386
322
  function describeNativeComponentFrame(fn, construct) {
387
323
  if (!fn || reentry) return "";
388
- reentry = true;
324
+ reentry = !0;
389
325
  var previousPrepareStackTrace = Error.prepareStackTrace;
390
326
  Error.prepareStackTrace = void 0;
391
327
  try {
@@ -396,12 +332,11 @@
396
332
  var Fake = function() {
397
333
  throw Error();
398
334
  };
399
- Object.defineProperty(Fake.prototype, "props", {
335
+ if (Object.defineProperty(Fake.prototype, "props", {
400
336
  set: function() {
401
337
  throw Error();
402
338
  }
403
- });
404
- if ("object" === typeof Reflect && Reflect.construct) {
339
+ }), typeof Reflect == "object" && Reflect.construct) {
405
340
  try {
406
341
  Reflect.construct(Fake, []);
407
342
  } catch (x) {
@@ -414,22 +349,20 @@
414
349
  } catch (x$1) {
415
350
  control = x$1;
416
351
  }
417
- Fake = false;
352
+ Fake = !1;
418
353
  try {
419
354
  var prevProps = Object.getOwnPropertyDescriptor(
420
355
  fn.prototype,
421
356
  "props"
422
357
  );
423
358
  Object.defineProperty(fn.prototype, "props", {
424
- configurable: true,
359
+ configurable: !0,
425
360
  set: function() {
426
361
  throw Error();
427
362
  }
428
- });
429
- Fake = true;
430
- new fn();
363
+ }), Fake = !0, new fn();
431
364
  } finally {
432
- Fake && (void 0 !== prevProps ? Object.defineProperty(fn.prototype, "props", prevProps) : delete fn.prototype.props);
365
+ Fake && (prevProps !== void 0 ? Object.defineProperty(fn.prototype, "props", prevProps) : delete fn.prototype.props);
433
366
  }
434
367
  }
435
368
  } else {
@@ -438,11 +371,11 @@
438
371
  } catch (x$2) {
439
372
  control = x$2;
440
373
  }
441
- (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function() {
374
+ (Fake = fn()) && typeof Fake.catch == "function" && Fake.catch(function() {
442
375
  });
443
376
  }
444
377
  } catch (sample) {
445
- if (sample && control && "string" === typeof sample.stack)
378
+ if (sample && control && typeof sample.stack == "string")
446
379
  return [sample.stack, control.stack];
447
380
  }
448
381
  return [null, null];
@@ -460,7 +393,9 @@
460
393
  );
461
394
  var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
462
395
  if (sampleStack && controlStack) {
463
- var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
396
+ var sampleLines = sampleStack.split(`
397
+ `), controlLines = controlStack.split(`
398
+ `);
464
399
  for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); )
465
400
  RunInRootFrame++;
466
401
  for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes(
@@ -472,20 +407,19 @@
472
407
  namePropDescriptor--;
473
408
  for (; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor--)
474
409
  if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
475
- if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
410
+ if (RunInRootFrame !== 1 || namePropDescriptor !== 1)
476
411
  do
477
412
  if (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
478
- var frame = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at ");
479
- fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName));
480
- return frame;
413
+ var frame = `
414
+ ` + sampleLines[RunInRootFrame].replace(" at new ", " at ");
415
+ return fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName)), frame;
481
416
  }
482
417
  while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
483
- }
484
418
  break;
485
419
  }
486
420
  }
487
421
  } finally {
488
- reentry = false, Error.prepareStackTrace = previousPrepareStackTrace;
422
+ reentry = !1, Error.prepareStackTrace = previousPrepareStackTrace;
489
423
  }
490
424
  return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";
491
425
  }
@@ -498,16 +432,16 @@
498
432
  case 16:
499
433
  return describeBuiltInComponentFrame("Lazy");
500
434
  case 13:
501
- return fiber.child !== childFiber && null !== childFiber ? describeBuiltInComponentFrame("Suspense Fallback") : describeBuiltInComponentFrame("Suspense");
435
+ return fiber.child !== childFiber && childFiber !== null ? describeBuiltInComponentFrame("Suspense Fallback") : describeBuiltInComponentFrame("Suspense");
502
436
  case 19:
503
437
  return describeBuiltInComponentFrame("SuspenseList");
504
438
  case 0:
505
439
  case 15:
506
- return describeNativeComponentFrame(fiber.type, false);
440
+ return describeNativeComponentFrame(fiber.type, !1);
507
441
  case 11:
508
- return describeNativeComponentFrame(fiber.type.render, false);
442
+ return describeNativeComponentFrame(fiber.type.render, !1);
509
443
  case 1:
510
- return describeNativeComponentFrame(fiber.type, true);
444
+ return describeNativeComponentFrame(fiber.type, !0);
511
445
  case 31:
512
446
  return describeBuiltInComponentFrame("Activity");
513
447
  case 30:
@@ -524,46 +458,27 @@
524
458
  while (workInProgress2);
525
459
  return info;
526
460
  } catch (x) {
527
- return "\nError generating stack: " + x.message + "\n" + x.stack;
528
- }
529
- }
530
- var hasOwnProperty = Object.prototype.hasOwnProperty;
531
- var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
532
- var cancelCallback$1 = Scheduler.unstable_cancelCallback;
533
- var shouldYield = Scheduler.unstable_shouldYield;
534
- var requestPaint = Scheduler.unstable_requestPaint;
535
- var now = Scheduler.unstable_now;
536
- var getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel;
537
- var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
538
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
539
- var NormalPriority$1 = Scheduler.unstable_NormalPriority;
540
- var LowPriority = Scheduler.unstable_LowPriority;
541
- var IdlePriority = Scheduler.unstable_IdlePriority;
542
- var log$1 = Scheduler.log;
543
- var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
544
- var rendererID = null;
545
- var injectedHook = null;
461
+ return `
462
+ Error generating stack: ` + x.message + `
463
+ ` + x.stack;
464
+ }
465
+ }
466
+ var hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null;
546
467
  function setIsStrictModeForDevtools(newIsStrictMode) {
547
- "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);
548
- if (injectedHook && "function" === typeof injectedHook.setStrictMode)
468
+ if (typeof log$1 == "function" && unstable_setDisableYieldValue(newIsStrictMode), injectedHook && typeof injectedHook.setStrictMode == "function")
549
469
  try {
550
470
  injectedHook.setStrictMode(rendererID, newIsStrictMode);
551
- } catch (err) {
471
+ } catch {
552
472
  }
553
473
  }
554
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
555
- var log = Math.log;
556
- var LN2 = Math.LN2;
474
+ var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2;
557
475
  function clz32Fallback(x) {
558
- x >>>= 0;
559
- return 0 === x ? 32 : 31 - (log(x) / LN2 | 0) | 0;
476
+ return x >>>= 0, x === 0 ? 32 : 31 - (log(x) / LN2 | 0) | 0;
560
477
  }
561
- var nextTransitionUpdateLane = 256;
562
- var nextTransitionDeferredLane = 262144;
563
- var nextRetryLane = 4194304;
478
+ var nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304;
564
479
  function getHighestPriorityLanes(lanes) {
565
480
  var pendingSyncLanes = lanes & 42;
566
- if (0 !== pendingSyncLanes) return pendingSyncLanes;
481
+ if (pendingSyncLanes !== 0) return pendingSyncLanes;
567
482
  switch (lanes & -lanes) {
568
483
  case 1:
569
484
  return 1;
@@ -618,24 +533,22 @@
618
533
  }
619
534
  function getNextLanes(root2, wipLanes, rootHasPendingCommit) {
620
535
  var pendingLanes = root2.pendingLanes;
621
- if (0 === pendingLanes) return 0;
536
+ if (pendingLanes === 0) return 0;
622
537
  var nextLanes = 0, suspendedLanes = root2.suspendedLanes, pingedLanes = root2.pingedLanes;
623
538
  root2 = root2.warmLanes;
624
539
  var nonIdlePendingLanes = pendingLanes & 134217727;
625
- 0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root2, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root2, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
626
- return 0 === nextLanes ? 0 : 0 !== wipLanes && wipLanes !== nextLanes && 0 === (wipLanes & suspendedLanes) && (suspendedLanes = nextLanes & -nextLanes, rootHasPendingCommit = wipLanes & -wipLanes, suspendedLanes >= rootHasPendingCommit || 32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)) ? wipLanes : nextLanes;
540
+ return nonIdlePendingLanes !== 0 ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, pendingLanes !== 0 ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, pingedLanes !== 0 ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root2, rootHasPendingCommit !== 0 && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, nonIdlePendingLanes !== 0 ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : pingedLanes !== 0 ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root2, rootHasPendingCommit !== 0 && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))), nextLanes === 0 ? 0 : wipLanes !== 0 && wipLanes !== nextLanes && (wipLanes & suspendedLanes) === 0 && (suspendedLanes = nextLanes & -nextLanes, rootHasPendingCommit = wipLanes & -wipLanes, suspendedLanes >= rootHasPendingCommit || suspendedLanes === 32 && (rootHasPendingCommit & 4194048) !== 0) ? wipLanes : nextLanes;
627
541
  }
628
542
  function checkIfRootIsPrerendering(root2, renderLanes2) {
629
- return 0 === (root2.pendingLanes & ~(root2.suspendedLanes & ~root2.pingedLanes) & renderLanes2);
543
+ return (root2.pendingLanes & ~(root2.suspendedLanes & ~root2.pingedLanes) & renderLanes2) === 0;
630
544
  }
631
545
  function getEntangledLanes(root2, renderLanes2) {
632
- 0 !== (renderLanes2 & 8) && (renderLanes2 |= renderLanes2 & 32);
546
+ (renderLanes2 & 8) !== 0 && (renderLanes2 |= renderLanes2 & 32);
633
547
  var allEntangledLanes = root2.entangledLanes;
634
- if (0 !== allEntangledLanes)
548
+ if (allEntangledLanes !== 0)
635
549
  for (root2 = root2.entanglements, allEntangledLanes &= renderLanes2; 0 < allEntangledLanes; ) {
636
550
  var index$4 = 31 - clz32(allEntangledLanes), lane = 1 << index$4;
637
- renderLanes2 |= root2[index$4];
638
- allEntangledLanes &= ~lane;
551
+ renderLanes2 |= root2[index$4], allEntangledLanes &= ~lane;
639
552
  }
640
553
  return renderLanes2;
641
554
  }
@@ -682,63 +595,47 @@
682
595
  }
683
596
  function claimNextRetryLane() {
684
597
  var lane = nextRetryLane;
685
- nextRetryLane <<= 1;
686
- 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);
687
- return lane;
598
+ return nextRetryLane <<= 1, (nextRetryLane & 62914560) === 0 && (nextRetryLane = 4194304), lane;
688
599
  }
689
600
  function createLaneMap(initial) {
690
601
  for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);
691
602
  return laneMap;
692
603
  }
693
604
  function markRootUpdated$1(root2, updateLane) {
694
- root2.pendingLanes |= updateLane;
695
- 268435456 !== updateLane && (root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0);
605
+ root2.pendingLanes |= updateLane, updateLane !== 268435456 && (root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0);
696
606
  }
697
607
  function markRootFinished(root2, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) {
698
608
  var previouslyPendingLanes = root2.pendingLanes;
699
- root2.pendingLanes = remainingLanes;
700
- root2.suspendedLanes = 0;
701
- root2.pingedLanes = 0;
702
- root2.warmLanes = 0;
703
- root2.expiredLanes &= remainingLanes;
704
- root2.entangledLanes &= remainingLanes;
705
- root2.errorRecoveryDisabledLanes &= remainingLanes;
706
- root2.shellSuspendCounter = 0;
609
+ root2.pendingLanes = remainingLanes, root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0, root2.expiredLanes &= remainingLanes, root2.entangledLanes &= remainingLanes, root2.errorRecoveryDisabledLanes &= remainingLanes, root2.shellSuspendCounter = 0;
707
610
  var entanglements = root2.entanglements, expirationTimes = root2.expirationTimes, hiddenUpdates = root2.hiddenUpdates;
708
611
  for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes; ) {
709
612
  var index$7 = 31 - clz32(remainingLanes), lane = 1 << index$7;
710
- entanglements[index$7] = 0;
711
- expirationTimes[index$7] = -1;
613
+ entanglements[index$7] = 0, expirationTimes[index$7] = -1;
712
614
  var hiddenUpdatesForLane = hiddenUpdates[index$7];
713
- if (null !== hiddenUpdatesForLane)
615
+ if (hiddenUpdatesForLane !== null)
714
616
  for (hiddenUpdates[index$7] = null, index$7 = 0; index$7 < hiddenUpdatesForLane.length; index$7++) {
715
617
  var update = hiddenUpdatesForLane[index$7];
716
- null !== update && (update.lane &= -536870913);
618
+ update !== null && (update.lane &= -536870913);
717
619
  }
718
620
  remainingLanes &= ~lane;
719
621
  }
720
- 0 !== spawnedLane && markSpawnedDeferredLane(root2, spawnedLane, 0);
721
- 0 !== suspendedRetryLanes && 0 === updatedLanes && 0 !== root2.tag && (root2.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
622
+ spawnedLane !== 0 && markSpawnedDeferredLane(root2, spawnedLane, 0), suspendedRetryLanes !== 0 && updatedLanes === 0 && root2.tag !== 0 && (root2.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
722
623
  }
723
624
  function markSpawnedDeferredLane(root2, spawnedLane, entangledLanes) {
724
- root2.pendingLanes |= spawnedLane;
725
- root2.suspendedLanes &= ~spawnedLane;
625
+ root2.pendingLanes |= spawnedLane, root2.suspendedLanes &= ~spawnedLane;
726
626
  var spawnedLaneIndex = 31 - clz32(spawnedLane);
727
- root2.entangledLanes |= spawnedLane;
728
- root2.entanglements[spawnedLaneIndex] = root2.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 261930;
627
+ root2.entangledLanes |= spawnedLane, root2.entanglements[spawnedLaneIndex] = root2.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 261930;
729
628
  }
730
629
  function markRootEntangled(root2, entangledLanes) {
731
630
  var rootEntangledLanes = root2.entangledLanes |= entangledLanes;
732
631
  for (root2 = root2.entanglements; rootEntangledLanes; ) {
733
632
  var index$8 = 31 - clz32(rootEntangledLanes), lane = 1 << index$8;
734
- lane & entangledLanes | root2[index$8] & entangledLanes && (root2[index$8] |= entangledLanes);
735
- rootEntangledLanes &= ~lane;
633
+ lane & entangledLanes | root2[index$8] & entangledLanes && (root2[index$8] |= entangledLanes), rootEntangledLanes &= ~lane;
736
634
  }
737
635
  }
738
636
  function getBumpedLaneForHydration(root2, renderLanes2) {
739
637
  var renderLane = renderLanes2 & -renderLanes2;
740
- renderLane = 0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane);
741
- return 0 !== (renderLane & (root2.suspendedLanes | renderLanes2)) ? 0 : renderLane;
638
+ return renderLane = (renderLane & 42) !== 0 ? 1 : getBumpedLaneForHydrationByLane(renderLane), (renderLane & (root2.suspendedLanes | renderLanes2)) !== 0 ? 0 : renderLane;
742
639
  }
743
640
  function getBumpedLaneForHydrationByLane(lane) {
744
641
  switch (lane) {
@@ -780,14 +677,11 @@
780
677
  return lane;
781
678
  }
782
679
  function lanesToEventPriority(lanes) {
783
- lanes &= -lanes;
784
- return 2 < lanes ? 8 < lanes ? 0 !== (lanes & 134217727) ? 32 : 268435456 : 8 : 2;
680
+ return lanes &= -lanes, 2 < lanes ? 8 < lanes ? (lanes & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
785
681
  }
786
682
  function resolveUpdatePriority() {
787
683
  var updatePriority = ReactDOMSharedInternals.p;
788
- if (0 !== updatePriority) return updatePriority;
789
- updatePriority = window.event;
790
- return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);
684
+ return updatePriority !== 0 ? updatePriority : (updatePriority = window.event, updatePriority === void 0 ? 32 : getEventPriority(updatePriority.type));
791
685
  }
792
686
  function runWithPriority(priority, fn) {
793
687
  var previousPriority = ReactDOMSharedInternals.p;
@@ -797,98 +691,71 @@
797
691
  ReactDOMSharedInternals.p = previousPriority;
798
692
  }
799
693
  }
800
- var randomKey = Math.random().toString(36).slice(2);
801
- var internalInstanceKey = "__reactFiber$" + randomKey;
802
- var internalPropsKey = "__reactProps$" + randomKey;
803
- var internalContainerInstanceKey = "__reactContainer$" + randomKey;
804
- var internalEventHandlersKey = "__reactEvents$" + randomKey;
805
- var internalEventHandlerListenersKey = "__reactListeners$" + randomKey;
806
- var internalEventHandlesSetKey = "__reactHandles$" + randomKey;
807
- var internalRootNodeResourcesKey = "__reactResources$" + randomKey;
808
- var internalHoistableMarker = "__reactMarker$" + randomKey;
809
- var internalLoadPendingKey = "__reactLoad$" + randomKey;
694
+ var randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey, internalLoadPendingKey = "__reactLoad$" + randomKey;
810
695
  function detachDeletedInstance(node) {
811
- delete node[internalInstanceKey];
812
- delete node[internalPropsKey];
813
- delete node[internalEventHandlerListenersKey];
814
- delete node[internalEventHandlesSetKey];
696
+ delete node[internalInstanceKey], delete node[internalPropsKey], delete node[internalEventHandlerListenersKey], delete node[internalEventHandlesSetKey];
815
697
  }
816
698
  function getClosestInstanceFromNode(targetNode) {
817
699
  var targetInst;
818
700
  if (targetInst = targetNode[internalInstanceKey]) return targetInst;
819
701
  for (var parentNode = targetNode.parentNode; parentNode; ) {
820
702
  if (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) {
821
- parentNode = targetInst.alternate;
822
- if (null !== targetInst.child || null !== parentNode && null !== parentNode.child)
823
- for (targetNode = getParentHydrationBoundary(targetNode); null !== targetNode; ) {
703
+ if (parentNode = targetInst.alternate, targetInst.child !== null || parentNode !== null && parentNode.child !== null)
704
+ for (targetNode = getParentHydrationBoundary(targetNode); targetNode !== null; ) {
824
705
  if (parentNode = targetNode[internalInstanceKey]) return parentNode;
825
706
  targetNode = getParentHydrationBoundary(targetNode);
826
707
  }
827
708
  return targetInst;
828
709
  }
829
- targetNode = parentNode;
830
- parentNode = targetNode.parentNode;
710
+ targetNode = parentNode, parentNode = targetNode.parentNode;
831
711
  }
832
712
  return null;
833
713
  }
834
714
  function getInstanceFromNode(node) {
835
715
  if (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) {
836
716
  var tag = node.tag;
837
- if (5 === tag || 6 === tag || 13 === tag || 31 === tag || 26 === tag || 27 === tag || 3 === tag)
717
+ if (tag === 5 || tag === 6 || tag === 13 || tag === 31 || tag === 26 || tag === 27 || tag === 3)
838
718
  return node;
839
719
  }
840
720
  return null;
841
721
  }
842
722
  function getNodeFromInstance(inst) {
843
723
  var tag = inst.tag;
844
- if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode;
724
+ if (tag === 5 || tag === 26 || tag === 27 || tag === 6) return inst.stateNode;
845
725
  throw Error(formatProdErrorMessage(33));
846
726
  }
847
727
  function getResourcesFromRoot(root2) {
848
728
  var resources = root2[internalRootNodeResourcesKey];
849
- resources || (resources = root2[internalRootNodeResourcesKey] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() });
850
- return resources;
729
+ return resources || (resources = root2[internalRootNodeResourcesKey] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), resources;
851
730
  }
852
731
  function markNodeAsHoistable(node) {
853
- node[internalHoistableMarker] = true;
732
+ node[internalHoistableMarker] = !0;
854
733
  }
855
734
  function clearPendingLoadOnNode(node) {
856
735
  node[internalLoadPendingKey] = void 0;
857
736
  }
858
- var allNativeEvents = /* @__PURE__ */ new Set();
859
- var registrationNameDependencies = {};
737
+ var allNativeEvents = /* @__PURE__ */ new Set(), registrationNameDependencies = {};
860
738
  function registerTwoPhaseEvent(registrationName, dependencies) {
861
- registerDirectEvent(registrationName, dependencies);
862
- registerDirectEvent(registrationName + "Capture", dependencies);
739
+ registerDirectEvent(registrationName, dependencies), registerDirectEvent(registrationName + "Capture", dependencies);
863
740
  }
864
741
  function registerDirectEvent(registrationName, dependencies) {
865
- registrationNameDependencies[registrationName] = dependencies;
866
- for (registrationName = 0; registrationName < dependencies.length; registrationName++)
742
+ for (registrationNameDependencies[registrationName] = dependencies, registrationName = 0; registrationName < dependencies.length; registrationName++)
867
743
  allNativeEvents.add(dependencies[registrationName]);
868
744
  }
869
745
  var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
870
746
  "^[: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]*$"
871
- );
872
- var illegalAttributeNameCache = {};
873
- var validatedAttributeNameCache = {};
747
+ ), illegalAttributeNameCache = {}, validatedAttributeNameCache = {};
874
748
  function isAttributeNameSafe(attributeName) {
875
- if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))
876
- return true;
877
- if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return false;
878
- if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))
879
- return validatedAttributeNameCache[attributeName] = true;
880
- illegalAttributeNameCache[attributeName] = true;
881
- return false;
882
- }
883
- var viewTransitionMutationContext = false;
749
+ return hasOwnProperty.call(validatedAttributeNameCache, attributeName) ? !0 : hasOwnProperty.call(illegalAttributeNameCache, attributeName) ? !1 : VALID_ATTRIBUTE_NAME_REGEX.test(attributeName) ? validatedAttributeNameCache[attributeName] = !0 : (illegalAttributeNameCache[attributeName] = !0, !1);
750
+ }
751
+ var viewTransitionMutationContext = !1;
884
752
  function pushMutationContext() {
885
753
  var prev = viewTransitionMutationContext;
886
- viewTransitionMutationContext = false;
887
- return prev;
754
+ return viewTransitionMutationContext = !1, prev;
888
755
  }
889
756
  function setValueForAttribute(node, name, value) {
890
757
  if (isAttributeNameSafe(name))
891
- if (null === value) node.removeAttribute(name);
758
+ if (value === null) node.removeAttribute(name);
892
759
  else {
893
760
  switch (typeof value) {
894
761
  case "undefined":
@@ -898,7 +765,7 @@
898
765
  return;
899
766
  case "boolean":
900
767
  var prefix$10 = name.toLowerCase().slice(0, 5);
901
- if ("data-" !== prefix$10 && "aria-" !== prefix$10) {
768
+ if (prefix$10 !== "data-" && prefix$10 !== "aria-") {
902
769
  node.removeAttribute(name);
903
770
  return;
904
771
  }
@@ -907,7 +774,7 @@
907
774
  }
908
775
  }
909
776
  function setValueForKnownAttribute(node, name, value) {
910
- if (null === value) node.removeAttribute(name);
777
+ if (value === null) node.removeAttribute(name);
911
778
  else {
912
779
  switch (typeof value) {
913
780
  case "undefined":
@@ -921,7 +788,7 @@
921
788
  }
922
789
  }
923
790
  function setValueForNamespacedAttribute(node, namespace, name, value) {
924
- if (null === value) node.removeAttribute(name);
791
+ if (value === null) node.removeAttribute(name);
925
792
  else {
926
793
  switch (typeof value) {
927
794
  case "undefined":
@@ -950,29 +817,26 @@
950
817
  }
951
818
  function isCheckable(elem) {
952
819
  var type = elem.type;
953
- return (elem = elem.nodeName) && "input" === elem.toLowerCase() && ("checkbox" === type || "radio" === type);
820
+ return (elem = elem.nodeName) && elem.toLowerCase() === "input" && (type === "checkbox" || type === "radio");
954
821
  }
955
822
  function trackValueOnNode(node, valueField, currentValue) {
956
823
  var descriptor = Object.getOwnPropertyDescriptor(
957
824
  node.constructor.prototype,
958
825
  valueField
959
826
  );
960
- if (!node.hasOwnProperty(valueField) && "undefined" !== typeof descriptor && "function" === typeof descriptor.get && "function" === typeof descriptor.set) {
827
+ if (!node.hasOwnProperty(valueField) && typeof descriptor < "u" && typeof descriptor.get == "function" && typeof descriptor.set == "function") {
961
828
  var get = descriptor.get, set = descriptor.set;
962
- Object.defineProperty(node, valueField, {
963
- configurable: true,
829
+ return Object.defineProperty(node, valueField, {
830
+ configurable: !0,
964
831
  get: function() {
965
832
  return get.call(this);
966
833
  },
967
834
  set: function(value) {
968
- currentValue = "" + value;
969
- set.call(this, value);
835
+ currentValue = "" + value, set.call(this, value);
970
836
  }
971
- });
972
- Object.defineProperty(node, valueField, {
837
+ }), Object.defineProperty(node, valueField, {
973
838
  enumerable: descriptor.enumerable
974
- });
975
- return {
839
+ }), {
976
840
  getValue: function() {
977
841
  return currentValue;
978
842
  },
@@ -980,8 +844,7 @@
980
844
  currentValue = "" + value;
981
845
  },
982
846
  stopTracking: function() {
983
- node._valueTracker = null;
984
- delete node[valueField];
847
+ node._valueTracker = null, delete node[valueField];
985
848
  }
986
849
  };
987
850
  }
@@ -997,14 +860,11 @@
997
860
  }
998
861
  }
999
862
  function updateValueIfChanged(node) {
1000
- if (!node) return false;
863
+ if (!node) return !1;
1001
864
  var tracker = node._valueTracker;
1002
- if (!tracker) return true;
1003
- var lastValue = tracker.getValue();
1004
- var value = "";
1005
- node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value);
1006
- node = value;
1007
- return node !== lastValue ? (tracker.setValue(node), true) : false;
865
+ if (!tracker) return !0;
866
+ var lastValue = tracker.getValue(), value = "";
867
+ return node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value), node = value, node !== lastValue ? (tracker.setValue(node), !0) : !1;
1008
868
  }
1009
869
  var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g;
1010
870
  function escapeSelectorAttributeValueInsideDoubleQuotes(value) {
@@ -1016,95 +876,64 @@
1016
876
  );
1017
877
  }
1018
878
  function updateInput(element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name) {
1019
- element.name = "";
1020
- null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type ? element.type = type : element.removeAttribute("type");
1021
- if (null != value)
1022
- if ("number" === type) {
1023
- if (0 === value && "" === element.value || element.value != value)
1024
- element.value = "" + getToStringValue(value);
1025
- } else
1026
- element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value));
1027
- else
1028
- "submit" !== type && "reset" !== type || element.removeAttribute("value");
1029
- null != value ? "number" === type && element.value == value ? setDefaultValue(element, getToStringValue(element.value)) : setDefaultValue(element, getToStringValue(value)) : null != defaultValue ? setDefaultValue(element, getToStringValue(defaultValue)) : null != lastDefaultValue && element.removeAttribute("value");
1030
- null == checked && null != defaultChecked && (element.defaultChecked = !!defaultChecked);
1031
- null != checked && (element.checked = checked && "function" !== typeof checked && "symbol" !== typeof checked);
1032
- null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name ? element.name = "" + getToStringValue(name) : element.removeAttribute("name");
879
+ element.name = "", type != null && typeof type != "function" && typeof type != "symbol" && typeof type != "boolean" ? element.type = type : element.removeAttribute("type"), value != null ? type === "number" ? (value === 0 && element.value === "" || element.value != value) && (element.value = "" + getToStringValue(value)) : element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)) : type !== "submit" && type !== "reset" || element.removeAttribute("value"), value != null ? type === "number" && element.value == value ? setDefaultValue(element, getToStringValue(element.value)) : setDefaultValue(element, getToStringValue(value)) : defaultValue != null ? setDefaultValue(element, getToStringValue(defaultValue)) : lastDefaultValue != null && element.removeAttribute("value"), checked == null && defaultChecked != null && (element.defaultChecked = !!defaultChecked), checked != null && (element.checked = checked && typeof checked != "function" && typeof checked != "symbol"), name != null && typeof name != "function" && typeof name != "symbol" && typeof name != "boolean" ? element.name = "" + getToStringValue(name) : element.removeAttribute("name");
1033
880
  }
1034
881
  function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating2) {
1035
- null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (element.type = type);
1036
- if (null != value || null != defaultValue) {
1037
- if (!("submit" !== type && "reset" !== type || void 0 !== value && null !== value)) {
882
+ if (type != null && typeof type != "function" && typeof type != "symbol" && typeof type != "boolean" && (element.type = type), value != null || defaultValue != null) {
883
+ if (!(type !== "submit" && type !== "reset" || value != null)) {
1038
884
  track(element);
1039
885
  return;
1040
886
  }
1041
- defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : "";
1042
- value = null != value ? "" + getToStringValue(value) : defaultValue;
1043
- isHydrating2 || value === element.value || (element.value = value);
1044
- element.defaultValue = value;
1045
- }
1046
- checked = null != checked ? checked : defaultChecked;
1047
- checked = "function" !== typeof checked && "symbol" !== typeof checked && !!checked;
1048
- element.checked = isHydrating2 ? element.checked : !!checked;
1049
- element.defaultChecked = !!checked;
1050
- null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name && (element.name = name);
1051
- track(element);
887
+ defaultValue = defaultValue != null ? "" + getToStringValue(defaultValue) : "", value = value != null ? "" + getToStringValue(value) : defaultValue, isHydrating2 || value === element.value || (element.value = value), element.defaultValue = value;
888
+ }
889
+ checked = checked ?? defaultChecked, checked = typeof checked != "function" && typeof checked != "symbol" && !!checked, element.checked = isHydrating2 ? element.checked : !!checked, element.defaultChecked = !!checked, name != null && typeof name != "function" && typeof name != "symbol" && typeof name != "boolean" && (element.name = name), track(element);
1052
890
  }
1053
891
  function setDefaultValue(node, value) {
1054
892
  node.defaultValue !== "" + value && (node.defaultValue = "" + value);
1055
893
  }
1056
894
  function updateOptions(node, multiple, propValue, setDefaultSelected) {
1057
- node = node.options;
1058
- if (multiple) {
895
+ if (node = node.options, multiple) {
1059
896
  multiple = {};
1060
897
  for (var i = 0; i < propValue.length; i++)
1061
- multiple["$" + propValue[i]] = true;
898
+ multiple["$" + propValue[i]] = !0;
1062
899
  for (propValue = 0; propValue < node.length; propValue++)
1063
- i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = true);
900
+ i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = !0);
1064
901
  } else {
1065
- propValue = "" + getToStringValue(propValue);
1066
- multiple = null;
1067
- for (i = 0; i < node.length; i++) {
902
+ for (propValue = "" + getToStringValue(propValue), multiple = null, i = 0; i < node.length; i++) {
1068
903
  if (node[i].value === propValue) {
1069
- node[i].selected = true;
1070
- setDefaultSelected && (node[i].defaultSelected = true);
904
+ node[i].selected = !0, setDefaultSelected && (node[i].defaultSelected = !0);
1071
905
  return;
1072
906
  }
1073
- null !== multiple || node[i].disabled || (multiple = node[i]);
907
+ multiple !== null || node[i].disabled || (multiple = node[i]);
1074
908
  }
1075
- null !== multiple && (multiple.selected = true);
909
+ multiple !== null && (multiple.selected = !0);
1076
910
  }
1077
911
  }
1078
912
  function updateTextarea(element, value, defaultValue) {
1079
- if (null != value && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), null == defaultValue)) {
913
+ if (value != null && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), defaultValue == null)) {
1080
914
  element.defaultValue !== value && (element.defaultValue = value);
1081
915
  return;
1082
916
  }
1083
- element.defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : "";
917
+ element.defaultValue = defaultValue != null ? "" + getToStringValue(defaultValue) : "";
1084
918
  }
1085
919
  function initTextarea(element, value, defaultValue, children) {
1086
- if (null == value) {
1087
- if (null != children) {
1088
- if (null != defaultValue) throw Error(formatProdErrorMessage(92));
920
+ if (value == null) {
921
+ if (children != null) {
922
+ if (defaultValue != null) throw Error(formatProdErrorMessage(92));
1089
923
  if (isArrayImpl(children)) {
1090
924
  if (1 < children.length) throw Error(formatProdErrorMessage(93));
1091
925
  children = children[0];
1092
926
  }
1093
927
  defaultValue = children;
1094
928
  }
1095
- null == defaultValue && (defaultValue = "");
1096
- value = defaultValue;
929
+ defaultValue == null && (defaultValue = ""), value = defaultValue;
1097
930
  }
1098
- defaultValue = getToStringValue(value);
1099
- element.defaultValue = defaultValue;
1100
- children = element.textContent;
1101
- children === defaultValue && "" !== children && null !== children && (element.value = children);
1102
- track(element);
931
+ defaultValue = getToStringValue(value), element.defaultValue = defaultValue, children = element.textContent, children === defaultValue && children !== "" && children !== null && (element.value = children), track(element);
1103
932
  }
1104
933
  function setTextContent(node, text) {
1105
934
  if (text) {
1106
935
  var firstChild = node.firstChild;
1107
- if (firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType) {
936
+ if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {
1108
937
  firstChild.nodeValue = text;
1109
938
  return;
1110
939
  }
@@ -1117,24 +946,23 @@
1117
946
  )
1118
947
  );
1119
948
  function setValueForStyle(style2, styleName, value) {
1120
- var isCustomProperty = 0 === styleName.indexOf("--");
1121
- null == value || "boolean" === typeof value || "" === value ? isCustomProperty ? style2.setProperty(styleName, "") : "float" === styleName ? style2.cssFloat = "" : style2[styleName] = "" : isCustomProperty ? style2.setProperty(styleName, value) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? "float" === styleName ? style2.cssFloat = value : style2[styleName] = ("" + value).trim() : style2[styleName] = value + "px";
949
+ var isCustomProperty = styleName.indexOf("--") === 0;
950
+ value == null || typeof value == "boolean" || value === "" ? isCustomProperty ? style2.setProperty(styleName, "") : styleName === "float" ? style2.cssFloat = "" : style2[styleName] = "" : isCustomProperty ? style2.setProperty(styleName, value) : typeof value != "number" || value === 0 || unitlessNumbers.has(styleName) ? styleName === "float" ? style2.cssFloat = value : style2[styleName] = ("" + value).trim() : style2[styleName] = value + "px";
1122
951
  }
1123
952
  function setValueForStyles(node, styles, prevStyles) {
1124
- if (null != styles && "object" !== typeof styles)
953
+ if (styles != null && typeof styles != "object")
1125
954
  throw Error(formatProdErrorMessage(62));
1126
- node = node.style;
1127
- if (null != prevStyles) {
955
+ if (node = node.style, prevStyles != null) {
1128
956
  for (var styleName in prevStyles)
1129
- !prevStyles.hasOwnProperty(styleName) || null != styles && styles.hasOwnProperty(styleName) || (0 === styleName.indexOf("--") ? node.setProperty(styleName, "") : "float" === styleName ? node.cssFloat = "" : node[styleName] = "", viewTransitionMutationContext = true);
957
+ !prevStyles.hasOwnProperty(styleName) || styles != null && styles.hasOwnProperty(styleName) || (styleName.indexOf("--") === 0 ? node.setProperty(styleName, "") : styleName === "float" ? node.cssFloat = "" : node[styleName] = "", viewTransitionMutationContext = !0);
1130
958
  for (var styleName$16 in styles)
1131
- styleName = styles[styleName$16], styles.hasOwnProperty(styleName$16) && prevStyles[styleName$16] !== styleName && (setValueForStyle(node, styleName$16, styleName), viewTransitionMutationContext = true);
959
+ styleName = styles[styleName$16], styles.hasOwnProperty(styleName$16) && prevStyles[styleName$16] !== styleName && (setValueForStyle(node, styleName$16, styleName), viewTransitionMutationContext = !0);
1132
960
  } else
1133
961
  for (var styleName$17 in styles)
1134
962
  styles.hasOwnProperty(styleName$17) && setValueForStyle(node, styleName$17, styles[styleName$17]);
1135
963
  }
1136
964
  function isCustomElement(tagName) {
1137
- if (-1 === tagName.indexOf("-")) return false;
965
+ if (tagName.indexOf("-") === -1) return !1;
1138
966
  switch (tagName) {
1139
967
  case "annotation-xml":
1140
968
  case "color-profile":
@@ -1144,9 +972,9 @@
1144
972
  case "font-face-format":
1145
973
  case "font-face-name":
1146
974
  case "missing-glyph":
1147
- return false;
975
+ return !1;
1148
976
  default:
1149
- return true;
977
+ return !0;
1150
978
  }
1151
979
  }
1152
980
  var aliases = /* @__PURE__ */ new Map([
@@ -1229,8 +1057,7 @@
1229
1057
  ["writingMode", "writing-mode"],
1230
1058
  ["xmlnsXlink", "xmlns:xlink"],
1231
1059
  ["xHeight", "x-height"]
1232
- ]);
1233
- var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
1060
+ ]), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
1234
1061
  function sanitizeURL(url) {
1235
1062
  return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url;
1236
1063
  }
@@ -1238,19 +1065,16 @@
1238
1065
  }
1239
1066
  var currentReplayingEvent = null;
1240
1067
  function getEventTarget(nativeEvent) {
1241
- nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
1242
- nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement);
1243
- return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;
1068
+ return nativeEvent = nativeEvent.target || nativeEvent.srcElement || window, nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement), nativeEvent.nodeType === 3 ? nativeEvent.parentNode : nativeEvent;
1244
1069
  }
1245
- var restoreTarget = null;
1246
- var restoreQueue = null;
1070
+ var restoreTarget = null, restoreQueue = null;
1247
1071
  function restoreStateOfTarget(target) {
1248
1072
  var internalInstance = getInstanceFromNode(target);
1249
1073
  if (internalInstance && (target = internalInstance.stateNode)) {
1250
1074
  var props = target[internalPropsKey] || null;
1251
1075
  a: switch (target = internalInstance.stateNode, internalInstance.type) {
1252
1076
  case "input":
1253
- updateInput(
1077
+ if (updateInput(
1254
1078
  target,
1255
1079
  props.value,
1256
1080
  props.defaultValue,
@@ -1259,16 +1083,13 @@
1259
1083
  props.defaultChecked,
1260
1084
  props.type,
1261
1085
  props.name
1262
- );
1263
- internalInstance = props.name;
1264
- if ("radio" === props.type && null != internalInstance) {
1086
+ ), internalInstance = props.name, props.type === "radio" && internalInstance != null) {
1265
1087
  for (props = target; props.parentNode; ) props = props.parentNode;
1266
- props = props.querySelectorAll(
1088
+ for (props = props.querySelectorAll(
1267
1089
  'input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes(
1268
1090
  "" + internalInstance
1269
1091
  ) + '"][type="radio"]'
1270
- );
1271
- for (internalInstance = 0; internalInstance < props.length; internalInstance++) {
1092
+ ), internalInstance = 0; internalInstance < props.length; internalInstance++) {
1272
1093
  var otherNode = props[internalInstance];
1273
1094
  if (otherNode !== target && otherNode.form === target.form) {
1274
1095
  var otherProps = otherNode[internalPropsKey] || null;
@@ -1293,29 +1114,27 @@
1293
1114
  updateTextarea(target, props.value, props.defaultValue);
1294
1115
  break a;
1295
1116
  case "select":
1296
- internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, false);
1117
+ internalInstance = props.value, internalInstance != null && updateOptions(target, !!props.multiple, internalInstance, !1);
1297
1118
  }
1298
1119
  }
1299
1120
  }
1300
- var isInsideEventHandler = false;
1121
+ var isInsideEventHandler = !1;
1301
1122
  function batchedUpdates$1(fn, a, b) {
1302
1123
  if (isInsideEventHandler) return fn(a, b);
1303
- isInsideEventHandler = true;
1124
+ isInsideEventHandler = !0;
1304
1125
  try {
1305
1126
  var JSCompiler_inline_result = fn(a);
1306
1127
  return JSCompiler_inline_result;
1307
1128
  } finally {
1308
- if (isInsideEventHandler = false, null !== restoreTarget || null !== restoreQueue) {
1309
- if (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn))
1310
- for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);
1311
- }
1129
+ if (isInsideEventHandler = !1, (restoreTarget !== null || restoreQueue !== null) && (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)))
1130
+ for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);
1312
1131
  }
1313
1132
  }
1314
1133
  function getListener(inst, registrationName) {
1315
1134
  var stateNode = inst.stateNode;
1316
- if (null === stateNode) return null;
1135
+ if (stateNode === null) return null;
1317
1136
  var props = stateNode[internalPropsKey] || null;
1318
- if (null === props) return null;
1137
+ if (props === null) return null;
1319
1138
  stateNode = props[registrationName];
1320
1139
  a: switch (registrationName) {
1321
1140
  case "onClick":
@@ -1329,38 +1148,30 @@
1329
1148
  case "onMouseUp":
1330
1149
  case "onMouseUpCapture":
1331
1150
  case "onMouseEnter":
1332
- (props = !props.disabled) || (inst = inst.type, props = !("button" === inst || "input" === inst || "select" === inst || "textarea" === inst));
1333
- inst = !props;
1151
+ (props = !props.disabled) || (inst = inst.type, props = !(inst === "button" || inst === "input" || inst === "select" || inst === "textarea")), inst = !props;
1334
1152
  break a;
1335
1153
  default:
1336
- inst = false;
1154
+ inst = !1;
1337
1155
  }
1338
1156
  if (inst) return null;
1339
- if (stateNode && "function" !== typeof stateNode)
1157
+ if (stateNode && typeof stateNode != "function")
1340
1158
  throw Error(
1341
1159
  formatProdErrorMessage(231, registrationName, typeof stateNode)
1342
1160
  );
1343
1161
  return stateNode;
1344
1162
  }
1345
- var canUseDOM2 = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement);
1346
- var passiveBrowserEventsSupported = false;
1163
+ var canUseDOM2 = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), passiveBrowserEventsSupported = !1;
1347
1164
  if (canUseDOM2)
1348
1165
  try {
1349
- options2 = {};
1350
- Object.defineProperty(options2, "passive", {
1166
+ options2 = {}, Object.defineProperty(options2, "passive", {
1351
1167
  get: function() {
1352
- passiveBrowserEventsSupported = true;
1168
+ passiveBrowserEventsSupported = !0;
1353
1169
  }
1354
- });
1355
- window.addEventListener("test", options2, options2);
1356
- window.removeEventListener("test", options2, options2);
1357
- } catch (e) {
1358
- passiveBrowserEventsSupported = false;
1359
- }
1360
- var options2;
1361
- var root = null;
1362
- var startText = null;
1363
- var fallbackText = null;
1170
+ }), window.addEventListener("test", options2, options2), window.removeEventListener("test", options2, options2);
1171
+ } catch {
1172
+ passiveBrowserEventsSupported = !1;
1173
+ }
1174
+ var options2, root = null, startText = null, fallbackText = null;
1364
1175
  function getData() {
1365
1176
  if (fallbackText) return fallbackText;
1366
1177
  var start2, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length;
@@ -1371,45 +1182,35 @@
1371
1182
  }
1372
1183
  function getEventCharCode(nativeEvent) {
1373
1184
  var keyCode = nativeEvent.keyCode;
1374
- "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) : nativeEvent = keyCode;
1375
- 10 === nativeEvent && (nativeEvent = 13);
1376
- return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;
1185
+ return "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, nativeEvent === 0 && keyCode === 13 && (nativeEvent = 13)) : nativeEvent = keyCode, nativeEvent === 10 && (nativeEvent = 13), 32 <= nativeEvent || nativeEvent === 13 ? nativeEvent : 0;
1377
1186
  }
1378
1187
  function functionThatReturnsTrue() {
1379
- return true;
1188
+ return !0;
1380
1189
  }
1381
1190
  function functionThatReturnsFalse() {
1382
- return false;
1191
+ return !1;
1383
1192
  }
1384
1193
  function createSyntheticEvent(Interface) {
1385
1194
  function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
1386
- this._reactName = reactName;
1387
- this._targetInst = targetInst;
1388
- this.type = reactEventType;
1389
- this.nativeEvent = nativeEvent;
1390
- this.target = nativeEventTarget;
1391
- this.currentTarget = null;
1195
+ this._reactName = reactName, this._targetInst = targetInst, this.type = reactEventType, this.nativeEvent = nativeEvent, this.target = nativeEventTarget, this.currentTarget = null;
1392
1196
  for (var propName in Interface)
1393
1197
  Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]);
1394
- this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : false === nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse;
1395
- this.isPropagationStopped = functionThatReturnsFalse;
1396
- return this;
1198
+ return this.isDefaultPrevented = (nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === !1) ? functionThatReturnsTrue : functionThatReturnsFalse, this.isPropagationStopped = functionThatReturnsFalse, this;
1397
1199
  }
1398
- assign(SyntheticBaseEvent.prototype, {
1200
+ return assign(SyntheticBaseEvent.prototype, {
1399
1201
  preventDefault: function() {
1400
- this.defaultPrevented = true;
1202
+ this.defaultPrevented = !0;
1401
1203
  var event = this.nativeEvent;
1402
- event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = false), this.isDefaultPrevented = functionThatReturnsTrue);
1204
+ event && (event.preventDefault ? event.preventDefault() : typeof event.returnValue != "unknown" && (event.returnValue = !1), this.isDefaultPrevented = functionThatReturnsTrue);
1403
1205
  },
1404
1206
  stopPropagation: function() {
1405
1207
  var event = this.nativeEvent;
1406
- event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = true), this.isPropagationStopped = functionThatReturnsTrue);
1208
+ event && (event.stopPropagation ? event.stopPropagation() : typeof event.cancelBubble != "unknown" && (event.cancelBubble = !0), this.isPropagationStopped = functionThatReturnsTrue);
1407
1209
  },
1408
1210
  persist: function() {
1409
1211
  },
1410
1212
  isPersistent: functionThatReturnsTrue
1411
- });
1412
- return SyntheticBaseEvent;
1213
+ }), SyntheticBaseEvent;
1413
1214
  }
1414
1215
  var EventInterface = {
1415
1216
  eventPhase: 0,
@@ -1420,14 +1221,7 @@
1420
1221
  },
1421
1222
  defaultPrevented: 0,
1422
1223
  isTrusted: 0
1423
- };
1424
- var SyntheticEvent = createSyntheticEvent(EventInterface);
1425
- var UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 });
1426
- var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
1427
- var lastMovementX;
1428
- var lastMovementY;
1429
- var lastMouseEvent;
1430
- var MouseEventInterface = assign({}, UIEventInterface, {
1224
+ }, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, {
1431
1225
  screenX: 0,
1432
1226
  screenY: 0,
1433
1227
  clientX: 0,
@@ -1442,37 +1236,23 @@
1442
1236
  button: 0,
1443
1237
  buttons: 0,
1444
1238
  relatedTarget: function(event) {
1445
- return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;
1239
+ return event.relatedTarget === void 0 ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;
1446
1240
  },
1447
1241
  movementX: function(event) {
1448
- if ("movementX" in event) return event.movementX;
1449
- event !== lastMouseEvent && (lastMouseEvent && "mousemove" === event.type ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event);
1450
- return lastMovementX;
1242
+ return "movementX" in event ? event.movementX : (event !== lastMouseEvent && (lastMouseEvent && event.type === "mousemove" ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event), lastMovementX);
1451
1243
  },
1452
1244
  movementY: function(event) {
1453
1245
  return "movementY" in event ? event.movementY : lastMovementY;
1454
1246
  }
1455
- });
1456
- var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
1457
- var DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 });
1458
- var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
1459
- var FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 });
1460
- var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
1461
- var AnimationEventInterface = assign({}, EventInterface, {
1247
+ }), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, {
1462
1248
  animationName: 0,
1463
1249
  elapsedTime: 0,
1464
1250
  pseudoElement: 0
1465
- });
1466
- var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
1467
- var ClipboardEventInterface = assign({}, EventInterface, {
1251
+ }), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, {
1468
1252
  clipboardData: function(event) {
1469
1253
  return "clipboardData" in event ? event.clipboardData : window.clipboardData;
1470
1254
  }
1471
- });
1472
- var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
1473
- var CompositionEventInterface = assign({}, EventInterface, { data: 0 });
1474
- var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
1475
- var normalizeKey = {
1255
+ }), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { data: 0 }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), normalizeKey = {
1476
1256
  Esc: "Escape",
1477
1257
  Spacebar: " ",
1478
1258
  Left: "ArrowLeft",
@@ -1485,8 +1265,7 @@
1485
1265
  Apps: "ContextMenu",
1486
1266
  Scroll: "ScrollLock",
1487
1267
  MozPrintableKey: "Unidentified"
1488
- };
1489
- var translateToKey = {
1268
+ }, translateToKey = {
1490
1269
  8: "Backspace",
1491
1270
  9: "Tab",
1492
1271
  12: "Clear",
@@ -1523,8 +1302,7 @@
1523
1302
  144: "NumLock",
1524
1303
  145: "ScrollLock",
1525
1304
  224: "Meta"
1526
- };
1527
- var modifierKeyToProp = {
1305
+ }, modifierKeyToProp = {
1528
1306
  Alt: "altKey",
1529
1307
  Control: "ctrlKey",
1530
1308
  Meta: "metaKey",
@@ -1532,7 +1310,7 @@
1532
1310
  };
1533
1311
  function modifierStateGetter(keyArg) {
1534
1312
  var nativeEvent = this.nativeEvent;
1535
- return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : false;
1313
+ return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1;
1536
1314
  }
1537
1315
  function getEventModifierState() {
1538
1316
  return modifierStateGetter;
@@ -1541,9 +1319,9 @@
1541
1319
  key: function(nativeEvent) {
1542
1320
  if (nativeEvent.key) {
1543
1321
  var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
1544
- if ("Unidentified" !== key) return key;
1322
+ if (key !== "Unidentified") return key;
1545
1323
  }
1546
- return "keypress" === nativeEvent.type ? (nativeEvent = getEventCharCode(nativeEvent), 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type ? translateToKey[nativeEvent.keyCode] || "Unidentified" : "";
1324
+ return nativeEvent.type === "keypress" ? (nativeEvent = getEventCharCode(nativeEvent), nativeEvent === 13 ? "Enter" : String.fromCharCode(nativeEvent)) : nativeEvent.type === "keydown" || nativeEvent.type === "keyup" ? translateToKey[nativeEvent.keyCode] || "Unidentified" : "";
1547
1325
  },
1548
1326
  code: 0,
1549
1327
  location: 0,
@@ -1555,17 +1333,15 @@
1555
1333
  locale: 0,
1556
1334
  getModifierState: getEventModifierState,
1557
1335
  charCode: function(event) {
1558
- return "keypress" === event.type ? getEventCharCode(event) : 0;
1336
+ return event.type === "keypress" ? getEventCharCode(event) : 0;
1559
1337
  },
1560
1338
  keyCode: function(event) {
1561
- return "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0;
1339
+ return event.type === "keydown" || event.type === "keyup" ? event.keyCode : 0;
1562
1340
  },
1563
1341
  which: function(event) {
1564
- return "keypress" === event.type ? getEventCharCode(event) : "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0;
1342
+ return event.type === "keypress" ? getEventCharCode(event) : event.type === "keydown" || event.type === "keyup" ? event.keyCode : 0;
1565
1343
  }
1566
- });
1567
- var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
1568
- var PointerEventInterface = assign({}, MouseEventInterface, {
1344
+ }), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, {
1569
1345
  pointerId: 0,
1570
1346
  width: 0,
1571
1347
  height: 0,
@@ -1576,11 +1352,7 @@
1576
1352
  twist: 0,
1577
1353
  pointerType: 0,
1578
1354
  isPrimary: 0
1579
- });
1580
- var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
1581
- var SubmitEventInterface = assign({}, EventInterface, { submitter: 0 });
1582
- var SyntheticSubmitEvent = createSyntheticEvent(SubmitEventInterface);
1583
- var TouchEventInterface = assign({}, UIEventInterface, {
1355
+ }), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), SubmitEventInterface = assign({}, EventInterface, { submitter: 0 }), SyntheticSubmitEvent = createSyntheticEvent(SubmitEventInterface), TouchEventInterface = assign({}, UIEventInterface, {
1584
1356
  touches: 0,
1585
1357
  targetTouches: 0,
1586
1358
  changedTouches: 0,
@@ -1589,15 +1361,11 @@
1589
1361
  ctrlKey: 0,
1590
1362
  shiftKey: 0,
1591
1363
  getModifierState: getEventModifierState
1592
- });
1593
- var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
1594
- var TransitionEventInterface = assign({}, EventInterface, {
1364
+ }), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, {
1595
1365
  propertyName: 0,
1596
1366
  elapsedTime: 0,
1597
1367
  pseudoElement: 0
1598
- });
1599
- var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
1600
- var WheelEventInterface = assign({}, MouseEventInterface, {
1368
+ }), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, {
1601
1369
  deltaX: function(event) {
1602
1370
  return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0;
1603
1371
  },
@@ -1606,49 +1374,37 @@
1606
1374
  },
1607
1375
  deltaZ: 0,
1608
1376
  deltaMode: 0
1609
- });
1610
- var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);
1611
- var ToggleEventInterface = assign({}, EventInterface, {
1377
+ }), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, {
1612
1378
  newState: 0,
1613
1379
  oldState: 0,
1614
1380
  source: 0
1615
- });
1616
- var SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface);
1617
- var END_KEYCODES = [9, 13, 27, 32];
1618
- var canUseCompositionEvent = canUseDOM2 && "CompositionEvent" in window;
1619
- var documentMode = null;
1381
+ }), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [9, 13, 27, 32], canUseCompositionEvent = canUseDOM2 && "CompositionEvent" in window, documentMode = null;
1620
1382
  canUseDOM2 && "documentMode" in document && (documentMode = document.documentMode);
1621
- var canUseTextInputEvent = canUseDOM2 && "TextEvent" in window && !documentMode;
1622
- var useFallbackCompositionData = canUseDOM2 && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode);
1623
- var SPACEBAR_CHAR = String.fromCharCode(32);
1624
- var hasSpaceKeypress = false;
1383
+ var canUseTextInputEvent = canUseDOM2 && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM2 && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode), SPACEBAR_CHAR = " ", hasSpaceKeypress = !1;
1625
1384
  function isFallbackCompositionEnd(domEventName, nativeEvent) {
1626
1385
  switch (domEventName) {
1627
1386
  case "keyup":
1628
- return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);
1387
+ return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
1629
1388
  case "keydown":
1630
- return 229 !== nativeEvent.keyCode;
1389
+ return nativeEvent.keyCode !== 229;
1631
1390
  case "keypress":
1632
1391
  case "mousedown":
1633
1392
  case "focusout":
1634
- return true;
1393
+ return !0;
1635
1394
  default:
1636
- return false;
1395
+ return !1;
1637
1396
  }
1638
1397
  }
1639
1398
  function getDataFromCustomEvent(nativeEvent) {
1640
- nativeEvent = nativeEvent.detail;
1641
- return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null;
1399
+ return nativeEvent = nativeEvent.detail, typeof nativeEvent == "object" && "data" in nativeEvent ? nativeEvent.data : null;
1642
1400
  }
1643
- var isComposing = false;
1401
+ var isComposing = !1;
1644
1402
  function getNativeBeforeInputChars(domEventName, nativeEvent) {
1645
1403
  switch (domEventName) {
1646
1404
  case "compositionend":
1647
1405
  return getDataFromCustomEvent(nativeEvent);
1648
1406
  case "keypress":
1649
- if (32 !== nativeEvent.which) return null;
1650
- hasSpaceKeypress = true;
1651
- return SPACEBAR_CHAR;
1407
+ return nativeEvent.which !== 32 ? null : (hasSpaceKeypress = !0, SPACEBAR_CHAR);
1652
1408
  case "textInput":
1653
1409
  return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName;
1654
1410
  default:
@@ -1657,7 +1413,7 @@
1657
1413
  }
1658
1414
  function getFallbackBeforeInputChars(domEventName, nativeEvent) {
1659
1415
  if (isComposing)
1660
- return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = false, domEventName) : null;
1416
+ return domEventName === "compositionend" || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = !1, domEventName) : null;
1661
1417
  switch (domEventName) {
1662
1418
  case "paste":
1663
1419
  return null;
@@ -1669,36 +1425,34 @@
1669
1425
  }
1670
1426
  return null;
1671
1427
  case "compositionend":
1672
- return useFallbackCompositionData && "ko" !== nativeEvent.locale ? null : nativeEvent.data;
1428
+ return useFallbackCompositionData && nativeEvent.locale !== "ko" ? null : nativeEvent.data;
1673
1429
  default:
1674
1430
  return null;
1675
1431
  }
1676
1432
  }
1677
1433
  var supportedInputTypes = {
1678
- color: true,
1679
- date: true,
1680
- datetime: true,
1681
- "datetime-local": true,
1682
- email: true,
1683
- month: true,
1684
- number: true,
1685
- password: true,
1686
- range: true,
1687
- search: true,
1688
- tel: true,
1689
- text: true,
1690
- time: true,
1691
- url: true,
1692
- week: true
1434
+ color: !0,
1435
+ date: !0,
1436
+ datetime: !0,
1437
+ "datetime-local": !0,
1438
+ email: !0,
1439
+ month: !0,
1440
+ number: !0,
1441
+ password: !0,
1442
+ range: !0,
1443
+ search: !0,
1444
+ tel: !0,
1445
+ text: !0,
1446
+ time: !0,
1447
+ url: !0,
1448
+ week: !0
1693
1449
  };
1694
1450
  function isTextInputElement(elem) {
1695
1451
  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
1696
- return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? true : false;
1452
+ return nodeName === "input" ? !!supportedInputTypes[elem.type] : nodeName === "textarea";
1697
1453
  }
1698
1454
  function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {
1699
- restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target;
1700
- inst = accumulateTwoPhaseListeners(inst, "onChange");
1701
- 0 < inst.length && (nativeEvent = new SyntheticEvent(
1455
+ restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target, inst = accumulateTwoPhaseListeners(inst, "onChange"), 0 < inst.length && (nativeEvent = new SyntheticEvent(
1702
1456
  "onChange",
1703
1457
  "change",
1704
1458
  null,
@@ -1706,8 +1460,7 @@
1706
1460
  target
1707
1461
  ), dispatchQueue.push({ event: nativeEvent, listeners: inst }));
1708
1462
  }
1709
- var activeElement$1 = null;
1710
- var activeElementInst$1 = null;
1463
+ var activeElement$1 = null, activeElementInst$1 = null;
1711
1464
  function runEventInBatch(dispatchQueue) {
1712
1465
  processDispatchQueue(dispatchQueue, 0);
1713
1466
  }
@@ -1716,76 +1469,61 @@
1716
1469
  if (updateValueIfChanged(targetNode)) return targetInst;
1717
1470
  }
1718
1471
  function getTargetInstForChangeEvent(domEventName, targetInst) {
1719
- if ("change" === domEventName) return targetInst;
1720
- }
1721
- var isInputEventSupported = false;
1722
- if (canUseDOM2) {
1723
- if (canUseDOM2) {
1724
- isSupported$jscomp$inline_474 = "oninput" in document;
1725
- if (!isSupported$jscomp$inline_474) {
1726
- element$jscomp$inline_475 = document.createElement("div");
1727
- element$jscomp$inline_475.setAttribute("oninput", "return;");
1728
- isSupported$jscomp$inline_474 = "function" === typeof element$jscomp$inline_475.oninput;
1729
- }
1730
- JSCompiler_inline_result$jscomp$318 = isSupported$jscomp$inline_474;
1731
- } else JSCompiler_inline_result$jscomp$318 = false;
1732
- isInputEventSupported = JSCompiler_inline_result$jscomp$318 && (!document.documentMode || 9 < document.documentMode);
1472
+ if (domEventName === "change") return targetInst;
1733
1473
  }
1734
- var JSCompiler_inline_result$jscomp$318;
1735
- var isSupported$jscomp$inline_474;
1736
- var element$jscomp$inline_475;
1474
+ var isInputEventSupported = !1;
1475
+ canUseDOM2 && (canUseDOM2 ? (isSupported$jscomp$inline_474 = "oninput" in document, isSupported$jscomp$inline_474 || (element$jscomp$inline_475 = document.createElement("div"), element$jscomp$inline_475.setAttribute("oninput", "return;"), isSupported$jscomp$inline_474 = typeof element$jscomp$inline_475.oninput == "function"), JSCompiler_inline_result$jscomp$318 = isSupported$jscomp$inline_474) : JSCompiler_inline_result$jscomp$318 = !1, isInputEventSupported = JSCompiler_inline_result$jscomp$318 && (!document.documentMode || 9 < document.documentMode));
1476
+ var JSCompiler_inline_result$jscomp$318, isSupported$jscomp$inline_474, element$jscomp$inline_475;
1737
1477
  function stopWatchingForValueChange() {
1738
1478
  activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), activeElementInst$1 = activeElement$1 = null);
1739
1479
  }
1740
1480
  function handlePropertyChange(nativeEvent) {
1741
- if ("value" === nativeEvent.propertyName && getInstIfValueChanged(activeElementInst$1)) {
1481
+ if (nativeEvent.propertyName === "value" && getInstIfValueChanged(activeElementInst$1)) {
1742
1482
  var dispatchQueue = [];
1743
1483
  createAndAccumulateChangeEvent(
1744
1484
  dispatchQueue,
1745
1485
  activeElementInst$1,
1746
1486
  nativeEvent,
1747
1487
  getEventTarget(nativeEvent)
1748
- );
1749
- batchedUpdates$1(runEventInBatch, dispatchQueue);
1488
+ ), batchedUpdates$1(runEventInBatch, dispatchQueue);
1750
1489
  }
1751
1490
  }
1752
1491
  function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {
1753
- "focusin" === domEventName ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : "focusout" === domEventName && stopWatchingForValueChange();
1492
+ domEventName === "focusin" ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : domEventName === "focusout" && stopWatchingForValueChange();
1754
1493
  }
1755
1494
  function getTargetInstForInputEventPolyfill(domEventName) {
1756
- if ("selectionchange" === domEventName || "keyup" === domEventName || "keydown" === domEventName)
1495
+ if (domEventName === "selectionchange" || domEventName === "keyup" || domEventName === "keydown")
1757
1496
  return getInstIfValueChanged(activeElementInst$1);
1758
1497
  }
1759
1498
  function getTargetInstForClickEvent(domEventName, targetInst) {
1760
- if ("click" === domEventName) return getInstIfValueChanged(targetInst);
1499
+ if (domEventName === "click") return getInstIfValueChanged(targetInst);
1761
1500
  }
1762
1501
  function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
1763
- if ("input" === domEventName || "change" === domEventName)
1502
+ if (domEventName === "input" || domEventName === "change")
1764
1503
  return getInstIfValueChanged(targetInst);
1765
1504
  }
1766
1505
  function is(x, y) {
1767
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
1506
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
1768
1507
  }
1769
- var objectIs = "function" === typeof Object.is ? Object.is : is;
1508
+ var objectIs = typeof Object.is == "function" ? Object.is : is;
1770
1509
  function shallowEqual2(objA, objB) {
1771
- if (objectIs(objA, objB)) return true;
1772
- if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB)
1773
- return false;
1510
+ if (objectIs(objA, objB)) return !0;
1511
+ if (typeof objA != "object" || objA === null || typeof objB != "object" || objB === null)
1512
+ return !1;
1774
1513
  var keysA = Object.keys(objA), keysB = Object.keys(objB);
1775
- if (keysA.length !== keysB.length) return false;
1514
+ if (keysA.length !== keysB.length) return !1;
1776
1515
  for (keysB = 0; keysB < keysA.length; keysB++) {
1777
1516
  var currentKey = keysA[keysB];
1778
1517
  if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey]))
1779
- return false;
1518
+ return !1;
1780
1519
  }
1781
- return true;
1520
+ return !0;
1782
1521
  }
1783
1522
  function getActiveElement2(doc) {
1784
- doc = doc || ("undefined" !== typeof document ? document : void 0);
1785
- if ("undefined" === typeof doc) return null;
1523
+ if (doc = doc || (typeof document < "u" ? document : void 0), typeof doc > "u") return null;
1786
1524
  try {
1787
1525
  return doc.activeElement || doc.body;
1788
- } catch (e$20) {
1526
+ } catch {
1789
1527
  return doc.body;
1790
1528
  }
1791
1529
  }
@@ -1797,9 +1535,8 @@
1797
1535
  var node = getLeafNode(root2);
1798
1536
  root2 = 0;
1799
1537
  for (var nodeEnd; node; ) {
1800
- if (3 === node.nodeType) {
1801
- nodeEnd = root2 + node.textContent.length;
1802
- if (root2 <= offset4 && nodeEnd >= offset4)
1538
+ if (node.nodeType === 3) {
1539
+ if (nodeEnd = root2 + node.textContent.length, root2 <= offset4 && nodeEnd >= offset4)
1803
1540
  return { node, offset: offset4 - root2 };
1804
1541
  root2 = nodeEnd;
1805
1542
  }
@@ -1817,15 +1554,15 @@
1817
1554
  }
1818
1555
  }
1819
1556
  function containsNode(outerNode, innerNode) {
1820
- return outerNode && innerNode ? outerNode === innerNode ? true : outerNode && 3 === outerNode.nodeType ? false : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : false : false;
1557
+ return outerNode && innerNode ? outerNode === innerNode ? !0 : outerNode && outerNode.nodeType === 3 ? !1 : innerNode && innerNode.nodeType === 3 ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : !1 : !1;
1821
1558
  }
1822
1559
  function getActiveElementDeep(containerInfo) {
1823
- containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window;
1560
+ containerInfo = containerInfo != null && containerInfo.ownerDocument != null && containerInfo.ownerDocument.defaultView != null ? containerInfo.ownerDocument.defaultView : window;
1824
1561
  for (var element = getActiveElement2(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement; ) {
1825
1562
  try {
1826
- var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href;
1827
- } catch (err) {
1828
- JSCompiler_inline_result = false;
1563
+ var JSCompiler_inline_result = typeof element.contentWindow.location.href == "string";
1564
+ } catch {
1565
+ JSCompiler_inline_result = !1;
1829
1566
  }
1830
1567
  if (JSCompiler_inline_result) containerInfo = element.contentWindow;
1831
1568
  else break;
@@ -1835,16 +1572,12 @@
1835
1572
  }
1836
1573
  function hasSelectionCapabilities(elem) {
1837
1574
  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
1838
- return nodeName && ("input" === nodeName && ("text" === elem.type || "search" === elem.type || "tel" === elem.type || "url" === elem.type || "password" === elem.type) || "textarea" === nodeName || "true" === elem.contentEditable);
1575
+ return nodeName && (nodeName === "input" && (elem.type === "text" || elem.type === "search" || elem.type === "tel" || elem.type === "url" || elem.type === "password") || nodeName === "textarea" || elem.contentEditable === "true");
1839
1576
  }
1840
- var skipSelectionChangeEvent = canUseDOM2 && "documentMode" in document && 11 >= document.documentMode;
1841
- var activeElement = null;
1842
- var activeElementInst = null;
1843
- var lastSelection = null;
1844
- var mouseDown = false;
1577
+ var skipSelectionChangeEvent = canUseDOM2 && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = !1;
1845
1578
  function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {
1846
- var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument;
1847
- mouseDown || null == activeElement || activeElement !== getActiveElement2(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { start: doc.selectionStart, end: doc.selectionEnd } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = {
1579
+ var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : nativeEventTarget.nodeType === 9 ? nativeEventTarget : nativeEventTarget.ownerDocument;
1580
+ mouseDown || activeElement == null || activeElement !== getActiveElement2(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { start: doc.selectionStart, end: doc.selectionEnd } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = {
1848
1581
  anchorNode: doc.anchorNode,
1849
1582
  anchorOffset: doc.anchorOffset,
1850
1583
  focusNode: doc.focusNode,
@@ -1859,10 +1592,7 @@
1859
1592
  }
1860
1593
  function makePrefixMap(styleProp, eventName) {
1861
1594
  var prefixes = {};
1862
- prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
1863
- prefixes["Webkit" + styleProp] = "webkit" + eventName;
1864
- prefixes["Moz" + styleProp] = "moz" + eventName;
1865
- return prefixes;
1595
+ return prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(), prefixes["Webkit" + styleProp] = "webkit" + eventName, prefixes["Moz" + styleProp] = "moz" + eventName, prefixes;
1866
1596
  }
1867
1597
  var vendorPrefixes = {
1868
1598
  animationend: makePrefixMap("Animation", "AnimationEnd"),
@@ -1872,9 +1602,7 @@
1872
1602
  transitionstart: makePrefixMap("Transition", "TransitionStart"),
1873
1603
  transitioncancel: makePrefixMap("Transition", "TransitionCancel"),
1874
1604
  transitionend: makePrefixMap("Transition", "TransitionEnd")
1875
- };
1876
- var prefixedEventNames = {};
1877
- var style = {};
1605
+ }, prefixedEventNames = {}, style = {};
1878
1606
  canUseDOM2 && (style = document.createElement("div").style, "AnimationEvent" in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes.transitionend.transition);
1879
1607
  function getVendorPrefixedEventName(eventName) {
1880
1608
  if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];
@@ -1885,68 +1613,53 @@
1885
1613
  return prefixedEventNames[eventName] = prefixMap[styleProp];
1886
1614
  return eventName;
1887
1615
  }
1888
- var ANIMATION_END = getVendorPrefixedEventName("animationend");
1889
- var ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration");
1890
- var ANIMATION_START = getVendorPrefixedEventName("animationstart");
1891
- var TRANSITION_RUN = getVendorPrefixedEventName("transitionrun");
1892
- var TRANSITION_START = getVendorPrefixedEventName("transitionstart");
1893
- var TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel");
1894
- var TRANSITION_END = getVendorPrefixedEventName("transitionend");
1895
- var topLevelEventsToReactNames = /* @__PURE__ */ new Map();
1896
- var simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
1616
+ var ANIMATION_END = getVendorPrefixedEventName("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), ANIMATION_START = getVendorPrefixedEventName("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), TRANSITION_START = getVendorPrefixedEventName("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName("transitionend"), topLevelEventsToReactNames = /* @__PURE__ */ new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
1897
1617
  " "
1898
1618
  );
1899
1619
  simpleEventPluginEvents.push("scrollEnd");
1900
1620
  function registerSimpleEvent(domEventName, reactName) {
1901
- topLevelEventsToReactNames.set(domEventName, reactName);
1902
- registerTwoPhaseEvent(reactName, [domEventName]);
1621
+ topLevelEventsToReactNames.set(domEventName, reactName), registerTwoPhaseEvent(reactName, [domEventName]);
1903
1622
  }
1904
1623
  var globalClientIdCounter$1 = 0;
1905
1624
  function getViewTransitionName(props, instance) {
1906
- if (null != props.name && "auto" !== props.name) return props.name;
1907
- if (null !== instance.autoName) return instance.autoName;
1625
+ if (props.name != null && props.name !== "auto") return props.name;
1626
+ if (instance.autoName !== null) return instance.autoName;
1908
1627
  props = pendingEffectsRoot.identifierPrefix;
1909
1628
  var globalClientId = globalClientIdCounter$1++;
1910
- props = "_" + props + "t_" + globalClientId.toString(32) + "_";
1911
- return instance.autoName = props;
1629
+ return props = "_" + props + "t_" + globalClientId.toString(32) + "_", instance.autoName = props;
1912
1630
  }
1913
1631
  function getClassNameByType(classByType) {
1914
- if (null == classByType || "string" === typeof classByType)
1632
+ if (classByType == null || typeof classByType == "string")
1915
1633
  return classByType;
1916
1634
  var className = null, activeTypes = pendingTransitionTypes;
1917
- if (null !== activeTypes)
1635
+ if (activeTypes !== null)
1918
1636
  for (var i = 0; i < activeTypes.length; i++) {
1919
1637
  var match = classByType[activeTypes[i]];
1920
- if (null != match) {
1921
- if ("none" === match) return "none";
1922
- className = null == className ? match : className + (" " + match);
1638
+ if (match != null) {
1639
+ if (match === "none") return "none";
1640
+ className = className == null ? match : className + (" " + match);
1923
1641
  }
1924
1642
  }
1925
- return null == className ? classByType.default : className;
1643
+ return className ?? classByType.default;
1926
1644
  }
1927
1645
  function getViewTransitionClassName(defaultClass, eventClass) {
1928
- defaultClass = getClassNameByType(defaultClass);
1929
- eventClass = getClassNameByType(eventClass);
1930
- return null == eventClass ? "auto" === defaultClass ? null : defaultClass : "auto" === eventClass ? null : eventClass;
1646
+ return defaultClass = getClassNameByType(defaultClass), eventClass = getClassNameByType(eventClass), eventClass == null ? defaultClass === "auto" ? null : defaultClass : eventClass === "auto" ? null : eventClass;
1931
1647
  }
1932
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
1933
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
1648
+ var reportGlobalError = typeof reportError == "function" ? reportError : function(error) {
1649
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
1934
1650
  var event = new window.ErrorEvent("error", {
1935
- bubbles: true,
1936
- cancelable: true,
1937
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
1651
+ bubbles: !0,
1652
+ cancelable: !0,
1653
+ message: typeof error == "object" && error !== null && typeof error.message == "string" ? String(error.message) : String(error),
1938
1654
  error
1939
1655
  });
1940
1656
  if (!window.dispatchEvent(event)) return;
1941
- } else if ("object" === typeof process && "function" === typeof process.emit) {
1657
+ } else if (typeof process == "object" && typeof process.emit == "function") {
1942
1658
  process.emit("uncaughtException", error);
1943
1659
  return;
1944
1660
  }
1945
1661
  console.error(error);
1946
- };
1947
- var concurrentQueues = [];
1948
- var concurrentQueuesIndex = 0;
1949
- var concurrentlyUpdatedLanes = 0;
1662
+ }, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0;
1950
1663
  function finishQueueingConcurrentUpdates() {
1951
1664
  for (var endIndex = concurrentQueuesIndex, i = concurrentlyUpdatedLanes = concurrentQueuesIndex = 0; i < endIndex; ) {
1952
1665
  var fiber = concurrentQueues[i];
@@ -1956,112 +1669,73 @@
1956
1669
  var update = concurrentQueues[i];
1957
1670
  concurrentQueues[i++] = null;
1958
1671
  var lane = concurrentQueues[i];
1959
- concurrentQueues[i++] = null;
1960
- if (null !== queue && null !== update) {
1672
+ if (concurrentQueues[i++] = null, queue !== null && update !== null) {
1961
1673
  var pending = queue.pending;
1962
- null === pending ? update.next = update : (update.next = pending.next, pending.next = update);
1963
- queue.pending = update;
1674
+ pending === null ? update.next = update : (update.next = pending.next, pending.next = update), queue.pending = update;
1964
1675
  }
1965
- 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);
1676
+ lane !== 0 && markUpdateLaneFromFiberToRoot(fiber, update, lane);
1966
1677
  }
1967
1678
  }
1968
1679
  function enqueueUpdate$1(fiber, queue, update, lane) {
1969
- concurrentQueues[concurrentQueuesIndex++] = fiber;
1970
- concurrentQueues[concurrentQueuesIndex++] = queue;
1971
- concurrentQueues[concurrentQueuesIndex++] = update;
1972
- concurrentQueues[concurrentQueuesIndex++] = lane;
1973
- concurrentlyUpdatedLanes |= lane;
1974
- fiber.lanes |= lane;
1975
- fiber = fiber.alternate;
1976
- null !== fiber && (fiber.lanes |= lane);
1680
+ concurrentQueues[concurrentQueuesIndex++] = fiber, concurrentQueues[concurrentQueuesIndex++] = queue, concurrentQueues[concurrentQueuesIndex++] = update, concurrentQueues[concurrentQueuesIndex++] = lane, concurrentlyUpdatedLanes |= lane, fiber.lanes |= lane, fiber = fiber.alternate, fiber !== null && (fiber.lanes |= lane);
1977
1681
  }
1978
1682
  function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
1979
- enqueueUpdate$1(fiber, queue, update, lane);
1980
- return getRootForUpdatedFiber(fiber);
1683
+ return enqueueUpdate$1(fiber, queue, update, lane), getRootForUpdatedFiber(fiber);
1981
1684
  }
1982
1685
  function enqueueConcurrentRenderForLane(fiber, lane) {
1983
- enqueueUpdate$1(fiber, null, null, lane);
1984
- return getRootForUpdatedFiber(fiber);
1686
+ return enqueueUpdate$1(fiber, null, null, lane), getRootForUpdatedFiber(fiber);
1985
1687
  }
1986
1688
  function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
1987
1689
  sourceFiber.lanes |= lane;
1988
1690
  var alternate = sourceFiber.alternate;
1989
- null !== alternate && (alternate.lanes |= lane);
1990
- for (var isHidden2 = false, parent = sourceFiber.return; null !== parent; )
1991
- parent.childLanes |= lane, alternate = parent.alternate, null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && (sourceFiber = parent.stateNode, null === sourceFiber || sourceFiber._visibility & 1 || (isHidden2 = true)), sourceFiber = parent, parent = parent.return;
1992
- return 3 === sourceFiber.tag ? (parent = sourceFiber.stateNode, isHidden2 && null !== update && (isHidden2 = 31 - clz32(lane), sourceFiber = parent.hiddenUpdates, alternate = sourceFiber[isHidden2], null === alternate ? sourceFiber[isHidden2] = [update] : alternate.push(update), update.lane = lane | 536870912), parent) : null;
1691
+ alternate !== null && (alternate.lanes |= lane);
1692
+ for (var isHidden2 = !1, parent2 = sourceFiber.return; parent2 !== null; )
1693
+ parent2.childLanes |= lane, alternate = parent2.alternate, alternate !== null && (alternate.childLanes |= lane), parent2.tag === 22 && (sourceFiber = parent2.stateNode, sourceFiber === null || sourceFiber._visibility & 1 || (isHidden2 = !0)), sourceFiber = parent2, parent2 = parent2.return;
1694
+ return sourceFiber.tag === 3 ? (parent2 = sourceFiber.stateNode, isHidden2 && update !== null && (isHidden2 = 31 - clz32(lane), sourceFiber = parent2.hiddenUpdates, alternate = sourceFiber[isHidden2], alternate === null ? sourceFiber[isHidden2] = [update] : alternate.push(update), update.lane = lane | 536870912), parent2) : null;
1993
1695
  }
1994
1696
  function getRootForUpdatedFiber(sourceFiber) {
1995
1697
  if (50 < nestedUpdateCount)
1996
1698
  throw nestedUpdateCount = 0, rootWithNestedUpdates = null, Error(formatProdErrorMessage(185));
1997
- for (var parent = sourceFiber.return; null !== parent; )
1998
- sourceFiber = parent, parent = sourceFiber.return;
1999
- return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;
1699
+ for (var parent2 = sourceFiber.return; parent2 !== null; )
1700
+ sourceFiber = parent2, parent2 = sourceFiber.return;
1701
+ return sourceFiber.tag === 3 ? sourceFiber.stateNode : null;
2000
1702
  }
2001
1703
  var emptyContextObject = {};
2002
1704
  function FiberNode(tag, pendingProps, key, mode) {
2003
- this.tag = tag;
2004
- this.key = key;
2005
- this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
2006
- this.index = 0;
2007
- this.refCleanup = this.ref = null;
2008
- this.pendingProps = pendingProps;
2009
- this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
2010
- this.mode = mode;
2011
- this.subtreeFlags = this.flags = 0;
2012
- this.deletions = null;
2013
- this.childLanes = this.lanes = 0;
2014
- this.alternate = null;
1705
+ this.tag = tag, this.key = key, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = pendingProps, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = mode, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
2015
1706
  }
2016
1707
  function createFiberImplClass(tag, pendingProps, key, mode) {
2017
1708
  return new FiberNode(tag, pendingProps, key, mode);
2018
1709
  }
2019
1710
  function shouldConstruct(Component) {
2020
- Component = Component.prototype;
2021
- return !(!Component || !Component.isReactComponent);
1711
+ return Component = Component.prototype, !(!Component || !Component.isReactComponent);
2022
1712
  }
2023
1713
  function createWorkInProgress(current, pendingProps) {
2024
1714
  var workInProgress2 = current.alternate;
2025
- null === workInProgress2 ? (workInProgress2 = createFiberImplClass(
1715
+ return workInProgress2 === null ? (workInProgress2 = createFiberImplClass(
2026
1716
  current.tag,
2027
1717
  pendingProps,
2028
1718
  current.key,
2029
1719
  current.mode
2030
- ), workInProgress2.elementType = current.elementType, workInProgress2.type = current.type, workInProgress2.stateNode = current.stateNode, workInProgress2.alternate = current, current.alternate = workInProgress2) : (workInProgress2.pendingProps = pendingProps, workInProgress2.type = current.type, workInProgress2.flags = 0, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null);
2031
- workInProgress2.flags = current.flags & 1206910976;
2032
- workInProgress2.childLanes = current.childLanes;
2033
- workInProgress2.lanes = current.lanes;
2034
- workInProgress2.child = current.child;
2035
- workInProgress2.memoizedProps = current.memoizedProps;
2036
- workInProgress2.memoizedState = current.memoizedState;
2037
- workInProgress2.updateQueue = current.updateQueue;
2038
- pendingProps = current.dependencies;
2039
- workInProgress2.dependencies = null === pendingProps ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };
2040
- workInProgress2.sibling = current.sibling;
2041
- workInProgress2.index = current.index;
2042
- workInProgress2.ref = current.ref;
2043
- workInProgress2.refCleanup = current.refCleanup;
2044
- return workInProgress2;
1720
+ ), workInProgress2.elementType = current.elementType, workInProgress2.type = current.type, workInProgress2.stateNode = current.stateNode, workInProgress2.alternate = current, current.alternate = workInProgress2) : (workInProgress2.pendingProps = pendingProps, workInProgress2.type = current.type, workInProgress2.flags = 0, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null), workInProgress2.flags = current.flags & 1206910976, workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, pendingProps = current.dependencies, workInProgress2.dependencies = pendingProps === null ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext }, workInProgress2.sibling = current.sibling, workInProgress2.index = current.index, workInProgress2.ref = current.ref, workInProgress2.refCleanup = current.refCleanup, workInProgress2;
2045
1721
  }
2046
1722
  function resetWorkInProgress(workInProgress2, renderLanes2) {
2047
1723
  workInProgress2.flags &= 1206910978;
2048
1724
  var current = workInProgress2.alternate;
2049
- null === current ? (workInProgress2.childLanes = 0, workInProgress2.lanes = renderLanes2, workInProgress2.child = null, workInProgress2.subtreeFlags = 0, workInProgress2.memoizedProps = null, workInProgress2.memoizedState = null, workInProgress2.updateQueue = null, workInProgress2.dependencies = null, workInProgress2.stateNode = null) : (workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, workInProgress2.type = current.type, renderLanes2 = current.dependencies, workInProgress2.dependencies = null === renderLanes2 ? null : {
1725
+ return current === null ? (workInProgress2.childLanes = 0, workInProgress2.lanes = renderLanes2, workInProgress2.child = null, workInProgress2.subtreeFlags = 0, workInProgress2.memoizedProps = null, workInProgress2.memoizedState = null, workInProgress2.updateQueue = null, workInProgress2.dependencies = null, workInProgress2.stateNode = null) : (workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, workInProgress2.type = current.type, renderLanes2 = current.dependencies, workInProgress2.dependencies = renderLanes2 === null ? null : {
2050
1726
  lanes: renderLanes2.lanes,
2051
1727
  firstContext: renderLanes2.firstContext
2052
- });
2053
- return workInProgress2;
1728
+ }), workInProgress2;
2054
1729
  }
2055
1730
  function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
2056
1731
  var fiberTag = 0;
2057
- owner = type;
2058
- if ("function" === typeof owner) shouldConstruct(owner) && (fiberTag = 1);
2059
- else if ("string" === typeof owner)
1732
+ if (owner = type, typeof owner == "function") shouldConstruct(owner) && (fiberTag = 1);
1733
+ else if (typeof owner == "string")
2060
1734
  fiberTag = isHostHoistableType(
2061
1735
  type,
2062
1736
  pendingProps,
2063
1737
  contextStackCursor.current
2064
- ) ? 26 : "html" === type || "head" === type || "body" === type ? 27 : 5;
1738
+ ) ? 26 : type === "html" || type === "head" || type === "body" ? 27 : 5;
2065
1739
  else
2066
1740
  a: switch (owner) {
2067
1741
  case REACT_ACTIVITY_TYPE:
@@ -2069,8 +1743,7 @@
2069
1743
  case REACT_FRAGMENT_TYPE:
2070
1744
  return createFiberFromFragment(pendingProps.children, mode, lanes, key);
2071
1745
  case REACT_STRICT_MODE_TYPE:
2072
- fiberTag = 8;
2073
- mode |= 24;
1746
+ fiberTag = 8, mode |= 24;
2074
1747
  break;
2075
1748
  case REACT_PROFILER_TYPE:
2076
1749
  return type = createFiberImplClass(12, pendingProps, key, mode | 2), type.elementType = REACT_PROFILER_TYPE, type.lanes = lanes, type;
@@ -2087,7 +1760,7 @@
2087
1760
  ref: null
2088
1761
  }, type;
2089
1762
  default:
2090
- if ("object" === typeof owner && null !== owner)
1763
+ if (typeof owner == "object" && owner !== null)
2091
1764
  switch (owner.$$typeof) {
2092
1765
  case REACT_CONTEXT_TYPE:
2093
1766
  fiberTag = 10;
@@ -2102,64 +1775,46 @@
2102
1775
  fiberTag = 14;
2103
1776
  break a;
2104
1777
  case REACT_LAZY_TYPE2:
2105
- fiberTag = 16;
2106
- owner = null;
1778
+ fiberTag = 16, owner = null;
2107
1779
  break a;
2108
1780
  }
2109
- fiberTag = 29;
2110
- pendingProps = Error(
2111
- formatProdErrorMessage(130, null === type ? "null" : typeof type, "")
2112
- );
2113
- owner = null;
1781
+ fiberTag = 29, pendingProps = Error(
1782
+ formatProdErrorMessage(130, type === null ? "null" : typeof type, "")
1783
+ ), owner = null;
2114
1784
  }
2115
- key = createFiberImplClass(fiberTag, pendingProps, key, mode);
2116
- key.elementType = type;
2117
- key.type = owner;
2118
- key.lanes = lanes;
2119
- return key;
1785
+ return key = createFiberImplClass(fiberTag, pendingProps, key, mode), key.elementType = type, key.type = owner, key.lanes = lanes, key;
2120
1786
  }
2121
1787
  function createFiberFromFragment(elements, mode, lanes, key) {
2122
- elements = createFiberImplClass(7, elements, key, mode);
2123
- elements.lanes = lanes;
2124
- return elements;
1788
+ return elements = createFiberImplClass(7, elements, key, mode), elements.lanes = lanes, elements;
2125
1789
  }
2126
1790
  function createFiberFromText(content, mode, lanes) {
2127
- content = createFiberImplClass(6, content, null, mode);
2128
- content.lanes = lanes;
2129
- return content;
1791
+ return content = createFiberImplClass(6, content, null, mode), content.lanes = lanes, content;
2130
1792
  }
2131
1793
  function createFiberFromDehydratedFragment(dehydratedNode) {
2132
1794
  var fiber = createFiberImplClass(18, null, null, 0);
2133
- fiber.stateNode = dehydratedNode;
2134
- return fiber;
1795
+ return fiber.stateNode = dehydratedNode, fiber;
2135
1796
  }
2136
1797
  function createFiberFromPortal(portal, mode, lanes) {
2137
- mode = createFiberImplClass(
1798
+ return mode = createFiberImplClass(
2138
1799
  4,
2139
- null !== portal.children ? portal.children : [],
1800
+ portal.children !== null ? portal.children : [],
2140
1801
  portal.key,
2141
1802
  mode
2142
- );
2143
- mode.lanes = lanes;
2144
- mode.stateNode = {
1803
+ ), mode.lanes = lanes, mode.stateNode = {
2145
1804
  containerInfo: portal.containerInfo,
2146
1805
  pendingChildren: null,
2147
1806
  implementation: portal.implementation
2148
- };
2149
- return mode;
1807
+ }, mode;
2150
1808
  }
2151
1809
  var CapturedStacks = /* @__PURE__ */ new WeakMap();
2152
1810
  function createCapturedValueAtFiber(value, source) {
2153
- if ("object" === typeof value && null !== value) {
1811
+ if (typeof value == "object" && value !== null) {
2154
1812
  var existing = CapturedStacks.get(value);
2155
- if (void 0 !== existing) return existing;
2156
- source = {
1813
+ return existing !== void 0 ? existing : (source = {
2157
1814
  value,
2158
1815
  source,
2159
1816
  stack: getStackByFiberInDevAndProd(source)
2160
- };
2161
- CapturedStacks.set(value, source);
2162
- return source;
1817
+ }, CapturedStacks.set(value, source), source);
2163
1818
  }
2164
1819
  return {
2165
1820
  value,
@@ -2167,44 +1822,25 @@
2167
1822
  stack: getStackByFiberInDevAndProd(source)
2168
1823
  };
2169
1824
  }
2170
- var forkStack = [];
2171
- var forkStackIndex = 0;
2172
- var treeForkProvider = null;
2173
- var treeForkCount = 0;
2174
- var idStack = [];
2175
- var idStackIndex = 0;
2176
- var treeContextProvider = null;
2177
- var treeContextId = 1;
2178
- var treeContextOverflow = "";
1825
+ var forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "";
2179
1826
  function pushTreeFork(workInProgress2, totalChildren) {
2180
- forkStack[forkStackIndex++] = treeForkCount;
2181
- forkStack[forkStackIndex++] = treeForkProvider;
2182
- treeForkProvider = workInProgress2;
2183
- treeForkCount = totalChildren;
1827
+ forkStack[forkStackIndex++] = treeForkCount, forkStack[forkStackIndex++] = treeForkProvider, treeForkProvider = workInProgress2, treeForkCount = totalChildren;
2184
1828
  }
2185
1829
  function pushTreeId(workInProgress2, totalChildren, index3) {
2186
- idStack[idStackIndex++] = treeContextId;
2187
- idStack[idStackIndex++] = treeContextOverflow;
2188
- idStack[idStackIndex++] = treeContextProvider;
2189
- treeContextProvider = workInProgress2;
1830
+ idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextProvider = workInProgress2;
2190
1831
  var baseIdWithLeadingBit = treeContextId;
2191
1832
  workInProgress2 = treeContextOverflow;
2192
1833
  var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;
2193
- baseIdWithLeadingBit &= ~(1 << baseLength);
2194
- index3 += 1;
1834
+ baseIdWithLeadingBit &= ~(1 << baseLength), index3 += 1;
2195
1835
  var length = 32 - clz32(totalChildren) + baseLength;
2196
1836
  if (30 < length) {
2197
1837
  var numberOfOverflowBits = baseLength - baseLength % 5;
2198
- length = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32);
2199
- baseIdWithLeadingBit >>= numberOfOverflowBits;
2200
- baseLength -= numberOfOverflowBits;
2201
- treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index3 << baseLength | baseIdWithLeadingBit;
2202
- treeContextOverflow = length + workInProgress2;
1838
+ length = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32), baseIdWithLeadingBit >>= numberOfOverflowBits, baseLength -= numberOfOverflowBits, treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index3 << baseLength | baseIdWithLeadingBit, treeContextOverflow = length + workInProgress2;
2203
1839
  } else
2204
1840
  treeContextId = 1 << length | index3 << baseLength | baseIdWithLeadingBit, treeContextOverflow = workInProgress2;
2205
1841
  }
2206
1842
  function pushMaterializedTreeId(workInProgress2) {
2207
- null !== workInProgress2.return && (pushTreeFork(workInProgress2, 1), pushTreeId(workInProgress2, 1, 0));
1843
+ workInProgress2.return !== null && (pushTreeFork(workInProgress2, 1), pushTreeId(workInProgress2, 1, 0));
2208
1844
  }
2209
1845
  function popTreeContext(workInProgress2) {
2210
1846
  for (; workInProgress2 === treeForkProvider; )
@@ -2213,38 +1849,24 @@
2213
1849
  treeContextProvider = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextOverflow = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextId = idStack[--idStackIndex], idStack[idStackIndex] = null;
2214
1850
  }
2215
1851
  function restoreSuspendedTreeContext(workInProgress2, suspendedContext) {
2216
- idStack[idStackIndex++] = treeContextId;
2217
- idStack[idStackIndex++] = treeContextOverflow;
2218
- idStack[idStackIndex++] = treeContextProvider;
2219
- treeContextId = suspendedContext.id;
2220
- treeContextOverflow = suspendedContext.overflow;
2221
- treeContextProvider = workInProgress2;
2222
- }
2223
- var hydrationParentFiber = null;
2224
- var nextHydratableInstance = null;
2225
- var isHydrating = false;
2226
- var hydrationErrors = null;
2227
- var rootOrSingletonContext = false;
2228
- var HydrationMismatchException = Error(formatProdErrorMessage(519));
1852
+ idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextId = suspendedContext.id, treeContextOverflow = suspendedContext.overflow, treeContextProvider = workInProgress2;
1853
+ }
1854
+ var hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519));
2229
1855
  function throwOnHydrationMismatch(fiber) {
2230
1856
  var error = Error(
2231
1857
  formatProdErrorMessage(
2232
1858
  418,
2233
- 1 < arguments.length && void 0 !== arguments[1] && arguments[1] ? "text" : "HTML",
1859
+ 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
2234
1860
  ""
2235
1861
  )
2236
1862
  );
2237
- queueHydrationError(createCapturedValueAtFiber(error, fiber));
2238
- throw HydrationMismatchException;
1863
+ throw queueHydrationError(createCapturedValueAtFiber(error, fiber)), HydrationMismatchException;
2239
1864
  }
2240
1865
  function prepareToHydrateHostInstance(fiber) {
2241
1866
  var instance = fiber.stateNode, type = fiber.type, props = fiber.memoizedProps;
2242
- instance[internalInstanceKey] = fiber;
2243
- instance[internalPropsKey] = props;
2244
- switch (type) {
1867
+ switch (instance[internalInstanceKey] = fiber, instance[internalPropsKey] = props, type) {
2245
1868
  case "dialog":
2246
- listenToNonDelegatedEvent("cancel", instance);
2247
- listenToNonDelegatedEvent("close", instance);
1869
+ listenToNonDelegatedEvent("cancel", instance), listenToNonDelegatedEvent("close", instance);
2248
1870
  break;
2249
1871
  case "iframe":
2250
1872
  case "object":
@@ -2262,15 +1884,13 @@
2262
1884
  case "img":
2263
1885
  case "image":
2264
1886
  case "link":
2265
- listenToNonDelegatedEvent("error", instance);
2266
- listenToNonDelegatedEvent("load", instance);
1887
+ listenToNonDelegatedEvent("error", instance), listenToNonDelegatedEvent("load", instance);
2267
1888
  break;
2268
1889
  case "details":
2269
1890
  listenToNonDelegatedEvent("toggle", instance);
2270
1891
  break;
2271
1892
  case "input":
2272
- listenToNonDelegatedEvent("invalid", instance);
2273
- initInput(
1893
+ listenToNonDelegatedEvent("invalid", instance), initInput(
2274
1894
  instance,
2275
1895
  props.value,
2276
1896
  props.defaultValue,
@@ -2278,7 +1898,7 @@
2278
1898
  props.defaultChecked,
2279
1899
  props.type,
2280
1900
  props.name,
2281
- true
1901
+ !0
2282
1902
  );
2283
1903
  break;
2284
1904
  case "select":
@@ -2287,9 +1907,7 @@
2287
1907
  case "textarea":
2288
1908
  listenToNonDelegatedEvent("invalid", instance), initTextarea(instance, props.value, props.defaultValue, props.children);
2289
1909
  }
2290
- type = props.children;
2291
- "string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type || instance.textContent === "" + type || true === props.suppressHydrationWarning || checkForUnmatchedText(instance.textContent, type) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), null != props.onScroll && listenToNonDelegatedEvent("scroll", instance), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", instance), null != props.onClick && (instance.onclick = noop$1), instance = true) : instance = false;
2292
- instance || throwOnHydrationMismatch(fiber, true);
1910
+ type = props.children, typeof type != "string" && typeof type != "number" && typeof type != "bigint" || instance.textContent === "" + type || props.suppressHydrationWarning === !0 || checkForUnmatchedText(instance.textContent, type) ? (props.popover != null && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), props.onScroll != null && listenToNonDelegatedEvent("scroll", instance), props.onScrollEnd != null && listenToNonDelegatedEvent("scrollend", instance), props.onClick != null && (instance.onclick = noop$1), instance = !0) : instance = !1, instance || throwOnHydrationMismatch(fiber, !0);
2293
1911
  }
2294
1912
  function popToNextHostParent(fiber) {
2295
1913
  for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -2297,126 +1915,96 @@
2297
1915
  case 5:
2298
1916
  case 31:
2299
1917
  case 13:
2300
- rootOrSingletonContext = false;
1918
+ rootOrSingletonContext = !1;
2301
1919
  return;
2302
1920
  case 27:
2303
1921
  case 3:
2304
- rootOrSingletonContext = true;
1922
+ rootOrSingletonContext = !0;
2305
1923
  return;
2306
1924
  default:
2307
1925
  hydrationParentFiber = hydrationParentFiber.return;
2308
1926
  }
2309
1927
  }
2310
1928
  function popHydrationState(fiber) {
2311
- if (fiber !== hydrationParentFiber) return false;
2312
- if (!isHydrating) return popToNextHostParent(fiber), isHydrating = true, false;
1929
+ if (fiber !== hydrationParentFiber) return !1;
1930
+ if (!isHydrating) return popToNextHostParent(fiber), isHydrating = !0, !1;
2313
1931
  var tag = fiber.tag, JSCompiler_temp;
2314
- if (JSCompiler_temp = 3 !== tag && 27 !== tag) {
2315
- if (JSCompiler_temp = 5 === tag)
2316
- JSCompiler_temp = fiber.type, JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps);
2317
- JSCompiler_temp = !JSCompiler_temp;
2318
- }
2319
- JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);
2320
- popToNextHostParent(fiber);
2321
- if (13 === tag) {
2322
- fiber = fiber.memoizedState;
2323
- fiber = null !== fiber ? fiber.dehydrated : null;
2324
- if (!fiber) throw Error(formatProdErrorMessage(317));
1932
+ if ((JSCompiler_temp = tag !== 3 && tag !== 27) && ((JSCompiler_temp = tag === 5) && (JSCompiler_temp = fiber.type, JSCompiler_temp = !(JSCompiler_temp !== "form" && JSCompiler_temp !== "button") || shouldSetTextContent(fiber.type, fiber.memoizedProps)), JSCompiler_temp = !JSCompiler_temp), JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber), popToNextHostParent(fiber), tag === 13) {
1933
+ if (fiber = fiber.memoizedState, fiber = fiber !== null ? fiber.dehydrated : null, !fiber) throw Error(formatProdErrorMessage(317));
2325
1934
  nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber);
2326
- } else if (31 === tag) {
2327
- fiber = fiber.memoizedState;
2328
- fiber = null !== fiber ? fiber.dehydrated : null;
2329
- if (!fiber) throw Error(formatProdErrorMessage(317));
1935
+ } else if (tag === 31) {
1936
+ if (fiber = fiber.memoizedState, fiber = fiber !== null ? fiber.dehydrated : null, !fiber) throw Error(formatProdErrorMessage(317));
2330
1937
  nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber);
2331
1938
  } else
2332
- 27 === tag ? (tag = nextHydratableInstance, isSingletonScope(fiber.type) ? (fiber = previousHydratableOnEnteringScopedSingleton, previousHydratableOnEnteringScopedSingleton = null, nextHydratableInstance = fiber) : nextHydratableInstance = tag) : nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null;
2333
- return true;
1939
+ tag === 27 ? (tag = nextHydratableInstance, isSingletonScope(fiber.type) ? (fiber = previousHydratableOnEnteringScopedSingleton, previousHydratableOnEnteringScopedSingleton = null, nextHydratableInstance = fiber) : nextHydratableInstance = tag) : nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null;
1940
+ return !0;
2334
1941
  }
2335
1942
  function resetHydrationState() {
2336
- nextHydratableInstance = hydrationParentFiber = null;
2337
- isHydrating = false;
1943
+ nextHydratableInstance = hydrationParentFiber = null, isHydrating = !1;
2338
1944
  }
2339
1945
  function upgradeHydrationErrorsToRecoverable() {
2340
1946
  var queuedErrors = hydrationErrors;
2341
- null !== queuedErrors && (null === workInProgressRootRecoverableErrors ? workInProgressRootRecoverableErrors = queuedErrors : workInProgressRootRecoverableErrors.push.apply(
1947
+ return queuedErrors !== null && (workInProgressRootRecoverableErrors === null ? workInProgressRootRecoverableErrors = queuedErrors : workInProgressRootRecoverableErrors.push.apply(
2342
1948
  workInProgressRootRecoverableErrors,
2343
1949
  queuedErrors
2344
- ), hydrationErrors = null);
2345
- return queuedErrors;
1950
+ ), hydrationErrors = null), queuedErrors;
2346
1951
  }
2347
1952
  function queueHydrationError(error) {
2348
- null === hydrationErrors ? hydrationErrors = [error] : hydrationErrors.push(error);
1953
+ hydrationErrors === null ? hydrationErrors = [error] : hydrationErrors.push(error);
2349
1954
  }
2350
- var valueCursor = createCursor(null);
2351
- var currentlyRenderingFiber$1 = null;
2352
- var lastContextDependency = null;
1955
+ var valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null;
2353
1956
  function pushProvider(providerFiber, context, nextValue) {
2354
- push(valueCursor, context._currentValue);
2355
- context._currentValue = nextValue;
1957
+ push(valueCursor, context._currentValue), context._currentValue = nextValue;
2356
1958
  }
2357
1959
  function popProvider(context) {
2358
- context._currentValue = valueCursor.current;
2359
- pop(valueCursor);
1960
+ context._currentValue = valueCursor.current, pop(valueCursor);
2360
1961
  }
2361
- function scheduleContextWorkOnParentPath(parent, renderLanes2, propagationRoot) {
2362
- for (; null !== parent; ) {
2363
- var alternate = parent.alternate;
2364
- (parent.childLanes & renderLanes2) !== renderLanes2 ? (parent.childLanes |= renderLanes2, null !== alternate && (alternate.childLanes |= renderLanes2)) : null !== alternate && (alternate.childLanes & renderLanes2) !== renderLanes2 && (alternate.childLanes |= renderLanes2);
2365
- if (parent === propagationRoot) break;
2366
- parent = parent.return;
1962
+ function scheduleContextWorkOnParentPath(parent2, renderLanes2, propagationRoot) {
1963
+ for (; parent2 !== null; ) {
1964
+ var alternate = parent2.alternate;
1965
+ if ((parent2.childLanes & renderLanes2) !== renderLanes2 ? (parent2.childLanes |= renderLanes2, alternate !== null && (alternate.childLanes |= renderLanes2)) : alternate !== null && (alternate.childLanes & renderLanes2) !== renderLanes2 && (alternate.childLanes |= renderLanes2), parent2 === propagationRoot) break;
1966
+ parent2 = parent2.return;
2367
1967
  }
2368
1968
  }
2369
1969
  function propagateContextChanges(workInProgress2, contexts, renderLanes2, forcePropagateEntireTree) {
2370
1970
  var fiber = workInProgress2.child;
2371
- null !== fiber && (fiber.return = workInProgress2);
2372
- for (; null !== fiber; ) {
1971
+ for (fiber !== null && (fiber.return = workInProgress2); fiber !== null; ) {
2373
1972
  var list = fiber.dependencies;
2374
- if (null !== list) {
1973
+ if (list !== null) {
2375
1974
  var nextFiber = fiber.child;
2376
1975
  list = list.firstContext;
2377
- a: for (; null !== list; ) {
1976
+ a: for (; list !== null; ) {
2378
1977
  var dependency = list;
2379
1978
  list = fiber;
2380
1979
  for (var i = 0; i < contexts.length; i++)
2381
1980
  if (dependency.context === contexts[i]) {
2382
- list.lanes |= renderLanes2;
2383
- dependency = list.alternate;
2384
- null !== dependency && (dependency.lanes |= renderLanes2);
2385
- scheduleContextWorkOnParentPath(
1981
+ list.lanes |= renderLanes2, dependency = list.alternate, dependency !== null && (dependency.lanes |= renderLanes2), scheduleContextWorkOnParentPath(
2386
1982
  list.return,
2387
1983
  renderLanes2,
2388
1984
  workInProgress2
2389
- );
2390
- forcePropagateEntireTree || (nextFiber = null);
1985
+ ), forcePropagateEntireTree || (nextFiber = null);
2391
1986
  break a;
2392
1987
  }
2393
1988
  list = dependency.next;
2394
1989
  }
2395
- } else if (18 === fiber.tag) {
2396
- nextFiber = fiber.return;
2397
- if (null === nextFiber) throw Error(formatProdErrorMessage(341));
2398
- nextFiber.lanes |= renderLanes2;
2399
- list = nextFiber.alternate;
2400
- null !== list && (list.lanes |= renderLanes2);
2401
- scheduleContextWorkOnParentPath(nextFiber, renderLanes2, workInProgress2);
2402
- nextFiber = null;
1990
+ } else if (fiber.tag === 18) {
1991
+ if (nextFiber = fiber.return, nextFiber === null) throw Error(formatProdErrorMessage(341));
1992
+ nextFiber.lanes |= renderLanes2, list = nextFiber.alternate, list !== null && (list.lanes |= renderLanes2), scheduleContextWorkOnParentPath(nextFiber, renderLanes2, workInProgress2), nextFiber = null;
2403
1993
  } else
2404
- 13 === fiber.tag && null !== fiber.memoizedState && null === fiber.memoizedState.dehydrated ? (fiber.lanes |= renderLanes2, nextFiber = fiber.alternate, null !== nextFiber && (nextFiber.lanes |= renderLanes2), scheduleContextWorkOnParentPath(
1994
+ fiber.tag === 13 && fiber.memoizedState !== null && fiber.memoizedState.dehydrated === null ? (fiber.lanes |= renderLanes2, nextFiber = fiber.alternate, nextFiber !== null && (nextFiber.lanes |= renderLanes2), scheduleContextWorkOnParentPath(
2405
1995
  fiber.return,
2406
1996
  renderLanes2,
2407
1997
  workInProgress2
2408
- ), nextFiber = fiber.child, nextFiber = null !== nextFiber ? nextFiber.sibling : null) : nextFiber = fiber.child;
2409
- if (null !== nextFiber) nextFiber.return = fiber;
1998
+ ), nextFiber = fiber.child, nextFiber = nextFiber !== null ? nextFiber.sibling : null) : nextFiber = fiber.child;
1999
+ if (nextFiber !== null) nextFiber.return = fiber;
2410
2000
  else
2411
- for (nextFiber = fiber; null !== nextFiber; ) {
2001
+ for (nextFiber = fiber; nextFiber !== null; ) {
2412
2002
  if (nextFiber === workInProgress2) {
2413
2003
  nextFiber = null;
2414
2004
  break;
2415
2005
  }
2416
- fiber = nextFiber.sibling;
2417
- if (null !== fiber) {
2418
- fiber.return = nextFiber.return;
2419
- nextFiber = fiber;
2006
+ if (fiber = nextFiber.sibling, fiber !== null) {
2007
+ fiber.return = nextFiber.return, nextFiber = fiber;
2420
2008
  break;
2421
2009
  }
2422
2010
  nextFiber = nextFiber.return;
@@ -2426,87 +2014,72 @@
2426
2014
  }
2427
2015
  function propagateParentContextChanges(current, workInProgress2, renderLanes2, forcePropagateEntireTree) {
2428
2016
  current = null;
2429
- for (var parent = workInProgress2, isInsidePropagationBailout = false; null !== parent; ) {
2017
+ for (var parent2 = workInProgress2, isInsidePropagationBailout = !1; parent2 !== null; ) {
2430
2018
  if (!isInsidePropagationBailout) {
2431
- if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = true;
2432
- else if (0 !== (parent.flags & 262144)) break;
2019
+ if ((parent2.flags & 524288) !== 0) isInsidePropagationBailout = !0;
2020
+ else if ((parent2.flags & 262144) !== 0) break;
2433
2021
  }
2434
- if (10 === parent.tag) {
2435
- var currentParent = parent.alternate;
2436
- if (null === currentParent) throw Error(formatProdErrorMessage(387));
2437
- currentParent = currentParent.memoizedProps;
2438
- if (null !== currentParent) {
2439
- var context = parent.type;
2440
- objectIs(parent.pendingProps.value, currentParent.value) || (null !== current ? current.push(context) : current = [context]);
2022
+ if (parent2.tag === 10) {
2023
+ var currentParent = parent2.alternate;
2024
+ if (currentParent === null) throw Error(formatProdErrorMessage(387));
2025
+ if (currentParent = currentParent.memoizedProps, currentParent !== null) {
2026
+ var context = parent2.type;
2027
+ objectIs(parent2.pendingProps.value, currentParent.value) || (current !== null ? current.push(context) : current = [context]);
2441
2028
  }
2442
- } else if (parent === hostTransitionProviderCursor.current) {
2443
- currentParent = parent.alternate;
2444
- if (null === currentParent) throw Error(formatProdErrorMessage(387));
2445
- currentParent.memoizedState.memoizedState !== parent.memoizedState.memoizedState && (null !== current ? current.push(HostTransitionContext) : current = [HostTransitionContext]);
2029
+ } else if (parent2 === hostTransitionProviderCursor.current) {
2030
+ if (currentParent = parent2.alternate, currentParent === null) throw Error(formatProdErrorMessage(387));
2031
+ currentParent.memoizedState.memoizedState !== parent2.memoizedState.memoizedState && (current !== null ? current.push(HostTransitionContext) : current = [HostTransitionContext]);
2446
2032
  }
2447
- parent = parent.return;
2033
+ parent2 = parent2.return;
2448
2034
  }
2449
- null !== current && propagateContextChanges(
2035
+ return current !== null && propagateContextChanges(
2450
2036
  workInProgress2,
2451
2037
  current,
2452
2038
  renderLanes2,
2453
2039
  forcePropagateEntireTree
2454
- );
2455
- workInProgress2.flags |= 262144;
2456
- return null !== current;
2040
+ ), workInProgress2.flags |= 262144, current !== null;
2457
2041
  }
2458
2042
  function checkIfContextChanged(currentDependencies) {
2459
- for (currentDependencies = currentDependencies.firstContext; null !== currentDependencies; ) {
2043
+ for (currentDependencies = currentDependencies.firstContext; currentDependencies !== null; ) {
2460
2044
  if (!objectIs(
2461
2045
  currentDependencies.context._currentValue,
2462
2046
  currentDependencies.memoizedValue
2463
2047
  ))
2464
- return true;
2048
+ return !0;
2465
2049
  currentDependencies = currentDependencies.next;
2466
2050
  }
2467
- return false;
2051
+ return !1;
2468
2052
  }
2469
2053
  function prepareToReadContext(workInProgress2) {
2470
- currentlyRenderingFiber$1 = workInProgress2;
2471
- lastContextDependency = null;
2472
- workInProgress2 = workInProgress2.dependencies;
2473
- null !== workInProgress2 && (workInProgress2.firstContext = null);
2054
+ currentlyRenderingFiber$1 = workInProgress2, lastContextDependency = null, workInProgress2 = workInProgress2.dependencies, workInProgress2 !== null && (workInProgress2.firstContext = null);
2474
2055
  }
2475
2056
  function readContext(context) {
2476
2057
  return readContextForConsumer(currentlyRenderingFiber$1, context);
2477
2058
  }
2478
2059
  function readContextDuringReconciliation(consumer, context) {
2479
- null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);
2480
- return readContextForConsumer(consumer, context);
2060
+ return currentlyRenderingFiber$1 === null && prepareToReadContext(consumer), readContextForConsumer(consumer, context);
2481
2061
  }
2482
2062
  function readContextForConsumer(consumer, context) {
2483
2063
  var value = context._currentValue;
2484
- context = { context, memoizedValue: value, next: null };
2485
- if (null === lastContextDependency) {
2486
- if (null === consumer) throw Error(formatProdErrorMessage(308));
2487
- lastContextDependency = context;
2488
- consumer.dependencies = { lanes: 0, firstContext: context };
2489
- consumer.flags |= 524288;
2064
+ if (context = { context, memoizedValue: value, next: null }, lastContextDependency === null) {
2065
+ if (consumer === null) throw Error(formatProdErrorMessage(308));
2066
+ lastContextDependency = context, consumer.dependencies = { lanes: 0, firstContext: context }, consumer.flags |= 524288;
2490
2067
  } else lastContextDependency = lastContextDependency.next = context;
2491
2068
  return value;
2492
2069
  }
2493
- var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
2070
+ var AbortControllerLocal = typeof AbortController < "u" ? AbortController : function() {
2494
2071
  var listeners = [], signal = this.signal = {
2495
- aborted: false,
2072
+ aborted: !1,
2496
2073
  addEventListener: function(type, listener) {
2497
2074
  listeners.push(listener);
2498
2075
  }
2499
2076
  };
2500
2077
  this.abort = function() {
2501
- signal.aborted = true;
2502
- listeners.forEach(function(listener) {
2078
+ signal.aborted = !0, listeners.forEach(function(listener) {
2503
2079
  return listener();
2504
2080
  });
2505
2081
  };
2506
- };
2507
- var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
2508
- var NormalPriority = Scheduler.unstable_NormalPriority;
2509
- var CacheContext = {
2082
+ }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
2510
2083
  $$typeof: REACT_CONTEXT_TYPE,
2511
2084
  Consumer: null,
2512
2085
  Provider: null,
@@ -2522,37 +2095,29 @@
2522
2095
  };
2523
2096
  }
2524
2097
  function releaseCache(cache) {
2525
- cache.refCount--;
2526
- 0 === cache.refCount && scheduleCallback$2(NormalPriority, function() {
2098
+ cache.refCount--, cache.refCount === 0 && scheduleCallback$2(NormalPriority, function() {
2527
2099
  cache.controller.abort();
2528
2100
  });
2529
2101
  }
2530
2102
  function queueTransitionTypes(root2, transitionTypes) {
2531
- if (0 !== (root2.pendingLanes & 4194048)) {
2103
+ if ((root2.pendingLanes & 4194048) !== 0) {
2532
2104
  var queued = root2.transitionTypes;
2533
- null === queued && (queued = root2.transitionTypes = []);
2534
- for (root2 = 0; root2 < transitionTypes.length; root2++) {
2105
+ for (queued === null && (queued = root2.transitionTypes = []), root2 = 0; root2 < transitionTypes.length; root2++) {
2535
2106
  var transitionType = transitionTypes[root2];
2536
- -1 === queued.indexOf(transitionType) && queued.push(transitionType);
2107
+ queued.indexOf(transitionType) === -1 && queued.push(transitionType);
2537
2108
  }
2538
2109
  }
2539
2110
  }
2540
2111
  var entangledTransitionTypes = null;
2541
2112
  function claimQueuedTransitionTypes(root2) {
2542
2113
  var claimed = root2.transitionTypes;
2543
- root2.transitionTypes = null;
2544
- return claimed;
2114
+ return root2.transitionTypes = null, claimed;
2545
2115
  }
2546
- var currentEntangledListeners = null;
2547
- var currentEntangledPendingCount = 0;
2548
- var currentEntangledLane = 0;
2549
- var currentEntangledActionThenable = null;
2116
+ var currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null;
2550
2117
  function entangleAsyncAction(transition, thenable) {
2551
- if (null === currentEntangledListeners) {
2118
+ if (currentEntangledListeners === null) {
2552
2119
  var entangledListeners = currentEntangledListeners = [];
2553
- currentEntangledPendingCount = 0;
2554
- currentEntangledLane = requestTransitionLane();
2555
- currentEntangledActionThenable = {
2120
+ currentEntangledPendingCount = 0, currentEntangledLane = requestTransitionLane(), currentEntangledActionThenable = {
2556
2121
  status: "pending",
2557
2122
  value: void 0,
2558
2123
  then: function(resolve) {
@@ -2560,17 +2125,13 @@
2560
2125
  }
2561
2126
  };
2562
2127
  }
2563
- currentEntangledPendingCount++;
2564
- thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);
2565
- return thenable;
2128
+ return currentEntangledPendingCount++, thenable.then(pingEngtangledActionScope, pingEngtangledActionScope), thenable;
2566
2129
  }
2567
2130
  function pingEngtangledActionScope() {
2568
- if (0 === --currentEntangledPendingCount && (entangledTransitionTypes = null, null !== currentEntangledListeners)) {
2569
- null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled");
2131
+ if (--currentEntangledPendingCount === 0 && (entangledTransitionTypes = null, currentEntangledListeners !== null)) {
2132
+ currentEntangledActionThenable !== null && (currentEntangledActionThenable.status = "fulfilled");
2570
2133
  var listeners = currentEntangledListeners;
2571
- currentEntangledListeners = null;
2572
- currentEntangledLane = 0;
2573
- currentEntangledActionThenable = null;
2134
+ currentEntangledListeners = null, currentEntangledLane = 0, currentEntangledActionThenable = null;
2574
2135
  for (var i = 0; i < listeners.length; i++) (0, listeners[i])();
2575
2136
  }
2576
2137
  }
@@ -2583,97 +2144,74 @@
2583
2144
  listeners.push(resolve);
2584
2145
  }
2585
2146
  };
2586
- thenable.then(
2147
+ return thenable.then(
2587
2148
  function() {
2588
- thenableWithOverride.status = "fulfilled";
2589
- thenableWithOverride.value = result;
2149
+ thenableWithOverride.status = "fulfilled", thenableWithOverride.value = result;
2590
2150
  for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);
2591
2151
  },
2592
2152
  function(error) {
2593
- thenableWithOverride.status = "rejected";
2594
- thenableWithOverride.reason = error;
2595
- for (error = 0; error < listeners.length; error++)
2153
+ for (thenableWithOverride.status = "rejected", thenableWithOverride.reason = error, error = 0; error < listeners.length; error++)
2596
2154
  (0, listeners[error])(void 0);
2597
2155
  }
2598
- );
2599
- return thenableWithOverride;
2156
+ ), thenableWithOverride;
2600
2157
  }
2601
2158
  var prevOnStartTransitionFinish = ReactSharedInternals.S;
2602
2159
  ReactSharedInternals.S = function(transition, returnValue) {
2603
- globalMostRecentTransitionTime = now();
2604
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue);
2605
- if (null !== entangledTransitionTypes)
2606
- for (var root$28 = firstScheduledRoot; null !== root$28; )
2160
+ if (globalMostRecentTransitionTime = now(), typeof returnValue == "object" && returnValue !== null && typeof returnValue.then == "function" && entangleAsyncAction(transition, returnValue), entangledTransitionTypes !== null)
2161
+ for (var root$28 = firstScheduledRoot; root$28 !== null; )
2607
2162
  queueTransitionTypes(root$28, entangledTransitionTypes), root$28 = root$28.next;
2608
- root$28 = transition.types;
2609
- if (null !== root$28) {
2610
- for (var root$29 = firstScheduledRoot; null !== root$29; )
2163
+ if (root$28 = transition.types, root$28 !== null) {
2164
+ for (var root$29 = firstScheduledRoot; root$29 !== null; )
2611
2165
  queueTransitionTypes(root$29, root$28), root$29 = root$29.next;
2612
- if (0 !== currentEntangledLane) {
2613
- root$29 = entangledTransitionTypes;
2614
- null === root$29 && (root$29 = entangledTransitionTypes = []);
2166
+ if (currentEntangledLane !== 0) {
2167
+ root$29 = entangledTransitionTypes, root$29 === null && (root$29 = entangledTransitionTypes = []);
2615
2168
  for (var i = 0; i < root$28.length; i++) {
2616
2169
  var transitionType = root$28[i];
2617
- -1 === root$29.indexOf(transitionType) && root$29.push(transitionType);
2170
+ root$29.indexOf(transitionType) === -1 && root$29.push(transitionType);
2618
2171
  }
2619
2172
  }
2620
2173
  }
2621
- null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
2174
+ prevOnStartTransitionFinish !== null && prevOnStartTransitionFinish(transition, returnValue);
2622
2175
  };
2623
2176
  var resumedCache = createCursor(null);
2624
2177
  function peekCacheFromPool() {
2625
2178
  var cacheResumedFromPreviousRender = resumedCache.current;
2626
- return null !== cacheResumedFromPreviousRender ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache;
2179
+ return cacheResumedFromPreviousRender !== null ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache;
2627
2180
  }
2628
2181
  function pushTransition(offscreenWorkInProgress, prevCachePool) {
2629
- null === prevCachePool ? push(resumedCache, resumedCache.current) : push(resumedCache, prevCachePool.pool);
2182
+ prevCachePool === null ? push(resumedCache, resumedCache.current) : push(resumedCache, prevCachePool.pool);
2630
2183
  }
2631
2184
  function getSuspendedCache() {
2632
2185
  var cacheFromPool = peekCacheFromPool();
2633
- return null === cacheFromPool ? null : { parent: CacheContext._currentValue, pool: cacheFromPool };
2186
+ return cacheFromPool === null ? null : { parent: CacheContext._currentValue, pool: cacheFromPool };
2634
2187
  }
2635
- var SuspenseException = Error(formatProdErrorMessage(460));
2636
- var SuspenseyCommitException = Error(formatProdErrorMessage(474));
2637
- var SuspenseActionException = Error(formatProdErrorMessage(542));
2638
- var noopSuspenseyCommitThenable = { then: function() {
2188
+ var SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function() {
2639
2189
  } };
2640
2190
  function isThenableResolved(thenable) {
2641
- thenable = thenable.status;
2642
- return "fulfilled" === thenable || "rejected" === thenable;
2191
+ return thenable = thenable.status, thenable === "fulfilled" || thenable === "rejected";
2643
2192
  }
2644
2193
  function trackUsedThenable(thenableState2, thenable, index3) {
2645
- index3 = thenableState2[index3];
2646
- void 0 === index3 ? thenableState2.push(thenable) : index3 !== thenable && (thenable.then(noop$1, noop$1), thenable = index3);
2647
- switch (thenable.status) {
2194
+ switch (index3 = thenableState2[index3], index3 === void 0 ? thenableState2.push(thenable) : index3 !== thenable && (thenable.then(noop$1, noop$1), thenable = index3), thenable.status) {
2648
2195
  case "fulfilled":
2649
2196
  return thenable.value;
2650
2197
  case "rejected":
2651
- thenableState2 = thenable.reason;
2652
- checkIfUseWrappedInAsyncCatch(thenableState2);
2653
- if (void 0 === thenableState2 && !("reason" in thenable))
2654
- throw Error(formatProdErrorMessage(600));
2655
- throw thenableState2;
2198
+ throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2 === void 0 && !("reason" in thenable) ? Error(formatProdErrorMessage(600)) : thenableState2;
2656
2199
  default:
2657
- if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
2200
+ if (typeof thenable.status == "string") thenable.then(noop$1, noop$1);
2658
2201
  else {
2659
- thenableState2 = workInProgressRoot;
2660
- if (null !== thenableState2 && 100 < thenableState2.shellSuspendCounter)
2202
+ if (thenableState2 = workInProgressRoot, thenableState2 !== null && 100 < thenableState2.shellSuspendCounter)
2661
2203
  throw Error(formatProdErrorMessage(482));
2662
- thenableState2 = thenable;
2663
- thenableState2.status = "pending";
2664
- thenableState2.then(
2204
+ thenableState2 = thenable, thenableState2.status = "pending", thenableState2.then(
2665
2205
  function(fulfilledValue) {
2666
- if ("pending" === thenable.status) {
2206
+ if (thenable.status === "pending") {
2667
2207
  var fulfilledThenable = thenable;
2668
- fulfilledThenable.status = "fulfilled";
2669
- fulfilledThenable.value = fulfilledValue;
2208
+ fulfilledThenable.status = "fulfilled", fulfilledThenable.value = fulfilledValue;
2670
2209
  }
2671
2210
  },
2672
2211
  function(error) {
2673
- if ("pending" === thenable.status) {
2212
+ if (thenable.status === "pending") {
2674
2213
  var rejectedThenable = thenable;
2675
- rejectedThenable.status = "rejected";
2676
- rejectedThenable.reason = error;
2214
+ rejectedThenable.status = "rejected", rejectedThenable.reason = error;
2677
2215
  }
2678
2216
  }
2679
2217
  );
@@ -2684,8 +2222,7 @@
2684
2222
  case "rejected":
2685
2223
  throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2;
2686
2224
  }
2687
- suspendedThenable = thenable;
2688
- throw SuspenseException;
2225
+ throw suspendedThenable = thenable, SuspenseException;
2689
2226
  }
2690
2227
  }
2691
2228
  function resolveLazy(lazyType) {
@@ -2693,42 +2230,32 @@
2693
2230
  var init = lazyType._init;
2694
2231
  return init(lazyType._payload);
2695
2232
  } catch (x) {
2696
- if (null !== x && "object" === typeof x && "function" === typeof x.then)
2697
- throw suspendedThenable = x, SuspenseException;
2698
- throw x;
2233
+ throw x !== null && typeof x == "object" && typeof x.then == "function" ? (suspendedThenable = x, SuspenseException) : x;
2699
2234
  }
2700
2235
  }
2701
2236
  var suspendedThenable = null;
2702
2237
  function getSuspendedThenable() {
2703
- if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
2238
+ if (suspendedThenable === null) throw Error(formatProdErrorMessage(459));
2704
2239
  var thenable = suspendedThenable;
2705
- suspendedThenable = null;
2706
- return thenable;
2240
+ return suspendedThenable = null, thenable;
2707
2241
  }
2708
2242
  function checkIfUseWrappedInAsyncCatch(rejectedReason) {
2709
2243
  if (rejectedReason === SuspenseException || rejectedReason === SuspenseActionException)
2710
2244
  throw Error(formatProdErrorMessage(483));
2711
2245
  }
2712
- var thenableState$1 = null;
2713
- var thenableIndexCounter$1 = 0;
2246
+ var thenableState$1 = null, thenableIndexCounter$1 = 0;
2714
2247
  function unwrapThenable(thenable) {
2715
2248
  var index3 = thenableIndexCounter$1;
2716
- thenableIndexCounter$1 += 1;
2717
- null === thenableState$1 && (thenableState$1 = []);
2718
- return trackUsedThenable(thenableState$1, thenable, index3);
2249
+ return thenableIndexCounter$1 += 1, thenableState$1 === null && (thenableState$1 = []), trackUsedThenable(thenableState$1, thenable, index3);
2719
2250
  }
2720
2251
  function coerceRef(workInProgress2, element) {
2721
- element = element.props.ref;
2722
- workInProgress2.ref = void 0 !== element ? element : null;
2252
+ element = element.props.ref, workInProgress2.ref = element !== void 0 ? element : null;
2723
2253
  }
2724
2254
  function throwOnInvalidObjectTypeImpl(returnFiber, newChild) {
2725
- if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)
2726
- throw Error(formatProdErrorMessage(525));
2727
- returnFiber = Object.prototype.toString.call(newChild);
2728
- throw Error(
2255
+ throw newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE ? Error(formatProdErrorMessage(525)) : (returnFiber = Object.prototype.toString.call(newChild), Error(
2729
2256
  formatProdErrorMessage(
2730
2257
  31,
2731
- "[object Object]" === returnFiber ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber
2258
+ returnFiber === "[object Object]" ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber
2732
2259
  )
2733
- );
2260
+ ));
2734
2261
  }