@p4code/cli 0.9.10 → 0.9.13
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/bin.mjs +1 -1
- package/dist/{binCli-CYcCQdSE.mjs → binCli-D22yxtxv.mjs} +10250 -6033
- package/dist/client/.vite/manifest.json +2084 -2031
- package/dist/client/assets/{2NI2N5EU-CTGx9SqE.js → 2NI2N5EU-DBKJSvEQ.js} +2 -2
- package/dist/client/assets/{4UO7MD6I-BjVL6foo.js → 4UO7MD6I-1JuY3zN7.js} +2 -2
- package/dist/client/assets/{5B3SVYGG-Cs9CtCwM.js → 5B3SVYGG-CwgmePuE.js} +2 -2
- package/dist/client/assets/{5GK6JWQ2-uCqJ5b6P.js → 5GK6JWQ2-D9VJsozU.js} +2 -2
- package/dist/client/assets/{5N7A7DKN-D8xYxzg8.js → 5N7A7DKN-CFgZoUw5.js} +2 -2
- package/dist/client/assets/{5OC2THR4-B4_z8HL_.js → 5OC2THR4-Cx6keXWX.js} +2 -2
- package/dist/client/assets/{5S6HY5KT-BQM1ruT_.js → 5S6HY5KT-Ce1reKKv.js} +2 -2
- package/dist/client/assets/{6IMQ5BUJ-CkYA1m9F.js → 6IMQ5BUJ-D7X0q9kf.js} +2 -2
- package/dist/client/assets/{6OLKWJ4F-B7EL2QRF.js → 6OLKWJ4F-YLfMA9aH.js} +2 -2
- package/dist/client/assets/{74OO7NKP-3i4AYzMo.js → 74OO7NKP-Wm5pZPTC.js} +2 -2
- package/dist/client/assets/{75O6YZUN-CFk80U2S.js → 75O6YZUN-D2He6_fp.js} +2 -2
- package/dist/client/assets/{77XECAW3-DUjtpBc8.js → 77XECAW3-CV_JLSeU.js} +2 -2
- package/dist/client/assets/{ABYRPUBD-BobiH6Ib.js → ABYRPUBD-D0xOVN1A.js} +2 -2
- package/dist/client/assets/AlertDialogRoot-DaczVYX9.js +2 -0
- package/dist/client/assets/{AnimatedHeight-Baj5Pa60.js → AnimatedHeight-yuTG4G03.js} +2 -2
- package/dist/client/assets/{AuthSurfaceShell-PCmsqp7T.js → AuthSurfaceShell-CCBOJP5G.js} +2 -2
- package/dist/client/assets/{BB2UYUI2-DnxMKjgT.js → BB2UYUI2-BdXGRPif.js} +2 -2
- package/dist/client/assets/{BUM34MOA-DNTynUxx.js → BUM34MOA-isqGnSvm.js} +2 -2
- package/dist/client/assets/{CEQABKGZ-veHxvA1u.js → CEQABKGZ-DE0PWXRq.js} +2 -2
- package/dist/client/assets/{CXAC5362-BynYY6uD.js → CXAC5362-0Zr5tv4C.js} +2 -2
- package/dist/client/assets/{ChatGptUsageButton-D-N8-zk6.js → ChatGptUsageButton-w6RkBCUH.js} +2 -2
- package/dist/client/assets/{ChatMarkdown-fdsQ0rQe.js → ChatMarkdown-CFUfXlYp.js} +31 -31
- package/dist/client/assets/CheckboxIndicator-lkbFKbE7.js +2 -0
- package/dist/client/assets/{ClippedText-Bz4usJaN.js → ClippedText-Bf8FSQkX.js} +2 -2
- package/dist/client/assets/CodexSetupSection.logic-SHExnMKR.js +2 -0
- package/dist/client/assets/ComboboxClear-B0HJXjbz.js +2 -0
- package/dist/client/assets/{ComboboxGroupLabel-B9uepPCe.js → ComboboxGroupLabel-CMc5xUrd.js} +2 -2
- package/dist/client/assets/{CommandBlock-BFdf6yDf.js → CommandBlock-CluJmhVo.js} +2 -2
- package/dist/client/assets/{ComposerPromptEditor--x6yGPiW.js → ComposerPromptEditor-DR1WsmjD.js} +60 -60
- package/dist/client/assets/CompositeRoot-BMHKb-nN.js +2 -0
- package/dist/client/assets/{connect-agent-BJCTM1nf.js → ConnectAgentSurface-CNWdh9ck.js} +2 -2
- package/dist/client/assets/{ConnectionStatusDot-CpPwqzkK.js → ConnectionStatusDot-CpmZ8NE5.js} +2 -2
- package/dist/client/assets/{DRLTVNUE-BOhroau_.js → DRLTVNUE-Dttc5MrD.js} +2 -2
- package/dist/client/assets/{DYY6UVD2-Bpmvecid.js → DYY6UVD2-DTrZAR1D.js} +2 -2
- package/dist/client/assets/DevicePanel-CRFuAv_j.js +2 -0
- package/dist/client/assets/{DeviceSetup-CJ3rjcDw.js → DeviceSetup-DRzepax4.js} +2 -2
- package/dist/client/assets/DialogTitle-pLX9Mw1n.js +2 -0
- package/dist/client/assets/{DiffCommentAnnotation-BkAROMry.js → DiffCommentAnnotation-6V9nI3Cm.js} +3 -3
- package/dist/client/assets/{DiffFileTree-ERgpSLaE.js → DiffFileTree-CBEjDul5.js} +2 -2
- package/dist/client/assets/DiffPanel-CM5Rvb_z.js +2 -0
- package/dist/client/assets/{DiffWorkerPoolProvider-BrhQktrm.js → DiffWorkerPoolProvider-f4-YQsHo.js} +2 -2
- package/dist/client/assets/{EmbeddedDesign-DpSkJYii.js → EmbeddedDesign-DSEjf0KK.js} +5 -5
- package/dist/client/assets/{EnvironmentMachineIcon-BrGxJPP_.js → EnvironmentMachineIcon-B6wAZat7.js} +2 -2
- package/dist/client/assets/{ExpandableText-auxbX5_6.js → ExpandableText-Cjat32hh.js} +2 -2
- package/dist/client/assets/{FNOVOB4O-Mdzaj7g-.js → FNOVOB4O-LisHSqAM.js} +2 -2
- package/dist/client/assets/FieldControl-DwBVFJAI.js +2 -0
- package/dist/client/assets/{FileDiff-sbzjIw4Y.js → FileDiff-Bj9kBLN2.js} +2 -2
- package/dist/client/assets/FilePreviewPanel-z6NirC2y.js +34 -0
- package/dist/client/assets/{FoldedSettingsSection-DN1s3P5h.js → FoldedSettingsSection-DIlgxayr.js} +2 -2
- package/dist/client/assets/FormContext-DcnLkh-4.js +2 -0
- package/dist/client/assets/{HDGCDEEZ-Ylftf3gZ.js → HDGCDEEZ-Bn1jLSys.js} +2 -2
- package/dist/client/assets/{HSJLKHB7-BQqIHFzA.js → HSJLKHB7-CHpiqxlA.js} +2 -2
- package/dist/client/assets/{Icons-BP6jlahF.js → Icons-Be1TL1sN.js} +2 -2
- package/dist/client/assets/Input-BZ1XdBC0.js +2 -0
- package/dist/client/assets/JZOYTAAL-BZEjBuKj.js +1 -0
- package/dist/client/assets/{K3MD6TGW-C-WMFQa2.js → K3MD6TGW-D5oCFPkP.js} +2 -2
- package/dist/client/assets/{K7RP3OMA-Bv01V4PC.js → K7RP3OMA-ZIPW--CU.js} +2 -2
- package/dist/client/assets/{KeybindingsSettings.logic-CkmobJKX.js → KeybindingsSettings.logic-Ctmq4InP.js} +2 -2
- package/dist/client/assets/{LHDIQX7Q-NSQFT8t0.js → LHDIQX7Q-BkDTNH4X.js} +2 -2
- package/dist/client/assets/{LUXOKEGN-URYU7c_t.js → LUXOKEGN-BMFFLlMk.js} +2 -2
- package/dist/client/assets/LinkMachineSelect-DGm4EDKi.js +2 -0
- package/dist/client/assets/{MathTypeset-vloBebae.js → MathTypeset-DpXMOBGY.js} +2 -2
- package/dist/client/assets/{N3JZAHOW-B9_qgeJe.js → N3JZAHOW-CV9TIlCo.js} +2 -2
- package/dist/client/assets/{NUIALGQ3-CgK-ZGa2.js → NUIALGQ3-WBqakHka.js} +2 -2
- package/dist/client/assets/{NoProjectsHero-Bkfsk4qc.js → NoProjectsHero-BfU7AxbB.js} +2 -2
- package/dist/client/assets/{O65XPQGZ-DcczmOOs.js → O65XPQGZ-CYhr2tYZ.js} +2 -2
- package/dist/client/assets/{O7XIQ6OM-DBN8Ta1r.js → O7XIQ6OM-D2JMbFqc.js} +2 -2
- package/dist/client/assets/{OFQON5FD-BAqD2M9W.js → OFQON5FD-B1aTfx9o.js} +2 -2
- package/dist/client/assets/{P4ConnectAccountPages-kTztZndM.js → P4ConnectAccountPages-J205rNHS.js} +2 -2
- package/dist/client/assets/P4ConnectSidebarSignIn-Bc4xlsJh.js +2 -0
- package/dist/client/assets/{PJQHF43J-D1TwOPBO.js → PJQHF43J-Dm3RMjWi.js} +2 -2
- package/dist/client/assets/PanelLayoutControls-BQZYES2T.js +216 -0
- package/dist/client/assets/{PierreEntryIcon-CcaKUQ_5.js → PierreEntryIcon-CHy821MU.js} +2 -2
- package/dist/client/assets/PopoverHandle-BkzqaTB6.js +2 -0
- package/dist/client/assets/PreviewPanel-D8V2zDl4.js +2 -0
- package/dist/client/assets/ProjectDefaultsSettings-6UkudkKP.js +2 -0
- package/dist/client/assets/ProjectFavicon-LcyFYpHB.js +3 -0
- package/dist/client/assets/{ProjectIconPickerDialog-DrNrdWag.js → ProjectIconPickerDialog-D03-Jrsi.js} +2 -2
- package/dist/client/assets/{ProjectMonogram-BJooqIM-.js → ProjectMonogram-C8FlNLaU.js} +2 -2
- package/dist/client/assets/{ProviderAuthTerminal-BdestvKT.js → ProviderAuthTerminal-DMTbKboR.js} +2 -2
- package/dist/client/assets/ProviderModelPicker-CpWE-Lfx.js +2 -0
- package/dist/client/assets/{ProviderSettingsForm-B1ZiIcrJ.js → ProviderSettingsForm-DrCFln8c.js} +2 -2
- package/dist/client/assets/PullRequestCodeTab-CjBrGNWY.js +6 -0
- package/dist/client/assets/{RHNBAITX-AZ9q_QDP.js → RHNBAITX-C7mnxleL.js} +2 -2
- package/dist/client/assets/{ReadOnlySourcePreview-CSK6ee05.js → ReadOnlySourcePreview-BasbTHVd.js} +2 -2
- package/dist/client/assets/RedactedSensitiveText-DACYfm7e.js +2 -0
- package/dist/client/assets/{RenderErrorBoundary-ImTUJEbS.js → RenderErrorBoundary-CIVNp8r9.js} +4 -4
- package/dist/client/assets/{SLD4V6NK-uXoZZAB2.js → SLD4V6NK-BkeVs7gb.js} +2 -2
- package/dist/client/assets/ScheduledTasksSettings-DpYigye5.js +4 -0
- package/dist/client/assets/{ScopedSwitch-IyBzdLBa.js → ScopedSwitch-D1uscoF8.js} +2 -2
- package/dist/client/assets/{ScrollAreaCorner-Bstf_gNQ.js → ScrollAreaCorner-DBtks1xb.js} +2 -2
- package/dist/client/assets/{SecretInput-BTBcl8SC.js → SecretInput-ZW3hnCoN.js} +2 -2
- package/dist/client/assets/SelectScrollUpArrow-Bq-GYRhT.js +2 -0
- package/dist/client/assets/SelfImproveSettingsSection-CDIhJO4P.js +2 -0
- package/dist/client/assets/SettingsPanels-Co5mks6X.js +46 -0
- package/dist/client/assets/SettingsPanels.logic-H5v8FTnu.js +2 -0
- package/dist/client/assets/{SettingsScopeNotice-BSIkX2D-.js → SettingsScopeNotice-gFtgpybO.js} +2 -2
- package/dist/client/assets/{SidebarStageBackdrop-D7me9VdP.js → SidebarStageBackdrop-DSuAw8Ob.js} +2 -2
- package/dist/client/assets/{T3PCR2KE-B4buGw24.js → T3PCR2KE-D6MHoseG.js} +2 -2
- package/dist/client/assets/{TKWO2OVW-B2GIBRnj.js → TKWO2OVW-gZK7dLQZ.js} +2 -2
- package/dist/client/assets/{TSHNXIZL-CwVvoBmu.js → TSHNXIZL-BKUmF3Cu.js} +2 -2
- package/dist/client/assets/{ThemeEditorPanel-Z1t7Xzva.js → ThemeEditorPanel-lI_9CbBH.js} +3 -3
- package/dist/client/assets/ThreadTerminalDrawer-CD3plt2C.js +5 -0
- package/dist/client/assets/TooltipViewport-Be_gbUW1.js +2 -0
- package/dist/client/assets/{UQJE5E4I-Bzqu0vVG.js → UQJE5E4I-D6av033t.js} +2 -2
- package/dist/client/assets/{USNYFO5S-C4Z9b1ks.js → USNYFO5S-Cy6sDMEU.js} +2 -2
- package/dist/client/assets/{Virtualizer-saguDIDi.js → Virtualizer-B_IsUzcr.js} +2 -2
- package/dist/client/assets/{WEVWDWVA-C5c2236d.js → WEVWDWVA-Cq1fZcng.js} +2 -2
- package/dist/client/assets/{WorkspaceBreadcrumb-CQH9TmFi.js → WorkspaceBreadcrumb-DbQW7iNE.js} +2 -2
- package/dist/client/assets/{WorkspacePageContainer-E5ZuTsSl.js → WorkspacePageContainer-BxI-x0oV.js} +2 -2
- package/dist/client/assets/{WorkspacePageHeader-DGopnQZ2.js → WorkspacePageHeader-Bc_F6Uog.js} +2 -2
- package/dist/client/assets/{X5RFHQXM-NygNPjev.js → X5RFHQXM-DdtKPA-W.js} +2 -2
- package/dist/client/assets/{X62E3GBT-qvvfx8FL.js → X62E3GBT-C7OjB5pB.js} +2 -2
- package/dist/client/assets/{XBNEOJTC-DAgGRRGR.js → XBNEOJTC-_Tbl2Kwh.js} +2 -2
- package/dist/client/assets/{YHV2MVVZ-PIsz4H0c.js → YHV2MVVZ-CA4YS5f4.js} +2 -2
- package/dist/client/assets/{YURCZMG2-CAQz8Kb8.js → YURCZMG2-DSnhUUsH.js} +2 -2
- package/dist/client/assets/{YVG2LODB-Crh6Gk8v.js → YVG2LODB-D-qFsH5t.js} +2 -2
- package/dist/client/assets/_chat-Cnc6rxt6.js +47 -0
- package/dist/client/assets/_chat.design-SX7SShjI.js +2 -0
- package/dist/client/assets/{_chat.index-ij31rX59.js → _chat.index-Bz1lJLpv.js} +2 -2
- package/dist/client/assets/_chat.new-BEqc5oJc.js +4 -0
- package/dist/client/assets/_chat.pull-requests-A3IwVYWs.js +2 -0
- package/dist/client/assets/{alert-CqueYfb9.js → alert-BOVMKHDy.js} +2 -2
- package/dist/client/assets/alert-dialog-Du3fYY3I.js +2 -0
- package/dist/client/assets/{assetUrls-5u2VAW_2.js → assetUrls-CYjvy6P4.js} +2 -2
- package/dist/client/assets/assets-JgE2I_Ix.js +2 -0
- package/dist/client/assets/browserHistoryStore-CdncPjG8.js +2 -0
- package/dist/client/assets/{browserLinkTarget-CUvZuS7D.js → browserLinkTarget-Bf9H9UVe.js} +2 -2
- package/dist/client/assets/{checkbox-BPr09F_k.js → checkbox-d50pgAVe.js} +2 -2
- package/dist/client/assets/circle-stop-0Wd2uKSK.js +2 -0
- package/dist/client/assets/{color-picker-roKqOkuS.js → color-picker-zcQshxaE.js} +2 -2
- package/dist/client/assets/{combobox-CEzOq8mg.js → combobox-BrCd1kH5.js} +2 -2
- package/dist/client/assets/{command-i_eKJj3B.js → command-DFkhX6wm.js} +2 -2
- package/dist/client/assets/{connect-wndN2LD9.js → connect-DkH09d_M.js} +2 -2
- package/dist/client/assets/connect-agent-DJHm1Ubj.js +2 -0
- package/dist/client/assets/{design-Cve-RO6N.js → design-DrpehYJf.js} +2 -2
- package/dist/client/assets/device-Nh7DArH7.js +2 -0
- package/dist/client/assets/{dialog-CKG1aUT3.js → dialog-BpR3dRVS.js} +2 -2
- package/dist/client/assets/{diffRendering-Dyda4rX5.js → diffRendering-BuOJdnZ8.js} +2 -2
- package/dist/client/assets/{dist-DP18jjts.js → dist-CMJL98Oz.js} +3 -3
- package/dist/client/assets/{draft-input-DvNQZghL.js → draft-input-CzfhM72Z.js} +2 -2
- package/dist/client/assets/{duoViewer-BnfAzuzK.js → duoViewer-ChrCWcjO.js} +2 -2
- package/dist/client/assets/dynamic-CVt07u2H.js +3 -0
- package/dist/client/assets/{embeddedScripts-BMILAsdP.js → embeddedScripts-BWqMWwOU.js} +2 -2
- package/dist/client/assets/{empty-D6SdnsPw.js → empty-Cy-8us9l.js} +2 -2
- package/dist/client/assets/entities-aKdRyfsJ.js +2 -0
- package/dist/client/assets/{fileLinks-BlBUc4i_.js → fileLinks-BgHa8yE4.js} +2 -2
- package/dist/client/assets/{fileTreeExpansion-B8yevc-B.js → fileTreeExpansion-CBn1SzSX.js} +2 -2
- package/dist/client/assets/{getDiffFileInput-dJd1H35Q.js → getDiffFileInput-IQ1TDM4E.js} +2 -2
- package/dist/client/assets/{guideRunStore-DksWd_Oc.js → guideRunStore-DfNfJUIu.js} +2 -2
- package/dist/client/assets/{htmlRender-hlYiIm7u.js → htmlRender-lwQ3HyqS.js} +2 -2
- package/dist/client/assets/index-BXvrSYK3.js +3 -0
- package/dist/client/assets/{input-yNgBXsRj.js → input-FUjAUGXY.js} +2 -2
- package/dist/client/assets/{input-group-APyqVexM.js → input-group-BdZ_CKvG.js} +2 -2
- package/dist/client/assets/{kbd-Cr4XEhSh.js → kbd-CGgmav-Q.js} +2 -2
- package/dist/client/assets/{keybindings-hzk4_Sgu.js → keybindings-DuCyi9aT.js} +2 -2
- package/dist/client/assets/{lazy-DILJj7Gd.js → lazy-Bs2SFpYS.js} +4 -4
- package/dist/client/assets/{lazyRouteComponent-tnhWsSYX.js → lazyRouteComponent-CYNRqeNP.js} +2 -2
- package/dist/client/assets/{link-CmpZDWcG.js → link-DW1IQk5s.js} +2 -2
- package/dist/client/assets/{linkedPrompt-CE3amDef.js → linkedPrompt-yo2xi4Z8.js} +2 -2
- package/dist/client/assets/main-BD4pReCY.css +2 -0
- package/dist/client/assets/main-C0z861OK.js +37 -0
- package/dist/client/assets/mediaReference-BQ9J-tjl.js +2 -0
- package/dist/client/assets/mediaSource-BLpxwEw3.js +2 -0
- package/dist/client/assets/number-field-Pve745k3.js +2 -0
- package/dist/client/assets/{observeResize-DjqKtKLK.js → observeResize-CZuDzlcZ.js} +2 -2
- package/dist/client/assets/{onboarding-pqbI8W1U.js → onboarding-CE8pzS12.js} +2 -2
- package/dist/client/assets/openFileInPreview-Dns9tPaB.js +2 -0
- package/dist/client/assets/{p4ProjectFile-xLwkLebE.js → p4ProjectFile-jwYvYDE-.js} +2 -2
- package/dist/client/assets/{pair-C4lVdDUz.js → pair-OPslYcM9.js} +2 -2
- package/dist/client/assets/{pendingSendStore-BoFRcmy5.js → pendingSendStore-CLwMM17y.js} +2 -2
- package/dist/client/assets/{phoneViewer-Cotavx5y.js → phoneViewer-CkTxyA9N.js} +2 -2
- package/dist/client/assets/{pierre-icons-CBskVugi.js → pierre-icons-DY8ZeGCr.js} +2 -2
- package/dist/client/assets/{popover-DVeZET9D.js → popover-hYAmvSJj.js} +2 -2
- package/dist/client/assets/{preview-Bw-Ffmn4.js → preview-CI9HEdfV.js} +2 -2
- package/dist/client/assets/{preview-oweHYD4S.js → preview-YhZE3kRt.js} +2 -2
- package/dist/client/assets/{previewMiniPlayerStore-DrP4x3Ce.js → previewMiniPlayerStore-DUPe1gGI.js} +2 -2
- package/dist/client/assets/primary-BlS2rEKe.js +2 -0
- package/dist/client/assets/primaryCloudLinkState-CyPf4N0F.js +2 -0
- package/dist/client/assets/projectFilesQueryState-BdWJ4WwI.js +2 -0
- package/dist/client/assets/projectScriptEditor-C0FBhCbn.js +2 -0
- package/dist/client/assets/{providerSkills-DTVLY34_.js → providerSkills-Ca_7EbAx.js} +2 -2
- package/dist/client/assets/{pullRequestDetail.logic-BLe7zsLi.js → pullRequestDetail.logic-DYx7bEwE.js} +4 -4
- package/dist/client/assets/{pullRequestIcons-DyEIFm1n.js → pullRequestIcons-csprKuju.js} +2 -2
- package/dist/client/assets/{pullRequestReviewStore-B55CEHY9.js → pullRequestReviewStore-_uEYgfaW.js} +2 -2
- package/dist/client/assets/pullRequests-B85p5Xnw.js +2 -0
- package/dist/client/assets/queries-B0FvRKmk.js +2 -0
- package/dist/client/assets/query-B2_Td0ad.js +2 -0
- package/dist/client/assets/radio-group-IyWHDcIP.js +2 -0
- package/dist/client/assets/{renderScheduler-CNepEPa2.js → renderScheduler-DR2WAtIH.js} +2 -2
- package/dist/client/assets/{rightPanelStore-CRQRe1Cp.js → rightPanelStore-rZSIb-5z.js} +2 -2
- package/dist/client/assets/runtime-BK2Lh1vB.js +3 -0
- package/dist/client/assets/runtime-BVmDVuJ-.js +6 -0
- package/dist/client/assets/{runtimeModeConfig-BAFMgMrE.js → runtimeModeConfig-DFxXOIlV.js} +2 -2
- package/dist/client/assets/{scheduledTasksSettings.logic-CTJ1Zr8Z.js → scheduledTasksSettings.logic-W9AQpJk4.js} +3 -3
- package/dist/client/assets/{scroll-area-DTOm0CbX.js → scroll-area-Cf7uLi_s.js} +2 -2
- package/dist/client/assets/{select-CML8G0wN.js → select-vBkqTMKL.js} +2 -2
- package/dist/client/assets/selfImproveFindings-4GGN9cRm.js +2 -0
- package/dist/client/assets/server-DwkxciXh.js +2 -0
- package/dist/client/assets/session-BIwsf8Q4.js +2 -0
- package/dist/client/assets/session-logic-D8FbVFDm.js +26 -0
- package/dist/client/assets/{settings-CTpjG14a.js → settings-C58Y7hMl.js} +2 -2
- package/dist/client/assets/{settings.appearance-Cq56uRT4.js → settings.appearance-C9ZmuG-n.js} +2 -2
- package/dist/client/assets/settings.archived-BxqS4kuW.js +2 -0
- package/dist/client/assets/{settings.computer-use-J2r1Wt55.js → settings.computer-use-CeIs-8zf.js} +2 -2
- package/dist/client/assets/settings.connections-CEr4PdrJ.js +2 -0
- package/dist/client/assets/{settings.data-controls-Kotba8vC.js → settings.data-controls-BbzJxjBi.js} +2 -2
- package/dist/client/assets/{settings.decisions-DghPRQ02.js → settings.decisions-DagsCV4K.js} +2 -2
- package/dist/client/assets/{settings.designs-D-0dwYo4.js → settings.designs-DEThhuEj.js} +2 -2
- package/dist/client/assets/settings.diagnostics-DdsecwWn.js +2 -0
- package/dist/client/assets/{settings.general-c-32Nudd.js → settings.general-RgU1jNmB.js} +2 -2
- package/dist/client/assets/settings.integrations-CO-aLXSC.js +2 -0
- package/dist/client/assets/{settings.keybindings-BIfUzprR.js → settings.keybindings-CU8fBQaI.js} +2 -2
- package/dist/client/assets/{settings.open-source-licenses-wmlqchzJ.js → settings.open-source-licenses-rG8Neftl.js} +2 -2
- package/dist/client/assets/{settings.plugins-C1PnlzX1.js → settings.plugins-Dr0VpcPy.js} +4 -4
- package/dist/client/assets/settings.projects-hxwk8_7r.js +4 -0
- package/dist/client/assets/settings.providers-D5-Kj1jY.js +3 -0
- package/dist/client/assets/{settings.scheduled-tasks-BGGcs-KK.js → settings.scheduled-tasks-DwUd14Xj.js} +2 -2
- package/dist/client/assets/settings.snap-shot-CTMJRtJe.js +2 -0
- package/dist/client/assets/settings.source-control-BHD5KE8W.js +2 -0
- package/dist/client/assets/{settings.storage-CxA7PNjV.js → settings.storage-Bhd9ragP.js} +2 -2
- package/dist/client/assets/settingsLayout-WhjsCfB6.js +3 -0
- package/dist/client/assets/{sidebar-DMJE0zUg.js → sidebar-O52WtiJv.js} +2 -2
- package/dist/client/assets/{sidebarProjectGrouping-CPb438r8.js → sidebarProjectGrouping-BYVdJp_w.js} +2 -2
- package/dist/client/assets/{skeleton-eiJFH0l9.js → skeleton-PlPtYr_f.js} +2 -2
- package/dist/client/assets/{sourceControl-DzD_N8hv.js → sourceControl-BkJeQRrv.js} +2 -2
- package/dist/client/assets/{sourceControlClients-BG_kFh61.js → sourceControlClients-CtMx7u86.js} +2 -2
- package/dist/client/assets/{spinner-H4tz4lLc.js → spinner-BZ5ohCyO.js} +2 -2
- package/dist/client/assets/{terminal-links-D7Hzce_h.js → terminal-links-UI2UJn0y.js} +2 -2
- package/dist/client/assets/terminalSessions-C1xOLG3i.js +2 -0
- package/dist/client/assets/{textarea-CkmpNgx5.js → textarea-DIg__-Gi.js} +2 -2
- package/dist/client/assets/{themePalette-pZ7Ys_kT.js → themePalette-BMlBfFUx.js} +3 -3
- package/dist/client/assets/toast-BZ96uuab.js +2 -0
- package/dist/client/assets/{toggle-BDixfqRe.js → toggle-DJ8KOwn5.js} +2 -2
- package/dist/client/assets/{toggle-group-DV__8G6T.js → toggle-group-2e3XGJdx.js} +2 -2
- package/dist/client/assets/{tooltip-DsRaXpYk.js → tooltip-BPiLl1TV.js} +2 -2
- package/dist/client/assets/{uiStateStore-DKTSAGd0.js → uiStateStore-4i21PZUL.js} +2 -2
- package/dist/client/assets/usage-uuNPbJve.js +2 -0
- package/dist/client/assets/{usageAccess-BXUmTDe1.js → usageAccess-CsMv6eC9.js} +2 -2
- package/dist/client/assets/{usageFormat-xrTYBhxI.js → usageFormat-DhefL58S.js} +2 -2
- package/dist/client/assets/{usageShortcuts-CQcKqXkw.js → usageShortcuts-CREc0FBr.js} +2 -2
- package/dist/client/assets/{use-atom-command-BETKz9Hv.js → use-atom-command-CdV5BZYB.js} +2 -2
- package/dist/client/assets/{useAriaLabelledBy-DVTboZ71.js → useAriaLabelledBy-CYRfRdAq.js} +2 -2
- package/dist/client/assets/useHandleNewThread-BsnMrEPr.js +2 -0
- package/dist/client/assets/{useLocation--dLSTvwv.js → useLocation-DHd-KBb-.js} +2 -2
- package/dist/client/assets/{useNavigate-DAhzXpNZ.js → useNavigate-AZUCIeU4.js} +2 -2
- package/dist/client/assets/{useNavigateBack-ClmMPFha.js → useNavigateBack-C7DkQuEE.js} +2 -2
- package/dist/client/assets/{useP4ConnectAuthPrompt-BXoWBt0U.js → useP4ConnectAuthPrompt-u1GHgwlc.js} +2 -2
- package/dist/client/assets/{useParams-D_0yPfYl.js → useParams-rbhXoEw9.js} +2 -2
- package/dist/client/assets/{usePermissionStatus-BGxDZxHH.js → usePermissionStatus-DHzE_VGG.js} +2 -2
- package/dist/client/assets/{usePullRequestActions-D0-24Gox.js → usePullRequestActions-Cv12eqOn.js} +3 -3
- package/dist/client/assets/{useRegisterFieldControl-DnspXZl4.js → useRegisterFieldControl-D4FG4i3_.js} +2 -2
- package/dist/client/assets/{useScopedModelAvailability-C44gQf2k.js → useScopedModelAvailability-D6cbxQLl.js} +2 -2
- package/dist/client/assets/useSettings-B09a3zie.js +3 -0
- package/dist/client/assets/utils-C5GGWTfe.js +37 -0
- package/dist/client/assets/vcsRefInvalidation-B66hRx4g.js +2 -0
- package/dist/client/assets/welcome-D2-tjFV3.js +2 -0
- package/dist/client/index.html +1 -1
- package/dist/client/third-party-licenses.json +1 -1
- package/dist/{renderer-DNRW9Bfa.mjs → renderer-CuqsXHrO.mjs} +2 -2
- package/dist/{runtime-KPwu-Er9.mjs → runtime-CWPUW_8Y.mjs} +547 -60
- package/package.json +4 -3
- package/dist/client/assets/AlertDialogRoot-BDlDnUeW.js +0 -2
- package/dist/client/assets/CheckboxIndicator-CvUY7aCo.js +0 -2
- package/dist/client/assets/CodexSetupSection.logic-lS_hYW7M.js +0 -2
- package/dist/client/assets/ComboboxClear-BWxvz8Y9.js +0 -2
- package/dist/client/assets/CompositeRoot-XnJ7Nzli.js +0 -2
- package/dist/client/assets/ConnectionDiagnosisDetails-BiLziJiH.js +0 -2
- package/dist/client/assets/DevicePanel-BgToYlYg.js +0 -2
- package/dist/client/assets/DialogTitle-DdTujj5B.js +0 -2
- package/dist/client/assets/DiffPanel-DwPk2swZ.js +0 -2
- package/dist/client/assets/FieldControl-DfaF5AW8.js +0 -2
- package/dist/client/assets/FilePreviewPanel-BOnzRmKq.js +0 -34
- package/dist/client/assets/FormContext-B_ZMFN7l.js +0 -2
- package/dist/client/assets/Input-B9nob0l2.js +0 -2
- package/dist/client/assets/JZOYTAAL-5fSSCfug.js +0 -1
- package/dist/client/assets/P4ConnectSidebarSignIn-BLFNWeXr.js +0 -2
- package/dist/client/assets/PanelLayoutControls-BL3qZRW6.js +0 -216
- package/dist/client/assets/PopoverHandle-Bf0PlJ6j.js +0 -2
- package/dist/client/assets/PreviewPanel-CF9KdCOZ.js +0 -2
- package/dist/client/assets/ProjectDefaultsSettings-DC9sqe1A.js +0 -2
- package/dist/client/assets/ProjectFavicon-6uv-3a7b.js +0 -3
- package/dist/client/assets/ProviderModelPicker-Dx26TqdI.js +0 -2
- package/dist/client/assets/PullRequestCodeTab-5JEE8HsL.js +0 -6
- package/dist/client/assets/ScheduledTasksSettings-BDkh7pCI.js +0 -4
- package/dist/client/assets/SelectScrollUpArrow-BAwxXUi-.js +0 -2
- package/dist/client/assets/SelfImproveSettingsSection-DGcoA36F.js +0 -2
- package/dist/client/assets/SettingsPanels-BfzvtrNj.js +0 -46
- package/dist/client/assets/SettingsPanels.logic-xcOt84aX.js +0 -2
- package/dist/client/assets/ThreadTerminalDrawer-CnO3UVOq.js +0 -5
- package/dist/client/assets/TooltipViewport-CEOeTVyb.js +0 -2
- package/dist/client/assets/_chat-BO5aRu-j.js +0 -45
- package/dist/client/assets/_chat.design-1RXhKj_3.js +0 -2
- package/dist/client/assets/_chat.new-QYOVVQAv.js +0 -4
- package/dist/client/assets/_chat.pull-requests-B8-W4w8K.js +0 -2
- package/dist/client/assets/assets-dVntMNKj.js +0 -2
- package/dist/client/assets/browserHistoryStore-AwPHr-9a.js +0 -2
- package/dist/client/assets/circle-stop-F6BJYb9Y.js +0 -2
- package/dist/client/assets/device-ZhgWJyBN.js +0 -2
- package/dist/client/assets/dynamic-DXn8DtfU.js +0 -3
- package/dist/client/assets/entities-DCgQUDZp.js +0 -2
- package/dist/client/assets/index-Bxk_RxGw.js +0 -3
- package/dist/client/assets/main-B-tAk2zT.css +0 -2
- package/dist/client/assets/main-CVSzIqPv.js +0 -37
- package/dist/client/assets/mediaReference-DMJ5Zay3.js +0 -2
- package/dist/client/assets/mediaSource-UIArIbzY.js +0 -2
- package/dist/client/assets/number-field-DcRWl9B0.js +0 -2
- package/dist/client/assets/openFileInPreview-x34grdQ6.js +0 -2
- package/dist/client/assets/primary-CIcP7bEP.js +0 -2
- package/dist/client/assets/primaryCloudLinkState-Dwi-D0I7.js +0 -2
- package/dist/client/assets/projectFilesQueryState-02nlfyzQ.js +0 -2
- package/dist/client/assets/projectScriptEditor-CIDcf-KL.js +0 -2
- package/dist/client/assets/pullRequests-mcrrz3SF.js +0 -2
- package/dist/client/assets/queries-ByCVdESa.js +0 -2
- package/dist/client/assets/query-D-IVadFI.js +0 -2
- package/dist/client/assets/radio-group-DIOJb--u.js +0 -2
- package/dist/client/assets/runtime-CZnPVuwS.js +0 -3
- package/dist/client/assets/runtime-DEFP_0P0.js +0 -6
- package/dist/client/assets/selfImproveFindings-DuRaHmql.js +0 -2
- package/dist/client/assets/server-BuS35bSu.js +0 -2
- package/dist/client/assets/session-DIw-RcNy.js +0 -2
- package/dist/client/assets/session-logic-B5D2SdWr.js +0 -26
- package/dist/client/assets/settings.archived-D2NDpNIY.js +0 -2
- package/dist/client/assets/settings.connections-DDjl99g3.js +0 -2
- package/dist/client/assets/settings.diagnostics-C1H_Oj2r.js +0 -2
- package/dist/client/assets/settings.integrations-BBvK_SX4.js +0 -2
- package/dist/client/assets/settings.projects-BmJITbPY.js +0 -4
- package/dist/client/assets/settings.providers-ELxTJwWk.js +0 -3
- package/dist/client/assets/settings.snap-shot-CvbNcoJx.js +0 -2
- package/dist/client/assets/settings.source-control-k2lVK3Ho.js +0 -2
- package/dist/client/assets/settingsLayout-BWJVQUbK.js +0 -3
- package/dist/client/assets/terminalSessions-BxTpBnAL.js +0 -2
- package/dist/client/assets/toast-rcFdQept.js +0 -2
- package/dist/client/assets/usage-C-EgFB5m.js +0 -2
- package/dist/client/assets/useHandleNewThread-BoN4NqHy.js +0 -2
- package/dist/client/assets/useSettings-4JwtKUFC.js +0 -3
- package/dist/client/assets/utils-D19Exirm.js +0 -37
- package/dist/client/assets/vcsRefInvalidation-aUafFWy3.js +0 -2
- package/dist/client/assets/welcome-DORffgtg.js +0 -2
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{a as e,t}from"./react-BUfh6y28.js";import{n}from"./jsx-runtime-DJeoFXNw.js";import{$v as r,Ab as i,CT as a,Cb as o,DS as s,Dl as c,Eh as l,El as u,Gh as d,I_ as f,Jb as p,Jh as ee,L_ as te,Lb as ne,Oh as re,Os as ie,Pc as ae,Ph as oe,R_ as se,Sh as ce,TS as le,TT as m,Tb as ue,Ts as de,Vg as fe,Vh as pe,Ws as me,Yy as he,Zo as ge,_b as _e,aE as h,as as g,cb as ve,dv as ye,eS as be,eb as xe,fb as Se,h_ as Ce,iE as we,ix as Te,js as Ee,kb as De,kh as Oe,kl as ke,ks as Ae,lE as je,ns as Me,ox as Ne,p_ as Pe,ps as _,qb as Fe,qh as Ie,rs as Le,rv as Re,rx as ze,sx as Be,ts as v,tx as Ve,vh as He,xT as y,xh as Ue,yb as We}from"./utils-D19Exirm.js";import{At as Ge,E as Ke,I as qe,R as Je,Sn as Ye,T as Xe,W as Ze,_t as b}from"./runtime-DEFP_0P0.js";import{Dt as Qe,T as $e,jt as et,t as tt}from"./runtime-CZnPVuwS.js";import{i as x}from"./toast-rcFdQept.js";import{f as S,h as C,m as nt,u as rt}from"./server-BuS35bSu.js";import{i as it,n as at,s as ot,t as st}from"./session-DIw-RcNy.js";import{t as ct}from"./use-atom-command-BETKz9Hv.js";import{D as lt,M as ut,N as dt,P as ft,S as pt,c as mt,i as w,n as T,o as ht,r as gt,x as _t,y as vt}from"./themePalette-pZ7Ys_kT.js";var E=e(t(),1),D=n();function yt(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e)if(t.get(n)!==r)return!1;return!0}function bt(e){let t=Le(t=>g(n=>{let r=n(e.catalogValueAtom).entries.get(t);if(r===void 0)return null;let i=we(ie(n(e.stateAtom(t))),()=>Ye);return{entry:r,connection:r.unsupportedReason===void 0?i===Ye&&r.enabled?{phase:`connecting`,error:null,traceId:null}:et(i):{phase:`unsupported`,error:r.unsupportedReason,traceId:null},serverConfig:n(e.serverConfigValueAtom(t))}}).pipe(_(`environment-presentation:${t}`))),n=new Map;return{presentationAtom:t,presentationsAtom:g(r=>{let i=new Map;for(let n of r(e.catalogValueAtom).entries.keys()){let e=r(t(n));e!==null&&i.set(n,e)}return yt(n,i)||(n=i),n}).pipe(_(`environment-presentations`))}}function xt(e,t){return{environmentId:e,environmentLabel:t.entry.target.label,displayUrl:Qe(t.entry)??``,isRelayManaged:Ge(t.entry),isEnabled:t.entry.enabled,connectionState:t.connection.phase,connectionError:t.connection.error,connectionErrorTraceId:t.connection.traceId}}function St(e){let t=g(t=>{let n=[...t(e.catalogValueAtom).entries.keys()],r=h(t.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e===r[t])?r:n}),n=g(t=>{let n=[...t(e.catalogValueAtom).entries].map(([e,t])=>({environmentId:e,label:t.target.label})),r=h(t.self());return r!==null&&r.length===n.length&&n.every((e,t)=>e.environmentId===r[t]?.environmentId&&e.label===r[t]?.label)?r:n}),r=Le(t=>g(n=>{let r=n(e.presentationAtom(t));if(r===null)return null;let i=xt(t,r),a=h(n.self());return a!==null&&a.environmentId===i.environmentId&&a.environmentLabel===i.environmentLabel&&a.displayUrl===i.displayUrl&&a.isRelayManaged===i.isRelayManaged&&a.isEnabled===i.isEnabled&&a.connectionState===i.connectionState&&a.connectionError===i.connectionError&&a.connectionErrorTraceId===i.connectionErrorTraceId?a:i})),i=g(t=>{let n=[];for(let i of t(e.catalogValueAtom).entries.keys()){let e=t(r(i));e!==null&&n.push(e)}let i=h(t.self());return i!==null&&i.length===n.length&&n.every((e,t)=>e===i[t])?i:n}).pipe(_(`environment-connection-summaries`));return{environmentIdsAtom:t,connectedEnvironmentIdsAtom:g(e=>{let n=e(t).filter(t=>e(r(t))?.connectionState===`connected`),i=h(e.self());return i!==null&&i.length===n.length&&n.every((e,t)=>e===i[t])?i:n}),identitiesAtom:n,environmentsAtom:i,machineByIdAtom:g(n=>{let r=new Map(n(t).map(t=>[t,ke(n(e.presentationAtom(t))?.serverConfig??null)])),i=h(n.self());return i!==null&&yt(i,r)?i:r}),pullRequestsSupportedAtom:g(n=>n(t).some(t=>n(e.presentationAtom(t))?.serverConfig?.environment.capabilities.pullRequests===!0))}}var Ct=bt({catalogValueAtom:C.catalogValueAtom,stateAtom:C.stateAtom,serverConfigValueAtom:S.configValueAtom}),wt=St({catalogValueAtom:C.catalogValueAtom,presentationAtom:Ct.presentationAtom}),Tt=g(null).pipe(_(`web-environment-presentation:empty`));function Et(e){let t=(0,D.c)(5),n=v(C.catalogValueAtom),r;t[0]===e?r=t[1]:(r=e===null?Tt:Ct.presentationAtom(e),t[0]=e,t[1]=r);let i=v(r),a;return t[2]!==n.isReady||t[3]!==i?(a={isReady:n.isReady,presentation:i},t[2]=n.isReady,t[3]=i,t[4]=a):a=t[4],a}var Dt={status:`idle`},O=Dt,k=null,A=[],j=0,Ot=new Set;function M(e){O=e;for(let e of Ot)e()}function kt(e){k?.resolve(e);for(let t of A)t.resolve(e);k=null,A=[]}function At(){return O}function jt(e){return Ot.add(e),()=>{Ot.delete(e)}}function Mt(){j+=1;let e=!0;return()=>{e&&(e=!1,j=Math.max(0,j-1),j===0&&(kt(!1),M(Dt)))}}function Nt(e,t){if(j!==0)return new Promise(n=>{let r={message:e,variant:t?.variant??`default`,resolve:n};k||O.status===`closing`?A.push(r):(k=r,M({status:`confirming`,message:e,variant:r.variant}))})}function Pt(){return O.status!==`idle`||k!==null||A.length>0}function Ft(e){if(O.status!==`confirming`||!k)return;let t=k;k=null,t.resolve(e),M({status:`closing`,message:O.message,variant:O.variant})}function It(){if(O.status!==`closing`)return;let e=A.shift();e?(k=e,M({status:`confirming`,message:e.message,variant:e.variant})):M(Dt)}var Lt={Ctrl:`⌃`,Alt:`⌥`,Shift:`⇧`,Super:`⌘`,CmdOrCtrl:`⌘`};function Rt(e,t=navigator.platform){let n=e.split(`+`),r=n.pop()??``;return ae(t)?`${n.map(e=>Lt[e]??e).join(``)}${r}`:[...n.map(e=>e===`CmdOrCtrl`?`Ctrl`:e===`Super`?`Meta`:e),r].join(`+`)}var zt=`http://www.w3.org/2000/svg`,Bt={archive:[{tag:`rect`,attrs:{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`}},{tag:`path`,attrs:{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`}},{tag:`path`,attrs:{d:`M10 12h4`}}],check:[{tag:`path`,attrs:{d:`M20 6 9 17l-5-5`}}],timer:[{tag:`line`,attrs:{x1:`10`,x2:`14`,y1:`2`,y2:`2`}},{tag:`line`,attrs:{x1:`12`,x2:`15`,y1:`14`,y2:`11`}},{tag:`circle`,attrs:{cx:`12`,cy:`14`,r:`8`}}],"chevron-right":[{tag:`path`,attrs:{d:`m9 19 7-7-7-7`}}],"circle-check":[{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`10`}},{tag:`path`,attrs:{d:`m9 12 2 2 4-4`}}],clock:[{tag:`path`,attrs:{d:`M12 6v6l4 2`}},{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`10`}}],pencil:[{tag:`path`,attrs:{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`}},{tag:`path`,attrs:{d:`m15 5 4 4`}}],copy:[{tag:`rect`,attrs:{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}},{tag:`path`,attrs:{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}}],folder:[{tag:`path`,attrs:{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`}}],"git-branch":[{tag:`line`,attrs:{x1:`6`,x2:`6`,y1:`3`,y2:`15`}},{tag:`circle`,attrs:{cx:`18`,cy:`6`,r:`3`}},{tag:`circle`,attrs:{cx:`6`,cy:`18`,r:`3`}},{tag:`path`,attrs:{d:`M18 9a9 9 0 0 1-9 9`}}],eye:[{tag:`path`,attrs:{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}},{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`3`}}],"eye-off":[{tag:`path`,attrs:{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`}},{tag:`path`,attrs:{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`}},{tag:`path`,attrs:{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`}},{tag:`path`,attrs:{d:`m2 2 20 20`}}],"app-window":[{tag:`rect`,attrs:{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}},{tag:`path`,attrs:{d:`M10 4v4`}},{tag:`path`,attrs:{d:`M2 8h20`}},{tag:`path`,attrs:{d:`M6 4v4`}}],"arrow-up-right":[{tag:`path`,attrs:{d:`M7 7h10v10`}},{tag:`path`,attrs:{d:`M7 17 17 7`}}],"external-link":[{tag:`path`,attrs:{d:`M15 3h6v6`}},{tag:`path`,attrs:{d:`M10 14 21 3`}},{tag:`path`,attrs:{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}}],link:[{tag:`path`,attrs:{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`}},{tag:`path`,attrs:{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`}}],list:[{tag:`path`,attrs:{d:`M3 5h.01`}},{tag:`path`,attrs:{d:`M3 12h.01`}},{tag:`path`,attrs:{d:`M3 19h.01`}},{tag:`path`,attrs:{d:`M8 5h13`}},{tag:`path`,attrs:{d:`M8 12h13`}},{tag:`path`,attrs:{d:`M8 19h13`}}],share:[{tag:`path`,attrs:{d:`M12 2v13`}},{tag:`path`,attrs:{d:`m16 6-4-4-4 4`}},{tag:`path`,attrs:{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`}}],x:[{tag:`path`,attrs:{d:`M18 6 6 18`}},{tag:`path`,attrs:{d:`m6 6 12 12`}}],hash:[{tag:`line`,attrs:{x1:`4`,x2:`20`,y1:`9`,y2:`9`}},{tag:`line`,attrs:{x1:`4`,x2:`20`,y1:`15`,y2:`15`}},{tag:`line`,attrs:{x1:`10`,x2:`8`,y1:`3`,y2:`21`}},{tag:`line`,attrs:{x1:`16`,x2:`14`,y1:`3`,y2:`21`}}],"mail-open":[{tag:`path`,attrs:{d:`M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z`}},{tag:`path`,attrs:{d:`m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10`}}],"message-square-plus":[{tag:`path`,attrs:{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`}},{tag:`path`,attrs:{d:`M12 8v6`}},{tag:`path`,attrs:{d:`M9 11h6`}}],pin:[{tag:`path`,attrs:{d:`M12 17v5`}},{tag:`path`,attrs:{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`}}],"pin-off":[{tag:`path`,attrs:{d:`M12 17v5`}},{tag:`path`,attrs:{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`}},{tag:`path`,attrs:{d:`m2 2 20 20`}},{tag:`path`,attrs:{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`}}],"refresh-cw":[{tag:`path`,attrs:{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}},{tag:`path`,attrs:{d:`M21 3v5h-5`}},{tag:`path`,attrs:{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}},{tag:`path`,attrs:{d:`M8 16H3v5`}}],settings:[{tag:`path`,attrs:{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.09a2 2 0 0 1-1-1.74v-.51a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`}},{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`3`}}],"folder-tree":[{tag:`path`,attrs:{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}},{tag:`path`,attrs:{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`}},{tag:`path`,attrs:{d:`M3 5a2 2 0 0 0 2 2h3`}},{tag:`path`,attrs:{d:`M3 3v13a2 2 0 0 0 2 2h3`}}],trash:[{tag:`path`,attrs:{d:`M3 6h18`}},{tag:`path`,attrs:{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`}},{tag:`path`,attrs:{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`}},{tag:`line`,attrs:{x1:`10`,x2:`10`,y1:`11`,y2:`17`}},{tag:`line`,attrs:{x1:`14`,x2:`14`,y1:`11`,y2:`17`}}]};function Vt(e,t){let n=Bt[e];if(!n||typeof document.createElementNS!=`function`)return null;let r=document.createElementNS(zt,`svg`);r.setAttribute(`xmlns`,zt),r.setAttribute(`viewBox`,`0 0 24 24`),r.setAttribute(`fill`,`none`),r.setAttribute(`stroke`,`currentColor`),r.setAttribute(`stroke-width`,`2`),r.setAttribute(`stroke-linecap`,`round`),r.setAttribute(`stroke-linejoin`,`round`),r.setAttribute(`class`,t===`destructive`?`size-4.5 shrink-0 sm:size-4`:`size-4.5 shrink-0 text-muted-foreground sm:size-4`);for(let e of n){let t=document.createElementNS(zt,e.tag);for(let[n,r]of Object.entries(e.attrs))t.setAttribute(n,r);r.appendChild(t)}return r}function Ht(e,t,n){let r=e.getBoundingClientRect(),i=Math.min(Math.max(4,t),Math.max(4,window.innerWidth-r.width-4)),a=Math.min(Math.max(4,n),Math.max(4,window.innerHeight-r.height-4));e.style.left=`${i}px`,e.style.top=`${a}px`}function Ut(e,t){if(typeof Node<`u`&&e instanceof Node)return t.some(t=>t.contains(e));if(!e||typeof e!=`object`)return!1;let n=e;for(;n&&typeof n==`object`;){if(t.includes(n))return!0;n=n.parent}return!1}var N=null;function Wt(){return N!==null}function Gt(){N?.(),N=null}function Kt(e,t){return new Promise(n=>{let r=document.activeElement instanceof HTMLElement?document.activeElement:null,i=[],a=[],o=!1,s=!1,c=()=>l(null),l=e=>{if(o)return;o=!0,N===c&&(N=null),document.removeEventListener(`keydown`,u),document.removeEventListener(`pointerdown`,d,!0),document.removeEventListener(`contextmenu`,f,!0);let t=Ut(document.activeElement,i);for(let e of i)e.remove();t&&r?.isConnected&&r.focus({preventScroll:!0}),n(e)},u=e=>{e.key===`Escape`&&(e.preventDefault(),l(null))},d=e=>{s&&!Ut(e.target,i)&&l(null)},f=e=>{s&&!Ut(e.target,i)&&(e.preventDefault(),l(null))},p=e=>{for(;i.length>e;)a.pop()?.setAttribute(`aria-expanded`,`false`),i.pop()?.remove()},ee=(e,t,n,r,o)=>{p(r);let c=document.createElement(`div`);c.className=`dropdown-glass fixed z-[10000] min-w-56 max-w-sm overflow-hidden rounded-lg bg-clip-padding text-popover-foreground outline-none`,c.style.cssText=`position:fixed;z-index:10000;min-width:14rem;max-width:24rem;overflow:hidden;border-radius:var(--radius-lg);background-clip:padding-box;color:var(--contrast-popover-foreground);outline:none;pointer-events:auto;`,c.style.left=`${t}px`,c.style.top=`${n}px`,c.dataset.level=String(r);let u=document.createElement(`div`);u.className=`max-h-[calc(100vh-0.5rem)] min-w-0 max-w-sm overflow-y-auto overflow-x-hidden p-1`,u.style.cssText=`max-height:calc(100vh - 0.5rem);min-width:0;max-width:24rem;overflow-x:hidden;overflow-y:auto;padding:0.25rem;`;for(let t of e){if(t.separatorBefore===!0&&u.children.length>0){let e=document.createElement(`div`);e.className=`mx-2 my-1 h-px bg-border`,e.style.cssText=`height:1px;margin:0.25rem 0.5rem;background:var(--contrast-border);`,e.dataset.contextMenuSeparator=`true`,e.setAttribute(`role`,`separator`),u.appendChild(e)}if(t.header===!0){let e=document.createElement(`div`);e.className=`px-2 py-1.5 font-medium text-muted-foreground text-xs`,e.textContent=t.label,u.appendChild(e);continue}let e=Array.isArray(t.children)&&t.children.length>0,n=!e&&(t.destructive===!0||t.id===`delete`),a=document.createElement(`button`);a.type=`button`;let o=t.disabled===!0;a.disabled=o;let c=`flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-left outline-none transition-colors sm:min-h-7 sm:text-sm min-h-8 text-base`;if(a.className=o?`${c} pointer-events-none cursor-not-allowed text-muted-foreground opacity-64`:n?`${c} text-destructive-foreground hover:bg-destructive/10 hover:text-destructive-foreground`:`${c} text-foreground hover:bg-accent hover:text-accent-foreground`,a.style.cssText=`display:flex;width:100%;min-height:1.75rem;align-items:center;gap:0.5rem;border:0;border-radius:var(--radius-sm);background:transparent;padding:0.25rem 0.5rem;color:var(--contrast-foreground);font-family:var(--font-sans,system-ui,sans-serif);font-size:0.875rem;line-height:1.25rem;text-align:left;cursor:default;`,n&&(a.style.color=`var(--destructive-foreground)`),o&&(a.style.color=`var(--contrast-muted-foreground)`,a.style.opacity=`0.64`,a.style.pointerEvents=`none`),typeof t.checked==`boolean`){a.setAttribute(`role`,`menuitemradio`),a.setAttribute(`aria-checked`,t.checked?`true`:`false`);let e=t.checked?Vt(`check`,`neutral`):null;if(e)a.appendChild(e);else{let e=document.createElement(`span`);e.className=`size-4.5 shrink-0 sm:size-4`,e.style.cssText=`display:inline-block;width:1rem;height:1rem;flex-shrink:0;`,e.setAttribute(`aria-hidden`,`true`),a.appendChild(e)}}else if(typeof t.icon==`string`){let e=Vt(t.icon,n?`destructive`:`neutral`);e&&a.appendChild(e)}let d=document.createElement(`span`);if(d.className=`min-w-0 flex-1 truncate`,d.textContent=t.label,a.appendChild(d),typeof t.accelerator==`string`){let e=document.createElement(`span`);e.className=`ms-6 shrink-0 text-muted-foreground text-xs tracking-widest`,e.style.cssText=`margin-inline-start:1.5rem;flex-shrink:0;color:var(--contrast-muted-foreground);font-size:0.75rem;letter-spacing:0.1em;`,e.textContent=Rt(t.accelerator),e.setAttribute(`aria-hidden`,`true`),a.setAttribute(`aria-keyshortcuts`,t.accelerator.replace(`CmdOrCtrl`,ae(navigator.platform)?`Meta`:`Control`)),a.appendChild(e)}if(e){a.setAttribute(`aria-haspopup`,`menu`),a.setAttribute(`aria-expanded`,`false`);let e=Vt(`chevron-right`,`neutral`);e&&(e.setAttribute(`class`,`-me-0.5 ms-auto size-4.5 shrink-0 text-muted-foreground opacity-80 sm:size-4`),e.setAttribute(`aria-hidden`,`true`),e.dataset.contextMenuChevron=`true`,a.appendChild(e))}if(!o){let o=!1,c=!1,u=()=>{let e=o||c;a.style.background=e?n?`color-mix(in srgb, var(--destructive) 10%, transparent)`:`var(--accent)`:`transparent`,a.style.color=e?n?`var(--destructive-foreground)`:`var(--contrast-accent-foreground)`:n?`var(--destructive-foreground)`:`var(--contrast-foreground)`};if(a.addEventListener(`mouseenter`,()=>{a.focus({preventScroll:!0}),o=!0,u()}),a.addEventListener(`mouseleave`,()=>{o=!1,u()}),a.addEventListener(`focus`,()=>{c=!0,u()}),a.addEventListener(`blur`,()=>{c=!1,u()}),e){let e=(e=!1)=>{let n=a.getBoundingClientRect(),o=n.right+4,s=n.top;ee(t.children,o,s,r+1,a),a.setAttribute(`aria-expanded`,`true`);let c=i[r+1];if(!c)return;let l=c.getBoundingClientRect();l.right>window.innerWidth&&Ht(c,n.left-l.width-4,n.top),e&&[...c.querySelectorAll(`button`)].find(e=>!e.disabled)?.focus()};a.addEventListener(`mouseenter`,()=>{e()}),a.addEventListener(`click`,t=>{t.preventDefault(),e(!0)})}else a.addEventListener(`mouseenter`,()=>{p(r+1)}),a.addEventListener(`click`,()=>{s&&l(t.id)})}u.appendChild(a)}c.appendChild(u),c.addEventListener(`mouseenter`,()=>{p(r+1)}),document.body.appendChild(c),i[r]=c,a[r]=o,requestAnimationFrame(()=>{Ht(c,t,n)})};document.addEventListener(`keydown`,u),document.addEventListener(`pointerdown`,d,!0),document.addEventListener(`contextmenu`,f,!0),ee(e,t?.x??0,t?.y??0,0),N&&N(),N=c,requestAnimationFrame(()=>{s=!0})})}var qt=`p4code:client-settings:v1`;function Jt(){return typeof window<`u`}function Yt(){return Jt()?Ae(qt,He):null}function Xt(e){Jt()&&Ee(qt,e,He)}var Zt;function Qt(){return{dialogs:{pickFolder:async e=>window.desktopBridge?window.desktopBridge.pickFolder(e):null,confirm:async(e,t)=>Nt(e,t)??!1},shell:{openExternal:async e=>{if(window.desktopBridge){if(!await window.desktopBridge.openExternal(e))throw Error(`Unable to open link.`)}else window.open(e,`_blank`,`noopener,noreferrer`)},openSystemSettings:async e=>{if(!window.desktopBridge?.openSystemSettings||!await window.desktopBridge.openSystemSettings(e))throw Error(`Unable to open System Settings.`)}},contextMenu:{show:async(e,t)=>window.desktopBridge?window.desktopBridge.showContextMenu(e,t):Kt(e,t),close:async()=>{window.desktopBridge||Gt()}},persistence:{getClientSettings:async()=>window.desktopBridge?window.desktopBridge.getClientSettings():Yt(),setClientSettings:async e=>{if(window.desktopBridge)return window.desktopBridge.setClientSettings(e);Xt(e)}}}}function $t(){return Qt()}function en(){if(typeof window<`u`)return Zt||(Zt=$t(),Zt)}function tn(){let e=en();if(!e)throw Error(`Local API not found`);return e}var P=`p4code:theme`,nn=`(prefers-color-scheme: dark)`,F={theme:`system`,resolvedTheme:`light`,systemDark:!1,followSystem:!0,appearanceMode:`system`,themeHalves:null};function rn(){return I()}function an(){return typeof window>`u`?{}:on()}function I(){if(typeof window>`u`)return null;try{return lt(window.localStorage.getItem(w))}catch{return null}}function on(){try{let e=JSON.parse(window.localStorage.getItem(`p4code:theme-halves:v1`)??`null`);if(typeof e!=`object`||!e)return{};let t={};for(let n of[`light`,`dark`]){let r=e[n];typeof r==`string`&&(t[n]=r)}return t}catch{return{}}}function L(e){return`${e?.light??``}|${e?.dark??``}`}var sn=`theme-color`,cn=`meta[name="${sn}"][data-dynamic-theme-color="true"]`,R=class extends Se()(`ThemeStorageError`,{operation:xe([`read`,`write`]),storageKey:ve,theme:ne(ht),cause:he()}){get message(){return`Failed to ${this.operation} theme preference for ${this.storageKey}.`}},ln=i(R),un=class extends Se()(`DesktopThemeSyncError`,{theme:ht,cause:he()}){get message(){return`Failed to sync the ${this.theme} theme to the desktop shell.`}},dn=i(un),z=[],B=null,fn=!0,V=null,H=null,U=null;function W(){fn=!0;for(let e of z)e()}function pn(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(nn).matches}function mn(e){if(typeof window>`u`)return e===`system`;try{let e=window.localStorage.getItem(gt);if(e===`true`)return!0;if(e===`false`)return!1}catch{}return e===`system`}function hn(e){return e===`light`||e===`dark`||e===`system`}function G(e){if(typeof window<`u`)try{let e=window.localStorage.getItem(T);if(hn(e))return e}catch{}return mn(e)?`system`:vt(e)??`light`}function gn(e){if(typeof window<`u`)try{window.localStorage.setItem(T,e)}catch(e){throw new R({operation:`write`,storageKey:T,cause:e})}}function _n(){if(typeof window>`u`)return F.theme;let e;try{e=window.localStorage.getItem(P)}catch(e){throw new R({operation:`read`,storageKey:P,cause:e})}return e!==null&&pt(e)?e:F.theme}function vn(e){if(typeof window<`u`)try{window.localStorage.setItem(P,e),U=null}catch(t){throw new R({operation:`write`,storageKey:P,theme:e,cause:t})}}function K(){if(U!==null)return F.theme;try{return _n()}catch(e){let t=ln(e)?e:new R({operation:`read`,storageKey:P,cause:e});return U=t,console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...b(t)}),F.theme}}function yn(){let e=document.querySelector(cn);return e||(e=document.createElement(`meta`),e.name=sn,e.setAttribute(`data-dynamic-theme-color`,`true`),document.head.append(e),e)}function bn(e){let t=e?.trim().toLowerCase();return!t||t===`transparent`||t===`rgba(0, 0, 0, 0)`||t===`rgba(0 0 0 / 0)`?null:e?.trim()??null}function xn(){return document.querySelector(`main[data-slot='sidebar-inset']`)??document.querySelector(`[data-slot='sidebar-inner']`)??document.body}function Sn(){if(typeof document>`u`||typeof getComputedStyle>`u`)return;let e=getComputedStyle(document.documentElement),t=document.documentElement.dataset.themeId?bn(e.getPropertyValue(`--app-chrome-background`)):null,n=bn(getComputedStyle(xn()).backgroundColor),r=bn(getComputedStyle(document.body).backgroundColor),i=t??n??r;if(!i)return;document.documentElement.style.backgroundColor=i,document.body.style.backgroundColor=i;let a=document.querySelectorAll(`meta[name="${sn}"]`);if(a.length===0)yn().setAttribute(`content`,i);else for(let e of a)e.setAttribute(`content`,i)}function q(e,{suppressTransitions:t=!1,preservePreview:n=!0}={}){if(typeof document>`u`||typeof window>`u`||n&&document.documentElement.dataset?.themeId===`__preview`)return;let r=G(e),i=r===`system`,a=i?pn():!1,o=I();if(H?.theme===e&&H.systemDark===a&&H.followSystem===i&&H.appearanceMode===r&&L(H.themeHalves)===L(o)){wn(e,i,r);return}t&&document.documentElement.classList.add(`no-transitions`);let s=dt(e,a,i,r,o);mt(ft(e,o,s),s),document.documentElement.classList.toggle(`dark`,s===`dark`),H={theme:e,systemDark:a,followSystem:i,appearanceMode:r,themeHalves:o},Sn(),wn(e,i,r),t&&(document.documentElement.offsetHeight,requestAnimationFrame(()=>{document.documentElement.classList.remove(`no-transitions`)}))}async function Cn(e,t,n,r,i=I()){try{await e.setTheme(ut(t,n,r,i))}catch(e){throw new un({theme:t,cause:e})}}function wn(e,t,n){if(typeof window>`u`)return;let r=window.desktopBridge,i=I(),a=ut(e,t,n,i);r&&typeof r.setTheme==`function`&&V!==a&&(V=a,Cn(r,e,t,n,i).catch(t=>{let n=dn(t)?t:new un({theme:e,cause:t});console.error(n.message,{theme:n.theme,...b(n)}),V===a&&(V=null)}))}typeof document<`u`&&typeof window<`u`&&q(K());function Tn(){if(typeof window>`u`)return F;if(!fn&&B)return B;fn=!1;let e=K(),t=G(e),n=t===`system`,r=n?pn():!1,i=I(),a=dt(e,r,n,t,i);return B&&B.theme===e&&B.resolvedTheme===a&&B.systemDark===r&&B.followSystem===n&&B.appearanceMode===t&&L(B.themeHalves)===L(i)||(B={theme:e,resolvedTheme:a,systemDark:r,followSystem:n,appearanceMode:t,themeHalves:i}),B}function En(){return F}function Dn(){let e=K();G(e)===`system`&&q(e,{suppressTransitions:!0}),W()}function On(e){e.key===P?(U=null,q(K(),{suppressTransitions:!0}),W()):e.key===`p4code:theme-follow-system`||e.key===`p4code:theme-appearance-mode`||e.key===`p4code:theme-halves:v1`?(q(K(),{suppressTransitions:!0}),W()):(e.key===`p4code:themes:v1`||e.key===null)&&(e.key===null&&(U=null),_t(),H=null,q(K(),{suppressTransitions:!0}),W())}var kn=null;function An(e){if(typeof window>`u`)return()=>{};if(z.push(e),!kn){let e=typeof window.matchMedia==`function`?window.matchMedia(nn):null;e?.addEventListener(`change`,Dn),window.addEventListener(`storage`,On),kn=()=>{e?.removeEventListener(`change`,Dn),window.removeEventListener(`storage`,On)}}return()=>{z=z.filter(t=>t!==e),z.length===0&&(kn?.(),kn=null)}}function jn(){let e=(0,E.useSyncExternalStore)(An,Tn,En),{theme:t,resolvedTheme:n}=e,r=(0,E.useCallback)(e=>{if(typeof window>`u`)return!1;try{gn(G(K()));let t=window.localStorage.getItem(w);window.localStorage.removeItem(w);try{vn(e)}catch(e){if(t!==null)try{window.localStorage.setItem(w,t)}catch{}throw e}}catch(t){let n=ln(t)?t:new R({operation:`write`,storageKey:P,theme:e,cause:t});return console.error(n.message,{operation:n.operation,storageKey:n.storageKey,theme:e,...b(n)}),!1}return q(e,{suppressTransitions:!0}),W(),!0},[]),i=(0,E.useCallback)(e=>{if(typeof window>`u`)return!1;try{gn(e)}catch(e){let t=ln(e)?e:new R({operation:`write`,storageKey:T,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...b(t)}),!1}return U=null,q(K(),{suppressTransitions:!0}),W(),!0},[]),a=(0,E.useCallback)(e=>{let n=G(t),r=e?`system`:n===`system`?vt(t)??`light`:n;return i(r)},[i,t]),o=(0,E.useCallback)((e,t)=>{if(typeof window>`u`)return!1;try{let n={...on()};t===null?delete n[e]:n[e]=t,n.light===void 0&&n.dark===void 0?window.localStorage.removeItem(w):window.localStorage.setItem(w,JSON.stringify(n))}catch(e){let t=new R({operation:`write`,storageKey:w,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...b(t)}),!1}return q(K(),{suppressTransitions:!0}),W(),!0},[]),s=(0,E.useCallback)(()=>{if(typeof window>`u`)return!1;try{window.localStorage.removeItem(w)}catch(e){let t=new R({operation:`write`,storageKey:w,cause:e});return console.error(t.message,{operation:t.operation,storageKey:t.storageKey,...b(t)}),!1}return q(K(),{suppressTransitions:!0}),W(),!0},[]),c=(0,E.useCallback)(({preservePreview:e=!1}={})=>{typeof window<`u`&&(H=null,q(K(),{suppressTransitions:!0,preservePreview:e}),W())},[]);return(0,E.useEffect)(()=>{q(t)},[e.appearanceMode,t]),{theme:t,setTheme:r,setAppearanceMode:i,setFollowSystem:a,setThemeHalf:o,clearThemeHalves:s,refreshTheme:c,followSystem:e.followSystem,appearanceMode:e.appearanceMode,resolvedTheme:n,themeHalves:e.themeHalves}}var Mn=We(De(_e)),Nn=Be(e=>{let t=e.replace(/("(?:[^"\\]|\\.)*")|\/\/[^\n]*/g,(e,t)=>t?e:``);return t=t.replace(/("(?:[^"\\]|\\.)*")|\/\*[\s\S]*?\*\//g,(e,t)=>t?e:``),t=t.replace(/("(?:[^"\\]|\\.)*")|,(\s*[}\]])/g,(e,t,n)=>t?e:n??``),Mn(t).pipe(s(e=>e.issue))}),Pn=new Ve(Nn,Ne());Te().pipe(ze(Ne({space:2})));var Fn=e=>ve.pipe(o(e,Pn)),In={performance:{profile:`performance`,automaticGitFetchInterval:a(15),providerHealthRefreshInterval:y(1),hostPowerMonitorActiveInterval:a(30),hostPowerMonitorIdleInterval:y(2),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!1,pauseWhenClientLowPower:!1,pauseWhenOnBattery:!1},balanced:{profile:`balanced`,automaticGitFetchInterval:Ue,providerHealthRefreshInterval:re,hostPowerMonitorActiveInterval:a(30),hostPowerMonitorIdleInterval:y(5),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!0,pauseWhenClientLowPower:!0,pauseWhenOnBattery:!1},"battery-saver":{profile:`battery-saver`,automaticGitFetchInterval:a(0),providerHealthRefreshInterval:y(15),hostPowerMonitorActiveInterval:y(1),hostPowerMonitorIdleInterval:y(10),idleClientTtl:a(45),pauseWhenHostLocked:!0,pauseWhenHostLowPower:!0,pauseWhenClientLowPower:!0,pauseWhenOnBattery:!0}};function J(e){return In[e]}function Ln(e){return e.profile===`custom`?e.baseProfile??`balanced`:e.profile}function Rn(e){let t=Ln(e),n=In[t],r=e.profile===`custom`?e.overrides:{};return{profile:t,automaticGitFetchInterval:r.automaticGitFetchInterval??n.automaticGitFetchInterval,providerHealthRefreshInterval:r.providerHealthRefreshInterval??n.providerHealthRefreshInterval,hostPowerMonitorActiveInterval:r.hostPowerMonitorActiveInterval??n.hostPowerMonitorActiveInterval,hostPowerMonitorIdleInterval:r.hostPowerMonitorIdleInterval??n.hostPowerMonitorIdleInterval,idleClientTtl:r.idleClientTtl??n.idleClientTtl,pauseWhenHostLocked:r.pauseWhenHostLocked??n.pauseWhenHostLocked,pauseWhenHostLowPower:r.pauseWhenHostLowPower??n.pauseWhenHostLowPower,pauseWhenClientLowPower:r.pauseWhenClientLowPower??n.pauseWhenClientLowPower,pauseWhenOnBattery:r.pauseWhenOnBattery??n.pauseWhenOnBattery}}function Y(e,t){return m(e)===m(t)}function zn(e,t){return Y(e.automaticGitFetchInterval,t.automaticGitFetchInterval)&&Y(e.providerHealthRefreshInterval,t.providerHealthRefreshInterval)&&Y(e.hostPowerMonitorActiveInterval,t.hostPowerMonitorActiveInterval)&&Y(e.hostPowerMonitorIdleInterval,t.hostPowerMonitorIdleInterval)&&Y(e.idleClientTtl,t.idleClientTtl)&&e.pauseWhenHostLocked===t.pauseWhenHostLocked&&e.pauseWhenHostLowPower===t.pauseWhenHostLowPower&&e.pauseWhenClientLowPower===t.pauseWhenClientLowPower&&e.pauseWhenOnBattery===t.pauseWhenOnBattery}function Bn(e){if(e.profile!==`custom`)return{schemaVersion:1,profile:e.profile,overrides:{}};let t=Rn(e),n=[Ln(e),`balanced`,`performance`,`battery-saver`];for(let e of n)if(zn(t,In[e]))return{schemaVersion:1,profile:e,overrides:{}};let r=Ln(e),i=In[r];return{schemaVersion:1,profile:`custom`,baseProfile:r,overrides:{...Y(t.automaticGitFetchInterval,i.automaticGitFetchInterval)?{}:{automaticGitFetchInterval:t.automaticGitFetchInterval},...Y(t.providerHealthRefreshInterval,i.providerHealthRefreshInterval)?{}:{providerHealthRefreshInterval:t.providerHealthRefreshInterval},...Y(t.hostPowerMonitorActiveInterval,i.hostPowerMonitorActiveInterval)?{}:{hostPowerMonitorActiveInterval:t.hostPowerMonitorActiveInterval},...Y(t.hostPowerMonitorIdleInterval,i.hostPowerMonitorIdleInterval)?{}:{hostPowerMonitorIdleInterval:t.hostPowerMonitorIdleInterval},...Y(t.idleClientTtl,i.idleClientTtl)?{}:{idleClientTtl:t.idleClientTtl},...t.pauseWhenHostLocked===i.pauseWhenHostLocked?{}:{pauseWhenHostLocked:t.pauseWhenHostLocked},...t.pauseWhenHostLowPower===i.pauseWhenHostLowPower?{}:{pauseWhenHostLowPower:t.pauseWhenHostLowPower},...t.pauseWhenClientLowPower===i.pauseWhenClientLowPower?{}:{pauseWhenClientLowPower:t.pauseWhenClientLowPower},...t.pauseWhenOnBattery===i.pauseWhenOnBattery?{}:{pauseWhenOnBattery:t.pauseWhenOnBattery}}}}function Vn(e){let t={schemaVersion:1,profile:ce,overrides:{}},n=e.backgroundActivity.profile===t.profile&&e.backgroundActivity.baseProfile===void 0&&Object.keys(e.backgroundActivity.overrides).length===0,r=e.backgroundActivityProfile,i=r!==`balanced`||m(e.automaticGitFetchInterval)!==m(Ue)||m(e.providerHealthRefreshInterval)!==m(re);return Rn(n&&i?{schemaVersion:1,profile:m(e.automaticGitFetchInterval)===m(J(r).automaticGitFetchInterval)&&m(e.providerHealthRefreshInterval)===m(J(r).providerHealthRefreshInterval)?r:`custom`,baseProfile:r,overrides:{...m(e.automaticGitFetchInterval)===m(J(r).automaticGitFetchInterval)?{}:{automaticGitFetchInterval:e.automaticGitFetchInterval},...m(e.providerHealthRefreshInterval)===m(J(r).providerHealthRefreshInterval)?{}:{providerHealthRefreshInterval:e.providerHealthRefreshInterval}}}:e.backgroundActivity)}function Hn(e){let t=Vn(e);return Bn({schemaVersion:1,profile:`custom`,baseProfile:t.profile,overrides:{automaticGitFetchInterval:t.automaticGitFetchInterval,providerHealthRefreshInterval:t.providerHealthRefreshInterval,hostPowerMonitorActiveInterval:t.hostPowerMonitorActiveInterval,hostPowerMonitorIdleInterval:t.hostPowerMonitorIdleInterval,idleClientTtl:t.idleClientTtl,pauseWhenHostLocked:t.pauseWhenHostLocked,pauseWhenHostLowPower:t.pauseWhenHostLowPower,pauseWhenClientLowPower:t.pauseWhenClientLowPower,pauseWhenOnBattery:t.pauseWhenOnBattery}})}var Un=Fn(oe);ue(Un);function Wn(e,t){let n=e.providerInstances[t.instanceId];return n===void 0?pe(t.instanceId):ee(n)}var Gn=[`codex`,`claudeAgent`,`cursor`,`grok`,`muse`,`pi`,`opencode`,`antigravity`].map(e=>f.make(e));function Kn(e,t,n){let r=[...Gn.map(e=>[se(e),e]),...n?.includeConfiguredInstances===!0?Object.entries(e).flatMap(([e,t])=>Gn.includes(t.driver)?[[te.make(e),t.driver]]:[]):[]].find(([e,n])=>t(e,n));if(r===void 0)return null;let[i,a]=r,o=n?.defaultModelSelection,s=e[i]?.config;return o?.instanceId===i&&me(s?.customModels).some(e=>e.slug===o.model)?o:{instanceId:i,model:Ce[a]??Pe[a]??`gpt-6-luna`}}function qn(e,t,n){let r=e.sourceControlWriterModelSelection;if(!r||!Ie(e,n,r.instanceId))return e.textGenerationModelSelection;if(t===void 0)return r;let i=t.find(e=>e.instanceId===r.instanceId);return i?.enabled===!0&&u(i)&&c(i)?r:e.textGenerationModelSelection}function Jn(e,t,n){let r=e.reviewGuideModelSelection;if(r&&Ie(e,n,r.instanceId)){let e=t?.find(e=>e.instanceId===r.instanceId);if(t===void 0||e?.enabled===!0&&u(e)&&c(e))return r}return qn(e,t,n)}function Yn(e,t={}){return{favorites:e.favorites??t.favorites??[],providerModelPreferences:e.providerModelPreferences??t.providerModelPreferences??{}}}function Xn(e,t){let n=e.favorites===null&&(t.favorites?.length??0)>0?t.favorites:void 0,r=e.providerModelPreferences===null&&Object.keys(t.providerModelPreferences??{}).length>0?t.providerModelPreferences:void 0;return n===void 0&&r===void 0?null:{migrateModelPreferences:{...n===void 0?{}:{favorites:n},...r===void 0?{}:{providerModelPreferences:r}}}}var Zn=new Set([`continueThreadsAfterServerUpdate`,`autoResumeLimitedThreads`,`snoozeLimitedThreads`,`newWorktreesStartFromOrigin`,`sourceControlWritingStyle`,`textGenerationModelSelection`]);function Qn(e){let t={},n={};for(let[r,i]of Object.entries(e))Zn.has(r)?t[r]=i:n[r]=i;return{sharedPatch:t,localPatch:n}}function $n(e,t,n,r=n,i=!1){let a=e.textGenerationModelSelection?.instanceId??r?.textGenerationModelSelection.instanceId;return!i&&e.textGenerationModelSelection&&(!n||a!==void 0&&(r?.providerInstances[a]?.driver??a)!==(n.providerInstances[a]?.driver??a)||!Wn(n,{...n.textGenerationModelSelection,...e.textGenerationModelSelection}))&&(e=p(e,[`textGenerationModelSelection`])),t?.threadRestartContinuation===!0?e:p(e,[`continueThreadsAfterServerUpdate`])}function er(e){return e.connection.phase===`connected`&&e.serverConfig!==null}function tr(e){let t=e.atom(r(Ke.pipe(le(e=>fe(e.state)))),{initialValue:Xe});return{stateAtom:t,stateValueAtom:g(e=>we(ie(e(t)),()=>Xe)).pipe(_(`relay-environment-discovery-value`)),refresh:qe(e,{label:`relay-environment-discovery:refresh`,concurrency:{mode:`singleFlight`,key:()=>`refresh`},execute:e=>Ke.pipe(be(e=>e.refresh))})}}var nr=tr(tt);function rr(e,t){return{...t,environmentId:e,label:t.entry.target.label,displayUrl:Qe(t.entry),relayManaged:Ge(t.entry)}}function ir(){let e=(0,D.c)(7),t=v(C.catalogValueAtom),n=v(C.networkStatusValueAtom),r=v(Ct.presentationsAtom),i;e[0]===r?i=e[1]:(i=[...r.entries()].map(ar),e[0]=r,e[1]=i);let a=i,o;return e[2]!==t.isReady||e[3]!==a||e[4]!==n||e[5]!==r?(o={isReady:t.isReady,networkStatus:n,environments:a,presentationById:r},e[2]=t.isReady,e[3]=a,e[4]=n,e[5]=r,e[6]=o):o=e[6],o}function ar(e){let[t,n]=e;return rr(t,n)}function or(){return v(nt)}function sr(e){let t=(0,D.c)(3),{presentation:n}=Et(e),r;return t[0]!==e||t[1]!==n?(r=e===null||n===null?null:rr(e,n),t[0]=e,t[1]=n,t[2]=r):r=t[2],r}function cr(){return sr(or())}function lr(e){let t=(0,D.c)(2),n=ot(e),r;return t[0]===n?r=t[1]:(r=je(n)?n.value.httpBaseUrl:null,t[0]=n,t[1]=r),r}function ur(){return v(nr.stateValueAtom)}function dr(){return v(wt.environmentIdsAtom)}function fr(){return v(wt.identitiesAtom)}function pr(){return v(wt.pullRequestsSupportedAtom)}var mr=`[CLIENT_SETTINGS]`,hr=new Set,gr=new Set,_r=l,X=`pending`,Z=null,vr=0,yr=Promise.resolve(),br=0;function xr(){for(let e of hr)e()}function Sr(){for(let e of gr)e()}function Q(){return _r}function Cr(e){_r=e,xr()}function wr(e){X!==e&&(X=e,Sr())}function Tr(e){return hr.add(e),$().catch(()=>void 0),()=>{hr.delete(e)}}function Er(){return X===`ready`}function Dr(){return X}function Or(e){return gr.add(e),$().catch(()=>void 0),()=>{gr.delete(e)}}async function $(){if(X===`ready`)return;if(Z)return Z;let e=vr;wr(X===`failed`||X===`retrying`?`retrying`:`pending`);let t=(async()=>{try{let t=await tn().persistence.getClientSettings();if(e!==vr)return;t&&Cr({...l,...t}),wr(`ready`)}catch(t){throw e===vr&&wr(`failed`),console.error(`${mr} hydrate failed`,{operation:`hydrate`,...b(t)}),t}})().finally(()=>{Z===t&&(Z=null)});return Z=t,Z}var kr=e=>tn().persistence.setClientSettings(e);function Ar(e){let t=yr.then(e);return yr=t.then(()=>void 0,()=>void 0),t}function jr(e,t=kr){let n=X!==`ready`||br>0;return n?br+=1:Cr({...Q(),...e}),Ar(async()=>{if(n)try{X!==`ready`&&await $(),Cr({...Q(),...e})}finally{--br}await t(Q())}).catch(e=>{console.error(`${mr} persist failed`,{operation:`persist`,...b(e)})})}async function Mr(e,t=kr){return Ar(async()=>{for(X!==`ready`&&await $();;){let n=Q(),r=e(n);if(await t(r),Q()===n)return Cr(r),r}})}var Nr=new Set(Fe(oe.fields));function Pr(e){let t={},n={};for(let[r,i]of Object.entries(e))Nr.has(r)?t[r]=i:n[r]=i;return{serverPatch:t,clientPatch:n}}function Fr(){return Q()}function Ir(){return $()}function Lr(){return(0,E.useSyncExternalStore)(Or,Er,Rr)}function Rr(){return!1}function zr(){return(0,E.useSyncExternalStore)(Or,Dr,Br)}function Br(){return`pending`}function Vr(){return(0,E.useSyncExternalStore)(Tr,Q,Hr)}function Hr(){return l}function Ur(e,t){return{...t,...e,...Yn(e,t)}}var Wr=new Set;function Gr(e,t){let n=(0,D.c)(8),r=Vr(),i=Lr(),a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={reportFailure:!1},n[0]=a):a=n[0];let o=ct(S.updateSettings,a),s,c;n[1]!==r||n[2]!==e||n[3]!==i||n[4]!==o||n[5]!==t?(s=()=>{if(!e||!t||!i||Wr.has(e))return;let n=Xn(t,r);n&&(Wr.add(e),o({environmentId:e,input:{patch:n}}).finally(()=>Wr.delete(e)))},c=[r,e,i,o,t],n[1]=r,n[2]=e,n[3]=i,n[4]=o,n[5]=t,n[6]=s,n[7]=c):(s=n[6],c=n[7]),(0,E.useEffect)(s,c)}function Kr(e,t){let n=(0,D.c)(6),r=Vr(),i;n[0]!==r||n[1]!==e?(i=Ur(e,r),n[0]=r,n[1]=e,n[2]=i):i=n[2];let a=i,o;return n[3]!==a||n[4]!==t?(o=t?t(a):a,n[3]=a,n[4]=t,n[5]=o):o=n[5],o}function qr(e){let t=(0,D.c)(3),n=Vr(),r;return t[0]!==e||t[1]!==n?(r=e?e(n):n,t[0]=e,t[1]=n,t[2]=r):r=t[2],r}async function Jr(e,t){return(e.favorites===null||e.providerModelPreferences===null)&&await Ir(),{...Xn(e,Fr()),...t}}function Yr(e){let t=(0,D.c)(6),n;t[0]===e?n=t[1]:(n=e?S.settingsValueAtom(e):Zr,t[0]=e,t[1]=n);let r=v(n),i=ct(S.updateSettings,`model preferences update`),a;return t[2]!==e||t[3]!==i||t[4]!==r?(a=async t=>{if(!e||!r)return;let n;try{n=await Jr(r,t)}catch{x.add({type:`error`,title:`Model preferences not saved`,description:`Could not load saved model preferences. Try again.`});return}return i({environmentId:e,input:{patch:n}})},t[2]=e,t[3]=i,t[4]=r,t[5]=a):a=t[5],a}function Xr(e){let t=(0,E.use)(Me),n=(0,E.useRef)(new Map),r=Yr(e);return(0,E.useCallback)(async(i,a)=>{if(!e)return;let o=S.settingsValueAtom(e),s=t.get(o);if(!s)return;if(s.favorites===null)try{await Ir()}catch{x.add({type:`error`,title:`Favorites not saved`,description:`Could not load saved model preferences. Try again.`});return}let c=t.get(o)??s,l=Yn(c,Fr()).favorites,u=JSON.stringify([e,i,a]),d=n.current.get(u),f={favorite:!(d&&(d.pending||d.settings.favorites===c.favorites)?d.favorite:l.some(e=>e.provider===i&&e.model===a)),settings:c,pending:!0};n.current.set(u,f);try{let e=await r({setModelFavorites:[{provider:i,model:a,favorite:f.favorite}]});e&&de(e)&&t.get(o)?.favorites===c.favorites&&(f.pending=!1)}finally{f.pending&&n.current.get(u)===f&&(d&&!d.pending&&t.get(o)?.favorites===d.settings.favorites?n.current.set(u,d):n.current.delete(u))}},[e,t,r])}var Zr=g(null);function Qr(e){let t=(0,D.c)(5),n;t[0]===e?n=t[1]:(n=e?S.settingsValueAtom(e):Zr,t[0]=e,t[1]=n);let r=v(n),i=Vr();Gr(e,r);let a=r??Oe,o;return t[2]!==i||t[3]!==a?(o=Yn(a,i),t[2]=i,t[3]=a,t[4]=o):o=t[4],o}function $r(e,t){let n=(0,D.c)(2),r;n[0]===e?r=n[1]:(r=S.settingsValueAtom(e),n[0]=e,n[1]=r);let i=v(r);return Gr(e,i),Kr(i??Oe,t)}function ei(e){let t=(0,D.c)(4),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={reportFailure:!1},t[0]=n):n=t[0];let r=ct(S.mutateProviderInstance,n),i;return t[1]!==e||t[2]!==r?(i=(t,n)=>r({environmentId:e,input:{patch:n===void 0?{}:n,providerInstanceMutation:t}}),t[1]=e,t[2]=r,t[3]=i):i=t[3],i}function ti(e){let t=cr(),n=v(rt);return Gr(t?.environmentId??null,t?.serverConfig?.settings??null),Kr(n,e)}var ni=`This setting is saved on a server, and the hosted app is not anchored to one. Change it from the desktop app or from the server's own address.`;function ri(){let e=(0,D.c)(2),t=cr(),n;return e[0]===t?n=e[1]:(n=t!==null||!$e(),e[0]=t,e[1]=n),n}function ii(e){let t=(0,D.c)(3),n=e!==void 0&&e,{environments:r}=ir(),i;return t[0]!==r||t[1]!==n?(i=g(e=>r.filter(er).flatMap(t=>{let r=e(st.sessionStateAtom(t.environmentId));if(n&&r._tag===`Initial`)return[t.environmentId];let i=r._tag===`Failure`?null:h(ie(r));return i!==null&&ye(i,`settings:write`)?[t.environmentId]:[]})),t[0]=r,t[1]=n,t[2]=i):i=t[2],v(i)}function ai(e){let t=(0,D.c)(10);it(e,Re);let n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={label:`server settings update`,reportFailure:!1},t[0]=n):n=t[0];let r=ct(S.updateSettings,n),{environments:i}=ir(),a;t[1]!==i||t[2]!==r?(a=async e=>{let t=await r(e);if(t._tag===`Failure`&&!Je(t)){let n=i.find(t=>t.environmentId===e.environmentId)?.label??e.environmentId,r=Ze(t);x.add({type:`error`,title:`Setting not saved`,description:`Could not save on ${n}: ${r instanceof Error?r.message:`The save failed. Try reconnecting and saving again.`}`})}return t},t[1]=i,t[2]=r,t[3]=a):a=t[3];let o=a,s=ii(!0),c;return t[4]!==e||t[5]!==i||t[6]!==r||t[7]!==o||t[8]!==s?(c=t=>{let{serverPatch:n,clientPatch:a}=Pr(t),c=e===null||d(n).every(t=>at(e,t));if(Object.keys(n).length>0&&!c&&x.add({type:`warning`,title:`Setting not saved`,description:`This connection lacks permission to change settings on ${i.find(t=>t.environmentId===e)?.label??`the selected environment`}.`}),Object.keys(n).length>0&&c){let{sharedPatch:t,localPatch:a}=Qn(n),c=ui;if(Object.keys(a).length>0&&(e?o({environmentId:e,input:{patch:a}}):c()),Object.keys(t).length>0){let n=i.find(t=>t.environmentId===e)?.serverConfig?.settings,a=new Set(s);e&&a.add(e);let o=[],l=[];for(let r of a){let a=i.find(e=>e.environmentId===r),s=$n(t,a?.serverConfig?.environment.capabilities,a?.serverConfig?.settings,n,r===e);Object.keys(s).length!==0&&(ge.get(st.sessionStateAtom(r))._tag!==`Initial`&&!d(t).every(e=>at(r,e))?l.push(a?.label??r):o.push({environmentId:r,input:{patch:s}}))}o.length===0?c(l.length>0?`This connection lacks permission to change settings on ${l.join(`, `)}.`:a.size>0?`Update older servers to save this setting.`:void 0):Promise.all(o.map(async e=>({label:i.find(t=>t.environmentId===e.environmentId)?.label??e.environmentId,result:await r(e)}))).then(oi)}}Object.keys(a).length>0&&jr(a)},t[4]=e,t[5]=i,t[6]=r,t[7]=o,t[8]=s,t[9]=c):c=t[9],c}function oi(e){let t=e.flatMap(li);if(t.length===0)return;let n=e.filter(ci).map(si);x.add({type:`error`,title:n.length>0?`Setting saved on some environments`:`Setting not saved`,description:[...t,...n.length>0?[`Saved on ${n.join(`, `)}.`]:[]].join(`
|
|
2
|
-
`)})}function si(e){let{label:t}=e;return t}function ci(e){let{result:t}=e;return t._tag===`Success`}function li(e){let{label:t,result:n}=e;if(n._tag!==`Failure`||Je(n))return[];let r=Ze(n);return[`Could not save on ${t}: ${r instanceof Error?r.message:`The save failed. Try reconnecting and saving again.`}`]}function ui(e){let t=e===void 0?ni:e;return x.add({type:`warning`,title:`Setting not saved`,description:t})}function di(e){return ai(e)}function fi(){return ai(cr()?.environmentId??null)}function pi(){return mi}function mi(e){return jr(e)}export{Nt as $,nr as A,G as B,fr as C,or as D,cr as E,J as F,jn as G,an as H,Bn as I,Wt as J,tn as K,Hn as L,Jn as M,qn as N,pr as O,Ln as P,Mt as Q,Vn as R,lr as S,ir as T,_n as U,rn as V,Sn as W,Pt as X,It as Y,At as Z,pi as _,jr as a,fi as b,Lr as c,$r as d,Ft as et,Gr as f,Xr as g,ri as h,Ur as i,Et as it,Kn as j,ur as k,zr as l,ti as m,Ir as n,Ct as nt,Mr as o,ei as p,en as q,Fr as r,wt as rt,qr as s,ni as t,jt as tt,Qr as u,Yr as v,dr as w,sr as x,di as y,Fn as z};
|
|
3
|
-
//# sourceMappingURL=useSettings-4JwtKUFC.js.map
|