@openscout/scout 0.2.96 → 0.2.98

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 (395) hide show
  1. package/README.md +0 -1
  2. package/bin/scoutd +0 -0
  3. package/dist/build-manifest.json +3 -3
  4. package/dist/client/assets/ActivityScreen-sfonf5SR.js +1 -0
  5. package/dist/client/assets/{AddProjectForm-IqOtJfRs.js → AddProjectForm-fXndbzXT.js} +1 -1
  6. package/dist/client/assets/{AgentAvatar-6-KBVKUu.js → AgentAvatar-Dz79iTxB.js} +1 -1
  7. package/dist/client/assets/AgentConfigurationScreen-DDc3udYM.js +1 -0
  8. package/dist/client/assets/AgentDefinitionsWorkspace-DHDS9Pgd.js +1 -0
  9. package/dist/client/assets/{AgentDetailCard-C9rn3Fj5.js → AgentDetailCard-8viaEY8b.js} +1 -1
  10. package/dist/client/assets/AgentFloorView-DuyvyMMj.js +1 -0
  11. package/dist/client/assets/AgentInfoScreen-qntgg2q2.js +1 -0
  12. package/dist/client/assets/{AgentLaneCard-DI2iW9zO.js → AgentLaneCard-Cc9uyfBr.js} +1 -1
  13. package/dist/client/assets/{AgentLaneChrome-D8bARHMx.js → AgentLaneChrome-Dv2lBFoH.js} +1 -1
  14. package/dist/client/assets/{AgentLaneDetailSheet-52un7dKC.js → AgentLaneDetailSheet-CGqtqSHQ.js} +1 -1
  15. package/dist/client/assets/{AgentLaneSummaryResize-CEBjmPTa.js → AgentLaneSummaryResize-Di4u6df2.js} +1 -1
  16. package/dist/client/assets/AgentLanesEmbedScreen-BA6fRwkD.js +1 -0
  17. package/dist/client/assets/{AgentLanesPreflight-q20mTjms.js → AgentLanesPreflight-CCGBArIb.js} +1 -1
  18. package/dist/client/assets/AgentLanesView-96lHsoX7.js +2 -0
  19. package/dist/client/assets/{AgentLiveActions-DrEJDJef.js → AgentLiveActions-DlSKL60c.js} +1 -1
  20. package/dist/client/assets/AgentMasterScreen-DHrMuQ6_.js +1 -0
  21. package/dist/client/assets/{AgentSessions-DCPCG4xb.js → AgentSessions-DV9v34aq.js} +2 -2
  22. package/dist/client/assets/AgentsConsole-DTpVhS67.js +1 -0
  23. package/dist/client/assets/AgentsScreen-hZ4o2I-e.js +1 -0
  24. package/dist/client/assets/AgentsSubnav-Ci7uWM7P.js +1 -0
  25. package/dist/client/assets/{AstronautSuit-DbjQtfD_.js → AstronautSuit-CwB4Dw07.js} +1 -1
  26. package/dist/client/assets/{AtopView-Daq_ob3z.js → AtopView-D7vyQDtE.js} +1 -1
  27. package/dist/client/assets/{BackToPicker-CXZjBRAe.js → BackToPicker-BHicJyfc.js} +1 -1
  28. package/dist/client/assets/BriefingDetailScreen-B-wD_Bot.js +1 -0
  29. package/dist/client/assets/{BriefingsScreen-B5oMTGKv.js → BriefingsScreen-Cn4Mbam9.js} +1 -1
  30. package/dist/client/assets/{BrokerMetadataPanel-BsiU8lTD.js → BrokerMetadataPanel-BJSwU9XZ.js} +1 -1
  31. package/dist/client/assets/BrokerScreen-C8FQ5rlg.js +5 -0
  32. package/dist/client/assets/{CastPicker-_5E5hNUe.js → CastPicker-CkgTalIt.js} +1 -1
  33. package/dist/client/assets/{ChatCollapsedStrip-D-eXhzPf.js → ChatCollapsedStrip-7Wrg8Ge0.js} +1 -1
  34. package/dist/client/assets/{CodeDiffPane-n7W4iGUG.js → CodeDiffPane-DfluIWmO.js} +1 -1
  35. package/dist/client/assets/{CodeProjectPicker-CMsbSTDq.js → CodeProjectPicker-By_Wz9ex.js} +1 -1
  36. package/dist/client/assets/CodeScreen-cLC0tJ4S.js +1 -0
  37. package/dist/client/assets/ConversationComposer-BUIjWMBi.js +1 -0
  38. package/dist/client/assets/ConversationFeedRows-Bx0gFyG_.js +1 -0
  39. package/dist/client/assets/ConversationHeader-Bt2RBj93.js +1 -0
  40. package/dist/client/assets/{ConversationPanels-Dujvnmup.js → ConversationPanels-o6W-cOoU.js} +2 -2
  41. package/dist/client/assets/ConversationScreen-DIU7m_aC.js +2 -0
  42. package/dist/client/assets/{ConversationStatus-DVzSb2Hv.js → ConversationStatus-CTYOywFh.js} +1 -1
  43. package/dist/client/assets/{CrewAvatar-BwXjyg8N.js → CrewAvatar-CZ_faQ_s.js} +1 -1
  44. package/dist/client/assets/CrewWorkspaces-DNX-QQ1h.js +1 -0
  45. package/dist/client/assets/CrewWorkspaces-Diq11KDq.css +1 -0
  46. package/dist/client/assets/{DataTable-Bp8tU9AK.js → DataTable-C6aMSilS.js} +1 -1
  47. package/dist/client/assets/{DispatchAftermath-B-6rmXzL.js → DispatchAftermath-ZCEB75hh.js} +1 -1
  48. package/dist/client/assets/{DocumentFocusViewer-Do3wQ_3Z.js → DocumentFocusViewer-D8iB6SMt.js} +1 -1
  49. package/dist/client/assets/{EmbeddableSurfacesLab-C1orRyP9.js → EmbeddableSurfacesLab-D3iZiS8o.js} +1 -1
  50. package/dist/client/assets/{EmptyState-CJzXj1l5.js → EmptyState-CKPWFSjq.js} +1 -1
  51. package/dist/client/assets/{FileViewerPane-Df6VzXjA.js → FileViewerPane-CxNbcTYf.js} +1 -1
  52. package/dist/client/assets/FlightObserveScreen-BTe1YRPr.js +1 -0
  53. package/dist/client/assets/{FollowScreen-DvnxYLVh.js → FollowScreen-CkR-okdL.js} +1 -1
  54. package/dist/client/assets/{HarnessMark-B979GCSB.js → HarnessMark-DttReffF.js} +1 -1
  55. package/dist/client/assets/HarnessesScreen-COO_Q8VY.js +1 -0
  56. package/dist/client/assets/{HerdrSession-B3McuYgi.js → HerdrSession-DsuxCtfX.js} +1 -1
  57. package/dist/client/assets/{HomeHero-CdUVPjkG.js → HomeHero-DXJo2QSO.js} +1 -1
  58. package/dist/client/assets/{HostAdvisorView-Bok5Sk5c.js → HostAdvisorView-DeJ-8RZV.js} +1 -1
  59. package/dist/client/assets/{KnowledgeSearchInspector-B7XSoJsu.js → KnowledgeSearchInspector-W_zNIBRV.js} +1 -1
  60. package/dist/client/assets/KnowledgeSearchScreen-_rxJNUUh.js +1 -0
  61. package/dist/client/assets/{LaneToolHoverCard-HByf2ndx.js → LaneToolHoverCard-t7-XJP-h.js} +1 -1
  62. package/dist/client/assets/LaneTraceDetailSheet-DNIECgEl.js +1 -0
  63. package/dist/client/assets/{LaneTraceEventFocus-DM-hoPxG.js → LaneTraceEventFocus-BB5DhFQm.js} +1 -1
  64. package/dist/client/assets/{MeshCanvas-DCLJRsBy.js → MeshCanvas-DZv2ipsy.js} +1 -1
  65. package/dist/client/assets/{MeshCanvasMinimap-cEFS9eW7.js → MeshCanvasMinimap-BXHRNb7l.js} +1 -1
  66. package/dist/client/assets/MeshScreen-DuNvpDC5.js +1 -0
  67. package/dist/client/assets/{MeshTopologyView-CCRPd8PU.js → MeshTopologyView-Dc0GSrKa.js} +2 -2
  68. package/dist/client/assets/MessagesScreen-dNNPFwAc.js +1 -0
  69. package/dist/client/assets/{MissionContextRail-DF0_kiU7.js → MissionContextRail-DnCWPzAM.js} +1 -1
  70. package/dist/client/assets/MissionControlView-DmaThhNR.js +1 -0
  71. package/dist/client/assets/MissionFocusOverlay-K21ssTxv.js +1 -0
  72. package/dist/client/assets/MissionLeftAgentRow-CbQm4BLv.js +1 -0
  73. package/dist/client/assets/{MissionLogPane-BbdDKjUl.js → MissionLogPane-BLvSSIdT.js} +1 -1
  74. package/dist/client/assets/{NewAgentModal-DfHxad34.js → NewAgentModal-B7qxjZlW.js} +1 -1
  75. package/dist/client/assets/NewChatComposer-D2Ah4T-W.js +19 -0
  76. package/dist/client/assets/{NewChatOrigin-B1u7ki70.js → NewChatOrigin-DCn5cWPZ.js} +1 -1
  77. package/dist/client/assets/{ObserveEmbedScreen-Co0xTii6.js → ObserveEmbedScreen-DvKGsaLv.js} +2 -2
  78. package/dist/client/assets/{ObserveTextFlow-ZQWwrK3i.js → ObserveTextFlow-DCJ5EmD8.js} +2 -2
  79. package/dist/client/assets/{ObservedTopologyPanel-BJUhDSuQ.js → ObservedTopologyPanel-CJVqIqQ2.js} +1 -1
  80. package/dist/client/assets/{OpenScoutAppShell-CUd2yOLu.js → OpenScoutAppShell-C9TOLB7u.js} +2 -2
  81. package/dist/client/assets/OpsAgentsView-vIoY-AW1.js +1 -0
  82. package/dist/client/assets/OpsScreen-CJBwshEp.js +1 -0
  83. package/dist/client/assets/OpsSubnav-CjDTnp64.js +1 -0
  84. package/dist/client/assets/ProjectAgentProfile-Br1eTD7G.js +1 -0
  85. package/dist/client/assets/ProjectAgentProfileBar-CUzZ4Rpx.js +1 -0
  86. package/dist/client/assets/ProjectAgentProfileHero-mjxNcRvw.js +1 -0
  87. package/dist/client/assets/ProjectsInbox-Bq29DE_o.js +2 -0
  88. package/dist/client/assets/ProjectsRail-kMDA0yn4.js +1 -0
  89. package/dist/client/assets/ProjectsScreen-BDaJYhc0.js +1 -0
  90. package/dist/client/assets/ProjectsThreadAside-B940p3vW.js +1 -0
  91. package/dist/client/assets/Provider-D0bB7q6y.js +1 -0
  92. package/dist/client/assets/{RailRow-CEH2MFBw.js → RailRow-B88JVr62.js} +1 -1
  93. package/dist/client/assets/RawSessionsTable-CzGhEdiZ.js +1 -0
  94. package/dist/client/assets/RealtimeVoiceScreen-CyP1CWsX.js +1 -0
  95. package/dist/client/assets/{RepoDiffEmbedScreen-kY2pHjIs.js → RepoDiffEmbedScreen-mexrJPhW.js} +1 -1
  96. package/dist/client/assets/{RepoDiffPageScreen-C6LhoKrn.js → RepoDiffPageScreen-DbqX4L3q.js} +1 -1
  97. package/dist/client/assets/{RepoDiffViewer-BhcIIQQg.js → RepoDiffViewer-Bw5yMC4A.js} +1 -1
  98. package/dist/client/assets/{RepoDiffViewerLazy-Csy_j9LD.js → RepoDiffViewerLazy-DzfoFhbl.js} +2 -2
  99. package/dist/client/assets/{ReposScreen-B_cB0zu7.js → ReposScreen-CzbO1Fuy.js} +2 -2
  100. package/dist/client/assets/{ScoutDeckSurface-CSy_fjcG.js → ScoutDeckSurface-DQoZofzH.js} +1 -1
  101. package/dist/client/assets/{ScoutSurface-CQVcSrin.js → ScoutSurface-NlhDsPzg.js} +1 -1
  102. package/dist/client/assets/{ScoutbotFxLab-DqGiLYNy.js → ScoutbotFxLab-l2WAahCg.js} +1 -1
  103. package/dist/client/assets/{SecondaryNav-BR4VRdgh.js → SecondaryNav-Cs0_FQdj.js} +1 -1
  104. package/dist/client/assets/{SessionEmbedScreen-BTlZ9gAg.js → SessionEmbedScreen-CpduQ0O9.js} +1 -1
  105. package/dist/client/assets/{SessionObserve-dQDN23pP.js → SessionObserve-BVeTkcIl.js} +1 -1
  106. package/dist/client/assets/{SessionObserveEvidence-BRBGKAgd.js → SessionObserveEvidence-BkOezTGV.js} +1 -1
  107. package/dist/client/assets/SessionRefScreen-DetLMkTT.js +1 -0
  108. package/dist/client/assets/SessionsScreen-B-McKw6d.js +1 -0
  109. package/dist/client/assets/{SettingsDrawer-RGVK_bmE.js → SettingsDrawer-CPB32w0n.js} +3 -3
  110. package/dist/client/assets/SettingsScreen-BEzYFdjz.js +1 -0
  111. package/dist/client/assets/{ShikiPane-DYI9Hkge.js → ShikiPane-C0TuCATU.js} +1 -1
  112. package/dist/client/assets/{SlidePanel-B9ugxWgA.js → SlidePanel-CETQ5NTx.js} +1 -1
  113. package/dist/client/assets/{SpriteAvatar-z5hHesx9.js → SpriteAvatar-DFO4Kb4Z.js} +1 -1
  114. package/dist/client/assets/{StatusPill-BFvMjmZV.js → StatusPill-BllrY-eg.js} +1 -1
  115. package/dist/client/assets/{TailView-0uEIj2JH.js → TailView-_gKWfaQM.js} +2 -2
  116. package/dist/client/assets/Terminal-DWyZTZdY.js +1 -0
  117. package/dist/client/assets/TerminalEmbedScreen-_SSzwhWa.js +1 -0
  118. package/dist/client/assets/{TerminalHeaderMount-BL07cd0q.js → TerminalHeaderMount-CY7uIWBg.js} +1 -1
  119. package/dist/client/assets/{TextDocumentSurface-BflAwXeZ.js → TextDocumentSurface-2X1Gw4eA.js} +1 -1
  120. package/dist/client/assets/{TmuxPeek-BTnjOQi0.js → TmuxPeek-CqTJRhkI.js} +1 -1
  121. package/dist/client/assets/{VoicePermissionsPanel-CgQ6GGS-.js → VoicePermissionsPanel-C4vkU-sU.js} +1 -1
  122. package/dist/client/assets/{WorkDetailScreen-CaLG-zDs.js → WorkDetailScreen-DqGnuK0e.js} +3 -3
  123. package/dist/client/assets/{WorkFilesViewer-B9Sil_No.js → WorkFilesViewer-D8-4vF5l.js} +1 -1
  124. package/dist/client/assets/{activity-DcrMApUY.js → activity-CzTJ-YMX.js} +1 -1
  125. package/dist/client/assets/{addon-fit-DMVrz5Sv.js → addon-fit-Zx3A7pGS.js} +1 -1
  126. package/dist/client/assets/{addon-webgl-BYvpZUyu.js → addon-webgl-DitJj-N0.js} +1 -1
  127. package/dist/client/assets/{agent-autocomplete-B-5QTeas.js → agent-autocomplete-BlK8wY06.js} +1 -1
  128. package/dist/client/assets/{agent-essentials-D7KRGYvF.js → agent-essentials-K9B6kbTS.js} +1 -1
  129. package/dist/client/assets/{agent-lane-card-model-CNZMPkhc.js → agent-lane-card-model-CY3OE1Xu.js} +1 -1
  130. package/dist/client/assets/{agent-lanes-model-DXqjs0OK.js → agent-lanes-model-tc-1hE6q.js} +1 -1
  131. package/dist/client/assets/{agent-master-model-DqjrVI2h.js → agent-master-model-DMcHeNq3.js} +1 -1
  132. package/dist/client/assets/agent-specialization-CtF_jI34.js +1 -0
  133. package/dist/client/assets/agents-project-DgbqDc65.css +1 -0
  134. package/dist/client/assets/{arc.es-NHqHWohb.js → arc.es-BNXJqSw7.js} +1 -1
  135. package/dist/client/assets/{arrow-down-CKtSUjmW.js → arrow-down-BAGkhHA6.js} +1 -1
  136. package/dist/client/assets/{arrow-left-Czpf-AE4.js → arrow-left-eToA6GxC.js} +1 -1
  137. package/dist/client/assets/{arrow-right-BuzMnLYP.js → arrow-right-DTX42clh.js} +1 -1
  138. package/dist/client/assets/{arrow-up-right-C6Wl-1uw.js → arrow-up-right-B09GPwFl.js} +1 -1
  139. package/dist/client/assets/{bot-rd0awxD3.js → bot-WxKXYtEX.js} +1 -1
  140. package/dist/client/assets/{check-ofKUE8yH.js → check-Dz2SRHft.js} +1 -1
  141. package/dist/client/assets/{chevron-down-wciXnOQz.js → chevron-down-D120PY4g.js} +1 -1
  142. package/dist/client/assets/{chevron-right-D-HdlPg8.js → chevron-right-CowuvuE6.js} +1 -1
  143. package/dist/client/assets/{chunk-HRAB3GC3-Tyv9rzx7.js → chunk-HRAB3GC3-KjjrTLCU.js} +1 -1
  144. package/dist/client/assets/{chunk-JTPDIGGW-BC2Mandc.js → chunk-JTPDIGGW-COJ00z94.js} +3 -3
  145. package/dist/client/assets/{chunk-T65CQEWV-C1AWTYZZ.js → chunk-T65CQEWV-H2QEKfr1.js} +1 -1
  146. package/dist/client/assets/{chunk-YOZR3KYS-DwHPHa6f.js → chunk-YOZR3KYS-CrCgXw9l.js} +1 -1
  147. package/dist/client/assets/{clock-B88r8OrZ.js → clock-_9FDplIT.js} +1 -1
  148. package/dist/client/assets/{code-xml-D7pOQM9l.js → code-xml-CkkNdRmu.js} +1 -1
  149. package/dist/client/assets/{compass-Dt1AMXz2.js → compass-BdpImt_W.js} +1 -1
  150. package/dist/client/assets/content-0RBfbCIJ.js +1 -0
  151. package/dist/client/assets/content-BTmnk2bl.js +1 -0
  152. package/dist/client/assets/content-Bk5DKhyP.js +1 -0
  153. package/dist/client/assets/{content-nkx0swDe.js → content-Bw_8GE_S.js} +1 -1
  154. package/dist/client/assets/content-CI4gLEWi.js +1 -0
  155. package/dist/client/assets/content-CLCtp9Rb.js +1 -0
  156. package/dist/client/assets/content-C_FAGTNk.js +1 -0
  157. package/dist/client/assets/content-CnnzWOE3.js +1 -0
  158. package/dist/client/assets/content-DKlY98pO.js +1 -0
  159. package/dist/client/assets/content-Df7ndXTG.js +1 -0
  160. package/dist/client/assets/content-DkZDzzx3.js +1 -0
  161. package/dist/client/assets/content-DnGmb2L0.js +1 -0
  162. package/dist/client/assets/content-Ds-zs-Ss.js +1 -0
  163. package/dist/client/assets/content-JIWSyC0f.js +1 -0
  164. package/dist/client/assets/content-Q3TIYC8q.js +1 -0
  165. package/dist/client/assets/content-evaBfvxD.js +1 -0
  166. package/dist/client/assets/{context-budget-DX_fwUs3.js → context-budget-DqxWzalx.js} +1 -1
  167. package/dist/client/assets/{conversation-icons-tp9BX6X2.js → conversation-icons-DHGc9wbT.js} +1 -1
  168. package/dist/client/assets/conversation-model-C2KuZUXc.js +1 -0
  169. package/dist/client/assets/conversation-motion-features-BJnHs3Ul.js +1 -0
  170. package/dist/client/assets/{copy-CWWAJ75H.js → copy-BzdzWsQd.js} +1 -1
  171. package/dist/client/assets/{cpu-DrqejfkB.js → cpu-CHFIGw87.js} +1 -1
  172. package/dist/client/assets/{createLucideIcon-DezKXSG2.js → createLucideIcon-Dv8H8m7J.js} +1 -1
  173. package/dist/client/assets/discover-DutlV0ZU.js +2 -0
  174. package/dist/client/assets/embed-entry-CJG7WEVw.js +2 -0
  175. package/dist/client/assets/{external-link-Dp_a2vRZ.js → external-link-BvX5PfLh.js} +1 -1
  176. package/dist/client/assets/{eye-BRyD0jno.js → eye-C9cGk5z6.js} +1 -1
  177. package/dist/client/assets/{file-code-corner-muIVH_xO.js → file-code-corner-jlGFdr8d.js} +1 -1
  178. package/dist/client/assets/{file-text-CqJgwxmv.js → file-text-BHro8MkG.js} +1 -1
  179. package/dist/client/assets/{gauge-hU--hKVP.js → gauge-DSflSery.js} +1 -1
  180. package/dist/client/assets/{gestures-DN4hEeqv.js → gestures-YA5IIwp-.js} +1 -1
  181. package/dist/client/assets/{git-branch-CK5v8F2v.js → git-branch-Bc_eDIpG.js} +1 -1
  182. package/dist/client/assets/{home-moving-signal-BjDtEJUP.js → home-moving-signal-PHSqSBu_.js} +1 -1
  183. package/dist/client/assets/home-now-card-C_qsI6C6.js +1 -0
  184. package/dist/client/assets/{home-now-card-nano-C-r_bBg5.js → home-now-card-nano-Jmy7eJ6H.js} +1 -1
  185. package/dist/client/assets/{hooks-D46bABUP.js → hooks-ME7rmhpE.js} +1 -1
  186. package/dist/client/assets/{index-DvLtl7rV.js → index-C1VaWNuD.js} +2 -2
  187. package/dist/client/assets/index-C8UCRm2W.js +1 -0
  188. package/dist/client/assets/index-Cn0I2Hgi.js +1 -0
  189. package/dist/client/assets/index-Cx6Gbr6n.js +1 -0
  190. package/dist/client/assets/{inspector-panel-Dkc7rLvY.js → inspector-panel-CwrHjRaQ.js} +2 -2
  191. package/dist/client/assets/{keyboard-nav-BLYDhL3Z.js → keyboard-nav-B8sQ_8IF.js} +1 -1
  192. package/dist/client/assets/{lane-roster-store-DOdI1O13.js → lane-roster-store-DN2jxXF-.js} +1 -1
  193. package/dist/client/assets/{layers-CSsg3JVP.js → layers-CW2-qHsG.js} +1 -1
  194. package/dist/client/assets/{layout-grid-DOChPJdZ.js → layout-grid-BoVnPOk-.js} +1 -1
  195. package/dist/client/assets/left-BRu9pnqx.js +2 -0
  196. package/dist/client/assets/left-BjS1dKNV.js +2 -0
  197. package/dist/client/assets/left-CL-TVLJ7.js +1 -0
  198. package/dist/client/assets/left-DLpsDi55.js +1 -0
  199. package/dist/client/assets/left-DPcM9o8Y.js +1 -0
  200. package/dist/client/assets/left-MmTJf1tK.js +1 -0
  201. package/dist/client/assets/left-P80i5V8L.js +1 -0
  202. package/dist/client/assets/left-advisor-CbXVzAqS.js +1 -0
  203. package/dist/client/assets/left-agents-7mJsiNyr.js +1 -0
  204. package/dist/client/assets/left-default-COK26l3H.js +1 -0
  205. package/dist/client/assets/left-lanes-Dbdm9Veu.js +1 -0
  206. package/dist/client/assets/left-mission-DqGR5jby.js +1 -0
  207. package/dist/client/assets/library-COnWzUWv.js +1 -0
  208. package/dist/client/assets/{loader-circle-pM56HNhR.js → loader-circle-DmUG_YC7.js} +1 -1
  209. package/dist/client/assets/{local-agents-C8xAhbO5.js → local-agents-VP1-ZlPw.js} +1 -1
  210. package/dist/client/assets/{mentions-DG6OQrsc.js → mentions-BZ5SBMtc.js} +1 -1
  211. package/dist/client/assets/mesh-buckets-CLYS8Jx8.js +1 -0
  212. package/dist/client/assets/{mesh-ops-BZ1h5RQs.js → mesh-ops-CKSWgax2.js} +1 -1
  213. package/dist/client/assets/{mesh-view-store-ChUOASK8.js → mesh-view-store-CBM1za_N.js} +1 -1
  214. package/dist/client/assets/{message-circle-mZCv8tvB.js → message-circle-joGFxfj1.js} +1 -1
  215. package/dist/client/assets/{message-markup-C2LQDm_k.js → message-markup-DC0QFEZn.js} +1 -1
  216. package/dist/client/assets/{message-square-C7t_qtuj.js → message-square-BLiFqpe_.js} +1 -1
  217. package/dist/client/assets/{mission-control-store-nDLdUZPA.js → mission-control-store-CM8mQGg8.js} +1 -1
  218. package/dist/client/assets/model-CBkMvT1w.js +1 -0
  219. package/dist/client/assets/{observe-BpEm1INu.js → observe-BLmy4quB.js} +1 -1
  220. package/dist/client/assets/{page-status-E5jnk48p.js → page-status-BE0-J1xY.js} +1 -1
  221. package/dist/client/assets/{paperclip-C64lkcbM.js → paperclip-Br7wUDFl.js} +1 -1
  222. package/dist/client/assets/{persistent-state-EHXw8WNy.js → persistent-state-BubPQ7tT.js} +1 -1
  223. package/dist/client/assets/{plus-Co-dqKul.js → plus-BWKhylds.js} +1 -1
  224. package/dist/client/assets/profile-BCvk8jOQ.js +1 -0
  225. package/dist/client/assets/projects-inbox-BIW7nv-H.css +1 -0
  226. package/dist/client/assets/projects-inbox-DFbgVlXL.js +1 -0
  227. package/dist/client/assets/{proxy-BiW5suC7.js → proxy-DVDRhSRR.js} +1 -1
  228. package/dist/client/assets/{radio-BOxBQX-T.js → radio-CxIXS1nU.js} +1 -1
  229. package/dist/client/assets/{refresh-cw-DMxGzDwn.js → refresh-cw-Bkh7Cvnd.js} +1 -1
  230. package/dist/client/assets/resolve-panes-DhD5qmQO.js +1 -0
  231. package/dist/client/assets/resolve-sidebar-context-GqhZNRPY.js +1 -0
  232. package/dist/client/assets/right-B_08ilv6.js +1 -0
  233. package/dist/client/assets/right-Brm67HOL.js +1 -0
  234. package/dist/client/assets/right-BveAPKBW.js +1 -0
  235. package/dist/client/assets/right-CpTB_-Ya.js +1 -0
  236. package/dist/client/assets/right-CqC4Qdot.js +1 -0
  237. package/dist/client/assets/right-D91j9d5Y.js +1 -0
  238. package/dist/client/assets/{right-CimaAvQN.js → right-DVUq5374.js} +1 -1
  239. package/dist/client/assets/right-DaLRhYl3.js +1 -0
  240. package/dist/client/assets/right-Dt1wOwA5.js +1 -0
  241. package/dist/client/assets/right-DtzqIZQF.js +1 -0
  242. package/dist/client/assets/{rocket-BQm5_CvR.js → rocket-CnxqjX_K.js} +1 -1
  243. package/dist/client/assets/{router-B9vQkNJL.js → router-kfcaYqZr.js} +1 -1
  244. package/dist/client/assets/runtime-picker-C20lTGhV.js +1 -0
  245. package/dist/client/assets/{scope-views-1IYJdl41.js → scope-views-KPY85UUx.js} +1 -1
  246. package/dist/client/assets/{scout-voice-BVUqGhth.js → scout-voice-Cg1qfepC.js} +1 -1
  247. package/dist/client/assets/scoutbot-D7kGGyK_.js +3 -0
  248. package/dist/client/assets/{scoutbot-markdown-BQ_Ee2Ic.js → scoutbot-markdown-yb87JlSE.js} +1 -1
  249. package/dist/client/assets/{scroll-text-Dze_dXtQ.js → scroll-text-DFcBYy5J.js} +1 -1
  250. package/dist/client/assets/{search-CDko0PKE.js → search-FB2vVxCp.js} +1 -1
  251. package/dist/client/assets/{secondaryNavConfig-BoQ_zYR9.js → secondaryNavConfig-C0Srrmy8.js} +1 -1
  252. package/dist/client/assets/{selection-bridge-Din6yV3h.js → selection-bridge-qBGFCJv8.js} +1 -1
  253. package/dist/client/assets/{send-horizontal-CSjIm6xg.js → send-horizontal-CS7mxVhX.js} +1 -1
  254. package/dist/client/assets/{server-Bzj7lPIx.js → server-WY6gsbZz.js} +1 -1
  255. package/dist/client/assets/{session-catalog-DsaZJXZt.js → session-catalog-CG4oL_yN.js} +1 -1
  256. package/dist/client/assets/{session-table-BQfR7u6r.js → session-table-uJh3v-ly.js} +1 -1
  257. package/dist/client/assets/{settings-Dyvpkb1D.js → settings-DQEtqkM9.js} +1 -1
  258. package/dist/client/assets/{sliders-horizontal-C8njVwfg.js → sliders-horizontal-57e99_qO.js} +1 -1
  259. package/dist/client/assets/{sparkles-CETYrxGA.js → sparkles-D0vWLTyC.js} +1 -1
  260. package/dist/client/assets/{sse-CD9MMUxl.js → sse-B29iGBnw.js} +1 -1
  261. package/dist/client/assets/{system-surfaces-redesign-QVXNeGYw.css → system-surfaces-redesign-kuf3wuE_.css} +1 -1
  262. package/dist/client/assets/{tail-events-Ps8KpKah.js → tail-events-LK29oCKm.js} +1 -1
  263. package/dist/client/assets/{terminal-9GRS_Qdc.js → terminal-UDy4lzV1.js} +1 -1
  264. package/dist/client/assets/{terminal-relay-GYMIvKs1.js → terminal-relay-CXHMdain.js} +1 -1
  265. package/dist/client/assets/{terminal-screen-BLk4PAYt.css → terminal-screen-vMICbBJh.css} +1 -1
  266. package/dist/client/assets/{terminal-sessions-BQ6t92tJ.js → terminal-sessions-Bdt2W3Y4.js} +1 -1
  267. package/dist/client/assets/{terminal-takeover-_Jyys4me.js → terminal-takeover-BMeBjBB2.js} +1 -1
  268. package/dist/client/assets/{use-conversation-list-C9ABzjXI.js → use-conversation-list-UG-tMN67.js} +1 -1
  269. package/dist/client/assets/{use-fleet-active-asks-DAspZQjE.js → use-fleet-active-asks-CCGrll5q.js} +1 -1
  270. package/dist/client/assets/{use-mesh-ops-items-Dh54ymEp.js → use-mesh-ops-items-BjyeFJTz.js} +1 -1
  271. package/dist/client/assets/{use-reduced-motion-x8pJMVrG.js → use-reduced-motion-CPoX8iV2.js} +1 -1
  272. package/dist/client/assets/{use-scout-dev-flags-DhCbiDK3.js → use-scout-dev-flags-DTseRrFi.js} +1 -1
  273. package/dist/client/assets/{useAgentHoverCard-DoBwV0LX.js → useAgentHoverCard-BgTLNcF-.js} +1 -1
  274. package/dist/client/assets/useContentSecondaryNav-CoIoz7JU.js +1 -0
  275. package/dist/client/assets/useEmbedHeadline-DuUnwTB7.js +1 -0
  276. package/dist/client/assets/{usePierreRuntime-ejq9dCWV.js → usePierreRuntime-35AHf9RQ.js} +1 -1
  277. package/dist/client/assets/{wrench-DjkoAOQt.js → wrench-BfVeded5.js} +1 -1
  278. package/dist/client/assets/{x-CAbNespN.js → x-DgmmnPKt.js} +1 -1
  279. package/dist/client/assets/{xterm-Cf-ngcGP.js → xterm-DnJJmrCA.js} +1 -1
  280. package/dist/client/assets/{zap-Cq8eWkcF.js → zap-Bcja1lHG.js} +1 -1
  281. package/dist/client/index.html +1 -1
  282. package/dist/main.mjs +5180 -9874
  283. package/dist/node/main.mjs +18 -2
  284. package/dist/pairing-runtime-controller.mjs +31 -2
  285. package/dist/runtime/broker-daemon.mjs +87 -13
  286. package/dist/scout-control-plane-web.mjs +35 -3
  287. package/package.json +2 -5
  288. package/dist/client/assets/ActivityScreen-BnoaUkVZ.js +0 -1
  289. package/dist/client/assets/AgentConfigurationScreen-CuZJy07q.js +0 -1
  290. package/dist/client/assets/AgentDefinitionsWorkspace-Iyl4BesU.js +0 -1
  291. package/dist/client/assets/AgentFloorView-YT-Jjccf.js +0 -1
  292. package/dist/client/assets/AgentInfoScreen-Dr99gQEZ.js +0 -1
  293. package/dist/client/assets/AgentLanesEmbedScreen-Dgcm7zd_.js +0 -1
  294. package/dist/client/assets/AgentLanesView-CetZZDyF.js +0 -2
  295. package/dist/client/assets/AgentMasterScreen-DJPnstoD.js +0 -1
  296. package/dist/client/assets/AgentsConsole-CsYOoFJi.js +0 -1
  297. package/dist/client/assets/AgentsScreen-k8LvBuU_.js +0 -1
  298. package/dist/client/assets/AgentsSubnav-C4xpQhsv.js +0 -1
  299. package/dist/client/assets/BriefingDetailScreen-CUCXO-KH.js +0 -1
  300. package/dist/client/assets/BrokerScreen-BPbOHhCS.js +0 -5
  301. package/dist/client/assets/CodeScreen-CeuO3EhR.js +0 -1
  302. package/dist/client/assets/ConversationComposer-CXPKx86g.js +0 -1
  303. package/dist/client/assets/ConversationFeedRows-WrH-YI3L.js +0 -1
  304. package/dist/client/assets/ConversationHeader-BQWzGzLK.js +0 -1
  305. package/dist/client/assets/ConversationScreen-CR9pWB65.js +0 -2
  306. package/dist/client/assets/CrewWorkspaces-CkQDhyie.css +0 -1
  307. package/dist/client/assets/CrewWorkspaces-NKujRzwh.js +0 -1
  308. package/dist/client/assets/FlightObserveScreen-6mGnmWQA.js +0 -1
  309. package/dist/client/assets/HarnessesScreen-CHTuv8p6.js +0 -1
  310. package/dist/client/assets/KnowledgeSearchScreen-D3o3IODW.js +0 -1
  311. package/dist/client/assets/LaneTraceDetailSheet-BUgHz-sd.js +0 -1
  312. package/dist/client/assets/MeshScreen-BcxPkhm6.js +0 -1
  313. package/dist/client/assets/MessagesScreen-Bb5l13MO.js +0 -1
  314. package/dist/client/assets/MissionControlView-E3V7bENU.js +0 -1
  315. package/dist/client/assets/MissionFocusOverlay-h15sQFvP.js +0 -1
  316. package/dist/client/assets/MissionLeftAgentRow-KPdk9rSa.js +0 -1
  317. package/dist/client/assets/NewChatComposer-_Stj0fZy.js +0 -19
  318. package/dist/client/assets/OpsAgentsView-DI5wu1si.js +0 -1
  319. package/dist/client/assets/OpsScreen-D8fQafCl.js +0 -1
  320. package/dist/client/assets/OpsSubnav-1K4Jaf__.js +0 -1
  321. package/dist/client/assets/ProjectAgentProfile-Bdjd_dAx.js +0 -1
  322. package/dist/client/assets/ProjectAgentProfileBar-k2QHHHsQ.js +0 -1
  323. package/dist/client/assets/ProjectAgentProfileHero-Bpxk1ui2.js +0 -1
  324. package/dist/client/assets/ProjectsInbox-C_bMHLCc.js +0 -2
  325. package/dist/client/assets/ProjectsRail-J-aH_pxT.js +0 -1
  326. package/dist/client/assets/ProjectsScreen-cVUkGbPz.js +0 -1
  327. package/dist/client/assets/ProjectsThreadAside-_ourdM-Q.js +0 -1
  328. package/dist/client/assets/Provider-CtXJeLrP.js +0 -1
  329. package/dist/client/assets/RawSessionsTable-CDyrom-F.js +0 -1
  330. package/dist/client/assets/RealtimeVoiceScreen-DBl3DN1H.js +0 -1
  331. package/dist/client/assets/SessionRefScreen-COVQMbtE.js +0 -1
  332. package/dist/client/assets/SessionsScreen--5OJ3p3v.js +0 -1
  333. package/dist/client/assets/SettingsScreen-CCxzy5IU.js +0 -1
  334. package/dist/client/assets/Terminal-DouZeNxc.js +0 -1
  335. package/dist/client/assets/TerminalEmbedScreen-dMNUbzXr.js +0 -1
  336. package/dist/client/assets/agent-specialization-BujJVUTD.js +0 -1
  337. package/dist/client/assets/agents-project-COzHxZAF.css +0 -1
  338. package/dist/client/assets/agents-project-model-UYiamtrU.js +0 -1
  339. package/dist/client/assets/content-9K38QchR.js +0 -1
  340. package/dist/client/assets/content-BRgnyXWh.js +0 -1
  341. package/dist/client/assets/content-BWPNyXJ0.js +0 -1
  342. package/dist/client/assets/content-BdkI07v3.js +0 -1
  343. package/dist/client/assets/content-C4oWa8SB.js +0 -1
  344. package/dist/client/assets/content-C9ijJxyl.js +0 -1
  345. package/dist/client/assets/content-CFZ4rghn.js +0 -1
  346. package/dist/client/assets/content-CIqu_Ci_.js +0 -1
  347. package/dist/client/assets/content-CnJF9DGO.js +0 -1
  348. package/dist/client/assets/content-CriW8Y8u.js +0 -1
  349. package/dist/client/assets/content-DDCyPPk_.js +0 -1
  350. package/dist/client/assets/content-DtcZeh5m.js +0 -1
  351. package/dist/client/assets/content-U9tsdtle.js +0 -1
  352. package/dist/client/assets/content-hFLK3CON.js +0 -1
  353. package/dist/client/assets/content-p00KQrtD.js +0 -1
  354. package/dist/client/assets/conversation-model-Dc02NsGp.js +0 -1
  355. package/dist/client/assets/conversation-motion-features-D9-RmBSq.js +0 -1
  356. package/dist/client/assets/discover-C2CZO4Tk.js +0 -2
  357. package/dist/client/assets/embed-entry-BSMUykuG.js +0 -2
  358. package/dist/client/assets/home-now-card-nF8OotI-.js +0 -1
  359. package/dist/client/assets/index-CPrU5q04.js +0 -1
  360. package/dist/client/assets/index-kL1WLbeS.js +0 -1
  361. package/dist/client/assets/index-zvhpRHao.js +0 -1
  362. package/dist/client/assets/left-B-SdEJSJ.js +0 -1
  363. package/dist/client/assets/left-B3wSE6ql.js +0 -1
  364. package/dist/client/assets/left-BNRFiRsb.js +0 -2
  365. package/dist/client/assets/left-BggzhgXN.js +0 -1
  366. package/dist/client/assets/left-CARCvvxS.js +0 -2
  367. package/dist/client/assets/left-CpokZYHt.js +0 -1
  368. package/dist/client/assets/left-YT7mIGuH.js +0 -1
  369. package/dist/client/assets/left-advisor-CCY0vkcO.js +0 -1
  370. package/dist/client/assets/left-agents-trhO5sL8.js +0 -1
  371. package/dist/client/assets/left-default-CG33elBs.js +0 -1
  372. package/dist/client/assets/left-lanes-CitMgeTp.js +0 -1
  373. package/dist/client/assets/left-mission-Zl2m_5eU.js +0 -1
  374. package/dist/client/assets/library-DkALuCh5.js +0 -1
  375. package/dist/client/assets/mesh-buckets-6y3ZIibI.js +0 -1
  376. package/dist/client/assets/mesh-roster-Bc7T4b7z.js +0 -1
  377. package/dist/client/assets/model-IGCUEsMy.js +0 -1
  378. package/dist/client/assets/profile-APxDsN2P.js +0 -1
  379. package/dist/client/assets/projects-inbox-Cg4X2lUQ.js +0 -1
  380. package/dist/client/assets/projects-inbox-DRBl2N85.css +0 -1
  381. package/dist/client/assets/resolve-panes-DeVJbS9c.js +0 -1
  382. package/dist/client/assets/resolve-sidebar-context-BQe5J6xF.js +0 -1
  383. package/dist/client/assets/right-Bmfd3pjP.js +0 -1
  384. package/dist/client/assets/right-BqI-nr9G.js +0 -1
  385. package/dist/client/assets/right-BuCgE0fZ.js +0 -1
  386. package/dist/client/assets/right-BwlW6E57.js +0 -1
  387. package/dist/client/assets/right-C0ybUw0j.js +0 -1
  388. package/dist/client/assets/right-CdkcrmeD.js +0 -1
  389. package/dist/client/assets/right-CkCCPbCX.js +0 -1
  390. package/dist/client/assets/right-D3eSiy41.js +0 -1
  391. package/dist/client/assets/right-Dz_xD0Vj.js +0 -1
  392. package/dist/client/assets/scoutbot-BJIamJOH.js +0 -3
  393. package/dist/client/assets/text-BP3oyl8-.js +0 -1
  394. package/dist/client/assets/useContentSecondaryNav-pZe2Zfk1.js +0 -1
  395. /package/dist/client/assets/{text-BYAFNLNq.css → runtime-picker-BYAFNLNq.css} +0 -0
