ryco-cli 0.1.17 → 0.1.18

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 (200) hide show
  1. package/dist/{AcpNativeLogging-OhEq3XNp.cjs → AcpNativeLogging-CUpW8y6E.cjs} +1 -1
  2. package/dist/{AcpNativeLogging-qZgtIa5K.mjs → AcpNativeLogging-hu4rXzHU.mjs} +1 -1
  3. package/dist/{AzureDevOpsSourceControlProvider-B0YsaJyI.mjs → AzureDevOpsSourceControlProvider-C7Ff-COJ.mjs} +2 -2
  4. package/dist/{AzureDevOpsSourceControlProvider-Dyu8KQ_S.cjs → AzureDevOpsSourceControlProvider-DAdboLpu.cjs} +2 -2
  5. package/dist/{BitbucketSourceControlProvider-3VHGKSl1.cjs → BitbucketSourceControlProvider-Bg6lSYm8.cjs} +2 -2
  6. package/dist/{BitbucketSourceControlProvider-B8IPx2Ad.mjs → BitbucketSourceControlProvider-CMPQXie7.mjs} +2 -2
  7. package/dist/{ClaudeDriver-CBCy0_WX.cjs → ClaudeDriver-CILJj4bi.cjs} +2 -2
  8. package/dist/{ClaudeDriver-DsW8yDj9.mjs → ClaudeDriver-Nc7gDoUZ.mjs} +2 -2
  9. package/dist/{CodexDriver-3TZPgrGk.cjs → CodexDriver-CdE1fyKF.cjs} +3 -3
  10. package/dist/{CodexDriver-DLwPz5sk.mjs → CodexDriver-OeWoP24r.mjs} +3 -3
  11. package/dist/{CodexTextGeneration-DLHSW4Mz.cjs → CodexTextGeneration-BJvCqVzm.cjs} +1 -1
  12. package/dist/{CodexTextGeneration-D1vV8grr.mjs → CodexTextGeneration-CKacDpkR.mjs} +1 -1
  13. package/dist/{CopilotDriver-C7a8IhyK.cjs → CopilotDriver-5toln6vu.cjs} +3 -3
  14. package/dist/{CopilotDriver-DXvGBv-s.mjs → CopilotDriver-C6IkwOg5.mjs} +3 -3
  15. package/dist/{CursorDriver-CeB_vMKJ.mjs → CursorDriver-BPyhSbOl.mjs} +3 -3
  16. package/dist/{CursorDriver-uNsDetA3.cjs → CursorDriver-otlL4axb.cjs} +3 -3
  17. package/dist/{ForgejoSourceControlProvider-Ds0rU_PN.mjs → ForgejoSourceControlProvider-Df0EwCPV.mjs} +2 -2
  18. package/dist/{ForgejoSourceControlProvider-CJLksvL_.cjs → ForgejoSourceControlProvider-SZj0DxRM.cjs} +2 -2
  19. package/dist/{GitHubSourceControlProvider-CrYNFu8S.cjs → GitHubSourceControlProvider-D9v0HrDd.cjs} +2 -2
  20. package/dist/{GitHubSourceControlProvider-C7CJAslU.mjs → GitHubSourceControlProvider-G07yjZJS.mjs} +2 -2
  21. package/dist/{GitLabSourceControlProvider-jbX5M34A.cjs → GitLabSourceControlProvider-BTXml3Wh.cjs} +2 -2
  22. package/dist/{GitLabSourceControlProvider-u-Y-e8PV.mjs → GitLabSourceControlProvider-D7NhCVP9.mjs} +2 -2
  23. package/dist/{GrokDriver-BJ00ZiYg.cjs → GrokDriver-BkU6D5ZE.cjs} +3 -3
  24. package/dist/{GrokDriver-CFgjwnvE.mjs → GrokDriver-VxcAlypB.mjs} +3 -3
  25. package/dist/{OpenCodeDriver-BTxd2Q3Q.cjs → OpenCodeDriver-CXvTVYvY.cjs} +2 -2
  26. package/dist/{OpenCodeDriver-DNApoGdu.mjs → OpenCodeDriver-fQlgTeuI.mjs} +2 -2
  27. package/dist/{SourceControlProviderDiscoveryCatalog-CPO3a9_U.cjs → SourceControlProviderDiscoveryCatalog-CR-cmnC-.cjs} +1 -1
  28. package/dist/{SourceControlProviderDiscoveryCatalog-hXWNwRMn.mjs → SourceControlProviderDiscoveryCatalog-dqetZQiC.mjs} +1 -1
  29. package/dist/bin.cjs +16 -14
  30. package/dist/bin.mjs +16 -14
  31. package/dist/client/assets/{AccountSettings-F4ZOTHid.js → AccountSettings-C3YGn5s7.js} +1 -1
  32. package/dist/client/assets/AiFocusSettings-CNucfJ5Y.js +1 -0
  33. package/dist/client/assets/{AnimatedHeight-BC-qaTJY.js → AnimatedHeight-B8ZeY3LL.js} +1 -1
  34. package/dist/client/assets/{AppearanceSettings-B6UaU-_a.js → AppearanceSettings-D1MyfaES.js} +1 -1
  35. package/dist/client/assets/{BranchToolbar.logic-B2jdtYEs.js → BranchToolbar.logic-CN2-yLTE.js} +1 -1
  36. package/dist/client/assets/{ChatRightPanel-CxA4EQ1O.js → ChatRightPanel-DhZiZCcx.js} +6 -6
  37. package/dist/client/assets/{ChatThreadRouteView-BJ6OSbWZ.js → ChatThreadRouteView-CR8HQgm3.js} +1 -1
  38. package/dist/client/assets/CommandPaletteDialog-ChB99Jee.js +1 -0
  39. package/dist/client/assets/{CompositeItem-97y1QiiT.js → CompositeItem-CxRCTsWt.js} +1 -1
  40. package/dist/client/assets/{CompositeRoot-C7Mz4Y_2.js → CompositeRoot-CDscEk_b.js} +1 -1
  41. package/dist/client/assets/{ConnectionsSettings-B8t9Z17K.js → ConnectionsSettings-Dsewo1mI.js} +2 -2
  42. package/dist/client/assets/{DiagnosticsSettings-Bt7j-SXg.js → DiagnosticsSettings-ClUk2Ycp.js} +1 -1
  43. package/dist/client/assets/{DialogHandle-Cl9dQBJp.js → DialogHandle-BGW2rJq8.js} +1 -1
  44. package/dist/client/assets/{DialogPopup-a1M74u16.js → DialogPopup-9zEMlOyz.js} +1 -1
  45. package/dist/client/assets/DialogRoot-Z8JWsDCS.js +1 -0
  46. package/dist/client/assets/{DialogTitle-Bk-w3xLJ.js → DialogTitle-7dK2BQ85.js} +1 -1
  47. package/dist/client/assets/{DialogTrigger-D9nkMFu2.js → DialogTrigger-B7jdDPNa.js} +1 -1
  48. package/dist/client/assets/{DialogViewport-tgJz2Lwn.js → DialogViewport-BrRcGV_l.js} +1 -1
  49. package/dist/client/assets/{DraftChatThreadRouteView-BzcBT-YW.js → DraftChatThreadRouteView-C7HNQzJO.js} +1 -1
  50. package/dist/client/assets/{ExternalIdentityWeb.logic-Bn1HigS9.js → ExternalIdentityWeb.logic-DS77EplU.js} +1 -1
  51. package/dist/client/assets/{GlassSurface-CDok2tTN.js → GlassSurface--5lIEJCy.js} +1 -1
  52. package/dist/client/assets/{HostedConnectionControls-DLrwfgKF.js → HostedConnectionControls-5f2EOB5t.js} +1 -1
  53. package/dist/client/assets/{HostedHubRoot-eqwMpBq5.js → HostedHubRoot-tRaAruhb.js} +1 -1
  54. package/dist/client/assets/{HostedNativeAuthorizationRoute-C11yMgF7.js → HostedNativeAuthorizationRoute-B4SBCUZq.js} +1 -1
  55. package/dist/client/assets/{HostedRelayTrustNotice-CMrrvMuJ.js → HostedRelayTrustNotice-D7TIN2KZ.js} +1 -1
  56. package/dist/client/assets/{Icons-BEtED8P8.js → Icons-CqMTQkuR.js} +1 -1
  57. package/dist/client/assets/{IntegrationsSettingsPanel-rkW9RyYH.js → IntegrationsSettingsPanel-Be0RMI3X.js} +1 -1
  58. package/dist/client/assets/{KeybindingsSettings-CjU5J7hU.js → KeybindingsSettings-BxoOXbJf.js} +1 -1
  59. package/dist/client/assets/{McpServersSettings-D-Gq3vgy.js → McpServersSettings-D6wFULhe.js} +1 -1
  60. package/dist/client/assets/{MobileSheet-BDvnUC5W.js → MobileSheet-fqwVmSQY.js} +1 -1
  61. package/dist/client/assets/{NewWorktreeDialog-C4D-dD0C.js → NewWorktreeDialog-DljDMikm.js} +1 -1
  62. package/dist/client/assets/{NoActiveThreadState-z_FeP4Al.js → NoActiveThreadState-DvLgUR0A.js} +1 -1
  63. package/dist/client/assets/{NodeSecuritySettings-CMjnKY0w.js → NodeSecuritySettings-BYX0uV1b.js} +1 -1
  64. package/dist/client/assets/{OpinionatedPluginsSettings-D9INVQf7.js → OpinionatedPluginsSettings-ZOQ0n5GP.js} +1 -1
  65. package/dist/client/assets/{PhoneGetAppInterstitial-B8iVzT22.js → PhoneGetAppInterstitial-DzlPIIW0.js} +1 -1
  66. package/dist/client/assets/{PhoneGetAppInterstitialBackdrop-BA4R225F.js → PhoneGetAppInterstitialBackdrop-C_j-OVwR.js} +1 -1
  67. package/dist/client/assets/{PhoneHome-BonZTgK7.js → PhoneHome-BIYOn5P7.js} +1 -1
  68. package/dist/client/assets/PhoneSettingsSurface-CL26SDJP.js +1 -0
  69. package/dist/client/assets/{ProjectFavicon-CxXx07Sa.js → ProjectFavicon-BLFEmLYd.js} +1 -1
  70. package/dist/client/assets/{ProviderModelPicker-M_Ezjlmq.js → ProviderModelPicker-CWALhPw5.js} +1 -1
  71. package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-CywRitn3.js → ProviderUpdateLaunchNotification.logic-DcLWligu.js} +1 -1
  72. package/dist/client/assets/{ProvidersSettingsPanel-CtTyCMP0.js → ProvidersSettingsPanel-tIQSB1Ni.js} +1 -1
  73. package/dist/client/assets/{RedactedSensitiveText-BuWSWty8.js → RedactedSensitiveText-DnYWrxD2.js} +1 -1
  74. package/dist/client/assets/RootAppShell-BVqIVDWT.js +6 -0
  75. package/dist/client/assets/{RycoLetterMark-CZYntY8t.js → RycoLetterMark-C1QHVbKN.js} +1 -1
  76. package/dist/client/assets/SettingsDialog-TY6l7DuD.js +1 -0
  77. package/dist/client/assets/SettingsPanels-_-BazuGl.js +3 -0
  78. package/dist/client/assets/{SettingsPanels.editor-lbLEbllb.js → SettingsPanels.editor-Bl_mOgB-.js} +1 -1
  79. package/dist/client/assets/{SourceControlSettings-C_GMp7qk.js → SourceControlSettings-CwRuv7T6.js} +1 -1
  80. package/dist/client/assets/{StatisticsPage-CDukahZF.js → StatisticsPage-DAvOIX_d.js} +1 -1
  81. package/dist/client/assets/{StatisticsPanel-BTdaxoVf.js → StatisticsPanel-BfmqkZgK.js} +1 -1
  82. package/dist/client/assets/{StatisticsSettingsLink-B7SZerf3.js → StatisticsSettingsLink-J-iBGP5I.js} +1 -1
  83. package/dist/client/assets/{ThreadStatusIndicators-D_6jI6us.js → ThreadStatusIndicators-BzpZG_IZ.js} +0 -0
  84. package/dist/client/assets/{ThreadTerminalDrawer-C2B3Ry66.js → ThreadTerminalDrawer-DZy0S10m.js} +1 -1
  85. package/dist/client/assets/{ThreadWorkspacePanel-D8gR7mQC.js → ThreadWorkspacePanel-PRfBFuHE.js} +1 -1
  86. package/dist/client/assets/{ToolbarRootContext-B1g8IP6k.js → ToolbarRootContext-C48gkU4j.js} +1 -1
  87. package/dist/client/assets/{WorkItemsTab-QQXGM1BH.js → WorkItemsTab-EO7aDVI8.js} +4 -4
  88. package/dist/client/assets/{alert-DomE7dAt.js → alert-C24pxxYz.js} +1 -1
  89. package/dist/client/assets/{alert-dialog-9Jyh0e8u.js → alert-dialog-iYnjheVe.js} +1 -1
  90. package/dist/client/assets/archive-BL1hojl3.js +1 -0
  91. package/dist/client/assets/authorization-BNZY2k8w.js +1 -0
  92. package/dist/client/assets/{badge-w43sx8eF.js → badge-tHmsB3yQ.js} +1 -1
  93. package/dist/client/assets/{branding-BS9Iv2ln.js → branding-hWmEaQ8d.js} +1 -1
  94. package/dist/client/assets/{button-DG8WqjNn.js → button-WR80VgkK.js} +1 -1
  95. package/dist/client/assets/{capabilities-tpmeGBtr.js → capabilities-CXhsftU9.js} +1 -1
  96. package/dist/client/assets/{chatThreadActions-BZvyhfKr.js → chatThreadActions-C6tNI5Qi.js} +1 -1
  97. package/dist/client/assets/{collapsible-EhAEe5S9.js → collapsible-BUn1kona.js} +1 -1
  98. package/dist/client/assets/{command-Cyn6yIEa.js → command-CfaBUmS3.js} +1 -1
  99. package/dist/client/assets/composerDraftStore-DXTD6mKH.js +11 -0
  100. package/dist/client/assets/{data-list-DTdqWMGN.js → data-list-jNXWZwx3.js} +1 -1
  101. package/dist/client/assets/desktopUpdateAtoms-C6z0AhGE.js +1 -0
  102. package/dist/client/assets/{desktopWorkspace-CIvAIvMt.js → desktopWorkspace-BFTBEpzF.js} +1 -1
  103. package/dist/client/assets/{device-B3lHunk1.js → device-DB8v-PV8.js} +1 -1
  104. package/dist/client/assets/{dialog-BNmFD6Nh.js → dialog-CwRtKu2U.js} +1 -1
  105. package/dist/client/assets/{draft-input-dP7F8odz.js → draft-input-BHjWDHqU.js} +1 -1
  106. package/dist/client/assets/editorPreferences-BqfWlBPx.js +1 -0
  107. package/dist/client/assets/{empty-Ccxhyvdf.js → empty-CITbdlFs.js} +1 -1
  108. package/dist/client/assets/{env-Bcq9YR3B.js → env-Bcy-9P3V.js} +1 -1
  109. package/dist/client/assets/{getPseudoElementBounds-CO5HJT7x.js → getPseudoElementBounds-BPmVta2g.js} +1 -1
  110. package/dist/client/assets/{group-CzdKmc45.js → group-BpXcg5Ba.js} +1 -1
  111. package/dist/client/assets/{index-C536LXZ6.js → index-CnRziuz2.js} +2 -2
  112. package/dist/client/assets/{input-BZz4eLRl.js → input-Ba4jS4Ks.js} +1 -1
  113. package/dist/client/assets/{kbd-DbvN3zTb.js → kbd-BvgpGZEI.js} +1 -1
  114. package/dist/client/assets/{keybindings-BPE3eEAM.js → keybindings-QVMzXI5S.js} +1 -1
  115. package/dist/client/assets/{label-DZf4lbNF.js → label-2jpS7gCY.js} +1 -1
  116. package/dist/client/assets/{lib-DgOYoged.js → lib-CuR3OHWo.js} +1 -1
  117. package/dist/client/assets/{logging-81iP6Hps.js → logging-CTOc5ONT.js} +1 -1
  118. package/dist/client/assets/{main-BjfqengQ.js → main-C5za36qj.js} +2 -2
  119. package/dist/client/assets/main-CgLLEwXi.css +2 -0
  120. package/dist/client/assets/{menu-B6UEFcn0.js → menu-CsEBcjDz.js} +1 -1
  121. package/dist/client/assets/{popover-BuYzXGwl.js → popover-BpnQc7ji.js} +1 -1
  122. package/dist/client/assets/primary-DiL6nRV-.js +2 -0
  123. package/dist/client/assets/{projectPaths-3WDk4ziK.js → projectPaths-DDcwkag5.js} +1 -1
  124. package/dist/client/assets/{providerDriverMeta-sBwZhQoN.js → providerDriverMeta-DrgHrvO3.js} +1 -1
  125. package/dist/client/assets/{providerIconUtils-DLRASbiu.js → providerIconUtils-VIm6bh4U.js} +1 -1
  126. package/dist/client/assets/providerInstances-pNPE7SuA.js +1 -0
  127. package/dist/client/assets/providerModels-pNPE7SuA.js +1 -0
  128. package/dist/client/assets/{qr-code-Ie92aZvE.js → qr-code-CXu67ChC.js} +1 -1
  129. package/dist/client/assets/{radio-group-BuuTEtdC.js → radio-group-B7kMeg_h.js} +1 -1
  130. package/dist/client/assets/{resolveAriaLabelledBy-0FA0k4xp.js → resolveAriaLabelledBy-DoGkVnyF.js} +1 -1
  131. package/dist/client/assets/{rightPanelRouteSearch-BS8CkNS6.js → rightPanelRouteSearch-YV6CEBkv.js} +1 -1
  132. package/dist/client/assets/runtime-Cy36EhFa.js +1 -0
  133. package/dist/client/assets/{scroll-area-C0yF015F.js → scroll-area-BZayohht.js} +1 -1
  134. package/dist/client/assets/{scrollEdges-DI5Y3mtR.js → scrollEdges-BObY5qgX.js} +1 -1
  135. package/dist/client/assets/{select-CZukJlTn.js → select-DQIoKiCF.js} +1 -1
  136. package/dist/client/assets/{separator-D4ckGtPe.js → separator-DgV5UvWO.js} +1 -1
  137. package/dist/client/assets/{session-logic-DfaSS3p9.js → session-logic-yjrYZ67x.js} +2 -2
  138. package/dist/client/assets/{settingsDialogStore-LxRFC5hh.js → settingsDialogStore-CzH3-ZEg.js} +1 -1
  139. package/dist/client/assets/{settingsLayout-CHJT5wtl.js → settingsLayout-BPKHc7wz.js} +1 -1
  140. package/dist/client/assets/{sheet-BNfImQ-7.js → sheet-BxlpAnIJ.js} +1 -1
  141. package/dist/client/assets/{sidebar-CFGg5Tkr.js → sidebar-CuxI1O8j.js} +1 -1
  142. package/dist/client/assets/{sidebarProjectFolders-DKxZsoOv.js → sidebarProjectFolders-Bi8I6mH5.js} +1 -1
  143. package/dist/client/assets/{sidebarStatusText-C8QBhZhZ.js → sidebarStatusText-DTXq8x3L.js} +1 -1
  144. package/dist/client/assets/{skeleton-DOgQaVXv.js → skeleton-C8KnJ1KQ.js} +1 -1
  145. package/dist/client/assets/{spinner-ClQu8SdC.js → spinner-D9HJGQ01.js} +1 -1
  146. package/dist/client/assets/{src-DmPIm3ie.js → src-CtanPQei.js} +1 -1
  147. package/dist/client/assets/storeSelectors-DMs36CMz.js +1 -0
  148. package/dist/client/assets/{switch-BZjA7VT9.js → switch-B50w01tf.js} +1 -1
  149. package/dist/client/assets/{terminal-links-CzJomeox.js → terminal-links-C5NsgIQU.js} +1 -1
  150. package/dist/client/assets/{textarea-DHdmRD1r.js → textarea-CJ8Vux-T.js} +1 -1
  151. package/dist/client/assets/{threadPinning-UKIVw0OX.js → threadPinning-B5WtT-P_.js} +1 -1
  152. package/dist/client/assets/{threadPriorityRefreshRuntime-BbiIUPfh.js → threadPriorityRefreshRuntime-BnDDqCxq.js} +1 -1
  153. package/dist/client/assets/{toast-C-0Ft2jD.js → toast-CV5dwFOH.js} +1 -1
  154. package/dist/client/assets/{toggle-DsnOFDbJ.js → toggle-DRqyFTHJ.js} +1 -1
  155. package/dist/client/assets/{toggle-group-Chxh9G6t.js → toggle-group-mhVkQLP2.js} +1 -1
  156. package/dist/client/assets/{tooltip-C_-9XEfA.js → tooltip-DZhBSkif.js} +1 -1
  157. package/dist/client/assets/types-DMs36CMz.js +1 -0
  158. package/dist/client/assets/{uiStateStore-DzUrk2GS.js → uiStateStore-OqZLiCwV.js} +1 -1
  159. package/dist/client/assets/{useAtlassian-BTWMzLgJ.js → useAtlassian-zbqx4xW1.js} +0 -0
  160. package/dist/client/assets/{useButton-BmvYhoMC.js → useButton-DXIv8wCn.js} +1 -1
  161. package/dist/client/assets/{useCompositeListItem-D0PvH4nv.js → useCompositeListItem-rrdFaxXB.js} +1 -1
  162. package/dist/client/assets/{useDebouncedValue-s0BC8Yyp.js → useDebouncedValue-Dz3pyT5q.js} +1 -1
  163. package/dist/client/assets/{useFloatingRootContext-CLCaQEJk.js → useFloatingRootContext-CIRRjmkd.js} +1 -1
  164. package/dist/client/assets/{useHandleNewThread-9FAjhuhK.js → useHandleNewThread-DRoY_cL7.js} +1 -1
  165. package/dist/client/assets/{useLabelableId-CB_9OReR.js → useLabelableId-nlk2LM0q.js} +1 -1
  166. package/dist/client/assets/{useLocation-DGJMt6gP.js → useLocation-TExTri5H.js} +1 -1
  167. package/dist/client/assets/{useOpenInteractionType-BSSI2GzS.js → useOpenInteractionType-Co4_pLo_.js} +1 -1
  168. package/dist/client/assets/{usePhoneThreadActions-B7yDFO2l.js → usePhoneThreadActions-CTmdPjGg.js} +1 -1
  169. package/dist/client/assets/{usePopupViewport-8F-J1h5f.js → usePopupViewport-SxCh7dCg.js} +1 -1
  170. package/dist/client/assets/{useScrollLock-CBz-5_MX.js → useScrollLock-cFFkQSYy.js} +1 -1
  171. package/dist/client/assets/{useStatistics-C9g3i7bQ.js → useStatistics-D8hzpDv4.js} +2 -2
  172. package/dist/client/assets/{useSwipeDismiss-D22_vuiH.js → useSwipeDismiss-ALyKckxx.js} +1 -1
  173. package/dist/client/assets/{useThreadActions-CouKkjbt.js → useThreadActions-5hLAJAJB.js} +1 -1
  174. package/dist/client/assets/{useTriggerFocusGuards-f7afwACm.js → useTriggerFocusGuards-lOK7sLv0.js} +1 -1
  175. package/dist/client/assets/{useValueChanged-EkWF0C3k.js → useValueChanged-BQLjL43O.js} +1 -1
  176. package/dist/client/assets/{utils-CV2fJJxC.js → utils-Ct58OPtz.js} +1 -1
  177. package/dist/client/index.html +1 -1
  178. package/dist/{collectUint8StreamText-oFvWyN3_.mjs → collectUint8StreamText-Bwltp7kn.mjs} +10 -0
  179. package/dist/{collectUint8StreamText-Dsbmrw73.cjs → collectUint8StreamText-D0THfPrP.cjs} +10 -0
  180. package/dist/{makeManagedServerProvider-CANTNAsz.cjs → makeManagedServerProvider-B7rRjRgd.cjs} +1 -1
  181. package/dist/{makeManagedServerProvider-PLtJj7EV.mjs → makeManagedServerProvider-BMSV4Aim.mjs} +1 -1
  182. package/package.json +1 -1
  183. package/dist/client/assets/AiFocusSettings-DwIYKKIc.js +0 -1
  184. package/dist/client/assets/CommandPaletteDialog-DywhkOKa.js +0 -1
  185. package/dist/client/assets/DialogRoot-C_DO1gtO.js +0 -1
  186. package/dist/client/assets/PhoneSettingsSurface-B-6LoBMV.js +0 -1
  187. package/dist/client/assets/RootAppShell-DJfVW8Xa.js +0 -6
  188. package/dist/client/assets/SettingsDialog-ClIbtJ2y.js +0 -1
  189. package/dist/client/assets/SettingsPanels-DshjYQGk.js +0 -3
  190. package/dist/client/assets/authorization-D8lJzXTE.js +0 -1
  191. package/dist/client/assets/composerDraftStore-TYv9j3vY.js +0 -11
  192. package/dist/client/assets/desktopUpdateAtoms-BpN7gP0v.js +0 -1
  193. package/dist/client/assets/editorPreferences-DiUypD3L.js +0 -1
  194. package/dist/client/assets/main-DlGNPwsH.css +0 -2
  195. package/dist/client/assets/primary-CiDY2oUi.js +0 -2
  196. package/dist/client/assets/providerInstances-vd2eZtHx.js +0 -1
  197. package/dist/client/assets/providerModels-vd2eZtHx.js +0 -1
  198. package/dist/client/assets/runtime-CYtynKGT.js +0 -1
  199. package/dist/client/assets/storeSelectors-BeLJe5C1.js +0 -1
  200. package/dist/client/assets/types-BeLJe5C1.js +0 -1
