gsd-pi 2.78.1-dev.0fdacd524 → 2.78.1-dev.2ff77b0ce

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 (1318) hide show
  1. package/README.md +15 -7
  2. package/dist/cli-auto-routing.d.ts +1 -0
  3. package/dist/cli-auto-routing.js +5 -0
  4. package/dist/cli.js +5 -14
  5. package/dist/loader.js +15 -3
  6. package/dist/resource-loader.js +26 -17
  7. package/dist/resources/.managed-resources-content-hash +1 -1
  8. package/dist/resources/GSD-WORKFLOW.md +29 -42
  9. package/dist/resources/extensions/async-jobs/job-manager.js +4 -0
  10. package/dist/resources/extensions/bg-shell/bg-shell-lifecycle.js +3 -2
  11. package/dist/resources/extensions/bg-shell/utilities.js +2 -1
  12. package/dist/resources/extensions/browser-tools/tools/intent.js +8 -1
  13. package/dist/resources/extensions/claude-code-cli/stream-adapter.js +22 -8
  14. package/dist/resources/extensions/github-sync/cli.js +3 -0
  15. package/dist/resources/extensions/github-sync/sync.js +86 -58
  16. package/dist/resources/extensions/gsd/auto/phases.js +80 -21
  17. package/dist/resources/extensions/gsd/auto/session.js +3 -0
  18. package/dist/resources/extensions/gsd/auto-artifact-paths.js +49 -31
  19. package/dist/resources/extensions/gsd/auto-dashboard.js +13 -2
  20. package/dist/resources/extensions/gsd/auto-direct-dispatch.js +2 -0
  21. package/dist/resources/extensions/gsd/auto-dispatch.js +235 -88
  22. package/dist/resources/extensions/gsd/auto-post-unit.js +101 -45
  23. package/dist/resources/extensions/gsd/auto-prompts.js +76 -6
  24. package/dist/resources/extensions/gsd/auto-recovery.js +69 -15
  25. package/dist/resources/extensions/gsd/auto-start.js +54 -64
  26. package/dist/resources/extensions/gsd/auto-timeout-recovery.js +18 -0
  27. package/dist/resources/extensions/gsd/auto-timers.js +24 -4
  28. package/dist/resources/extensions/gsd/auto-worktree.js +134 -173
  29. package/dist/resources/extensions/gsd/auto.js +50 -17
  30. package/dist/resources/extensions/gsd/bootstrap/agent-end-recovery.js +20 -2
  31. package/dist/resources/extensions/gsd/bootstrap/db-tools.js +40 -7
  32. package/dist/resources/extensions/gsd/bootstrap/dynamic-tools.js +9 -77
  33. package/dist/resources/extensions/gsd/bootstrap/register-hooks.js +79 -8
  34. package/dist/resources/extensions/gsd/bootstrap/system-context.js +3 -4
  35. package/dist/resources/extensions/gsd/bootstrap/write-gate.js +82 -15
  36. package/dist/resources/extensions/gsd/branch-patterns.js +3 -3
  37. package/dist/resources/extensions/gsd/commands/catalog.js +7 -6
  38. package/dist/resources/extensions/gsd/commands/context.js +41 -5
  39. package/dist/resources/extensions/gsd/commands/dispatcher.js +11 -5
  40. package/dist/resources/extensions/gsd/commands/handlers/auto.js +2 -1
  41. package/dist/resources/extensions/gsd/commands/handlers/core.js +2 -0
  42. package/dist/resources/extensions/gsd/commands/handlers/ops.js +5 -0
  43. package/dist/resources/extensions/gsd/commands/handlers/workflow.js +24 -2
  44. package/dist/resources/extensions/gsd/commands-bootstrap.js +6 -0
  45. package/dist/resources/extensions/gsd/commands-codebase.js +2 -1
  46. package/dist/resources/extensions/gsd/commands-config.js +3 -3
  47. package/dist/resources/extensions/gsd/commands-debug.js +22 -1
  48. package/dist/resources/extensions/gsd/commands-eval-review.js +534 -0
  49. package/dist/resources/extensions/gsd/commands-extensions.js +4 -4
  50. package/dist/resources/extensions/gsd/commands-handlers.js +8 -8
  51. package/dist/resources/extensions/gsd/commands-logs.js +2 -1
  52. package/dist/resources/extensions/gsd/commands-mcp-status.js +2 -2
  53. package/dist/resources/extensions/gsd/commands-scan.js +2 -1
  54. package/dist/resources/extensions/gsd/commands-ship.js +67 -1
  55. package/dist/resources/extensions/gsd/commands-workflow-templates.js +5 -4
  56. package/dist/resources/extensions/gsd/context-budget.js +11 -3
  57. package/dist/resources/extensions/gsd/db-writer.js +61 -83
  58. package/dist/resources/extensions/gsd/deep-project-setup-policy.js +212 -0
  59. package/dist/resources/extensions/gsd/detection.js +7 -7
  60. package/dist/resources/extensions/gsd/dispatch-guard.js +6 -10
  61. package/dist/resources/extensions/gsd/docs/preferences-reference.md +6 -4
  62. package/dist/resources/extensions/gsd/doctor-engine-checks.js +2 -2
  63. package/dist/resources/extensions/gsd/doctor-providers.js +2 -2
  64. package/dist/resources/extensions/gsd/doctor-runtime-checks.js +54 -0
  65. package/dist/resources/extensions/gsd/eval-review-schema.js +208 -0
  66. package/dist/resources/extensions/gsd/forensics.js +10 -4
  67. package/dist/resources/extensions/gsd/git-service.js +74 -4
  68. package/dist/resources/extensions/gsd/gsd-db.js +77 -10
  69. package/dist/resources/extensions/gsd/gsd-home.js +29 -0
  70. package/dist/resources/extensions/gsd/guided-flow.js +274 -97
  71. package/dist/resources/extensions/gsd/init-wizard.js +16 -23
  72. package/dist/resources/extensions/gsd/interrupted-session.js +37 -2
  73. package/dist/resources/extensions/gsd/key-manager.js +2 -2
  74. package/dist/resources/extensions/gsd/markdown-renderer.js +59 -66
  75. package/dist/resources/extensions/gsd/migrate/command.js +3 -3
  76. package/dist/resources/extensions/gsd/milestone-scope-classifier.js +10 -8
  77. package/dist/resources/extensions/gsd/native-git-bridge.js +19 -42
  78. package/dist/resources/extensions/gsd/onboarding-state.js +2 -2
  79. package/dist/resources/extensions/gsd/parallel-merge.js +14 -13
  80. package/dist/resources/extensions/gsd/parallel-monitor-overlay.js +5 -2
  81. package/dist/resources/extensions/gsd/paths.js +72 -1
  82. package/dist/resources/extensions/gsd/planning-depth.js +114 -0
  83. package/dist/resources/extensions/gsd/preferences-models.js +18 -1
  84. package/dist/resources/extensions/gsd/preferences-skills.js +2 -1
  85. package/dist/resources/extensions/gsd/preferences-types.js +4 -0
  86. package/dist/resources/extensions/gsd/preferences-validation.js +9 -0
  87. package/dist/resources/extensions/gsd/preferences.js +20 -4
  88. package/dist/resources/extensions/gsd/project-research-policy.js +182 -0
  89. package/dist/resources/extensions/gsd/prompt-loader.js +2 -3
  90. package/dist/resources/extensions/gsd/prompts/complete-slice.md +1 -1
  91. package/dist/resources/extensions/gsd/prompts/guided-discuss-project.md +133 -0
  92. package/dist/resources/extensions/gsd/prompts/guided-discuss-requirements.md +122 -0
  93. package/dist/resources/extensions/gsd/prompts/guided-research-decision.md +70 -0
  94. package/dist/resources/extensions/gsd/prompts/guided-research-project.md +120 -0
  95. package/dist/resources/extensions/gsd/prompts/guided-workflow-preferences.md +68 -0
  96. package/dist/resources/extensions/gsd/prompts/plan-milestone.md +8 -2
  97. package/dist/resources/extensions/gsd/prompts/plan-slice.md +9 -7
  98. package/dist/resources/extensions/gsd/prompts/refine-slice.md +1 -1
  99. package/dist/resources/extensions/gsd/prompts/system.md +4 -4
  100. package/dist/resources/extensions/gsd/queue-order.js +6 -1
  101. package/dist/resources/extensions/gsd/repo-identity.js +20 -9
  102. package/dist/resources/extensions/gsd/rethink.js +2 -1
  103. package/dist/resources/extensions/gsd/safety/git-checkpoint.js +8 -1
  104. package/dist/resources/extensions/gsd/schemas/__fixtures__/valid-project.md +26 -0
  105. package/dist/resources/extensions/gsd/schemas/__fixtures__/valid-requirements.md +57 -0
  106. package/dist/resources/extensions/gsd/schemas/__fixtures__/valid-roadmap.md +19 -0
  107. package/dist/resources/extensions/gsd/schemas/parsers.js +276 -0
  108. package/dist/resources/extensions/gsd/schemas/validate.js +364 -0
  109. package/dist/resources/extensions/gsd/skill-telemetry.js +3 -2
  110. package/dist/resources/extensions/gsd/slice-cadence.js +56 -7
  111. package/dist/resources/extensions/gsd/state.js +91 -372
  112. package/dist/resources/extensions/gsd/token-counter.js +1 -0
  113. package/dist/resources/extensions/gsd/tools/complete-milestone.js +6 -5
  114. package/dist/resources/extensions/gsd/tools/complete-slice.js +7 -12
  115. package/dist/resources/extensions/gsd/tools/complete-task.js +19 -31
  116. package/dist/resources/extensions/gsd/tools/plan-slice.js +6 -5
  117. package/dist/resources/extensions/gsd/tools/validate-milestone.js +7 -5
  118. package/dist/resources/extensions/gsd/tools/workflow-tool-executors.js +74 -11
  119. package/dist/resources/extensions/gsd/unit-context-manifest.js +96 -1
  120. package/dist/resources/extensions/gsd/unit-runtime.js +88 -24
  121. package/dist/resources/extensions/gsd/uok/plan-v2.js +14 -1
  122. package/dist/resources/extensions/gsd/user-input-boundary.js +157 -0
  123. package/dist/resources/extensions/gsd/watch/header-renderer.js +2 -1
  124. package/dist/resources/extensions/gsd/workflow-install.js +2 -3
  125. package/dist/resources/extensions/gsd/workflow-manifest.js +2 -1
  126. package/dist/resources/extensions/gsd/workflow-mcp-auto-prep.js +3 -21
  127. package/dist/resources/extensions/gsd/workflow-mcp.js +39 -3
  128. package/dist/resources/extensions/gsd/workflow-migration.js +4 -3
  129. package/dist/resources/extensions/gsd/workflow-plugins.js +3 -5
  130. package/dist/resources/extensions/gsd/workflow-reconcile.js +3 -3
  131. package/dist/resources/extensions/gsd/workflow-templates.js +2 -3
  132. package/dist/resources/extensions/gsd/worktree-command.js +4 -3
  133. package/dist/resources/extensions/gsd/worktree-manager.js +6 -6
  134. package/dist/resources/extensions/gsd/worktree-resolver.js +30 -6
  135. package/dist/resources/extensions/gsd/worktree-root.js +48 -9
  136. package/dist/resources/extensions/mcp-client/index.js +2 -2
  137. package/dist/resources/extensions/remote-questions/remote-command.js +2 -1
  138. package/dist/resources/extensions/remote-questions/status.js +2 -5
  139. package/dist/resources/extensions/remote-questions/store.js +2 -5
  140. package/dist/resources/extensions/search-the-web/provider.js +9 -8
  141. package/dist/resources/extensions/shared/next-action-ui.js +7 -0
  142. package/dist/resources/extensions/subagent/index.js +22 -17
  143. package/dist/resources/extensions/subagent/isolation.js +2 -2
  144. package/dist/resources/extensions/ttsr/rule-loader.js +2 -3
  145. package/dist/resources/extensions/voice/index.js +3 -2
  146. package/dist/resources/extensions/voice/linux-ready.js +2 -2
  147. package/dist/resources/skills/verify-before-complete/SKILL.md +1 -1
  148. package/dist/tool-bootstrap.js +7 -0
  149. package/dist/tsconfig.extensions.tsbuildinfo +1 -1
  150. package/dist/web/standalone/.next/BUILD_ID +1 -1
  151. package/dist/web/standalone/.next/app-path-routes-manifest.json +13 -13
  152. package/dist/web/standalone/.next/build-manifest.json +4 -4
  153. package/dist/web/standalone/.next/prerender-manifest.json +3 -3
  154. package/dist/web/standalone/.next/react-loadable-manifest.json +7 -7
  155. package/dist/web/standalone/.next/server/app/_global-error/page.js +3 -3
  156. package/dist/web/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  157. package/dist/web/standalone/.next/server/app/_global-error.html +1 -1
  158. package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
  159. package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  160. package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  161. package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  162. package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  163. package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  164. package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  165. package/dist/web/standalone/.next/server/app/_not-found/page.js +2 -2
  166. package/dist/web/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  167. package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
  168. package/dist/web/standalone/.next/server/app/_not-found.rsc +2 -2
  169. package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  170. package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  171. package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  172. package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  173. package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  174. package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  175. package/dist/web/standalone/.next/server/app/api/boot/route.js +1 -1
  176. package/dist/web/standalone/.next/server/app/api/boot/route.js.nft.json +1 -1
  177. package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js +1 -1
  178. package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js.nft.json +1 -1
  179. package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js +1 -1
  180. package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js.nft.json +1 -1
  181. package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js +2 -2
  182. package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js.nft.json +1 -1
  183. package/dist/web/standalone/.next/server/app/api/browse-directories/route.js +1 -1
  184. package/dist/web/standalone/.next/server/app/api/captures/route.js +1 -1
  185. package/dist/web/standalone/.next/server/app/api/captures/route.js.nft.json +1 -1
  186. package/dist/web/standalone/.next/server/app/api/cleanup/route.js +1 -1
  187. package/dist/web/standalone/.next/server/app/api/cleanup/route.js.nft.json +1 -1
  188. package/dist/web/standalone/.next/server/app/api/dev-mode/route.js +1 -1
  189. package/dist/web/standalone/.next/server/app/api/doctor/route.js +1 -1
  190. package/dist/web/standalone/.next/server/app/api/doctor/route.js.nft.json +1 -1
  191. package/dist/web/standalone/.next/server/app/api/experimental/route.js +2 -2
  192. package/dist/web/standalone/.next/server/app/api/export-data/route.js +1 -1
  193. package/dist/web/standalone/.next/server/app/api/export-data/route.js.nft.json +1 -1
  194. package/dist/web/standalone/.next/server/app/api/files/route.js +1 -1
  195. package/dist/web/standalone/.next/server/app/api/files/route.js.nft.json +1 -1
  196. package/dist/web/standalone/.next/server/app/api/forensics/route.js +1 -1
  197. package/dist/web/standalone/.next/server/app/api/forensics/route.js.nft.json +1 -1
  198. package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
  199. package/dist/web/standalone/.next/server/app/api/git/route.js.nft.json +1 -1
  200. package/dist/web/standalone/.next/server/app/api/history/route.js +1 -1
  201. package/dist/web/standalone/.next/server/app/api/history/route.js.nft.json +1 -1
  202. package/dist/web/standalone/.next/server/app/api/hooks/route.js +1 -1
  203. package/dist/web/standalone/.next/server/app/api/hooks/route.js.nft.json +1 -1
  204. package/dist/web/standalone/.next/server/app/api/inspect/route.js +1 -1
  205. package/dist/web/standalone/.next/server/app/api/inspect/route.js.nft.json +1 -1
  206. package/dist/web/standalone/.next/server/app/api/knowledge/route.js +1 -1
  207. package/dist/web/standalone/.next/server/app/api/knowledge/route.js.nft.json +1 -1
  208. package/dist/web/standalone/.next/server/app/api/live-state/route.js +1 -1
  209. package/dist/web/standalone/.next/server/app/api/live-state/route.js.nft.json +1 -1
  210. package/dist/web/standalone/.next/server/app/api/notifications/route.js +2 -2
  211. package/dist/web/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
  212. package/dist/web/standalone/.next/server/app/api/onboarding/route.js +1 -1
  213. package/dist/web/standalone/.next/server/app/api/onboarding/route.js.nft.json +1 -1
  214. package/dist/web/standalone/.next/server/app/api/preferences/route.js +1 -1
  215. package/dist/web/standalone/.next/server/app/api/projects/route.js +1 -1
  216. package/dist/web/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
  217. package/dist/web/standalone/.next/server/app/api/recovery/route.js +1 -1
  218. package/dist/web/standalone/.next/server/app/api/recovery/route.js.nft.json +1 -1
  219. package/dist/web/standalone/.next/server/app/api/remote-questions/route.js +2 -2
  220. package/dist/web/standalone/.next/server/app/api/session/browser/route.js +1 -1
  221. package/dist/web/standalone/.next/server/app/api/session/browser/route.js.nft.json +1 -1
  222. package/dist/web/standalone/.next/server/app/api/session/command/route.js +1 -1
  223. package/dist/web/standalone/.next/server/app/api/session/command/route.js.nft.json +1 -1
  224. package/dist/web/standalone/.next/server/app/api/session/events/route.js +2 -2
  225. package/dist/web/standalone/.next/server/app/api/session/events/route.js.nft.json +1 -1
  226. package/dist/web/standalone/.next/server/app/api/session/manage/route.js +1 -1
  227. package/dist/web/standalone/.next/server/app/api/session/manage/route.js.nft.json +1 -1
  228. package/dist/web/standalone/.next/server/app/api/settings-data/route.js +1 -1
  229. package/dist/web/standalone/.next/server/app/api/settings-data/route.js.nft.json +1 -1
  230. package/dist/web/standalone/.next/server/app/api/shutdown/route.js +1 -1
  231. package/dist/web/standalone/.next/server/app/api/skill-health/route.js +1 -1
  232. package/dist/web/standalone/.next/server/app/api/skill-health/route.js.nft.json +1 -1
  233. package/dist/web/standalone/.next/server/app/api/steer/route.js +1 -1
  234. package/dist/web/standalone/.next/server/app/api/steer/route.js.nft.json +1 -1
  235. package/dist/web/standalone/.next/server/app/api/switch-root/route.js +1 -1
  236. package/dist/web/standalone/.next/server/app/api/switch-root/route.js.nft.json +1 -1
  237. package/dist/web/standalone/.next/server/app/api/terminal/input/route.js +2 -2
  238. package/dist/web/standalone/.next/server/app/api/terminal/resize/route.js +2 -2
  239. package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js +2 -2
  240. package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js.nft.json +1 -1
  241. package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js +3 -3
  242. package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
  243. package/dist/web/standalone/.next/server/app/api/terminal/upload/route.js +1 -1
  244. package/dist/web/standalone/.next/server/app/api/undo/route.js +1 -1
  245. package/dist/web/standalone/.next/server/app/api/undo/route.js.nft.json +1 -1
  246. package/dist/web/standalone/.next/server/app/api/update/route.js +1 -1
  247. package/dist/web/standalone/.next/server/app/api/visualizer/route.js +1 -1
  248. package/dist/web/standalone/.next/server/app/api/visualizer/route.js.nft.json +1 -1
  249. package/dist/web/standalone/.next/server/app/index.html +1 -1
  250. package/dist/web/standalone/.next/server/app/index.rsc +3 -3
  251. package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  252. package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +3 -3
  253. package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  254. package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
  255. package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  256. package/dist/web/standalone/.next/server/app/page.js +2 -2
  257. package/dist/web/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  258. package/dist/web/standalone/.next/server/app-paths-manifest.json +13 -13
  259. package/dist/web/standalone/.next/server/chunks/2331.js +16 -16
  260. package/dist/web/standalone/.next/server/chunks/4741.js +12 -12
  261. package/dist/web/standalone/.next/server/chunks/5822.js +2 -2
  262. package/dist/web/standalone/.next/server/chunks/63.js +8 -8
  263. package/dist/web/standalone/.next/server/chunks/6336.js +1 -0
  264. package/dist/web/standalone/.next/server/chunks/6897.js +3 -3
  265. package/dist/web/standalone/.next/server/functions-config-manifest.json +9 -0
  266. package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
  267. package/dist/web/standalone/.next/server/middleware-manifest.json +2 -29
  268. package/dist/web/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  269. package/dist/web/standalone/.next/server/middleware.js +12 -4
  270. package/dist/web/standalone/.next/server/pages/404.html +1 -1
  271. package/dist/web/standalone/.next/server/pages/500.html +1 -1
  272. package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
  273. package/dist/web/standalone/.next/server/webpack-runtime.js +1 -1
  274. package/dist/web/standalone/.next/static/chunks/{9058.01ef3a463bda88f1.js → 2059.d6f49d697b624f2b.js} +2 -2
  275. package/dist/web/standalone/.next/static/chunks/2824.461404167557f2cd.js +1 -0
  276. package/dist/web/standalone/.next/static/chunks/363642f4.c6481b47ee815ba0.js +1 -0
  277. package/dist/web/standalone/.next/static/chunks/{3794-42fdce068d44fa4f.js → 3794-3fb4e6ee851037bb.js} +1 -1
  278. package/dist/web/standalone/.next/static/chunks/{4447.5bad7871be61ca73.js → 4447.fe6f304888d5ac71.js} +2 -2
  279. package/dist/web/standalone/.next/static/chunks/5326.def6842b53fecd26.js +1 -0
  280. package/dist/web/standalone/.next/static/chunks/{8336.31b019697882acfb.js → 8336.6f6f30e410419aff.js} +1 -1
  281. package/dist/web/standalone/.next/static/chunks/app/{page-9bf2e0c50fb2ca05.js → page-fab3ebb85b006001.js} +1 -1
  282. package/dist/web/standalone/.next/static/chunks/{framework-711ef29bc66f648c.js → framework-34a8c4228d7fd161.js} +1 -1
  283. package/dist/web/standalone/.next/static/chunks/{main-6919d9dd919bd15f.js → main-2b7d1294417bb6bc.js} +1 -1
  284. package/dist/web/standalone/.next/static/chunks/webpack-d82dbee6356c1733.js +1 -0
  285. package/dist/web/standalone/.next/static/css/{632cd626b1731d88.css → 54ec2745c1da488b.css} +1 -1
  286. package/dist/web/standalone/node_modules/@next/env/package.json +1 -1
  287. package/dist/web/standalone/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  288. package/dist/web/standalone/node_modules/baseline-browser-mapping/package.json +3 -3
  289. package/dist/web/standalone/node_modules/caniuse-lite/data/agents.js +1 -1
  290. package/dist/web/standalone/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  291. package/dist/web/standalone/node_modules/caniuse-lite/data/features/aac.js +1 -1
  292. package/dist/web/standalone/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  293. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  294. package/dist/web/standalone/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  295. package/dist/web/standalone/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  296. package/dist/web/standalone/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  297. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  298. package/dist/web/standalone/node_modules/caniuse-lite/data/features/apng.js +1 -1
  299. package/dist/web/standalone/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  300. package/dist/web/standalone/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  301. package/dist/web/standalone/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  302. package/dist/web/standalone/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  303. package/dist/web/standalone/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  304. package/dist/web/standalone/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  305. package/dist/web/standalone/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  306. package/dist/web/standalone/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  307. package/dist/web/standalone/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  308. package/dist/web/standalone/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  309. package/dist/web/standalone/node_modules/caniuse-lite/data/features/audio.js +1 -1
  310. package/dist/web/standalone/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  311. package/dist/web/standalone/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  312. package/dist/web/standalone/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  313. package/dist/web/standalone/node_modules/caniuse-lite/data/features/av1.js +1 -1
  314. package/dist/web/standalone/node_modules/caniuse-lite/data/features/avif.js +1 -1
  315. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  316. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  317. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  318. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  319. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  320. package/dist/web/standalone/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  321. package/dist/web/standalone/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  322. package/dist/web/standalone/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  323. package/dist/web/standalone/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  324. package/dist/web/standalone/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  325. package/dist/web/standalone/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  326. package/dist/web/standalone/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  327. package/dist/web/standalone/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  328. package/dist/web/standalone/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  329. package/dist/web/standalone/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  330. package/dist/web/standalone/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  331. package/dist/web/standalone/node_modules/caniuse-lite/data/features/calc.js +1 -1
  332. package/dist/web/standalone/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  333. package/dist/web/standalone/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  334. package/dist/web/standalone/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  335. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  336. package/dist/web/standalone/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  337. package/dist/web/standalone/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  338. package/dist/web/standalone/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  339. package/dist/web/standalone/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  340. package/dist/web/standalone/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  341. package/dist/web/standalone/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  342. package/dist/web/standalone/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  343. package/dist/web/standalone/node_modules/caniuse-lite/data/features/colr.js +1 -1
  344. package/dist/web/standalone/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  345. package/dist/web/standalone/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  346. package/dist/web/standalone/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  347. package/dist/web/standalone/node_modules/caniuse-lite/data/features/const.js +1 -1
  348. package/dist/web/standalone/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  349. package/dist/web/standalone/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  350. package/dist/web/standalone/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  351. package/dist/web/standalone/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  352. package/dist/web/standalone/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  353. package/dist/web/standalone/node_modules/caniuse-lite/data/features/cors.js +1 -1
  354. package/dist/web/standalone/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  355. package/dist/web/standalone/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  356. package/dist/web/standalone/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  357. package/dist/web/standalone/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  358. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  359. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  360. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  361. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  362. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  363. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  364. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  365. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  366. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  367. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  368. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  369. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  370. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  371. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  372. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  373. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  374. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  375. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  376. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  377. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  378. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  379. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  380. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  381. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  382. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  383. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  384. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  385. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  386. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  387. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  388. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  389. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  390. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  391. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  392. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  393. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  394. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  395. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  396. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  397. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  398. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  399. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  400. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  401. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  402. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  403. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  404. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  405. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  406. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  407. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  408. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  409. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  410. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  411. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  412. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  413. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  414. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  415. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  416. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  417. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  418. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  419. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  420. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  421. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  422. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  423. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  424. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  425. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  426. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  427. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  428. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  429. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  430. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  431. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  432. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  433. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  434. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  435. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  436. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  437. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  438. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  439. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  440. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  441. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  442. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  443. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  444. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  445. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  446. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  447. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  448. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  449. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  450. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  451. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  452. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  453. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  454. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  455. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  456. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  457. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  458. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  459. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  460. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  461. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  462. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  463. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  464. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  465. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  466. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  467. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  468. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  469. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  470. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  471. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  472. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  473. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  474. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  475. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  476. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  477. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  478. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  479. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  480. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  481. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  482. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  483. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  484. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  485. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  486. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  487. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  488. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  489. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  490. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  491. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  492. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  493. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  494. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  495. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  496. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  497. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  498. package/dist/web/standalone/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  499. package/dist/web/standalone/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  500. package/dist/web/standalone/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  501. package/dist/web/standalone/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  502. package/dist/web/standalone/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  503. package/dist/web/standalone/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  504. package/dist/web/standalone/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  505. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  506. package/dist/web/standalone/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  507. package/dist/web/standalone/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  508. package/dist/web/standalone/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  509. package/dist/web/standalone/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  510. package/dist/web/standalone/node_modules/caniuse-lite/data/features/details.js +1 -1
  511. package/dist/web/standalone/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  512. package/dist/web/standalone/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  513. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  514. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  515. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  516. package/dist/web/standalone/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  517. package/dist/web/standalone/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  518. package/dist/web/standalone/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  519. package/dist/web/standalone/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  520. package/dist/web/standalone/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  521. package/dist/web/standalone/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  522. package/dist/web/standalone/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  523. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  524. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  525. package/dist/web/standalone/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  526. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  527. package/dist/web/standalone/node_modules/caniuse-lite/data/features/download.js +1 -1
  528. package/dist/web/standalone/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  529. package/dist/web/standalone/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  530. package/dist/web/standalone/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  531. package/dist/web/standalone/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  532. package/dist/web/standalone/node_modules/caniuse-lite/data/features/eme.js +1 -1
  533. package/dist/web/standalone/node_modules/caniuse-lite/data/features/eot.js +1 -1
  534. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es5.js +1 -1
  535. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  536. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  537. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  538. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  539. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  540. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  541. package/dist/web/standalone/node_modules/caniuse-lite/data/features/es6.js +1 -1
  542. package/dist/web/standalone/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  543. package/dist/web/standalone/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  544. package/dist/web/standalone/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  545. package/dist/web/standalone/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  546. package/dist/web/standalone/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  547. package/dist/web/standalone/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  548. package/dist/web/standalone/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  549. package/dist/web/standalone/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  550. package/dist/web/standalone/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  551. package/dist/web/standalone/node_modules/caniuse-lite/data/features/flac.js +1 -1
  552. package/dist/web/standalone/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  553. package/dist/web/standalone/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  554. package/dist/web/standalone/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  555. package/dist/web/standalone/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  556. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  557. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  558. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  559. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  560. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  561. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  562. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  563. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  564. package/dist/web/standalone/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  565. package/dist/web/standalone/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  566. package/dist/web/standalone/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  567. package/dist/web/standalone/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  568. package/dist/web/standalone/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  569. package/dist/web/standalone/node_modules/caniuse-lite/data/features/forms.js +1 -1
  570. package/dist/web/standalone/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  571. package/dist/web/standalone/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  572. package/dist/web/standalone/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  573. package/dist/web/standalone/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  574. package/dist/web/standalone/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  575. package/dist/web/standalone/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  576. package/dist/web/standalone/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  577. package/dist/web/standalone/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  578. package/dist/web/standalone/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  579. package/dist/web/standalone/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  580. package/dist/web/standalone/node_modules/caniuse-lite/data/features/heif.js +1 -1
  581. package/dist/web/standalone/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  582. package/dist/web/standalone/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  583. package/dist/web/standalone/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  584. package/dist/web/standalone/node_modules/caniuse-lite/data/features/history.js +1 -1
  585. package/dist/web/standalone/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  586. package/dist/web/standalone/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  587. package/dist/web/standalone/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  588. package/dist/web/standalone/node_modules/caniuse-lite/data/features/http2.js +1 -1
  589. package/dist/web/standalone/node_modules/caniuse-lite/data/features/http3.js +1 -1
  590. package/dist/web/standalone/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  591. package/dist/web/standalone/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  592. package/dist/web/standalone/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  593. package/dist/web/standalone/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  594. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ime.js +1 -1
  595. package/dist/web/standalone/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  596. package/dist/web/standalone/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  597. package/dist/web/standalone/node_modules/caniuse-lite/data/features/imports.js +1 -1
  598. package/dist/web/standalone/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  599. package/dist/web/standalone/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  600. package/dist/web/standalone/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  601. package/dist/web/standalone/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  602. package/dist/web/standalone/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  603. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  604. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  605. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  606. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  607. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  608. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  609. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  610. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  611. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  612. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  613. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  614. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  615. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  616. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  617. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  618. package/dist/web/standalone/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  619. package/dist/web/standalone/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  620. package/dist/web/standalone/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  621. package/dist/web/standalone/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  622. package/dist/web/standalone/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  623. package/dist/web/standalone/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  624. package/dist/web/standalone/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  625. package/dist/web/standalone/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  626. package/dist/web/standalone/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  627. package/dist/web/standalone/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  628. package/dist/web/standalone/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  629. package/dist/web/standalone/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  630. package/dist/web/standalone/node_modules/caniuse-lite/data/features/json.js +1 -1
  631. package/dist/web/standalone/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  632. package/dist/web/standalone/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  633. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  634. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  635. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  636. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  637. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  638. package/dist/web/standalone/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  639. package/dist/web/standalone/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  640. package/dist/web/standalone/node_modules/caniuse-lite/data/features/let.js +1 -1
  641. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  642. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  643. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  644. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  645. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  646. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  647. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  648. package/dist/web/standalone/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  649. package/dist/web/standalone/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  650. package/dist/web/standalone/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  651. package/dist/web/standalone/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  652. package/dist/web/standalone/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  653. package/dist/web/standalone/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  654. package/dist/web/standalone/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  655. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  656. package/dist/web/standalone/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  657. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  658. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  659. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  660. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  661. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  662. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  663. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  664. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  665. package/dist/web/standalone/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  666. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  667. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  668. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  669. package/dist/web/standalone/node_modules/caniuse-lite/data/features/menu.js +1 -1
  670. package/dist/web/standalone/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  671. package/dist/web/standalone/node_modules/caniuse-lite/data/features/meter.js +1 -1
  672. package/dist/web/standalone/node_modules/caniuse-lite/data/features/midi.js +1 -1
  673. package/dist/web/standalone/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  674. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  675. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  676. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  677. package/dist/web/standalone/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  678. package/dist/web/standalone/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  679. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  680. package/dist/web/standalone/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  681. package/dist/web/standalone/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  682. package/dist/web/standalone/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  683. package/dist/web/standalone/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  684. package/dist/web/standalone/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  685. package/dist/web/standalone/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  686. package/dist/web/standalone/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  687. package/dist/web/standalone/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  688. package/dist/web/standalone/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  689. package/dist/web/standalone/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  690. package/dist/web/standalone/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  691. package/dist/web/standalone/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  692. package/dist/web/standalone/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  693. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  694. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  695. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  696. package/dist/web/standalone/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  697. package/dist/web/standalone/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  698. package/dist/web/standalone/node_modules/caniuse-lite/data/features/opus.js +1 -1
  699. package/dist/web/standalone/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  700. package/dist/web/standalone/node_modules/caniuse-lite/data/features/outline.js +1 -1
  701. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  702. package/dist/web/standalone/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  703. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  704. package/dist/web/standalone/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  705. package/dist/web/standalone/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  706. package/dist/web/standalone/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  707. package/dist/web/standalone/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  708. package/dist/web/standalone/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  709. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  710. package/dist/web/standalone/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  711. package/dist/web/standalone/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  712. package/dist/web/standalone/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  713. package/dist/web/standalone/node_modules/caniuse-lite/data/features/picture.js +1 -1
  714. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ping.js +1 -1
  715. package/dist/web/standalone/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  716. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  717. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  718. package/dist/web/standalone/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  719. package/dist/web/standalone/node_modules/caniuse-lite/data/features/portals.js +1 -1
  720. package/dist/web/standalone/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  721. package/dist/web/standalone/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  722. package/dist/web/standalone/node_modules/caniuse-lite/data/features/progress.js +1 -1
  723. package/dist/web/standalone/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  724. package/dist/web/standalone/node_modules/caniuse-lite/data/features/promises.js +1 -1
  725. package/dist/web/standalone/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  726. package/dist/web/standalone/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  727. package/dist/web/standalone/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  728. package/dist/web/standalone/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  729. package/dist/web/standalone/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  730. package/dist/web/standalone/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  731. package/dist/web/standalone/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  732. package/dist/web/standalone/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  733. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  734. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  735. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  736. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rem.js +1 -1
  737. package/dist/web/standalone/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  738. package/dist/web/standalone/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  739. package/dist/web/standalone/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  740. package/dist/web/standalone/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  741. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  742. package/dist/web/standalone/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  743. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  744. package/dist/web/standalone/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  745. package/dist/web/standalone/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  746. package/dist/web/standalone/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  747. package/dist/web/standalone/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  748. package/dist/web/standalone/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  749. package/dist/web/standalone/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  750. package/dist/web/standalone/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  751. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  752. package/dist/web/standalone/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  753. package/dist/web/standalone/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  754. package/dist/web/standalone/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  755. package/dist/web/standalone/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  756. package/dist/web/standalone/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  757. package/dist/web/standalone/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  758. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  759. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  760. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sni.js +1 -1
  761. package/dist/web/standalone/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  762. package/dist/web/standalone/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  763. package/dist/web/standalone/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  764. package/dist/web/standalone/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  765. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  766. package/dist/web/standalone/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  767. package/dist/web/standalone/node_modules/caniuse-lite/data/features/stream.js +1 -1
  768. package/dist/web/standalone/node_modules/caniuse-lite/data/features/streams.js +1 -1
  769. package/dist/web/standalone/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  770. package/dist/web/standalone/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  771. package/dist/web/standalone/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  772. package/dist/web/standalone/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  773. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  774. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  775. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  776. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  777. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  778. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  779. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  780. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  781. package/dist/web/standalone/node_modules/caniuse-lite/data/features/svg.js +1 -1
  782. package/dist/web/standalone/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  783. package/dist/web/standalone/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  784. package/dist/web/standalone/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  785. package/dist/web/standalone/node_modules/caniuse-lite/data/features/template.js +1 -1
  786. package/dist/web/standalone/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  787. package/dist/web/standalone/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  788. package/dist/web/standalone/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  789. package/dist/web/standalone/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  790. package/dist/web/standalone/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  791. package/dist/web/standalone/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  792. package/dist/web/standalone/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  793. package/dist/web/standalone/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  794. package/dist/web/standalone/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  795. package/dist/web/standalone/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  796. package/dist/web/standalone/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  797. package/dist/web/standalone/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  798. package/dist/web/standalone/node_modules/caniuse-lite/data/features/touch.js +1 -1
  799. package/dist/web/standalone/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  800. package/dist/web/standalone/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  801. package/dist/web/standalone/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  802. package/dist/web/standalone/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  803. package/dist/web/standalone/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  804. package/dist/web/standalone/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  805. package/dist/web/standalone/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  806. package/dist/web/standalone/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  807. package/dist/web/standalone/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  808. package/dist/web/standalone/node_modules/caniuse-lite/data/features/url.js +1 -1
  809. package/dist/web/standalone/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  810. package/dist/web/standalone/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  811. package/dist/web/standalone/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  812. package/dist/web/standalone/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  813. package/dist/web/standalone/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  814. package/dist/web/standalone/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  815. package/dist/web/standalone/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  816. package/dist/web/standalone/node_modules/caniuse-lite/data/features/video.js +1 -1
  817. package/dist/web/standalone/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  818. package/dist/web/standalone/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  819. package/dist/web/standalone/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  820. package/dist/web/standalone/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  821. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  822. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  823. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  824. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  825. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  826. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  827. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  828. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  829. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  830. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  831. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  832. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  833. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  834. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  835. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  836. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  837. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  838. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wav.js +1 -1
  839. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  840. package/dist/web/standalone/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  841. package/dist/web/standalone/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  842. package/dist/web/standalone/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  843. package/dist/web/standalone/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  844. package/dist/web/standalone/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  845. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  846. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  847. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  848. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  849. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  850. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  851. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  852. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webm.js +1 -1
  853. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  854. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webp.js +1 -1
  855. package/dist/web/standalone/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  856. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  857. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  858. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  859. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  860. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  861. package/dist/web/standalone/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  862. package/dist/web/standalone/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  863. package/dist/web/standalone/node_modules/caniuse-lite/data/features/woff.js +1 -1
  864. package/dist/web/standalone/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  865. package/dist/web/standalone/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  866. package/dist/web/standalone/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  867. package/dist/web/standalone/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  868. package/dist/web/standalone/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  869. package/dist/web/standalone/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  870. package/dist/web/standalone/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  871. package/dist/web/standalone/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  872. package/dist/web/standalone/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  873. package/dist/web/standalone/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  874. package/dist/web/standalone/node_modules/caniuse-lite/package.json +7 -7
  875. package/dist/web/standalone/node_modules/next/dist/build/swc/index.js +1 -1
  876. package/dist/web/standalone/node_modules/next/dist/build/webpack-config.js +3 -3
  877. package/dist/web/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +7 -7
  878. package/dist/web/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +6 -6
  879. package/dist/web/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  880. package/dist/web/standalone/node_modules/next/dist/server/config-schema.js +10 -2
  881. package/dist/web/standalone/node_modules/next/dist/server/config.js +1 -1
  882. package/dist/web/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  883. package/dist/web/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  884. package/dist/web/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  885. package/dist/web/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
  886. package/dist/web/standalone/node_modules/next/dist/server/render.js +27 -20
  887. package/dist/web/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  888. package/dist/web/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  889. package/dist/web/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  890. package/dist/web/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  891. package/dist/web/standalone/node_modules/next/package.json +15 -15
  892. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/container.js +26 -18
  893. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/css-syntax-error.js +47 -14
  894. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/input.js +54 -29
  895. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/lazy-result.js +47 -37
  896. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/map-generator.js +26 -9
  897. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/no-work-result.js +57 -55
  898. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/node.js +99 -31
  899. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/parser.js +10 -9
  900. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/previous-map.js +30 -11
  901. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/processor.js +7 -7
  902. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/result.js +5 -5
  903. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/stringifier.js +69 -28
  904. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/tokenize.js +6 -2
  905. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/package.json +48 -48
  906. package/dist/web/standalone/node_modules/react/cjs/react.development.js +1 -1
  907. package/dist/web/standalone/node_modules/react/cjs/react.production.js +1 -1
  908. package/dist/web/standalone/node_modules/react/package.json +1 -1
  909. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +1 -1
  910. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +1 -1
  911. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom-server.browser.production.js +3 -3
  912. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom-server.edge.production.js +3 -3
  913. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom-server.node.production.js +3 -3
  914. package/dist/web/standalone/node_modules/react-dom/cjs/react-dom.production.js +1 -1
  915. package/dist/web/standalone/node_modules/react-dom/package.json +2 -2
  916. package/dist/web/standalone/package.json +12 -7
  917. package/dist/worktree-cli.d.ts +5 -4
  918. package/dist/worktree-cli.js +17 -17
  919. package/package.json +2 -2
  920. package/packages/mcp-server/README.md +11 -0
  921. package/packages/mcp-server/dist/env-writer.d.ts +5 -1
  922. package/packages/mcp-server/dist/env-writer.d.ts.map +1 -1
  923. package/packages/mcp-server/dist/env-writer.js +41 -8
  924. package/packages/mcp-server/dist/env-writer.js.map +1 -1
  925. package/packages/mcp-server/dist/readers/graph.d.ts.map +1 -1
  926. package/packages/mcp-server/dist/readers/graph.js +7 -6
  927. package/packages/mcp-server/dist/readers/graph.js.map +1 -1
  928. package/packages/mcp-server/dist/readers/paths.d.ts +2 -0
  929. package/packages/mcp-server/dist/readers/paths.d.ts.map +1 -1
  930. package/packages/mcp-server/dist/readers/paths.js +163 -59
  931. package/packages/mcp-server/dist/readers/paths.js.map +1 -1
  932. package/packages/mcp-server/dist/remote-questions.d.ts.map +1 -1
  933. package/packages/mcp-server/dist/remote-questions.js +19 -2
  934. package/packages/mcp-server/dist/remote-questions.js.map +1 -1
  935. package/packages/mcp-server/dist/server.d.ts +11 -1
  936. package/packages/mcp-server/dist/server.d.ts.map +1 -1
  937. package/packages/mcp-server/dist/server.js +138 -52
  938. package/packages/mcp-server/dist/server.js.map +1 -1
  939. package/packages/mcp-server/dist/session-manager.d.ts +6 -1
  940. package/packages/mcp-server/dist/session-manager.d.ts.map +1 -1
  941. package/packages/mcp-server/dist/session-manager.js +35 -13
  942. package/packages/mcp-server/dist/session-manager.js.map +1 -1
  943. package/packages/mcp-server/dist/workflow-tools.d.ts +7 -1
  944. package/packages/mcp-server/dist/workflow-tools.d.ts.map +1 -1
  945. package/packages/mcp-server/dist/workflow-tools.js +160 -30
  946. package/packages/mcp-server/dist/workflow-tools.js.map +1 -1
  947. package/packages/mcp-server/src/env-writer.test.ts +76 -1
  948. package/packages/mcp-server/src/env-writer.ts +48 -9
  949. package/packages/mcp-server/src/import-candidates.test.ts +9 -4
  950. package/packages/mcp-server/src/mcp-server.test.ts +196 -2
  951. package/packages/mcp-server/src/parse-workflow-args.test.ts +80 -0
  952. package/packages/mcp-server/src/readers/graph.test.ts +5 -2
  953. package/packages/mcp-server/src/readers/graph.ts +14 -6
  954. package/packages/mcp-server/src/readers/paths.test.ts +67 -0
  955. package/packages/mcp-server/src/readers/paths.ts +173 -56
  956. package/packages/mcp-server/src/remote-questions.ts +18 -2
  957. package/packages/mcp-server/src/server.ts +159 -57
  958. package/packages/mcp-server/src/session-manager.ts +33 -12
  959. package/packages/mcp-server/src/workflow-tools.test.ts +230 -136
  960. package/packages/mcp-server/src/workflow-tools.ts +171 -33
  961. package/packages/mcp-server/tsconfig.tsbuildinfo +1 -1
  962. package/packages/native/dist/stream-process/index.js +207 -6
  963. package/packages/native/src/__tests__/stream-process.test.mjs +51 -18
  964. package/packages/native/src/stream-process/index.ts +249 -11
  965. package/packages/native/tsconfig.tsbuildinfo +1 -1
  966. package/packages/pi-ai/dist/providers/anthropic-bearer-auth.test.js +8 -2
  967. package/packages/pi-ai/dist/providers/anthropic-bearer-auth.test.js.map +1 -1
  968. package/packages/pi-ai/dist/providers/minimax-tool-name.test.js +8 -2
  969. package/packages/pi-ai/dist/providers/minimax-tool-name.test.js.map +1 -1
  970. package/packages/pi-ai/src/providers/anthropic-bearer-auth.test.ts +8 -2
  971. package/packages/pi-ai/src/providers/minimax-tool-name.test.ts +9 -2
  972. package/packages/pi-ai/tsconfig.tsbuildinfo +1 -1
  973. package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.js +278 -0
  974. package/packages/pi-coding-agent/dist/core/agent-session-abort-order.test.js.map +1 -1
  975. package/packages/pi-coding-agent/dist/core/agent-session.d.ts +7 -0
  976. package/packages/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -1
  977. package/packages/pi-coding-agent/dist/core/agent-session.js +125 -55
  978. package/packages/pi-coding-agent/dist/core/agent-session.js.map +1 -1
  979. package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts +1 -0
  980. package/packages/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -1
  981. package/packages/pi-coding-agent/dist/core/extensions/runner.js +43 -2
  982. package/packages/pi-coding-agent/dist/core/extensions/runner.js.map +1 -1
  983. package/packages/pi-coding-agent/dist/core/extensions/runner.test.js +79 -1
  984. package/packages/pi-coding-agent/dist/core/extensions/runner.test.js.map +1 -1
  985. package/packages/pi-coding-agent/dist/core/tools/bash-spawn-windows.test.js +24 -6
  986. package/packages/pi-coding-agent/dist/core/tools/bash-spawn-windows.test.js.map +1 -1
  987. package/packages/pi-coding-agent/src/core/agent-session-abort-order.test.ts +319 -0
  988. package/packages/pi-coding-agent/src/core/agent-session.ts +128 -59
  989. package/packages/pi-coding-agent/src/core/extensions/runner.test.ts +89 -1
  990. package/packages/pi-coding-agent/src/core/extensions/runner.ts +46 -2
  991. package/packages/pi-coding-agent/src/core/tools/bash-spawn-windows.test.ts +26 -6
  992. package/packages/pi-coding-agent/tsconfig.tsbuildinfo +1 -1
  993. package/src/resources/GSD-WORKFLOW.md +29 -42
  994. package/src/resources/extensions/async-jobs/job-manager.ts +3 -0
  995. package/src/resources/extensions/bg-shell/bg-shell-lifecycle.ts +3 -2
  996. package/src/resources/extensions/bg-shell/utilities.ts +2 -1
  997. package/src/resources/extensions/browser-tools/tools/intent.ts +13 -2
  998. package/src/resources/extensions/claude-code-cli/stream-adapter.ts +21 -8
  999. package/src/resources/extensions/claude-code-cli/tests/stream-adapter.test.ts +34 -13
  1000. package/src/resources/extensions/github-sync/cli.ts +3 -0
  1001. package/src/resources/extensions/github-sync/sync.ts +88 -58
  1002. package/src/resources/extensions/github-sync/tests/sync-source.test.ts +26 -0
  1003. package/src/resources/extensions/gsd/auto/loop-deps.ts +1 -1
  1004. package/src/resources/extensions/gsd/auto/phases.ts +92 -26
  1005. package/src/resources/extensions/gsd/auto/session.ts +3 -0
  1006. package/src/resources/extensions/gsd/auto-artifact-paths.ts +60 -30
  1007. package/src/resources/extensions/gsd/auto-dashboard.ts +12 -2
  1008. package/src/resources/extensions/gsd/auto-direct-dispatch.ts +2 -0
  1009. package/src/resources/extensions/gsd/auto-dispatch.ts +247 -91
  1010. package/src/resources/extensions/gsd/auto-post-unit.ts +123 -44
  1011. package/src/resources/extensions/gsd/auto-prompts.ts +104 -7
  1012. package/src/resources/extensions/gsd/auto-recovery.ts +75 -13
  1013. package/src/resources/extensions/gsd/auto-start.ts +72 -72
  1014. package/src/resources/extensions/gsd/auto-timeout-recovery.ts +22 -0
  1015. package/src/resources/extensions/gsd/auto-timers.ts +37 -5
  1016. package/src/resources/extensions/gsd/auto-worktree.ts +140 -192
  1017. package/src/resources/extensions/gsd/auto.ts +51 -15
  1018. package/src/resources/extensions/gsd/bootstrap/agent-end-recovery.ts +20 -1
  1019. package/src/resources/extensions/gsd/bootstrap/db-tools.ts +38 -7
  1020. package/src/resources/extensions/gsd/bootstrap/dynamic-tools.ts +9 -84
  1021. package/src/resources/extensions/gsd/bootstrap/register-hooks.ts +83 -8
  1022. package/src/resources/extensions/gsd/bootstrap/system-context.ts +3 -4
  1023. package/src/resources/extensions/gsd/bootstrap/write-gate.ts +92 -15
  1024. package/src/resources/extensions/gsd/branch-patterns.ts +3 -3
  1025. package/src/resources/extensions/gsd/commands/catalog.ts +7 -6
  1026. package/src/resources/extensions/gsd/commands/context.ts +40 -6
  1027. package/src/resources/extensions/gsd/commands/dispatcher.ts +11 -5
  1028. package/src/resources/extensions/gsd/commands/handlers/auto.ts +2 -1
  1029. package/src/resources/extensions/gsd/commands/handlers/core.ts +2 -0
  1030. package/src/resources/extensions/gsd/commands/handlers/ops.ts +5 -0
  1031. package/src/resources/extensions/gsd/commands/handlers/workflow.ts +23 -2
  1032. package/src/resources/extensions/gsd/commands-bootstrap.ts +7 -0
  1033. package/src/resources/extensions/gsd/commands-codebase.ts +2 -1
  1034. package/src/resources/extensions/gsd/commands-config.ts +3 -3
  1035. package/src/resources/extensions/gsd/commands-debug.ts +27 -1
  1036. package/src/resources/extensions/gsd/commands-eval-review.ts +716 -0
  1037. package/src/resources/extensions/gsd/commands-extensions.ts +4 -4
  1038. package/src/resources/extensions/gsd/commands-handlers.ts +8 -8
  1039. package/src/resources/extensions/gsd/commands-logs.ts +2 -1
  1040. package/src/resources/extensions/gsd/commands-mcp-status.ts +2 -2
  1041. package/src/resources/extensions/gsd/commands-scan.ts +2 -1
  1042. package/src/resources/extensions/gsd/commands-ship.ts +101 -1
  1043. package/src/resources/extensions/gsd/commands-workflow-templates.ts +5 -4
  1044. package/src/resources/extensions/gsd/context-budget.ts +13 -2
  1045. package/src/resources/extensions/gsd/db-writer.ts +63 -79
  1046. package/src/resources/extensions/gsd/deep-project-setup-policy.ts +257 -0
  1047. package/src/resources/extensions/gsd/detection.ts +7 -7
  1048. package/src/resources/extensions/gsd/dispatch-guard.ts +6 -11
  1049. package/src/resources/extensions/gsd/docs/preferences-reference.md +6 -4
  1050. package/src/resources/extensions/gsd/doctor-engine-checks.ts +2 -2
  1051. package/src/resources/extensions/gsd/doctor-providers.ts +2 -2
  1052. package/src/resources/extensions/gsd/doctor-runtime-checks.ts +53 -0
  1053. package/src/resources/extensions/gsd/doctor-types.ts +1 -0
  1054. package/src/resources/extensions/gsd/eval-review-schema.ts +243 -0
  1055. package/src/resources/extensions/gsd/forensics.ts +10 -4
  1056. package/src/resources/extensions/gsd/git-service.ts +81 -3
  1057. package/src/resources/extensions/gsd/gsd-db.ts +88 -10
  1058. package/src/resources/extensions/gsd/gsd-home.ts +30 -0
  1059. package/src/resources/extensions/gsd/guided-flow.ts +345 -97
  1060. package/src/resources/extensions/gsd/init-wizard.ts +17 -20
  1061. package/src/resources/extensions/gsd/interrupted-session.ts +39 -2
  1062. package/src/resources/extensions/gsd/key-manager.ts +2 -2
  1063. package/src/resources/extensions/gsd/markdown-renderer.ts +58 -79
  1064. package/src/resources/extensions/gsd/migrate/command.ts +3 -3
  1065. package/src/resources/extensions/gsd/milestone-scope-classifier.ts +15 -8
  1066. package/src/resources/extensions/gsd/native-git-bridge.ts +19 -41
  1067. package/src/resources/extensions/gsd/onboarding-state.ts +2 -2
  1068. package/src/resources/extensions/gsd/parallel-merge.ts +14 -13
  1069. package/src/resources/extensions/gsd/parallel-monitor-overlay.ts +5 -2
  1070. package/src/resources/extensions/gsd/paths.ts +91 -1
  1071. package/src/resources/extensions/gsd/planning-depth.ts +137 -0
  1072. package/src/resources/extensions/gsd/preferences-models.ts +18 -1
  1073. package/src/resources/extensions/gsd/preferences-skills.ts +2 -1
  1074. package/src/resources/extensions/gsd/preferences-types.ts +11 -0
  1075. package/src/resources/extensions/gsd/preferences-validation.ts +9 -0
  1076. package/src/resources/extensions/gsd/preferences.ts +26 -5
  1077. package/src/resources/extensions/gsd/project-research-policy.ts +259 -0
  1078. package/src/resources/extensions/gsd/prompt-loader.ts +2 -3
  1079. package/src/resources/extensions/gsd/prompts/complete-slice.md +1 -1
  1080. package/src/resources/extensions/gsd/prompts/guided-discuss-project.md +133 -0
  1081. package/src/resources/extensions/gsd/prompts/guided-discuss-requirements.md +122 -0
  1082. package/src/resources/extensions/gsd/prompts/guided-research-decision.md +70 -0
  1083. package/src/resources/extensions/gsd/prompts/guided-research-project.md +120 -0
  1084. package/src/resources/extensions/gsd/prompts/guided-workflow-preferences.md +68 -0
  1085. package/src/resources/extensions/gsd/prompts/plan-milestone.md +8 -2
  1086. package/src/resources/extensions/gsd/prompts/plan-slice.md +9 -7
  1087. package/src/resources/extensions/gsd/prompts/refine-slice.md +1 -1
  1088. package/src/resources/extensions/gsd/prompts/system.md +4 -4
  1089. package/src/resources/extensions/gsd/queue-order.ts +6 -1
  1090. package/src/resources/extensions/gsd/repo-identity.ts +15 -9
  1091. package/src/resources/extensions/gsd/rethink.ts +2 -1
  1092. package/src/resources/extensions/gsd/safety/git-checkpoint.ts +10 -1
  1093. package/src/resources/extensions/gsd/schemas/__fixtures__/valid-project.md +26 -0
  1094. package/src/resources/extensions/gsd/schemas/__fixtures__/valid-requirements.md +57 -0
  1095. package/src/resources/extensions/gsd/schemas/__fixtures__/valid-roadmap.md +19 -0
  1096. package/src/resources/extensions/gsd/schemas/parsers.ts +346 -0
  1097. package/src/resources/extensions/gsd/schemas/validate.ts +452 -0
  1098. package/src/resources/extensions/gsd/skill-telemetry.ts +3 -2
  1099. package/src/resources/extensions/gsd/slice-cadence.ts +71 -6
  1100. package/src/resources/extensions/gsd/state.ts +91 -389
  1101. package/src/resources/extensions/gsd/tests/artifact-corruption-2630.test.ts +1 -0
  1102. package/src/resources/extensions/gsd/tests/artifact-validators.test.ts +524 -0
  1103. package/src/resources/extensions/gsd/tests/auto-dashboard.test.ts +20 -0
  1104. package/src/resources/extensions/gsd/tests/auto-discuss-milestone-deadlock-4973.test.ts +29 -4
  1105. package/src/resources/extensions/gsd/tests/auto-loop.test.ts +97 -31
  1106. package/src/resources/extensions/gsd/tests/auto-paused-session-validation.test.ts +6 -0
  1107. package/src/resources/extensions/gsd/tests/auto-remediate-slice-status.test.ts +21 -34
  1108. package/src/resources/extensions/gsd/tests/auto-start-clean-runtime-db-gated.test.ts +32 -1
  1109. package/src/resources/extensions/gsd/tests/auto-start-index-lock.test.ts +38 -0
  1110. package/src/resources/extensions/gsd/tests/auto-wrapup-inflight-guard.test.ts +56 -0
  1111. package/src/resources/extensions/gsd/tests/commands-eval-review.test.ts +612 -0
  1112. package/src/resources/extensions/gsd/tests/commands-ship-eval-warn.test.ts +155 -0
  1113. package/src/resources/extensions/gsd/tests/complete-task-rollback-evidence.test.ts +6 -7
  1114. package/src/resources/extensions/gsd/tests/complete-task.test.ts +8 -6
  1115. package/src/resources/extensions/gsd/tests/completed-at-reconcile.test.ts +12 -27
  1116. package/src/resources/extensions/gsd/tests/completed-units-metrics-sync.test.ts +18 -5
  1117. package/src/resources/extensions/gsd/tests/context-budget.test.ts +28 -0
  1118. package/src/resources/extensions/gsd/tests/crash-recovery.test.ts +50 -0
  1119. package/src/resources/extensions/gsd/tests/custom-engine-loop-integration.test.ts +2 -1
  1120. package/src/resources/extensions/gsd/tests/db-path-worktree-symlink.test.ts +4 -4
  1121. package/src/resources/extensions/gsd/tests/db-writer.test.ts +165 -21
  1122. package/src/resources/extensions/gsd/tests/debug-command-handler.test.ts +37 -0
  1123. package/src/resources/extensions/gsd/tests/deep-mode-integration.test.ts +406 -0
  1124. package/src/resources/extensions/gsd/tests/deep-planning-mode-dispatch.test.ts +881 -0
  1125. package/src/resources/extensions/gsd/tests/deep-project-auto-loop.test.ts +1562 -0
  1126. package/src/resources/extensions/gsd/tests/deep-project-setup-policy.test.ts +193 -0
  1127. package/src/resources/extensions/gsd/tests/derive-state-crossval.test.ts +6 -5
  1128. package/src/resources/extensions/gsd/tests/derive-state-db-disk-reconcile.test.ts +10 -38
  1129. package/src/resources/extensions/gsd/tests/derive-state-db.test.ts +136 -56
  1130. package/src/resources/extensions/gsd/tests/derive-state-draft.test.ts +3 -0
  1131. package/src/resources/extensions/gsd/tests/derive-state-helpers.test.ts +119 -61
  1132. package/src/resources/extensions/gsd/tests/derive-state.test.ts +4 -0
  1133. package/src/resources/extensions/gsd/tests/dispatch-complete-milestone-guard.test.ts +6 -20
  1134. package/src/resources/extensions/gsd/tests/dispatch-guard.test.ts +4 -5
  1135. package/src/resources/extensions/gsd/tests/dispatcher-stuck-planning.test.ts +14 -15
  1136. package/src/resources/extensions/gsd/tests/ensure-db-open.test.ts +11 -16
  1137. package/src/resources/extensions/gsd/tests/escalation.test.ts +2 -1
  1138. package/src/resources/extensions/gsd/tests/eval-review-schema.test.ts +282 -0
  1139. package/src/resources/extensions/gsd/tests/git-checkpoint.test.ts +9 -0
  1140. package/src/resources/extensions/gsd/tests/gsd-db.test.ts +2 -1
  1141. package/src/resources/extensions/gsd/tests/gsd-home.test.ts +43 -0
  1142. package/src/resources/extensions/gsd/tests/gsd-no-project-error-runtime.test.ts +15 -1
  1143. package/src/resources/extensions/gsd/tests/gsd-root-home-guard.test.ts +86 -0
  1144. package/src/resources/extensions/gsd/tests/gsdroot-worktree-detection.test.ts +15 -36
  1145. package/src/resources/extensions/gsd/tests/guided-flow-prompt-consolidation.test.ts +133 -0
  1146. package/src/resources/extensions/gsd/tests/handler-worktree-write-isolation.test.ts +57 -0
  1147. package/src/resources/extensions/gsd/tests/has-pending-deep-stage.test.ts +98 -0
  1148. package/src/resources/extensions/gsd/tests/init-skip-git.test.ts +19 -0
  1149. package/src/resources/extensions/gsd/tests/init-wizard.test.ts +17 -0
  1150. package/src/resources/extensions/gsd/tests/integration/auto-worktree.test.ts +1 -0
  1151. package/src/resources/extensions/gsd/tests/integration/commands-eval-review.integration.test.ts +254 -0
  1152. package/src/resources/extensions/gsd/tests/integration/doctor-runtime.test.ts +40 -0
  1153. package/src/resources/extensions/gsd/tests/integration/git-service.test.ts +42 -0
  1154. package/src/resources/extensions/gsd/tests/integration/parallel-merge.test.ts +15 -15
  1155. package/src/resources/extensions/gsd/tests/integration/state-machine-edge-cases.test.ts +15 -5
  1156. package/src/resources/extensions/gsd/tests/journal-integration.test.ts +124 -7
  1157. package/src/resources/extensions/gsd/tests/markdown-renderer.test.ts +84 -9
  1158. package/src/resources/extensions/gsd/tests/md-importer.test.ts +2 -1
  1159. package/src/resources/extensions/gsd/tests/memory-store.test.ts +3 -2
  1160. package/src/resources/extensions/gsd/tests/milestone-scope-classifier.test.ts +19 -0
  1161. package/src/resources/extensions/gsd/tests/model-unittype-mapping.test.ts +19 -0
  1162. package/src/resources/extensions/gsd/tests/native-git-bridge-exec-fallback.test.ts +22 -2
  1163. package/src/resources/extensions/gsd/tests/none-mode-gates.test.ts +51 -3
  1164. package/src/resources/extensions/gsd/tests/park-milestone.test.ts +2 -0
  1165. package/src/resources/extensions/gsd/tests/plan-milestone-artifact-verification.test.ts +40 -0
  1166. package/src/resources/extensions/gsd/tests/plan-slice-prompt.test.ts +0 -43
  1167. package/src/resources/extensions/gsd/tests/plan-slice.test.ts +33 -0
  1168. package/src/resources/extensions/gsd/tests/planning-depth-setter.test.ts +172 -0
  1169. package/src/resources/extensions/gsd/tests/post-unit-git-failure.test.ts +18 -0
  1170. package/src/resources/extensions/gsd/tests/preferences.test.ts +72 -0
  1171. package/src/resources/extensions/gsd/tests/prefs-wizard-coverage.test.ts +1 -0
  1172. package/src/resources/extensions/gsd/tests/progressive-planning.test.ts +25 -16
  1173. package/src/resources/extensions/gsd/tests/project-root-cwd-crash.test.ts +4 -4
  1174. package/src/resources/extensions/gsd/tests/projection-regression.test.ts +1 -0
  1175. package/src/resources/extensions/gsd/tests/prompt-budget-enforcement.test.ts +2 -2
  1176. package/src/resources/extensions/gsd/tests/prompt-contracts.test.ts +82 -21
  1177. package/src/resources/extensions/gsd/tests/quality-gates.test.ts +7 -16
  1178. package/src/resources/extensions/gsd/tests/ready-phrase-no-files-4573.test.ts +193 -0
  1179. package/src/resources/extensions/gsd/tests/register-hooks-compaction-checkpoint.test.ts +6 -1
  1180. package/src/resources/extensions/gsd/tests/register-hooks-depth-verification.test.ts +156 -0
  1181. package/src/resources/extensions/gsd/tests/replan-slice.test.ts +3 -0
  1182. package/src/resources/extensions/gsd/tests/resolve-ts.mjs +4 -0
  1183. package/src/resources/extensions/gsd/tests/rogue-file-detection.test.ts +3 -4
  1184. package/src/resources/extensions/gsd/tests/slice-cadence.test.ts +36 -0
  1185. package/src/resources/extensions/gsd/tests/slice-disk-reconcile.test.ts +10 -56
  1186. package/src/resources/extensions/gsd/tests/stale-slice-rows.test.ts +15 -16
  1187. package/src/resources/extensions/gsd/tests/start-auto-detached.test.ts +53 -0
  1188. package/src/resources/extensions/gsd/tests/stash-pop-gsd-conflict.test.ts +8 -2
  1189. package/src/resources/extensions/gsd/tests/stash-queued-context-files.test.ts +12 -6
  1190. package/src/resources/extensions/gsd/tests/state-corruption-2945.test.ts +1 -0
  1191. package/src/resources/extensions/gsd/tests/state-machine-full-walkthrough.test.ts +23 -27
  1192. package/src/resources/extensions/gsd/tests/steer-worktree-path.test.ts +13 -14
  1193. package/src/resources/extensions/gsd/tests/stop-auto-remote.test.ts +4 -3
  1194. package/src/resources/extensions/gsd/tests/sync-worktree-skip-current.test.ts +10 -33
  1195. package/src/resources/extensions/gsd/tests/token-counter.test.ts +9 -0
  1196. package/src/resources/extensions/gsd/tests/tool-param-optionality.test.ts +34 -0
  1197. package/src/resources/extensions/gsd/tests/unit-context-manifest.test.ts +10 -0
  1198. package/src/resources/extensions/gsd/tests/unit-runtime.test.ts +41 -0
  1199. package/src/resources/extensions/gsd/tests/uok-plan-v2-wiring.test.ts +48 -0
  1200. package/src/resources/extensions/gsd/tests/validate-milestone-write-order.test.ts +7 -8
  1201. package/src/resources/extensions/gsd/tests/validate-milestone.test.ts +9 -15
  1202. package/src/resources/extensions/gsd/tests/verify-artifact-tightened.test.ts +52 -1
  1203. package/src/resources/extensions/gsd/tests/workflow-logger-wiring.test.ts +12 -7
  1204. package/src/resources/extensions/gsd/tests/workflow-mcp-auto-prep.test.ts +4 -4
  1205. package/src/resources/extensions/gsd/tests/workflow-mcp.test.ts +81 -2
  1206. package/src/resources/extensions/gsd/tests/workflow-tool-executors.test.ts +244 -1
  1207. package/src/resources/extensions/gsd/tests/worktree-db-same-file.test.ts +13 -0
  1208. package/src/resources/extensions/gsd/tests/worktree-main-branch.test.ts +5 -0
  1209. package/src/resources/extensions/gsd/tests/worktree-path-injection.test.ts +2 -1
  1210. package/src/resources/extensions/gsd/tests/worktree-resolver.test.ts +103 -0
  1211. package/src/resources/extensions/gsd/tests/worktree-root-resolution.test.ts +50 -0
  1212. package/src/resources/extensions/gsd/tests/worktree-root.test.ts +69 -0
  1213. package/src/resources/extensions/gsd/tests/worktree-sync-milestones.test.ts +65 -71
  1214. package/src/resources/extensions/gsd/tests/worktree-sync-tasks.test.ts +26 -151
  1215. package/src/resources/extensions/gsd/tests/write-gate-predicates.test.ts +8 -6
  1216. package/src/resources/extensions/gsd/tests/write-gate.test.ts +121 -13
  1217. package/src/resources/extensions/gsd/token-counter.ts +2 -1
  1218. package/src/resources/extensions/gsd/tools/complete-milestone.ts +7 -5
  1219. package/src/resources/extensions/gsd/tools/complete-slice.ts +7 -14
  1220. package/src/resources/extensions/gsd/tools/complete-task.ts +19 -34
  1221. package/src/resources/extensions/gsd/tools/plan-slice.ts +10 -9
  1222. package/src/resources/extensions/gsd/tools/validate-milestone.ts +7 -5
  1223. package/src/resources/extensions/gsd/tools/workflow-tool-executors.ts +81 -14
  1224. package/src/resources/extensions/gsd/unit-context-manifest.ts +97 -1
  1225. package/src/resources/extensions/gsd/unit-runtime.ts +76 -24
  1226. package/src/resources/extensions/gsd/uok/plan-v2.ts +19 -1
  1227. package/src/resources/extensions/gsd/user-input-boundary.ts +166 -0
  1228. package/src/resources/extensions/gsd/watch/header-renderer.ts +2 -1
  1229. package/src/resources/extensions/gsd/workflow-install.ts +2 -3
  1230. package/src/resources/extensions/gsd/workflow-manifest.ts +4 -1
  1231. package/src/resources/extensions/gsd/workflow-mcp-auto-prep.ts +2 -18
  1232. package/src/resources/extensions/gsd/workflow-mcp.ts +41 -4
  1233. package/src/resources/extensions/gsd/workflow-migration.ts +4 -3
  1234. package/src/resources/extensions/gsd/workflow-plugins.ts +4 -5
  1235. package/src/resources/extensions/gsd/workflow-reconcile.ts +3 -3
  1236. package/src/resources/extensions/gsd/workflow-templates.ts +2 -3
  1237. package/src/resources/extensions/gsd/worktree-command.ts +4 -3
  1238. package/src/resources/extensions/gsd/worktree-manager.ts +6 -6
  1239. package/src/resources/extensions/gsd/worktree-resolver.ts +31 -7
  1240. package/src/resources/extensions/gsd/worktree-root.ts +47 -9
  1241. package/src/resources/extensions/mcp-client/index.ts +2 -2
  1242. package/src/resources/extensions/remote-questions/remote-command.ts +2 -1
  1243. package/src/resources/extensions/remote-questions/status.ts +2 -6
  1244. package/src/resources/extensions/remote-questions/store.ts +2 -6
  1245. package/src/resources/extensions/search-the-web/provider.ts +9 -8
  1246. package/src/resources/extensions/shared/next-action-ui.ts +8 -0
  1247. package/src/resources/extensions/shared/tests/next-action-ui-hasui.test.ts +112 -0
  1248. package/src/resources/extensions/subagent/index.ts +22 -9
  1249. package/src/resources/extensions/subagent/isolation.ts +2 -2
  1250. package/src/resources/extensions/subagent/tests/model-override.test.ts +55 -0
  1251. package/src/resources/extensions/ttsr/rule-loader.ts +2 -3
  1252. package/src/resources/extensions/voice/index.ts +3 -2
  1253. package/src/resources/extensions/voice/linux-ready.ts +2 -3
  1254. package/src/resources/skills/verify-before-complete/SKILL.md +1 -1
  1255. package/dist/resources/extensions/gsd/auto-loop.js +0 -13
  1256. package/dist/resources/extensions/gsd/home-dir.js +0 -16
  1257. package/dist/resources/extensions/gsd/prompts/guided-complete-slice.md +0 -3
  1258. package/dist/resources/extensions/gsd/prompts/guided-execute-task.md +0 -3
  1259. package/dist/resources/extensions/gsd/prompts/guided-plan-milestone.md +0 -30
  1260. package/dist/resources/extensions/gsd/prompts/guided-plan-slice.md +0 -3
  1261. package/dist/web/standalone/.next/server/chunks/1926.js +0 -1
  1262. package/dist/web/standalone/.next/server/edge-runtime-webpack.js +0 -2
  1263. package/dist/web/standalone/.next/static/chunks/2824.08296bc2f9654698.js +0 -1
  1264. package/dist/web/standalone/.next/static/chunks/363642f4.cf8b455e0d94b478.js +0 -1
  1265. package/dist/web/standalone/.next/static/chunks/5326.adc4bf49a22f4e67.js +0 -1
  1266. package/dist/web/standalone/.next/static/chunks/webpack-f9f0dc45e4f3ac10.js +0 -1
  1267. package/dist/web/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  1268. package/dist/web/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  1269. package/dist/web/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
  1270. package/dist/web/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  1271. package/dist/web/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +0 -191
  1272. package/dist/web/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  1273. package/dist/web/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
  1274. package/src/resources/extensions/gsd/auto-loop.ts +0 -16
  1275. package/src/resources/extensions/gsd/home-dir.ts +0 -19
  1276. package/src/resources/extensions/gsd/prompts/guided-complete-slice.md +0 -3
  1277. package/src/resources/extensions/gsd/prompts/guided-execute-task.md +0 -3
  1278. package/src/resources/extensions/gsd/prompts/guided-plan-milestone.md +0 -30
  1279. package/src/resources/extensions/gsd/prompts/guided-plan-slice.md +0 -3
  1280. package/src/resources/extensions/gsd/tests/home-dir.test.ts +0 -52
  1281. package/dist/web/standalone/.next/static/{4iu6IYeYfxOq8OidlDqp6 → RjjdGcgVF_ub9FQ08MQAn}/_buildManifest.js +0 -0
  1282. package/dist/web/standalone/.next/static/{4iu6IYeYfxOq8OidlDqp6 → RjjdGcgVF_ub9FQ08MQAn}/_ssgManifest.js +0 -0
  1283. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/at-rule.js +0 -0
  1284. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/comment.js +0 -0
  1285. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/declaration.js +4 -4
  1286. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/document.js +0 -0
  1287. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/fromJSON.js +3 -3
  1288. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/list.js +0 -0
  1289. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/parse.js +1 -1
  1290. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/postcss.js +12 -12
  1291. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/root.js +0 -0
  1292. package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/rule.js +6 -6
  1293. /package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/stringify.js +0 -0
  1294. /package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/symbols.js +0 -0
  1295. /package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/terminal-highlight.js +0 -0
  1296. /package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/warn-once.js +0 -0
  1297. /package/dist/web/standalone/node_modules/{next/node_modules/postcss → postcss}/lib/warning.js +0 -0
  1298. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
  1299. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
  1300. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
  1301. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
  1302. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
  1303. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
  1304. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
  1305. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
  1306. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
  1307. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
  1308. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
  1309. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
  1310. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
  1311. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
  1312. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
  1313. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
  1314. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
  1315. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
  1316. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
  1317. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
  1318. /package/dist/web/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