@@ -1,4 +1,4 @@
1
- import{z as We}from"./index-DvLtl7rV.js";function Ke(Ie,ke){for(var Se=0;Se<ke.length;Se++){const Ee=ke[Se];if(typeof Ee!="string"&&!Array.isArray(Ee)){for(const ge in Ee)if(ge!=="default"&&!(ge in Ie)){const De=Object.getOwnPropertyDescriptor(Ee,ge);De&&Object.defineProperty(Ie,ge,De.get?De:{enumerable:!0,get:()=>Ee[ge]})}}}return Object.freeze(Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"}))}var Ne={exports:{}},Fe;function He(){return Fe||(Fe=1,(function(Ie,ke){(function(Se,Ee){Ie.exports=Ee()})(globalThis,(()=>(()=>{var Se={6864:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CellColorResolver=void 0;const i=v(1564),f=v(7993),h=v(4959);let C,b=0,_=0,o=!1,r=!1,p=!1,E=0;e.CellColorResolver=class{constructor(t,R,u,n,s,a){this._terminal=t,this._optionService=R,this._selectionRenderModel=u,this._decorationService=n,this._coreBrowserService=s,this._themeService=a,this.result={fg:0,bg:0,ext:0}}resolve(t,R,u,n){if(this.result.bg=t.bg,this.result.fg=t.fg,this.result.ext=268435456&t.bg?t.extended.ext:0,_=0,b=0,r=!1,o=!1,p=!1,C=this._themeService.colors,E=0,t.getCode()!==i.NULL_CELL_CODE&&t.extended.underlineStyle===4){const s=Math.max(1,Math.floor(this._optionService.rawOptions.fontSize*this._coreBrowserService.dpr/15));E=R*n%(2*Math.round(s))}if(this._decorationService.forEachDecorationAtCell(R,u,"bottom",(s=>{s.backgroundColorRGB&&(_=s.backgroundColorRGB.rgba>>8&16777215,r=!0),s.foregroundColorRGB&&(b=s.foregroundColorRGB.rgba>>8&16777215,o=!0)})),p=this._selectionRenderModel.isCellSelected(this._terminal,R,u),p){if(67108864&this.result.fg||50331648&this.result.bg){if(67108864&this.result.fg)switch(50331648&this.result.fg){case 16777216:case 33554432:_=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:_=(16777215&this.result.fg)<<8|255;break;default:_=this._themeService.colors.foreground.rgba}else switch(50331648&this.result.bg){case 16777216:case 33554432:_=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:_=(16777215&this.result.bg)<<8|255}_=f.rgba.blend(_,4294967040&(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}else _=(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba>>8&16777215;if(r=!0,C.selectionForeground&&(b=C.selectionForeground.rgba>>8&16777215,o=!0),(0,h.treatGlyphAsBackgroundColor)(t.getCode())){if(67108864&this.result.fg&&!(50331648&this.result.bg))b=(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba>>8&16777215;else{if(67108864&this.result.fg)switch(50331648&this.result.bg){case 16777216:case 33554432:b=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:b=(16777215&this.result.bg)<<8|255}else switch(50331648&this.result.fg){case 16777216:case 33554432:b=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:b=(16777215&this.result.fg)<<8|255;break;default:b=this._themeService.colors.foreground.rgba}b=f.rgba.blend(b,4294967040&(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}o=!0}}this._decorationService.forEachDecorationAtCell(R,u,"top",(s=>{s.backgroundColorRGB&&(_=s.backgroundColorRGB.rgba>>8&16777215,r=!0),s.foregroundColorRGB&&(b=s.foregroundColorRGB.rgba>>8&16777215,o=!0)})),r&&(_=p?-16777216&t.bg&-134217729|_|50331648:-16777216&t.bg|_|50331648),o&&(b=-16777216&t.fg&-67108865|b|50331648),67108864&this.result.fg&&(r&&!o&&(b=50331648&this.result.bg?-134217728&this.result.fg|67108863&this.result.bg:-134217728&this.result.fg|16777215&C.background.rgba>>8|50331648,o=!0),!r&&o&&(_=50331648&this.result.fg?-67108864&this.result.bg|67108863&this.result.fg:-67108864&this.result.bg|16777215&C.foreground.rgba>>8|50331648,r=!0)),C=void 0,this.result.bg=r?_:this.result.bg,this.result.fg=o?b:this.result.fg,this.result.ext&=536870911,this.result.ext|=E<<29&3758096384}}},5670:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.acquireTextureAtlas=function(C,b,_,o,r,p,E,t,R){const u=(0,f.generateConfig)(o,r,p,E,b,_,t,R);for(let a=0;a<h.length;a++){const c=h[a],l=c.ownedBy.indexOf(C);if(l>=0){if((0,f.configEquals)(c.config,u))return c.atlas;c.ownedBy.length===1?(c.atlas.dispose(),h.splice(a,1)):c.ownedBy.splice(l,1);break}}for(let a=0;a<h.length;a++){const c=h[a];if((0,f.configEquals)(c.config,u))return c.ownedBy.push(C),c.atlas}const n=C._core,s={atlas:new i.TextureAtlas(document,u,n.unicodeService),config:u,ownedBy:[C]};return h.push(s),s.atlas},e.removeTerminalFromCache=function(C){for(let b=0;b<h.length;b++){const _=h[b].ownedBy.indexOf(C);if(_!==-1){h[b].ownedBy.length===1?(h[b].atlas.dispose(),h.splice(b,1)):h[b].ownedBy.splice(_,1);break}}};const i=v(2115),f=v(3657),h=[]},3657:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.generateConfig=function(f,h,C,b,_,o,r,p){const E={foreground:o.foreground,background:o.background,cursor:i.NULL_COLOR,cursorAccent:i.NULL_COLOR,selectionForeground:i.NULL_COLOR,selectionBackgroundTransparent:i.NULL_COLOR,selectionBackgroundOpaque:i.NULL_COLOR,selectionInactiveBackgroundTransparent:i.NULL_COLOR,selectionInactiveBackgroundOpaque:i.NULL_COLOR,overviewRulerBorder:i.NULL_COLOR,scrollbarSliderBackground:i.NULL_COLOR,scrollbarSliderHoverBackground:i.NULL_COLOR,scrollbarSliderActiveBackground:i.NULL_COLOR,ansi:o.ansi.slice(),contrastCache:o.contrastCache,halfContrastCache:o.halfContrastCache};return{customGlyphs:_.customGlyphs,devicePixelRatio:r,deviceMaxTextureSize:p,letterSpacing:_.letterSpacing,lineHeight:_.lineHeight,deviceCellWidth:f,deviceCellHeight:h,deviceCharWidth:C,deviceCharHeight:b,fontFamily:_.fontFamily,fontSize:_.fontSize,fontWeight:_.fontWeight,fontWeightBold:_.fontWeightBold,allowTransparency:_.allowTransparency,drawBoldTextInBrightColors:_.drawBoldTextInBrightColors,minimumContrastRatio:_.minimumContrastRatio,colors:E}},e.configEquals=function(f,h){for(let C=0;C<f.colors.ansi.length;C++)if(f.colors.ansi[C].rgba!==h.colors.ansi[C].rgba)return!1;return f.devicePixelRatio===h.devicePixelRatio&&f.customGlyphs===h.customGlyphs&&f.lineHeight===h.lineHeight&&f.letterSpacing===h.letterSpacing&&f.fontFamily===h.fontFamily&&f.fontSize===h.fontSize&&f.fontWeight===h.fontWeight&&f.fontWeightBold===h.fontWeightBold&&f.allowTransparency===h.allowTransparency&&f.deviceCharWidth===h.deviceCharWidth&&f.deviceCharHeight===h.deviceCharHeight&&f.drawBoldTextInBrightColors===h.drawBoldTextInBrightColors&&f.minimumContrastRatio===h.minimumContrastRatio&&f.colors.foreground.rgba===h.colors.foreground.rgba&&f.colors.background.rgba===h.colors.background.rgba},e.is256Color=function(f){return(50331648&f)==16777216||(50331648&f)==33554432};const i=v(7993)},2e3:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_BASELINE=e.DIM_OPACITY=void 0;const i=v(7095);e.DIM_OPACITY=.5,e.TEXT_BASELINE=i.isFirefox||i.isLegacyEdge?"bottom":"ideographic"},3773:(j,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CursorBlinkStateManager=void 0,e.CursorBlinkStateManager=class{constructor(v,i){this._renderCallback=v,this._coreBrowserService=i,this.isCursorVisible=!0,this._coreBrowserService.isFocused&&this._restartInterval()}get isPaused(){return!(this._blinkStartTimeout||this._blinkInterval)}dispose(){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}restartBlinkAnimation(){this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))))}_restartInterval(v=600){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=this._coreBrowserService.window.setTimeout((()=>{if(this._animationTimeRestarted){const i=600-(Date.now()-this._animationTimeRestarted);if(this._animationTimeRestarted=void 0,i>0)return void this._restartInterval(i)}this.isCursorVisible=!1,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0})),this._blinkInterval=this._coreBrowserService.window.setInterval((()=>{if(this._animationTimeRestarted){const i=600-(Date.now()-this._animationTimeRestarted);return this._animationTimeRestarted=void 0,void this._restartInterval(i)}this.isCursorVisible=!this.isCursorVisible,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))}),600)}),v)}pause(){this.isCursorVisible=!0,this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}resume(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()}}},9705:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.powerlineDefinitions=e.boxDrawingDefinitions=e.blockElementDefinitions=void 0,e.tryDrawCustomChar=function(o,r,p,E,t,R,u,n){const s=e.blockElementDefinitions[r];if(s)return(function(L,w,S,g,A,U){for(let D=0;D<w.length;D++){const P=w[D],B=A/8,M=U/8;L.fillRect(S+P.x*B,g+P.y*M,P.w*B,P.h*M)}})(o,s,p,E,t,R),!0;const a=f[r];if(a)return(function(L,w,S,g,A,U){let D=h.get(w);D||(D=new Map,h.set(w,D));const P=L.fillStyle;if(typeof P!="string")throw new Error(`Unexpected fillStyle type "${P}"`);let B=D.get(P);if(!B){const M=w[0].length,y=w.length,x=L.canvas.ownerDocument.createElement("canvas");x.width=M,x.height=y;const I=(0,i.throwIfFalsy)(x.getContext("2d")),O=new ImageData(M,y);let N,W,K,$;if(P.startsWith("#"))N=parseInt(P.slice(1,3),16),W=parseInt(P.slice(3,5),16),K=parseInt(P.slice(5,7),16),$=P.length>7&&parseInt(P.slice(7,9),16)||1;else{if(!P.startsWith("rgba"))throw new Error(`Unexpected fillStyle color format "${P}" when drawing pattern glyph`);[N,W,K,$]=P.substring(5,P.length-1).split(",").map((X=>parseFloat(X)))}for(let X=0;X<y;X++)for(let Z=0;Z<M;Z++)O.data[4*(X*M+Z)]=N,O.data[4*(X*M+Z)+1]=W,O.data[4*(X*M+Z)+2]=K,O.data[4*(X*M+Z)+3]=w[X][Z]*(255*$);I.putImageData(O,0,0),B=(0,i.throwIfFalsy)(L.createPattern(x,null)),D.set(P,B)}L.fillStyle=B,L.fillRect(S,g,A,U)})(o,a,p,E,t,R),!0;const c=e.boxDrawingDefinitions[r];if(c)return(function(L,w,S,g,A,U,D){L.strokeStyle=L.fillStyle;for(const[P,B]of Object.entries(w)){let M;L.beginPath(),L.lineWidth=D*Number.parseInt(P),M=typeof B=="function"?B(.15,.15/U*A):B;for(const y of M.split(" ")){const x=y[0],I=b[x];if(!I){console.error(`Could not find drawing instructions for "${x}"`);continue}const O=y.substring(1).split(",");O[0]&&O[1]&&I(L,_(O,A,U,S,g,!0,D))}L.stroke(),L.closePath()}})(o,c,p,E,t,R,n),!0;const l=e.powerlineDefinitions[r];return!!l&&((function(L,w,S,g,A,U,D,P){const B=new Path2D;B.rect(S,g,A,U),L.clip(B),L.beginPath();const M=D/12;L.lineWidth=P*M;for(const y of w.d.split(" ")){const x=y[0],I=b[x];if(!I){console.error(`Could not find drawing instructions for "${x}"`);continue}const O=y.substring(1).split(",");O[0]&&O[1]&&I(L,_(O,A,U,S,g,!1,P,(w.leftPadding??0)*(M/2),(w.rightPadding??0)*(M/2)))}w.type===1?(L.strokeStyle=L.fillStyle,L.stroke()):L.fill(),L.closePath()})(o,l,p,E,t,R,u,n),!0)};const i=v(4959);e.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:8,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:4,y:0,w:4,h:4}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};const f={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};e.boxDrawingDefinitions={"─":{1:"M0,.5 L1,.5"},"━":{3:"M0,.5 L1,.5"},"│":{1:"M.5,0 L.5,1"},"┃":{3:"M.5,0 L.5,1"},"┌":{1:"M0.5,1 L.5,.5 L1,.5"},"┏":{3:"M0.5,1 L.5,.5 L1,.5"},"┐":{1:"M0,.5 L.5,.5 L.5,1"},"┓":{3:"M0,.5 L.5,.5 L.5,1"},"└":{1:"M.5,0 L.5,.5 L1,.5"},"┗":{3:"M.5,0 L.5,.5 L1,.5"},"┘":{1:"M.5,0 L.5,.5 L0,.5"},"┛":{3:"M.5,0 L.5,.5 L0,.5"},"├":{1:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┣":{3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┤":{1:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┫":{3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┬":{1:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┳":{3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┴":{1:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┻":{3:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┼":{1:"M0,.5 L1,.5 M.5,0 L.5,1"},"╋":{3:"M0,.5 L1,.5 M.5,0 L.5,1"},"╴":{1:"M.5,.5 L0,.5"},"╸":{3:"M.5,.5 L0,.5"},"╵":{1:"M.5,.5 L.5,0"},"╹":{3:"M.5,.5 L.5,0"},"╶":{1:"M.5,.5 L1,.5"},"╺":{3:"M.5,.5 L1,.5"},"╷":{1:"M.5,.5 L.5,1"},"╻":{3:"M.5,.5 L.5,1"},"═":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"║":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╒":{1:(o,r)=>`M.5,1 L.5,${.5-r} L1,${.5-r} M.5,${.5+r} L1,${.5+r}`},"╓":{1:(o,r)=>`M${.5-o},1 L${.5-o},.5 L1,.5 M${.5+o},.5 L${.5+o},1`},"╔":{1:(o,r)=>`M1,${.5-r} L${.5-o},${.5-r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1`},"╕":{1:(o,r)=>`M0,${.5-r} L.5,${.5-r} L.5,1 M0,${.5+r} L.5,${.5+r}`},"╖":{1:(o,r)=>`M${.5+o},1 L${.5+o},.5 L0,.5 M${.5-o},.5 L${.5-o},1`},"╗":{1:(o,r)=>`M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M0,${.5-r} L${.5+o},${.5-r} L${.5+o},1`},"╘":{1:(o,r)=>`M.5,0 L.5,${.5+r} L1,${.5+r} M.5,${.5-r} L1,${.5-r}`},"╙":{1:(o,r)=>`M1,.5 L${.5-o},.5 L${.5-o},0 M${.5+o},.5 L${.5+o},0`},"╚":{1:(o,r)=>`M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0 M1,${.5+r} L${.5-o},${.5+r} L${.5-o},0`},"╛":{1:(o,r)=>`M0,${.5+r} L.5,${.5+r} L.5,0 M0,${.5-r} L.5,${.5-r}`},"╜":{1:(o,r)=>`M0,.5 L${.5+o},.5 L${.5+o},0 M${.5-o},.5 L${.5-o},0`},"╝":{1:(o,r)=>`M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M0,${.5+r} L${.5+o},${.5+r} L${.5+o},0`},"╞":{1:(o,r)=>`M.5,0 L.5,1 M.5,${.5-r} L1,${.5-r} M.5,${.5+r} L1,${.5+r}`},"╟":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1 M${.5+o},.5 L1,.5`},"╠":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╡":{1:(o,r)=>`M.5,0 L.5,1 M0,${.5-r} L.5,${.5-r} M0,${.5+r} L.5,${.5+r}`},"╢":{1:(o,r)=>`M0,.5 L${.5-o},.5 M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╣":{1:(o,r)=>`M${.5+o},0 L${.5+o},1 M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0`},"╤":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r} M.5,${.5+r} L.5,1`},"╥":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},.5 L${.5-o},1 M${.5+o},.5 L${.5+o},1`},"╦":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1`},"╧":{1:(o,r)=>`M.5,0 L.5,${.5-r} M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"╨":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},.5 L${.5-o},0 M${.5+o},.5 L${.5+o},0`},"╩":{1:(o,r)=>`M0,${.5+r} L1,${.5+r} M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╪":{1:(o,r)=>`M.5,0 L.5,1 M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"╫":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╬":{1:(o,r)=>`M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1 M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╱":{1:"M1,0 L0,1"},"╲":{1:"M0,0 L1,1"},"╳":{1:"M1,0 L0,1 M0,0 L1,1"},"╼":{1:"M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"╽":{1:"M.5,.5 L.5,0",3:"M.5,.5 L.5,1"},"╾":{1:"M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"╿":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┍":{1:"M.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┎":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┑":{1:"M.5,.5 L.5,1",3:"M.5,.5 L0,.5"},"┒":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┕":{1:"M.5,.5 L.5,0",3:"M.5,.5 L1,.5"},"┖":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┙":{1:"M.5,.5 L.5,0",3:"M.5,.5 L0,.5"},"┚":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,0"},"┝":{1:"M.5,0 L.5,1",3:"M.5,.5 L1,.5"},"┞":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┟":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┠":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1"},"┡":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"┢":{1:"M.5,.5 L.5,0",3:"M0.5,1 L.5,.5 L1,.5"},"┥":{1:"M.5,0 L.5,1",3:"M.5,.5 L0,.5"},"┦":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┧":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┨":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1"},"┩":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L0,.5"},"┪":{1:"M.5,.5 L.5,0",3:"M0,.5 L.5,.5 L.5,1"},"┭":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┮":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┯":{1:"M.5,.5 L.5,1",3:"M0,.5 L1,.5"},"┰":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"┱":{1:"M.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"┲":{1:"M.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"┵":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┶":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┷":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5"},"┸":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,0"},"┹":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"┺":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,.5 L1,.5"},"┽":{1:"M.5,0 L.5,1 M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┾":{1:"M.5,0 L.5,1 M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┿":{1:"M.5,0 L.5,1",3:"M0,.5 L1,.5"},"╀":{1:"M0,.5 L1,.5 M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"╁":{1:"M.5,.5 L.5,0 M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"╂":{1:"M0,.5 L1,.5",3:"M.5,0 L.5,1"},"╃":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"╄":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"╅":{1:"M.5,0 L.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"╆":{1:"M.5,0 L.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"╇":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0 M0,.5 L1,.5"},"╈":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"╉":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"╊":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"╌":{1:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"╍":{3:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"┄":{1:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┅":{3:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┈":{1:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"┉":{3:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"╎":{1:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"╏":{3:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"┆":{1:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┇":{3:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┊":{1:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"┋":{3:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"╭":{1:(o,r)=>`M.5,1 L.5,${.5+r/.15*.5} C.5,${.5+r/.15*.5},.5,.5,1,.5`},"╮":{1:(o,r)=>`M.5,1 L.5,${.5+r/.15*.5} C.5,${.5+r/.15*.5},.5,.5,0,.5`},"╯":{1:(o,r)=>`M.5,0 L.5,${.5-r/.15*.5} C.5,${.5-r/.15*.5},.5,.5,0,.5`},"╰":{1:(o,r)=>`M.5,0 L.5,${.5-r/.15*.5} C.5,${.5-r/.15*.5},.5,.5,1,.5`}},e.powerlineDefinitions={"":{d:"M.3,1 L.03,1 L.03,.88 C.03,.82,.06,.78,.11,.73 C.15,.7,.2,.68,.28,.65 L.43,.6 C.49,.58,.53,.56,.56,.53 C.59,.5,.6,.47,.6,.43 L.6,.27 L.4,.27 L.69,.1 L.98,.27 L.78,.27 L.78,.46 C.78,.52,.76,.56,.72,.61 C.68,.66,.63,.67,.56,.7 L.48,.72 C.42,.74,.38,.76,.35,.78 C.32,.8,.31,.84,.31,.88 L.31,1 M.3,.5 L.03,.59 L.03,.09 L.3,.09 L.3,.655",type:0},"":{d:"M.7,.4 L.7,.47 L.2,.47 L.2,.03 L.355,.03 L.355,.4 L.705,.4 M.7,.5 L.86,.5 L.86,.95 L.69,.95 L.44,.66 L.46,.86 L.46,.95 L.3,.95 L.3,.49 L.46,.49 L.71,.78 L.69,.565 L.69,.5",type:0},"":{d:"M.25,.94 C.16,.94,.11,.92,.11,.87 L.11,.53 C.11,.48,.15,.455,.23,.45 L.23,.3 C.23,.25,.26,.22,.31,.19 C.36,.16,.43,.15,.51,.15 C.59,.15,.66,.16,.71,.19 C.77,.22,.79,.26,.79,.3 L.79,.45 C.87,.45,.91,.48,.91,.53 L.91,.87 C.91,.92,.86,.94,.77,.94 L.24,.94 M.53,.2 C.49,.2,.45,.21,.42,.23 C.39,.25,.38,.27,.38,.3 L.38,.45 L.68,.45 L.68,.3 C.68,.27,.67,.25,.64,.23 C.61,.21,.58,.2,.53,.2 M.58,.82 L.58,.66 C.63,.65,.65,.63,.65,.6 C.65,.58,.64,.57,.61,.56 C.58,.55,.56,.54,.52,.54 C.48,.54,.46,.55,.43,.56 C.4,.57,.39,.59,.39,.6 C.39,.63,.41,.64,.46,.66 L.46,.82 L.57,.82",type:0},"":{d:"M0,0 L1,.5 L0,1",type:0,rightPadding:2},"":{d:"M-1,-.5 L1,.5 L-1,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1,0 L0,.5 L1,1",type:0,leftPadding:2},"":{d:"M2,-.5 L0,.5 L2,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M0,0 L0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:0,rightPadding:1},"":{d:"M.2,1 C.422,1,.8,.826,.78,.5 C.8,.174,0.422,0,.2,0",type:1,rightPadding:1},"":{d:"M1,0 L1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:0,leftPadding:1},"":{d:"M.8,1 C0.578,1,0.2,.826,.22,.5 C0.2,0.174,0.578,0,0.8,0",type:1,leftPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L-.5,1.5",type:0},"":{d:"M-.5,-.5 L1.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1.5,-.5 L-.5,1.5 L1.5,1.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5 L-.5,-.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L1.5,-.5",type:0}},e.powerlineDefinitions[""]=e.powerlineDefinitions[""],e.powerlineDefinitions[""]=e.powerlineDefinitions[""];const h=new Map;function C(o,r,p=0){return Math.max(Math.min(o,r),p)}const b={C:(o,r)=>o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]),L:(o,r)=>o.lineTo(r[0],r[1]),M:(o,r)=>o.moveTo(r[0],r[1])};function _(o,r,p,E,t,R,u,n=0,s=0){const a=o.map((c=>parseFloat(c)||parseInt(c)));if(a.length<2)throw new Error("Too few arguments for instruction");for(let c=0;c<a.length;c+=2)a[c]*=r-n*u-s*u,R&&a[c]!==0&&(a[c]=C(Math.round(a[c]+.5)-.5,r,0)),a[c]+=E+n*u;for(let c=1;c<a.length;c+=2)a[c]*=p,R&&a[c]!==0&&(a[c]=C(Math.round(a[c]+.5)-.5,p,0)),a[c]+=t;return a}},697:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.observeDevicePixelDimensions=function(f,h,C){let b=new h.ResizeObserver((_=>{const o=_.find((E=>E.target===f));if(!o)return;if(!("devicePixelContentBoxSize"in o))return b?.disconnect(),void(b=void 0);const r=o.devicePixelContentBoxSize[0].inlineSize,p=o.devicePixelContentBoxSize[0].blockSize;r>0&&p>0&&C(r,p)}));try{b.observe(f,{box:["device-pixel-content-box"]})}catch{b.disconnect(),b=void 0}return(0,i.toDisposable)((()=>b?.disconnect()))};const i=v(2540)},3028:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphRenderer=void 0;const i=v(2115),f=v(1564),h=v(2540),C=v(5719),b=v(4959),_=11,o=_*Float32Array.BYTES_PER_ELEMENT;let r,p=0,E=0,t=0;class R extends h.Disposable{constructor(n,s,a,c){super(),this._terminal=n,this._gl=s,this._dimensions=a,this._optionsService=c,this._activeBuffer=0,this._vertices={count:0,attributes:new Float32Array(0),attributesBuffers:[new Float32Array(0),new Float32Array(0)]};const l=this._gl;i.TextureAtlas.maxAtlasPages===void 0&&(i.TextureAtlas.maxAtlasPages=Math.min(32,(0,b.throwIfFalsy)(l.getParameter(l.MAX_TEXTURE_IMAGE_UNITS))),i.TextureAtlas.maxTextureSize=(0,b.throwIfFalsy)(l.getParameter(l.MAX_TEXTURE_SIZE))),this._program=(0,b.throwIfFalsy)((0,C.createProgram)(l,`#version 300 es
1
+ import{z as We}from"./index-C1VaWNuD.js";function Ke(Ie,ke){for(var Se=0;Se<ke.length;Se++){const Ee=ke[Se];if(typeof Ee!="string"&&!Array.isArray(Ee)){for(const ge in Ee)if(ge!=="default"&&!(ge in Ie)){const De=Object.getOwnPropertyDescriptor(Ee,ge);De&&Object.defineProperty(Ie,ge,De.get?De:{enumerable:!0,get:()=>Ee[ge]})}}}return Object.freeze(Object.defineProperty(Ie,Symbol.toStringTag,{value:"Module"}))}var Ne={exports:{}},Fe;function He(){return Fe||(Fe=1,(function(Ie,ke){(function(Se,Ee){Ie.exports=Ee()})(globalThis,(()=>(()=>{var Se={6864:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CellColorResolver=void 0;const i=v(1564),f=v(7993),h=v(4959);let C,b=0,_=0,o=!1,r=!1,p=!1,E=0;e.CellColorResolver=class{constructor(t,R,u,n,s,a){this._terminal=t,this._optionService=R,this._selectionRenderModel=u,this._decorationService=n,this._coreBrowserService=s,this._themeService=a,this.result={fg:0,bg:0,ext:0}}resolve(t,R,u,n){if(this.result.bg=t.bg,this.result.fg=t.fg,this.result.ext=268435456&t.bg?t.extended.ext:0,_=0,b=0,r=!1,o=!1,p=!1,C=this._themeService.colors,E=0,t.getCode()!==i.NULL_CELL_CODE&&t.extended.underlineStyle===4){const s=Math.max(1,Math.floor(this._optionService.rawOptions.fontSize*this._coreBrowserService.dpr/15));E=R*n%(2*Math.round(s))}if(this._decorationService.forEachDecorationAtCell(R,u,"bottom",(s=>{s.backgroundColorRGB&&(_=s.backgroundColorRGB.rgba>>8&16777215,r=!0),s.foregroundColorRGB&&(b=s.foregroundColorRGB.rgba>>8&16777215,o=!0)})),p=this._selectionRenderModel.isCellSelected(this._terminal,R,u),p){if(67108864&this.result.fg||50331648&this.result.bg){if(67108864&this.result.fg)switch(50331648&this.result.fg){case 16777216:case 33554432:_=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:_=(16777215&this.result.fg)<<8|255;break;default:_=this._themeService.colors.foreground.rgba}else switch(50331648&this.result.bg){case 16777216:case 33554432:_=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:_=(16777215&this.result.bg)<<8|255}_=f.rgba.blend(_,4294967040&(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}else _=(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba>>8&16777215;if(r=!0,C.selectionForeground&&(b=C.selectionForeground.rgba>>8&16777215,o=!0),(0,h.treatGlyphAsBackgroundColor)(t.getCode())){if(67108864&this.result.fg&&!(50331648&this.result.bg))b=(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba>>8&16777215;else{if(67108864&this.result.fg)switch(50331648&this.result.bg){case 16777216:case 33554432:b=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:b=(16777215&this.result.bg)<<8|255}else switch(50331648&this.result.fg){case 16777216:case 33554432:b=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:b=(16777215&this.result.fg)<<8|255;break;default:b=this._themeService.colors.foreground.rgba}b=f.rgba.blend(b,4294967040&(this._coreBrowserService.isFocused?C.selectionBackgroundOpaque:C.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}o=!0}}this._decorationService.forEachDecorationAtCell(R,u,"top",(s=>{s.backgroundColorRGB&&(_=s.backgroundColorRGB.rgba>>8&16777215,r=!0),s.foregroundColorRGB&&(b=s.foregroundColorRGB.rgba>>8&16777215,o=!0)})),r&&(_=p?-16777216&t.bg&-134217729|_|50331648:-16777216&t.bg|_|50331648),o&&(b=-16777216&t.fg&-67108865|b|50331648),67108864&this.result.fg&&(r&&!o&&(b=50331648&this.result.bg?-134217728&this.result.fg|67108863&this.result.bg:-134217728&this.result.fg|16777215&C.background.rgba>>8|50331648,o=!0),!r&&o&&(_=50331648&this.result.fg?-67108864&this.result.bg|67108863&this.result.fg:-67108864&this.result.bg|16777215&C.foreground.rgba>>8|50331648,r=!0)),C=void 0,this.result.bg=r?_:this.result.bg,this.result.fg=o?b:this.result.fg,this.result.ext&=536870911,this.result.ext|=E<<29&3758096384}}},5670:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.acquireTextureAtlas=function(C,b,_,o,r,p,E,t,R){const u=(0,f.generateConfig)(o,r,p,E,b,_,t,R);for(let a=0;a<h.length;a++){const c=h[a],l=c.ownedBy.indexOf(C);if(l>=0){if((0,f.configEquals)(c.config,u))return c.atlas;c.ownedBy.length===1?(c.atlas.dispose(),h.splice(a,1)):c.ownedBy.splice(l,1);break}}for(let a=0;a<h.length;a++){const c=h[a];if((0,f.configEquals)(c.config,u))return c.ownedBy.push(C),c.atlas}const n=C._core,s={atlas:new i.TextureAtlas(document,u,n.unicodeService),config:u,ownedBy:[C]};return h.push(s),s.atlas},e.removeTerminalFromCache=function(C){for(let b=0;b<h.length;b++){const _=h[b].ownedBy.indexOf(C);if(_!==-1){h[b].ownedBy.length===1?(h[b].atlas.dispose(),h.splice(b,1)):h[b].ownedBy.splice(_,1);break}}};const i=v(2115),f=v(3657),h=[]},3657:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.generateConfig=function(f,h,C,b,_,o,r,p){const E={foreground:o.foreground,background:o.background,cursor:i.NULL_COLOR,cursorAccent:i.NULL_COLOR,selectionForeground:i.NULL_COLOR,selectionBackgroundTransparent:i.NULL_COLOR,selectionBackgroundOpaque:i.NULL_COLOR,selectionInactiveBackgroundTransparent:i.NULL_COLOR,selectionInactiveBackgroundOpaque:i.NULL_COLOR,overviewRulerBorder:i.NULL_COLOR,scrollbarSliderBackground:i.NULL_COLOR,scrollbarSliderHoverBackground:i.NULL_COLOR,scrollbarSliderActiveBackground:i.NULL_COLOR,ansi:o.ansi.slice(),contrastCache:o.contrastCache,halfContrastCache:o.halfContrastCache};return{customGlyphs:_.customGlyphs,devicePixelRatio:r,deviceMaxTextureSize:p,letterSpacing:_.letterSpacing,lineHeight:_.lineHeight,deviceCellWidth:f,deviceCellHeight:h,deviceCharWidth:C,deviceCharHeight:b,fontFamily:_.fontFamily,fontSize:_.fontSize,fontWeight:_.fontWeight,fontWeightBold:_.fontWeightBold,allowTransparency:_.allowTransparency,drawBoldTextInBrightColors:_.drawBoldTextInBrightColors,minimumContrastRatio:_.minimumContrastRatio,colors:E}},e.configEquals=function(f,h){for(let C=0;C<f.colors.ansi.length;C++)if(f.colors.ansi[C].rgba!==h.colors.ansi[C].rgba)return!1;return f.devicePixelRatio===h.devicePixelRatio&&f.customGlyphs===h.customGlyphs&&f.lineHeight===h.lineHeight&&f.letterSpacing===h.letterSpacing&&f.fontFamily===h.fontFamily&&f.fontSize===h.fontSize&&f.fontWeight===h.fontWeight&&f.fontWeightBold===h.fontWeightBold&&f.allowTransparency===h.allowTransparency&&f.deviceCharWidth===h.deviceCharWidth&&f.deviceCharHeight===h.deviceCharHeight&&f.drawBoldTextInBrightColors===h.drawBoldTextInBrightColors&&f.minimumContrastRatio===h.minimumContrastRatio&&f.colors.foreground.rgba===h.colors.foreground.rgba&&f.colors.background.rgba===h.colors.background.rgba},e.is256Color=function(f){return(50331648&f)==16777216||(50331648&f)==33554432};const i=v(7993)},2e3:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_BASELINE=e.DIM_OPACITY=void 0;const i=v(7095);e.DIM_OPACITY=.5,e.TEXT_BASELINE=i.isFirefox||i.isLegacyEdge?"bottom":"ideographic"},3773:(j,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CursorBlinkStateManager=void 0,e.CursorBlinkStateManager=class{constructor(v,i){this._renderCallback=v,this._coreBrowserService=i,this.isCursorVisible=!0,this._coreBrowserService.isFocused&&this._restartInterval()}get isPaused(){return!(this._blinkStartTimeout||this._blinkInterval)}dispose(){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}restartBlinkAnimation(){this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))))}_restartInterval(v=600){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=this._coreBrowserService.window.setTimeout((()=>{if(this._animationTimeRestarted){const i=600-(Date.now()-this._animationTimeRestarted);if(this._animationTimeRestarted=void 0,i>0)return void this._restartInterval(i)}this.isCursorVisible=!1,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0})),this._blinkInterval=this._coreBrowserService.window.setInterval((()=>{if(this._animationTimeRestarted){const i=600-(Date.now()-this._animationTimeRestarted);return this._animationTimeRestarted=void 0,void this._restartInterval(i)}this.isCursorVisible=!this.isCursorVisible,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))}),600)}),v)}pause(){this.isCursorVisible=!0,this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}resume(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()}}},9705:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.powerlineDefinitions=e.boxDrawingDefinitions=e.blockElementDefinitions=void 0,e.tryDrawCustomChar=function(o,r,p,E,t,R,u,n){const s=e.blockElementDefinitions[r];if(s)return(function(L,w,S,g,A,U){for(let D=0;D<w.length;D++){const P=w[D],B=A/8,M=U/8;L.fillRect(S+P.x*B,g+P.y*M,P.w*B,P.h*M)}})(o,s,p,E,t,R),!0;const a=f[r];if(a)return(function(L,w,S,g,A,U){let D=h.get(w);D||(D=new Map,h.set(w,D));const P=L.fillStyle;if(typeof P!="string")throw new Error(`Unexpected fillStyle type "${P}"`);let B=D.get(P);if(!B){const M=w[0].length,y=w.length,x=L.canvas.ownerDocument.createElement("canvas");x.width=M,x.height=y;const I=(0,i.throwIfFalsy)(x.getContext("2d")),O=new ImageData(M,y);let N,W,K,$;if(P.startsWith("#"))N=parseInt(P.slice(1,3),16),W=parseInt(P.slice(3,5),16),K=parseInt(P.slice(5,7),16),$=P.length>7&&parseInt(P.slice(7,9),16)||1;else{if(!P.startsWith("rgba"))throw new Error(`Unexpected fillStyle color format "${P}" when drawing pattern glyph`);[N,W,K,$]=P.substring(5,P.length-1).split(",").map((X=>parseFloat(X)))}for(let X=0;X<y;X++)for(let Z=0;Z<M;Z++)O.data[4*(X*M+Z)]=N,O.data[4*(X*M+Z)+1]=W,O.data[4*(X*M+Z)+2]=K,O.data[4*(X*M+Z)+3]=w[X][Z]*(255*$);I.putImageData(O,0,0),B=(0,i.throwIfFalsy)(L.createPattern(x,null)),D.set(P,B)}L.fillStyle=B,L.fillRect(S,g,A,U)})(o,a,p,E,t,R),!0;const c=e.boxDrawingDefinitions[r];if(c)return(function(L,w,S,g,A,U,D){L.strokeStyle=L.fillStyle;for(const[P,B]of Object.entries(w)){let M;L.beginPath(),L.lineWidth=D*Number.parseInt(P),M=typeof B=="function"?B(.15,.15/U*A):B;for(const y of M.split(" ")){const x=y[0],I=b[x];if(!I){console.error(`Could not find drawing instructions for "${x}"`);continue}const O=y.substring(1).split(",");O[0]&&O[1]&&I(L,_(O,A,U,S,g,!0,D))}L.stroke(),L.closePath()}})(o,c,p,E,t,R,n),!0;const l=e.powerlineDefinitions[r];return!!l&&((function(L,w,S,g,A,U,D,P){const B=new Path2D;B.rect(S,g,A,U),L.clip(B),L.beginPath();const M=D/12;L.lineWidth=P*M;for(const y of w.d.split(" ")){const x=y[0],I=b[x];if(!I){console.error(`Could not find drawing instructions for "${x}"`);continue}const O=y.substring(1).split(",");O[0]&&O[1]&&I(L,_(O,A,U,S,g,!1,P,(w.leftPadding??0)*(M/2),(w.rightPadding??0)*(M/2)))}w.type===1?(L.strokeStyle=L.fillStyle,L.stroke()):L.fill(),L.closePath()})(o,l,p,E,t,R,u,n),!0)};const i=v(4959);e.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:8,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:4,y:0,w:4,h:4}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};const f={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};e.boxDrawingDefinitions={"─":{1:"M0,.5 L1,.5"},"━":{3:"M0,.5 L1,.5"},"│":{1:"M.5,0 L.5,1"},"┃":{3:"M.5,0 L.5,1"},"┌":{1:"M0.5,1 L.5,.5 L1,.5"},"┏":{3:"M0.5,1 L.5,.5 L1,.5"},"┐":{1:"M0,.5 L.5,.5 L.5,1"},"┓":{3:"M0,.5 L.5,.5 L.5,1"},"└":{1:"M.5,0 L.5,.5 L1,.5"},"┗":{3:"M.5,0 L.5,.5 L1,.5"},"┘":{1:"M.5,0 L.5,.5 L0,.5"},"┛":{3:"M.5,0 L.5,.5 L0,.5"},"├":{1:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┣":{3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┤":{1:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┫":{3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┬":{1:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┳":{3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┴":{1:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┻":{3:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┼":{1:"M0,.5 L1,.5 M.5,0 L.5,1"},"╋":{3:"M0,.5 L1,.5 M.5,0 L.5,1"},"╴":{1:"M.5,.5 L0,.5"},"╸":{3:"M.5,.5 L0,.5"},"╵":{1:"M.5,.5 L.5,0"},"╹":{3:"M.5,.5 L.5,0"},"╶":{1:"M.5,.5 L1,.5"},"╺":{3:"M.5,.5 L1,.5"},"╷":{1:"M.5,.5 L.5,1"},"╻":{3:"M.5,.5 L.5,1"},"═":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"║":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╒":{1:(o,r)=>`M.5,1 L.5,${.5-r} L1,${.5-r} M.5,${.5+r} L1,${.5+r}`},"╓":{1:(o,r)=>`M${.5-o},1 L${.5-o},.5 L1,.5 M${.5+o},.5 L${.5+o},1`},"╔":{1:(o,r)=>`M1,${.5-r} L${.5-o},${.5-r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1`},"╕":{1:(o,r)=>`M0,${.5-r} L.5,${.5-r} L.5,1 M0,${.5+r} L.5,${.5+r}`},"╖":{1:(o,r)=>`M${.5+o},1 L${.5+o},.5 L0,.5 M${.5-o},.5 L${.5-o},1`},"╗":{1:(o,r)=>`M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M0,${.5-r} L${.5+o},${.5-r} L${.5+o},1`},"╘":{1:(o,r)=>`M.5,0 L.5,${.5+r} L1,${.5+r} M.5,${.5-r} L1,${.5-r}`},"╙":{1:(o,r)=>`M1,.5 L${.5-o},.5 L${.5-o},0 M${.5+o},.5 L${.5+o},0`},"╚":{1:(o,r)=>`M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0 M1,${.5+r} L${.5-o},${.5+r} L${.5-o},0`},"╛":{1:(o,r)=>`M0,${.5+r} L.5,${.5+r} L.5,0 M0,${.5-r} L.5,${.5-r}`},"╜":{1:(o,r)=>`M0,.5 L${.5+o},.5 L${.5+o},0 M${.5-o},.5 L${.5-o},0`},"╝":{1:(o,r)=>`M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M0,${.5+r} L${.5+o},${.5+r} L${.5+o},0`},"╞":{1:(o,r)=>`M.5,0 L.5,1 M.5,${.5-r} L1,${.5-r} M.5,${.5+r} L1,${.5+r}`},"╟":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1 M${.5+o},.5 L1,.5`},"╠":{1:(o,r)=>`M${.5-o},0 L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╡":{1:(o,r)=>`M.5,0 L.5,1 M0,${.5-r} L.5,${.5-r} M0,${.5+r} L.5,${.5+r}`},"╢":{1:(o,r)=>`M0,.5 L${.5-o},.5 M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╣":{1:(o,r)=>`M${.5+o},0 L${.5+o},1 M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0`},"╤":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r} M.5,${.5+r} L.5,1`},"╥":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},.5 L${.5-o},1 M${.5+o},.5 L${.5+o},1`},"╦":{1:(o,r)=>`M0,${.5-r} L1,${.5-r} M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1`},"╧":{1:(o,r)=>`M.5,0 L.5,${.5-r} M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"╨":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},.5 L${.5-o},0 M${.5+o},.5 L${.5+o},0`},"╩":{1:(o,r)=>`M0,${.5+r} L1,${.5+r} M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╪":{1:(o,r)=>`M.5,0 L.5,1 M0,${.5-r} L1,${.5-r} M0,${.5+r} L1,${.5+r}`},"╫":{1:(o,r)=>`M0,.5 L1,.5 M${.5-o},0 L${.5-o},1 M${.5+o},0 L${.5+o},1`},"╬":{1:(o,r)=>`M0,${.5+r} L${.5-o},${.5+r} L${.5-o},1 M1,${.5+r} L${.5+o},${.5+r} L${.5+o},1 M0,${.5-r} L${.5-o},${.5-r} L${.5-o},0 M1,${.5-r} L${.5+o},${.5-r} L${.5+o},0`},"╱":{1:"M1,0 L0,1"},"╲":{1:"M0,0 L1,1"},"╳":{1:"M1,0 L0,1 M0,0 L1,1"},"╼":{1:"M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"╽":{1:"M.5,.5 L.5,0",3:"M.5,.5 L.5,1"},"╾":{1:"M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"╿":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┍":{1:"M.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┎":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┑":{1:"M.5,.5 L.5,1",3:"M.5,.5 L0,.5"},"┒":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┕":{1:"M.5,.5 L.5,0",3:"M.5,.5 L1,.5"},"┖":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┙":{1:"M.5,.5 L.5,0",3:"M.5,.5 L0,.5"},"┚":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,0"},"┝":{1:"M.5,0 L.5,1",3:"M.5,.5 L1,.5"},"┞":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┟":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┠":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1"},"┡":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"┢":{1:"M.5,.5 L.5,0",3:"M0.5,1 L.5,.5 L1,.5"},"┥":{1:"M.5,0 L.5,1",3:"M.5,.5 L0,.5"},"┦":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┧":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┨":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1"},"┩":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L0,.5"},"┪":{1:"M.5,.5 L.5,0",3:"M0,.5 L.5,.5 L.5,1"},"┭":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┮":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┯":{1:"M.5,.5 L.5,1",3:"M0,.5 L1,.5"},"┰":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"┱":{1:"M.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"┲":{1:"M.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"┵":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┶":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┷":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5"},"┸":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,0"},"┹":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"┺":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,.5 L1,.5"},"┽":{1:"M.5,0 L.5,1 M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┾":{1:"M.5,0 L.5,1 M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┿":{1:"M.5,0 L.5,1",3:"M0,.5 L1,.5"},"╀":{1:"M0,.5 L1,.5 M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"╁":{1:"M.5,.5 L.5,0 M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"╂":{1:"M0,.5 L1,.5",3:"M.5,0 L.5,1"},"╃":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"╄":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"╅":{1:"M.5,0 L.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"╆":{1:"M.5,0 L.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"╇":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0 M0,.5 L1,.5"},"╈":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"╉":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"╊":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"╌":{1:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"╍":{3:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"┄":{1:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┅":{3:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┈":{1:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"┉":{3:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"╎":{1:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"╏":{3:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"┆":{1:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┇":{3:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┊":{1:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"┋":{3:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"╭":{1:(o,r)=>`M.5,1 L.5,${.5+r/.15*.5} C.5,${.5+r/.15*.5},.5,.5,1,.5`},"╮":{1:(o,r)=>`M.5,1 L.5,${.5+r/.15*.5} C.5,${.5+r/.15*.5},.5,.5,0,.5`},"╯":{1:(o,r)=>`M.5,0 L.5,${.5-r/.15*.5} C.5,${.5-r/.15*.5},.5,.5,0,.5`},"╰":{1:(o,r)=>`M.5,0 L.5,${.5-r/.15*.5} C.5,${.5-r/.15*.5},.5,.5,1,.5`}},e.powerlineDefinitions={"":{d:"M.3,1 L.03,1 L.03,.88 C.03,.82,.06,.78,.11,.73 C.15,.7,.2,.68,.28,.65 L.43,.6 C.49,.58,.53,.56,.56,.53 C.59,.5,.6,.47,.6,.43 L.6,.27 L.4,.27 L.69,.1 L.98,.27 L.78,.27 L.78,.46 C.78,.52,.76,.56,.72,.61 C.68,.66,.63,.67,.56,.7 L.48,.72 C.42,.74,.38,.76,.35,.78 C.32,.8,.31,.84,.31,.88 L.31,1 M.3,.5 L.03,.59 L.03,.09 L.3,.09 L.3,.655",type:0},"":{d:"M.7,.4 L.7,.47 L.2,.47 L.2,.03 L.355,.03 L.355,.4 L.705,.4 M.7,.5 L.86,.5 L.86,.95 L.69,.95 L.44,.66 L.46,.86 L.46,.95 L.3,.95 L.3,.49 L.46,.49 L.71,.78 L.69,.565 L.69,.5",type:0},"":{d:"M.25,.94 C.16,.94,.11,.92,.11,.87 L.11,.53 C.11,.48,.15,.455,.23,.45 L.23,.3 C.23,.25,.26,.22,.31,.19 C.36,.16,.43,.15,.51,.15 C.59,.15,.66,.16,.71,.19 C.77,.22,.79,.26,.79,.3 L.79,.45 C.87,.45,.91,.48,.91,.53 L.91,.87 C.91,.92,.86,.94,.77,.94 L.24,.94 M.53,.2 C.49,.2,.45,.21,.42,.23 C.39,.25,.38,.27,.38,.3 L.38,.45 L.68,.45 L.68,.3 C.68,.27,.67,.25,.64,.23 C.61,.21,.58,.2,.53,.2 M.58,.82 L.58,.66 C.63,.65,.65,.63,.65,.6 C.65,.58,.64,.57,.61,.56 C.58,.55,.56,.54,.52,.54 C.48,.54,.46,.55,.43,.56 C.4,.57,.39,.59,.39,.6 C.39,.63,.41,.64,.46,.66 L.46,.82 L.57,.82",type:0},"":{d:"M0,0 L1,.5 L0,1",type:0,rightPadding:2},"":{d:"M-1,-.5 L1,.5 L-1,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1,0 L0,.5 L1,1",type:0,leftPadding:2},"":{d:"M2,-.5 L0,.5 L2,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M0,0 L0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:0,rightPadding:1},"":{d:"M.2,1 C.422,1,.8,.826,.78,.5 C.8,.174,0.422,0,.2,0",type:1,rightPadding:1},"":{d:"M1,0 L1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:0,leftPadding:1},"":{d:"M.8,1 C0.578,1,0.2,.826,.22,.5 C0.2,0.174,0.578,0,0.8,0",type:1,leftPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L-.5,1.5",type:0},"":{d:"M-.5,-.5 L1.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1.5,-.5 L-.5,1.5 L1.5,1.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5 L-.5,-.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L1.5,-.5",type:0}},e.powerlineDefinitions[""]=e.powerlineDefinitions[""],e.powerlineDefinitions[""]=e.powerlineDefinitions[""];const h=new Map;function C(o,r,p=0){return Math.max(Math.min(o,r),p)}const b={C:(o,r)=>o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]),L:(o,r)=>o.lineTo(r[0],r[1]),M:(o,r)=>o.moveTo(r[0],r[1])};function _(o,r,p,E,t,R,u,n=0,s=0){const a=o.map((c=>parseFloat(c)||parseInt(c)));if(a.length<2)throw new Error("Too few arguments for instruction");for(let c=0;c<a.length;c+=2)a[c]*=r-n*u-s*u,R&&a[c]!==0&&(a[c]=C(Math.round(a[c]+.5)-.5,r,0)),a[c]+=E+n*u;for(let c=1;c<a.length;c+=2)a[c]*=p,R&&a[c]!==0&&(a[c]=C(Math.round(a[c]+.5)-.5,p,0)),a[c]+=t;return a}},697:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.observeDevicePixelDimensions=function(f,h,C){let b=new h.ResizeObserver((_=>{const o=_.find((E=>E.target===f));if(!o)return;if(!("devicePixelContentBoxSize"in o))return b?.disconnect(),void(b=void 0);const r=o.devicePixelContentBoxSize[0].inlineSize,p=o.devicePixelContentBoxSize[0].blockSize;r>0&&p>0&&C(r,p)}));try{b.observe(f,{box:["device-pixel-content-box"]})}catch{b.disconnect(),b=void 0}return(0,i.toDisposable)((()=>b?.disconnect()))};const i=v(2540)},3028:(j,e,v)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GlyphRenderer=void 0;const i=v(2115),f=v(1564),h=v(2540),C=v(5719),b=v(4959),_=11,o=_*Float32Array.BYTES_PER_ELEMENT;let r,p=0,E=0,t=0;class R extends h.Disposable{constructor(n,s,a,c){super(),this._terminal=n,this._gl=s,this._dimensions=a,this._optionsService=c,this._activeBuffer=0,this._vertices={count:0,attributes:new Float32Array(0),attributesBuffers:[new Float32Array(0),new Float32Array(0)]};const l=this._gl;i.TextureAtlas.maxAtlasPages===void 0&&(i.TextureAtlas.maxAtlasPages=Math.min(32,(0,b.throwIfFalsy)(l.getParameter(l.MAX_TEXTURE_IMAGE_UNITS))),i.TextureAtlas.maxTextureSize=(0,b.throwIfFalsy)(l.getParameter(l.MAX_TEXTURE_SIZE))),this._program=(0,b.throwIfFalsy)((0,C.createProgram)(l,`#version 300 es
2
2
  layout (location = 0) in vec2 a_unitquad;
3
3
  layout (location = 1) in vec2 a_cellpos;
4
4
  layout (location = 2) in vec2 a_offset;
@@ -1,4 +1,4 @@
1
- import{c as Q}from"./createLucideIcon-DezKXSG2.js";import{r as g,j as h}from"./index-DvLtl7rV.js";import{m as j,p as pt,a as rs,n as Z,i as as,b as Ce,d as De,r as Rt,t as Re,f as R,e as ot,S as ls,g as B,h as Le,j as xt,k as Ae,o as D,q as Y,s as vt,v as Ut,M as cs,w as Me,P as Ve,x as us,y as Ne,z as _t,A as hs,B as et,C as ds,c as fs}from"./use-reduced-motion-x8pJMVrG.js";import{i as _,b as ms,r as ps,s as Ht,p as Lt,d as gs,e as Be,f as ys,h as q,t as X,j as bt,k as Ft,l as xs,m as vs,n as bs,o as Ps,q as Nt,u as Pt,v as ws,w as ks,x as Ie,y as Ts,z as Ss,A as Es,B as js,C as Wt,D as Cs,F as ze,g as Ds,a as Rs,c as Ls}from"./gestures-DN4hEeqv.js";import{o as As,t as Ms,a as Vs}from"./Provider-CtXJeLrP.js";import{L as st}from"./loader-circle-pM56HNhR.js";import{R as Oe}from"./radio-BOxBQX-T.js";import{b as Ns,M as Bs}from"./DocumentFocusViewer-Do3wQ_3Z.js";import{C as Is}from"./chevron-down-wciXnOQz.js";import{P as zs}from"./plus-Co-dqKul.js";import{S as Os,i as $s}from"./text-BP3oyl8-.js";import"./perf-PX8Rx0EP.js";import{B as Us}from"./bot-rd0awxD3.js";import{d as _s}from"./colors-BtO5_zlx.js";const Hs=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],Fs=Q("history",Hs);const Ws=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],Gs=Q("list-tree",Ws);const qs=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Xs=Q("play",qs);const Ys=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Gt=Q("settings-2",Ys);const Ks=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],Qn=Q("volume-2",Ks);const Zs=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],Jn=Q("volume-x",Zs);function Qs(t){return t==="x"||t==="y"?_[t]?null:(_[t]=!0,()=>{_[t]=!1}):_.x||_.y?null:(_.x=_.y=!0,()=>{_.x=_.y=!1})}function Bt(t){return ms(t)&&"ownerSVGElement"in t}const ht=new WeakMap;let dt;const $e=(t,e,i)=>(s,r)=>r&&r[0]?r[0][t+"Size"]:Bt(s)&&"getBBox"in s?s.getBBox()[e]:s[i],Js=$e("inline","width","offsetWidth"),ti=$e("block","height","offsetHeight");function ei({target:t,borderBoxSize:e}){ht.get(t)?.forEach(i=>{i(t,{get width(){return Js(t,e)},get height(){return ti(t,e)}})})}function si(t){t.forEach(ei)}function ii(){typeof ResizeObserver>"u"||(dt=new ResizeObserver(si))}function ni(t,e){dt||ii();const i=ps(t);return i.forEach(s=>{let r=ht.get(s);r||(r=new Set,ht.set(s,r)),r.add(e),dt?.observe(s)}),()=>{i.forEach(s=>{const r=ht.get(s);r?.delete(e),r?.size||dt?.unobserve(s)})}}const ft=new Set;let K;function oi(){K=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};ft.forEach(e=>e(t))},window.addEventListener("resize",K)}function ri(t){return ft.add(t),K||oi(),()=>{ft.delete(t),!ft.size&&typeof K=="function"&&(window.removeEventListener("resize",K),K=void 0)}}function qt(t,e){return typeof t=="function"?ri(t):ni(t,e)}function ai(t){return Bt(t)&&t.tagName==="svg"}function At(t,e){t.min=e.min,t.max=e.max}function z(t,e){At(t.x,e.x),At(t.y,e.y)}function Xt(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Ue=1e-4,li=1-Ue,ci=1+Ue,_e=.01,ui=0-_e,hi=0+_e;function L(t){return t.max-t.min}function di(t,e,i){return Math.abs(t-e)<=i}function Yt(t,e,i,s=.5){t.origin=s,t.originPoint=j(e.min,e.max,t.origin),t.scale=L(i)/L(e),t.translate=j(i.min,i.max,t.origin)-t.originPoint,(t.scale>=li&&t.scale<=ci||isNaN(t.scale))&&(t.scale=1),(t.translate>=ui&&t.translate<=hi||isNaN(t.translate))&&(t.translate=0)}function it(t,e,i,s){Yt(t.x,e.x,i.x,s?s.originX:void 0),Yt(t.y,e.y,i.y,s?s.originY:void 0)}function Kt(t,e,i,s=0){const r=s?j(i.min,i.max,s):i.min;t.min=r+e.min,t.max=t.min+L(e)}function fi(t,e,i,s){Kt(t.x,e.x,i.x,s?.x),Kt(t.y,e.y,i.y,s?.y)}function Zt(t,e,i,s=0){const r=s?j(i.min,i.max,s):i.min;t.min=e.min-r,t.max=t.min+L(e)}function gt(t,e,i,s){Zt(t.x,e.x,i.x,s?.x),Zt(t.y,e.y,i.y,s?.y)}function Qt(t,e,i,s,r){return t-=e,t=Ht(t,1/i,s),r!==void 0&&(t=Ht(t,1/r,s)),t}function mi(t,e=0,i=1,s=.5,r,a=t,n=t){if(pt.test(e)&&(e=parseFloat(e),e=j(n.min,n.max,e/100)-n.min),typeof e!="number")return;let o=j(a.min,a.max,s);t===a&&(o-=e),t.min=Qt(t.min,e,i,o,r),t.max=Qt(t.max,e,i,o,r)}function Jt(t,e,[i,s,r],a,n){mi(t,e[i],e[s],e[r],e.scale,a,n)}const pi=["x","scaleX","originX"],gi=["y","scaleY","originY"];function te(t,e,i,s){Jt(t.x,e,pi,i?i.x:void 0,s?s.x:void 0),Jt(t.y,e,gi,i?i.y:void 0,s?s.y:void 0)}function ee(t){return t.translate===0&&t.scale===1}function He(t){return ee(t.x)&&ee(t.y)}function se(t,e){return t.min===e.min&&t.max===e.max}function yi(t,e){return se(t.x,e.x)&&se(t.y,e.y)}function ie(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Fe(t,e){return ie(t.x,e.x)&&ie(t.y,e.y)}function ne(t){return L(t.x)/L(t.y)}function oe(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function O(t){return[t("x"),t("y")]}function xi(t,e,i){let s="";const r=t.x.translate/e.x,a=t.y.translate/e.y,n=i?.z||0;if((r||a||n)&&(s=`translate3d(${r}px, ${a}px, ${n}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:c,rotate:u,pathRotation:d,rotateX:f,rotateY:p,skewX:x,skewY:y}=i;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotate(${d}deg) `),f&&(s+=`rotateX(${f}deg) `),p&&(s+=`rotateY(${p}deg) `),x&&(s+=`skewX(${x}deg) `),y&&(s+=`skewY(${y}deg) `)}const o=t.x.scale*e.x,l=t.y.scale*e.y;return(o!==1||l!==1)&&(s+=`scale(${o}, ${l})`),s||"none"}const We=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],vi=We.length,re=t=>typeof t=="string"?parseFloat(t):t,ae=t=>typeof t=="number"||rs.test(t);function bi(t,e,i,s,r,a){r?(t.opacity=j(0,i.opacity??1,Pi(s)),t.opacityExit=j(e.opacity??1,0,wi(s))):a&&(t.opacity=j(e.opacity??1,i.opacity??1,s));for(let n=0;n<vi;n++){const o=We[n];let l=le(e,o),c=le(i,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||ae(l)===ae(c)?(t[o]=Math.max(j(re(l),re(c),s),0),(pt.test(c)||pt.test(l))&&(t[o]+="%")):t[o]=c}(e.rotate||i.rotate)&&(t.rotate=j(e.rotate||0,i.rotate||0,s))}function le(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Pi=Ge(0,.5,gs),wi=Ge(.5,.95,Z);function Ge(t,e,i){return s=>s<t?0:s>e?1:i(Lt(t,e,s))}function ki(t,e,i){const s=as(t)?t:Ce(t);return s.start(Be("",s,e,i)),s.animation}const Ti=(t,e)=>t.depth-e.depth;class Si{constructor(){this.children=[],this.isDirty=!1}add(e){De(this.children,e),this.isDirty=!0}remove(e){Rt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ti),this.isDirty=!1,this.children.forEach(e)}}function Ei(t,e){const i=Re.now(),s=({timestamp:r})=>{const a=r-i;a>=e&&(ot(s),t(a-e))};return R.setup(s,!0),()=>ot(s)}class ji{constructor(){this.members=[]}add(e){De(this.members,e);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===e||s===this.lead||s===this.prevLead)continue;const r=s.instance;(!r||r.isConnected===!1)&&!s.snapshot&&(Rt(this.members,s),s.unmount())}e.scheduleRender()}remove(e){if(Rt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(e){for(let i=this.members.indexOf(e)-1;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1&&s.instance?.isConnected!==!1)return this.promote(s),!0}return!1}promote(e,i){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=s.options,{layoutDependency:a}=e.options;(r===void 0||r!==a)&&(e.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const mt={hasAnimatedSinceResize:!0,hasEverUpdated:!1},wt=["","X","Y","Z"],Ci=1e3;let Di=0;function kt(t,e,i,s){const{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function qe(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=Ps(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:r,layoutId:a}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",R,!(r||a))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&qe(s)}function Xe({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(n={},o=e?.()){this.id=Di++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ai),this.nodes.forEach(zi),this.nodes.forEach(Oi),this.nodes.forEach(Mi)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Si)}addEventListener(n,o){return this.eventHandlers.has(n)||this.eventHandlers.set(n,new ls),this.eventHandlers.get(n).add(o)}notifyListeners(n,...o){const l=this.eventHandlers.get(n);l&&l.notify(...o)}hasListeners(n){return this.eventHandlers.has(n)}mount(n){if(this.instance)return;this.isSVG=Bt(n)&&!ai(n),this.instance=n;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),t){let u,d=0;const f=()=>this.root.updateBlockedByResize=!1;R.read(()=>{d=window.innerWidth}),t(n,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,u&&u(),u=Ei(f,250),mt.hasAnimatedSinceResize&&(mt.hasAnimatedSinceResize=!1,this.nodes.forEach(he)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||c.getDefaultTransition()||Fi,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!Fe(this.targetLayout,p),P=!d&&f;if(this.options.layoutRoot||this.resumeFrom||P||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const k={...ys(x,"layout"),onPlay:y,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k),this.setAnimationOrigin(u,P,k.path)}else d||he(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ot(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($i),this.animationId++)}getTransformTemplate(){const{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qe(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Ni),this.nodes.forEach(ce);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ue);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Bi),this.nodes.forEach(Ii),this.nodes.forEach(Ri),this.nodes.forEach(Li)):this.nodes.forEach(ue),this.clearAllSnapshots();const o=Re.now();B.delta=Le(0,1e3/60,o-B.timestamp),B.timestamp=o,B.isProcessing=!0,xt.update.process(B),xt.preRender.process(B),xt.render.process(B),B.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ae.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Vi),this.sharedNodes.forEach(Ui)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!L(this.snapshot.measuredBox.x)&&!L(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const n=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=D()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,n?n.layoutBox:void 0)}updateScroll(n="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===n&&(o=!1),o&&this.instance){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:n,isRoot:l,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!r)return;const n=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!He(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;n&&this.instance&&(o||q(this.latestValues)||u)&&(r(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(n=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return n&&(l=this.removeTransform(l)),Wi(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:n}=this.options;if(!n)return D();const o=n.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Gi))){const{scroll:c}=this.root;c&&(X(o.x,c.offset.x),X(o.y,c.offset.y))}return o}removeElementScroll(n){const o=D();if(z(o,n),this.scroll?.wasRoot)return o;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&z(o,n),X(o.x,u.offset.x),X(o.y,u.offset.y))}return o}applyTransform(n,o=!1,l){const c=l||D();z(c,n);for(let u=0;u<this.path.length;u++){const d=this.path[u];!o&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(X(c.x,-d.scroll.offset.x),X(c.y,-d.scroll.offset.y)),q(d.latestValues)&&bt(c,d.latestValues,d.layout?.layoutBox)}return q(this.latestValues)&&bt(c,this.latestValues,this.layout?.layoutBox),c}removeTransform(n){const o=D();z(o,n);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!q(c.latestValues))continue;let u;c.instance&&(Ft(c.latestValues)&&c.updateSnapshot(),u=D(),z(u,c.measurePageBox())),te(o,c.latestValues,c.snapshot?.layoutBox,u)}return q(this.latestValues)&&te(o,this.latestValues),o}setTargetDelta(n){this.targetDelta=n,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(n){this.options={...this.options,...n,crossfade:n.crossfade!==void 0?n.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==B.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(n=!1){const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(n||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=B.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=D(),this.targetWithTransforms=D()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fi(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):z(this.target,this.layout.layoutBox),xs(this.target,this.targetDelta)):z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ft(this.parent.latestValues)||vs(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(n,o,l){this.relativeParent=n,this.linkedParentVersion=n.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=D(),this.relativeTargetOrigin=D(),gt(this.relativeTargetOrigin,o,l,this.options.layoutAnchor||void 0),z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const n=this.getLead(),o=!!this.resumingFrom||this!==n;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===B.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;z(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;bs(this.layoutCorrected,this.treeScale,this.path,o),n.layout&&!n.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(n.target=n.layout.layoutBox,n.targetWithTransforms=D());const{target:p}=n;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xt(this.prevProjectionDelta.x,this.projectionDelta.x),Xt(this.prevProjectionDelta.y,this.projectionDelta.y)),it(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!oe(this.projectionDelta.x,this.prevProjectionDelta.x)||!oe(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(n=!0){if(this.options.visualElement?.scheduleRender(),n){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(n,o=!1,l){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Y();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const p=D(),x=c?c.source:void 0,y=this.layout?this.layout.source:void 0,b=x!==y,v=this.getStack(),P=!v||v.members.length<=1,k=!!(b&&!P&&this.options.crossfade===!0&&!this.path.some(Hi));this.animationProgress=0;let w;const A=l?.interpolateProjection(n);this.mixTargetDelta=E=>{const C=E/1e3,T=A?.(C);T?(f.x.translate=T.x,f.x.scale=j(n.x.scale,1,C),f.x.origin=n.x.origin,f.x.originPoint=n.x.originPoint,f.y.translate=T.y,f.y.scale=j(n.y.scale,1,C),f.y.origin=n.y.origin,f.y.originPoint=n.y.originPoint):(de(f.x,n.x,C),de(f.y,n.y,C)),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gt(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),_i(this.relativeTarget,this.relativeTargetOrigin,p,C),w&&yi(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=D()),z(w,this.relativeTarget)),b&&(this.animationValues=d,bi(d,u,this.latestValues,C,k,P)),T&&T.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=T.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ot(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.update(()=>{mt.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ce(0)),this.motionValue.jump(0,!1),this.currentAnimation=ki(this.motionValue,[0,1e3],{...n,velocity:0,isSync:!0,onUpdate:o=>{this.mixTargetDelta(o),n.onUpdate&&n.onUpdate(o)},onStop:()=>{},onComplete:()=>{n.onComplete&&n.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ci),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const n=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=n;if(!(!o||!l||!c)){if(this!==n&&this.layout&&c&&Ye(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||D();const d=L(this.layout.layoutBox.x);l.x.min=n.target.x.min,l.x.max=l.x.min+d;const f=L(this.layout.layoutBox.y);l.y.min=n.target.y.min,l.y.max=l.y.min+f}z(o,l),bt(o,u),it(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(n,o){this.sharedNodes.has(n)||this.sharedNodes.set(n,new ji),this.sharedNodes.get(n).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const n=this.getStack();return n?n.lead===this:!0}getLead(){const{layoutId:n}=this.options;return n?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:n}=this.options;return n?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),n&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const n=this.getStack();return n?n.relegate(this):!1}resetSkewAndRotation(){const{visualElement:n}=this.options;if(!n)return;let o=!1;const{latestValues:l}=n;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&kt("z",n,c,this.animationValues);for(let u=0;u<wt.length;u++)kt(`rotate${wt[u]}`,n,c,this.animationValues),kt(`skew${wt[u]}`,n,c,this.animationValues);n.render();for(const u in c)n.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);n.scheduleRender()}applyProjectionStyles(n,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){n.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,n.visibility="",n.opacity="",n.pointerEvents=vt(o?.pointerEvents)||"",n.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(n.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,n.pointerEvents=vt(o?.pointerEvents)||""),this.hasProjected&&!q(this.latestValues)&&(n.transform=l?l({},""):"none",this.hasProjected=!1);return}n.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=xi(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),n.transform=d;const{x:f,y:p}=this.projectionDelta;n.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?n.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:n.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const x in Ut){if(u[x]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:v}=Ut[x],P=d==="none"?u[x]:y(u[x],c);if(b){const k=b.length;for(let w=0;w<k;w++)n[b[w]]=P}else v?this.options.visualElement.renderState.vars[x]=P:n[x]=P}this.options.layoutId&&(n.pointerEvents=c===this?vt(o?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(n=>n.currentAnimation?.stop()),this.root.nodes.forEach(ce),this.root.sharedNodes.clear()}}}function Ri(t){t.updateLayout()}function Li(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=t.layout,{animationType:r}=t.options,a=e.source!==t.layout.source;if(r==="size")O(u=>{const d=a?e.measuredBox[u]:e.layoutBox[u],f=L(d);d.min=i[u].min,d.max=d.min+f});else if(r==="x"||r==="y"){const u=r==="x"?"y":"x";At(a?e.measuredBox[u]:e.layoutBox[u],i[u])}else Ye(r,e.layoutBox,i)&&O(u=>{const d=a?e.measuredBox[u]:e.layoutBox[u],f=L(i[u]);d.max=d.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+f)});const n=Y();it(n,i,e.layoutBox);const o=Y();a?it(o,t.applyTransform(s,!0),e.measuredBox):it(o,i,e.layoutBox);const l=!He(n);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:f}=u;if(d&&f){const p=t.options.layoutAnchor||void 0,x=D();gt(x,e.layoutBox,d.layoutBox,p);const y=D();gt(y,i,f.layoutBox,p),Fe(x,y)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=x,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:n,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function Ai(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Mi(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Vi(t){t.clearSnapshot()}function ce(t){t.clearMeasurements()}function Ni(t){t.isLayoutDirty=!0,t.updateLayout()}function ue(t){t.isLayoutDirty=!1}function Bi(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ii(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function he(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function zi(t){t.resolveTargetDelta()}function Oi(t){t.calcProjection()}function $i(t){t.resetSkewAndRotation()}function Ui(t){t.removeLeadSnapshot()}function de(t,e,i){t.translate=j(e.translate,0,i),t.scale=j(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function fe(t,e,i,s){t.min=j(e.min,i.min,s),t.max=j(e.max,i.max,s)}function _i(t,e,i,s){fe(t.x,e.x,i.x,s),fe(t.y,e.y,i.y,s)}function Hi(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fi={duration:.45,ease:[.4,0,.1,1]},me=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),pe=me("applewebkit/")&&!me("chrome/")?Math.round:Z;function ge(t){t.min=pe(t.min),t.max=pe(t.max)}function Wi(t){ge(t.x),ge(t.y)}function Ye(t,e,i){return t==="position"||t==="preserve-aspect"&&!di(ne(e),ne(i),.2)}function Gi(t){return t!==t.root&&t.scroll?.wasRoot}const qi=Xe({attachResizeListener:(t,e)=>Nt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Tt={current:void 0},Ke=Xe({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Tt.current){const t=new qi({});t.mount(window),t.setOptions({layoutScroll:!0}),Tt.current=t}return Tt.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function ye(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Xi(...t){return e=>{let i=!1;const s=t.map(r=>{const a=ye(r,e);return!i&&typeof a=="function"&&(i=!0),a});if(i)return()=>{for(let r=0;r<s.length;r++){const a=s[r];typeof a=="function"?a():ye(t[r],null)}}}}function Yi(...t){return g.useCallback(Xi(...t),t)}class Ki extends g.Component{getSnapshotBeforeUpdate(e){const i=this.props.childRef.current;if(Pt(i)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,r=Pt(s)&&s.offsetWidth||0,a=Pt(s)&&s.offsetHeight||0,n=getComputedStyle(i),o=this.props.sizeRef.current;o.height=parseFloat(n.height),o.width=parseFloat(n.width),o.top=i.offsetTop,o.left=i.offsetLeft,o.right=r-o.width-o.left,o.bottom=a-o.height-o.top,o.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function Zi({children:t,isPresent:e,anchorX:i,anchorY:s,root:r,pop:a}){const n=g.useId(),o=g.useRef(null),l=g.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=g.useContext(cs),u=t.props?.ref??t?.ref,d=Yi(o,u);return g.useInsertionEffect(()=>{const{width:f,height:p,top:x,left:y,right:b,bottom:v,direction:P}=l.current;if(e||a===!1||!o.current||!f||!p)return;const k=P==="rtl",w=i==="left"?k?`right: ${b}`:`left: ${y}`:k?`left: ${y}`:`right: ${b}`,A=s==="bottom"?`bottom: ${v}`:`top: ${x}`;o.current.dataset.motionPopId=n;const E=document.createElement("style");c&&(E.nonce=c);const C=r??document.head;return C.appendChild(E),E.sheet&&E.sheet.insertRule(`
1
+ import{c as Q}from"./createLucideIcon-Dv8H8m7J.js";import{r as g,j as h}from"./index-C1VaWNuD.js";import{m as j,p as pt,a as rs,n as Z,i as as,b as Ce,d as De,r as Rt,t as Re,f as R,e as ot,S as ls,g as B,h as Le,j as xt,k as Ae,o as D,q as Y,s as vt,v as Ut,M as cs,w as Me,P as Ve,x as us,y as Ne,z as _t,A as hs,B as et,C as ds,c as fs}from"./use-reduced-motion-CPoX8iV2.js";import{i as _,b as ms,r as ps,s as Ht,p as Lt,d as gs,e as Be,f as ys,h as q,t as X,j as bt,k as Ft,l as xs,m as vs,n as bs,o as Ps,q as Nt,u as Pt,v as ws,w as ks,x as Ie,y as Ts,z as Ss,A as Es,B as js,C as Wt,D as Cs,F as ze,g as Ds,a as Rs,c as Ls}from"./gestures-YA5IIwp-.js";import{O as As,U as Ms,b as Vs}from"./Provider-D0bB7q6y.js";import{L as st}from"./loader-circle-DmUG_YC7.js";import{R as Oe}from"./radio-CxIXS1nU.js";import{b as Ns,M as Bs}from"./DocumentFocusViewer-D8iB6SMt.js";import{C as Is}from"./chevron-down-D120PY4g.js";import{P as zs}from"./plus-BWKhylds.js";import{S as Os,i as $s}from"./runtime-picker-C20lTGhV.js";import"./perf-PX8Rx0EP.js";import{B as Us}from"./bot-WxKXYtEX.js";import{d as _s}from"./colors-BtO5_zlx.js";const Hs=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],Fs=Q("history",Hs);const Ws=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],Gs=Q("list-tree",Ws);const qs=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Xs=Q("play",qs);const Ys=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Gt=Q("settings-2",Ys);const Ks=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],Qn=Q("volume-2",Ks);const Zs=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],Jn=Q("volume-x",Zs);function Qs(t){return t==="x"||t==="y"?_[t]?null:(_[t]=!0,()=>{_[t]=!1}):_.x||_.y?null:(_.x=_.y=!0,()=>{_.x=_.y=!1})}function Bt(t){return ms(t)&&"ownerSVGElement"in t}const ht=new WeakMap;let dt;const $e=(t,e,i)=>(s,r)=>r&&r[0]?r[0][t+"Size"]:Bt(s)&&"getBBox"in s?s.getBBox()[e]:s[i],Js=$e("inline","width","offsetWidth"),ti=$e("block","height","offsetHeight");function ei({target:t,borderBoxSize:e}){ht.get(t)?.forEach(i=>{i(t,{get width(){return Js(t,e)},get height(){return ti(t,e)}})})}function si(t){t.forEach(ei)}function ii(){typeof ResizeObserver>"u"||(dt=new ResizeObserver(si))}function ni(t,e){dt||ii();const i=ps(t);return i.forEach(s=>{let r=ht.get(s);r||(r=new Set,ht.set(s,r)),r.add(e),dt?.observe(s)}),()=>{i.forEach(s=>{const r=ht.get(s);r?.delete(e),r?.size||dt?.unobserve(s)})}}const ft=new Set;let K;function oi(){K=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};ft.forEach(e=>e(t))},window.addEventListener("resize",K)}function ri(t){return ft.add(t),K||oi(),()=>{ft.delete(t),!ft.size&&typeof K=="function"&&(window.removeEventListener("resize",K),K=void 0)}}function qt(t,e){return typeof t=="function"?ri(t):ni(t,e)}function ai(t){return Bt(t)&&t.tagName==="svg"}function At(t,e){t.min=e.min,t.max=e.max}function z(t,e){At(t.x,e.x),At(t.y,e.y)}function Xt(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Ue=1e-4,li=1-Ue,ci=1+Ue,_e=.01,ui=0-_e,hi=0+_e;function L(t){return t.max-t.min}function di(t,e,i){return Math.abs(t-e)<=i}function Yt(t,e,i,s=.5){t.origin=s,t.originPoint=j(e.min,e.max,t.origin),t.scale=L(i)/L(e),t.translate=j(i.min,i.max,t.origin)-t.originPoint,(t.scale>=li&&t.scale<=ci||isNaN(t.scale))&&(t.scale=1),(t.translate>=ui&&t.translate<=hi||isNaN(t.translate))&&(t.translate=0)}function it(t,e,i,s){Yt(t.x,e.x,i.x,s?s.originX:void 0),Yt(t.y,e.y,i.y,s?s.originY:void 0)}function Kt(t,e,i,s=0){const r=s?j(i.min,i.max,s):i.min;t.min=r+e.min,t.max=t.min+L(e)}function fi(t,e,i,s){Kt(t.x,e.x,i.x,s?.x),Kt(t.y,e.y,i.y,s?.y)}function Zt(t,e,i,s=0){const r=s?j(i.min,i.max,s):i.min;t.min=e.min-r,t.max=t.min+L(e)}function gt(t,e,i,s){Zt(t.x,e.x,i.x,s?.x),Zt(t.y,e.y,i.y,s?.y)}function Qt(t,e,i,s,r){return t-=e,t=Ht(t,1/i,s),r!==void 0&&(t=Ht(t,1/r,s)),t}function mi(t,e=0,i=1,s=.5,r,a=t,n=t){if(pt.test(e)&&(e=parseFloat(e),e=j(n.min,n.max,e/100)-n.min),typeof e!="number")return;let o=j(a.min,a.max,s);t===a&&(o-=e),t.min=Qt(t.min,e,i,o,r),t.max=Qt(t.max,e,i,o,r)}function Jt(t,e,[i,s,r],a,n){mi(t,e[i],e[s],e[r],e.scale,a,n)}const pi=["x","scaleX","originX"],gi=["y","scaleY","originY"];function te(t,e,i,s){Jt(t.x,e,pi,i?i.x:void 0,s?s.x:void 0),Jt(t.y,e,gi,i?i.y:void 0,s?s.y:void 0)}function ee(t){return t.translate===0&&t.scale===1}function He(t){return ee(t.x)&&ee(t.y)}function se(t,e){return t.min===e.min&&t.max===e.max}function yi(t,e){return se(t.x,e.x)&&se(t.y,e.y)}function ie(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Fe(t,e){return ie(t.x,e.x)&&ie(t.y,e.y)}function ne(t){return L(t.x)/L(t.y)}function oe(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function O(t){return[t("x"),t("y")]}function xi(t,e,i){let s="";const r=t.x.translate/e.x,a=t.y.translate/e.y,n=i?.z||0;if((r||a||n)&&(s=`translate3d(${r}px, ${a}px, ${n}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:c,rotate:u,pathRotation:d,rotateX:f,rotateY:p,skewX:x,skewY:y}=i;c&&(s=`perspective(${c}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotate(${d}deg) `),f&&(s+=`rotateX(${f}deg) `),p&&(s+=`rotateY(${p}deg) `),x&&(s+=`skewX(${x}deg) `),y&&(s+=`skewY(${y}deg) `)}const o=t.x.scale*e.x,l=t.y.scale*e.y;return(o!==1||l!==1)&&(s+=`scale(${o}, ${l})`),s||"none"}const We=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],vi=We.length,re=t=>typeof t=="string"?parseFloat(t):t,ae=t=>typeof t=="number"||rs.test(t);function bi(t,e,i,s,r,a){r?(t.opacity=j(0,i.opacity??1,Pi(s)),t.opacityExit=j(e.opacity??1,0,wi(s))):a&&(t.opacity=j(e.opacity??1,i.opacity??1,s));for(let n=0;n<vi;n++){const o=We[n];let l=le(e,o),c=le(i,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||ae(l)===ae(c)?(t[o]=Math.max(j(re(l),re(c),s),0),(pt.test(c)||pt.test(l))&&(t[o]+="%")):t[o]=c}(e.rotate||i.rotate)&&(t.rotate=j(e.rotate||0,i.rotate||0,s))}function le(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Pi=Ge(0,.5,gs),wi=Ge(.5,.95,Z);function Ge(t,e,i){return s=>s<t?0:s>e?1:i(Lt(t,e,s))}function ki(t,e,i){const s=as(t)?t:Ce(t);return s.start(Be("",s,e,i)),s.animation}const Ti=(t,e)=>t.depth-e.depth;class Si{constructor(){this.children=[],this.isDirty=!1}add(e){De(this.children,e),this.isDirty=!0}remove(e){Rt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ti),this.isDirty=!1,this.children.forEach(e)}}function Ei(t,e){const i=Re.now(),s=({timestamp:r})=>{const a=r-i;a>=e&&(ot(s),t(a-e))};return R.setup(s,!0),()=>ot(s)}class ji{constructor(){this.members=[]}add(e){De(this.members,e);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===e||s===this.lead||s===this.prevLead)continue;const r=s.instance;(!r||r.isConnected===!1)&&!s.snapshot&&(Rt(this.members,s),s.unmount())}e.scheduleRender()}remove(e){if(Rt(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(e){for(let i=this.members.indexOf(e)-1;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1&&s.instance?.isConnected!==!1)return this.promote(s),!0}return!1}promote(e,i){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=s.options,{layoutDependency:a}=e.options;(r===void 0||r!==a)&&(e.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const mt={hasAnimatedSinceResize:!0,hasEverUpdated:!1},wt=["","X","Y","Z"],Ci=1e3;let Di=0;function kt(t,e,i,s){const{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function qe(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=Ps(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:r,layoutId:a}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",R,!(r||a))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&qe(s)}function Xe({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(n={},o=e?.()){this.id=Di++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ai),this.nodes.forEach(zi),this.nodes.forEach(Oi),this.nodes.forEach(Mi)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=n,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Si)}addEventListener(n,o){return this.eventHandlers.has(n)||this.eventHandlers.set(n,new ls),this.eventHandlers.get(n).add(o)}notifyListeners(n,...o){const l=this.eventHandlers.get(n);l&&l.notify(...o)}hasListeners(n){return this.eventHandlers.has(n)}mount(n){if(this.instance)return;this.isSVG=Bt(n)&&!ai(n),this.instance=n;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),t){let u,d=0;const f=()=>this.root.updateBlockedByResize=!1;R.read(()=>{d=window.innerWidth}),t(n,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,u&&u(),u=Ei(f,250),mt.hasAnimatedSinceResize&&(mt.hasAnimatedSinceResize=!1,this.nodes.forEach(he)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||c.getDefaultTransition()||Fi,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!Fe(this.targetLayout,p),P=!d&&f;if(this.options.layoutRoot||this.resumeFrom||P||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const k={...ys(x,"layout"),onPlay:y,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k),this.setAnimationOrigin(u,P,k.path)}else d||he(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const n=this.getStack();n&&n.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ot(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($i),this.animationId++)}getTransformTemplate(){const{visualElement:n}=this.options;return n&&n.getProps().transformTemplate}willUpdate(n=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qe(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),n&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Ni),this.nodes.forEach(ce);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ue);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Bi),this.nodes.forEach(Ii),this.nodes.forEach(Ri),this.nodes.forEach(Li)):this.nodes.forEach(ue),this.clearAllSnapshots();const o=Re.now();B.delta=Le(0,1e3/60,o-B.timestamp),B.timestamp=o,B.isProcessing=!0,xt.update.process(B),xt.preRender.process(B),xt.render.process(B),B.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ae.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Vi),this.sharedNodes.forEach(Ui)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!L(this.snapshot.measuredBox.x)&&!L(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const n=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=D()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,n?n.layoutBox:void 0)}updateScroll(n="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===n&&(o=!1),o&&this.instance){const l=s(this.instance);this.scroll={animationId:this.root.animationId,phase:n,isRoot:l,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!r)return;const n=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!He(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;n&&this.instance&&(o||q(this.latestValues)||u)&&(r(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(n=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return n&&(l=this.removeTransform(l)),Wi(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:n}=this.options;if(!n)return D();const o=n.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Gi))){const{scroll:c}=this.root;c&&(X(o.x,c.offset.x),X(o.y,c.offset.y))}return o}removeElementScroll(n){const o=D();if(z(o,n),this.scroll?.wasRoot)return o;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&z(o,n),X(o.x,u.offset.x),X(o.y,u.offset.y))}return o}applyTransform(n,o=!1,l){const c=l||D();z(c,n);for(let u=0;u<this.path.length;u++){const d=this.path[u];!o&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(X(c.x,-d.scroll.offset.x),X(c.y,-d.scroll.offset.y)),q(d.latestValues)&&bt(c,d.latestValues,d.layout?.layoutBox)}return q(this.latestValues)&&bt(c,this.latestValues,this.layout?.layoutBox),c}removeTransform(n){const o=D();z(o,n);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!q(c.latestValues))continue;let u;c.instance&&(Ft(c.latestValues)&&c.updateSnapshot(),u=D(),z(u,c.measurePageBox())),te(o,c.latestValues,c.snapshot?.layoutBox,u)}return q(this.latestValues)&&te(o,this.latestValues),o}setTargetDelta(n){this.targetDelta=n,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(n){this.options={...this.options,...n,crossfade:n.crossfade!==void 0?n.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==B.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(n=!1){const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(n||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=B.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=D(),this.targetWithTransforms=D()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),fi(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):z(this.target,this.layout.layoutBox),xs(this.target,this.targetDelta)):z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ft(this.parent.latestValues)||vs(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(n,o,l){this.relativeParent=n,this.linkedParentVersion=n.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=D(),this.relativeTargetOrigin=D(),gt(this.relativeTargetOrigin,o,l,this.options.layoutAnchor||void 0),z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const n=this.getLead(),o=!!this.resumingFrom||this!==n;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===B.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;z(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;bs(this.layoutCorrected,this.treeScale,this.path,o),n.layout&&!n.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(n.target=n.layout.layoutBox,n.targetWithTransforms=D());const{target:p}=n;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xt(this.prevProjectionDelta.x,this.projectionDelta.x),Xt(this.prevProjectionDelta.y,this.projectionDelta.y)),it(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!oe(this.projectionDelta.x,this.prevProjectionDelta.x)||!oe(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(n=!0){if(this.options.visualElement?.scheduleRender(),n){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(n,o=!1,l){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Y();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const p=D(),x=c?c.source:void 0,y=this.layout?this.layout.source:void 0,b=x!==y,v=this.getStack(),P=!v||v.members.length<=1,k=!!(b&&!P&&this.options.crossfade===!0&&!this.path.some(Hi));this.animationProgress=0;let w;const A=l?.interpolateProjection(n);this.mixTargetDelta=E=>{const C=E/1e3,T=A?.(C);T?(f.x.translate=T.x,f.x.scale=j(n.x.scale,1,C),f.x.origin=n.x.origin,f.x.originPoint=n.x.originPoint,f.y.translate=T.y,f.y.scale=j(n.y.scale,1,C),f.y.origin=n.y.origin,f.y.originPoint=n.y.originPoint):(de(f.x,n.x,C),de(f.y,n.y,C)),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gt(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),_i(this.relativeTarget,this.relativeTargetOrigin,p,C),w&&yi(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=D()),z(w,this.relativeTarget)),b&&(this.animationValues=d,bi(d,u,this.latestValues,C,k,P)),T&&T.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=T.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(n){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ot(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.update(()=>{mt.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ce(0)),this.motionValue.jump(0,!1),this.currentAnimation=ki(this.motionValue,[0,1e3],{...n,velocity:0,isSync:!0,onUpdate:o=>{this.mixTargetDelta(o),n.onUpdate&&n.onUpdate(o)},onStop:()=>{},onComplete:()=>{n.onComplete&&n.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const n=this.getStack();n&&n.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ci),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const n=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=n;if(!(!o||!l||!c)){if(this!==n&&this.layout&&c&&Ye(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||D();const d=L(this.layout.layoutBox.x);l.x.min=n.target.x.min,l.x.max=l.x.min+d;const f=L(this.layout.layoutBox.y);l.y.min=n.target.y.min,l.y.max=l.y.min+f}z(o,l),bt(o,u),it(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(n,o){this.sharedNodes.has(n)||this.sharedNodes.set(n,new ji),this.sharedNodes.get(n).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const n=this.getStack();return n?n.lead===this:!0}getLead(){const{layoutId:n}=this.options;return n?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:n}=this.options;return n?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:n}=this.options;if(n)return this.root.sharedNodes.get(n)}promote({needsReset:n,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),n&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const n=this.getStack();return n?n.relegate(this):!1}resetSkewAndRotation(){const{visualElement:n}=this.options;if(!n)return;let o=!1;const{latestValues:l}=n;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&kt("z",n,c,this.animationValues);for(let u=0;u<wt.length;u++)kt(`rotate${wt[u]}`,n,c,this.animationValues),kt(`skew${wt[u]}`,n,c,this.animationValues);n.render();for(const u in c)n.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);n.scheduleRender()}applyProjectionStyles(n,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){n.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,n.visibility="",n.opacity="",n.pointerEvents=vt(o?.pointerEvents)||"",n.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(n.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,n.pointerEvents=vt(o?.pointerEvents)||""),this.hasProjected&&!q(this.latestValues)&&(n.transform=l?l({},""):"none",this.hasProjected=!1);return}n.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=xi(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),n.transform=d;const{x:f,y:p}=this.projectionDelta;n.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?n.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:n.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const x in Ut){if(u[x]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:v}=Ut[x],P=d==="none"?u[x]:y(u[x],c);if(b){const k=b.length;for(let w=0;w<k;w++)n[b[w]]=P}else v?this.options.visualElement.renderState.vars[x]=P:n[x]=P}this.options.layoutId&&(n.pointerEvents=c===this?vt(o?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(n=>n.currentAnimation?.stop()),this.root.nodes.forEach(ce),this.root.sharedNodes.clear()}}}function Ri(t){t.updateLayout()}function Li(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=t.layout,{animationType:r}=t.options,a=e.source!==t.layout.source;if(r==="size")O(u=>{const d=a?e.measuredBox[u]:e.layoutBox[u],f=L(d);d.min=i[u].min,d.max=d.min+f});else if(r==="x"||r==="y"){const u=r==="x"?"y":"x";At(a?e.measuredBox[u]:e.layoutBox[u],i[u])}else Ye(r,e.layoutBox,i)&&O(u=>{const d=a?e.measuredBox[u]:e.layoutBox[u],f=L(i[u]);d.max=d.min+f,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+f)});const n=Y();it(n,i,e.layoutBox);const o=Y();a?it(o,t.applyTransform(s,!0),e.measuredBox):it(o,i,e.layoutBox);const l=!He(n);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:f}=u;if(d&&f){const p=t.options.layoutAnchor||void 0,x=D();gt(x,e.layoutBox,d.layoutBox,p);const y=D();gt(y,i,f.layoutBox,p),Fe(x,y)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=x,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:n,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function Ai(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Mi(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Vi(t){t.clearSnapshot()}function ce(t){t.clearMeasurements()}function Ni(t){t.isLayoutDirty=!0,t.updateLayout()}function ue(t){t.isLayoutDirty=!1}function Bi(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ii(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function he(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function zi(t){t.resolveTargetDelta()}function Oi(t){t.calcProjection()}function $i(t){t.resetSkewAndRotation()}function Ui(t){t.removeLeadSnapshot()}function de(t,e,i){t.translate=j(e.translate,0,i),t.scale=j(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function fe(t,e,i,s){t.min=j(e.min,i.min,s),t.max=j(e.max,i.max,s)}function _i(t,e,i,s){fe(t.x,e.x,i.x,s),fe(t.y,e.y,i.y,s)}function Hi(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fi={duration:.45,ease:[.4,0,.1,1]},me=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),pe=me("applewebkit/")&&!me("chrome/")?Math.round:Z;function ge(t){t.min=pe(t.min),t.max=pe(t.max)}function Wi(t){ge(t.x),ge(t.y)}function Ye(t,e,i){return t==="position"||t==="preserve-aspect"&&!di(ne(e),ne(i),.2)}function Gi(t){return t!==t.root&&t.scroll?.wasRoot}const qi=Xe({attachResizeListener:(t,e)=>Nt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Tt={current:void 0},Ke=Xe({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Tt.current){const t=new qi({});t.mount(window),t.setOptions({layoutScroll:!0}),Tt.current=t}return Tt.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"});function ye(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Xi(...t){return e=>{let i=!1;const s=t.map(r=>{const a=ye(r,e);return!i&&typeof a=="function"&&(i=!0),a});if(i)return()=>{for(let r=0;r<s.length;r++){const a=s[r];typeof a=="function"?a():ye(t[r],null)}}}}function Yi(...t){return g.useCallback(Xi(...t),t)}class Ki extends g.Component{getSnapshotBeforeUpdate(e){const i=this.props.childRef.current;if(Pt(i)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,r=Pt(s)&&s.offsetWidth||0,a=Pt(s)&&s.offsetHeight||0,n=getComputedStyle(i),o=this.props.sizeRef.current;o.height=parseFloat(n.height),o.width=parseFloat(n.width),o.top=i.offsetTop,o.left=i.offsetLeft,o.right=r-o.width-o.left,o.bottom=a-o.height-o.top,o.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function Zi({children:t,isPresent:e,anchorX:i,anchorY:s,root:r,pop:a}){const n=g.useId(),o=g.useRef(null),l=g.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=g.useContext(cs),u=t.props?.ref??t?.ref,d=Yi(o,u);return g.useInsertionEffect(()=>{const{width:f,height:p,top:x,left:y,right:b,bottom:v,direction:P}=l.current;if(e||a===!1||!o.current||!f||!p)return;const k=P==="rtl",w=i==="left"?k?`right: ${b}`:`left: ${y}`:k?`left: ${y}`:`right: ${b}`,A=s==="bottom"?`bottom: ${v}`:`top: ${x}`;o.current.dataset.motionPopId=n;const E=document.createElement("style");c&&(E.nonce=c);const C=r??document.head;return C.appendChild(E),E.sheet&&E.sheet.insertRule(`
2
2
  [data-motion-pop-id="${n}"] {
3
3
  position: absolute !important;
4
4
  width: ${f}px !important;
@@ -1 +1 @@
1
- import{j as s}from"./index-DvLtl7rV.js";function d(e){return e?e.startsWith("/Users/")?"~/"+e.split("/").slice(3).join("/"):e:null}function u(e,r){const l=e.model&&e.harness&&e.model.startsWith(`${e.harness}-`)?e.model.slice(e.harness.length+1):e.model??null,o=e.cwd??e.projectRoot??r?.projectRoot??null,n=o?d(o)??o:null,i=e.homeNodeName?e.homeNodeName.replace(/\.local$/i,""):null,c=[e.harness,l].filter(a=>!!a).join(" · ")||null,t=e.branch?.trim()||null;return{cwdShort:n,hostShort:i,branch:t,chip:c,cwdFull:o}}function x(){return s.jsx("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:s.jsx("path",{d:"M2 4h4l1.4 1.6H14v6.4H2z",strokeLinejoin:"round"})})}function j(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("circle",{cx:"4.5",cy:"3.5",r:"1.5"}),s.jsx("circle",{cx:"4.5",cy:"12.5",r:"1.5"}),s.jsx("circle",{cx:"11.5",cy:"5.5",r:"1.5"}),s.jsx("path",{d:"M4.5 5v6M4.5 11c0-3 7-1.4 7-4",strokeLinecap:"round"})]})}function p(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("rect",{x:"4.5",y:"4.5",width:"7",height:"7",rx:"1"}),s.jsx("path",{d:"M6.5 2v2M9.5 2v2M6.5 12v2M9.5 12v2M2 6.5h2M2 9.5h2M12 6.5h2M12 9.5h2",strokeLinecap:"round"})]})}function v(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("rect",{x:"2.5",y:"3.5",width:"11",height:"7",rx:"1"}),s.jsx("path",{d:"M6 13h4M8 10.5V13",strokeLinecap:"round"})]})}function h({ico:e,v:r,title:l}){return s.jsxs("span",{className:"s-sess-glyph-cell",title:l??r,children:[s.jsx("span",{className:"s-sess-glyph-ico",children:e}),s.jsx("span",{className:"s-sess-glyph-v",children:r})]})}function M({agent:e,projectRoot:r,chipTitle:l,className:o}){const{cwdShort:n,hostShort:i,branch:c,chip:t,cwdFull:a}=u(e,{projectRoot:r});return!(n||c||i||t)?null:s.jsxs("div",{className:["s-sess-glyph",o].filter(Boolean).join(" "),"aria-label":"Agent runtime essentials",children:[n&&s.jsx(h,{ico:s.jsx(x,{}),v:n,title:a??n}),c&&s.jsx(h,{ico:s.jsx(j,{}),v:c}),i&&s.jsx(h,{ico:s.jsx(v,{}),v:i}),t&&s.jsx(h,{ico:s.jsx(p,{}),v:t,title:l??t})]})}export{M as AgentEssentialsGlyph,u as agentEssentials};
1
+ import{j as s}from"./index-C1VaWNuD.js";function d(e){return e?e.startsWith("/Users/")?"~/"+e.split("/").slice(3).join("/"):e:null}function u(e,r){const l=e.model&&e.harness&&e.model.startsWith(`${e.harness}-`)?e.model.slice(e.harness.length+1):e.model??null,o=e.cwd??e.projectRoot??r?.projectRoot??null,n=o?d(o)??o:null,i=e.homeNodeName?e.homeNodeName.replace(/\.local$/i,""):null,c=[e.harness,l].filter(a=>!!a).join(" · ")||null,t=e.branch?.trim()||null;return{cwdShort:n,hostShort:i,branch:t,chip:c,cwdFull:o}}function x(){return s.jsx("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:s.jsx("path",{d:"M2 4h4l1.4 1.6H14v6.4H2z",strokeLinejoin:"round"})})}function j(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("circle",{cx:"4.5",cy:"3.5",r:"1.5"}),s.jsx("circle",{cx:"4.5",cy:"12.5",r:"1.5"}),s.jsx("circle",{cx:"11.5",cy:"5.5",r:"1.5"}),s.jsx("path",{d:"M4.5 5v6M4.5 11c0-3 7-1.4 7-4",strokeLinecap:"round"})]})}function p(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("rect",{x:"4.5",y:"4.5",width:"7",height:"7",rx:"1"}),s.jsx("path",{d:"M6.5 2v2M9.5 2v2M6.5 12v2M9.5 12v2M2 6.5h2M2 9.5h2M12 6.5h2M12 9.5h2",strokeLinecap:"round"})]})}function v(){return s.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2","aria-hidden":!0,children:[s.jsx("rect",{x:"2.5",y:"3.5",width:"11",height:"7",rx:"1"}),s.jsx("path",{d:"M6 13h4M8 10.5V13",strokeLinecap:"round"})]})}function h({ico:e,v:r,title:l}){return s.jsxs("span",{className:"s-sess-glyph-cell",title:l??r,children:[s.jsx("span",{className:"s-sess-glyph-ico",children:e}),s.jsx("span",{className:"s-sess-glyph-v",children:r})]})}function M({agent:e,projectRoot:r,chipTitle:l,className:o}){const{cwdShort:n,hostShort:i,branch:c,chip:t,cwdFull:a}=u(e,{projectRoot:r});return!(n||c||i||t)?null:s.jsxs("div",{className:["s-sess-glyph",o].filter(Boolean).join(" "),"aria-label":"Agent runtime essentials",children:[n&&s.jsx(h,{ico:s.jsx(x,{}),v:n,title:a??n}),c&&s.jsx(h,{ico:s.jsx(j,{}),v:c}),i&&s.jsx(h,{ico:s.jsx(v,{}),v:i}),t&&s.jsx(h,{ico:s.jsx(p,{}),v:t,title:l??t})]})}export{M as AgentEssentialsGlyph,u as agentEssentials};
@@ -1 +1 @@
1
- import{d as G,f as W}from"./context-budget-DX_fwUs3.js";import{a as O}from"./colors-BtO5_zlx.js";import{t as D}from"./time-Dhsh_2EG.js";import{a as E}from"./lane-observe-vfyACHi0.js";import{t as H,s as N}from"./bash-format-BRV5C6Gv.js";import{b as _,h as z,f as y}from"./agent-lane-preview-BhplDYGf.js";import{l as J}from"./agent-lanes-model-DXqjs0OK.js";const g=14;function U(o){const t=(o??"").toLowerCase();return/bash|shell|exec|run|command|terminal/.test(t)?"❯":/edit|write|apply|patch|create|update|str_replace|multiedit/.test(t)?"✎":/read|view|cat|open/.test(t)?"◎":/grep|search|glob|find|rg|ripgrep/.test(t)?"⌕":/fetch|web|browse|url/.test(t)?"⤓":"▸"}function V(o){const t=o.arg?.trim(),e=!!t&&(t.startsWith("{")||t.startsWith("["));let a;if(!t||e||t==="started"||t==="completed")a=o.tool??"tool";else{let i=H(t);i=N(i).rest||i,a=E(i,56)}return{mark:U(o.tool),tone:"tool",text:a,full:t||(o.tool??a)}}function q(o){const t=o.replace(/\/+$/u,"").split(/[\\/]/u).filter(Boolean);return t.length===0?o:t.slice(-2).join("/")}function T(o){const t=o?.trim();return t?(t.split("/").pop()??t).replace(/\.jsonl$/u,"").slice(0,8):null}function K(o){const t=o?.trim();if(!t)return null;let e=t.replace(/^[a-z0-9.]+\//iu,"");return e=e.replace(/^(claude|anthropic)-/iu,""),e=e.replace(/-(\d{8})$/u,""),e=e.replace(/-(\d+)-(\d+)(?=$|-)/gu,"-$1.$2"),e||t}function Q(o){return o==="created"?"new":o==="read"?"read":"mod"}function v(o){return(o??"").replace(/^\s*[←→↳⇒➜]+\s*/u,"").trim()}function X(o){const t=o.trim().toLowerCase().replace(/[[\]…]/gu,"").trim();return t===""||t==="thinking"||t==="running tool"||t==="turn update"}function se(o,t){const{agent:e,observe:a,source:i,facts:r}=o,l=_(a,e,{isLive:t.isLive}),u=a?.metadata?.session,f=r?.cwd??e.cwd??e.projectRoot??null,S=f?q(f):null,C=e.harnessSessionId?.trim()||null,$=e.agentClass==="operator"?{label:"operator",title:[e.role?`Role: ${e.role}`:"Privileged operator agent",e.authorityProfile?`Reads: ${e.authorityProfile.readTools.join(", ")||"none"}`:null,e.authorityProfile?`Writes: ${e.authorityProfile.writeTools.join(", ")||"none"}`:null,e.authorityProfile?`Shell: ${e.authorityProfile.shell?"allowed":"blocked"}; code writes: ${e.authorityProfile.codebaseWrites?"allowed":"blocked"}`:null,e.runtimePolicy?.sandbox?`Sandbox: ${e.runtimePolicy.sandbox}`:null].filter(Boolean).join(" · ")}:null,m=(r?.touchedFiles.length?r.touchedFiles:l?.files??[]).filter(n=>z(y(n))),F=n=>{const c=Q(n.state);return{mark:c,tone:c,text:y(n),full:n.path}},p=n=>{const c=n.map(F);return{rows:c.slice(0,g),more:Math.max(0,c.length-g)}},w=(a?.events??[]).filter(n=>n.kind==="tool"),b=w.slice(-g).reverse().map(V),I={tools:{rows:b,more:Math.max(0,w.length-b.length)},edits:p(m.filter(n=>n.state!=="read")),reads:p(m.filter(n=>n.state==="read")),files:p(m)},s=r?.usage??a?.metadata?.usage??null,h=G(s,{model:r?.model??l?.model??e.model??u?.model??null,adapterType:e.harness??l?.harness??u?.adapterType??null}),A=h?Math.min(100,h.pct):null,L=h?.usedLabel??W(s?.contextInputTokens),R=r?.turn?.index??u?.turnCount??null,k=s?[{label:"in",value:s.inputTokens},{label:"out",value:s.outputTokens},{label:"cache rd",value:s.cacheReadInputTokens},{label:"cache wr",value:s.cacheCreationInputTokens},{label:"total",value:s.totalTokens},{label:"reasoning",value:s.reasoningOutputTokens}].filter(n=>typeof n.value=="number"):[],j=k.length>0?{total:typeof s?.totalTokens=="number"?s.totalTokens:null,dials:k}:null,P=O(e.state??null,e),M=l?.headlineFrom==="user"?"from":l?.headlineFrom==="agent"?"to":null,x=v(l?.headline),d=!l||X(x),B={dir:d?null:M,text:d?P?"thinking…":"idle":x,full:d||!l||l.headFull===l.headline?null:v(l.headFull),placeholder:d};return{name:J(e,i),authority:$,harness:e.harness??l?.harness??u?.adapterType??null,model:K(r?.model??l?.model??e.model??u?.model??null),effort:r?.effort??u?.effort??null,cwd:S,cwdFull:f,branch:r?.branch??l?.branch??e.branch??null,sessionId:T(e.harnessSessionId),sessionIdFull:C,parentSessionId:r?.parentSessionId??null,parentSessionLabel:r?.parentSessionId?[r.parentAgentName,T(r.parentSessionId)].filter(Boolean).join(" · "):null,time:o.lastActiveAt?D(o.lastActiveAt,t.nowMs):null,working:P,head:B,stats:{tools:l?.stats.tools??0,edits:l?.stats.edits??0,reads:l?.stats.reads??0,files:l?.stats.files??0},context:A,tokens:L,turns:R,tokenUsage:j,pops:I}}export{se as a};
1
+ import{d as G,f as W}from"./context-budget-DqxWzalx.js";import{a as O}from"./colors-BtO5_zlx.js";import{t as D}from"./time-Dhsh_2EG.js";import{a as E}from"./lane-observe-vfyACHi0.js";import{t as H,s as N}from"./bash-format-BRV5C6Gv.js";import{b as _,h as z,f as y}from"./agent-lane-preview-BhplDYGf.js";import{l as J}from"./agent-lanes-model-tc-1hE6q.js";const g=14;function U(o){const t=(o??"").toLowerCase();return/bash|shell|exec|run|command|terminal/.test(t)?"❯":/edit|write|apply|patch|create|update|str_replace|multiedit/.test(t)?"✎":/read|view|cat|open/.test(t)?"◎":/grep|search|glob|find|rg|ripgrep/.test(t)?"⌕":/fetch|web|browse|url/.test(t)?"⤓":"▸"}function V(o){const t=o.arg?.trim(),e=!!t&&(t.startsWith("{")||t.startsWith("["));let a;if(!t||e||t==="started"||t==="completed")a=o.tool??"tool";else{let i=H(t);i=N(i).rest||i,a=E(i,56)}return{mark:U(o.tool),tone:"tool",text:a,full:t||(o.tool??a)}}function q(o){const t=o.replace(/\/+$/u,"").split(/[\\/]/u).filter(Boolean);return t.length===0?o:t.slice(-2).join("/")}function T(o){const t=o?.trim();return t?(t.split("/").pop()??t).replace(/\.jsonl$/u,"").slice(0,8):null}function K(o){const t=o?.trim();if(!t)return null;let e=t.replace(/^[a-z0-9.]+\//iu,"");return e=e.replace(/^(claude|anthropic)-/iu,""),e=e.replace(/-(\d{8})$/u,""),e=e.replace(/-(\d+)-(\d+)(?=$|-)/gu,"-$1.$2"),e||t}function Q(o){return o==="created"?"new":o==="read"?"read":"mod"}function v(o){return(o??"").replace(/^\s*[←→↳⇒➜]+\s*/u,"").trim()}function X(o){const t=o.trim().toLowerCase().replace(/[[\]…]/gu,"").trim();return t===""||t==="thinking"||t==="running tool"||t==="turn update"}function se(o,t){const{agent:e,observe:a,source:i,facts:r}=o,l=_(a,e,{isLive:t.isLive}),u=a?.metadata?.session,f=r?.cwd??e.cwd??e.projectRoot??null,S=f?q(f):null,C=e.harnessSessionId?.trim()||null,$=e.agentClass==="operator"?{label:"operator",title:[e.role?`Role: ${e.role}`:"Privileged operator agent",e.authorityProfile?`Reads: ${e.authorityProfile.readTools.join(", ")||"none"}`:null,e.authorityProfile?`Writes: ${e.authorityProfile.writeTools.join(", ")||"none"}`:null,e.authorityProfile?`Shell: ${e.authorityProfile.shell?"allowed":"blocked"}; code writes: ${e.authorityProfile.codebaseWrites?"allowed":"blocked"}`:null,e.runtimePolicy?.sandbox?`Sandbox: ${e.runtimePolicy.sandbox}`:null].filter(Boolean).join(" · ")}:null,m=(r?.touchedFiles.length?r.touchedFiles:l?.files??[]).filter(n=>z(y(n))),F=n=>{const c=Q(n.state);return{mark:c,tone:c,text:y(n),full:n.path}},p=n=>{const c=n.map(F);return{rows:c.slice(0,g),more:Math.max(0,c.length-g)}},w=(a?.events??[]).filter(n=>n.kind==="tool"),b=w.slice(-g).reverse().map(V),I={tools:{rows:b,more:Math.max(0,w.length-b.length)},edits:p(m.filter(n=>n.state!=="read")),reads:p(m.filter(n=>n.state==="read")),files:p(m)},s=r?.usage??a?.metadata?.usage??null,h=G(s,{model:r?.model??l?.model??e.model??u?.model??null,adapterType:e.harness??l?.harness??u?.adapterType??null}),A=h?Math.min(100,h.pct):null,L=h?.usedLabel??W(s?.contextInputTokens),R=r?.turn?.index??u?.turnCount??null,k=s?[{label:"in",value:s.inputTokens},{label:"out",value:s.outputTokens},{label:"cache rd",value:s.cacheReadInputTokens},{label:"cache wr",value:s.cacheCreationInputTokens},{label:"total",value:s.totalTokens},{label:"reasoning",value:s.reasoningOutputTokens}].filter(n=>typeof n.value=="number"):[],j=k.length>0?{total:typeof s?.totalTokens=="number"?s.totalTokens:null,dials:k}:null,P=O(e.state??null,e),M=l?.headlineFrom==="user"?"from":l?.headlineFrom==="agent"?"to":null,x=v(l?.headline),d=!l||X(x),B={dir:d?null:M,text:d?P?"thinking…":"idle":x,full:d||!l||l.headFull===l.headline?null:v(l.headFull),placeholder:d};return{name:J(e,i),authority:$,harness:e.harness??l?.harness??u?.adapterType??null,model:K(r?.model??l?.model??e.model??u?.model??null),effort:r?.effort??u?.effort??null,cwd:S,cwdFull:f,branch:r?.branch??l?.branch??e.branch??null,sessionId:T(e.harnessSessionId),sessionIdFull:C,parentSessionId:r?.parentSessionId??null,parentSessionLabel:r?.parentSessionId?[r.parentAgentName,T(r.parentSessionId)].filter(Boolean).join(" · "):null,time:o.lastActiveAt?D(o.lastActiveAt,t.nowMs):null,working:P,head:B,stats:{tools:l?.stats.tools??0,edits:l?.stats.edits??0,reads:l?.stats.reads??0,files:l?.stats.files??0},context:A,tokens:L,turns:R,tokenUsage:j,pops:I}}export{se as a};
@@ -1,2 +1,2 @@
1
- import{d as Ke,i as xe}from"./context-budget-DX_fwUs3.js";import{i as we}from"./terminal-sessions-BQ6t92tJ.js";import{c as ze,d as Re,o as Ge,i as Ue,l as Q,L as ke}from"./lane-observe-vfyACHi0.js";import{a as qe,i as Ve,b as Xe,c as Se,d as Qe}from"./lane-edit-display-C_Aujldz.js";import{i as Je,b as Ze,t as Ye,e as et,f as tt,g as nt}from"./tail-display-DcliDVkW.js";function H(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function Ee(e,t){return H(H(e)?.[t])}function st(e){const s=H(e.raw)?.type;return typeof s=="string"?s:void 0}function ot(e){const s=Ee(e.raw,"payload")?.type;return typeof s=="string"?s:void 0}const rt=/context\s+compacted|compacted\s+·/iu;function it(e){const t=e.summary.trim();return t&&(e.source==="codex"&&(Ee(H(e.raw),"payload"),ot(e)==="context_compacted"||st(e)==="compacted")||rt.test(t))?t:null}function at(e,t,s){let n=null,o=null;for(const c of e){const l=it(c);l&&(n===null||c.ts>=n)&&(n=c.ts,o=l)}const r=Ke(t,s);let i=null;return r?.overLimit?i="over_limit":r&&r.pct>=80?i="high_context":n!==null&&(i="post_compaction_point"),{eligible:!!(r&&(r.overLimit||r.pct>=75||n!==null)),reason:i,lastCompactedAt:n,lastCompactedSummary:o}}function hn(e){const t=e?.trim().toLowerCase()??"";return t==="codex"||t==="claude"||t==="claude-code"}const re="5m",te=[{key:"5m",label:"5m",windowMs:5*6e4},{key:"30m",label:"30m",windowMs:30*6e4},{key:"4h",label:"4h",windowMs:240*6e4},{key:"24h",label:"24h",windowMs:1440*6e4}];function ie(e){return te.find(t=>t.key===e)?.windowMs??te[0].windowMs}function gn(e){return te.find(t=>t.key===e)?.label??e}function yn(e){return 1e3}const be=400;function ct(e){return e?`${e[0]?.toUpperCase()}${e.slice(1).toLowerCase()}`:""}function ut(e){const t=e.name.trim();if(!t||e.agentClass==="organic")return!0;const s=e.harness?.trim();if(!s)return!1;const n=ct(s);return new RegExp(`^${n}\\s+[0-9a-f]{6}`,"i").test(t)}function ae(e,t=null){const s=e?.trim();if(!s)return!1;if(/^relay[-:]/i.test(s))return!0;const n=t?.sessionName?.trim();return!!(n&&s===n)}function N(e){const t=e.harnessSessionId?.trim();return t?!ae(t,e.terminalSurface):!1}function q(e){return e.transport==="codex_app_server"&&e.state==="available"}function lt(e,t,s){return(e.brokerActivity??[]).filter(n=>n.at>0&&t-n.at<=s)}function wn(e,t=Date.now(),s=re){if(q(e))return!1;if(e.harnessSessionId?.trim()||e.state&&/^(working|active|running|in_turn|in_flight|queued|waking|dispatching)$/i.test(e.state.trim()))return!0;const n=ie(s);return e.updatedAt?t-e.updatedAt<=n:!1}function j(e,t){return t==="scout"&&e.agentClass!=="organic"&&!ut(e)&&(N(e)||(e.brokerActivity?.length??0)>0)}function dt(e,t){return e.role==="subagent"?e.name.trim()||"Subagent":j(e,t)?e.name.trim()||"Agent":e.project?.trim()||e.harness?.trim()||"local"}function kn(e,t){return e.harness?.trim()||dt(e,t)}function Sn(e,t){if(j(e,t))return[e.project,e.branch].filter(Boolean).join(" · ")||e.harness||"local";const s=e.harness?.trim(),n=e.harnessSessionId?.trim();return s&&n?`${s} · ${n.replace(/\.jsonl$/u,"").slice(0,8)}`:s||n?.slice(0,8)||"native"}function ft(e){let t=2166136261;for(let s=0;s<e.length;s+=1)t^=e.charCodeAt(s),t=Math.imul(t,16777619);return(t>>>0).toString(36)}function ne(e){const t=e.sessionId?.trim();return t?`native:${e.source}:${t}`:`native:${e.source}:path:${ft(e.transcriptPath)}`}function _(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function $(e){const t=_(e.raw);return _(t?.payload)}function ce(e){const s=_(e.raw)?.type;return typeof s=="string"?s:null}function V(e){const s=$(e)?.type;return typeof s=="string"?s:null}function f(...e){for(const t of e){if(typeof t!="string")continue;const s=t.trim();if(s)return s}}function k(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function I(e,t){return _(e?.[t])}function Fe(e,t){let s=null;for(const n of e){if(ce(n)!==t)continue;const o=$(n);o&&(!s||n.ts>=s.event.ts)&&(s={event:n,payload:o})}return s?.payload??null}function ue(e){return Fe(e,"turn_context")}function Le(e){return Fe(e,"session_meta")}function Ce(e){const t=I(e,"collaboration_mode"),s=I(t,"settings");return f(e?.effort,s?.reasoning_effort)}function K(e){return f(e?.gitBranch,e?.git_branch,e?.currentBranch,e?.current_branch,e?.branch)}function mt(e,t,s="session"){if(e.source!=="codex")return null;if(ce(e)!=="event_msg"||V(e)!=="token_count"){const b=e.summary.match(/^tokens? · ([0-9,]+)/i)?.[1]?.replace(/,/g,""),w=b?Number.parseInt(b,10):NaN;return Number.isFinite(w)?{totalTokens:w}:null}const n=$(e),o=I(n,"info"),r=I(o,"total_token_usage"),i=I(o,"last_token_usage"),u=I(n,"rate_limits");if(!r&&!o&&!u)return null;const c=s==="turn"?i??r:r??i,l={},p=k(c?.input_tokens),d=k(i?.input_tokens),m=k(c?.output_tokens),g=k(c?.reasoning_output_tokens),v=k(c?.cached_input_tokens)??k(c?.cache_read_input_tokens),x=k(c?.cache_creation_input_tokens)??k(c?.cache_write_input_tokens),M=k(c?.total_tokens)??(p!==void 0||m!==void 0?(p??0)+(m??0):void 0),D=k(o?.model_context_window)??xe({model:t,adapterType:"codex"}),a=f(n?.service_tier,u?.service_tier),S=f(n?.speed,u?.speed),y=f(n?.plan_type,u?.plan_type);return p!==void 0&&(l.inputTokens=p),d!==void 0&&(l.contextInputTokens=d),m!==void 0&&(l.outputTokens=m),g!==void 0&&(l.reasoningOutputTokens=g),v!==void 0&&(l.cacheReadInputTokens=v),x!==void 0&&(l.cacheCreationInputTokens=x),M!==void 0&&(l.totalTokens=M),D!==void 0&&(l.contextWindowTokens=D),a&&(l.serviceTier=a),S&&(l.speed=S),y&&(l.planType=y),Object.keys(l).length>0?l:null}function pt(e){if(e.source!=="claude"||ce(e)!=="assistant")return null;const t=_(e.raw),s=_(t?.message),n=_(s?.usage);if(!s||!n)return null;const o=k(n.input_tokens),r=k(n.output_tokens),i=k(n.cache_read_input_tokens),u=k(n.cache_creation_input_tokens),c=(o??0)+(i??0)+(u??0),l=k(n.context_window_tokens)??k(n.contextWindowTokens)??k(n.model_context_window)??k(s.context_window_tokens)??k(s.contextWindowTokens)??k(s.model_context_window)??xe({model:f(s.model),adapterType:"claude-code"}),p=(o??0)+(r??0)+(i??0)+(u??0),h=_(n.server_tool_use),d={};o!==void 0&&(d.inputTokens=o),c>0&&(d.contextInputTokens=c),r!==void 0&&(d.outputTokens=r),i!==void 0&&(d.cacheReadInputTokens=i),u!==void 0&&(d.cacheCreationInputTokens=u),p>0&&(d.totalTokens=p),l>0&&(d.contextWindowTokens=l);const m=k(h?.web_search_requests),g=k(h?.web_fetch_requests);m!==void 0&&(d.webSearchRequests=m),g!==void 0&&(d.webFetchRequests=g);const v=f(s.service_tier,n.service_tier),x=f(s.speed,n.speed);return v&&(d.serviceTier=v),x&&(d.speed=x),Object.keys(d).length>0?d:null}function Ne(e,t){let s=null;const n=ue(e),o=f(n?.model,I(I(n,"collaboration_mode"),"settings")?.model),r=t?.scope??"session";for(const i of e){if(i.source!=="codex"&&i.source!=="claude"||i.source==="codex"&&V(i)!=="token_count"&&!/^tokens?(?: ·|$)/i.test(i.summary.trim()))continue;const u=i.source==="codex"?mt(i,o,r):pt(i);u&&(!s||i.ts>=s.ts)&&(s={ts:i.ts,usage:u})}return s?.usage}function ht(e,t){const s=Le(t),n=ue(t),o=I(n,"collaboration_mode"),r=I(o,"settings"),i=_(n?.sandbox_policy),u=_(n?.permission_profile),c={adapterType:e.source,cwd:f(n?.cwd,s?.cwd,e.cwd)??void 0,externalSessionId:f(s?.id,e.sessionId)??void 0,threadId:f(n?.turn_id)??void 0,threadPath:e.transcriptPath,model:f(n?.model,r?.model)??void 0,effort:Ce(n),gitBranch:K(n)??K(s),cliVersion:f(s?.cli_version),entrypoint:f(s?.thread_source,s?.source),originator:f(s?.originator,s?.source),source:f(s?.source),approvalPolicy:f(n?.approval_policy),sandbox:f(i?.type,n?.sandbox),permissionMode:f(u?.type,n?.permission_mode),userType:f(s?.user_type,n?.user_type),modelProvider:f(s?.model_provider,n?.model_provider),timezone:f(n?.timezone)};for(const l of Object.keys(c))c[l]===void 0&&delete c[l];return c}function gt(e){let t,s,n;for(const o of e){if(o.source!=="claude")continue;const r=_(o.raw);if(!r)continue;const i=f(r.gitBranch);i&&(!s||o.ts>=s.ts)&&(s={ts:o.ts,value:i});const u=f(r.cwd);u&&(!n||o.ts>=n.ts)&&(n={ts:o.ts,value:u});const c=I(r,"message"),l=f(c?.model);l&&(!t||o.ts>=t.ts)&&(t={ts:o.ts,value:l})}return{model:t?.value,gitBranch:s?.value,cwd:n?.value}}function yt(e,t){const s=new Map;for(const n of[...e??[],...t??[]]){const o=n.path?.trim();if(!o||!Ue(o))continue;const r=s.get(o);if(!r){s.set(o,{...n,path:o});continue}r.touches+=n.touches,r.lastT=Math.max(r.lastT,n.lastT),r.state==="read"&&n.state!=="read"&&(r.state=n.state),r.state==="modified"&&n.state==="created"&&(r.state="created")}return[...s.values()].sort((n,o)=>{const r=n.state==="read"?0:1,i=o.state==="read"?0:1;return r!==i?i-r:o.lastT-n.lastT})}function wt(e){let t=-1,s=-1,n=0;for(const o of e){const r=o.summary.trim().toLowerCase(),i=V(o);(r==="task started"||i==="task_started")&&(t=Math.max(t,o.ts),n+=1),(r==="task complete"||i==="task_complete"||i==="turn_aborted")&&(s=Math.max(s,o.ts))}return n===0&&s<0?{phase:"idle"}:{phase:t>s?"started":"complete",index:n||void 0}}function kt(e,t){const s=[...t?.events??[]].reverse().find(n=>n.kind==="ask"&&n.text.trim());if(s)return Q(s.text,160,2);for(const n of[...e].sort((o,r)=>r.ts-o.ts)){if(n.kind==="user"&&n.summary.trim())return Q(n.summary,160,2);const o=$(n);if(V(n)==="user_message"){const r=f(o?.message);if(r)return Q(r,160,2)}}}function St(e){let t;for(const s of e)(!t||(U[s.harness]??0)>(U[t]??0))&&(t=s.harness);return t}function bt(e,t,s){const n=ht(e,t),o=gt(t);return{...n,model:n.model??o.model,gitBranch:n.gitBranch??o.gitBranch,cwd:n.cwd??o.cwd??e.cwd??void 0,externalSessionId:n.externalSessionId??e.sessionId??void 0,sessionStart:s}}function Me(e){if(!e?.trim())return null;try{return _(JSON.parse(e))}catch{return null}}function vt(e){const t=$(e);return f(t?.name,t?.type)}function Pe(e){const t=$(e),s=t?.arguments;if(typeof s=="string")return s;const n=t?.input;if(typeof n=="string")return n;const o=t?.command;if(Array.isArray(o))return o.filter(r=>typeof r=="string").join(" ");if(typeof o=="string")return o}function _t(e){if(e.source!=="codex")return;const t=vt(e)?.toLowerCase();if(t!=="apply_patch"&&t!=="patch_apply")return;const s=Pe(e),n=Me(s);return f(n?.patch,n?.input,s)}function Tt(e){if(!e?.trim())return;let t=0,s=0;const n=[];for(const o of e.split(/\r?\n/))o.startsWith("+")&&!o.startsWith("+++")&&(t+=1),o.startsWith("-")&&!o.startsWith("---")&&(s+=1),n.length<24&&/^(?:\*\*\* |@@|\+\+\+|---|[+-])/.test(o)&&n.push(o);if(!(t===0&&s===0&&n.length===0))return{add:t,del:s,preview:n.join(`
1
+ import{d as Ke,i as xe}from"./context-budget-DqxWzalx.js";import{i as we}from"./terminal-sessions-Bdt2W3Y4.js";import{c as ze,d as Re,o as Ge,i as Ue,l as Q,L as ke}from"./lane-observe-vfyACHi0.js";import{a as qe,i as Ve,b as Xe,c as Se,d as Qe}from"./lane-edit-display-C_Aujldz.js";import{i as Je,b as Ze,t as Ye,e as et,f as tt,g as nt}from"./tail-display-DcliDVkW.js";function H(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function Ee(e,t){return H(H(e)?.[t])}function st(e){const s=H(e.raw)?.type;return typeof s=="string"?s:void 0}function ot(e){const s=Ee(e.raw,"payload")?.type;return typeof s=="string"?s:void 0}const rt=/context\s+compacted|compacted\s+·/iu;function it(e){const t=e.summary.trim();return t&&(e.source==="codex"&&(Ee(H(e.raw),"payload"),ot(e)==="context_compacted"||st(e)==="compacted")||rt.test(t))?t:null}function at(e,t,s){let n=null,o=null;for(const c of e){const l=it(c);l&&(n===null||c.ts>=n)&&(n=c.ts,o=l)}const r=Ke(t,s);let i=null;return r?.overLimit?i="over_limit":r&&r.pct>=80?i="high_context":n!==null&&(i="post_compaction_point"),{eligible:!!(r&&(r.overLimit||r.pct>=75||n!==null)),reason:i,lastCompactedAt:n,lastCompactedSummary:o}}function hn(e){const t=e?.trim().toLowerCase()??"";return t==="codex"||t==="claude"||t==="claude-code"}const re="5m",te=[{key:"5m",label:"5m",windowMs:5*6e4},{key:"30m",label:"30m",windowMs:30*6e4},{key:"4h",label:"4h",windowMs:240*6e4},{key:"24h",label:"24h",windowMs:1440*6e4}];function ie(e){return te.find(t=>t.key===e)?.windowMs??te[0].windowMs}function gn(e){return te.find(t=>t.key===e)?.label??e}function yn(e){return 1e3}const be=400;function ct(e){return e?`${e[0]?.toUpperCase()}${e.slice(1).toLowerCase()}`:""}function ut(e){const t=e.name.trim();if(!t||e.agentClass==="organic")return!0;const s=e.harness?.trim();if(!s)return!1;const n=ct(s);return new RegExp(`^${n}\\s+[0-9a-f]{6}`,"i").test(t)}function ae(e,t=null){const s=e?.trim();if(!s)return!1;if(/^relay[-:]/i.test(s))return!0;const n=t?.sessionName?.trim();return!!(n&&s===n)}function N(e){const t=e.harnessSessionId?.trim();return t?!ae(t,e.terminalSurface):!1}function q(e){return e.transport==="codex_app_server"&&e.state==="available"}function lt(e,t,s){return(e.brokerActivity??[]).filter(n=>n.at>0&&t-n.at<=s)}function wn(e,t=Date.now(),s=re){if(q(e))return!1;if(e.harnessSessionId?.trim()||e.state&&/^(working|active|running|in_turn|in_flight|queued|waking|dispatching)$/i.test(e.state.trim()))return!0;const n=ie(s);return e.updatedAt?t-e.updatedAt<=n:!1}function j(e,t){return t==="scout"&&e.agentClass!=="organic"&&!ut(e)&&(N(e)||(e.brokerActivity?.length??0)>0)}function dt(e,t){return e.role==="subagent"?e.name.trim()||"Subagent":j(e,t)?e.name.trim()||"Agent":e.project?.trim()||e.harness?.trim()||"local"}function kn(e,t){return e.harness?.trim()||dt(e,t)}function Sn(e,t){if(j(e,t))return[e.project,e.branch].filter(Boolean).join(" · ")||e.harness||"local";const s=e.harness?.trim(),n=e.harnessSessionId?.trim();return s&&n?`${s} · ${n.replace(/\.jsonl$/u,"").slice(0,8)}`:s||n?.slice(0,8)||"native"}function ft(e){let t=2166136261;for(let s=0;s<e.length;s+=1)t^=e.charCodeAt(s),t=Math.imul(t,16777619);return(t>>>0).toString(36)}function ne(e){const t=e.sessionId?.trim();return t?`native:${e.source}:${t}`:`native:${e.source}:path:${ft(e.transcriptPath)}`}function _(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function $(e){const t=_(e.raw);return _(t?.payload)}function ce(e){const s=_(e.raw)?.type;return typeof s=="string"?s:null}function V(e){const s=$(e)?.type;return typeof s=="string"?s:null}function f(...e){for(const t of e){if(typeof t!="string")continue;const s=t.trim();if(s)return s}}function k(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function I(e,t){return _(e?.[t])}function Fe(e,t){let s=null;for(const n of e){if(ce(n)!==t)continue;const o=$(n);o&&(!s||n.ts>=s.event.ts)&&(s={event:n,payload:o})}return s?.payload??null}function ue(e){return Fe(e,"turn_context")}function Le(e){return Fe(e,"session_meta")}function Ce(e){const t=I(e,"collaboration_mode"),s=I(t,"settings");return f(e?.effort,s?.reasoning_effort)}function K(e){return f(e?.gitBranch,e?.git_branch,e?.currentBranch,e?.current_branch,e?.branch)}function mt(e,t,s="session"){if(e.source!=="codex")return null;if(ce(e)!=="event_msg"||V(e)!=="token_count"){const b=e.summary.match(/^tokens? · ([0-9,]+)/i)?.[1]?.replace(/,/g,""),w=b?Number.parseInt(b,10):NaN;return Number.isFinite(w)?{totalTokens:w}:null}const n=$(e),o=I(n,"info"),r=I(o,"total_token_usage"),i=I(o,"last_token_usage"),u=I(n,"rate_limits");if(!r&&!o&&!u)return null;const c=s==="turn"?i??r:r??i,l={},p=k(c?.input_tokens),d=k(i?.input_tokens),m=k(c?.output_tokens),g=k(c?.reasoning_output_tokens),v=k(c?.cached_input_tokens)??k(c?.cache_read_input_tokens),x=k(c?.cache_creation_input_tokens)??k(c?.cache_write_input_tokens),M=k(c?.total_tokens)??(p!==void 0||m!==void 0?(p??0)+(m??0):void 0),D=k(o?.model_context_window)??xe({model:t,adapterType:"codex"}),a=f(n?.service_tier,u?.service_tier),S=f(n?.speed,u?.speed),y=f(n?.plan_type,u?.plan_type);return p!==void 0&&(l.inputTokens=p),d!==void 0&&(l.contextInputTokens=d),m!==void 0&&(l.outputTokens=m),g!==void 0&&(l.reasoningOutputTokens=g),v!==void 0&&(l.cacheReadInputTokens=v),x!==void 0&&(l.cacheCreationInputTokens=x),M!==void 0&&(l.totalTokens=M),D!==void 0&&(l.contextWindowTokens=D),a&&(l.serviceTier=a),S&&(l.speed=S),y&&(l.planType=y),Object.keys(l).length>0?l:null}function pt(e){if(e.source!=="claude"||ce(e)!=="assistant")return null;const t=_(e.raw),s=_(t?.message),n=_(s?.usage);if(!s||!n)return null;const o=k(n.input_tokens),r=k(n.output_tokens),i=k(n.cache_read_input_tokens),u=k(n.cache_creation_input_tokens),c=(o??0)+(i??0)+(u??0),l=k(n.context_window_tokens)??k(n.contextWindowTokens)??k(n.model_context_window)??k(s.context_window_tokens)??k(s.contextWindowTokens)??k(s.model_context_window)??xe({model:f(s.model),adapterType:"claude-code"}),p=(o??0)+(r??0)+(i??0)+(u??0),h=_(n.server_tool_use),d={};o!==void 0&&(d.inputTokens=o),c>0&&(d.contextInputTokens=c),r!==void 0&&(d.outputTokens=r),i!==void 0&&(d.cacheReadInputTokens=i),u!==void 0&&(d.cacheCreationInputTokens=u),p>0&&(d.totalTokens=p),l>0&&(d.contextWindowTokens=l);const m=k(h?.web_search_requests),g=k(h?.web_fetch_requests);m!==void 0&&(d.webSearchRequests=m),g!==void 0&&(d.webFetchRequests=g);const v=f(s.service_tier,n.service_tier),x=f(s.speed,n.speed);return v&&(d.serviceTier=v),x&&(d.speed=x),Object.keys(d).length>0?d:null}function Ne(e,t){let s=null;const n=ue(e),o=f(n?.model,I(I(n,"collaboration_mode"),"settings")?.model),r=t?.scope??"session";for(const i of e){if(i.source!=="codex"&&i.source!=="claude"||i.source==="codex"&&V(i)!=="token_count"&&!/^tokens?(?: ·|$)/i.test(i.summary.trim()))continue;const u=i.source==="codex"?mt(i,o,r):pt(i);u&&(!s||i.ts>=s.ts)&&(s={ts:i.ts,usage:u})}return s?.usage}function ht(e,t){const s=Le(t),n=ue(t),o=I(n,"collaboration_mode"),r=I(o,"settings"),i=_(n?.sandbox_policy),u=_(n?.permission_profile),c={adapterType:e.source,cwd:f(n?.cwd,s?.cwd,e.cwd)??void 0,externalSessionId:f(s?.id,e.sessionId)??void 0,threadId:f(n?.turn_id)??void 0,threadPath:e.transcriptPath,model:f(n?.model,r?.model)??void 0,effort:Ce(n),gitBranch:K(n)??K(s),cliVersion:f(s?.cli_version),entrypoint:f(s?.thread_source,s?.source),originator:f(s?.originator,s?.source),source:f(s?.source),approvalPolicy:f(n?.approval_policy),sandbox:f(i?.type,n?.sandbox),permissionMode:f(u?.type,n?.permission_mode),userType:f(s?.user_type,n?.user_type),modelProvider:f(s?.model_provider,n?.model_provider),timezone:f(n?.timezone)};for(const l of Object.keys(c))c[l]===void 0&&delete c[l];return c}function gt(e){let t,s,n;for(const o of e){if(o.source!=="claude")continue;const r=_(o.raw);if(!r)continue;const i=f(r.gitBranch);i&&(!s||o.ts>=s.ts)&&(s={ts:o.ts,value:i});const u=f(r.cwd);u&&(!n||o.ts>=n.ts)&&(n={ts:o.ts,value:u});const c=I(r,"message"),l=f(c?.model);l&&(!t||o.ts>=t.ts)&&(t={ts:o.ts,value:l})}return{model:t?.value,gitBranch:s?.value,cwd:n?.value}}function yt(e,t){const s=new Map;for(const n of[...e??[],...t??[]]){const o=n.path?.trim();if(!o||!Ue(o))continue;const r=s.get(o);if(!r){s.set(o,{...n,path:o});continue}r.touches+=n.touches,r.lastT=Math.max(r.lastT,n.lastT),r.state==="read"&&n.state!=="read"&&(r.state=n.state),r.state==="modified"&&n.state==="created"&&(r.state="created")}return[...s.values()].sort((n,o)=>{const r=n.state==="read"?0:1,i=o.state==="read"?0:1;return r!==i?i-r:o.lastT-n.lastT})}function wt(e){let t=-1,s=-1,n=0;for(const o of e){const r=o.summary.trim().toLowerCase(),i=V(o);(r==="task started"||i==="task_started")&&(t=Math.max(t,o.ts),n+=1),(r==="task complete"||i==="task_complete"||i==="turn_aborted")&&(s=Math.max(s,o.ts))}return n===0&&s<0?{phase:"idle"}:{phase:t>s?"started":"complete",index:n||void 0}}function kt(e,t){const s=[...t?.events??[]].reverse().find(n=>n.kind==="ask"&&n.text.trim());if(s)return Q(s.text,160,2);for(const n of[...e].sort((o,r)=>r.ts-o.ts)){if(n.kind==="user"&&n.summary.trim())return Q(n.summary,160,2);const o=$(n);if(V(n)==="user_message"){const r=f(o?.message);if(r)return Q(r,160,2)}}}function St(e){let t;for(const s of e)(!t||(U[s.harness]??0)>(U[t]??0))&&(t=s.harness);return t}function bt(e,t,s){const n=ht(e,t),o=gt(t);return{...n,model:n.model??o.model,gitBranch:n.gitBranch??o.gitBranch,cwd:n.cwd??o.cwd??e.cwd??void 0,externalSessionId:n.externalSessionId??e.sessionId??void 0,sessionStart:s}}function Me(e){if(!e?.trim())return null;try{return _(JSON.parse(e))}catch{return null}}function vt(e){const t=$(e);return f(t?.name,t?.type)}function Pe(e){const t=$(e),s=t?.arguments;if(typeof s=="string")return s;const n=t?.input;if(typeof n=="string")return n;const o=t?.command;if(Array.isArray(o))return o.filter(r=>typeof r=="string").join(" ");if(typeof o=="string")return o}function _t(e){if(e.source!=="codex")return;const t=vt(e)?.toLowerCase();if(t!=="apply_patch"&&t!=="patch_apply")return;const s=Pe(e),n=Me(s);return f(n?.patch,n?.input,s)}function Tt(e){if(!e?.trim())return;let t=0,s=0;const n=[];for(const o of e.split(/\r?\n/))o.startsWith("+")&&!o.startsWith("+++")&&(t+=1),o.startsWith("-")&&!o.startsWith("---")&&(s+=1),n.length<24&&/^(?:\*\*\* |@@|\+\+\+|---|[+-])/.test(o)&&n.push(o);if(!(t===0&&s===0&&n.length===0))return{add:t,del:s,preview:n.join(`
2
2
  `)}}function At(e){const t=_(e.raw);return t?_(t.tool_input):null}function $e(e,t){if(!Ve(t))return null;if(e.source==="grok"){const o=Xe(e.summary);if(o)return o;const r=Se(At(e));if(r)return r}const s=Pe(e),n=Se(Me(s));return n||null}function It(e,t){const s=_t(e);if(s)return s;const n=$e(e,t);if(n&&(n.oldText||n.newText))return Qe(n)}function Oe(e,t,s){const n=[...e].sort((o,r)=>o.ts-r.ts);return typeof s=="number"&&s>0?n.filter(o=>o.ts>=t-s):n}function ve(e,t,s){const n=Oe(e,t,s),o=nt(n);return o.length>be?o.slice(-be):o}function xt(e,t,s,n){const o=n?.now??Date.now(),r=Oe(t,o,n?.windowMs),i=ve(r,o,void 0),u=i.length>=ke?i:ve(t,o,void 0).slice(-ke),c=u[0]?.ts??e.mtimeMs,l=u.map(d=>{const m=Ze(d),g=$e(d,m.tool),v=Ye(d,e)??It(d,m.tool),x=g&&(g.oldText||g.newText)?qe(g):Tt(v);return{id:d.id,t:Math.max(0,Math.round((d.ts-c)/1e3)),at:d.ts,kind:tt(d),text:et(d,m),tool:m.tool,arg:m.arg,result:m.result,stream:m.stream,diff:x,detail:v,live:s&&d.id===u[u.length-1]?.id}}),p=Re(l),h=Ne(r,{scope:typeof n?.windowMs=="number"&&n.windowMs>0?"turn":"session"});return{events:l,files:p,live:s&&l.length>0,metadata:{session:bt(e,t,c),usage:h}}}function z(e){return e?`${e[0]?.toUpperCase()}${e.slice(1)}`:"Native"}function se(e){return e?e.replace(/\.jsonl$/u,"").slice(0,8):"session"}function _e(e,t,s){const n=e.sessionId?.trim()||null,o=!!e.subagentId,r=o?`${z(e.source)} subagent ${se(e.subagentId)}`:`${z(e.source)} ${se(n)}`;return{id:ne(e),definitionId:`native:${e.source}`,name:r,handle:null,agentClass:"organic",harness:e.source,state:s?"working":"idle",projectRoot:e.cwd,cwd:e.cwd,updatedAt:t,createdAt:null,transport:null,selector:null,defaultSelector:null,nodeQualifier:null,workspaceQualifier:null,wakePolicy:null,capabilities:[],project:e.project,branch:null,role:o?"subagent":null,model:null,harnessSessionId:n,harnessLogPath:e.transcriptPath,conversationId:n??ne(e),homeNodeId:null,homeNodeName:null,ownerId:null,ownerName:null,ownerHandle:null,staleLocalRegistration:!1,retiredFromFleet:!1,replacedByAgentId:null,terminalSurface:null}}const Rt=new Set(["tmux","zellij","herdr"]);function Et(e){const t=e?.trim();if(!t)return null;const s=t.split("/").filter(Boolean);return s[s.length-1]??t}function Te(e){const t=e.surfaces.find(s=>we(s.backend));return!t||!we(t.backend)?null:{backend:t.backend,sessionName:t.sessionName,paneId:t.paneId,socketDir:t.socketDir??null}}function Ft(e){const t=e.harness?.trim();return!t||Rt.has(t.toLowerCase())||!e.sourceSessionId?.trim()||e.origin==="discovered"||e.metadata?.registryState==="discovered"?!1:e.surfaces.length>0}function X(e){const t=new Set;for(const s of[e.id,e.sourceSessionId,B(e.sourceSessionId)]){const n=s?.trim();n&&t.add(n)}for(const s of e.surfaces){const n=s.sessionName?.trim();n&&t.add(n)}return[...t]}function le(e){return`native:${e.harness}:terminal:${e.id}`}function Lt(e,t,s){const n=e.harness.trim()||"native",o=e.sourceSessionId.trim()||e.id,r=Et(e.cwd);return{id:le(e),definitionId:`native:${n}`,name:`${z(n)} ${se(o)}`,handle:null,agentClass:"organic",harness:n,state:s?"working":"idle",projectRoot:e.cwd||null,cwd:e.cwd||null,updatedAt:t,createdAt:e.createdAt??null,transport:Te(e)?.backend??null,selector:null,defaultSelector:null,nodeQualifier:null,workspaceQualifier:null,wakePolicy:null,capabilities:[],project:r,branch:null,role:null,model:null,harnessSessionId:o,harnessLogPath:null,conversationId:o,homeNodeId:null,homeNodeName:null,ownerId:null,ownerName:null,ownerHandle:null,staleLocalRegistration:!1,retiredFromFleet:!1,replacedByAgentId:null,terminalSurface:Te(e)}}function Ct(e){const t=e.surfaces[0];return t?`${t.backend}:${t.sessionName}`:null}function Be(e){const t=e.harness?.trim()||"Native";return{events:[{id:`${e.id}:session-ready`,t:0,at:e.startedAt,kind:"system",text:`${z(t)} session ready`,detail:e.detail??e.cwd??e.sessionId??void 0,live:e.current}],files:[],live:e.current,metadata:{session:{adapterType:e.harness??void 0,cwd:e.cwd??void 0,externalSessionId:e.sessionId??void 0,sessionStart:e.startedAt,model:e.model??void 0,source:"session-registry"}}}}function Nt(e,t,s){const n=Ct(e),o=[n?`surface: ${n}`:null,e.cwd].filter(Boolean).join(" · ");return Be({id:le(e),harness:e.harness,sessionId:e.sourceSessionId,cwd:e.cwd,startedAt:s,current:t,detail:o||null})}function je(e){if(!e)return null;const t=e.metadata?.session?.sessionStart;let s=null;for(const n of e.events){if(!de(n))continue;const o=Ge(n,t);o!==null&&(s=s===null?o:Math.max(s,o))}if(typeof t=="number"&&Number.isFinite(t))for(const n of e.files){if(!Number.isFinite(n.lastT)||n.lastT<0)continue;const o=t+n.lastT*1e3;s=s===null?o:Math.max(s,o)}return s}function G(e){return e?.live?e.events.some(t=>t.live===!0&&de(t)):!1}function Ae(e,t,s){const n=je(e);return n===null?!1:t-n<=s}function Mt(e,t,s){if(G(t?.data))return s;const n=je(t?.data),o=e.updatedAt??0;return n!==null?Math.max(n,o):0}function J(e){return G(e)}const Pt=["transcript discovered","waiting for events","no session trace","waiting for a live session"];function $t(e){if(e.kind!=="boot"&&e.kind!=="system")return!1;const t=e.text.trim().toLowerCase(),s=(e.detail??"").trim().toLowerCase();return t.includes("session started")?s.includes("turns: 0")&&s.includes("status: idle"):!1}function de(e){if(e.kind==="tool"||e.kind==="think"||e.kind==="ask"||e.kind==="message"||e.kind==="note")return!0;if(e.kind==="system"||e.kind==="boot"){if($t(e))return!1;const t=e.text.trim().toLowerCase();return!Pt.some(s=>t.includes(s))}return!1}const U={"scout-managed":3,"hudson-managed":2,unattributed:1};function Ot(e,t){const s=e.cwd?.trim();if(!s)return e.harness;const n=t.filter(o=>o.source===e.source&&o.cwd===s);return n.length===0?e.harness:n.reduce((o,r)=>{const i=U[o.harness]??0,u=U[r.harness]??0;return u>i||u===i&&r.pid<o.pid?r:o}).harness}function Z(e,t,s,n,o,r){const i=o?.metadata?.session,u=ue(t),c=Le(t),l=e?Ot(e,n):St(t),p=o?Re(o.events):[],h=yt(o?.files,p),d=Ne(t,{scope:"turn"})??o?.metadata?.usage,m={touchedFiles:h,model:f(i?.model,u?.model,I(I(u,"collaboration_mode"),"settings")?.model,s.model),effort:f(i?.effort,Ce(u)),branch:f(i?.gitBranch,K(u),K(c),s.branch),cwd:f(i?.cwd,c?.cwd,s.cwd,s.projectRoot),originator:f(i?.originator,c?.originator,c?.source),attribution:l,turn:t.length>0?wt(t):o?.live?{phase:"started"}:{phase:"idle"},usage:d,parentSessionId:e?.parentSessionId?.trim()||void 0,parentAgentName:e?.parentSessionId&&r?C(r):void 0,currentTask:kt(t,o)},g=at(t,d,{model:m.model,adapterType:e?.source??s.harness});(g.eligible||g.lastCompactedAt!==null)&&(m.compaction={eligible:g.eligible,reason:g.reason,...g.lastCompactedAt!==null?{lastCompactedAt:g.lastCompactedAt}:{},...g.lastCompactedSummary?{lastCompactedSummary:g.lastCompactedSummary}:{}});for(const v of["model","effort","branch","cwd","originator","attribution","usage","compaction","currentTask"])m[v]===void 0&&delete m[v];return m}function Bt(e){if(Je(e))return!1;if(e.kind==="tool"||e.kind==="tool-result"||e.kind==="assistant"||e.kind==="user")return!0;if(e.kind!=="system")return!1;if(e.source==="grok")return/^turn /u.test(e.summary);if(e.source==="codex"){const t=e.summary.trim().toLowerCase();if(t==="task started"||t==="task complete"||t.startsWith("turn aborted"))return!0;const s=e.raw;if(s&&typeof s=="object"&&!Array.isArray(s)){const n=s.payload;if(n&&typeof n=="object"&&!Array.isArray(n)&&n.type==="reasoning"&&t!=="[reasoning]")return!0}}return!1}function Y(e){return e?.events.some(de)??!1}function B(e){const t=e?.trim();if(!t)return null;const s=t.split("/").pop()??t;return s.endsWith(".jsonl")?s.slice(0,-6):s}function fe(e){const t=new Set;for(const s of[e.sessionId,e.transcriptPath,B(e.sessionId),B(e.transcriptPath)]){const n=s?.trim();n&&t.add(n)}return[...t]}function De(e,t){const s=fe(e),n=new Set,o=[];for(const r of s)for(const i of t.get(r)??[])n.has(i.id)||(n.add(i.id),o.push(i));return o}function me(e){const t=new Set,s=e.harnessSessionId?.trim();if(s){t.add(s);const n=B(s);n&&t.add(n);const o=W(s);o&&t.add(o)}for(const n of[e.harnessLogPath,e.conversationId,W(e.harnessLogPath),W(e.conversationId)]){const o=n?.trim();o&&t.add(o)}return[...t]}function Ie(e){return j(e,"scout")?N(e)?2:1:0}function jt(e,t,s){const n=e.get(t);if(!n){e.set(t,s);return}const o=Ie(n),r=Ie(s);if(r>o){e.set(t,s);return}r===o&&s.id.localeCompare(n.id)<0&&e.set(t,s)}function Dt(e,t){for(const s of fe(e)){const n=t.get(s);if(n)return n}}function Wt(e,t){return me(e).some(s=>t.has(s))}function Ht(e,t){return X(e).some(s=>t.has(s))}function pe(e,t,s){const n=s?De(s,t):e?.trim()?t.get(e.trim())??[]:[];let o=0;for(const r of n)Bt(r)&&(o=Math.max(o,r.ts));return o}function Kt(e,t){let s=0;for(const n of X(e))s=Math.max(s,pe(n,t));return s}function zt(e,t){return pe(e.sessionId,t,e)}function Gt(e,t){for(const s of X(e)){const n=t.get(s);if(n)return n}}function Ut(e,t,s){if(!N(e)||q(e))return!1;const n=e.transport?.trim();if(n!=="pi_rpc"&&n!=="pairing_bridge")return!1;const o=e.updatedAt??0;return o>0&&t-o<=s}function qt(e){return e.retiredFromFleet||e.staleLocalRegistration||!j(e,"scout")||!N(e)||q(e)?0:Math.max(e.updatedAt??0,e.createdAt??0)}function Vt(e,t,s){return Be({id:e.id,harness:e.harness,sessionId:e.harnessSessionId,cwd:e.cwd??e.projectRoot,model:e.model,startedAt:s,current:t,detail:[e.transport,e.cwd??e.projectRoot,e.harnessSessionId].filter(Boolean).join(" · ")||null})}function Xt(e,t){return{events:[],files:[],live:!1,metadata:{session:{adapterType:e.harness??void 0,cwd:e.cwd??e.projectRoot??void 0,externalSessionId:e.harnessSessionId??void 0,sessionStart:t,model:e.model??void 0,source:"agent-presence"}}}}function Qt(e,t){const s=new Set(["queued","waking","running","waiting","in_flight"]);return{events:t.map((n,o)=>({id:`broker:${n.kind}:${n.id}`,t:o,at:n.at,kind:n.kind==="flight"?"tool":n.kind==="invocation"?"ask":"message",text:n.summary,...n.kind==="flight"?{tool:"scout flight",arg:n.state??void 0,live:!!(n.state&&s.has(n.state))}:{}})),files:[],live:t.some(n=>!!(n.state&&s.has(n.state))),metadata:{session:{adapterType:e.harness??"scout",cwd:e.cwd??e.projectRoot??void 0,sessionStart:t[0]?.at,source:"broker-native",approvalPolicy:e.runtimePolicy?.approvalPolicy??void 0,sandbox:e.runtimePolicy?.sandbox??void 0}}}}function ee(e,t=Date.now(),s=ie(re),n=0){const{agent:o,observe:r,lastActiveAt:i,source:u}=e;return i<=0||t-i>s?!1:u==="native"?n>0&&t-n<=s?!0:G(r)||Ae(r,t,s):!!(n>0&&t-n<=s||G(r)||Ae(r,t,s))}function oe(e,t){return e.id.localeCompare(t.id)}function Jt(e){return[e.agent.harnessSessionId,e.agent.conversationId,e.observe?.metadata?.session?.externalSessionId].filter(t=>!!t?.trim())}function Zt(e,t){const s=new Map;for(const o of e)for(const r of Jt(o))s.set(r,o);const n=new Map;for(const o of e){const r=o.facts?.parentSessionId?.trim(),i=r?s.get(r):void 0;i&&i.id!==o.id&&n.set(o.id,i)}return[...e].sort((o,r)=>{const i=n.get(o.id),u=n.get(r.id),c=i??o,l=u??r,p=t.slots.get(c.id)??Number.MAX_SAFE_INTEGER,h=t.slots.get(l.id)??Number.MAX_SAFE_INTEGER;if(p!==h)return p-h;if(c.id!==l.id)return oe(c,l);if(o.id===c.id)return-1;if(r.id===l.id)return 1;const d=t.slots.get(o.id)??Number.MAX_SAFE_INTEGER,m=t.slots.get(r.id)??Number.MAX_SAFE_INTEGER;return d!==m?d-m:oe(o,r)})}const Yt=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i;function W(e){return e?.match(Yt)?.[0]?.toLowerCase()??null}function bn(){return{slots:new Map,nextSlot:0}}function vn(e,t){const s=[];for(const r of e){const i=r.id;t.slots.has(i)||(t.slots.set(i,t.nextSlot),t.nextSlot+=1,s.push(r.id))}const n=new Set(e.map(r=>r.id));for(const r of[...t.slots.keys()])n.has(r)||t.slots.delete(r);return{lanes:Zt(e,t),newLaneIds:s}}function We(e){return W(e.harnessSessionId)??B(e.harnessSessionId)??e.harnessSessionId?.trim()??null}function C(e){return e.name.trim()||e.id}function He(e,t){return`${e}:${t}`}function O(e,t,s){const n=s.sessionRef??s.kind,o=s.id??He(s.kind,n);t.has(o)||(t.add(o),e.push({...s,id:o}))}function en(e,t){for(const s of e)for(const n of me(s)){const o=t.get(n);if(o&&e.some(r=>r.id===o.id))return o}}function tn(e){if(e.source==="cursor")return`${e.source}:path:${e.transcriptPath}`;const t=e.sessionId?.trim();return t?`${e.source}:${t}`:`${e.source}:path:${e.transcriptPath}`}function nn(e){const t=new Map,s=[];for(const n of e){if(n.source!=="cursor"){s.push(n);continue}const o=n.sessionId?.trim()||n.transcriptPath,r=t.get(o);(!r||n.mtimeMs>r.mtimeMs)&&t.set(o,n)}return[...s,...t.values()]}const sn=new Set(["codex_app_server","claude_stream_json","pairing_bridge","pi_rpc"]);function on(e){return e.retiredFromFleet||e.staleLocalRegistration?!1:ae(e.harnessSessionId,e.terminalSurface)||e.terminalSurface||e.transport?.trim()||e.state==="in_flight"?!0:N(e)}function rn(e){if(e.agentClass==="organic"||(e.brokerActivity?.length??0)>0||e.terminalSurface)return!1;const t=e.transport?.trim();return!t||t==="tmux"||t==="zellij"||!e.harness?.trim()||e.state!=="in_flight"?!1:sn.has(t)}function an(e){const t=[],s=new Set,n=new Map;for(const o of e){const r=tn(o),i=n.get(r)??[];i.push(o),n.set(r,i)}for(const[o,r]of n)r.length<=1||O(t,s,{kind:"duplicate_transcript_session",sessionRef:o,transcriptPaths:r.map(i=>i.transcriptPath),message:`Tail discovery returned ${r.length} transcripts for ${o}.`});return t}function cn(e,t){const s=e.filter(on),n=[],o=new Set,r=new Map;for(const c of s){const l=We(c);if(!l)continue;const p=r.get(l)??[];p.some(h=>h.id===c.id)||p.push(c),r.set(l,p)}const i=s.filter(c=>ae(c.harnessSessionId,c.terminalSurface));i.length>0&&O(n,o,{kind:"harness_session_polluted",sessionRef:"harness-slot",agentIds:i.map(c=>c.id),agentNames:i.map(C),message:`${i.length} agent(s) store a transport ref in harnessSessionId — use terminalSurface for attach and harnessSessionId for provider ids only.`});const u=s.filter(c=>rn(c)&&!N(c));u.length>0&&O(n,o,{kind:"harness_session_unbound",sessionRef:"fleet",agentIds:u.map(c=>c.id),agentNames:u.map(C),message:`${u.length} scout agent(s) have no provider harness session bound (lanes use tail transcripts, not agent.id).`});for(const[c,l]of r){if(l.length<=1)continue;const p=en(l,t);l.filter(d=>d.id!==p?.id).length!==0&&O(n,o,{kind:"session_binding_conflict",sessionRef:c,agentIds:l.map(d=>d.id),agentNames:l.map(C),selectedAgentId:p?.id,message:p?`Multiple scout agents claim ${c}; showing ${C(p)}.`:`Multiple scout agents claim ${c} but none could be selected.`})}return n}function _n(e){if(!e?.issues?.length)return[];const t=new Set,s=[];for(const n of e.issues)n.sessionKey.startsWith("cursor:")||t.has(n.sessionKey)||(t.add(n.sessionKey),s.push({id:He("transcript_path_collision",n.sessionKey),kind:"transcript_path_collision",sessionRef:n.sessionKey,transcriptPaths:n.transcriptPaths,message:n.message}));return s}function Tn(e){const{transcripts:t,tailEvents:s,processes:n=[],scoutAgents:o=e.agents??[],terminalSessions:r=[],observeCache:i={},now:u,workingOnly:c=!0,horizon:l=re}=e,p=nn(t),h=ie(l),d=[],m=new Map;for(const a of s){const S=m.get(a.sessionId)??[];S.push(a),m.set(a.sessionId,S)}const g=new Map;for(const a of o)for(const S of me(a))jt(g,S,a);const v=new Set,x=new Set,M=[...an(p),...cn(o,g)],D=new Set(M.map(a=>a.id));for(const a of p){a.sessionId?.trim();const S=De(a,m),y=zt(a,m),b=y>0&&u-y<=h;if(!b)continue;const w=Dt(a,g),E=a.parentSessionId?g.get(a.parentSessionId):void 0;w&&x.add(w.id);const T=xt(a,S,b,{now:u,windowMs:h}),F=S.length>0,L=Z(a,S,w??_e(a,y,b),n,T,E),R=y,P=w?{id:w.id,agent:{...w,updatedAt:y},source:"scout",observe:T,facts:L,lastActiveAt:y,current:b}:{id:ne(a),agent:_e(a,y,b),source:"native",observe:T,facts:L,lastActiveAt:y,current:b};if(!(c&&!ee(P,u,h,R))&&!(F&&!Y(T)&&!J(T))){for(const A of fe(a))v.add(A);d.push(P)}}for(const a of r){if(!Ft(a)||Ht(a,v))continue;const S=Kt(a,m),y=Math.max(S,a.updatedAt??0,a.createdAt??0),b=y>0&&u-y<=h;if(!b)continue;const w=Gt(a,g);w&&x.add(w.id);const E=Lt(a,y,b),T=w?{...w,harnessSessionId:w.harnessSessionId??a.sourceSessionId,terminalSurface:w.terminalSurface??E.terminalSurface,updatedAt:Math.max(w.updatedAt??0,y)}:E,F=Nt(a,b,y),L={id:w?w.id:le(a),agent:T,source:w?"scout":"native",observe:F,facts:Z(null,[],T,n,F),lastActiveAt:y,current:b};if(!(c&&!ee(L,u,h,S||y))){for(const R of X(a))v.add(R);d.push(L)}}for(const a of o){const S=lt(a,u,h);if(q(a)&&S.length===0||!j(a,"scout"))continue;const y=N(a);if(!y&&S.length===0)continue;if(y&&Wt(a,v)){if(!x.has(a.id)){const ye=We(a)??a.id;O(M,D,{kind:"shadowed_scout_card",sessionRef:ye,agentIds:[a.id],agentNames:[C(a)],message:`${C(a)} is active but hidden because another lane already represents ${ye}.`})}continue}const b=i[a.id],w=y?pe(a.harnessSessionId,m):0,E=S.at(-1)?.at??0,T=qt(a),F=Ut(a,u,h),L=F?a.updatedAt??0:0,R=Math.max(Mt(a,b,u),w,L,T,E),P=R>0&&u-R<=h;let A=ze(b?.data??null,u,h);!A&&S.length>0&&(A=Qt(a,S)),F&&P&&!Y(A)&&!J(A)?A=Vt(a,P,R):!A&&T>0&&(A=Xt(a,R));const he={id:a.id,agent:a,source:"scout",observe:A,facts:Z(null,[],a,n,A),lastActiveAt:R,current:P},ge=T>0&&u-T<=h||E>0;c&&!ge&&!ee(he,u,h,w)||!ge&&!Y(A)&&!J(A)||d.push(he)}return{lanes:d.sort(oe),issues:M}}export{te as A,re as D,Sn as a,q as b,on as c,kn as d,wn as e,je as f,Tn as g,yn as h,J as i,ie as j,gn as k,dt as l,bn as m,vn as n,xt as o,_n as r,hn as s};
@@ -1 +1 @@
1
- import{f as M}from"./use-fleet-active-asks-DAspZQjE.js";import{a as C}from"./message-visibility-CGOmSSKs.js";import{h as j}from"./conversation-model-Dc02NsGp.js";import{d as v,m as T,e as b}from"./Provider-CtXJeLrP.js";const h="No project";function B(e){const t=e?.project?.trim();if(t)return t;const s=e?.projectRoot?.trim();if(s){const i=s.replace(/\/+$/,"").split("/").pop();if(i)return i}return h}function P(e){const t=(e.title??"").trim()||e.agentName||e.id,s=(e.agentName??"").trim().toLowerCase();if(t&&t.trim().toLowerCase()!==s)return t;const i=e.preview?C(e.preview).replace(/\s+/g," ").trim():"";return i?i.length>64?`${i.slice(0,61)}…`:i:e.currentBranch??t}const A={needs_you:"Needs you",working:"Working",queued:"Starting",quiet:"Quiet"},E=["needs_you","working","queued","quiet"];function N(e){return e?.status==="needs_attention"?"needs_you":e?.status==="working"?"working":e?.status==="queued"?"queued":"quiet"}const _=1440*60*1e3,q=["Today","Yesterday","This week","Earlier"];function D(e,t){if(!e)return"Earlier";const s=f=>{const u=new Date(f);return u.setHours(0,0,0,0),u.getTime()},i=Math.round((s(t)-s(e))/_);return i<=0?"Today":i===1?"Yesterday":i<7?"This week":"Earlier"}function J(e,t,s,i,f){const u=o=>{const r=o.agentId?s.get(o.agentId):void 0;switch(t){case"project":return B(r);case"agent":return r?.name??o.agentName??"Unknown agent";case"day":return D(o.lastMessageAt,f);case"state":return A[N(M(i,o))]}},c=new Map;for(const o of e){const r=u(o),a=c.get(r);a?a.push(o):c.set(r,[o])}for(const o of c.values())o.sort((r,a)=>(a.lastMessageAt??0)-(r.lastMessageAt??0));return(()=>{const o=[...c.keys()];return t==="day"?q.filter(r=>c.has(r)):t==="state"?E.map(r=>A[r]).filter(r=>c.has(r)):o.sort((r,a)=>r===h?1:a===h?-1:r.localeCompare(a))})().map(o=>({label:o,sessions:c.get(o)}))}function O(e){const t=e.project?.trim().toLowerCase();if(t)return`project:${t}`;const s=e.projectRoot?.trim().replace(/\/+$/,"").toLowerCase();return s?`root:${s}`:"project:"}function $(e){return(e.authorityNodeId??e.homeNodeId??"").trim().toLowerCase()}function w(e,t){const s=e?.definitionId.trim().toLowerCase();return!e||!s?`agent:${t}`:JSON.stringify(["definition",s,O(e),$(e)])}function y(e,t){const s=e.id===e.definitionId?0:1,i=t.id===t.definitionId?0:1;return s-i||e.id.localeCompare(t.id)}function K(e){return[...e].sort(y)[0]}function p(e,t){return e.id===t||!!e.equivalentConversationIds?.includes(t)}function I(e,t){return(e.agentId??"").localeCompare(t.agentId??"")||e.id.localeCompare(t.id)}function Q(e){const t=e.machineId?.trim()||null,s=v(e.agents,t),i=T(e.agents,t),f=b(e.sessions,i,t),u=s.find(n=>n.id===e.agentId),c=w(u,e.agentId),g=u?s.filter(n=>w(n,n.id)===c):[],o=new Set(g.map(n=>n.id));o.size===0&&o.add(e.agentId);const r=f.filter(n=>j(n)&&!!(n.agentId&&o.has(n.agentId))).sort((n,l)=>(l.lastMessageAt??0)-(n.lastMessageAt??0)||I(n,l)),a=[...g].sort(y),m=a[0]??u;let d;for(const n of a)if(n.conversationId&&(d=r.find(l=>p(l,n.conversationId)),d))break;!d&&m&&(d=[...r].filter(n=>n.agentId===m.id).sort(I)[0]),d??=[...r].sort(I)[0];const S=r.filter(n=>n.id!==d?.id),k=!!(e.threadId&&d&&p(d,e.threadId)),L=e.threadId&&!k?r.find(n=>p(n,e.threadId)):void 0;return{agent:m,memberAgentIds:[...o].sort(),sessions:r,master:d,threads:S,thread:L}}export{h as N,w as a,Q as b,K as c,J as g,B as p,P as t};
1
+ import{f as M}from"./use-fleet-active-asks-CCGrll5q.js";import{a as j}from"./message-visibility-CGOmSSKs.js";import{h as C}from"./conversation-model-C2KuZUXc.js";import{i as v,m as T,j as b}from"./Provider-D0bB7q6y.js";const h="No project";function B(e){const t=e?.project?.trim();if(t)return t;const s=e?.projectRoot?.trim();if(s){const i=s.replace(/\/+$/,"").split("/").pop();if(i)return i}return h}function P(e){const t=(e.title??"").trim()||e.agentName||e.id,s=(e.agentName??"").trim().toLowerCase();if(t&&t.trim().toLowerCase()!==s)return t;const i=e.preview?j(e.preview).replace(/\s+/g," ").trim():"";return i?i.length>64?`${i.slice(0,61)}…`:i:e.currentBranch??t}const A={needs_you:"Needs you",working:"Working",queued:"Starting",quiet:"Quiet"},E=["needs_you","working","queued","quiet"];function N(e){return e?.status==="needs_attention"?"needs_you":e?.status==="working"?"working":e?.status==="queued"?"queued":"quiet"}const _=1440*60*1e3,q=["Today","Yesterday","This week","Earlier"];function D(e,t){if(!e)return"Earlier";const s=f=>{const u=new Date(f);return u.setHours(0,0,0,0),u.getTime()},i=Math.round((s(t)-s(e))/_);return i<=0?"Today":i===1?"Yesterday":i<7?"This week":"Earlier"}function J(e,t,s,i,f){const u=o=>{const r=o.agentId?s.get(o.agentId):void 0;switch(t){case"project":return B(r);case"agent":return r?.name??o.agentName??"Unknown agent";case"day":return D(o.lastMessageAt,f);case"state":return A[N(M(i,o))]}},c=new Map;for(const o of e){const r=u(o),a=c.get(r);a?a.push(o):c.set(r,[o])}for(const o of c.values())o.sort((r,a)=>(a.lastMessageAt??0)-(r.lastMessageAt??0));return(()=>{const o=[...c.keys()];return t==="day"?q.filter(r=>c.has(r)):t==="state"?E.map(r=>A[r]).filter(r=>c.has(r)):o.sort((r,a)=>r===h?1:a===h?-1:r.localeCompare(a))})().map(o=>({label:o,sessions:c.get(o)}))}function O(e){const t=e.project?.trim().toLowerCase();if(t)return`project:${t}`;const s=e.projectRoot?.trim().replace(/\/+$/,"").toLowerCase();return s?`root:${s}`:"project:"}function $(e){return(e.authorityNodeId??e.homeNodeId??"").trim().toLowerCase()}function w(e,t){const s=e?.definitionId.trim().toLowerCase();return!e||!s?`agent:${t}`:JSON.stringify(["definition",s,O(e),$(e)])}function y(e,t){const s=e.id===e.definitionId?0:1,i=t.id===t.definitionId?0:1;return s-i||e.id.localeCompare(t.id)}function K(e){return[...e].sort(y)[0]}function p(e,t){return e.id===t||!!e.equivalentConversationIds?.includes(t)}function I(e,t){return(e.agentId??"").localeCompare(t.agentId??"")||e.id.localeCompare(t.id)}function Q(e){const t=e.machineId?.trim()||null,s=v(e.agents,t),i=T(e.agents,t),f=b(e.sessions,i,t),u=s.find(n=>n.id===e.agentId),c=w(u,e.agentId),g=u?s.filter(n=>w(n,n.id)===c):[],o=new Set(g.map(n=>n.id));o.size===0&&o.add(e.agentId);const r=f.filter(n=>C(n)&&!!(n.agentId&&o.has(n.agentId))).sort((n,l)=>(l.lastMessageAt??0)-(n.lastMessageAt??0)||I(n,l)),a=[...g].sort(y),m=a[0]??u;let d;for(const n of a)if(n.conversationId&&(d=r.find(l=>p(l,n.conversationId)),d))break;!d&&m&&(d=[...r].filter(n=>n.agentId===m.id).sort(I)[0]),d??=[...r].sort(I)[0];const S=r.filter(n=>n.id!==d?.id),k=!!(e.threadId&&d&&p(d,e.threadId)),L=e.threadId&&!k?r.find(n=>p(n,e.threadId)):void 0;return{agent:m,memberAgentIds:[...o].sort(),sessions:r,master:d,threads:S,thread:L}}export{h as N,w as a,Q as b,K as c,J as g,B as p,P as t};
@@ -0,0 +1 @@
1
+ import{f as s}from"./runtime-picker-C20lTGhV.js";const c={general:"Generalist",builder:"Builder",reviewer:"Reviewer",researcher:"Researcher",operator:"Operator",bridge:"Bridge",system:"System",organic:"Organic",managed:"Managed"};function u(e){if(!e?.trim())return"Generalist";const r=e.trim().toLowerCase();return c[r]??e.replace(/_/g," ")}function m(e){return e?.trim()?s(e)?.trim()??null:null}function g(e,r){const i=e.agentClass?.trim()||"general",t=u(i),n=m(e.role),a=[...new Set(e.skills??[])].filter(Boolean),l=[...new Set([...e.capabilities??[],...r?.capabilities??[]])].filter(Boolean),o=i==="general"&&!n&&a.length===0;return{kind:t,kindRaw:i,role:n,isGeneralist:o,headline:n??t,skills:a,capabilities:l}}export{g as a};
@@ -0,0 +1 @@
1
+ .s-aproj{--s-bg: var(--hud-bg);--s-surface: var(--hud-surface);--s-ink: var(--scout-chrome-ink-strong);--s-muted: var(--scout-chrome-ink-soft);--s-dim: var(--scout-chrome-ink-faint);--s-border: color-mix(in srgb, var(--hud-ink) 17%, transparent);--s-hairline: color-mix(in srgb, var(--hud-ink) 9%, transparent);--s-hairline-strong: color-mix(in srgb, var(--hud-ink) 20%, transparent);--s-accent: var(--accent);--s-accent-soft: var(--hud-accent-soft);--s-font-sans: var(--hud-font-sans);--s-font-mono: var(--hud-font-mono);height:100%;min-height:0;overflow-y:auto;background:var(--s-bg);color:var(--s-ink);font-family:var(--s-font-sans)}.ap-dot{flex:none;width:6px;height:6px;border-radius:999px;background:var(--s-accent)}.ap-dot[data-tone=live]{box-shadow:0 0 0 3px var(--s-accent-soft)}.ap-dot[data-tone=needs]{box-shadow:0 0 0 3px var(--s-accent-soft);animation:ap-pulse 2.2s ease-in-out infinite}@keyframes ap-pulse{0%,to{opacity:1}50%{opacity:.45}}.ap-focus{min-width:0;max-width:720px;width:100%;margin:0 auto;display:flex;flex-direction:column;padding:32px}.ap-focusEmpty{max-width:720px;margin:0 auto;padding:60px 32px;text-align:center;font-size:var(--text-lg);color:var(--s-dim)}.ap-focusHead{display:flex;align-items:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--s-hairline)}.ap-focusTitle{margin:0;flex:1;min-width:0;font-size:var(--text-3xl);font-weight:600;letter-spacing:-.01em;line-height:1.3;color:var(--s-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ap-focusAttr{display:flex;align-items:center;gap:8px;min-width:0;padding:13px 0;border-bottom:1px solid var(--s-hairline)}.ap-focusAttrText{flex:1;min-width:0;font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-logHead{display:flex;align-items:baseline;gap:10px;padding:16px 0 10px}.ap-logHeadTitle{font-size:var(--text-2xs);font-weight:680;letter-spacing:.07em;text-transform:uppercase;color:var(--s-muted)}.ap-logHeadMeta{margin-left:auto;font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-dim)}.ap-log{display:flex;flex-direction:column;gap:4px}.ap-logLine{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:baseline}.ap-logT{font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-dim);text-align:right}.ap-logText{font-family:var(--s-font-mono);font-size:var(--text-md);line-height:1.55;color:var(--s-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ap-logLine[data-kind=ask] .ap-logT,.ap-logLine[data-kind=ask] .ap-logText{color:var(--s-accent)}.ap-logLine[data-kind=message] .ap-logText{color:var(--s-ink)}.ap-profile{max-width:1140px;margin:0 auto;padding:24px 28px 36px;color:var(--s-ink);font-family:var(--s-font-sans)}.ap-profileHead{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--s-hairline)}.ap-profileIdent{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ap-profileTop{display:flex;align-items:center;gap:10px}.ap-profileName{margin:0;font-size:var(--text-5xl);font-weight:600;letter-spacing:-.02em;color:var(--s-ink);text-transform:lowercase;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-profileSub{font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-profileId{font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-profileBody{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:32px;padding-top:22px}@media(max-width:920px){.ap-profileBody{grid-template-columns:1fr}}.ap-profileMain{min-width:0;display:flex;flex-direction:column}.ap-profileAside{min-width:0;display:flex;flex-direction:column;gap:22px}.ap-profileSection{display:flex;align-items:baseline;gap:8px;font-size:var(--text-2xs);font-weight:680;letter-spacing:.08em;text-transform:uppercase;color:var(--s-muted);padding:0 0 12px}.ap-profileSection:not(:first-child){padding-top:26px}.ap-profileCount{font-family:var(--s-font-mono);font-weight:600;color:var(--s-dim);letter-spacing:0}.ap-focus.ap-profileCard{max-width:none;margin:0;padding:20px 22px;background:color-mix(in srgb,var(--s-surface) 55%,transparent);border:1px solid var(--s-hairline);border-radius:14px}.ap-profileSessions{display:flex;flex-direction:column}.ap-profileSession{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;background:none;border:none;border-top:1px solid var(--s-hairline);cursor:pointer;text-align:left;transition:background .12s ease}.ap-profileSessions .ap-profileSession:last-child{border-bottom:1px solid var(--s-hairline)}.ap-profileSession:hover,.ap-profileSession[data-selected]{background:var(--s-surface)}.ap-profileSessionDot{flex:none;width:6px;height:6px;border-radius:999px;background:var(--s-hairline-strong)}.ap-profileSessionTitle{font-size:var(--text-md);font-weight:560;color:var(--s-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-profileSession[data-tone=idle] .ap-profileSessionTitle{color:var(--s-muted)}.ap-profileSessionBranch,.ap-profileSessionWhen{flex:none;font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-dim);white-space:nowrap}.ap-sessTable{display:flex;flex-direction:column}.ap-sessTableHead,.ap-sessRow{display:grid;grid-template-columns:12px minmax(0,1fr) minmax(0,168px) 84px;align-items:center;gap:12px}.ap-sessTableHead{padding:0 10px 8px;font-size:var(--text-2xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--s-muted);font-family:var(--s-font-mono)}.ap-sessTableHead>span:last-child{text-align:right}.ap-sessRow{padding:8px 10px;background:none;border:none;border-top:1px solid var(--s-hairline);cursor:pointer;text-align:left;transition:background .12s ease}.ap-sessTable .ap-sessRow:last-child{border-bottom:1px solid var(--s-hairline)}.ap-sessRow:hover,.ap-sessRow[data-selected]{background:var(--s-surface)}.ap-sessRowDot{flex:none;width:6px;height:6px;border-radius:999px;background:var(--s-hairline-strong)}.ap-sessRowName{font-size:var(--text-md);font-weight:540;color:var(--s-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sessRow[data-tone=idle] .ap-sessRowName{color:var(--s-muted)}.ap-sessRowEngine{font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sessRowWhen{font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-dim);text-align:right;white-space:nowrap}.ap-focusIdent{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ap-focusTop{display:flex;align-items:center;gap:11px}.ap-focusName{margin:0;font-size:var(--text-5xl);font-weight:600;letter-spacing:-.02em;color:var(--s-ink);text-transform:lowercase}.ap-focusState{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);font-weight:540;font-family:var(--s-font-mono);color:var(--s-dim)}.ap-focusState[data-tone=needs]{color:var(--s-accent)}.ap-focusState[data-tone=live]{color:var(--s-ink)}.ap-focusRoot{font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-muted)}.ap-focusOpen{flex:none;font-size:var(--text-md);font-weight:540;color:var(--s-muted);background:none;border:none;cursor:pointer;padding:4px 2px;transition:color .12s ease}.ap-focusOpen:hover{color:var(--s-ink)}.ap-situation{padding:22px 0 20px;border-bottom:1px solid var(--s-hairline)}.ap-situationLead{font-size:var(--text-2xl);line-height:1.5;font-weight:500;letter-spacing:-.005em;color:var(--s-ink)}.ap-situation[data-tone=idle] .ap-situationLead{color:var(--s-dim);font-weight:460}.ap-situationLead b{font-weight:600;font-family:var(--s-font-mono);font-size:.92em}.ap-situationTask{margin-top:10px;font-size:var(--text-lg);line-height:1.5;color:var(--s-muted);font-family:var(--s-font-mono)}.ap-decision{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--s-hairline)}.ap-decisionPrimary{font-size:var(--text-lg);font-weight:600;color:var(--s-bg);background:var(--s-accent);border:none;border-radius:9px;padding:9px 18px;cursor:pointer;transition:filter .12s ease}.ap-decisionPrimary:hover{filter:brightness(1.07)}.ap-decisionGhost{font-size:var(--text-md);font-weight:540;color:var(--s-muted);background:none;border:none;cursor:pointer;padding:4px;transition:color .12s ease}.ap-decisionGhost:hover{color:var(--s-ink)}.ap-decisionMeta{margin-left:auto;display:inline-flex;align-items:baseline;gap:18px;font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-ink)}.ap-decisionMeta>span{display:inline-flex;align-items:baseline;gap:6px}.ap-focusBody{display:flex;flex-direction:column;padding-top:18px}.ap-preview{padding-top:12px}.ap-previewKind{display:inline-block;font-size:var(--text-2xs);font-weight:660;letter-spacing:.06em;text-transform:uppercase;color:var(--s-muted);margin-bottom:8px}.ap-preview[data-kind=ask] .ap-previewKind{color:var(--s-accent)}.ap-previewText{margin:0;font-size:var(--text-lg);line-height:1.6;color:var(--s-ink);white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.ap-focusFoot{display:flex;align-items:center;gap:16px;margin-top:22px;padding-top:16px;border-top:1px solid var(--s-hairline)}.ap-focusFootLink{font-size:var(--text-md);font-weight:540;color:var(--s-muted);background:none;border:none;padding:0;cursor:pointer;transition:color .12s ease}.ap-focusFootLink:hover{color:var(--s-accent)}.ap-focusFootDim{font-size:var(--text-sm);color:var(--s-dim);font-family:var(--s-font-mono)}.ap-ctxGauge{height:5px;border-radius:999px;background:var(--s-hairline);overflow:hidden;margin:4px 0 9px}.ap-ctxFill{height:100%;background:var(--s-accent);border-radius:999px}.ap-fileRow{display:flex;align-items:baseline;gap:9px;padding:4px 0}.ap-fileTag{flex:none;width:30px;font-size:var(--text-3xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--s-dim);font-family:var(--s-font-mono)}.ap-fileTag[data-state=modified],.ap-fileTag[data-state=created]{color:var(--s-accent)}.ap-fileName{flex:1;min-width:0;font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sigil{color:var(--s-dim);font-weight:400;margin-right:1px}.ap-sessMeta{display:flex;flex-wrap:wrap;gap:20px;padding:14px 0 2px;font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-ink)}.ap-sessMeta>span{display:inline-flex;align-items:baseline;gap:6px}.ap-sessMetaKey{font-size:var(--text-3xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--s-muted);font-family:var(--s-font-sans)}.ap-sessFiles{margin-top:18px;padding-top:14px;border-top:1px solid var(--s-hairline)}.ap-sessFilesHead{display:block;margin-bottom:9px}.ap-agentCard{display:flex;align-items:center;gap:11px;padding-bottom:18px;border-bottom:1px solid var(--s-hairline)}.ap-agentIdent{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ap-agentName{font-size:var(--text-xl);font-weight:600;letter-spacing:-.01em;color:var(--s-ink)}.ap-agentMeta{font-size:var(--text-2xs);font-weight:660;letter-spacing:.08em;text-transform:uppercase;color:var(--s-dim)}.ap-caps{display:flex;flex-wrap:wrap;gap:6px;padding-top:3px}.ap-cap{font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-muted);padding:2px 8px;border:1px solid var(--s-hairline);border-radius:999px}.ap-view{display:block;min-height:100%}@media(prefers-reduced-motion:reduce){.ap-resume{transition:none}}.ap-content{min-width:0;display:flex;flex-direction:column;padding:22px 28px 26px}.ap-head{display:flex;align-items:center;gap:13px;padding-bottom:18px;border-bottom:1px solid var(--s-hairline)}.ap-headIdent{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.ap-headTop{display:flex;align-items:center;gap:12px}.ap-headName{margin:0;font-size:var(--text-5xl);font-weight:600;letter-spacing:-.02em;text-transform:lowercase;color:var(--s-ink)}.ap-headState{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-md);font-weight:500;color:var(--s-dim);font-family:var(--s-font-mono)}.ap-headState[data-tone=needs]{color:var(--s-accent)}.ap-headState[data-tone=live]{color:var(--s-ink)}.ap-headRoot{font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-muted)}.ap-headActions{display:flex;align-items:center;gap:14px;flex:none}.ap-headGhost{font-size:var(--text-md);font-weight:540;color:var(--s-muted);background:none;border:none;cursor:pointer;padding:4px 2px;transition:color .12s ease}.ap-headGhost:hover{color:var(--s-ink)}.ap-headCta{font-size:var(--text-md);font-weight:580;color:var(--s-bg);background:var(--s-accent);border:none;border-radius:8px;padding:7px 13px;cursor:pointer;transition:filter .12s ease}.ap-headCta:hover{filter:brightness(1.07)}.ap-digest{display:flex;align-items:center;gap:14px;padding:9px 0;border-bottom:1px solid var(--s-hairline)}.ap-stat{display:inline-flex;align-items:baseline;gap:5px}.ap-stat+.ap-stat:before{content:"·";margin-right:14px;color:var(--s-dim)}.ap-statNum{font-size:var(--text-md);font-weight:600;color:var(--s-ink);letter-spacing:0}.ap-statLbl{font-size:var(--text-xs);font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--s-muted)}.ap-statMarks{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:var(--s-muted)}.ap-statMarks>span{display:inline-flex}.ap-resume{display:flex;align-items:center;gap:11px;padding:10px 0;line-height:1.1;border-bottom:1px solid var(--s-hairline)}.ap-resumeLbl{font-size:var(--text-2xs);font-weight:680;line-height:1;letter-spacing:.06em;text-transform:uppercase;color:var(--s-accent)}.ap-resume[data-tone=live] .ap-resumeLbl{color:var(--s-muted)}.ap-resumeWho{font-size:var(--text-lg);font-weight:600;color:var(--s-ink)}.ap-resumeMeta{margin-left:3px;padding-right:6px;font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-dim)}.ap-resumeActions{margin-left:auto;display:inline-flex;gap:16px}.ap-link,.ap-linkAccent{font-size:var(--text-md);font-weight:560;background:none;border:none;cursor:pointer;padding:0;transition:color .12s ease}.ap-link{color:var(--s-muted)}.ap-link:hover{color:var(--s-ink)}.ap-linkAccent{color:var(--s-accent)}.ap-linkAccent:hover{filter:brightness(1.1)}.ap-find{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--s-hairline);transition:border-color .14s ease}.ap-find:focus-within{border-bottom-color:var(--s-accent)}.ap-findIco{display:inline-flex;color:var(--s-muted);flex:none}.ap-findInput{flex:1;min-width:0;background:none;border:none;outline:none;color:var(--s-ink);font-family:var(--s-font-sans);font-size:var(--text-lg)}.ap-findInput::placeholder{color:var(--s-muted)}.ap-findFilters{display:inline-flex;gap:14px;flex:none}.ap-filter{display:inline-flex;align-items:center;gap:5px;font-size:var(--text-sm);font-weight:520;text-transform:capitalize;color:var(--s-muted);background:none;border:none;padding:2px 0;cursor:pointer;border-bottom:1.5px solid transparent;transition:color .12s ease,border-color .12s ease}.ap-filter:hover{color:var(--s-ink)}.ap-filter[data-on]{color:var(--s-ink);border-bottom-color:var(--s-accent)}.ap-main{display:flex;flex-direction:column;padding-top:16px}.ap-sectionHead{display:flex;align-items:baseline;gap:10px;padding:0 0 4px}.ap-sectionTitle{font-size:var(--text-xs);font-weight:680;letter-spacing:.07em;text-transform:uppercase;color:var(--s-muted)}.ap-sectionMeta{font-size:var(--text-sm);color:var(--s-dim);font-family:var(--s-font-mono)}.ap-kbdHint{margin-left:auto;font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-dim);opacity:.7}.ap-roster{display:flex;flex-direction:column;margin:0 -28px}.ap-row{position:relative;padding:0 28px;border-top:1px solid var(--s-hairline)}.ap-row:last-child{border-bottom:1px solid var(--s-hairline)}.ap-row:before{content:"";position:absolute;inset:0;background:var(--s-surface);opacity:0;transition:opacity .12s ease;pointer-events:none}.ap-row:hover:before,.ap-row[data-open]:before{opacity:.6}.ap-row[data-selected]:before{opacity:.85}.ap-row[data-selected]:after{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--s-accent)}.ap-row[data-selected] .ap-rowName{color:var(--s-ink)}.ap-row[data-cursor]:before{opacity:.6}.ap-row[data-cursor]:not([data-selected]):after{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--s-hairline-strong)}.ap-row:focus{outline:none}.ap-row:focus-visible:before{opacity:.7}.ap-rowMain{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:13px;padding:11px 2px;cursor:pointer}.ap-rowBody{min-width:0;display:flex;flex-direction:column;gap:3px}.ap-rowTop{display:flex;align-items:center;gap:8px;min-width:0;line-height:1.15}.ap-rowName{font-size:var(--text-xl);font-weight:600;line-height:1.15;color:var(--s-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-rowName[data-idle]{color:var(--s-dim);font-weight:540}.ap-rowMark{display:inline-flex;color:var(--s-ink);flex:none}.ap-rowMark[data-idle]{color:var(--s-dim)}.ap-needsWord{flex:none;font-size:var(--text-xs);font-weight:640;letter-spacing:.04em;text-transform:uppercase;color:var(--s-accent)}.ap-rowState{flex:none;font-size:var(--text-xs);font-weight:580;letter-spacing:.04em;text-transform:uppercase;color:var(--s-dim)}.ap-rowMeta{display:flex;align-items:center;gap:9px;min-width:0;line-height:1.1}.ap-rowBranch{font-size:var(--text-sm);line-height:1.1;font-family:var(--s-font-mono);color:var(--s-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-rowBranch[data-dim]{color:var(--s-dim)}.ap-rowDim{font-size:var(--text-sm);color:var(--s-dim);font-family:var(--s-font-mono);flex:none}.ap-rowDivider{flex:none;width:1px;height:10px;background:var(--s-hairline-strong)}.ap-rowTail{position:relative;display:grid;align-items:center;justify-items:end}.ap-tailMeta,.ap-rowActions{grid-area:1 / 1;display:flex;transition:opacity .12s ease}.ap-tailMeta{flex-direction:column;align-items:flex-end;gap:3px;text-align:right}.ap-rowAgo{font-size:var(--text-sm);color:var(--s-dim);font-family:var(--s-font-mono)}.ap-rowModel{font-size:var(--text-xs);color:var(--s-dim);font-family:var(--s-font-mono)}.ap-rowActions{align-items:center;gap:4px;opacity:0;pointer-events:none}.ap-row:hover .ap-tailMeta,.ap-row[data-tone=needs] .ap-tailMeta{opacity:0}.ap-row:hover .ap-rowActions,.ap-row[data-tone=needs] .ap-rowActions{opacity:1;pointer-events:auto}.ap-rowTailWrap{display:flex;align-items:center;gap:6px}.ap-rowMore{flex:none;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;background:none;color:var(--s-dim);font-size:var(--text-2xl);line-height:1;cursor:pointer;opacity:.4;transition:opacity .12s ease,background .12s ease,color .12s ease}.ap-row:hover .ap-rowMore,.ap-row[data-selected] .ap-rowMore{opacity:.9}.ap-rowMore:hover{background:var(--s-surface);color:var(--s-ink);opacity:1}.ap-rowSessions{position:relative;display:flex;flex-direction:column;gap:1px;margin:1px 0 11px;padding-left:16px}.ap-rowSessions:before{content:"";position:absolute;left:6px;top:2px;bottom:9px;width:1px;background:var(--s-hairline)}.ap-rowSession{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:5px 9px 5px 5px;border:0;border-radius:5px;background:transparent;text-align:left;cursor:pointer}.ap-rowSession:hover{background:var(--s-surface)}.ap-rowSession:disabled{cursor:default}.ap-rowSessionDot{width:5px;height:5px;border-radius:50%;background:var(--s-dim);transition:background .12s ease,box-shadow .12s ease}.ap-rowSessionDot[data-tone=live]{background:var(--s-accent);box-shadow:0 0 0 3px var(--s-accent-soft)}.ap-rowSession:hover .ap-rowSessionDot{background:var(--s-accent)}.ap-rowSessionText{min-width:0;font-size:var(--text-md);line-height:1.3;color:#fffc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-rowSession:hover .ap-rowSessionText{color:var(--s-ink)}.ap-rowSessionAgo{flex:none;font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-dim)}.ap-rowSession[data-stale] .ap-rowSessionText{color:var(--s-dim)}.ap-rowSession[data-stale] .ap-rowSessionDot{background:var(--s-hairline-strong)}.ap-rowSession[data-stale] .ap-rowSessionAgo{color:var(--s-hairline-strong)}.ap-rowSessionMore{align-self:flex-start;margin:1px 0 0 5px;padding:3px 4px;border:0;border-radius:4px;background:none;font-size:var(--text-xs);font-family:var(--s-font-mono);color:var(--s-dim);cursor:pointer;transition:color .12s ease,background .12s ease}.ap-rowSessionMore:hover{color:var(--s-muted);background:var(--s-surface)}.ap-sx-list{position:relative;display:flex;flex-direction:column;gap:2px;margin:1px 0 11px;padding-left:16px}.ap-sx-list:before{content:"";position:absolute;left:6px;top:2px;bottom:9px;width:1px;background:var(--s-hairline)}.ap-sx-session{border-radius:8px}.ap-sx-session[data-open]{background:var(--scout-chrome-hover);border:1px solid var(--s-hairline-strong);margin:3px 0}.ap-sx-row{display:flex;align-items:flex-start;gap:9px;width:100%;padding:7px 10px 7px 6px;border:0;border-radius:7px;background:none;text-align:left;cursor:pointer;transition:background .12s ease}.ap-sx-row>.ap-sx-tri,.ap-sx-row>.ap-sx-dot{margin-top:4px}.ap-sx-session:not([data-open]) .ap-sx-row:hover{background:var(--s-surface)}.ap-sx-tri{flex:none;width:9px;font-size:var(--text-3xs);color:var(--s-dim);transition:transform .14s ease}.ap-sx-tri[data-open]{transform:rotate(90deg)}.ap-sx-dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--s-dim)}.ap-sx-dot[data-tone=running]{background:var(--s-accent);box-shadow:0 0 0 3px var(--s-accent-soft)}.ap-sx-rowBody{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.ap-sx-line{display:flex;align-items:baseline;gap:12px;min-width:0}.ap-sx-title{flex:1;min-width:0;font-size:var(--text-md);color:var(--scout-chrome-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sx-session[data-open] .ap-sx-title{color:var(--s-ink);font-weight:550}.ap-sx-rowMeta{flex:none;display:inline-flex;align-items:center;gap:11px;font-family:var(--s-font-mono)}.ap-sx-badge{font-size:var(--text-2xs);font-weight:600;letter-spacing:.1em;color:var(--s-dim)}.ap-sx-badge[data-tone=running]{color:var(--s-accent)}.ap-sx-age{font-size:var(--text-xs);color:var(--s-dim);min-width:24px;text-align:right}.ap-sx-sub{display:flex;align-items:center;gap:7px;font-family:var(--s-font-mono);font-size:var(--text-sm);color:var(--s-muted)}.ap-sx-subBranch{color:var(--s-ink)}.ap-sx-subId{color:var(--s-muted)}.ap-sx-subSep{color:var(--s-dim)}.ap-sx-card{padding:2px 12px 12px 14px;display:flex;flex-direction:column;gap:14px}.ap-sx-loading{padding:14px 2px;font-family:var(--s-font-mono);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.1em;color:var(--s-dim)}.ap-sx-statGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:11px 0 12px;border-bottom:1px solid var(--s-hairline)}.ap-sx-stat{display:flex;flex-direction:column;gap:4px;min-width:0}.ap-sx-statKey{font-family:var(--s-font-mono);font-size:var(--text-2xs);letter-spacing:.07em;text-transform:uppercase;color:var(--s-dim)}.ap-sx-statVal{font-size:var(--text-md);color:var(--s-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sx-statVal[data-mono]{font-family:var(--s-font-mono);font-size:var(--text-sm)}.ap-sx-copy{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}.ap-sx-copyText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sx-copyIco{flex:none;color:var(--s-dim);opacity:.7;transition:color .12s ease,opacity .12s ease}.ap-sx-copy:hover .ap-sx-copyIco{color:var(--s-muted);opacity:1}.ap-sx-copy[data-copied]{color:var(--s-accent)}.ap-sx-copy[data-copied] .ap-sx-copyIco{color:var(--s-accent);opacity:1}.ap-sx-copyStat{font-family:var(--s-font-mono);font-size:var(--text-sm);color:var(--s-ink)}.ap-sx-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ap-sx-block{min-width:0}.ap-sx-head{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}.ap-sx-lbl{font-family:var(--s-font-mono);font-size:var(--text-2xs);letter-spacing:.08em;text-transform:uppercase;color:var(--s-muted)}.ap-sx-meta{font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-dim)}.ap-sx-read{margin-left:auto;font-family:var(--s-font-mono);font-size:var(--text-xs)}.ap-sx-num{color:var(--s-accent)}.ap-sx-dim{color:var(--s-dim)}.ap-sx-sep{color:var(--s-dim);margin:0 5px}.ap-sx-gauge{height:5px;border-radius:3px;background:var(--s-surface);overflow:hidden}.ap-sx-gaugeFill{display:block;height:100%;border-radius:3px;background:var(--s-accent)}.ap-sx-flow{display:flex;gap:14px;margin-top:7px;font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-muted)}.ap-sx-faint{color:var(--s-dim)}.ap-sx-empty{font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-dim)}.ap-sx-noTrace{padding:1px 0 2px}.ap-sx-tools{display:flex;flex-wrap:wrap;gap:5px}.ap-sx-tool{display:inline-flex;align-items:baseline;gap:4px;padding:2px 7px;border-radius:5px;background:var(--s-surface);border:1px solid var(--s-hairline);font-family:var(--s-font-mono);font-size:var(--text-xs)}.ap-sx-toolName{color:var(--s-ink)}.ap-sx-toolN{color:var(--s-dim)}.ap-sx-files{display:flex;flex-direction:column;gap:3px}.ap-sx-fileRow{display:grid;grid-template-columns:10px minmax(0,1.3fr) minmax(0,1fr) auto;align-items:baseline;gap:8px}.ap-sx-fileMark{font-family:var(--s-font-mono);font-size:var(--text-sm);text-align:center;color:var(--s-dim)}.ap-sx-fileMark[data-state=modified],.ap-sx-fileMark[data-state=created]{color:var(--s-accent)}.ap-sx-fileName{font-family:var(--s-font-mono);font-size:var(--text-sm);color:var(--s-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sx-fileRow[data-changed] .ap-sx-fileName{color:var(--s-ink)}.ap-sx-fileDir{font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-sx-fileN{font-family:var(--s-font-mono);font-size:var(--text-xs);color:var(--s-dim)}.ap-sx-actions{display:flex;gap:8px;padding-top:2px}.ap-sx-open,.ap-sx-resume{padding:5px 13px;border-radius:6px;font-family:var(--s-font-mono);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.08em;cursor:pointer;transition:background .12s ease,color .12s ease}.ap-sx-open{border:1px solid var(--s-hairline-strong);background:none;color:var(--s-muted)}.ap-sx-open:hover{background:var(--s-surface);color:var(--s-ink)}.ap-sx-resume{border:1px solid color-mix(in srgb,var(--s-accent) 55%,transparent);background:var(--s-accent-soft);color:var(--s-accent)}.ap-sx-resume:hover{background:color-mix(in srgb,var(--s-accent) 22%,transparent)}.ap-sx-copyAll{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid var(--s-hairline);border-radius:6px;background:none;color:var(--s-dim);font-family:var(--s-font-mono);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.08em;cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease}.ap-sx-copyAll:hover{background:var(--s-surface);color:var(--s-muted);border-color:var(--s-hairline-strong)}.ap-sx-copyAll[data-copied]{color:var(--s-accent);border-color:color-mix(in srgb,var(--s-accent) 45%,transparent)}.ap-sx-copyAll .ap-sx-copyIco{color:currentColor;opacity:1}.ap-act{font-size:var(--text-sm);font-weight:540;color:var(--s-muted);background:none;border:none;border-radius:6px;padding:4px 8px;cursor:pointer;white-space:nowrap;transition:color .12s ease,background .12s ease}.ap-act:hover{color:var(--s-ink);background:var(--s-hairline)}.ap-actPrimary{color:var(--s-accent)}.ap-actPrimary:hover{color:var(--s-accent);background:var(--s-accent-soft)}.ap-actIcon{font-size:var(--text-xl);line-height:1;color:var(--s-muted);background:none;border:none;border-radius:6px;padding:4px 7px;cursor:pointer}.ap-actIcon:hover{color:var(--s-ink);background:var(--s-hairline)}.ap-empty{font-size:var(--text-md);color:var(--s-dim);padding:22px 4px;text-align:center}.ap-loading{display:flex;flex-direction:column;gap:14px;max-width:760px;margin:0 auto;padding:52px 32px}.ap-loading span{display:block;width:100%;height:42px;border-radius:8px;background:color-mix(in srgb,var(--s-ink) 7%,transparent);animation:ap-loading-pulse 1.2s ease-in-out infinite alternate}.ap-loading span:nth-child(3n){width:88%}@keyframes ap-loading-pulse{0%{opacity:.45}to{opacity:.9}}@media(prefers-reduced-motion:reduce){.ap-loading span{animation:none}}.ap-ephBlock{margin-top:14px}.ap-ephToggle{display:flex;align-items:center;gap:7px;width:100%;font-size:var(--text-sm);color:var(--s-muted);background:none;border:none;padding:6px 2px;cursor:pointer;text-align:left;transition:color .12s ease}.ap-ephToggle:hover{color:var(--s-ink)}.ap-ephCount{font-size:var(--text-sm);font-weight:660;font-family:var(--s-font-mono);color:var(--s-dim)}.ap-ephCaret{margin-left:auto;color:var(--s-muted)}.ap-ephList{display:flex;flex-direction:column;padding:2px 0 0}.ap-ephRow{display:flex;align-items:center;gap:10px;padding:5px 2px 5px 14px;background:none;border:none;cursor:pointer;text-align:left}.ap-ephRow:hover{background:var(--s-hairline)}.ap-ephMark{flex:none;display:inline-flex;color:var(--s-muted);opacity:.7}.ap-ephName{flex:none;min-width:0;max-width:42%;font-size:var(--text-md);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-ephBranch{flex:1;min-width:0;font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-muted);opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-ephAgo{flex:none;font-size:var(--text-xs);color:var(--s-dim);font-family:var(--s-font-mono)}.ap-newAgent{margin-top:16px;align-self:flex-start;font-size:var(--text-md);font-weight:540;color:var(--s-muted);background:none;border:none;padding:4px 2px;cursor:pointer;transition:color .12s ease}.ap-newAgent:hover:not(:disabled){color:var(--s-accent)}.ap-newAgent:disabled{color:var(--s-dim);opacity:.55;cursor:default}.ap-group{display:flex;flex-direction:column}.ap-groupHead{font-size:var(--text-2xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--s-muted);padding-bottom:9px;margin-bottom:4px;border-bottom:1px solid var(--s-hairline)}.ap-groupDim{font-size:var(--text-md);color:var(--s-dim);padding:2px 0}.ap-recent{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:7px 0;background:none;border:none;border-bottom:1px solid var(--s-hairline);cursor:pointer;text-align:left}.ap-recent:last-child{border-bottom:none}.ap-recentWho{font-size:var(--text-md);font-weight:600;line-height:1.15;color:var(--s-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-recentAgo{font-size:var(--text-xs);line-height:1.15;color:var(--s-dim);font-family:var(--s-font-mono);text-align:right}.ap-recentTask{grid-column:1 / -1;font-size:var(--text-sm);color:var(--s-muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ap-kv{display:flex;gap:12px;align-items:baseline;padding:5px 0}.ap-kvKey{flex:none;width:54px;font-size:var(--text-2xs);font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--s-muted)}.ap-kvVal{flex:1;min-width:0;font-size:var(--text-md);color:var(--s-ink);font-family:var(--s-font-mono)}.ap-kvDim{color:var(--s-dim)}.ap-kvBranches{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ap-kvBranch{font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes ap-paneIn{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.ap-detail{min-width:0;min-height:0;display:flex;flex-direction:column;padding:22px 26px 26px;border-left:1px solid var(--s-hairline);overflow:hidden;animation:ap-paneIn .4s cubic-bezier(.22,.61,.36,1) both}.ap-detailHead{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--s-hairline)}.ap-detailBack{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--text-3xl);line-height:1;color:var(--s-muted);background:none;border:none;border-radius:7px;cursor:pointer;transition:color .12s ease,background .12s ease}.ap-detailBack:hover{color:var(--s-ink);background:var(--s-hairline)}.ap-detailIdent{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ap-detailTop{display:flex;align-items:center;gap:10px}.ap-detailName{font-size:var(--text-3xl);font-weight:600;letter-spacing:-.01em;color:var(--s-ink)}.ap-detailSub{font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-metaStrip{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px 22px;padding:12px 0;border-bottom:1px solid var(--s-hairline);font-size:var(--text-md);font-family:var(--s-font-mono);color:var(--s-ink)}.ap-metaItem{display:inline-flex;align-items:baseline;gap:7px;min-width:0}.ap-metaKey{font-size:var(--text-2xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--s-muted);font-family:var(--s-font-sans)}.ap-metaVal{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ap-metaChanges{margin-left:auto;font-family:var(--s-font-mono);font-size:var(--text-md)}.ap-add{color:var(--s-accent)}.ap-del{color:var(--s-dim)}.ap-sessTabs{display:flex;gap:18px;overflow-x:auto;padding:11px 0;border-bottom:1px solid var(--s-hairline);scrollbar-width:thin}.ap-sessTab{flex:none;display:inline-flex;align-items:center;gap:6px;background:none;border:none;padding:2px 0;cursor:pointer;font-size:var(--text-sm);font-family:var(--s-font-mono);color:var(--s-muted);white-space:nowrap;border-bottom:1.5px solid transparent;transition:color .12s ease,border-color .12s ease}.ap-sessTab:hover{color:var(--s-ink)}.ap-sessTab[data-on]{color:var(--s-ink);border-bottom-color:var(--s-accent)}.ap-sessDot{flex:none;width:5px;height:5px;border-radius:999px;background:var(--s-hairline-strong)}.ap-sessDot[data-on]{background:var(--s-accent);box-shadow:0 0 0 2.5px var(--s-accent-soft)}.ap-traceLoading{font-size:var(--text-md);color:var(--s-dim);padding:24px 4px;text-align:center}.ap-detailBody{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:4px}.ap-detailBody .ap-sectionHead{padding:10px 0 0}.ap-trace{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;margin:0 -26px}.ap-trace>*{flex:1;min-height:0}.ap-steer{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--s-hairline)}.ap-steerInput{flex:1;min-width:0;background:none;border:none;outline:none;color:var(--s-ink);font-family:var(--s-font-sans);font-size:var(--text-lg)}.ap-steerInput::placeholder{color:var(--s-muted)}.ap-steerSend{flex:none;font-size:var(--text-md);font-weight:580;color:var(--s-bg);background:var(--s-accent);border:none;border-radius:8px;padding:7px 15px;cursor:pointer;transition:filter .12s ease}.ap-steerSend:hover{filter:brightness(1.07)}