@@ -1 +1 @@
1
- import{t as e}from"./compiler-runtime-qmuS0Svy.js";import{It as t}from"./composerDraftStore-TYv9j3vY.js";import{t as n}from"./utils-CV2fJJxC.js";var r=e(),i=t();function a(e){let t=(0,r.c)(5),{className:a}=e,o;t[0]===a?o=t[1]:(o=n(`w-auto shrink-0`,a),t[0]=a,t[1]=o);let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,i.jsx)(`g`,{transform:`matrix(0.125617,0,0,-0.125617,-180.839814,1610.932617)`,children:(0,i.jsx)(`path`,{d:`M6035,9744C5514,9700 5112,9433 4886,8982C4838,8886 4786,8729 4764,8610L4746,8515L4742,7231L4739,5947L4758,5928L4796,5962C4818,5981 4975,6121 5147,6273L5459,6550L5462,7502L5465,8455L5491,8532C5576,8779 5754,8952 6002,9028L6055,9044L6605,9048C6908,9050 7178,9049 7206,9045L7258,9039L7364,8975L7392,8930C7407,8905 7424,8863 7429,8835L7438,8786L7429,8725C7424,8692 7406,8636 7389,8601L7358,8538L7295,8474L7233,8411L7161,8376L7088,8341L7032,8335C6708,8298 6509,8207 6296,7996C6187,7889 6155,7846 5901,7472L5708,7188L5714,7167C5717,7155 5741,7123 5768,7095C5794,7068 5840,7016 5870,6980C5919,6922 6037,6786 6370,6405C6428,6340 6528,6225 6594,6150C6659,6076 6732,5994 6757,5968L6801,5920L7710,5920L7710,5933C7710,5939 7666,5997 7612,6061C7503,6191 7498,6197 7009,6774C6599,7259 6590,7270 6590,7283C6590,7305 6683,7421 6753,7486L6827,7555L6975,7629L7040,7640C7076,7646 7148,7659 7200,7670C7628,7751 8003,8123 8102,8563L8123,8655L8122,8795L8122,8935L8097,9030C8048,9217 7971,9350 7832,9482C7695,9612 7569,9680 7385,9723L7295,9743L6685,9745C6350,9746 6057,9746 6035,9744Z`})}),t[2]=s):s=t[2];let c;return t[3]===o?c=t[4]:(c=(0,i.jsx)(`svg`,{"aria-hidden":!0,className:o,viewBox:`414.46 386.67 425.09 480.61`,xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,children:s}),t[3]=o,t[4]=c),c}export{a as t};
1
+ import{t as e}from"./compiler-runtime-qmuS0Svy.js";import{It as t}from"./composerDraftStore-DXTD6mKH.js";import{t as n}from"./utils-Ct58OPtz.js";var r=e(),i=t();function a(e){let t=(0,r.c)(5),{className:a}=e,o;t[0]===a?o=t[1]:(o=n(`w-auto shrink-0`,a),t[0]=a,t[1]=o);let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,i.jsx)(`g`,{transform:`matrix(0.125617,0,0,-0.125617,-180.839814,1610.932617)`,children:(0,i.jsx)(`path`,{d:`M6035,9744C5514,9700 5112,9433 4886,8982C4838,8886 4786,8729 4764,8610L4746,8515L4742,7231L4739,5947L4758,5928L4796,5962C4818,5981 4975,6121 5147,6273L5459,6550L5462,7502L5465,8455L5491,8532C5576,8779 5754,8952 6002,9028L6055,9044L6605,9048C6908,9050 7178,9049 7206,9045L7258,9039L7364,8975L7392,8930C7407,8905 7424,8863 7429,8835L7438,8786L7429,8725C7424,8692 7406,8636 7389,8601L7358,8538L7295,8474L7233,8411L7161,8376L7088,8341L7032,8335C6708,8298 6509,8207 6296,7996C6187,7889 6155,7846 5901,7472L5708,7188L5714,7167C5717,7155 5741,7123 5768,7095C5794,7068 5840,7016 5870,6980C5919,6922 6037,6786 6370,6405C6428,6340 6528,6225 6594,6150C6659,6076 6732,5994 6757,5968L6801,5920L7710,5920L7710,5933C7710,5939 7666,5997 7612,6061C7503,6191 7498,6197 7009,6774C6599,7259 6590,7270 6590,7283C6590,7305 6683,7421 6753,7486L6827,7555L6975,7629L7040,7640C7076,7646 7148,7659 7200,7670C7628,7751 8003,8123 8102,8563L8123,8655L8122,8795L8122,8935L8097,9030C8048,9217 7971,9350 7832,9482C7695,9612 7569,9680 7385,9723L7295,9743L6685,9745C6350,9746 6057,9746 6035,9744Z`})}),t[2]=s):s=t[2];let c;return t[3]===o?c=t[4]:(c=(0,i.jsx)(`svg`,{"aria-hidden":!0,className:o,viewBox:`414.46 386.67 425.09 480.61`,xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,children:s}),t[3]=o,t[4]=c),c}export{a as t};
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./index-CnRziuz2.js";import{t as r}from"./compiler-runtime-qmuS0Svy.js";import{n as i,t as a}from"./env-Bcy-9P3V.js";import{Hn as o,P as s,Xn as c,Yn as l,Yt as u,bn as d,xn as f}from"./runtime-Cy36EhFa.js";import{i as p}from"./primary-DiL6nRV-.js";import{It as m}from"./composerDraftStore-DXTD6mKH.js";import{d as h,l as g}from"./useSwipeDismiss-ALyKckxx.js";import{t as _}from"./useNavigate-2tVq4iZ2.js";import{t as v}from"./settingsDialogStore-CzH3-ZEg.js";import{o as y}from"./desktopWorkspace-BFTBEpzF.js";import{t as ee}from"./activity-1CkdQG5u.js";import{a as te,i as b,n as x,o as ne,r as S,t as C}from"./SettingsPanels-_-BazuGl.js";import{t as w}from"./archive-BL1hojl3.js";import{t as re}from"./chart-column-Dw6ACmXM.js";import{t as T}from"./git-branch-BKr-Ij4u.js";import{t as E}from"./keyboard-BqeRMHfL.js";import{t as D}from"./palette-BSD_aJZg.js";import{p as O}from"./desktopUpdateAtoms-C6z0AhGE.js";import{t as ie}from"./search-BGQsenCM.js";import{t as ae}from"./settings-2-CZQg_KUQ.js";import{t as k}from"./server-JApJpgLa.js";import{t as oe}from"./shield-IZEIJ8r7.js";import{t as A}from"./sparkles-CAf3oJ5S.js";import{t as j}from"./user-round-Cpzx8pSw.js";import{t as se}from"./utils-Ct58OPtz.js";import{t as ce}from"./scroll-area-BZayohht.js";import{t as M}from"./button-WR80VgkK.js";import{c as le,s as ue,t as de}from"./dialog-CwRtKu2U.js";import{i as fe,n as pe,o as me,s as he,t as ge}from"./settingsSections.logic-F8RXVmAq.js";var N=e(t(),1),P=r(),_e=[{section:`inbox`,title:`AI Focus`,description:`Prioritize the Inbox with bounded, environment-local model ranking.`,keywords:`priority sort active threads model ranking focus refresh`},{section:`inbox`,title:`AI Focus models`,description:`Choose or inherit the ranking model for each connected environment.`,keywords:`provider node disclosure privacy data`},{section:`general`,title:`Time format`,description:`System default, 12-hour or 24-hour clock.`,keywords:`clock hours`},{section:`general`,title:`Default editor`,description:`Pin which editor opens directories and files.`,keywords:`vscode cursor open in`},{section:`general`,title:`Diff line wrapping`,description:`Default wrap state when the diff panel opens.`,keywords:`word wrap`},{section:`general`,title:`Hide whitespace changes`,description:`Whether the diff panel ignores whitespace-only edits.`,keywords:`diff`},{section:`general`,title:`Remote Git status`,description:`Refresh remote branch and pull request metadata.`,keywords:`git polling refresh remote`},{section:`general`,title:`PR & workflow updates`,description:`Choose automatic, reduced, or manual pull request and workflow refreshes.`,keywords:`github actions checks ci polling refresh`},{section:`general`,title:`Stream token by token (legacy)`,description:`Compatibility mode for token-by-token assistant output.`,keywords:`token streaming assistant output streaming tokens buffered`,targetId:`legacy-token-streaming`},{section:`general`,title:`Provider update checks`,description:`Check installed provider CLIs for newer versions.`,keywords:`upgrade cli`},{section:`general`,title:`Auto-open overview`,description:`Open the overview when plans or progress appear.`,keywords:`panel plan`},{section:`general`,title:`New threads`,description:`Default workspace mode for newly created drafts.`,keywords:`local worktree draft`},{section:`general`,title:`Add project starts in`,description:`Starting directory for the Add Project browser.`,keywords:`folder path`},{section:`general`,title:`Archive confirmation`,description:`Ask before archiving a thread.`,keywords:`confirm`},{section:`general`,title:`Delete confirmation`,description:`Ask before deleting a thread.`,keywords:`confirm remove`},{section:`general`,title:`Unpin confirmation`,description:`Ask before removing a thread from pinned threads.`,keywords:`confirm pin unpin favorite`},{section:`general`,title:`Update track`,description:`Which release channel the app follows.`,keywords:`beta stable release channel`},{section:`appearance`,title:`Interface font`,description:`Normal app text, navigation, dialogs, and controls.`,keywords:`typeface dm sans inter geist`},{section:`appearance`,title:`Code font`,description:`Code blocks, diffs, file paths, and terminal surfaces.`,keywords:`monospace jetbrains fira`},{section:`appearance`,title:`Text size`,description:`Scale the interface independently from the theme.`,keywords:`zoom font size compact`},{section:`appearance`,title:`Corner radius`,description:`Rounding for panels, buttons, inputs, and menus.`,keywords:`round square`},{section:`appearance`,title:`Primary color`,description:`Accent color for links, focus rings, and actions.`,keywords:`accent custom violet amber`},{section:`appearance`,title:`Transparency`,description:`Glass and floating surfaces like dialogs, menus, popups.`,keywords:`glass blur liquid material solid`},{section:`appearance`,title:`Theme palette`,description:`Built-in and custom color themes; import and export.`,keywords:`dark midnight graphite nord dracula catppuccin`},{section:`appearance`,title:`Auto-collapse wide composer labels`,description:`Show long composer mode labels only on hover or focus.`,keywords:`chips`},{section:`appearance`,title:`Always use Build mode`,description:`Hide the mode selector and send every turn in Build mode.`,keywords:`composer`},{section:`appearance`,title:`Theme variant`,description:`Light, dark, or follow the system preference.`,keywords:`color mode dark light`},{section:`providers`,title:`Provider instances`,description:`Configure Codex, Claude, Copilot, OpenCode, and Cursor.`,keywords:`api model driver accent`},{section:`mcp-servers`,title:`External integrations`,description:`Pair local Codex or Claude MCP clients with scoped, revocable access.`,keywords:`model context protocol tools pairing codex claude approval agent control`},{section:`mcp-servers`,title:`MCP Servers`,description:`Manage Codex, Claude, and other provider-native MCP servers.`,keywords:`model context protocol tools add server oauth profiles providers`},{section:`keybindings`,title:`Keybindings file`,description:`Customize shortcuts via the keybindings configuration file.`,keywords:`shortcuts hotkeys keyboard`},{section:`source-control`,title:`Version Control`,description:`Git behavior and defaults.`,keywords:`git commit`},{section:`source-control`,title:`Source Control Providers`,description:`GitHub and other source control provider connections.`,keywords:`github pr pull request`},{section:`connections`,title:`Network access`,description:`Expose the local backend on your network.`,keywords:`lan host remote`},{section:`connections`,title:`Pairing link`,description:`Scan to open this backend on another device.`,keywords:`qr code phone mobile`},{section:`connections`,title:`Tailscale HTTPS`,description:`Serve over your tailnet with HTTPS.`,keywords:`vpn remote`},{section:`connections`,title:`Authorized clients`,description:`Devices and sessions allowed to connect.`,keywords:`revoke tokens`},{section:`security`,title:`Session code`,description:`Compare this browser's channel against the one your node's CLI shows.`,keywords:`security verification websas e2ee compare short authentication string`},{section:`security`,title:`Enrollment fingerprint`,description:`This node's identity, and the prekey and continuity behind it.`,keywords:`security e2ee key fingerprint rotate lineage`},{section:`security`,title:`Authorized client keys`,description:`Approve, reduce, revoke, or delete a client key, and open a pairing window.`,keywords:`security e2ee pairing fingerprint refused attempts`},{section:`security`,title:`Admission policy`,description:`Require E2EE, require approved clients, and advance the policy generation.`,keywords:`security e2ee strict fallback plaintext`},{section:`diagnostics`,title:`Diagnostics`,description:`Logs, tracing, resource history, and live activity.`,keywords:`debug performance slow`},{section:`diagnostics`,title:`Test notification`,description:`Fire sample notifications to preview the toast design and stacking.`,keywords:`toast notifications preview trigger sample`},{section:`statistics`,title:`Statistics`,description:`Usage activity and history.`,keywords:`heatmap usage tokens`},{section:`archived`,title:`Archive`,description:`Archived threads; restore or delete permanently.`,keywords:`trash restore`}],F=m(),ve=[{id:`account`,label:`Account`,icon:j},{id:`general`,label:`General`,icon:ae},{id:`inbox`,label:`Inbox`,icon:A},{id:`providers`,label:`Providers`,icon:ne},{id:`opinionated-plugins`,label:`Plugins`,icon:b},{id:`mcp-servers`,label:`Integrations`,icon:k},{id:`appearance`,label:`Appearance`,icon:D},{id:`keybindings`,label:`Keybindings`,icon:E},{id:`source-control`,label:`Source Control`,icon:T},{id:`connections`,label:`Connections`,icon:te},{id:`security`,label:`Security`,icon:oe},{id:`diagnostics`,label:`Diagnostics`,icon:ee},{id:`statistics`,label:`Statistics`,icon:re},{id:`archived`,label:`Archive`,icon:w}];ve.map(e=>e.id),new Map(ve.map(e=>[e.id,e.label]));var ye=new Set([`general`,`providers`,`appearance`]),I=(0,N.lazy)(()=>n(()=>import(`./AccountSettings-C3YGn5s7.js`).then(e=>({default:e.AccountSettingsPanel})),[])),be=(0,N.lazy)(()=>n(()=>import(`./ProvidersSettingsPanel-tIQSB1Ni.js`).then(e=>({default:e.ProvidersSettingsPanel})),[])),L=(0,N.lazy)(()=>n(()=>import(`./AiFocusSettings-CNucfJ5Y.js`).then(e=>({default:e.AiFocusSettings})),[])),R=(0,N.lazy)(()=>n(()=>import(`./OpinionatedPluginsSettings-ZOQ0n5GP.js`).then(e=>({default:e.OpinionatedPluginsSettingsPanel})),[])),xe=(0,N.lazy)(()=>n(()=>import(`./IntegrationsSettingsPanel-Be0RMI3X.js`).then(e=>({default:e.IntegrationsSettingsPanel})),[])),Se=(0,N.lazy)(()=>n(()=>import(`./AppearanceSettings-D1MyfaES.js`).then(e=>({default:e.AppearanceSettingsPanel})),[])),z=(0,N.lazy)(()=>n(()=>import(`./KeybindingsSettings-BxoOXbJf.js`).then(e=>({default:e.KeybindingsSettingsPanel})),[])),B=(0,N.lazy)(()=>n(()=>import(`./SourceControlSettings-CwRuv7T6.js`).then(e=>({default:e.SourceControlSettingsPanel})),[])),Ce=(0,N.lazy)(()=>n(()=>import(`./ConnectionsSettings-Dsewo1mI.js`).then(e=>({default:e.ConnectionsSettings})),[])),V=(0,N.lazy)(()=>n(()=>import(`./NodeSecuritySettings-BYX0uV1b.js`).then(e=>({default:e.NodeSecuritySettings})),[])),H=(0,N.lazy)(()=>n(()=>import(`./DiagnosticsSettings-ClUk2Ycp.js`).then(e=>({default:e.DiagnosticsSettings})),[])),U=(0,N.lazy)(()=>n(()=>import(`./StatisticsSettingsLink-J-iBGP5I.js`).then(e=>({default:e.StatisticsSettingsLink})),[]));function we(e){let t=(0,P.c)(6),{onRestored:n}=e,{changedSettingLabels:r,restoreDefaults:i}=S(n),a=r.length===0,o;t[0]===i?o=t[1]:(o=()=>void i(),t[0]=i,t[1]=o);let s;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,F.jsx)(O,{className:`size-3.5`}),t[2]=s):s=t[2];let c;return t[3]!==a||t[4]!==o?(c=(0,F.jsxs)(M,{size:`xs`,variant:`outline`,disabled:a,onClick:o,children:[s,`Restore defaults`]}),t[3]=a,t[4]=o,t[5]=c):c=t[5],c}function Te(e){let t=(0,P.c)(45),{section:n,searchTargetId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,F.jsx)(`div`,{className:`flex min-h-80 items-center justify-center text-muted-foreground text-sm`,children:`Loading settings...`}),t[0]=i):i=t[0];let a;t[1]===n?a=t[2]:(a=n===`account`?(0,F.jsx)(I,{}):null,t[1]=n,t[2]=a);let o;t[3]!==r||t[4]!==n?(o=n===`general`?(0,F.jsx)(x,{searchTargetId:r}):null,t[3]=r,t[4]=n,t[5]=o):o=t[5];let s;t[6]===n?s=t[7]:(s=n===`inbox`?(0,F.jsx)(L,{}):null,t[6]=n,t[7]=s);let c;t[8]===n?c=t[9]:(c=n===`providers`?(0,F.jsx)(be,{}):null,t[8]=n,t[9]=c);let l;t[10]===n?l=t[11]:(l=n===`opinionated-plugins`?(0,F.jsx)(R,{}):null,t[10]=n,t[11]=l);let u;t[12]===n?u=t[13]:(u=n===`mcp-servers`?(0,F.jsx)(xe,{}):null,t[12]=n,t[13]=u);let d;t[14]===n?d=t[15]:(d=n===`appearance`?(0,F.jsx)(Se,{}):null,t[14]=n,t[15]=d);let f;t[16]===n?f=t[17]:(f=n===`keybindings`?(0,F.jsx)(z,{}):null,t[16]=n,t[17]=f);let p;t[18]===n?p=t[19]:(p=n===`source-control`?(0,F.jsx)(B,{}):null,t[18]=n,t[19]=p);let m;t[20]===n?m=t[21]:(m=n===`connections`?(0,F.jsx)(Ce,{}):null,t[20]=n,t[21]=m);let h;t[22]===n?h=t[23]:(h=n===`security`?(0,F.jsx)(V,{}):null,t[22]=n,t[23]=h);let g;t[24]===n?g=t[25]:(g=n===`diagnostics`?(0,F.jsx)(H,{}):null,t[24]=n,t[25]=g);let _;t[26]===n?_=t[27]:(_=n===`statistics`?(0,F.jsx)(U,{}):null,t[26]=n,t[27]=_);let v;t[28]===n?v=t[29]:(v=n===`archived`?(0,F.jsx)(C,{}):null,t[28]=n,t[29]=v);let y;return t[30]!==p||t[31]!==m||t[32]!==h||t[33]!==g||t[34]!==_||t[35]!==v||t[36]!==a||t[37]!==o||t[38]!==s||t[39]!==c||t[40]!==l||t[41]!==u||t[42]!==d||t[43]!==f?(y=(0,F.jsxs)(N.Suspense,{fallback:i,children:[a,o,s,c,l,u,d,f,p,m,h,g,_,v]}),t[30]=p,t[31]=m,t[32]=h,t[33]=g,t[34]=_,t[35]=v,t[36]=a,t[37]=o,t[38]=s,t[39]=c,t[40]=l,t[41]=u,t[42]=d,t[43]=f,t[44]=y):y=t[44],y}function Ee(){let e=(0,P.c)(19),t=_(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={strict:!1,select:Re},e[0]=n):n=e[0];let r=h(n),m=p(),g=o(),ee=u(Le),te=y(),b=v(Ie),x=v(Fe),ne=v(Pe),S=v(Ne),C=v(Me),w=c({requestedEnvironmentId:ne,routedEnvironmentId:r,activeEnvironmentId:ee,primaryEnvironmentId:m?.environmentId??null}),re=d(e=>w?e.byId[w]??null:null),T=f(e=>w?e.byId[w]??null:null),E=w!==null&&w===m?.environmentId,D=w?te.machines.find(e=>e.environmentId===w)??null:null,O=E?g:T?.serverConfig??null,ae=E?m?.label??O?.environment.label??`Current node`:T?.descriptor?.label??O?.environment.label??re?.label??D?.label??`Selected node`,k=w?{environmentId:w,nodeLabel:ae,serverConfig:O,primary:E,connected:E?O!==null:T?.connectionState===`connected`||D?.connectionState===`connected`}:null,oe=s(je),A=s(Ae),j=s(ke),M=i(),I=ge(A,j),be=pe(oe,A,j),L=ve.filter(e=>me(e.id,{hosted:M,role:be})),R=L.some(e=>e.id===x)?x:L[0]?.id??`appearance`,xe=he(R),Se=fe(xe,{nativeClient:a,nodeLabel:k?.nodeLabel??null});(0,N.useEffect)(()=>{M&&!I||b&&x!==R&&C(R)},[R,M,b,I,x,C]);let[z,B]=(0,N.useState)(``),[Ce,V]=(0,N.useState)(null),H,U;e[1]===b?(H=e[2],U=e[3]):(H=()=>{b||(B(``),V(null))},U=[b],e[1]=b,e[2]=H,e[3]=U),(0,N.useEffect)(H,U);let Ee=new Set(L.map(Oe)),W=z.trim().toLowerCase(),ze=W.length===0?[]:_e.filter(e=>Ee.has(e.section)&&`${e.title} ${e.description} ${e.keywords??``}`.toLowerCase().includes(W)),[Be,Ve]=(0,N.useState)(0),G;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(G=()=>{Ve(De)},e[4]=G):G=e[4];let He=G,Ue=ye.has(R),We=Math.max(0,L.findIndex(e=>e.id===R)),K;e[5]===S?K=e[6]:(K=e=>{e||S()},e[5]=S,e[6]=K);let q;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,F.jsx)(le,{className:`text-base font-semibold`,children:`Settings`}),e[7]=q):q=e[7];let J;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(J=(0,F.jsx)(ie,{"aria-hidden":!0,className:`pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground/60`}),e[8]=J):J=e[8];let Y;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(Y=e=>{V(null),B(e.target.value)},e[9]=Y):Y=e[9];let X;e[10]===z?X=e[11]:(X=(0,F.jsxs)(`div`,{className:`relative w-72 max-w-[40vw]`,children:[J,(0,F.jsx)(`input`,{type:`search`,value:z,onChange:Y,placeholder:`Search settings…`,"aria-label":`Search settings`,className:`h-8 w-full rounded-md border border-input bg-muted/40 pr-3 pl-8 text-[13px] outline-none transition-colors placeholder:text-muted-foreground/60 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/40`})]}),e[10]=z,e[11]=X);let Ge=Ue?(0,F.jsx)(we,{onRestored:He}):null,Z;e[12]===Ge?Z=e[13]:(Z=(0,F.jsx)(`div`,{className:`flex shrink-0 items-center gap-2 pr-9`,children:Ge}),e[12]=Ge,e[13]=Z);let Ke=`translateY(${We*2.5}rem)`,Q;e[14]===Ke?Q=e[15]:(Q=(0,F.jsx)(`span`,{className:`pointer-events-none absolute top-2 right-2 left-2 z-0 h-9 rounded-md bg-accent transition-transform duration-[240ms] ease-out`,style:{transform:Ke},"aria-hidden":!0}),e[14]=Ke,e[15]=Q);let qe=ce,Je=W.length>0?(0,F.jsx)(`div`,{className:`p-4`,children:(0,F.jsx)(`div`,{className:`flex flex-col gap-0.5 rounded-xl border border-border bg-card p-1.5 shadow-sm/4`,children:ze.length===0?(0,F.jsxs)(`p`,{className:`px-2 py-8 text-center text-sm text-muted-foreground`,children:[`No settings match “`,z.trim(),`”.`]}):ze.map(e=>{let n=L.find(t=>t.id===e.section)?.label;return(0,F.jsxs)(`button`,{type:`button`,onClick:()=>{if(e.section===`statistics`){S(),t({to:`/statistics`});return}V(e.targetId??null),C(e.section),B(``)},className:`flex flex-col gap-0.5 rounded-md px-3 py-2.5 text-left outline-hidden ring-ring transition-colors hover:bg-accent focus-visible:ring-2`,children:[(0,F.jsxs)(`span`,{className:`flex items-baseline gap-2`,children:[(0,F.jsx)(`span`,{className:`text-sm font-medium`,children:e.title}),n?(0,F.jsx)(`span`,{className:`text-[11px] text-muted-foreground/70`,children:n}):null]}),(0,F.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.description})]},`${e.section}:${e.title}`)})})}):(0,F.jsx)(`div`,{className:`flex flex-col`,children:(0,F.jsx)(Te,{section:R,searchTargetId:Ce})},Be),$;return e[16]!==qe||e[17]!==Je?($=(0,F.jsx)(qe,{className:`min-h-0 min-w-0 flex-1`,children:Je}),e[16]=qe,e[17]=Je,e[18]=$):$=e[18],(0,F.jsx)(de,{open:b,onOpenChange:K,children:(0,F.jsx)(l,{value:k,children:(0,F.jsxs)(ue,{className:`project-glass-surface h-[min(88dvh,880px)] max-w-[1180px] overflow-hidden p-0`,bottomStickOnMobile:!1,showCloseButton:!0,surface:`glass`,children:[(0,F.jsxs)(`header`,{className:`flex h-12 shrink-0 items-center justify-between border-b border-border px-5`,children:[(0,F.jsxs)(`div`,{className:`flex min-w-0 items-center gap-4`,children:[(0,F.jsxs)(`div`,{className:`flex shrink-0 items-baseline gap-2`,children:[q,(0,F.jsx)(`span`,{"data-testid":`settings-scope-label`,className:`max-w-48 truncate text-xs text-muted-foreground`,children:Se})]}),X]}),Z]}),(0,F.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-row`,children:[(0,F.jsxs)(`nav`,{className:`relative isolate flex w-12 shrink-0 flex-col gap-1 border-r border-border p-2 sm:w-48`,children:[Q,L.map(e=>{let t=e.icon,n=R===e.id;return(0,F.jsxs)(`button`,{type:`button`,onClick:()=>{V(null),C(e.id)},className:se(`relative z-10 flex h-9 items-center gap-2.5 rounded-md px-2 text-left text-[13px] outline-hidden ring-ring transition-colors duration-150 focus-visible:ring-2`,n?`font-medium text-foreground`:`text-muted-foreground/70 hover:text-foreground/80`),"aria-label":e.label,"aria-current":n?`page`:void 0,children:[(0,F.jsx)(t,{className:se(`size-4 shrink-0`,n?`text-foreground`:`text-muted-foreground/60`)}),(0,F.jsx)(`span`,{className:`hidden truncate sm:inline`,children:e.label})]},e.id)})]}),$]})]})})})}function De(e){return e+1}function Oe(e){return e.id}function ke(e){return e.transportStatus}function Ae(e){return e.directoryStatus}function je(e){return e.effectiveRole}function Me(e){return e.setSection}function Ne(e){return e.closeSettings}function Pe(e){return e.targetEnvironmentId}function Fe(e){return e.section}function Ie(e){return e.open}function Le(e){return e.activeEnvironmentId}function Re(e){return g(e)?.environmentId??null}export{Ee as SettingsDialog};
@@ -0,0 +1,3 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{_ as r,t as i}from"./env-Bcy-9P3V.js";import{H as a,T as o,dt as s,xl as c}from"./src-CtanPQei.js";import{Bn as l,Cn as u,It as d,Kn as f,Kt as p,Sn as m,Vn as h,Yt as g,Zn as _,zn as v}from"./runtime-Cy36EhFa.js";import{It as y}from"./composerDraftStore-DXTD6mKH.js";import{i as b,t as x}from"./branding-hWmEaQ8d.js";import{f as S}from"./useRenderElement-DchFnsR8.js";import{t as C}from"./archive-BL1hojl3.js";import{t as w}from"./chevron-right-BWYGybX9.js";import{i as T}from"./toast-CV5dwFOH.js";import{c as E,l as D,n as O,o as k,r as A,s as j,t as M}from"./desktopUpdateAtoms-C6z0AhGE.js";import{t as N}from"./shallow-DWZCFNun.js";import{i as P}from"./timestampFormat-8uPXS812.js";import{i as ee,n as te,t as ne}from"./tooltip-DZhBSkif.js";import{t as F}from"./switch-B50w01tf.js";import{t as I}from"./ProjectFavicon-BLFEmLYd.js";import{t as re}from"./button-WR80VgkK.js";import{t as L}from"./toastHelpers-CSQRKo4F.js";import{t as ie}from"./capabilities-CXhsftU9.js";import{t as R}from"./useThreadActions-5hLAJAJB.js";import{t as z}from"./usePresentationTier-B_SCFvN7.js";import{a as ae,i as B,o as oe,s as se,t as ce}from"./select-DQIoKiCF.js";import{r as le,t as V}from"./editorPreferences-BqfWlBPx.js";import{t as H}from"./RycoLetterMark-C1QHVbKN.js";import{t as U}from"./useLongPress-OGlhYKlH.js";import{t as W}from"./useTheme-By1kfyiU.js";import{a as ue,i as G,o as K,r as de,t as q}from"./empty-CITbdlFs.js";import{i as fe,n as pe,r as J,t as Y}from"./settingsLayout-BPKHc7wz.js";import{i as me}from"./settingsSections.logic-F8RXVmAq.js";import{n as he,t as ge}from"./SettingsPanels.editor-Bl_mOgB-.js";import{n as _e,r as ve,t as ye}from"./collapsible-BUn1kona.js";import{t as be}from"./draft-input-BHjWDHqU.js";var xe=S(`archive-x`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`m9.5 17 5-5`,key:`nakeu6`}],[`path`,{d:`m9.5 12 5 5`,key:`1hccrj`}]]),Se=S(`blocks`,[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]),Ce=S(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),we=S(`plug-zap`,[[`path`,{d:`M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z`,key:`goz73y`}],[`path`,{d:`m2 22 3-3`,key:`19mgm9`}],[`path`,{d:`M7.5 13.5 10 11`,key:`7xgeeb`}],[`path`,{d:`M10.5 16.5 13 14`,key:`10btkg`}],[`path`,{d:`m18 3-4 4h6l-4 4`,key:`16psg9`}]]),X=n(),Te=e(t(),1),Z=y(),Ee={locale:`System default`,"12-hour":`12-hour`,"24-hour":`24-hour`},De={0:`Off`,1e4:`10 seconds`,3e4:`30 seconds`,6e4:`1 minute`,3e5:`5 minutes`},Oe=[0,1e4,3e4,6e4,3e5],ke={automatic:`Automatic`,reduced:`Reduced`,manual:`Manual`},Ae=[`automatic`,`reduced`,`manual`];function je(e){if(e===null)return null;let t=Number.parseInt(e,10);return Oe.includes(t)?t:null}function Me(e){return Ae.find(t=>t===e)??null}function Ne(e){let t=(0,X.c)(2),{editor:n}=e,r=ge[n];if(!r)return null;let i;return t[0]===r?i=t[1]:(i=(0,Z.jsx)(r,{"aria-hidden":`true`,className:`size-4 text-muted-foreground`}),t[0]=r,t[1]=i),i}function Pe(){let e=(0,X.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Z.jsx)(`span`,{children:`Version`}),(0,Z.jsx)(`code`,{className:`text-[11px] font-medium text-muted-foreground`,children:b})]}),e[0]=t):t=e[0],t}var Fe=`https://github.com/sak0a/ryco`;function Q(e){m().shell.openExternal(e).catch(e=>{T.add(L({type:`error`,title:`Could not open link`,description:e instanceof Error?e.message:`Failed to open external link.`}))})}function Ie(){let e=(0,X.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(H,{className:`h-14 text-foreground`}),n=(0,Z.jsx)(`h3`,{className:`text-base font-semibold tracking-tight text-foreground`,children:x}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsxs)(`div`,{className:`flex flex-col items-center gap-2 px-4 pt-6 pb-5 text-center sm:px-5`,children:[t,n,(0,Z.jsx)(`div`,{className:`space-y-0.5 text-[11px] text-muted-foreground`,children:(0,Z.jsx)(`p`,{children:(0,Z.jsx)(`button`,{type:`button`,onClick:Le,className:`underline-offset-2 hover:text-foreground hover:underline`,children:`github.com/sak0a/ryco`})})})]}),e[2]=r):r=e[2],r}function Le(){return Q(Fe)}function Re(e){let t=(0,X.c)(46),{scopeLabel:n}=e,r=O(),[i,a]=(0,Te.useState)(!1),o=typeof window<`u`&&!!window.desktopBridge,s=r?.channel??`latest`,c;t[0]===s?c=t[1]:(c=e=>{let t=window.desktopBridge;!t||typeof t.setUpdateChannel!=`function`||e===s||(a(!0),t.setUpdateChannel(e).then(Ke).catch(Ge).finally(()=>{a(!1)}))},t[0]=s,t[1]=c);let l=c,u;t[2]===r?u=t[3]:(u=()=>{let e=window.desktopBridge;if(!e)return;let t=r?D(r):`none`;if(t===`download`){e.downloadUpdate().then(We).catch(Ue);return}if(t===`install`){if(!window.confirm(j(r??{availableVersion:null,downloadedVersion:null})))return;e.installUpdate().then(He).catch(Ve);return}typeof e.checkForUpdate==`function`&&e.checkForUpdate().then(Be).catch(ze)},t[2]=r,t[3]=u);let d=u,f;t[4]===r?f=t[5]:(f=r?D(r):`none`,t[4]=r,t[5]=f);let p=f,m;t[6]===r?m=t[7]:(m=r?k(r):null,t[6]=r,t[7]=m);let h=m,g;t[8]!==p||t[9]!==r?(g=p===`none`?!A(r):E(r),t[8]=p,t[9]=r,t[10]=g):g=t[10];let _=g,v;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(v={download:`Download`,install:`Install`},t[11]=v):v=t[11];let y=v,b;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(b={checking:`Checking…`,downloading:`Downloading…`,"up-to-date":`Up to Date`},t[12]=b):b=t[12];let x=b,S=y[p]??x[r?.status??``]??`Check for Updates`,C=p===`download`||p===`install`?`Update available.`:`Current version of the application.`,w;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Z.jsx)(Pe,{}),t[13]=w):w=t[13];let T=p===`install`?`default`:`outline`,M;t[14]!==_||t[15]!==S||t[16]!==d||t[17]!==T?(M=(0,Z.jsx)(ee,{render:(0,Z.jsx)(re,{size:`xs`,variant:T,disabled:_,onClick:d,children:S})}),t[14]=_,t[15]=S,t[16]=d,t[17]=T,t[18]=M):M=t[18];let N;t[19]===h?N=t[20]:(N=h?(0,Z.jsx)(te,{children:h}):null,t[19]=h,t[20]=N);let P;t[21]!==M||t[22]!==N?(P=(0,Z.jsxs)(ne,{children:[M,N]}),t[21]=M,t[22]=N,t[23]=P):P=t[23];let F;t[24]!==C||t[25]!==n||t[26]!==P?(F=(0,Z.jsx)(J,{title:w,description:C,scope:n,control:P}),t[24]=C,t[25]=n,t[26]=P,t[27]=F):F=t[27];let I;t[28]===l?I=t[29]:(I=e=>{l(e)},t[28]=l,t[29]=I);let L=!o||i,ie=s===`nightly`?`Nightly`:`Stable`,R;t[30]===ie?R=t[31]:(R=(0,Z.jsx)(se,{children:ie}),t[30]=ie,t[31]=R);let z;t[32]!==L||t[33]!==R?(z=(0,Z.jsx)(oe,{className:`w-full sm:w-40`,"aria-label":`Update track`,disabled:L,children:R}),t[32]=L,t[33]=R,t[34]=z):z=t[34];let le;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,Z.jsxs)(ae,{align:`end`,alignItemWithTrigger:!1,children:[(0,Z.jsx)(B,{hideIndicator:!0,value:`latest`,children:`Stable`}),(0,Z.jsx)(B,{hideIndicator:!0,value:`nightly`,children:`Nightly`})]}),t[35]=le):le=t[35];let V;t[36]!==s||t[37]!==I||t[38]!==z?(V=(0,Z.jsxs)(ce,{value:s,onValueChange:I,children:[z,le]}),t[36]=s,t[37]=I,t[38]=z,t[39]=V):V=t[39];let H;t[40]!==n||t[41]!==V?(H=(0,Z.jsx)(J,{title:`Update track`,description:`Stable follows full releases. Nightly follows the nightly desktop channel and can switch back to stable immediately.`,scope:n,control:V}),t[40]=n,t[41]=V,t[42]=H):H=t[42];let U;return t[43]!==F||t[44]!==H?(U=(0,Z.jsxs)(Z.Fragment,{children:[F,H]}),t[43]=F,t[44]=H,t[45]=U):U=t[45],U}function ze(e){T.add(L({type:`error`,title:`Could not check for updates`,description:e instanceof Error?e.message:`Update check failed.`}))}function Be(e){M(e.state),e.checked||T.add(L({type:`error`,title:`Could not check for updates`,description:e.state.message??`Automatic updates are not available in this build.`}))}function Ve(e){T.add(L({type:`error`,title:`Could not install update`,description:e instanceof Error?e.message:`Install failed.`}))}function He(e){M(e.state)}function Ue(e){T.add(L({type:`error`,title:`Could not download update`,description:e instanceof Error?e.message:`Download failed.`}))}function We(e){M(e.state)}function Ge(e){T.add(L({type:`error`,title:`Could not change update track`,description:e instanceof Error?e.message:`Update track change failed.`}))}function Ke(e){M(e)}function qe(e){let t=(0,X.c)(56),{theme:n,setTheme:r}=W(),i=v(),{updateSettings:a}=l(),s;t[0]===i.textGenerationModelSelection?s=t[1]:(s=c(i.textGenerationModelSelection??null,o.textGenerationModelSelection??null),t[0]=i.textGenerationModelSelection,t[1]=s);let d=!s,f;t[2]===n?f=t[3]:(f=n===`system`?[]:[`Theme`],t[2]=n,t[3]=f);let p;t[4]===i.timestampFormat?p=t[5]:(p=i.timestampFormat===o.timestampFormat?[]:[`Time format`],t[4]=i.timestampFormat,t[5]=p);let h;t[6]===i.diffWordWrap?h=t[7]:(h=i.diffWordWrap===o.diffWordWrap?[]:[`Diff line wrapping`],t[6]=i.diffWordWrap,t[7]=h);let g;t[8]===i.diffIgnoreWhitespace?g=t[9]:(g=i.diffIgnoreWhitespace===o.diffIgnoreWhitespace?[]:[`Diff whitespace changes`],t[8]=i.diffIgnoreWhitespace,t[9]=g);let _;t[10]===i.gitStatusPollIntervalMs?_=t[11]:(_=i.gitStatusPollIntervalMs===o.gitStatusPollIntervalMs?[]:[`Remote Git status`],t[10]=i.gitStatusPollIntervalMs,t[11]=_);let y;t[12]===i.sourceControlRefreshMode?y=t[13]:(y=i.sourceControlRefreshMode===o.sourceControlRefreshMode?[]:[`PR & workflow updates`],t[12]=i.sourceControlRefreshMode,t[13]=y);let b;t[14]===i.autoOpenPlanSidebar?b=t[15]:(b=i.autoOpenPlanSidebar===o.autoOpenPlanSidebar?[]:[`Auto-open overview`],t[14]=i.autoOpenPlanSidebar,t[15]=b);let x;t[16]===i.enableLegacyTokenStreaming?x=t[17]:(x=i.enableLegacyTokenStreaming===o.enableLegacyTokenStreaming?[]:[`Stream token by token`],t[16]=i.enableLegacyTokenStreaming,t[17]=x);let S;t[18]===i.enableProviderUpdateChecks?S=t[19]:(S=i.enableProviderUpdateChecks===o.enableProviderUpdateChecks?[]:[`Provider update checks`],t[18]=i.enableProviderUpdateChecks,t[19]=S);let C;t[20]===i.defaultThreadEnvMode?C=t[21]:(C=i.defaultThreadEnvMode===o.defaultThreadEnvMode?[]:[`New thread mode`],t[20]=i.defaultThreadEnvMode,t[21]=C);let w;t[22]===i.addProjectBaseDirectory?w=t[23]:(w=i.addProjectBaseDirectory===o.addProjectBaseDirectory?[]:[`Add project base directory`],t[22]=i.addProjectBaseDirectory,t[23]=w);let T;t[24]===i.confirmThreadArchive?T=t[25]:(T=i.confirmThreadArchive===o.confirmThreadArchive?[]:[`Archive confirmation`],t[24]=i.confirmThreadArchive,t[25]=T);let E;t[26]===i.confirmThreadDelete?E=t[27]:(E=i.confirmThreadDelete===o.confirmThreadDelete?[]:[`Delete confirmation`],t[26]=i.confirmThreadDelete,t[27]=E);let D;t[28]===i.confirmThreadUnpin?D=t[29]:(D=i.confirmThreadUnpin===o.confirmThreadUnpin?[]:[`Unpin confirmation`],t[28]=i.confirmThreadUnpin,t[29]=D);let O;t[30]===d?O=t[31]:(O=d?[`Git writing model`]:[],t[30]=d,t[31]=O);let k;t[32]!==f||t[33]!==C||t[34]!==w||t[35]!==T||t[36]!==E||t[37]!==D||t[38]!==O||t[39]!==p||t[40]!==h||t[41]!==g||t[42]!==_||t[43]!==y||t[44]!==b||t[45]!==x||t[46]!==S?(k=[...f,...p,...h,...g,..._,...y,...b,...x,...S,...C,...w,...T,...E,...D,...O],t[32]=f,t[33]=C,t[34]=w,t[35]=T,t[36]=E,t[37]=D,t[38]=O,t[39]=p,t[40]=h,t[41]=g,t[42]=_,t[43]=y,t[44]=b,t[45]=x,t[46]=S,t[47]=k):k=t[47];let A=k,j;t[48]!==A||t[49]!==e||t[50]!==r||t[51]!==a?(j=async()=>{A.length!==0&&await(u()??m()).dialogs.confirm([`Restore default settings?`,`This will reset: ${A.join(`, `)}.`].join(`
2
+ `))&&(r(`system`),a({timestampFormat:o.timestampFormat,diffWordWrap:o.diffWordWrap,diffIgnoreWhitespace:o.diffIgnoreWhitespace,gitStatusPollIntervalMs:o.gitStatusPollIntervalMs,sourceControlRefreshMode:o.sourceControlRefreshMode,autoOpenPlanSidebar:o.autoOpenPlanSidebar,enableLegacyTokenStreaming:o.enableLegacyTokenStreaming,enableProviderUpdateChecks:o.enableProviderUpdateChecks,defaultThreadEnvMode:o.defaultThreadEnvMode,addProjectBaseDirectory:o.addProjectBaseDirectory,confirmThreadArchive:o.confirmThreadArchive,confirmThreadDelete:o.confirmThreadDelete,confirmThreadUnpin:o.confirmThreadUnpin,textGenerationModelSelection:o.textGenerationModelSelection}),e?.())},t[48]=A,t[49]=e,t[50]=r,t[51]=a,t[52]=j):j=t[52];let M=j,N;return t[53]!==A||t[54]!==M?(N={changedSettingLabels:A,restoreDefaults:M},t[53]=A,t[54]=M,t[55]=N):N=t[55],N}function Je(e){let t=(0,X.c)(19),{searchTargetId:n,nodeScopeLabel:r}=e,i=v(),{updateSettings:a}=l(),s=n===`legacy-token-streaming`,[c,d]=(0,Te.useState)(s),f=(0,Te.useRef)(null),p,h;t[0]===s?(p=t[1],h=t[2]):(p=()=>{if(!s)return;d(!0);let e=requestAnimationFrame(()=>{f.current?.scrollIntoView({block:`center`}),f.current?.querySelector(`[role=switch]`)?.focus()});return()=>cancelAnimationFrame(e)},h=[s],t[0]=s,t[1]=p,t[2]=h),(0,Te.useEffect)(p,h);let g;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsxs)(ve,{className:`group flex w-full items-center justify-between rounded-lg px-1 py-1 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,children:[(0,Z.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,Z.jsx)(`span`,{className:`inline-block h-px w-3 bg-border`,"aria-hidden":!0}),(0,Z.jsx)(`span`,{className:`text-[11px] font-semibold uppercase tracking-[0.08em] text-foreground/50 transition-colors group-hover:text-foreground/70`,children:`Legacy features`}),(0,Z.jsx)(`span`,{className:`hidden text-[11px] text-muted-foreground/55 sm:inline`,children:`Compatibility controls`})]}),(0,Z.jsx)(w,{"aria-hidden":!0,className:`size-3.5 text-muted-foreground/60 transition-transform duration-200 group-data-panel-open:rotate-90`})]}),t[3]=g):g=t[3];let _;t[4]!==i.enableLegacyTokenStreaming||t[5]!==a?(_=i.enableLegacyTokenStreaming===o.enableLegacyTokenStreaming?null:(0,Z.jsx)(Y,{label:`legacy token streaming`,onClick:()=>a({enableLegacyTokenStreaming:o.enableLegacyTokenStreaming})}),t[4]=i.enableLegacyTokenStreaming,t[5]=a,t[6]=_):_=t[6];let y;t[7]===a?y=t[8]:(y=e=>{if(!e){a({enableLegacyTokenStreaming:!1});return}(async()=>{await(u()??m()).dialogs.confirm([`Turn on token-by-token output?`,`It is significantly slower than buffered output and makes long responses harder to follow. This switch exists only for backwards compatibility.`].join(`
3
+ `))&&a({enableLegacyTokenStreaming:!0})})()},t[7]=a,t[8]=y);let b;t[9]!==i.enableLegacyTokenStreaming||t[10]!==y?(b=(0,Z.jsx)(F,{checked:i.enableLegacyTokenStreaming,onCheckedChange:y,"aria-label":`Stream token by token (legacy)`}),t[9]=i.enableLegacyTokenStreaming,t[10]=y,t[11]=b):b=t[11];let x;t[12]!==r||t[13]!==_||t[14]!==b?(x=(0,Z.jsx)(_e,{children:(0,Z.jsx)(`div`,{className:`pt-2`,children:(0,Z.jsx)(`div`,{className:`relative overflow-hidden rounded-2xl border border-border/80 bg-card text-card-foreground shadow-sm/4 dark:shadow-none`,children:(0,Z.jsx)(`div`,{ref:f,id:`legacy-token-streaming`,children:(0,Z.jsx)(J,{title:`Stream token by token (legacy)`,description:`Paint assistant output token by token instead of in complete chunks. This legacy mode is significantly slower and makes long responses harder to follow.`,scope:r,resetAction:_,control:b})})})})}),t[12]=r,t[13]=_,t[14]=b,t[15]=x):x=t[15];let S;return t[16]!==c||t[17]!==x?(S=(0,Z.jsx)(`section`,{className:`space-y-2.5`,children:(0,Z.jsxs)(ye,{open:c,onOpenChange:d,children:[g,x]})}),t[16]=c,t[17]=x,t[18]=S):S=t[18],S}function Ye(e){let t=(0,X.c)(254),{searchTargetId:n}=e,r=n===void 0?null:n,a=v(),{updateSettings:c}=l(),u=z()===`phone`,d=_(),p=d?.nodeLabel??null,g,y,b;if(t[0]!==p){let e={nativeClient:i,nodeLabel:p};y=me(`browser`,e),g=me(`device`,e),b=me(`node`,e),t[0]=p,t[1]=g,t[2]=y,t[3]=b}else g=t[1],y=t[2],b=t[3];let x=b,S;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(S={logsDirectory:!1},t[4]=S):S=t[4];let[C,w]=(0,Te.useState)(S),T;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(T={},t[5]=T):T=t[5];let[E,D]=(0,Te.useState)(T),O=h(),k=f(),A=k?.logsDirectoryPath??null,j=!d||d.primary,M;t[6]===k?M=t[7]:(M=[],k?.otlpTracesEnabled&&k.otlpTracesUrl&&M.push(`traces to ${k.otlpTracesUrl}`),k?.otlpMetricsEnabled&&k.otlpMetricsUrl&&M.push(`metrics to ${k.otlpMetricsUrl}`),t[6]=k,t[7]=M);let N=k?.localTracingEnabled?`Local trace file`:`Terminal logs only`,P=M.length>0?`${N}. OTLP exporting ${M.join(` and `)}.`:`${N}.`,ee;t[8]===O?ee=t[9]:(ee=(e,t,n)=>{if(!t)return;D(t=>({...t,[e]:null})),w(t=>({...t,[e]:!0}));let r=le(O??[]);if(!r){D(t=>({...t,[e]:`No available editors found.`})),w(t=>({...t,[e]:!1}));return}m().shell.openInEditor(t,r).catch(t=>{D(r=>({...r,[e]:t instanceof Error?t.message:n}))}).finally(()=>{w(t=>({...t,[e]:!1}))})},t[8]=O,t[9]=ee);let te=ee,ne;t[10]!==A||t[11]!==te?(ne=()=>{te(`logsDirectory`,A,`Unable to open logs folder.`)},t[10]=A,t[11]=te,t[12]=ne):ne=t[12];let I=ne,L=E.logsDirectory??null,ie=C.logsDirectory,R;t[13]!==a.timestampFormat||t[14]!==c?(R=a.timestampFormat===o.timestampFormat?null:(0,Z.jsx)(Y,{label:`time format`,onClick:()=>c({timestampFormat:o.timestampFormat})}),t[13]=a.timestampFormat,t[14]=c,t[15]=R):R=t[15];let H;t[16]===c?H=t[17]:(H=e=>{(e===`locale`||e===`12-hour`||e===`24-hour`)&&c({timestampFormat:e})},t[16]=c,t[17]=H);let U=Ee[a.timestampFormat],W;t[18]===U?W=t[19]:(W=(0,Z.jsx)(oe,{className:`w-full sm:w-40`,"aria-label":`Timestamp format`,children:(0,Z.jsx)(se,{children:U})}),t[18]=U,t[19]=W);let ue;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,Z.jsxs)(ae,{align:`end`,alignItemWithTrigger:!1,children:[(0,Z.jsx)(B,{hideIndicator:!0,value:`locale`,children:Ee.locale}),(0,Z.jsx)(B,{hideIndicator:!0,value:`12-hour`,children:Ee[`12-hour`]}),(0,Z.jsx)(B,{hideIndicator:!0,value:`24-hour`,children:Ee[`24-hour`]})]}),t[20]=ue):ue=t[20];let G;t[21]!==a.timestampFormat||t[22]!==W||t[23]!==H?(G=(0,Z.jsxs)(ce,{value:a.timestampFormat,onValueChange:H,children:[W,ue]}),t[21]=a.timestampFormat,t[22]=W,t[23]=H,t[24]=G):G=t[24];let K;t[25]!==y||t[26]!==G||t[27]!==R?(K=(0,Z.jsx)(J,{title:`Time format`,description:`System default follows your browser or OS clock preference.`,scope:y,resetAction:R,control:G}),t[25]=y,t[26]=G,t[27]=R,t[28]=K):K=t[28];let de=(O??[]).length>0?`Pin which editor opens directories and files. Auto uses your last selection from the Open menu.`:`No installed editors detected. Install a supported IDE to pick a default.`,q;t[29]!==a.preferredEditor||t[30]!==c?(q=a.preferredEditor===o.preferredEditor?null:(0,Z.jsx)(Y,{label:`default editor`,onClick:()=>c({preferredEditor:o.preferredEditor})}),t[29]=a.preferredEditor,t[30]=c,t[31]=q):q=t[31];let ge=a.preferredEditor??`__auto__`,_e;t[32]===c?_e=t[33]:(_e=e=>{if(e===`__auto__`){c({preferredEditor:null});return}let t=s.find(t=>t.id===e);t&&c({preferredEditor:t.id})},t[32]=c,t[33]=_e);let ve;t[34]===a.preferredEditor?ve=t[35]:(ve=a.preferredEditor?(0,Z.jsx)(Ne,{editor:a.preferredEditor}):null,t[34]=a.preferredEditor,t[35]=ve);let ye;t[36]===a.preferredEditor?ye=t[37]:(ye=a.preferredEditor?he(a.preferredEditor,navigator.platform):`Auto (last used)`,t[36]=a.preferredEditor,t[37]=ye);let xe;t[38]===ye?xe=t[39]:(xe=(0,Z.jsx)(se,{children:ye}),t[38]=ye,t[39]=xe);let Se;t[40]!==ve||t[41]!==xe?(Se=(0,Z.jsxs)(oe,{className:`w-full sm:w-56`,"aria-label":`Default editor`,children:[ve,xe]}),t[40]=ve,t[41]=xe,t[42]=Se):Se=t[42];let Ce;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,Z.jsx)(B,{hideIndicator:!0,value:`__auto__`,children:(0,Z.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Z.jsx)(`span`,{"aria-hidden":`true`,className:`size-4`}),`Auto (last used)`]})}),t[43]=Ce):Ce=t[43];let we;t[44]===O?we=t[45]:(we=s.filter(e=>(O??[]).includes(e.id)&&V(e.id)).map(Qe),t[44]=O,t[45]=we);let Fe;t[46]===we?Fe=t[47]:(Fe=(0,Z.jsxs)(ae,{align:`end`,alignItemWithTrigger:!1,children:[Ce,we]}),t[46]=we,t[47]=Fe);let Q;t[48]!==ge||t[49]!==_e||t[50]!==Se||t[51]!==Fe?(Q=(0,Z.jsxs)(ce,{value:ge,onValueChange:_e,children:[Se,Fe]}),t[48]=ge,t[49]=_e,t[50]=Se,t[51]=Fe,t[52]=Q):Q=t[52];let Le;t[53]!==y||t[54]!==de||t[55]!==q||t[56]!==Q?(Le=(0,Z.jsx)(J,{title:`Default editor`,description:de,scope:y,resetAction:q,control:Q}),t[53]=y,t[54]=de,t[55]=q,t[56]=Q,t[57]=Le):Le=t[57];let ze;t[58]!==a.diffWordWrap||t[59]!==c?(ze=a.diffWordWrap===o.diffWordWrap?null:(0,Z.jsx)(Y,{label:`diff line wrapping`,onClick:()=>c({diffWordWrap:o.diffWordWrap})}),t[58]=a.diffWordWrap,t[59]=c,t[60]=ze):ze=t[60];let Be;t[61]===c?Be=t[62]:(Be=e=>c({diffWordWrap:!!e}),t[61]=c,t[62]=Be);let Ve;t[63]!==a.diffWordWrap||t[64]!==Be?(Ve=(0,Z.jsx)(F,{checked:a.diffWordWrap,onCheckedChange:Be,"aria-label":`Wrap diff lines by default`}),t[63]=a.diffWordWrap,t[64]=Be,t[65]=Ve):Ve=t[65];let He;t[66]!==y||t[67]!==ze||t[68]!==Ve?(He=(0,Z.jsx)(J,{title:`Diff line wrapping`,description:`Set the default wrap state when the diff panel opens.`,scope:y,resetAction:ze,control:Ve}),t[66]=y,t[67]=ze,t[68]=Ve,t[69]=He):He=t[69];let Ue;t[70]!==a.diffIgnoreWhitespace||t[71]!==c?(Ue=a.diffIgnoreWhitespace===o.diffIgnoreWhitespace?null:(0,Z.jsx)(Y,{label:`diff whitespace changes`,onClick:()=>c({diffIgnoreWhitespace:o.diffIgnoreWhitespace})}),t[70]=a.diffIgnoreWhitespace,t[71]=c,t[72]=Ue):Ue=t[72];let We;t[73]===c?We=t[74]:(We=e=>c({diffIgnoreWhitespace:!!e}),t[73]=c,t[74]=We);let Ge;t[75]!==a.diffIgnoreWhitespace||t[76]!==We?(Ge=(0,Z.jsx)(F,{checked:a.diffIgnoreWhitespace,onCheckedChange:We,"aria-label":`Hide whitespace changes by default`}),t[75]=a.diffIgnoreWhitespace,t[76]=We,t[77]=Ge):Ge=t[77];let Ke;t[78]!==y||t[79]!==Ue||t[80]!==Ge?(Ke=(0,Z.jsx)(J,{title:`Hide whitespace changes`,description:`Set whether the diff panel ignores whitespace-only edits by default.`,scope:y,resetAction:Ue,control:Ge}),t[78]=y,t[79]=Ue,t[80]=Ge,t[81]=Ke):Ke=t[81];let qe;t[82]!==a.gitStatusPollIntervalMs||t[83]!==c?(qe=a.gitStatusPollIntervalMs===o.gitStatusPollIntervalMs?null:(0,Z.jsx)(Y,{label:`git status polling`,onClick:()=>c({gitStatusPollIntervalMs:o.gitStatusPollIntervalMs})}),t[82]=a.gitStatusPollIntervalMs,t[83]=c,t[84]=qe):qe=t[84];let Ye=String(a.gitStatusPollIntervalMs),$e;t[85]===c?$e=t[86]:($e=e=>{let t=je(e);t!==null&&c({gitStatusPollIntervalMs:t})},t[85]=c,t[86]=$e);let et=De[a.gitStatusPollIntervalMs],tt;t[87]===et?tt=t[88]:(tt=(0,Z.jsx)(oe,{className:`w-full sm:w-40`,"aria-label":`Git status polling interval`,children:(0,Z.jsx)(se,{children:et})}),t[87]=et,t[88]=tt);let nt;t[89]===Symbol.for(`react.memo_cache_sentinel`)?(nt=(0,Z.jsx)(ae,{align:`end`,alignItemWithTrigger:!1,children:Oe.map(Ze)}),t[89]=nt):nt=t[89];let $;t[90]!==Ye||t[91]!==$e||t[92]!==tt?($=(0,Z.jsxs)(ce,{value:Ye,onValueChange:$e,children:[tt,nt]}),t[90]=Ye,t[91]=$e,t[92]=tt,t[93]=$):$=t[93];let rt;t[94]!==y||t[95]!==qe||t[96]!==$?(rt=(0,Z.jsx)(J,{title:`Remote Git status`,description:`Refresh remote branch and pull request metadata while a repository is open.`,scope:y,resetAction:qe,control:$}),t[94]=y,t[95]=qe,t[96]=$,t[97]=rt):rt=t[97];let it;t[98]!==a.sourceControlRefreshMode||t[99]!==c?(it=a.sourceControlRefreshMode===o.sourceControlRefreshMode?null:(0,Z.jsx)(Y,{label:`PR and workflow updates`,onClick:()=>c({sourceControlRefreshMode:o.sourceControlRefreshMode})}),t[98]=a.sourceControlRefreshMode,t[99]=c,t[100]=it):it=t[100];let at;t[101]===c?at=t[102]:(at=e=>{let t=Me(e);t!==null&&c({sourceControlRefreshMode:t})},t[101]=c,t[102]=at);let ot=ke[a.sourceControlRefreshMode],st;t[103]===ot?st=t[104]:(st=(0,Z.jsx)(oe,{className:`w-full sm:w-40`,"aria-label":`PR and workflow update mode`,children:(0,Z.jsx)(se,{children:ot})}),t[103]=ot,t[104]=st);let ct;t[105]===Symbol.for(`react.memo_cache_sentinel`)?(ct=(0,Z.jsx)(ae,{align:`end`,alignItemWithTrigger:!1,children:Ae.map(Xe)}),t[105]=ct):ct=t[105];let lt;t[106]!==a.sourceControlRefreshMode||t[107]!==at||t[108]!==st?(lt=(0,Z.jsxs)(ce,{value:a.sourceControlRefreshMode,onValueChange:at,children:[st,ct]}),t[106]=a.sourceControlRefreshMode,t[107]=at,t[108]=st,t[109]=lt):lt=t[109];let ut;t[110]!==y||t[111]!==it||t[112]!==lt?(ut=(0,Z.jsx)(J,{title:`PR & workflow updates`,description:`Control automatic pull request and workflow refreshes. Automatic is fast after pushes and stops when checks settle.`,scope:y,resetAction:it,control:lt}),t[110]=y,t[111]=it,t[112]=lt,t[113]=ut):ut=t[113];let dt;t[114]!==a.enableProviderUpdateChecks||t[115]!==c?(dt=a.enableProviderUpdateChecks===o.enableProviderUpdateChecks?null:(0,Z.jsx)(Y,{label:`provider update checks`,onClick:()=>c({enableProviderUpdateChecks:o.enableProviderUpdateChecks})}),t[114]=a.enableProviderUpdateChecks,t[115]=c,t[116]=dt):dt=t[116];let ft;t[117]===c?ft=t[118]:(ft=e=>c({enableProviderUpdateChecks:!!e}),t[117]=c,t[118]=ft);let pt;t[119]!==a.enableProviderUpdateChecks||t[120]!==ft?(pt=(0,Z.jsx)(F,{checked:a.enableProviderUpdateChecks,onCheckedChange:ft,"aria-label":`Check providers for updates`}),t[119]=a.enableProviderUpdateChecks,t[120]=ft,t[121]=pt):pt=t[121];let mt;t[122]!==x||t[123]!==dt||t[124]!==pt?(mt=(0,Z.jsx)(J,{title:`Provider update checks`,description:`Check installed provider CLIs for newer versions. Disable if you install providers with Nix or another package manager.`,scope:x,resetAction:dt,control:pt}),t[122]=x,t[123]=dt,t[124]=pt,t[125]=mt):mt=t[125];let ht;t[126]!==a.autoOpenPlanSidebar||t[127]!==c?(ht=a.autoOpenPlanSidebar===o.autoOpenPlanSidebar?null:(0,Z.jsx)(Y,{label:`auto-open overview`,onClick:()=>c({autoOpenPlanSidebar:o.autoOpenPlanSidebar})}),t[126]=a.autoOpenPlanSidebar,t[127]=c,t[128]=ht):ht=t[128];let gt;t[129]===c?gt=t[130]:(gt=e=>c({autoOpenPlanSidebar:!!e}),t[129]=c,t[130]=gt);let _t;t[131]!==a.autoOpenPlanSidebar||t[132]!==gt?(_t=(0,Z.jsx)(F,{checked:a.autoOpenPlanSidebar,onCheckedChange:gt,"aria-label":`Open the overview automatically`}),t[131]=a.autoOpenPlanSidebar,t[132]=gt,t[133]=_t):_t=t[133];let vt;t[134]!==y||t[135]!==ht||t[136]!==_t?(vt=(0,Z.jsx)(J,{title:`Auto-open overview`,description:`Open the overview automatically when plans, progress, or implementation steps appear.`,scope:y,resetAction:ht,control:_t}),t[134]=y,t[135]=ht,t[136]=_t,t[137]=vt):vt=t[137];let yt;t[138]!==a.defaultThreadEnvMode||t[139]!==c?(yt=a.defaultThreadEnvMode===o.defaultThreadEnvMode?null:(0,Z.jsx)(Y,{label:`new threads`,onClick:()=>c({defaultThreadEnvMode:o.defaultThreadEnvMode})}),t[138]=a.defaultThreadEnvMode,t[139]=c,t[140]=yt):yt=t[140];let bt;t[141]===c?bt=t[142]:(bt=e=>{(e===`local`||e===`worktree`)&&c({defaultThreadEnvMode:e})},t[141]=c,t[142]=bt);let xt=a.defaultThreadEnvMode===`worktree`?`New worktree`:`Local`,St;t[143]===xt?St=t[144]:(St=(0,Z.jsx)(oe,{className:`w-full sm:w-44`,"aria-label":`Default thread mode`,children:(0,Z.jsx)(se,{children:xt})}),t[143]=xt,t[144]=St);let Ct;t[145]===Symbol.for(`react.memo_cache_sentinel`)?(Ct=(0,Z.jsxs)(ae,{align:`end`,alignItemWithTrigger:!1,children:[(0,Z.jsx)(B,{hideIndicator:!0,value:`local`,children:`Local`}),(0,Z.jsx)(B,{hideIndicator:!0,value:`worktree`,children:`New worktree`})]}),t[145]=Ct):Ct=t[145];let wt;t[146]!==a.defaultThreadEnvMode||t[147]!==bt||t[148]!==St?(wt=(0,Z.jsxs)(ce,{value:a.defaultThreadEnvMode,onValueChange:bt,children:[St,Ct]}),t[146]=a.defaultThreadEnvMode,t[147]=bt,t[148]=St,t[149]=wt):wt=t[149];let Tt;t[150]!==x||t[151]!==yt||t[152]!==wt?(Tt=(0,Z.jsx)(J,{title:`New threads`,description:`Pick the default workspace mode for newly created draft threads.`,scope:x,resetAction:yt,control:wt}),t[150]=x,t[151]=yt,t[152]=wt,t[153]=Tt):Tt=t[153];let Et;t[154]!==a.addProjectBaseDirectory||t[155]!==c?(Et=a.addProjectBaseDirectory===o.addProjectBaseDirectory?null:(0,Z.jsx)(Y,{label:`add project base directory`,onClick:()=>c({addProjectBaseDirectory:o.addProjectBaseDirectory})}),t[154]=a.addProjectBaseDirectory,t[155]=c,t[156]=Et):Et=t[156];let Dt;t[157]===c?Dt=t[158]:(Dt=e=>c({addProjectBaseDirectory:e}),t[157]=c,t[158]=Dt);let Ot;t[159]!==a.addProjectBaseDirectory||t[160]!==Dt?(Ot=(0,Z.jsx)(be,{className:`w-full sm:w-72`,value:a.addProjectBaseDirectory,onCommit:Dt,placeholder:`~/`,spellCheck:!1,"aria-label":`Add project base directory`}),t[159]=a.addProjectBaseDirectory,t[160]=Dt,t[161]=Ot):Ot=t[161];let kt;t[162]!==x||t[163]!==Et||t[164]!==Ot?(kt=(0,Z.jsx)(J,{title:`Add project starts in`,description:`Leave empty to use "~/" when the Add Project browser opens.`,scope:x,resetAction:Et,control:Ot}),t[162]=x,t[163]=Et,t[164]=Ot,t[165]=kt):kt=t[165];let At;t[166]!==a.confirmThreadArchive||t[167]!==c?(At=a.confirmThreadArchive===o.confirmThreadArchive?null:(0,Z.jsx)(Y,{label:`archive confirmation`,onClick:()=>c({confirmThreadArchive:o.confirmThreadArchive})}),t[166]=a.confirmThreadArchive,t[167]=c,t[168]=At):At=t[168];let jt;t[169]===c?jt=t[170]:(jt=e=>c({confirmThreadArchive:!!e}),t[169]=c,t[170]=jt);let Mt;t[171]!==a.confirmThreadArchive||t[172]!==jt?(Mt=(0,Z.jsx)(F,{checked:a.confirmThreadArchive,onCheckedChange:jt,"aria-label":`Confirm thread archiving`}),t[171]=a.confirmThreadArchive,t[172]=jt,t[173]=Mt):Mt=t[173];let Nt;t[174]!==y||t[175]!==At||t[176]!==Mt?(Nt=(0,Z.jsx)(J,{title:`Archive confirmation`,description:`Require a second click on the inline archive action before a thread is archived.`,scope:y,resetAction:At,control:Mt}),t[174]=y,t[175]=At,t[176]=Mt,t[177]=Nt):Nt=t[177];let Pt;t[178]!==a.confirmThreadDelete||t[179]!==c?(Pt=a.confirmThreadDelete===o.confirmThreadDelete?null:(0,Z.jsx)(Y,{label:`delete confirmation`,onClick:()=>c({confirmThreadDelete:o.confirmThreadDelete})}),t[178]=a.confirmThreadDelete,t[179]=c,t[180]=Pt):Pt=t[180];let Ft;t[181]===c?Ft=t[182]:(Ft=e=>c({confirmThreadDelete:!!e}),t[181]=c,t[182]=Ft);let It;t[183]!==a.confirmThreadDelete||t[184]!==Ft?(It=(0,Z.jsx)(F,{checked:a.confirmThreadDelete,onCheckedChange:Ft,"aria-label":`Confirm thread deletion`}),t[183]=a.confirmThreadDelete,t[184]=Ft,t[185]=It):It=t[185];let Lt;t[186]!==y||t[187]!==Pt||t[188]!==It?(Lt=(0,Z.jsx)(J,{title:`Delete confirmation`,description:`Ask before deleting a thread and its chat history.`,scope:y,resetAction:Pt,control:It}),t[186]=y,t[187]=Pt,t[188]=It,t[189]=Lt):Lt=t[189];let Rt;t[190]!==a.confirmThreadUnpin||t[191]!==c?(Rt=a.confirmThreadUnpin===o.confirmThreadUnpin?null:(0,Z.jsx)(Y,{label:`unpin confirmation`,onClick:()=>c({confirmThreadUnpin:o.confirmThreadUnpin})}),t[190]=a.confirmThreadUnpin,t[191]=c,t[192]=Rt):Rt=t[192];let zt;t[193]===c?zt=t[194]:(zt=e=>c({confirmThreadUnpin:!!e}),t[193]=c,t[194]=zt);let Bt;t[195]!==a.confirmThreadUnpin||t[196]!==zt?(Bt=(0,Z.jsx)(F,{checked:a.confirmThreadUnpin,onCheckedChange:zt,"aria-label":`Confirm thread unpinning`}),t[195]=a.confirmThreadUnpin,t[196]=zt,t[197]=Bt):Bt=t[197];let Vt;t[198]!==y||t[199]!==Rt||t[200]!==Bt?(Vt=(0,Z.jsx)(J,{title:`Unpin confirmation`,description:`Ask before removing a thread from the pinned section.`,scope:y,resetAction:Rt,control:Bt}),t[198]=y,t[199]=Rt,t[200]=Bt,t[201]=Vt):Vt=t[201];let Ht;t[202]!==g||t[203]!==a.notifyOnTurnCompleteWhenUnfocused||t[204]!==c?(Ht=i?(0,Z.jsx)(J,{title:`Turn-complete notifications`,description:`Show a desktop notification when an agent finishes a turn while the Ryco window is unfocused.`,scope:g,resetAction:a.notifyOnTurnCompleteWhenUnfocused===o.notifyOnTurnCompleteWhenUnfocused?null:(0,Z.jsx)(Y,{label:`turn-complete notifications`,onClick:()=>c({notifyOnTurnCompleteWhenUnfocused:o.notifyOnTurnCompleteWhenUnfocused})}),control:(0,Z.jsx)(F,{checked:a.notifyOnTurnCompleteWhenUnfocused,onCheckedChange:e=>c({notifyOnTurnCompleteWhenUnfocused:!!e}),"aria-label":`Notify when a turn completes while unfocused`})}):null,t[202]=g,t[203]=a.notifyOnTurnCompleteWhenUnfocused,t[204]=c,t[205]=Ht):Ht=t[205];let Ut;t[206]!==K||t[207]!==Le||t[208]!==He||t[209]!==Ke||t[210]!==rt||t[211]!==ut||t[212]!==mt||t[213]!==vt||t[214]!==Tt||t[215]!==kt||t[216]!==Nt||t[217]!==Lt||t[218]!==Vt||t[219]!==Ht?(Ut=(0,Z.jsxs)(fe,{title:`General`,children:[K,Le,He,Ke,rt,ut,mt,vt,Tt,kt,Nt,Lt,Vt,Ht]}),t[206]=K,t[207]=Le,t[208]=He,t[209]=Ke,t[210]=rt,t[211]=ut,t[212]=mt,t[213]=vt,t[214]=Tt,t[215]=kt,t[216]=Nt,t[217]=Lt,t[218]=Vt,t[219]=Ht,t[220]=Ut):Ut=t[220];let Wt;t[221]!==u||t[222]!==x||t[223]!==r?(Wt=u?null:(0,Z.jsx)(Je,{searchTargetId:r,nodeScopeLabel:x}),t[221]=u,t[222]=x,t[223]=r,t[224]=Wt):Wt=t[224];let Gt;t[225]===Symbol.for(`react.memo_cache_sentinel`)?(Gt=(0,Z.jsx)(Ie,{}),t[225]=Gt):Gt=t[225];let Kt;t[226]!==g||t[227]!==y?(Kt=i?(0,Z.jsx)(Re,{scopeLabel:g}):(0,Z.jsx)(J,{title:(0,Z.jsx)(Pe,{}),description:`Current version of the application.`,scope:y}),t[226]=g,t[227]=y,t[228]=Kt):Kt=t[228];let qt=A??`Resolving logs directory...`,Jt;t[229]===qt?Jt=t[230]:(Jt=(0,Z.jsx)(`span`,{className:`block break-all font-mono text-[11px] text-foreground`,children:qt}),t[229]=qt,t[230]=Jt);let Yt;t[231]!==j||t[232]!==L||t[233]!==d?.nodeLabel?(Yt=L?(0,Z.jsx)(`span`,{className:`mt-1 block text-destructive`,children:L}):j?null:(0,Z.jsxs)(`span`,{className:`mt-1 block`,children:[`This path is on `,d?.nodeLabel,`; open it from that machine.`]}),t[231]=j,t[232]=L,t[233]=d?.nodeLabel,t[234]=Yt):Yt=t[234];let Xt;t[235]!==Jt||t[236]!==Yt?(Xt=(0,Z.jsxs)(Z.Fragment,{children:[Jt,Yt]}),t[235]=Jt,t[236]=Yt,t[237]=Xt):Xt=t[237];let Zt=!j||!A||ie,Qt=ie?`Opening...`:`Open logs folder`,$t;t[238]!==I||t[239]!==Zt||t[240]!==Qt?($t=(0,Z.jsx)(re,{size:`xs`,variant:`outline`,disabled:Zt,onClick:I,children:Qt}),t[238]=I,t[239]=Zt,t[240]=Qt,t[241]=$t):$t=t[241];let en;t[242]!==P||t[243]!==x||t[244]!==Xt||t[245]!==$t?(en=(0,Z.jsx)(J,{title:`Diagnostics`,description:P,scope:x,status:Xt,control:$t}),t[242]=P,t[243]=x,t[244]=Xt,t[245]=$t,t[246]=en):en=t[246];let tn;t[247]!==Kt||t[248]!==en?(tn=(0,Z.jsxs)(fe,{title:`About`,children:[Gt,Kt,en]}),t[247]=Kt,t[248]=en,t[249]=tn):tn=t[249];let nn;return t[250]!==Ut||t[251]!==Wt||t[252]!==tn?(nn=(0,Z.jsxs)(pe,{children:[Ut,Wt,tn]}),t[250]=Ut,t[251]=Wt,t[252]=tn,t[253]=nn):nn=t[253],nn}function Xe(e){return(0,Z.jsx)(B,{hideIndicator:!0,value:e,children:ke[e]},e)}function Ze(e){return(0,Z.jsx)(B,{hideIndicator:!0,value:String(e),children:De[e]},e)}function Qe(e){return(0,Z.jsx)(B,{hideIndicator:!0,value:e.id,children:(0,Z.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Z.jsx)(Ne,{editor:e.id}),he(e.id,navigator.platform)]})},e.id)}function $e(){let e=(0,X.c)(18),t=ie(a.dispatchCommand),n=g(N(d)),r=g(N(p)),{unarchiveThread:i,confirmAndDeleteThread:o}=R(),s;if(e[0]!==n||e[1]!==r){let t;e[3]===r?t=e[4]:(t=e=>({project:e,threads:r.filter(t=>t.projectId===e.id&&t.archivedAt!==null).toSorted(tt)}),e[3]=r,e[4]=t),s=n.map(t).filter(et),e[0]=n,e[1]=r,e[2]=s}else s=e[2];let c=s,l;e[5]!==o||e[6]!==t.allowed||e[7]!==t.reason||e[8]!==i?(l=async(e,n)=>{if(!t.allowed){T.add(L({type:`warning`,title:`Archived thread is read-only`,description:t.reason??`This action is unavailable.`}));return}let r=u();if(!r)return;let a=await r.contextMenu.show([{id:`unarchive`,label:`Unarchive`},{id:`delete`,label:`Delete`,destructive:!0}],n);if(a===`unarchive`){try{await i(e)}catch(e){let t=e;T.add(L({type:`error`,title:`Failed to unarchive thread`,description:t instanceof Error?t.message:`An error occurred.`}))}return}a===`delete`&&await o(e)},e[5]=o,e[6]=t.allowed,e[7]=t.reason,e[8]=i,e[9]=l):l=e[9];let f=l,m;e[10]!==c||e[11]!==f||e[12]!==t.allowed||e[13]!==t.reason||e[14]!==i?(m=c.length===0?(0,Z.jsx)(fe,{title:`Archived threads`,children:(0,Z.jsxs)(q,{className:`min-h-88`,children:[(0,Z.jsx)(ue,{variant:`icon`,children:(0,Z.jsx)(C,{})}),(0,Z.jsxs)(G,{children:[(0,Z.jsx)(K,{children:`No archived threads`}),(0,Z.jsx)(de,{children:`Archived threads will appear here.`})]})]})}):c.map(e=>{let{project:n,threads:r}=e;return(0,Z.jsx)(fe,{title:n.name,icon:(0,Z.jsx)(I,{environmentId:n.environmentId,cwd:n.cwd,projectId:n.id,customAvatarContentHash:n.customAvatarContentHash??null}),children:r.map(e=>(0,Z.jsx)(nt,{thread:e,mutationAllowed:t.allowed,mutationReason:t.reason??null,onOpenMenu:f,onUnarchive:i},e.id))},n.id)}),e[10]=c,e[11]=f,e[12]=t.allowed,e[13]=t.reason,e[14]=i,e[15]=m):m=e[15];let h;return e[16]===m?h=e[17]:(h=(0,Z.jsx)(pe,{children:m}),e[16]=m,e[17]=h),h}function et(e){return e.threads.length>0}function tt(e,t){let n=e.archivedAt??e.createdAt;return(t.archivedAt??t.createdAt).localeCompare(n)||t.id.localeCompare(e.id)}function nt(e){let t=(0,X.c)(38),{thread:n,mutationAllowed:i,mutationReason:a,onOpenMenu:o,onUnarchive:s}=e,c=z()===`phone`,l;t[0]!==o||t[1]!==n.environmentId||t[2]!==n.id?(l=e=>{o(r(n.environmentId,n.id),e)},t[0]=o,t[1]=n.environmentId,t[2]=n.id,t[3]=l):l=t[3];let u=!c,d;t[4]===u?d=t[5]:(d={disabled:u},t[4]=u,t[5]=d);let f=U(l,d),p;t[6]!==f||t[7]!==o||t[8]!==n.environmentId||t[9]!==n.id?(p=e=>{f.onContextMenu(e),!e.defaultPrevented&&(e.preventDefault(),o(r(n.environmentId,n.id),{x:e.clientX,y:e.clientY}))},t[6]=f,t[7]=o,t[8]=n.environmentId,t[9]=n.id,t[10]=p):p=t[10];let m;t[11]===n.title?m=t[12]:(m=(0,Z.jsx)(`h3`,{className:`truncate text-sm font-medium text-foreground`,children:n.title}),t[11]=n.title,t[12]=m);let h=n.archivedAt??n.createdAt,g;t[13]===h?g=t[14]:(g=P(h),t[13]=h,t[14]=g);let _;t[15]===n.createdAt?_=t[16]:(_=P(n.createdAt),t[15]=n.createdAt,t[16]=_);let v;t[17]!==g||t[18]!==_?(v=(0,Z.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Archived `,g,` · Created `,_]}),t[17]=g,t[18]=_,t[19]=v):v=t[19];let y;t[20]!==m||t[21]!==v?(y=(0,Z.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[m,v]}),t[20]=m,t[21]=v,t[22]=y):y=t[22];let b=!i,x=a??void 0,S;t[23]!==s||t[24]!==n.environmentId||t[25]!==n.id?(S=()=>void s(r(n.environmentId,n.id)).catch($),t[23]=s,t[24]=n.environmentId,t[25]=n.id,t[26]=S):S=t[26];let C,w;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Z.jsx)(xe,{className:`size-3.5`}),w=(0,Z.jsx)(`span`,{children:`Unarchive`}),t[27]=C,t[28]=w):(C=t[27],w=t[28]);let T;t[29]!==b||t[30]!==x||t[31]!==S?(T=(0,Z.jsxs)(re,{type:`button`,variant:`outline`,size:`sm`,className:`h-7 shrink-0 cursor-pointer gap-1.5 px-2.5`,disabled:b,title:x,onClick:S,children:[C,w]}),t[29]=b,t[30]=x,t[31]=S,t[32]=T):T=t[32];let E;return t[33]!==f||t[34]!==T||t[35]!==p||t[36]!==y?(E=(0,Z.jsxs)(`div`,{className:`flex items-center justify-between gap-3 border-t border-border px-4 py-3 first:border-t-0 sm:px-5`,...f,onContextMenu:p,children:[y,T]}),t[33]=f,t[34]=T,t[35]=p,t[36]=y,t[37]=E):E=t[37],E}function $(e){T.add(L({type:`error`,title:`Failed to unarchive thread`,description:e instanceof Error?e.message:`An error occurred.`}))}export{Ce as a,we as i,Ye as n,Se as o,qe as r,$e as t};
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{ut as r}from"./src-DmPIm3ie.js";import{It as i}from"./composerDraftStore-TYv9j3vY.js";import{t as a}from"./folder-closed-CsvKfC6X.js";import{t as o}from"./terminal-C_CyIsDD.js";import{n as s,r as c}from"./utils-CV2fJJxC.js";import{C as l,S as u,b as d,g as f,n as p,s as m,w as h,x as g}from"./Icons-BEtED8P8.js";var _=n(),v=`/assets/android-studio-BStk6y1m.png`,y=`/assets/nova-BR8CJp3D.png`,b=`/assets/positron-CVTig56O.png`,x=`/assets/sublime-text-CdbLNBJ7.png`,S=`/assets/windsurf-CaEwKX1l.png`,C=`/assets/xcode-B_XpXYHB.png`,w=i();function T(e,t){let n=n=>{let r=(0,_.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`title`,{children:t}),a=(0,w.jsx)(`image`,{href:e,width:`24`,height:`24`,preserveAspectRatio:`xMidYMid meet`}),r[0]=i,r[1]=a):(i=r[0],a=r[1]);let o;return r[2]===n?o=r[3]:(o=(0,w.jsxs)(`svg`,{...n,viewBox:`0 0 24 24`,fill:`none`,children:[i,a]}),r[2]=n,r[3]=o),o};return n.displayName=`${t.replaceAll(` `,``)}Icon`,n}var E=T(v,`Android Studio`),D=T(C,`Xcode`),O=T(S,`Windsurf`),k=T(x,`Sublime Text`),A=T(y,`Nova`),j=T(b,`Positron`),M=e(t(),1),N=(e,t)=>{let n=(0,_.c)(7),r=(0,M.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},P={cursor:m,windsurf:O,trae:d,kiro:f,vscode:u,"vscode-insiders":l,vscodium:g,positron:j,zed:h,"sublime-text":k,nova:A,xcode:D,antigravity:p,"android-studio":E,idea:e=>{let t=(0,_.c)(23),[n,r]=N(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},aqua:e=>{let t=(0,_.c)(23),[n,r]=N(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},clion:e=>{let t=(0,_.c)(23),[n,r]=N(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},datagrip:e=>{let t=(0,_.c)(23),[n,r]=N(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,w.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},dataspell:e=>{let t=(0,_.c)(23),[n,r]=N(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},goland:e=>{let t=(0,_.c)(23),[n,r]=N(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},phpstorm:e=>{let t=(0,_.c)(23),[n,r]=N(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},pycharm:e=>{let t=(0,_.c)(23),[n,r]=N(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},rider:e=>{let t=(0,_.c)(23),[n,r]=N(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},rubymine:e=>{let t=(0,_.c)(23),[n,r]=N(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,w.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,w.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},rustrover:e=>{let t=(0,_.c)(23),[n,r]=N(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,w.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},webstorm:e=>{let t=(0,_.c)(23),[n,r]=N(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,w.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},terminal:o,"file-manager":a};function F(e,t){return e===`terminal`&&c(t)?`Windows Terminal`:e===`file-manager`?s(t)?`Finder`:c(t)?`Explorer`:`Files`:r.find(t=>t.id===e)?.label??e}function I(e,t){let n=new Set(t);return r.filter(e=>n.has(e.id)).map(t=>({label:F(t.id,e),Icon:P[t.id],value:t.id}))}export{F as n,I as r,P as t};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{dt as r}from"./src-CtanPQei.js";import{It as i}from"./composerDraftStore-DXTD6mKH.js";import{t as a}from"./folder-closed-CsvKfC6X.js";import{t as o}from"./terminal-C_CyIsDD.js";import{n as s,r as c}from"./utils-Ct58OPtz.js";import{C as l,S as u,b as d,g as f,n as p,s as m,w as h,x as g}from"./Icons-CqMTQkuR.js";var _=n(),v=`/assets/android-studio-BStk6y1m.png`,y=`/assets/nova-BR8CJp3D.png`,b=`/assets/positron-CVTig56O.png`,x=`/assets/sublime-text-CdbLNBJ7.png`,S=`/assets/windsurf-CaEwKX1l.png`,C=`/assets/xcode-B_XpXYHB.png`,w=i();function T(e,t){let n=n=>{let r=(0,_.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`title`,{children:t}),a=(0,w.jsx)(`image`,{href:e,width:`24`,height:`24`,preserveAspectRatio:`xMidYMid meet`}),r[0]=i,r[1]=a):(i=r[0],a=r[1]);let o;return r[2]===n?o=r[3]:(o=(0,w.jsxs)(`svg`,{...n,viewBox:`0 0 24 24`,fill:`none`,children:[i,a]}),r[2]=n,r[3]=o),o};return n.displayName=`${t.replaceAll(` `,``)}Icon`,n}var E=T(v,`Android Studio`),D=T(C,`Xcode`),O=T(S,`Windsurf`),k=T(x,`Sublime Text`),A=T(y,`Nova`),j=T(b,`Positron`),M=e(t(),1),N=(e,t)=>{let n=(0,_.c)(7),r=(0,M.useId)(),i;if(n[0]!==t||n[1]!==r||n[2]!==e){let a;n[4]!==r||n[5]!==e?(a=(t,n)=>`${r}-${e}-${String.fromCharCode(97+n)}`,n[4]=r,n[5]=e,n[6]=a):a=n[6],i=Array.from({length:t},a),n[0]=t,n[1]=r,n[2]=e,n[3]=i}else i=n[3];return i},P={cursor:m,windsurf:O,trae:d,kiro:f,vscode:u,"vscode-insiders":l,vscodium:g,positron:j,zed:h,"sublime-text":k,nova:A,xcode:D,antigravity:p,"android-studio":E,idea:e=>{let t=(0,_.c)(23),[n,r]=N(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#FE2857`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`-.391`,x2:`24.392`,y1:`7.671`,y2:`61.126`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#007EFF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.336`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.191a4.125 4.125 0 0 0-4.124 4.19l.176 11.044a4.13 4.13 0 0 0 1.44 3.066l38.159 32.707c.747.64 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.19-.514-2.321-1.41-3.105L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M14.988 6H4.125A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.185A4.125 4.125 0 0 0 9.573 64h15.398a4.125 4.125 0 0 0 4.125-4.127L29.09 41.37c0-.426-.066-.849-.195-1.254l-9.98-31.245A4.13 4.13 0 0 0 14.988 6z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M59.876 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.943a4.1 4.1 0 0 0-.325 1.638l.15 18.329A4.125 4.125 0 0 0 10.101 64h17.666c.806 0 1.593-.236 2.266-.678l32.11-21.109A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.876 0`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17 29.383h2.98v-9.775H17v-2.616h8.843v2.616h-2.98v9.775h2.98V32H17zM27.643 29.298h2.154a2.4 2.4 0 0 0 1.163-.279q.51-.279.788-.788.279-.51.279-1.163V16.992h2.926v10.28q0 1.35-.622 2.427a4.45 4.45 0 0 1-1.715 1.688q-1.092.612-2.454.611h-2.519z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},aqua:e=>{let t=(0,_.c)(23),[n,r]=N(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`7.671`,x2:`61.125`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124L21 64c1.181-.019 2.531-.786 3.3-1.683l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.746 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.003-3.961c0-2.187.334-2.778 1.003-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.917-1.014c1.443 0 2.739.338 3.907 1.013a7.3 7.3 0 0 1 2.75 2.787q.996 1.774.996 3.961c0 2.187-.332 2.778-.997 3.96a7.3 7.3 0 0 1-2.749 2.788q-1.752 1.013-3.907 1.013c-1.436 0-2.75-.338-3.917-1.013m6.308-2.23q1.06-.67 1.661-1.854.6-1.185.6-2.664t-.6-2.664a4.6 4.6 0 0 0-1.661-1.854q-1.061-.67-2.39-.67t-2.396.67a4.6 4.6 0 0 0-1.672 1.854q-.605 1.185-.605 2.664t.605 2.664 1.672 1.854q1.067.67 2.396.67 1.33 0 2.39-.67m-2.16 6.034a2.67 2.67 0 0 1-1.126-1.077q-.391-.696-.391-1.64l-.01-1.94h2.743v1.811q0 .332.129.573.128.242.37.365.24.123.574.123h1.833v2.165h-2.412q-.975 0-1.71-.38M38.233 16.992h3.173l5.563 15.006h-2.947l-1.212-3.483h-5.842l-1.136 3.483H32.82zm3.805 9.261-2.025-5.723-.225-.954-.215.954-1.908 5.723z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},clion:e=>{let t=(0,_.c)(23),[n,r]=N(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#009AE5`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.393`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF2D90`,d:`M58 16.453V4.194A4.125 4.125 0 0 0 53.81.07L43.003.008c-1.18.019-2.535.781-3.304 1.678L6.993 39.844c-.64.748-.993 1.7-.993 2.684v11.35a4.125 4.125 0 0 0 4.125 4.125h11.003c1.19 0 2.321-.514 3.105-1.409L56.979 19.17A4.12 4.12 0 0 0 58 16.453`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM20.747 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96a7.3 7.3 0 0 1 2.744-2.787q1.747-1.013 3.901-1.014 1.823 0 3.345.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.355 2.793h-3.065a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.431-.95 4.9 4.9 0 0 0-1.822-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664a4.9 4.9 0 0 0 1.822-.332 4.02 4.02 0 0 0 2.326-2.38h3.065a6.44 6.44 0 0 1-1.355 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.345.675-2.154 0-3.901-1.013zM37.33 16.992v12.37h7.117v2.636H34.414V16.992z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},datagrip:e=>{let t=(0,_.c)(23),[n,r]=N(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,w.jsx)(`stop`,{offset:`.66`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,w.jsx)(`stop`,{offset:`.54`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.125 4.125 0 0 0 53.9 0H36.234c-.806 0-1.593.236-2.267.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF43F2`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19L64 43c-.018-1.181-.785-2.531-1.682-3.3L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M35.426 31.243a7.3 7.3 0 0 1-2.744-2.787q-.997-1.774-.997-3.961c0-2.187.333-2.778.997-3.96s1.58-2.112 2.744-2.787q1.747-1.013 3.902-1.014 1.746 0 3.221.622a6.9 6.9 0 0 1 2.487 1.747 6.36 6.36 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.927-1.228q-.585-.52-1.367-.803c-.782-.283-1.082-.284-1.683-.284q-1.329 0-2.401.664a4.6 4.6 0 0 0-1.678 1.828q-.605 1.163-.605 2.62c0 1.457.202 1.846.605 2.621a4.6 4.6 0 0 0 1.678 1.828q1.072.664 2.401.664 1.233 0 2.235-.461t1.592-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.356v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.625 2.525q-1.668.921-3.736.921c-1.38 0-2.737-.337-3.902-1.013z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},dataspell:e=>{let t=(0,_.c)(23),[n,r]=N(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#00D980`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.067`,x2:`62.664`,y1:`4.327`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`56.329`,x2:`2.875`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#F0EB18`,d:`M58 16.45V4.191A4.125 4.125 0 0 0 53.81.067L43 0c-1.181.019-2.531.786-3.3 1.683L6.993 39.84c-.64.748-.993 1.7-.993 2.685v11.349A4.125 4.125 0 0 0 10.125 58h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.45`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h5.713q2.133 0 3.821.965a6.9 6.9 0 0 1 2.642 2.674q.954 1.71.954 3.864t-.954 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.821.964h-5.713zm8.028 11.876q1.008-.6 1.554-1.72.547-1.12.547-2.653 0-1.534-.547-2.653-.546-1.12-1.554-1.721-1.008-.6-2.348-.6h-2.755v9.947h2.755q1.34 0 2.348-.6M34.713 31.664q-1.26-.59-1.973-1.65t-.734-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.334-.251q.574-.252.89-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.511 0 1.933.186 2.733.558s1.424.888 1.871 1.549q.67.99.68 2.277h-2.926q0-.546-.289-.98c-.289-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.29.96 0 .621.403 1.028.402.407 1.098.579l2.552.557q1.103.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.481.917.482 1.999 0 1.329-.702 2.385-.702 1.054-1.967 1.656-1.265.6-2.894.6t-2.889-.59`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},goland:e=>{let t=(0,_.c)(23),[n,r]=N(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.51`,stopColor:`#007DFE`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#D249FC`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M47.55 58h12.259a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.13 4.13 0 0 0-1.44-3.066L24.159 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.124 4.124 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M19.748 31.243a7.3 7.3 0 0 1-2.743-2.787q-.997-1.774-.997-3.961c0-2.187.332-2.778.997-3.96s1.58-2.112 2.743-2.787q1.747-1.013 3.902-1.014 1.747 0 3.222.622a6.9 6.9 0 0 1 2.486 1.747 6.4 6.4 0 0 1 1.42 2.594h-3.13a3.9 3.9 0 0 0-.926-1.228q-.584-.52-1.367-.803c-.783-.283-1.083-.284-1.683-.284q-1.33 0-2.402.664a4.6 4.6 0 0 0-1.677 1.828q-.606 1.163-.606 2.62c0 1.457.202 1.846.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664 1.232 0 2.235-.461t1.591-1.276a3.3 3.3 0 0 0 .633-1.833l.01.31h-3.526v-2.304h6.357v1.18q0 1.982-.96 3.585a6.9 6.9 0 0 1-2.626 2.525q-1.666.921-3.736.921c-2.07 0-2.737-.337-3.902-1.013zM36.271 31.243a7.3 7.3 0 0 1-2.755-2.787q-1.002-1.774-1.002-3.961c0-2.187.333-2.778 1.002-3.96a7.3 7.3 0 0 1 2.755-2.787q1.752-1.013 3.918-1.014c1.443 0 2.738.338 3.907 1.013a7.3 7.3 0 0 1 2.749 2.787q.996 1.774.997 3.961c0 2.187-.333 2.778-.997 3.96s-1.581 2.113-2.75 2.788q-1.752 1.013-3.906 1.013c-1.437 0-2.75-.338-3.918-1.013m6.308-2.23q1.062-.67 1.662-1.854t.6-2.664-.6-2.664-1.662-1.854-2.39-.67-2.395.67a4.6 4.6 0 0 0-1.672 1.854q-.606 1.185-.606 2.664t.606 2.664 1.672 1.854 2.395.67q1.33 0 2.39-.67M33 44H17v3h16z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},phpstorm:e=>{let t=(0,_.c)(23),[n,r]=N(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#FF2D90`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`56.329`,x2:`2.874`,y1:`-.391`,y2:`24.392`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#7256FF`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`4.067`,x2:`62.664`,y1:`4.326`,y2:`62.923`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#D249FC`,d:`M58 16.446V4.187A4.125 4.125 0 0 0 53.81.063L42.765.239A4.13 4.13 0 0 0 39.7 1.68L6.993 39.837c-.64.748-.993 1.7-.993 2.685v11.35a4.125 4.125 0 0 0 4.125 4.124h11.003c1.19 0 2.321-.514 3.105-1.409l32.746-37.425A4.12 4.12 0 0 0 58 16.446`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M58 14.988V4.125A4.125 4.125 0 0 0 53.875 0H41.309q-.3 0-.598.044L3.527 5.492A4.125 4.125 0 0 0 0 9.573v15.398a4.125 4.125 0 0 0 4.126 4.125l18.505-.005c.425 0 .848-.066 1.253-.195l31.246-9.98A4.13 4.13 0 0 0 58 14.988`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M64 59.878V25.75a4.13 4.13 0 0 0-2.52-3.8L24.057 6.153a4.1 4.1 0 0 0-1.638-.325l-18.329.15A4.124 4.124 0 0 0 0 10.103v17.665c0 .806.236 1.593.678 2.267l21.109 32.109a4.12 4.12 0 0 0 3.447 1.859h34.641A4.125 4.125 0 0 0 64 59.878`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.323v4.47h3.323q.74 0 1.291-.273M32.572 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.611.278 1.404.278c.53 0 .952-.083 1.335-.251q.572-.252.89-.702c.317-.45.315-.643.315-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.647-.59q-1.073-.234-1.866-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.665-1.023 1.854-1.597 1.19-.573 2.702-.573c1.512 0 1.933.186 2.733.558q1.2.558 1.87 1.549t.681 2.277h-2.926q0-.546-.29-.98a1.9 1.9 0 0 0-.82-.676 2.9 2.9 0 0 0-1.216-.24q-.687 0-1.206.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.551.557q1.104.226 1.967.852a4.45 4.45 0 0 1 1.345 1.544q.482.917.482 1.999 0 1.329-.701 2.385-.703 1.054-1.967 1.656-1.264.6-2.895.6-1.63 0-2.888-.59`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},pycharm:e=>{let t=(0,_.c)(23),[n,r]=N(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#F0EB18`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,w.jsx)(`stop`,{offset:`.7`,stopColor:`#00C4F4`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.933`,x2:`1.337`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.259a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.13 4.13 0 0 0 3.066-1.44l32.707-38.158c.64-.748.993-1.7.993-2.685V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.834A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.993 16.992h6.442q1.586 0 2.78.579 1.196.579 1.845 1.63.648 1.05.648 2.432c0 .922-.22 1.759-.659 2.466q-.66 1.062-1.87 1.646-1.212.584-2.83.584h-3.43V32h-2.927zm7.54 6.63q.553-.273.852-.782.3-.51.3-1.195c0-.685-.1-.842-.3-1.174q-.3-.5-.852-.772-.552-.273-1.291-.273h-3.324v4.47h3.324q.74 0 1.291-.273M33.713 31.243a7.3 7.3 0 0 1-2.744-2.787q-.996-1.774-.996-3.961c0-2.187.332-2.778.996-3.96a7.3 7.3 0 0 1 2.744-2.787q1.748-1.013 3.902-1.014 1.823 0 3.344.675a6.86 6.86 0 0 1 2.535 1.892 6.44 6.44 0 0 1 1.356 2.793h-3.066a4.05 4.05 0 0 0-.895-1.431 4 4 0 0 0-1.43-.95 4.9 4.9 0 0 0-1.823-.332q-1.33 0-2.402.665a4.6 4.6 0 0 0-1.677 1.827q-.606 1.164-.606 2.62 0 1.459.606 2.621a4.6 4.6 0 0 0 1.677 1.828q1.072.664 2.402.664.986 0 1.822-.332a4.02 4.02 0 0 0 2.326-2.38h3.066a6.44 6.44 0 0 1-1.356 2.792 6.86 6.86 0 0 1-2.535 1.892q-1.522.675-3.344.675-2.154 0-3.902-1.013z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},rider:e=>{let t=(0,_.c)(23),[n,r]=N(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,w.jsx)(`stop`,{offset:`.55`,stopColor:`#FFB700`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`64.391`,x2:`39.607`,y1:`56.329`,y2:`2.874`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,w.jsx)(`stop`,{offset:`.73`,stopColor:`#FF0A67`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.676`,x2:`1.08`,y1:`4.067`,y2:`62.663`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#007DFE`,d:`M47.55 58h12.258a4.125 4.125 0 0 0 4.124-4.19l-.176-11.044a4.12 4.12 0 0 0-1.44-3.066L24.158 6.993A4.13 4.13 0 0 0 21.474 6H10.125A4.125 4.125 0 0 0 6 10.125v11.003c0 1.19.514 2.321 1.409 3.105l37.425 32.746A4.12 4.12 0 0 0 47.55 58`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M49.013 58h10.862A4.125 4.125 0 0 0 64 53.875V41.309q0-.3-.044-.598L58.508 3.527A4.125 4.125 0 0 0 54.427 0H39.029a4.125 4.125 0 0 0-4.125 4.126l.005 18.505c0 .425.066.848.195 1.253l9.979 31.246a4.13 4.13 0 0 0 3.93 2.87`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M4.125 64h34.128a4.13 4.13 0 0 0 3.8-2.52L57.85 24.057c.219-.518.33-1.076.324-1.638l-.15-18.329A4.124 4.124 0 0 0 53.9 0H36.234c-.805 0-1.593.236-2.266.678L1.86 21.787A4.13 4.13 0 0 0 0 25.234v34.641A4.125 4.125 0 0 0 4.125 64`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h5.713q2.133 0 3.822.965a6.9 6.9 0 0 1 2.641 2.674q.954 1.71.954 3.864t-.953 3.865a6.9 6.9 0 0 1-2.642 2.674q-1.688.964-3.822.964h-5.713zm8.028 11.876q1.008-.6 1.555-1.72t.547-2.653q0-1.534-.547-2.653-.547-1.12-1.555-1.721-1.008-.6-2.347-.6h-2.755v9.947h2.755q1.34 0 2.347-.6`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},rubymine:e=>{let t=(0,_.c)(23),[n,r]=N(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,w.jsx)(`stop`,{offset:`.75`,stopColor:`#7256FF`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`4.325`,x2:`62.921`,y1:`59.932`,y2:`1.337`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,w.jsx)(`stop`,{offset:`.56`,stopColor:`#FF2358`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`-.391`,x2:`24.393`,y1:`7.671`,y2:`61.125`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d=`url(#${n})`,f;t[11]===d?f=t[12]:(f=(0,w.jsx)(`path`,{fill:d,d:`M59.875 0H25.748a4.13 4.13 0 0 0-3.8 2.52L6.151 39.942a4.1 4.1 0 0 0-.325 1.639l.15 18.328A4.125 4.125 0 0 0 10.101 64h17.666c.805 0 1.593-.235 2.266-.678l32.109-21.108A4.12 4.12 0 0 0 64 38.766V4.125A4.125 4.125 0 0 0 59.875 0`}),t[11]=d,t[12]=f);let p=`url(#${r})`,m;t[13]===p?m=t[14]:(m=(0,w.jsx)(`path`,{fill:p,d:`M14.987 6H4.126A4.125 4.125 0 0 0 0 10.125v12.566q0 .3.044.598l5.448 37.184A4.125 4.125 0 0 0 9.572 64H24.97a4.125 4.125 0 0 0 4.125-4.126l-.004-18.504c0-.426-.067-.85-.196-1.254L18.917 8.87A4.13 4.13 0 0 0 14.987 6z`}),t[13]=p,t[14]=m);let h,g,v;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,w.jsx)(`path`,{fill:`#FF8100`,d:`M16.45 6H4.19a4.125 4.125 0 0 0-4.124 4.19L0 21c.019 1.181.786 2.531 1.683 3.3l38.158 32.706c.748.641 1.7.993 2.684.993h11.35A4.125 4.125 0 0 0 58 53.875V42.872c0-1.189-.514-2.32-1.41-3.104L19.167 7.021A4.12 4.12 0 0 0 16.45 6`}),g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM17.012 16.992h6.442q1.575 0 2.776.579t1.849 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.658 1.068-1.875 1.651-1.216.584-2.824.584h-3.43v5.67h-2.926zm7.54 6.63q.552-.274.852-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.631 1.763h3.194L29.05 32h-3.355zM31.633 16.992h4.073l3.087 9.85.257 1.287.225-1.286 2.98-9.85h4.138v15.005h-2.894V21.29l.043-.782-3.494 11.49h-2.123l-3.451-11.415.043.707v10.708h-2.883V16.992z`}),t[15]=h,t[16]=g,t[17]=v):(h=t[15],g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,v]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=y):y=t[22],y},rustrover:e=>{let t=(0,_.c)(23),[n,r]=N(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,w.jsx)(`stop`,{offset:`.46`,stopColor:`#FFAB00`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.125`,y1:`64.393`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,w.jsx)(`stop`,{offset:`.83`,stopColor:`#FF004C`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.336`,y1:`59.676`,y2:`1.08`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#00D886`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM16.992 16.992h6.442q1.576 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.66 1.068-1.875 1.651-1.217.584-2.825.584h-3.43v5.67h-2.926zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L29.03 32h-3.355zM31.613 16.992h6.442q1.575 0 2.776.579t1.85 1.63.648 2.432c0 .922-.22 1.75-.66 2.46q-.659 1.068-1.875 1.651-1.217.584-2.824.584h-3.43v5.67h-2.927zm7.54 6.63q.553-.274.853-.783.3-.51.3-1.184c0-.45-.1-.852-.3-1.185q-.3-.498-.852-.772-.552-.273-1.292-.273h-3.323v4.47h3.323q.74 0 1.292-.273m-2.63 1.763h3.194L43.651 32h-3.355z`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},webstorm:e=>{let t=(0,_.c)(23),[n,r]=N(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,w.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,w.jsx)(`stop`,{offset:`.59`,stopColor:`#00C4F4`}),t[0]=i,t[1]=a):(i=t[0],a=t[1]);let o;t[2]===n?o=t[3]:(o=(0,w.jsxs)(`linearGradient`,{id:n,x1:`7.671`,x2:`61.126`,y1:`64.392`,y2:`39.609`,gradientUnits:`userSpaceOnUse`,children:[i,a]}),t[2]=n,t[3]=o);let s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,w.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,w.jsx)(`stop`,{offset:`.83`,stopColor:`#007DFE`}),t[4]=s,t[5]=c):(s=t[4],c=t[5]);let l;t[6]===r?l=t[7]:(l=(0,w.jsxs)(`linearGradient`,{id:r,x1:`59.932`,x2:`1.337`,y1:`59.676`,y2:`1.079`,gradientUnits:`userSpaceOnUse`,children:[s,c]}),t[6]=r,t[7]=l);let u;t[8]!==o||t[9]!==l?(u=(0,w.jsxs)(`defs`,{children:[o,l]}),t[8]=o,t[9]=l,t[10]=u):u=t[10];let d;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,w.jsx)(`path`,{fill:`#F0EB18`,d:`M6 47.55v12.258a4.125 4.125 0 0 0 4.19 4.124l11.044-.176a4.12 4.12 0 0 0 3.066-1.44l32.707-38.158c.64-.747.993-1.7.993-2.684V10.125A4.125 4.125 0 0 0 53.875 6H42.872c-1.19 0-2.321.514-3.105 1.409L7.021 44.833A4.12 4.12 0 0 0 6 47.55`}),t[11]=d):d=t[11];let f=`url(#${n})`,p;t[12]===f?p=t[13]:(p=(0,w.jsx)(`path`,{fill:f,d:`M6 49.015v10.862a4.125 4.125 0 0 0 4.125 4.125h12.566q.3 0 .598-.044l37.185-5.448A4.125 4.125 0 0 0 64 54.429V39.03a4.125 4.125 0 0 0-4.127-4.125l-18.504.005c-.426 0-.849.066-1.254.195L8.871 45.085A4.13 4.13 0 0 0 6 49.015z`}),t[12]=f,t[13]=p);let m=`url(#${r})`,h;t[14]===m?h=t[15]:(h=(0,w.jsx)(`path`,{fill:m,d:`M0 4.125v34.128c0 1.658.993 3.154 2.52 3.8L39.943 57.85c.518.219 1.075.33 1.638.324l18.329-.15A4.125 4.125 0 0 0 64 53.9V36.234c0-.806-.236-1.593-.678-2.267L42.213 1.86A4.13 4.13 0 0 0 38.766 0H4.125A4.125 4.125 0 0 0 0 4.125`}),t[14]=m,t[15]=h);let g,v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),v=(0,w.jsx)(`path`,{fill:`#fff`,d:`M33 44H17v3h16zM19.051 16.992l2.423 10.955 2.583-10.955h2.958l2.701 10.955 2.348-10.955h2.97l-3.645 15.006h-3.334l-2.53-10.9-2.561 10.9H19.64l-3.623-15.006zM38.662 31.664q-1.26-.59-1.972-1.65t-.735-2.444h2.937q0 .654.343 1.147t.954.772q.61.278 1.404.278c.53 0 .952-.083 1.335-.251q.573-.252.889-.702t.316-1.029q0-.718-.434-1.19-.435-.471-1.195-.654l-2.648-.59q-1.071-.234-1.865-.809a4 4 0 0 1-1.232-1.42q-.44-.846-.44-1.908 0-1.286.665-2.31.664-1.023 1.854-1.597 1.19-.573 2.701-.573c1.008 0 1.934.186 2.734.558q1.2.558 1.87 1.549t.68 2.277h-2.925q0-.546-.29-.98c-.29-.435-.466-.515-.82-.676a2.9 2.9 0 0 0-1.217-.24q-.686 0-1.205.23a1.9 1.9 0 0 0-.81.643q-.29.412-.289.96 0 .621.402 1.028t1.099.579l2.55.557q1.105.226 1.968.852a4.45 4.45 0 0 1 1.345 1.544 4.2 4.2 0 0 1 .482 1.999q0 1.329-.702 2.385-.702 1.054-1.966 1.656-1.266.6-2.894.6-1.63 0-2.889-.59`}),t[16]=g,t[17]=v):(g=t[16],v=t[17]);let y;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(y=(0,w.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,v]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=y):y=t[22],y},terminal:o,"file-manager":a};function F(e,t){return e===`terminal`&&c(t)?`Windows Terminal`:e===`file-manager`?s(t)?`Finder`:c(t)?`Explorer`:`Files`:r.find(t=>t.id===e)?.label??e}function I(e,t){let n=new Set(t);return r.filter(e=>n.has(e.id)).map(t=>({label:F(t.id,e),Icon:P[t.id],value:t.id}))}export{F as n,I as r,P as t};
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{Jc as r}from"./src-DmPIm3ie.js";import{Fn as i,Pn as a,St as o,Zn as s,bt as c,p as l}from"./runtime-CYtynKGT.js";import{a as u}from"./primary-CiDY2oUi.js";import{It as d}from"./composerDraftStore-TYv9j3vY.js";import{i as f}from"./toast-C-0Ft2jD.js";import{t as p}from"./key-round-CacMputS.js";import{t as m}from"./refresh-cw-DopCMrtR.js";import{t as h}from"./trash-2-CM1zXPGb.js";import{t as g}from"./utils-CV2fJJxC.js";import{i as _,n as v,t as y}from"./tooltip-C_-9XEfA.js";import{t as b}from"./switch-BZjA7VT9.js";import{t as x}from"./input-BZz4eLRl.js";import{a as S,c as C,d as w,f as T,h as E,i as D,r as O,u as k}from"./Icons-BEtED8P8.js";import{t as ee}from"./button-DG8WqjNn.js";import{t as A}from"./toastHelpers-CSQRKo4F.js";import{t as j}from"./skeleton-DOgQaVXv.js";import{t as M}from"./spinner-ClQu8SdC.js";import{o as N,t as te}from"./useAtlassian-BTWMzLgJ.js";import{t as ne}from"./badge-w43sx8eF.js";import{t as P}from"./label-DZf4lbNF.js";import{a as F,i as I,n as re,o as L,r as R,t as z}from"./empty-Ccxhyvdf.js";import{i as B,n as V}from"./settingsLayout-CHJT5wtl.js";import{t as H}from"./RedactedSensitiveText-BuWSWty8.js";var U=n(),W=e(t(),1),G=d(),K={versionControlSystems:[],sourceControlProviders:[]},ie={github:k,gitlab:T,forgejo:C,"azure-devops":D,bitbucket:S},ae={git:w,jj:E},oe=[`primary`,`secondary`],se=[`atlassian`,`connections`];function q(e){return r(e)}function J(e){return`auth`in e}function Y(e){return!J(e)&&!e.implemented}function ce(e){return e.status===`authenticated`?{label:`Authenticated`,badge:null}:e.status===`unauthenticated`?{label:`Not authenticated`,badge:`warning`}:{label:`Status unknown`,badge:null}}function le(e){let t=(0,U.c)(2),n;return t[0]===e.account?n=t[1]:(n=(0,G.jsx)(H,{value:e.account,ariaLabel:`Toggle source control account visibility`,revealTooltip:`Click to reveal account`,hideTooltip:`Click to hide account`}),t[0]=e.account,t[1]=n),n}function ue(e){return Y(e)?`bg-muted-foreground/35`:e.status!==`available`||J(e)&&e.auth.status!==`authenticated`?`bg-warning`:`bg-success`}function de(e){let t=(0,U.c)(13),{item:n}=e,r,i,a,o;if(t[0]!==n){o=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ue(n),s=J(n)?ie[n.kind]:ae[n.kind];if(!s){o=(0,G.jsx)(`span`,{className:g(`size-2 shrink-0 rounded-full`,e),"aria-hidden":!0});break bb0}i=`relative inline-flex size-5 shrink-0 items-center justify-center`,t[5]===s?a=t[6]:(a=(0,G.jsx)(s,{className:`size-4.5 text-foreground/80`,"aria-hidden":!0}),t[5]=s,t[6]=a),r=g(`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,e)}t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o}else r=t[1],i=t[2],a=t[3],o=t[4];if(o!==Symbol.for(`react.early_return_sentinel`))return o;let s;t[7]===r?s=t[8]:(s=(0,G.jsx)(`span`,{className:r,"aria-hidden":!0}),t[7]=r,t[8]=s);let c;return t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,G.jsxs)(`span`,{className:i,children:[a,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12],c}function fe({item:e,auth:t,authAccount:n,authHost:r}){return Y(e)?(0,G.jsxs)(`span`,{children:[`Support for `,e.label,` is coming soon.`]}):e.status===`available`?t?t.status===`authenticated`?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{children:`Authenticated`}),n?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{"aria-hidden":!0,children:`as`}),(0,G.jsx)(le,{account:n})]}):null,r?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{"aria-hidden":!0,children:`on`}),(0,G.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px] text-muted-foreground`,children:r})]}):null]}):e.executable?t.status===`unauthenticated`?(0,G.jsxs)(`span`,{children:[e.label,` is not authenticated on this server. Sign in or configure credentials using the `,(0,G.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px]`,children:e.executable}),` `,`tool on the server host to enable pull request features.`]}):(0,G.jsxs)(`span`,{children:[`Could not verify `,e.label,`. `,q(t.detail)??e.installHint]}):(0,G.jsx)(`span`,{children:e.installHint}):(0,G.jsx)(`span`,{children:`Available`}):(0,G.jsxs)(`span`,{children:[`Not available on this server — `,e.installHint]})}function X(e){let t=(0,U.c)(57),{item:n}=e,r;t[0]===n.version?r=t[1]:(r=q(n.version),t[0]=n.version,t[1]=r);let i=r,a;t[2]===n?a=t[3]:(a=n.status===`available`&&(J(n)||n.implemented),t[2]=n,t[3]=a);let o=a,s=J(n)?n.auth:null,c;t[4]===s?c=t[5]:(c=s?ce(s):null,t[4]=s,t[5]=c);let l=c,u,d,f,p,m,h,_;if(t[6]!==s||t[7]!==l||t[8]!==n||t[9]!==i){let e=s?q(s.account):null,r=s?q(s.host):null;t[17]===n?u=t[18]:(u=g(`border-t border-border/60 first:border-t-0`,Y(n)&&`opacity-80`),t[17]=n,t[18]=u),_=`px-4 py-3.5 sm:px-5`,h=`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,p=`min-w-0 flex-1 space-y-1`;let a;t[19]===n?a=t[20]:(a=(0,G.jsx)(de,{item:n}),t[19]=n,t[20]=a);let o;t[21]===n.label?o=t[22]:(o=(0,G.jsx)(`h3`,{className:`truncate text-[13px] font-semibold tracking-[-0.01em] text-foreground`,children:n.label}),t[21]=n.label,t[22]=o);let c;t[23]===i?c=t[24]:(c=i?(0,G.jsx)(`code`,{className:`text-xs text-muted-foreground`,children:i}):null,t[23]=i,t[24]=c);let v;t[25]===n?v=t[26]:(v=Y(n)?(0,G.jsx)(ne,{variant:`warning`,size:`sm`,children:`Coming Soon`}):null,t[25]=n,t[26]=v);let y;t[27]===l?y=t[28]:(y=l?.badge?(0,G.jsx)(ne,{variant:l.badge,size:`sm`,children:l.label}):null,t[27]=l,t[28]=y),t[29]!==a||t[30]!==o||t[31]!==c||t[32]!==v||t[33]!==y?(m=(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[a,o,c,v,y]}),t[29]=a,t[30]=o,t[31]=c,t[32]=v,t[33]=y,t[34]=m):m=t[34],d=`flex min-w-0 flex-wrap items-center gap-x-1 text-xs text-muted-foreground`,f=fe({item:n,auth:s,authAccount:e,authHost:r}),t[6]=s,t[7]=l,t[8]=n,t[9]=i,t[10]=u,t[11]=d,t[12]=f,t[13]=p,t[14]=m,t[15]=h,t[16]=_}else u=t[10],d=t[11],f=t[12],p=t[13],m=t[14],h=t[15],_=t[16];let v;t[35]!==d||t[36]!==f?(v=(0,G.jsx)(`p`,{className:d,children:f}),t[35]=d,t[36]=f,t[37]=v):v=t[37];let y;t[38]!==v||t[39]!==p||t[40]!==m?(y=(0,G.jsxs)(`div`,{className:p,children:[m,v]}),t[38]=v,t[39]=p,t[40]=m,t[41]=y):y=t[41];let x;t[42]!==o||t[43]!==n?(x=Y(n)?null:(0,G.jsx)(b,{checked:o,disabled:!0,"aria-label":`${n.label} availability`}),t[42]=o,t[43]=n,t[44]=x):x=t[44];let S;t[45]===x?S=t[46]:(S=(0,G.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:x}),t[45]=x,t[46]=S);let C;t[47]!==y||t[48]!==S||t[49]!==h?(C=(0,G.jsxs)(`div`,{className:h,children:[y,S]}),t[47]=y,t[48]=S,t[49]=h,t[50]=C):C=t[50];let w;t[51]!==C||t[52]!==_?(w=(0,G.jsx)(`div`,{className:_,children:C}),t[51]=C,t[52]=_,t[53]=w):w=t[53];let T;return t[54]!==u||t[55]!==w?(T=(0,G.jsx)(`div`,{className:u,children:w}),t[54]=u,t[55]=w,t[56]=T):T=t[56],T}function pe(e){let t=(0,U.c)(4),{title:n,headerAction:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=oe.map(me),t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,G.jsx)(B,{title:n,headerAction:r,children:i}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function me(e){return(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,G.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,children:[(0,G.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsxs)(`span`,{className:`relative inline-flex size-5 shrink-0 items-center justify-center`,children:[(0,G.jsx)(j,{className:`size-4.5 rounded-md`}),(0,G.jsx)(j,{className:`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,"aria-hidden":!0})]}),(0,G.jsx)(j,{className:`h-4 w-28 rounded-full`}),(0,G.jsx)(j,{className:`h-5 w-14 rounded-full`})]}),(0,G.jsx)(j,{className:`h-3 w-full max-w-xs rounded-full`})]}),(0,G.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2`,children:[(0,G.jsx)(j,{className:`size-7 rounded-md`}),(0,G.jsx)(j,{className:`h-5 w-9 rounded-full`})]})]})},e)}function he(e){switch(e){case`connected`:return`success`;case`needs_reauth`:return`warning`;case`invalid`:return`error`;case`revoked`:return`outline`}}function ge(e){switch(e){case`oauth_3lo`:return`OAuth`;case`bitbucket_token`:return`Bitbucket token`;case`jira_token`:return`Jira token`;case`env_fallback`:return`Environment`}}function _e(e){let t=(0,U.c)(4);if(e.products.includes(`bitbucket`)){let n;return t[0]===e.className?n=t[1]:(n=(0,G.jsx)(S,{className:e.className,"aria-hidden":!0}),t[0]=e.className,t[1]=n),n}let n;return t[2]===e.className?n=t[3]:(n=(0,G.jsx)(O,{className:e.className,"aria-hidden":!0}),t[2]=e.className,t[3]=n),n}function ve(e){let t=(0,U.c)(123),{environmentId:n}=e,r=o(),[i,s]=(0,W.useState)(`Bitbucket`),[u,d]=(0,W.useState)(``),[m,g]=(0,W.useState)(``),[_,v]=(0,W.useState)(`Jira`),[y,b]=(0,W.useState)(``),[S,C]=(0,W.useState)(``),[w,T]=(0,W.useState)(``),E;t[0]===n?E=t[1]:(E=n?l(n):null,t[0]=n,t[1]=E);let D=E?.client??null,O=D!==null,k;t[2]!==n||t[3]!==O?(k={environmentId:n,enabled:O},t[2]=n,t[3]=O,t[4]=k):k=t[4];let j=te(k),F;t[5]!==u||t[6]!==i||t[7]!==m||t[8]!==D?(F=async()=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.saveManualBitbucketToken({label:i.trim(),email:u.trim(),token:m.trim(),isDefault:!0})},t[5]=u,t[6]=i,t[7]=m,t[8]=D,t[9]=F):F=t[9];let I;t[10]!==n||t[11]!==r?(I=()=>{s(`Bitbucket`),d(``),g(``),N({environmentId:n}),r.invalidateQueries({queryKey:se}),a({environmentId:n}),f.add(A({type:`success`,title:`Bitbucket token saved`,description:`Ryco can now use this Atlassian connection for Bitbucket workflows.`}))},t[10]=n,t[11]=r,t[12]=I):I=t[12];let re;t[13]!==F||t[14]!==I?(re={mutationFn:F,onSuccess:I,onError:xe},t[13]=F,t[14]=I,t[15]=re):re=t[15];let L=c(re),R;t[16]!==D||t[17]!==y||t[18]!==_||t[19]!==S||t[20]!==w?(R=async()=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.saveManualJiraToken({label:_.trim(),email:y.trim(),siteUrl:S.trim(),token:w.trim(),isDefault:!0})},t[16]=D,t[17]=y,t[18]=_,t[19]=S,t[20]=w,t[21]=R):R=t[21];let z;t[22]!==n||t[23]!==r?(z=()=>{v(`Jira`),b(``),C(``),T(``),N({environmentId:n}),r.invalidateQueries({queryKey:se}),f.add(A({type:`success`,title:`Jira token saved`,description:`Ryco can now load Jira work items for linked projects.`}))},t[22]=n,t[23]=r,t[24]=z):z=t[24];let B;t[25]!==R||t[26]!==z?(B={mutationFn:R,onSuccess:z,onError:be},t[25]=R,t[26]=z,t[27]=B):B=t[27];let V=c(B),H;t[28]===D?H=t[29]:(H=async e=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.disconnect({connectionId:e.connectionId})},t[28]=D,t[29]=H);let K;t[30]!==n||t[31]!==r?(K=()=>{N({environmentId:n}),r.invalidateQueries({queryKey:se}),a({environmentId:n})},t[30]=n,t[31]=r,t[32]=K):K=t[32];let ie;t[33]!==H||t[34]!==K?(ie={mutationFn:H,onSuccess:K,onError:ye},t[33]=H,t[34]=K,t[35]=ie):ie=t[35];let ae=c(ie),oe;t[36]!==u||t[37]!==i||t[38]!==m||t[39]!==D||t[40]!==L.isPending?(oe=D!==null&&i.trim().length>0&&u.trim().length>0&&m.trim().length>0&&!L.isPending,t[36]=u,t[37]=i,t[38]=m,t[39]=D,t[40]=L.isPending,t[41]=oe):oe=t[41];let q=oe,J;t[42]!==D||t[43]!==y||t[44]!==_||t[45]!==S||t[46]!==w||t[47]!==V.isPending?(J=D!==null&&_.trim().length>0&&y.trim().length>0&&S.trim().length>0&&w.trim().length>0&&!V.isPending,t[42]=D,t[43]=y,t[44]=_,t[45]=S,t[46]=w,t[47]=V.isPending,t[48]=J):J=t[48];let Y=J,ce;t[49]!==q||t[50]!==L?(ce=e=>{e.preventDefault(),q&&L.mutate()},t[49]=q,t[50]=L,t[51]=ce):ce=t[51];let ue=ce,de;t[52]!==Y||t[53]!==V?(de=e=>{e.preventDefault(),Y&&V.mutate()},t[52]=Y,t[53]=V,t[54]=de):de=t[54];let fe=de,X;t[55]===j.data?X=t[56]:(X=j.data??[],t[55]=j.data,t[56]=X);let pe=X,me=j.data===null&&!j.isError,ve;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,G.jsx)(`div`,{className:`border-t border-border/60 bg-muted/20 px-4 py-2.5 sm:px-5`,children:(0,G.jsxs)(`h3`,{className:`flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-muted-foreground/70`,children:[(0,G.jsx)(p,{className:`size-3`,"aria-hidden":!0}),`Atlassian`]})}),t[57]=ve):ve=t[57];let Se;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,G.jsx)(P,{htmlFor:`bitbucket-token-label`,className:`text-xs`,children:`Label`}),t[58]=Se):Se=t[58];let Ce;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=e=>s(e.currentTarget.value),t[59]=Ce):Ce=t[59];let Z;t[60]===i?Z=t[61]:(Z=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Se,(0,G.jsx)(x,{id:`bitbucket-token-label`,size:`sm`,value:i,autoComplete:`organization`,onChange:Ce,placeholder:`Bitbucket`})]}),t[60]=i,t[61]=Z);let we;t[62]===Symbol.for(`react.memo_cache_sentinel`)?(we=(0,G.jsx)(P,{htmlFor:`bitbucket-token-email`,className:`text-xs`,children:`Email`}),t[62]=we):we=t[62];let Te;t[63]===Symbol.for(`react.memo_cache_sentinel`)?(Te=e=>d(e.currentTarget.value),t[63]=Te):Te=t[63];let Ee;t[64]===u?Ee=t[65]:(Ee=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[we,(0,G.jsx)(x,{id:`bitbucket-token-email`,size:`sm`,type:`email`,value:u,autoComplete:`username`,onChange:Te,placeholder:`you@example.com`})]}),t[64]=u,t[65]=Ee);let De;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(De=(0,G.jsx)(P,{htmlFor:`bitbucket-token-secret`,className:`text-xs`,children:`Bitbucket app password`}),t[66]=De):De=t[66];let Oe;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=e=>g(e.currentTarget.value),t[67]=Oe):Oe=t[67];let ke;t[68]===m?ke=t[69]:(ke=(0,G.jsx)(x,{id:`bitbucket-token-secret`,size:`sm`,type:`password`,value:m,autoComplete:`current-password`,onChange:Oe,placeholder:`Stored locally in the server secret store`}),t[68]=m,t[69]=ke);let Ae=!q,je;t[70]===L.isPending?je=t[71]:(je=L.isPending?(0,G.jsx)(M,{className:`size-3`}):null,t[70]=L.isPending,t[71]=je);let Me;t[72]!==Ae||t[73]!==je?(Me=(0,G.jsxs)(ee,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ae,children:[je,`Save Token`]}),t[72]=Ae,t[73]=je,t[74]=Me):Me=t[74];let Ne;t[75]!==ke||t[76]!==Me?(Ne=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[De,(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[ke,Me]})]}),t[75]=ke,t[76]=Me,t[77]=Ne):Ne=t[77];let Pe;t[78]!==ue||t[79]!==Z||t[80]!==Ee||t[81]!==Ne?(Pe=(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,G.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:ue,children:[Z,Ee,Ne]})}),t[78]=ue,t[79]=Z,t[80]=Ee,t[81]=Ne,t[82]=Pe):Pe=t[82];let Fe;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=(0,G.jsx)(P,{htmlFor:`jira-token-label`,className:`text-xs`,children:`Label`}),t[83]=Fe):Fe=t[83];let Ie;t[84]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=e=>v(e.currentTarget.value),t[84]=Ie):Ie=t[84];let Le;t[85]===_?Le=t[86]:(Le=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Fe,(0,G.jsx)(x,{id:`jira-token-label`,size:`sm`,value:_,autoComplete:`organization`,onChange:Ie,placeholder:`Jira`})]}),t[85]=_,t[86]=Le);let Re;t[87]===Symbol.for(`react.memo_cache_sentinel`)?(Re=(0,G.jsx)(P,{htmlFor:`jira-token-email`,className:`text-xs`,children:`Email`}),t[87]=Re):Re=t[87];let ze;t[88]===Symbol.for(`react.memo_cache_sentinel`)?(ze=e=>b(e.currentTarget.value),t[88]=ze):ze=t[88];let Be;t[89]===y?Be=t[90]:(Be=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Re,(0,G.jsx)(x,{id:`jira-token-email`,size:`sm`,type:`email`,value:y,autoComplete:`username`,onChange:ze,placeholder:`you@example.com`})]}),t[89]=y,t[90]=Be);let Ve;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,G.jsx)(P,{htmlFor:`jira-site-url`,className:`text-xs`,children:`Jira site URL`}),t[91]=Ve):Ve=t[91];let He;t[92]===Symbol.for(`react.memo_cache_sentinel`)?(He=e=>C(e.currentTarget.value),t[92]=He):He=t[92];let Q;t[93]===S?Q=t[94]:(Q=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ve,(0,G.jsx)(x,{id:`jira-site-url`,size:`sm`,value:S,inputMode:`url`,autoComplete:`url`,onChange:He,placeholder:`https://your-team.atlassian.net`})]}),t[93]=S,t[94]=Q);let Ue;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(Ue=(0,G.jsx)(P,{htmlFor:`jira-token-secret`,className:`text-xs`,children:`Jira API token`}),t[95]=Ue):Ue=t[95];let We;t[96]===Symbol.for(`react.memo_cache_sentinel`)?(We=e=>T(e.currentTarget.value),t[96]=We):We=t[96];let Ge;t[97]===w?Ge=t[98]:(Ge=(0,G.jsx)(x,{id:`jira-token-secret`,size:`sm`,type:`password`,value:w,autoComplete:`current-password`,onChange:We,placeholder:`Stored locally in the server secret store`}),t[97]=w,t[98]=Ge);let Ke=!Y,qe;t[99]===V.isPending?qe=t[100]:(qe=V.isPending?(0,G.jsx)(M,{className:`size-3`}):null,t[99]=V.isPending,t[100]=qe);let Je;t[101]!==Ke||t[102]!==qe?(Je=(0,G.jsxs)(ee,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ke,children:[qe,`Save Jira`]}),t[101]=Ke,t[102]=qe,t[103]=Je):Je=t[103];let Ye;t[104]!==Ge||t[105]!==Je?(Ye=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ue,(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[Ge,Je]})]}),t[104]=Ge,t[105]=Je,t[106]=Ye):Ye=t[106];let Xe;t[107]!==fe||t[108]!==Le||t[109]!==Be||t[110]!==Q||t[111]!==Ye?(Xe=(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,G.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:fe,children:[Le,Be,Q,Ye]})}),t[107]=fe,t[108]=Le,t[109]=Be,t[110]=Q,t[111]=Ye,t[112]=Xe):Xe=t[112];let Ze;t[113]!==me||t[114]!==ae||t[115]!==pe?(Ze=me?(0,G.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-5`,children:[(0,G.jsx)(M,{className:`size-3.5`}),`Loading Atlassian connections`]}):pe.length===0?(0,G.jsx)(`div`,{className:`px-4 py-4 text-xs leading-relaxed text-muted-foreground sm:px-5`,children:`No Atlassian connections are stored yet. Add Bitbucket and Jira tokens to enable repository PRs, diffs, and work-item links.`}):pe.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-3 border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:flex-row sm:items-center sm:justify-between sm:px-5`,children:[(0,G.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,G.jsx)(_e,{products:e.products,className:`size-4 text-foreground/80`}),(0,G.jsx)(`h3`,{className:`truncate text-[13px] font-semibold text-foreground`,children:e.label}),(0,G.jsx)(ne,{variant:he(e.status),size:`sm`,children:e.status.replace(`_`,` `)}),(0,G.jsx)(ne,{variant:`outline`,size:`sm`,children:ge(e.kind)})]}),(0,G.jsxs)(`p`,{className:`flex min-w-0 flex-wrap gap-x-1 text-xs text-muted-foreground`,children:[e.accountEmail?(0,G.jsx)(le,{account:e.accountEmail}):(0,G.jsx)(`span`,{children:`No account email saved`}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),(0,G.jsx)(`span`,{children:e.capabilities.join(`, `)})]})]}),(0,G.jsx)(ee,{type:`button`,size:`icon-xs`,variant:`ghost`,className:`size-7 self-start text-muted-foreground hover:text-destructive sm:self-auto`,"aria-label":`Delete ${e.label}`,disabled:ae.isPending||e.readonly,onClick:()=>ae.mutate(e),children:(0,G.jsx)(h,{className:`size-3.5`})})]},e.connectionId)),t[113]=me,t[114]=ae,t[115]=pe,t[116]=Ze):Ze=t[116];let $;t[117]===Ze?$=t[118]:($=(0,G.jsx)(`div`,{className:`border-t border-border/60`,children:Ze}),t[117]=Ze,t[118]=$);let Qe;return t[119]!==Pe||t[120]!==Xe||t[121]!==$?(Qe=(0,G.jsxs)(G.Fragment,{children:[ve,Pe,Xe,$]}),t[119]=Pe,t[120]=Xe,t[121]=$,t[122]=Qe):Qe=t[122],Qe}function ye(e){f.add(A({type:`error`,title:`Could not delete Atlassian connection`,description:e instanceof Error?e.message:`The connection was not changed.`}))}function be(e){f.add(A({type:`error`,title:`Could not save Jira token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function xe(e){f.add(A({type:`error`,title:`Could not save Bitbucket token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function Se(){let e=(0,U.c)(41),t=s(),n=u(),r=t?.environmentId??n,o;e[0]===r?o=e[1]:(o={environmentId:r},e[0]=r,e[1]=o);let c=i(o),l=c.data??K,d=c.isPending&&c.data===null,f;e[2]===r?f=e[3]:(f=()=>{a({environmentId:r})},e[2]=r,e[3]=f);let p=f,h=c.isPending,b=c.isPending&&`animate-spin`,x;e[4]===b?x=e[5]:(x=g(`size-3`,b),e[4]=b,e[5]=x);let S;e[6]===x?S=e[7]:(S=(0,G.jsx)(m,{className:x}),e[6]=x,e[7]=S);let C;e[8]!==c.isPending||e[9]!==p||e[10]!==S?(C=(0,G.jsx)(_,{render:(0,G.jsx)(ee,{size:`icon-xs`,variant:`ghost`,className:`size-5 rounded-sm p-0 text-muted-foreground hover:text-foreground`,onClick:p,disabled:h,"aria-label":`Rescan server environment`,children:S})}),e[8]=c.isPending,e[9]=p,e[10]=S,e[11]=C):C=e[11];let T;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,G.jsx)(v,{side:`top`,children:`Rescan Git and hosting integrations`}),e[12]=T):T=e[12];let E;e[13]===C?E=e[14]:(E=(0,G.jsxs)(y,{children:[C,T]}),e[13]=C,e[14]=E);let D=E;if(d){let t;e[15]===D?t=e[16]:(t=(0,G.jsx)(pe,{title:`Version Control`,headerAction:D}),e[15]=D,e[16]=t);let n;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,G.jsx)(pe,{title:`Source Control Providers`}),e[17]=n):n=e[17];let r;return e[18]===t?r=e[19]:(r=(0,G.jsxs)(V,{children:[t,n]}),e[18]=t,e[19]=r),r}let O=l.versionControlSystems.length>0,k=l.sourceControlProviders.length>0,A=O||k,j;e[20]!==c.isPending||e[21]!==r||e[22]!==p||e[23]!==A?(j=A?null:(0,G.jsxs)(B,{title:`Source Control Providers`,children:[(0,G.jsxs)(z,{className:`min-h-56 border-t border-border/60 first:border-t-0`,children:[(0,G.jsxs)(I,{children:[(0,G.jsx)(F,{variant:`icon`,children:(0,G.jsx)(w,{className:`size-4`})}),(0,G.jsx)(L,{children:`Nothing detected yet`}),(0,G.jsx)(R,{children:`Install Git on the server, add optional hosting integrations or credentials your workspace needs, then rescan.`})]}),(0,G.jsx)(re,{children:(0,G.jsxs)(ee,{type:`button`,size:`xs`,onClick:p,disabled:c.isPending,children:[(0,G.jsx)(m,{className:g(`size-3`,c.isPending&&`animate-spin`)}),`Scan`]})})]}),(0,G.jsx)(ve,{environmentId:r})]}),e[20]=c.isPending,e[21]=r,e[22]=p,e[23]=A,e[24]=j):j=e[24];let M;e[25]!==O||e[26]!==l.versionControlSystems||e[27]!==D?(M=O?(0,G.jsx)(B,{title:`Version Control`,headerAction:D,children:l.versionControlSystems.map(Z)}):null,e[25]=O,e[26]=l.versionControlSystems,e[27]=D,e[28]=M):M=e[28];let N;e[29]!==c.error||e[30]!==r||e[31]!==A||e[32]!==k||e[33]!==O||e[34]!==l.sourceControlProviders||e[35]!==D?(N=A?(0,G.jsxs)(B,{title:`Source Control Providers`,headerAction:O?null:D,children:[k?l.sourceControlProviders.map(Ce):(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,G.jsx)(`p`,{className:`text-xs leading-relaxed text-muted-foreground`,children:c.error??`No source control providers were detected on the server. Install a CLI like git, gh, glab, or az on the server host, then rescan.`})}),(0,G.jsx)(ve,{environmentId:r})]}):null,e[29]=c.error,e[30]=r,e[31]=A,e[32]=k,e[33]=O,e[34]=l.sourceControlProviders,e[35]=D,e[36]=N):N=e[36];let te;return e[37]!==M||e[38]!==N||e[39]!==j?(te=(0,G.jsxs)(V,{children:[j,M,N]}),e[37]=M,e[38]=N,e[39]=j,e[40]=te):te=e[40],te}function Ce(e){return(0,G.jsx)(X,{item:e},`provider:${e.kind}`)}function Z(e){return(0,G.jsx)(X,{item:e},`vcs:${e.kind}`)}export{Se as SourceControlSettingsPanel};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{Yc as r}from"./src-CtanPQei.js";import{Fn as i,Pn as a,St as o,Zn as s,bt as c,p as l}from"./runtime-Cy36EhFa.js";import{a as u}from"./primary-DiL6nRV-.js";import{It as d}from"./composerDraftStore-DXTD6mKH.js";import{i as f}from"./toast-CV5dwFOH.js";import{t as p}from"./key-round-CacMputS.js";import{t as m}from"./refresh-cw-DopCMrtR.js";import{t as h}from"./trash-2-CM1zXPGb.js";import{t as g}from"./utils-Ct58OPtz.js";import{i as _,n as v,t as y}from"./tooltip-DZhBSkif.js";import{t as b}from"./switch-B50w01tf.js";import{t as x}from"./input-Ba4jS4Ks.js";import{a as S,c as C,d as w,f as T,h as E,i as D,r as O,u as k}from"./Icons-CqMTQkuR.js";import{t as ee}from"./button-WR80VgkK.js";import{t as A}from"./toastHelpers-CSQRKo4F.js";import{t as j}from"./skeleton-C8KnJ1KQ.js";import{t as M}from"./spinner-D9HJGQ01.js";import{o as N,t as te}from"./useAtlassian-zbqx4xW1.js";import{t as ne}from"./badge-tHmsB3yQ.js";import{t as P}from"./label-2jpS7gCY.js";import{a as F,i as I,n as re,o as L,r as R,t as z}from"./empty-CITbdlFs.js";import{i as B,n as V}from"./settingsLayout-BPKHc7wz.js";import{t as H}from"./RedactedSensitiveText-DnYWrxD2.js";var U=n(),W=e(t(),1),G=d(),K={versionControlSystems:[],sourceControlProviders:[]},ie={github:k,gitlab:T,forgejo:C,"azure-devops":D,bitbucket:S},ae={git:w,jj:E},oe=[`primary`,`secondary`],se=[`atlassian`,`connections`];function q(e){return r(e)}function J(e){return`auth`in e}function Y(e){return!J(e)&&!e.implemented}function ce(e){return e.status===`authenticated`?{label:`Authenticated`,badge:null}:e.status===`unauthenticated`?{label:`Not authenticated`,badge:`warning`}:{label:`Status unknown`,badge:null}}function le(e){let t=(0,U.c)(2),n;return t[0]===e.account?n=t[1]:(n=(0,G.jsx)(H,{value:e.account,ariaLabel:`Toggle source control account visibility`,revealTooltip:`Click to reveal account`,hideTooltip:`Click to hide account`}),t[0]=e.account,t[1]=n),n}function ue(e){return Y(e)?`bg-muted-foreground/35`:e.status!==`available`||J(e)&&e.auth.status!==`authenticated`?`bg-warning`:`bg-success`}function de(e){let t=(0,U.c)(13),{item:n}=e,r,i,a,o;if(t[0]!==n){o=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ue(n),s=J(n)?ie[n.kind]:ae[n.kind];if(!s){o=(0,G.jsx)(`span`,{className:g(`size-2 shrink-0 rounded-full`,e),"aria-hidden":!0});break bb0}i=`relative inline-flex size-5 shrink-0 items-center justify-center`,t[5]===s?a=t[6]:(a=(0,G.jsx)(s,{className:`size-4.5 text-foreground/80`,"aria-hidden":!0}),t[5]=s,t[6]=a),r=g(`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,e)}t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o}else r=t[1],i=t[2],a=t[3],o=t[4];if(o!==Symbol.for(`react.early_return_sentinel`))return o;let s;t[7]===r?s=t[8]:(s=(0,G.jsx)(`span`,{className:r,"aria-hidden":!0}),t[7]=r,t[8]=s);let c;return t[9]!==i||t[10]!==a||t[11]!==s?(c=(0,G.jsxs)(`span`,{className:i,children:[a,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=c):c=t[12],c}function fe({item:e,auth:t,authAccount:n,authHost:r}){return Y(e)?(0,G.jsxs)(`span`,{children:[`Support for `,e.label,` is coming soon.`]}):e.status===`available`?t?t.status===`authenticated`?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{children:`Authenticated`}),n?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{"aria-hidden":!0,children:`as`}),(0,G.jsx)(le,{account:n})]}):null,r?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`span`,{"aria-hidden":!0,children:`on`}),(0,G.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px] text-muted-foreground`,children:r})]}):null]}):e.executable?t.status===`unauthenticated`?(0,G.jsxs)(`span`,{children:[e.label,` is not authenticated on this server. Sign in or configure credentials using the `,(0,G.jsx)(`code`,{className:`rounded bg-muted px-1 py-px text-[11px]`,children:e.executable}),` `,`tool on the server host to enable pull request features.`]}):(0,G.jsxs)(`span`,{children:[`Could not verify `,e.label,`. `,q(t.detail)??e.installHint]}):(0,G.jsx)(`span`,{children:e.installHint}):(0,G.jsx)(`span`,{children:`Available`}):(0,G.jsxs)(`span`,{children:[`Not available on this server — `,e.installHint]})}function X(e){let t=(0,U.c)(57),{item:n}=e,r;t[0]===n.version?r=t[1]:(r=q(n.version),t[0]=n.version,t[1]=r);let i=r,a;t[2]===n?a=t[3]:(a=n.status===`available`&&(J(n)||n.implemented),t[2]=n,t[3]=a);let o=a,s=J(n)?n.auth:null,c;t[4]===s?c=t[5]:(c=s?ce(s):null,t[4]=s,t[5]=c);let l=c,u,d,f,p,m,h,_;if(t[6]!==s||t[7]!==l||t[8]!==n||t[9]!==i){let e=s?q(s.account):null,r=s?q(s.host):null;t[17]===n?u=t[18]:(u=g(`border-t border-border/60 first:border-t-0`,Y(n)&&`opacity-80`),t[17]=n,t[18]=u),_=`px-4 py-3.5 sm:px-5`,h=`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,p=`min-w-0 flex-1 space-y-1`;let a;t[19]===n?a=t[20]:(a=(0,G.jsx)(de,{item:n}),t[19]=n,t[20]=a);let o;t[21]===n.label?o=t[22]:(o=(0,G.jsx)(`h3`,{className:`truncate text-[13px] font-semibold tracking-[-0.01em] text-foreground`,children:n.label}),t[21]=n.label,t[22]=o);let c;t[23]===i?c=t[24]:(c=i?(0,G.jsx)(`code`,{className:`text-xs text-muted-foreground`,children:i}):null,t[23]=i,t[24]=c);let v;t[25]===n?v=t[26]:(v=Y(n)?(0,G.jsx)(ne,{variant:`warning`,size:`sm`,children:`Coming Soon`}):null,t[25]=n,t[26]=v);let y;t[27]===l?y=t[28]:(y=l?.badge?(0,G.jsx)(ne,{variant:l.badge,size:`sm`,children:l.label}):null,t[27]=l,t[28]=y),t[29]!==a||t[30]!==o||t[31]!==c||t[32]!==v||t[33]!==y?(m=(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[a,o,c,v,y]}),t[29]=a,t[30]=o,t[31]=c,t[32]=v,t[33]=y,t[34]=m):m=t[34],d=`flex min-w-0 flex-wrap items-center gap-x-1 text-xs text-muted-foreground`,f=fe({item:n,auth:s,authAccount:e,authHost:r}),t[6]=s,t[7]=l,t[8]=n,t[9]=i,t[10]=u,t[11]=d,t[12]=f,t[13]=p,t[14]=m,t[15]=h,t[16]=_}else u=t[10],d=t[11],f=t[12],p=t[13],m=t[14],h=t[15],_=t[16];let v;t[35]!==d||t[36]!==f?(v=(0,G.jsx)(`p`,{className:d,children:f}),t[35]=d,t[36]=f,t[37]=v):v=t[37];let y;t[38]!==v||t[39]!==p||t[40]!==m?(y=(0,G.jsxs)(`div`,{className:p,children:[m,v]}),t[38]=v,t[39]=p,t[40]=m,t[41]=y):y=t[41];let x;t[42]!==o||t[43]!==n?(x=Y(n)?null:(0,G.jsx)(b,{checked:o,disabled:!0,"aria-label":`${n.label} availability`}),t[42]=o,t[43]=n,t[44]=x):x=t[44];let S;t[45]===x?S=t[46]:(S=(0,G.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:x}),t[45]=x,t[46]=S);let C;t[47]!==y||t[48]!==S||t[49]!==h?(C=(0,G.jsxs)(`div`,{className:h,children:[y,S]}),t[47]=y,t[48]=S,t[49]=h,t[50]=C):C=t[50];let w;t[51]!==C||t[52]!==_?(w=(0,G.jsx)(`div`,{className:_,children:C}),t[51]=C,t[52]=_,t[53]=w):w=t[53];let T;return t[54]!==u||t[55]!==w?(T=(0,G.jsx)(`div`,{className:u,children:w}),t[54]=u,t[55]=w,t[56]=T):T=t[56],T}function pe(e){let t=(0,U.c)(4),{title:n,headerAction:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=oe.map(me),t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,G.jsx)(B,{title:n,headerAction:r,children:i}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function me(e){return(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,G.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,children:[(0,G.jsxs)(`div`,{className:`min-w-0 flex-1 space-y-2`,children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,G.jsxs)(`span`,{className:`relative inline-flex size-5 shrink-0 items-center justify-center`,children:[(0,G.jsx)(j,{className:`size-4.5 rounded-md`}),(0,G.jsx)(j,{className:`pointer-events-none absolute -left-0.5 -top-0.5 size-2 rounded-full ring-2 ring-background`,"aria-hidden":!0})]}),(0,G.jsx)(j,{className:`h-4 w-28 rounded-full`}),(0,G.jsx)(j,{className:`h-5 w-14 rounded-full`})]}),(0,G.jsx)(j,{className:`h-3 w-full max-w-xs rounded-full`})]}),(0,G.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2`,children:[(0,G.jsx)(j,{className:`size-7 rounded-md`}),(0,G.jsx)(j,{className:`h-5 w-9 rounded-full`})]})]})},e)}function he(e){switch(e){case`connected`:return`success`;case`needs_reauth`:return`warning`;case`invalid`:return`error`;case`revoked`:return`outline`}}function ge(e){switch(e){case`oauth_3lo`:return`OAuth`;case`bitbucket_token`:return`Bitbucket token`;case`jira_token`:return`Jira token`;case`env_fallback`:return`Environment`}}function _e(e){let t=(0,U.c)(4);if(e.products.includes(`bitbucket`)){let n;return t[0]===e.className?n=t[1]:(n=(0,G.jsx)(S,{className:e.className,"aria-hidden":!0}),t[0]=e.className,t[1]=n),n}let n;return t[2]===e.className?n=t[3]:(n=(0,G.jsx)(O,{className:e.className,"aria-hidden":!0}),t[2]=e.className,t[3]=n),n}function ve(e){let t=(0,U.c)(123),{environmentId:n}=e,r=o(),[i,s]=(0,W.useState)(`Bitbucket`),[u,d]=(0,W.useState)(``),[m,g]=(0,W.useState)(``),[_,v]=(0,W.useState)(`Jira`),[y,b]=(0,W.useState)(``),[S,C]=(0,W.useState)(``),[w,T]=(0,W.useState)(``),E;t[0]===n?E=t[1]:(E=n?l(n):null,t[0]=n,t[1]=E);let D=E?.client??null,O=D!==null,k;t[2]!==n||t[3]!==O?(k={environmentId:n,enabled:O},t[2]=n,t[3]=O,t[4]=k):k=t[4];let j=te(k),F;t[5]!==u||t[6]!==i||t[7]!==m||t[8]!==D?(F=async()=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.saveManualBitbucketToken({label:i.trim(),email:u.trim(),token:m.trim(),isDefault:!0})},t[5]=u,t[6]=i,t[7]=m,t[8]=D,t[9]=F):F=t[9];let I;t[10]!==n||t[11]!==r?(I=()=>{s(`Bitbucket`),d(``),g(``),N({environmentId:n}),r.invalidateQueries({queryKey:se}),a({environmentId:n}),f.add(A({type:`success`,title:`Bitbucket token saved`,description:`Ryco can now use this Atlassian connection for Bitbucket workflows.`}))},t[10]=n,t[11]=r,t[12]=I):I=t[12];let re;t[13]!==F||t[14]!==I?(re={mutationFn:F,onSuccess:I,onError:xe},t[13]=F,t[14]=I,t[15]=re):re=t[15];let L=c(re),R;t[16]!==D||t[17]!==y||t[18]!==_||t[19]!==S||t[20]!==w?(R=async()=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.saveManualJiraToken({label:_.trim(),email:y.trim(),siteUrl:S.trim(),token:w.trim(),isDefault:!0})},t[16]=D,t[17]=y,t[18]=_,t[19]=S,t[20]=w,t[21]=R):R=t[21];let z;t[22]!==n||t[23]!==r?(z=()=>{v(`Jira`),b(``),C(``),T(``),N({environmentId:n}),r.invalidateQueries({queryKey:se}),f.add(A({type:`success`,title:`Jira token saved`,description:`Ryco can now load Jira work items for linked projects.`}))},t[22]=n,t[23]=r,t[24]=z):z=t[24];let B;t[25]!==R||t[26]!==z?(B={mutationFn:R,onSuccess:z,onError:be},t[25]=R,t[26]=z,t[27]=B):B=t[27];let V=c(B),H;t[28]===D?H=t[29]:(H=async e=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.disconnect({connectionId:e.connectionId})},t[28]=D,t[29]=H);let K;t[30]!==n||t[31]!==r?(K=()=>{N({environmentId:n}),r.invalidateQueries({queryKey:se}),a({environmentId:n})},t[30]=n,t[31]=r,t[32]=K):K=t[32];let ie;t[33]!==H||t[34]!==K?(ie={mutationFn:H,onSuccess:K,onError:ye},t[33]=H,t[34]=K,t[35]=ie):ie=t[35];let ae=c(ie),oe;t[36]!==u||t[37]!==i||t[38]!==m||t[39]!==D||t[40]!==L.isPending?(oe=D!==null&&i.trim().length>0&&u.trim().length>0&&m.trim().length>0&&!L.isPending,t[36]=u,t[37]=i,t[38]=m,t[39]=D,t[40]=L.isPending,t[41]=oe):oe=t[41];let q=oe,J;t[42]!==D||t[43]!==y||t[44]!==_||t[45]!==S||t[46]!==w||t[47]!==V.isPending?(J=D!==null&&_.trim().length>0&&y.trim().length>0&&S.trim().length>0&&w.trim().length>0&&!V.isPending,t[42]=D,t[43]=y,t[44]=_,t[45]=S,t[46]=w,t[47]=V.isPending,t[48]=J):J=t[48];let Y=J,ce;t[49]!==q||t[50]!==L?(ce=e=>{e.preventDefault(),q&&L.mutate()},t[49]=q,t[50]=L,t[51]=ce):ce=t[51];let ue=ce,de;t[52]!==Y||t[53]!==V?(de=e=>{e.preventDefault(),Y&&V.mutate()},t[52]=Y,t[53]=V,t[54]=de):de=t[54];let fe=de,X;t[55]===j.data?X=t[56]:(X=j.data??[],t[55]=j.data,t[56]=X);let pe=X,me=j.data===null&&!j.isError,ve;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,G.jsx)(`div`,{className:`border-t border-border/60 bg-muted/20 px-4 py-2.5 sm:px-5`,children:(0,G.jsxs)(`h3`,{className:`flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-muted-foreground/70`,children:[(0,G.jsx)(p,{className:`size-3`,"aria-hidden":!0}),`Atlassian`]})}),t[57]=ve):ve=t[57];let Se;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,G.jsx)(P,{htmlFor:`bitbucket-token-label`,className:`text-xs`,children:`Label`}),t[58]=Se):Se=t[58];let Ce;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=e=>s(e.currentTarget.value),t[59]=Ce):Ce=t[59];let Z;t[60]===i?Z=t[61]:(Z=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Se,(0,G.jsx)(x,{id:`bitbucket-token-label`,size:`sm`,value:i,autoComplete:`organization`,onChange:Ce,placeholder:`Bitbucket`})]}),t[60]=i,t[61]=Z);let we;t[62]===Symbol.for(`react.memo_cache_sentinel`)?(we=(0,G.jsx)(P,{htmlFor:`bitbucket-token-email`,className:`text-xs`,children:`Email`}),t[62]=we):we=t[62];let Te;t[63]===Symbol.for(`react.memo_cache_sentinel`)?(Te=e=>d(e.currentTarget.value),t[63]=Te):Te=t[63];let Ee;t[64]===u?Ee=t[65]:(Ee=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[we,(0,G.jsx)(x,{id:`bitbucket-token-email`,size:`sm`,type:`email`,value:u,autoComplete:`username`,onChange:Te,placeholder:`you@example.com`})]}),t[64]=u,t[65]=Ee);let De;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(De=(0,G.jsx)(P,{htmlFor:`bitbucket-token-secret`,className:`text-xs`,children:`Bitbucket app password`}),t[66]=De):De=t[66];let Oe;t[67]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=e=>g(e.currentTarget.value),t[67]=Oe):Oe=t[67];let ke;t[68]===m?ke=t[69]:(ke=(0,G.jsx)(x,{id:`bitbucket-token-secret`,size:`sm`,type:`password`,value:m,autoComplete:`current-password`,onChange:Oe,placeholder:`Stored locally in the server secret store`}),t[68]=m,t[69]=ke);let Ae=!q,je;t[70]===L.isPending?je=t[71]:(je=L.isPending?(0,G.jsx)(M,{className:`size-3`}):null,t[70]=L.isPending,t[71]=je);let Me;t[72]!==Ae||t[73]!==je?(Me=(0,G.jsxs)(ee,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ae,children:[je,`Save Token`]}),t[72]=Ae,t[73]=je,t[74]=Me):Me=t[74];let Ne;t[75]!==ke||t[76]!==Me?(Ne=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[De,(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[ke,Me]})]}),t[75]=ke,t[76]=Me,t[77]=Ne):Ne=t[77];let Pe;t[78]!==ue||t[79]!==Z||t[80]!==Ee||t[81]!==Ne?(Pe=(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,G.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:ue,children:[Z,Ee,Ne]})}),t[78]=ue,t[79]=Z,t[80]=Ee,t[81]=Ne,t[82]=Pe):Pe=t[82];let Fe;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=(0,G.jsx)(P,{htmlFor:`jira-token-label`,className:`text-xs`,children:`Label`}),t[83]=Fe):Fe=t[83];let Ie;t[84]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=e=>v(e.currentTarget.value),t[84]=Ie):Ie=t[84];let Le;t[85]===_?Le=t[86]:(Le=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Fe,(0,G.jsx)(x,{id:`jira-token-label`,size:`sm`,value:_,autoComplete:`organization`,onChange:Ie,placeholder:`Jira`})]}),t[85]=_,t[86]=Le);let Re;t[87]===Symbol.for(`react.memo_cache_sentinel`)?(Re=(0,G.jsx)(P,{htmlFor:`jira-token-email`,className:`text-xs`,children:`Email`}),t[87]=Re):Re=t[87];let ze;t[88]===Symbol.for(`react.memo_cache_sentinel`)?(ze=e=>b(e.currentTarget.value),t[88]=ze):ze=t[88];let Be;t[89]===y?Be=t[90]:(Be=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Re,(0,G.jsx)(x,{id:`jira-token-email`,size:`sm`,type:`email`,value:y,autoComplete:`username`,onChange:ze,placeholder:`you@example.com`})]}),t[89]=y,t[90]=Be);let Ve;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,G.jsx)(P,{htmlFor:`jira-site-url`,className:`text-xs`,children:`Jira site URL`}),t[91]=Ve):Ve=t[91];let He;t[92]===Symbol.for(`react.memo_cache_sentinel`)?(He=e=>C(e.currentTarget.value),t[92]=He):He=t[92];let Q;t[93]===S?Q=t[94]:(Q=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ve,(0,G.jsx)(x,{id:`jira-site-url`,size:`sm`,value:S,inputMode:`url`,autoComplete:`url`,onChange:He,placeholder:`https://your-team.atlassian.net`})]}),t[93]=S,t[94]=Q);let Ue;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(Ue=(0,G.jsx)(P,{htmlFor:`jira-token-secret`,className:`text-xs`,children:`Jira API token`}),t[95]=Ue):Ue=t[95];let We;t[96]===Symbol.for(`react.memo_cache_sentinel`)?(We=e=>T(e.currentTarget.value),t[96]=We):We=t[96];let Ge;t[97]===w?Ge=t[98]:(Ge=(0,G.jsx)(x,{id:`jira-token-secret`,size:`sm`,type:`password`,value:w,autoComplete:`current-password`,onChange:We,placeholder:`Stored locally in the server secret store`}),t[97]=w,t[98]=Ge);let Ke=!Y,qe;t[99]===V.isPending?qe=t[100]:(qe=V.isPending?(0,G.jsx)(M,{className:`size-3`}):null,t[99]=V.isPending,t[100]=qe);let Je;t[101]!==Ke||t[102]!==qe?(Je=(0,G.jsxs)(ee,{type:`submit`,size:`sm`,className:`h-7.5 shrink-0 gap-1.5 px-3 text-xs`,disabled:Ke,children:[qe,`Save Jira`]}),t[101]=Ke,t[102]=qe,t[103]=Je):Je=t[103];let Ye;t[104]!==Ge||t[105]!==Je?(Ye=(0,G.jsxs)(`div`,{className:`space-y-1.5 sm:col-span-2`,children:[Ue,(0,G.jsxs)(`div`,{className:`flex flex-col gap-2 sm:flex-row`,children:[Ge,Je]})]}),t[104]=Ge,t[105]=Je,t[106]=Ye):Ye=t[106];let Xe;t[107]!==fe||t[108]!==Le||t[109]!==Be||t[110]!==Q||t[111]!==Ye?(Xe=(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-4 sm:px-5`,children:(0,G.jsxs)(`form`,{className:`grid gap-3 sm:grid-cols-[1fr_1fr] sm:items-end`,onSubmit:fe,children:[Le,Be,Q,Ye]})}),t[107]=fe,t[108]=Le,t[109]=Be,t[110]=Q,t[111]=Ye,t[112]=Xe):Xe=t[112];let Ze;t[113]!==me||t[114]!==ae||t[115]!==pe?(Ze=me?(0,G.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-5`,children:[(0,G.jsx)(M,{className:`size-3.5`}),`Loading Atlassian connections`]}):pe.length===0?(0,G.jsx)(`div`,{className:`px-4 py-4 text-xs leading-relaxed text-muted-foreground sm:px-5`,children:`No Atlassian connections are stored yet. Add Bitbucket and Jira tokens to enable repository PRs, diffs, and work-item links.`}):pe.map(e=>(0,G.jsxs)(`div`,{className:`flex flex-col gap-3 border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:flex-row sm:items-center sm:justify-between sm:px-5`,children:[(0,G.jsxs)(`div`,{className:`min-w-0 space-y-1`,children:[(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,G.jsx)(_e,{products:e.products,className:`size-4 text-foreground/80`}),(0,G.jsx)(`h3`,{className:`truncate text-[13px] font-semibold text-foreground`,children:e.label}),(0,G.jsx)(ne,{variant:he(e.status),size:`sm`,children:e.status.replace(`_`,` `)}),(0,G.jsx)(ne,{variant:`outline`,size:`sm`,children:ge(e.kind)})]}),(0,G.jsxs)(`p`,{className:`flex min-w-0 flex-wrap gap-x-1 text-xs text-muted-foreground`,children:[e.accountEmail?(0,G.jsx)(le,{account:e.accountEmail}):(0,G.jsx)(`span`,{children:`No account email saved`}),(0,G.jsx)(`span`,{"aria-hidden":!0,children:`·`}),(0,G.jsx)(`span`,{children:e.capabilities.join(`, `)})]})]}),(0,G.jsx)(ee,{type:`button`,size:`icon-xs`,variant:`ghost`,className:`size-7 self-start text-muted-foreground hover:text-destructive sm:self-auto`,"aria-label":`Delete ${e.label}`,disabled:ae.isPending||e.readonly,onClick:()=>ae.mutate(e),children:(0,G.jsx)(h,{className:`size-3.5`})})]},e.connectionId)),t[113]=me,t[114]=ae,t[115]=pe,t[116]=Ze):Ze=t[116];let $;t[117]===Ze?$=t[118]:($=(0,G.jsx)(`div`,{className:`border-t border-border/60`,children:Ze}),t[117]=Ze,t[118]=$);let Qe;return t[119]!==Pe||t[120]!==Xe||t[121]!==$?(Qe=(0,G.jsxs)(G.Fragment,{children:[ve,Pe,Xe,$]}),t[119]=Pe,t[120]=Xe,t[121]=$,t[122]=Qe):Qe=t[122],Qe}function ye(e){f.add(A({type:`error`,title:`Could not delete Atlassian connection`,description:e instanceof Error?e.message:`The connection was not changed.`}))}function be(e){f.add(A({type:`error`,title:`Could not save Jira token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function xe(e){f.add(A({type:`error`,title:`Could not save Bitbucket token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function Se(){let e=(0,U.c)(41),t=s(),n=u(),r=t?.environmentId??n,o;e[0]===r?o=e[1]:(o={environmentId:r},e[0]=r,e[1]=o);let c=i(o),l=c.data??K,d=c.isPending&&c.data===null,f;e[2]===r?f=e[3]:(f=()=>{a({environmentId:r})},e[2]=r,e[3]=f);let p=f,h=c.isPending,b=c.isPending&&`animate-spin`,x;e[4]===b?x=e[5]:(x=g(`size-3`,b),e[4]=b,e[5]=x);let S;e[6]===x?S=e[7]:(S=(0,G.jsx)(m,{className:x}),e[6]=x,e[7]=S);let C;e[8]!==c.isPending||e[9]!==p||e[10]!==S?(C=(0,G.jsx)(_,{render:(0,G.jsx)(ee,{size:`icon-xs`,variant:`ghost`,className:`size-5 rounded-sm p-0 text-muted-foreground hover:text-foreground`,onClick:p,disabled:h,"aria-label":`Rescan server environment`,children:S})}),e[8]=c.isPending,e[9]=p,e[10]=S,e[11]=C):C=e[11];let T;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,G.jsx)(v,{side:`top`,children:`Rescan Git and hosting integrations`}),e[12]=T):T=e[12];let E;e[13]===C?E=e[14]:(E=(0,G.jsxs)(y,{children:[C,T]}),e[13]=C,e[14]=E);let D=E;if(d){let t;e[15]===D?t=e[16]:(t=(0,G.jsx)(pe,{title:`Version Control`,headerAction:D}),e[15]=D,e[16]=t);let n;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,G.jsx)(pe,{title:`Source Control Providers`}),e[17]=n):n=e[17];let r;return e[18]===t?r=e[19]:(r=(0,G.jsxs)(V,{children:[t,n]}),e[18]=t,e[19]=r),r}let O=l.versionControlSystems.length>0,k=l.sourceControlProviders.length>0,A=O||k,j;e[20]!==c.isPending||e[21]!==r||e[22]!==p||e[23]!==A?(j=A?null:(0,G.jsxs)(B,{title:`Source Control Providers`,children:[(0,G.jsxs)(z,{className:`min-h-56 border-t border-border/60 first:border-t-0`,children:[(0,G.jsxs)(I,{children:[(0,G.jsx)(F,{variant:`icon`,children:(0,G.jsx)(w,{className:`size-4`})}),(0,G.jsx)(L,{children:`Nothing detected yet`}),(0,G.jsx)(R,{children:`Install Git on the server, add optional hosting integrations or credentials your workspace needs, then rescan.`})]}),(0,G.jsx)(re,{children:(0,G.jsxs)(ee,{type:`button`,size:`xs`,onClick:p,disabled:c.isPending,children:[(0,G.jsx)(m,{className:g(`size-3`,c.isPending&&`animate-spin`)}),`Scan`]})})]}),(0,G.jsx)(ve,{environmentId:r})]}),e[20]=c.isPending,e[21]=r,e[22]=p,e[23]=A,e[24]=j):j=e[24];let M;e[25]!==O||e[26]!==l.versionControlSystems||e[27]!==D?(M=O?(0,G.jsx)(B,{title:`Version Control`,headerAction:D,children:l.versionControlSystems.map(Z)}):null,e[25]=O,e[26]=l.versionControlSystems,e[27]=D,e[28]=M):M=e[28];let N;e[29]!==c.error||e[30]!==r||e[31]!==A||e[32]!==k||e[33]!==O||e[34]!==l.sourceControlProviders||e[35]!==D?(N=A?(0,G.jsxs)(B,{title:`Source Control Providers`,headerAction:O?null:D,children:[k?l.sourceControlProviders.map(Ce):(0,G.jsx)(`div`,{className:`border-t border-border/60 px-4 py-3.5 first:border-t-0 sm:px-5`,children:(0,G.jsx)(`p`,{className:`text-xs leading-relaxed text-muted-foreground`,children:c.error??`No source control providers were detected on the server. Install a CLI like git, gh, glab, or az on the server host, then rescan.`})}),(0,G.jsx)(ve,{environmentId:r})]}):null,e[29]=c.error,e[30]=r,e[31]=A,e[32]=k,e[33]=O,e[34]=l.sourceControlProviders,e[35]=D,e[36]=N):N=e[36];let te;return e[37]!==M||e[38]!==N||e[39]!==j?(te=(0,G.jsxs)(V,{children:[j,M,N]}),e[37]=M,e[38]=N,e[39]=j,e[40]=te):te=e[40],te}function Ce(e){return(0,G.jsx)(X,{item:e},`provider:${e.kind}`)}function Z(e){return(0,G.jsx)(X,{item:e},`vcs:${e.kind}`)}export{Se as SourceControlSettingsPanel};