@@ -1,4 +1,4 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9058],{484:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]])},622:(e,t,r)=>{"use strict";r.d(t,{QP:()=>eh});let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),i=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let s=r.validators;if(null===s)return;let a=0===t?e.join("-"):e.slice(t).join("-"),l=s.length;for(let e=0;e<l;e++){let t=s[e];if(t.validator(a))return t.classGroupId}},s=(e,t)=>{let r=n();for(let n in e)a(e[n],r,n,t);return r},a=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)l(e[o],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?u(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},u=(e,t,r)=>{(""===e?t:h(t,e)).classGroupId=r},c=(e,t,r,n)=>{p(e)?a(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,s]=i[e];a(s,h(t,o),r,n)}},h=(e,t)=>{let r=e,i=t.split("-"),o=i.length;for(let e=0;e<o;e++){let t=i[e],o=r.nextPart.get(t);o||(o=n(),r.nextPart.set(t,o)),r=o}return r},p=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,f=[],m=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),y=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,M=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,C=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>k.test(e),T=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&T(e.slice(0,-1)),L=e=>A.test(e),D=()=>!0,O=e=>E.test(e)&&!M.test(e),V=()=>!1,N=e=>S.test(e),I=e=>C.test(e),z=e=>!_(e)&&!K(e),F=e=>er(e,es,V),_=e=>w.test(e),B=e=>er(e,ea,O),W=e=>er(e,el,T),$=e=>er(e,ec,D),H=e=>er(e,eu,V),U=e=>er(e,ei,V),q=e=>er(e,eo,I),G=e=>er(e,ed,N),K=e=>x.test(e),X=e=>en(e,ea),Y=e=>en(e,eu),Z=e=>en(e,ei),Q=e=>en(e,es),J=e=>en(e,eo),ee=e=>en(e,ed,!0),et=e=>en(e,ec,!0),er=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},en=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},ei=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,el=e=>"number"===e,eu=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,eh=((e,...t)=>{let r,n,a,l,u=e=>{let t=n(e);if(t)return t;let i=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(y),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!p,m=n(f?h.substring(0,p):h);if(!m){if(!f||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}f=!1}let y=0===c.length?"":1===c.length?c[0]:o(c).join(":"),g=d?y+"!":y,v=g+m;if(s.indexOf(v)>-1)continue;s.push(v);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];s.push(g+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return a(e,i),i};return l=c=>{var d;let h;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===n&&0===i){if(":"===s){r.push(e.slice(o,a)),o=a+1;continue}if("/"===s){t=a;continue}}"["===s?n++:"]"===s?n--:"("===s?i++:")"===s&&i--}let a=0===r.length?e:e.slice(o),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),m(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):m(f,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n],o="["===i[0],s=h.has(i);o||s?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(i)):r.push(i)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return s(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,i;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(i=t.slice(0,n))?"arbitrary.."+i:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||i}return r[e]||i}}})(d)}).cache.get,a=r.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=g(t))&&(i&&(i+=" "),i+=r);return i})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),i=b("tracking"),o=b("leading"),s=b("breakpoint"),a=b("container"),l=b("spacing"),u=b("radius"),c=b("shadow"),d=b("inset-shadow"),h=b("text-shadow"),p=b("drop-shadow"),f=b("blur"),m=b("perspective"),y=b("aspect"),g=b("ease"),v=b("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...x(),K,_],A=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],M=()=>[K,_,l],S=()=>[P,"full","auto",...M()],C=()=>[R,"none","subgrid",K,_],O=()=>["auto",{span:["full",R,K,_]},R,K,_],V=()=>[R,"auto",K,_],N=()=>["auto","min","max","fr",K,_],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],er=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...M()],ei=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],eo=()=>[P,"screen","full","dvw","lvw","svw","min","max","fit",...M()],es=()=>[P,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],ea=()=>[e,K,_],el=()=>[...x(),Z,U,{position:[K,_]}],eu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ec=()=>["auto","cover","contain",Q,F,{size:[K,_]}],ed=()=>[j,X,B],eh=()=>["","none","full",u,K,_],ep=()=>["",T,X,B],ef=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ey=()=>[T,j,Z,U],eg=()=>["","none",f,K,_],ev=()=>["none",T,K,_],eb=()=>["none",T,K,_],ew=()=>[T,K,_],ex=()=>[P,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[D],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",T],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,_,K,y]}],container:["container"],columns:[{columns:[T,_,K,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",K,_]}],basis:[{basis:[P,"full","auto",a,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[T,P,"auto","initial","none",_]}],grow:[{grow:["",T,K,_]}],shrink:[{shrink:["",T,K,_]}],order:[{order:[R,"first","last","none",K,_]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...er(),"normal"]}],"justify-self":[{"justify-self":["auto",...er()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...er(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...er(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...er(),"baseline"]}],"place-self":[{"place-self":["auto",...er()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:ei()}],"inline-size":[{inline:["auto",...eo()]}],"min-inline-size":[{"min-inline":["auto",...eo()]}],"max-inline-size":[{"max-inline":["none",...eo()]}],"block-size":[{block:["auto",...es()]}],"min-block-size":[{"min-block":["auto",...es()]}],"max-block-size":[{"max-block":["none",...es()]}],w:[{w:[a,"screen",...ei()]}],"min-w":[{"min-w":[a,"screen","none",...ei()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...ei()]}],h:[{h:["screen","lh",...ei()]}],"min-h":[{"min-h":["screen","lh","none",...ei()]}],"max-h":[{"max-h":["screen","lh",...ei()]}],"font-size":[{text:["base",r,X,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,_]}],"font-family":[{font:[Y,H,t]}],"font-features":[{"font-features":[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,K,_]}],"line-clamp":[{"line-clamp":[T,"none",K,W]}],leading:[{leading:[o,...M()]}],"list-image":[{"list-image":["none",K,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ea()}],"text-color":[{text:ea()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[T,"from-font","auto",K,B]}],"text-decoration-color":[{decoration:ea()}],"underline-offset":[{"underline-offset":[T,"auto",K,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:el()}],"bg-repeat":[{bg:eu()}],"bg-size":[{bg:ec()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,K,_],radial:["",K,_],conic:[R,K,_]},J,q]}],"bg-color":[{bg:ea()}],"gradient-from-pos":[{from:ed()}],"gradient-via-pos":[{via:ed()}],"gradient-to-pos":[{to:ed()}],"gradient-from":[{from:ea()}],"gradient-via":[{via:ea()}],"gradient-to":[{to:ea()}],rounded:[{rounded:eh()}],"rounded-s":[{"rounded-s":eh()}],"rounded-e":[{"rounded-e":eh()}],"rounded-t":[{"rounded-t":eh()}],"rounded-r":[{"rounded-r":eh()}],"rounded-b":[{"rounded-b":eh()}],"rounded-l":[{"rounded-l":eh()}],"rounded-ss":[{"rounded-ss":eh()}],"rounded-se":[{"rounded-se":eh()}],"rounded-ee":[{"rounded-ee":eh()}],"rounded-es":[{"rounded-es":eh()}],"rounded-tl":[{"rounded-tl":eh()}],"rounded-tr":[{"rounded-tr":eh()}],"rounded-br":[{"rounded-br":eh()}],"rounded-bl":[{"rounded-bl":eh()}],"border-w":[{border:ep()}],"border-w-x":[{"border-x":ep()}],"border-w-y":[{"border-y":ep()}],"border-w-s":[{"border-s":ep()}],"border-w-e":[{"border-e":ep()}],"border-w-bs":[{"border-bs":ep()}],"border-w-be":[{"border-be":ep()}],"border-w-t":[{"border-t":ep()}],"border-w-r":[{"border-r":ep()}],"border-w-b":[{"border-b":ep()}],"border-w-l":[{"border-l":ep()}],"divide-x":[{"divide-x":ep()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ep()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:ea()}],"border-color-x":[{"border-x":ea()}],"border-color-y":[{"border-y":ea()}],"border-color-s":[{"border-s":ea()}],"border-color-e":[{"border-e":ea()}],"border-color-bs":[{"border-bs":ea()}],"border-color-be":[{"border-be":ea()}],"border-color-t":[{"border-t":ea()}],"border-color-r":[{"border-r":ea()}],"border-color-b":[{"border-b":ea()}],"border-color-l":[{"border-l":ea()}],"divide-color":[{divide:ea()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[T,K,_]}],"outline-w":[{outline:["",T,X,B]}],"outline-color":[{outline:ea()}],shadow:[{shadow:["","none",c,ee,G]}],"shadow-color":[{shadow:ea()}],"inset-shadow":[{"inset-shadow":["none",d,ee,G]}],"inset-shadow-color":[{"inset-shadow":ea()}],"ring-w":[{ring:ep()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ea()}],"ring-offset-w":[{"ring-offset":[T,B]}],"ring-offset-color":[{"ring-offset":ea()}],"inset-ring-w":[{"inset-ring":ep()}],"inset-ring-color":[{"inset-ring":ea()}],"text-shadow":[{"text-shadow":["none",h,ee,G]}],"text-shadow-color":[{"text-shadow":ea()}],opacity:[{opacity:[T,K,_]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[T]}],"mask-image-linear-from-pos":[{"mask-linear-from":ey()}],"mask-image-linear-to-pos":[{"mask-linear-to":ey()}],"mask-image-linear-from-color":[{"mask-linear-from":ea()}],"mask-image-linear-to-color":[{"mask-linear-to":ea()}],"mask-image-t-from-pos":[{"mask-t-from":ey()}],"mask-image-t-to-pos":[{"mask-t-to":ey()}],"mask-image-t-from-color":[{"mask-t-from":ea()}],"mask-image-t-to-color":[{"mask-t-to":ea()}],"mask-image-r-from-pos":[{"mask-r-from":ey()}],"mask-image-r-to-pos":[{"mask-r-to":ey()}],"mask-image-r-from-color":[{"mask-r-from":ea()}],"mask-image-r-to-color":[{"mask-r-to":ea()}],"mask-image-b-from-pos":[{"mask-b-from":ey()}],"mask-image-b-to-pos":[{"mask-b-to":ey()}],"mask-image-b-from-color":[{"mask-b-from":ea()}],"mask-image-b-to-color":[{"mask-b-to":ea()}],"mask-image-l-from-pos":[{"mask-l-from":ey()}],"mask-image-l-to-pos":[{"mask-l-to":ey()}],"mask-image-l-from-color":[{"mask-l-from":ea()}],"mask-image-l-to-color":[{"mask-l-to":ea()}],"mask-image-x-from-pos":[{"mask-x-from":ey()}],"mask-image-x-to-pos":[{"mask-x-to":ey()}],"mask-image-x-from-color":[{"mask-x-from":ea()}],"mask-image-x-to-color":[{"mask-x-to":ea()}],"mask-image-y-from-pos":[{"mask-y-from":ey()}],"mask-image-y-to-pos":[{"mask-y-to":ey()}],"mask-image-y-from-color":[{"mask-y-from":ea()}],"mask-image-y-to-color":[{"mask-y-to":ea()}],"mask-image-radial":[{"mask-radial":[K,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":ey()}],"mask-image-radial-to-pos":[{"mask-radial-to":ey()}],"mask-image-radial-from-color":[{"mask-radial-from":ea()}],"mask-image-radial-to-color":[{"mask-radial-to":ea()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[T]}],"mask-image-conic-from-pos":[{"mask-conic-from":ey()}],"mask-image-conic-to-pos":[{"mask-conic-to":ey()}],"mask-image-conic-from-color":[{"mask-conic-from":ea()}],"mask-image-conic-to-color":[{"mask-conic-to":ea()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:el()}],"mask-repeat":[{mask:eu()}],"mask-size":[{mask:ec()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,_]}],filter:[{filter:["","none",K,_]}],blur:[{blur:eg()}],brightness:[{brightness:[T,K,_]}],contrast:[{contrast:[T,K,_]}],"drop-shadow":[{"drop-shadow":["","none",p,ee,G]}],"drop-shadow-color":[{"drop-shadow":ea()}],grayscale:[{grayscale:["",T,K,_]}],"hue-rotate":[{"hue-rotate":[T,K,_]}],invert:[{invert:["",T,K,_]}],saturate:[{saturate:[T,K,_]}],sepia:[{sepia:["",T,K,_]}],"backdrop-filter":[{"backdrop-filter":["","none",K,_]}],"backdrop-blur":[{"backdrop-blur":eg()}],"backdrop-brightness":[{"backdrop-brightness":[T,K,_]}],"backdrop-contrast":[{"backdrop-contrast":[T,K,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",T,K,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[T,K,_]}],"backdrop-invert":[{"backdrop-invert":["",T,K,_]}],"backdrop-opacity":[{"backdrop-opacity":[T,K,_]}],"backdrop-saturate":[{"backdrop-saturate":[T,K,_]}],"backdrop-sepia":[{"backdrop-sepia":["",T,K,_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[T,"initial",K,_]}],ease:[{ease:["linear","initial",g,K,_]}],delay:[{delay:[T,K,_]}],animate:[{animate:["none",v,K,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,K,_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[K,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ex()}],"translate-x":[{"translate-x":ex()}],"translate-y":[{"translate-y":ex()}],"translate-z":[{"translate-z":ex()}],"translate-none":["translate-none"],accent:[{accent:ea()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ea()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,_]}],fill:[{fill:["none",...ea()]}],"stroke-w":[{stroke:[T,X,B,W]}],stroke:[{stroke:["none",...ea()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},1709:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]])},1806:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]])},1933:(e,t,r)=>{"use strict";r.d(t,{jH:()=>o});var n=r(12115);r(95155);var i=n.createContext(void 0);function o(e){let t=n.useContext(i);return e||t||"ltr"}},2318:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]])},3636:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-dashed",[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]])},5174:(e,t,r)=>{"use strict";r.d(t,{A:()=>Y});var n,i,o,s,a,l,u,c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function d(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var h=("function"==typeof SuppressedError&&SuppressedError,r(12115)),p="right-scroll-bar-position",f="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var y="u">typeof window?h.useLayoutEffect:h.useEffect,g=new WeakMap,v=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),o=[],s=!1,a={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,s);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){s=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=c({async:!0,ssr:!1},n),a),b=function(){},w=h.forwardRef(function(e,t){var r,n,i,o,s=h.useRef(null),a=h.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=a[0],u=a[1],p=e.forwardProps,f=e.children,w=e.className,x=e.removeScrollBar,k=e.enabled,A=e.shards,E=e.sideCar,M=e.noRelative,S=e.noIsolation,C=e.inert,P=e.allowPinchZoom,T=e.as,R=e.gapMode,j=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(r=[s,t],n=function(e){return r.forEach(function(t){return m(t,e)})},(i=(0,h.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,y(function(){var e=g.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||m(e,null)}),n.forEach(function(e){t.has(e)||m(e,i)})}g.set(o,r)},[r]),o),D=c(c({},j),l);return h.createElement(h.Fragment,null,k&&h.createElement(E,{sideCar:v,removeScrollBar:x,shards:A,noRelative:M,noIsolation:S,inert:C,setCallbacks:u,allowPinchZoom:!!P,lockRef:s,gapMode:R}),p?h.cloneElement(h.Children.only(f),c(c({},D),{ref:L})):h.createElement(void 0===T?"div":T,c({},D,{className:w,ref:L}),f))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:f,zeroRight:p};var x=function(e){var t=e.sideCar,r=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return h.createElement(n,c({},r))};x.isSideCarExport=!0;var k=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},A=function(){var e=k();return function(t,r){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},E=function(){var e=A();return function(t){return e(t.styles,t.dynamic),null}},M={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[S(r),S(n),S(i)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return M;var t=C(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},T=E(),R="data-scroll-locked",j=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(a,"px ").concat(n,";\n }\n body[").concat(R,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f," {\n margin-right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},L=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},D=function(){h.useEffect(function(){return document.body.setAttribute(R,(L()+1).toString()),function(){var e=L()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},O=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;D();var o=h.useMemo(function(){return P(i)},[i]);return h.createElement(T,{styles:j(o,!t,i,r?"":"!important")})},V=!1;if("u">typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){return V=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(e){V=!1}var I=!!V&&{passive:!1},z=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},F=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),_(e,n)){var i=B(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},_=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=r.target,u=t.contains(l),c=!1,d=a>0,h=0,p=0;do{if(!l)break;var f=B(e,l),m=f[0],y=f[1]-f[2]-s*m;(m||y)&&_(e,l)&&(h+=y,p+=m);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&a>h)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-a>p)&&(c=!0),c},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},q=0,G=[];let K=(l=function(e){var t=h.useRef([]),r=h.useRef([0,0]),n=h.useRef(),i=h.useState(q++)[0],o=h.useState(E)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=$(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),p=h&&h.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var f=F(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=F(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return W(m,t,e,"h"===m?l:u,!0)},[]),l=h.useCallback(function(e){if(G.length&&G[G.length-1]===o){var r="deltaY"in e?H(e):$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=h.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=h.useCallback(function(e){r.current=$(e),n.current=void 0},[]),d=h.useCallback(function(t){u(t.type,H(t),t.target,a(t,e.lockRef.current))},[]),p=h.useCallback(function(t){u(t.type,$(t),t.target,a(t,e.lockRef.current))},[]);h.useEffect(function(){return G.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,I),document.addEventListener("touchmove",l,I),document.addEventListener("touchstart",c,I),function(){G=G.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,I),document.removeEventListener("touchmove",l,I),document.removeEventListener("touchstart",c,I)}},[]);var f=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?h.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(l),x);var X=h.forwardRef(function(e,t){return h.createElement(w,c({},e,{ref:t,sideCar:K}))});X.classNames=w.classNames;let Y=X},5772:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(97651),i=r.n(n)},6296:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},6962:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},7915:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},8195:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},8434:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]])},8678:(e,t,r)=>{"use strict";r.d(t,{bL:()=>k,zi:()=>A});var n=r(12115),i=r(70379),o=r(47527),s=r(68599),a=r(98979),l=r(83417),u=r(63509),c=r(99354),d=r(95155),h="Switch",[p,f]=(0,s.A)(h),[m,y]=p(h),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:s,checked:l,defaultChecked:u,required:p,disabled:f,value:y="on",onCheckedChange:g,form:v,...b}=e,[k,A]=n.useState(null),E=(0,o.s)(t,e=>A(e)),M=n.useRef(!1),S=!k||v||!!k.closest("form"),[C,P]=(0,a.i)({prop:l,defaultProp:u??!1,onChange:g,caller:h});return(0,d.jsxs)(m,{scope:r,checked:C,disabled:f,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":C,"aria-required":p,"data-state":x(C),"data-disabled":f?"":void 0,disabled:f,value:y,...b,ref:E,onClick:(0,i.mK)(e.onClick,e=>{P(e=>!e),S&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})}),S&&(0,d.jsx)(w,{control:k,bubbles:!M.current,name:s,value:y,checked:C,required:p,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});g.displayName=h;var v="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,i=y(v,r);return(0,d.jsx)(c.sG.span,{"data-state":x(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:t})});b.displayName=v;var w=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:i=!0,...s},a)=>{let c=n.useRef(null),h=(0,o.s)(c,a),p=(0,l.Z)(r),f=(0,u.X)(t);return n.useEffect(()=>{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[p,r,i]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:h,style:{...s.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}w.displayName="SwitchBubbleInput";var k=g,A=b},9199:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},10762:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},12590:(e,t)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:s}){let a=n?40*n:e,l=i?40*i:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},12651:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},13545:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},13986:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("clipboard-copy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]])},14897:(e,t,r)=>{"use strict";r.d(t,{C1:()=>x,bL:()=>w});var n=r(12115),i=r(95155);r(47650);var o=r(42442),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),s=n.forwardRef((e,n)=>{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?r:t,{...s,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),a="Progress",[l,u]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let s=n.createContext(o);s.displayName=t+"Context";let a=r.length;r=[...r,o];let l=t=>{let{scope:r,children:o,...l}=t,u=r?.[e]?.[a]||s,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[a]||s,u=n.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}(a),[c,d]=l(a),h=n.forwardRef((e,t)=>{var r,n;let{__scopeProgress:o,value:a=null,max:l,getValueLabel:u=m,...d}=e;(l||0===l)&&!v(l)&&console.error((r=`${l}`,`Invalid prop \`max\` of value \`${r}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let h=v(l)?l:100;null===a||b(a,h)||console.error((n=`${a}`,`Invalid prop \`value\` of value \`${n}\` supplied to \`Progress\`. The \`value\` prop must be:
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2059],{484:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]])},622:(e,t,r)=>{"use strict";r.d(t,{QP:()=>eh});let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),i=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let s=r.validators;if(null===s)return;let a=0===t?e.join("-"):e.slice(t).join("-"),l=s.length;for(let e=0;e<l;e++){let t=s[e];if(t.validator(a))return t.classGroupId}},s=(e,t)=>{let r=n();for(let n in e)a(e[n],r,n,t);return r},a=(e,t,r,n)=>{let i=e.length;for(let o=0;o<i;o++)l(e[o],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?u(e,t,r):"function"==typeof e?c(e,t,r,n):d(e,t,r,n)},u=(e,t,r)=>{(""===e?t:h(t,e)).classGroupId=r},c=(e,t,r,n)=>{p(e)?a(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},d=(e,t,r,n)=>{let i=Object.entries(e),o=i.length;for(let e=0;e<o;e++){let[o,s]=i[e];a(s,h(t,o),r,n)}},h=(e,t)=>{let r=e,i=t.split("-"),o=i.length;for(let e=0;e<o;e++){let t=i[e],o=r.nextPart.get(t);o||(o=n(),r.nextPart.set(t,o)),r=o}return r},p=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,f=[],m=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),y=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,k=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,M=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,S=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,C=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>k.test(e),T=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&T(e.slice(0,-1)),L=e=>A.test(e),D=()=>!0,O=e=>E.test(e)&&!M.test(e),V=()=>!1,N=e=>S.test(e),I=e=>C.test(e),z=e=>!_(e)&&!K(e),F=e=>er(e,es,V),_=e=>w.test(e),B=e=>er(e,ea,O),W=e=>er(e,el,T),$=e=>er(e,ec,D),H=e=>er(e,eu,V),U=e=>er(e,ei,V),q=e=>er(e,eo,I),G=e=>er(e,ed,N),K=e=>x.test(e),X=e=>en(e,ea),Y=e=>en(e,eu),Z=e=>en(e,ei),Q=e=>en(e,es),J=e=>en(e,eo),ee=e=>en(e,ed,!0),et=e=>en(e,ec,!0),er=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},en=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},ei=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,el=e=>"number"===e,eu=e=>"family-name"===e,ec=e=>"number"===e||"weight"===e,ed=e=>"shadow"===e,eh=((e,...t)=>{let r,n,a,l,u=e=>{let t=n(e);if(t)return t;let i=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(y),l="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!p,m=n(f?h.substring(0,p):h);if(!m){if(!f||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}f=!1}let y=0===c.length?"":1===c.length?c[0]:o(c).join(":"),g=d?y+"!":y,v=g+m;if(s.indexOf(v)>-1)continue;s.push(v);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];s.push(g+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return a(e,i),i};return l=c=>{var d;let h;return n=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,o)=>{r[i]=o,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}})((d=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,o=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===n&&0===i){if(":"===s){r.push(e.slice(o,a)),o=a+1;continue}if("/"===s){t=a;continue}}"["===s?n++:"]"===s?n--:"("===s?i++:")"===s&&i--}let a=0===r.length?e:e.slice(o),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),m(r,u,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):m(f,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(h=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{h.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n],o="["===i[0],s=h.has(i);o||s?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(i)):r.push(i)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return s(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,i;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(i=t.slice(0,n))?"arbitrary.."+i:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||i}return r[e]||i}}})(d)}).cache.get,a=r.cache.set,l=u,u(c)},(...e)=>l(((...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=g(t))&&(i&&(i+=" "),i+=r);return i})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),i=b("tracking"),o=b("leading"),s=b("breakpoint"),a=b("container"),l=b("spacing"),u=b("radius"),c=b("shadow"),d=b("inset-shadow"),h=b("text-shadow"),p=b("drop-shadow"),f=b("blur"),m=b("perspective"),y=b("aspect"),g=b("ease"),v=b("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...x(),K,_],A=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],M=()=>[K,_,l],S=()=>[P,"full","auto",...M()],C=()=>[R,"none","subgrid",K,_],O=()=>["auto",{span:["full",R,K,_]},R,K,_],V=()=>[R,"auto",K,_],N=()=>["auto","min","max","fr",K,_],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],er=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...M()],ei=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],eo=()=>[P,"screen","full","dvw","lvw","svw","min","max","fit",...M()],es=()=>[P,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],ea=()=>[e,K,_],el=()=>[...x(),Z,U,{position:[K,_]}],eu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ec=()=>["auto","cover","contain",Q,F,{size:[K,_]}],ed=()=>[j,X,B],eh=()=>["","none","full",u,K,_],ep=()=>["",T,X,B],ef=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ey=()=>[T,j,Z,U],eg=()=>["","none",f,K,_],ev=()=>["none",T,K,_],eb=()=>["none",T,K,_],ew=()=>[T,K,_],ex=()=>[P,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L],breakpoint:[L],color:[D],container:[L],"drop-shadow":[L],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L],shadow:[L],spacing:["px",T],text:[L],"text-shadow":[L],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,_,K,y]}],container:["container"],columns:[{columns:[T,_,K,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",K,_]}],basis:[{basis:[P,"full","auto",a,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[T,P,"auto","initial","none",_]}],grow:[{grow:["",T,K,_]}],shrink:[{shrink:["",T,K,_]}],order:[{order:[R,"first","last","none",K,_]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...er(),"normal"]}],"justify-self":[{"justify-self":["auto",...er()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...er(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...er(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...er(),"baseline"]}],"place-self":[{"place-self":["auto",...er()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:ei()}],"inline-size":[{inline:["auto",...eo()]}],"min-inline-size":[{"min-inline":["auto",...eo()]}],"max-inline-size":[{"max-inline":["none",...eo()]}],"block-size":[{block:["auto",...es()]}],"min-block-size":[{"min-block":["auto",...es()]}],"max-block-size":[{"max-block":["none",...es()]}],w:[{w:[a,"screen",...ei()]}],"min-w":[{"min-w":[a,"screen","none",...ei()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...ei()]}],h:[{h:["screen","lh",...ei()]}],"min-h":[{"min-h":["screen","lh","none",...ei()]}],"max-h":[{"max-h":["screen","lh",...ei()]}],"font-size":[{text:["base",r,X,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,_]}],"font-family":[{font:[Y,H,t]}],"font-features":[{"font-features":[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,K,_]}],"line-clamp":[{"line-clamp":[T,"none",K,W]}],leading:[{leading:[o,...M()]}],"list-image":[{"list-image":["none",K,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ea()}],"text-color":[{text:ea()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[T,"from-font","auto",K,B]}],"text-decoration-color":[{decoration:ea()}],"underline-offset":[{"underline-offset":[T,"auto",K,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:el()}],"bg-repeat":[{bg:eu()}],"bg-size":[{bg:ec()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,K,_],radial:["",K,_],conic:[R,K,_]},J,q]}],"bg-color":[{bg:ea()}],"gradient-from-pos":[{from:ed()}],"gradient-via-pos":[{via:ed()}],"gradient-to-pos":[{to:ed()}],"gradient-from":[{from:ea()}],"gradient-via":[{via:ea()}],"gradient-to":[{to:ea()}],rounded:[{rounded:eh()}],"rounded-s":[{"rounded-s":eh()}],"rounded-e":[{"rounded-e":eh()}],"rounded-t":[{"rounded-t":eh()}],"rounded-r":[{"rounded-r":eh()}],"rounded-b":[{"rounded-b":eh()}],"rounded-l":[{"rounded-l":eh()}],"rounded-ss":[{"rounded-ss":eh()}],"rounded-se":[{"rounded-se":eh()}],"rounded-ee":[{"rounded-ee":eh()}],"rounded-es":[{"rounded-es":eh()}],"rounded-tl":[{"rounded-tl":eh()}],"rounded-tr":[{"rounded-tr":eh()}],"rounded-br":[{"rounded-br":eh()}],"rounded-bl":[{"rounded-bl":eh()}],"border-w":[{border:ep()}],"border-w-x":[{"border-x":ep()}],"border-w-y":[{"border-y":ep()}],"border-w-s":[{"border-s":ep()}],"border-w-e":[{"border-e":ep()}],"border-w-bs":[{"border-bs":ep()}],"border-w-be":[{"border-be":ep()}],"border-w-t":[{"border-t":ep()}],"border-w-r":[{"border-r":ep()}],"border-w-b":[{"border-b":ep()}],"border-w-l":[{"border-l":ep()}],"divide-x":[{"divide-x":ep()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ep()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:ea()}],"border-color-x":[{"border-x":ea()}],"border-color-y":[{"border-y":ea()}],"border-color-s":[{"border-s":ea()}],"border-color-e":[{"border-e":ea()}],"border-color-bs":[{"border-bs":ea()}],"border-color-be":[{"border-be":ea()}],"border-color-t":[{"border-t":ea()}],"border-color-r":[{"border-r":ea()}],"border-color-b":[{"border-b":ea()}],"border-color-l":[{"border-l":ea()}],"divide-color":[{divide:ea()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[T,K,_]}],"outline-w":[{outline:["",T,X,B]}],"outline-color":[{outline:ea()}],shadow:[{shadow:["","none",c,ee,G]}],"shadow-color":[{shadow:ea()}],"inset-shadow":[{"inset-shadow":["none",d,ee,G]}],"inset-shadow-color":[{"inset-shadow":ea()}],"ring-w":[{ring:ep()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ea()}],"ring-offset-w":[{"ring-offset":[T,B]}],"ring-offset-color":[{"ring-offset":ea()}],"inset-ring-w":[{"inset-ring":ep()}],"inset-ring-color":[{"inset-ring":ea()}],"text-shadow":[{"text-shadow":["none",h,ee,G]}],"text-shadow-color":[{"text-shadow":ea()}],opacity:[{opacity:[T,K,_]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[T]}],"mask-image-linear-from-pos":[{"mask-linear-from":ey()}],"mask-image-linear-to-pos":[{"mask-linear-to":ey()}],"mask-image-linear-from-color":[{"mask-linear-from":ea()}],"mask-image-linear-to-color":[{"mask-linear-to":ea()}],"mask-image-t-from-pos":[{"mask-t-from":ey()}],"mask-image-t-to-pos":[{"mask-t-to":ey()}],"mask-image-t-from-color":[{"mask-t-from":ea()}],"mask-image-t-to-color":[{"mask-t-to":ea()}],"mask-image-r-from-pos":[{"mask-r-from":ey()}],"mask-image-r-to-pos":[{"mask-r-to":ey()}],"mask-image-r-from-color":[{"mask-r-from":ea()}],"mask-image-r-to-color":[{"mask-r-to":ea()}],"mask-image-b-from-pos":[{"mask-b-from":ey()}],"mask-image-b-to-pos":[{"mask-b-to":ey()}],"mask-image-b-from-color":[{"mask-b-from":ea()}],"mask-image-b-to-color":[{"mask-b-to":ea()}],"mask-image-l-from-pos":[{"mask-l-from":ey()}],"mask-image-l-to-pos":[{"mask-l-to":ey()}],"mask-image-l-from-color":[{"mask-l-from":ea()}],"mask-image-l-to-color":[{"mask-l-to":ea()}],"mask-image-x-from-pos":[{"mask-x-from":ey()}],"mask-image-x-to-pos":[{"mask-x-to":ey()}],"mask-image-x-from-color":[{"mask-x-from":ea()}],"mask-image-x-to-color":[{"mask-x-to":ea()}],"mask-image-y-from-pos":[{"mask-y-from":ey()}],"mask-image-y-to-pos":[{"mask-y-to":ey()}],"mask-image-y-from-color":[{"mask-y-from":ea()}],"mask-image-y-to-color":[{"mask-y-to":ea()}],"mask-image-radial":[{"mask-radial":[K,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":ey()}],"mask-image-radial-to-pos":[{"mask-radial-to":ey()}],"mask-image-radial-from-color":[{"mask-radial-from":ea()}],"mask-image-radial-to-color":[{"mask-radial-to":ea()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[T]}],"mask-image-conic-from-pos":[{"mask-conic-from":ey()}],"mask-image-conic-to-pos":[{"mask-conic-to":ey()}],"mask-image-conic-from-color":[{"mask-conic-from":ea()}],"mask-image-conic-to-color":[{"mask-conic-to":ea()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:el()}],"mask-repeat":[{mask:eu()}],"mask-size":[{mask:ec()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,_]}],filter:[{filter:["","none",K,_]}],blur:[{blur:eg()}],brightness:[{brightness:[T,K,_]}],contrast:[{contrast:[T,K,_]}],"drop-shadow":[{"drop-shadow":["","none",p,ee,G]}],"drop-shadow-color":[{"drop-shadow":ea()}],grayscale:[{grayscale:["",T,K,_]}],"hue-rotate":[{"hue-rotate":[T,K,_]}],invert:[{invert:["",T,K,_]}],saturate:[{saturate:[T,K,_]}],sepia:[{sepia:["",T,K,_]}],"backdrop-filter":[{"backdrop-filter":["","none",K,_]}],"backdrop-blur":[{"backdrop-blur":eg()}],"backdrop-brightness":[{"backdrop-brightness":[T,K,_]}],"backdrop-contrast":[{"backdrop-contrast":[T,K,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",T,K,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[T,K,_]}],"backdrop-invert":[{"backdrop-invert":["",T,K,_]}],"backdrop-opacity":[{"backdrop-opacity":[T,K,_]}],"backdrop-saturate":[{"backdrop-saturate":[T,K,_]}],"backdrop-sepia":[{"backdrop-sepia":["",T,K,_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[T,"initial",K,_]}],ease:[{ease:["linear","initial",g,K,_]}],delay:[{delay:[T,K,_]}],animate:[{animate:["none",v,K,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,K,_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[K,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ex()}],"translate-x":[{"translate-x":ex()}],"translate-y":[{"translate-y":ex()}],"translate-z":[{"translate-z":ex()}],"translate-none":["translate-none"],accent:[{accent:ea()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ea()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,_]}],fill:[{fill:["none",...ea()]}],"stroke-w":[{stroke:[T,X,B,W]}],stroke:[{stroke:["none",...ea()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},1709:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]])},1806:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]])},1933:(e,t,r)=>{"use strict";r.d(t,{jH:()=>o});var n=r(12115);r(95155);var i=n.createContext(void 0);function o(e){let t=n.useContext(i);return e||t||"ltr"}},2318:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]])},3636:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-dashed",[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]])},5174:(e,t,r)=>{"use strict";r.d(t,{A:()=>Y});var n,i,o,s,a,l,u,c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function d(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var h=("function"==typeof SuppressedError&&SuppressedError,r(12115)),p="right-scroll-bar-position",f="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var y="u">typeof window?h.useLayoutEffect:h.useEffect,g=new WeakMap,v=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),o=[],s=!1,a={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,s);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){s=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=c({async:!0,ssr:!1},n),a),b=function(){},w=h.forwardRef(function(e,t){var r,n,i,o,s=h.useRef(null),a=h.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),l=a[0],u=a[1],p=e.forwardProps,f=e.children,w=e.className,x=e.removeScrollBar,k=e.enabled,A=e.shards,E=e.sideCar,M=e.noRelative,S=e.noIsolation,C=e.inert,P=e.allowPinchZoom,T=e.as,R=e.gapMode,j=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=(r=[s,t],n=function(e){return r.forEach(function(t){return m(t,e)})},(i=(0,h.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,y(function(){var e=g.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||m(e,null)}),n.forEach(function(e){t.has(e)||m(e,i)})}g.set(o,r)},[r]),o),D=c(c({},j),l);return h.createElement(h.Fragment,null,k&&h.createElement(E,{sideCar:v,removeScrollBar:x,shards:A,noRelative:M,noIsolation:S,inert:C,setCallbacks:u,allowPinchZoom:!!P,lockRef:s,gapMode:R}),p?h.cloneElement(h.Children.only(f),c(c({},D),{ref:L})):h.createElement(void 0===T?"div":T,c({},D,{className:w,ref:L}),f))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:f,zeroRight:p};var x=function(e){var t=e.sideCar,r=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return h.createElement(n,c({},r))};x.isSideCarExport=!0;var k=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},A=function(){var e=k();return function(t,r){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},E=function(){var e=A();return function(t){return e(t.styles,t.dynamic),null}},M={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[S(r),S(n),S(i)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return M;var t=C(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},T=E(),R="data-scroll-locked",j=function(e,t,r,n){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(a,"px ").concat(n,";\n }\n body[").concat(R,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f," {\n margin-right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},L=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},D=function(){h.useEffect(function(){return document.body.setAttribute(R,(L()+1).toString()),function(){var e=L()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},O=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;D();var o=h.useMemo(function(){return P(i)},[i]);return h.createElement(T,{styles:j(o,!t,i,r?"":"!important")})},V=!1;if("u">typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){return V=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(e){V=!1}var I=!!V&&{passive:!1},z=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},F=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),_(e,n)){var i=B(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},_=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,r,n,i){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=r.target,u=t.contains(l),c=!1,d=a>0,h=0,p=0;do{if(!l)break;var f=B(e,l),m=f[0],y=f[1]-f[2]-s*m;(m||y)&&_(e,l)&&(h+=y,p+=m);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(h)||!i&&a>h)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-a>p)&&(c=!0),c},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},q=0,G=[];let K=(l=function(e){var t=h.useRef([]),r=h.useRef([0,0]),n=h.useRef(),i=h.useState(q++)[0],o=h.useState(E)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(U),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,o=$(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),p=h&&h.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var f=F(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=F(d,c)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var m=n.current||i;return W(m,t,e,"h"===m?l:u,!0)},[]),l=h.useCallback(function(e){if(G.length&&G[G.length-1]===o){var r="deltaY"in e?H(e):$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(s.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?a(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=h.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=h.useCallback(function(e){r.current=$(e),n.current=void 0},[]),d=h.useCallback(function(t){u(t.type,H(t),t.target,a(t,e.lockRef.current))},[]),p=h.useCallback(function(t){u(t.type,$(t),t.target,a(t,e.lockRef.current))},[]);h.useEffect(function(){return G.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,I),document.addEventListener("touchmove",l,I),document.addEventListener("touchstart",c,I),function(){G=G.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,I),document.removeEventListener("touchmove",l,I),document.removeEventListener("touchstart",c,I)}},[]);var f=e.removeScrollBar,m=e.inert;return h.createElement(h.Fragment,null,m?h.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?h.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(l),x);var X=h.forwardRef(function(e,t){return h.createElement(w,c({},e,{ref:t,sideCar:K}))});X.classNames=w.classNames;let Y=X},5772:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(97651),i=r.n(n)},6296:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},6962:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},7915:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},8195:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},8434:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("columns-2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]])},8678:(e,t,r)=>{"use strict";r.d(t,{bL:()=>k,zi:()=>A});var n=r(12115),i=r(70379),o=r(47527),s=r(68599),a=r(98979),l=r(83417),u=r(63509),c=r(99354),d=r(95155),h="Switch",[p,f]=(0,s.A)(h),[m,y]=p(h),g=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:s,checked:l,defaultChecked:u,required:p,disabled:f,value:y="on",onCheckedChange:g,form:v,...b}=e,[k,A]=n.useState(null),E=(0,o.s)(t,e=>A(e)),M=n.useRef(!1),S=!k||v||!!k.closest("form"),[C,P]=(0,a.i)({prop:l,defaultProp:u??!1,onChange:g,caller:h});return(0,d.jsxs)(m,{scope:r,checked:C,disabled:f,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":C,"aria-required":p,"data-state":x(C),"data-disabled":f?"":void 0,disabled:f,value:y,...b,ref:E,onClick:(0,i.mK)(e.onClick,e=>{P(e=>!e),S&&(M.current=e.isPropagationStopped(),M.current||e.stopPropagation())})}),S&&(0,d.jsx)(w,{control:k,bubbles:!M.current,name:s,value:y,checked:C,required:p,disabled:f,form:v,style:{transform:"translateX(-100%)"}})]})});g.displayName=h;var v="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,i=y(v,r);return(0,d.jsx)(c.sG.span,{"data-state":x(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:t})});b.displayName=v;var w=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:i=!0,...s},a)=>{let c=n.useRef(null),h=(0,o.s)(c,a),p=(0,l.Z)(r),f=(0,u.X)(t);return n.useEffect(()=>{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[p,r,i]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:h,style:{...s.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}w.displayName="SwitchBubbleInput";var k=g,A=b},9199:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},10762:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},12590:(e,t)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:s}){let a=n?40*n:e,l=i?40*i:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},12651:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},13545:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},13986:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("clipboard-copy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]])},14897:(e,t,r)=>{"use strict";r.d(t,{C1:()=>x,bL:()=>w});var n=r(12115),i=r(95155);r(47650);var o=r(42442),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),s=n.forwardRef((e,n)=>{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?r:t,{...s,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),a="Progress",[l,u]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let s=n.createContext(o);s.displayName=t+"Context";let a=r.length;r=[...r,o];let l=t=>{let{scope:r,children:o,...l}=t,u=r?.[e]?.[a]||s,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[a]||s,u=n.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}(a),[c,d]=l(a),h=n.forwardRef((e,t)=>{var r,n;let{__scopeProgress:o,value:a=null,max:l,getValueLabel:u=m,...d}=e;(l||0===l)&&!v(l)&&console.error((r=`${l}`,`Invalid prop \`max\` of value \`${r}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let h=v(l)?l:100;null===a||b(a,h)||console.error((n=`${a}`,`Invalid prop \`value\` of value \`${n}\` supplied to \`Progress\`. The \`value\` prop must be:
2
2
  - a positive number
3
3
  - less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
4
4
  - \`null\` or \`undefined\` if the progress is indeterminate.
@@ -16,5 +16,5 @@ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpattern
16
16
  ${p}px !important;
17
17
  ${y}px !important;
18
18
  }
19
- `),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(g)&&v.removeChild(g)}},[t]),(0,n.jsx)(h,{isPresent:t,childRef:u,sizeRef:f,pop:a,children:!1===a?e:i.cloneElement(e,{ref:y})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:a,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:h,root:f})=>{let y=(0,s.M)(m),g=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>(v=!1,{id:g,initial:t,isPresent:r,custom:a,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;o&&o()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[r,y,o]);return u&&v&&(b={...b}),(0,i.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[r]),i.useEffect(()=>{r||y.size||!o||o()},[r]),e=(0,n.jsx)(p,{pop:"popLayout"===c,isPresent:r,anchorX:d,anchorY:h,root:f,children:e}),(0,n.jsx)(l.t.Provider,{value:b,children:e})};function m(){return new Map}var y=r(79196);let g=e=>e.key||"";function v(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:m})=>{let[b,w]=(0,y.xQ)(d),x=(0,i.useMemo)(()=>v(e),[e]),k=d&&!b?[]:x.map(g),A=(0,i.useRef)(!0),E=(0,i.useRef)(x),M=(0,s.M)(()=>new Map),S=(0,i.useRef)(new Set),[C,P]=(0,i.useState)(x),[T,R]=(0,i.useState)(x);(0,a.E)(()=>{A.current=!1,E.current=x;for(let e=0;e<T.length;e++){let t=g(T[e]);k.includes(t)?(M.delete(t),S.current.delete(t)):!0!==M.get(t)&&M.set(t,!1)}},[T,k.length,k.join("-")]);let j=[];if(x!==C){let e=[...x];for(let t=0;t<T.length;t++){let r=T[t],n=g(r);k.includes(n)||(e.splice(t,0,r),j.push(r))}return"wait"===c&&j.length&&(e=j),R(v(e)),P(x),null}let{forceRender:L}=(0,i.useContext)(o.L);return(0,n.jsx)(n.Fragment,{children:T.map(e=>{let i=g(e),o=(!d||!!b)&&(x===T||k.includes(i));return(0,n.jsx)(f,{isPresent:o,initial:(!A.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:m,onExitComplete:o?void 0:()=>{if(S.current.has(i)||!M.has(i))return;S.current.add(i),M.set(i,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(L?.(),R(E.current),d&&w?.(),l&&l())},anchorX:h,anchorY:p,children:e},i)})})}},80878:(e,t,r)=>{"use strict";let n;r.d(t,{Mz:()=>eX,i3:()=>eZ,UC:()=>eY,bL:()=>eK,Bk:()=>eL});var i=r(12115);let o=["top","right","bottom","left"],s=Math.min,a=Math.max,l=Math.round,u=Math.floor,c=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],w=["right","left"],x=["top","bottom"],k=["bottom","top"];function A(e){let t=p(e);return d[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function M(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function S(e,t,r){let n,{reference:i,floating:o}=e,s=g(t),a=m(g(t)),l=y(a),u=p(t),c="y"===s,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,v=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(f(t)){case"start":n[a]-=v*(r&&c?-1:1);break;case"end":n[a]+=v*(r&&c?-1:1)}return n}async function C(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=h(t,e),m=E(f),y=a[p?"floating"===d?"reference":"floating":d],g=M(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(y)))||r?y:y.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=M(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-x.top+m.top)/w.y,bottom:(x.bottom-g.bottom+m.bottom)/w.y,left:(g.left-x.left+m.left)/w.x,right:(x.right-g.right+m.right)/w.x}}let P=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=s.detectOverflow?s:{...s,detectOverflow:C},l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=S(u,n,l),h=n,p=0,f={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:y,fn:g}=m,{x:v,y:b,data:w,reset:x}=await g({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,f[y]={...f[y],...w},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:d}=S(u,h,l)),r=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:f}};function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return o.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function L(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),s=p(r),a=f(r),l="y"===g(r),u=j.has(s)?-1:1,c=o&&l?-1:1,d=h(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),l?{x:y*c,y:m*u}:{x:m*u,y:y*c}}function D(){return"u">typeof window}function O(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!D()&&(e instanceof Node||e instanceof V(e).Node)}function z(e){return!!D()&&(e instanceof Element||e instanceof V(e).Element)}function F(e){return!!D()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function _(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function B(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function W(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let $=/transform|translate|scale|rotate|perspective|filter/,H=/paint|layout|strict|content/,U=e=>!!e&&"none"!==e;function q(e){let t=z(e)?X(e):e;return U(t.transform)||U(t.translate)||U(t.scale)||U(t.rotate)||U(t.perspective)||!G()&&(U(t.backdropFilter)||U(t.filter))||$.test(t.willChange||"")||H.test(t.contain||"")}function G(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function K(e){return/^(html|body|#document)$/.test(O(e))}function X(e){return V(e).getComputedStyle(e)}function Y(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||N(e);return _(t)?t.host:t}function Q(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=Z(t);return K(r)?t.ownerDocument?t.ownerDocument.body:t.body:F(r)&&B(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=V(i);if(!o)return t.concat(i,Q(i,[],r));{let e=J(s);return t.concat(s,s.visualViewport||[],B(i)?i:[],e&&r?Q(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=X(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=F(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=l(r)!==o||l(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function et(e){return z(e)?e:e.contextElement}function er(e){let t=et(e);if(!F(t))return c(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ee(t),s=(o?l(r.width):r.width)/n,a=(o?l(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let en=c(0);function ei(e){let t=V(e);return G()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function eo(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=et(e),a=c(1);t&&(n?z(n)&&(a=er(n)):a=er(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===V(s))&&i)?ei(s):c(0),u=(o.left+l.x)/a.x,d=(o.top+l.y)/a.y,h=o.width/a.x,p=o.height/a.y;if(s){let e=V(s),t=n&&z(n)?V(n):n,r=e,i=J(r);for(;i&&n&&t!==r;){let e=er(i),t=i.getBoundingClientRect(),n=X(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,d*=e.y,h*=e.x,p*=e.y,u+=o,d+=s,i=J(r=V(i))}}return M({width:h,height:p,x:u,y:d})}function es(e,t){let r=Y(e).scrollLeft;return t?t.left+r:eo(N(e)).left+r}function ea(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-es(e,r),y:r.top+t.scrollTop}}function el(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=V(e),n=N(e),i=r.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=G();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let u=es(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else u<=25&&(o+=u);return{width:o,height:s,x:a,y:l}}(e,r);else if("document"===t){let t,r,o,s,l,u,c;n=N(e),t=N(n),r=Y(n),o=n.ownerDocument.body,s=a(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=a(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-r.scrollLeft+es(n),c=-r.scrollTop,"rtl"===X(o).direction&&(u+=a(t.clientWidth,o.clientWidth)-s),i={width:s,height:l,x:u,y:c}}else if(z(t)){let e,n,o,s,a,l;n=(e=eo(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,s=F(t)?er(t):c(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,i={width:a,height:l,x:o*s.x,y:n*s.y}}else{let r=ei(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return M(i)}function eu(e){return"static"===X(e).position}function ec(e,t){if(!F(e)||"fixed"===X(e).position)return null;if(t)return t(e);let r=e.offsetParent;return N(e)===r&&(r=r.ownerDocument.body),r}function ed(e,t){var r;let n=V(e);if(W(e))return n;if(!F(e)){let t=Z(e);for(;t&&!K(t);){if(z(t)&&!eu(t))return t;t=Z(t)}return n}let i=ec(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(O(r)))&&eu(i);)i=ec(i,t);return i&&K(i)&&eu(i)&&!q(i)?n:i||function(e){let t=Z(e);for(;F(t)&&!K(t);){if(q(t))return t;if(W(t))break;t=Z(t)}return null}(e)||n}let eh=async function(e){let t=this.getOffsetParent||ed,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=F(t),i=N(t),o="fixed"===r,s=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=c(0);if(n||!n&&!o)if(("body"!==O(t)||B(i))&&(a=Y(t)),n){let e=eo(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=es(i));o&&!n&&i&&(l.x=es(i));let u=!i||n||o?c(0):ea(i,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,s=N(n),a=!!t&&W(t.floating);if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),h=F(n);if((h||!h&&!o)&&(("body"!==O(n)||B(s))&&(l=Y(n)),h)){let e=eo(n);u=er(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let p=!s||h||o?c(0):ea(s,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:r.y*u.y-l.scrollTop*u.y+d.y+p.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?W(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=Q(e,[],!1).filter(e=>z(e)&&"body"!==O(e)),i=null,o="fixed"===X(e).position,s=o?Z(e):e;for(;z(s)&&!K(s);){let t=X(s),r=q(s);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||B(s)&&!r&&function e(t,r){let n=Z(t);return!(n===r||!z(n)||K(n))&&("fixed"===X(n).position||e(n,r))}(e,s)))?i=t:n=n.filter(e=>e!==s),s=Z(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=el(t,o[0],i),u=l.top,c=l.right,d=l.bottom,h=l.left;for(let e=1;e<o.length;e++){let r=el(t,o[e],i);u=a(r.top,u),c=s(r.right,c),d=s(r.bottom,d),h=a(r.left,h)}return{width:c-h,height:d-u,x:h,y:u}},getOffsetParent:ed,getElementRects:eh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ee(e);return{width:t,height:r}},getScale:er,isElement:z,isRTL:function(e){return"rtl"===X(e).direction}};function ef(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:p=0}=h(e,t)||{};if(null==d)return{};let v=E(p),b={x:r,y:n},w=m(g(i)),x=y(w),k=await l.getDimensions(d),A="y"===w,M=A?"clientHeight":"clientWidth",S=o.reference[x]+o.reference[w]-b[w]-o.floating[x],C=b[w]-o.reference[w],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),T=P?P[M]:0;T&&await (null==l.isElement?void 0:l.isElement(P))||(T=u.floating[M]||o.floating[x]);let R=T/2-k[x]/2-1,j=s(v[A?"top":"left"],R),L=s(v[A?"bottom":"right"],R),D=T-k[x]-L,O=T/2-k[x]/2+(S/2-C/2),V=a(j,s(O,D)),N=!c.arrow&&null!=f(i)&&O!==V&&o.reference[x]/2-(O<j?j:L)-k[x]/2<0,I=N?O<j?O-j:O-D:0;return{[w]:b[w]+I,data:{[w]:V,centerOffset:O-V-I,...N&&{alignmentOffset:I}},reset:N}}});var ey=r(47650),eg="u">typeof document?i.useLayoutEffect:function(){};function ev(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ev(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!ev(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eb(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ew(e,t){let r=eb(e);return Math.round(t*r)/r}function ex(e){let t=i.useRef(e);return eg(()=>{t.current=e}),t}var ek=r(99354),eA=r(95155),eE=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eA.jsx)(ek.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eA.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eM=r(47527),eS=r(68599),eC=r(17347),eP=r(66294),eT=r(63509),eR="Popper",[ej,eL]=(0,eS.A)(eR),[eD,eO]=ej(eR),eV=e=>{let{__scopePopper:t,children:r}=e,[n,o]=i.useState(null);return(0,eA.jsx)(eD,{scope:t,anchor:n,onAnchorChange:o,children:r})};eV.displayName=eR;var eN="PopperAnchor",eI=i.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,s=eO(eN,r),a=i.useRef(null),l=(0,eM.s)(t,a),u=i.useRef(null);return i.useEffect(()=>{let e=u.current;u.current=n?.current||a.current,e!==u.current&&s.onAnchorChange(u.current)}),n?null:(0,eA.jsx)(ek.sG.div,{...o,ref:l})});eI.displayName=eN;var ez="PopperContent",[eF,e_]=ej(ez),eB=i.forwardRef((e,t)=>{var r,n,o,l,c,d,E,M,S,C,D,O,V,I,z,F,_,B,W,$,H;let U,q,G,K,X,Y,{__scopePopper:Z,side:J="bottom",sideOffset:ee=0,align:er="center",alignOffset:en=0,arrowPadding:ei=0,avoidCollisions:es=!0,collisionBoundary:ea=[],collisionPadding:el=0,sticky:eu="partial",hideWhenDetached:ec=!1,updatePositionStrategy:ed="optimized",onPlaced:eh,...eE}=e,eS=eO(ez,Z),[eR,ej]=i.useState(null),eL=(0,eM.s)(t,e=>ej(e)),[eD,eV]=i.useState(null),eN=(0,eT.X)(eD),eI=eN?.width??0,e_=eN?.height??0,eB="number"==typeof el?el:{top:0,right:0,bottom:0,left:0,...el},eW=Array.isArray(ea)?ea:[ea],e$=eW.length>0,eH={padding:eB,boundary:eW.filter(eU),altBoundary:e$},{refs:eK,floatingStyles:eX,placement:eY,isPositioned:eZ,middlewareData:eQ}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=i.useState(n);ev(p,n)||f(n);let[m,y]=i.useState(null),[g,v]=i.useState(null),b=i.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),w=i.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=s||m,k=a||g,A=i.useRef(null),E=i.useRef(null),M=i.useRef(d),S=null!=u,C=ex(u),T=ex(o),R=ex(c),j=i.useCallback(()=>{var e,n;let i,o,s;if(!A.current||!E.current)return;let a={placement:t,strategy:r,middleware:p};T.current&&(a.platform=T.current),(e=A.current,n=E.current,i=new Map,s={...(o={platform:ep,...a}).platform,_c:i},P(e,n,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==R.current};L.current&&!ev(M.current,t)&&(M.current=t,ey.flushSync(()=>{h(t)}))})},[p,t,r,T,R]);eg(()=>{!1===c&&M.current.isPositioned&&(M.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let L=i.useRef(!1);eg(()=>(L.current=!0,()=>{L.current=!1}),[]),eg(()=>{if(x&&(A.current=x),k&&(E.current=k),x&&k){if(C.current)return C.current(x,k,j);j()}},[x,k,j,C,S]);let D=i.useMemo(()=>({reference:A,floating:E,setReference:b,setFloating:w}),[b,w]),O=i.useMemo(()=>({reference:x,floating:k}),[x,k]),V=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!O.floating)return e;let t=ew(O.floating,d.x),n=ew(O.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eb(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,O.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:j,refs:D,elements:O,floatingStyles:V}),[d,j,D,O,V])}({strategy:"fixed",placement:J+("center"!==er?"-"+er:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:h=!1}=n,p=et(e),f=o||l?[...p?Q(p):[],...t?Q(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let m=p&&d?function(e,t){let r,n=null,i=N(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function l(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),o();let h=e.getBoundingClientRect(),{left:p,top:f,width:m,height:y}=h;if(c||t(),!m||!y)return;let g={rootMargin:-u(f)+"px "+-u(i.clientWidth-(p+m))+"px "+-u(i.clientHeight-(f+y))+"px "+-u(p)+"px",threshold:a(0,s(1,d))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==d){if(!v)return l();n?l(!1,n):r=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==n||ef(h,e.getBoundingClientRect())||l(),v=!1}try{n=new IntersectionObserver(b,{...g,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(b,g)}n.observe(e)}(!0),o}(p,r):null,y=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),p&&!h&&g.observe(p),t&&g.observe(t));let v=h?eo(e):null;return h&&function t(){let n=eo(e);v&&!ef(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,h&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===ed}),elements:{reference:eS.anchor},middleware:[{name:(U={name:"offset",options:o=r={mainAxis:ee+e_,alignmentAxis:en},async fn(e){var t,r;let{x:n,y:i,placement:s,middlewareData:a}=e,l=await L(e,o);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:s}}}}).name,fn:U.fn,options:[r,n]},es&&{name:(q={name:"shift",options:S=E={mainAxis:!0,crossAxis:!1,limiter:"partial"===eu?{fn:(void 0===(d=l)&&(d={}),{options:d,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:s=0,mainAxis:a=!0,crossAxis:l=!0}=h(d,e),u={x:t,y:r},c=g(n),f=m(c),y=u[f],v=u[c],b=h(s,e),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(a){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+w.mainAxis,r=i.reference[f]+i.reference[e]-w.mainAxis;y<t?y=t:y>r&&(y=r)}if(l){var x,k;let e="y"===f?"width":"height",t=j.has(p(n)),r=i.reference[c]-i.floating[e]+(t&&(null==(x=o.offset)?void 0:x[c])||0)+(t?0:w.crossAxis),s=i.reference[c]+i.reference[e]+(t?0:(null==(k=o.offset)?void 0:k[c])||0)-(t?w.crossAxis:0);v<r?v=r:v>s&&(v=s)}return{[f]:y,[c]:v}}}).fn,options:[l,c]}:void 0,...eH},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=h(S,e),d={x:t,y:r},f=await i.detectOverflow(e,c),y=g(p(n)),v=m(y),b=d[v],w=d[y];if(o){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=b+f[e],n=b-f[t];b=a(r,s(b,n))}if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=w+f[e],n=w-f[t];w=a(r,s(w,n))}let x=u.fn({...e,[v]:b,[y]:w});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[v]:o,[y]:l}}}}}).name,fn:q.fn,options:[E,M]},es&&{name:(G={name:"flip",options:O=C={...eH},async fn(e){var t,r,n,i,o,s,a,l;let u,c,d,{placement:E,middlewareData:M,rects:S,initialPlacement:C,platform:P,elements:T}=e,{mainAxis:R=!0,crossAxis:j=!0,fallbackPlacements:L,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:N=!0,...I}=h(O,e);if(null!=(t=M.arrow)&&t.alignmentOffset)return{};let z=p(E),F=g(C),_=p(C)===C,B=await (null==P.isRTL?void 0:P.isRTL(T.floating)),W=L||(_||!N?[A(C)]:(u=A(C),[v(C),u,v(u)])),$="none"!==V;!L&&$&&W.push(...(c=f(C),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?w:b;return t?b:w;case"left":case"right":return t?x:k;default:return[]}}(p(C),"start"===V,B),c&&(d=d.map(e=>e+"-"+c),N&&(d=d.concat(d.map(v)))),d));let H=[C,...W],U=await P.detectOverflow(e,I),q=[],G=(null==(r=M.flip)?void 0:r.overflows)||[];if(R&&q.push(U[z]),j){let e,t,r,n,i=(s=E,a=S,void 0===(l=B)&&(l=!1),e=f(s),r=y(t=m(g(s))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[r]>a.floating[r]&&(n=A(n)),[n,A(n)]);q.push(U[i[0]],U[i[1]])}if(G=[...G,{placement:E,overflows:q}],!q.every(e=>e<=0)){let e=((null==(n=M.flip)?void 0:n.index)||0)+1,t=H[e];if(t&&("alignment"!==j||F===g(t)||G.every(e=>g(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let r=null==(i=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(D){case"bestFit":{let e=null==(o=G.filter(e=>{if($){let t=g(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=C}if(E!==r)return{reset:{placement:r}}}return{}}}).name,fn:G.fn,options:[C,D]},{name:(K={name:"size",options:z=V={...eH,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:l,platform:u,elements:c}=e,{apply:d=()=>{},...m}=h(z,e),y=await u.detectOverflow(e,m),v=p(o),b=f(o),w="y"===g(o),{width:x,height:k}=l.floating;"top"===v||"bottom"===v?(n=v,i=b===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(i=v,n="end"===b?"top":"bottom");let A=k-y.top-y.bottom,E=x-y.left-y.right,M=s(k-y[n],A),S=s(x-y[i],E),C=!e.middlewareData.shift,P=M,T=S;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=E),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=A),C&&!b){let e=a(y.left,0),t=a(y.right,0),r=a(y.top,0),n=a(y.bottom,0);w?T=x-2*(0!==e||0!==t?e+t:a(y.left,y.right)):P=k-2*(0!==r||0!==n?r+n:a(y.top,y.bottom))}await d({...e,availableWidth:T,availableHeight:P});let R=await u.getDimensions(c.floating);return x!==R.width||k!==R.height?{reset:{rects:!0}}:{}}}).name,fn:K.fn,options:[V,I]},eD&&{name:(X={name:"arrow",options:B=F={element:eD,padding:ei},fn(e){let{element:t,padding:r}="function"==typeof B?B(e):B;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?em({element:t.current,padding:r}).fn(e):{}:t?em({element:t,padding:r}).fn(e):{}}}).name,fn:X.fn,options:[F,_]},eq({arrowWidth:eI,arrowHeight:e_}),ec&&{name:(Y={name:"hide",options:H=W={strategy:"referenceHidden",...eH},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=h(H,e);switch(n){case"referenceHidden":{let n=T(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:R(n)}}}case"escaped":{let n=T(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:R(n)}}}default:return{}}}}).name,fn:Y.fn,options:[W,$]}]}),[eJ,e0]=eG(eY),e1=(0,eC.c)(eh);(0,eP.N)(()=>{eZ&&e1?.()},[eZ,e1]);let e2=eQ.arrow?.x,e5=eQ.arrow?.y,e4=eQ.arrow?.centerOffset!==0,[e9,e3]=i.useState();return(0,eP.N)(()=>{eR&&e3(window.getComputedStyle(eR).zIndex)},[eR]),(0,eA.jsx)("div",{ref:eK.setFloating,"data-radix-popper-content-wrapper":"",style:{...eX,transform:eZ?eX.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e9,"--radix-popper-transform-origin":[eQ.transformOrigin?.x,eQ.transformOrigin?.y].join(" "),...eQ.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eA.jsx)(eF,{scope:Z,placedSide:eJ,onArrowChange:eV,arrowX:e2,arrowY:e5,shouldHideArrow:e4,children:(0,eA.jsx)(ek.sG.div,{"data-side":eJ,"data-align":e0,...eE,ref:eL,style:{...eE.style,animation:eZ?void 0:"none"}})})})});eB.displayName=ez;var eW="PopperArrow",e$={top:"bottom",right:"left",bottom:"top",left:"right"},eH=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=e_(eW,r),o=e$[i.placedSide];return(0,eA.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eA.jsx)(eE,{...n,ref:t,style:{...n.style,display:"block"}})})});function eU(e){return null!==e}eH.displayName=eW;var eq=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=eG(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,h=(i.arrow?.y??0)+a/2,p="",f="";return"bottom"===l?(p=o?c:`${d}px`,f=`${-a}px`):"top"===l?(p=o?c:`${d}px`,f=`${n.floating.height+a}px`):"right"===l?(p=`${-a}px`,f=o?c:`${h}px`):"left"===l&&(p=`${n.floating.width+a}px`,f=o?c:`${h}px`),{data:{x:p,y:f}}}});function eG(e){let[t,r="center"]=e.split("-");return[t,r]}var eK=eV,eX=eI,eY=eB,eZ=eH},82407:()=>{},83417:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(12115);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},83935:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n=r(12115),i=r(47527),o=r(66294),s=e=>{var t;let r,s,{present:l,children:u}=e,c=function(e){var t,r;let[i,s]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=a(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=a(l.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(h("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=a(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),h=(0,i.s)(c.ref,(t=d,(s=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(s=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:h}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence"},84980:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},85787:(e,t,r)=>{"use strict";let n,i,o,s;r.d(t,{P:()=>oN});let a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set(a),u=(e,t,r)=>r>t?t:r<e?e:r,c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},d={...c,transform:e=>u(0,1,e)},h={...c,default:1},p=e=>Math.round(1e5*e)/1e5,f=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,y=(e,t)=>r=>!!("string"==typeof r&&m.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),g=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,s,a]=n.match(f);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},v={...c,transform:e=>Math.round(u(0,255,e))},b={test:y("rgb","red"),parse:g("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+v.transform(e)+", "+v.transform(t)+", "+v.transform(r)+", "+p(d.transform(n))+")"},w={test:y("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:b.transform},x=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),k=x("deg"),A=x("%"),E=x("px"),M=x("vh"),S=x("vw"),C={...A,parse:e=>A.parse(e)/100,transform:e=>A.transform(100*e)},P={test:y("hsl","hue"),parse:g("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+A.transform(p(t))+", "+A.transform(p(r))+", "+p(d.transform(n))+")"},T={test:e=>b.test(e)||w.test(e)||P.test(e),parse:e=>b.test(e)?b.parse(e):P.test(e)?P.parse(e):w.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?b.transform(e):P.transform(e),getAnimatableNone:e=>{let t=T.parse(e);return t.alpha=0,T.transform(t)}},R=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",L="color",D=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function O(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,s=t.replace(D,e=>(T.test(e)?(n.color.push(o),i.push(L),r.push(T.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(j),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:s,indexes:n,types:i}}function V({split:e,types:t}){let r=e.length;return n=>{let i="";for(let o=0;o<r;o++)if(i+=e[o],void 0!==n[o]){let e=t[o];e===j?i+=p(n[o]):e===L?i+=T.transform(n[o]):i+=n[o]}return i}}let N={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(f)?.length||0)+(e.match(R)?.length||0)>0},parse:function(e){return O(e).values},createTransformer:function(e){return V(O(e))},getAnimatableNone:function(e){let t=O(e);return V(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:T.test(e)?T.getAnimatableNone(e):e)(e,t.split[r])))}},I=new Set(["brightness","contrast","saturate","opacity"]);function z(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(f)||[];if(!n)return e;let i=r.replace(n,""),o=+!!I.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let F=/\b([a-z-]*)\(.*?\)/gu,_={...N,getAnimatableNone:e=>{let t=e.match(F);return t?t.map(z).join(" "):e}},B={...N,getAnimatableNone:e=>{let t=N.parse(e);return N.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},W={...c,transform:Math.round},$={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E,rotate:k,rotateX:k,rotateY:k,rotateZ:k,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:k,skewX:k,skewY:k,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:d,originX:C,originY:C,originZ:E,zIndex:W,fillOpacity:d,strokeOpacity:d,numOctaves:W},H={...$,color:T,backgroundColor:T,outlineColor:T,fill:T,stroke:T,borderColor:T,borderTopColor:T,borderRightColor:T,borderBottomColor:T,borderLeftColor:T,filter:_,WebkitFilter:_,mask:B,WebkitMask:B},U=e=>H[e],q=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:q(),y:q()}),K=()=>({min:0,max:0}),X=()=>({x:K(),y:K()}),Y=e=>!!(e&&e.getVelocity),Z=new Set(["width","height","top","left","right","bottom",...a]),Q=e=>t=>t.test(e),J=[c,E,A,k,S,M,{test:e=>"auto"===e,parse:e=>e}],ee=e=>J.find(Q(e));r(41463);let et=()=>{},er=()=>{},en=e=>t=>"string"==typeof t&&t.startsWith(e),ei=en("--"),eo=en("var(--"),es=e=>!!eo(e)&&ea.test(e.split("/*")[0].trim()),ea=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function el(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let eu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ec=e=>180*e/Math.PI,ed=e=>ep(ec(Math.atan2(e[1],e[0]))),eh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ed,rotateZ:ed,skewX:e=>ec(Math.atan(e[1])),skewY:e=>ec(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ep=e=>((e%=360)<0&&(e+=360),e),ef=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),em=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ey={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ef,scaleY:em,scale:e=>(ef(e)+em(e))/2,rotateX:e=>ep(ec(Math.atan2(e[6],e[5]))),rotateY:e=>ep(ec(Math.atan2(-e[2],e[0]))),rotateZ:ed,rotate:ed,skewX:e=>ec(Math.atan(e[4])),skewY:e=>ec(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ev(e,t){let r,n;if(!e||"none"===e)return eg(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=ey,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eh,n=t}if(!n)return eg(t);let o=r[t],s=n[1].split(",").map(eb);return"function"==typeof o?o(s):s[o]}function eb(e){return parseFloat(e.trim())}let ew=e=>e===c||e===E,ex=new Set(["x","y","z"]),ek=a.filter(e=>!ex.has(e)),eA={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ev(t,"x"),y:(e,{transform:t})=>ev(t,"y")};eA.translateX=eA.x,eA.translateY=eA.y;let eE=e=>e,eM={},eS=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,s=eS.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,o=!1)=>{let a=o&&i?r:n;return t&&s.add(e),a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(a=e,i){o=!0;return}i=!0;let s=r;r=n,n=s,r.forEach(u),t,l=0,r.clear(),i=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:f}=s,m=()=>{let o=eM.useManualTiming,s=o?i.timestamp:performance.now();r=!1,o||(i.delta=n?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),p.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eS.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<eS.length;t++)s[eS[t]].cancel(e)},state:i,steps:s}}let{schedule:eP,cancel:eT,state:eR,steps:ej}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eE,!0),eL=new Set,eD=!1,eO=!1,eV=!1;function eN(){if(eO){let e=Array.from(eL).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],ek.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eO=!1,eD=!1,eL.forEach(e=>e.complete(eV)),eL.clear()}function eI(){eL.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eO=!0)})}class ez{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eL.add(this),eD||(eD=!0,eP.read(eI),eP.resolveKeyframes(eN))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eL.delete(this)}cancel(){"scheduled"===this.state&&(eL.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eF=new Set([_,B]);function e_(e,t){let r=U(e);return eF.has(r)||(r=N),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eB=new Set(["auto","none","0"]);class eW extends ez{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&es(n=n.trim())){let i=function e(t,r,n=1){er(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=eu.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let s=window.getComputedStyle(r).getPropertyValue(i);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return es(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Z.has(r)||2!==e.length)return;let[n,i]=e,o=ee(n),s=ee(i);if(el(n)!==el(i)&&eA[r]){this.needsMeasurement=!0;return}if(o!==s)if(ew(o)&&ew(s))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eA[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!eB.has(t)&&O(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=e_(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eA[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,o=r[i];r[i]=eA[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let e$=e=>1e3*e;function eH(e,t){-1===e.indexOf(t)&&e.push(t)}function eU(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class eq{constructor(){this.subscriptions=[]}add(e){return eH(this.subscriptions,e),()=>eU(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eG(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function eK(e){let t;return()=>(void 0===t&&(t=e()),t)}let eX={};function eY(e,t){let r=eK(e);return()=>eX[t]??r()}let eZ=eY(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function eJ(e,{repeat:t,repeatType:r="loop"},n,i=1){let o=e.filter(eQ),s=i<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}class e0{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e1={layout:0,mainThread:0,waapi:0},e2=e=>Array.isArray(e)&&"number"==typeof e[0],e5=eY(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e4=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e9=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e9([0,.65,.55,1]),circOut:e9([.55,0,1,.45]),backIn:e9([.31,.01,.66,-.59]),backOut:e9([.33,1.53,.69,.99])};function e6(e){return"function"==typeof e&&"applyToOptions"in e}class e7 extends e0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,er("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e6(e)&&e5()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?e5()?e4(t,r):"ease-out":e2(t)?e9(t):Array.isArray(t)?t.map(t=>e(t,r)||e3.easeOut):e3[t]}(a,i);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(c,h);return p}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eJ(n,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eG(t,r,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eZ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eE):n(this)}}let e8=new Set(["opacity","clipPath","filter","transform"]),{schedule:te}=eC(queueMicrotask,!1);function tt(){n=void 0}let tr={now:()=>(void 0===n&&tr.set(eR.isProcessing||eM.useManualTiming?eR.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tt)}};class tn{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tr.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tr.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eq);let r=this.events[e].add(t);return"change"===e?()=>{r(),eP.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s&&s.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tr.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ti(e,t){return new tn(e,t)}let to=[...J,T,N],ts=new WeakMap;function ta(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tl(e){return"string"==typeof e||Array.isArray(e)}let tu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tc=["initial",...tu];function td(e){return ta(e.animate)||tc.some(t=>tl(e[t]))}function th(e){return!!(td(e)||e.variants)}let tp={current:null},tf={current:!1},tm="u">typeof window;function ty(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tg(e,t,r,n){if("function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}return t}let tv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tb={};class tw{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ez,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tr.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eP.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=td(t),this.isVariantNode=th(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&Y(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ts.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tf.current||function(){if(tf.current=!0,tm)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eT(this.notifyUpdate),eT(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e8.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:s}=t.accelerate,a=new e7({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:e$(s)}),l=r(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let n=l.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eP.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tb){let t=tb[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tv.length;t++){let r=tv[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],o=r[n];if(Y(i))e.addValue(n,i);else if(Y(o))e.addValue(n,ti(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,ti(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=ti(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!to.find(Q(n))&&N.test(t)&&(r=e_(e,t))}this.setBaseTarget(e,Y(r)?r.get():r)}return Y(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tg(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||Y(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new eq),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){te.render(this.render)}}class tx extends tw{constructor(){super(...arguments),this.KeyframeResolver=eW}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Y(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tk(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tA=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tM=a.length;function tS(e,t,r){let{style:n,vars:i,transformOrigin:o}=e,s=!1,u=!1;for(let e in t){let r=t[e];if(l.has(e)){s=!0;continue}if(ei(e)){i[e]=r;continue}{let t=tA(r,$[e]);e.startsWith("origin")?(u=!0,o[e]=t):n[e]=t}}if(!t.transform&&(s||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<tM;o++){let s=a[o],l=e[s];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!s.startsWith("scale");else{let e=parseFloat(l);u=s.startsWith("scale")?1===e:0===e}if(!u||r){let e=tA(l,$[s]);if(!u){i=!1;let t=tE[s]||s;n+=`${t}(${e}) `}r&&(t[s]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},tP={offset:"strokeDashoffset",array:"strokeDasharray"},tT=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tR(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(tS(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tT))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?tC:tP;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,i,o,s,!1)}let tj=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tL=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tD(e,{style:t,vars:r},n,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,n),r)s.setProperty(o,r[o])}function tO(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tV={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!E.test(e))return e;else e=parseFloat(e);let r=tO(e,t.target.x),n=tO(e,t.target.y);return`${r}% ${n}%`}},tN=(e,t,r)=>e+(t-e)*r,tI={borderRadius:{...tV,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tV,borderTopRightRadius:tV,borderBottomLeftRadius:tV,borderBottomRightRadius:tV,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=N.parse(e);if(n.length>5)return e;let i=N.createTransformer(e),o=+("number"!=typeof n[0]),s=r.x.scale*t.x,a=r.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tN(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};function tz(e,{layout:t,layoutId:r}){return l.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tI[e]||"opacity"===e)}function tF(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)(Y(n[t])||i&&Y(i[t])||tz(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function t_(e,t,r){let n=tF(e,t,r);for(let r in e)(Y(e[r])||Y(t[r]))&&(n[-1!==a.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tB extends tx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.has(t)){let e=U(t);return e&&e.default||0}return t=tj.has(t)?t:tk(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return t_(e,t,r)}build(e,t,r){tR(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tD(e,t,void 0,n),t.attrs)e.setAttribute(tj.has(r)?r:tk(r),t.attrs[r])}mount(e){this.isSVGTag=tL(e.tagName),super.mount(e)}}function tW({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function t$(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:r}){return!t$(e)||!t$(t)||!t$(r)}function tU(e){return tH(e)||tq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tq(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tG(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tK(e,t=0,r=1,n,i){e.min=tG(e.min,t,r,n,i),e.max=tG(e.max,t,r,n,i)}function tX(e,{x:t,y:r}){tK(e.x,t.translate,t.scale,t.originPoint),tK(e.y,r.translate,r.scale,r.originPoint)}function tY(e,t){e.min=e.min+t,e.max=e.max+t}function tZ(e,t,r,n,i=.5){let o=tN(e.min,e.max,i);tK(e,t,r,o,n)}function tQ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function tJ(e,t,r){let n=r??e;tZ(e.x,tQ(t.x,n.x),t.scaleX,t.scale,t.originX),tZ(e.y,tQ(t.y,n.y),t.scaleY,t.scale,t.originY)}function t0(e,t){return tW(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class t1 extends tx{constructor(){super(...arguments),this.type="html",this.renderInstance=tD}readValueFromInstance(e,t){if(l.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ev(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(ei(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t0(e,t)}build(e,t,r){tS(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tF(e,t,r)}}var t2,t5=r(12115);let t4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t9(e){if("string"!=typeof e||e.includes("-"));else if(t4.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t3=r(95155),t6=r(39551);let t7=(0,t5.createContext)({strict:!1});var t8=r(24866);let re=(0,t5.createContext)({});function rt(e){return Array.isArray(e)?e.join(" "):e}let rr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rn(e,t,r){for(let n in t)Y(t[n])||tz(n,r)||(e[n]=t[n])}let ri=()=>({...rr(),attrs:{}}),ro=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ro.has(e)}let ra=e=>!rs(e);try{t2=require("@emotion/is-prop-valid").default,"function"==typeof t2&&(ra=e=>e.startsWith("on")?!rs(e):t2(e))}catch{}function rl(e){return Y(e)?e.get():e}var ru=r(15131),rc=r(28819);let rd=e=>(t,r)=>{let n=(0,t5.useContext)(re),i=(0,t5.useContext)(ru.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=rl(o[e]);let{initial:s,animate:a}=e,l=td(e),u=th(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===s)?a:s;if(d&&"boolean"!=typeof d&&!ta(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=tg(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():(0,rc.M)(o)},rh=rd({scrapeMotionValuesFromProps:tF,createRenderState:rr}),rp=rd({scrapeMotionValuesFromProps:t_,createRenderState:ri}),rf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rm=!1;function ry(){return!function(){if(rm)return;let e={};for(let t in rf)e[t]={isEnabled:e=>rf[t].some(t=>!!e[t])};tb=e,rm=!0}(),tb}let rg=Symbol.for("motionComponentSymbol"),rv="data-"+tk("framerAppearId"),rb=(0,t5.createContext)({});function rw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var rx=r(65239);function rk(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=ry();for(let r in e)t[r]={...t[r],...e[r]};tb=t}(n);let o=r?"svg"===r:t9(e),s=o?rp:rh;function a(r,n){var a;let l,u,c,d={...(0,t5.useContext)(t8.Q),...r,layoutId:function({layoutId:e}){let t=(0,t5.useContext)(t6.L).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:h}=d,p=function(e){let{initial:t,animate:r}=function(e,t){if(td(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tl(t)?t:void 0,animate:tl(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t5.useContext)(re));return(0,t5.useMemo)(()=>({initial:t,animate:r}),[rt(t),rt(r)])}(r),f=s(r,h);if(!h&&"u">typeof window){(0,t5.useContext)(t7).strict;let t=function(e){let{drag:t,layout:r}=ry();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,p.visualElement=function(e,t,r,n,i,o){let{visualElement:s}=(0,t5.useContext)(re),a=(0,t5.useContext)(t7),l=(0,t5.useContext)(ru.t),u=(0,t5.useContext)(t8.Q),c=u.reducedMotion,d=u.skipAnimations,h=(0,t5.useRef)(null),p=(0,t5.useRef)(!1);n=n||a.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:s,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let f=h.current,m=(0,t5.useContext)(rb);f&&!f.projection&&i&&("html"===f.type||"svg"===f.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&rw(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u})}(h.current,r,i,m);let y=(0,t5.useRef)(!1);(0,t5.useInsertionEffect)(()=>{f&&y.current&&f.update(r,l)});let g=r[rv],v=(0,t5.useRef)(!!g&&"u">typeof window&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,rx.E)(()=>{p.current=!0,f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,t5.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),f.enteringChildren=void 0)}),f}(e,f,d,i,t.ProjectionNode,o)}return(0,t3.jsxs)(re.Provider,{value:p,children:[l&&p.visualElement?(0,t3.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,r,{latestValues:n},i,o=!1,s){let a=(s??t9(e)?function(e,t,r,n){let i=(0,t5.useMemo)(()=>{let r=ri();return tR(r,t,tL(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};rn(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},rn(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t5.useMemo)(()=>{let r=rr();return tS(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!Y(e[i])&&(ra(i)||!0===r&&rs(i)||!t&&!rs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==t5.Fragment?{...l,...a,ref:r}:{},{children:c}=t,d=(0,t5.useMemo)(()=>Y(c)?c.get():c,[c]);return(0,t5.createElement)(e,{...u,children:d})}(e,r,(a=p.visualElement,u=(0,t5.useRef)(n),(0,t5.useInsertionEffect)(()=>{u.current=n}),c=(0,t5.useRef)(null),(0,t5.useCallback)(e=>{e&&f.onMount?.(e);let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e);a&&(e?a.mount(e):a.unmount())},[a])),f,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t5.forwardRef)(a);return l[rg]=e,l}class rA{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rE(e,t,r){let n=e.getProps();return tg(n,t,void 0!==r?r:n.custom,e)}function rM(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rS(e,t){let r=e?.[t]??e?.default??e;return r!==e?rM(r,e):r}let rC=e=>Array.isArray(e);function rP(e,t){let r=e.getValue("willChange");if(Y(r)&&r.add)return r.add(t);if(!r&&eM.WillChange){let r=new eM.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rT=(e,t)=>r=>t(e(r)),rR=(...e)=>e.reduce(rT);function rj(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rL(e,t){return r=>r>0?t:e}let rD=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rO=[w,b,P];function rV(e){let t=rO.find(t=>t.test(e));if(et(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===P&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,s=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=rj(a,n,e+1/3),o=rj(a,n,e),s=rj(a,n,e-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let rN=(e,t)=>{let r=rV(e),n=rV(t);if(!r||!n)return rL(e,t);let i={...r};return e=>(i.red=rD(r.red,n.red,e),i.green=rD(r.green,n.green,e),i.blue=rD(r.blue,n.blue,e),i.alpha=tN(r.alpha,n.alpha,e),b.transform(i))},rI=new Set(["none","hidden"]);function rz(e,t){return r=>tN(e,t,r)}function rF(e){return"number"==typeof e?rz:"string"==typeof e?es(e)?rL:T.test(e)?rN:rW:Array.isArray(e)?r_:"object"==typeof e?T.test(e)?rN:rB:rL}function r_(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>rF(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rB(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=rF(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rW=(e,t)=>{let r=N.createTransformer(t),n=O(e),i=O(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return et(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),rL(e,t);if(rI.has(e)&&!i.values.length||rI.has(t)&&!n.values.length)return rI.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rR(r_(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][n[o]],a=e.values[s]??0;r[i]=a,n[o]++}return r}(n,i),i.values),r)};function r$(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tN(e,t,r):rF(e)(e,t)}let rH=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eP.update(t,e),stop:()=>eT(t),now:()=>eR.isProcessing?eR.timestamp:tr.now()}};function rU(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let rq=.01,rG=2,rK=.005,rX=.5;function rY(e,t){return e*Math.sqrt(1-t*t)}let rZ=["duration","bounce"],rQ=["stiffness","damping","mass"];function rJ(e,t){return t.some(t=>void 0!==e[t])}function r0(e=.3,t=.3){let r,n,i,o,s,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:d}=l,h=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],f={done:!1,value:h},{stiffness:m,damping:y,mass:g,duration:v,velocity:b,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rJ(e,rQ)&&rJ(e,rZ))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*u(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,o;et(e<=e$(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=u(.05,1,s),e=u(.01,10,e/1e3),s<1?(i=t=>{let n=t*s,i=n*e;return .001-(n-r)/rY(t,s)*Math.exp(-i)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=rY(Math.pow(t,2),s);return(n*r+r-o)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=e$(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),x=b||0,k=y/(2*Math.sqrt(m*g)),A=p-h,E=Math.sqrt(m/g)/1e3,M=5>Math.abs(A);if(c||(c=M?rq:rG),d||(d=M?rK:rX),k<1)i=rY(E,k),o=(x+k*E*A)/i,r=e=>p-Math.exp(-k*E*e)*(o*Math.sin(i*e)+A*Math.cos(i*e)),s=k*E*o+A*i,a=k*E*A-o*i,n=e=>Math.exp(-k*E*e)*(s*Math.sin(i*e)+a*Math.cos(i*e));else if(1===k){r=e=>p-Math.exp(-E*e)*(A+(x+E*A)*e);let e=x+E*A;n=t=>Math.exp(-E*t)*(E*e*t-x)}else{let e=E*Math.sqrt(k*k-1);r=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return p-r*((x+k*E*A)*Math.sinh(n)+e*A*Math.cosh(n))/e};let t=(x+k*E*A)/e,i=k*E*t-A*e,o=k*E*A-t*e;n=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return r*(i*Math.sinh(n)+o*Math.cosh(n))}}let S={calculatedDuration:w&&v||null,velocity:e=>e$(n(e)),next:e=>{if(!w&&k<1){let t=Math.exp(-k*E*e),r=Math.sin(i*e),n=Math.cos(i*e),l=p-t*(o*r+A*n);return f.done=Math.abs(e$(t*(s*r+a*n)))<=c&&Math.abs(p-l)<=d,f.value=f.done?p:l,f}let t=r(e);return w?f.done=e>=v:f.done=Math.abs(e$(n(e)))<=c&&Math.abs(p-t)<=d,f.value=f.done?p:t,f},toString:()=>{let e=Math.min(rU(S),2e4),t=e4(t=>S.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return S}function r1(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}function r2({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],f={done:!1,value:p},m=r*t,y=p+m,g=void 0===s?y:s(y);g!==y&&(m=g-p);let v=e=>-m*Math.exp(-e/n),b=e=>g+v(e),w=e=>{let t=v(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?g:r},x=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var r;d=e,h=r0({keyframes:[f.value,(r=f.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:r1(b,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,w(e),x(e)),void 0!==d&&e>=d)?h.next(e-d):(t||w(e),f)}}}r0.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rU(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,r0);return e.ease=t.ease,e.duration=e$(t.duration),e.type="keyframes",e};let r5=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r4(e,t,r,n){return e===t&&r===n?eE:i=>0===i||1===i?i:r5(function(e,t,r,n,i){let o,s,a=0;do(o=r5(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s}(i,0,1,e,r),t,n)}let r9=r4(.42,0,1,1),r3=r4(0,0,.58,1),r6=r4(.42,0,.58,1),r7=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,r8=e=>t=>1-e(1-t),ne=r4(.33,1.53,.69,.99),nt=r8(ne),nr=r7(nt),nn=e=>e>=1?1:(e*=2)<1?.5*nt(e):.5*(2-Math.pow(2,-10*(e-1))),ni=e=>1-Math.sin(Math.acos(e)),no=r8(ni),ns=r7(ni),na={linear:eE,easeIn:r9,easeInOut:r6,easeOut:r3,circIn:ni,circInOut:ns,circOut:no,backIn:nt,backInOut:nr,backOut:ne,anticipate:nn},nl=e=>{if(e2(e)){er(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return r4(t,r,n,i)}return"string"==typeof e?(er(void 0!==na[e],`Invalid easing type '${e}'`,"invalid-easing-type"),na[e]):e},nu=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function nc({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o,s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nl):nl(n),a={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(er(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||eM.mix||r$,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=rR(Array.isArray(t)?t[r]||eE:t,o)),n.push(o)}return n}(t,n,i),l=a.length,c=r=>{if(s&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=nu(e[n],e[n+1],r);return a[n](i)};return r?t=>c(u(e[0],e[o-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nu(0,t,n);e.push(tN(r,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||r6).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let nd={decay:r2,inertia:r2,tween:nc,keyframes:nc,spring:r0};function nh(e){"string"==typeof e.type&&(e.type=nd[e.type])}let np=e=>e/100;class nf extends e0{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tr.now()&&this.tick(tr.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e1.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nh(e);let{type:t=nc,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||nc;a!==nc&&"number"!=typeof s[0]&&(this.mixKeyframes=rR(np,r$(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=rU(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return r.next(0);let{delay:l=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=r;if(d){let e=Math.min(this.currentTime,n)/s,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===h?(r=1-r,p&&(r-=p/s)):"mirror"===h&&(w=o)),b=u(0,1,r)*s}let x=v?{done:!1,value:c[0]}:w.next(b);i&&!v&&(x.value=i(x.value));let{done:k}=x;v||null===a||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return A&&f!==r2&&(x.value=eJ(c,this.options,y,this.speed)),m&&m(x.value),A&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e$(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return r1(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tr.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rH,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tr.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e1.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let nm={anticipate:nn,backInOut:nr,circInOut:ns};class ny extends e7{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nm&&(e.ease=nm[e.ease])}(e),nh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new nf({...o,autoplay:!1}),a=Math.max(10,tr.now()-this.startTime),l=u(0,10,a-10),c=s.sample(a).value,{name:d}=this.options;i&&d&&eG(i,d,c),t.setWithVelocity(s.sample(Math.max(0,a-l)).value,c,l),s.stop()}}let ng=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(N.test(e)||"0"===e)&&!e.startsWith("url("));function nv(e){e.duration=0,e.type="keyframes"}let nb=new Set(["opacity","clipPath","filter","transform"]),nw=eK(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nx extends e0{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tr.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...c},h=u?.KeyframeResolver||ez;this.keyframeResolver=new h(s,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){this.keyframeResolver=void 0;let{name:i,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:u}=r;this.resolvedAt=tr.now();let c=!0;!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=ng(i,t),a=ng(o,t);return et(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||e6(r))&&n)}(e,i,o,s)&&(c=!1,(eM.instantAnimations||!a)&&u?.(eJ(e,r,t)),e[0]=e[e.length-1],nv(r),r.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},h=c&&!l&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return nw()&&r&&nb.has(r)&&("transform"!==r||!l)&&!a&&!n&&"mirror"!==i&&0!==o&&"inertia"!==s}(d),p=d.motionValue?.owner?.current,f=h?new ny({...d,element:p}):new nf(d);f.finished.then(()=>{this.notifyFinished()}).catch(eE),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eV=!0,eI(),eN(),eV=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nk={type:"spring",stiffness:500,damping:25,restSpeed:10},nA={type:"keyframes",duration:.8},nE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nM=e=>null!==e,nS=(e,t,r,n={},i,o)=>s=>{let a=rS(n,e)||{},u=a.delay||n.delay||0,{elapsed:c=0}=n;c-=e$(u);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nA:l.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nk:nE)(e,d)),d.duration&&(d.duration=e$(d.duration)),d.repeatDelay&&(d.repeatDelay=e$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nv(d),0===d.delay&&(h=!0)),(eM.instantAnimations||eM.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,nv(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,h&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:r="loop"}){let n=e.filter(nM),i=t&&"loop"!==r&&t%2==1?0:n.length-1;return n[i]}(d.keyframes,a);if(void 0!==e)return void eP.update(()=>{d.onUpdate(e),d.onComplete()})}return a.isSync?new nf(d):new nx(d)};function nC(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?rM(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let n=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let s={delay:r,...rS(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(i)&&i===l&&!s.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let r=e.props[rv];if(r){let e=window.MotionHandoffAnimation(r,t,eP);null!==e&&(s.startTime=e,h=!0)}}rP(e,t);let p=u??e.shouldReduceMotion;n.start(nS(t,n,i,p&&Z.has(t)?{type:!1}:s,e,h));let f=n.animation;f&&c.push(f)}if(s){let t=()=>eP.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rE(e,t)||{};for(let t in i={...i,...r}){var o;let r=rC(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ti(r))}}(e,s)});c.length?Promise.all(c).then(t):t()}return c}function nP(e,t,r,n=0,i=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*n;return"function"==typeof r?r(o,s):1===i?o*n:a-o*n}function nT(e,t,r={}){let n=rE(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(nC(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,r=0,n=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nT(l,t,{...s,delay:r+("function"==typeof n?0:n)+nP(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,o,s,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(r.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let nR=tc.length;function nj(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let nL=[...tu].reverse(),nD=tu.length;function nO(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nV(){return{animate:nO(!0),whileInView:nO(),whileHover:nO(),whileTap:nO(),whileDrag:nO(),whileFocus:nO(),exit:nO()}}class nN extends rA{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nT(e,t,r)));else if("string"==typeof t)n=nT(e,t,r);else{let i="function"==typeof t?rE(e,t,r.custom):t;n=Promise.all(nC(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nV(),n=!0,i=!1,o=t=>(r,n)=>{let i=rE(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<nR;e++){let n=tc[e],i=t.props[n];(tl(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nD;t++){var p,f;let m=nL[t],y=r[m],g=void 0!==a[m]?a[m]:l[m],v=tl(g),b=m===s?y.isActive:null;!1===b&&(h=t);let w=g===l[m]&&g!==a[m]&&v;if(w&&(n||i)&&e.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===b||!g&&!y.prevProp||ta(g)||"boolean"==typeof g)continue;if("exit"===m&&y.isActive&&!0!==b){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let x=(p=y.prevProp,"string"==typeof(f=g)?f!==p:!!Array.isArray(f)&&!nj(f,p)),k=x||m===s&&y.isActive&&!w&&v||t>h&&v,A=!1,E=Array.isArray(g)?g:[g],M=E.reduce(o(m),{});!1===b&&(M={});let{prevResolvedValues:S={}}=y,C={...S,...M},P=t=>{k=!0,c.has(t)&&(A=!0,c.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in C){let t=M[e],r=S[e];if(!d.hasOwnProperty(e))(rC(t)&&rC(r)?nj(t,r):t===r)?void 0!==t&&c.has(e)?P(e):y.protectedKeys[e]=!0:null!=t?P(e):c.add(e)}y.prevProp=g,y.prevResolvedValues=M,y.isActive&&(d={...d,...M}),(n||i)&&e.blockInitialAnimation&&(k=!1);let T=w&&x,R=!T||A;k&&R&&u.push(...E.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!T&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rE(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nP(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof a.initial){let r=rE(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=s(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nV(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ta(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nI=0;class nz extends rA{constructor(){super(...arguments),this.id=nI++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=rE(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let nF={x:!1,y:!1};function n_(e){return[e("x"),e("y")]}function nB(e){return e.max-e.min}function nW(e,t,r,n=.5){e.origin=n,e.originPoint=tN(t.min,t.max,e.origin),e.scale=nB(r)/nB(t),e.translate=tN(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function n$(e,t,r,n){nW(e.x,t.x,r.x,n?n.originX:void 0),nW(e.y,t.y,r.y,n?n.originY:void 0)}function nH(e,t,r){e.min=r.min+t.min,e.max=e.min+nB(t)}function nU(e,t,r){e.min=t.min-r.min,e.max=e.min+nB(t)}function nq(e,t,r){nU(e.x,t.x,r.x),nU(e.y,t.y,r.y)}let nG=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nK=new Set(["INPUT","SELECT","TEXTAREA"]);function nX(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var nY=r(94601);function nZ(e){return(0,nY.G)(e)&&"ownerSVGElement"in e}function nQ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let nJ=new WeakMap,n0=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nZ(n)&&"getBBox"in n?n.getBBox()[t]:n[r],n1=n0("inline","width","offsetWidth"),n2=n0("block","height","offsetHeight");function n5({target:e,borderBoxSize:t}){nJ.get(e)?.forEach(r=>{r(e,{get width(){return n1(e,t)},get height(){return n2(e,t)}})})}function n4(e){e.forEach(n5)}let n9=new Set;function n3(e,t){let r;return"function"==typeof e?(n9.add(e),o||(o=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n9.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{n9.delete(e),n9.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n4)),(r=nQ(e)).forEach(e=>{let r=nJ.get(e);r||(r=new Set,nJ.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=nJ.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let n6=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n7(e){return{point:{x:e.pageX,y:e.pageY}}}function n8(e,t,r,n){return nX(e,t,e=>n6(e)&&r(e,n7(e)),n)}let ie=({current:e})=>e?e.ownerDocument.defaultView:null,it=(e,t)=>Math.abs(e-t),ir=new Set(["auto","scroll"]);class ii{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=io(this.lastRawMoveEventInfo,this.transformPagePoint));let r=ia(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(it(e.x,t.x)**2+it(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:o}=r,{timestamp:s}=eR;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=io(t,this.transformPagePoint),eP.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=ia("pointercancel"===e.type?this.lastMoveEventInfo:io(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!n6(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const a=io(n7(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=eR;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,ia(a,this.history)),this.removeListeners=rR(n8(this.contextWindow,"pointermove",this.handlePointerMove),n8(this.contextWindow,"pointerup",this.handlePointerUp),n8(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ir.has(e.overflowX)||ir.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eP.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eT(this.updatePoint)}}function io(e,t){return t?{point:t(e.point)}:e}function is(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ia({point:e},t){return{point:e,delta:is(e,il(t)),offset:is(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=il(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>e$(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*e$(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function il(e){return e[e.length-1]}function iu(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function ic(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function id(e,t,r){return{min:ih(e,t),max:ih(e,r)}}function ih(e,t){return"number"==typeof e?e:e[t]||0}let ip=new WeakMap;class im{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n7(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(nF[e])return null;else return nF[e]=!0,()=>{nF[e]=!1};return nF.x||nF.y?null:(nF.x=nF.y=!0,()=>{nF.x=nF.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n_(e=>{let t=this.getAxisMotionValue(e).get()||0;if(A.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nB(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eP.update(()=>i(e,t),!1,!0),rP(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&eP.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new ii(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:ie(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&eP.postRender(()=>s(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!ig(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tN(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tN(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:iu(e.x,r,i),y:iu(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:id(e,"left","right"),y:id(e,"top","bottom")}}(t),n!==this.constraints&&!rw(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&n_(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rw(t))return!1;let n=t.current;er(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=t0(e,r),{scroll:i}=t;return i&&(tY(n.x,i.offset.x),tY(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:ic(e.x,o.x),y:ic(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=tW(e))}return s}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(n_(s=>{if(!ig(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rP(this.visualElement,e),r.start(nS(e,r,0,t,this.visualElement,!1))}stopAnimation(){n_(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){n_(t=>{let{drag:r}=this.getProps();if(!ig(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-tN(r,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rw(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};n_(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let o,s,a,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],o=.5,s=nB(r),(a=nB(i))>s?o=nu(i.min,i.max-s,r.min):s>a&&(o=nu(r.min,r.max-a,i.min)),u(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),n_(t=>{if(!ig(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tN(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;ip.set(this.visualElement,this);let t=this.visualElement.current,r=n8(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,o=i!==t&&(nK.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{var r,n,i;let o,s,{dragConstraints:a}=this.getProps();rw(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=a.current,o=n3(r,iy(i=()=>this.scalePositionWithinConstraints())),s=n3(n,iy(i)),e=()=>{o(),s()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eP.read(n);let s=nX(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(n_(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),r(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function iy(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function ig(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class iv extends rA{constructor(e){super(e),this.removeGroupControls=eE,this.removeListeners=eE,this.controls=new im(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eE}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let ib=e=>(t,r)=>{e&&eP.update(()=>e(t,r),!1,!0)};class iw extends rA{constructor(){super(...arguments),this.removePointerDownListener=eE}onPointerDown(e){this.session=new ii(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ie(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:ib(e),onStart:ib(t),onMove:ib(r),onEnd:(e,t)=>{delete this.session,n&&eP.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=n8(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ix={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ik=r(79196);let iA=!1;class iE extends t5.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),iA&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ix.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),iA=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||eP.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),te.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;iA=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iM(e){let[t,r]=(0,ik.xQ)(),n=(0,t5.useContext)(t6.L);return(0,t3.jsx)(iE,{...e,layoutGroup:n,switchLayoutGroup:(0,t5.useContext)(rb),isPresent:t,safeToRemove:r})}let iS=["TopLeft","TopRight","BottomLeft","BottomRight"],iC=iS.length,iP=e=>"string"==typeof e?parseFloat(e):e,iT=e=>"number"==typeof e||E.test(e);function iR(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ij=iD(0,.5,no),iL=iD(.5,.95,eE);function iD(e,t,r){return n=>n<e?0:n>t?1:r(nu(e,t,n))}function iO(e,t){e.min=t.min,e.max=t.max}function iV(e,t){iO(e.x,t.x),iO(e.y,t.y)}function iN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iI(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iz(e,t,[r,n,i],o,s){!function(e,t=0,r=1,n=.5,i,o=e,s=e){if(A.test(t)&&(t=parseFloat(t),t=tN(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tN(o.min,o.max,n);e===o&&(a-=t),e.min=iI(e.min,t,r,a,i),e.max=iI(e.max,t,r,a,i)}(e,t[r],t[n],t[i],t.scale,o,s)}let iF=["x","scaleX","originX"],i_=["y","scaleY","originY"];function iB(e,t,r,n){iz(e.x,t,iF,r?r.x:void 0,n?n.x:void 0),iz(e.y,t,i_,r?r.y:void 0,n?n.y:void 0)}function iW(e){return 0===e.translate&&1===e.scale}function i$(e){return iW(e.x)&&iW(e.y)}function iH(e,t){return e.min===t.min&&e.max===t.max}function iU(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iq(e,t){return iU(e.x,t.x)&&iU(e.y,t.y)}function iG(e){return nB(e.x)/nB(e.y)}function iK(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iX{constructor(){this.members=[]}add(e){eH(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(eU(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(eU(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iY=(e,t)=>e.depth-t.depth;class iZ{constructor(){this.children=[],this.isDirty=!1}add(e){eH(this.children,e),this.isDirty=!0}remove(e){eU(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iY),this.isDirty=!1,this.children.forEach(e)}}let iQ=["","X","Y","Z"],iJ=0;function i0(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function i1({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=iJ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i4),this.nodes.forEach(ot),this.nodes.forEach(or),this.nodes.forEach(i9)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iZ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eq),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nZ(t)&&!(nZ(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eP.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=tr.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(eT(o),i(r-250))},eP.setup(o,!0),r=()=>eT(o),ix.hasAnimatedSinceResize&&(ix.hasAnimatedSinceResize=!1,this.nodes.forEach(oe))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||ol,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!iq(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rS(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||oe(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eT(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(on),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rv];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eP,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(i6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i7);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(i8),this.nodes.forEach(i2),this.nodes.forEach(i5)):this.nodes.forEach(i7),this.clearAllSnapshots();let e=tr.now();eR.delta=u(0,1e3/60,e-eR.timestamp),eR.timestamp=e,eR.isProcessing=!0,ej.update.process(eR),ej.preRender.process(eR),ej.render.process(eR),eR.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,te.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i3),this.sharedNodes.forEach(oi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eP.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eP.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nB(this.snapshot.measuredBox.x)||nB(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=X(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!i$(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tU(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),od((t=n).x),od(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(op))){let{scroll:e}=this.root;e&&(tY(t.x,e.offset.x),tY(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(iV(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&iV(t,e),tY(t.x,i.offset.x),tY(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let r=X();iV(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tJ(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),tU(n.latestValues)&&tJ(r,n.latestValues,n.layout?.layoutBox)}return tU(this.latestValues)&&tJ(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=X();iV(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];tU(n.latestValues)&&(n.instance&&(tH(n.latestValues)&&n.updateSnapshot(),iV(r=X(),n.measurePageBox())),iB(t,n.latestValues,n.snapshot?.layoutBox,r))}return tU(this.latestValues)&&iB(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eR.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eR.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,nH(s.x,a.x,l.x),nH(s.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iV(this.target,this.layout.layoutBox),tX(this.target,this.targetDelta)):iV(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tq(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),nq(this.relativeTargetOrigin,t,r),iV(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eR.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iV(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,o,s=r.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=r[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&tJ(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tX(e,o)),n&&tU(i.latestValues)&&tJ(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iN(this.prevProjectionDelta.x,this.projectionDelta.x),iN(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),n$(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&iK(this.projectionDelta.x,this.prevProjectionDelta.x)&&iK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=G(),this.projectionDelta=G(),this.projectionDeltaWithTransform=G()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},s=G();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=X(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(oa));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(oo(s.x,e.x,n),oo(s.y,e.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f,m,y;nq(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,y=n,os(p.x,f.x,m.x,y),os(p.y,f.y,m.y,y),r&&(u=this.relativeTarget,h=r,iH(u.x,h.x)&&iH(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=X()),iV(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tN(0,r.opacity??1,ij(n)),e.opacityExit=tN(t.opacity??1,0,iL(n))):o&&(e.opacity=tN(t.opacity??1,r.opacity??1,n));for(let i=0;i<iC;i++){let o=`border${iS[i]}Radius`,s=iR(t,o),a=iR(r,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||iT(s)===iT(a)?(e[o]=Math.max(tN(iP(s),iP(a),n),0),(A.test(a)||A.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||r.rotate)&&(e.rotate=tN(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eT(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eP.update(()=>{var t,r,n;let i;ix.hasAnimatedSinceResize=!0,e1.layout++,this.motionValue||(this.motionValue=ti(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e1.layout--},onComplete:()=>{e1.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=Y(t)?t:ti(t)).start(nS("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&oh(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||X();let t=nB(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nB(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iV(t,r),tJ(t,i),n$(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iX),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&i0("z",e,n,this.animationValues);for(let t=0;t<iQ.length;t++)i0(`rotate${iQ[t]}`,e,n,this.animationValues),i0(`skew${iQ[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=rl(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rl(t?.pointerEvents)||""),this.hasProjected&&!tU(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=r?.z||0;if((i||o||s)&&(n=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),s&&(n+=`skewX(${s}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tI){if(void 0===i[t])continue;let{correct:r,applyTo:s,isCSSVariable:a}=tI[t],l="none"===o?i[t]:r(i[t],n);if(s){let t=s.length;for(let r=0;r<t;r++)e[s[r]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?rl(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i6),this.root.sharedNodes.clear()}}}function i2(e){e.updateLayout()}function i5(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)n_(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=nB(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";iO(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else oh(i,t.layoutBox,r)&&n_(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],s=nB(r[n]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=G();n$(s,r,t.layoutBox);let a=G();o?n$(a,e.applyTransform(n,!0),t.measuredBox):n$(a,r,t.layoutBox);let l=!i$(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let s=X();nq(s,t.layoutBox,i.layoutBox);let a=X();nq(a,r,o.layoutBox),iq(s,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i3(e){e.clearSnapshot()}function i6(e){e.clearMeasurements()}function i7(e){e.isLayoutDirty=!1}function i8(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function oe(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ot(e){e.resolveTargetDelta()}function or(e){e.calcProjection()}function on(e){e.resetSkewAndRotation()}function oi(e){e.removeLeadSnapshot()}function oo(e,t,r){e.translate=tN(t.translate,0,r),e.scale=tN(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function os(e,t,r,n){e.min=tN(t.min,r.min,n),e.max=tN(t.max,r.max,n)}function oa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ol={duration:.45,ease:[.4,0,.1,1]},ou=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),oc=ou("applewebkit/")&&!ou("chrome/")?Math.round:eE;function od(e){e.min=oc(e.min),e.max=oc(e.max)}function oh(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iG(t)-iG(r)))}function op(e){return e!==e.root&&e.scroll?.wasRoot}let of=i1({attachResizeListener:(e,t)=>nX(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),om={current:void 0},oy=i1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!om.current){let e=new of({});e.mount(window),e.setOptions({layoutScroll:!0}),om.current=e}return om.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function og(e,t){let r=nQ(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ov(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eP.postRender(()=>i(t,n7(t)))}class ob extends rA{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=og(e,r);return n.forEach(e=>{let r,n=!1,o=!1,s=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nF.x||nF.y)return;o=!1;let s=t(e,n);"function"==typeof s&&(r=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(e,(e,t)=>(ov(this.node,t,"Start"),e=>ov(this.node,e,"End"))))}unmount(){}}class ow extends rA{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rR(nX(this.node.current,"focus",()=>this.onFocus()),nX(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var ox=r(78757);let ok=(e,t)=>!!t&&(e===t||ok(e,t.parentElement)),oA=new WeakSet;function oE(e){return t=>{"Enter"===t.key&&e(t)}}function oM(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function oS(e){return n6(e)&&!(nF.x||nF.y)}let oC=new WeakSet;function oP(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eP.postRender(()=>i(t,n7(t)))}class oT extends rA{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=og(e,r),s=e=>{let n=e.currentTarget;if(!oS(e)||oC.has(e))return;oA.add(n),r.stopPropagation&&oC.add(e);let o=t(n,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),oA.has(n)&&oA.delete(n),oS(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,n===window||n===document||r.useGlobalTarget||ok(n,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),(0,ox.s)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=oE(()=>{if(oA.has(r))return;oM(r,"down");let e=oE(()=>{oM(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>oM(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),nG.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oP(this.node,t,"Start"),(e,{success:t})=>oP(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let oR=new WeakMap,oj=new WeakMap,oL=e=>{let t=oR.get(e.target);t&&t(e)},oD=e=>{e.forEach(oL)},oO={some:0,all:1};class oV extends rA{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:s}=r,a={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:oO[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)};return e=this.node.current,t=function({root:e,...t}){let r=e||document;oj.has(r)||oj.set(r,{});let n=oj.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(oD,{root:e,...t})),n[i]}(a),oR.set(e,l),t.observe(e),()=>{oR.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let oN=function(e,t){if("u"<typeof Proxy)return rk;let r=new Map,n=(r,n)=>rk(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,rk(o,void 0,e,t)),r.get(o))})}({animation:{Feature:nN},exit:{Feature:nz},inView:{Feature:oV},tap:{Feature:oT},focus:{Feature:ow},hover:{Feature:ob},pan:{Feature:iw},drag:{Feature:iv,ProjectionNode:oy,MeasureLayout:iM},layout:{ProjectionNode:oy,MeasureLayout:iM}},(e,t)=>t.isSVG??t9(e)?new tB(t):new t1(t,{allowProjection:e!==t5.Fragment}))},86033:(e,t,r)=>{"use strict";r.d(t,{C1:()=>F,bL:()=>I,q7:()=>z});var n=r(12115),i=r(70379),o=r(47527),s=r(68599),a=r(99354),l=r(78538),u=r(98979),c=r(1933),d=r(63509),h=r(83417),p=r(83935),f=r(95155),m="Radio",[y,g]=(0,s.A)(m),[v,b]=y(m),w=n.forwardRef((e,t)=>{let{__scopeRadio:r,name:s,checked:l=!1,required:u,disabled:c,value:d="on",onCheck:h,form:p,...m}=e,[y,g]=n.useState(null),b=(0,o.s)(t,e=>g(e)),w=n.useRef(!1),x=!y||p||!!y.closest("form");return(0,f.jsxs)(v,{scope:r,checked:l,disabled:c,children:[(0,f.jsx)(a.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":E(l),"data-disabled":c?"":void 0,disabled:c,value:d,...m,ref:b,onClick:(0,i.mK)(e.onClick,e=>{l||h?.(),x&&(w.current=e.isPropagationStopped(),w.current||e.stopPropagation())})}),x&&(0,f.jsx)(A,{control:y,bubbles:!w.current,name:s,value:d,checked:l,required:u,disabled:c,form:p,style:{transform:"translateX(-100%)"}})]})});w.displayName=m;var x="RadioIndicator",k=n.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,o=b(x,r);return(0,f.jsx)(p.C,{present:n||o.checked,children:(0,f.jsx)(a.sG.span,{"data-state":E(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});k.displayName=x;var A=n.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:i=!0,...s},l)=>{let u=n.useRef(null),c=(0,o.s)(u,l),p=(0,h.Z)(r),m=(0,d.X)(t);return n.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[p,r,i]),(0,f.jsx)(a.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:c,style:{...s.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function E(e){return e?"checked":"unchecked"}A.displayName="RadioBubbleInput";var M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],S="RadioGroup",[C,P]=(0,s.A)(S,[l.RG,g]),T=(0,l.RG)(),R=g(),[j,L]=C(S),D=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:o,required:s=!1,disabled:d=!1,orientation:h,dir:p,loop:m=!0,onValueChange:y,...g}=e,v=T(r),b=(0,c.jH)(p),[w,x]=(0,u.i)({prop:o,defaultProp:i??null,onChange:y,caller:S});return(0,f.jsx)(j,{scope:r,name:n,required:s,disabled:d,value:w,onValueChange:x,children:(0,f.jsx)(l.bL,{asChild:!0,...v,orientation:h,dir:b,loop:m,children:(0,f.jsx)(a.sG.div,{role:"radiogroup","aria-required":s,"aria-orientation":h,"data-disabled":d?"":void 0,dir:b,...g,ref:t})})})});D.displayName=S;var O="RadioGroupItem",V=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:s,...a}=e,u=L(O,r),c=u.disabled||s,d=T(r),h=R(r),p=n.useRef(null),m=(0,o.s)(t,p),y=u.value===a.value,g=n.useRef(!1);return n.useEffect(()=>{let e=e=>{M.includes(e.key)&&(g.current=!0)},t=()=>g.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,f.jsx)(l.q7,{asChild:!0,...d,focusable:!c,active:y,children:(0,f.jsx)(w,{disabled:c,required:u.required,checked:y,...h,...a,name:u.name,ref:m,onCheck:()=>u.onValueChange(a.value),onKeyDown:(0,i.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(a.onFocus,()=>{g.current&&p.current?.click()})})})});V.displayName=O;var N=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=R(r);return(0,f.jsx)(k,{...i,...n,ref:t})});N.displayName="RadioGroupIndicator";var I=D,z=V,F=N},86901:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},88444:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]])},89123:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},89363:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},89626:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("panel-right-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]])},89971:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n,i=r(12115),o=r(66294),s=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function l(e){let[t,r]=i.useState(s());return(0,o.N)(()=>{e||r(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},90425:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(12115);let i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...s,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:i("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...s},l)=>(0,n.createElement)(a,{ref:l,iconNode:t,className:i(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=o(e),r}},90718:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},91760:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var n=r(12115);r(47650);var i=r(42442),o=r(95155),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),s=n.forwardRef((e,n)=>{let{asChild:i,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...s,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),a=n.forwardRef((e,t)=>(0,o.jsx)(s.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var l=a},91958:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92564:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]])},92972:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},93219:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},94514:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},94601:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e}r.d(t,{G:()=>n})},95413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(47284);let n=r(53887),i=r(12590),o=r(55762),s=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:p,quality:f,width:m,height:y,fill:g=!1,style:v,overrideSrc:b,onLoad:w,onLoadingComplete:x,placeholder:k="empty",blurDataURL:A,fetchPriority:E,decoding:M="async",layout:S,objectFit:C,objectPosition:P,lazyBoundary:T,lazyRoot:R,...j},L){var D;let O,V,N,{imgConf:I,showAltText:z,blurComplete:F,defaultLoader:_}=L,B=I||o.imageConfigDefault;if("allSizes"in B)O=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);O={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=j.loader||_;delete j.loader,delete j.srcSet;let $="__next_img_default"in W;if($){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
19
+ `),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(g)&&v.removeChild(g)}},[t]),(0,n.jsx)(h,{isPresent:t,childRef:u,sizeRef:f,pop:a,children:!1===a?e:i.cloneElement(e,{ref:y})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:a,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:h,root:f})=>{let y=(0,s.M)(m),g=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>(v=!1,{id:g,initial:t,isPresent:r,custom:a,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;o&&o()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[r,y,o]);return u&&v&&(b={...b}),(0,i.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[r]),i.useEffect(()=>{r||y.size||!o||o()},[r]),e=(0,n.jsx)(p,{pop:"popLayout"===c,isPresent:r,anchorX:d,anchorY:h,root:f,children:e}),(0,n.jsx)(l.t.Provider,{value:b,children:e})};function m(){return new Map}var y=r(79196);let g=e=>e.key||"";function v(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:m})=>{let[b,w]=(0,y.xQ)(d),x=(0,i.useMemo)(()=>v(e),[e]),k=d&&!b?[]:x.map(g),A=(0,i.useRef)(!0),E=(0,i.useRef)(x),M=(0,s.M)(()=>new Map),S=(0,i.useRef)(new Set),[C,P]=(0,i.useState)(x),[T,R]=(0,i.useState)(x);(0,a.E)(()=>{A.current=!1,E.current=x;for(let e=0;e<T.length;e++){let t=g(T[e]);k.includes(t)?(M.delete(t),S.current.delete(t)):!0!==M.get(t)&&M.set(t,!1)}},[T,k.length,k.join("-")]);let j=[];if(x!==C){let e=[...x];for(let t=0;t<T.length;t++){let r=T[t],n=g(r);k.includes(n)||(e.splice(t,0,r),j.push(r))}return"wait"===c&&j.length&&(e=j),R(v(e)),P(x),null}let{forceRender:L}=(0,i.useContext)(o.L);return(0,n.jsx)(n.Fragment,{children:T.map(e=>{let i=g(e),o=(!d||!!b)&&(x===T||k.includes(i));return(0,n.jsx)(f,{isPresent:o,initial:(!A.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:m,onExitComplete:o?void 0:()=>{if(S.current.has(i)||!M.has(i))return;S.current.add(i),M.set(i,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(L?.(),R(E.current),d&&w?.(),l&&l())},anchorX:h,anchorY:p,children:e},i)})})}},80878:(e,t,r)=>{"use strict";let n;r.d(t,{Mz:()=>eX,i3:()=>eZ,UC:()=>eY,bL:()=>eK,Bk:()=>eL});var i=r(12115);let o=["top","right","bottom","left"],s=Math.min,a=Math.max,l=Math.round,u=Math.floor,c=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],w=["right","left"],x=["top","bottom"],k=["bottom","top"];function A(e){let t=p(e);return d[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function M(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function S(e,t,r){let n,{reference:i,floating:o}=e,s=g(t),a=m(g(t)),l=y(a),u=p(t),c="y"===s,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,v=i[l]/2-o[l]/2;switch(u){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(f(t)){case"start":n[a]-=v*(r&&c?-1:1);break;case"end":n[a]+=v*(r&&c?-1:1)}return n}async function C(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=h(t,e),m=E(f),y=a[p?"floating"===d?"reference":"floating":d],g=M(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(y)))||r?y:y.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=M(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-x.top+m.top)/w.y,bottom:(x.bottom-g.bottom+m.bottom)/w.y,left:(g.left-x.left+m.left)/w.x,right:(x.right-g.right+m.right)/w.x}}let P=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=s.detectOverflow?s:{...s,detectOverflow:C},l=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=S(u,n,l),h=n,p=0,f={};for(let r=0;r<o.length;r++){let m=o[r];if(!m)continue;let{name:y,fn:g}=m,{x:v,y:b,data:w,reset:x}=await g({x:c,y:d,initialPlacement:n,placement:h,strategy:i,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=b?b:d,f[y]={...f[y],...w},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:c,y:d}=S(u,h,l)),r=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:f}};function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return o.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function L(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),s=p(r),a=f(r),l="y"===g(r),u=j.has(s)?-1:1,c=o&&l?-1:1,d=h(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),l?{x:y*c,y:m*u}:{x:m*u,y:y*c}}function D(){return"u">typeof window}function O(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function N(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!D()&&(e instanceof Node||e instanceof V(e).Node)}function z(e){return!!D()&&(e instanceof Element||e instanceof V(e).Element)}function F(e){return!!D()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function _(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function B(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function W(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let $=/transform|translate|scale|rotate|perspective|filter/,H=/paint|layout|strict|content/,U=e=>!!e&&"none"!==e;function q(e){let t=z(e)?X(e):e;return U(t.transform)||U(t.translate)||U(t.scale)||U(t.rotate)||U(t.perspective)||!G()&&(U(t.backdropFilter)||U(t.filter))||$.test(t.willChange||"")||H.test(t.contain||"")}function G(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function K(e){return/^(html|body|#document)$/.test(O(e))}function X(e){return V(e).getComputedStyle(e)}function Y(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||N(e);return _(t)?t.host:t}function Q(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=Z(t);return K(r)?t.ownerDocument?t.ownerDocument.body:t.body:F(r)&&B(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=V(i);if(!o)return t.concat(i,Q(i,[],r));{let e=J(s);return t.concat(s,s.visualViewport||[],B(i)?i:[],e&&r?Q(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=X(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=F(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=l(r)!==o||l(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function et(e){return z(e)?e:e.contextElement}function er(e){let t=et(e);if(!F(t))return c(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ee(t),s=(o?l(r.width):r.width)/n,a=(o?l(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}let en=c(0);function ei(e){let t=V(e);return G()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:en}function eo(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=et(e),a=c(1);t&&(n?z(n)&&(a=er(n)):a=er(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===V(s))&&i)?ei(s):c(0),u=(o.left+l.x)/a.x,d=(o.top+l.y)/a.y,h=o.width/a.x,p=o.height/a.y;if(s){let e=V(s),t=n&&z(n)?V(n):n,r=e,i=J(r);for(;i&&n&&t!==r;){let e=er(i),t=i.getBoundingClientRect(),n=X(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,d*=e.y,h*=e.x,p*=e.y,u+=o,d+=s,i=J(r=V(i))}}return M({width:h,height:p,x:u,y:d})}function es(e,t){let r=Y(e).scrollLeft;return t?t.left+r:eo(N(e)).left+r}function ea(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-es(e,r),y:r.top+t.scrollTop}}function el(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=V(e),n=N(e),i=r.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;let e=G();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}let u=es(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,s=Math.abs(n.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else u<=25&&(o+=u);return{width:o,height:s,x:a,y:l}}(e,r);else if("document"===t){let t,r,o,s,l,u,c;n=N(e),t=N(n),r=Y(n),o=n.ownerDocument.body,s=a(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=a(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-r.scrollLeft+es(n),c=-r.scrollTop,"rtl"===X(o).direction&&(u+=a(t.clientWidth,o.clientWidth)-s),i={width:s,height:l,x:u,y:c}}else if(z(t)){let e,n,o,s,a,l;n=(e=eo(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,s=F(t)?er(t):c(1),a=t.clientWidth*s.x,l=t.clientHeight*s.y,i={width:a,height:l,x:o*s.x,y:n*s.y}}else{let r=ei(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return M(i)}function eu(e){return"static"===X(e).position}function ec(e,t){if(!F(e)||"fixed"===X(e).position)return null;if(t)return t(e);let r=e.offsetParent;return N(e)===r&&(r=r.ownerDocument.body),r}function ed(e,t){var r;let n=V(e);if(W(e))return n;if(!F(e)){let t=Z(e);for(;t&&!K(t);){if(z(t)&&!eu(t))return t;t=Z(t)}return n}let i=ec(e,t);for(;i&&(r=i,/^(table|td|th)$/.test(O(r)))&&eu(i);)i=ec(i,t);return i&&K(i)&&eu(i)&&!q(i)?n:i||function(e){let t=Z(e);for(;F(t)&&!K(t);){if(q(t))return t;if(W(t))break;t=Z(t)}return null}(e)||n}let eh=async function(e){let t=this.getOffsetParent||ed,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=F(t),i=N(t),o="fixed"===r,s=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},l=c(0);if(n||!n&&!o)if(("body"!==O(t)||B(i))&&(a=Y(t)),n){let e=eo(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=es(i));o&&!n&&i&&(l.x=es(i));let u=!i||n||o?c(0):ea(i,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,s=N(n),a=!!t&&W(t.floating);if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),h=F(n);if((h||!h&&!o)&&(("body"!==O(n)||B(s))&&(l=Y(n)),h)){let e=eo(n);u=er(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let p=!s||h||o?c(0):ea(s,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:r.y*u.y-l.scrollTop*u.y+d.y+p.y}},getDocumentElement:N,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?W(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=Q(e,[],!1).filter(e=>z(e)&&"body"!==O(e)),i=null,o="fixed"===X(e).position,s=o?Z(e):e;for(;z(s)&&!K(s);){let t=X(s),r=q(s);r||"fixed"!==t.position||(i=null),(o?r||i:!(!r&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||B(s)&&!r&&function e(t,r){let n=Z(t);return!(n===r||!z(n)||K(n))&&("fixed"===X(n).position||e(n,r))}(e,s)))?i=t:n=n.filter(e=>e!==s),s=Z(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=el(t,o[0],i),u=l.top,c=l.right,d=l.bottom,h=l.left;for(let e=1;e<o.length;e++){let r=el(t,o[e],i);u=a(r.top,u),c=s(r.right,c),d=s(r.bottom,d),h=a(r.left,h)}return{width:c-h,height:d-u,x:h,y:u}},getOffsetParent:ed,getElementRects:eh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ee(e);return{width:t,height:r}},getScale:er,isElement:z,isRTL:function(e){return"rtl"===X(e).direction}};function ef(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:p=0}=h(e,t)||{};if(null==d)return{};let v=E(p),b={x:r,y:n},w=m(g(i)),x=y(w),k=await l.getDimensions(d),A="y"===w,M=A?"clientHeight":"clientWidth",S=o.reference[x]+o.reference[w]-b[w]-o.floating[x],C=b[w]-o.reference[w],P=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),T=P?P[M]:0;T&&await (null==l.isElement?void 0:l.isElement(P))||(T=u.floating[M]||o.floating[x]);let R=T/2-k[x]/2-1,j=s(v[A?"top":"left"],R),L=s(v[A?"bottom":"right"],R),D=T-k[x]-L,O=T/2-k[x]/2+(S/2-C/2),V=a(j,s(O,D)),N=!c.arrow&&null!=f(i)&&O!==V&&o.reference[x]/2-(O<j?j:L)-k[x]/2<0,I=N?O<j?O-j:O-D:0;return{[w]:b[w]+I,data:{[w]:V,centerOffset:O-V-I,...N&&{alignmentOffset:I}},reset:N}}});var ey=r(47650),eg="u">typeof document?i.useLayoutEffect:function(){};function ev(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ev(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!ev(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eb(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ew(e,t){let r=eb(e);return Math.round(t*r)/r}function ex(e){let t=i.useRef(e);return eg(()=>{t.current=e}),t}var ek=r(99354),eA=r(95155),eE=i.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eA.jsx)(ek.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eA.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eM=r(47527),eS=r(68599),eC=r(17347),eP=r(66294),eT=r(63509),eR="Popper",[ej,eL]=(0,eS.A)(eR),[eD,eO]=ej(eR),eV=e=>{let{__scopePopper:t,children:r}=e,[n,o]=i.useState(null);return(0,eA.jsx)(eD,{scope:t,anchor:n,onAnchorChange:o,children:r})};eV.displayName=eR;var eN="PopperAnchor",eI=i.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,s=eO(eN,r),a=i.useRef(null),l=(0,eM.s)(t,a),u=i.useRef(null);return i.useEffect(()=>{let e=u.current;u.current=n?.current||a.current,e!==u.current&&s.onAnchorChange(u.current)}),n?null:(0,eA.jsx)(ek.sG.div,{...o,ref:l})});eI.displayName=eN;var ez="PopperContent",[eF,e_]=ej(ez),eB=i.forwardRef((e,t)=>{var r,n,o,l,c,d,E,M,S,C,D,O,V,I,z,F,_,B,W,$,H;let U,q,G,K,X,Y,{__scopePopper:Z,side:J="bottom",sideOffset:ee=0,align:er="center",alignOffset:en=0,arrowPadding:ei=0,avoidCollisions:es=!0,collisionBoundary:ea=[],collisionPadding:el=0,sticky:eu="partial",hideWhenDetached:ec=!1,updatePositionStrategy:ed="optimized",onPlaced:eh,...eE}=e,eS=eO(ez,Z),[eR,ej]=i.useState(null),eL=(0,eM.s)(t,e=>ej(e)),[eD,eV]=i.useState(null),eN=(0,eT.X)(eD),eI=eN?.width??0,e_=eN?.height??0,eB="number"==typeof el?el:{top:0,right:0,bottom:0,left:0,...el},eW=Array.isArray(ea)?ea:[ea],e$=eW.length>0,eH={padding:eB,boundary:eW.filter(eU),altBoundary:e$},{refs:eK,floatingStyles:eX,placement:eY,isPositioned:eZ,middlewareData:eQ}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,h]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=i.useState(n);ev(p,n)||f(n);let[m,y]=i.useState(null),[g,v]=i.useState(null),b=i.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),w=i.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),x=s||m,k=a||g,A=i.useRef(null),E=i.useRef(null),M=i.useRef(d),S=null!=u,C=ex(u),T=ex(o),R=ex(c),j=i.useCallback(()=>{var e,n;let i,o,s;if(!A.current||!E.current)return;let a={placement:t,strategy:r,middleware:p};T.current&&(a.platform=T.current),(e=A.current,n=E.current,i=new Map,s={...(o={platform:ep,...a}).platform,_c:i},P(e,n,{...o,platform:s})).then(e=>{let t={...e,isPositioned:!1!==R.current};L.current&&!ev(M.current,t)&&(M.current=t,ey.flushSync(()=>{h(t)}))})},[p,t,r,T,R]);eg(()=>{!1===c&&M.current.isPositioned&&(M.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let L=i.useRef(!1);eg(()=>(L.current=!0,()=>{L.current=!1}),[]),eg(()=>{if(x&&(A.current=x),k&&(E.current=k),x&&k){if(C.current)return C.current(x,k,j);j()}},[x,k,j,C,S]);let D=i.useMemo(()=>({reference:A,floating:E,setReference:b,setFloating:w}),[b,w]),O=i.useMemo(()=>({reference:x,floating:k}),[x,k]),V=i.useMemo(()=>{let e={position:r,left:0,top:0};if(!O.floating)return e;let t=ew(O.floating,d.x),n=ew(O.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eb(O.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,O.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:j,refs:D,elements:O,floatingStyles:V}),[d,j,D,O,V])}({strategy:"fixed",placement:J+("center"!==er?"-"+er:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:h=!1}=n,p=et(e),f=o||l?[...p?Q(p):[],...t?Q(t):[]]:[];f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let m=p&&d?function(e,t){let r,n=null,i=N(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function l(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),o();let h=e.getBoundingClientRect(),{left:p,top:f,width:m,height:y}=h;if(c||t(),!m||!y)return;let g={rootMargin:-u(f)+"px "+-u(i.clientWidth-(p+m))+"px "+-u(i.clientHeight-(f+y))+"px "+-u(p)+"px",threshold:a(0,s(1,d))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==d){if(!v)return l();n?l(!1,n):r=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==n||ef(h,e.getBoundingClientRect())||l(),v=!1}try{n=new IntersectionObserver(b,{...g,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(b,g)}n.observe(e)}(!0),o}(p,r):null,y=-1,g=null;c&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),p&&!h&&g.observe(p),t&&g.observe(t));let v=h?eo(e):null;return h&&function t(){let n=eo(e);v&&!ef(v,n)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,h&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===ed}),elements:{reference:eS.anchor},middleware:[{name:(U={name:"offset",options:o=r={mainAxis:ee+e_,alignmentAxis:en},async fn(e){var t,r;let{x:n,y:i,placement:s,middlewareData:a}=e,l=await L(e,o);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:s}}}}).name,fn:U.fn,options:[r,n]},es&&{name:(q={name:"shift",options:S=E={mainAxis:!0,crossAxis:!1,limiter:"partial"===eu?{fn:(void 0===(d=l)&&(d={}),{options:d,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:s=0,mainAxis:a=!0,crossAxis:l=!0}=h(d,e),u={x:t,y:r},c=g(n),f=m(c),y=u[f],v=u[c],b=h(s,e),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(a){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+w.mainAxis,r=i.reference[f]+i.reference[e]-w.mainAxis;y<t?y=t:y>r&&(y=r)}if(l){var x,k;let e="y"===f?"width":"height",t=j.has(p(n)),r=i.reference[c]-i.floating[e]+(t&&(null==(x=o.offset)?void 0:x[c])||0)+(t?0:w.crossAxis),s=i.reference[c]+i.reference[e]+(t?0:(null==(k=o.offset)?void 0:k[c])||0)-(t?w.crossAxis:0);v<r?v=r:v>s&&(v=s)}return{[f]:y,[c]:v}}}).fn,options:[l,c]}:void 0,...eH},async fn(e){let{x:t,y:r,placement:n,platform:i}=e,{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=h(S,e),d={x:t,y:r},f=await i.detectOverflow(e,c),y=g(p(n)),v=m(y),b=d[v],w=d[y];if(o){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=b+f[e],n=b-f[t];b=a(r,s(b,n))}if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=w+f[e],n=w-f[t];w=a(r,s(w,n))}let x=u.fn({...e,[v]:b,[y]:w});return{...x,data:{x:x.x-t,y:x.y-r,enabled:{[v]:o,[y]:l}}}}}).name,fn:q.fn,options:[E,M]},es&&{name:(G={name:"flip",options:O=C={...eH},async fn(e){var t,r,n,i,o,s,a,l;let u,c,d,{placement:E,middlewareData:M,rects:S,initialPlacement:C,platform:P,elements:T}=e,{mainAxis:R=!0,crossAxis:j=!0,fallbackPlacements:L,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:V="none",flipAlignment:N=!0,...I}=h(O,e);if(null!=(t=M.arrow)&&t.alignmentOffset)return{};let z=p(E),F=g(C),_=p(C)===C,B=await (null==P.isRTL?void 0:P.isRTL(T.floating)),W=L||(_||!N?[A(C)]:(u=A(C),[v(C),u,v(u)])),$="none"!==V;!L&&$&&W.push(...(c=f(C),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?w:b;return t?b:w;case"left":case"right":return t?x:k;default:return[]}}(p(C),"start"===V,B),c&&(d=d.map(e=>e+"-"+c),N&&(d=d.concat(d.map(v)))),d));let H=[C,...W],U=await P.detectOverflow(e,I),q=[],G=(null==(r=M.flip)?void 0:r.overflows)||[];if(R&&q.push(U[z]),j){let e,t,r,n,i=(s=E,a=S,void 0===(l=B)&&(l=!1),e=f(s),r=y(t=m(g(s))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[r]>a.floating[r]&&(n=A(n)),[n,A(n)]);q.push(U[i[0]],U[i[1]])}if(G=[...G,{placement:E,overflows:q}],!q.every(e=>e<=0)){let e=((null==(n=M.flip)?void 0:n.index)||0)+1,t=H[e];if(t&&("alignment"!==j||F===g(t)||G.every(e=>g(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:G},reset:{placement:t}};let r=null==(i=G.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(D){case"bestFit":{let e=null==(o=G.filter(e=>{if($){let t=g(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=C}if(E!==r)return{reset:{placement:r}}}return{}}}).name,fn:G.fn,options:[C,D]},{name:(K={name:"size",options:z=V={...eH,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let n,i,{placement:o,rects:l,platform:u,elements:c}=e,{apply:d=()=>{},...m}=h(z,e),y=await u.detectOverflow(e,m),v=p(o),b=f(o),w="y"===g(o),{width:x,height:k}=l.floating;"top"===v||"bottom"===v?(n=v,i=b===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(i=v,n="end"===b?"top":"bottom");let A=k-y.top-y.bottom,E=x-y.left-y.right,M=s(k-y[n],A),S=s(x-y[i],E),C=!e.middlewareData.shift,P=M,T=S;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=E),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=A),C&&!b){let e=a(y.left,0),t=a(y.right,0),r=a(y.top,0),n=a(y.bottom,0);w?T=x-2*(0!==e||0!==t?e+t:a(y.left,y.right)):P=k-2*(0!==r||0!==n?r+n:a(y.top,y.bottom))}await d({...e,availableWidth:T,availableHeight:P});let R=await u.getDimensions(c.floating);return x!==R.width||k!==R.height?{reset:{rects:!0}}:{}}}).name,fn:K.fn,options:[V,I]},eD&&{name:(X={name:"arrow",options:B=F={element:eD,padding:ei},fn(e){let{element:t,padding:r}="function"==typeof B?B(e):B;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?em({element:t.current,padding:r}).fn(e):{}:t?em({element:t,padding:r}).fn(e):{}}}).name,fn:X.fn,options:[F,_]},eq({arrowWidth:eI,arrowHeight:e_}),ec&&{name:(Y={name:"hide",options:H=W={strategy:"referenceHidden",...eH},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...i}=h(H,e);switch(n){case"referenceHidden":{let n=T(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:R(n)}}}case"escaped":{let n=T(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:R(n)}}}default:return{}}}}).name,fn:Y.fn,options:[W,$]}]}),[eJ,e0]=eG(eY),e1=(0,eC.c)(eh);(0,eP.N)(()=>{eZ&&e1?.()},[eZ,e1]);let e2=eQ.arrow?.x,e5=eQ.arrow?.y,e4=eQ.arrow?.centerOffset!==0,[e9,e3]=i.useState();return(0,eP.N)(()=>{eR&&e3(window.getComputedStyle(eR).zIndex)},[eR]),(0,eA.jsx)("div",{ref:eK.setFloating,"data-radix-popper-content-wrapper":"",style:{...eX,transform:eZ?eX.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e9,"--radix-popper-transform-origin":[eQ.transformOrigin?.x,eQ.transformOrigin?.y].join(" "),...eQ.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eA.jsx)(eF,{scope:Z,placedSide:eJ,onArrowChange:eV,arrowX:e2,arrowY:e5,shouldHideArrow:e4,children:(0,eA.jsx)(ek.sG.div,{"data-side":eJ,"data-align":e0,...eE,ref:eL,style:{...eE.style,animation:eZ?void 0:"none"}})})})});eB.displayName=ez;var eW="PopperArrow",e$={top:"bottom",right:"left",bottom:"top",left:"right"},eH=i.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=e_(eW,r),o=e$[i.placedSide];return(0,eA.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eA.jsx)(eE,{...n,ref:t,style:{...n.style,display:"block"}})})});function eU(e){return null!==e}eH.displayName=eW;var eq=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=eG(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+s/2,h=(i.arrow?.y??0)+a/2,p="",f="";return"bottom"===l?(p=o?c:`${d}px`,f=`${-a}px`):"top"===l?(p=o?c:`${d}px`,f=`${n.floating.height+a}px`):"right"===l?(p=`${-a}px`,f=o?c:`${h}px`):"left"===l&&(p=`${n.floating.width+a}px`,f=o?c:`${h}px`),{data:{x:p,y:f}}}});function eG(e){let[t,r="center"]=e.split("-");return[t,r]}var eK=eV,eX=eI,eY=eB,eZ=eH},82407:()=>{},83417:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(12115);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},83935:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n=r(12115),i=r(47527),o=r(66294),s=e=>{var t;let r,s,{present:l,children:u}=e,c=function(e){var t,r;let[i,s]=n.useState(),l=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=a(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=a(l.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(h("ANIMATION_END"),!u.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(c.current=a(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),h=(0,i.s)(c.ref,(t=d,(s=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(s=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?n.cloneElement(d,{ref:h}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence"},84286:(e,t,r)=>{"use strict";let n,i,o,s;r.d(t,{P:()=>oF});let a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set(a),u=(e,t,r)=>r>t?t:r<e?e:r,c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},d={...c,transform:e=>u(0,1,e)},h={...c,default:1},p=e=>Math.round(1e5*e)/1e5,f=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,y=(e,t)=>r=>!!("string"==typeof r&&m.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),g=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,s,a]=n.match(f);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},v={...c,transform:e=>Math.round(u(0,255,e))},b={test:y("rgb","red"),parse:g("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+v.transform(e)+", "+v.transform(t)+", "+v.transform(r)+", "+p(d.transform(n))+")"},w={test:y("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:b.transform},x=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),k=x("deg"),A=x("%"),E=x("px"),M=x("vh"),S=x("vw"),C={...A,parse:e=>A.parse(e)/100,transform:e=>A.transform(100*e)},P={test:y("hsl","hue"),parse:g("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+A.transform(p(t))+", "+A.transform(p(r))+", "+p(d.transform(n))+")"},T={test:e=>b.test(e)||w.test(e)||P.test(e),parse:e=>b.test(e)?b.parse(e):P.test(e)?P.parse(e):w.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?b.transform(e):P.transform(e),getAnimatableNone:e=>{let t=T.parse(e);return t.alpha=0,T.transform(t)}},R=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",L="color",D=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function O(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,s=t.replace(D,e=>(T.test(e)?(n.color.push(o),i.push(L),r.push(T.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(j),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:s,indexes:n,types:i}}function V({split:e,types:t}){let r=e.length;return n=>{let i="";for(let o=0;o<r;o++)if(i+=e[o],void 0!==n[o]){let e=t[o];e===j?i+=p(n[o]):e===L?i+=T.transform(n[o]):i+=n[o]}return i}}let N={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(f)?.length||0)+(e.match(R)?.length||0)>0},parse:function(e){return O(e).values},createTransformer:function(e){return V(O(e))},getAnimatableNone:function(e){let t=O(e);return V(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:T.test(e)?T.getAnimatableNone(e):e)(e,t.split[r])))}},I=new Set(["brightness","contrast","saturate","opacity"]);function z(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(f)||[];if(!n)return e;let i=r.replace(n,""),o=+!!I.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let F=/\b([a-z-]*)\(.*?\)/gu,_={...N,getAnimatableNone:e=>{let t=e.match(F);return t?t.map(z).join(" "):e}},B={...N,getAnimatableNone:e=>{let t=N.parse(e);return N.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},W={...c,transform:Math.round},$={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E,rotate:k,rotateX:k,rotateY:k,rotateZ:k,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:k,skewX:k,skewY:k,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:d,originX:C,originY:C,originZ:E,zIndex:W,fillOpacity:d,strokeOpacity:d,numOctaves:W},H={...$,color:T,backgroundColor:T,outlineColor:T,fill:T,stroke:T,borderColor:T,borderTopColor:T,borderRightColor:T,borderBottomColor:T,borderLeftColor:T,filter:_,WebkitFilter:_,mask:B,WebkitMask:B},U=e=>H[e],q=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:q(),y:q()}),K=()=>({min:0,max:0}),X=()=>({x:K(),y:K()}),Y=e=>!!(e&&e.getVelocity),Z=new Set(["width","height","top","left","right","bottom",...a]),Q=e=>t=>t.test(e),J=[c,E,A,k,S,M,{test:e=>"auto"===e,parse:e=>e}],ee=e=>J.find(Q(e));r(41463);let et=()=>{},er=()=>{},en=e=>t=>"string"==typeof t&&t.startsWith(e),ei=en("--"),eo=en("var(--"),es=e=>!!eo(e)&&ea.test(e.split("/*")[0].trim()),ea=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function el(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let eu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ec=e=>180*e/Math.PI,ed=e=>ep(ec(Math.atan2(e[1],e[0]))),eh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ed,rotateZ:ed,skewX:e=>ec(Math.atan(e[1])),skewY:e=>ec(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ep=e=>((e%=360)<0&&(e+=360),e),ef=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),em=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ey={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ef,scaleY:em,scale:e=>(ef(e)+em(e))/2,rotateX:e=>ep(ec(Math.atan2(e[6],e[5]))),rotateY:e=>ep(ec(Math.atan2(-e[2],e[0]))),rotateZ:ed,rotate:ed,skewX:e=>ec(Math.atan(e[4])),skewY:e=>ec(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ev(e,t){let r,n;if(!e||"none"===e)return eg(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=ey,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eh,n=t}if(!n)return eg(t);let o=r[t],s=n[1].split(",").map(eb);return"function"==typeof o?o(s):s[o]}function eb(e){return parseFloat(e.trim())}let ew=e=>e===c||e===E,ex=new Set(["x","y","z"]),ek=a.filter(e=>!ex.has(e)),eA={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ev(t,"x"),y:(e,{transform:t})=>ev(t,"y")};eA.translateX=eA.x,eA.translateY=eA.y;let eE=e=>e,eM={},eS=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eC(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,s=eS.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){s.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,o=!1)=>{let a=o&&i?r:n;return t&&s.add(e),a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(a=e,i){o=!0;return}i=!0;let s=r;r=n,n=s,r.forEach(u),t,l=0,r.clear(),i=!1,o&&(o=!1,c.process(e))}};return c}(o,t?r:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:f}=s,m=()=>{let o=eM.useManualTiming,s=o?i.timestamp:performance.now();r=!1,o||(i.delta=n?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),p.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))};return{schedule:eS.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<eS.length;t++)s[eS[t]].cancel(e)},state:i,steps:s}}let{schedule:eP,cancel:eT,state:eR,steps:ej}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eE,!0),eL=new Set,eD=!1,eO=!1,eV=!1;function eN(){if(eO){let e=Array.from(eL).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],ek.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eO=!1,eD=!1,eL.forEach(e=>e.complete(eV)),eL.clear()}function eI(){eL.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eO=!0)})}class ez{constructor(e,t,r,n,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eL.add(this),eD||(eD=!0,eP.read(eI),eP.resolveKeyframes(eN))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eL.delete(this)}cancel(){"scheduled"===this.state&&(eL.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eF=new Set([_,B]);function e_(e,t){let r=U(e);return eF.has(r)||(r=N),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eB=new Set(["auto","none","0"]);class eW extends ez{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&es(n=n.trim())){let i=function e(t,r,n=1){er(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,o]=function(e){let t=eu.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let s=window.getComputedStyle(r).getPropertyValue(i);if(s){let e=s.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return es(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!Z.has(r)||2!==e.length)return;let[n,i]=e,o=ee(n),s=ee(i);if(el(n)!==el(i)&&eA[r]){this.needsMeasurement=!0;return}if(o!==s)if(ew(o)&&ew(s))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eA[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!eB.has(t)&&O(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=e_(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eA[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,o=r[i];r[i]=eA[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let e$=e=>1e3*e;function eH(e,t){-1===e.indexOf(t)&&e.push(t)}function eU(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class eq{constructor(){this.subscriptions=[]}add(e){return eH(this.subscriptions,e),()=>eU(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eG(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function eK(e){let t;return()=>(void 0===t&&(t=e()),t)}let eX={};function eY(e,t){let r=eK(e);return()=>eX[t]??r()}let eZ=eY(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function eJ(e,{repeat:t,repeatType:r="loop"},n,i=1){let o=e.filter(eQ),s=i<0||t&&"loop"!==r&&t%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}class e0{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e1={layout:0,mainThread:0,waapi:0},e2=e=>Array.isArray(e)&&"number"==typeof e[0],e5=eY(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e4=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},e9=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e9([0,.65,.55,1]),circOut:e9([.55,0,1,.45]),backIn:e9([.31,.01,.66,-.59]),backOut:e9([.33,1.53,.69,.99])};function e6(e){return"function"==typeof e&&"applyToOptions"in e}class e7 extends e0{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,er("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e6(e)&&e5()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let d=function e(t,r){if(t)return"function"==typeof t?e5()?e4(t,r):"ease-out":e2(t)?e9(t):Array.isArray(t)?t.map(t=>e(t,r)||e3.easeOut):e3[t]}(a,i);Array.isArray(d)&&(c.easing=d);let h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(c,h);return p}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=eJ(n,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eG(t,r,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e$(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eZ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eE):n(this)}}let e8=new Set(["opacity","clipPath","filter","transform"]),{schedule:te}=eC(queueMicrotask,!1);function tt(){n=void 0}let tr={now:()=>(void 0===n&&tr.set(eR.isProcessing||eM.useManualTiming?eR.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tt)}};class tn{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tr.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tr.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eq);let r=this.events[e].add(t);return"change"===e?()=>{r(),eP.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s&&s.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tr.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ti(e,t){return new tn(e,t)}let to=[...J,T,N],ts=new WeakMap;function ta(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tl(e){return"string"==typeof e||Array.isArray(e)}let tu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tc=["initial",...tu];function td(e){return ta(e.animate)||tc.some(t=>tl(e[t]))}function th(e){return!!(td(e)||e.variants)}let tp={current:null},tf={current:!1},tm="u">typeof window;function ty(e){let t=[{},{}];return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tg(e,t,r,n){if("function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=ty(n);t=t(void 0!==r?r:e.custom,i,o)}return t}let tv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tb={};class tw{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ez,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tr.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eP.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=td(t),this.isVariantNode=th(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&Y(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ts.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tf.current||function(){if(tf.current=!0,tm)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eT(this.notifyUpdate),eT(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e8.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:o,duration:s}=t.accelerate,a=new e7({element:this.current,name:e,keyframes:n,times:i,ease:o,duration:e$(s)}),l=r(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let n=l.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eP.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tb){let t=tb[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tv.length;t++){let r=tv[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],o=r[n];if(Y(i))e.addValue(n,i);else if(Y(o))e.addValue(n,ti(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,ti(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=ti(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!to.find(Q(n))&&N.test(t)&&(r=e_(e,t))}this.setBaseTarget(e,Y(r)?r.get():r)}return Y(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tg(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||Y(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new eq),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){te.render(this.render)}}class tx extends tw{constructor(){super(...arguments),this.KeyframeResolver=eW}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Y(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tk(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tA=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tM=a.length;function tS(e,t,r){let{style:n,vars:i,transformOrigin:o}=e,s=!1,u=!1;for(let e in t){let r=t[e];if(l.has(e)){s=!0;continue}if(ei(e)){i[e]=r;continue}{let t=tA(r,$[e]);e.startsWith("origin")?(u=!0,o[e]=t):n[e]=t}}if(!t.transform&&(s||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<tM;o++){let s=a[o],l=e[s];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!s.startsWith("scale");else{let e=parseFloat(l);u=s.startsWith("scale")?1===e:0===e}if(!u||r){let e=tA(l,$[s]);if(!u){i=!1;let t=tE[s]||s;n+=`${t}(${e}) `}r&&(t[s]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}let tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},tP={offset:"strokeDashoffset",array:"strokeDasharray"},tT=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tR(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(tS(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tT))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?tC:tP;e[o.offset]=`${-n}`,e[o.array]=`${t} ${r}`}(d,i,o,s,!1)}let tj=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tL=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tD(e,{style:t,vars:r},n,i){let o,s=e.style;for(o in t)s[o]=t[o];for(o in i?.applyProjectionStyles(s,n),r)s.setProperty(o,r[o])}function tO(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tV={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!E.test(e))return e;else e=parseFloat(e);let r=tO(e,t.target.x),n=tO(e,t.target.y);return`${r}% ${n}%`}},tN=(e,t,r)=>e+(t-e)*r,tI={borderRadius:{...tV,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tV,borderTopRightRadius:tV,borderBottomLeftRadius:tV,borderBottomRightRadius:tV,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=N.parse(e);if(n.length>5)return e;let i=N.createTransformer(e),o=+("number"!=typeof n[0]),s=r.x.scale*t.x,a=r.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tN(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}};function tz(e,{layout:t,layoutId:r}){return l.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tI[e]||"opacity"===e)}function tF(e,t,r){let n=e.style,i=t?.style,o={};if(!n)return o;for(let t in n)(Y(n[t])||i&&Y(i[t])||tz(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(o[t]=n[t]);return o}function t_(e,t,r){let n=tF(e,t,r);for(let r in e)(Y(e[r])||Y(t[r]))&&(n[-1!==a.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tB extends tx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.has(t)){let e=U(t);return e&&e.default||0}return t=tj.has(t)?t:tk(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return t_(e,t,r)}build(e,t,r){tR(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tD(e,t,void 0,n),t.attrs)e.setAttribute(tj.has(r)?r:tk(r),t.attrs[r])}mount(e){this.isSVGTag=tL(e.tagName),super.mount(e)}}function tW({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function t$(e){return void 0===e||1===e}function tH({scale:e,scaleX:t,scaleY:r}){return!t$(e)||!t$(t)||!t$(r)}function tU(e){return tH(e)||tq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tq(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tG(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tK(e,t=0,r=1,n,i){e.min=tG(e.min,t,r,n,i),e.max=tG(e.max,t,r,n,i)}function tX(e,{x:t,y:r}){tK(e.x,t.translate,t.scale,t.originPoint),tK(e.y,r.translate,r.scale,r.originPoint)}function tY(e,t){e.min+=t,e.max+=t}function tZ(e,t,r,n,i=.5){let o=tN(e.min,e.max,i);tK(e,t,r,o,n)}function tQ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function tJ(e,t,r){let n=r??e;tZ(e.x,tQ(t.x,n.x),t.scaleX,t.scale,t.originX),tZ(e.y,tQ(t.y,n.y),t.scaleY,t.scale,t.originY)}function t0(e,t){return tW(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class t1 extends tx{constructor(){super(...arguments),this.type="html",this.renderInstance=tD}readValueFromInstance(e,t){if(l.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return ev(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(ei(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t0(e,t)}build(e,t,r){tS(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tF(e,t,r)}}var t2,t5=r(12115);let t4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t9(e){if("string"!=typeof e||e.includes("-"));else if(t4.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t3=r(95155),t6=r(39551);let t7=(0,t5.createContext)({strict:!1});var t8=r(24866);let re=(0,t5.createContext)({});function rt(e){return Array.isArray(e)?e.join(" "):e}let rr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rn(e,t,r){for(let n in t)Y(t[n])||tz(n,r)||(e[n]=t[n])}let ri=()=>({...rr(),attrs:{}}),ro=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ro.has(e)}let ra=e=>!rs(e);try{t2=require("@emotion/is-prop-valid").default,"function"==typeof t2&&(ra=e=>e.startsWith("on")?!rs(e):t2(e))}catch{}function rl(e){return Y(e)?e.get():e}var ru=r(15131),rc=r(28819);let rd=e=>(t,r)=>{let n=(0,t5.useContext)(re),i=(0,t5.useContext)(ru.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=rl(o[e]);let{initial:s,animate:a}=e,l=td(e),u=th(e);t&&u&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let c=!!r&&!1===r.initial,d=(c=c||!1===s)?a:s;if(d&&"boolean"!=typeof d&&!ta(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=tg(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():(0,rc.M)(o)},rh=rd({scrapeMotionValuesFromProps:tF,createRenderState:rr}),rp=rd({scrapeMotionValuesFromProps:t_,createRenderState:ri}),rf={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rm=!1;function ry(){return!function(){if(rm)return;let e={};for(let t in rf)e[t]={isEnabled:e=>rf[t].some(t=>!!e[t])};tb=e,rm=!0}(),tb}let rg=Symbol.for("motionComponentSymbol"),rv="data-"+tk("framerAppearId"),rb=(0,t5.createContext)({});function rw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var rx=r(65239);function rk(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=ry();for(let r in e)t[r]={...t[r],...e[r]};tb=t}(n);let o=r?"svg"===r:t9(e),s=o?rp:rh;function a(r,n){var a;let l,u,c,d={...(0,t5.useContext)(t8.Q),...r,layoutId:function({layoutId:e}){let t=(0,t5.useContext)(t6.L).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:h}=d,p=function(e){let{initial:t,animate:r}=function(e,t){if(td(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tl(t)?t:void 0,animate:tl(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t5.useContext)(re));return(0,t5.useMemo)(()=>({initial:t,animate:r}),[rt(t),rt(r)])}(r),f=s(r,h);if(!h&&"u">typeof window){(0,t5.useContext)(t7).strict;let t=function(e){let{drag:t,layout:r}=ry();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(d);l=t.MeasureLayout,p.visualElement=function(e,t,r,n,i,o){let{visualElement:s}=(0,t5.useContext)(re),a=(0,t5.useContext)(t7),l=(0,t5.useContext)(ru.t),u=(0,t5.useContext)(t8.Q),c=u.reducedMotion,d=u.skipAnimations,h=(0,t5.useRef)(null),p=(0,t5.useRef)(!1);n=n||a.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:s,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let f=h.current,m=(0,t5.useContext)(rb);f&&!f.projection&&i&&("html"===f.type||"svg"===f.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&rw(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(h.current,r,i,m);let y=(0,t5.useRef)(!1);(0,t5.useInsertionEffect)(()=>{f&&y.current&&f.update(r,l)});let g=r[rv],v=(0,t5.useRef)(!!g&&"u">typeof window&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return(0,rx.E)(()=>{p.current=!0,f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,t5.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),v.current=!1),f.enteringChildren=void 0)}),f}(e,f,d,i,t.ProjectionNode,o)}return(0,t3.jsxs)(re.Provider,{value:p,children:[l&&p.visualElement?(0,t3.jsx)(l,{visualElement:p.visualElement,...d}):null,function(e,t,r,{latestValues:n},i,o=!1,s){let a=(s??t9(e)?function(e,t,r,n){let i=(0,t5.useMemo)(()=>{let r=ri();return tR(r,t,tL(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};rn(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},rn(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t5.useMemo)(()=>{let r=rr();return tS(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),l=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!Y(e[i])&&(ra(i)||!0===r&&rs(i)||!t&&!rs(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(t,"string"==typeof e,o),u=e!==t5.Fragment?{...l,...a,ref:r}:{},{children:c}=t,d=(0,t5.useMemo)(()=>Y(c)?c.get():c,[c]);return(0,t5.createElement)(e,{...u,children:d})}(e,r,(a=p.visualElement,u=(0,t5.useRef)(n),(0,t5.useInsertionEffect)(()=>{u.current=n}),c=(0,t5.useRef)(null),(0,t5.useCallback)(e=>{e&&f.onMount?.(e);let t=u.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(c.current=r)}else c.current?(c.current(),c.current=null):t(e);else t&&(t.current=e);a&&(e?a.mount(e):a.unmount())},[a])),f,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t5.forwardRef)(a);return l[rg]=e,l}class rA{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rE(e,t,r){let n=e.getProps();return tg(n,t,void 0!==r?r:n.custom,e)}function rM(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rS(e,t){let r=e?.[t]??e?.default??e;return r!==e?rM(r,e):r}let rC=e=>Array.isArray(e);function rP(e,t){let r=e.getValue("willChange");if(Y(r)&&r.add)return r.add(t);if(!r&&eM.WillChange){let r=new eM.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rT=(e,t)=>r=>t(e(r)),rR=(...e)=>e.reduce(rT);function rj(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rL(e,t){return r=>r>0?t:e}let rD=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},rO=[w,b,P];function rV(e){let t=rO.find(t=>t.test(e));if(et(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===P&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,s=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=rj(a,n,e+1/3),o=rj(a,n,e),s=rj(a,n,e-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let rN=(e,t)=>{let r=rV(e),n=rV(t);if(!r||!n)return rL(e,t);let i={...r};return e=>(i.red=rD(r.red,n.red,e),i.green=rD(r.green,n.green,e),i.blue=rD(r.blue,n.blue,e),i.alpha=tN(r.alpha,n.alpha,e),b.transform(i))},rI=new Set(["none","hidden"]);function rz(e,t){return r=>tN(e,t,r)}function rF(e){return"number"==typeof e?rz:"string"==typeof e?es(e)?rL:T.test(e)?rN:rW:Array.isArray(e)?r_:"object"==typeof e?T.test(e)?rN:rB:rL}function r_(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>rF(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rB(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=rF(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rW=(e,t)=>{let r=N.createTransformer(t),n=O(e),i=O(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return et(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),rL(e,t);if(rI.has(e)&&!i.values.length||rI.has(t)&&!n.values.length)return rI.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rR(r_(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let o=t.types[i],s=e.indexes[o][n[o]],a=e.values[s]??0;r[i]=a,n[o]++}return r}(n,i),i.values),r)};function r$(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tN(e,t,r):rF(e)(e,t)}let rH=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eP.update(t,e),stop:()=>eT(t),now:()=>eR.isProcessing?eR.timestamp:tr.now()}};function rU(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let rq=.01,rG=2,rK=.005,rX=.5;function rY(e,t){return e*Math.sqrt(1-t*t)}let rZ=["duration","bounce"],rQ=["stiffness","damping","mass"];function rJ(e,t){return t.some(t=>void 0!==e[t])}function r0(e=.3,t=.3){let r,n,i,o,s,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:d}=l,h=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],f={done:!1,value:h},{stiffness:m,damping:y,mass:g,duration:v,velocity:b,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rJ(e,rQ)&&rJ(e,rZ))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*u(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,o;et(e<=e$(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=u(.05,1,s),e=u(.01,10,e/1e3),s<1?(i=t=>{let n=t*s,i=n*e;return .001-(n-r)/rY(t,s)*Math.exp(-i)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=rY(Math.pow(t,2),s);return(n*r+r-o)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=e$(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),x=b||0,k=y/(2*Math.sqrt(m*g)),A=p-h,E=Math.sqrt(m/g)/1e3,M=5>Math.abs(A);if(c||(c=M?rq:rG),d||(d=M?rK:rX),k<1)i=rY(E,k),o=(x+k*E*A)/i,r=e=>p-Math.exp(-k*E*e)*(o*Math.sin(i*e)+A*Math.cos(i*e)),s=k*E*o+A*i,a=k*E*A-o*i,n=e=>Math.exp(-k*E*e)*(s*Math.sin(i*e)+a*Math.cos(i*e));else if(1===k){r=e=>p-Math.exp(-E*e)*(A+(x+E*A)*e);let e=x+E*A;n=t=>Math.exp(-E*t)*(E*e*t-x)}else{let e=E*Math.sqrt(k*k-1);r=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return p-r*((x+k*E*A)*Math.sinh(n)+e*A*Math.cosh(n))/e};let t=(x+k*E*A)/e,i=k*E*t-A*e,o=k*E*A-t*e;n=t=>{let r=Math.exp(-k*E*t),n=Math.min(e*t,300);return r*(i*Math.sinh(n)+o*Math.cosh(n))}}let S={calculatedDuration:w&&v||null,velocity:e=>e$(n(e)),next:e=>{if(!w&&k<1){let t=Math.exp(-k*E*e),r=Math.sin(i*e),n=Math.cos(i*e),l=p-t*(o*r+A*n);return f.done=Math.abs(e$(t*(s*r+a*n)))<=c&&Math.abs(p-l)<=d,f.value=f.done?p:l,f}let t=r(e);return w?f.done=e>=v:f.done=Math.abs(e$(n(e)))<=c&&Math.abs(p-t)<=d,f.value=f.done?p:t,f},toString:()=>{let e=Math.min(rU(S),2e4),t=e4(t=>S.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return S}function r1(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}function r2({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],f={done:!1,value:p},m=r*t,y=p+m,g=void 0===s?y:s(y);g!==y&&(m=g-p);let v=e=>-m*Math.exp(-e/n),b=e=>g+v(e),w=e=>{let t=v(e),r=b(e);f.done=Math.abs(t)<=u,f.value=f.done?g:r},x=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var r;d=e,h=r0({keyframes:[f.value,(r=f.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:r1(b,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,w(e),x(e)),void 0!==d&&e>=d)?h.next(e-d):(t||w(e),f)}}}r0.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rU(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,r0);return e.ease=t.ease,e.duration=e$(t.duration),e.type="keyframes",e};let r5=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r4(e,t,r,n){return e===t&&r===n?eE:i=>0===i||1===i?i:r5(function(e,t,r,n,i){let o,s,a=0;do(o=r5(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s}(i,0,1,e,r),t,n)}let r9=r4(.42,0,1,1),r3=r4(0,0,.58,1),r6=r4(.42,0,.58,1),r7=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,r8=e=>t=>1-e(1-t),ne=r4(.33,1.53,.69,.99),nt=r8(ne),nr=r7(nt),nn=e=>e>=1?1:(e*=2)<1?.5*nt(e):.5*(2-Math.pow(2,-10*(e-1))),ni=e=>1-Math.sin(Math.acos(e)),no=r8(ni),ns=r7(ni),na={linear:eE,easeIn:r9,easeInOut:r6,easeOut:r3,circIn:ni,circInOut:ns,circOut:no,backIn:nt,backInOut:nr,backOut:ne,anticipate:nn},nl=e=>{if(e2(e)){er(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return r4(t,r,n,i)}return"string"==typeof e?(er(void 0!==na[e],`Invalid easing type '${e}'`,"invalid-easing-type"),na[e]):e},nu=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function nc({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o,s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nl):nl(n),a={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(er(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||eM.mix||r$,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=rR(Array.isArray(t)?t[r]||eE:t,o)),n.push(o)}return n}(t,n,i),l=a.length,c=r=>{if(s&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=nu(e[n],e[n+1],r);return a[n](i)};return r?t=>c(u(e[0],e[o-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nu(0,t,n);e.push(tN(r,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||r6).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let nd={decay:r2,inertia:r2,tween:nc,keyframes:nc,spring:r0};function nh(e){"string"==typeof e.type&&(e.type=nd[e.type])}let np=e=>e/100;class nf extends e0{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tr.now()&&this.tick(tr.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e1.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nh(e);let{type:t=nc,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,a=t||nc;a!==nc&&"number"!=typeof s[0]&&(this.mixKeyframes=rR(np,r$(s[0],s[1])),s=[0,100]);let l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=rU(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:f,type:m,onUpdate:y,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,x=n;if(h){let e=Math.min(this.currentTime,i)/a,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/a)):"mirror"===p&&(x=s)),w=u(0,1,r)*a}b?(this.delayState.value=d[0],r=this.delayState):r=x.next(w),o&&!b&&(r.value=o(r.value));let{done:k}=r;b||null===l||(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return A&&m!==r2&&(r.value=eJ(d,this.options,g,this.speed)),y&&y(r.value),A&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e$(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return r1(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tr.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rH,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tr.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e1.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let nm={anticipate:nn,backInOut:nr,circInOut:ns};class ny extends e7{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nm&&(e.ease=nm[e.ease])}(e),nh(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new nf({...o,autoplay:!1}),a=Math.max(10,tr.now()-this.startTime),l=u(0,10,a-10),c=s.sample(a).value,{name:d}=this.options;i&&d&&eG(i,d,c),t.setWithVelocity(s.sample(Math.max(0,a-l)).value,c,l),s.stop()}}let ng=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(N.test(e)||"0"===e)&&!e.startsWith("url("));function nv(e){e.duration=0,e.type="keyframes"}let nb=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nw=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nx=eK(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nk extends e0{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tr.now();const d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:u,...c},h=u?.KeyframeResolver||ez;this.keyframeResolver=new h(s,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let i;this.keyframeResolver=void 0;let{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=tr.now();let d=!0;!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=ng(i,t),a=ng(o,t);return et(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||e6(r))&&n)}(e,o,s,a)&&(d=!1,(eM.instantAnimations||!l)&&c?.(eJ(e,r,t)),e[0]=e[e.length-1],nv(r),r.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},p=d&&!u&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:o,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return nx()&&r&&(e8.has(r)||nw.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&nb.test(e[t]))return!0;return!1}(a))&&("transform"!==r||!u)&&!l&&!n&&"mirror"!==i&&0!==o&&"inertia"!==s}(h),f=h.motionValue?.owner?.current;if(p)try{i=new ny({...h,element:f})}catch{i=new nf(h)}else i=new nf(h);i.finished.then(()=>{this.notifyFinished()}).catch(eE),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eV=!0,eI(),eN(),eV=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nA={type:"spring",stiffness:500,damping:25,restSpeed:10},nE={type:"keyframes",duration:.8},nM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nS=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nC=(e,t,r,n={},i,o)=>s=>{let a=rS(n,e)||{},u=a.delay||n.delay||0,{elapsed:c=0}=n;c-=e$(u);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function(e){for(let t in e)if(!nS.has(t))return!0;return!1}(a)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nE:l.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nA:nM)(e,d)),d.duration&&(d.duration=e$(d.duration)),d.repeatDelay&&(d.repeatDelay=e$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nv(d),0===d.delay&&(h=!0)),(eM.instantAnimations||eM.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,nv(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,h&&!o&&void 0!==t.get()){let e=eJ(d.keyframes,a);if(void 0!==e)return void eP.update(()=>{d.onUpdate(e),d.onComplete()})}return a.isSync?new nf(d):new nk(d)};function nP(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:s,...a}=t,l=e.getDefaultTransition();o=o?rM(o,l):l;let u=o?.reduceMotion;n&&(o=n);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let n=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let s={delay:r,...rS(o||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){eP.update(()=>n.set(i));continue}let h=!1;if(window.MotionHandoffAnimation){let r=e.props[rv];if(r){let e=window.MotionHandoffAnimation(r,t,eP);null!==e&&(s.startTime=e,h=!0)}}rP(e,t);let p=u??e.shouldReduceMotion;n.start(nC(t,n,i,p&&Z.has(t)?{type:!1}:s,e,h));let f=n.animation;f&&c.push(f)}if(s){let t=()=>eP.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rE(e,t)||{};for(let t in i={...i,...r}){var o;let r=rC(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ti(r))}}(e,s)});c.length?Promise.all(c).then(t):t()}return c}function nT(e,t,r,n=0,i=1){let o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*n;return"function"==typeof r?r(o,s):1===i?o*n:a-o*n}function nR(e,t,r={}){let n=rE(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(nP(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,r=0,n=0,i=0,o=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nR(l,t,{...s,delay:r+("function"==typeof n?0:n)+nT(e.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,o,s,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(r.delay)]);{let[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}}let nj=tc.length;function nL(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let nD=[...tu].reverse(),nO=tu.length;function nV(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nN(){return{animate:nV(!0),whileInView:nV(),whileHover:nV(),whileTap:nV(),whileDrag:nV(),whileFocus:nV(),exit:nV()}}class nI extends rA{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nR(e,t,r)));else if("string"==typeof t)n=nR(e,t,r);else{let i="function"==typeof t?rE(e,t,r.custom):t;n=Promise.all(nP(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nN(),n=!0,i=!1,o=t=>(r,n)=>{let i=rE(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function s(s){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<nj;e++){let n=tc[e],i=t.props[n];(tl(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},u=[],c=new Set,d={},h=1/0;for(let t=0;t<nO;t++){var p,f;let m=nD[t],y=r[m],g=void 0!==a[m]?a[m]:l[m],v=tl(g),b=m===s?y.isActive:null;!1===b&&(h=t);let w=g===l[m]&&g!==a[m]&&v;if(w&&(n||i)&&e.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===b||!g&&!y.prevProp||ta(g)||"boolean"==typeof g)continue;if("exit"===m&&y.isActive&&!0!==b){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let x=(p=y.prevProp,"string"==typeof(f=g)?f!==p:!!Array.isArray(f)&&!nL(f,p)),k=x||m===s&&y.isActive&&!w&&v||t>h&&v,A=!1,E=Array.isArray(g)?g:[g],M=E.reduce(o(m),{});!1===b&&(M={});let{prevResolvedValues:S={}}=y,C={...S,...M},P=t=>{k=!0,c.has(t)&&(A=!0,c.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in C){let t=M[e],r=S[e];if(!d.hasOwnProperty(e))(rC(t)&&rC(r)?nL(t,r):t===r)?void 0!==t&&c.has(e)?P(e):y.protectedKeys[e]=!0:null!=t?P(e):c.add(e)}y.prevProp=g,y.prevResolvedValues=M,y.isActive&&(d={...d,...M}),(n||i)&&e.blockInitialAnimation&&(k=!1);let T=w&&x,R=!T||A;k&&R&&u.push(...E.map(t=>{let r={type:m};if("string"==typeof t&&(n||i)&&!T&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rE(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nT(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof a.initial){let r=rE(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),u.push({animation:t})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,i=!1,m?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=s(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nN(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();ta(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nz=0;class nF extends rA{constructor(){super(...arguments),this.id=nz++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=rE(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let n_={x:!1,y:!1};function nB(e){return[e("x"),e("y")]}function nW(e){return e.max-e.min}function n$(e,t,r,n=.5){e.origin=n,e.originPoint=tN(t.min,t.max,e.origin),e.scale=nW(r)/nW(t),e.translate=tN(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nH(e,t,r,n){n$(e.x,t.x,r.x,n?n.originX:void 0),n$(e.y,t.y,r.y,n?n.originY:void 0)}function nU(e,t,r,n=0){e.min=(n?tN(r.min,r.max,n):r.min)+t.min,e.max=e.min+nW(t)}function nq(e,t,r,n=0){let i=n?tN(r.min,r.max,n):r.min;e.min=t.min-i,e.max=e.min+nW(t)}function nG(e,t,r,n){nq(e.x,t.x,r.x,n?.x),nq(e.y,t.y,r.y,n?.y)}let nK=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nX=new Set(["INPUT","SELECT","TEXTAREA"]);function nY(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var nZ=r(94601);function nQ(e){return(0,nZ.G)(e)&&"ownerSVGElement"in e}function nJ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let n0=new WeakMap,n1=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nQ(n)&&"getBBox"in n?n.getBBox()[t]:n[r],n2=n1("inline","width","offsetWidth"),n5=n1("block","height","offsetHeight");function n4({target:e,borderBoxSize:t}){n0.get(e)?.forEach(r=>{r(e,{get width(){return n2(e,t)},get height(){return n5(e,t)}})})}function n9(e){e.forEach(n4)}let n3=new Set;function n6(e,t){let r;return"function"==typeof e?(n3.add(e),o||(o=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n3.forEach(t=>t(e))},window.addEventListener("resize",o)),()=>{n3.delete(e),n3.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n9)),(r=nJ(e)).forEach(e=>{let r=n0.get(e);r||(r=new Set,n0.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=n0.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let n7=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n8(e){return{point:{x:e.pageX,y:e.pageY}}}function ie(e,t,r,n){return nY(e,t,e=>n7(e)&&r(e,n8(e)),n)}let it=({current:e})=>e?e.ownerDocument.defaultView:null,ir=(e,t)=>Math.abs(e-t),ii=new Set(["auto","scroll"]);class io{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=is(this.lastRawMoveEventInfo,this.transformPagePoint));let r=il(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(ir(e.x,t.x)**2+ir(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:o}=r,{timestamp:s}=eR;this.history.push({...o,timestamp:s});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=is(t,this.transformPagePoint),eP.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=il("pointercancel"===e.type?this.lastMoveEventInfo:is(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!n7(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=n||window;const a=is(n8(e),this.transformPagePoint),{point:l}=a,{timestamp:u}=eR;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=t;c&&c(e,il(a,this.history)),this.removeListeners=rR(ie(this.contextWindow,"pointermove",this.handlePointerMove),ie(this.contextWindow,"pointerup",this.handlePointerUp),ie(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ii.has(e.overflowX)||ii.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eP.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eT(this.updatePoint)}}function is(e,t){return t?{point:t(e.point)}:e}function ia(e,t){return{x:e.x-t.x,y:e.y-t.y}}function il({point:e},t){return{point:e,delta:ia(e,iu(t)),offset:ia(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=iu(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>e$(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*e$(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let o={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function iu(e){return e[e.length-1]}function ic(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function id(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function ih(e,t,r){return{min:ip(e,t),max:ip(e,r)}}function ip(e,t){return"number"==typeof e?e:e[t]||0}let im=new WeakMap;class iy{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n8(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(n_[e])return null;else return n_[e]=!0,()=>{n_[e]=!1};return n_.x||n_.y?null:(n_.x=n_.y=!0,()=>{n_.x=n_.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(A.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nW(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eP.update(()=>i(e,t),!1,!0),rP(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&eP.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new io(e,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:it(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&eP.postRender(()=>s(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!iv(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tN(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tN(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:ic(e.x,r,i),y:ic(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:ih(e,"left","right"),y:ih(e,"top","bottom")}}(t),n!==this.constraints&&!rw(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&nB(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rw(t))return!1;let n=t.current;er(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=t0(e,r),{scroll:i}=t;return i&&(tY(n.x,i.offset.x),tY(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s=(e=i.layout.layoutBox,{x:id(e.x,o.x),y:id(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=tW(e))}return s}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nB(s=>{if(!iv(s,t,this.currentDirection))return;let l=a&&a[s]||{};(!0===o||o===s)&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rP(this.visualElement,e),r.start(nC(e,r,0,t,this.visualElement,!1))}stopAnimation(){nB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){nB(t=>{let{drag:r}=this.getProps();if(!iv(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-tN(r,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rw(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let o,s,a,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],o=.5,s=nW(r),(a=nW(i))>s?o=nu(i.min,i.max-s,r.min):s>a&&(o=nu(r.min,r.max-a,i.min)),u(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),nB(t=>{if(!iv(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tN(i,o,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;im.set(this.visualElement,this);let t=this.visualElement.current,r=ie(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,o=i!==t&&(nX.has(i.tagName)||!0===i.isContentEditable);r&&n&&!o&&this.start(e)}),n=()=>{var r,n,i;let o,s,{dragConstraints:a}=this.getProps();rw(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=a.current,o=n6(r,ig(i=()=>this.scalePositionWithinConstraints())),s=n6(n,ig(i)),e=()=>{o(),s()}))},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eP.read(n);let s=nY(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nB(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),r(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function ig(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iv(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ib extends rA{constructor(e){super(e),this.removeGroupControls=eE,this.removeListeners=eE,this.controls=new iy(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eE}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let iw=e=>(t,r)=>{e&&eP.update(()=>e(t,r),!1,!0)};class ix extends rA{constructor(){super(...arguments),this.removePointerDownListener=eE}onPointerDown(e){this.session=new io(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:it(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:iw(e),onStart:iw(t),onMove:iw(r),onEnd:(e,t)=>{delete this.session,n&&eP.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=ie(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ik={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iA=r(79196);let iE=!1;class iM extends t5.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),iE&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ik.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),iE=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||eP.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),te.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;iE=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iS(e){let[t,r]=(0,iA.xQ)(),n=(0,t5.useContext)(t6.L);return(0,t3.jsx)(iM,{...e,layoutGroup:n,switchLayoutGroup:(0,t5.useContext)(rb),isPresent:t,safeToRemove:r})}let iC=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],iP=iC.length,iT=e=>"string"==typeof e?parseFloat(e):e,iR=e=>"number"==typeof e||E.test(e);function ij(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let iL=iO(0,.5,no),iD=iO(.5,.95,eE);function iO(e,t,r){return n=>n<e?0:n>t?1:r(nu(e,t,n))}function iV(e,t){e.min=t.min,e.max=t.max}function iN(e,t){iV(e.x,t.x),iV(e.y,t.y)}function iI(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iz(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function iF(e,t,[r,n,i],o,s){!function(e,t=0,r=1,n=.5,i,o=e,s=e){if(A.test(t)&&(t=parseFloat(t),t=tN(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tN(o.min,o.max,n);e===o&&(a-=t),e.min=iz(e.min,t,r,a,i),e.max=iz(e.max,t,r,a,i)}(e,t[r],t[n],t[i],t.scale,o,s)}let i_=["x","scaleX","originX"],iB=["y","scaleY","originY"];function iW(e,t,r,n){iF(e.x,t,i_,r?r.x:void 0,n?n.x:void 0),iF(e.y,t,iB,r?r.y:void 0,n?n.y:void 0)}function i$(e){return 0===e.translate&&1===e.scale}function iH(e){return i$(e.x)&&i$(e.y)}function iU(e,t){return e.min===t.min&&e.max===t.max}function iq(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iG(e,t){return iq(e.x,t.x)&&iq(e.y,t.y)}function iK(e){return nW(e.x)/nW(e.y)}function iX(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iY{constructor(){this.members=[]}add(e){eH(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(eU(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(eU(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iZ=(e,t)=>e.depth-t.depth;class iQ{constructor(){this.children=[],this.isDirty=!1}add(e){eH(this.children,e),this.isDirty=!0}remove(e){eU(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iZ),this.isDirty=!1,this.children.forEach(e)}}let iJ=["","X","Y","Z"],i0=0;function i1(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function i2({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=i0++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i9),this.nodes.forEach(oi),this.nodes.forEach(oo),this.nodes.forEach(i3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iQ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eq),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nQ(t)&&!(nQ(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eP.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,o;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=tr.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&(eT(o),i(r-250))},eP.setup(o,!0),r=()=>eT(o),ik.hasAnimatedSinceResize&&(ik.hasAnimatedSinceResize=!1,this.nodes.forEach(on))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||i.getDefaultTransition()||od,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!iG(this.targetLayout,n),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rS(o,"layout"),onPlay:s,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||on(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eT(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(os),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rv];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eP,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(i8),this.nodes.forEach(i7);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(oe);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ot),this.nodes.forEach(or),this.nodes.forEach(i5),this.nodes.forEach(i4)):this.nodes.forEach(oe),this.clearAllSnapshots();let e=tr.now();eR.delta=u(0,1e3/60,e-eR.timestamp),eR.timestamp=e,eR.isProcessing=!0,ej.update.process(eR),ej.preRender.process(eR),ej.render.process(eR),eR.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,te.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i6),this.sharedNodes.forEach(oa)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eP.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eP.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nW(this.snapshot.measuredBox.x)||nW(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=X()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iH(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||tU(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),of((t=n).x),of(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return X();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oy))){let{scroll:e}=this.root;e&&(tY(t.x,e.offset.x),tY(t.y,e.offset.y))}return t}removeElementScroll(e){let t=X();if(iN(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&iN(t,e),tY(t.x,i.offset.x),tY(t.y,i.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||X();iN(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(tY(n.x,-r.scroll.offset.x),tY(n.y,-r.scroll.offset.y)),tU(r.latestValues)&&tJ(n,r.latestValues,r.layout?.layoutBox)}return tU(this.latestValues)&&tJ(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=X();iN(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];tU(n.latestValues)&&(n.instance&&(tH(n.latestValues)&&n.updateSnapshot(),iN(r=X(),n.measurePageBox())),iW(t,n.latestValues,n.snapshot?.layoutBox,r))}return tU(this.latestValues)&&iW(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eR.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eR.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l,u;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,nU(s.x,a.x,l.x,u?.x),nU(s.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):iN(this.target,this.layout.layoutBox),tX(this.target,this.targetDelta)):iN(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tq(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),nG(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),iN(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eR.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iN(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,o,s=r.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(i=r[a]).projectionDelta;let{visualElement:s}=i.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tY(e.x,-i.scroll.offset.x),tY(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tX(e,o)),n&&tU(i.latestValues)&&tJ(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=X());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iI(this.prevProjectionDelta.x,this.projectionDelta.x),iI(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nH(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&iX(this.projectionDelta.x,this.prevProjectionDelta.x)&&iX(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=G(),this.projectionDelta=G(),this.projectionDeltaWithTransform=G()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},s=G();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=X(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(oc));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(ol(s.x,e.x,n),ol(s.y,e.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f,m,y;nG(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,y=n,ou(p.x,f.x,m.x,y),ou(p.y,f.y,m.y,y),r&&(u=this.relativeTarget,h=r,iU(u.x,h.x)&&iU(u.y,h.y))&&(this.isProjectionDirty=!1),r||(r=X()),iN(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tN(0,r.opacity??1,iL(n)),e.opacityExit=tN(t.opacity??1,0,iD(n))):o&&(e.opacity=tN(t.opacity??1,r.opacity??1,n));for(let i=0;i<iP;i++){let o=iC[i],s=ij(t,o),a=ij(r,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||iR(s)===iR(a)?(e[o]=Math.max(tN(iT(s),iT(a),n),0),(A.test(a)||A.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||r.rotate)&&(e.rotate=tN(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eT(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eP.update(()=>{var t,r,n;let i;ik.hasAnimatedSinceResize=!0,e1.layout++,this.motionValue||(this.motionValue=ti(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e1.layout--},onComplete:()=>{e1.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=Y(t)?t:ti(t)).start(nC("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&om(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||X();let t=nW(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nW(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iN(t,r),tJ(t,i),nH(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iY),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&i1("z",e,n,this.animationValues);for(let t=0;t<iJ.length;t++)i1(`rotate${iJ[t]}`,e,n,this.animationValues),i1(`skew${iJ[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=rl(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rl(t?.pointerEvents)||""),this.hasProjected&&!tU(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y,s=r?.z||0;if((i||o||s)&&(n=`translate3d(${i}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),s&&(n+=`skewX(${s}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(o=r(i,o)),e.transform=o;let{x:s,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tI){if(void 0===i[t])continue;let{correct:r,applyTo:s,isCSSVariable:a}=tI[t],l="none"===o?i[t]:r(i[t],n);if(s){let t=s.length;for(let r=0;r<t;r++)e[s[r]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?rl(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i7),this.root.sharedNodes.clear()}}}function i5(e){e.updateLayout()}function i4(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)nB(e=>{let n=o?t.measuredBox[e]:t.layoutBox[e],i=nW(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";iV(o?t.measuredBox[e]:t.layoutBox[e],r[e])}else om(i,t.layoutBox,r)&&nB(n=>{let i=o?t.measuredBox[n]:t.layoutBox[n],s=nW(r[n]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=G();nH(s,r,t.layoutBox);let a=G();o?nH(a,e.applyTransform(n,!0),t.measuredBox):nH(a,r,t.layoutBox);let l=!iH(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let s=e.options.layoutAnchor||void 0,a=X();nG(a,t.layoutBox,i.layoutBox,s);let l=X();nG(l,r,o.layoutBox,s),iG(a,l)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i9(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i6(e){e.clearSnapshot()}function i7(e){e.clearMeasurements()}function i8(e){e.isLayoutDirty=!0,e.updateLayout()}function oe(e){e.isLayoutDirty=!1}function ot(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function or(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function on(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function oi(e){e.resolveTargetDelta()}function oo(e){e.calcProjection()}function os(e){e.resetSkewAndRotation()}function oa(e){e.removeLeadSnapshot()}function ol(e,t,r){e.translate=tN(t.translate,0,r),e.scale=tN(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ou(e,t,r,n){e.min=tN(t.min,r.min,n),e.max=tN(t.max,r.max,n)}function oc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let od={duration:.45,ease:[.4,0,.1,1]},oh=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),op=oh("applewebkit/")&&!oh("chrome/")?Math.round:eE;function of(e){e.min=op(e.min),e.max=op(e.max)}function om(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iK(t)-iK(r)))}function oy(e){return e!==e.root&&e.scroll?.wasRoot}let og=i2({attachResizeListener:(e,t)=>nY(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ov={current:void 0},ob=i2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ov.current){let e=new og({});e.mount(window),e.setOptions({layoutScroll:!0}),ov.current=e}return ov.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ow(e,t){let r=nJ(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ox(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eP.postRender(()=>i(t,n8(t)))}class ok extends rA{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=ow(e,r);return n.forEach(e=>{let r,n=!1,o=!1,s=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(n){o=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||n_.x||n_.y)return;o=!1;let s=t(e,n);"function"==typeof s&&(r=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}(e,(e,t)=>(ox(this.node,t,"Start"),e=>ox(this.node,e,"End"))))}unmount(){}}class oA extends rA{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rR(nY(this.node.current,"focus",()=>this.onFocus()),nY(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var oE=r(78757);let oM=(e,t)=>!!t&&(e===t||oM(e,t.parentElement)),oS=new WeakSet;function oC(e){return t=>{"Enter"===t.key&&e(t)}}function oP(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function oT(e){return n7(e)&&!(n_.x||n_.y)}let oR=new WeakSet;function oj(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eP.postRender(()=>i(t,n8(t)))}class oL extends rA{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,o]=ow(e,r),s=e=>{let n=e.currentTarget;if(!oT(e)||oR.has(e))return;oS.add(n),r.stopPropagation&&oR.add(e);let o=t(n,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),oS.has(n)&&oS.delete(n),oT(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,n===window||n===document||r.useGlobalTarget||oM(n,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),(0,oE.s)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=oC(()=>{if(oS.has(r))return;oP(r,"down");let e=oC(()=>{oP(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>oP(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),nK.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oj(this.node,t,"Start"),(e,{success:t})=>oj(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let oD=new WeakMap,oO=new WeakMap,oV=e=>{let t=oD.get(e.target);t&&t(e)},oN=e=>{e.forEach(oV)},oI={some:0,all:1};class oz extends rA{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:s}=r,a={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:oI[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let r=e||document;oO.has(r)||oO.set(r,{});let n=oO.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(oN,{root:e,...t})),n[i]}(a),oD.set(e,l),t.observe(e),()=>{oD.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let oF=function(e,t){if("u"<typeof Proxy)return rk;let r=new Map,n=(r,n)=>rk(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,o)=>"create"===o?n:(r.has(o)||r.set(o,rk(o,void 0,e,t)),r.get(o))})}({animation:{Feature:nI},exit:{Feature:nF},inView:{Feature:oz},tap:{Feature:oL},focus:{Feature:oA},hover:{Feature:ok},pan:{Feature:ix},drag:{Feature:ib,ProjectionNode:ob,MeasureLayout:iS},layout:{ProjectionNode:ob,MeasureLayout:iS}},(e,t)=>t.isSVG??t9(e)?new tB(t):new t1(t,{allowProjection:e!==t5.Fragment}))},84980:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},86033:(e,t,r)=>{"use strict";r.d(t,{C1:()=>F,bL:()=>I,q7:()=>z});var n=r(12115),i=r(70379),o=r(47527),s=r(68599),a=r(99354),l=r(78538),u=r(98979),c=r(1933),d=r(63509),h=r(83417),p=r(83935),f=r(95155),m="Radio",[y,g]=(0,s.A)(m),[v,b]=y(m),w=n.forwardRef((e,t)=>{let{__scopeRadio:r,name:s,checked:l=!1,required:u,disabled:c,value:d="on",onCheck:h,form:p,...m}=e,[y,g]=n.useState(null),b=(0,o.s)(t,e=>g(e)),w=n.useRef(!1),x=!y||p||!!y.closest("form");return(0,f.jsxs)(v,{scope:r,checked:l,disabled:c,children:[(0,f.jsx)(a.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":E(l),"data-disabled":c?"":void 0,disabled:c,value:d,...m,ref:b,onClick:(0,i.mK)(e.onClick,e=>{l||h?.(),x&&(w.current=e.isPropagationStopped(),w.current||e.stopPropagation())})}),x&&(0,f.jsx)(A,{control:y,bubbles:!w.current,name:s,value:d,checked:l,required:u,disabled:c,form:p,style:{transform:"translateX(-100%)"}})]})});w.displayName=m;var x="RadioIndicator",k=n.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,o=b(x,r);return(0,f.jsx)(p.C,{present:n||o.checked,children:(0,f.jsx)(a.sG.span,{"data-state":E(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});k.displayName=x;var A=n.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:i=!0,...s},l)=>{let u=n.useRef(null),c=(0,o.s)(u,l),p=(0,h.Z)(r),m=(0,d.X)(t);return n.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[p,r,i]),(0,f.jsx)(a.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...s,tabIndex:-1,ref:c,style:{...s.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function E(e){return e?"checked":"unchecked"}A.displayName="RadioBubbleInput";var M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],S="RadioGroup",[C,P]=(0,s.A)(S,[l.RG,g]),T=(0,l.RG)(),R=g(),[j,L]=C(S),D=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:o,required:s=!1,disabled:d=!1,orientation:h,dir:p,loop:m=!0,onValueChange:y,...g}=e,v=T(r),b=(0,c.jH)(p),[w,x]=(0,u.i)({prop:o,defaultProp:i??null,onChange:y,caller:S});return(0,f.jsx)(j,{scope:r,name:n,required:s,disabled:d,value:w,onValueChange:x,children:(0,f.jsx)(l.bL,{asChild:!0,...v,orientation:h,dir:b,loop:m,children:(0,f.jsx)(a.sG.div,{role:"radiogroup","aria-required":s,"aria-orientation":h,"data-disabled":d?"":void 0,dir:b,...g,ref:t})})})});D.displayName=S;var O="RadioGroupItem",V=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:s,...a}=e,u=L(O,r),c=u.disabled||s,d=T(r),h=R(r),p=n.useRef(null),m=(0,o.s)(t,p),y=u.value===a.value,g=n.useRef(!1);return n.useEffect(()=>{let e=e=>{M.includes(e.key)&&(g.current=!0)},t=()=>g.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,f.jsx)(l.q7,{asChild:!0,...d,focusable:!c,active:y,children:(0,f.jsx)(w,{disabled:c,required:u.required,checked:y,...h,...a,name:u.name,ref:m,onCheck:()=>u.onValueChange(a.value),onKeyDown:(0,i.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(a.onFocus,()=>{g.current&&p.current?.click()})})})});V.displayName=O;var N=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=R(r);return(0,f.jsx)(k,{...i,...n,ref:t})});N.displayName="RadioGroupIndicator";var I=D,z=V,F=N},86901:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},88444:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]])},89123:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},89363:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},89626:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("panel-right-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]])},89971:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n,i=r(12115),o=r(66294),s=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function l(e){let[t,r]=i.useState(s());return(0,o.N)(()=>{e||r(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},90425:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(12115);let i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...c},d)=>(0,n.createElement)("svg",{ref:d,...s,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:i("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]])),l=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...s},l)=>(0,n.createElement)(a,{ref:l,iconNode:t,className:i(`lucide-${o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=o(e),r}},90718:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},91760:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var n=r(12115);r(47650);var i=r(42442),o=r(95155),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),s=n.forwardRef((e,n)=>{let{asChild:i,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?r:t,{...s,ref:n})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),a=n.forwardRef((e,t)=>(0,o.jsx)(s.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var l=a},91958:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},92564:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]])},92972:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},93219:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},94514:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},94601:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e}r.d(t,{G:()=>n})},95413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(47284);let n=r(53887),i=r(12590),o=r(55762),s=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:p,quality:f,width:m,height:y,fill:g=!1,style:v,overrideSrc:b,onLoad:w,onLoadingComplete:x,placeholder:k="empty",blurDataURL:A,fetchPriority:E,decoding:M="async",layout:S,objectFit:C,objectPosition:P,lazyBoundary:T,lazyRoot:R,...j},L){var D;let O,V,N,{imgConf:I,showAltText:z,blurComplete:F,defaultLoader:_}=L,B=I||o.imageConfigDefault;if("allSizes"in B)O=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);O={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=j.loader||_;delete j.loader,delete j.srcSet;let $="__next_img_default"in W;if($){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
20
20
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...n}=t;return e(n)}}if(S){"fill"===S&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[S];r&&!t&&(t=r)}let H="",U=l(m),q=l(y);if((D=e)&&"object"==typeof D&&(a(D)||void 0!==D.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(V=t.blurWidth,N=t.blurHeight,A=A||t.blurDataURL,H=t.src,!g)if(U||q){if(U&&!q){let e=U/t.width;q=Math.round(t.height*e)}else if(!U&&q){let e=q/t.height;U=Math.round(t.width*e)}}else U=t.width,q=t.height}let G=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:H)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,G=!1),O.unoptimized&&(r=!0),$&&!O.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let K=l(f),X=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:P}:{},z?{}:{color:"transparent"},v),Y=F||"empty"===k?null:"blur"===k?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:U,heightInt:q,blurWidth:V,blurHeight:N,blurDataURL:A||"",objectFit:X.objectFit})}")`:`url("${k}")`,Z=s.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=Y?{backgroundSize:Z,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},J=function({config:e,src:t,unoptimized:r,width:i,quality:o,sizes:s,loader:a}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((r,n)=>`${a({config:e,src:t,quality:o,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:a({config:e,src:t,quality:o,width:l[c]})}}({config:O,src:e,unoptimized:r,width:U,quality:K,sizes:t,loader:W}),ee=G?"lazy":h;return{props:{...j,loading:ee,fetchPriority:E,width:U,height:q,decoding:M,className:p,style:{...X,...Q},sizes:J.sizes,srcSet:J.srcSet,src:b||J.src},meta:{unoptimized:r,preload:d||c,placeholder:k,fill:g}}}},96035:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])},97651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(73623),s=r(95413),a=r(38437),l=o._(r(36095));function u(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=a.Image},97810:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},98401:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(90425).A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},98454:(e,t,r)=>{"use strict";r.d(t,{qW:()=>h});var n,i=r(12115),o=r(70379),s=r(99354),a=r(47527),l=r(17347),u=r(95155),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:y,onInteractOutside:g,onDismiss:v,...b}=e,w=i.useContext(d),[x,k]=i.useState(null),A=x?.ownerDocument??globalThis?.document,[,E]=i.useState({}),M=(0,a.s)(t,e=>k(e)),S=Array.from(w.layers),[C]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),P=S.indexOf(C),T=x?S.indexOf(x):-1,R=w.layersWithOutsidePointerEventsDisabled.size>0,j=T>=P,L=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){f("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));j&&!r&&(m?.(e),g?.(e),e.defaultPrevented||v?.())},A),D=function(e,t=globalThis?.document){let r=(0,l.c)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&f("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(y?.(e),g?.(e),e.defaultPrevented||v?.())},A);return!function(e,t=globalThis?.document){let r=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===w.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},A),i.useEffect(()=>{if(x)return r&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(n=A.body.style.pointerEvents,A.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),p(),()=>{r&&1===w.layersWithOutsidePointerEventsDisabled.size&&(A.body.style.pointerEvents=n)}},[x,A,r,w]),i.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,w]),i.useEffect(()=>{let e=()=>E({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(s.sG.div,{...b,ref:M,style:{pointerEvents:R?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,L.onPointerDownCapture)})});function p(){let e=new CustomEvent(c);document.dispatchEvent(e)}function f(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,s.hO)(i,o):i.dispatchEvent(o)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(d),n=i.useRef(null),o=(0,a.s)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(s.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},98979:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var n,i=r(12115),o=r(66294),s=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,l,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),a=i.useRef(t);return s(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[d,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else l(t)},[c,e,l,u])]}Symbol("RADIX:SYNC_STATE")},99354:(e,t,r)=>{"use strict";r.d(t,{sG:()=>u,hO:()=>c});var n=r(12115),i=r(47650),o=r(47527),s=r(95155),a=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,i;let a,u,c,d=(i=r=`Primitive.${t}`,(a=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){var s;let e,a,l=(s=r,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,o.t)(t,l):l),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${i}.SlotClone`,u=a,(c=n.forwardRef((e,t)=>{let{children:r,...i}=e,o=n.Children.toArray(r),a=o.find(l);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,s.jsx)(u,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,s.jsx)(u,{...i,ref:t,children:r})})).displayName=`${r}.Slot`,c),h=n.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(n?d:t,{...i,ref:r})});return h.displayName=`Primitive.${t}`,{...e,[t]:h}},{});function c(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}}}]);