ryco-cli 0.1.13 → 0.1.15

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 (217) hide show
  1. package/dist/{AcpNativeLogging-Be1KGJfF.cjs → AcpNativeLogging-OhEq3XNp.cjs} +1 -1
  2. package/dist/{AcpNativeLogging-Ba9Nn9Re.mjs → AcpNativeLogging-qZgtIa5K.mjs} +2 -2
  3. package/dist/{AzureDevOpsSourceControlProvider-CGlK6M0b.mjs → AzureDevOpsSourceControlProvider-B0YsaJyI.mjs} +3 -3
  4. package/dist/{AzureDevOpsSourceControlProvider-CVj-F-pW.cjs → AzureDevOpsSourceControlProvider-Dyu8KQ_S.cjs} +2 -2
  5. package/dist/{BitbucketSourceControlProvider-CEZEd4PX.cjs → BitbucketSourceControlProvider-3VHGKSl1.cjs} +2 -2
  6. package/dist/{BitbucketSourceControlProvider-BV6iRDi7.mjs → BitbucketSourceControlProvider-B8IPx2Ad.mjs} +3 -3
  7. package/dist/{ClaudeDriver-lBU7EyUX.cjs → ClaudeDriver-CBCy0_WX.cjs} +176 -11
  8. package/dist/{ClaudeDriver-rooMNrJz.mjs → ClaudeDriver-DsW8yDj9.mjs} +177 -12
  9. package/dist/{CodexDriver-CZCIJSLV.cjs → CodexDriver-3TZPgrGk.cjs} +3 -3
  10. package/dist/{CodexDriver-DBz2rPXb.mjs → CodexDriver-DLwPz5sk.mjs} +4 -4
  11. package/dist/{CodexTextGeneration-BeG7ymPC.mjs → CodexTextGeneration-D1vV8grr.mjs} +2 -2
  12. package/dist/{CodexTextGeneration-BvIcyD1P.cjs → CodexTextGeneration-DLHSW4Mz.cjs} +1 -1
  13. package/dist/{CopilotDriver-CX5zhEdZ.cjs → CopilotDriver-C7a8IhyK.cjs} +20 -16
  14. package/dist/{CopilotDriver-D36vbGbn.mjs → CopilotDriver-DXvGBv-s.mjs} +21 -17
  15. package/dist/{CursorDriver-DWuuOSkJ.mjs → CursorDriver-CeB_vMKJ.mjs} +4 -4
  16. package/dist/{CursorDriver-CPBVeesr.cjs → CursorDriver-uNsDetA3.cjs} +3 -3
  17. package/dist/{ForgejoSourceControlProvider-CzmmcAZO.cjs → ForgejoSourceControlProvider-CJLksvL_.cjs} +2 -2
  18. package/dist/{ForgejoSourceControlProvider-CeN7Snfr.mjs → ForgejoSourceControlProvider-Ds0rU_PN.mjs} +3 -3
  19. package/dist/{GitHubSourceControlProvider-Dmz1LJct.mjs → GitHubSourceControlProvider-C7CJAslU.mjs} +3 -3
  20. package/dist/{GitHubSourceControlProvider-DfFR9O2o.cjs → GitHubSourceControlProvider-CrYNFu8S.cjs} +2 -2
  21. package/dist/{GitLabSourceControlProvider-DGoelNmL.cjs → GitLabSourceControlProvider-jbX5M34A.cjs} +2 -2
  22. package/dist/{GitLabSourceControlProvider-C21lwphV.mjs → GitLabSourceControlProvider-u-Y-e8PV.mjs} +3 -3
  23. package/dist/{GrokDriver-CIXj_4ry.cjs → GrokDriver-BJ00ZiYg.cjs} +3 -3
  24. package/dist/{GrokDriver-qKX1a63G.mjs → GrokDriver-CFgjwnvE.mjs} +4 -4
  25. package/dist/{OpenCodeDriver-DDEuwtXl.cjs → OpenCodeDriver-BTxd2Q3Q.cjs} +487 -207
  26. package/dist/{OpenCodeDriver-CbdswhqU.mjs → OpenCodeDriver-DNApoGdu.mjs} +487 -207
  27. package/dist/{SourceControlProviderDiscoveryCatalog-DJWDCoup.cjs → SourceControlProviderDiscoveryCatalog-CPO3a9_U.cjs} +1 -1
  28. package/dist/{SourceControlProviderDiscoveryCatalog-4_4yahsa.mjs → SourceControlProviderDiscoveryCatalog-hXWNwRMn.mjs} +1 -1
  29. package/dist/bin.cjs +1324 -340
  30. package/dist/bin.mjs +1324 -343
  31. package/dist/client/assets/{AccountSettings-Be5_48k0.js → AccountSettings-Cey-16wq.js} +1 -1
  32. package/dist/client/assets/{AiFocusSettings-DIpQXLW2.js → AiFocusSettings-CaHQXDaQ.js} +1 -1
  33. package/dist/client/assets/{AnimatedHeight-BIsV_Z3J.js → AnimatedHeight-BC-qaTJY.js} +1 -1
  34. package/dist/client/assets/AppearanceSettings-B6UaU-_a.js +1 -0
  35. package/dist/client/assets/{BranchToolbar.logic-D7slG_zJ.js → BranchToolbar.logic-DILAA3Cz.js} +1 -1
  36. package/dist/client/assets/ChatRightPanel-D-AL07IU.js +27 -0
  37. package/dist/client/assets/{ChatThreadRouteView-CocRstME.js → ChatThreadRouteView-tEo-zoCf.js} +1 -1
  38. package/dist/client/assets/CommandPaletteDialog-s7yf5Y2S.js +1 -0
  39. package/dist/client/assets/{CompositeItem-F3NGn6aG.js → CompositeItem-97y1QiiT.js} +1 -1
  40. package/dist/client/assets/{CompositeRoot-CmJGfRtc.js → CompositeRoot-C7Mz4Y_2.js} +1 -1
  41. package/dist/client/assets/{ConnectionsSettings-CXabxSaH.js → ConnectionsSettings-B0-Hkwof.js} +2 -2
  42. package/dist/client/assets/{DiagnosticsSettings-CZ3vY43G.js → DiagnosticsSettings-DX5LH9Bt.js} +1 -1
  43. package/dist/client/assets/{DialogHandle-C4uSr9wX.js → DialogHandle-Cl9dQBJp.js} +1 -1
  44. package/dist/client/assets/{DialogPopup-Dck8r8Hn.js → DialogPopup-a1M74u16.js} +1 -1
  45. package/dist/client/assets/DialogRoot-C_DO1gtO.js +1 -0
  46. package/dist/client/assets/{DialogTitle-CCedPAjV.js → DialogTitle-Bk-w3xLJ.js} +1 -1
  47. package/dist/client/assets/{DialogTrigger-CYJ7_YcV.js → DialogTrigger-D9nkMFu2.js} +1 -1
  48. package/dist/client/assets/{DialogViewport-D-CrTM-P.js → DialogViewport-tgJz2Lwn.js} +1 -1
  49. package/dist/client/assets/{DraftChatThreadRouteView-D8Bt3Qnq.js → DraftChatThreadRouteView-BU2IGTR6.js} +1 -1
  50. package/dist/client/assets/{ExternalIdentityWeb.logic-D64j70NH.js → ExternalIdentityWeb.logic-Bn1HigS9.js} +1 -1
  51. package/dist/client/assets/GlassSurface-CDok2tTN.js +1 -0
  52. package/dist/client/assets/{HostedConnectionControls-DxAXv0Hd.js → HostedConnectionControls-Cux_sRCM.js} +1 -1
  53. package/dist/client/assets/HostedHubRoot-CyySCdJV.js +1 -0
  54. package/dist/client/assets/{HostedNativeAuthorizationRoute-CTQe7Vjt.js → HostedNativeAuthorizationRoute-490iDXmk.js} +1 -1
  55. package/dist/client/assets/{HostedRelayTrustNotice-BldMySVi.js → HostedRelayTrustNotice-CcDOAwgS.js} +1 -1
  56. package/dist/client/assets/{Icons-CT3nd2MA.js → Icons-BEtED8P8.js} +1 -1
  57. package/dist/client/assets/{IntegrationsSettingsPanel-D6f3KoqM.js → IntegrationsSettingsPanel-BFTAvxtn.js} +1 -1
  58. package/dist/client/assets/KeybindingsSettings-VYgbhiZF.js +7 -0
  59. package/dist/client/assets/{McpServersSettings-B7YqVvV4.js → McpServersSettings-DSDCjoTn.js} +1 -1
  60. package/dist/client/assets/{MobileSheet-CkeG6_SP.js → MobileSheet-BDvnUC5W.js} +1 -1
  61. package/dist/client/assets/{NewWorktreeDialog-CKr2ioue.js → NewWorktreeDialog-C65Aifeb.js} +1 -1
  62. package/dist/client/assets/{NoActiveThreadState-BD-eNmfn.js → NoActiveThreadState-DehHNgAp.js} +1 -1
  63. package/dist/client/assets/{NodeSecuritySettings-FWM_SeDi.js → NodeSecuritySettings-DW9GJ-kU.js} +1 -1
  64. package/dist/client/assets/{OpinionatedPluginsSettings-BtZQF4Ze.js → OpinionatedPluginsSettings-DbxPOokL.js} +1 -1
  65. package/dist/client/assets/{PhoneGetAppInterstitial-CooQgpSw.js → PhoneGetAppInterstitial-CbyVrtDn.js} +1 -1
  66. package/dist/client/assets/{PhoneGetAppInterstitialBackdrop-B8vfJdZd.js → PhoneGetAppInterstitialBackdrop-BA4R225F.js} +1 -1
  67. package/dist/client/assets/PhoneHome-c0j_TBEC.js +1 -0
  68. package/dist/client/assets/PhoneSettingsSurface-5LFRIx_5.js +1 -0
  69. package/dist/client/assets/{ProjectFavicon-qZGdjYCM.js → ProjectFavicon-CeVJCQCy.js} +1 -1
  70. package/dist/client/assets/{ProviderModelPicker-D0w23uWo.js → ProviderModelPicker-MFRYAv_3.js} +1 -1
  71. package/dist/client/assets/{ProviderUpdateLaunchNotification.logic-BkoRegCn.js → ProviderUpdateLaunchNotification.logic-CywRitn3.js} +1 -1
  72. package/dist/client/assets/ProvidersSettingsPanel-FYBEqSr_.js +1 -0
  73. package/dist/client/assets/{RedactedSensitiveText-CxtaUiKH.js → RedactedSensitiveText-BuWSWty8.js} +1 -1
  74. package/dist/client/assets/RootAppShell-5HrP6N8H.js +6 -0
  75. package/dist/client/assets/{RycoLetterMark-Bk0kvGJ_.js → RycoLetterMark-CZYntY8t.js} +1 -1
  76. package/dist/client/assets/SettingsDialog-CpwoqGS8.js +1 -0
  77. package/dist/client/assets/{SettingsPanels-Dr4f2y9l.js → SettingsPanels-COWRB29-.js} +3 -3
  78. package/dist/client/assets/{SettingsPanels.editor-B2x4U4rW.js → SettingsPanels.editor-lbLEbllb.js} +1 -1
  79. package/dist/client/assets/SourceControlSettings-DvBNelcO.js +1 -0
  80. package/dist/client/assets/{StatisticsPage-Bjouapmf.js → StatisticsPage-DxAKqvVX.js} +1 -1
  81. package/dist/client/assets/{StatisticsPanel-D_khPph6.js → StatisticsPanel-C0xGLlMA.js} +1 -1
  82. package/dist/client/assets/{StatisticsSettingsLink-Cx43bOeo.js → StatisticsSettingsLink-B7SZerf3.js} +1 -1
  83. package/dist/client/assets/ThreadStatusIndicators-CIOM98q2.js +0 -0
  84. package/dist/client/assets/{ThreadTerminalDrawer-DDHEuRGB.js → ThreadTerminalDrawer-DRelLlEP.js} +1 -1
  85. package/dist/client/assets/{ThreadWorkspacePanel-QF3KwbGm.js → ThreadWorkspacePanel-CktVSliZ.js} +3 -3
  86. package/dist/client/assets/{ToolbarRootContext-BgqqXVly.js → ToolbarRootContext-B1g8IP6k.js} +1 -1
  87. package/dist/client/assets/{WorkItemsTab-AOVwVvb7.js → WorkItemsTab-CahU_t_S.js} +12 -12
  88. package/dist/client/assets/{alert-LqMhbdE9.js → alert-DomE7dAt.js} +1 -1
  89. package/dist/client/assets/{alert-dialog-DxoA6ky8.js → alert-dialog-9Jyh0e8u.js} +1 -1
  90. package/dist/client/assets/appearancePreferences-BhNRCg6W.js +1 -0
  91. package/dist/client/assets/authorization-D8lJzXTE.js +1 -0
  92. package/dist/client/assets/{badge-CXw6fWrB.js → badge-w43sx8eF.js} +1 -1
  93. package/dist/client/assets/{branding-BDfN6Spd.js → branding-B7DcCXjn.js} +1 -1
  94. package/dist/client/assets/{button-BAbJxRzt.js → button-DG8WqjNn.js} +1 -1
  95. package/dist/client/assets/{capabilities-3zgirmmI.js → capabilities-B1FHGoov.js} +1 -1
  96. package/dist/client/assets/{chatThreadActions-DQ8aOQ1g.js → chatThreadActions-BZvyhfKr.js} +1 -1
  97. package/dist/client/assets/{collapsible-dxy6kc2k.js → collapsible-EhAEe5S9.js} +1 -1
  98. package/dist/client/assets/{command-CGNKG_Oe.js → command-Cyn6yIEa.js} +1 -1
  99. package/dist/client/assets/composerDraftStore-TYv9j3vY.js +11 -0
  100. package/dist/client/assets/{data-list-CYKBxN62.js → data-list-DTdqWMGN.js} +1 -1
  101. package/dist/client/assets/{desktopUpdateAtoms-CyfPW2jg.js → desktopUpdateAtoms-CPlZiFRm.js} +1 -1
  102. package/dist/client/assets/{desktopWorkspace-DHUZEpfy.js → desktopWorkspace-DEZ30LlY.js} +1 -1
  103. package/dist/client/assets/device-CHdXzvhB.js +168 -0
  104. package/dist/client/assets/{dialog-DQsYchqu.js → dialog-BNmFD6Nh.js} +1 -1
  105. package/dist/client/assets/{draft-input-CkzOk8BY.js → draft-input-dP7F8odz.js} +1 -1
  106. package/dist/client/assets/editorPreferences-B4GvqMiF.js +1 -0
  107. package/dist/client/assets/{empty-DwzqNgCP.js → empty-Ccxhyvdf.js} +1 -1
  108. package/dist/client/assets/{env-B4arEvJg.js → env-Bcq9YR3B.js} +1 -1
  109. package/dist/client/assets/{getPseudoElementBounds-X62ElHN8.js → getPseudoElementBounds-CO5HJT7x.js} +1 -1
  110. package/dist/client/assets/{group-D9ER9giz.js → group-CzdKmc45.js} +1 -1
  111. package/dist/client/assets/{index-CQmEMMQH.js → index-Gre6bNC8.js} +2 -2
  112. package/dist/client/assets/{input-CHEwW3oH.js → input-BZz4eLRl.js} +1 -1
  113. package/dist/client/assets/{kbd-DCGQZk18.js → kbd-DbvN3zTb.js} +1 -1
  114. package/dist/client/assets/{keybindings-CWJ7E9ZI.js → keybindings-BPE3eEAM.js} +1 -1
  115. package/dist/client/assets/{label-CVFHsLFO.js → label-DZf4lbNF.js} +1 -1
  116. package/dist/client/assets/{lib-qiiNMGgU.js → lib-DgOYoged.js} +1 -1
  117. package/dist/client/assets/{liquidGlass-CPsvmaF0.js → liquidGlass-yFkZrRk5.js} +1 -1
  118. package/dist/client/assets/{logging-M8H3z7rQ.js → logging-81iP6Hps.js} +1 -1
  119. package/dist/client/assets/main-DlGNPwsH.css +2 -0
  120. package/dist/client/assets/main-Dz0zookE.js +9 -0
  121. package/dist/client/assets/{menu-Dvxh8sD5.js → menu-B6UEFcn0.js} +1 -1
  122. package/dist/client/assets/{popover-CuH9Yrj3.js → popover-BuYzXGwl.js} +1 -1
  123. package/dist/client/assets/primary-CiDY2oUi.js +2 -0
  124. package/dist/client/assets/projectPaths-D6fHIU1b.js +1 -0
  125. package/dist/client/assets/{providerDriverMeta-I0TSo-QI.js → providerDriverMeta-sBwZhQoN.js} +1 -1
  126. package/dist/client/assets/{providerIconUtils-X0Z3EK-Q.js → providerIconUtils-DiDJeNtT.js} +1 -1
  127. package/dist/client/assets/providerInstances-vd2eZtHx.js +1 -0
  128. package/dist/client/assets/providerModels-vd2eZtHx.js +1 -0
  129. package/dist/client/assets/{qr-code-Bddq6K7S.js → qr-code-Ie92aZvE.js} +1 -1
  130. package/dist/client/assets/{radio-group-CBZFr4C8.js → radio-group-BuuTEtdC.js} +1 -1
  131. package/dist/client/assets/{resolveAriaLabelledBy-CD_ugzhJ.js → resolveAriaLabelledBy-0FA0k4xp.js} +1 -1
  132. package/dist/client/assets/{rightPanelRouteSearch-DB5gQGHK.js → rightPanelRouteSearch-BS8CkNS6.js} +1 -1
  133. package/dist/client/assets/runtime-CPM0EUhb.js +1 -0
  134. package/dist/client/assets/{scroll-area-Drsa8bNB.js → scroll-area-C0yF015F.js} +1 -1
  135. package/dist/client/assets/{scrollEdges-B-cqxY4l.js → scrollEdges-DI5Y3mtR.js} +1 -1
  136. package/dist/client/assets/{select-BYbVr-yg.js → select-CZukJlTn.js} +1 -1
  137. package/dist/client/assets/{separator-CdS5bi4Z.js → separator-D4ckGtPe.js} +1 -1
  138. package/dist/client/assets/session-logic-BalPN1Sc.js +4 -0
  139. package/dist/client/assets/{settingsDialogStore-ygYoScKe.js → settingsDialogStore-LxRFC5hh.js} +1 -1
  140. package/dist/client/assets/{settingsLayout-D8glO7f1.js → settingsLayout-CHJT5wtl.js} +1 -1
  141. package/dist/client/assets/{sheet-BO78gIKZ.js → sheet-BNfImQ-7.js} +1 -1
  142. package/dist/client/assets/{sidebar-Dm6l2GA6.js → sidebar-CFGg5Tkr.js} +1 -1
  143. package/dist/client/assets/sidebarProjectFolders-bhNsO9Z_.js +4 -0
  144. package/dist/client/assets/{sidebarStatusText-D0HT0fek.js → sidebarStatusText-C8QBhZhZ.js} +1 -1
  145. package/dist/client/assets/{skeleton-CvQSeJbw.js → skeleton-DOgQaVXv.js} +1 -1
  146. package/dist/client/assets/{spinner-ClF0jOcX.js → spinner-ClQu8SdC.js} +1 -1
  147. package/dist/client/assets/{src-Vf4LVnMX.js → src-DmPIm3ie.js} +1 -1
  148. package/dist/client/assets/storeSelectors-Cf2WDMfx.js +1 -0
  149. package/dist/client/assets/{switch-BTGo9Yip.js → switch-BZjA7VT9.js} +1 -1
  150. package/dist/client/assets/{terminal-links-CZ3c9AbA.js → terminal-links-CzJomeox.js} +1 -1
  151. package/dist/client/assets/{textarea-RFPODxWW.js → textarea-DHdmRD1r.js} +1 -1
  152. package/dist/client/assets/threadPinning-BLqwZebi.js +1 -0
  153. package/dist/client/assets/{threadPriorityRefreshRuntime-Ct5pnIbX.js → threadPriorityRefreshRuntime-BoNAlBXK.js} +1 -1
  154. package/dist/client/assets/{toast-CcSCAm4B.js → toast-C-0Ft2jD.js} +1 -1
  155. package/dist/client/assets/{toggle-I6h33Cu5.js → toggle-DsnOFDbJ.js} +1 -1
  156. package/dist/client/assets/{toggle-group-mLIkiJtU.js → toggle-group-Chxh9G6t.js} +1 -1
  157. package/dist/client/assets/{tooltip-C8sAONBj.js → tooltip-C_-9XEfA.js} +1 -1
  158. package/dist/client/assets/types-Cf2WDMfx.js +1 -0
  159. package/dist/client/assets/{uiStateStore-B6pjzSjj.js → uiStateStore-DzUrk2GS.js} +1 -1
  160. package/dist/client/assets/useAtlassian-CoHKzu-e.js +0 -0
  161. package/dist/client/assets/{useButton-D__1LqCF.js → useButton-BmvYhoMC.js} +1 -1
  162. package/dist/client/assets/{useCompositeListItem-Cmr_nuuG.js → useCompositeListItem-D0PvH4nv.js} +1 -1
  163. package/dist/client/assets/{useDebouncedValue-DHjoudTq.js → useDebouncedValue-s0BC8Yyp.js} +1 -1
  164. package/dist/client/assets/{useFloatingRootContext-D5EZmrCa.js → useFloatingRootContext-CLCaQEJk.js} +1 -1
  165. package/dist/client/assets/{useHandleNewThread-DX2FtXcP.js → useHandleNewThread-Bw460iXT.js} +1 -1
  166. package/dist/client/assets/{useLabelableId-DnQJ7amm.js → useLabelableId-CB_9OReR.js} +1 -1
  167. package/dist/client/assets/{useLocation-CDeYzWW6.js → useLocation-DGJMt6gP.js} +1 -1
  168. package/dist/client/assets/{useOpenInteractionType-CjtpACKR.js → useOpenInteractionType-BSSI2GzS.js} +1 -1
  169. package/dist/client/assets/{usePhoneThreadActions-BEa3VzGG.js → usePhoneThreadActions-BIDUSWSI.js} +1 -1
  170. package/dist/client/assets/{usePopupViewport-BuhsNdVy.js → usePopupViewport-8F-J1h5f.js} +1 -1
  171. package/dist/client/assets/{useScrollLock-D3tMGsRk.js → useScrollLock-CBz-5_MX.js} +1 -1
  172. package/dist/client/assets/{useStatistics-CtunoTE-.js → useStatistics-B91973jb.js} +2 -2
  173. package/dist/client/assets/{useSwipeDismiss-CbgDJvw1.js → useSwipeDismiss-D22_vuiH.js} +1 -1
  174. package/dist/client/assets/{useTheme-DiC-5xCb.js → useTheme-By1kfyiU.js} +1 -1
  175. package/dist/client/assets/{useThreadActions-fN-Al13y.js → useThreadActions-BCH01d6u.js} +1 -1
  176. package/dist/client/assets/{useTriggerFocusGuards-CrugmkhX.js → useTriggerFocusGuards-f7afwACm.js} +1 -1
  177. package/dist/client/assets/{useValueChanged-MQtIzPIU.js → useValueChanged-EkWF0C3k.js} +1 -1
  178. package/dist/client/assets/{utils-BofFIn5Y.js → utils-CV2fJJxC.js} +1 -1
  179. package/dist/client/index.html +1 -1
  180. package/dist/{collectUint8StreamText-Bb52hlpd.cjs → collectUint8StreamText-Dsbmrw73.cjs} +48 -10
  181. package/dist/{collectUint8StreamText-EDg4F0TU.mjs → collectUint8StreamText-oFvWyN3_.mjs} +37 -11
  182. package/dist/{makeManagedServerProvider-itynW7xv.cjs → makeManagedServerProvider-CANTNAsz.cjs} +9 -2
  183. package/dist/{makeManagedServerProvider-Cf8bNWwc.mjs → makeManagedServerProvider-PLtJj7EV.mjs} +10 -3
  184. package/package.json +1 -1
  185. package/dist/client/assets/AppearanceSettings-CYbSApl4.js +0 -1
  186. package/dist/client/assets/ChatRightPanel-BIS1DPGa.js +0 -27
  187. package/dist/client/assets/CommandPaletteDialog-C5xAo65V.js +0 -1
  188. package/dist/client/assets/DialogRoot-BpIvUdm7.js +0 -1
  189. package/dist/client/assets/GlassSurface-C3IIWMu9.js +0 -1
  190. package/dist/client/assets/HostedHubRoot-Cc8GYcK6.js +0 -1
  191. package/dist/client/assets/KeybindingsSettings-D2bNQPI-.js +0 -7
  192. package/dist/client/assets/PhoneHome-BtPE7bQn.js +0 -1
  193. package/dist/client/assets/PhoneSettingsSurface-tcFCccEL.js +0 -1
  194. package/dist/client/assets/ProvidersSettingsPanel-B3aBKY--.js +0 -1
  195. package/dist/client/assets/RootAppShell-C-0ChFVJ.js +0 -6
  196. package/dist/client/assets/SettingsDialog-Bbuoh793.js +0 -1
  197. package/dist/client/assets/SourceControlSettings-CkiYR4lR.js +0 -1
  198. package/dist/client/assets/ThreadStatusIndicators-ZImeLExQ.js +0 -0
  199. package/dist/client/assets/appearancePreferences-COvj0WMT.js +0 -1
  200. package/dist/client/assets/authorization-mIJKV2yp.js +0 -1
  201. package/dist/client/assets/composerDraftStore-CdJJZe42.js +0 -11
  202. package/dist/client/assets/device-B_qvyvtW.js +0 -168
  203. package/dist/client/assets/editorPreferences-DHIJntKF.js +0 -1
  204. package/dist/client/assets/main-BKS5Nf2_.js +0 -9
  205. package/dist/client/assets/main-DaYHZt-J.css +0 -2
  206. package/dist/client/assets/panel-right-BodNpkM9.js +0 -1
  207. package/dist/client/assets/primary-BzLEg2w1.js +0 -2
  208. package/dist/client/assets/projectPaths-BAd6NFcE.js +0 -1
  209. package/dist/client/assets/providerInstances-BJcfB_9E.js +0 -1
  210. package/dist/client/assets/providerModels-BJcfB_9E.js +0 -1
  211. package/dist/client/assets/runtime-CXut_g4p.js +0 -1
  212. package/dist/client/assets/session-logic-GZix7S2I.js +0 -4
  213. package/dist/client/assets/sidebarProjectFolders-cnmz3B_-.js +0 -4
  214. package/dist/client/assets/storeSelectors-DYekgeHu.js +0 -1
  215. package/dist/client/assets/types-DYekgeHu.js +0 -1
  216. package/dist/client/assets/useAppearancePreference-BlLlxQl7.js +0 -1
  217. package/dist/client/assets/useAtlassian-9-hy2f8z.js +0 -0
