ryco-cli 0.1.24 → 0.1.25
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.
- package/dist/{AcpNativeLogging-COepku4a.cjs → AcpNativeLogging-CA6XYzIS.cjs} +1 -1
- package/dist/{AcpNativeLogging-D7e1dn7s.mjs → AcpNativeLogging-D4-VoHrq.mjs} +1 -1
- package/dist/{AzureDevOpsSourceControlProvider-BNGEg1R8.mjs → AzureDevOpsSourceControlProvider-B_E0XXfD.mjs} +2 -2
- package/dist/{AzureDevOpsSourceControlProvider-CrvgKNf2.cjs → AzureDevOpsSourceControlProvider-COmd21c-.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-BzhsQwH-.cjs → BitbucketSourceControlProvider-CD8IvXQK.cjs} +2 -2
- package/dist/{BitbucketSourceControlProvider-Bt21jw68.mjs → BitbucketSourceControlProvider-pUKsNXcg.mjs} +2 -2
- package/dist/{ClaudeDriver-C4yu7Jit.mjs → ClaudeDriver-CGifBixr.mjs} +2 -2
- package/dist/{ClaudeDriver-B7mbf51W.cjs → ClaudeDriver-Dry5uJfX.cjs} +2 -2
- package/dist/{CodexDriver-CR0S17Lb.cjs → CodexDriver-BzR8gA8w.cjs} +3 -3
- package/dist/{CodexDriver-DnnqkGoY.mjs → CodexDriver-V4CL9APE.mjs} +3 -3
- package/dist/{CodexTextGeneration-tlfe1S5W.cjs → CodexTextGeneration-DTrSzY-I.cjs} +1 -1
- package/dist/{CodexTextGeneration-Cw-FZbSS.mjs → CodexTextGeneration-DoCidwvI.mjs} +1 -1
- package/dist/{CopilotDriver-GxKLX5pL.mjs → CopilotDriver-Dt13X60f.mjs} +3 -3
- package/dist/{CopilotDriver-IBd27Ji2.cjs → CopilotDriver-rLcA8PSN.cjs} +3 -3
- package/dist/{CursorDriver-C4Enoe9N.cjs → CursorDriver-C3s-8s9F.cjs} +3 -3
- package/dist/{CursorDriver-CNo9Uzo8.mjs → CursorDriver-HIPUs7cz.mjs} +3 -3
- package/dist/{ForgejoSourceControlProvider-BGXysSX6.mjs → ForgejoSourceControlProvider-CmvOAzEG.mjs} +2 -2
- package/dist/{ForgejoSourceControlProvider-Dh6DOoc8.cjs → ForgejoSourceControlProvider-JgiyrMqp.cjs} +2 -2
- package/dist/{GitHubSourceControlProvider-CPCYV8Xo.mjs → GitHubSourceControlProvider-BYuvbcBf.mjs} +2 -2
- package/dist/{GitHubSourceControlProvider-8hsv_kCE.cjs → GitHubSourceControlProvider-CItCpOcC.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-B0ZbF9Zx.cjs → GitLabSourceControlProvider-CMce22nU.cjs} +2 -2
- package/dist/{GitLabSourceControlProvider-Bvknpaon.mjs → GitLabSourceControlProvider-DZzEaVSi.mjs} +2 -2
- package/dist/{GrokDriver-DSPEmiwq.mjs → GrokDriver-CduUwiOH.mjs} +3 -3
- package/dist/{GrokDriver-RyyFeh_q.cjs → GrokDriver-D0jraOC_.cjs} +3 -3
- package/dist/{OpenCodeDriver-0q44rSQX.mjs → OpenCodeDriver-Bz_uJdMA.mjs} +2 -2
- package/dist/{OpenCodeDriver-CDcvPT9v.cjs → OpenCodeDriver-DxGpgtDS.cjs} +2 -2
- package/dist/{SourceControlProviderDiscoveryCatalog-DreaAH1H.cjs → SourceControlProviderDiscoveryCatalog-Dm_lhrhv.cjs} +1 -1
- package/dist/{SourceControlProviderDiscoveryCatalog-B37RHe2u.mjs → SourceControlProviderDiscoveryCatalog-ZtwPWoxE.mjs} +1 -1
- package/dist/bin.cjs +291 -176
- package/dist/bin.mjs +291 -176
- package/dist/client/assets/AccountSettings-Bv57-JYy.js +1 -0
- package/dist/client/assets/{AiFocusSettings-CNmGHEcA.js → AiFocusSettings-DCPHmJpA.js} +1 -1
- package/dist/client/assets/{AnimatedHeight-i0YhvlGD.js → AnimatedHeight-DPqb09B0.js} +1 -1
- package/dist/client/assets/{AppearanceSettings-BG8W4DP0.js → AppearanceSettings-EmTrtb_U.js} +1 -1
- package/dist/client/assets/{BranchToolbar.logic-AgPy06Mx.js → BranchToolbar.logic-CHRK3hDt.js} +1 -1
- package/dist/client/assets/{BrowserPanel-BWztlNuL.js → BrowserPanel-2Xu08il5.js} +1 -1
- package/dist/client/assets/ChatRightPanel-C1VD6GCV.js +194 -0
- package/dist/client/assets/{ChatThreadRouteView-CWoBLzR_.js → ChatThreadRouteView-CNww3i2J.js} +1 -1
- package/dist/client/assets/CommandPaletteDialog-B_f3fKp7.js +1 -0
- package/dist/client/assets/{CompositeRoot-C1G-Ejus.js → CompositeRoot-B40iitmH.js} +1 -1
- package/dist/client/assets/ComputerUseSettings-BJs7jqR0.js +1 -0
- package/dist/client/assets/ConnectionsSettings-B9nfvgLG.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-BSQOArMR.js +4 -0
- package/dist/client/assets/{DiagnosticsSettings-DvnNz2AZ.js → DiagnosticsSettings-BmrqOKMe.js} +1 -1
- package/dist/client/assets/{DialogHandle-8o3kfoiI.js → DialogHandle-pelzaaiH.js} +1 -1
- package/dist/client/assets/{DialogPopup-CLw6NCkW.js → DialogPopup-BLM0vN4N.js} +1 -1
- package/dist/client/assets/DialogRoot-CY6ZzEUS.js +1 -0
- package/dist/client/assets/{DialogTitle-DCHX74Tz.js → DialogTitle-BvIjMtMm.js} +1 -1
- package/dist/client/assets/{DialogTrigger-Bl_fcIV2.js → DialogTrigger-CIeVAA-a.js} +1 -1
- package/dist/client/assets/{DialogViewport-DVDl03yd.js → DialogViewport-Cz0OadGI.js} +1 -1
- package/dist/client/assets/{DraftChatThreadRouteView-CEDYjbKq.js → DraftChatThreadRouteView-DMIGMESb.js} +1 -1
- package/dist/client/assets/{ExternalIdentityWeb.logic-arHvT6AX.js → ExternalIdentityWeb.logic-3rlDV7lT.js} +1 -1
- package/dist/client/assets/{GlassSurface-GY6owikG.js → GlassSurface-CEVIdyfP.js} +1 -1
- package/dist/client/assets/{HostedConnectionControls-COUhSe9x.js → HostedConnectionControls-r9cyZPyF.js} +1 -1
- package/dist/client/assets/HostedHubRoot-BkfafJ5x.js +2 -0
- package/dist/client/assets/{HostedNativeAuthorizationRoute-DZhYxv--.js → HostedNativeAuthorizationRoute-CqHuW853.js} +2 -2
- package/dist/client/assets/HostedNodeRenameDialog-C7m-nvTj.js +1 -0
- package/dist/client/assets/{HostedRelayTrustNotice-Bl6On0Yi.js → HostedRelayTrustNotice-DNZQyAX0.js} +1 -1
- package/dist/client/assets/IntegrationsSettingsPanel-hul3ysgL.js +2 -0
- package/dist/client/assets/{KeybindingsSettings-CPtXx-W2.js → KeybindingsSettings-Cme6omBM.js} +1 -1
- package/dist/client/assets/{LazyBrowserPanel-SUIBB7B4.js → LazyBrowserPanel-COJFwNK7.js} +2 -2
- package/dist/client/assets/{McpServersSettings-BWIUud0Z.js → McpServersSettings-CPeNF8_u.js} +4 -4
- package/dist/client/assets/{MobileSheet-NTayGHF6.js → MobileSheet-BZo-RAfm.js} +1 -1
- package/dist/client/assets/{NodeSecuritySettings-BFifrshE.js → NodeSecuritySettings-CwT5nEW9.js} +1 -1
- package/dist/client/assets/{OpinionatedPluginsSettings-D7WuuNWZ.js → OpinionatedPluginsSettings-D8A1CbMG.js} +1 -1
- package/dist/client/assets/{PhoneGetAppInterstitial-R0cqI17q.js → PhoneGetAppInterstitial-BBnGXVkR.js} +1 -1
- package/dist/client/assets/PhoneHome-BTKOPVjw.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-DdVCndyt.js +2 -0
- package/dist/client/assets/{ProviderModelPicker-dwWhl7Uf.js → ProviderModelPicker-DoYEUZrn.js} +1 -1
- package/dist/client/assets/ProvidersSettingsPanel-ldDCPVIY.js +1 -0
- package/dist/client/assets/{QuitShortcutFeedback-CklL3jMd.js → QuitShortcutFeedback-mF7X0WMD.js} +1 -1
- package/dist/client/assets/{RedactedSensitiveText-CLPBtvH1.js → RedactedSensitiveText-DovqFcmM.js} +1 -1
- package/dist/client/assets/RootAppShell-CzmEWO9w.js +7 -0
- package/dist/client/assets/{Separator-CpYBhf-I.js → Separator-BhAVTIOc.js} +1 -1
- package/dist/client/assets/SettingsDialog-ByXgBN0U.js +2 -0
- package/dist/client/assets/SettingsPanels-Bgf4vkrJ.js +3 -0
- package/dist/client/assets/{SettingsPanels.editor-9pSZP875.js → SettingsPanels.editor-d-rVlbeN.js} +1 -1
- package/dist/client/assets/SourceControlSettings-dKw0FaN1.js +1 -0
- package/dist/client/assets/{StatisticsPage-C7v-6CTr.js → StatisticsPage-C2RuqDIK.js} +1 -1
- package/dist/client/assets/{StatisticsPanel-CeIjiBm8.js → StatisticsPanel-DqoXnrhQ.js} +1 -1
- package/dist/client/assets/{StatisticsSettingsLink-5s_violW.js → StatisticsSettingsLink-C_f31sb4.js} +1 -1
- package/dist/client/assets/{ThreadTerminalDrawer-CHZ60lPI.js → ThreadTerminalDrawer-DaLrSTn9.js} +11 -11
- package/dist/client/assets/{ThreadWorkspacePanel-Ct5kMcuY.js → ThreadWorkspacePanel-BvRZIxZQ.js} +17 -17
- package/dist/client/assets/{activity-BMBx2Fu0.js → activity-bn_fBQGf.js} +1 -1
- package/dist/client/assets/{alert-CXnC_RJc.js → alert-BmLJh6DH.js} +1 -1
- package/dist/client/assets/{appChrome-BzM66lXM.js → appChrome-Dy57Ve9N.js} +1 -1
- package/dist/client/assets/{arrow-left-CymyVbCi.js → arrow-left-pzj1cbX3.js} +1 -1
- package/dist/client/assets/{arrow-right-9wyq4YVq.js → arrow-right-BW5jU-vo.js} +1 -1
- package/dist/client/assets/{arrow-up-right-mfU38K6p.js → arrow-up-right-AfC5AaSO.js} +1 -1
- package/dist/client/assets/authorization-7xVVtCBu.js +1 -0
- package/dist/client/assets/{badge-Dg7mXiOh.js → badge-DnBuGHGL.js} +1 -1
- package/dist/client/assets/{bot-BR3RyOWP.js → bot-CsKkSRlb.js} +1 -1
- package/dist/client/assets/{capabilities-C8sxDbKT.js → capabilities-DskyVNd2.js} +1 -1
- package/dist/client/assets/{chart-column-CcRi3pAd.js → chart-column-DhvWXIiH.js} +1 -1
- package/dist/client/assets/chevron-right-CITtTwME.js +1 -0
- package/dist/client/assets/{clipboard-copy-ezz8rnaT.js → clipboard-copy-fJnfdl4H.js} +1 -1
- package/dist/client/assets/{data-list-ZLhzdlED.js → data-list-_E-Al1sf.js} +1 -1
- package/dist/client/assets/{desktopWorkspace-P28r2lN2.js → desktopWorkspace-DycXKuMm.js} +1 -1
- package/dist/client/assets/{download-BA9L9tK9.js → download-CLQzE1di.js} +1 -1
- package/dist/client/assets/{editorPreferences-DeKdSV3s.js → editorPreferences-Bg624RVT.js} +1 -1
- package/dist/client/assets/{empty-3NpXLnAM.js → empty-YXFtCUDN.js} +1 -1
- package/dist/client/assets/{group-D5qBdsaB.js → group-DOCkUmuY.js} +1 -1
- package/dist/client/assets/{hostedConnectionCoordinator-CLV-JD1S.js → hostedConnectionCoordinator-JZ1dLx4v.js} +1 -1
- package/dist/client/assets/{hubRoutes-EWJ3Gdod.js → hubRoutes-C2S5of9_.js} +1 -1
- package/dist/client/assets/{index-DxCd1PgA.js → index-CvRFRkBK.js} +2 -2
- package/dist/client/assets/{input-DrOL1KPS.js → input-C2xv8mMt.js} +1 -1
- package/dist/client/assets/{kbd-rWDjJnWX.js → kbd-4-4mGdIa.js} +1 -1
- package/dist/client/assets/{key-round-D2DtQ7aS.js → key-round-CYcb9lAa.js} +1 -1
- package/dist/client/assets/{layers-DtSJWmwy.js → layers-CGlOWYxu.js} +1 -1
- package/dist/client/assets/{log-out-YAp9fsOg.js → log-out-CZW2EpNJ.js} +1 -1
- package/dist/client/assets/{logging-BuUPX1SP.js → logging-BpmZOfmu.js} +1 -1
- package/dist/client/assets/main-CC-U8LrA.css +2 -0
- package/dist/client/assets/main-CzDOnLFw.js +9 -0
- package/dist/client/assets/{palette-D18VboLH.js → palette-CQOuNfSO.js} +1 -1
- package/dist/client/assets/{play-d3KUi4G6.js → play-CPVy9wwV.js} +1 -1
- package/dist/client/assets/primary-CjhRI8fe.js +2 -0
- package/dist/client/assets/providerDriverMeta-BVHpFupf.js +1 -0
- package/dist/client/assets/providerModels-BsybzP4P.js +1 -0
- package/dist/client/assets/{qr-code-Bk1kdf_k.js → qr-code-BPqDlVMn.js} +1 -1
- package/dist/client/assets/{qr-code-MAZkoKtL.js → qr-code-C6BVTc4V.js} +1 -1
- package/dist/client/assets/{radio-group-D-VCGinX.js → radio-group-C8qudOQH.js} +2 -2
- package/dist/client/assets/{refresh-cw-DY3_Ph-S.js → refresh-cw-B5Cz1z3e.js} +1 -1
- package/dist/client/assets/runtime-Bxg7k81u.js +17 -0
- package/dist/client/assets/{save-ugJXuJRM.js → save-C7zM6ey6.js} +1 -1
- package/dist/client/assets/{scroll-area-BMnGzd2a.js → scroll-area-5OU_pvTW.js} +1 -1
- package/dist/client/assets/{scrollEdges-QLSFwGSQ.js → scrollEdges-qnEXfIOg.js} +1 -1
- package/dist/client/assets/{separator-BwUYkCkX.js → separator-B5HfRiaO.js} +1 -1
- package/dist/client/assets/{settingsLayout-C6SUmJVB.js → settingsLayout-CfKq88KD.js} +1 -1
- package/dist/client/assets/{sheet-DLy4aeVa.js → sheet-B9gQDy_I.js} +1 -1
- package/dist/client/assets/{shield-alert-DfUhTI4-.js → shield-alert-7yBlEyOs.js} +1 -1
- package/dist/client/assets/{shield-check-CO4SMhAs.js → shield-check-CnKgVJ0F.js} +1 -1
- package/dist/client/assets/{shield-Zq_ygsnJ.js → shield-rdjnBE2Q.js} +1 -1
- package/dist/client/assets/{sidebar-DNnW-a2V.js → sidebar-BdvL1Pbj.js} +1 -1
- package/dist/client/assets/sidebarProjectFolders-BH8XBqNe.js +4 -0
- package/dist/client/assets/{sidebarStatusText-CawrXnx0.js → sidebarStatusText-CZKsUFBD.js} +1 -1
- package/dist/client/assets/{skeleton-DRm4_OvB.js → skeleton-CoyLqyaB.js} +1 -1
- package/dist/client/assets/{smartphone-O2VACDhU.js → smartphone-CBgpMHXR.js} +1 -1
- package/dist/client/assets/{sparkles-isHutYWU.js → sparkles-w-UZXQx1.js} +1 -1
- package/dist/client/assets/src-Bi-5Nw9C.js +14 -0
- package/dist/client/assets/{star-7UHEnC3x.js → star-BZ-RtSFD.js} +1 -1
- package/dist/client/assets/switch-CEJEmLe7.js +48 -0
- package/dist/client/assets/{toggle-CaKBNe6W.js → toggle-DVGrNHjq.js} +1 -1
- package/dist/client/assets/{toggle-group-UeFeTI3u.js → toggle-group-CNDOfNhH.js} +1 -1
- package/dist/client/assets/{tokenModePresentation-DV56ekA4.js → tokenModePresentation-CQNdC9CW.js} +1 -1
- package/dist/client/assets/{tooltip-DXvXxL37.js → tooltip-B7Z4qomY.js} +1 -1
- package/dist/client/assets/{unplug-DisTpujT.js → unplug-CRUwFNFw.js} +1 -1
- package/dist/client/assets/useAppSidebarCollapsed-wq6czkNJ.js +1 -0
- package/dist/client/assets/useBaseUiId-OYaGjnkh.js +1 -0
- package/dist/client/assets/{useLabelableId-BsDFG9Oj.js → useLabelableId-VMc-yITe.js} +1 -1
- package/dist/client/assets/{useNavigate-cLfxn_9L.js → useNavigate-DVi0rBlf.js} +1 -1
- package/dist/client/assets/{usePhoneThreadActions-rekHL1Mi.js → usePhoneThreadActions-CwwHikjB.js} +1 -1
- package/dist/client/assets/{usePopupViewport-kXU31P6l.js → usePopupViewport-BcSIK_ph.js} +1 -1
- package/dist/client/assets/{useScrollLock-DjMxrUJe.js → useScrollLock-BQf9VYJT.js} +1 -1
- package/dist/client/assets/{useStatistics-BYP-9CmW.js → useStatistics-DczKdEfy.js} +1 -1
- package/dist/client/assets/{useTriggerFocusGuards-DuAm2B8C.js → useTriggerFocusGuards-DjP-D0_a.js} +1 -1
- package/dist/client/assets/{useValueChanged-DreFjrMK.js → useValueChanged-CRwCkFdy.js} +1 -1
- package/dist/client/assets/{user-round-DctamWV6.js → user-round-DStbWN3z.js} +1 -1
- package/dist/client/assets/{vscode-icons-Dw-LGJAv.js → vscode-icons-BihBo3tb.js} +1 -1
- package/dist/client/assets/{workspaceMetadataProjection-BL4sEIL2.js → workspaceMetadataProjection-j3BGlVOB.js} +1 -1
- package/dist/client/assets/{wrench-Ds8eZerZ.js → wrench-BBIgGxy9.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/{collectUint8StreamText-C_VNyArd.mjs → collectUint8StreamText-CE1Re5Ij.mjs} +41 -3
- package/dist/{collectUint8StreamText-DStwNTTK.cjs → collectUint8StreamText-whblCEfg.cjs} +52 -2
- package/dist/{makeManagedServerProvider-GZcpSLrW.mjs → makeManagedServerProvider-CwYhl_P-.mjs} +1 -1
- package/dist/{makeManagedServerProvider-VzxWN-04.cjs → makeManagedServerProvider-Dy2Ny9tk.cjs} +1 -1
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/package.json +1 -1
- package/dist/client/assets/AccountSettings-ApnDA1f-.js +0 -1
- package/dist/client/assets/ChatRightPanel-a6UOHNMm.js +0 -194
- package/dist/client/assets/CommandPaletteDialog-B2iKWCUi.js +0 -1
- package/dist/client/assets/ComputerUseSettings-CPwWoHWj.js +0 -1
- package/dist/client/assets/ConnectionsSettings-CPMkuxza.js +0 -7
- package/dist/client/assets/ContextHandoffEndpointLabel-BildLLDY.js +0 -4
- package/dist/client/assets/DialogRoot-SKkIuQHA.js +0 -1
- package/dist/client/assets/HostedHubRoot-BTWc0XoQ.js +0 -2
- package/dist/client/assets/IntegrationsSettingsPanel-n9owMZf-.js +0 -2
- package/dist/client/assets/PhoneHome-FqWvnJP_.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-w5PJnoBc.js +0 -2
- package/dist/client/assets/ProvidersSettingsPanel-Ww1ch3xA.js +0 -1
- package/dist/client/assets/RootAppShell-BdQCs2XJ.js +0 -7
- package/dist/client/assets/SettingsDialog-DeMzEeCP.js +0 -2
- package/dist/client/assets/SettingsPanels-ZxNz9ZfL.js +0 -3
- package/dist/client/assets/SourceControlSettings-C1F3Brcn.js +0 -1
- package/dist/client/assets/authorization-CjOFkg7b.js +0 -1
- package/dist/client/assets/chevron-right-CuUjBsQV.js +0 -1
- package/dist/client/assets/main-BbtLAX7M.js +0 -9
- package/dist/client/assets/main-D4CtFNPY.css +0 -2
- package/dist/client/assets/monitor-OyD484tI.js +0 -1
- package/dist/client/assets/primary-D_D7eLwT.js +0 -2
- package/dist/client/assets/providerDriverMeta-DNTocCcU.js +0 -1
- package/dist/client/assets/providerModels-bFbEIfL9.js +0 -1
- package/dist/client/assets/runtime-Djy96GJd.js +0 -17
- package/dist/client/assets/sidebarProjectFolders-ygpaKZM6.js +0 -4
- package/dist/client/assets/src-BSuAGqhK.js +0 -14
- package/dist/client/assets/switch-DD1qVLgN.js +0 -48
- package/dist/client/assets/useAppSidebarCollapsed-CaAsLi1q.js +0 -1
- package/dist/client/assets/useBaseUiId-CJN4MvrU.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-SIfiwpqq.js";import{ms as n}from"./runtime-
|
|
1
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{ms as n}from"./runtime-Bxg7k81u.js";var r=e(t(),1).forwardRef(function(e,t){let{className:r,render:i,orientation:a=`horizontal`,style:o,...s}=e;return n(`div`,e,{state:{orientation:a},ref:t,props:[{role:`separator`,"aria-orientation":a},s]})});export{r as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/main-CC-U8LrA.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./index-CvRFRkBK.js";import{G as r,K as i,i as a}from"./primary-CjhRI8fe.js";import{Zr as o,ei as s,t as c}from"./src-Bi-5Nw9C.js";import{$ as l,I as u,Ir as d,J as f,K as p,Nn as m,P as h,Pa as g,Q as _,Vr as v,_l as y,al as b,ar as x,b as S,fl as C,gl as w,hl as T,ir as E,ml as D,pl as ee,q as te,zr as O}from"./runtime-Bxg7k81u.js";import{$n as ne,Ft as re,Gn as ie,It as ae,Jn as oe,Kn as k,Qn as se,kt as ce,qn as le,ur as ue}from"./switch-CEJEmLe7.js";import{t as A}from"./compiler-runtime-qmuS0Svy.js";import{a as j,n as de,o as M,s as N}from"./badge-DnBuGHGL.js";import{t as P}from"./activity-bn_fBQGf.js";import{d as F,f as fe,l as I,n as L,r as pe,t as R,u as me}from"./SettingsPanels-Bgf4vkrJ.js";import{v as z}from"./RootAppShell-CzmEWO9w.js";import{t as he}from"./chart-column-DhvWXIiH.js";import{q as B}from"./ContextHandoffEndpointLabel-BSQOArMR.js";import{t as V}from"./sparkles-w-UZXQx1.js";import{t as ge}from"./palette-CQOuNfSO.js";import{R as _e}from"./sidebarProjectFolders-BH8XBqNe.js";import{t as ve}from"./shield-rdjnBE2Q.js";import{t as ye}from"./user-round-DStbWN3z.js";import{o as be}from"./authorization-7xVVtCBu.js";import{o as xe,t as Se}from"./desktopWorkspace-DycXKuMm.js";import{t as Ce}from"./scroll-area-5OU_pvTW.js";import{t as we}from"./capabilities-DskyVNd2.js";import{i as Te,r as H}from"./settingsLayout-CfKq88KD.js";import{i as Ee}from"./hubRoutes-C2S5of9_.js";import{t as U}from"./HostedNodeRenameDialog-C7m-nvTj.js";import{It as De,Lt as Oe}from"./main-CzDOnLFw.js";var W=A(),G=e(t(),1),K=y();function q(){let e=w(),[t,n]=(0,G.useState)(!1),[r,i]=(0,G.useState)(null);if(!e)return null;let a=e.serverConfig,s=a?.environment.capabilities.environmentIcon===!0,c=e.connected&&e.canManage!==!1&&e.canMutate!==!1&&s,l=le(a),u=a?.settings.environmentIcon??`automatic`;return(0,K.jsx)(H,{title:`Device icon`,scope:e.nodeLabel,description:`Shown across mobile, desktop, and web. Automatic uses the device’s name and operating system.`,control:(0,K.jsxs)(de,{value:u,disabled:!c||t,onValueChange:async r=>{if(c&&!t&&r!==null){n(!0),i(null);try{await S(e.environmentId,{environmentIcon:r===`automatic`?null:r})}catch{i(`Could not save the icon for ${e.nodeLabel}. Reconnect and try again.`)}finally{n(!1)}}},children:[(0,K.jsxs)(N,{"aria-label":`Device icon for ${e.nodeLabel}`,className:`w-48`,children:[(0,K.jsx)(oe,{kind:l,className:`size-4`}),(0,K.jsx)(`span`,{children:u===`automatic`?`Automatic · ${k[l]}`:k[l]})]}),(0,K.jsxs)(M,{children:[(0,K.jsx)(j,{value:`automatic`,children:`Automatic`}),o.map(e=>(0,K.jsx)(j,{value:e,children:(0,K.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,K.jsx)(oe,{kind:e,className:`size-4`}),k[e]]})},e))]})]}),status:r?(0,K.jsx)(`span`,{role:`alert`,children:r}):e.connected?s?c?void 0:(0,K.jsx)(`span`,{children:`Your access does not allow changing this device’s settings.`}):(0,K.jsx)(`span`,{children:`Update this device to enable icon selection.`}):(0,K.jsxs)(`span`,{children:[`Connect to `,e.nodeLabel,` to change its icon.`]})})}function ke(){let e=(0,W.c)(39),t=w(),n=a(),o=xe(),s=h(Ae),[c,l]=(0,G.useState)(!1);if(!t)return null;let d=r&&t.environmentId===n?.environmentId?o.localEnvironmentId:t.environmentId,f;if(e[0]!==d||e[1]!==o.machines){let t;e[3]===d?t=e[4]:(t=e=>e.environmentId===d,e[3]=d,e[4]=t),f=o.machines.find(t),e[0]=d,e[1]=o.machines,e[2]=f}else f=e[2];let p=f,m;if(e[5]!==d||e[6]!==s){let t;e[8]===d?t=e[9]:(t=e=>e.environmentId===d,e[8]=d,e[9]=t),m=s.find(t),e[5]=d,e[6]=s,e[7]=m}else m=e[7];let g=m,_;e[10]!==p?.canRename||e[11]!==g?(_=r?p?.canRename===!0&&!!window.desktopBridge?.renameDesktopWorkspaceDevice:i()&&g?.effectiveRole===`owner`&&g.revokedAt===null,e[10]=p?.canRename,e[11]=g,e[12]=_):_=e[12];let v=_,y;e[13]!==p||e[14]!==g?(y=async e=>{if(r&&p&&window.desktopBridge?.renameDesktopWorkspaceDevice)await window.desktopBridge.renameDesktopWorkspaceDevice({environmentId:p.environmentId,label:e});else if(i()&&g)await u.renameNode(g.id,e),await be.refreshDirectory();else throw Error(`Connect this device to your Hub to customize its name.`)},e[13]=p,e[14]=g,e[15]=y):y=e[15];let b=y,x;e[16]===v?x=e[17]:(x=v?(0,K.jsx)(O,{variant:`outline`,onClick:()=>l(!0),children:`Rename device`}):void 0,e[16]=v,e[17]=x);let S;e[18]!==v||e[19]!==d||e[20]!==p||e[21]!==g?(S=v?void 0:(0,K.jsx)(`span`,{children:d&&(p||g)?`Only the device owner can change its name.`:`Connect to your Hub to customize the device name.`}),e[18]=v,e[19]=d,e[20]=p,e[21]=g,e[22]=S):S=e[22];let C;e[23]!==x||e[24]!==S||e[25]!==t.nodeLabel?(C=(0,K.jsx)(H,{title:`Device name`,scope:t.nodeLabel,description:`Shown to everyone who can access this device. Renaming keeps its projects, conversations, and connections.`,control:x,status:S}),e[23]=x,e[24]=S,e[25]=t.nodeLabel,e[26]=C):C=e[26];let T;e[27]===t.environmentId?T=e[28]:(T=(0,K.jsx)(q,{},t.environmentId),e[27]=t.environmentId,e[28]=T);let E;e[29]!==v||e[30]!==b||e[31]!==c||e[32]!==t.environmentId||e[33]!==t.nodeLabel?(E=v&&(0,K.jsx)(U,{node:{label:t.nodeLabel},open:c,onOpenChange:l,onRename:b},t.environmentId),e[29]=v,e[30]=b,e[31]=c,e[32]=t.environmentId,e[33]=t.nodeLabel,e[34]=E):E=e[34];let D;return e[35]!==C||e[36]!==T||e[37]!==E?(D=(0,K.jsxs)(Te,{title:`Device`,owner:`node`,className:`mx-6 mt-5 mb-3`,children:[C,T,E]}),e[35]=C,e[36]=T,e[37]=E,e[38]=D):D=e[38],D}function Ae(e){return e.nodes}function je(e,t,n){let[r,i]=(0,G.useState)(null),[a,o]=(0,G.useState)([]),[s,c]=(0,G.useState)(null);return(0,G.useEffect)(()=>{if(!r)return;let e=new WeakMap,i=0,a=[],s=()=>{let e=r.getBoundingClientRect().top+64,t=a.findLast(t=>t.element.getBoundingClientRect().top<=e)??a[0];c(t?.element??null)},l=!1,u=()=>{if(a=t?[]:Array.from(r.querySelectorAll(`[data-settings-section]`)).map(t=>(e.has(t)||e.set(t,`section-${++i}`),{id:e.get(t),title:t.dataset.settingsSection,element:t})),o(e=>e.length===a.length&&e.every((e,t)=>e.element===a[t]?.element&&e.title===a[t]?.title)?e:a),n&&!t&&!l){let e=Array.from(r.querySelectorAll(`h2, h3, [id], [data-settings-section]`)).find(e=>e.id===n||e.dataset.settingsSection===n||e.textContent?.trim()===n);e&&(l=!0,e.scrollIntoView({block:`center`}),e.tabIndex=-1,e.focus({preventScroll:!0}))}s()};u();let d=new MutationObserver(u);return d.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`data-settings-section`,`aria-current`]}),r.addEventListener(`scroll`,s,!0),()=>{d.disconnect(),r.removeEventListener(`scroll`,s,!0)}},[r,e,t,n]),{contentRef:i,sections:a,active:s}}var Me=[{section:`appearance`,title:`Diff style`,owner:`client`,description:`Preview unified and split layouts for code changes.`,keywords:`diff design side by side stacked layout`},{section:`integrations`,title:`Browser Use`,owner:`client`,description:`Pair browsers and manage agent access to local tabs.`,keywords:`chrome brave edge browser extension`,desktopCapability:`computerUse`},{section:`general`,title:`Quit shortcut`,owner:`client`,description:`Prevent accidental quits: press twice, hold, or quit immediately.`,keywords:`ctrl cmd q exit desktop`,desktopCapability:`quitShortcut`},{section:`general`,title:`Device name`,owner:`node`,description:`Rename the selected device for everyone who can access it.`,keywords:`machine hostname node name rename`},{section:`integrations`,title:`Device permissions`,owner:`node`,description:`Manage permissions on the selected device or learn where local approval is required.`,keywords:`computer use accessibility screen recording capture device local remote`},{section:`integrations`,desktopCapability:`computerUse`,title:`Computer use`,owner:`client`,description:`Control local apps and browsers, manage permissions, and pair a browser.`,keywords:`accessibility screen recording capture cursor chrome brave edge app access foreground automation`},{section:`inbox`,title:`AI Focus`,owner:`client`,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`,owner:`node`,description:`Choose or inherit the ranking model for each connected environment.`,keywords:`provider node disclosure privacy data`},{section:`general`,title:`Time format`,owner:`client`,description:`System default, 12-hour or 24-hour clock.`,keywords:`clock hours`},{section:`general`,title:`Default editor`,owner:`client`,description:`Pin which editor opens directories and files.`,keywords:`vscode cursor open in`},{section:`source-control`,title:`Diff line wrapping`,owner:`client`,description:`Default wrap state when the diff panel opens.`,keywords:`word wrap`},{section:`source-control`,title:`Hide whitespace changes`,owner:`client`,description:`Whether the diff panel ignores whitespace-only edits.`,keywords:`diff`},{section:`source-control`,title:`Remote Git status`,owner:`client`,description:`Refresh remote branch and pull request metadata.`,keywords:`git polling refresh remote`},{section:`source-control`,title:`PR & workflow updates`,owner:`client`,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)`,owner:`node`,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`,owner:`node`,description:`Check installed provider CLIs for newer versions.`,keywords:`upgrade cli`},{section:`general`,title:`Auto-open overview`,owner:`client`,description:`Open the overview when plans or progress appear.`,keywords:`panel plan`},{section:`general`,title:`New threads`,owner:`node`,description:`Default workspace mode for newly created drafts.`,keywords:`local worktree draft`},{section:`general`,title:`Add project starts in`,owner:`node`,description:`Starting directory for the Add Project browser.`,keywords:`folder path`},{section:`general`,title:`Archive confirmation`,owner:`client`,description:`Ask before archiving a thread.`,keywords:`confirm`},{section:`general`,title:`Delete confirmation`,owner:`client`,description:`Ask before deleting a thread.`,keywords:`confirm remove`},{section:`general`,title:`Unpin confirmation`,owner:`client`,description:`Ask before removing a thread from pinned threads.`,keywords:`confirm pin unpin favorite`},{section:`general`,title:`Update track`,owner:`client`,description:`Which release channel the app follows.`,keywords:`beta stable release channel`},{section:`appearance`,title:`Interface font`,owner:`client`,description:`Normal app text, navigation, dialogs, and controls.`,keywords:`typeface dm sans inter geist`},{section:`appearance`,title:`Code font`,owner:`client`,description:`Code blocks, diffs, file paths, and terminal surfaces.`,keywords:`monospace jetbrains fira`},{section:`appearance`,title:`Text size`,owner:`client`,description:`Scale the interface independently from the theme.`,keywords:`zoom font size compact`},{section:`appearance`,title:`Corner radius`,owner:`client`,description:`Rounding for panels, buttons, inputs, and menus.`,keywords:`round square`},{section:`appearance`,title:`Primary color`,owner:`client`,description:`Accent color for links, focus rings, and actions.`,keywords:`accent custom violet amber`},{section:`appearance`,title:`Transparency`,owner:`client`,description:`Glass and floating surfaces like dialogs, menus, popups.`,keywords:`glass blur liquid material solid`},{section:`appearance`,title:`Theme palette`,owner:`client`,description:`Built-in and custom color themes; import and export.`,keywords:`dark midnight graphite nord dracula catppuccin`},{section:`general`,title:`Auto-collapse wide composer labels`,owner:`client`,description:`Show long composer mode labels only on hover or focus.`,keywords:`chips`},{section:`general`,title:`Always use Build mode`,owner:`client`,description:`Hide the mode selector and send every turn in Build mode.`,keywords:`composer`},{section:`appearance`,title:`Color mode`,owner:`client`,description:`Light, dark, or follow the system preference.`,keywords:`color mode dark light`},{section:`providers`,title:`Provider instances`,owner:`node`,description:`Configure Codex, Claude, Copilot, OpenCode, and Cursor.`,keywords:`api model driver accent`},{section:`integrations`,title:`Private Agent Control`,owner:`node`,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`,owner:`node`,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`,owner:`node`,description:`Customize shortcuts via the keybindings configuration file.`,keywords:`shortcuts hotkeys keyboard`},{section:`source-control`,title:`Version Control`,owner:`node`,description:`Git behavior and defaults.`,keywords:`git commit`},{section:`source-control`,title:`Source Control Providers`,owner:`node`,description:`GitHub and other source control provider connections.`,keywords:`github pr pull request`},{section:`connections`,title:`Network access`,owner:`client`,description:`Expose the local backend on your network.`,keywords:`lan host remote`},{section:`connections`,title:`Pairing link`,owner:`client`,description:`Scan to open this backend on another device.`,keywords:`qr code phone mobile`},{section:`connections`,title:`Tailscale HTTPS`,owner:`client`,description:`Serve over your tailnet with HTTPS.`,keywords:`vpn remote`},{section:`connections`,title:`Authorized clients`,owner:`client`,description:`Devices and sessions allowed to connect.`,keywords:`revoke tokens`},{section:`security`,title:`Session code`,owner:`node`,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`,owner:`node`,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`,owner:`node`,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`,owner:`node`,description:`Require E2EE, require approved clients, and advance the policy generation.`,keywords:`security e2ee strict fallback plaintext`},{section:`diagnostics`,title:`Diagnostics`,owner:`node`,description:`Logs, tracing, resource history, and live activity.`,keywords:`debug performance slow`},{section:`diagnostics`,title:`Test notification`,owner:`client`,description:`Fire sample notifications to preview the toast design and stacking.`,keywords:`toast notifications preview trigger sample`},{section:`statistics`,title:`Statistics`,owner:`node`,description:`Usage activity and history.`,keywords:`heatmap usage tokens`},{section:`archived`,title:`Archive`,owner:`node`,description:`Archived threads; restore or delete permanently.`,keywords:`trash restore`}],Ne=[{id:`account`,label:`Account`,icon:ye},{id:`general`,label:`General`,icon:_e},{id:`inbox`,label:`Inbox`,icon:V},{id:`providers`,label:`Providers`,icon:fe},{id:`opinionated-plugins`,label:`Plugins`,icon:I},{id:`mcp-servers`,label:`MCP`,icon:se},{id:`integrations`,label:`Integrations`,icon:I},{id:`appearance`,label:`Appearance`,icon:ge},{id:`keybindings`,label:`Keybindings`,icon:F},{id:`source-control`,label:`Source Control`,icon:ue},{id:`connections`,label:`Connections`,icon:me},{id:`security`,label:`Node security`,icon:ve},{id:`diagnostics`,label:`Diagnostics`,icon:P},{id:`statistics`,label:`Statistics`,icon:he},{id:`archived`,label:`Archive`,icon:z}];Ne.map(e=>e.id),new Map(Ne.map(e=>[e.id,e.label]));var J=(0,G.lazy)(()=>n(()=>import(`./AccountSettings-Bv57-JYy.js`).then(e=>({default:e.AccountSettingsPanel})),__vite__mapDeps([0]))),Y=(0,G.lazy)(()=>n(()=>import(`./ProvidersSettingsPanel-ldDCPVIY.js`).then(e=>({default:e.ProvidersSettingsPanel})),__vite__mapDeps([0]))),X=(0,G.lazy)(()=>n(()=>import(`./AiFocusSettings-DCPHmJpA.js`).then(e=>({default:e.AiFocusSettings})),__vite__mapDeps([0]))),Z=(0,G.lazy)(()=>n(()=>import(`./OpinionatedPluginsSettings-D8A1CbMG.js`).then(e=>({default:e.OpinionatedPluginsSettingsPanel})),__vite__mapDeps([0]))),Pe=(0,G.lazy)(()=>n(()=>import(`./IntegrationsSettingsPanel-hul3ysgL.js`).then(e=>({default:e.IntegrationsSettingsPanel})),__vite__mapDeps([0]))),Q=(0,G.lazy)(()=>n(()=>import(`./McpServersSettings-CPeNF8_u.js`).then(e=>({default:e.McpServersSettings})),__vite__mapDeps([0]))),Fe=(0,G.lazy)(()=>n(()=>import(`./AppearanceSettings-EmTrtb_U.js`).then(e=>({default:e.AppearanceSettingsPanel})),__vite__mapDeps([0]))),Ie=(0,G.lazy)(()=>n(()=>import(`./KeybindingsSettings-Cme6omBM.js`).then(e=>({default:e.KeybindingsSettingsPanel})),__vite__mapDeps([0]))),Le=(0,G.lazy)(()=>n(()=>import(`./SourceControlSettings-dKw0FaN1.js`).then(e=>({default:e.SourceControlSettingsPanel})),__vite__mapDeps([0]))),Re=(0,G.lazy)(()=>n(()=>import(`./ConnectionsSettings-B9nfvgLG.js`).then(e=>({default:e.ConnectionsSettings})),__vite__mapDeps([0]))),ze=(0,G.lazy)(()=>n(()=>import(`./NodeSecuritySettings-CwT5nEW9.js`).then(e=>({default:e.NodeSecuritySettings})),__vite__mapDeps([0]))),$=(0,G.lazy)(()=>n(()=>import(`./DiagnosticsSettings-BmrqOKMe.js`).then(e=>({default:e.DiagnosticsSettings})),[])),Be=(0,G.lazy)(()=>n(()=>import(`./StatisticsSettingsLink-C_f31sb4.js`).then(e=>({default:e.StatisticsSettingsLink})),__vite__mapDeps([0])));function Ve(e){let t=(0,W.c)(6),{onRestored:n}=e,{changedSettingLabels:r,restoreDefaults:i}=pe(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,K.jsx)(B,{className:`size-3.5`}),t[2]=s):s=t[2];let c;return t[3]!==a||t[4]!==o?(c=(0,K.jsxs)(O,{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 He(e){let t=(0,W.c)(49),{section:n,searchTargetId:r}=e,a=T(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,K.jsx)(`div`,{className:`flex min-h-80 items-center justify-center text-muted-foreground text-sm`,children:`Loading settings...`}),t[0]=o):o=t[0];let s;t[1]===n?s=t[2]:(s=n===`account`?(0,K.jsx)(J,{}):null,t[1]=n,t[2]=s);let c;t[3]!==r||t[4]!==n?(c=n===`general`?(0,K.jsx)(L,{searchTargetId:r}):null,t[3]=r,t[4]=n,t[5]=c):c=t[5];let l;t[6]===n?l=t[7]:(l=n===`inbox`?(0,K.jsx)(X,{}):null,t[6]=n,t[7]=l);let u;t[8]===n?u=t[9]:(u=n===`providers`?(0,K.jsx)(Y,{}):null,t[8]=n,t[9]=u);let d;t[10]===n?d=t[11]:(d=n===`opinionated-plugins`?(0,K.jsx)(Z,{}):null,t[10]=n,t[11]=d);let f;t[12]===n?f=t[13]:(f=n===`mcp-servers`?(0,K.jsx)(Q,{}):null,t[12]=n,t[13]=f);let p;t[14]===n?p=t[15]:(p=n===`integrations`?(0,K.jsx)(Pe,{}):null,t[14]=n,t[15]=p);let m;t[16]===n?m=t[17]:(m=n===`appearance`?(0,K.jsx)(Fe,{}):null,t[16]=n,t[17]=m);let h;t[18]===n?h=t[19]:(h=n===`keybindings`?(0,K.jsx)(Ie,{}):null,t[18]=n,t[19]=h);let g;t[20]===n?g=t[21]:(g=n===`source-control`?(0,K.jsx)(Le,{}):null,t[20]=n,t[21]=g);let _;t[22]!==a||t[23]!==n?(_=n===`connections`?a===`node`||i()?(0,K.jsxs)(`div`,{className:`space-y-5 p-6`,children:[(0,K.jsxs)(`div`,{className:`space-y-1`,children:[(0,K.jsx)(`h1`,{className:`text-base font-semibold`,children:`Connections`}),(0,K.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Ryco manages your connection automatically. Advanced details for this node are available below.`})]}),(0,K.jsxs)(O,{variant:`outline`,onClick:Ue,children:[(0,K.jsx)(ve,{className:`size-4`}),`Device security · Advanced`]})]}):(0,K.jsx)(Re,{}):null,t[22]=a,t[23]=n,t[24]=_):_=t[24];let v;t[25]===n?v=t[26]:(v=n===`security`?(0,K.jsx)(ze,{}):null,t[25]=n,t[26]=v);let y;t[27]===n?y=t[28]:(y=n===`diagnostics`?(0,K.jsx)($,{}):null,t[27]=n,t[28]=y);let b;t[29]===n?b=t[30]:(b=n===`statistics`?(0,K.jsx)(Be,{}):null,t[29]=n,t[30]=b);let x;t[31]===n?x=t[32]:(x=n===`archived`?(0,K.jsx)(R,{}):null,t[31]=n,t[32]=x);let S;return t[33]!==h||t[34]!==g||t[35]!==_||t[36]!==v||t[37]!==y||t[38]!==b||t[39]!==x||t[40]!==s||t[41]!==c||t[42]!==l||t[43]!==u||t[44]!==d||t[45]!==f||t[46]!==p||t[47]!==m?(S=(0,K.jsxs)(G.Suspense,{fallback:o,children:[s,c,l,u,d,f,p,m,h,g,_,v,y,b,x]}),t[33]=h,t[34]=g,t[35]=_,t[36]=v,t[37]=y,t[38]=b,t[39]=x,t[40]=s,t[41]=c,t[42]=l,t[43]=u,t[44]=d,t[45]=f,t[46]=p,t[47]=m,t[48]=S):S=t[48],S}function Ue(){return p.getState().setSection(`security`)}function We(){let e=g({strict:!1,select:e=>d(e)?.environmentId??null}),t=a(),n=b(),o=m(e=>e.activeEnvironmentId),u=xe(),y=p(e=>e.open),S=p(e=>e.section),w=p(e=>e.editingScope),T=p(e=>e.setEditingScope),oe=p(e=>e.setTargetEnvironmentId),k=E(e=>e.byId),se=we(c.serverUpdateSettings),le=p(e=>e.targetEnvironmentId),ue=p(e=>e.closeSettings),A=p(e=>e.setSection),j=i()?t?.environmentId??null:D({requestedEnvironmentId:le,routedEnvironmentId:e,activeEnvironmentId:o,primaryEnvironmentId:t?.environmentId??null,desktopLocalEnvironmentId:r?u.localEnvironmentId:null}),de=E(e=>j?e.byId[j]??null:null),M=x(e=>j?e.byId[j]??null:null),N=j!==null&&j===t?.environmentId,P=j?u.machines.find(e=>e.environmentId===j)??null:null,F=N?n:M?.serverConfig??null,fe=Oe(),I=De(),L=Oe(j,N?t?.label??F?.environment.label:M?.descriptor?.label??F?.environment.label??de?.label),pe=P?P.canConnect?P.effectiveRole:null:M?.role===`owner`?`owner`:M?.role?`viewer`:null,R=j?{environmentId:j,nodeLabel:L,serverConfig:F,primary:N,canManage:N?!i():pe===`owner`,canMutate:N||(P?P.canMutate:M?.role===`owner`||M?.role===`client`),connected:F!==null&&(N||M?.connectionState===`connected`||P?.connectionState===`connected`)}:null;(0,G.useEffect)(()=>{if(y&&w===`node`&&r&&j&&!N)return Se(j)},[y,w,j,N]);let me=h(e=>e.effectiveRole),z=h(e=>e.directoryStatus),he=h(e=>e.transportStatus),B=i(),V=te(z,he),_e=f(me,z,he),be=B?_e:N?`owner`:pe,Te=R?{...R,canManage:R.connected&&(B?_e===`owner`&&V&&se.allowed:R.canManage===!0)}:null,H=new Map;t&&H.set(t.environmentId,fe);for(let e of Object.values(k))t&&e.environmentId===u.localEnvironmentId||H.set(e.environmentId,e.label);for(let e of u.machines)t&&e.environmentId===u.localEnvironmentId||H.set(e.environmentId,e.label);j&&H.set(j,L);let U=Ne.filter(e=>_(e.id,w,r&&!!window.desktopBridge?.computerUse)?w===`client`?e.id!==`connections`||!B:l(e.id===`connections`?`security`:e.id,{hosted:B||!N,role:R?.connected?be:null,desktop:!1}):!1),W=S===`computer-use`&&window.desktopBridge?.computerUse?`integrations`:S,q=U.some(e=>e.id===W)?W:U[0]?.id??`appearance`,Ae=w===`node`?L:I;(0,G.useEffect)(()=>{(!B||V)&&y&&S!==q&&A(q)},[q,B,y,V,S,A]);let[J,Y]=(0,G.useState)(``),[X,Z]=(0,G.useState)(null);(0,G.useEffect)(()=>{y||(Y(``),Z(null))},[y]);let Pe=new Set(U.map(e=>e.id)),Q=J.trim().toLowerCase(),Fe=Q.length===0?[]:Me.filter(e=>Pe.has(e.section)&&e.owner===w&&(!e.desktopCapability||!!window.desktopBridge?.[e.desktopCapability])&&`${e.title} ${e.description} ${e.keywords??``}`.toLowerCase().includes(Q)),[Ie,Le]=(0,G.useState)(0),Re=(0,G.useCallback)(()=>{Le(e=>e+1)},[]),ze=q===`general`,$=je(`${y}:${q}`,Q.length>0,X);return(0,K.jsx)(ce,{open:y,onOpenChange:e=>{e||ue()},children:(0,K.jsx)(C,{value:w,children:(0,K.jsx)(ee,{value:w===`node`?Te:null,children:(0,K.jsxs)(re,{className:`project-glass-surface h-[min(88dvh,880px)] max-w-[1180px] overflow-hidden p-0`,bottomStickOnMobile:!1,showCloseButton:!0,surface:`glass`,children:[(0,K.jsxs)(`header`,{className:`flex h-12 shrink-0 items-center justify-between border-b border-border px-5`,children:[(0,K.jsxs)(`div`,{className:`flex min-w-0 items-center gap-4`,children:[(0,K.jsxs)(`div`,{className:`flex shrink-0 items-baseline gap-2`,children:[(0,K.jsx)(ae,{className:`text-base font-semibold`,children:`Settings`}),(0,K.jsx)(`span`,{"data-testid":`settings-scope-label`,className:`max-w-48 truncate text-xs text-muted-foreground`,children:Ae})]}),(0,K.jsxs)(`div`,{className:`relative w-72 max-w-[40vw]`,children:[(0,K.jsx)(ne,{"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`}),(0,K.jsx)(`input`,{type:`search`,value:J,onChange:e=>{Z(null),Y(e.target.value)},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`})]})]}),(0,K.jsx)(`div`,{className:`flex shrink-0 items-center gap-2 pr-9`,children:ze?(0,K.jsx)(Ve,{onRestored:Re}):null})]}),(0,K.jsxs)(`div`,{className:`flex min-h-0 flex-1 flex-row`,children:[(0,K.jsxs)(`nav`,{className:`relative isolate flex w-12 shrink-0 flex-col gap-1 overflow-y-auto border-r border-border p-2 sm:w-52`,children:[(0,K.jsxs)(`div`,{className:`mb-2 flex flex-col gap-1 border-b pb-2`,role:`group`,"aria-label":`Settings destination`,children:[(0,K.jsxs)(O,{variant:w===`client`?`secondary`:`ghost`,"aria-pressed":w===`client`,onClick:()=>T(`client`),className:`justify-start px-2`,children:[(0,K.jsx)(ge,{className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`App preferences`})]}),(0,K.jsxs)(O,{variant:w===`node`?`secondary`:`ghost`,"aria-pressed":w===`node`,onClick:()=>T(`node`),disabled:!R,className:`justify-start px-2`,"aria-label":`Device settings: ${L}`,children:[(0,K.jsx)(ie,{environmentId:j,label:L,className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden truncate sm:inline`,children:L})]})]}),w===`node`&&!B&&H.size>1&&(0,K.jsx)(`select`,{"aria-label":`Settings device`,value:j??``,onChange:e=>oe(s.make(e.target.value)),className:`mb-2 hidden w-full rounded-md border bg-background p-2 text-xs sm:block`,children:[...H].map(([e,t])=>(0,K.jsx)(`option`,{value:e,children:t},e))}),B&&w===`client`&&(0,K.jsxs)(O,{variant:`ghost`,className:`justify-start px-2`,onClick:()=>{ue(),Ee({kind:`account`,section:`overview`})},children:[(0,K.jsx)(ye,{className:`size-4 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`Hub account`})]}),U.map(e=>{if(e.id===`security`)return null;let t=e.icon,n=q===e.id||e.id===`connections`&&q===`security`;return(0,K.jsxs)(G.Fragment,{children:[(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(null),A(e.id)},className:v(`relative z-10 flex h-9 w-full shrink-0 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?`bg-accent font-medium text-foreground`:`text-muted-foreground/70 hover:text-foreground/80`),"aria-label":e.label,"aria-current":n?`page`:void 0,children:[(0,K.jsx)(t,{className:v(`size-4 shrink-0`,n?`text-foreground`:`text-muted-foreground/60`)}),(0,K.jsx)(`span`,{className:`hidden truncate sm:inline`,children:e.label})]}),w===`node`&&e.id===`connections`&&n&&Pe.has(`security`)&&(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(null),A(`security`)},"aria-current":q===`security`?`page`:void 0,"aria-label":`Advanced device security`,className:v(`flex items-center gap-2 rounded-md px-2 py-2 text-left text-xs outline-hidden focus-visible:ring-2 focus-visible:ring-ring sm:ml-7`,q===`security`?`bg-accent text-foreground`:`text-muted-foreground hover:text-foreground`),children:[(0,K.jsx)(ve,{className:`size-3.5 shrink-0`}),(0,K.jsx)(`span`,{className:`hidden sm:inline`,children:`Device security · Advanced`})]}),n&&$.sections.length>1&&(0,K.jsx)(`div`,{className:`mb-2 ml-7 hidden flex-col border-l border-border sm:flex`,children:$.sections.map(({id:e,title:t,element:n})=>(0,K.jsx)(`button`,{type:`button`,"aria-current":$.active===n?`location`:void 0,className:v(`rounded-r px-3 py-1.5 text-left text-xs focus-visible:outline-2 focus-visible:outline-ring`,$.active===n?`font-medium text-foreground`:`text-muted-foreground hover:text-foreground`),onClick:()=>{n.hasAttribute(`data-settings-action`)&&n.click(),n.scrollIntoView({block:`start`,behavior:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?`instant`:`smooth`})},children:t},e))})]},e.id)})]}),(0,K.jsxs)(Ce,{ref:$.contentRef,className:`min-h-0 min-w-0 flex-1`,children:[(0,K.jsx)(`p`,{className:`border-b px-6 py-3 text-xs text-muted-foreground`,"data-testid":`settings-destination-description`,children:w===`client`?`Preferences for ${I}. Appearance and interface changes stay in this app.`:`Settings for ${L}. Changes apply to that device for everyone authorized to use it.`}),Q.length>0?(0,K.jsx)(`div`,{className:`p-4`,children:(0,K.jsx)(`div`,{className:`flex flex-col gap-0.5 rounded-xl border border-border bg-card p-1.5 shadow-sm/4`,children:Fe.length===0?(0,K.jsxs)(`p`,{className:`px-2 py-8 text-center text-sm text-muted-foreground`,children:[`No settings match “`,J.trim(),`”.`]}):Fe.map(e=>{let t=U.find(t=>t.id===e.section)?.label;return(0,K.jsxs)(`button`,{type:`button`,onClick:()=>{Z(e.targetId??e.title),A(e.section),Y(``)},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,K.jsxs)(`span`,{className:`flex items-baseline gap-2`,children:[(0,K.jsx)(`span`,{className:`text-sm font-medium`,children:e.title}),t?(0,K.jsx)(`span`,{className:`text-[11px] text-muted-foreground/70`,children:t}):null]}),(0,K.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.description})]},`${e.section}:${e.title}`)})})}):(0,K.jsxs)(`div`,{className:`flex flex-col`,children:[w===`node`&&(0,K.jsx)(ke,{},j),w===`node`&&!Te?.connected?(0,K.jsx)(`p`,{className:`p-6 text-sm text-muted-foreground`,children:P&&!P.online?`${L} is offline. Its settings will be available when it reconnects.`:P?.canConnect?`Connecting to ${L}…`:`Connect to ${L} to manage its settings.`}):w===`node`&&U.length===0?(0,K.jsxs)(`p`,{className:`p-6 text-sm text-muted-foreground`,children:[`Your access to `,L,` does not allow changing node settings.`]}):(0,K.jsx)(He,{section:q,searchTargetId:X})]},Ie)]})]})]})})})})}export{We as SettingsDialog};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{Bt as n,G as r}from"./primary-CjhRI8fe.js";import{B as i,S as a,Vl as o,lt as s}from"./src-Bi-5Nw9C.js";import{An as c,Bo as l,Kc as u,Na as d,Nn as f,Nr as p,Or as m,Qc as h,Rc as g,V as _,Vr as v,X as y,Yo as b,Zc as x,_l as S,_s as C,bn as w,dc as T,ds as E,gl as D,gr as O,gs as k,hl as A,il as j,jc as M,jl as N,kc as P,kr as F,lc as I,ll as L,ms as R,or as ee,qo as te,sr as z,us as ne,wo as re,yo as ie,yr as ae,zr as oe}from"./runtime-Bxg7k81u.js";import{On as se,Rt as ce,Yt as le,t as B}from"./switch-CEJEmLe7.js";import{t as ue}from"./compiler-runtime-qmuS0Svy.js";import{T as de}from"./usePopupViewport-BcSIK_ph.js";import{i as fe,n as pe,t as me}from"./tooltip-B7Z4qomY.js";import{a as V,c as he,n as ge,o as _e,s as ve}from"./badge-DnBuGHGL.js";import{c as ye,d as be,f as xe,l as Se,p as H,s as U,u as Ce,v as we}from"./RootAppShell-CzmEWO9w.js";import{t as Te}from"./chevron-right-CITtTwME.js";import{n as Ee,t as De}from"./SettingsPanels.editor-d-rVlbeN.js";import{r as Oe,t as ke}from"./editorPreferences-Bg624RVT.js";import{t as W}from"./toastHelpers-CSQRKo4F.js";import{t as Ae}from"./useBaseUiId-OYaGjnkh.js";import{t as je}from"./useControlled-DQwgzrEC.js";import{t as Me}from"./input-C2xv8mMt.js";import{t as Ne}from"./capabilities-DskyVNd2.js";import{t as Pe}from"./usePresentationTier-B_SCFvN7.js";import{t as Fe}from"./useLongPress-DG1W7YqV.js";import{t as Ie}from"./useTheme-CVNauCtz.js";import{a as Le,i as Re,o as ze,r as Be,t as Ve}from"./empty-YXFtCUDN.js";import{i as G,n as He,r as K,t as q}from"./settingsLayout-CfKq88KD.js";import{C as Ue,Ft as We,It as Ge}from"./main-CzDOnLFw.js";var Ke={name:`archive-x`,size:24,node:[[`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`}]]};Ke.node;var qe=d(Ke),Je={name:`blocks`,size:24,node:[[`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`}]]};Je.node;var Ye=d(Je),Xe={name:`keyboard`,size:24,node:[[`path`,{d:`M10 8h.01`,key:`1r9ogq`}],[`path`,{d:`M12 12h.01`,key:`1mp3jc`}],[`path`,{d:`M14 8h.01`,key:`1primd`}],[`path`,{d:`M16 12h.01`,key:`1l6xoz`}],[`path`,{d:`M18 8h.01`,key:`emo2bl`}],[`path`,{d:`M6 8h.01`,key:`x9i8wu`}],[`path`,{d:`M7 16h10`,key:`wp8him`}],[`path`,{d:`M8 12h.01`,key:`czm47f`}],[`rect`,{width:`20`,height:`16`,x:`2`,y:`4`,rx:`2`,key:`18n3k1`}]]};Xe.node;var Ze=d(Xe),Qe={name:`link-2`,size:24,node:[[`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`}]]};Qe.node;var $e=d(Qe),et={name:`plug-zap`,size:24,node:[[`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`}]],aliases:[`plug-zap-2`]};et.node;var tt=d(et),J=e(t(),1);function nt(e){let{open:t,defaultOpen:n=!1,onOpenChange:r,disabled:i}=e,[a,o]=je({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:s,setMounted:c,transitionStatus:l}=de(a,!0,!0),d=Ae(),[f,p]=J.useState(),m=f===null?void 0:f??d,h=u(e=>{let t=!a,n=re(te,e.nativeEvent);r(t,n),!n.isCanceled&&o(t)});return J.useMemo(()=>({defaultPanelId:d,disabled:i,handleTrigger:h,mounted:s,open:a,panelId:m,setMounted:c,setOpen:o,setPanelIdState:p,transitionStatus:l}),[d,i,h,s,a,m,c,o,p,l])}var rt=J.createContext(void 0);function it(){let e=J.useContext(rt);if(e===void 0)throw Error(x(15));return e}var at=`data-open`,ot=`data-closed`,st=T,ct=`data-panel-open`,lt={[at]:``},ut={[ot]:``},dt={open(e){return e?{[ct]:``}:null}},ft={open(e){return e?lt:ut},...I},Y=S(),pt=J.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:o,open:s,style:c,...l}=e,d=u(o),f=nt({open:s,defaultOpen:i,onOpenChange:d,disabled:a}),p=J.useMemo(()=>({open:f.open,disabled:f.disabled,transitionStatus:f.transitionStatus}),[f.open,f.disabled,f.transitionStatus]),m=J.useMemo(()=>({...f,onOpenChange:d,state:p}),[f,d,p]),h=R(`div`,e,{state:p,ref:t,props:l,stateAttributesMapping:ft});return(0,Y.jsx)(rt.Provider,{value:m,children:h})}),mt={...dt,...I},ht=J.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:o}=it(),{className:s,disabled:c=o,render:l,nativeButton:u=!0,style:d,...f}=e,{getButtonProps:p,buttonRef:m}=b({disabled:c,focusableWhenDisabled:!0,native:u});return R(`button`,e,{state:a,ref:[t,m],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},f,p],stateAttributesMapping:mt})}),X={height:void 0,width:void 0};function gt(e){let{externalRef:t,hiddenUntilFound:n,id:r,keepMounted:i,mounted:a,onOpenChange:o,open:s,setMounted:c,setOpen:d,transitionStatus:f}=e,p=J.useRef(null),m=J.useRef(null),[g,_]=J.useState(X),v=J.useRef(X),y=J.useRef(!1),b=J.useRef(s),x=J.useRef(!1),[S,w]=J.useState(!1),T=J.useRef(null),D=C(t,p),O=ie(s),k=E(p),A=!s&&!a,j=S?`idle`:f,N=s&&(b.current||x.current),F=!s&&a&&m.current===`css-animation`&&g.height===void 0&&g.width===void 0?v.current:g,I=n&&A&&m.current!==`css-animation`,L=u((e,t=!0)=>{t&&(v.current=e),_(e)}),R=u(()=>{T.current?.(),T.current=null}),ee=u(e=>{R(),T.current=()=>{T.current=null,e()}}),te=u(()=>{s&&a&&m.current===`css-animation`&&(x.current=!0)});h(()=>{S&&f!==`starting`&&w(!1)},[S,f]),J.useEffect(()=>()=>{te(),R()},[te,R]),h(()=>{let e=p.current;if(!e)return;!s&&T.current&&R();let t=_t(e,N);if(m.current=t,s&&f===`idle`&&b.current&&t===`css-animation`){v.current=Z(e);return}if(s&&f===`starting`){let n=y.current;if(y.current=!1,t===`none`){L(Z(e)),w(!0);return}if(t===`css-transition`){let t=yt(e);if(L(Z(e)),!n)return t;let r=Q(e,`transition-duration`,`0s`);return ee(r),w(!0),t}L(Z(e));let r=Q(e,`animation-name`,`none`);if(!n){r();return}let i=Q(e,`animation-duration`,`0s`);r(),ee(i),w(!0);return}if(!s&&a&&(f===`idle`||f===`starting`)){if(b.current=!1,x.current=!1,t===`none`){L(X,!1),c(!1);return}L(Z(e));return}if(f!==`ending`)return;if(t===`none`){c(!1);return}let n=Z(e);if(!(n.height>0||n.width>0)){c(!1);return}L(n),t===`css-animation`&&Q(e,`animation-name`,`none`)()},[a,s,R,L,c,ee,N,f]),ne({enabled:s&&a&&j===`idle`,open:!0,ref:p,onComplete(){s&&L(X,!1)}}),J.useEffect(()=>{if(s||!a||j!==`ending`||!p.current)return;let e=new AbortController,t=-1;function n(){O.current||(c(!1),L(X,!1))}return t=P.request(()=>{k(n,e.signal)}),()=>{P.cancel(t),e.abort()}},[O,a,s,j,k,L,c]),h(()=>{let e=p.current;e&&n&&A&&e.setAttribute(`hidden`,`until-found`)},[A,n]),J.useEffect(function(){let e=p.current;if(!e)return;function t(e){let t=re(l,e);o(!0,t),!t.isCanceled&&(y.current=!0,d(!0))}return M(e,`beforematch`,t)},[o,d]);let z=i||n||a||s;return{height:F.height,props:{...I?{[st]:``}:void 0,hidden:A,id:r},ref:D,shouldPreventOpenAnimation:N,shouldRender:z,transitionStatus:j,width:F.width}}function Z(e){return{height:e.scrollHeight,width:e.scrollWidth}}function _t(e,t){let n=g(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&vt(n.animationDuration),i=vt(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function vt(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function Q(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{if(r===``){e.style.removeProperty(t);return}e.style.setProperty(t,r,i)}}function yt(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{if(n===``){e.style.removeProperty(t);return}e.style.setProperty(t,n)})}let r=P.request(n);return()=>{P.cancel(r),n()}}var bt=`--collapsible-panel-height`,xt=`--collapsible-panel-width`,St=J.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:o,style:s,...c}=e,{defaultPanelId:l,mounted:u,onOpenChange:d,open:f,setMounted:p,setPanelIdState:m,setOpen:g,state:_,transitionStatus:v}=it(),y=r??!1,b=i??!1,x=o||void 0,S=x??l;h(()=>(m(e=>x??(e===null?void 0:e)),()=>{m(e=>e===x?null:e)}),[x,m]);let{height:C,props:w,ref:T,shouldPreventOpenAnimation:E,shouldRender:D,transitionStatus:O,width:A}=gt({externalRef:t,hiddenUntilFound:y,id:S,keepMounted:b,mounted:u,onOpenChange:d,open:f,setMounted:p,setOpen:g,transitionStatus:v}),j={..._,transitionStatus:O},M=k(s,j),N=R(`div`,{...e,style:void 0},{state:j,ref:T,props:[w,{style:{[bt]:C===void 0?`auto`:`${C}px`,[xt]:A===void 0?`auto`:`${A}px`}},c,M?{style:M}:void 0,E?{style:{animationName:`none`}}:void 0],stateAttributesMapping:ft});return D?N:null}),$=ue();function Ct(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Y.jsx)(pt,{"data-slot":`collapsible`,...n}),t[2]=n,t[3]=r),r}function wt(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=v(`cursor-pointer`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Y.jsx)(ht,{className:i,"data-slot":`collapsible-trigger`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Tt(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=v(`h-(--collapsible-panel-height) overflow-hidden transition-[height] duration-200 data-ending-style:h-0 data-starting-style:h-0 data-open:data-ending-style:[height:var(--collapsible-panel-height)]`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Y.jsx)(St,{className:i,"data-slot":`collapsible-panel`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Et(e,t){let n=(0,$.c)(12),[r,i]=(0,J.useState)(e),a=(0,J.useRef)(!1),o,s;n[0]===e?(o=n[1],s=n[2]):(o=()=>{a.current||i(e)},s=[e],n[0]=e,n[1]=o,n[2]=s),(0,J.useEffect)(o,s);let c,l;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>{i(e.target.value)},l=()=>{a.current=!0},n[3]=c,n[4]=l):(c=n[3],l=n[4]);let u;n[5]!==r||n[6]!==t||n[7]!==e?(u=()=>{a.current=!1,r!==e&&t(r)},n[5]=r,n[6]=t,n[7]=e,n[8]=u):u=n[8];let d;return n[9]!==r||n[10]!==u?(d={value:r,onChange:c,onFocus:l,onBlur:u,onKeyDown:Dt},n[9]=r,n[10]=u,n[11]=d):d=n[11],d}function Dt(e){e.key===`Enter`&&(e.preventDefault(),e.target.blur())}function Ot(e){let t=(0,$.c)(7),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({value:i,onCommit:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=Et(i,n),o;return t[4]!==a||t[5]!==r?(o=(0,Y.jsx)(Me,{...r,...a}),t[4]=a,t[5]=r,t[6]=o):o=t[6],o}var kt={timestampFormat:`Time format`,diffWordWrap:`Diff line wrapping`,diffIgnoreWhitespace:`Diff whitespace changes`,gitStatusPollIntervalMs:`Remote Git status`,sourceControlRefreshMode:`PR & workflow updates`,autoOpenPlanSidebar:`Auto-open overview`,enableLegacyTokenStreaming:`Stream token by token`,enableProviderUpdateChecks:`Provider update checks`,defaultThreadEnvMode:`New thread mode`,addProjectBaseDirectory:`Add project base directory`,confirmThreadArchive:`Archive confirmation`,confirmThreadDelete:`Delete confirmation`,confirmThreadUnpin:`Unpin confirmation`,textGenerationModelSelection:`Git writing model`};function At(e,t,n){let r=n!==`node`&&t!==`system`,i=r?[`Theme`]:[],s={};for(let t of Object.keys(kt))(n===`all`||N(t)===(n===`node`))&&(o(e[t],a[t])||(i.push(kt[t]),s[t]=a[t]));return{labels:i,resetTheme:r,patch:s}}function jt(e,t,n){return e.filter(e=>n===void 0||e.environmentId===n).map(e=>({project:e,threads:t.filter(t=>t.environmentId===e.environmentId&&t.projectId===e.id&&t.archivedAt!==null).toSorted((e,t)=>(t.archivedAt??t.createdAt).localeCompare(e.archivedAt??e.createdAt)||t.id.localeCompare(e.id))})).filter(e=>e.threads.length>0)}var Mt={0:`Off`,1e4:`10 seconds`,3e4:`30 seconds`,6e4:`1 minute`,3e5:`5 minutes`},Nt=[0,1e4,3e4,6e4,3e5],Pt={automatic:`Automatic`,reduced:`Reduced`,manual:`Manual`},Ft=[`automatic`,`reduced`,`manual`];function It(e){if(e===null)return null;let t=Number.parseInt(e,10);return Nt.includes(t)?t:null}function Lt(e){return Ft.find(t=>t===e)??null}function Rt(){let e=(0,$.c)(65),t=m(),{updateSettings:n}=F(),r=Ge(),i;e[0]!==t.diffWordWrap||e[1]!==n?(i=t.diffWordWrap===a.diffWordWrap?null:(0,Y.jsx)(q,{label:`diff line wrapping`,onClick:()=>n({diffWordWrap:a.diffWordWrap})}),e[0]=t.diffWordWrap,e[1]=n,e[2]=i):i=e[2];let o;e[3]===n?o=e[4]:(o=e=>n({diffWordWrap:!!e}),e[3]=n,e[4]=o);let s;e[5]!==t.diffWordWrap||e[6]!==o?(s=(0,Y.jsx)(B,{checked:t.diffWordWrap,onCheckedChange:o,"aria-label":`Wrap diff lines by default`}),e[5]=t.diffWordWrap,e[6]=o,e[7]=s):s=e[7];let c;e[8]!==r||e[9]!==i||e[10]!==s?(c=(0,Y.jsx)(K,{title:`Diff line wrapping`,description:`Set the default wrap state when the diff panel opens.`,scope:r,resetAction:i,control:s}),e[8]=r,e[9]=i,e[10]=s,e[11]=c):c=e[11];let l;e[12]!==t.diffIgnoreWhitespace||e[13]!==n?(l=t.diffIgnoreWhitespace===a.diffIgnoreWhitespace?null:(0,Y.jsx)(q,{label:`diff whitespace changes`,onClick:()=>n({diffIgnoreWhitespace:a.diffIgnoreWhitespace})}),e[12]=t.diffIgnoreWhitespace,e[13]=n,e[14]=l):l=e[14];let u;e[15]===n?u=e[16]:(u=e=>n({diffIgnoreWhitespace:!!e}),e[15]=n,e[16]=u);let d;e[17]!==t.diffIgnoreWhitespace||e[18]!==u?(d=(0,Y.jsx)(B,{checked:t.diffIgnoreWhitespace,onCheckedChange:u,"aria-label":`Hide whitespace changes by default`}),e[17]=t.diffIgnoreWhitespace,e[18]=u,e[19]=d):d=e[19];let f;e[20]!==r||e[21]!==l||e[22]!==d?(f=(0,Y.jsx)(K,{title:`Hide whitespace changes`,description:`Set whether the diff panel ignores whitespace-only edits by default.`,scope:r,resetAction:l,control:d}),e[20]=r,e[21]=l,e[22]=d,e[23]=f):f=e[23];let p;e[24]!==c||e[25]!==f?(p=(0,Y.jsxs)(G,{title:`Diff display`,children:[c,f]}),e[24]=c,e[25]=f,e[26]=p):p=e[26];let h;e[27]!==t.gitStatusPollIntervalMs||e[28]!==n?(h=t.gitStatusPollIntervalMs===a.gitStatusPollIntervalMs?null:(0,Y.jsx)(q,{label:`git status polling`,onClick:()=>n({gitStatusPollIntervalMs:a.gitStatusPollIntervalMs})}),e[27]=t.gitStatusPollIntervalMs,e[28]=n,e[29]=h):h=e[29];let g=String(t.gitStatusPollIntervalMs),_;e[30]===n?_=e[31]:(_=e=>{let t=It(e);t!==null&&n({gitStatusPollIntervalMs:t})},e[30]=n,e[31]=_);let v=Mt[t.gitStatusPollIntervalMs],y;e[32]===v?y=e[33]:(y=(0,Y.jsx)(ve,{className:`w-full sm:w-40`,"aria-label":`Git status polling interval`,children:(0,Y.jsx)(he,{children:v})}),e[32]=v,e[33]=y);let b;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Y.jsx)(_e,{align:`end`,alignItemWithTrigger:!1,children:Nt.map(Bt)}),e[34]=b):b=e[34];let x;e[35]!==g||e[36]!==_||e[37]!==y?(x=(0,Y.jsxs)(ge,{value:g,onValueChange:_,children:[y,b]}),e[35]=g,e[36]=_,e[37]=y,e[38]=x):x=e[38];let S;e[39]!==r||e[40]!==x||e[41]!==h?(S=(0,Y.jsx)(K,{title:`Remote Git status`,description:`Refresh remote branch and pull request metadata while a repository is open.`,scope:r,resetAction:h,control:x}),e[39]=r,e[40]=x,e[41]=h,e[42]=S):S=e[42];let C;e[43]!==t.sourceControlRefreshMode||e[44]!==n?(C=t.sourceControlRefreshMode===a.sourceControlRefreshMode?null:(0,Y.jsx)(q,{label:`PR and workflow updates`,onClick:()=>n({sourceControlRefreshMode:a.sourceControlRefreshMode})}),e[43]=t.sourceControlRefreshMode,e[44]=n,e[45]=C):C=e[45];let w;e[46]===n?w=e[47]:(w=e=>{let t=Lt(e);t!==null&&n({sourceControlRefreshMode:t})},e[46]=n,e[47]=w);let T=Pt[t.sourceControlRefreshMode],E;e[48]===T?E=e[49]:(E=(0,Y.jsx)(ve,{className:`w-full sm:w-40`,"aria-label":`PR and workflow update mode`,children:(0,Y.jsx)(he,{children:T})}),e[48]=T,e[49]=E);let D;e[50]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,Y.jsx)(_e,{align:`end`,alignItemWithTrigger:!1,children:Ft.map(zt)}),e[50]=D):D=e[50];let O;e[51]!==t.sourceControlRefreshMode||e[52]!==w||e[53]!==E?(O=(0,Y.jsxs)(ge,{value:t.sourceControlRefreshMode,onValueChange:w,children:[E,D]}),e[51]=t.sourceControlRefreshMode,e[52]=w,e[53]=E,e[54]=O):O=e[54];let k;e[55]!==r||e[56]!==C||e[57]!==O?(k=(0,Y.jsx)(K,{title:`PR & workflow updates`,description:`Control automatic pull request and workflow refreshes. Automatic is fast after pushes and stops when checks settle.`,scope:r,resetAction:C,control:O}),e[55]=r,e[56]=C,e[57]=O,e[58]=k):k=e[58];let A;e[59]!==S||e[60]!==k?(A=(0,Y.jsxs)(G,{title:`Git & pull requests`,children:[S,k]}),e[59]=S,e[60]=k,e[61]=A):A=e[61];let j;return e[62]!==A||e[63]!==p?(j=(0,Y.jsxs)(Y.Fragment,{children:[p,A]}),e[62]=A,e[63]=p,e[64]=j):j=e[64],j}function zt(e){return(0,Y.jsx)(V,{hideIndicator:!0,value:e,children:Pt[e]},e)}function Bt(e){return(0,Y.jsx)(V,{hideIndicator:!0,value:String(e),children:Mt[e]},e)}function Vt(){let e=(0,$.c)(25),t=_(Gt),n=_(Wt),r=_(Ut),i=_(Ht),a;e[0]!==n||e[1]!==t?(a=t?null:(0,Y.jsx)(q,{label:`wide composer labels`,onClick:()=>n(!0)}),e[0]=n,e[1]=t,e[2]=a):a=e[2];let o;e[3]===n?o=e[4]:(o=e=>n(!!e),e[3]=n,e[4]=o);let s;e[5]!==o||e[6]!==t?(s=(0,Y.jsx)(B,{checked:t,onCheckedChange:o,"aria-label":`Auto-collapse wide composer labels`}),e[5]=o,e[6]=t,e[7]=s):s=e[7];let c;e[8]!==a||e[9]!==s?(c=(0,Y.jsx)(K,{title:`Auto-collapse wide composer labels`,description:`Show long composer mode labels only on hover or focus.`,resetAction:a,control:s}),e[8]=a,e[9]=s,e[10]=c):c=e[10];let l;e[11]!==r||e[12]!==i?(l=r?null:(0,Y.jsx)(q,{label:`always use Build mode`,onClick:()=>i(!0)}),e[11]=r,e[12]=i,e[13]=l):l=e[13];let u;e[14]===i?u=e[15]:(u=e=>i(!!e),e[14]=i,e[15]=u);let d;e[16]!==r||e[17]!==u?(d=(0,Y.jsx)(B,{checked:r,onCheckedChange:u,"aria-label":`Always use Build mode`}),e[16]=r,e[17]=u,e[18]=d):d=e[18];let f;e[19]!==l||e[20]!==d?(f=(0,Y.jsx)(K,{title:`Always use Build mode`,description:`Hide the mode selector in the composer and send every turn in Build mode.`,resetAction:l,control:d}),e[19]=l,e[20]=d,e[21]=f):f=e[21];let p;return e[22]!==c||e[23]!==f?(p=(0,Y.jsxs)(G,{title:`Composer controls`,children:[c,f]}),e[22]=c,e[23]=f,e[24]=p):p=e[24],p}function Ht(e){return e.setAlwaysUseBuildMode}function Ut(e){return e.alwaysUseBuildMode}function Wt(e){return e.setWideComposerControlsAutoCollapse}function Gt(e){return e.wideComposerControlsAutoCollapse}var Kt={"press-twice":`Press twice`,hold:`Hold for 1 second`,immediately:`Immediately`};function qt(){let e=(0,$.c)(16),t=Ge(),n=window.desktopBridge?.quitShortcut,[r,i]=(0,J.useState)(null),[a,o]=(0,J.useState)(!1),[s,c]=(0,J.useState)(null),l,u;if(e[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=()=>{let e=!0;return n?.getMode().then(t=>{e&&i(t)}).catch(()=>{e&&c(`Could not load quit shortcut preference.`)}),()=>{e=!1}},u=[n],e[0]=l,e[1]=u):(l=e[0],u=e[1]),(0,J.useEffect)(l,u),!n)return null;let d;e[2]===s?d=e[3]:(d=s?(0,Y.jsx)(`span`,{role:`alert`,children:s}):void 0,e[2]=s,e[3]=d);let f=r===null||a,p;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=e=>{(e===`press-twice`||e===`hold`||e===`immediately`)&&(o(!0),c(null),n.setMode(e).then(()=>i(e)).catch(()=>c(`Could not save quit shortcut preference.`)).finally(()=>o(!1)))},e[4]=p):p=e[4];let m=r?Kt[r]:`Loading…`,h;e[5]===m?h=e[6]:(h=(0,Y.jsx)(ve,{"aria-label":`Quit shortcut`,className:`w-full sm:w-44`,children:(0,Y.jsx)(he,{children:m})}),e[5]=m,e[6]=h);let g;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Y.jsx)(_e,{children:Object.entries(Kt).map(Jt)}),e[7]=g):g=e[7];let _;e[8]!==r||e[9]!==f||e[10]!==h?(_=(0,Y.jsxs)(ge,{value:r,disabled:f,onValueChange:p,children:[h,g]}),e[8]=r,e[9]=f,e[10]=h,e[11]=_):_=e[11];let v;return e[12]!==t||e[13]!==d||e[14]!==_?(v=(0,Y.jsx)(K,{title:`Quit shortcut`,scope:t,description:`Prevent accidental quits with a second press within 1.5 seconds, or hold for 1 second and release.`,status:d,control:_}),e[12]=t,e[13]=d,e[14]=_,e[15]=v):v=e[15],v}function Jt(e){let[t,n]=e;return(0,Y.jsx)(V,{value:t,children:n},t)}var Yt={locale:`System default`,"12-hour":`12-hour`,"24-hour":`24-hour`};function Xt(e){let t=(0,$.c)(2),{editor:n}=e,r=De[n];if(!r)return null;let i;return t[0]===r?i=t[1]:(i=(0,Y.jsx)(r,{"aria-hidden":`true`,className:`size-4 text-muted-foreground`}),t[0]=r,t[1]=i),i}function Zt(){let e=(0,$.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(`span`,{children:`Version`}),(0,Y.jsx)(`code`,{className:`text-[11px] font-medium text-muted-foreground`,children:ae})]}),e[0]=t):t=e[0],t}var Qt=`https://github.com/sak0a/ryco`;function $t(e){ee().shell.openExternal(e).catch(e=>{p.add(W({type:`error`,title:`Could not open link`,description:e instanceof Error?e.message:`Failed to open external link.`}))})}function en(){let e=(0,$.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Y.jsx)(Ue,{className:`h-14 text-foreground`}),n=(0,Y.jsx)(`h3`,{className:`text-base font-semibold tracking-tight text-foreground`,children:O}),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,Y.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,Y.jsx)(`div`,{className:`space-y-0.5 text-[11px] text-muted-foreground`,children:(0,Y.jsx)(`p`,{children:(0,Y.jsx)(`button`,{type:`button`,onClick:tn,className:`underline-offset-2 hover:text-foreground hover:underline`,children:`github.com/sak0a/ryco`})})})]}),e[2]=r):r=e[2],r}function tn(){return $t(Qt)}function nn(e){let t=(0,$.c)(46),{scopeLabel:n}=e,r=ye(),[i,a]=(0,J.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(dn).catch(un).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?H(r):`none`;if(t===`download`){e.downloadUpdate().then(ln).catch(cn);return}if(t===`install`){if(!window.confirm(be(r??{availableVersion:null,downloadedVersion:null})))return;e.installUpdate().then(sn).catch(on);return}typeof e.checkForUpdate==`function`&&e.checkForUpdate().then(an).catch(rn)},t[2]=r,t[3]=u);let d=u,f;t[4]===r?f=t[5]:(f=r?H(r):`none`,t[4]=r,t[5]=f);let p=f,m;t[6]===r?m=t[7]:(m=r?Ce(r):null,t[6]=r,t[7]=m);let h=m,g;t[8]!==p||t[9]!==r?(g=p===`none`?!Se(r):xe(r),t[8]=p,t[9]=r,t[10]=g):g=t[10];let _=g,v;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(v={download:`Download`,install:`Install`},t[11]=v):v=t[11];let y=v,b;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(b={checking:`Checking…`,downloading:`Downloading…`,"up-to-date":`Up to Date`},t[12]=b):b=t[12];let x=b,S=y[p]??x[r?.status??``]??`Check for Updates`,C=p===`download`||p===`install`?`Update available.`:`Current version of the application.`,w;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Y.jsx)(Zt,{}),t[13]=w):w=t[13];let T=p===`install`?`default`:`outline`,E;t[14]!==_||t[15]!==S||t[16]!==d||t[17]!==T?(E=(0,Y.jsx)(fe,{render:(0,Y.jsx)(oe,{size:`xs`,variant:T,disabled:_,onClick:d,children:S})}),t[14]=_,t[15]=S,t[16]=d,t[17]=T,t[18]=E):E=t[18];let D;t[19]===h?D=t[20]:(D=h?(0,Y.jsx)(pe,{children:h}):null,t[19]=h,t[20]=D);let O;t[21]!==E||t[22]!==D?(O=(0,Y.jsxs)(me,{children:[E,D]}),t[21]=E,t[22]=D,t[23]=O):O=t[23];let k;t[24]!==C||t[25]!==n||t[26]!==O?(k=(0,Y.jsx)(K,{title:w,description:C,scope:n,control:O}),t[24]=C,t[25]=n,t[26]=O,t[27]=k):k=t[27];let A;t[28]===l?A=t[29]:(A=e=>{l(e)},t[28]=l,t[29]=A);let j=!o||i,M=s===`nightly`?`Nightly`:`Stable`,N;t[30]===M?N=t[31]:(N=(0,Y.jsx)(he,{children:M}),t[30]=M,t[31]=N);let P;t[32]!==j||t[33]!==N?(P=(0,Y.jsx)(ve,{className:`w-full sm:w-40`,"aria-label":`Update track`,disabled:j,children:N}),t[32]=j,t[33]=N,t[34]=P):P=t[34];let F;t[35]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,Y.jsxs)(_e,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(V,{hideIndicator:!0,value:`latest`,children:`Stable`}),(0,Y.jsx)(V,{hideIndicator:!0,value:`nightly`,children:`Nightly`})]}),t[35]=F):F=t[35];let I;t[36]!==s||t[37]!==A||t[38]!==P?(I=(0,Y.jsxs)(ge,{value:s,onValueChange:A,children:[P,F]}),t[36]=s,t[37]=A,t[38]=P,t[39]=I):I=t[39];let L;t[40]!==n||t[41]!==I?(L=(0,Y.jsx)(K,{title:`Update track`,description:`Stable follows full releases. Nightly follows the nightly desktop channel and can switch back to stable immediately.`,scope:n,control:I}),t[40]=n,t[41]=I,t[42]=L):L=t[42];let R;return t[43]!==k||t[44]!==L?(R=(0,Y.jsxs)(Y.Fragment,{children:[k,L]}),t[43]=k,t[44]=L,t[45]=R):R=t[45],R}function rn(e){p.add(W({type:`error`,title:`Could not check for updates`,description:e instanceof Error?e.message:`Update check failed.`}))}function an(e){U(e.state),e.checked||p.add(W({type:`error`,title:`Could not check for updates`,description:e.state.message??`Automatic updates are not available in this build.`}))}function on(e){p.add(W({type:`error`,title:`Could not install update`,description:e instanceof Error?e.message:`Install failed.`}))}function sn(e){U(e.state)}function cn(e){p.add(W({type:`error`,title:`Could not download update`,description:e instanceof Error?e.message:`Download failed.`}))}function ln(e){U(e.state)}function un(e){p.add(W({type:`error`,title:`Could not change update track`,description:e instanceof Error?e.message:`Update track change failed.`}))}function dn(e){U(e)}function fn(e){let t=(0,$.c)(14),{theme:n,setTheme:r}=Ie(),i=m(),{updateSettings:a}=F(),o=A(),s;t[0]!==o||t[1]!==i||t[2]!==n?(s=At(i,n,o),t[0]=o,t[1]=i,t[2]=n,t[3]=s):s=t[3];let c=s,l=c.labels,u;t[4]!==e||t[5]!==c.labels||t[6]!==c.patch||t[7]!==c.resetTheme||t[8]!==r||t[9]!==a?(u=async()=>{c.labels.length!==0&&await(z()??ee()).dialogs.confirm([`Restore default settings?`,`This will reset: ${c.labels.join(`, `)}.`].join(`
|
|
2
|
+
`))&&(c.resetTheme&&r(`system`),a(c.patch),e?.())},t[4]=e,t[5]=c.labels,t[6]=c.patch,t[7]=c.resetTheme,t[8]=r,t[9]=a,t[10]=u):u=t[10];let d=u,f;return t[11]!==l||t[12]!==d?(f={changedSettingLabels:l,restoreDefaults:d},t[11]=l,t[12]=d,t[13]=f):f=t[13],f}function pn(e){let t=(0,$.c)(19),{searchTargetId:n,nodeScopeLabel:r}=e,i=m(),{updateSettings:o}=F(),s=n===`legacy-token-streaming`,[c,l]=(0,J.useState)(s),u=(0,J.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,J.useEffect)(d,f);let p;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Y.jsxs)(wt,{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,Y.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2`,children:[(0,Y.jsx)(`span`,{className:`inline-block h-px w-3 bg-border`,"aria-hidden":!0}),(0,Y.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,Y.jsx)(`span`,{className:`hidden text-[11px] text-muted-foreground/55 sm:inline`,children:`Compatibility controls`})]}),(0,Y.jsx)(Te,{"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 h;t[4]!==i.enableLegacyTokenStreaming||t[5]!==o?(h=i.enableLegacyTokenStreaming===a.enableLegacyTokenStreaming?null:(0,Y.jsx)(q,{label:`legacy token streaming`,onClick:()=>o({enableLegacyTokenStreaming:a.enableLegacyTokenStreaming})}),t[4]=i.enableLegacyTokenStreaming,t[5]=o,t[6]=h):h=t[6];let g;t[7]===o?g=t[8]:(g=e=>{if(!e){o({enableLegacyTokenStreaming:!1});return}(async()=>{await(z()??ee()).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]=g);let _;t[9]!==i.enableLegacyTokenStreaming||t[10]!==g?(_=(0,Y.jsx)(B,{checked:i.enableLegacyTokenStreaming,onCheckedChange:g,"aria-label":`Stream token by token (legacy)`}),t[9]=i.enableLegacyTokenStreaming,t[10]=g,t[11]=_):_=t[11];let v;t[12]!==r||t[13]!==h||t[14]!==_?(v=(0,Y.jsx)(Tt,{children:(0,Y.jsx)(`div`,{className:`pt-2`,children:(0,Y.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,Y.jsx)(`div`,{ref:u,id:`legacy-token-streaming`,children:(0,Y.jsx)(K,{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.`,owner:`node`,scope:r,resetAction:h,control:_})})})})}),t[12]=r,t[13]=h,t[14]=_,t[15]=v):v=t[15];let y;return t[16]!==c||t[17]!==v?(y=(0,Y.jsx)(`section`,{className:`space-y-2.5`,children:(0,Y.jsxs)(Ct,{open:c,onOpenChange:l,children:[p,v]})}),t[16]=c,t[17]=v,t[18]=y):y=t[18],y}function mn(e){let t=(0,$.c)(213),{searchTargetId:n}=e,i=n===void 0?null:n,o=m(),{updateSettings:c}=F(),l=Pe()===`phone`,u=D(),d=A(),f=Ge(),p=u?.nodeLabel??null,h,g,_;if(t[0]!==f||t[1]!==p){let e={appLabel:f,nativeClient:r,nodeLabel:p};g=y(`browser`,e),h=y(`device`,e),_=y(`node`,e),t[0]=f,t[1]=p,t[2]=h,t[3]=g,t[4]=_}else h=t[2],g=t[3],_=t[4];let v=_,b;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(b={logsDirectory:!1},t[5]=b):b=t[5];let[x,S]=(0,J.useState)(b),C;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(C={},t[6]=C):C=t[6];let[w,T]=(0,J.useState)(C),E=j(),O=L(),k=O?.logsDirectoryPath??null,M=!u||u.primary,N;t[7]===O?N=t[8]:(N=[],O?.otlpTracesEnabled&&O.otlpTracesUrl&&N.push(`traces to ${O.otlpTracesUrl}`),O?.otlpMetricsEnabled&&O.otlpMetricsUrl&&N.push(`metrics to ${O.otlpMetricsUrl}`),t[7]=O,t[8]=N);let P=O?.localTracingEnabled?`Local trace file`:`Terminal logs only`,I=N.length>0?`${P}. OTLP exporting ${N.join(` and `)}.`:`${P}.`,R;t[9]===E?R=t[10]:(R=(e,t,n)=>{if(!t)return;T(t=>({...t,[e]:null})),S(t=>({...t,[e]:!0}));let r=Oe(E??[]);if(!r){T(t=>({...t,[e]:`No available editors found.`})),S(t=>({...t,[e]:!1}));return}ee().shell.openInEditor(t,r).catch(t=>{T(r=>({...r,[e]:t instanceof Error?t.message:n}))}).finally(()=>{S(t=>({...t,[e]:!1}))})},t[9]=E,t[10]=R);let te=R,z;t[11]!==k||t[12]!==te?(z=()=>{te(`logsDirectory`,k,`Unable to open logs folder.`)},t[11]=k,t[12]=te,t[13]=z):z=t[13];let ne=z,re=w.logsDirectory??null,ie=x.logsDirectory,ae;t[14]!==o.timestampFormat||t[15]!==c?(ae=o.timestampFormat===a.timestampFormat?null:(0,Y.jsx)(q,{label:`time format`,onClick:()=>c({timestampFormat:a.timestampFormat})}),t[14]=o.timestampFormat,t[15]=c,t[16]=ae):ae=t[16];let se;t[17]===c?se=t[18]:(se=e=>{(e===`locale`||e===`12-hour`||e===`24-hour`)&&c({timestampFormat:e})},t[17]=c,t[18]=se);let ce=Yt[o.timestampFormat],le;t[19]===ce?le=t[20]:(le=(0,Y.jsx)(ve,{className:`w-full sm:w-40`,"aria-label":`Timestamp format`,children:(0,Y.jsx)(he,{children:ce})}),t[19]=ce,t[20]=le);let ue;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(ue=(0,Y.jsxs)(_e,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(V,{hideIndicator:!0,value:`locale`,children:Yt.locale}),(0,Y.jsx)(V,{hideIndicator:!0,value:`12-hour`,children:Yt[`12-hour`]}),(0,Y.jsx)(V,{hideIndicator:!0,value:`24-hour`,children:Yt[`24-hour`]})]}),t[21]=ue):ue=t[21];let de;t[22]!==o.timestampFormat||t[23]!==le||t[24]!==se?(de=(0,Y.jsxs)(ge,{value:o.timestampFormat,onValueChange:se,children:[le,ue]}),t[22]=o.timestampFormat,t[23]=le,t[24]=se,t[25]=de):de=t[25];let fe;t[26]!==g||t[27]!==de||t[28]!==ae?(fe=(0,Y.jsx)(K,{title:`Time format`,description:`System default follows your browser or OS clock preference.`,owner:`client`,scope:g,resetAction:ae,control:de}),t[26]=g,t[27]=de,t[28]=ae,t[29]=fe):fe=t[29];let pe=(E??[]).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.`,me;t[30]!==o.preferredEditor||t[31]!==c?(me=o.preferredEditor===a.preferredEditor?null:(0,Y.jsx)(q,{label:`default editor`,onClick:()=>c({preferredEditor:a.preferredEditor})}),t[30]=o.preferredEditor,t[31]=c,t[32]=me):me=t[32];let ye=o.preferredEditor??`__auto__`,be;t[33]===c?be=t[34]:(be=e=>{if(e===`__auto__`){c({preferredEditor:null});return}let t=s.find(t=>t.id===e);t&&c({preferredEditor:t.id})},t[33]=c,t[34]=be);let xe;t[35]===o.preferredEditor?xe=t[36]:(xe=o.preferredEditor?(0,Y.jsx)(Xt,{editor:o.preferredEditor}):null,t[35]=o.preferredEditor,t[36]=xe);let Se;t[37]===o.preferredEditor?Se=t[38]:(Se=o.preferredEditor?Ee(o.preferredEditor,navigator.platform):`Auto (last used)`,t[37]=o.preferredEditor,t[38]=Se);let H;t[39]===Se?H=t[40]:(H=(0,Y.jsx)(he,{children:Se}),t[39]=Se,t[40]=H);let U;t[41]!==xe||t[42]!==H?(U=(0,Y.jsxs)(ve,{className:`w-full sm:w-56`,"aria-label":`Default editor`,children:[xe,H]}),t[41]=xe,t[42]=H,t[43]=U):U=t[43];let Ce;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(Ce=(0,Y.jsx)(V,{hideIndicator:!0,value:`__auto__`,children:(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(`span`,{"aria-hidden":`true`,className:`size-4`}),`Auto (last used)`]})}),t[44]=Ce):Ce=t[44];let we;t[45]===E?we=t[46]:(we=s.filter(e=>(E??[]).includes(e.id)&&ke(e.id)).map(hn),t[45]=E,t[46]=we);let Te;t[47]===we?Te=t[48]:(Te=(0,Y.jsxs)(_e,{align:`end`,alignItemWithTrigger:!1,children:[Ce,we]}),t[47]=we,t[48]=Te);let De;t[49]!==ye||t[50]!==be||t[51]!==U||t[52]!==Te?(De=(0,Y.jsxs)(ge,{value:ye,onValueChange:be,children:[U,Te]}),t[49]=ye,t[50]=be,t[51]=U,t[52]=Te,t[53]=De):De=t[53];let W;t[54]!==g||t[55]!==pe||t[56]!==me||t[57]!==De?(W=(0,Y.jsx)(K,{title:`Default editor`,description:pe,owner:`client`,scope:g,resetAction:me,control:De}),t[54]=g,t[55]=pe,t[56]=me,t[57]=De,t[58]=W):W=t[58];let Ae;t[59]!==fe||t[60]!==W?(Ae=(0,Y.jsxs)(G,{title:`Behavior`,owner:`client`,children:[fe,W]}),t[59]=fe,t[60]=W,t[61]=Ae):Ae=t[61];let je;t[62]===l?je=t[63]:(je=l&&(0,Y.jsx)(Rt,{}),t[62]=l,t[63]=je);let Me;t[64]!==o.enableProviderUpdateChecks||t[65]!==c?(Me=o.enableProviderUpdateChecks===a.enableProviderUpdateChecks?null:(0,Y.jsx)(q,{label:`provider update checks`,onClick:()=>c({enableProviderUpdateChecks:a.enableProviderUpdateChecks})}),t[64]=o.enableProviderUpdateChecks,t[65]=c,t[66]=Me):Me=t[66];let Ne;t[67]===c?Ne=t[68]:(Ne=e=>c({enableProviderUpdateChecks:!!e}),t[67]=c,t[68]=Ne);let Fe;t[69]!==o.enableProviderUpdateChecks||t[70]!==Ne?(Fe=(0,Y.jsx)(B,{checked:o.enableProviderUpdateChecks,onCheckedChange:Ne,"aria-label":`Check providers for updates`}),t[69]=o.enableProviderUpdateChecks,t[70]=Ne,t[71]=Fe):Fe=t[71];let Ie;t[72]!==v||t[73]!==Me||t[74]!==Fe?(Ie=(0,Y.jsx)(G,{title:`Provider updates`,owner:`node`,children:(0,Y.jsx)(K,{title:`Provider update checks`,description:`Check installed provider CLIs for newer versions. Disable if you install providers with Nix or another package manager.`,owner:`node`,scope:v,resetAction:Me,control:Fe})}),t[72]=v,t[73]=Me,t[74]=Fe,t[75]=Ie):Ie=t[75];let Le;t[76]!==d||t[77]!==l?(Le=!l&&d!==`node`&&(0,Y.jsx)(Vt,{}),t[76]=d,t[77]=l,t[78]=Le):Le=t[78];let Re;t[79]!==o.autoOpenPlanSidebar||t[80]!==c?(Re=o.autoOpenPlanSidebar===a.autoOpenPlanSidebar?null:(0,Y.jsx)(q,{label:`auto-open overview`,onClick:()=>c({autoOpenPlanSidebar:a.autoOpenPlanSidebar})}),t[79]=o.autoOpenPlanSidebar,t[80]=c,t[81]=Re):Re=t[81];let ze;t[82]===c?ze=t[83]:(ze=e=>c({autoOpenPlanSidebar:!!e}),t[82]=c,t[83]=ze);let Be;t[84]!==o.autoOpenPlanSidebar||t[85]!==ze?(Be=(0,Y.jsx)(B,{checked:o.autoOpenPlanSidebar,onCheckedChange:ze,"aria-label":`Open the overview automatically`}),t[84]=o.autoOpenPlanSidebar,t[85]=ze,t[86]=Be):Be=t[86];let Ve;t[87]!==g||t[88]!==Re||t[89]!==Be?(Ve=(0,Y.jsx)(K,{title:`Auto-open overview`,description:`Open the overview automatically when plans, progress, or implementation steps appear.`,owner:`client`,scope:g,resetAction:Re,control:Be}),t[87]=g,t[88]=Re,t[89]=Be,t[90]=Ve):Ve=t[90];let Ue;t[91]!==o.defaultThreadEnvMode||t[92]!==c?(Ue=o.defaultThreadEnvMode===a.defaultThreadEnvMode?null:(0,Y.jsx)(q,{label:`new threads`,onClick:()=>c({defaultThreadEnvMode:a.defaultThreadEnvMode})}),t[91]=o.defaultThreadEnvMode,t[92]=c,t[93]=Ue):Ue=t[93];let We;t[94]===c?We=t[95]:(We=e=>{(e===`local`||e===`worktree`)&&c({defaultThreadEnvMode:e})},t[94]=c,t[95]=We);let Ke=o.defaultThreadEnvMode===`worktree`?`New worktree`:`Local`,qe;t[96]===Ke?qe=t[97]:(qe=(0,Y.jsx)(ve,{className:`w-full sm:w-44`,"aria-label":`Default thread mode`,children:(0,Y.jsx)(he,{children:Ke})}),t[96]=Ke,t[97]=qe);let Je;t[98]===Symbol.for(`react.memo_cache_sentinel`)?(Je=(0,Y.jsxs)(_e,{align:`end`,alignItemWithTrigger:!1,children:[(0,Y.jsx)(V,{hideIndicator:!0,value:`local`,children:`Local`}),(0,Y.jsx)(V,{hideIndicator:!0,value:`worktree`,children:`New worktree`})]}),t[98]=Je):Je=t[98];let Ye;t[99]!==o.defaultThreadEnvMode||t[100]!==We||t[101]!==qe?(Ye=(0,Y.jsxs)(ge,{value:o.defaultThreadEnvMode,onValueChange:We,children:[qe,Je]}),t[99]=o.defaultThreadEnvMode,t[100]=We,t[101]=qe,t[102]=Ye):Ye=t[102];let Xe;t[103]!==v||t[104]!==Ue||t[105]!==Ye?(Xe=(0,Y.jsx)(K,{title:`New threads`,description:`Pick the default workspace mode for newly created draft threads.`,owner:`node`,scope:v,resetAction:Ue,control:Ye}),t[103]=v,t[104]=Ue,t[105]=Ye,t[106]=Xe):Xe=t[106];let Ze;t[107]!==o.addProjectBaseDirectory||t[108]!==c?(Ze=o.addProjectBaseDirectory===a.addProjectBaseDirectory?null:(0,Y.jsx)(q,{label:`add project base directory`,onClick:()=>c({addProjectBaseDirectory:a.addProjectBaseDirectory})}),t[107]=o.addProjectBaseDirectory,t[108]=c,t[109]=Ze):Ze=t[109];let Qe;t[110]===c?Qe=t[111]:(Qe=e=>c({addProjectBaseDirectory:e}),t[110]=c,t[111]=Qe);let $e;t[112]!==o.addProjectBaseDirectory||t[113]!==Qe?($e=(0,Y.jsx)(Ot,{className:`w-full sm:w-72`,value:o.addProjectBaseDirectory,onCommit:Qe,placeholder:`~/`,spellCheck:!1,"aria-label":`Add project base directory`}),t[112]=o.addProjectBaseDirectory,t[113]=Qe,t[114]=$e):$e=t[114];let et;t[115]!==v||t[116]!==Ze||t[117]!==$e?(et=(0,Y.jsx)(K,{title:`Add project starts in`,description:`Leave empty to use "~/" when the Add Project browser opens.`,owner:`node`,scope:v,resetAction:Ze,control:$e}),t[115]=v,t[116]=Ze,t[117]=$e,t[118]=et):et=t[118];let tt;t[119]!==Ve||t[120]!==Xe||t[121]!==et?(tt=(0,Y.jsxs)(G,{title:`Projects & threads`,children:[Ve,Xe,et]}),t[119]=Ve,t[120]=Xe,t[121]=et,t[122]=tt):tt=t[122];let nt;t[123]===l?nt=t[124]:(nt=!l&&(0,Y.jsx)(qt,{}),t[123]=l,t[124]=nt);let rt;t[125]!==o.confirmThreadArchive||t[126]!==c?(rt=o.confirmThreadArchive===a.confirmThreadArchive?null:(0,Y.jsx)(q,{label:`archive confirmation`,onClick:()=>c({confirmThreadArchive:a.confirmThreadArchive})}),t[125]=o.confirmThreadArchive,t[126]=c,t[127]=rt):rt=t[127];let it;t[128]===c?it=t[129]:(it=e=>c({confirmThreadArchive:!!e}),t[128]=c,t[129]=it);let at;t[130]!==o.confirmThreadArchive||t[131]!==it?(at=(0,Y.jsx)(B,{checked:o.confirmThreadArchive,onCheckedChange:it,"aria-label":`Confirm thread archiving`}),t[130]=o.confirmThreadArchive,t[131]=it,t[132]=at):at=t[132];let ot;t[133]!==g||t[134]!==rt||t[135]!==at?(ot=(0,Y.jsx)(K,{title:`Archive confirmation`,description:`Require a second click on the inline archive action before a thread is archived.`,owner:`client`,scope:g,resetAction:rt,control:at}),t[133]=g,t[134]=rt,t[135]=at,t[136]=ot):ot=t[136];let st;t[137]!==o.confirmThreadDelete||t[138]!==c?(st=o.confirmThreadDelete===a.confirmThreadDelete?null:(0,Y.jsx)(q,{label:`delete confirmation`,onClick:()=>c({confirmThreadDelete:a.confirmThreadDelete})}),t[137]=o.confirmThreadDelete,t[138]=c,t[139]=st):st=t[139];let ct;t[140]===c?ct=t[141]:(ct=e=>c({confirmThreadDelete:!!e}),t[140]=c,t[141]=ct);let lt;t[142]!==o.confirmThreadDelete||t[143]!==ct?(lt=(0,Y.jsx)(B,{checked:o.confirmThreadDelete,onCheckedChange:ct,"aria-label":`Confirm thread deletion`}),t[142]=o.confirmThreadDelete,t[143]=ct,t[144]=lt):lt=t[144];let ut;t[145]!==g||t[146]!==st||t[147]!==lt?(ut=(0,Y.jsx)(K,{title:`Delete confirmation`,description:`Ask before deleting a thread and its chat history.`,owner:`client`,scope:g,resetAction:st,control:lt}),t[145]=g,t[146]=st,t[147]=lt,t[148]=ut):ut=t[148];let dt;t[149]!==o.confirmThreadUnpin||t[150]!==c?(dt=o.confirmThreadUnpin===a.confirmThreadUnpin?null:(0,Y.jsx)(q,{label:`unpin confirmation`,onClick:()=>c({confirmThreadUnpin:a.confirmThreadUnpin})}),t[149]=o.confirmThreadUnpin,t[150]=c,t[151]=dt):dt=t[151];let ft;t[152]===c?ft=t[153]:(ft=e=>c({confirmThreadUnpin:!!e}),t[152]=c,t[153]=ft);let pt;t[154]!==o.confirmThreadUnpin||t[155]!==ft?(pt=(0,Y.jsx)(B,{checked:o.confirmThreadUnpin,onCheckedChange:ft,"aria-label":`Confirm thread unpinning`}),t[154]=o.confirmThreadUnpin,t[155]=ft,t[156]=pt):pt=t[156];let mt;t[157]!==g||t[158]!==dt||t[159]!==pt?(mt=(0,Y.jsx)(K,{title:`Unpin confirmation`,description:`Ask before removing a thread from the pinned section.`,owner:`client`,scope:g,resetAction:dt,control:pt}),t[157]=g,t[158]=dt,t[159]=pt,t[160]=mt):mt=t[160];let ht;t[161]!==nt||t[162]!==ot||t[163]!==ut||t[164]!==mt?(ht=(0,Y.jsxs)(G,{title:`Confirmations`,owner:`client`,children:[nt,ot,ut,mt]}),t[161]=nt,t[162]=ot,t[163]=ut,t[164]=mt,t[165]=ht):ht=t[165];let X;t[166]!==h||t[167]!==o.notifyOnTurnCompleteWhenUnfocused||t[168]!==c?(X=r&&(0,Y.jsx)(G,{title:`Notifications`,owner:`client`,children:(0,Y.jsx)(K,{title:`Turn-complete notifications`,description:`Show a desktop notification when an agent finishes a turn while the Ryco window is unfocused.`,owner:`client`,scope:h,resetAction:o.notifyOnTurnCompleteWhenUnfocused===a.notifyOnTurnCompleteWhenUnfocused?null:(0,Y.jsx)(q,{label:`turn-complete notifications`,onClick:()=>c({notifyOnTurnCompleteWhenUnfocused:a.notifyOnTurnCompleteWhenUnfocused})}),control:(0,Y.jsx)(B,{checked:o.notifyOnTurnCompleteWhenUnfocused,onCheckedChange:e=>c({notifyOnTurnCompleteWhenUnfocused:!!e}),"aria-label":`Notify when a turn completes while unfocused`})})}),t[166]=h,t[167]=o.notifyOnTurnCompleteWhenUnfocused,t[168]=c,t[169]=X):X=t[169];let gt;t[170]!==d||t[171]!==l||t[172]!==v||t[173]!==i?(gt=l?null:d!==`client`&&(0,Y.jsx)(pn,{searchTargetId:i,nodeScopeLabel:v}),t[170]=d,t[171]=l,t[172]=v,t[173]=i,t[174]=gt):gt=t[174];let Z;t[175]===d?Z=t[176]:(Z=d!==`node`&&(0,Y.jsx)(en,{}),t[175]=d,t[176]=Z);let _t;t[177]!==h||t[178]!==d||t[179]!==g?(_t=r&&d!==`node`?(0,Y.jsx)(nn,{scopeLabel:h}):(0,Y.jsx)(K,{title:(0,Y.jsx)(Zt,{}),description:`Current version of the application.`,owner:`client`,scope:g}),t[177]=h,t[178]=d,t[179]=g,t[180]=_t):_t=t[180];let vt=k??`Resolving logs directory...`,Q;t[181]===vt?Q=t[182]:(Q=(0,Y.jsx)(`span`,{className:`block break-all font-mono text-[11px] text-foreground`,children:vt}),t[181]=vt,t[182]=Q);let yt;t[183]!==M||t[184]!==re||t[185]!==u?.nodeLabel?(yt=re?(0,Y.jsx)(`span`,{className:`mt-1 block text-destructive`,children:re}):M?null:(0,Y.jsxs)(`span`,{className:`mt-1 block`,children:[`This path is on `,u?.nodeLabel,`; open it from that machine.`]}),t[183]=M,t[184]=re,t[185]=u?.nodeLabel,t[186]=yt):yt=t[186];let bt;t[187]!==Q||t[188]!==yt?(bt=(0,Y.jsxs)(Y.Fragment,{children:[Q,yt]}),t[187]=Q,t[188]=yt,t[189]=bt):bt=t[189];let xt=!M||!k||ie,St=ie?`Opening...`:`Open logs folder`,Ct;t[190]!==ne||t[191]!==xt||t[192]!==St?(Ct=(0,Y.jsx)(oe,{size:`xs`,variant:`outline`,disabled:xt,onClick:ne,children:St}),t[190]=ne,t[191]=xt,t[192]=St,t[193]=Ct):Ct=t[193];let wt;t[194]!==I||t[195]!==v||t[196]!==bt||t[197]!==Ct?(wt=(0,Y.jsx)(K,{title:`Diagnostics`,description:I,owner:`node`,scope:v,status:bt,control:Ct}),t[194]=I,t[195]=v,t[196]=bt,t[197]=Ct,t[198]=wt):wt=t[198];let Tt;t[199]!==Z||t[200]!==_t||t[201]!==wt?(Tt=(0,Y.jsxs)(G,{title:`About`,children:[Z,_t,wt]}),t[199]=Z,t[200]=_t,t[201]=wt,t[202]=Tt):Tt=t[202];let Et;return t[203]!==Ae||t[204]!==je||t[205]!==Ie||t[206]!==Le||t[207]!==tt||t[208]!==ht||t[209]!==X||t[210]!==gt||t[211]!==Tt?(Et=(0,Y.jsxs)(He,{children:[Ae,je,Ie,Le,tt,ht,X,gt,Tt]}),t[203]=Ae,t[204]=je,t[205]=Ie,t[206]=Le,t[207]=tt,t[208]=ht,t[209]=X,t[210]=gt,t[211]=Tt,t[212]=Et):Et=t[212],Et}function hn(e){return(0,Y.jsx)(V,{hideIndicator:!0,value:e.id,children:(0,Y.jsxs)(`span`,{className:`inline-flex items-center gap-2`,children:[(0,Y.jsx)(Xt,{editor:e.id}),Ee(e.id,navigator.platform)]})},e.id)}function gn(){let e=(0,$.c)(17),t=D(),n=Ne(i.dispatchCommand),r=n.allowed&&(!t||t.connected&&t.canMutate!==!1),a=f(We(w)),o=f(We(c)),{unarchiveThread:s,confirmAndDeleteThread:l}=ce();t?.environmentId;let u=t?.environmentId,d;e[0]!==a||e[1]!==u||e[2]!==o?(d=jt(a,o,u),e[0]=a,e[1]=u,e[2]=o,e[3]=d):d=e[3];let m=d,h;e[4]!==l||e[5]!==r||e[6]!==n.reason||e[7]!==s?(h=async(e,t)=>{if(!r){p.add(W({type:`warning`,title:`Archived thread is read-only`,description:n.reason??`This action is unavailable.`}));return}let i=z();if(!i)return;let a=await i.contextMenu.show([{id:`unarchive`,label:`Unarchive`},{id:`delete`,label:`Delete`,destructive:!0}],t);if(a===`unarchive`){try{await s(e)}catch(e){let t=e;p.add(W({type:`error`,title:`Failed to unarchive thread`,description:t instanceof Error?t.message:`An error occurred.`}))}return}a===`delete`&&await l(e)},e[4]=l,e[5]=r,e[6]=n.reason,e[7]=s,e[8]=h):h=e[8];let g=h,_;e[9]!==m||e[10]!==g||e[11]!==r||e[12]!==n.reason||e[13]!==s?(_=m.length===0?(0,Y.jsx)(G,{title:`Archived threads`,children:(0,Y.jsxs)(Ve,{className:`min-h-88`,children:[(0,Y.jsx)(Le,{variant:`icon`,children:(0,Y.jsx)(we,{})}),(0,Y.jsxs)(Re,{children:[(0,Y.jsx)(ze,{children:`No archived threads`}),(0,Y.jsx)(Be,{children:`Archived threads will appear here.`})]})]})}):m.map(e=>{let{project:t,threads:i}=e;return(0,Y.jsx)(G,{title:t.name,icon:(0,Y.jsx)(le,{environmentId:t.environmentId,cwd:t.cwd,projectId:t.id,customAvatarContentHash:t.customAvatarContentHash??null}),children:i.map(e=>(0,Y.jsx)(_n,{thread:e,mutationAllowed:r,mutationReason:n.reason??null,onOpenMenu:g,onUnarchive:s},e.id))},`${t.environmentId}:${t.id}`)}),e[9]=m,e[10]=g,e[11]=r,e[12]=n.reason,e[13]=s,e[14]=_):_=e[14];let v;return e[15]===_?v=e[16]:(v=(0,Y.jsx)(He,{children:_}),e[15]=_,e[16]=v),v}function _n(e){let t=(0,$.c)(38),{thread:r,mutationAllowed:i,mutationReason:a,onOpenMenu:o,onUnarchive:s}=e,c=Pe()===`phone`,l;t[0]!==o||t[1]!==r.environmentId||t[2]!==r.id?(l=e=>{o(n(r.environmentId,r.id),e)},t[0]=o,t[1]=r.environmentId,t[2]=r.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=Fe(l,d),p;t[6]!==f||t[7]!==o||t[8]!==r.environmentId||t[9]!==r.id?(p=e=>{f.onContextMenu(e),!e.defaultPrevented&&(e.preventDefault(),o(n(r.environmentId,r.id),{x:e.clientX,y:e.clientY}))},t[6]=f,t[7]=o,t[8]=r.environmentId,t[9]=r.id,t[10]=p):p=t[10];let m;t[11]===r.title?m=t[12]:(m=(0,Y.jsx)(`h3`,{className:`truncate text-sm font-medium text-foreground`,children:r.title}),t[11]=r.title,t[12]=m);let h=r.archivedAt??r.createdAt,g;t[13]===h?g=t[14]:(g=se(h),t[13]=h,t[14]=g);let _;t[15]===r.createdAt?_=t[16]:(_=se(r.createdAt),t[15]=r.createdAt,t[16]=_);let v;t[17]!==g||t[18]!==_?(v=(0,Y.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,Y.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]!==r.environmentId||t[25]!==r.id?(S=()=>void s(n(r.environmentId,r.id)).catch(vn),t[23]=s,t[24]=r.environmentId,t[25]=r.id,t[26]=S):S=t[26];let C,w;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Y.jsx)(qe,{className:`size-3.5`}),w=(0,Y.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,Y.jsxs)(oe,{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,Y.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 vn(e){p.add(W({type:`error`,title:`Failed to unarchive thread`,description:e instanceof Error?e.message:`An error occurred.`}))}export{Ot as a,wt as c,Ze as d,Ye as f,Rt as i,tt as l,mn as n,Ct as o,fn as r,Tt as s,gn as t,$e as u};
|
package/dist/client/assets/{SettingsPanels.editor-9pSZP875.js → SettingsPanels.editor-d-rVlbeN.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,t}from"./react-SIfiwpqq.js";import{lt as n}from"./src-BSuAGqhK.js";import{Hr as r,Na as i,Ur as a,_l as o}from"./runtime-Djy96GJd.js";import{Gn as s,Zt as c,_n as l,dn as u,gn as d,hn as f,nn as p,vn as m,yn as h}from"./switch-DD1qVLgN.js";import{t as g}from"./compiler-runtime-qmuS0Svy.js";var _={name:`folder-closed`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]};_.node;var v=i(_),y=g(),b=`/assets/android-studio-BStk6y1m.png`,x=`/assets/nova-BR8CJp3D.png`,S=`/assets/positron-CVTig56O.png`,C=`/assets/sublime-text-CdbLNBJ7.png`,w=`/assets/windsurf-CaEwKX1l.png`,T=`/assets/xcode-B_XpXYHB.png`,E=o();function D(e,t){let n=n=>{let r=(0,y.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`title`,{children:t}),a=(0,E.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,E.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 O=D(b,`Android Studio`),k=D(T,`Xcode`),A=D(w,`Windsurf`),j=D(C,`Sublime Text`),M=D(x,`Nova`),N=D(S,`Positron`),P=e(t(),1),F=(e,t)=>{let n=(0,y.c)(7),r=(0,P.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},I={cursor:p,windsurf:A,trae:f,kiro:u,vscode:l,"vscode-insiders":m,vscodium:d,positron:N,zed:h,"sublime-text":j,nova:M,xcode:k,antigravity:c,"android-studio":O,idea:e=>{let t=(0,y.c)(23),[n,r]=F(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},aqua:e=>{let t=(0,y.c)(23),[n,r]=F(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},clion:e=>{let t=(0,y.c)(23),[n,r]=F(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},datagrip:e=>{let t=(0,y.c)(23),[n,r]=F(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},dataspell:e=>{let t=(0,y.c)(23),[n,r]=F(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},goland:e=>{let t=(0,y.c)(23),[n,r]=F(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},phpstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},pycharm:e=>{let t=(0,y.c)(23),[n,r]=F(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rider:e=>{let t=(0,y.c)(23),[n,r]=F(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rubymine:e=>{let t=(0,y.c)(23),[n,r]=F(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},rustrover:e=>{let t=(0,y.c)(23),[n,r]=F(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},webstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},terminal:s,"file-manager":v};function L(e,t){return e===`terminal`&&a(t)?`Windows Terminal`:e===`file-manager`?r(t)?`Finder`:a(t)?`Explorer`:`Files`:n.find(t=>t.id===e)?.label??e}function R(e,t){let r=new Set(t);return n.filter(e=>r.has(e.id)).map(t=>({label:L(t.id,e),Icon:I[t.id],value:t.id}))}export{v as i,L as n,R as r,I as t};
|
|
1
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{lt as n}from"./src-Bi-5Nw9C.js";import{Hr as r,Na as i,Ur as a,_l as o}from"./runtime-Bxg7k81u.js";import{Qt as s,Xn as c,_n as l,bn as u,fn as d,gn as f,rn as p,vn as m,yn as h}from"./switch-CEJEmLe7.js";import{t as g}from"./compiler-runtime-qmuS0Svy.js";var _={name:`folder-closed`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}],[`path`,{d:`M2 10h20`,key:`1ir3d8`}]]};_.node;var v=i(_),y=g(),b=`/assets/android-studio-BStk6y1m.png`,x=`/assets/nova-BR8CJp3D.png`,S=`/assets/positron-CVTig56O.png`,C=`/assets/sublime-text-CdbLNBJ7.png`,w=`/assets/windsurf-CaEwKX1l.png`,T=`/assets/xcode-B_XpXYHB.png`,E=o();function D(e,t){let n=n=>{let r=(0,y.c)(4),i,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`title`,{children:t}),a=(0,E.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,E.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 O=D(b,`Android Studio`),k=D(T,`Xcode`),A=D(w,`Windsurf`),j=D(C,`Sublime Text`),M=D(x,`Nova`),N=D(S,`Positron`),P=e(t(),1),F=(e,t)=>{let n=(0,y.c)(7),r=(0,P.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},I={cursor:p,windsurf:A,trae:f,kiro:d,vscode:m,"vscode-insiders":h,vscodium:l,positron:N,zed:u,"sublime-text":j,nova:M,xcode:k,antigravity:s,"android-studio":O,idea:e=>{let t=(0,y.c)(23),[n,r]=F(`intellij-idea`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#FC801D`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.21`,stopColor:`#FE2857`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},aqua:e=>{let t=(0,y.c)(23),[n,r]=F(`aqua`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.25`,stopColor:`#7256FF`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#00D886`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},clion:e=>{let t=(0,y.c)(23),[n,r]=F(`clion`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#009AE5`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},datagrip:e=>{let t=(0,y.c)(23),[n,r]=F(`datagrip`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#7256FF`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF43F2`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},dataspell:e=>{let t=(0,y.c)(23),[n,r]=F(`dataspell`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.28`,stopColor:`#007DFE`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.32`,stopColor:`#F0EB18`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},goland:e=>{let t=(0,y.c)(23),[n,r]=F(`goland`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.24`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.27`,stopColor:`#007DFE`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},phpstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`phpstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.16`,stopColor:`#D249FC`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#FF2D90`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},pycharm:e=>{let t=(0,y.c)(23),[n,r]=F(`pycharm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.1`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.3`,stopColor:`#F0EB18`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rider:e=>{let t=(0,y.c)(23),[n,r]=F(`rider`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.21`,stopColor:`#007DFE`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.23`,stopColor:`#FFB700`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},rubymine:e=>{let t=(0,y.c)(23),[n,r]=F(`rubymine`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF2358`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.29`,stopColor:`#FF8100`}),c=(0,E.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,E.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,E.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,E.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,E.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,_;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,E.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,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(h=t[15],g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==m||t[20]!==u||t[21]!==f?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,f,m,h,g,_]}),t[18]=e,t[19]=m,t[20]=u,t[21]=f,t[22]=v):v=t[22],v},rustrover:e=>{let t=(0,y.c)(23),[n,r]=F(`rustrover`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.08`,stopColor:`#00D886`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.19`,stopColor:`#FFAB00`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},webstorm:e=>{let t=(0,y.c)(23),[n,r]=F(`webstorm`,2),i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,E.jsx)(`stop`,{offset:`.22`,stopColor:`#F0EB18`}),a=(0,E.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,E.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,E.jsx)(`stop`,{offset:`.19`,stopColor:`#00C4F4`}),c=(0,E.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,E.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,E.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,E.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,E.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,E.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,_;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,E.jsx)(`path`,{fill:`#000`,d:`M52 12H12v40h40z`}),_=(0,E.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]=_):(g=t[16],_=t[17]);let v;return t[18]!==e||t[19]!==h||t[20]!==u||t[21]!==p?(v=(0,E.jsxs)(`svg`,{...e,viewBox:`0 0 64 64`,fill:`none`,children:[u,d,p,h,g,_]}),t[18]=e,t[19]=h,t[20]=u,t[21]=p,t[22]=v):v=t[22],v},terminal:c,"file-manager":v};function L(e,t){return e===`terminal`&&a(t)?`Windows Terminal`:e===`file-manager`?r(t)?`Finder`:a(t)?`Explorer`:`Files`:n.find(t=>t.id===e)?.label??e}function R(e,t){let r=new Set(t);return n.filter(e=>r.has(e.id)).map(t=>({label:L(t.id,e),Icon:I[t.id],value:t.id}))}export{v as i,L as n,R as r,I as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./react-SIfiwpqq.js";import{a as n}from"./primary-CjhRI8fe.js";import{ml as r}from"./src-Bi-5Nw9C.js";import{Cr as i,Ft as a,Nr as o,Nt as s,Vr as c,_l as l,gl as u,hl as d,p as f,wr as p,zr as m}from"./runtime-Bxg7k81u.js";import{$t as h,_ as g,cn as _,ct as v,dn as y,en as b,in as x,on as S,p as C,r as w,sn as ee,t as T,tn as E}from"./switch-CEJEmLe7.js";import{t as D}from"./compiler-runtime-qmuS0Svy.js";import{i as O,n as te,t as ne}from"./tooltip-B7Z4qomY.js";import{t as k}from"./badge-DnBuGHGL.js";import{i as A}from"./SettingsPanels-Bgf4vkrJ.js";import{K as j}from"./ContextHandoffEndpointLabel-BSQOArMR.js";import{t as M}from"./key-round-CYcb9lAa.js";import{t as N}from"./refresh-cw-B5Cz1z3e.js";import{t as P}from"./toastHelpers-CSQRKo4F.js";import{t as F}from"./input-C2xv8mMt.js";import{t as I}from"./skeleton-CoyLqyaB.js";import{a as re,i as L,n as R,o as z,r as ie,t as B}from"./empty-YXFtCUDN.js";import{i as V,n as H}from"./settingsLayout-CfKq88KD.js";import{t as ae}from"./RedactedSensitiveText-DovqFcmM.js";var U=D(),W=e(t(),1),G=l(),oe={versionControlSystems:[],sourceControlProviders:[]},se={github:S,gitlab:_,forgejo:x,"azure-devops":b,bitbucket:E},ce={git:ee,jj:y},le=[`primary`,`secondary`],ue=[`atlassian`,`connections`];function K(e){return r(e)}function q(e){return`auth`in e}function J(e){return!q(e)&&!e.implemented}function de(e){return e.status===`authenticated`?{label:`Authenticated`,badge:null}:e.status===`unauthenticated`?{label:`Not authenticated`,badge:`warning`}:{label:`Status unknown`,badge:null}}function fe(e){let t=(0,U.c)(2),n;return t[0]===e.account?n=t[1]:(n=(0,G.jsx)(ae,{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 pe(e){return J(e)?`bg-muted-foreground/35`:e.status!==`available`||q(e)&&e.auth.status!==`authenticated`?`bg-warning`:`bg-success`}function me(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=pe(n),s=q(n)?se[n.kind]:ce[n.kind];if(!s){o=(0,G.jsx)(`span`,{className:c(`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=c(`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 l;return t[9]!==i||t[10]!==a||t[11]!==s?(l=(0,G.jsxs)(`span`,{className:i,children:[a,s]}),t[9]=i,t[10]=a,t[11]=s,t[12]=l):l=t[12],l}function he({item:e,auth:t,authAccount:n,authHost:r}){return J(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)(fe,{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,`. `,K(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 ge(e){let t=(0,U.c)(57),{item:n}=e,r;t[0]===n.version?r=t[1]:(r=K(n.version),t[0]=n.version,t[1]=r);let i=r,a;t[2]===n?a=t[3]:(a=n.status===`available`&&(q(n)||n.implemented),t[2]=n,t[3]=a);let o=a,s=q(n)?n.auth:null,l;t[4]===s?l=t[5]:(l=s?de(s):null,t[4]=s,t[5]=l);let u=l,d,f,p,m,h,g,_;if(t[6]!==s||t[7]!==u||t[8]!==n||t[9]!==i){let e=s?K(s.account):null,r=s?K(s.host):null;t[17]===n?d=t[18]:(d=c(`border-t border-border/60 first:border-t-0`,J(n)&&`opacity-80`),t[17]=n,t[18]=d),_=`px-4 py-3.5 sm:px-5`,g=`flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between`,m=`min-w-0 flex-1 space-y-1`;let a;t[19]===n?a=t[20]:(a=(0,G.jsx)(me,{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 l;t[23]===i?l=t[24]:(l=i?(0,G.jsx)(`code`,{className:`text-xs text-muted-foreground`,children:i}):null,t[23]=i,t[24]=l);let v;t[25]===n?v=t[26]:(v=J(n)?(0,G.jsx)(k,{variant:`warning`,size:`sm`,children:`Coming Soon`}):null,t[25]=n,t[26]=v);let y;t[27]===u?y=t[28]:(y=u?.badge?(0,G.jsx)(k,{variant:u.badge,size:`sm`,children:u.label}):null,t[27]=u,t[28]=y),t[29]!==a||t[30]!==o||t[31]!==l||t[32]!==v||t[33]!==y?(h=(0,G.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[a,o,l,v,y]}),t[29]=a,t[30]=o,t[31]=l,t[32]=v,t[33]=y,t[34]=h):h=t[34],f=`flex min-w-0 flex-wrap items-center gap-x-1 text-xs text-muted-foreground`,p=he({item:n,auth:s,authAccount:e,authHost:r}),t[6]=s,t[7]=u,t[8]=n,t[9]=i,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=g,t[16]=_}else d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],g=t[15],_=t[16];let v;t[35]!==f||t[36]!==p?(v=(0,G.jsx)(`p`,{className:f,children:p}),t[35]=f,t[36]=p,t[37]=v):v=t[37];let y;t[38]!==v||t[39]!==m||t[40]!==h?(y=(0,G.jsxs)(`div`,{className:m,children:[h,v]}),t[38]=v,t[39]=m,t[40]=h,t[41]=y):y=t[41];let b;t[42]!==o||t[43]!==n?(b=J(n)?null:(0,G.jsx)(T,{checked:o,disabled:!0,"aria-label":`${n.label} availability`}),t[42]=o,t[43]=n,t[44]=b):b=t[44];let x;t[45]===b?x=t[46]:(x=(0,G.jsx)(`div`,{className:`flex w-full shrink-0 items-center gap-2 sm:w-auto sm:justify-end`,children:b}),t[45]=b,t[46]=x);let S;t[47]!==y||t[48]!==x||t[49]!==g?(S=(0,G.jsxs)(`div`,{className:g,children:[y,x]}),t[47]=y,t[48]=x,t[49]=g,t[50]=S):S=t[50];let C;t[51]!==S||t[52]!==_?(C=(0,G.jsx)(`div`,{className:_,children:S}),t[51]=S,t[52]=_,t[53]=C):C=t[53];let w;return t[54]!==d||t[55]!==C?(w=(0,G.jsx)(`div`,{className:d,children:C}),t[54]=d,t[55]=C,t[56]=w):w=t[56],w}function Y(e){let t=(0,U.c)(4),{title:n,headerAction:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=le.map(_e),t[0]=i):i=t[0];let a;return t[1]!==r||t[2]!==n?(a=(0,G.jsx)(V,{title:n,headerAction:r,children:i}),t[1]=r,t[2]=n,t[3]=a):a=t[3],a}function _e(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)(I,{className:`size-4.5 rounded-md`}),(0,G.jsx)(I,{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)(I,{className:`h-4 w-28 rounded-full`}),(0,G.jsx)(I,{className:`h-5 w-14 rounded-full`})]}),(0,G.jsx)(I,{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)(I,{className:`size-7 rounded-md`}),(0,G.jsx)(I,{className:`h-5 w-9 rounded-full`})]})]})},e)}function ve(e){switch(e){case`connected`:return`success`;case`needs_reauth`:return`warning`;case`invalid`:return`error`;case`revoked`:return`outline`}}function ye(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 be(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)(E,{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)(h,{className:e.className,"aria-hidden":!0}),t[2]=e.className,t[3]=n),n}function xe(e){let t=(0,U.c)(123),{environmentId:n}=e,r=a(),[c,l]=(0,W.useState)(`Bitbucket`),[u,d]=(0,W.useState)(``),[p,h]=(0,W.useState)(``),[_,y]=(0,W.useState)(`Jira`),[b,x]=(0,W.useState)(``),[S,ee]=(0,W.useState)(``),[T,E]=(0,W.useState)(``),D;t[0]===n?D=t[1]:(D=n?f(n):null,t[0]=n,t[1]=D);let O=D?.client??null,te=O!==null,ne;t[2]!==n||t[3]!==te?(ne={environmentId:n,enabled:te},t[2]=n,t[3]=te,t[4]=ne):ne=t[4];let A=C(ne),N;t[5]!==u||t[6]!==c||t[7]!==p||t[8]!==O?(N=async()=>{if(!O)throw Error(`No server connection is available.`);return O.atlassian.saveManualBitbucketToken({label:c.trim(),email:u.trim(),token:p.trim(),isDefault:!0})},t[5]=u,t[6]=c,t[7]=p,t[8]=O,t[9]=N):N=t[9];let I;t[10]!==n||t[11]!==r?(I=()=>{l(`Bitbucket`),d(``),h(``),g({environmentId:n}),r.invalidateQueries({queryKey:ue}),i({environmentId:n}),o.add(P({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]!==N||t[14]!==I?(re={mutationFn:N,onSuccess:I,onError:we},t[13]=N,t[14]=I,t[15]=re):re=t[15];let L=s(re),R;t[16]!==O||t[17]!==b||t[18]!==_||t[19]!==S||t[20]!==T?(R=async()=>{if(!O)throw Error(`No server connection is available.`);return O.atlassian.saveManualJiraToken({label:_.trim(),email:b.trim(),siteUrl:S.trim(),token:T.trim(),isDefault:!0})},t[16]=O,t[17]=b,t[18]=_,t[19]=S,t[20]=T,t[21]=R):R=t[21];let z;t[22]!==n||t[23]!==r?(z=()=>{y(`Jira`),x(``),ee(``),E(``),g({environmentId:n}),r.invalidateQueries({queryKey:ue}),o.add(P({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 ie;t[25]!==R||t[26]!==z?(ie={mutationFn:R,onSuccess:z,onError:Ce},t[25]=R,t[26]=z,t[27]=ie):ie=t[27];let B=s(ie),V;t[28]===O?V=t[29]:(V=async e=>{if(!O)throw Error(`No server connection is available.`);return O.atlassian.disconnect({connectionId:e.connectionId})},t[28]=O,t[29]=V);let H;t[30]!==n||t[31]!==r?(H=()=>{g({environmentId:n}),r.invalidateQueries({queryKey:ue}),i({environmentId:n})},t[30]=n,t[31]=r,t[32]=H):H=t[32];let ae;t[33]!==V||t[34]!==H?(ae={mutationFn:V,onSuccess:H,onError:Se},t[33]=V,t[34]=H,t[35]=ae):ae=t[35];let oe=s(ae),se;t[36]!==u||t[37]!==c||t[38]!==p||t[39]!==O||t[40]!==L.isPending?(se=O!==null&&c.trim().length>0&&u.trim().length>0&&p.trim().length>0&&!L.isPending,t[36]=u,t[37]=c,t[38]=p,t[39]=O,t[40]=L.isPending,t[41]=se):se=t[41];let ce=se,le;t[42]!==O||t[43]!==b||t[44]!==_||t[45]!==S||t[46]!==T||t[47]!==B.isPending?(le=O!==null&&_.trim().length>0&&b.trim().length>0&&S.trim().length>0&&T.trim().length>0&&!B.isPending,t[42]=O,t[43]=b,t[44]=_,t[45]=S,t[46]=T,t[47]=B.isPending,t[48]=le):le=t[48];let K=le,q;t[49]!==ce||t[50]!==L?(q=e=>{e.preventDefault(),ce&&L.mutate()},t[49]=ce,t[50]=L,t[51]=q):q=t[51];let J=q,de;t[52]!==K||t[53]!==B?(de=e=>{e.preventDefault(),K&&B.mutate()},t[52]=K,t[53]=B,t[54]=de):de=t[54];let pe=de,me;t[55]===A.data?me=t[56]:(me=A.data??[],t[55]=A.data,t[56]=me);let he=me,ge=A.data===null&&!A.isError,Y;t[57]===Symbol.for(`react.memo_cache_sentinel`)?(Y=(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)(M,{className:`size-3`,"aria-hidden":!0}),`Atlassian`]})}),t[57]=Y):Y=t[57];let _e;t[58]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,G.jsx)(w,{htmlFor:`bitbucket-token-label`,className:`text-xs`,children:`Label`}),t[58]=_e):_e=t[58];let xe;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(xe=e=>l(e.currentTarget.value),t[59]=xe):xe=t[59];let X;t[60]===c?X=t[61]:(X=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[_e,(0,G.jsx)(F,{id:`bitbucket-token-label`,size:`sm`,value:c,autoComplete:`organization`,onChange:xe,placeholder:`Bitbucket`})]}),t[60]=c,t[61]=X);let Te;t[62]===Symbol.for(`react.memo_cache_sentinel`)?(Te=(0,G.jsx)(w,{htmlFor:`bitbucket-token-email`,className:`text-xs`,children:`Email`}),t[62]=Te):Te=t[62];let Ee;t[63]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=e=>d(e.currentTarget.value),t[63]=Ee):Ee=t[63];let Z;t[64]===u?Z=t[65]:(Z=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Te,(0,G.jsx)(F,{id:`bitbucket-token-email`,size:`sm`,type:`email`,value:u,autoComplete:`username`,onChange:Ee,placeholder:`you@example.com`})]}),t[64]=u,t[65]=Z);let De;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(De=(0,G.jsx)(w,{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=>h(e.currentTarget.value),t[67]=Oe):Oe=t[67];let ke;t[68]===p?ke=t[69]:(ke=(0,G.jsx)(F,{id:`bitbucket-token-secret`,size:`sm`,type:`password`,value:p,autoComplete:`current-password`,onChange:Oe,placeholder:`Stored locally in the server secret store`}),t[68]=p,t[69]=ke);let Ae=!ce,je;t[70]===L.isPending?je=t[71]:(je=L.isPending?(0,G.jsx)(v,{className:`size-3`}):null,t[70]=L.isPending,t[71]=je);let Me;t[72]!==Ae||t[73]!==je?(Me=(0,G.jsxs)(m,{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]!==J||t[79]!==X||t[80]!==Z||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:J,children:[X,Z,Ne]})}),t[78]=J,t[79]=X,t[80]=Z,t[81]=Ne,t[82]=Pe):Pe=t[82];let Fe;t[83]===Symbol.for(`react.memo_cache_sentinel`)?(Fe=(0,G.jsx)(w,{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=>y(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)(F,{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)(w,{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=>x(e.currentTarget.value),t[88]=ze):ze=t[88];let Be;t[89]===b?Be=t[90]:(Be=(0,G.jsxs)(`div`,{className:`space-y-1.5`,children:[Re,(0,G.jsx)(F,{id:`jira-token-email`,size:`sm`,type:`email`,value:b,autoComplete:`username`,onChange:ze,placeholder:`you@example.com`})]}),t[89]=b,t[90]=Be);let Ve;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,G.jsx)(w,{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=>ee(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)(F,{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)(w,{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=>E(e.currentTarget.value),t[96]=We):We=t[96];let Ge;t[97]===T?Ge=t[98]:(Ge=(0,G.jsx)(F,{id:`jira-token-secret`,size:`sm`,type:`password`,value:T,autoComplete:`current-password`,onChange:We,placeholder:`Stored locally in the server secret store`}),t[97]=T,t[98]=Ge);let Ke=!K,qe;t[99]===B.isPending?qe=t[100]:(qe=B.isPending?(0,G.jsx)(v,{className:`size-3`}):null,t[99]=B.isPending,t[100]=qe);let Je;t[101]!==Ke||t[102]!==qe?(Je=(0,G.jsxs)(m,{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]!==pe||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:pe,children:[Le,Be,Q,Ye]})}),t[107]=pe,t[108]=Le,t[109]=Be,t[110]=Q,t[111]=Ye,t[112]=Xe):Xe=t[112];let Ze;t[113]!==ge||t[114]!==oe||t[115]!==he?(Ze=ge?(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)(v,{className:`size-3.5`}),`Loading Atlassian connections`]}):he.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.`}):he.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)(be,{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)(k,{variant:ve(e.status),size:`sm`,children:e.status.replace(`_`,` `)}),(0,G.jsx)(k,{variant:`outline`,size:`sm`,children:ye(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)(fe,{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)(m,{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:oe.isPending||e.readonly,onClick:()=>oe.mutate(e),children:(0,G.jsx)(j,{className:`size-3.5`})})]},e.connectionId)),t[113]=ge,t[114]=oe,t[115]=he,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:[Y,Pe,Xe,$]}),t[119]=Pe,t[120]=Xe,t[121]=$,t[122]=Qe):Qe=t[122],Qe}function Se(e){o.add(P({type:`error`,title:`Could not delete Atlassian connection`,description:e instanceof Error?e.message:`The connection was not changed.`}))}function Ce(e){o.add(P({type:`error`,title:`Could not save Jira token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function we(e){o.add(P({type:`error`,title:`Could not save Bitbucket token`,description:e instanceof Error?e.message:`The token could not be saved.`}))}function X(){let e=(0,U.c)(2),t=d(),n;return e[0]===t?n=e[1]:(n=t===`client`?(0,G.jsx)(H,{children:(0,G.jsx)(A,{})}):(0,G.jsx)(Te,{}),e[0]=t,e[1]=n),n}function Te(){let e=(0,U.c)(44),t=d(),r=u(),a=n(),o=r?.environmentId??a,s;e[0]===o?s=e[1]:(s={environmentId:o},e[0]=o,e[1]=s);let l=p(s),f=l.data??oe,h=l.isPending&&l.data===null,g;e[2]===o?g=e[3]:(g=()=>{i({environmentId:o})},e[2]=o,e[3]=g);let _=g,v=l.isPending,y=l.isPending&&`animate-spin`,b;e[4]===y?b=e[5]:(b=c(`size-3`,y),e[4]=y,e[5]=b);let x;e[6]===b?x=e[7]:(x=(0,G.jsx)(N,{className:b}),e[6]=b,e[7]=x);let S;e[8]!==l.isPending||e[9]!==_||e[10]!==x?(S=(0,G.jsx)(O,{render:(0,G.jsx)(m,{size:`icon-xs`,variant:`ghost`,className:`size-5 rounded-sm p-0 text-muted-foreground hover:text-foreground`,onClick:_,disabled:v,"aria-label":`Rescan server environment`,children:x})}),e[8]=l.isPending,e[9]=_,e[10]=x,e[11]=S):S=e[11];let C;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,G.jsx)(te,{side:`top`,children:`Rescan Git and hosting integrations`}),e[12]=C):C=e[12];let w;e[13]===S?w=e[14]:(w=(0,G.jsxs)(ne,{children:[S,C]}),e[13]=S,e[14]=w);let T=w;if(h){let t;e[15]===T?t=e[16]:(t=(0,G.jsx)(Y,{title:`Version Control`,headerAction:T}),e[15]=T,e[16]=t);let n;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,G.jsx)(Y,{title:`Source Control Providers`}),e[17]=n):n=e[17];let r;return e[18]===t?r=e[19]:(r=(0,G.jsxs)(H,{children:[t,n]}),e[18]=t,e[19]=r),r}let E=f.versionControlSystems.length>0,D=f.sourceControlProviders.length>0,k=E||D,j;e[20]===t?j=e[21]:(j=t===`all`&&(0,G.jsx)(A,{}),e[20]=t,e[21]=j);let M;e[22]!==l.isPending||e[23]!==o||e[24]!==_||e[25]!==k?(M=k?null:(0,G.jsxs)(V,{title:`Source Control Providers`,children:[(0,G.jsxs)(B,{className:`min-h-56 border-t border-border/60 first:border-t-0`,children:[(0,G.jsxs)(L,{children:[(0,G.jsx)(re,{variant:`icon`,children:(0,G.jsx)(ee,{className:`size-4`})}),(0,G.jsx)(z,{children:`Nothing detected yet`}),(0,G.jsx)(ie,{children:`Install Git on the server, add optional hosting integrations or credentials your workspace needs, then rescan.`})]}),(0,G.jsx)(R,{children:(0,G.jsxs)(m,{type:`button`,size:`xs`,onClick:_,disabled:l.isPending,children:[(0,G.jsx)(N,{className:c(`size-3`,l.isPending&&`animate-spin`)}),`Scan`]})})]}),(0,G.jsx)(xe,{environmentId:o})]}),e[22]=l.isPending,e[23]=o,e[24]=_,e[25]=k,e[26]=M):M=e[26];let P;e[27]!==E||e[28]!==f.versionControlSystems||e[29]!==T?(P=E?(0,G.jsx)(V,{title:`Version Control`,headerAction:T,children:f.versionControlSystems.map(Z)}):null,e[27]=E,e[28]=f.versionControlSystems,e[29]=T,e[30]=P):P=e[30];let F;e[31]!==l.error||e[32]!==o||e[33]!==k||e[34]!==D||e[35]!==E||e[36]!==f.sourceControlProviders||e[37]!==T?(F=k?(0,G.jsxs)(V,{title:`Source Control Providers`,headerAction:E?null:T,children:[D?f.sourceControlProviders.map(Ee):(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:l.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)(xe,{environmentId:o})]}):null,e[31]=l.error,e[32]=o,e[33]=k,e[34]=D,e[35]=E,e[36]=f.sourceControlProviders,e[37]=T,e[38]=F):F=e[38];let I;return e[39]!==M||e[40]!==P||e[41]!==F||e[42]!==j?(I=(0,G.jsxs)(H,{children:[j,M,P,F]}),e[39]=M,e[40]=P,e[41]=F,e[42]=j,e[43]=I):I=e[43],I}function Ee(e){return(0,G.jsx)(ge,{item:e},`provider:${e.kind}`)}function Z(e){return(0,G.jsx)(ge,{item:e},`vcs:${e.kind}`)}export{X as SourceControlSettingsPanel};
|