@openscout/scout 0.2.106 → 0.2.108

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 (473) hide show
  1. package/README.md +79 -16
  2. package/bin/scoutd +0 -0
  3. package/dist/build-manifest.json +3 -3
  4. package/dist/client/assets/ActivityScreen-C1H-vL0L.js +1 -0
  5. package/dist/client/assets/{AddProjectForm-CusDRiVO.js → AddProjectForm-4sVXmjfN.js} +1 -1
  6. package/dist/client/assets/{AdventureEvidence-CyegKk1V.js → AdventureEvidence-D5wq1vu8.js} +1 -1
  7. package/dist/client/assets/{AdventureReader-X-hbTOi0.js → AdventureReader-BICypcDY.js} +1 -1
  8. package/dist/client/assets/{AdventureScenery-LPXSVP67.js → AdventureScenery-CGEcG0zV.js} +1 -1
  9. package/dist/client/assets/AgentAdventures-5yBt-Zl3.js +1 -0
  10. package/dist/client/assets/{AgentAvatar-CrP1eXxk.js → AgentAvatar-Dn8TUv5W.js} +1 -1
  11. package/dist/client/assets/AgentConfigurationScreen-C0D9WNyL.js +1 -0
  12. package/dist/client/assets/AgentDefinitionsWorkspace-BzcBdC_s.js +1 -0
  13. package/dist/client/assets/{AgentDetailCard-DtHT3sCo.js → AgentDetailCard-CI-ufaEP.js} +1 -1
  14. package/dist/client/assets/AgentFloorView-D8tlGlgy.js +1 -0
  15. package/dist/client/assets/{AgentFloorWorld-CjoIa6jA.js → AgentFloorWorld-DqmnQexg.js} +1 -1
  16. package/dist/client/assets/AgentInfoScreen-BnRhfcFy.js +1 -0
  17. package/dist/client/assets/{AgentLaneCard-BaZ2g-f8.js → AgentLaneCard-pppHFROz.js} +1 -1
  18. package/dist/client/assets/{AgentLaneChrome-TF1SlJSc.js → AgentLaneChrome-RptImDFc.js} +1 -1
  19. package/dist/client/assets/{AgentLaneDetailSheet-EzEPsn3g.js → AgentLaneDetailSheet-BqbwGskh.js} +1 -1
  20. package/dist/client/assets/{AgentLaneSummaryResize-dpp7YvrX.js → AgentLaneSummaryResize-DaIgwyVh.js} +1 -1
  21. package/dist/client/assets/AgentLanesEmbedScreen-De6C4ZOw.js +1 -0
  22. package/dist/client/assets/{AgentLanesPreflight-Ry-aqDTr.js → AgentLanesPreflight-BQfj2twF.js} +1 -1
  23. package/dist/client/assets/{AgentLanesView-BJi9xXz6.js → AgentLanesView-CiISx7pu.js} +1 -1
  24. package/dist/client/assets/{AgentLiveActions-CfTupTEl.js → AgentLiveActions-CkRGkv13.js} +1 -1
  25. package/dist/client/assets/AgentMasterScreen-CijN_4tN.js +1 -0
  26. package/dist/client/assets/{AgentSessions-B1gOhDBf.js → AgentSessions-ghjQcSrh.js} +2 -2
  27. package/dist/client/assets/AgentsConsole-D8upjDpn.js +1 -0
  28. package/dist/client/assets/AgentsScreen-C17BFqjf.js +1 -0
  29. package/dist/client/assets/AgentsSubnav-_1GVC4hj.js +1 -0
  30. package/dist/client/assets/{AstronautSuit-Cchnc4Ug.js → AstronautSuit-Dzu4GOMR.js} +1 -1
  31. package/dist/client/assets/{AtopView-gkEp4y__.js → AtopView-DJK5b3lZ.js} +1 -1
  32. package/dist/client/assets/{BackToPicker-CUkjnoVk.js → BackToPicker-BPU7kbXq.js} +1 -1
  33. package/dist/client/assets/BriefingDetailScreen-CTvFw523.js +1 -0
  34. package/dist/client/assets/{BriefingsScreen-B1HlBMGZ.js → BriefingsScreen-DpVC3OUk.js} +1 -1
  35. package/dist/client/assets/{BrokerMetadataPanel-Dk242Yh_.js → BrokerMetadataPanel-glRVdwkU.js} +1 -1
  36. package/dist/client/assets/BrokerScreen-CqKsBwEx.js +8 -0
  37. package/dist/client/assets/{CastPicker-BXUtPAGC.js → CastPicker-Y29K5kKk.js} +1 -1
  38. package/dist/client/assets/ChannelComposer-D4EY9jVW.js +1 -0
  39. package/dist/client/assets/{ChannelSidebar-e9DOPulb.js → ChannelSidebar-CVmykV4d.js} +1 -1
  40. package/dist/client/assets/{CharacterFamilyPreview-DMfw7UM_.js → CharacterFamilyPreview-Bj8oMD-5.js} +1 -1
  41. package/dist/client/assets/{ChatAvatar-C3a_o5Hj.js → ChatAvatar-BsAOShUr.js} +1 -1
  42. package/dist/client/assets/{ChatBits-CsvxbToF.js → ChatBits-Cq54CmyB.js} +1 -1
  43. package/dist/client/assets/{ChatCollapsedStrip-FEmQ_G9J.js → ChatCollapsedStrip-B0DdrOo2.js} +1 -1
  44. package/dist/client/assets/{ChatRichInput-DhtwFxQE.js → ChatRichInput-DYJRhGTP.js} +1 -1
  45. package/dist/client/assets/ChatRightPanel-D94Lw7ud.js +1 -0
  46. package/dist/client/assets/ChatSpaceSurface-Cp532VmZ.js +1 -0
  47. package/dist/client/assets/{ChatSpaceTheme-CUH8bTZc.js → ChatSpaceTheme-DPzYpw-v.js} +1 -1
  48. package/dist/client/assets/{CodeDiffPane-DuQRwpgK.js → CodeDiffPane-DCgMUi39.js} +1 -1
  49. package/dist/client/assets/{CodeProjectPicker-ZQ6gSBpg.js → CodeProjectPicker-Dq787L77.js} +1 -1
  50. package/dist/client/assets/{CodeScreen-BXyKeL5T.js → CodeScreen-BN4TkiR0.js} +1 -1
  51. package/dist/client/assets/{CommsCanvas-THp0r_U8.js → CommsCanvas-Dh056d91.js} +1 -1
  52. package/dist/client/assets/{CommsDeck-BVmSMV2V.js → CommsDeck-CRXKIerH.js} +1 -1
  53. package/dist/client/assets/{CommsFlowGraph-DxoOaLF_.js → CommsFlowGraph-Cc48o9u_.js} +1 -1
  54. package/dist/client/assets/{CommsFlowMap-Vi8ziCPg.js → CommsFlowMap-Ckasql5e.js} +1 -1
  55. package/dist/client/assets/{CommsSelection-BUoRbu9o.js → CommsSelection-CuphnUny.js} +1 -1
  56. package/dist/client/assets/{ComposerAttachments-DW0AIb8k.js → ComposerAttachments-9uYp_Lh5.js} +1 -1
  57. package/dist/client/assets/ConversationComposer-hYtLurqy.js +1 -0
  58. package/dist/client/assets/ConversationFeedRows-Bu0ZJcy8.js +1 -0
  59. package/dist/client/assets/ConversationHeader-L9738YVP.js +1 -0
  60. package/dist/client/assets/{ConversationPanels-D9oC0xG5.js → ConversationPanels-D6KuqvGu.js} +2 -2
  61. package/dist/client/assets/ConversationScreen-Pzxy9x4m.js +2 -0
  62. package/dist/client/assets/ConversationStatus-BEefIbXq.js +1 -0
  63. package/dist/client/assets/{CrewAvatar-kTznzqcO.js → CrewAvatar-a_C_F9r_.js} +1 -1
  64. package/dist/client/assets/{CrewSprite-Dhryjx2c.js → CrewSprite-CguHb2Ny.js} +1 -1
  65. package/dist/client/assets/{CrewStage-vdO0qm3D.js → CrewStage-IPpS3Oja.js} +1 -1
  66. package/dist/client/assets/{CrewWorkspaces-DCBzAAS4.js → CrewWorkspaces-BTPtcEcx.js} +1 -1
  67. package/dist/client/assets/{DataTable-aH-jCyDq.js → DataTable-DnL_8SAu.js} +1 -1
  68. package/dist/client/assets/{DispatchAftermath-66uQAorV.js → DispatchAftermath-CoAYaL3B.js} +1 -1
  69. package/dist/client/assets/{DocumentFocusViewer-DJr0v0D_.js → DocumentFocusViewer-mxzPxQQW.js} +1 -1
  70. package/dist/client/assets/{EmbeddableSurfacesLab-BBa70EhJ.js → EmbeddableSurfacesLab-BAZ_eRMc.js} +1 -1
  71. package/dist/client/assets/{EmptyState-CZlrHXy-.js → EmptyState-DLiLgtPK.js} +1 -1
  72. package/dist/client/assets/{FileViewerPane-BAO6mtjD.js → FileViewerPane-Dc7AoVod.js} +1 -1
  73. package/dist/client/assets/{FleetRollCallHud-C5q2567n.js → FleetRollCallHud-VhpxVcGO.js} +1 -1
  74. package/dist/client/assets/FlightObserveScreen-C1kASP3J.js +1 -0
  75. package/dist/client/assets/{FloorContextSheet-2_NVPQor.js → FloorContextSheet-BfrXNoBn.js} +1 -1
  76. package/dist/client/assets/{FloorExchangePanel-BU1pPu8K.js → FloorExchangePanel-DsG1cRzu.js} +1 -1
  77. package/dist/client/assets/{FloorMessagePasses-cLW2UGNP.js → FloorMessagePasses-Cm3LbkHd.js} +1 -1
  78. package/dist/client/assets/{FloorReplay-VFzA6Kxc.js → FloorReplay-Bg7kA-tR.js} +1 -1
  79. package/dist/client/assets/FloorResourcesSheet-Ba9HubO2.js +1 -0
  80. package/dist/client/assets/{FloorSavedWork-BeHDejWz.js → FloorSavedWork-BDOvV3mA.js} +1 -1
  81. package/dist/client/assets/{FloorTacticalHUD-CO-iiFpb.js → FloorTacticalHUD-4d-Hr-YL.js} +1 -1
  82. package/dist/client/assets/{FollowScreen-CFfkIbc6.js → FollowScreen-DFVSlsQV.js} +1 -1
  83. package/dist/client/assets/{HarnessMark-C4naWc16.js → HarnessMark-CP-PWk2W.js} +1 -1
  84. package/dist/client/assets/HarnessesScreen-j-91IoOo.js +1 -0
  85. package/dist/client/assets/{HerdrSession-_t7yM8vX.js → HerdrSession-H2mmxeTK.js} +1 -1
  86. package/dist/client/assets/{HomeHero-DouPyNmz.js → HomeHero-g4H3Ctxg.js} +1 -1
  87. package/dist/client/assets/{HostAdvisorView-CnM1i8hW.js → HostAdvisorView-Cyt3b5Fq.js} +1 -1
  88. package/dist/client/assets/{InviteLandingScreen-CEjG2E34.js → InviteLandingScreen-C3DtAGD4.js} +1 -1
  89. package/dist/client/assets/{InviteSheet-CwxZtWCl.js → InviteSheet-BiGMNpsE.js} +1 -1
  90. package/dist/client/assets/{JumpPalette-O1aJE9gR.js → JumpPalette-goXAVByA.js} +1 -1
  91. package/dist/client/assets/{KnowledgeSearchInspector-32n9baT-.js → KnowledgeSearchInspector-BbOQIqdF.js} +1 -1
  92. package/dist/client/assets/KnowledgeSearchScreen-DC8yX-kA.js +1 -0
  93. package/dist/client/assets/{LaneToolHoverCard-CJa110yk.js → LaneToolHoverCard-B8Am_1DC.js} +1 -1
  94. package/dist/client/assets/LaneTraceDetailSheet-CngYIxdI.js +1 -0
  95. package/dist/client/assets/{LaneTraceEventFocus-TbrNHRj_.js → LaneTraceEventFocus-BRR_jcl9.js} +1 -1
  96. package/dist/client/assets/{MeshCanvas-DWZHYh1A.js → MeshCanvas-DzkuY_XI.js} +1 -1
  97. package/dist/client/assets/{MeshCanvasMinimap-iswYFpIb.js → MeshCanvasMinimap-BrscEPAH.js} +1 -1
  98. package/dist/client/assets/MeshScreen-CAtRB8K6.js +1 -0
  99. package/dist/client/assets/{MeshTopologyView-BVvtqI8q.js → MeshTopologyView-B1I2dAhu.js} +2 -2
  100. package/dist/client/assets/{MessageEmbeds-ksPazAKH.js → MessageEmbeds-B-FbWI7a.js} +1 -1
  101. package/dist/client/assets/MessagesScreen-hq7D3Lfi.js +1 -0
  102. package/dist/client/assets/{MissionContextRail-D62-Wis8.js → MissionContextRail-ClR8amG1.js} +1 -1
  103. package/dist/client/assets/MissionControlView-D6gbMrgx.js +1 -0
  104. package/dist/client/assets/{MissionFocusOverlay-C1zys3Jv.js → MissionFocusOverlay-CzeNgI9Q.js} +1 -1
  105. package/dist/client/assets/MissionLeftAgentRow-CB3cgeYr.js +1 -0
  106. package/dist/client/assets/{MissionLogPane-B19lYSY9.js → MissionLogPane-2PMEoG44.js} +1 -1
  107. package/dist/client/assets/NativeAreaScreen-BnlrAWT8.js +1 -0
  108. package/dist/client/assets/NativeAreaScreen-DSR5Tf6F.js +1 -0
  109. package/dist/client/assets/NativeAreaScreen-fGsxyeC3.js +1 -0
  110. package/dist/client/assets/{NewAgentModal-Bh-L-emz.js → NewAgentModal-4b_3aoZE.js} +1 -1
  111. package/dist/client/assets/{NewChatComposer-C97-iTMK.js → NewChatComposer-D-VB5vdt.js} +1 -1
  112. package/dist/client/assets/{NewChatOrigin-DFbF_XvR.js → NewChatOrigin-BYsEu9dZ.js} +1 -1
  113. package/dist/client/assets/{NodeDetailPanel-CElOEpCh.js → NodeDetailPanel-9NaEnZAQ.js} +1 -1
  114. package/dist/client/assets/{NodeMenu-B-jjHf1c.js → NodeMenu-BgJMmffZ.js} +1 -1
  115. package/dist/client/assets/{ObserveEmbedScreen-B7Qt69Ms.js → ObserveEmbedScreen-W7Q5HbXP.js} +2 -2
  116. package/dist/client/assets/{ObserveTextFlow-PFnG_10h.js → ObserveTextFlow-C0oQEerY.js} +2 -2
  117. package/dist/client/assets/{ObservedTopologyPanel-CUTIoLZJ.js → ObservedTopologyPanel-Ci7emnnj.js} +1 -1
  118. package/dist/client/assets/OpenScoutAppShell-Di9qdmI0.js +22 -0
  119. package/dist/client/assets/OpsAgentsView-DVotOMg2.js +1 -0
  120. package/dist/client/assets/OpsScreen-C955zgr3.js +1 -0
  121. package/dist/client/assets/OpsSubnav-CjMVj7Sk.js +1 -0
  122. package/dist/client/assets/ProjectAgentProfile-B1VqGSmu.js +1 -0
  123. package/dist/client/assets/{ProjectAgentProfileBar-DHuMKJj-.js → ProjectAgentProfileBar-DhVU7zew.js} +1 -1
  124. package/dist/client/assets/ProjectAgentProfileHero-CJk-Dx4t.js +1 -0
  125. package/dist/client/assets/ProjectsInbox-B7kap8nR.js +2 -0
  126. package/dist/client/assets/ProjectsRail-BhSaqbv0.js +1 -0
  127. package/dist/client/assets/ProjectsScreen-CSb7nwjb.js +1 -0
  128. package/dist/client/assets/ProjectsThreadAside-pEJutIO8.js +1 -0
  129. package/dist/client/assets/{Provider-C35yu29I.js → Provider-BEXAZWd9.js} +2 -2
  130. package/dist/client/assets/{RailRow-BjmWK420.js → RailRow-Ddz90weI.js} +1 -1
  131. package/dist/client/assets/RawSessionsTable-TdKlJIPl.js +1 -0
  132. package/dist/client/assets/RealtimeVoiceScreen-BU5KmlNo.js +8 -0
  133. package/dist/client/assets/{RenderedWorkerSprite-Dhlyg89J.js → RenderedWorkerSprite-BNhFXMIo.js} +1 -1
  134. package/dist/client/assets/{ReplayClock-348f17bW.js → ReplayClock-wLpb4VqN.js} +1 -1
  135. package/dist/client/assets/{ReplayLog-CBnAM3ui.js → ReplayLog-IUyQdklN.js} +1 -1
  136. package/dist/client/assets/{ReplayOutpost-DyRPfNFx.js → ReplayOutpost-C4djhjZJ.js} +1 -1
  137. package/dist/client/assets/{RepoDiffEmbedScreen-BWxvRDrS.js → RepoDiffEmbedScreen-BmQX_8E-.js} +1 -1
  138. package/dist/client/assets/{RepoDiffPageScreen-DN94irmY.js → RepoDiffPageScreen-B9oAjrC6.js} +1 -1
  139. package/dist/client/assets/{RepoDiffViewer-_4JVXBIW.js → RepoDiffViewer-Ch_lIMt-.js} +1 -1
  140. package/dist/client/assets/RepoDiffViewerLazy-DL6A2o_z.js +2 -0
  141. package/dist/client/assets/{ReposScreen-uMCpt0e9.js → ReposScreen-D-E7fSAB.js} +2 -2
  142. package/dist/client/assets/{RiggedWorkerCharacter-q6QRc7_o.js → RiggedWorkerCharacter-CF6fhzGd.js} +1 -1
  143. package/dist/client/assets/{SageModelStudio-CNDhZhgD.js → SageModelStudio-CSet_ITs.js} +1 -1
  144. package/dist/client/assets/{ScoutDeckSurface-CUaU4R6T.js → ScoutDeckSurface-BJ-fl8AX.js} +1 -1
  145. package/dist/client/assets/{ScoutSurface-3_25USO_.js → ScoutSurface-BvFRdce6.js} +1 -1
  146. package/dist/client/assets/{ScoutbotFxLab-CRqhYe0a.js → ScoutbotFxLab-CfPzycZ7.js} +1 -1
  147. package/dist/client/assets/{SecondaryNav-D7dbV2qo.js → SecondaryNav-1FjBDWuY.js} +1 -1
  148. package/dist/client/assets/{SessionContextStrip-CXfs9hUD.js → SessionContextStrip-BoiIxXvS.js} +1 -1
  149. package/dist/client/assets/{SessionEmbedScreen-D0zFmou-.js → SessionEmbedScreen-BizGNGOz.js} +1 -1
  150. package/dist/client/assets/{SessionHopMenu-E6VJZrE0.js → SessionHopMenu-DX6PJPNk.js} +1 -1
  151. package/dist/client/assets/{SessionObserve-DXxBvejJ.js → SessionObserve-Dw3bVQYF.js} +1 -1
  152. package/dist/client/assets/{SessionObserveEvidence-Cuj_KHxR.js → SessionObserveEvidence-uD1OX-R5.js} +1 -1
  153. package/dist/client/assets/SessionRefScreen-Ch9H-qVk.js +1 -0
  154. package/dist/client/assets/SessionsScreen-DUeP23Xy.js +1 -0
  155. package/dist/client/assets/{SettingsDrawer-juCpnbH6.js → SettingsDrawer-BVrP6J52.js} +3 -3
  156. package/dist/client/assets/SettingsScreen-BcJ05LE5.js +1 -0
  157. package/dist/client/assets/{SharedFloorCharacter-DNEiaOUh.js → SharedFloorCharacter-dnamlt1p.js} +1 -1
  158. package/dist/client/assets/SharedWorkFloor-H-e2TVj9.js +2 -0
  159. package/dist/client/assets/{ShikiPane-CRtTYkMj.js → ShikiPane-CDiIT_qn.js} +1 -1
  160. package/dist/client/assets/{SlidePanel-_CHAQdOa.js → SlidePanel-D5oPQocF.js} +1 -1
  161. package/dist/client/assets/{SpaceSwitcher-BLgSCf_T.js → SpaceSwitcher-WccPJ0fS.js} +1 -1
  162. package/dist/client/assets/{SpriteAvatar-CpZWf54-.js → SpriteAvatar-D53GaaK3.js} +1 -1
  163. package/dist/client/assets/{SproutActionSprite-BSiTS4en.js → SproutActionSprite-BrFCmgWS.js} +1 -1
  164. package/dist/client/assets/{StatusPill-2gCP6H7A.js → StatusPill-jT--OXbn.js} +1 -1
  165. package/dist/client/assets/{TailView-CYSijNTy.js → TailView-B44cSuyl.js} +2 -2
  166. package/dist/client/assets/Terminal-D0PanmIk.js +4 -0
  167. package/dist/client/assets/TerminalEmbedScreen-Eddi4sts.js +1 -0
  168. package/dist/client/assets/{TerminalHeaderMount-Cq4OD_xN.js → TerminalHeaderMount-CYYcKxQ-.js} +1 -1
  169. package/dist/client/assets/{TextDocumentSurface-D52m7Vd8.js → TextDocumentSurface-DBslUq9k.js} +1 -1
  170. package/dist/client/assets/{TmuxPeek-CXFeweMg.js → TmuxPeek-Ctw5yYO5.js} +1 -1
  171. package/dist/client/assets/{VoiceControlWell-DF3bjcYA.js → VoiceControlWell-BkjuWjYu.js} +1 -1
  172. package/dist/client/assets/{VoicePathDiagram-CmpHWfO-.js → VoicePathDiagram-u0i6ntbx.js} +1 -1
  173. package/dist/client/assets/{VoicePermissionsPanel-Ok2nfxHw.js → VoicePermissionsPanel-9Nuw-xCr.js} +1 -1
  174. package/dist/client/assets/{VoiceTurnDetails-wAByRaNB.js → VoiceTurnDetails-kS7lfbmt.js} +1 -1
  175. package/dist/client/assets/{VoiceTurnStage-edoJalLV.js → VoiceTurnStage-DLY6aYDg.js} +1 -1
  176. package/dist/client/assets/{VoiceTurnView-D-8g5E4r.js → VoiceTurnView-CF4tIldB.js} +1 -1
  177. package/dist/client/assets/{WorkDetailScreen-zQkNVy2F.js → WorkDetailScreen-BrrkENYq.js} +2 -2
  178. package/dist/client/assets/{WorkFilesViewer-vNt01sDd.js → WorkFilesViewer-B63sKRYZ.js} +1 -1
  179. package/dist/client/assets/{WorkRunView-BDkR7Edq.js → WorkRunView-DLIzAsc3.js} +1 -1
  180. package/dist/client/assets/WorldActorTalk-CHhFTiQV.js +1 -0
  181. package/dist/client/assets/{WorldCharacter-CIIlutQq.js → WorldCharacter-CJGx2DVy.js} +1 -1
  182. package/dist/client/assets/{WorldMinimap-B6HNgcDe.js → WorldMinimap-DL12pBw3.js} +1 -1
  183. package/dist/client/assets/{WorldSky-Jm2Z6dfW.js → WorldSky-BlPNvGLo.js} +1 -1
  184. package/dist/client/assets/{activity-CIlFrfPJ.js → activity-CXkZ620t.js} +1 -1
  185. package/dist/client/assets/{addon-fit-dFpj9Kfq.js → addon-fit-G3qi01sy.js} +1 -1
  186. package/dist/client/assets/{addon-webgl-BFCGRtGh.js → addon-webgl-Bo7kSgOB.js} +1 -1
  187. package/dist/client/assets/{agent-essentials-BGGvT5G6.js → agent-essentials-DnfdGmIX.js} +1 -1
  188. package/dist/client/assets/{agent-specialization-DDc7mLCW.js → agent-specialization-DYX_DSlY.js} +1 -1
  189. package/dist/client/assets/{arc.es-C1SQHJ3k.js → arc.es-CLA3XI14.js} +1 -1
  190. package/dist/client/assets/arrow-down--OUDFWIq.js +1 -0
  191. package/dist/client/assets/{arrow-left-MVUKauwQ.js → arrow-left-DNjQHf4C.js} +1 -1
  192. package/dist/client/assets/{arrow-right-Bp-FpE5V.js → arrow-right-A_yyXwoH.js} +1 -1
  193. package/dist/client/assets/arrow-up-DFy-9ghF.js +1 -0
  194. package/dist/client/assets/{arrow-up-right-BPedAgxO.js → arrow-up-right-DUW1A1Hb.js} +1 -1
  195. package/dist/client/assets/{book-open-CV98WMSp.js → book-open-B_idZgTF.js} +1 -1
  196. package/dist/client/assets/{bot-B4zLQ4IN.js → bot-BNv_ZJzi.js} +1 -1
  197. package/dist/client/assets/{chat-api-DSJMBYoT.js → chat-api-BHGHALv2.js} +1 -1
  198. package/dist/client/assets/{chat-message-markup-91DIry6R.js → chat-message-markup-esR-YLtN.js} +1 -1
  199. package/dist/client/assets/{chat-transport-DNS5CB2I.js → chat-transport-CtxnPLMU.js} +1 -1
  200. package/dist/client/assets/{check-lrJ3a73a.js → check-BM6QtbB7.js} +1 -1
  201. package/dist/client/assets/{chevron-down-l1mrh5S9.js → chevron-down-DEDSNJNY.js} +1 -1
  202. package/dist/client/assets/{chevron-right-DrfqcerI.js → chevron-right-B02kAw12.js} +1 -1
  203. package/dist/client/assets/{chevron-up-CETZJzjV.js → chevron-up-CzveykKG.js} +1 -1
  204. package/dist/client/assets/{chunk-HRAB3GC3-DbVLgbWX.js → chunk-HRAB3GC3-DVhUsgOw.js} +1 -1
  205. package/dist/client/assets/chunk-JTPDIGGW-hdpdYwXb.js +46 -0
  206. package/dist/client/assets/chunk-T65CQEWV-G_Z0lqtn.js +1 -0
  207. package/dist/client/assets/chunk-YOZR3KYS-apgUnfXh.js +2 -0
  208. package/dist/client/assets/{clock-BV1aqPkK.js → clock-8tb9t2t9.js} +1 -1
  209. package/dist/client/assets/{code-xml-BhcNbLWU.js → code-xml-E9gBuiVs.js} +1 -1
  210. package/dist/client/assets/{coffee-D7EAOdCk.js → coffee-D0YEK6-l.js} +1 -1
  211. package/dist/client/assets/{compass-63TUaz5_.js → compass-EmGkpxIe.js} +1 -1
  212. package/dist/client/assets/content-B-rn1rka.js +1 -0
  213. package/dist/client/assets/content-BHV-ZU8_.js +1 -0
  214. package/dist/client/assets/content-BI9yWpWC.js +1 -0
  215. package/dist/client/assets/content-BLVuukzF.js +1 -0
  216. package/dist/client/assets/content-BP3cQkAj.js +1 -0
  217. package/dist/client/assets/content-BRY-UTkP.js +1 -0
  218. package/dist/client/assets/content-BXTmYOPB.js +1 -0
  219. package/dist/client/assets/content-C3DZ77HZ.js +1 -0
  220. package/dist/client/assets/content-CPchclaV.js +1 -0
  221. package/dist/client/assets/{content-nGlEZhUI.js → content-CVqPTQnr.js} +1 -1
  222. package/dist/client/assets/content-CjAERU44.js +1 -0
  223. package/dist/client/assets/content-CoYG0nWL.js +1 -0
  224. package/dist/client/assets/content-DK1KeRPw.js +1 -0
  225. package/dist/client/assets/content-iWBSSXa6.js +1 -0
  226. package/dist/client/assets/content-ryJeaQk8.js +1 -0
  227. package/dist/client/assets/content-srNyLgDt.js +1 -0
  228. package/dist/client/assets/{conversation-icons-Tqba2d56.js → conversation-icons-Dxn9N1Kx.js} +1 -1
  229. package/dist/client/assets/conversation-motion-features-BfmPlONx.js +1 -0
  230. package/dist/client/assets/{copy-xKeM5ZtU.js → copy-C1XrY27_.js} +1 -1
  231. package/dist/client/assets/{cpu-BOTa_WLr.js → cpu-DVZ_LhPn.js} +1 -1
  232. package/dist/client/assets/{createLucideIcon-zZ8Hx7er.js → createLucideIcon-CKbjXlwv.js} +1 -1
  233. package/dist/client/assets/direct-voice-DAOUU-kc.js +10 -0
  234. package/dist/client/assets/discover-BNa3BPr_.js +2 -0
  235. package/dist/client/assets/embed-entry-gK3z8Yxi.js +2 -0
  236. package/dist/client/assets/{external-link-CUObqmgX.js → external-link-Df1R34rX.js} +1 -1
  237. package/dist/client/assets/{eye-LrO-cXQt.js → eye-CD-_aphP.js} +1 -1
  238. package/dist/client/assets/{file-code-corner-CsU7jJpu.js → file-code-corner-DtMWHBN3.js} +1 -1
  239. package/dist/client/assets/{file-text-CnISiiw6.js → file-text-BOJQiS8p.js} +1 -1
  240. package/dist/client/assets/{flag-C4wl8z2-.js → flag-CeKO8NoD.js} +1 -1
  241. package/dist/client/assets/{folder-D5prSkzz.js → folder-C2emmTHq.js} +1 -1
  242. package/dist/client/assets/{gauge-D9_5iJEm.js → gauge-BR5CrhRM.js} +1 -1
  243. package/dist/client/assets/{gestures-QZub3Ot9.js → gestures-Dh8szhcU.js} +1 -1
  244. package/dist/client/assets/{git-branch-B0_fPLO7.js → git-branch-C45vy8qT.js} +1 -1
  245. package/dist/client/assets/{go-shortcuts-DicR7sUf.js → go-shortcuts--25Qg0lD.js} +1 -1
  246. package/dist/client/assets/{home-moving-signal-rpMhsOJB.js → home-moving-signal-BiiyEKEb.js} +1 -1
  247. package/dist/client/assets/home-now-card-DaCpqUZe.js +1 -0
  248. package/dist/client/assets/{home-now-card-nano-B5Dv3-pb.js → home-now-card-nano-wbxgyY4q.js} +1 -1
  249. package/dist/client/assets/hooks-JNwYSH18.js +2 -0
  250. package/dist/client/assets/{index-EsrkGBcv.js → index-BFbLvCJn.js} +2 -2
  251. package/dist/client/assets/index-BRNHY2fp.css +1 -0
  252. package/dist/client/assets/index-BrXaMEdK.js +1 -0
  253. package/dist/client/assets/index-CXzJ_hGx.js +1 -0
  254. package/dist/client/assets/{index-CHD0qcfL.js → index-V8FYEUpD.js} +1 -1
  255. package/dist/client/assets/index-mYtyYeAe.js +1 -0
  256. package/dist/client/assets/{inspector-panel-BkgUDn6G.js → inspector-panel-BgU5xUln.js} +2 -2
  257. package/dist/client/assets/{keyboard-nav-DDHegDbx.js → keyboard-nav-CEe-ApvZ.js} +1 -1
  258. package/dist/client/assets/{lane-roster-store-D-RSWjb-.js → lane-roster-store-MraynTHP.js} +1 -1
  259. package/dist/client/assets/{layers-C8PDiMul.js → layers-ClmyjwpB.js} +1 -1
  260. package/dist/client/assets/{layout-grid-Cor2frzj.js → layout-grid-DG2-JaPn.js} +1 -1
  261. package/dist/client/assets/left-B66YR0c5.js +1 -0
  262. package/dist/client/assets/left-BP5P8lzw.js +2 -0
  263. package/dist/client/assets/left-BbCKRDbW.js +1 -0
  264. package/dist/client/assets/left-CaY5FK2k.js +1 -0
  265. package/dist/client/assets/left-CemrfeSs.js +1 -0
  266. package/dist/client/assets/left-DcYA26sH.js +1 -0
  267. package/dist/client/assets/left-DdMMaqFT.js +2 -0
  268. package/dist/client/assets/left-advisor-DBml48M5.js +1 -0
  269. package/dist/client/assets/left-agents-DowYF2ag.js +1 -0
  270. package/dist/client/assets/left-default-Bifaeg_V.js +1 -0
  271. package/dist/client/assets/left-lanes-BGhjdqpD.js +1 -0
  272. package/dist/client/assets/left-mission-CvXPUovR.js +1 -0
  273. package/dist/client/assets/library-CnC8uzJt.js +1 -0
  274. package/dist/client/assets/{loader-circle-OvccU82H.js → loader-circle-CCG7hG7z.js} +1 -1
  275. package/dist/client/assets/{local-agents-BqnoxJrq.js → local-agents-BMcFlY_x.js} +1 -1
  276. package/dist/client/assets/{log-in-7SnYqW5w.js → log-in-VL9mdgeE.js} +1 -1
  277. package/dist/client/assets/{machine-children-DxcqCLmd.js → machine-children-DvCiQxwA.js} +1 -1
  278. package/dist/client/assets/{mentions-ByUvhS-v.js → mentions-s5oW4aQU.js} +1 -1
  279. package/dist/client/assets/{mesh-ops-CiZ8xSAx.js → mesh-ops-9SzD3sPw.js} +1 -1
  280. package/dist/client/assets/{mesh-view-store-DZvJC4KU.js → mesh-view-store-CVqzYz4K.js} +1 -1
  281. package/dist/client/assets/{message-circle-CxRVKNE-.js → message-circle-BB3rFCVD.js} +1 -1
  282. package/dist/client/assets/{message-markup-Zwo3t4cI.js → message-markup-D1C7GzHo.js} +1 -1
  283. package/dist/client/assets/{message-square-BxesYglW.js → message-square-BwqBIfv5.js} +1 -1
  284. package/dist/client/assets/{mission-control-store-elEEsIvb.js → mission-control-store-e8F85JhP.js} +1 -1
  285. package/dist/client/assets/{monitor-DTTYEb73.js → monitor-M0VSmHQ-.js} +1 -1
  286. package/dist/client/assets/{nav-destinations-uorRqFxf.js → nav-destinations-B3R5zxFX.js} +1 -1
  287. package/dist/client/assets/{observe-BJqERJVj.js → observe-M3rLosT5.js} +1 -1
  288. package/dist/client/assets/{page-status-BswZLqvA.js → page-status-BIuh3C5p.js} +1 -1
  289. package/dist/client/assets/{panel-right-Bv7sP_fc.js → panel-right-WKLdPm0F.js} +1 -1
  290. package/dist/client/assets/{paperclip-BjcuP_Hx.js → paperclip-DLf_ABSv.js} +1 -1
  291. package/dist/client/assets/{pause-C2XTlkjs.js → pause-7mmEEvVx.js} +1 -1
  292. package/dist/client/assets/{persistent-state-KRk_yb0q.js → persistent-state-3mbBFRDO.js} +1 -1
  293. package/dist/client/assets/{pin-C2mFOV1l.js → pin-q_0gAA6i.js} +1 -1
  294. package/dist/client/assets/{play-FT6K3It1.js → play-N5-hnPCV.js} +1 -1
  295. package/dist/client/assets/{plus-DFDDeGKu.js → plus-B0hdY0fF.js} +1 -1
  296. package/dist/client/assets/profile-B7ZGToTo.js +1 -0
  297. package/dist/client/assets/{projects-inbox-C0FUCv_p.js → projects-inbox-CMFBjQt0.js} +1 -1
  298. package/dist/client/assets/{proxy-AJsmwA6h.js → proxy-k0ILOVkK.js} +1 -1
  299. package/dist/client/assets/{radio-DRoOZsws.js → radio-Bjqmv997.js} +1 -1
  300. package/dist/client/assets/{refresh-cw-BmVr7sCD.js → refresh-cw-BcqctLqo.js} +1 -1
  301. package/dist/client/assets/resolve-panes-wzGu9d8o.js +1 -0
  302. package/dist/client/assets/resolve-sidebar-context-C8SOo5oZ.js +1 -0
  303. package/dist/client/assets/right-9rMRZN_r.js +1 -0
  304. package/dist/client/assets/right-BHZq648O.js +1 -0
  305. package/dist/client/assets/{right-DWPVB-nK.js → right-BNJzCaH9.js} +1 -1
  306. package/dist/client/assets/right-CAd7lTvY.js +1 -0
  307. package/dist/client/assets/right-Cc57bCTW.js +1 -0
  308. package/dist/client/assets/right-DY49Prjj.js +1 -0
  309. package/dist/client/assets/right-DfU47xKY.js +1 -0
  310. package/dist/client/assets/right-Dr7vxdZl.js +1 -0
  311. package/dist/client/assets/right-DsE4aR3A.js +1 -0
  312. package/dist/client/assets/right-zlkRjnkv.js +1 -0
  313. package/dist/client/assets/{rocket-CGl4RTV7.js → rocket-BahsdUe6.js} +1 -1
  314. package/dist/client/assets/router-CJIx83Ia.js +1 -0
  315. package/dist/client/assets/runtime-picker-IRcTkMZ5.js +1 -0
  316. package/dist/client/assets/{scope-views-RUWwCVAr.js → scope-views-KDtZoLUC.js} +1 -1
  317. package/dist/client/assets/{scout-voice-CZx60X6E.js → scout-voice-Cdh6pCsb.js} +1 -1
  318. package/dist/client/assets/{scoutbot-markdown-BKEBSbG0.js → scoutbot-markdown-7PRQHaAc.js} +1 -1
  319. package/dist/client/assets/{scroll-text-DNjxhyO2.js → scroll-text-CA0QxBHu.js} +1 -1
  320. package/dist/client/assets/{search-DT42oyRW.js → search-Bv2IONmc.js} +1 -1
  321. package/dist/client/assets/secondaryNavConfig-Bmb-oRvD.js +1 -0
  322. package/dist/client/assets/{selection-bridge-x3wFUjxj.js → selection-bridge-CthAuPRw.js} +1 -1
  323. package/dist/client/assets/{send-horizontal-CH0-fbZE.js → send-horizontal-_Tf_It04.js} +1 -1
  324. package/dist/client/assets/{send-to-agent-session-DoKCDBJ4.js → send-to-agent-session-CWDHHgFB.js} +1 -1
  325. package/dist/client/assets/{server-QfsgMLk1.js → server-U_l8A83n.js} +1 -1
  326. package/dist/client/assets/{session-catalog-CvSdPHPe.js → session-catalog-Dx4tl3sx.js} +1 -1
  327. package/dist/client/assets/{session-recap-queue-41l2XVkI.js → session-recap-queue-GeicPLsQ.js} +1 -1
  328. package/dist/client/assets/{session-table-L-pns6Zl.js → session-table-BI62J4NP.js} +1 -1
  329. package/dist/client/assets/{sessions-view-Dc-QAa7O.js → sessions-view-lGMwwZY7.js} +1 -1
  330. package/dist/client/assets/{settings-BVh7kldq.js → settings-bo9X410k.js} +1 -1
  331. package/dist/client/assets/{sliders-horizontal-782VC_yy.js → sliders-horizontal-CPSx6wd2.js} +1 -1
  332. package/dist/client/assets/{sparkles-BjHq_DNK.js → sparkles-Br-bA2aZ.js} +1 -1
  333. package/dist/client/assets/{sse-BCPRocpq.js → sse-BVxO0zNp.js} +1 -1
  334. package/dist/client/assets/{tail-events-d0yAYxR0.js → tail-events-C6NWFB1N.js} +1 -1
  335. package/dist/client/assets/{terminal-hQKQygcf.js → terminal-DMBAZjPP.js} +1 -1
  336. package/dist/client/assets/{terminal-relay-Bxs1hp-j.js → terminal-relay-CpGHpDa8.js} +1 -1
  337. package/dist/client/assets/{terminal-takeover-Ay5C2c-M.js → terminal-takeover-CXwdoZ5j.js} +1 -1
  338. package/dist/client/assets/{triangle-alert-CHoRGdVO.js → triangle-alert-BZikHKuT.js} +1 -1
  339. package/dist/client/assets/use-beside-DopIbJwf.js +1 -0
  340. package/dist/client/assets/{use-conversation-list-CY4JciOV.js → use-conversation-list-CGtcpdPd.js} +1 -1
  341. package/dist/client/assets/{use-fleet-active-asks-CymmXWH4.js → use-fleet-active-asks-DAHOPYPV.js} +1 -1
  342. package/dist/client/assets/{use-mesh-node-state-BvaqtODo.js → use-mesh-node-state-BlWIPTc4.js} +1 -1
  343. package/dist/client/assets/{use-mesh-ops-items-BSYaqH_0.js → use-mesh-ops-items-pKWBro7o.js} +1 -1
  344. package/dist/client/assets/{use-reduced-motion-3gMYZNIp.js → use-reduced-motion-DkdIQBwh.js} +1 -1
  345. package/dist/client/assets/use-scout-dev-flags-CduUFb7l.js +1 -0
  346. package/dist/client/assets/{useAgentHoverCard-BANmpjMh.js → useAgentHoverCard-DNlXPYQf.js} +1 -1
  347. package/dist/client/assets/useContentSecondaryNav-LJGNYG3U.js +1 -0
  348. package/dist/client/assets/{useEmbedHeadline-D6pJRxUg.js → useEmbedHeadline-BeeBDb7E.js} +1 -1
  349. package/dist/client/assets/{usePierreRuntime-BAQdiN0L.js → usePierreRuntime-DUXZ-DTK.js} +1 -1
  350. package/dist/client/assets/useSidebarCollapse-DoMvU_2R.js +1 -0
  351. package/dist/client/assets/{users-BUjx36gx.js → users-BQPEIUfd.js} +1 -1
  352. package/dist/client/assets/{wrench-DR0i5BU7.js → wrench-C-wjicn5.js} +1 -1
  353. package/dist/client/assets/{x-DAehov0E.js → x-BcfhXYiF.js} +1 -1
  354. package/dist/client/assets/{xterm-BXQiLVnI.js → xterm-qXD45dc0.js} +1 -1
  355. package/dist/client/assets/{zap-CEjZNZbI.js → zap-BqL8ttGz.js} +1 -1
  356. package/dist/client/index.html +2 -2
  357. package/dist/main.mjs +1 -1
  358. package/package.json +29 -5
  359. package/server.json +31 -0
  360. package/dist/client/assets/ActivityScreen-CZmGwQ2U.js +0 -1
  361. package/dist/client/assets/AgentAdventures-BAgxdOF8.js +0 -1
  362. package/dist/client/assets/AgentConfigurationScreen-1L0IQm2w.js +0 -1
  363. package/dist/client/assets/AgentDefinitionsWorkspace-DguGs7jZ.js +0 -1
  364. package/dist/client/assets/AgentFloorView-DH4jiDgw.js +0 -1
  365. package/dist/client/assets/AgentInfoScreen-DYtmKkeE.js +0 -1
  366. package/dist/client/assets/AgentLanesEmbedScreen-BlSof_6S.js +0 -1
  367. package/dist/client/assets/AgentMasterScreen-EJhmuKgl.js +0 -1
  368. package/dist/client/assets/AgentsConsole-RXGqRvcb.js +0 -1
  369. package/dist/client/assets/AgentsScreen-ChwMBs11.js +0 -1
  370. package/dist/client/assets/AgentsSubnav-DwNX4yy0.js +0 -1
  371. package/dist/client/assets/BriefingDetailScreen-DrlC3qkm.js +0 -1
  372. package/dist/client/assets/BrokerScreen-DwOF6bMA.js +0 -8
  373. package/dist/client/assets/Canvas-X9pVSkw3.js +0 -1
  374. package/dist/client/assets/ChannelComposer-DoK7IDGa.js +0 -1
  375. package/dist/client/assets/ChatRightPanel-C1h_aIkn.js +0 -1
  376. package/dist/client/assets/ChatSpaceSurface-BXyLYKHn.js +0 -1
  377. package/dist/client/assets/ConversationComposer-CUQyArlk.js +0 -1
  378. package/dist/client/assets/ConversationFeedRows-DWiOfT-y.js +0 -1
  379. package/dist/client/assets/ConversationHeader-C-ZWscKj.js +0 -1
  380. package/dist/client/assets/ConversationScreen-CUfsQ4MR.js +0 -2
  381. package/dist/client/assets/ConversationStatus--IPm2nGh.js +0 -1
  382. package/dist/client/assets/FlightObserveScreen-DZ2mrw91.js +0 -1
  383. package/dist/client/assets/FloorResourcesSheet-C-kQ6Ren.js +0 -1
  384. package/dist/client/assets/HarnessesScreen-DX3NLcDG.js +0 -1
  385. package/dist/client/assets/KnowledgeSearchScreen-Dd6jrQ0A.js +0 -1
  386. package/dist/client/assets/LaneTraceDetailSheet-DYrd0BIf.js +0 -1
  387. package/dist/client/assets/MeshScreen-8nAzQVbm.js +0 -1
  388. package/dist/client/assets/MessagesScreen-C3WB4T21.js +0 -1
  389. package/dist/client/assets/MissionControlView-B9cNPXvl.js +0 -1
  390. package/dist/client/assets/MissionLeftAgentRow-vycMV77n.js +0 -1
  391. package/dist/client/assets/NativeAreaScreen-B1RLa85C.js +0 -1
  392. package/dist/client/assets/NativeAreaScreen-CV0OhGra.js +0 -1
  393. package/dist/client/assets/NativeAreaScreen-CzuZt6o1.js +0 -1
  394. package/dist/client/assets/OpenScoutAppShell-37PDFfA4.js +0 -31
  395. package/dist/client/assets/OpsAgentsView-DajlX8LO.js +0 -1
  396. package/dist/client/assets/OpsScreen-jVcaBKGi.js +0 -1
  397. package/dist/client/assets/OpsSubnav-BOOYShHE.js +0 -1
  398. package/dist/client/assets/ProjectAgentProfile-D_wlW4sQ.js +0 -1
  399. package/dist/client/assets/ProjectAgentProfileHero-Dbebtug1.js +0 -1
  400. package/dist/client/assets/ProjectsInbox-Cgu7B4--.js +0 -2
  401. package/dist/client/assets/ProjectsRail-CDWocin_.js +0 -1
  402. package/dist/client/assets/ProjectsScreen-B_CJycqW.js +0 -1
  403. package/dist/client/assets/ProjectsThreadAside-1MMl_qUD.js +0 -1
  404. package/dist/client/assets/RawSessionsTable-DzT90hWu.js +0 -1
  405. package/dist/client/assets/RealtimeVoiceScreen-B6ylX3WQ.js +0 -16
  406. package/dist/client/assets/RepoDiffViewerLazy-XGVC3WXv.js +0 -2
  407. package/dist/client/assets/SessionRefScreen-DqLSUlCE.js +0 -1
  408. package/dist/client/assets/SessionsScreen-BLIRkohT.js +0 -1
  409. package/dist/client/assets/SettingsScreen-BtGzE2-O.js +0 -1
  410. package/dist/client/assets/SharedWorkFloor-D9mf9KSg.js +0 -2
  411. package/dist/client/assets/Terminal-Bi97yb5s.js +0 -4
  412. package/dist/client/assets/TerminalEmbedScreen-Bqop67Bq.js +0 -1
  413. package/dist/client/assets/TerminalRelay-DrikpUSJ.js +0 -46
  414. package/dist/client/assets/WorldActorTalk-BvSg_b1y.js +0 -1
  415. package/dist/client/assets/content-B1lgE8qr.js +0 -1
  416. package/dist/client/assets/content-B5l11YyQ.js +0 -1
  417. package/dist/client/assets/content-BNZOZEpX.js +0 -1
  418. package/dist/client/assets/content-BRIxP155.js +0 -1
  419. package/dist/client/assets/content-BWd8gt8L.js +0 -1
  420. package/dist/client/assets/content-BfwS2jAK.js +0 -1
  421. package/dist/client/assets/content-C4p43_eT.js +0 -1
  422. package/dist/client/assets/content-CdYfaoDV.js +0 -1
  423. package/dist/client/assets/content-CzldLxw0.js +0 -1
  424. package/dist/client/assets/content-D-olnc4U.js +0 -1
  425. package/dist/client/assets/content-DTioimq4.js +0 -1
  426. package/dist/client/assets/content-LOebm3_d.js +0 -1
  427. package/dist/client/assets/content-oyzDM-LK.js +0 -1
  428. package/dist/client/assets/content-x1PHxED7.js +0 -1
  429. package/dist/client/assets/content-zX3ZY3T9.js +0 -1
  430. package/dist/client/assets/conversation-motion-features-C5zjuNwE.js +0 -1
  431. package/dist/client/assets/direct-voice-BbLPuJ04.js +0 -2
  432. package/dist/client/assets/discover-DJFxyV1k.js +0 -2
  433. package/dist/client/assets/embed-entry-Lyvu0Kfc.js +0 -2
  434. package/dist/client/assets/home-now-card-ByE6Umcx.js +0 -1
  435. package/dist/client/assets/hooks-_eCZZPsR.js +0 -2
  436. package/dist/client/assets/index-724SdE6r.js +0 -1
  437. package/dist/client/assets/index-CN4rBB_s.css +0 -1
  438. package/dist/client/assets/index-D1d98iYf.js +0 -1
  439. package/dist/client/assets/index-gGHPA-By.js +0 -1
  440. package/dist/client/assets/left-Bn5X7x2o.js +0 -2
  441. package/dist/client/assets/left-BqS0fYX1.js +0 -1
  442. package/dist/client/assets/left-CTCeeeD3.js +0 -1
  443. package/dist/client/assets/left-DhtVPVux.js +0 -1
  444. package/dist/client/assets/left-K39b-Wvx.js +0 -2
  445. package/dist/client/assets/left-KGmueNPt.js +0 -1
  446. package/dist/client/assets/left-P_GOYB-s.js +0 -1
  447. package/dist/client/assets/left-advisor-B0N47De2.js +0 -1
  448. package/dist/client/assets/left-agents-CsSNc51Y.js +0 -1
  449. package/dist/client/assets/left-default-BlO5LP2T.js +0 -1
  450. package/dist/client/assets/left-lanes-C4PhaJE6.js +0 -1
  451. package/dist/client/assets/left-mission-BjTE5vPa.js +0 -1
  452. package/dist/client/assets/library-CkWNPHRp.js +0 -1
  453. package/dist/client/assets/profile-DTmzN16I.js +0 -1
  454. package/dist/client/assets/provider-Dojd8quC.js +0 -1
  455. package/dist/client/assets/resolve-panes-pbY1fCWi.js +0 -1
  456. package/dist/client/assets/resolve-sidebar-context-YWkZTq1t.js +0 -1
  457. package/dist/client/assets/right-49kO-6nD.js +0 -1
  458. package/dist/client/assets/right-APtItA8A.js +0 -1
  459. package/dist/client/assets/right-BJwhPqtn.js +0 -1
  460. package/dist/client/assets/right-BPqrf4ek.js +0 -1
  461. package/dist/client/assets/right-D7djOy6K.js +0 -1
  462. package/dist/client/assets/right-DKOUCRob.js +0 -1
  463. package/dist/client/assets/right-DMNrVzg7.js +0 -1
  464. package/dist/client/assets/right-DppeMCy4.js +0 -1
  465. package/dist/client/assets/right-GAL5Mw1v.js +0 -1
  466. package/dist/client/assets/router-DCtl8wqb.js +0 -1
  467. package/dist/client/assets/runtime-picker-DXu2bOTh.js +0 -1
  468. package/dist/client/assets/secondaryNavConfig-CS1svh6n.js +0 -1
  469. package/dist/client/assets/use-beside-DoRC1nt0.js +0 -1
  470. package/dist/client/assets/use-scout-dev-flags-DS_pYYQd.js +0 -1
  471. package/dist/client/assets/useContentSecondaryNav-C6OBu-3_.js +0 -1
  472. package/dist/client/assets/usePersistentState-B8lP7TRb.js +0 -1
  473. package/dist/client/assets/useSidebarCollapse-OL_8J5cL.js +0 -1
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/resolve-panes-wzGu9d8o.js","assets/index-BFbLvCJn.js","assets/index-BRNHY2fp.css","assets/content-CPchclaV.js","assets/ActivityScreen-C1H-vL0L.js","assets/api-DSqpVKC7.js","assets/clipboard-e3fSpeo7.js","assets/sse-BVxO0zNp.js","assets/index-BWHgHrtv.js","assets/machine-scope-DJt9RZ2w.js","assets/router-CJIx83Ia.js","assets/synthetic-agent-routing-aduMYO7P.js","assets/terminal-sessions-3RfJpen8.js","assets/mentions-s5oW4aQU.js","assets/colors-CFlbwC25.js","assets/agent-state-DDhnFEEP.js","assets/index-CXzJ_hGx.js","assets/Provider-BEXAZWd9.js","assets/theme-vars-DNK0nn3k.js","assets/surface-activity-B1rgWB1i.js","assets/scoutbot-Bk3nyrkj.js","assets/NewChatComposer-D-VB5vdt.js","assets/runtime-picker-IRcTkMZ5.js","assets/scout-voice-Cdh6pCsb.js","assets/fx-z37u1o2z.js","assets/voice-levels-Dcr3jglk.js","assets/loader-circle-CCG7hG7z.js","assets/createLucideIcon-CKbjXlwv.js","assets/runtime-picker-C3JwrDKP.css","assets/media-blobs-Bi8pxr1u.js","assets/HarnessMark-CP-PWk2W.js","assets/conversation-model-FxDeWlle.js","assets/time-Dhsh_2EG.js","assets/conversations-DoAAO6kA.js","assets/NewChatOrigin-BYsEu9dZ.js","assets/keyboard-nav-CEe-ApvZ.js","assets/x-BcfhXYiF.js","assets/chevron-down-DEDSNJNY.js","assets/search-Bv2IONmc.js","assets/file-text-BOJQiS8p.js","assets/NewChatComposer-C5LT7MF7.css","assets/model-CBkMvT1w.js","assets/DocumentFocusViewer-mxzPxQQW.js","assets/TextDocumentSurface-DBslUq9k.js","assets/DocumentFocusViewer-BSC_JwVE.css","assets/index-V8FYEUpD.js","assets/chevron-right-B02kAw12.js","assets/folder-C2emmTHq.js","assets/chevron-up-CzveykKG.js","assets/code-xml-E9gBuiVs.js","assets/arrow-left-DNjQHf4C.js","assets/arrow-right-A_yyXwoH.js","assets/voice-turn-ledger-BMZxlSjg.js","assets/chunk-HRAB3GC3-DVhUsgOw.js","assets/Provider-CCzjtkda.css","assets/AgentDetailCard-CI-ufaEP.js","assets/AgentLiveActions-CkRGkv13.js","assets/terminal-takeover-CXwdoZ5j.js","assets/openContent-C6XO6kr5.js","assets/eye-CD-_aphP.js","assets/terminal-DMBAZjPP.js","assets/AgentLiveActions-CGS-Bxb7.css","assets/AgentDetailCard-C4WVeJvJ.css","assets/SessionHopMenu-DX6PJPNk.js","assets/external-link-Df1R34rX.js","assets/EmptyState-DLiLgtPK.js","assets/system-surfaces-redesign-q2BmCB7e.css","assets/left-CemrfeSs.js","assets/AgentAvatar-Dn8TUv5W.js","assets/SpriteAvatar-D53GaaK3.js","assets/CrewAvatar-a_C_F9r_.js","assets/CrewAvatar-BnIPIn_Z.css","assets/ctx-panel-BC8fpcWJ.css","assets/content-BHV-ZU8_.js","assets/AgentInfoScreen-BnRhfcFy.js","assets/BackToPicker-BPU7kbXq.js","assets/BackToPicker-CdgVu-to.css","assets/CrewStage-IPpS3Oja.js","assets/ObservedTopologyPanel-Ci7emnnj.js","assets/ObservedTopologyPanel-BsBsvVPL.css","assets/agents-detail-redesign-h34ROjOW.css","assets/agents-screen-BYakbO50.css","assets/AgentsScreen-C17BFqjf.js","assets/AgentsSubnav-_1GVC4hj.js","assets/SecondaryNav-1FjBDWuY.js","assets/secondaryNavConfig-Bmb-oRvD.js","assets/nav-destinations-B3R5zxFX.js","assets/message-square-BwqBIfv5.js","assets/compass-EmGkpxIe.js","assets/settings-bo9X410k.js","assets/git-branch-C45vy8qT.js","assets/scroll-text-CA0QxBHu.js","assets/secondaryNavConfig-D15P1Y9k.css","assets/library-CnC8uzJt.js","assets/AgentSessions-ghjQcSrh.js","assets/agents-project-DgbqDc65.css","assets/profile-B7ZGToTo.js","assets/context-budget-8qFKqM-j.js","assets/session-catalog-Dx4tl3sx.js","assets/terminal-relay-CpGHpDa8.js","assets/ConversationScreen-Pzxy9x4m.js","assets/ComposerAttachments-9uYp_Lh5.js","assets/message-markup-D1C7GzHo.js","assets/message-markup-BQW5jdJw.js","assets/message-visibility-DwxgcgYK.js","assets/operator-attention-DBaRg5ep.js","assets/sessionRead-CvFz2RHv.js","assets/MessageEmbeds-B-FbWI7a.js","assets/types-B0PlfpKc.js","assets/ConversationHeader-L9738YVP.js","assets/AstronautSuit-Dzu4GOMR.js","assets/panel-right-WKLdPm0F.js","assets/CommsFlowGraph-Cc48o9u_.js","assets/comms-gesture-_aGFo6g3.js","assets/CommsCanvas-Dh056d91.js","assets/comms-deck-CBhsXnY-.js","assets/CommsCanvas-BR2YS76H.css","assets/CommsFlowMap-Ckasql5e.js","assets/CommsSelection-CuphnUny.js","assets/use-conversation-list-CGtcpdPd.js","assets/agent-master-model-Bk_yuUXJ.js","assets/comms-deck-C8nVeMBh.css","assets/CommsFlowGraph-vQucylxF.css","assets/use-beside-DopIbJwf.js","assets/ConversationComposer-hYtLurqy.js","assets/zap-BqL8ttGz.js","assets/ConversationFeedRows-Bu0ZJcy8.js","assets/ConversationPanels-D6KuqvGu.js","assets/tail-display-DHSNmvor.js","assets/lane-edit-display-BjdT9oZl.js","assets/use-reduced-motion-DkdIQBwh.js","assets/proxy-k0ILOVkK.js","assets/activity-CXkZ620t.js","assets/message-circle-BB3rFCVD.js","assets/tail-events-C6NWFB1N.js","assets/ConversationStatus-BEefIbXq.js","assets/check-BM6QtbB7.js","assets/sparkles-Br-bA2aZ.js","assets/triangle-alert-BZikHKuT.js","assets/SessionContextStrip-BoiIxXvS.js","assets/SessionContextStrip-DAIXwtHd.css","assets/ConversationScreen-9MlMnEo4.css","assets/ops-screen-CxYM0VOW.css","assets/SessionObserve-Dw3bVQYF.js","assets/bash-format-BRV5C6Gv.js","assets/lane-tool-detail-Czggx8oM.js","assets/LaneToolHoverCard-B8Am_1DC.js","assets/lane-observe-CteDwdD-.js","assets/lane-ask-display-BTVSakyo.js","assets/ObserveTextFlow-C0oQEerY.js","assets/SessionObserveEvidence-uD1OX-R5.js","assets/wrench-C-wjicn5.js","assets/SessionObserve-CDdJ7fAE.css","assets/AgentDefinitionsWorkspace-BzcBdC_s.js","assets/agent-specialization-DYX_DSlY.js","assets/project-overview-helpers-BQTc_Ous.js","assets/FileViewerPane-Dc7AoVod.js","assets/agent-definitions-CymTYqvo.css","assets/agent-essentials-DnfdGmIX.js","assets/agent-directory-studio-injection-Bc8590z5.css","assets/ops-atop-BB4B4JdE.css","assets/right-DsE4aR3A.js","assets/openAgent-Dbv5wfuL.js","assets/TmuxPeek-Ctw5yYO5.js","assets/refresh-cw-BcqctLqo.js","assets/ProjectsRail-BhSaqbv0.js","assets/AddProjectForm-4sVXmjfN.js","assets/projects-inbox-CMFBjQt0.js","assets/projects-inbox-ColX6lpx.css","assets/ProjectsScreen-CSb7nwjb.js","assets/ProjectsInbox-B7kap8nR.js","assets/ui-LM8pS8qE.js","assets/SessionRefScreen-Ch9H-qVk.js","assets/session-ref-lookup-state-SATH_jAP.js","assets/inbox-thread-redesign-B_1ocqaX.css","assets/CrewWorkspaces-BTPtcEcx.js","assets/plus-B0hdY0fF.js","assets/CrewWorkspaces-DDuYMByu.css","assets/useEmbedHeadline-BeeBDb7E.js","assets/api-BQYTwoz6.js","assets/cache-DGBo3vIf.js","assets/arrow-up-right-DUW1A1Hb.js","assets/ProjectsInbox-B8zYE4vP.css","assets/ProjectAgentProfile-B1VqGSmu.js","assets/ProjectAgentProfileBar-DhVU7zew.js","assets/ProjectsThreadAside-pEJutIO8.js","assets/content-srNyLgDt.js","assets/BriefingDetailScreen-CTvFw523.js","assets/scoutbot-markdown-7PRQHaAc.js","assets/briefings-BwuAFQK6.css","assets/BriefingsScreen-DpVC3OUk.js","assets/content-iWBSSXa6.js","assets/BrokerScreen-CqKsBwEx.js","assets/status-tone-BM_zuRy1.js","assets/broker-display-BkBzyvbR.js","assets/BrokerMetadataPanel-glRVdwkU.js","assets/DispatchAftermath-CoAYaL3B.js","assets/follow-route-BvcGtBIL.js","assets/ShikiPane-CDiIT_qn.js","assets/arrow-down--OUDFWIq.js","assets/paperclip-DLf_ABSv.js","assets/send-horizontal-_Tf_It04.js","assets/copy-C1XrY27_.js","assets/radio-Bjqmv997.js","assets/left-BP5P8lzw.js","assets/conversation-prefs-DNre-Lcx.js","assets/use-fleet-active-asks-DAHOPYPV.js","assets/sessions-view-lGMwwZY7.js","assets/RailRow-Ddz90weI.js","assets/RailRow-B25zKEub.css","assets/content-BI9yWpWC.js","assets/MessagesScreen-hq7D3Lfi.js","assets/AgentMasterScreen-CijN_4tN.js","assets/agent-master-THmq-1k8.css","assets/CommsDeck-CRXKIerH.js","assets/right-Cc57bCTW.js","assets/CodeScreen-BN4TkiR0.js","assets/CodeDiffPane-DCgMUi39.js","assets/usePierreRuntime-DUXZ-DTK.js","assets/repo-diff-DyYmQMSA.css","assets/CodeProjectPicker-Dq787L77.js","assets/code-screen-DrKinCyh.css","assets/content-CVqPTQnr.js","assets/FollowScreen-DFVSlsQV.js","assets/content-BXTmYOPB.js","assets/HarnessesScreen-j-91IoOo.js","assets/useContentSecondaryNav-LJGNYG3U.js","assets/OpsSubnav-CjMVj7Sk.js","assets/harnesses-screen-2z36fJKE.css","assets/left-DdMMaqFT.js","assets/left-CAaRBK9S.css","assets/content-BP3cQkAj.js","assets/HomeHero-g4H3Ctxg.js","assets/HomeHero-7JwycwFY.css","assets/TailView-B44cSuyl.js","assets/SlidePanel-D5oPQocF.js","assets/SlidePanel-Bg5dVaIa.css","assets/TailView-Mj3AU2u0.css","assets/observe-M3rLosT5.js","assets/persistent-state-3mbBFRDO.js","assets/agent-lanes-model-DMAdqCmK.js","assets/home-moving-signal-BiiyEKEb.js","assets/home-live-action-BkqGLVRY.js","assets/cpu-DVZ_LhPn.js","assets/file-code-corner-DtMWHBN3.js","assets/home-moving-signal-DMguaRWR.css","assets/content-CINHz-rZ.css","assets/right-BHZq648O.js","assets/left-B66YR0c5.js","assets/mesh-view-store-CVqzYz4K.js","assets/machine-children-DvCiQxwA.js","assets/use-mesh-node-state-BlWIPTc4.js","assets/NodeMenu-BgJMmffZ.js","assets/left-R2OOE7VG.css","assets/content-C3DZ77HZ.js","assets/MeshScreen-CAtRB8K6.js","assets/MeshCanvas-DzkuY_XI.js","assets/chunk-T65CQEWV-G_Z0lqtn.js","assets/useAgentHoverCard-DNlXPYQf.js","assets/local-agents-BMcFlY_x.js","assets/mesh-screen-DjA4mOaN.css","assets/right-zlkRjnkv.js","assets/NodeDetailPanel-9NaEnZAQ.js","assets/left-DcYA26sH.js","assets/mesh-ops-9SzD3sPw.js","assets/mesh-ops-B1kDjizF.css","assets/use-mesh-ops-items-pKWBro7o.js","assets/content-BRY-UTkP.js","assets/use-scout-dev-flags-CduUFb7l.js","assets/right-DfU47xKY.js","assets/left-CaY5FK2k.js","assets/left-agents-DowYF2ag.js","assets/left-default-Bifaeg_V.js","assets/left-lanes-BGhjdqpD.js","assets/lane-roster-store-MraynTHP.js","assets/left-mission-CvXPUovR.js","assets/mission-control-store-e8F85JhP.js","assets/MissionLeftAgentRow-CB3cgeYr.js","assets/page-status-BIuh3C5p.js","assets/left-mission-DENnfshd.css","assets/left-advisor-DBml48M5.js","assets/server-U_l8A83n.js","assets/layers-ClmyjwpB.js","assets/gauge-BR5CrhRM.js","assets/content-BLVuukzF.js","assets/OpsScreen-C955zgr3.js","assets/AgentLanesView-CiISx7pu.js","assets/AgentFloorView-D8tlGlgy.js","assets/AgentAdventures-5yBt-Zl3.js","assets/ReplayClock-wLpb4VqN.js","assets/SproutActionSprite-BrFCmgWS.js","assets/sprout-action-sprite-DZ8C0fTl.css","assets/CrewSprite-CguHb2Ny.js","assets/CrewSprite-DsQJdu3Z.css","assets/adventure-playback-DTfkhIc0.js","assets/AdventureScenery-CGEcG0zV.js","assets/adventure-habitats-v1-M1lcpTJh.js","assets/AdventureReader-BICypcDY.js","assets/floor-preview-text-HrORUJ7D.js","assets/book-open-B_idZgTF.js","assets/adventure-reader-DM5UDDm9.css","assets/ReplayLog-IUyQdklN.js","assets/AdventureEvidence-D5wq1vu8.js","assets/agent-lane-detail-Ti3trpfH.js","assets/adventure-evidence-DgQbBmfa.css","assets/flag-CeKO8NoD.js","assets/pause-7mmEEvVx.js","assets/play-N5-hnPCV.js","assets/agent-adventures-DZtWpj6k.css","assets/SharedWorkFloor-H-e2TVj9.js","assets/WorldMinimap-DL12pBw3.js","assets/WorldSky-BlPNvGLo.js","assets/WorldActorTalk-CHhFTiQV.js","assets/send-to-agent-session-CWDHHgFB.js","assets/FloorExchangePanel-DsG1cRzu.js","assets/floor-character-name-CqJPOlXb.js","assets/floor-message-passes-CO3Ix_wR.js","assets/shared-work-artifacts-DfNl9KTo.js","assets/floor-memory-YMM8AlLY.js","assets/FloorExchangePanel-B3TFhjLk.css","assets/CharacterFamilyPreview-Bj8oMD-5.js","assets/CharacterFamilyPreview-BniL8sEL.css","assets/RenderedWorkerSprite-BNhFXMIo.js","assets/RenderedWorkerSprite-qnTfkd_4.css","assets/FloorMessagePasses-Cm3LbkHd.js","assets/FloorMessagePasses-nxwwiUom.css","assets/WorkRunView-DLIzAsc3.js","assets/floor-context-model-rWKqaKmV.js","assets/WorkRunView-CxwAZ2QQ.css","assets/agent-floor-actor-DW8zLht0.js","assets/SharedFloorCharacter-dnamlt1p.js","assets/WorldCharacter-CJGx2DVy.js","assets/RiggedWorkerCharacter-CF6fhzGd.js","assets/RiggedWorkerCharacter-BpYECnyK.css","assets/SharedFloorCharacter-Bi5_md4R.css","assets/SharedWorkFloor-0rqtdF-n.css","assets/FloorReplay-Bg7kA-tR.js","assets/AgentFloorWorld-DqmnQexg.js","assets/agent-floor-world-layout-hfMjuoui.js","assets/coffee-D0YEK6-l.js","assets/agent-floor-world-Bnd1AtwK.css","assets/floor-replay-CccYqE-f.css","assets/FloorTacticalHUD-4d-Hr-YL.js","assets/FloorSavedWork-BDOvV3mA.js","assets/pin-q_0gAA6i.js","assets/floor-tactical-hud-HL5Vja5Y.css","assets/FloorResourcesSheet-Ba9HubO2.js","assets/floor-context-sheet-BFnkFiY3.css","assets/FloorContextSheet-BfrXNoBn.js","assets/session-recap-lanes-D-eVJnpY.js","assets/agent-floor-Dmr9hZHL.css","assets/AgentLanesPreflight-BQfj2twF.js","assets/AgentLaneChrome-RptImDFc.js","assets/AgentLaneCard-pppHFROz.js","assets/AgentLaneSummaryResize-DaIgwyVh.js","assets/agent-lane-card-BkWVDYM8.css","assets/agent-lane-card-model-CeqQGp-8.js","assets/agent-lane-preview-Dpa3DuOn.js","assets/AgentLaneDetailSheet-BqbwGskh.js","assets/LaneTraceDetailSheet-CngYIxdI.js","assets/LaneTraceEventFocus-BRR_jcl9.js","assets/agent-lanes-DmgipV9D.css","assets/MissionControlView-D6gbMrgx.js","assets/MissionContextRail-ClR8amG1.js","assets/mission-wall-CAo4BKfa.js","assets/mission-control-model-BpJHDV5D.js","assets/MissionFocusOverlay-CzeNgI9Q.js","assets/MissionLogPane-2PMEoG44.js","assets/mission-control-CsX3Yc58.css","assets/OpsAgentsView-DVotOMg2.js","assets/DataTable-DnL_8SAu.js","assets/resizable-columns-C7ygvLt8.css","assets/sliders-horizontal-CPSx6wd2.js","assets/ops-agents-BOYxzPTm.css","assets/HostAdvisorView-Cyt3b5Fq.js","assets/layout-grid-DG2-JaPn.js","assets/host-advisor-B2Fqs5Dd.css","assets/AtopView-DJK5b3lZ.js","assets/FleetRollCallHud-VhpxVcGO.js","assets/session-recap-queue-GeicPLsQ.js","assets/fleet-roll-call-BUgf7w-V.css","assets/page-status-bar-ByUD7VPM.css","assets/content-DK1KeRPw.js","assets/RepoDiffPageScreen-B9oAjrC6.js","assets/RepoDiffViewerLazy-DL6A2o_z.js","assets/ReposScreen-D-E7fSAB.js","assets/selection-bridge-CthAuPRw.js","assets/console-B1IBqLI_.css","assets/right-BNJzCaH9.js","assets/content-CjAERU44.js","assets/KnowledgeSearchScreen-DC8yX-kA.js","assets/clock-8tb9t2t9.js","assets/knowledge-search-BNdQweGz.css","assets/KnowledgeSearchInspector-BbOQIqdF.js","assets/content-B-rn1rka.js","assets/SessionsScreen-DUeP23Xy.js","assets/RawSessionsTable-TdKlJIPl.js","assets/FlightObserveScreen-C1kASP3J.js","assets/flight-observe-GFg9L8ft.css","assets/right-DY49Prjj.js","assets/content-ryJeaQk8.js","assets/SettingsScreen-BcJ05LE5.js","assets/StatusPill-jT--OXbn.js","assets/AgentConfigurationScreen-C0D9WNyL.js","assets/CastPicker-Y29K5kKk.js","assets/CastPicker-zXsnkTIy.css","assets/bot-BNv_ZJzi.js","assets/SettingsDrawer-BVrP6J52.js","assets/credentials-OeoF-VKJ.js","assets/VoicePermissionsPanel-9Nuw-xCr.js","assets/VoicePermissionsPanel-RijAZ1gP.css","assets/monitor-M0VSmHQ-.js","assets/SettingsDrawer-R8a0TlJD.css","assets/left-BbCKRDbW.js","assets/chunk-YOZR3KYS-apgUnfXh.js","assets/arrow-up-DFy-9ghF.js","assets/session-table-BI62J4NP.js","assets/log-in-VL9mdgeE.js","assets/left-BV9yMiTL.css","assets/Terminal-D0PanmIk.js","assets/HerdrSession-H2mmxeTK.js","assets/chunk-JTPDIGGW-hdpdYwXb.js","assets/TerminalHeaderMount-CYYcKxQ-.js","assets/terminal-screen-Bpb2SZrn.css","assets/right-9rMRZN_r.js","assets/content-CoYG0nWL.js","assets/WorkDetailScreen-BrrkENYq.js","assets/WorkFilesViewer-B63sKRYZ.js","assets/right-Dr7vxdZl.js","assets/RealtimeVoiceScreen-BU5KmlNo.js","assets/direct-voice-DAOUU-kc.js","assets/gestures-Dh8szhcU.js","assets/direct-voice-DbO7CSv_.css","assets/VoiceControlWell-BkjuWjYu.js","assets/rocket-BahsdUe6.js","assets/VoiceTurnDetails-kS7lfbmt.js","assets/VoiceTurnStage-DLY6aYDg.js","assets/VoiceTurnView-CF4tIldB.js","assets/voice-turn-DftA0iIb.css","assets/voice-paths-CJUuBPh3.css","assets/collapsed-strip-raJWthAH.css"])))=>i.map(i=>d[i]);
2
+ import{r as m,j as a,_ as h,I as y,M as v}from"./index-BFbLvCJn.js";import{u as g,F as S,S as x,o as C,p as j,q as _,t as L}from"./router-CJIx83Ia.js";import{u as P,h as R}from"./Provider-BEXAZWd9.js";import{r as I}from"./embed-navigation-DayfkQau.js";import{r as T}from"./types-B0PlfpKc.js";import{g as F}from"./go-shortcuts--25Qg0lD.js";import{i as D,d as K,c as k}from"./keyboard-nav-CEe-ApvZ.js";import{r as N}from"./discover-BNa3BPr_.js";import"./api-DSqpVKC7.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./theme-vars-DNK0nn3k.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-BVxO0zNp.js";import"./index-BWHgHrtv.js";import"./surface-activity-B1rgWB1i.js";import"./agent-state-DDhnFEEP.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-D-VB5vdt.js";import"./runtime-picker-IRcTkMZ5.js";import"./scout-voice-Cdh6pCsb.js";import"./fx-z37u1o2z.js";import"./voice-levels-Dcr3jglk.js";import"./loader-circle-CCG7hG7z.js";import"./createLucideIcon-CKbjXlwv.js";import"./media-blobs-Bi8pxr1u.js";import"./index-CXzJ_hGx.js";import"./HarnessMark-CP-PWk2W.js";import"./conversation-model-FxDeWlle.js";import"./time-Dhsh_2EG.js";import"./conversations-DoAAO6kA.js";import"./colors-CFlbwC25.js";import"./NewChatOrigin-BYsEu9dZ.js";import"./x-BcfhXYiF.js";import"./chevron-down-DEDSNJNY.js";import"./search-Bv2IONmc.js";import"./file-text-BOJQiS8p.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-mxzPxQQW.js";import"./TextDocumentSurface-DBslUq9k.js";import"./index-V8FYEUpD.js";import"./chevron-right-B02kAw12.js";import"./folder-C2emmTHq.js";import"./chevron-up-CzveykKG.js";import"./code-xml-E9gBuiVs.js";import"./arrow-left-DNjQHf4C.js";import"./arrow-right-A_yyXwoH.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./chunk-HRAB3GC3-DVhUsgOw.js";import"./nav-destinations-B3R5zxFX.js";import"./message-square-BwqBIfv5.js";import"./terminal-DMBAZjPP.js";import"./compass-EmGkpxIe.js";import"./settings-bo9X410k.js";import"./git-branch-C45vy8qT.js";import"./scroll-text-CA0QxBHu.js";function O(e){let t=!1,i;const r=()=>{t=!1,clearTimeout(i)},n=o=>{if(o.defaultPrevented||o.isComposing||o.repeat||o.metaKey||o.ctrlKey||o.altKey||o.shiftKey||D(o.target)||K(o.target)||k()){r();return}const s=o.key.toLowerCase();if(t){r();const d="hcptdfolbr".includes(s)?F(s):null;o.preventDefault(),o.stopPropagation(),d&&e(d.route);return}s==="g"&&(t=!0,i=setTimeout(r,1500),o.preventDefault(),o.stopPropagation())};return window.addEventListener("keydown",n),window.addEventListener("blur",r),window.addEventListener("focusin",r),()=>{r(),window.removeEventListener("keydown",n),window.removeEventListener("blur",r),window.removeEventListener("focusin",r)}}const A=m.lazy(async()=>{const{resolveContentPane:e}=await h(async()=>{const{resolveContentPane:t}=await import("./resolve-panes-wzGu9d8o.js");return{resolveContentPane:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440]));return{default:({route:t,navigate:i,agents:r})=>e(t,i,r)}});function u(e,t){if(!e||typeof e!="object"||!t||typeof t!="object")return!1;const i=e;return Object.entries(t).every(([r,n])=>i[r]===n)}function U({surface:e}){const{route:t,navigate:i,agents:r}=P(),{searchStr:n}=g(),o=e.Screen,s=e.embed,d=!!e.embed?.ownsInternalRoutes,l=m.useCallback(c=>d&&u(c,e.route)&&(s.isInternalRoute?.(c)??!0),[d,e.route,s.isInternalRoute]),p=m.useCallback(c=>I(c,i,void 0,l),[l,i]);m.useEffect(()=>{if(["/embed/home","/embed/search","/embed/ops"].includes(window.location.pathname))return O(p)},[p]);const f=typeof window>"u"||e.embedPaths.includes(window.location.pathname)||u(t,e.route),b=m.useMemo(()=>s.resolveEmbedProps?s.resolveEmbedProps(new URLSearchParams(n)):{},[s,n]),w=T(s),E=[s.rootClassName,"s-discovered-embed",w.showSecondaryNav?"":"s-discovered-embed--lean"].filter(Boolean).join(" ");return a.jsx("div",{className:E,"data-scout-theme":!0,"data-scout-surface":e.id,children:f?a.jsx(o,{navigate:p,embedded:!0,...b}):a.jsx(m.Suspense,{fallback:null,children:a.jsx(A,{route:t,navigate:p,agents:r})})})}async function Ge(e,t){const i=await N(window.location.pathname);return i?(y.createRoot(e).render(a.jsx(m.StrictMode,{children:a.jsx(v,{children:a.jsx(S,{registry:_,audience:j,audienceOrder:C,storageKey:x,initialLayers:L(),children:a.jsx(R,{initialTheme:t,children:a.jsx(U,{surface:i})})})})})),!0):!1}export{Ge as mountDiscoveredEmbed};
@@ -1 +1 @@
1
- import{c as a}from"./createLucideIcon-zZ8Hx7er.js";const e=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],n=a("external-link",e);export{n as E};
1
+ import{c as a}from"./createLucideIcon-CKbjXlwv.js";const e=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],n=a("external-link",e);export{n as E};
@@ -1 +1 @@
1
- import{c}from"./createLucideIcon-zZ8Hx7er.js";const e=[["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"}]],r=c("eye",e);export{r as E};
1
+ import{c}from"./createLucideIcon-CKbjXlwv.js";const e=[["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"}]],r=c("eye",e);export{r as E};
@@ -1 +1 @@
1
- import{c as e}from"./createLucideIcon-zZ8Hx7er.js";const o=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],c=e("file-code-corner",o);export{c as F};
1
+ import{c as e}from"./createLucideIcon-CKbjXlwv.js";const o=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],c=e("file-code-corner",o);export{c as F};
@@ -1 +1 @@
1
- import{c as e}from"./createLucideIcon-zZ8Hx7er.js";const a=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],o=e("file-text",a);export{o as F};
1
+ import{c as e}from"./createLucideIcon-CKbjXlwv.js";const a=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],o=e("file-text",a);export{o as F};
@@ -1 +1 @@
1
- import{c as a}from"./createLucideIcon-zZ8Hx7er.js";const c=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],e=a("flag",c);export{e as F};
1
+ import{c as a}from"./createLucideIcon-CKbjXlwv.js";const c=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],e=a("flag",c);export{e as F};
@@ -1 +1 @@
1
- import{c as o}from"./createLucideIcon-zZ8Hx7er.js";const a=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],c=o("folder",a);export{c as F};
1
+ import{c as o}from"./createLucideIcon-CKbjXlwv.js";const a=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],c=o("folder",a);export{c as F};
@@ -1 +1 @@
1
- import{c as e}from"./createLucideIcon-zZ8Hx7er.js";const a=[["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"}]],o=e("database",a);const t=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],s=e("gauge",t);export{o as D,s as G};
1
+ import{c as e}from"./createLucideIcon-CKbjXlwv.js";const a=[["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"}]],o=e("database",a);const t=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],s=e("gauge",t);export{o as D,s as G};
@@ -1 +1 @@
1
- import{r as jt}from"./index-EsrkGBcv.js";import{n as se,D as Wt,E as et,m as X,F as tt,G as nt,H as Ut,I as xe,J as Pe,K as st,N as he,g as ke,t as L,e as qt,f as H,A as K,h as W,O as zt,z as R,Q as Xt,R as U,W as it,T as Ae,U as Yt,V as $t,X as Zt,Y as Jt,Z as Qt,_ as rt,$ as en,a0 as we,a1 as tn,a2 as nn,a3 as sn,b as rn,i as ot,a4 as on,a5 as an,a6 as cn,a7 as Ie,a8 as Oe,a9 as $,aa as Ee,ab as ln,ac as un,ad as fn,ae as hn,af as dn,ag as pn,ah as at,o as mn,ai as gn,aj as yn,ak as vn,al as Tn,am as ct,an as lt,ao as ut,ap as ft,aq as bn}from"./use-reduced-motion-3gMYZNIp.js";const xn=e=>typeof e=="object"&&e!==null,ie=(...e)=>e.reduce((t,n)=>s=>n(t(s))),ht=(e,t,n)=>{const s=t-e;return s?(n-e)/s:1},dt=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,An=1e-7,wn=12;function Vn(e,t,n,s,i){let r,o,a=0;do o=t+(n-t)/2,r=dt(o,s,i)-e,r>0?n=o:t=o;while(Math.abs(r)>An&&++a<wn);return o}function Y(e,t,n,s){if(e===t&&n===s)return se;const i=r=>Vn(r,0,1,e,n);return r=>r===0||r===1?r:dt(i(r),t,s)}const pt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mt=e=>t=>1-e(1-t),gt=Y(.33,1.53,.69,.99),Ve=mt(gt),yt=pt(Ve),vt=e=>e>=1?1:(e*=2)<1?.5*Ve(e):.5*(2-Math.pow(2,-10*(e-1))),Se=e=>1-Math.sin(Math.acos(e)),Sn=mt(Se),Tt=pt(Se),Cn=Y(.42,0,1,1),Mn=Y(0,0,.58,1),bt=Y(.42,0,.58,1),Dn=e=>Array.isArray(e)&&typeof e[0]!="number",Pn={linear:se,easeIn:Cn,easeInOut:bt,easeOut:Mn,circIn:Se,circInOut:Tt,circOut:Sn,backIn:Ve,backInOut:yt,backOut:gt,anticipate:vt},kn=e=>typeof e=="string",Fe=e=>{if(Wt(e)){et(e.length===4);const[t,n,s,i]=e;return Y(t,n,s,i)}else if(kn(e))return Pn[e];return e};function re(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function In({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let i=0,r=0,o=0;if(!t)i=r=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;i=re(u,a,e+1/3),r=re(u,a,e),o=re(u,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function J(e,t){return n=>n>0?t:e}const oe=(e,t,n)=>{const s=e*e,i=n*(t*t-s)+s;return i<0?0:Math.sqrt(i)},On=[Ut,tt,nt],En=e=>On.find(t=>t.test(e));function Re(e){const t=En(e);if(!t)return!1;let n=t.parse(e);return t===nt&&(n=In(n)),n}const Le=(e,t)=>{const n=Re(e),s=Re(t);if(!n||!s)return J(e,t);const i={...n};return r=>(i.red=oe(n.red,s.red,r),i.green=oe(n.green,s.green,r),i.blue=oe(n.blue,s.blue,r),i.alpha=X(n.alpha,s.alpha,r),tt.transform(i))},de=new Set(["none","hidden"]);function Fn(e,t){return de.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Rn(e,t){return n=>X(e,t,n)}function Ce(e){return typeof e=="number"?Rn:typeof e=="string"?xe(e)?J:Pe.test(e)?Le:Bn:Array.isArray(e)?xt:typeof e=="object"?Pe.test(e)?Le:Ln:J}function xt(e,t){const n=[...e],s=n.length,i=e.map((r,o)=>Ce(r)(r,t[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}}function Ln(e,t){const n={...e,...t},s={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(s[i]=Ce(e[i])(e[i],t[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}}function Kn(e,t){const n=[],s={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],o=e.indexes[r][s[r]],a=e.values[o]??0;n[i]=a,s[r]++}return n}const Bn=(e,t)=>{const n=st.createTransformer(t),s=he(e),i=he(t);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?de.has(e)&&!i.values.length||de.has(t)&&!s.values.length?Fn(e,t):ie(xt(Kn(s,i),i.values),n):J(e,t)};function At(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?X(e,t,n):Ce(e)(e,t)}const Gn=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>H.update(t,n),stop:()=>qt(t),now:()=>ke.isProcessing?ke.timestamp:L.now()}},Q=2e4;function Me(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<Q;)t+=n,s=e.next(t);return t>=Q?1/0:t}function Nn(e,t=100,n){const s=n({...e,keyframes:[0,t]}),i=Math.min(Me(s),Q);return{type:"keyframes",ease:r=>s.next(i*r).value/t,duration:K(i)}}const V={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function pe(e,t){return e*Math.sqrt(1-t*t)}const Hn=12;function _n(e,t,n){let s=n;for(let i=1;i<Hn;i++)s=s-e(s)/t(s);return s}const ae=.001;function jn({duration:e=V.duration,bounce:t=V.bounce,velocity:n=V.velocity,mass:s=V.mass}){let i,r,o=1-t;o=W(V.minDamping,V.maxDamping,o),e=W(V.minDuration,V.maxDuration,K(e)),o<1?(i=l=>{const c=l*o,f=c*e,h=c-n,v=pe(l,o),m=Math.exp(-f);return ae-h/v*m},r=l=>{const f=l*o*e,h=f*n+n,v=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-f),g=pe(Math.pow(l,2),o);return(-i(l)+ae>0?-1:1)*((h-v)*m)/g}):(i=l=>{const c=Math.exp(-l*e),f=(l-n)*e+1;return-ae+c*f},r=l=>{const c=Math.exp(-l*e),f=(n-l)*(e*e);return c*f});const a=5/e,u=_n(i,r,a);if(e=R(e),isNaN(u))return{stiffness:V.stiffness,damping:V.damping,duration:e};{const l=Math.pow(u,2)*s;return{stiffness:l,damping:o*2*Math.sqrt(s*l),duration:e}}}const Wn=["duration","bounce"],Un=["stiffness","damping","mass"];function Ke(e,t){return t.some(n=>e[n]!==void 0)}function qn(e){let t={velocity:V.velocity,stiffness:V.stiffness,damping:V.damping,mass:V.mass,isResolvedFromDuration:!1,...e};if(!Ke(e,Un)&&Ke(e,Wn))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*W(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:V.mass,stiffness:i,damping:r}}else{const n=jn({...e,velocity:0});t={...t,...n,mass:V.mass},t.isResolvedFromDuration=!0}return t}function ee(e=V.visualDuration,t=V.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:u,damping:l,mass:c,duration:f,velocity:h,isResolvedFromDuration:v}=qn({...n,velocity:-K(n.velocity||0)}),m=h||0,g=l/(2*Math.sqrt(u*c)),d=o-r,p=K(Math.sqrt(u/c)),b=Math.abs(d)<5;s||(s=b?V.restSpeed.granular:V.restSpeed.default),i||(i=b?V.restDelta.granular:V.restDelta.default);let A,w,x,S,M,T;if(g<1)x=pe(p,g),S=(m+g*p*d)/x,A=y=>{const C=Math.exp(-g*p*y);return o-C*(S*Math.sin(x*y)+d*Math.cos(x*y))},M=g*p*S+d*x,T=g*p*d-S*x,w=y=>Math.exp(-g*p*y)*(M*Math.sin(x*y)+T*Math.cos(x*y));else if(g===1){A=C=>o-Math.exp(-p*C)*(d+(m+p*d)*C);const y=m+p*d;w=C=>Math.exp(-p*C)*(p*y*C-m)}else{const y=p*Math.sqrt(g*g-1);A=O=>{const F=Math.exp(-g*p*O),E=Math.min(y*O,300);return o-F*((m+g*p*d)*Math.sinh(E)+y*d*Math.cosh(E))/y};const C=(m+g*p*d)/y,k=g*p*C-d*y,B=g*p*d-C*y;w=O=>{const F=Math.exp(-g*p*O),E=Math.min(y*O,300);return F*(k*Math.sinh(E)+B*Math.cosh(E))}}const D={calculatedDuration:v&&f||null,velocity:y=>R(w(y)),next:y=>{if(!v&&g<1){const k=Math.exp(-g*p*y),B=Math.sin(x*y),O=Math.cos(x*y),F=o-k*(S*B+d*O),E=R(k*(M*B+T*O));return a.done=Math.abs(E)<=s&&Math.abs(o-F)<=i,a.value=a.done?o:F,a}const C=A(y);if(v)a.done=y>=f;else{const k=R(w(y));a.done=Math.abs(k)<=s&&Math.abs(o-C)<=i}return a.value=a.done?o:C,a},toString:()=>{const y=Math.min(Me(D),Q),C=zt(k=>D.next(y*k).value,y,30);return y+"ms "+C},toTransition:()=>{}};return D}ee.applyToOptions=e=>{const t=Nn(e,100,ee);return e.ease=t.ease,e.duration=R(t.duration),e.type="keyframes",e};const zn=5;function wt(e,t,n){const s=Math.max(t-zn,0);return Xt(n-e(s),t-s)}function me({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:u,restDelta:l=.5,restSpeed:c}){const f=e[0],h={done:!1,value:f},v=T=>a!==void 0&&T<a||u!==void 0&&T>u,m=T=>a===void 0?u:u===void 0||Math.abs(a-T)<Math.abs(u-T)?a:u;let g=n*t;const d=f+g,p=o===void 0?d:o(d);p!==d&&(g=p-f);const b=T=>-g*Math.exp(-T/s),A=T=>p+b(T),w=T=>{const D=b(T),y=A(T);h.done=Math.abs(D)<=l,h.value=h.done?p:y};let x,S;const M=T=>{v(h.value)&&(x=T,S=ee({keyframes:[h.value,m(h.value)],velocity:wt(A,T,h.value),damping:i,stiffness:r,restDelta:l,restSpeed:c}))};return M(0),{calculatedDuration:null,next:T=>{let D=!1;return!S&&x===void 0&&(D=!0,w(T),M(T)),x!==void 0&&T>=x?S.next(T-x):(!D&&w(T),h)}}}function Xn(e,t,n){const s=[],i=n||U.mix||At,r=e.length-1;for(let o=0;o<r;o++){let a=i(e[o],e[o+1]);if(t){const u=Array.isArray(t)?t[o]||se:t;a=ie(u,a)}s.push(a)}return s}function Yn(e,t,{clamp:n=!0,ease:s,mixer:i}={}){const r=e.length;if(et(r===t.length),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Xn(t,s,i),u=a.length,l=c=>{if(o&&c<e[0])return t[0];let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const h=ht(e[f],e[f+1],c);return a[f](h)};return n?c=>l(W(e[0],e[r-1],c)):l}function $n(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const i=ht(0,t,s);e.push(X(n,1,i))}}function Zn(e){const t=[0];return $n(t,e.length-1),t}function Jn(e,t){return e.map(n=>n*t)}function Qn(e,t){return e.map(()=>t||bt).splice(0,e.length-1)}function z({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const i=Dn(s)?s.map(Fe):Fe(s),r={done:!1,value:t[0]},o=Jn(n&&n.length===t.length?n:Zn(t),e),a=Yn(o,t,{ease:Array.isArray(i)?i:Qn(t,i)});return{calculatedDuration:e,next:u=>(r.value=a(u),r.done=u>=e,r)}}const es={decay:me,inertia:me,tween:z,keyframes:z,spring:ee};function Vt(e){typeof e.type=="string"&&(e.type=es[e.type])}const ts=e=>e/100;class te extends it{constructor(t){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=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==L.now()&&this.tick(L.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Vt(t);const{type:n=z,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t;let{keyframes:a}=t;const u=n||z;u!==z&&typeof a[0]!="number"&&(this.mixKeyframes=ie(ts,At(a[0],a[1])),a=[0,100]);const l=u({...t,keyframes:a});r==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...a].reverse(),velocity:-o})),l.calculatedDuration===null&&(l.calculatedDuration=Me(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(this.startTime===null)return s.next(0);const{delay:l=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:v,type:m,onUpdate:g,finalKeyframe:d}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-l*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let A=this.currentTime,w=s;if(f){const T=Math.min(this.currentTime,i)/a;let D=Math.floor(T),y=T%1;!y&&T>=1&&(y=1),y===1&&D--,D=Math.min(D,f+1),D%2&&(h==="reverse"?(y=1-y,v&&(y-=v/a)):h==="mirror"&&(w=o)),A=W(0,1,y)*a}let x;b?(this.delayState.value=c[0],x=this.delayState):x=w.next(A),r&&!b&&(x.value=r(x.value));let{done:S}=x;!b&&u!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return M&&m!==me&&(x.value=Ae(c,this.options,d,this.speed)),g&&g(x.value),M&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return K(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+K(t)}get time(){return K(this.currentTime)}set time(t){t=R(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return wt(s=>this.generator.next(s).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(L.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=K(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Gn,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(L.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&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}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}const St={anticipate:vt,backInOut:yt,circInOut:Tt};function ns(e){return e in St}function ss(e){typeof e.ease=="string"&&ns(e.ease)&&(e.ease=St[e.ease])}const ce=10;class is extends Yt{constructor(t){ss(t),Vt(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new te({...o,autoplay:!1}),u=Math.max(ce,L.now()-this.startTime),l=W(0,ce,u-ce),c=a.sample(u).value,{name:f}=this.options;r&&f&&$t(r,f,c),n.setWithVelocity(a.sample(Math.max(0,u-l)).value,c,l),a.stop()}}const Be=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(st.test(e)||e==="0")&&!e.startsWith("url("));function rs(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function os(e,t,n,s){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],o=Be(i,t),a=Be(r,t);return!o||!a?!1:rs(e)||(n==="spring"||Zt(n))&&s}function ge(e){e.duration=0,e.type="keyframes"}const as=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function cs(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&as.test(e[t]))return!0;return!1}const ls=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),us=Qt(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fs(e){const{motionValue:t,name:n,repeatDelay:s,repeatType:i,damping:r,type:o,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return us()&&n&&(Jt.has(n)||ls.has(n)&&cs(a))&&(n!=="transform"||!c)&&!l&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const hs=40;class ds extends it{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:u,motionValue:l,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=L.now();const h={autoplay:t,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:u,motionValue:l,element:c,...f},v=c?.KeyframeResolver||rt;this.keyframeResolver=new v(a,(m,g,d)=>this.onKeyframesResolved(m,g,h,!d),u,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:u,isHandoff:l,onUpdate:c}=s;this.resolvedAt=L.now();let f=!0;os(t,r,o,a)||(f=!1,(U.instantAnimations||!u)&&c?.(Ae(t,s,n)),t[0]=t[t.length-1],ge(s),s.repeat=0);const v={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hs?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:t},m=f&&!l&&fs(v),g=v.motionValue?.owner?.current;let d;if(m)try{d=new is({...v,element:g})}catch{d=new te(v)}else d=new te(v);d.finished.then(()=>{this.notifyFinished()}).catch(se),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),en()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Ct(e,t,n,s=0,i=1){const r=Array.from(e).sort((l,c)=>l.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}function Mt(e,t){if(e?.inherit&&t){const{inherit:n,...s}=e;return{...t,...s}}return e}function Dt(e,t){const n=e?.[t]??e?.default??e;return n!==e?Mt(n,e):n}const ps={type:"spring",stiffness:500,damping:25,restSpeed:10},ms=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gs={type:"keyframes",duration:.8},ys={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},vs=(e,{keyframes:t})=>t.length>2?gs:we.has(e)?e.startsWith("scale")?ms(t[1]):ps:ys,Ts=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function bs(e){for(const t in e)if(!Ts.has(t))return!0;return!1}const xs=(e,t,n,s={},i,r)=>o=>{const a=Dt(s,e)||{},u=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-R(u);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-l,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:r?void 0:i};bs(a)||Object.assign(c,vs(e,c)),c.duration&&(c.duration=R(c.duration)),c.repeatDelay&&(c.repeatDelay=R(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(ge(c),c.delay===0&&(f=!0)),(U.instantAnimations||U.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,ge(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!r&&t.get()!==void 0){const h=Ae(c.keyframes,a);if(h!==void 0){H.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new te(c):new ds(c)},As=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ws(e){const t=As.exec(e);if(!t)return[,];const[,n,s,i]=t;return[`--${n??s}`,i]}function Pt(e,t,n=1){const[s,i]=ws(e);if(!s)return;const r=window.getComputedStyle(t).getPropertyValue(s);if(r){const o=r.trim();return tn(o)?parseFloat(o):o}return xe(i)?Pt(i,t,n+1):i}function _(e,t,n){const s=e.getProps();return nn(s,t,n!==void 0?n:s.custom,e)}const kt=new Set(["width","height","top","left","right","bottom",...sn]),ye=e=>Array.isArray(e);function Vs(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,rn(n))}function Ss(e){return ye(e)?e[e.length-1]||0:e}function Cs(e,t){const n=_(e,t);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Ss(r[o]);Vs(e,o,a)}}function Ms(e){return!!(ot(e)&&e.add)}function Ds(e,t){const n=e.getValue("willChange");if(Ms(n))return n.add(t);if(!n&&U.WillChange){const s=new U.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function Ps(e){return e.props[on]}function ks({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function It(e,t,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r,transitionEnd:o,...a}=t;const u=e.getDefaultTransition();r=r?Mt(r,u):u;const l=r?.reduceMotion,c=r?.skipAnimations;s&&(r=s);const f=[],h=i&&e.animationState&&e.animationState.getState()[i],v=r?.path;v&&v.animateVisualElement(e,a,r,n,f);for(const m in a){const g=e.getValue(m,e.latestValues[m]??null),d=a[m];if(d===void 0||h&&ks(h,m))continue;const p={delay:n,...Dt(r||{},m)};c&&(p.skipAnimations=!0);const b=g.get();if(b!==void 0&&!g.isAnimating()&&!Array.isArray(d)&&d===b&&!p.velocity){H.update(()=>g.set(d));continue}let A=!1;if(window.MotionHandoffAnimation){const S=Ps(e);if(S){const M=window.MotionHandoffAnimation(S,m,H);M!==null&&(p.startTime=M,A=!0)}}Ds(e,m);const w=l??e.shouldReduceMotion;g.start(xs(m,g,d,w&&kt.has(m)?{type:!1}:p,e,A));const x=g.animation;x&&f.push(x)}if(o){const m=()=>H.update(()=>{o&&Cs(e,o)});f.length?Promise.all(f).then(m):m()}return f}function ve(e,t,n={}){const s=_(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(It(e,s,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:l=0,staggerChildren:c,staggerDirection:f}=i;return Is(e,t,u,l,c,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,l]=a==="beforeChildren"?[r,o]:[o,r];return u().then(()=>l())}else return Promise.all([r(),o(n.delay)])}function Is(e,t,n=0,s=0,i=0,r=1,o){const a=[];for(const u of e.variantChildren)u.notify("AnimationStart",t),a.push(ve(u,t,{...o,delay:n+(typeof s=="function"?0:s)+Ct(e.variantChildren,u,s,i,r)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(a)}function Os(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const i=t.map(r=>ve(e,r,n));s=Promise.all(i)}else if(typeof t=="string")s=ve(e,t,n);else{const i=typeof t=="function"?_(e,t,n.custom):t;s=Promise.all(It(e,i,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}function Es(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||an(e):!0}const Fs=new Set(["auto","none","0"]);function Rs(e,t,n){let s=0,i;for(;s<e.length&&!i;){const r=e[s];typeof r=="string"&&!Fs.has(r)&&he(r).values.length&&(i=e[s]),s++}if(i&&n)for(const r of t)e[r]=cn(n,i)}class Ls extends rt{constructor(t,n,s,i,r){super(t,n,s,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),xe(f))){const h=Pt(f,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!kt.has(s)||t.length!==2)return;const[i,r]=t,o=Ie(i),a=Ie(r),u=Oe(i),l=Oe(r);if(u!==l&&$[s]){this.needsMeasurement=!0;return}if(o!==a)if(Ee(o)&&Ee(a))for(let c=0;c<t.length;c++){const f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else $[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let i=0;i<t.length;i++)(t[i]===null||Es(t[i]))&&s.push(i);s.length&&Rs(t,s,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(s,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=s.length-1,o=s[r];s[r]=$[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,u])=>{t.getValue(a).set(u)}),this.resolveNoneKeyframes()}}function Ks(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let s=document;const i=n?.[e]??s.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(s=>s!=null)}function Bs(e){return xn(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const Ge={x:!1,y:!1};function Ot(){return Ge.x||Ge.y}function Et(e,t){const n=Ks(e),s=new AbortController,i={passive:!0,...t,signal:s.signal};return[n,i,()=>s.abort()]}function Gs(e){return!(e.pointerType==="touch"||Ot())}function Ns(e,t,n={}){const[s,i,r]=Et(e,n);return s.forEach(o=>{let a=!1,u=!1,l;const c=()=>{o.removeEventListener("pointerleave",m)},f=d=>{l&&(l(d),l=void 0),c()},h=d=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),u&&(u=!1,f(d))},v=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},m=d=>{if(d.pointerType!=="touch"){if(a){u=!0;return}f(d)}},g=d=>{if(!Gs(d))return;u=!1;const p=t(o,d);typeof p=="function"&&(l=p,o.addEventListener("pointerleave",m,i))};o.addEventListener("pointerenter",g,i),o.addEventListener("pointerdown",v,i)}),r}const Ft=(e,t)=>t?e===t?!0:Ft(e,t.parentElement):!1,Rt=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Hs=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _s(e){return Hs.has(e.tagName)||e.isContentEditable===!0}const js=new Set(["INPUT","SELECT","TEXTAREA"]);function Si(e){return js.has(e.tagName)||e.isContentEditable===!0}const Z=new WeakSet;function Ne(e){return t=>{t.key==="Enter"&&e(t)}}function le(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Ws=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Ne(()=>{if(Z.has(n))return;le(n,"down");const i=Ne(()=>{le(n,"up")}),r=()=>le(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function He(e){return Rt(e)&&!Ot()}const _e=new WeakSet;function Us(e,t,n={}){const[s,i,r]=Et(e,n),o=a=>{const u=a.currentTarget;if(!He(a)||_e.has(a))return;Z.add(u),n.stopPropagation&&_e.add(a);const l=t(u,a),c=(v,m)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Z.has(u)&&Z.delete(u),He(v)&&typeof l=="function"&&l(v,{success:m})},f=v=>{c(v,u===window||u===document||n.useGlobalTarget||Ft(u,v.target))},h=v=>{c(v,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Bs(a)&&(a.addEventListener("focus",l=>Ws(l,i)),!_s(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}class Lt extends ln{constructor(){super(...arguments),this.KeyframeResolver=Ls}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const s=t.style;return s?s[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ot(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class q{constructor(t){this.isMounted=!1,this.node=t}update(){}}function qs({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function Ci({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zs(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ue(e){return e===void 0||e===1}function Xs({scale:e,scaleX:t,scaleY:n}){return!ue(e)||!ue(t)||!ue(n)}function Ys(e){return Xs(e)||$s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $s(e){return je(e.x)||je(e.y)}function je(e){return e&&e!=="0%"}function We(e,t,n){const s=e-n,i=t*s;return n+i}function Ue(e,t,n,s,i){return i!==void 0&&(e=We(e,i,s)),We(e,n,s)+t}function Te(e,t=0,n=1,s,i){e.min=Ue(e.min,t,n,s,i),e.max=Ue(e.max,t,n,s,i)}function Zs(e,{x:t,y:n}){Te(e.x,t.translate,t.scale,t.originPoint),Te(e.y,n.translate,n.scale,n.originPoint)}const qe=.999999999999,ze=1.0000000000001;function Mi(e,t,n,s=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,o;for(let a=0;a<i;a++){r=n[a],o=r.projectionDelta;const{visualElement:u}=r.options;u&&u.props.style&&u.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(ne(e.x,-r.scroll.offset.x),ne(e.y,-r.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Zs(e,o)),s&&Ys(r.latestValues)&&Js(e,r.latestValues,r.layout?.layoutBox))}t.x<ze&&t.x>qe&&(t.x=1),t.y<ze&&t.y>qe&&(t.y=1)}function ne(e,t){e.min+=t,e.max+=t}function Xe(e,t,n,s,i=.5){const r=X(e.min,e.max,i);Te(e,t,n,r,s)}function Ye(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Js(e,t,n){const s=n??e;Xe(e.x,Ye(t.x,s.x),t.scaleX,t.scale,t.originX),Xe(e.y,Ye(t.y,s.y),t.scaleY,t.scale,t.originY)}function Kt(e,t){return qs(zs(e.getBoundingClientRect(),t))}function Di(e,t,n){const s=Kt(e,n),{scroll:i}=t;return i&&(ne(s.x,i.offset.x),ne(s.y,i.offset.y)),s}function Bt(e,{style:t,vars:n},s,i){const r=e.style;let o;for(o in t)r[o]=t[o];i?.applyProjectionStyles(r,s);for(o in n)r.setProperty(o,n[o])}function Qs(e){return window.getComputedStyle(e)}class ei extends Lt{constructor(){super(...arguments),this.type="html",this.renderInstance=Bt}readValueFromInstance(t,n){if(we.has(n))return this.projection?.isProjecting?un(n):fn(t,n);{const s=Qs(t),i=(hn(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Kt(t,n)}build(t,n,s){dn(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return pn(t,n,s)}}const Gt=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"]);function ti(e,t,n,s){Bt(e,t,void 0,s);for(const i in t.attrs)e.setAttribute(Gt.has(i)?i:at(i),t.attrs[i])}class ni extends Lt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=mn}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(we.has(n)){const s=Tn(n);return s&&s.default||0}return n=Gt.has(n)?n:at(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return gn(t,n,s)}build(t,n,s){yn(t,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,n,s,i){ti(t,n,s,i)}mount(t){this.isSVGTag=vn(t.tagName),super.mount(t)}}const si=lt.length;function Nt(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Nt(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<si;n++){const s=lt[n],i=e.props[s];(ct(i)||i===!1)&&(t[s]=i)}return t}function Ht(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}const ii=[...ft].reverse(),ri=ft.length;function oi(e){return t=>Promise.all(t.map(({animation:n,options:s})=>Os(e,n,s)))}function ai(e){let t=oi(e),n=$e(),s=!0,i=!1;const r=l=>(c,f)=>{const h=_(e,f,l==="exit"?e.presenceContext?.custom:void 0);if(h){const{transition:v,transitionEnd:m,...g}=h;c={...c,...g,...m}}return c};function o(l){t=l(e)}function a(l){const{props:c}=e,f=Nt(e.parent)||{},h=[],v=new Set;let m={},g=1/0;for(let p=0;p<ri;p++){const b=ii[p],A=n[b],w=c[b]!==void 0?c[b]:f[b],x=ct(w),S=b===l?A.isActive:null;S===!1&&(g=p);let M=w===f[b]&&w!==c[b]&&x;if(M&&(s||i)&&e.manuallyAnimateOnMount&&(M=!1),A.protectedKeys={...m},!A.isActive&&S===null||!w&&!A.prevProp||ut(w)||typeof w=="boolean")continue;if(b==="exit"&&A.isActive&&S!==!0){A.prevResolvedValues&&(m={...m,...A.prevResolvedValues});continue}const T=ci(A.prevProp,w);let D=T||b===l&&A.isActive&&!M&&x||p>g&&x,y=!1;const C=Array.isArray(w)?w:[w];let k=C.reduce(r(b),{});S===!1&&(k={});const{prevResolvedValues:B={}}=A,O={...B,...k},F=P=>{D=!0,v.has(P)&&(y=!0,v.delete(P)),A.needsAnimating[P]=!0;const I=e.getValue(P);I&&(I.liveStyle=!1)};for(const P in O){const I=k[P],G=B[P];if(m.hasOwnProperty(P))continue;let j=!1;ye(I)&&ye(G)?j=!Ht(I,G)||T:j=I!==G,j?I!=null?F(P):v.add(P):I!==void 0&&v.has(P)?F(P):A.protectedKeys[P]=!0}A.prevProp=w,A.prevResolvedValues=k,A.isActive&&(m={...m,...k}),(s||i)&&e.blockInitialAnimation&&(D=!1);const E=M&&T;D&&(!E||y)&&h.push(...C.map(P=>{const I={type:b};if(typeof P=="string"&&(s||i)&&!E&&e.manuallyAnimateOnMount&&e.parent){const{parent:G}=e,j=_(G,P);if(G.enteringChildren&&j){const{delayChildren:_t}=j.transition||{};I.delay=Ct(G.enteringChildren,e,_t)}}return{animation:P,options:I}}))}if(v.size){const p={};if(typeof c.initial!="boolean"){const b=_(e,Array.isArray(c.initial)?c.initial[0]:c.initial);b&&b.transition&&(p.transition=b.transition)}v.forEach(b=>{const A=e.getBaseTarget(b),w=e.getValue(b);w&&(w.liveStyle=!0),p[b]=A??null}),h.push({animation:p})}let d=!!h.length;return s&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(d=!1),s=!1,i=!1,d?t(h):Promise.resolve()}function u(l,c){if(n[l].isActive===c)return Promise.resolve();e.variantChildren?.forEach(h=>h.animationState?.setActive(l,c)),n[l].isActive=c;const f=a(l);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:a,setActive:u,setAnimateFunction:o,getState:()=>n,reset:()=>{n=$e(),i=!0}}}function ci(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ht(t,e):!1}function N(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $e(){return{animate:N(!0),whileInView:N(),whileHover:N(),whileTap:N(),whileDrag:N(),whileFocus:N(),exit:N()}}function Ze(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const Pi=(e,t)=>t.isSVG??bn(e)?new ni(t):new ei(t,{allowProjection:e!==jt.Fragment});class li extends q{constructor(t){super(t),t.animationState||(t.animationState=ai(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ut(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ui=0;class fi extends q{constructor(){super(...arguments),this.id=ui++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&s===!1){if(this.isExitComplete){const{initial:r,custom:o}=this.node.getProps();if(typeof r=="string"||typeof r=="object"&&r!==null&&!Array.isArray(r)){const a=_(this.node,r,o);if(a){const{transition:u,transitionEnd:l,...c}=a;for(const f in c)this.node.getValue(f)?.jump(c[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const ki={animation:{Feature:li},exit:{Feature:fi}};function De(e){return{point:{x:e.pageX,y:e.pageY}}}const Ii=e=>t=>Rt(t)&&e(t,De(t));function Je(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&H.postRender(()=>r(t,De(t)))}class hi extends q{mount(){const{current:t}=this.node;t&&(this.unmount=Ns(t,(n,s)=>(Je(this.node,s,"Start"),i=>Je(this.node,i,"End"))))}unmount(){}}class di extends q{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=ie(Ze(this.node.current,"focus",()=>this.onFocus()),Ze(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Qe(e,t,n){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&H.postRender(()=>r(t,De(t)))}class pi extends q{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=Us(t,(i,r)=>(Qe(this.node,r,"Start"),(o,{success:a})=>Qe(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:s?.tap===!1})}unmount(){}}const be=new WeakMap,fe=new WeakMap,mi=e=>{const t=be.get(e.target);t&&t(e)},gi=e=>{e.forEach(mi)};function yi({root:e,...t}){const n=e||document;fe.has(n)||fe.set(n,{});const s=fe.get(n),i=JSON.stringify(t);return s[i]||(s[i]=new IntersectionObserver(gi,{root:e,...t})),s[i]}function vi(e,t,n){const s=yi(t);return be.set(e,n),s.observe(e),()=>{be.delete(e),s.unobserve(e)}}const Ti={some:0,all:1};class bi extends q{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=t,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Ti[i]},a=u=>{const{isIntersecting:l}=u;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),h=l?c:f;h&&h(u)};this.stopObserver=vi(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(xi(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function xi({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Oi={inView:{Feature:bi},tap:{Feature:pi},focus:{Feature:di},hover:{Feature:hi}};export{Ci as A,qs as B,Ds as C,Si as D,q as F,ki as a,xn as b,Pi as c,Sn as d,xs as e,Dt as f,Oi as g,Ys as h,Ge as i,Js as j,Xs as k,Zs as l,$s as m,Mi as n,Ps as o,ht as p,Ze as q,Ks as r,We as s,ne as t,Bs as u,Ii as v,Rt as w,De as x,ie as y,Di as z};
1
+ import{r as jt}from"./index-BFbLvCJn.js";import{n as se,D as Wt,E as et,m as X,F as tt,G as nt,H as Ut,I as xe,J as Pe,K as st,N as he,g as ke,t as L,e as qt,f as H,A as K,h as W,O as zt,z as R,Q as Xt,R as U,W as it,T as Ae,U as Yt,V as $t,X as Zt,Y as Jt,Z as Qt,_ as rt,$ as en,a0 as we,a1 as tn,a2 as nn,a3 as sn,b as rn,i as ot,a4 as on,a5 as an,a6 as cn,a7 as Ie,a8 as Oe,a9 as $,aa as Ee,ab as ln,ac as un,ad as fn,ae as hn,af as dn,ag as pn,ah as at,o as mn,ai as gn,aj as yn,ak as vn,al as Tn,am as ct,an as lt,ao as ut,ap as ft,aq as bn}from"./use-reduced-motion-DkdIQBwh.js";const xn=e=>typeof e=="object"&&e!==null,ie=(...e)=>e.reduce((t,n)=>s=>n(t(s))),ht=(e,t,n)=>{const s=t-e;return s?(n-e)/s:1},dt=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,An=1e-7,wn=12;function Vn(e,t,n,s,i){let r,o,a=0;do o=t+(n-t)/2,r=dt(o,s,i)-e,r>0?n=o:t=o;while(Math.abs(r)>An&&++a<wn);return o}function Y(e,t,n,s){if(e===t&&n===s)return se;const i=r=>Vn(r,0,1,e,n);return r=>r===0||r===1?r:dt(i(r),t,s)}const pt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mt=e=>t=>1-e(1-t),gt=Y(.33,1.53,.69,.99),Ve=mt(gt),yt=pt(Ve),vt=e=>e>=1?1:(e*=2)<1?.5*Ve(e):.5*(2-Math.pow(2,-10*(e-1))),Se=e=>1-Math.sin(Math.acos(e)),Sn=mt(Se),Tt=pt(Se),Cn=Y(.42,0,1,1),Mn=Y(0,0,.58,1),bt=Y(.42,0,.58,1),Dn=e=>Array.isArray(e)&&typeof e[0]!="number",Pn={linear:se,easeIn:Cn,easeInOut:bt,easeOut:Mn,circIn:Se,circInOut:Tt,circOut:Sn,backIn:Ve,backInOut:yt,backOut:gt,anticipate:vt},kn=e=>typeof e=="string",Fe=e=>{if(Wt(e)){et(e.length===4);const[t,n,s,i]=e;return Y(t,n,s,i)}else if(kn(e))return Pn[e];return e};function re(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function In({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let i=0,r=0,o=0;if(!t)i=r=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,u=2*n-a;i=re(u,a,e+1/3),r=re(u,a,e),o=re(u,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function J(e,t){return n=>n>0?t:e}const oe=(e,t,n)=>{const s=e*e,i=n*(t*t-s)+s;return i<0?0:Math.sqrt(i)},On=[Ut,tt,nt],En=e=>On.find(t=>t.test(e));function Re(e){const t=En(e);if(!t)return!1;let n=t.parse(e);return t===nt&&(n=In(n)),n}const Le=(e,t)=>{const n=Re(e),s=Re(t);if(!n||!s)return J(e,t);const i={...n};return r=>(i.red=oe(n.red,s.red,r),i.green=oe(n.green,s.green,r),i.blue=oe(n.blue,s.blue,r),i.alpha=X(n.alpha,s.alpha,r),tt.transform(i))},de=new Set(["none","hidden"]);function Fn(e,t){return de.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Rn(e,t){return n=>X(e,t,n)}function Ce(e){return typeof e=="number"?Rn:typeof e=="string"?xe(e)?J:Pe.test(e)?Le:Bn:Array.isArray(e)?xt:typeof e=="object"?Pe.test(e)?Le:Ln:J}function xt(e,t){const n=[...e],s=n.length,i=e.map((r,o)=>Ce(r)(r,t[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}}function Ln(e,t){const n={...e,...t},s={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(s[i]=Ce(e[i])(e[i],t[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}}function Kn(e,t){const n=[],s={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],o=e.indexes[r][s[r]],a=e.values[o]??0;n[i]=a,s[r]++}return n}const Bn=(e,t)=>{const n=st.createTransformer(t),s=he(e),i=he(t);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?de.has(e)&&!i.values.length||de.has(t)&&!s.values.length?Fn(e,t):ie(xt(Kn(s,i),i.values),n):J(e,t)};function At(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?X(e,t,n):Ce(e)(e,t)}const Gn=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>H.update(t,n),stop:()=>qt(t),now:()=>ke.isProcessing?ke.timestamp:L.now()}},Q=2e4;function Me(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<Q;)t+=n,s=e.next(t);return t>=Q?1/0:t}function Nn(e,t=100,n){const s=n({...e,keyframes:[0,t]}),i=Math.min(Me(s),Q);return{type:"keyframes",ease:r=>s.next(i*r).value/t,duration:K(i)}}const V={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function pe(e,t){return e*Math.sqrt(1-t*t)}const Hn=12;function _n(e,t,n){let s=n;for(let i=1;i<Hn;i++)s=s-e(s)/t(s);return s}const ae=.001;function jn({duration:e=V.duration,bounce:t=V.bounce,velocity:n=V.velocity,mass:s=V.mass}){let i,r,o=1-t;o=W(V.minDamping,V.maxDamping,o),e=W(V.minDuration,V.maxDuration,K(e)),o<1?(i=l=>{const c=l*o,f=c*e,h=c-n,v=pe(l,o),m=Math.exp(-f);return ae-h/v*m},r=l=>{const f=l*o*e,h=f*n+n,v=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-f),g=pe(Math.pow(l,2),o);return(-i(l)+ae>0?-1:1)*((h-v)*m)/g}):(i=l=>{const c=Math.exp(-l*e),f=(l-n)*e+1;return-ae+c*f},r=l=>{const c=Math.exp(-l*e),f=(n-l)*(e*e);return c*f});const a=5/e,u=_n(i,r,a);if(e=R(e),isNaN(u))return{stiffness:V.stiffness,damping:V.damping,duration:e};{const l=Math.pow(u,2)*s;return{stiffness:l,damping:o*2*Math.sqrt(s*l),duration:e}}}const Wn=["duration","bounce"],Un=["stiffness","damping","mass"];function Ke(e,t){return t.some(n=>e[n]!==void 0)}function qn(e){let t={velocity:V.velocity,stiffness:V.stiffness,damping:V.damping,mass:V.mass,isResolvedFromDuration:!1,...e};if(!Ke(e,Un)&&Ke(e,Wn))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*W(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:V.mass,stiffness:i,damping:r}}else{const n=jn({...e,velocity:0});t={...t,...n,mass:V.mass},t.isResolvedFromDuration=!0}return t}function ee(e=V.visualDuration,t=V.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:u,damping:l,mass:c,duration:f,velocity:h,isResolvedFromDuration:v}=qn({...n,velocity:-K(n.velocity||0)}),m=h||0,g=l/(2*Math.sqrt(u*c)),d=o-r,p=K(Math.sqrt(u/c)),b=Math.abs(d)<5;s||(s=b?V.restSpeed.granular:V.restSpeed.default),i||(i=b?V.restDelta.granular:V.restDelta.default);let A,w,x,S,M,T;if(g<1)x=pe(p,g),S=(m+g*p*d)/x,A=y=>{const C=Math.exp(-g*p*y);return o-C*(S*Math.sin(x*y)+d*Math.cos(x*y))},M=g*p*S+d*x,T=g*p*d-S*x,w=y=>Math.exp(-g*p*y)*(M*Math.sin(x*y)+T*Math.cos(x*y));else if(g===1){A=C=>o-Math.exp(-p*C)*(d+(m+p*d)*C);const y=m+p*d;w=C=>Math.exp(-p*C)*(p*y*C-m)}else{const y=p*Math.sqrt(g*g-1);A=O=>{const F=Math.exp(-g*p*O),E=Math.min(y*O,300);return o-F*((m+g*p*d)*Math.sinh(E)+y*d*Math.cosh(E))/y};const C=(m+g*p*d)/y,k=g*p*C-d*y,B=g*p*d-C*y;w=O=>{const F=Math.exp(-g*p*O),E=Math.min(y*O,300);return F*(k*Math.sinh(E)+B*Math.cosh(E))}}const D={calculatedDuration:v&&f||null,velocity:y=>R(w(y)),next:y=>{if(!v&&g<1){const k=Math.exp(-g*p*y),B=Math.sin(x*y),O=Math.cos(x*y),F=o-k*(S*B+d*O),E=R(k*(M*B+T*O));return a.done=Math.abs(E)<=s&&Math.abs(o-F)<=i,a.value=a.done?o:F,a}const C=A(y);if(v)a.done=y>=f;else{const k=R(w(y));a.done=Math.abs(k)<=s&&Math.abs(o-C)<=i}return a.value=a.done?o:C,a},toString:()=>{const y=Math.min(Me(D),Q),C=zt(k=>D.next(y*k).value,y,30);return y+"ms "+C},toTransition:()=>{}};return D}ee.applyToOptions=e=>{const t=Nn(e,100,ee);return e.ease=t.ease,e.duration=R(t.duration),e.type="keyframes",e};const zn=5;function wt(e,t,n){const s=Math.max(t-zn,0);return Xt(n-e(s),t-s)}function me({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:u,restDelta:l=.5,restSpeed:c}){const f=e[0],h={done:!1,value:f},v=T=>a!==void 0&&T<a||u!==void 0&&T>u,m=T=>a===void 0?u:u===void 0||Math.abs(a-T)<Math.abs(u-T)?a:u;let g=n*t;const d=f+g,p=o===void 0?d:o(d);p!==d&&(g=p-f);const b=T=>-g*Math.exp(-T/s),A=T=>p+b(T),w=T=>{const D=b(T),y=A(T);h.done=Math.abs(D)<=l,h.value=h.done?p:y};let x,S;const M=T=>{v(h.value)&&(x=T,S=ee({keyframes:[h.value,m(h.value)],velocity:wt(A,T,h.value),damping:i,stiffness:r,restDelta:l,restSpeed:c}))};return M(0),{calculatedDuration:null,next:T=>{let D=!1;return!S&&x===void 0&&(D=!0,w(T),M(T)),x!==void 0&&T>=x?S.next(T-x):(!D&&w(T),h)}}}function Xn(e,t,n){const s=[],i=n||U.mix||At,r=e.length-1;for(let o=0;o<r;o++){let a=i(e[o],e[o+1]);if(t){const u=Array.isArray(t)?t[o]||se:t;a=ie(u,a)}s.push(a)}return s}function Yn(e,t,{clamp:n=!0,ease:s,mixer:i}={}){const r=e.length;if(et(r===t.length),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Xn(t,s,i),u=a.length,l=c=>{if(o&&c<e[0])return t[0];let f=0;if(u>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const h=ht(e[f],e[f+1],c);return a[f](h)};return n?c=>l(W(e[0],e[r-1],c)):l}function $n(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const i=ht(0,t,s);e.push(X(n,1,i))}}function Zn(e){const t=[0];return $n(t,e.length-1),t}function Jn(e,t){return e.map(n=>n*t)}function Qn(e,t){return e.map(()=>t||bt).splice(0,e.length-1)}function z({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const i=Dn(s)?s.map(Fe):Fe(s),r={done:!1,value:t[0]},o=Jn(n&&n.length===t.length?n:Zn(t),e),a=Yn(o,t,{ease:Array.isArray(i)?i:Qn(t,i)});return{calculatedDuration:e,next:u=>(r.value=a(u),r.done=u>=e,r)}}const es={decay:me,inertia:me,tween:z,keyframes:z,spring:ee};function Vt(e){typeof e.type=="string"&&(e.type=es[e.type])}const ts=e=>e/100;class te extends it{constructor(t){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=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==L.now()&&this.tick(L.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Vt(t);const{type:n=z,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t;let{keyframes:a}=t;const u=n||z;u!==z&&typeof a[0]!="number"&&(this.mixKeyframes=ie(ts,At(a[0],a[1])),a=[0,100]);const l=u({...t,keyframes:a});r==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...a].reverse(),velocity:-o})),l.calculatedDuration===null&&(l.calculatedDuration=Me(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(this.startTime===null)return s.next(0);const{delay:l=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:v,type:m,onUpdate:g,finalKeyframe:d}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const p=this.currentTime-l*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?p<0:p>i;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let A=this.currentTime,w=s;if(f){const T=Math.min(this.currentTime,i)/a;let D=Math.floor(T),y=T%1;!y&&T>=1&&(y=1),y===1&&D--,D=Math.min(D,f+1),D%2&&(h==="reverse"?(y=1-y,v&&(y-=v/a)):h==="mirror"&&(w=o)),A=W(0,1,y)*a}let x;b?(this.delayState.value=c[0],x=this.delayState):x=w.next(A),r&&!b&&(x.value=r(x.value));let{done:S}=x;!b&&u!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return M&&m!==me&&(x.value=Ae(c,this.options,d,this.speed)),g&&g(x.value),M&&this.finish(),x}then(t,n){return this.finished.then(t,n)}get duration(){return K(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+K(t)}get time(){return K(this.currentTime)}set time(t){t=R(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return wt(s=>this.generator.next(s).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(L.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=K(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Gn,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(L.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&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}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}const St={anticipate:vt,backInOut:yt,circInOut:Tt};function ns(e){return e in St}function ss(e){typeof e.ease=="string"&&ns(e.ease)&&(e.ease=St[e.ease])}const ce=10;class is extends Yt{constructor(t){ss(t),Vt(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new te({...o,autoplay:!1}),u=Math.max(ce,L.now()-this.startTime),l=W(0,ce,u-ce),c=a.sample(u).value,{name:f}=this.options;r&&f&&$t(r,f,c),n.setWithVelocity(a.sample(Math.max(0,u-l)).value,c,l),a.stop()}}const Be=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(st.test(e)||e==="0")&&!e.startsWith("url("));function rs(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function os(e,t,n,s){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],o=Be(i,t),a=Be(r,t);return!o||!a?!1:rs(e)||(n==="spring"||Zt(n))&&s}function ge(e){e.duration=0,e.type="keyframes"}const as=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function cs(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&as.test(e[t]))return!0;return!1}const ls=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),us=Qt(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fs(e){const{motionValue:t,name:n,repeatDelay:s,repeatType:i,damping:r,type:o,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return us()&&n&&(Jt.has(n)||ls.has(n)&&cs(a))&&(n!=="transform"||!c)&&!l&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const hs=40;class ds extends it{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:u,motionValue:l,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=L.now();const h={autoplay:t,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:u,motionValue:l,element:c,...f},v=c?.KeyframeResolver||rt;this.keyframeResolver=new v(a,(m,g,d)=>this.onKeyframesResolved(m,g,h,!d),u,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:u,isHandoff:l,onUpdate:c}=s;this.resolvedAt=L.now();let f=!0;os(t,r,o,a)||(f=!1,(U.instantAnimations||!u)&&c?.(Ae(t,s,n)),t[0]=t[t.length-1],ge(s),s.repeat=0);const v={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hs?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:t},m=f&&!l&&fs(v),g=v.motionValue?.owner?.current;let d;if(m)try{d=new is({...v,element:g})}catch{d=new te(v)}else d=new te(v);d.finished.then(()=>{this.notifyFinished()}).catch(se),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),en()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Ct(e,t,n,s=0,i=1){const r=Array.from(e).sort((l,c)=>l.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}function Mt(e,t){if(e?.inherit&&t){const{inherit:n,...s}=e;return{...t,...s}}return e}function Dt(e,t){const n=e?.[t]??e?.default??e;return n!==e?Mt(n,e):n}const ps={type:"spring",stiffness:500,damping:25,restSpeed:10},ms=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gs={type:"keyframes",duration:.8},ys={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},vs=(e,{keyframes:t})=>t.length>2?gs:we.has(e)?e.startsWith("scale")?ms(t[1]):ps:ys,Ts=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function bs(e){for(const t in e)if(!Ts.has(t))return!0;return!1}const xs=(e,t,n,s={},i,r)=>o=>{const a=Dt(s,e)||{},u=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-R(u);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-l,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:r?void 0:i};bs(a)||Object.assign(c,vs(e,c)),c.duration&&(c.duration=R(c.duration)),c.repeatDelay&&(c.repeatDelay=R(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(ge(c),c.delay===0&&(f=!0)),(U.instantAnimations||U.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,ge(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!r&&t.get()!==void 0){const h=Ae(c.keyframes,a);if(h!==void 0){H.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new te(c):new ds(c)},As=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ws(e){const t=As.exec(e);if(!t)return[,];const[,n,s,i]=t;return[`--${n??s}`,i]}function Pt(e,t,n=1){const[s,i]=ws(e);if(!s)return;const r=window.getComputedStyle(t).getPropertyValue(s);if(r){const o=r.trim();return tn(o)?parseFloat(o):o}return xe(i)?Pt(i,t,n+1):i}function _(e,t,n){const s=e.getProps();return nn(s,t,n!==void 0?n:s.custom,e)}const kt=new Set(["width","height","top","left","right","bottom",...sn]),ye=e=>Array.isArray(e);function Vs(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,rn(n))}function Ss(e){return ye(e)?e[e.length-1]||0:e}function Cs(e,t){const n=_(e,t);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Ss(r[o]);Vs(e,o,a)}}function Ms(e){return!!(ot(e)&&e.add)}function Ds(e,t){const n=e.getValue("willChange");if(Ms(n))return n.add(t);if(!n&&U.WillChange){const s=new U.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function Ps(e){return e.props[on]}function ks({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function It(e,t,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r,transitionEnd:o,...a}=t;const u=e.getDefaultTransition();r=r?Mt(r,u):u;const l=r?.reduceMotion,c=r?.skipAnimations;s&&(r=s);const f=[],h=i&&e.animationState&&e.animationState.getState()[i],v=r?.path;v&&v.animateVisualElement(e,a,r,n,f);for(const m in a){const g=e.getValue(m,e.latestValues[m]??null),d=a[m];if(d===void 0||h&&ks(h,m))continue;const p={delay:n,...Dt(r||{},m)};c&&(p.skipAnimations=!0);const b=g.get();if(b!==void 0&&!g.isAnimating()&&!Array.isArray(d)&&d===b&&!p.velocity){H.update(()=>g.set(d));continue}let A=!1;if(window.MotionHandoffAnimation){const S=Ps(e);if(S){const M=window.MotionHandoffAnimation(S,m,H);M!==null&&(p.startTime=M,A=!0)}}Ds(e,m);const w=l??e.shouldReduceMotion;g.start(xs(m,g,d,w&&kt.has(m)?{type:!1}:p,e,A));const x=g.animation;x&&f.push(x)}if(o){const m=()=>H.update(()=>{o&&Cs(e,o)});f.length?Promise.all(f).then(m):m()}return f}function ve(e,t,n={}){const s=_(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(It(e,s,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:l=0,staggerChildren:c,staggerDirection:f}=i;return Is(e,t,u,l,c,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,l]=a==="beforeChildren"?[r,o]:[o,r];return u().then(()=>l())}else return Promise.all([r(),o(n.delay)])}function Is(e,t,n=0,s=0,i=0,r=1,o){const a=[];for(const u of e.variantChildren)u.notify("AnimationStart",t),a.push(ve(u,t,{...o,delay:n+(typeof s=="function"?0:s)+Ct(e.variantChildren,u,s,i,r)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(a)}function Os(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const i=t.map(r=>ve(e,r,n));s=Promise.all(i)}else if(typeof t=="string")s=ve(e,t,n);else{const i=typeof t=="function"?_(e,t,n.custom):t;s=Promise.all(It(e,i,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}function Es(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||an(e):!0}const Fs=new Set(["auto","none","0"]);function Rs(e,t,n){let s=0,i;for(;s<e.length&&!i;){const r=e[s];typeof r=="string"&&!Fs.has(r)&&he(r).values.length&&(i=e[s]),s++}if(i&&n)for(const r of t)e[r]=cn(n,i)}class Ls extends rt{constructor(t,n,s,i,r){super(t,n,s,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),xe(f))){const h=Pt(f,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!kt.has(s)||t.length!==2)return;const[i,r]=t,o=Ie(i),a=Ie(r),u=Oe(i),l=Oe(r);if(u!==l&&$[s]){this.needsMeasurement=!0;return}if(o!==a)if(Ee(o)&&Ee(a))for(let c=0;c<t.length;c++){const f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else $[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let i=0;i<t.length;i++)(t[i]===null||Es(t[i]))&&s.push(i);s.length&&Rs(t,s,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(s,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=s.length-1,o=s[r];s[r]=$[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,u])=>{t.getValue(a).set(u)}),this.resolveNoneKeyframes()}}function Ks(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let s=document;const i=n?.[e]??s.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(s=>s!=null)}function Bs(e){return xn(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const Ge={x:!1,y:!1};function Ot(){return Ge.x||Ge.y}function Et(e,t){const n=Ks(e),s=new AbortController,i={passive:!0,...t,signal:s.signal};return[n,i,()=>s.abort()]}function Gs(e){return!(e.pointerType==="touch"||Ot())}function Ns(e,t,n={}){const[s,i,r]=Et(e,n);return s.forEach(o=>{let a=!1,u=!1,l;const c=()=>{o.removeEventListener("pointerleave",m)},f=d=>{l&&(l(d),l=void 0),c()},h=d=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),u&&(u=!1,f(d))},v=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},m=d=>{if(d.pointerType!=="touch"){if(a){u=!0;return}f(d)}},g=d=>{if(!Gs(d))return;u=!1;const p=t(o,d);typeof p=="function"&&(l=p,o.addEventListener("pointerleave",m,i))};o.addEventListener("pointerenter",g,i),o.addEventListener("pointerdown",v,i)}),r}const Ft=(e,t)=>t?e===t?!0:Ft(e,t.parentElement):!1,Rt=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Hs=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _s(e){return Hs.has(e.tagName)||e.isContentEditable===!0}const js=new Set(["INPUT","SELECT","TEXTAREA"]);function Si(e){return js.has(e.tagName)||e.isContentEditable===!0}const Z=new WeakSet;function Ne(e){return t=>{t.key==="Enter"&&e(t)}}function le(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Ws=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Ne(()=>{if(Z.has(n))return;le(n,"down");const i=Ne(()=>{le(n,"up")}),r=()=>le(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function He(e){return Rt(e)&&!Ot()}const _e=new WeakSet;function Us(e,t,n={}){const[s,i,r]=Et(e,n),o=a=>{const u=a.currentTarget;if(!He(a)||_e.has(a))return;Z.add(u),n.stopPropagation&&_e.add(a);const l=t(u,a),c=(v,m)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Z.has(u)&&Z.delete(u),He(v)&&typeof l=="function"&&l(v,{success:m})},f=v=>{c(v,u===window||u===document||n.useGlobalTarget||Ft(u,v.target))},h=v=>{c(v,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Bs(a)&&(a.addEventListener("focus",l=>Ws(l,i)),!_s(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}class Lt extends ln{constructor(){super(...arguments),this.KeyframeResolver=Ls}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const s=t.style;return s?s[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ot(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class q{constructor(t){this.isMounted=!1,this.node=t}update(){}}function qs({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function Ci({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zs(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ue(e){return e===void 0||e===1}function Xs({scale:e,scaleX:t,scaleY:n}){return!ue(e)||!ue(t)||!ue(n)}function Ys(e){return Xs(e)||$s(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $s(e){return je(e.x)||je(e.y)}function je(e){return e&&e!=="0%"}function We(e,t,n){const s=e-n,i=t*s;return n+i}function Ue(e,t,n,s,i){return i!==void 0&&(e=We(e,i,s)),We(e,n,s)+t}function Te(e,t=0,n=1,s,i){e.min=Ue(e.min,t,n,s,i),e.max=Ue(e.max,t,n,s,i)}function Zs(e,{x:t,y:n}){Te(e.x,t.translate,t.scale,t.originPoint),Te(e.y,n.translate,n.scale,n.originPoint)}const qe=.999999999999,ze=1.0000000000001;function Mi(e,t,n,s=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,o;for(let a=0;a<i;a++){r=n[a],o=r.projectionDelta;const{visualElement:u}=r.options;u&&u.props.style&&u.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(ne(e.x,-r.scroll.offset.x),ne(e.y,-r.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Zs(e,o)),s&&Ys(r.latestValues)&&Js(e,r.latestValues,r.layout?.layoutBox))}t.x<ze&&t.x>qe&&(t.x=1),t.y<ze&&t.y>qe&&(t.y=1)}function ne(e,t){e.min+=t,e.max+=t}function Xe(e,t,n,s,i=.5){const r=X(e.min,e.max,i);Te(e,t,n,r,s)}function Ye(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Js(e,t,n){const s=n??e;Xe(e.x,Ye(t.x,s.x),t.scaleX,t.scale,t.originX),Xe(e.y,Ye(t.y,s.y),t.scaleY,t.scale,t.originY)}function Kt(e,t){return qs(zs(e.getBoundingClientRect(),t))}function Di(e,t,n){const s=Kt(e,n),{scroll:i}=t;return i&&(ne(s.x,i.offset.x),ne(s.y,i.offset.y)),s}function Bt(e,{style:t,vars:n},s,i){const r=e.style;let o;for(o in t)r[o]=t[o];i?.applyProjectionStyles(r,s);for(o in n)r.setProperty(o,n[o])}function Qs(e){return window.getComputedStyle(e)}class ei extends Lt{constructor(){super(...arguments),this.type="html",this.renderInstance=Bt}readValueFromInstance(t,n){if(we.has(n))return this.projection?.isProjecting?un(n):fn(t,n);{const s=Qs(t),i=(hn(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Kt(t,n)}build(t,n,s){dn(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return pn(t,n,s)}}const Gt=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"]);function ti(e,t,n,s){Bt(e,t,void 0,s);for(const i in t.attrs)e.setAttribute(Gt.has(i)?i:at(i),t.attrs[i])}class ni extends Lt{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=mn}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(we.has(n)){const s=Tn(n);return s&&s.default||0}return n=Gt.has(n)?n:at(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return gn(t,n,s)}build(t,n,s){yn(t,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,n,s,i){ti(t,n,s,i)}mount(t){this.isSVGTag=vn(t.tagName),super.mount(t)}}const si=lt.length;function Nt(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Nt(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<si;n++){const s=lt[n],i=e.props[s];(ct(i)||i===!1)&&(t[s]=i)}return t}function Ht(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}const ii=[...ft].reverse(),ri=ft.length;function oi(e){return t=>Promise.all(t.map(({animation:n,options:s})=>Os(e,n,s)))}function ai(e){let t=oi(e),n=$e(),s=!0,i=!1;const r=l=>(c,f)=>{const h=_(e,f,l==="exit"?e.presenceContext?.custom:void 0);if(h){const{transition:v,transitionEnd:m,...g}=h;c={...c,...g,...m}}return c};function o(l){t=l(e)}function a(l){const{props:c}=e,f=Nt(e.parent)||{},h=[],v=new Set;let m={},g=1/0;for(let p=0;p<ri;p++){const b=ii[p],A=n[b],w=c[b]!==void 0?c[b]:f[b],x=ct(w),S=b===l?A.isActive:null;S===!1&&(g=p);let M=w===f[b]&&w!==c[b]&&x;if(M&&(s||i)&&e.manuallyAnimateOnMount&&(M=!1),A.protectedKeys={...m},!A.isActive&&S===null||!w&&!A.prevProp||ut(w)||typeof w=="boolean")continue;if(b==="exit"&&A.isActive&&S!==!0){A.prevResolvedValues&&(m={...m,...A.prevResolvedValues});continue}const T=ci(A.prevProp,w);let D=T||b===l&&A.isActive&&!M&&x||p>g&&x,y=!1;const C=Array.isArray(w)?w:[w];let k=C.reduce(r(b),{});S===!1&&(k={});const{prevResolvedValues:B={}}=A,O={...B,...k},F=P=>{D=!0,v.has(P)&&(y=!0,v.delete(P)),A.needsAnimating[P]=!0;const I=e.getValue(P);I&&(I.liveStyle=!1)};for(const P in O){const I=k[P],G=B[P];if(m.hasOwnProperty(P))continue;let j=!1;ye(I)&&ye(G)?j=!Ht(I,G)||T:j=I!==G,j?I!=null?F(P):v.add(P):I!==void 0&&v.has(P)?F(P):A.protectedKeys[P]=!0}A.prevProp=w,A.prevResolvedValues=k,A.isActive&&(m={...m,...k}),(s||i)&&e.blockInitialAnimation&&(D=!1);const E=M&&T;D&&(!E||y)&&h.push(...C.map(P=>{const I={type:b};if(typeof P=="string"&&(s||i)&&!E&&e.manuallyAnimateOnMount&&e.parent){const{parent:G}=e,j=_(G,P);if(G.enteringChildren&&j){const{delayChildren:_t}=j.transition||{};I.delay=Ct(G.enteringChildren,e,_t)}}return{animation:P,options:I}}))}if(v.size){const p={};if(typeof c.initial!="boolean"){const b=_(e,Array.isArray(c.initial)?c.initial[0]:c.initial);b&&b.transition&&(p.transition=b.transition)}v.forEach(b=>{const A=e.getBaseTarget(b),w=e.getValue(b);w&&(w.liveStyle=!0),p[b]=A??null}),h.push({animation:p})}let d=!!h.length;return s&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(d=!1),s=!1,i=!1,d?t(h):Promise.resolve()}function u(l,c){if(n[l].isActive===c)return Promise.resolve();e.variantChildren?.forEach(h=>h.animationState?.setActive(l,c)),n[l].isActive=c;const f=a(l);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:a,setActive:u,setAnimateFunction:o,getState:()=>n,reset:()=>{n=$e(),i=!0}}}function ci(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ht(t,e):!1}function N(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $e(){return{animate:N(!0),whileInView:N(),whileHover:N(),whileTap:N(),whileDrag:N(),whileFocus:N(),exit:N()}}function Ze(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const Pi=(e,t)=>t.isSVG??bn(e)?new ni(t):new ei(t,{allowProjection:e!==jt.Fragment});class li extends q{constructor(t){super(t),t.animationState||(t.animationState=ai(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ut(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ui=0;class fi extends q{constructor(){super(...arguments),this.id=ui++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&s===!1){if(this.isExitComplete){const{initial:r,custom:o}=this.node.getProps();if(typeof r=="string"||typeof r=="object"&&r!==null&&!Array.isArray(r)){const a=_(this.node,r,o);if(a){const{transition:u,transitionEnd:l,...c}=a;for(const f in c)this.node.getValue(f)?.jump(c[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const ki={animation:{Feature:li},exit:{Feature:fi}};function De(e){return{point:{x:e.pageX,y:e.pageY}}}const Ii=e=>t=>Rt(t)&&e(t,De(t));function Je(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&H.postRender(()=>r(t,De(t)))}class hi extends q{mount(){const{current:t}=this.node;t&&(this.unmount=Ns(t,(n,s)=>(Je(this.node,s,"Start"),i=>Je(this.node,i,"End"))))}unmount(){}}class di extends q{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=ie(Ze(this.node.current,"focus",()=>this.onFocus()),Ze(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Qe(e,t,n){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&H.postRender(()=>r(t,De(t)))}class pi extends q{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=Us(t,(i,r)=>(Qe(this.node,r,"Start"),(o,{success:a})=>Qe(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:s?.tap===!1})}unmount(){}}const be=new WeakMap,fe=new WeakMap,mi=e=>{const t=be.get(e.target);t&&t(e)},gi=e=>{e.forEach(mi)};function yi({root:e,...t}){const n=e||document;fe.has(n)||fe.set(n,{});const s=fe.get(n),i=JSON.stringify(t);return s[i]||(s[i]=new IntersectionObserver(gi,{root:e,...t})),s[i]}function vi(e,t,n){const s=yi(t);return be.set(e,n),s.observe(e),()=>{be.delete(e),s.unobserve(e)}}const Ti={some:0,all:1};class bi extends q{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=t,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Ti[i]},a=u=>{const{isIntersecting:l}=u;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),h=l?c:f;h&&h(u)};this.stopObserver=vi(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(xi(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function xi({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Oi={inView:{Feature:bi},tap:{Feature:pi},focus:{Feature:di},hover:{Feature:hi}};export{Ci as A,qs as B,Ds as C,Si as D,q as F,ki as a,xn as b,Pi as c,Sn as d,xs as e,Dt as f,Oi as g,Ys as h,Ge as i,Js as j,Xs as k,Zs as l,$s as m,Mi as n,Ps as o,ht as p,Ze as q,Ks as r,We as s,ne as t,Bs as u,Ii as v,Rt as w,De as x,ie as y,Di as z};
@@ -1 +1 @@
1
- import{c}from"./createLucideIcon-zZ8Hx7er.js";const e=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],i=c("git-branch",e);export{i as G};
1
+ import{c}from"./createLucideIcon-CKbjXlwv.js";const e=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],i=c("git-branch",e);export{i as G};
@@ -1 +1 @@
1
- import{p as e}from"./nav-destinations-uorRqFxf.js";const n=e();function c(o){const t=o.toLowerCase();return n.find(r=>r.key===t)??null}export{n as G,c as g};
1
+ import{p as e}from"./nav-destinations-B3R5zxFX.js";const n=e();function c(o){const t=o.toLowerCase();return n.find(r=>r.key===t)??null}export{n as G,c as g};
@@ -1 +1 @@
1
- import{r as v,j as s}from"./index-EsrkGBcv.js";import{H as I}from"./HarnessMark-C4naWc16.js";import{n as S}from"./time-Dhsh_2EG.js";import{i as $}from"./agent-lanes-model-DMAdqCmK.js";import{u as x,l as P,a as H,c as z,h as F,b as W,d as b}from"./home-live-action-BkqGLVRY.js";import{C as D}from"./cpu-BOTa_WLr.js";import{G as K}from"./git-branch-B0_fPLO7.js";import{X as q}from"./x-DAehov0E.js";import{F as X}from"./file-code-corner-CsU7jJpu.js";import{A as _}from"./arrow-right-Bp-FpE5V.js";import{T as J}from"./terminal-hQKQygcf.js";import"./lane-ask-display-BTVSakyo.js";import"./context-budget-8qFKqM-j.js";import"./terminal-sessions-3RfJpen8.js";import"./api-DSqpVKC7.js";import"./lane-observe-CteDwdD-.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./createLucideIcon-zZ8Hx7er.js";function Q(e){const i=e?.task?.trim();return!i||/^(working|idle|queued)$/i.test(i)?null:x(i)}function Y(e,i){const n=e?.replace(/\s+/g," ").trim().toLowerCase()??"",t=i?.replace(/\s+/g," ").trim().toLowerCase()??"";return!!(n&&t&&n!==t)}function y(e,i){const n=S(e);if(n===null)return"—";const t=Math.max(0,Math.floor((i-n)/1e3));if(t<60)return`${t}s`;const o=Math.floor(t/60);if(o<60)return`${o}m`;const a=Math.floor(o/60);return a<48?`${a}h`:`${Math.floor(a/24)}d`}function C(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function M(e){const i=C(e);if(!i)return"other";const n=i.replace(/\/+$/u,"").split("/").filter(Boolean);return n[n.length-1]??i}function U(e){if(!C(e))return"other";const n=M(e);return n==="other"?"other":`~/${n}`}function B(e,i=140){const n=(e??"").replace(/\s+/g," ").trim();return n?n.length>i?`${n.slice(0,i-1)}…`:n:""}function G(e){const i=e?.metadata?.usage,n=i?.contextInputTokens,t=i?.contextWindowTokens;return typeof n=="number"&&typeof t=="number"&&t>0?{contextPct:Math.min(100,Math.round(n/t*100)),tokensUsed:n,tokensMax:t}:{contextPct:null,tokensUsed:null,tokensMax:null}}function Z(e,i,n,t,o,a){const c=e.projectRoot??e.cwd??null,u=M(c),m=Q(i),g=x(P({observeData:n,checkpoint:null,fallbackTask:null,observeLive:t,skipLifecycleTokens:!0})),p=x(H(n)),N=!m&&!g&&!p,r=z({harness:e.harness,project:u==="other"?null:u,branch:e.branch,live:t,attachedOnly:N&&!t}),f=m||g||x(i?.summary)||p||r||"Working",j=m&&g&&Y(m,g)?g:null,h=S(n?.metadata?.session?.sessionStart),{contextPct:R,tokensUsed:k,tokensMax:L}=G(n);return{id:e.id,action:x(f)||B(f,160)||"Working",nowLine:j,name:e.name,harness:e.harness?.trim()||null,projectKey:u,projectLabel:U(c),projectRoot:c,branch:e.branch?.trim()||null,lastAge:y(o,a),sessionAge:h!==null?y(h,a):null,live:t||!!(i&&(i.status==="working"||i.agentState==="working"||i.agentState==="in_flight")),contextPct:R,tokensUsed:k,tokensMax:L,touchedFiles:n?.files??[],recentEvents:(n?.events??[]).slice(-6),observeData:n??null,agent:e,observeRoute:b(e,"observe"),profileRoute:b(e,"profile"),terminalRoute:b(e,"terminal"),peekRoute:b(e,"peek"),terminalEnabled:W(e),peekEnabled:F(e)}}function w(e,i,n){const t=e.agent,o=$(e.observe),a=t.projectRoot??t.cwd??null,c=M(a),u=x(P({observeData:e.observe,fallbackTask:null,observeLive:o,skipLifecycleTokens:!0})),m=x(H(e.observe)),g=u||m||z({harness:t.harness,project:c==="other"?null:c,branch:t.branch,live:o,attachedOnly:!u&&!m}),p=S(e.observe?.metadata?.session?.sessionStart),{contextPct:N,tokensUsed:r,tokensMax:f}=G(e.observe);return{id:e.id,action:x(g)||B(g,160)||"Active",nowLine:null,name:t.name,harness:t.harness?.trim()||null,projectKey:c,projectLabel:U(a),projectRoot:a,branch:t.branch?.trim()||null,lastAge:y(i,n),sessionAge:p!==null?y(p,n):null,live:o,contextPct:N,tokensUsed:r,tokensMax:f,touchedFiles:e.observe?.files??[],recentEvents:(e.observe?.events??[]).slice(-6),observeData:e.observe??null,agent:t,observeRoute:b(t,"observe"),profileRoute:b(t,"profile"),terminalRoute:b(t,"terminal"),peekRoute:b(t,"peek"),terminalEnabled:W(t),peekEnabled:F(t)}}function ee(e,i,n){const t=e.actorName??e.agentName??e.agentId??"Observed",o=x(e.title)||x(e.summary)||"Observed activity",a=e.conversationId?{view:"conversation",conversationId:e.conversationId}:e.recordId?{view:"work",workId:e.recordId}:e.agentId?{view:"agents-v2",agentId:e.agentId}:null;return{id:e.id,action:o,nowLine:null,name:t,harness:null,projectKey:"observed",projectLabel:"observed",projectRoot:null,branch:null,lastAge:y(i,n),sessionAge:null,live:!1,contextPct:null,tokensUsed:null,tokensMax:null,touchedFiles:[],recentEvents:[],observeData:null,agent:null,observeRoute:a,profileRoute:e.agentId?{view:"agents-v2",agentId:e.agentId,tab:"profile"}:null,terminalRoute:null,peekRoute:null,terminalEnabled:!1,peekEnabled:!1}}function se(e){const i=new Map;for(const n of e){const t=i.get(n.projectKey)??[];t.push(n),i.set(n.projectKey,t)}return[...i.entries()]}function Le({cards:e,sort:i,nowMs:n,movingAskByAgent:t,observeCache:o,navigate:a}){const[c,u]=v.useState(null),[m,g]=v.useState(null),p=v.useRef(null),N=v.useRef(null),r=v.useMemo(()=>e.map(l=>l.bucket==="working"?Z(l.agent,t.get(l.agent.id),o[l.agent.id]?.data??null,$(o[l.agent.id]?.data),l.lastActivityAt,n):l.bucket==="native"?w(l.lane,l.lastActivityAt,n):ee(l.actor,l.lastActivityAt,n)),[e,t,n,o]),f=v.useMemo(()=>se(r),[r]),j=r.findIndex(l=>l.id===c),h=j>=0?r[j]:null,R=v.useCallback((l,d)=>{c||(p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{const V=Math.max(16,Math.min(d.left+96,window.innerWidth-360-16)),E=d.bottom+8+220>window.innerHeight&&d.top>220;g({id:l,left:V,top:E?null:d.bottom+8,bottom:E?window.innerHeight-(d.top-8):null})},180))},[c]),k=v.useCallback(()=>{p.current!==null&&window.clearTimeout(p.current),p.current=null,g(null)},[]),L=v.useCallback(l=>{k(),u(d=>d===l?null:l)},[k]),O=v.useCallback(l=>{if(r.length!==0)if(l.key==="ArrowDown"){l.preventDefault();const d=j<0?0:Math.min(r.length-1,j+1);u(r[d]?.id??null)}else if(l.key==="ArrowUp"){l.preventDefault();const d=j<0?r.length-1:Math.max(0,j-1);u(r[d]?.id??null)}else l.key==="Escape"?(l.preventDefault(),u(null)):l.key==="Enter"&&h&&h.observeRoute&&(l.preventDefault(),a(h.observeRoute))},[a,h,j,r]);return v.useEffect(()=>{c&&!r.some(l=>l.id===c)&&u(null)},[c,r]),s.jsxs("div",{ref:N,className:`s-moving-signal-stage ${h?"s-moving-signal-stage--split":""}`,onKeyDown:O,tabIndex:0,role:"region","aria-label":"What's moving signal stream and inspector",children:[s.jsx("div",{className:"s-moving-stream-pane",children:i==="grouped"?s.jsx("div",{className:"s-moving-signal-grouped",children:f.map(([l,d])=>s.jsxs("section",{className:"s-moving-signal-group",children:[s.jsxs("header",{className:"s-moving-signal-band",children:[s.jsx("span",{className:"s-moving-signal-band-title",children:d[0]?.projectLabel??l}),s.jsxs("span",{className:"label-xs s-moving-signal-band-count",children:[d.length," ",d.length===1?"Signal":"Signals",d[0]?.branch?` · ${d[0].branch}`:""]})]}),s.jsx("div",{className:"s-moving-signal-list",children:d.map(A=>s.jsx(T,{row:A,grouped:!0,selected:c===A.id,onSelect:L,onHoverStart:R,onHoverEnd:k},A.id))})]},l))}):s.jsx("div",{className:"s-moving-signal-list",children:r.map(l=>s.jsx(T,{row:l,selected:c===l.id,onSelect:L,onHoverStart:R,onHoverEnd:k},l.id))})}),h&&s.jsx("aside",{className:"s-moving-inspector-pane","aria-label":`Live Inspector · ${h.name}`,children:s.jsx(ne,{row:h,onClose:()=>u(null),navigate:a})}),!h&&m&&s.jsx(te,{row:r.find(l=>l.id===m.id)??null,top:m.top,bottom:m.bottom,left:m.left})]})}function T({row:e,grouped:i,selected:n,onSelect:t,onHoverStart:o,onHoverEnd:a}){const c=e.projectKey!=="other"&&e.projectKey!=="observed",u=i||!c?e.name:e.projectKey;return s.jsx("div",{className:"s-moving-signal-item",children:s.jsxs("button",{type:"button",className:`s-moving-signal-row ${n?"is-selected":""}`,"aria-pressed":n,onClick:()=>t(e.id),onMouseEnter:m=>o(e.id,m.currentTarget.getBoundingClientRect()),onMouseLeave:a,onFocus:m=>o(e.id,m.currentTarget.getBoundingClientRect()),onBlur:a,children:[s.jsxs("span",{className:`s-moving-signal-age ${e.live?"is-live":""}`,children:[s.jsx("span",{className:`dot ${e.live?"dot--working dot--pulse dot--glow":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs",children:e.lastAge})]}),s.jsx("span",{className:"s-moving-signal-mark",children:e.harness?s.jsx(I,{harness:e.harness,size:12}):s.jsx(D,{size:12})}),s.jsxs("span",{className:"s-moving-signal-where",children:[s.jsx("span",{className:"s-moving-signal-project",children:u}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--neutral s-moving-signal-branch-chip",children:[s.jsx(K,{size:9,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsx("span",{className:"s-moving-signal-action",title:e.action,children:e.action}),e.contextPct!==null&&s.jsxs("span",{className:"s-moving-signal-ctx-badge",title:`Context window: ${e.contextPct}%`,children:[s.jsx("span",{className:"s-moving-signal-ctx-mini-bar",children:s.jsx("span",{className:"s-moving-signal-ctx-mini-fill",style:{width:`${e.contextPct}%`}})}),s.jsxs("span",{className:"label-xs",children:[e.contextPct,"%"]})]})]})})}function ne({row:e,onClose:i,navigate:n}){return s.jsxs("div",{className:"s-moving-inspector",children:[s.jsxs("header",{className:"s-moving-inspector-head",children:[s.jsxs("div",{className:"s-moving-inspector-head-left",children:[s.jsx("span",{className:`dot dot--sm ${e.live?"dot--working dot--glow dot--pulse":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs s-moving-inspector-live-status",children:e.live?"LIVE ACTIVE":"IDLE / LOGGED"}),s.jsxs("span",{className:"label-xs s-moving-inspector-age",children:[e.lastAge," ago"]})]}),s.jsx("div",{className:"s-moving-inspector-head-right",children:s.jsx("button",{type:"button",className:"s-moving-inspector-close-btn",title:"Close inspector (Esc)","aria-label":"Close inspector",onClick:i,children:s.jsx(q,{size:13,"aria-hidden":"true"})})})]}),s.jsxs("div",{className:"s-moving-inspector-agent-strip",children:[s.jsxs("div",{className:"s-moving-inspector-agent-ident",children:[s.jsx("span",{className:"s-moving-inspector-harness-icon",children:e.harness?s.jsx(I,{harness:e.harness,size:16}):s.jsx(D,{size:16})}),s.jsxs("div",{className:"s-moving-inspector-agent-meta",children:[s.jsx("span",{className:"s-moving-inspector-name",children:e.name}),s.jsx("span",{className:"label-xs s-moving-inspector-harness-tag",children:e.harness||"native agent"})]})]}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--working",children:[s.jsx(K,{size:10,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsxs("div",{className:"s-moving-inspector-body",children:[s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Active Task"}),s.jsx("p",{className:"s-moving-inspector-action-text",children:e.action})]}),e.nowLine&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-section--now",children:[s.jsx("span",{className:"label-xs s-moving-inspector-now-badge",children:"Latest Step"}),s.jsx("p",{className:"s-moving-inspector-now-text",children:e.nowLine})]}),e.contextPct!==null&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-token-sec",children:[s.jsxs("div",{className:"s-moving-inspector-token-header",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Context Window"}),s.jsxs("span",{className:"label-xs s-moving-inspector-token-pct",children:[e.contextPct,"%"]})]}),s.jsx("div",{className:"s-moving-inspector-token-bar",children:s.jsx("div",{className:`s-moving-inspector-token-fill ${e.contextPct>80?"s-moving-inspector-token-fill--warn":""}`,style:{width:`${e.contextPct}%`}})}),e.tokensUsed!==null&&e.tokensMax!==null&&s.jsxs("span",{className:"label-xs s-moving-inspector-token-counts",children:[Math.round(e.tokensUsed/1e3),"k / ",Math.round(e.tokensMax/1e3),"k tokens"]})]}),s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Session Metadata"}),s.jsxs("dl",{className:"s-moving-inspector-meta-grid",children:[e.projectRoot&&s.jsxs("div",{children:[s.jsx("dt",{children:"Root"}),s.jsx("dd",{title:e.projectRoot,children:C(e.projectRoot)})]}),e.sessionAge&&s.jsxs("div",{children:[s.jsx("dt",{children:"Session"}),s.jsxs("dd",{children:[e.sessionAge," uptime"]})]}),s.jsxs("div",{children:[s.jsx("dt",{children:"Status"}),s.jsx("dd",{children:e.live?"streaming":"ready"})]})]})]}),e.touchedFiles.length>0&&s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsxs("span",{className:"label-xs s-moving-inspector-sec-label",children:["Active Files (",e.touchedFiles.length,")"]}),s.jsx("ul",{className:"s-moving-inspector-files-list",children:e.touchedFiles.slice(0,4).map((t,o)=>s.jsxs("li",{className:"s-moving-inspector-file-item",children:[s.jsx(X,{size:11,"aria-hidden":"true"}),s.jsx("span",{className:"s-moving-inspector-file-path",title:t.path,children:t.path.split("/").slice(-2).join("/")})]},o))})]})]}),s.jsxs("footer",{className:"s-moving-inspector-footer",children:[e.observeRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--accent s-moving-inspector-primary-action",onClick:()=>n(e.observeRoute),children:[s.jsx("span",{children:"Observe Live"}),s.jsx(_,{size:11,"aria-hidden":"true"})]}),e.profileRoute&&s.jsx("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.profileRoute),children:s.jsx("span",{children:"Profile"})}),e.terminalEnabled&&e.terminalRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.terminalRoute),children:[s.jsx(J,{size:11,"aria-hidden":"true"}),s.jsx("span",{children:"Terminal"})]})]})]})}function te({row:e,top:i,bottom:n,left:t}){return e?s.jsxs("div",{className:"s-moving-signal-hovercard",style:i===null?{bottom:n??16,left:t}:{top:i,left:t},role:"tooltip","aria-hidden":"true",children:[s.jsxs("div",{className:"s-moving-signal-hover-kicker",children:[e.live&&s.jsx("span",{className:"chip chip--working chip--sm chip--caps",children:"Live"}),s.jsxs("span",{className:"label-xs",children:[e.lastAge," ago"]}),e.harness&&s.jsx(I,{harness:e.harness,size:11}),s.jsx("span",{className:"s-moving-signal-hover-name",children:e.name})]}),s.jsx("p",{className:"s-moving-signal-hover-action",children:e.action}),e.nowLine&&s.jsxs("p",{className:"s-moving-signal-hover-now",children:[s.jsx("span",{className:"label-xs s-moving-signal-hover-now-tag",children:"Now"}),s.jsx("span",{children:e.nowLine})]})]}):null}export{Le as HomeMovingSignalList};
1
+ import{r as v,j as s}from"./index-BFbLvCJn.js";import{H as I}from"./HarnessMark-CP-PWk2W.js";import{n as S}from"./time-Dhsh_2EG.js";import{i as $}from"./agent-lanes-model-DMAdqCmK.js";import{u as x,l as P,a as H,c as z,h as F,b as W,d as b}from"./home-live-action-BkqGLVRY.js";import{C as D}from"./cpu-DVZ_LhPn.js";import{G as K}from"./git-branch-C45vy8qT.js";import{X as q}from"./x-BcfhXYiF.js";import{F as X}from"./file-code-corner-DtMWHBN3.js";import{A as _}from"./arrow-right-A_yyXwoH.js";import{T as J}from"./terminal-DMBAZjPP.js";import"./lane-ask-display-BTVSakyo.js";import"./context-budget-8qFKqM-j.js";import"./terminal-sessions-3RfJpen8.js";import"./api-DSqpVKC7.js";import"./lane-observe-CteDwdD-.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./createLucideIcon-CKbjXlwv.js";function Q(e){const i=e?.task?.trim();return!i||/^(working|idle|queued)$/i.test(i)?null:x(i)}function Y(e,i){const n=e?.replace(/\s+/g," ").trim().toLowerCase()??"",t=i?.replace(/\s+/g," ").trim().toLowerCase()??"";return!!(n&&t&&n!==t)}function y(e,i){const n=S(e);if(n===null)return"—";const t=Math.max(0,Math.floor((i-n)/1e3));if(t<60)return`${t}s`;const o=Math.floor(t/60);if(o<60)return`${o}m`;const a=Math.floor(o/60);return a<48?`${a}h`:`${Math.floor(a/24)}d`}function C(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function M(e){const i=C(e);if(!i)return"other";const n=i.replace(/\/+$/u,"").split("/").filter(Boolean);return n[n.length-1]??i}function U(e){if(!C(e))return"other";const n=M(e);return n==="other"?"other":`~/${n}`}function B(e,i=140){const n=(e??"").replace(/\s+/g," ").trim();return n?n.length>i?`${n.slice(0,i-1)}…`:n:""}function G(e){const i=e?.metadata?.usage,n=i?.contextInputTokens,t=i?.contextWindowTokens;return typeof n=="number"&&typeof t=="number"&&t>0?{contextPct:Math.min(100,Math.round(n/t*100)),tokensUsed:n,tokensMax:t}:{contextPct:null,tokensUsed:null,tokensMax:null}}function Z(e,i,n,t,o,a){const c=e.projectRoot??e.cwd??null,u=M(c),m=Q(i),g=x(P({observeData:n,checkpoint:null,fallbackTask:null,observeLive:t,skipLifecycleTokens:!0})),p=x(H(n)),N=!m&&!g&&!p,r=z({harness:e.harness,project:u==="other"?null:u,branch:e.branch,live:t,attachedOnly:N&&!t}),f=m||g||x(i?.summary)||p||r||"Working",j=m&&g&&Y(m,g)?g:null,h=S(n?.metadata?.session?.sessionStart),{contextPct:R,tokensUsed:k,tokensMax:L}=G(n);return{id:e.id,action:x(f)||B(f,160)||"Working",nowLine:j,name:e.name,harness:e.harness?.trim()||null,projectKey:u,projectLabel:U(c),projectRoot:c,branch:e.branch?.trim()||null,lastAge:y(o,a),sessionAge:h!==null?y(h,a):null,live:t||!!(i&&(i.status==="working"||i.agentState==="working"||i.agentState==="in_flight")),contextPct:R,tokensUsed:k,tokensMax:L,touchedFiles:n?.files??[],recentEvents:(n?.events??[]).slice(-6),observeData:n??null,agent:e,observeRoute:b(e,"observe"),profileRoute:b(e,"profile"),terminalRoute:b(e,"terminal"),peekRoute:b(e,"peek"),terminalEnabled:W(e),peekEnabled:F(e)}}function w(e,i,n){const t=e.agent,o=$(e.observe),a=t.projectRoot??t.cwd??null,c=M(a),u=x(P({observeData:e.observe,fallbackTask:null,observeLive:o,skipLifecycleTokens:!0})),m=x(H(e.observe)),g=u||m||z({harness:t.harness,project:c==="other"?null:c,branch:t.branch,live:o,attachedOnly:!u&&!m}),p=S(e.observe?.metadata?.session?.sessionStart),{contextPct:N,tokensUsed:r,tokensMax:f}=G(e.observe);return{id:e.id,action:x(g)||B(g,160)||"Active",nowLine:null,name:t.name,harness:t.harness?.trim()||null,projectKey:c,projectLabel:U(a),projectRoot:a,branch:t.branch?.trim()||null,lastAge:y(i,n),sessionAge:p!==null?y(p,n):null,live:o,contextPct:N,tokensUsed:r,tokensMax:f,touchedFiles:e.observe?.files??[],recentEvents:(e.observe?.events??[]).slice(-6),observeData:e.observe??null,agent:t,observeRoute:b(t,"observe"),profileRoute:b(t,"profile"),terminalRoute:b(t,"terminal"),peekRoute:b(t,"peek"),terminalEnabled:W(t),peekEnabled:F(t)}}function ee(e,i,n){const t=e.actorName??e.agentName??e.agentId??"Observed",o=x(e.title)||x(e.summary)||"Observed activity",a=e.conversationId?{view:"conversation",conversationId:e.conversationId}:e.recordId?{view:"work",workId:e.recordId}:e.agentId?{view:"agents-v2",agentId:e.agentId}:null;return{id:e.id,action:o,nowLine:null,name:t,harness:null,projectKey:"observed",projectLabel:"observed",projectRoot:null,branch:null,lastAge:y(i,n),sessionAge:null,live:!1,contextPct:null,tokensUsed:null,tokensMax:null,touchedFiles:[],recentEvents:[],observeData:null,agent:null,observeRoute:a,profileRoute:e.agentId?{view:"agents-v2",agentId:e.agentId,tab:"profile"}:null,terminalRoute:null,peekRoute:null,terminalEnabled:!1,peekEnabled:!1}}function se(e){const i=new Map;for(const n of e){const t=i.get(n.projectKey)??[];t.push(n),i.set(n.projectKey,t)}return[...i.entries()]}function Le({cards:e,sort:i,nowMs:n,movingAskByAgent:t,observeCache:o,navigate:a}){const[c,u]=v.useState(null),[m,g]=v.useState(null),p=v.useRef(null),N=v.useRef(null),r=v.useMemo(()=>e.map(l=>l.bucket==="working"?Z(l.agent,t.get(l.agent.id),o[l.agent.id]?.data??null,$(o[l.agent.id]?.data),l.lastActivityAt,n):l.bucket==="native"?w(l.lane,l.lastActivityAt,n):ee(l.actor,l.lastActivityAt,n)),[e,t,n,o]),f=v.useMemo(()=>se(r),[r]),j=r.findIndex(l=>l.id===c),h=j>=0?r[j]:null,R=v.useCallback((l,d)=>{c||(p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{const V=Math.max(16,Math.min(d.left+96,window.innerWidth-360-16)),E=d.bottom+8+220>window.innerHeight&&d.top>220;g({id:l,left:V,top:E?null:d.bottom+8,bottom:E?window.innerHeight-(d.top-8):null})},180))},[c]),k=v.useCallback(()=>{p.current!==null&&window.clearTimeout(p.current),p.current=null,g(null)},[]),L=v.useCallback(l=>{k(),u(d=>d===l?null:l)},[k]),O=v.useCallback(l=>{if(r.length!==0)if(l.key==="ArrowDown"){l.preventDefault();const d=j<0?0:Math.min(r.length-1,j+1);u(r[d]?.id??null)}else if(l.key==="ArrowUp"){l.preventDefault();const d=j<0?r.length-1:Math.max(0,j-1);u(r[d]?.id??null)}else l.key==="Escape"?(l.preventDefault(),u(null)):l.key==="Enter"&&h&&h.observeRoute&&(l.preventDefault(),a(h.observeRoute))},[a,h,j,r]);return v.useEffect(()=>{c&&!r.some(l=>l.id===c)&&u(null)},[c,r]),s.jsxs("div",{ref:N,className:`s-moving-signal-stage ${h?"s-moving-signal-stage--split":""}`,onKeyDown:O,tabIndex:0,role:"region","aria-label":"What's moving signal stream and inspector",children:[s.jsx("div",{className:"s-moving-stream-pane",children:i==="grouped"?s.jsx("div",{className:"s-moving-signal-grouped",children:f.map(([l,d])=>s.jsxs("section",{className:"s-moving-signal-group",children:[s.jsxs("header",{className:"s-moving-signal-band",children:[s.jsx("span",{className:"s-moving-signal-band-title",children:d[0]?.projectLabel??l}),s.jsxs("span",{className:"label-xs s-moving-signal-band-count",children:[d.length," ",d.length===1?"Signal":"Signals",d[0]?.branch?` · ${d[0].branch}`:""]})]}),s.jsx("div",{className:"s-moving-signal-list",children:d.map(A=>s.jsx(T,{row:A,grouped:!0,selected:c===A.id,onSelect:L,onHoverStart:R,onHoverEnd:k},A.id))})]},l))}):s.jsx("div",{className:"s-moving-signal-list",children:r.map(l=>s.jsx(T,{row:l,selected:c===l.id,onSelect:L,onHoverStart:R,onHoverEnd:k},l.id))})}),h&&s.jsx("aside",{className:"s-moving-inspector-pane","aria-label":`Live Inspector · ${h.name}`,children:s.jsx(ne,{row:h,onClose:()=>u(null),navigate:a})}),!h&&m&&s.jsx(te,{row:r.find(l=>l.id===m.id)??null,top:m.top,bottom:m.bottom,left:m.left})]})}function T({row:e,grouped:i,selected:n,onSelect:t,onHoverStart:o,onHoverEnd:a}){const c=e.projectKey!=="other"&&e.projectKey!=="observed",u=i||!c?e.name:e.projectKey;return s.jsx("div",{className:"s-moving-signal-item",children:s.jsxs("button",{type:"button",className:`s-moving-signal-row ${n?"is-selected":""}`,"aria-pressed":n,onClick:()=>t(e.id),onMouseEnter:m=>o(e.id,m.currentTarget.getBoundingClientRect()),onMouseLeave:a,onFocus:m=>o(e.id,m.currentTarget.getBoundingClientRect()),onBlur:a,children:[s.jsxs("span",{className:`s-moving-signal-age ${e.live?"is-live":""}`,children:[s.jsx("span",{className:`dot ${e.live?"dot--working dot--pulse dot--glow":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs",children:e.lastAge})]}),s.jsx("span",{className:"s-moving-signal-mark",children:e.harness?s.jsx(I,{harness:e.harness,size:12}):s.jsx(D,{size:12})}),s.jsxs("span",{className:"s-moving-signal-where",children:[s.jsx("span",{className:"s-moving-signal-project",children:u}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--neutral s-moving-signal-branch-chip",children:[s.jsx(K,{size:9,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsx("span",{className:"s-moving-signal-action",title:e.action,children:e.action}),e.contextPct!==null&&s.jsxs("span",{className:"s-moving-signal-ctx-badge",title:`Context window: ${e.contextPct}%`,children:[s.jsx("span",{className:"s-moving-signal-ctx-mini-bar",children:s.jsx("span",{className:"s-moving-signal-ctx-mini-fill",style:{width:`${e.contextPct}%`}})}),s.jsxs("span",{className:"label-xs",children:[e.contextPct,"%"]})]})]})})}function ne({row:e,onClose:i,navigate:n}){return s.jsxs("div",{className:"s-moving-inspector",children:[s.jsxs("header",{className:"s-moving-inspector-head",children:[s.jsxs("div",{className:"s-moving-inspector-head-left",children:[s.jsx("span",{className:`dot dot--sm ${e.live?"dot--working dot--glow dot--pulse":"dot--neutral"}`,"aria-hidden":"true"}),s.jsx("span",{className:"label-xs s-moving-inspector-live-status",children:e.live?"LIVE ACTIVE":"IDLE / LOGGED"}),s.jsxs("span",{className:"label-xs s-moving-inspector-age",children:[e.lastAge," ago"]})]}),s.jsx("div",{className:"s-moving-inspector-head-right",children:s.jsx("button",{type:"button",className:"s-moving-inspector-close-btn",title:"Close inspector (Esc)","aria-label":"Close inspector",onClick:i,children:s.jsx(q,{size:13,"aria-hidden":"true"})})})]}),s.jsxs("div",{className:"s-moving-inspector-agent-strip",children:[s.jsxs("div",{className:"s-moving-inspector-agent-ident",children:[s.jsx("span",{className:"s-moving-inspector-harness-icon",children:e.harness?s.jsx(I,{harness:e.harness,size:16}):s.jsx(D,{size:16})}),s.jsxs("div",{className:"s-moving-inspector-agent-meta",children:[s.jsx("span",{className:"s-moving-inspector-name",children:e.name}),s.jsx("span",{className:"label-xs s-moving-inspector-harness-tag",children:e.harness||"native agent"})]})]}),e.branch&&s.jsxs("span",{className:"chip chip--mono chip--sm chip--working",children:[s.jsx(K,{size:10,"aria-hidden":"true"}),s.jsx("span",{children:e.branch})]})]}),s.jsxs("div",{className:"s-moving-inspector-body",children:[s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Active Task"}),s.jsx("p",{className:"s-moving-inspector-action-text",children:e.action})]}),e.nowLine&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-section--now",children:[s.jsx("span",{className:"label-xs s-moving-inspector-now-badge",children:"Latest Step"}),s.jsx("p",{className:"s-moving-inspector-now-text",children:e.nowLine})]}),e.contextPct!==null&&s.jsxs("div",{className:"s-moving-inspector-section s-moving-inspector-token-sec",children:[s.jsxs("div",{className:"s-moving-inspector-token-header",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Context Window"}),s.jsxs("span",{className:"label-xs s-moving-inspector-token-pct",children:[e.contextPct,"%"]})]}),s.jsx("div",{className:"s-moving-inspector-token-bar",children:s.jsx("div",{className:`s-moving-inspector-token-fill ${e.contextPct>80?"s-moving-inspector-token-fill--warn":""}`,style:{width:`${e.contextPct}%`}})}),e.tokensUsed!==null&&e.tokensMax!==null&&s.jsxs("span",{className:"label-xs s-moving-inspector-token-counts",children:[Math.round(e.tokensUsed/1e3),"k / ",Math.round(e.tokensMax/1e3),"k tokens"]})]}),s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsx("span",{className:"label-xs s-moving-inspector-sec-label",children:"Session Metadata"}),s.jsxs("dl",{className:"s-moving-inspector-meta-grid",children:[e.projectRoot&&s.jsxs("div",{children:[s.jsx("dt",{children:"Root"}),s.jsx("dd",{title:e.projectRoot,children:C(e.projectRoot)})]}),e.sessionAge&&s.jsxs("div",{children:[s.jsx("dt",{children:"Session"}),s.jsxs("dd",{children:[e.sessionAge," uptime"]})]}),s.jsxs("div",{children:[s.jsx("dt",{children:"Status"}),s.jsx("dd",{children:e.live?"streaming":"ready"})]})]})]}),e.touchedFiles.length>0&&s.jsxs("div",{className:"s-moving-inspector-section",children:[s.jsxs("span",{className:"label-xs s-moving-inspector-sec-label",children:["Active Files (",e.touchedFiles.length,")"]}),s.jsx("ul",{className:"s-moving-inspector-files-list",children:e.touchedFiles.slice(0,4).map((t,o)=>s.jsxs("li",{className:"s-moving-inspector-file-item",children:[s.jsx(X,{size:11,"aria-hidden":"true"}),s.jsx("span",{className:"s-moving-inspector-file-path",title:t.path,children:t.path.split("/").slice(-2).join("/")})]},o))})]})]}),s.jsxs("footer",{className:"s-moving-inspector-footer",children:[e.observeRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--accent s-moving-inspector-primary-action",onClick:()=>n(e.observeRoute),children:[s.jsx("span",{children:"Observe Live"}),s.jsx(_,{size:11,"aria-hidden":"true"})]}),e.profileRoute&&s.jsx("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.profileRoute),children:s.jsx("span",{children:"Profile"})}),e.terminalEnabled&&e.terminalRoute&&s.jsxs("button",{type:"button",className:"btn btn--sm btn--ghost",onClick:()=>n(e.terminalRoute),children:[s.jsx(J,{size:11,"aria-hidden":"true"}),s.jsx("span",{children:"Terminal"})]})]})]})}function te({row:e,top:i,bottom:n,left:t}){return e?s.jsxs("div",{className:"s-moving-signal-hovercard",style:i===null?{bottom:n??16,left:t}:{top:i,left:t},role:"tooltip","aria-hidden":"true",children:[s.jsxs("div",{className:"s-moving-signal-hover-kicker",children:[e.live&&s.jsx("span",{className:"chip chip--working chip--sm chip--caps",children:"Live"}),s.jsxs("span",{className:"label-xs",children:[e.lastAge," ago"]}),e.harness&&s.jsx(I,{harness:e.harness,size:11}),s.jsx("span",{className:"s-moving-signal-hover-name",children:e.name})]}),s.jsx("p",{className:"s-moving-signal-hover-action",children:e.action}),e.nowLine&&s.jsxs("p",{className:"s-moving-signal-hover-now",children:[s.jsx("span",{className:"label-xs s-moving-signal-hover-now-tag",children:"Now"}),s.jsx("span",{children:e.nowLine})]})]}):null}export{Le as HomeMovingSignalList};
@@ -0,0 +1 @@
1
+ import{r as _,j as t}from"./index-BFbLvCJn.js";import{A as ee}from"./AgentAvatar-Dn8TUv5W.js";import{H as te}from"./HarnessMark-CP-PWk2W.js";import{a as se}from"./agent-state-DDhnFEEP.js";import{f as ne}from"./runtime-picker-IRcTkMZ5.js";import{n as x}from"./time-Dhsh_2EG.js";import{l as re,h as ie,b as oe,d as G}from"./home-live-action-BkqGLVRY.js";import{a as ae}from"./agent-lane-card-model-CeqQGp-8.js";import{HomeNowNanoStat as A,HomeNowFilesPanel as le}from"./home-now-card-nano-wbxgyY4q.js";import"./Provider-BEXAZWd9.js";import"./theme-vars-DNK0nn3k.js";import"./router-CJIx83Ia.js";import"./api-DSqpVKC7.js";import"./synthetic-agent-routing-aduMYO7P.js";import"./terminal-sessions-3RfJpen8.js";import"./machine-scope-DJt9RZ2w.js";import"./sse-BVxO0zNp.js";import"./index-BWHgHrtv.js";import"./surface-activity-B1rgWB1i.js";import"./scoutbot-Bk3nyrkj.js";import"./NewChatComposer-D-VB5vdt.js";import"./createLucideIcon-CKbjXlwv.js";import"./media-blobs-Bi8pxr1u.js";import"./index-CXzJ_hGx.js";import"./conversation-model-FxDeWlle.js";import"./conversations-DoAAO6kA.js";import"./colors-CFlbwC25.js";import"./NewChatOrigin-BYsEu9dZ.js";import"./keyboard-nav-CEe-ApvZ.js";import"./x-BcfhXYiF.js";import"./chevron-down-DEDSNJNY.js";import"./search-Bv2IONmc.js";import"./loader-circle-CCG7hG7z.js";import"./file-text-BOJQiS8p.js";import"./model-CBkMvT1w.js";import"./DocumentFocusViewer-mxzPxQQW.js";import"./TextDocumentSurface-DBslUq9k.js";import"./index-V8FYEUpD.js";import"./chevron-right-B02kAw12.js";import"./folder-C2emmTHq.js";import"./chevron-up-CzveykKG.js";import"./code-xml-E9gBuiVs.js";import"./arrow-left-DNjQHf4C.js";import"./arrow-right-A_yyXwoH.js";import"./scout-voice-Cdh6pCsb.js";import"./fx-z37u1o2z.js";import"./voice-turn-ledger-BMZxlSjg.js";import"./chunk-HRAB3GC3-DVhUsgOw.js";import"./SpriteAvatar-D53GaaK3.js";import"./CrewAvatar-a_C_F9r_.js";import"./voice-levels-Dcr3jglk.js";import"./context-budget-8qFKqM-j.js";import"./lane-observe-CteDwdD-.js";import"./tail-display-DHSNmvor.js";import"./lane-edit-display-BjdT9oZl.js";import"./bash-format-BRV5C6Gv.js";import"./agent-lane-preview-Dpa3DuOn.js";import"./lane-ask-display-BTVSakyo.js";import"./agent-lanes-model-DMAdqCmK.js";function ce(e,s,r,n){const i={id:e.id,agent:e,source:e.id.startsWith("native:")?"native":"scout",observe:s??null,lastActiveAt:n};return ae(i,{isLive:r,nowMs:n})}function de(e){return e.stats.tools>0||e.stats.files>0||e.context!==null||e.pops.edits.rows.length>0||e.pops.files.rows.length>0}function ue(e,s=140){const r=(e??"").replace(/\s+/g," ").trim();return r?r.length>s?`${r.slice(0,s-1)}…`:r:""}function me(e,s=118){if(e.length<=s)return e;const r=Math.ceil((s-1)*.58),n=Math.floor((s-1)*.42);return`${e.slice(0,r).trimEnd()}…${e.slice(e.length-n).trimStart()}`}function Q(e){return e?e.startsWith("/Users/")?`~/${e.split("/").slice(3).join("/")}`:(e.startsWith("~/"),e):null}function pe(e){const s=e?.trim();if(!s)return null;const r=s.endsWith(".jsonl")?s.slice(0,-6):s,n=r.split(/[/:]/u).filter(Boolean).pop()??r;return/^[0-9a-f]{8}-[0-9a-f]{4}-/iu.test(n)?`${n.slice(0,8)}…${n.slice(-6)}`:me(n,22)}function he(e){const s=e?.trim();return s?s.replace(/^claude-/iu,"").replace(/^gpt-/iu,"gpt ").replace(/\s*\([^)]*\)\s*/u," ").replace(/\s+/g," ").trim():null}function fe(e){const s=e?.trim();return s?s.replace(/\.local$/iu,"").replace(/-local$/iu,""):null}function W(e,s){const r=x(e);if(r===null)return"—";const n=Math.max(0,Math.floor((s-r)/1e3));if(n<60)return`${n}s`;const i=Math.floor(n/60);if(i<60)return`${i}m`;const d=Math.floor(i/60);return d<48?`${d}h`:`${Math.floor(d/24)}d`}function xe(e,s){const r=e?.summary?.trim();if(!r)return null;const n=r.replace(/\s+/g," ");return!n||n===s||/acknowledged via|queued for local execution|received the message/i.test(n)?null:{line:ue(n,120)}}function we(e,s,r=!1){const n=x(s?.startedAt)??x(s?.acknowledgedAt)??x(s?.updatedAt)??null,i=x(e.updatedAt),d=s?.task?.trim()||e.project||Q(e.cwd)||`Working in ${e.project??"workspace"}`,c=s?.status??"working",u=se(e.state)||r,m=c==="queued"?"queued":u?"working":"idle";return{agentId:e.id,agentName:e.name,harness:s?.harness??e.harness,model:e.model,branch:e.branch??"main",task:{title:d,openedAt:n},execution:{state:m,lastEventAt:i},checkpoint:xe(s,d)}}function je(e){return e.execution.state==="queued"?"queued":e.execution.state==="idle"?"idle":"live"}function ke(e,s){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),s())}function B(e){e.stopPropagation()}function be(e){switch(e){case"spotlight":return 40;case"duo":return 32;case"strip":return 28;case"dense":return 24}}function Ne(e){switch(e){case"spotlight":return 22;case"duo":return 20;case"strip":return 18;case"dense":return 16}}function ve(e,s){return s?e==="spotlight"||e==="duo":!1}function ge(e){switch(e){case"spotlight":return{w:96,h:20};case"duo":return{w:88,h:20};case"strip":return{w:72,h:18};case"dense":return{w:64,h:16}}}function ye(e,s){if(e.length<=s)return e;const r=new Array(s).fill(0);for(let n=0;n<e.length;n+=1){const i=Math.min(s-1,Math.floor(n/e.length*s));r[i]+=e[n]}return r}function z({pulse:e,layout:s}){const{w:r,h:n}=ge(s),i=ye(e.counts,Math.max(5,Math.round(r/8))),d=i.length>0?Math.max(...i):0;if(d<=0||i.length<2)return null;const c=2,u=r/i.length,m=Math.max(1.5,u-c),N=2,v=n-1,l=i.length-1;return t.jsx("span",{className:"s-now-card-pulse",style:{width:r,height:n},title:"activity · last 30m","aria-hidden":"true",children:t.jsx("svg",{viewBox:`0 0 ${r} ${n}`,preserveAspectRatio:"none",children:i.map((o,j)=>{if(o<=0)return null;const g=Math.min(v,Math.max(N,o/d*v)),k=j*u+(u-m)/2;return t.jsx("rect",{x:k.toFixed(2),y:(n-g).toFixed(2),width:m.toFixed(2),height:g.toFixed(2),fill:"var(--accent)",fillOpacity:j===l?"0.95":"0.62"},j)})})})}function St({agent:e,ask:s,context:r,observeData:n,observeLive:i=!1,lastActivityAt:d,layout:c,nowMs:u,navigate:m,enter:N=!1,enterIndex:v=0}){const l=we(e,s,i),o=_.useMemo(()=>ce(e,n,i,u),[e,n,i,u]),j=de(o),g=ve(c,j),k=je(l),H=e.projectRoot??e.cwd??void 0,R=Q(H)??"no workspace",M=l.branch??"no branch",b=o.harness??l.harness??null,y=o.model??he(r?.model??l.model),q=pe(r?.sessionId??e.harnessSessionId),h=o.context??r?.contextPct??null,I=fe(e.homeNodeName??e.nodeQualifier),D=x(n?.metadata?.session?.sessionStart),K=D!==null?W(D,u):null,p=n?.pulse??null,L=!!(p&&p.counts.some(a=>a>0)),U=l.task.openedAt?W(l.task.openedAt,u):"new",P=x(d)??l.execution.lastEventAt,S=W(P,u),E=re({observeData:n,checkpoint:l.checkpoint?.line??null,fallbackTask:l.task.title,observeLive:i,skipLifecycleTokens:!0}),J=ie(e),X=oe(e),w=c==="dense",T=c==="strip",Y=o.pops.edits.rows.length>0?o.pops.edits:o.pops.files,Z=o.pops.edits.rows.length>0?"Files modified":"Files touched",O=[{key:"root",text:R,title:H,mono:!0},{key:"branch",text:M,title:M,mono:!0}];e.role&&O.push({key:"role",text:ne(e.role)??e.role});const f=[{key:"last",label:"last activity",value:S,inlineValue:`last ${S}`,title:P!==null?`Last activity ${S} ago`:"Last activity unknown",tone:P!==null?"work":"dim"},{key:"turn",label:"turn",value:U,tone:l.task.openedAt?"work":"dim"}];h!==null&&f.push({key:"context",label:"context",value:`${h}%`,tone:h>=80?"warn":"work"}),K&&f.push({key:"uptime",label:"uptime",value:K,tone:"work"}),q&&!w&&f.push({key:"session",label:"session",value:q}),I&&!w&&f.push({key:"machine",label:"machine",value:I});const V=G(e,"observe"),$=a=>F=>{B(F),m(G(e,a))};return t.jsxs("article",{className:`s-now-card s-now-card--${k} s-now-card--layout-${c}${N?" s-now-card--enter":""}`,style:N?{"--enter-delay":`${v*45}ms`}:void 0,onClick:()=>m(V),onKeyDown:a=>ke(a,()=>m(V)),role:"button",tabIndex:0,children:[t.jsxs("div",{className:"s-now-card-top",children:[t.jsx(ee,{agent:e,placement:"row",size:be(c),className:"s-now-card-avatar"}),t.jsxs("div",{className:"s-now-card-ident",children:[t.jsx("span",{className:"s-now-card-name",title:l.agentName,children:l.agentName}),!w&&!T?t.jsxs("span",{className:`s-now-card-live s-now-card-live--${k}`,children:[t.jsx("span",{className:"s-now-card-live-dot","aria-hidden":"true"}),k]}):null]}),b||y?t.jsxs("div",{className:"s-now-card-runtime",title:y??b??void 0,children:[b?t.jsx(te,{harness:b,size:Ne(c),className:"s-now-card-hmark"}):null,y?t.jsx("span",{className:"s-now-card-model",children:y}):null]}):null]}),w?t.jsx("div",{className:"s-now-card-idline s-now-card-idline--dense",children:[b,R,M].filter(Boolean).join(" · ")}):t.jsx("div",{className:"s-now-card-idline",children:O.map((a,F)=>t.jsxs("span",{className:"s-now-card-idgroup",children:[F>0?t.jsx("span",{className:"s-now-card-idsep","aria-hidden":"true",children:"·"}):null,t.jsx("span",{className:`s-now-card-idpart${a.mono?" s-now-card-idpart--mono":""}`,title:a.title,children:a.text})]},a.key))}),E?t.jsxs("div",{className:`s-now-card-action${i?" s-now-card-action--live":""}`,children:[t.jsx("span",{className:"s-now-card-action-caret","aria-hidden":"true",children:"›"}),t.jsx("span",{className:"s-now-card-action-text",title:E,children:E}),i?t.jsx("span",{className:"s-now-card-action-cursor","aria-hidden":"true"}):null]}):null,w&&L&&p?t.jsx("div",{className:"s-now-card-pulse-cell",children:t.jsx(z,{pulse:p,layout:c})}):null,g?t.jsxs("div",{className:"s-now-card-detail",onClick:B,children:[t.jsxs("div",{className:"s-now-card-nanos",children:[o.stats.tools>0?t.jsxs(t.Fragment,{children:[t.jsx(A,{value:o.stats.tools,label:"tools",group:o.pops.tools}),o.stats.edits>0?t.jsx(A,{value:o.stats.edits,label:"edits",group:o.pops.edits}):null,o.stats.reads>0?t.jsx(A,{value:o.stats.reads,label:"reads",group:o.pops.reads}):null,o.stats.files>0?t.jsx(A,{value:o.stats.files,label:"files",group:o.pops.files}):null]}):t.jsx("span",{className:"s-now-card-nanos-empty",children:"no tool activity yet"}),L&&p?t.jsx(z,{pulse:p,layout:c}):null,h!==null?t.jsxs("span",{className:"s-now-card-ctx",title:`Context window ${h}% used`,children:[t.jsx("span",{className:"s-now-card-ctx-gauge","aria-hidden":"true",children:t.jsx("span",{className:"s-now-card-ctx-fill",style:{width:`${h}%`}})}),t.jsxs("span",{className:"s-now-card-ctx-val",children:[h,"%"]}),t.jsx("span",{className:"s-now-card-ctx-label",children:"ctx"})]}):null]}),t.jsx(le,{label:Z,group:Y})]}):null,!w&&!T?t.jsx("div",{className:"s-now-card-metrics",style:{gridTemplateColumns:`repeat(${f.length}, minmax(0, 1fr))`},"aria-label":`${l.agentName} signals`,children:f.map(a=>t.jsx($e,{label:a.label,value:a.value,tone:a.tone,title:a.title},a.key))}):t.jsxs("div",{className:"s-now-card-metrics s-now-card-metrics--inline","aria-label":`${l.agentName} signals`,children:[T&&L&&p?t.jsx(z,{pulse:p,layout:c}):null,f.map(a=>t.jsx("span",{className:`s-now-card-metric-inline s-now-card-metric-inline--${a.tone??"dim"}`,title:a.title,children:a.inlineValue??a.value},a.key))]}),t.jsxs("div",{className:"s-now-card-actions",onClick:B,children:[t.jsx(C,{label:"Profile",onClick:$("profile")}),t.jsx(C,{label:"Observe",onClick:$("observe"),primary:!0}),t.jsx(C,{label:"Terminal",onClick:$("terminal"),disabled:!X}),t.jsx(C,{label:"Peek",onClick:$("peek"),disabled:!J})]})]})}function C({label:e,onClick:s,primary:r=!1,disabled:n=!1}){return t.jsx("button",{type:"button",className:`s-now-card-action-btn${r?" s-now-card-action-btn--primary":""}`,onClick:s,disabled:n,"aria-label":e,children:e})}function $e({label:e,value:s,tone:r="dim",title:n}){return t.jsxs("span",{className:`s-metric-tile s-metric-tile--${r}`,title:n,children:[t.jsx("strong",{children:s}),t.jsx("span",{children:e})]})}export{St as NowCard};
@@ -1 +1 @@
1
- import{j as s}from"./index-EsrkGBcv.js";function d({value:l,label:a,group:n}){const c=!!(n&&n.rows.length>0);return s.jsxs("span",{className:`s-now-card-nano${c?" s-now-card-nano--pop":""}`,children:[s.jsx("span",{className:"s-now-card-nano-val",children:l}),s.jsx("span",{className:"s-now-card-nano-label",children:a}),c?s.jsxs("span",{className:"s-now-card-nano-pop",role:"tooltip",children:[s.jsxs("span",{className:"s-now-card-nano-pop-h",children:[s.jsx("span",{className:"s-now-card-nano-pop-title",children:a}),s.jsx("span",{className:"s-now-card-nano-pop-count",children:n.more>0?`top ${n.rows.length} · ${l}`:l})]}),s.jsxs("span",{className:"s-now-card-nano-pop-list",children:[n.rows.map((e,o)=>s.jsxs("span",{className:"s-now-card-nano-pop-row",title:e.full??e.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${e.tone}`,children:e.mark}),s.jsx("span",{className:"s-now-card-nano-pop-text",children:e.text})]},`${o}:${e.full||e.text}`)),n.more>0?s.jsxs("span",{className:"s-now-card-nano-pop-more",children:["+",n.more," more"]}):null]})]}):null]})}function t({label:l,group:a}){return a.rows.length===0?null:s.jsxs("div",{className:"s-now-card-files","aria-label":l,children:[s.jsxs("div",{className:"s-now-card-files-head",children:[s.jsx("span",{className:"s-now-card-files-title",children:l}),s.jsx("span",{className:"s-now-card-files-count",children:a.rows.length+a.more})]}),s.jsxs("div",{className:"s-now-card-files-list",children:[a.rows.map((n,c)=>s.jsxs("span",{className:"s-now-card-files-row",title:n.full??n.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${n.tone}`,children:n.mark}),s.jsx("span",{className:"s-now-card-files-text",children:n.text})]},`${c}:${n.full||n.text}`)),a.more>0?s.jsxs("span",{className:"s-now-card-files-row s-now-card-files-row--more",children:["+",a.more," more"]}):null]})]})}export{t as HomeNowFilesPanel,d as HomeNowNanoStat};
1
+ import{j as s}from"./index-BFbLvCJn.js";function d({value:l,label:a,group:n}){const c=!!(n&&n.rows.length>0);return s.jsxs("span",{className:`s-now-card-nano${c?" s-now-card-nano--pop":""}`,children:[s.jsx("span",{className:"s-now-card-nano-val",children:l}),s.jsx("span",{className:"s-now-card-nano-label",children:a}),c?s.jsxs("span",{className:"s-now-card-nano-pop",role:"tooltip",children:[s.jsxs("span",{className:"s-now-card-nano-pop-h",children:[s.jsx("span",{className:"s-now-card-nano-pop-title",children:a}),s.jsx("span",{className:"s-now-card-nano-pop-count",children:n.more>0?`top ${n.rows.length} · ${l}`:l})]}),s.jsxs("span",{className:"s-now-card-nano-pop-list",children:[n.rows.map((e,o)=>s.jsxs("span",{className:"s-now-card-nano-pop-row",title:e.full??e.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${e.tone}`,children:e.mark}),s.jsx("span",{className:"s-now-card-nano-pop-text",children:e.text})]},`${o}:${e.full||e.text}`)),n.more>0?s.jsxs("span",{className:"s-now-card-nano-pop-more",children:["+",n.more," more"]}):null]})]}):null]})}function t({label:l,group:a}){return a.rows.length===0?null:s.jsxs("div",{className:"s-now-card-files","aria-label":l,children:[s.jsxs("div",{className:"s-now-card-files-head",children:[s.jsx("span",{className:"s-now-card-files-title",children:l}),s.jsx("span",{className:"s-now-card-files-count",children:a.rows.length+a.more})]}),s.jsxs("div",{className:"s-now-card-files-list",children:[a.rows.map((n,c)=>s.jsxs("span",{className:"s-now-card-files-row",title:n.full??n.text,children:[s.jsx("span",{className:`s-now-card-nano-mark s-now-card-nano-mark--${n.tone}`,children:n.mark}),s.jsx("span",{className:"s-now-card-files-text",children:n.text})]},`${c}:${n.full||n.text}`)),a.more>0?s.jsxs("span",{className:"s-now-card-files-row s-now-card-files-row--more",children:["+",a.more," more"]}):null]})]})}export{t as HomeNowFilesPanel,d as HomeNowNanoStat};
@@ -0,0 +1,2 @@
1
+ import{r as a,j as f}from"./index-BFbLvCJn.js";import{b as A,W as y,s as L,c as R,k as N}from"./router-CJIx83Ia.js";import{a as S}from"./api-DSqpVKC7.js";import{o as O,i as T}from"./surface-activity-B1rgWB1i.js";import{h as M}from"./NewChatComposer-D-VB5vdt.js";import{u as v}from"./Provider-BEXAZWd9.js";import{l as _}from"./machine-children-DvCiQxwA.js";import{S as x}from"./server-U_l8A83n.js";import{i as B}from"./keyboard-nav-CEe-ApvZ.js";import{S as j}from"./scoutbot-Bk3nyrkj.js";import{c as I,d as $}from"./nav-destinations-B3R5zxFX.js";import{a as k,s as K}from"./session-recap-lanes-D-eVJnpY.js";import{t as F,b as W,a as H}from"./session-recap-queue-GeicPLsQ.js";import{S as V}from"./settings-bo9X410k.js";function D(e){return e?e.replace(/^https?:\/\//,"").split("/")[0].split(":")[0].split(".")[0]||e:""}function E(e){return D(e?.hostName)||e?.name||"machine"}function b(e,o,n,r){const t=o?.trim();!t||e.has(t)||e.set(t,{id:t,label:n?.trim()||t,group:r})}function P(e,o,n){const r=new Map;e?.localNode?.id&&b(r,e.localNode.id,E(e.localNode),"local");for(const t of Object.values(e?.nodes??{}))b(r,t.id,E(t),t.id===e?.localNode?.id?"local":"mesh");for(const t of o)b(r,t.authorityNodeId,t.authorityNodeName??t.authorityNodeId,"agent"),b(r,t.homeNodeId,t.homeNodeName??t.homeNodeId,"agent");return n&&b(r,n,n,"selected"),Array.from(r.values()).sort((t,l)=>{const i=t.group==="local"?0:t.group==="mesh"?1:t.group==="agent"?2:3,u=l.group==="local"?0:l.group==="mesh"?1:l.group==="agent"?2:3;return i!==u?i-u:t.label.localeCompare(l.label)})}function U({variant:e="bar"}){const{route:o,navigate:n,agents:r}=v(),[t,l]=a.useState(null),[i,u]=a.useState(!1),p=a.useRef(null),s=A(o);a.useEffect(()=>{if(!y(o))return;let d=!1;return S("/api/mesh").then(h=>{d||l(h)}).catch(()=>{d||l(null)}),()=>{d=!0}},[o.view]),a.useEffect(()=>{if(!i)return;const d=w=>{p.current?.contains(w.target)||u(!1)},h=w=>{w.key==="Escape"&&u(!1)};return document.addEventListener("mousedown",d),document.addEventListener("keydown",h),()=>{document.removeEventListener("mousedown",d),document.removeEventListener("keydown",h)}},[i]);const m=a.useMemo(()=>P(t,r,s),[r,t,s]);if(!y(o))return null;const c=s?m.find(d=>d.id===s)?.label??s:"All machines",g=f.jsxs("select",{id:"machine-scope-select",className:"machine-scope-select",value:s??"",onChange:d=>{const h=d.currentTarget.value;n(h?L(o,h):R(o)),u(!1)},title:c,children:[f.jsx("option",{value:"",children:"All machines"}),m.map(d=>f.jsx("option",{value:d.id,children:d.group==="local"?`${d.label} (this machine)`:d.label},d.id))]});return e==="rail"?f.jsxs("div",{className:"machine-scope machine-scope--rail",ref:p,children:[f.jsx("button",{type:"button",className:"machine-scope-rail-trigger","aria-label":`Machine scope: ${c}`,title:`Machine scope: ${c}`,"aria-expanded":i,onClick:()=>u(d=>!d),children:f.jsx(x,{size:16,strokeWidth:1.6,"aria-hidden":!0})}),i?f.jsxs("div",{className:"machine-scope-rail-popover",role:"dialog","aria-label":"Machine scope",children:[f.jsx("label",{className:"machine-scope-label",htmlFor:"machine-scope-select",children:"Scope"}),g]}):null]}):f.jsxs("div",{className:`machine-scope machine-scope--${e}`,children:[f.jsx("label",{className:"machine-scope-label",htmlFor:"machine-scope-select",children:"Scope"}),g]})}const G="C",Se=["C"],Ne=["⌘","⌥","N"],Y="New task";function q(e){return e.key.toLowerCase()==="n"||e.code==="KeyN"}function z(e){return e.key.toLowerCase()==="c"||e.code==="KeyC"}function we(e){return B(e.target??null)?!1:z(e)&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey||q(e)&&!!(e.metaKey||e.ctrlKey)&&!!e.altKey&&!e.shiftKey}const C={inbox:"Home",conversation:"Conversation","agent-info":"Agent","agents-v2":"Agents",messages:"Chat",sessions:"Sessions",terminal:"Terminals",repos:"Repositories","repo-diff":"Diff",harnesses:"Agent Providers",search:"Search",activity:"Activity Log",briefings:"Briefings",mesh:"Network","mesh-ops":"Mesh Ops",broker:"Broker",settings:"Settings",work:"Work",follow:"Follow",code:"Code Browser",ops:"Ops",voice:"Live Voice"};function Ce(e){if(e.view==="settings"&&e.section==="agents")return"Configuration";switch(e.view){case"conversation":case"agent-info":case"repos":case"repo-diff":case"harnesses":case"mesh":case"mesh-ops":case"work":case"code":case"briefings":case"activity":case"follow":case"voice":case"sessions":return C[e.view]??e.view;case"ops":return e.mode==="tail"?"Live Activity":e.mode==="lanes"?"Agent Lanes":e.mode==="world"?"World":e.mode==="atop"?"Runtime Monitor":e.mode==="advisor"?"Host Advisor":e.mode==="mission"||e.mode==="issues"||e.mode===void 0?"Mission Control":C.ops;case"settings":return"Settings";default:return null}}const J=I(),Q={...C};function X(){return J}function Z(e){if(e.view==="settings"&&e.section==="agents")return"agents";switch(e.view){case"agents-v2":case"agent-info":case"repos":case"repo-diff":case"code":return"agents";case"sessions":case"terminal":return"terminals";case"conversation":case"messages":return"chat";case"broker":case"work":case"follow":return"broker";case"search":return"search";case"ops":case"harnesses":case"mesh":case"mesh-ops":return"ops";case"settings":case"voice":return"system";default:return"home"}}function ee(e){if(e.view==="settings"&&e.section==="agents")return"Configuration";switch(e.view){case"conversation":case"agent-info":case"repos":case"harnesses":case"mesh":case"mesh-ops":case"work":return Q[e.view]??e.view;default:return null}}function te({className:e="scout-nav-tabs",brandTag:o,items:n,activeKey:r,breadcrumb:t,navigate:l}){return a.createElement("div",{className:e},o&&a.createElement("span",{className:"scout-nav-scope-tag"},o),n.map(({key:i,label:u,route:p})=>a.createElement("button",{key:i,className:`scout-nav-tab${r===i?" active":""}`,onClick:()=>l(p)},u)),t&&a.createElement("span",{className:"scout-nav-slash"},"/"),t&&a.createElement("span",{className:"scout-nav-crumb"},t))}function se(e){return[{id:"fleet:roll-call",label:"Fleet roll call",action:e.toggleFleetRollCall},{id:"fleet:speak-latest",label:"Speak latest turn",action:e.speakLatestVisibleTurn},{id:"fleet:stop-recaps",label:"Stop spoken summaries",action:e.stopSessionRecaps}]}function ye(){const{navigate:e,agents:o,reload:n,applyScoutbotUiAction:r,openContextCapture:t}=v(),l=N("ops.control",!0),i=N("surface.scoutbot",!0),[u,p]=a.useState(()=>k().length);a.useEffect(()=>K(()=>p(k().length)),[]);const s=a.useCallback(()=>{r({type:"open-scoutbot",mode:"ask"}),window.dispatchEvent(new CustomEvent(j,{detail:{body:"What's the state of things? Give me a terse ops summary, the biggest risk, and the next action you recommend."}}))},[r]);return a.useMemo(()=>{const m=[{id:"session:new",label:Y,action:()=>t(),shortcut:G},...$(e,{opsEnabled:l}),{id:"nav:settings",label:"Open Settings",action:()=>e({view:"settings",section:"appearance"}),shortcut:"Cmd+,"},...u>0?se({toggleFleetRollCall:F,speakLatestVisibleTurn:W,stopSessionRecaps:H}):[],...i?[{id:"scoutbot:open",label:"Open Scout",action:()=>r({type:"open-scoutbot",mode:"ask"})},{id:"scoutbot:state",label:"Message Scout for State",action:()=>s()},{id:"scoutbot:ops-tail",label:"Scout: Open Ops Tail",action:()=>r({type:"navigate",route:{view:"ops",mode:"tail"}})}]:[],{id:"nav:pair",label:"Pair Device",action:()=>e({view:"settings",section:"devices"})},{id:"scout:reload",label:"Reload Agents",action:()=>{n()}}];for(const c of o)m.push({id:`scout:open:${c.id}`,label:`Open ${c.name}`,action:()=>e({view:"agents-v2",agentId:c.id})}),m.push({id:`scout:message:${c.id}`,label:`Message ${c.name}`,action:()=>{M(c).then(g=>{e({view:"conversation",conversationId:g})}).catch(()=>e({view:"agents-v2",agentId:c.id,tab:"message"}))}});return m},[o,r,s,e,t,l,u,i,n])}function ae(){const{onlineCount:e,apiConnection:o}=v(),[n,r]=a.useState(null),[t,l]=a.useState(null),i=a.useRef(0),u=a.useCallback(async()=>{const s=++i.current;try{const m=await S("/api/mesh");if(s!==i.current)return;r(m)}catch{if(s!==i.current)return;r(null)}},[]);a.useEffect(()=>{u();const s=()=>{T()&&u()},m=setInterval(s,15e3),c=O(s);return()=>{clearInterval(m),c()}},[u]),a.useEffect(()=>{let s=!1;return(async()=>{try{const m=await S("/api/build");if(s)return;if(!m.branch&&!m.commit){const c=await S("/api/build?refresh=1");s||l(c);return}l(m)}catch{s||l(null)}})(),()=>{s=!0}},[]);const p=(()=>{if(!t)return{label:"dev",title:"Build information unavailable"};const s=t.mode==="production"?"prod":"dev",m=t.branch??"unknown",c=t.commit?` @ ${t.commit}${t.dirty?"*":""}`:"";return{label:`${s} ${m}${c}`,title:[`Mode: ${t.mode}`,`Version: ${t.version??"unknown"}`,`Branch: ${t.branch??"unknown"}`,`Commit: ${t.commit??"unknown"}`,`Dirty: ${t.dirty===null?"unknown":t.dirty?"yes":"no"}`].join(`
2
+ `)}})();return{status:o.status==="offline"?{label:"Scout: OFFLINE",color:"red"}:o.status==="degraded"?{label:"Scout: DEGRADED",color:"amber"}:n===null?{label:"Broker: …",color:"neutral"}:n.health.reachable?{label:"Broker: UP",color:"emerald"}:{label:"Broker: DOWN",color:"red"},mesh:(()=>{const s=_(n);return o.status==="offline"?{label:s,value:"offline",color:"red"}:n===null?{label:s,value:"checking",color:"neutral"}:n.health.reachable?Object.values(n.nodes).filter(c=>c.id!==n.localNode?.id).length>0?{label:s,value:"connected",color:"neutral"}:n.identity.discoverable?{label:s,value:"discoverable",color:"neutral"}:{label:s,value:"local",color:"amber"}:{label:s,value:"offline",color:"neutral"}})(),build:p}}function ke(){return ae().status}function Ee(){const{route:e,navigate:o}=v();return N("nav.sidebar",!1)?null:te({items:X(),activeKey:Z(e),breadcrumb:ee(e),navigate:o})}function Ae(){const{openSettings:e}=v();return N("nav.sidebar",!1)?null:a.createElement("div",{className:"scout-nav-actions"},a.createElement(U,{variant:"nav"}),a.createElement("button",{onClick:()=>e(),className:"scout-nav-action scout-nav-action--settings",title:"Settings"},a.createElement(V,{size:12,strokeWidth:1.6,"aria-hidden":!0}),a.createElement("span",null,"Settings")))}function Le(){return"panel"}function oe(e){return e.view==="ops"&&e.mode==="lanes"}function Re(){const{onboarding:e,onboardingSkipped:o,skipOnboarding:n,route:r}=v();if(oe(r))return{active:!1,dismissible:!0};if(!e)return null;if(o||e.needed===!1||e.skippedAt||e.completedAt)return{active:!1,dismissible:!0};const t=!e.hasLocalConfig,l=!e.hasProjectConfig,i=!e.hasOperatorName,u=!e.brokerReachable||!e.hasReadyRuntime;return{active:t||i||l||u,dismissible:!0,onDismiss:n}}export{Y as N,Le as a,Ae as b,Ee as c,ke as d,ye as e,Se as f,Ne as g,G as h,Ce as i,ae as j,we as k,te as r,Re as u};