@@ -0,0 +1 @@
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./index-Gre6bNC8.js";import{t as r}from"./compiler-runtime-qmuS0Svy.js";import{n as i,t as a}from"./env-Bcq9YR3B.js";import{Jn as o,Jt as s,N as c,Vn as l,Yn as u,bn as d,yn as f}from"./runtime-CPM0EUhb.js";import{i as p}from"./primary-CiDY2oUi.js";import{It as m}from"./composerDraftStore-TYv9j3vY.js";import{d as h,l as g}from"./useSwipeDismiss-D22_vuiH.js";import{t as _}from"./useNavigate-2tVq4iZ2.js";import{t as v}from"./settingsDialogStore-LxRFC5hh.js";import{o as y}from"./desktopWorkspace-DEZ30LlY.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-COWRB29-.js";import{m as w,p as re}from"./desktopUpdateAtoms-CPlZiFRm.js";import{t as T}from"./chart-column-Dw6ACmXM.js";import{t as E}from"./git-branch-BKr-Ij4u.js";import{t as D}from"./keyboard-BqeRMHfL.js";import{t as O}from"./palette-BSD_aJZg.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-CV2fJJxC.js";import{t as ce}from"./scroll-area-C0yF015F.js";import{t as M}from"./button-DG8WqjNn.js";import{c as le,s as ue,t as de}from"./dialog-BNmFD6Nh.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:O},{id:`keybindings`,label:`Keybindings`,icon:D},{id:`source-control`,label:`Source Control`,icon:E},{id:`connections`,label:`Connections`,icon:te},{id:`security`,label:`Security`,icon:oe},{id:`diagnostics`,label:`Diagnostics`,icon:ee},{id:`statistics`,label:`Statistics`,icon:T},{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-Cey-16wq.js`).then(e=>({default:e.AccountSettingsPanel})),[])),be=(0,N.lazy)(()=>n(()=>import(`./ProvidersSettingsPanel-FYBEqSr_.js`).then(e=>({default:e.ProvidersSettingsPanel})),[])),L=(0,N.lazy)(()=>n(()=>import(`./AiFocusSettings-CaHQXDaQ.js`).then(e=>({default:e.AiFocusSettings})),[])),R=(0,N.lazy)(()=>n(()=>import(`./OpinionatedPluginsSettings-DbxPOokL.js`).then(e=>({default:e.OpinionatedPluginsSettingsPanel})),[])),xe=(0,N.lazy)(()=>n(()=>import(`./IntegrationsSettingsPanel-BFTAvxtn.js`).then(e=>({default:e.IntegrationsSettingsPanel})),[])),Se=(0,N.lazy)(()=>n(()=>import(`./AppearanceSettings-B6UaU-_a.js`).then(e=>({default:e.AppearanceSettingsPanel})),[])),z=(0,N.lazy)(()=>n(()=>import(`./KeybindingsSettings-VYgbhiZF.js`).then(e=>({default:e.KeybindingsSettingsPanel})),[])),B=(0,N.lazy)(()=>n(()=>import(`./SourceControlSettings-DvBNelcO.js`).then(e=>({default:e.SourceControlSettingsPanel})),[])),Ce=(0,N.lazy)(()=>n(()=>import(`./ConnectionsSettings-B0-Hkwof.js`).then(e=>({default:e.ConnectionsSettings})),[])),V=(0,N.lazy)(()=>n(()=>import(`./NodeSecuritySettings-DW9GJ-kU.js`).then(e=>({default:e.NodeSecuritySettings})),[])),H=(0,N.lazy)(()=>n(()=>import(`./DiagnosticsSettings-DX5LH9Bt.js`).then(e=>({default:e.DiagnosticsSettings})),[])),U=(0,N.lazy)(()=>n(()=>import(`./StatisticsSettingsLink-B7SZerf3.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)(re,{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=l(),ee=s(Le),te=y(),b=v(Ie),x=v(Fe),ne=v(Pe),S=v(Ne),C=v(Me),w=u({requestedEnvironmentId:ne,routedEnvironmentId:r,activeEnvironmentId:ee,primaryEnvironmentId:m?.environmentId??null}),re=f(e=>w?e.byId[w]??null:null),T=d(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=c(je),A=c(Ae),j=c(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)(o,{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};
@@ -1,3 +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-B4arEvJg.js";import{T as a,V as o,ct as s,vl as c}from"./src-Vf4LVnMX.js";import{Bn as l,Ft as u,Gn as d,Gt as f,Jt as p,Rn as m,Sn as h,Xn as g,xn as _,zn as v}from"./runtime-CXut_g4p.js";import{It as y}from"./composerDraftStore-CdJJZe42.js";import{i as b,t as x}from"./branding-BDfN6Spd.js";import{f as S}from"./useRenderElement-DchFnsR8.js";import{c as C,l as w,m as T,n as E,o as D,r as O,s as k,t as A}from"./desktopUpdateAtoms-CyfPW2jg.js";import{t as j}from"./chevron-right-BWYGybX9.js";import{i as M}from"./toast-CcSCAm4B.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-C8sAONBj.js";import{t as F}from"./switch-BTGo9Yip.js";import{t as I}from"./ProjectFavicon-qZGdjYCM.js";import{t as re}from"./button-BAbJxRzt.js";import{t as L}from"./toastHelpers-CSQRKo4F.js";import{t as ie}from"./capabilities-3zgirmmI.js";import{t as R}from"./useThreadActions-fN-Al13y.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-BYbVr-yg.js";import{r as le,t as V}from"./editorPreferences-DHIJntKF.js";import{t as H}from"./RycoLetterMark-Bk0kvGJ_.js";import{t as U}from"./useLongPress-OGlhYKlH.js";import{t as W}from"./useTheme-DiC-5xCb.js";import{a as ue,i as G,o as K,r as de,t as q}from"./empty-DwzqNgCP.js";import{i as fe,n as pe,r as J,t as Y}from"./settingsLayout-D8glO7f1.js";import{i as me}from"./settingsSections.logic-F8RXVmAq.js";import{n as he,t as ge}from"./SettingsPanels.editor-B2x4U4rW.js";import{n as _e,r as ve,t as ye}from"./collapsible-dxy6kc2k.js";import{t as be}from"./draft-input-CkzOk8BY.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){_().shell.openExternal(e).catch(e=>{M.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=E(),[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?w(r):`none`;if(t===`download`){e.downloadUpdate().then(We).catch(Ue);return}if(t===`install`){if(!window.confirm(k(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?w(r):`none`,t[4]=r,t[5]=f);let p=f,m;t[6]===r?m=t[7]:(m=r?D(r):null,t[6]=r,t[7]=m);let h=m,g;t[8]!==p||t[9]!==r?(g=p===`none`?!O(r):C(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`,T=p===`download`||p===`install`?`Update available.`:`Current version of the application.`,A;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,Z.jsx)(Pe,{}),t[13]=A):A=t[13];let j=p===`install`?`default`:`outline`,M;t[14]!==_||t[15]!==S||t[16]!==d||t[17]!==j?(M=(0,Z.jsx)(ee,{render:(0,Z.jsx)(re,{size:`xs`,variant:j,disabled:_,onClick:d,children:S})}),t[14]=_,t[15]=S,t[16]=d,t[17]=j,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]!==T||t[25]!==n||t[26]!==P?(F=(0,Z.jsx)(J,{title:A,description:T,scope:n,control:P}),t[24]=T,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){M.add(L({type:`error`,title:`Could not check for updates`,description:e instanceof Error?e.message:`Update check failed.`}))}function Be(e){A(e.state),e.checked||M.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){M.add(L({type:`error`,title:`Could not install update`,description:e instanceof Error?e.message:`Install failed.`}))}function He(e){A(e.state)}function Ue(e){M.add(L({type:`error`,title:`Could not download update`,description:e instanceof Error?e.message:`Download failed.`}))}function We(e){A(e.state)}function Ge(e){M.add(L({type:`error`,title:`Could not change update track`,description:e instanceof Error?e.message:`Update track change failed.`}))}function Ke(e){A(e)}function qe(e){let t=(0,X.c)(53),{theme:n,setTheme:r}=W(),i=m(),{updateSettings:o}=v(),s;t[0]===i.textGenerationModelSelection?s=t[1]:(s=c(i.textGenerationModelSelection??null,a.textGenerationModelSelection??null),t[0]=i.textGenerationModelSelection,t[1]=s);let l=!s,u;t[2]===n?u=t[3]:(u=n===`system`?[]:[`Theme`],t[2]=n,t[3]=u);let d;t[4]===i.timestampFormat?d=t[5]:(d=i.timestampFormat===a.timestampFormat?[]:[`Time format`],t[4]=i.timestampFormat,t[5]=d);let f;t[6]===i.diffWordWrap?f=t[7]:(f=i.diffWordWrap===a.diffWordWrap?[]:[`Diff line wrapping`],t[6]=i.diffWordWrap,t[7]=f);let p;t[8]===i.diffIgnoreWhitespace?p=t[9]:(p=i.diffIgnoreWhitespace===a.diffIgnoreWhitespace?[]:[`Diff whitespace changes`],t[8]=i.diffIgnoreWhitespace,t[9]=p);let g;t[10]===i.gitStatusPollIntervalMs?g=t[11]:(g=i.gitStatusPollIntervalMs===a.gitStatusPollIntervalMs?[]:[`Remote Git status`],t[10]=i.gitStatusPollIntervalMs,t[11]=g);let y;t[12]===i.sourceControlRefreshMode?y=t[13]:(y=i.sourceControlRefreshMode===a.sourceControlRefreshMode?[]:[`PR & workflow updates`],t[12]=i.sourceControlRefreshMode,t[13]=y);let b;t[14]===i.autoOpenPlanSidebar?b=t[15]:(b=i.autoOpenPlanSidebar===a.autoOpenPlanSidebar?[]:[`Auto-open overview`],t[14]=i.autoOpenPlanSidebar,t[15]=b);let x;t[16]===i.enableLegacyTokenStreaming?x=t[17]:(x=i.enableLegacyTokenStreaming===a.enableLegacyTokenStreaming?[]:[`Stream token by token`],t[16]=i.enableLegacyTokenStreaming,t[17]=x);let S;t[18]===i.enableProviderUpdateChecks?S=t[19]:(S=i.enableProviderUpdateChecks===a.enableProviderUpdateChecks?[]:[`Provider update checks`],t[18]=i.enableProviderUpdateChecks,t[19]=S);let C;t[20]===i.defaultThreadEnvMode?C=t[21]:(C=i.defaultThreadEnvMode===a.defaultThreadEnvMode?[]:[`New thread mode`],t[20]=i.defaultThreadEnvMode,t[21]=C);let w;t[22]===i.addProjectBaseDirectory?w=t[23]:(w=i.addProjectBaseDirectory===a.addProjectBaseDirectory?[]:[`Add project base directory`],t[22]=i.addProjectBaseDirectory,t[23]=w);let T;t[24]===i.confirmThreadArchive?T=t[25]:(T=i.confirmThreadArchive===a.confirmThreadArchive?[]:[`Archive confirmation`],t[24]=i.confirmThreadArchive,t[25]=T);let E;t[26]===i.confirmThreadDelete?E=t[27]:(E=i.confirmThreadDelete===a.confirmThreadDelete?[]:[`Delete confirmation`],t[26]=i.confirmThreadDelete,t[27]=E);let D;t[28]===l?D=t[29]:(D=l?[`Git writing model`]:[],t[28]=l,t[29]=D);let O;t[30]!==u||t[31]!==C||t[32]!==w||t[33]!==T||t[34]!==E||t[35]!==D||t[36]!==d||t[37]!==f||t[38]!==p||t[39]!==g||t[40]!==y||t[41]!==b||t[42]!==x||t[43]!==S?(O=[...u,...d,...f,...p,...g,...y,...b,...x,...S,...C,...w,...T,...E,...D],t[30]=u,t[31]=C,t[32]=w,t[33]=T,t[34]=E,t[35]=D,t[36]=d,t[37]=f,t[38]=p,t[39]=g,t[40]=y,t[41]=b,t[42]=x,t[43]=S,t[44]=O):O=t[44];let k=O,A;t[45]!==k||t[46]!==e||t[47]!==r||t[48]!==o?(A=async()=>{k.length!==0&&await(h()??_()).dialogs.confirm([`Restore default settings?`,`This will reset: ${k.join(`, `)}.`].join(`
2
- `))&&(r(`system`),o({timestampFormat:a.timestampFormat,diffWordWrap:a.diffWordWrap,diffIgnoreWhitespace:a.diffIgnoreWhitespace,gitStatusPollIntervalMs:a.gitStatusPollIntervalMs,sourceControlRefreshMode:a.sourceControlRefreshMode,autoOpenPlanSidebar:a.autoOpenPlanSidebar,enableLegacyTokenStreaming:a.enableLegacyTokenStreaming,enableProviderUpdateChecks:a.enableProviderUpdateChecks,defaultThreadEnvMode:a.defaultThreadEnvMode,addProjectBaseDirectory:a.addProjectBaseDirectory,confirmThreadArchive:a.confirmThreadArchive,confirmThreadDelete:a.confirmThreadDelete,textGenerationModelSelection:a.textGenerationModelSelection}),e?.())},t[45]=k,t[46]=e,t[47]=r,t[48]=o,t[49]=A):A=t[49];let j=A,M;return t[50]!==k||t[51]!==j?(M={changedSettingLabels:k,restoreDefaults:j},t[50]=k,t[51]=j,t[52]=M):M=t[52],M}function Je(e){let t=(0,X.c)(19),{searchTargetId:n,nodeScopeLabel:r}=e,i=m(),{updateSettings:o}=v(),s=n===`legacy-token-streaming`,[c,l]=(0,Te.useState)(s),u=(0,Te.useRef)(null),d,f;t[0]===s?(d=t[1],f=t[2]):(d=()=>{if(!s)return;l(!0);let e=requestAnimationFrame(()=>{u.current?.scrollIntoView({block:`center`}),u.current?.querySelector(`[role=switch]`)?.focus()});return()=>cancelAnimationFrame(e)},f=[s],t[0]=s,t[1]=d,t[2]=f),(0,Te.useEffect)(d,f);let p;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=(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)(j,{"aria-hidden":!0,className:`size-3.5 text-muted-foreground/60 transition-transform duration-200 group-data-panel-open:rotate-90`})]}),t[3]=p):p=t[3];let g;t[4]!==i.enableLegacyTokenStreaming||t[5]!==o?(g=i.enableLegacyTokenStreaming===a.enableLegacyTokenStreaming?null:(0,Z.jsx)(Y,{label:`legacy token streaming`,onClick:()=>o({enableLegacyTokenStreaming:a.enableLegacyTokenStreaming})}),t[4]=i.enableLegacyTokenStreaming,t[5]=o,t[6]=g):g=t[6];let y;t[7]===o?y=t[8]:(y=e=>{if(!e){o({enableLegacyTokenStreaming:!1});return}(async()=>{await(h()??_()).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
- `))&&o({enableLegacyTokenStreaming:!0})})()},t[7]=o,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]!==g||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:u,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:g,control:b})})})})}),t[12]=r,t[13]=g,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:l,children:[p,x]})}),t[16]=c,t[17]=x,t[18]=S):S=t[18],S}function Ye(e){let t=(0,X.c)(241),{searchTargetId:n}=e,r=n===void 0?null:n,o=m(),{updateSettings:c}=v(),u=z()===`phone`,f=g(),p=f?.nodeLabel??null,h,y,b;if(t[0]!==p){let e={nativeClient:i,nodeLabel:p};y=me(`browser`,e),h=me(`device`,e),b=me(`node`,e),t[0]=p,t[1]=h,t[2]=y,t[3]=b}else h=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=l(),k=d(),A=k?.logsDirectoryPath??null,j=!f||f.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}_().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]!==o.timestampFormat||t[14]!==c?(R=o.timestampFormat===a.timestampFormat?null:(0,Z.jsx)(Y,{label:`time format`,onClick:()=>c({timestampFormat:a.timestampFormat})}),t[13]=o.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[o.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]!==o.timestampFormat||t[22]!==W||t[23]!==H?(G=(0,Z.jsxs)(ce,{value:o.timestampFormat,onValueChange:H,children:[W,ue]}),t[21]=o.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]!==o.preferredEditor||t[30]!==c?(q=o.preferredEditor===a.preferredEditor?null:(0,Z.jsx)(Y,{label:`default editor`,onClick:()=>c({preferredEditor:a.preferredEditor})}),t[29]=o.preferredEditor,t[30]=c,t[31]=q):q=t[31];let ge=o.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]===o.preferredEditor?ve=t[35]:(ve=o.preferredEditor?(0,Z.jsx)(Ne,{editor:o.preferredEditor}):null,t[34]=o.preferredEditor,t[35]=ve);let ye;t[36]===o.preferredEditor?ye=t[37]:(ye=o.preferredEditor?he(o.preferredEditor,navigator.platform):`Auto (last used)`,t[36]=o.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]!==o.diffWordWrap||t[59]!==c?(ze=o.diffWordWrap===a.diffWordWrap?null:(0,Z.jsx)(Y,{label:`diff line wrapping`,onClick:()=>c({diffWordWrap:a.diffWordWrap})}),t[58]=o.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]!==o.diffWordWrap||t[64]!==Be?(Ve=(0,Z.jsx)(F,{checked:o.diffWordWrap,onCheckedChange:Be,"aria-label":`Wrap diff lines by default`}),t[63]=o.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]!==o.diffIgnoreWhitespace||t[71]!==c?(Ue=o.diffIgnoreWhitespace===a.diffIgnoreWhitespace?null:(0,Z.jsx)(Y,{label:`diff whitespace changes`,onClick:()=>c({diffIgnoreWhitespace:a.diffIgnoreWhitespace})}),t[70]=o.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]!==o.diffIgnoreWhitespace||t[76]!==We?(Ge=(0,Z.jsx)(F,{checked:o.diffIgnoreWhitespace,onCheckedChange:We,"aria-label":`Hide whitespace changes by default`}),t[75]=o.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]!==o.gitStatusPollIntervalMs||t[83]!==c?(qe=o.gitStatusPollIntervalMs===a.gitStatusPollIntervalMs?null:(0,Z.jsx)(Y,{label:`git status polling`,onClick:()=>c({gitStatusPollIntervalMs:a.gitStatusPollIntervalMs})}),t[82]=o.gitStatusPollIntervalMs,t[83]=c,t[84]=qe):qe=t[84];let Ye=String(o.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[o.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]!==o.sourceControlRefreshMode||t[99]!==c?(it=o.sourceControlRefreshMode===a.sourceControlRefreshMode?null:(0,Z.jsx)(Y,{label:`PR and workflow updates`,onClick:()=>c({sourceControlRefreshMode:a.sourceControlRefreshMode})}),t[98]=o.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[o.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]!==o.sourceControlRefreshMode||t[107]!==at||t[108]!==st?(lt=(0,Z.jsxs)(ce,{value:o.sourceControlRefreshMode,onValueChange:at,children:[st,ct]}),t[106]=o.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]!==o.enableProviderUpdateChecks||t[115]!==c?(dt=o.enableProviderUpdateChecks===a.enableProviderUpdateChecks?null:(0,Z.jsx)(Y,{label:`provider update checks`,onClick:()=>c({enableProviderUpdateChecks:a.enableProviderUpdateChecks})}),t[114]=o.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]!==o.enableProviderUpdateChecks||t[120]!==ft?(pt=(0,Z.jsx)(F,{checked:o.enableProviderUpdateChecks,onCheckedChange:ft,"aria-label":`Check providers for updates`}),t[119]=o.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]!==o.autoOpenPlanSidebar||t[127]!==c?(ht=o.autoOpenPlanSidebar===a.autoOpenPlanSidebar?null:(0,Z.jsx)(Y,{label:`auto-open overview`,onClick:()=>c({autoOpenPlanSidebar:a.autoOpenPlanSidebar})}),t[126]=o.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]!==o.autoOpenPlanSidebar||t[132]!==gt?(_t=(0,Z.jsx)(F,{checked:o.autoOpenPlanSidebar,onCheckedChange:gt,"aria-label":`Open the overview automatically`}),t[131]=o.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]!==o.defaultThreadEnvMode||t[139]!==c?(yt=o.defaultThreadEnvMode===a.defaultThreadEnvMode?null:(0,Z.jsx)(Y,{label:`new threads`,onClick:()=>c({defaultThreadEnvMode:a.defaultThreadEnvMode})}),t[138]=o.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=o.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]!==o.defaultThreadEnvMode||t[147]!==bt||t[148]!==St?(wt=(0,Z.jsxs)(ce,{value:o.defaultThreadEnvMode,onValueChange:bt,children:[St,Ct]}),t[146]=o.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]!==o.addProjectBaseDirectory||t[155]!==c?(Et=o.addProjectBaseDirectory===a.addProjectBaseDirectory?null:(0,Z.jsx)(Y,{label:`add project base directory`,onClick:()=>c({addProjectBaseDirectory:a.addProjectBaseDirectory})}),t[154]=o.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]!==o.addProjectBaseDirectory||t[160]!==Dt?(Ot=(0,Z.jsx)(be,{className:`w-full sm:w-72`,value:o.addProjectBaseDirectory,onCommit:Dt,placeholder:`~/`,spellCheck:!1,"aria-label":`Add project base directory`}),t[159]=o.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]!==o.confirmThreadArchive||t[167]!==c?(At=o.confirmThreadArchive===a.confirmThreadArchive?null:(0,Z.jsx)(Y,{label:`archive confirmation`,onClick:()=>c({confirmThreadArchive:a.confirmThreadArchive})}),t[166]=o.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]!==o.confirmThreadArchive||t[172]!==jt?(Mt=(0,Z.jsx)(F,{checked:o.confirmThreadArchive,onCheckedChange:jt,"aria-label":`Confirm thread archiving`}),t[171]=o.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]!==o.confirmThreadDelete||t[179]!==c?(Pt=o.confirmThreadDelete===a.confirmThreadDelete?null:(0,Z.jsx)(Y,{label:`delete confirmation`,onClick:()=>c({confirmThreadDelete:a.confirmThreadDelete})}),t[178]=o.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]!==o.confirmThreadDelete||t[184]!==Ft?(It=(0,Z.jsx)(F,{checked:o.confirmThreadDelete,onCheckedChange:Ft,"aria-label":`Confirm thread deletion`}),t[183]=o.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]!==h||t[191]!==o.notifyOnTurnCompleteWhenUnfocused||t[192]!==c?(Rt=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:h,resetAction:o.notifyOnTurnCompleteWhenUnfocused===a.notifyOnTurnCompleteWhenUnfocused?null:(0,Z.jsx)(Y,{label:`turn-complete notifications`,onClick:()=>c({notifyOnTurnCompleteWhenUnfocused:a.notifyOnTurnCompleteWhenUnfocused})}),control:(0,Z.jsx)(F,{checked:o.notifyOnTurnCompleteWhenUnfocused,onCheckedChange:e=>c({notifyOnTurnCompleteWhenUnfocused:!!e}),"aria-label":`Notify when a turn completes while unfocused`})}):null,t[190]=h,t[191]=o.notifyOnTurnCompleteWhenUnfocused,t[192]=c,t[193]=Rt):Rt=t[193];let zt;t[194]!==K||t[195]!==Le||t[196]!==He||t[197]!==Ke||t[198]!==rt||t[199]!==ut||t[200]!==mt||t[201]!==vt||t[202]!==Tt||t[203]!==kt||t[204]!==Nt||t[205]!==Lt||t[206]!==Rt?(zt=(0,Z.jsxs)(fe,{title:`General`,children:[K,Le,He,Ke,rt,ut,mt,vt,Tt,kt,Nt,Lt,Rt]}),t[194]=K,t[195]=Le,t[196]=He,t[197]=Ke,t[198]=rt,t[199]=ut,t[200]=mt,t[201]=vt,t[202]=Tt,t[203]=kt,t[204]=Nt,t[205]=Lt,t[206]=Rt,t[207]=zt):zt=t[207];let Bt;t[208]!==u||t[209]!==x||t[210]!==r?(Bt=u?null:(0,Z.jsx)(Je,{searchTargetId:r,nodeScopeLabel:x}),t[208]=u,t[209]=x,t[210]=r,t[211]=Bt):Bt=t[211];let Vt;t[212]===Symbol.for(`react.memo_cache_sentinel`)?(Vt=(0,Z.jsx)(Ie,{}),t[212]=Vt):Vt=t[212];let Ht;t[213]!==h||t[214]!==y?(Ht=i?(0,Z.jsx)(Re,{scopeLabel:h}):(0,Z.jsx)(J,{title:(0,Z.jsx)(Pe,{}),description:`Current version of the application.`,scope:y}),t[213]=h,t[214]=y,t[215]=Ht):Ht=t[215];let Ut=A??`Resolving logs directory...`,Wt;t[216]===Ut?Wt=t[217]:(Wt=(0,Z.jsx)(`span`,{className:`block break-all font-mono text-[11px] text-foreground`,children:Ut}),t[216]=Ut,t[217]=Wt);let Gt;t[218]!==j||t[219]!==L||t[220]!==f?.nodeLabel?(Gt=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 `,f?.nodeLabel,`; open it from that machine.`]}),t[218]=j,t[219]=L,t[220]=f?.nodeLabel,t[221]=Gt):Gt=t[221];let Kt;t[222]!==Wt||t[223]!==Gt?(Kt=(0,Z.jsxs)(Z.Fragment,{children:[Wt,Gt]}),t[222]=Wt,t[223]=Gt,t[224]=Kt):Kt=t[224];let qt=!j||!A||ie,Jt=ie?`Opening...`:`Open logs folder`,Yt;t[225]!==I||t[226]!==qt||t[227]!==Jt?(Yt=(0,Z.jsx)(re,{size:`xs`,variant:`outline`,disabled:qt,onClick:I,children:Jt}),t[225]=I,t[226]=qt,t[227]=Jt,t[228]=Yt):Yt=t[228];let Xt;t[229]!==P||t[230]!==x||t[231]!==Kt||t[232]!==Yt?(Xt=(0,Z.jsx)(J,{title:`Diagnostics`,description:P,scope:x,status:Kt,control:Yt}),t[229]=P,t[230]=x,t[231]=Kt,t[232]=Yt,t[233]=Xt):Xt=t[233];let Zt;t[234]!==Ht||t[235]!==Xt?(Zt=(0,Z.jsxs)(fe,{title:`About`,children:[Vt,Ht,Xt]}),t[234]=Ht,t[235]=Xt,t[236]=Zt):Zt=t[236];let Qt;return t[237]!==zt||t[238]!==Bt||t[239]!==Zt?(Qt=(0,Z.jsxs)(pe,{children:[zt,Bt,Zt]}),t[237]=zt,t[238]=Bt,t[239]=Zt,t[240]=Qt):Qt=t[240],Qt}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(o.dispatchCommand),n=p(N(u)),r=p(N(f)),{unarchiveThread:i,confirmAndDeleteThread:a}=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]!==a||e[6]!==t.allowed||e[7]!==t.reason||e[8]!==i?(l=async(e,n)=>{if(!t.allowed){M.add(L({type:`warning`,title:`Archived thread is read-only`,description:t.reason??`This action is unavailable.`}));return}let r=h();if(!r)return;let o=await r.contextMenu.show([{id:`unarchive`,label:`Unarchive`},{id:`delete`,label:`Delete`,destructive:!0}],n);if(o===`unarchive`){try{await i(e)}catch(e){let t=e;M.add(L({type:`error`,title:`Failed to unarchive thread`,description:t instanceof Error?t.message:`An error occurred.`}))}return}o===`delete`&&await a(e)},e[5]=a,e[6]=t.allowed,e[7]=t.reason,e[8]=i,e[9]=l):l=e[9];let d=l,m;e[10]!==c||e[11]!==d||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)(T,{})}),(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:d,onUnarchive:i},e.id))},n.id)}),e[10]=c,e[11]=d,e[12]=t.allowed,e[13]=t.reason,e[14]=i,e[15]=m):m=e[15];let g;return e[16]===m?g=e[17]:(g=(0,Z.jsx)(pe,{children:m}),e[16]=m,e[17]=g),g}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){M.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
+ 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-Bcq9YR3B.js";import{T as a,V as o,bl as s,ut as c}from"./src-DmPIm3ie.js";import{Bn as l,Ft as u,Gn as d,Gt as f,Jt as p,Rn as m,Sn as h,Xn as g,xn as _,zn as v}from"./runtime-CPM0EUhb.js";import{It as y}from"./composerDraftStore-TYv9j3vY.js";import{i as b,t as x}from"./branding-B7DcCXjn.js";import{f as S}from"./useRenderElement-DchFnsR8.js";import{c as C,l as w,m as T,n as E,o as D,r as O,s as k,t as A}from"./desktopUpdateAtoms-CPlZiFRm.js";import{t as j}from"./chevron-right-BWYGybX9.js";import{i as M}from"./toast-C-0Ft2jD.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-C_-9XEfA.js";import{t as F}from"./switch-BZjA7VT9.js";import{t as I}from"./ProjectFavicon-CeVJCQCy.js";import{t as re}from"./button-DG8WqjNn.js";import{t as L}from"./toastHelpers-CSQRKo4F.js";import{t as ie}from"./capabilities-B1FHGoov.js";import{t as R}from"./useThreadActions-BCH01d6u.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-CZukJlTn.js";import{r as le,t as V}from"./editorPreferences-B4GvqMiF.js";import{t as H}from"./RycoLetterMark-CZYntY8t.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-Ccxhyvdf.js";import{i as fe,n as pe,r as J,t as Y}from"./settingsLayout-CHJT5wtl.js";import{i as me}from"./settingsSections.logic-F8RXVmAq.js";import{n as he,t as ge}from"./SettingsPanels.editor-lbLEbllb.js";import{n as _e,r as ve,t as ye}from"./collapsible-EhAEe5S9.js";import{t as be}from"./draft-input-dP7F8odz.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){_().shell.openExternal(e).catch(e=>{M.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=E(),[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?w(r):`none`;if(t===`download`){e.downloadUpdate().then(We).catch(Ue);return}if(t===`install`){if(!window.confirm(k(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?w(r):`none`,t[4]=r,t[5]=f);let p=f,m;t[6]===r?m=t[7]:(m=r?D(r):null,t[6]=r,t[7]=m);let h=m,g;t[8]!==p||t[9]!==r?(g=p===`none`?!O(r):C(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`,T=p===`download`||p===`install`?`Update available.`:`Current version of the application.`,A;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,Z.jsx)(Pe,{}),t[13]=A):A=t[13];let j=p===`install`?`default`:`outline`,M;t[14]!==_||t[15]!==S||t[16]!==d||t[17]!==j?(M=(0,Z.jsx)(ee,{render:(0,Z.jsx)(re,{size:`xs`,variant:j,disabled:_,onClick:d,children:S})}),t[14]=_,t[15]=S,t[16]=d,t[17]=j,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]!==T||t[25]!==n||t[26]!==P?(F=(0,Z.jsx)(J,{title:A,description:T,scope:n,control:P}),t[24]=T,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){M.add(L({type:`error`,title:`Could not check for updates`,description:e instanceof Error?e.message:`Update check failed.`}))}function Be(e){A(e.state),e.checked||M.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){M.add(L({type:`error`,title:`Could not install update`,description:e instanceof Error?e.message:`Install failed.`}))}function He(e){A(e.state)}function Ue(e){M.add(L({type:`error`,title:`Could not download update`,description:e instanceof Error?e.message:`Download failed.`}))}function We(e){A(e.state)}function Ge(e){M.add(L({type:`error`,title:`Could not change update track`,description:e instanceof Error?e.message:`Update track change failed.`}))}function Ke(e){A(e)}function qe(e){let t=(0,X.c)(56),{theme:n,setTheme:r}=W(),i=m(),{updateSettings:o}=v(),c;t[0]===i.textGenerationModelSelection?c=t[1]:(c=s(i.textGenerationModelSelection??null,a.textGenerationModelSelection??null),t[0]=i.textGenerationModelSelection,t[1]=c);let l=!c,u;t[2]===n?u=t[3]:(u=n===`system`?[]:[`Theme`],t[2]=n,t[3]=u);let d;t[4]===i.timestampFormat?d=t[5]:(d=i.timestampFormat===a.timestampFormat?[]:[`Time format`],t[4]=i.timestampFormat,t[5]=d);let f;t[6]===i.diffWordWrap?f=t[7]:(f=i.diffWordWrap===a.diffWordWrap?[]:[`Diff line wrapping`],t[6]=i.diffWordWrap,t[7]=f);let p;t[8]===i.diffIgnoreWhitespace?p=t[9]:(p=i.diffIgnoreWhitespace===a.diffIgnoreWhitespace?[]:[`Diff whitespace changes`],t[8]=i.diffIgnoreWhitespace,t[9]=p);let g;t[10]===i.gitStatusPollIntervalMs?g=t[11]:(g=i.gitStatusPollIntervalMs===a.gitStatusPollIntervalMs?[]:[`Remote Git status`],t[10]=i.gitStatusPollIntervalMs,t[11]=g);let y;t[12]===i.sourceControlRefreshMode?y=t[13]:(y=i.sourceControlRefreshMode===a.sourceControlRefreshMode?[]:[`PR & workflow updates`],t[12]=i.sourceControlRefreshMode,t[13]=y);let b;t[14]===i.autoOpenPlanSidebar?b=t[15]:(b=i.autoOpenPlanSidebar===a.autoOpenPlanSidebar?[]:[`Auto-open overview`],t[14]=i.autoOpenPlanSidebar,t[15]=b);let x;t[16]===i.enableLegacyTokenStreaming?x=t[17]:(x=i.enableLegacyTokenStreaming===a.enableLegacyTokenStreaming?[]:[`Stream token by token`],t[16]=i.enableLegacyTokenStreaming,t[17]=x);let S;t[18]===i.enableProviderUpdateChecks?S=t[19]:(S=i.enableProviderUpdateChecks===a.enableProviderUpdateChecks?[]:[`Provider update checks`],t[18]=i.enableProviderUpdateChecks,t[19]=S);let C;t[20]===i.defaultThreadEnvMode?C=t[21]:(C=i.defaultThreadEnvMode===a.defaultThreadEnvMode?[]:[`New thread mode`],t[20]=i.defaultThreadEnvMode,t[21]=C);let w;t[22]===i.addProjectBaseDirectory?w=t[23]:(w=i.addProjectBaseDirectory===a.addProjectBaseDirectory?[]:[`Add project base directory`],t[22]=i.addProjectBaseDirectory,t[23]=w);let T;t[24]===i.confirmThreadArchive?T=t[25]:(T=i.confirmThreadArchive===a.confirmThreadArchive?[]:[`Archive confirmation`],t[24]=i.confirmThreadArchive,t[25]=T);let E;t[26]===i.confirmThreadDelete?E=t[27]:(E=i.confirmThreadDelete===a.confirmThreadDelete?[]:[`Delete confirmation`],t[26]=i.confirmThreadDelete,t[27]=E);let D;t[28]===i.confirmThreadUnpin?D=t[29]:(D=i.confirmThreadUnpin===a.confirmThreadUnpin?[]:[`Unpin confirmation`],t[28]=i.confirmThreadUnpin,t[29]=D);let O;t[30]===l?O=t[31]:(O=l?[`Git writing model`]:[],t[30]=l,t[31]=O);let k;t[32]!==u||t[33]!==C||t[34]!==w||t[35]!==T||t[36]!==E||t[37]!==D||t[38]!==O||t[39]!==d||t[40]!==f||t[41]!==p||t[42]!==g||t[43]!==y||t[44]!==b||t[45]!==x||t[46]!==S?(k=[...u,...d,...f,...p,...g,...y,...b,...x,...S,...C,...w,...T,...E,...D,...O],t[32]=u,t[33]=C,t[34]=w,t[35]=T,t[36]=E,t[37]=D,t[38]=O,t[39]=d,t[40]=f,t[41]=p,t[42]=g,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]!==o?(j=async()=>{A.length!==0&&await(h()??_()).dialogs.confirm([`Restore default settings?`,`This will reset: ${A.join(`, `)}.`].join(`
2
+ `))&&(r(`system`),o({timestampFormat:a.timestampFormat,diffWordWrap:a.diffWordWrap,diffIgnoreWhitespace:a.diffIgnoreWhitespace,gitStatusPollIntervalMs:a.gitStatusPollIntervalMs,sourceControlRefreshMode:a.sourceControlRefreshMode,autoOpenPlanSidebar:a.autoOpenPlanSidebar,enableLegacyTokenStreaming:a.enableLegacyTokenStreaming,enableProviderUpdateChecks:a.enableProviderUpdateChecks,defaultThreadEnvMode:a.defaultThreadEnvMode,addProjectBaseDirectory:a.addProjectBaseDirectory,confirmThreadArchive:a.confirmThreadArchive,confirmThreadDelete:a.confirmThreadDelete,confirmThreadUnpin:a.confirmThreadUnpin,textGenerationModelSelection:a.textGenerationModelSelection}),e?.())},t[48]=A,t[49]=e,t[50]=r,t[51]=o,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=m(),{updateSettings:o}=v(),s=n===`legacy-token-streaming`,[c,l]=(0,Te.useState)(s),u=(0,Te.useRef)(null),d,f;t[0]===s?(d=t[1],f=t[2]):(d=()=>{if(!s)return;l(!0);let e=requestAnimationFrame(()=>{u.current?.scrollIntoView({block:`center`}),u.current?.querySelector(`[role=switch]`)?.focus()});return()=>cancelAnimationFrame(e)},f=[s],t[0]=s,t[1]=d,t[2]=f),(0,Te.useEffect)(d,f);let p;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=(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)(j,{"aria-hidden":!0,className:`size-3.5 text-muted-foreground/60 transition-transform duration-200 group-data-panel-open:rotate-90`})]}),t[3]=p):p=t[3];let g;t[4]!==i.enableLegacyTokenStreaming||t[5]!==o?(g=i.enableLegacyTokenStreaming===a.enableLegacyTokenStreaming?null:(0,Z.jsx)(Y,{label:`legacy token streaming`,onClick:()=>o({enableLegacyTokenStreaming:a.enableLegacyTokenStreaming})}),t[4]=i.enableLegacyTokenStreaming,t[5]=o,t[6]=g):g=t[6];let y;t[7]===o?y=t[8]:(y=e=>{if(!e){o({enableLegacyTokenStreaming:!1});return}(async()=>{await(h()??_()).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
+ `))&&o({enableLegacyTokenStreaming:!0})})()},t[7]=o,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]!==g||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:u,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:g,control:b})})})})}),t[12]=r,t[13]=g,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:l,children:[p,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,o=m(),{updateSettings:s}=v(),u=z()===`phone`,f=g(),p=f?.nodeLabel??null,h,y,b;if(t[0]!==p){let e={nativeClient:i,nodeLabel:p};y=me(`browser`,e),h=me(`device`,e),b=me(`node`,e),t[0]=p,t[1]=h,t[2]=y,t[3]=b}else h=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=l(),k=d(),A=k?.logsDirectoryPath??null,j=!f||f.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}_().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]!==o.timestampFormat||t[14]!==s?(R=o.timestampFormat===a.timestampFormat?null:(0,Z.jsx)(Y,{label:`time format`,onClick:()=>s({timestampFormat:a.timestampFormat})}),t[13]=o.timestampFormat,t[14]=s,t[15]=R):R=t[15];let H;t[16]===s?H=t[17]:(H=e=>{(e===`locale`||e===`12-hour`||e===`24-hour`)&&s({timestampFormat:e})},t[16]=s,t[17]=H);let U=Ee[o.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]!==o.timestampFormat||t[22]!==W||t[23]!==H?(G=(0,Z.jsxs)(ce,{value:o.timestampFormat,onValueChange:H,children:[W,ue]}),t[21]=o.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]!==o.preferredEditor||t[30]!==s?(q=o.preferredEditor===a.preferredEditor?null:(0,Z.jsx)(Y,{label:`default editor`,onClick:()=>s({preferredEditor:a.preferredEditor})}),t[29]=o.preferredEditor,t[30]=s,t[31]=q):q=t[31];let ge=o.preferredEditor??`__auto__`,_e;t[32]===s?_e=t[33]:(_e=e=>{if(e===`__auto__`){s({preferredEditor:null});return}let t=c.find(t=>t.id===e);t&&s({preferredEditor:t.id})},t[32]=s,t[33]=_e);let ve;t[34]===o.preferredEditor?ve=t[35]:(ve=o.preferredEditor?(0,Z.jsx)(Ne,{editor:o.preferredEditor}):null,t[34]=o.preferredEditor,t[35]=ve);let ye;t[36]===o.preferredEditor?ye=t[37]:(ye=o.preferredEditor?he(o.preferredEditor,navigator.platform):`Auto (last used)`,t[36]=o.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=c.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]!==o.diffWordWrap||t[59]!==s?(ze=o.diffWordWrap===a.diffWordWrap?null:(0,Z.jsx)(Y,{label:`diff line wrapping`,onClick:()=>s({diffWordWrap:a.diffWordWrap})}),t[58]=o.diffWordWrap,t[59]=s,t[60]=ze):ze=t[60];let Be;t[61]===s?Be=t[62]:(Be=e=>s({diffWordWrap:!!e}),t[61]=s,t[62]=Be);let Ve;t[63]!==o.diffWordWrap||t[64]!==Be?(Ve=(0,Z.jsx)(F,{checked:o.diffWordWrap,onCheckedChange:Be,"aria-label":`Wrap diff lines by default`}),t[63]=o.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]!==o.diffIgnoreWhitespace||t[71]!==s?(Ue=o.diffIgnoreWhitespace===a.diffIgnoreWhitespace?null:(0,Z.jsx)(Y,{label:`diff whitespace changes`,onClick:()=>s({diffIgnoreWhitespace:a.diffIgnoreWhitespace})}),t[70]=o.diffIgnoreWhitespace,t[71]=s,t[72]=Ue):Ue=t[72];let We;t[73]===s?We=t[74]:(We=e=>s({diffIgnoreWhitespace:!!e}),t[73]=s,t[74]=We);let Ge;t[75]!==o.diffIgnoreWhitespace||t[76]!==We?(Ge=(0,Z.jsx)(F,{checked:o.diffIgnoreWhitespace,onCheckedChange:We,"aria-label":`Hide whitespace changes by default`}),t[75]=o.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]!==o.gitStatusPollIntervalMs||t[83]!==s?(qe=o.gitStatusPollIntervalMs===a.gitStatusPollIntervalMs?null:(0,Z.jsx)(Y,{label:`git status polling`,onClick:()=>s({gitStatusPollIntervalMs:a.gitStatusPollIntervalMs})}),t[82]=o.gitStatusPollIntervalMs,t[83]=s,t[84]=qe):qe=t[84];let Ye=String(o.gitStatusPollIntervalMs),$e;t[85]===s?$e=t[86]:($e=e=>{let t=je(e);t!==null&&s({gitStatusPollIntervalMs:t})},t[85]=s,t[86]=$e);let et=De[o.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]!==o.sourceControlRefreshMode||t[99]!==s?(it=o.sourceControlRefreshMode===a.sourceControlRefreshMode?null:(0,Z.jsx)(Y,{label:`PR and workflow updates`,onClick:()=>s({sourceControlRefreshMode:a.sourceControlRefreshMode})}),t[98]=o.sourceControlRefreshMode,t[99]=s,t[100]=it):it=t[100];let at;t[101]===s?at=t[102]:(at=e=>{let t=Me(e);t!==null&&s({sourceControlRefreshMode:t})},t[101]=s,t[102]=at);let ot=ke[o.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]!==o.sourceControlRefreshMode||t[107]!==at||t[108]!==st?(lt=(0,Z.jsxs)(ce,{value:o.sourceControlRefreshMode,onValueChange:at,children:[st,ct]}),t[106]=o.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]!==o.enableProviderUpdateChecks||t[115]!==s?(dt=o.enableProviderUpdateChecks===a.enableProviderUpdateChecks?null:(0,Z.jsx)(Y,{label:`provider update checks`,onClick:()=>s({enableProviderUpdateChecks:a.enableProviderUpdateChecks})}),t[114]=o.enableProviderUpdateChecks,t[115]=s,t[116]=dt):dt=t[116];let ft;t[117]===s?ft=t[118]:(ft=e=>s({enableProviderUpdateChecks:!!e}),t[117]=s,t[118]=ft);let pt;t[119]!==o.enableProviderUpdateChecks||t[120]!==ft?(pt=(0,Z.jsx)(F,{checked:o.enableProviderUpdateChecks,onCheckedChange:ft,"aria-label":`Check providers for updates`}),t[119]=o.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]!==o.autoOpenPlanSidebar||t[127]!==s?(ht=o.autoOpenPlanSidebar===a.autoOpenPlanSidebar?null:(0,Z.jsx)(Y,{label:`auto-open overview`,onClick:()=>s({autoOpenPlanSidebar:a.autoOpenPlanSidebar})}),t[126]=o.autoOpenPlanSidebar,t[127]=s,t[128]=ht):ht=t[128];let gt;t[129]===s?gt=t[130]:(gt=e=>s({autoOpenPlanSidebar:!!e}),t[129]=s,t[130]=gt);let _t;t[131]!==o.autoOpenPlanSidebar||t[132]!==gt?(_t=(0,Z.jsx)(F,{checked:o.autoOpenPlanSidebar,onCheckedChange:gt,"aria-label":`Open the overview automatically`}),t[131]=o.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]!==o.defaultThreadEnvMode||t[139]!==s?(yt=o.defaultThreadEnvMode===a.defaultThreadEnvMode?null:(0,Z.jsx)(Y,{label:`new threads`,onClick:()=>s({defaultThreadEnvMode:a.defaultThreadEnvMode})}),t[138]=o.defaultThreadEnvMode,t[139]=s,t[140]=yt):yt=t[140];let bt;t[141]===s?bt=t[142]:(bt=e=>{(e===`local`||e===`worktree`)&&s({defaultThreadEnvMode:e})},t[141]=s,t[142]=bt);let xt=o.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]!==o.defaultThreadEnvMode||t[147]!==bt||t[148]!==St?(wt=(0,Z.jsxs)(ce,{value:o.defaultThreadEnvMode,onValueChange:bt,children:[St,Ct]}),t[146]=o.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]!==o.addProjectBaseDirectory||t[155]!==s?(Et=o.addProjectBaseDirectory===a.addProjectBaseDirectory?null:(0,Z.jsx)(Y,{label:`add project base directory`,onClick:()=>s({addProjectBaseDirectory:a.addProjectBaseDirectory})}),t[154]=o.addProjectBaseDirectory,t[155]=s,t[156]=Et):Et=t[156];let Dt;t[157]===s?Dt=t[158]:(Dt=e=>s({addProjectBaseDirectory:e}),t[157]=s,t[158]=Dt);let Ot;t[159]!==o.addProjectBaseDirectory||t[160]!==Dt?(Ot=(0,Z.jsx)(be,{className:`w-full sm:w-72`,value:o.addProjectBaseDirectory,onCommit:Dt,placeholder:`~/`,spellCheck:!1,"aria-label":`Add project base directory`}),t[159]=o.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]!==o.confirmThreadArchive||t[167]!==s?(At=o.confirmThreadArchive===a.confirmThreadArchive?null:(0,Z.jsx)(Y,{label:`archive confirmation`,onClick:()=>s({confirmThreadArchive:a.confirmThreadArchive})}),t[166]=o.confirmThreadArchive,t[167]=s,t[168]=At):At=t[168];let jt;t[169]===s?jt=t[170]:(jt=e=>s({confirmThreadArchive:!!e}),t[169]=s,t[170]=jt);let Mt;t[171]!==o.confirmThreadArchive||t[172]!==jt?(Mt=(0,Z.jsx)(F,{checked:o.confirmThreadArchive,onCheckedChange:jt,"aria-label":`Confirm thread archiving`}),t[171]=o.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]!==o.confirmThreadDelete||t[179]!==s?(Pt=o.confirmThreadDelete===a.confirmThreadDelete?null:(0,Z.jsx)(Y,{label:`delete confirmation`,onClick:()=>s({confirmThreadDelete:a.confirmThreadDelete})}),t[178]=o.confirmThreadDelete,t[179]=s,t[180]=Pt):Pt=t[180];let Ft;t[181]===s?Ft=t[182]:(Ft=e=>s({confirmThreadDelete:!!e}),t[181]=s,t[182]=Ft);let It;t[183]!==o.confirmThreadDelete||t[184]!==Ft?(It=(0,Z.jsx)(F,{checked:o.confirmThreadDelete,onCheckedChange:Ft,"aria-label":`Confirm thread deletion`}),t[183]=o.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]!==o.confirmThreadUnpin||t[191]!==s?(Rt=o.confirmThreadUnpin===a.confirmThreadUnpin?null:(0,Z.jsx)(Y,{label:`unpin confirmation`,onClick:()=>s({confirmThreadUnpin:a.confirmThreadUnpin})}),t[190]=o.confirmThreadUnpin,t[191]=s,t[192]=Rt):Rt=t[192];let zt;t[193]===s?zt=t[194]:(zt=e=>s({confirmThreadUnpin:!!e}),t[193]=s,t[194]=zt);let Bt;t[195]!==o.confirmThreadUnpin||t[196]!==zt?(Bt=(0,Z.jsx)(F,{checked:o.confirmThreadUnpin,onCheckedChange:zt,"aria-label":`Confirm thread unpinning`}),t[195]=o.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]!==h||t[203]!==o.notifyOnTurnCompleteWhenUnfocused||t[204]!==s?(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:h,resetAction:o.notifyOnTurnCompleteWhenUnfocused===a.notifyOnTurnCompleteWhenUnfocused?null:(0,Z.jsx)(Y,{label:`turn-complete notifications`,onClick:()=>s({notifyOnTurnCompleteWhenUnfocused:a.notifyOnTurnCompleteWhenUnfocused})}),control:(0,Z.jsx)(F,{checked:o.notifyOnTurnCompleteWhenUnfocused,onCheckedChange:e=>s({notifyOnTurnCompleteWhenUnfocused:!!e}),"aria-label":`Notify when a turn completes while unfocused`})}):null,t[202]=h,t[203]=o.notifyOnTurnCompleteWhenUnfocused,t[204]=s,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]!==h||t[227]!==y?(Kt=i?(0,Z.jsx)(Re,{scopeLabel:h}):(0,Z.jsx)(J,{title:(0,Z.jsx)(Pe,{}),description:`Current version of the application.`,scope:y}),t[226]=h,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]!==f?.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 `,f?.nodeLabel,`; open it from that machine.`]}),t[231]=j,t[232]=L,t[233]=f?.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(o.dispatchCommand),n=p(N(u)),r=p(N(f)),{unarchiveThread:i,confirmAndDeleteThread:a}=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]!==a||e[6]!==t.allowed||e[7]!==t.reason||e[8]!==i?(l=async(e,n)=>{if(!t.allowed){M.add(L({type:`warning`,title:`Archived thread is read-only`,description:t.reason??`This action is unavailable.`}));return}let r=h();if(!r)return;let o=await r.contextMenu.show([{id:`unarchive`,label:`Unarchive`},{id:`delete`,label:`Delete`,destructive:!0}],n);if(o===`unarchive`){try{await i(e)}catch(e){let t=e;M.add(L({type:`error`,title:`Failed to unarchive thread`,description:t instanceof Error?t.message:`An error occurred.`}))}return}o===`delete`&&await a(e)},e[5]=a,e[6]=t.allowed,e[7]=t.reason,e[8]=i,e[9]=l):l=e[9];let d=l,m;e[10]!==c||e[11]!==d||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)(T,{})}),(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:d,onUnarchive:i},e.id))},n.id)}),e[10]=c,e[11]=d,e[12]=t.allowed,e[13]=t.reason,e[14]=i,e[15]=m):m=e[15];let g;return e[16]===m?g=e[17]:(g=(0,Z.jsx)(pe,{children:m}),e[16]=m,e[17]=g),g}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){M.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{ct as r}from"./src-Vf4LVnMX.js";import{It as i}from"./composerDraftStore-CdJJZe42.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-BofFIn5Y.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-CT3nd2MA.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{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};
@@ -0,0 +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{Nn as i,Pn as a,Xn as o,f as s,xt as c,yt as l}from"./runtime-CPM0EUhb.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-CoHKzu-e.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=c(),[a,o]=(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?s(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]!==a||t[7]!==m||t[8]!==D?(F=async()=>{if(!D)throw Error(`No server connection is available.`);return D.atlassian.saveManualBitbucketToken({label:a.trim(),email:u.trim(),token:m.trim(),isDefault:!0})},t[5]=u,t[6]=a,t[7]=m,t[8]=D,t[9]=F):F=t[9];let I;t[10]!==n||t[11]!==r?(I=()=>{o(`Bitbucket`),d(``),g(``),N({environmentId:n}),r.invalidateQueries({queryKey:se}),i({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=l(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=l(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}),i({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=l(ie),oe;t[36]!==u||t[37]!==a||t[38]!==m||t[39]!==D||t[40]!==L.isPending?(oe=D!==null&&a.trim().length>0&&u.trim().length>0&&m.trim().length>0&&!L.isPending,t[36]=u,t[37]=a,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=>o(e.currentTarget.value),t[59]=Ce):Ce=t[59];let Z;t[60]===a?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:a,autoComplete:`organization`,onChange:Ce,placeholder:`Bitbucket`})]}),t[60]=a,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=o(),n=u(),r=t?.environmentId??n,s;e[0]===r?s=e[1]:(s={environmentId:r},e[0]=r,e[1]=s);let c=a(s),l=c.data??K,d=c.isPending&&c.data===null,f;e[2]===r?f=e[3]:(f=()=>{i({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};