decocms 4.542.2 → 4.542.3
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/client/assets/{ActiveShapeUtils-xwm7xTvz.js → ActiveShapeUtils-CLmYip7o.js} +1 -1
- package/dist/client/assets/{AlertCircle-BjT7_GFq.js → AlertCircle-DzE-j8Md.js} +1 -1
- package/dist/client/assets/{AreaChart-jT3sTbub.js → AreaChart-jCvlBX4z.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Par1IdOs.js → ArrowLeft-B4Fp6tOY.js} +1 -1
- package/dist/client/assets/{ArrowUp-At9MqVhB.js → ArrowUp-ChN8aOEm.js} +1 -1
- package/dist/client/assets/{BarChart-BI0I1ki0.js → BarChart-kNTSHvb9.js} +1 -1
- package/dist/client/assets/{Building02-BV_I3UuJ.js → Building02-PnRUM-VE.js} +1 -1
- package/dist/client/assets/{CartesianChart-CHwcVvKV.js → CartesianChart-BUoXXZfH.js} +1 -1
- package/dist/client/assets/{CategoricalChart-CF0oZQqp.js → CategoricalChart-Dhwf2GdF.js} +1 -1
- package/dist/client/assets/{CheckCircle-D6xmTIXf.js → CheckCircle-BH2UP5Pl.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-CeHSyaSD.js → ChevronSelectorVertical-CK7wz4hr.js} +1 -1
- package/dist/client/assets/{ChevronUp-CNyARDGk.js → ChevronUp-C2ixq11S.js} +1 -1
- package/dist/client/assets/{Copy01-DisW4JMo.js → Copy01-S_Wzfgys.js} +1 -1
- package/dist/client/assets/{CreditCard01-QvSfBZzn.js → CreditCard01-C9Xxz1Z-.js} +1 -1
- package/dist/client/assets/{DotsVertical-wJ46YU2V.js → DotsVertical-DgY7T0mx.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-DteLj0IZ.js → ErrorBarContext-C0OzijwZ.js} +1 -1
- package/dist/client/assets/{Globe04-DK5qhUMj.js → Globe04-BPKiswDo.js} +1 -1
- package/dist/client/assets/{Image01-CO8HhoHi.js → Image01-CiWjI_N8.js} +1 -1
- package/dist/client/assets/{Key01-BDwjIsdK.js → Key01-Cl5CaquW.js} +1 -1
- package/dist/client/assets/{Link01-BHgTruNE.js → Link01-DRf4-o03.js} +1 -1
- package/dist/client/assets/{LinkBroken01-CdMsJVgm.js → LinkBroken01-C4Xn1L4t.js} +1 -1
- package/dist/client/assets/{Minus-CJDvXjFo.js → Minus-DrIgoneT.js} +1 -1
- package/dist/client/assets/{Monitor01-B3thg2Rr.js → Monitor01-yYk26cfF.js} +1 -1
- package/dist/client/assets/{Play-BhU5Ns8x.js → Play-DiF1YnWe.js} +1 -1
- package/dist/client/assets/{Plus-BaWg3Fda.js → Plus-ajSOCMl5.js} +1 -1
- package/dist/client/assets/{ReferenceLine-NAOdXR_M.js → ReferenceLine-ode7xeNO.js} +1 -1
- package/dist/client/assets/{SearchMd-B541ufOQ.js → SearchMd-DTaWr-NV.js} +1 -1
- package/dist/client/assets/{Sector-DWc-NOYF.js → Sector-CBAM4uEa.js} +1 -1
- package/dist/client/assets/{ShoppingBag01-d7aE6vty.js → ShoppingBag01-w9yIZ7Vl.js} +1 -1
- package/dist/client/assets/{Sun-wY_Z9VGm.js → Sun-Bb0mDann.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-7qdaOYVu.js → SwitchHorizontal01-Cz2viH34.js} +1 -1
- package/dist/client/assets/{Tool01-DwTqd_Nj.js → Tool01-DvXBMYEr.js} +1 -1
- package/dist/client/assets/{Trash01-B5_r6iLm.js → Trash01-DVB9fxWu.js} +1 -1
- package/dist/client/assets/{Upload01-BP49pNql.js → Upload01-Bd0Vey4L.js} +1 -1
- package/dist/client/assets/{UserSquare-D1neGXtF.js → UserSquare-WesfpXiJ.js} +1 -1
- package/dist/client/assets/{Users01-CrLtxwQA.js → Users01-BLXU9p3z.js} +1 -1
- package/dist/client/assets/{XClose-DsiXpG7_.js → XClose-BM8Qxy5w.js} +1 -1
- package/dist/client/assets/{Zap-BB-vOERw.js → Zap-sqFFzvOf.js} +1 -1
- package/dist/client/assets/{ZoomOut-ZB7MeGmK.js → ZoomOut-BMEXUhR4.js} +1 -1
- package/dist/client/assets/{access-gate-BMPZzaLe.js → access-gate-By7w7bSi.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-DkTbkwZe.js → add-connection-dialog-BluSK0lx.js} +1 -1
- package/dist/client/assets/{agent-analytics-DFuVpyFS.js → agent-analytics-CNw_SyNM.js} +1 -1
- package/dist/client/assets/agent-app-DbclzXDU.js +1 -0
- package/dist/client/assets/{agent-assets-mt6-RxoQ.js → agent-assets-Bd43kbAT.js} +1 -1
- package/dist/client/assets/{agent-automation-DPJINZ67.js → agent-automation-Bu2NjJrU.js} +1 -1
- package/dist/client/assets/{agent-automations-Cl5cbuK-.js → agent-automations-Ccv6ZRUF.js} +1 -1
- package/dist/client/assets/{agent-calendar-CMljpTSo.js → agent-calendar-DkkiCWmd.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-Ck7orXzL.js → agent-connect-sources-BDarxFOe.js} +1 -1
- package/dist/client/assets/agent-deck-BZE0--70.js +1 -0
- package/dist/client/assets/{agent-e2e-BLatnPC9.js → agent-e2e-COLwEyW7.js} +1 -1
- package/dist/client/assets/agent-experiments-C-CUI5Wi.js +1 -0
- package/dist/client/assets/{agent-file-cyUqJo5U.js → agent-file-BIvvkyQ-.js} +1 -1
- package/dist/client/assets/{agent-hosting-DFO1UQwH.js → agent-hosting-BJMw5oRI.js} +1 -1
- package/dist/client/assets/{agent-icon-D-0GvNzG.js → agent-icon-DCY-DFu1.js} +1 -1
- package/dist/client/assets/agent-library-BjJ181jP.js +1 -0
- package/dist/client/assets/agent-library-file-BPiYRhWM.js +1 -0
- package/dist/client/assets/agent-monitor-DpRQhcjH.js +1 -0
- package/dist/client/assets/{agent-overview-CckXDLIM.js → agent-overview-BmB1tKmP.js} +1 -1
- package/dist/client/assets/{agent-releases-Bfo75_fu.js → agent-releases-Bjc7gSc7.js} +1 -1
- package/dist/client/assets/agent-settings-kT3-qFt3.js +1 -0
- package/dist/client/assets/{agent-site-editor-DEMYd53f.js → agent-site-editor-QzKa3yR0.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-o6lK4DIS.js +2 -0
- package/dist/client/assets/agent-site-editor-content-B6rkCzsg.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-Dg_7ffKK.js +1 -0
- package/dist/client/assets/agent-view-D464xMnL.js +1 -0
- package/dist/client/assets/{agent-view-guard-BVgIccGF.js → agent-view-guard-C8vnuAW5.js} +1 -1
- package/dist/client/assets/{agents-list-Bhp-wRRW.js → agents-list-DcTl6DAN.js} +1 -1
- package/dist/client/assets/{ai-providers-BZ346tRe.js → ai-providers-BxP8NxtG.js} +1 -1
- package/dist/client/assets/{alert-l5j64Qp_.js → alert-BClfxRVl.js} +1 -1
- package/dist/client/assets/{analytics-sections-C7Wvx5is.js → analytics-sections-C56nTKhq.js} +1 -1
- package/dist/client/assets/{api-keys-D1eJSOy-.js → api-keys-CgZOX36O.js} +1 -1
- package/dist/client/assets/api-keys-q55WNLi3.js +1 -0
- package/dist/client/assets/{app-editor-BdTBcszA.js → app-editor-D7grhyWY.js} +1 -1
- package/dist/client/assets/{asset-utils-Cwse7TzX.js → asset-utils-Dv9DtY1w.js} +1 -1
- package/dist/client/assets/{auth-BZPkjT4-.js → auth-D4mihjB5.js} +1 -1
- package/dist/client/assets/{auth-catchall-CorB5tw4.js → auth-catchall-CIjMWWQ4.js} +1 -1
- package/dist/client/assets/{auth-entry-iQvrZCC2.js → auth-entry-CF2sy2X9.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BlKheOJZ.js → auth-split-layout-CKmq0cQL.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DercrMMu.js → authenticate-and-persist-oauth-DcyREoDj.js} +1 -1
- package/dist/client/assets/{automation-list-row-g_Vn0fLf.js → automation-list-row-B7u3k1TE.js} +1 -1
- package/dist/client/assets/{automation-runs-B-xMEZBF.js → automation-runs-DdW0Koem.js} +1 -1
- package/dist/client/assets/{automations-CXl5dDVa.js → automations-Cb_-4OPE.js} +1 -1
- package/dist/client/assets/{autosend-Ci815qQG.js → autosend-BW2sWcH_.js} +1 -1
- package/dist/client/assets/{badge-iQ-KRbWv.js → badge-BYQ7wlS5.js} +1 -1
- package/dist/client/assets/{block-document-DLTjHmMQ.js → block-document-CQPNpE_7.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-Cr4NHNVG.js → blocks-preview-workspace-context-CCrolu3H.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-Cs7bIWnm.js → blocks-tab-states-CTYUutZb.js} +1 -1
- package/dist/client/assets/{blog-schema-UfoKLAgi.js → blog-schema-E9phFUsA.js} +1 -1
- package/dist/client/assets/{buckets-0IbVUkQA.js → buckets-B13TOr3J.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-RrLnbLYj.js → build-improve-prompt-doc-CbYp0dXg.js} +1 -1
- package/dist/client/assets/{calendar-CjBfTyns.js → calendar-Dfa2lTn-.js} +1 -1
- package/dist/client/assets/{capability-load-error-BciHzJb0.js → capability-load-error-B32fS7dM.js} +1 -1
- package/dist/client/assets/{category-editor-2zcLZItm.js → category-editor-C_N4v5N0.js} +1 -1
- package/dist/client/assets/{cdn-tab-OEVXJsgd.js → cdn-tab-C4yfZ9eS.js} +1 -1
- package/dist/client/assets/{chart-D-nB-Kvb.js → chart-4GCitUJ7.js} +1 -1
- package/dist/client/assets/{chat-context-0CZgd-Gr.js → chat-context-BChErz2e.js} +1 -1
- package/dist/client/assets/{chat-draft-DM7nVCQ-.js → chat-draft-DoIY677y.js} +1 -1
- package/dist/client/assets/{checkbox-DVUVqeGQ.js → checkbox-r74ldNXe.js} +1 -1
- package/dist/client/assets/{choose-editor-D4MptH6S.js → choose-editor-CwjcozrS.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CcaewW77.js → cli-auth-success-CtgjBw7s.js} +1 -1
- package/dist/client/assets/{client-icons-CYPommua.js → client-icons-DSbdG4pu.js} +1 -1
- package/dist/client/assets/{cms-settings-editor-CnyCQ0VY.js → cms-settings-editor-MAcJ4mRh.js} +1 -1
- package/dist/client/assets/{collapsible-VIsV7VNH.js → collapsible-Cq7zc7_4.js} +1 -1
- package/dist/client/assets/{collection-detail-DWJ8AxJZ.js → collection-detail-BpXqX3oB.js} +1 -1
- package/dist/client/assets/{collection-display-button-DM4HtPM4.js → collection-display-button-Co1Pga0X.js} +1 -1
- package/dist/client/assets/{collection-search-Dg61rOFc.js → collection-search-CpetsY8q.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Tom29l37.js → collection-table-wrapper-B4u7lstM.js} +1 -1
- package/dist/client/assets/{collection-tabs-Dgf5t1P2.js → collection-tabs-pmxZ8mkx.js} +1 -1
- package/dist/client/assets/{combobox-BxlWJcmj.js → combobox-BUgAhpEW.js} +1 -1
- package/dist/client/assets/{command-DELHBruW.js → command-DOj2A4A7.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-DplrUpp5.js → companion-mcps-section-CWO5AEfe.js} +1 -1
- package/dist/client/assets/{config-C7l46kfh.js → config-Dk-dmIvU.js} +1 -1
- package/dist/client/assets/{connect-DMjCcT3A.js → connect-B1oQic42.js} +1 -1
- package/dist/client/assets/{connect-layout-BPsq801z.js → connect-layout-CXFw7UnM.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-C2D2IgRk.js → connect-source-dialog-CGYXiWts.js} +1 -1
- package/dist/client/assets/{connection-OneH_KYb.js → connection-S7qDWEtT.js} +1 -1
- package/dist/client/assets/{connection-card-Cn0XDJp5.js → connection-card-Cx44idem.js} +1 -1
- package/dist/client/assets/{connection-detail-DviNqCvu.js → connection-detail-Dv-5xDcH.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Bky3pLkI.js → connection-form-helpers-gFh7yCzV.js} +1 -1
- package/dist/client/assets/{connections-CnCDDLW4.js → connections-18n-bO0V.js} +1 -1
- package/dist/client/assets/{content-tab-ChaQz5Cw.js → content-tab-DN8B-yRI.js} +3 -3
- package/dist/client/assets/{context-Z72cw_0L.js → context-6RTcJyMV.js} +1 -1
- package/dist/client/assets/{context-menu-BVx2zw6F.js → context-menu-Bl8I6GNc.js} +1 -1
- package/dist/client/assets/{context-shell-4OlOuHkx.js → context-shell-BYQlM0x8.js} +3 -3
- package/dist/client/assets/{core.esm-DtwNC1S6.js → core.esm-BT_mU3xj.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-Bud6wRZH.js → create-organization-dialog-U4tR_Qfl.js} +1 -1
- package/dist/client/assets/{daily-pulse-CZ6S1sQA.js → daily-pulse-6PW7XWbE.js} +1 -1
- package/dist/client/assets/{discover-DTCouleE.js → discover-BIfjmq3H.js} +1 -1
- package/dist/client/assets/{domain-settings-CMqaHhTL.js → domain-settings-BAiU0Esp.js} +1 -1
- package/dist/client/assets/{drawer-DV7RfSOm.js → drawer-Dx4-F-OS.js} +1 -1
- package/dist/client/assets/{editor-C97Kf5Du.js → editor-BQmG-TWe.js} +1 -1
- package/dist/client/assets/{editor-classes-Cpizi6Gd.js → editor-classes-DKOvNB3n.js} +1 -1
- package/dist/client/assets/{empty-state-BaG0Q4po.js → empty-state-B3qkXyL5.js} +1 -1
- package/dist/client/assets/{empty-state-DN5hGWOA.js → empty-state-cQdvFUSC.js} +1 -1
- package/dist/client/assets/{experiments-tab-CaSjZfNk.js → experiments-tab-CGGCXXu8.js} +1 -1
- package/dist/client/assets/{experiments-tab-choice-D7HK8muj.js → experiments-tab-choice-BPtAtI2U.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CMDKUW-r.js → extract-connection-data-duttVzSb.js} +1 -1
- package/dist/client/assets/{feature-gate-BCs7uS6R.js → feature-gate-B_rAgLtC.js} +1 -1
- package/dist/client/assets/{feature-paywall-BkfFWoMQ.js → feature-paywall-B9F9KnQt.js} +1 -1
- package/dist/client/assets/{file-explorer-D9mAz812.js → file-explorer-qKQKwlcp.js} +1 -1
- package/dist/client/assets/{file-preview-BIWzBCIQ.js → file-preview-DtFhFlGD.js} +1 -1
- package/dist/client/assets/{file-share-button-Yp1hPdth.js → file-share-button-_yfZfWoE.js} +1 -1
- package/dist/client/assets/{file-type-icon-BzoA5jiZ.js → file-type-icon-DnkfnNgZ.js} +1 -1
- package/dist/client/assets/{folder-icon-3OVJ0C3s.js → folder-icon-CQMbivux.js} +1 -1
- package/dist/client/assets/{form-BeydREbm.js → form-BQ50c_Kc.js} +1 -1
- package/dist/client/assets/{general-TShdY8k6.js → general-UOC6R1bq.js} +1 -1
- package/dist/client/assets/{github-icon-BAVg06aG.js → github-icon-Da5ypnFC.js} +1 -1
- package/dist/client/assets/{held-block-view-C-gX7MJV.js → held-block-view-DCE-bFQS.js} +3 -3
- package/dist/client/assets/{home-CaunCGhV.js → home-BH5Ska_O.js} +1 -1
- package/dist/client/assets/{hosted-publish-feedback-DBuxeNUI.js → hosted-publish-feedback-CZCgFuTM.js} +1 -1
- package/dist/client/assets/{icon-button-Dvr6r3yU.js → icon-button-Dr-Gv6H0.js} +1 -1
- package/dist/client/assets/{index-CP1LLlUE.js → index-B4sZcXXO.js} +1 -1
- package/dist/client/assets/{index-3W95YvR0.js → index-B9YWSID0.js} +1 -1
- package/dist/client/assets/{index-Co_Y2KRI.js → index-BIewQUQb.js} +1 -1
- package/dist/client/assets/{index-WgfN4QVP.js → index-BijXK1UR.js} +3 -3
- package/dist/client/assets/{index-C6hJbAJT.js → index-CIaq3tw7.js} +1 -1
- package/dist/client/assets/{index-CvcioybL.js → index-CQE0HBp3.js} +1 -1
- package/dist/client/assets/{index-APWCNDjQ.js → index-D6M26y9G.js} +1 -1
- package/dist/client/assets/{index-Bi4PycPz.js → index-DBQYx38N.js} +1 -1
- package/dist/client/assets/{index-CG3hHrir.js → index-DCDDlYdn.js} +1 -1
- package/dist/client/assets/{index-DXbJEWCl.js → index-DiV7NYFa.js} +1 -1
- package/dist/client/assets/{index-DslCcy2A.js → index-DrgADi5h.js} +1 -1
- package/dist/client/assets/{index-Gy88raZj.js → index-E459_Efg.js} +1 -1
- package/dist/client/assets/{index-CzKs4Djn.js → index-HzRnz8QJ.js} +1 -1
- package/dist/client/assets/{index-B84NhyjS.js → index-R3al4Uhd.js} +1 -1
- package/dist/client/assets/{index-DJkEjMHv.js → index-jOmOmhTz.js} +1 -1
- package/dist/client/assets/{index-redirect-BuSCUFK5.js → index-redirect-Dqqwxwjr.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-AJwWz1b5.js → infiniteQueryObserver-o3kSKx55.js} +1 -1
- package/dist/client/assets/{infra-billing-CSDR5i1g.js → infra-billing-ZP6do34t.js} +1 -1
- package/dist/client/assets/{input-C9nmuHHZ.js → input-i5frBa5C.js} +1 -1
- package/dist/client/assets/{input-BqbNJGML.js → input-seTaYpjE.js} +3 -3
- package/dist/client/assets/{integration-icon-UvPKDtTh.js → integration-icon-B78RRiv5.js} +1 -1
- package/dist/client/assets/{jira-icon-Bmh7OVT1.js → jira-icon-B8btMOFJ.js} +1 -1
- package/dist/client/assets/{label-Dxzmqh4L.js → label-Cp19UNgk.js} +1 -1
- package/dist/client/assets/{layout-C4nyDmIH.js → layout-CX2GGDxo.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-aq4ok2ss.js → legacy-agents-deep-EaRXmg1a.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-IAdI4U7x.js → legacy-main-redirect-Djf9ugx4.js} +1 -1
- package/dist/client/assets/library--vU7_72w.js +1 -0
- package/dist/client/assets/{library-tab-CSUDGppR.js → library-tab-D2dUmZ2N.js} +1 -1
- package/dist/client/assets/{login-4UMFaQqs.js → login-3ambMeYH.js} +1 -1
- package/dist/client/assets/{markdown-NHGOJDhi.js → markdown-Dq2cTeVK.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-CGhEZS_Z.js → mcp-app-renderer-c0XyEtdp.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Due6wImr.js → mcp-oauth-BGqSa9Pc.js} +1 -1
- package/dist/client/assets/{mcp-oauth-D0k2-sPR.js → mcp-oauth-Ce50x3CB.js} +1 -1
- package/dist/client/assets/{members-CNgezQXU.js → members-rrzgbqx7.js} +1 -1
- package/dist/client/assets/{memory-BmjdKRyH.js → memory-DXTb6Voq.js} +1 -1
- package/dist/client/assets/{mini-report-page-C4ZquL_-.js → mini-report-page-CJX9M-nB.js} +1 -1
- package/dist/client/assets/{mock-board-CSzfjmM9.js → mock-board-G8D6BINi.js} +3 -3
- package/dist/client/assets/{monaco-editor-BDiq_2v4.js → monaco-editor-D3-tlVi1.js} +1 -1
- package/dist/client/assets/{monitoring-DDlo0E0z.js → monitoring-DO4YblV5.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BIUtkx4G.js → monitoring-stats-row-vVsaxsbi.js} +1 -1
- package/dist/client/assets/{multi-select-BzEGbWV5.js → multi-select-BpPVsFAF.js} +1 -1
- package/dist/client/assets/{mustache-CDuMzcYJ.js → mustache-BKOMnA_9.js} +1 -1
- package/dist/client/assets/{named-rule-uses-BBO-qGhe.js → named-rule-uses-CX8yqNkx.js} +1 -1
- package/dist/client/assets/{new-project-dialog-DePwIx8r.js → new-project-dialog-JbH-ihe7.js} +1 -1
- package/dist/client/assets/{oauth-callback-MEfOlRUI.js → oauth-callback-CCdgABZY.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CmQYTORU.js → oauth-callback-ai-provider-DWzz5YvT.js} +1 -1
- package/dist/client/assets/{onboarding-D-XW6Ll4.js → onboarding-CTnT7tiC.js} +1 -1
- package/dist/client/assets/{openai-conversation-f0QT3g0s.js → openai-conversation-B5u7XwTe.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-BLuXu9p7.js → optimistic-project-sidebar-views-DXBojSzW.js} +1 -1
- package/dist/client/assets/{order-monitor-day-CUhalAkv.js → order-monitor-day-C_W6SROB.js} +1 -1
- package/dist/client/assets/{organization-choice-C88DHbpi.js → organization-choice-McETwbSg.js} +1 -1
- package/dist/client/assets/{orgs-BqSj6zly.js → orgs-07tmprt6.js} +1 -1
- package/dist/client/assets/{page-seo-form-bsmuSaAw.js → page-seo-form-FlV4EZkI.js} +1 -1
- package/dist/client/assets/{pair-Cz07PNwj.js → pair-DLv_RG2X.js} +1 -1
- package/dist/client/assets/{parse-sections-CNEwf5xY.js → parse-sections-BM7rWPEy.js} +1 -1
- package/dist/client/assets/{plan-BaxzxsmN.js → plan-CAs8v3rm.js} +1 -1
- package/dist/client/assets/{plan-ladder-CPUSwIwK.js → plan-ladder-iixbir6X.js} +1 -1
- package/dist/client/assets/{plan-usage-card-C2rK33eA.js → plan-usage-card-OF2PeBk2.js} +1 -1
- package/dist/client/assets/{popover-DqVLkXUD.js → popover-CHbMB3jG.js} +1 -1
- package/dist/client/assets/{post-calendar-D-B-o5Sk.js → post-calendar-DFFEwO0u.js} +1 -1
- package/dist/client/assets/{post-editor-wYAwFgD6.js → post-editor-DiCZv0jb.js} +1 -1
- package/dist/client/assets/{preview-content-SmC2ClvS.js → preview-content-Di4bx53_.js} +1 -1
- package/dist/client/assets/{preview-dialog-CKYpQv_g.js → preview-dialog-Bnabi9Qe.js} +1 -1
- package/dist/client/assets/{preview-panel-CUIawUFr.js → preview-panel-C4Onhdbp.js} +1 -1
- package/dist/client/assets/{preview-tab-gJ-NI33V.js → preview-tab-BTYNRFa4.js} +3 -3
- package/dist/client/assets/{product-picker-dialog-BfM9NW4L.js → product-picker-dialog-CDwUdEyI.js} +1 -1
- package/dist/client/assets/{profile-BAzM4QDZ.js → profile-BZopokCb.js} +1 -1
- package/dist/client/assets/{project-app-view-D4za2-JY.js → project-app-view-BvN4B3VY.js} +1 -1
- package/dist/client/assets/{project-apps-B3VLUQHR.js → project-apps-bRm5wucx.js} +1 -1
- package/dist/client/assets/{project-feed-BMuYP0mY.js → project-feed-JQMrn4N0.js} +1 -1
- package/dist/client/assets/{project-icon-BIzg7YUA.js → project-icon-CJYQSuT8.js} +1 -1
- package/dist/client/assets/project-reports-C8oDqZ8M.js +1 -0
- package/dist/client/assets/project-tasks-12ERuu6r.js +1 -0
- package/dist/client/assets/{projects-BsvG5EZk.js → projects-HwNNO20y.js} +1 -1
- package/dist/client/assets/{projects-empty-state-BuGy3TU-.js → projects-empty-state-3UvEY2WC.js} +1 -1
- package/dist/client/assets/{prompts-C_3bA9AB.js → prompts-Bb-iag-D.js} +1 -1
- package/dist/client/assets/record-editor-DKQxzgxV.js +1 -0
- package/dist/client/assets/{redirect-editor-DoeEK1iC.js → redirect-editor-DwMCsv8a.js} +1 -1
- package/dist/client/assets/{releases-api-DaYlp5Yo.js → releases-api-B6kvYbRr.js} +1 -1
- package/dist/client/assets/reports-DPVIqjnT.js +1 -0
- package/dist/client/assets/{reports-D9rwlh0Z.js → reports-Xotj40Dl.js} +1 -1
- package/dist/client/assets/{reports-onboarding-CI5-svnj.js → reports-onboarding-B5nfdh0X.js} +1 -1
- package/dist/client/assets/{reports-tab-Dqp0OnYz.js → reports-tab-Do3x8s5b.js} +2 -2
- package/dist/client/assets/{repositories-pCQtYygJ.js → repositories-D80nxgjg.js} +1 -1
- package/dist/client/assets/repositories-DDo5raPh.js +1 -0
- package/dist/client/assets/{repository-binding-DF6YCWsj.js → repository-binding-C68Bzwbp.js} +1 -1
- package/dist/client/assets/{repository-import-picker-bneKFCuv.js → repository-import-picker-EEK-sVVk.js} +1 -1
- package/dist/client/assets/{repository-picker-CGoSX3oi.js → repository-picker-DNE15SEp.js} +1 -1
- package/dist/client/assets/{require-capability-DbotB2TQ.js → require-capability-B8KwXmiu.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BLLWaY3S.js → required-auth-layout-CgViy1W9.js} +1 -1
- package/dist/client/assets/{reset-password-CYfdP8lX.js → reset-password-CFvmO4cf.js} +1 -1
- package/dist/client/assets/{resizable-DcAx-gSp.js → resizable-BiIQKqAj.js} +1 -1
- package/dist/client/assets/{resolve-tab-icon-CEtcjh_A.js → resolve-tab-icon-ByuLXRti.js} +1 -1
- package/dist/client/assets/{review-settings-BtTYlHnB.js → review-settings-BfbxJWxe.js} +1 -1
- package/dist/client/assets/{roles-wWNA46at.js → roles--sJq_Ice.js} +1 -1
- package/dist/client/assets/route-CNrD999i.js +1 -0
- package/dist/client/assets/{route-8T5e9Ewx.js → route-DJ0GbELV.js} +1 -1
- package/dist/client/assets/{route-CGePI1fo.js → route-Ff6lCceC.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-Bwi5LES5.js → sandbox-lifecycle-context-BFVSmowb.js} +1 -1
- package/dist/client/assets/{schema-DiDerRAC.js → schema-Bi4RJVVu.js} +1 -1
- package/dist/client/assets/{schema-BUPJBVf-.js → schema-ZtwXZVxu.js} +1 -1
- package/dist/client/assets/{scroll-area-CiASyTMh.js → scroll-area-Cp71DHPt.js} +1 -1
- package/dist/client/assets/{search-input-BB0pLu50.js → search-input-BrVmXZXF.js} +1 -1
- package/dist/client/assets/{search-toggle-Ct5urmf5.js → search-toggle-DCUC4Qen.js} +1 -1
- package/dist/client/assets/{secret-picker-DeqIjavS.js → secret-picker-lgA-9Rhu.js} +1 -1
- package/dist/client/assets/{secrets-CXa42ggH.js → secrets-BgPJKyPa.js} +1 -1
- package/dist/client/assets/{section-array-field-DENveGph.js → section-array-field-B5eviaUR.js} +1 -1
- package/dist/client/assets/{sections-Czi5N-nx.js → sections-Bg_-ZUEa.js} +1 -1
- package/dist/client/assets/{sections-editor-CJWiHP8t.js → sections-editor-B5LVHw--.js} +1 -1
- package/dist/client/assets/{select-CFg3KEOq.js → select-CSKnqqEb.js} +1 -1
- package/dist/client/assets/{select-model-DkYaqcwE.js → select-model-BQD_gjqh.js} +1 -1
- package/dist/client/assets/{seo-editor-C18LAsg1.js → seo-editor-Cf2Xi6nY.js} +1 -1
- package/dist/client/assets/{separator-DlxWQ5-B.js → separator-CwuQweR4.js} +1 -1
- package/dist/client/assets/settings-tab-BjEX5KP_.js +1 -0
- package/dist/client/assets/{sheet-CA3M7bQp.js → sheet-BKUj4XRS.js} +1 -1
- package/dist/client/assets/{shell-layout-pSWumg64.js → shell-layout-7nLfl63D.js} +1 -1
- package/dist/client/assets/{site-draft-actions-B9N3leLY.js → site-draft-actions-CJU0lNJV.js} +1 -1
- package/dist/client/assets/{site-draft-view-Byvdlyo6.js → site-draft-view-BexOIk_0.js} +2 -2
- package/dist/client/assets/site-editor-BIN6_mo1.js +1 -0
- package/dist/client/assets/{site-editor-toast-Bz-6LR6r.js → site-editor-toast-DIQQclSk.js} +1 -1
- package/dist/client/assets/{skills-DcoNLVNg.js → skills-DriBuXLm.js} +1 -1
- package/dist/client/assets/{slider-CdizOZzU.js → slider-CX7at3h2.js} +1 -1
- package/dist/client/assets/{sortable.esm-D_24nW2P.js → sortable.esm-10DRQ2sX.js} +1 -1
- package/dist/client/assets/{sso-BX8AqSlx.js → sso-CRoH05Fz.js} +1 -1
- package/dist/client/assets/{suggestion-hz2N0L4f.js → suggestion-xTAroASB.js} +1 -1
- package/dist/client/assets/{switch-nJxNuRWR.js → switch-DrmfNcNf.js} +1 -1
- package/dist/client/assets/{symbol-DnjOGl1B.js → symbol-ChJ7jN3k.js} +1 -1
- package/dist/client/assets/{synced-repos-CwsMzHsk.js → synced-repos-DV1BcuV7.js} +1 -1
- package/dist/client/assets/{tab-icon-glyph-CyteS_dF.js → tab-icon-glyph-CF5f-Z_o.js} +1 -1
- package/dist/client/assets/{table-D3Xss2p0.js → table-Dzy-0aVP.js} +1 -1
- package/dist/client/assets/{tabs-j1z3THwl.js → tabs-BTn3mTbH.js} +1 -1
- package/dist/client/assets/{task-assignee-avatar-ClZ-7JIA.js → task-assignee-avatar-56TwVYLO.js} +1 -1
- package/dist/client/assets/{task-board-M_qS1rzf.js → task-board-CayegZZ3.js} +1 -1
- package/dist/client/assets/{task-route-CWCfzbE3.js → task-route-DGxDwMMW.js} +1 -1
- package/dist/client/assets/{task-status-CC96IwX7.js → task-status-BNNrZ_Nu.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-XMzxqkpx.js → taskboard-analytics-XuXMs7JC.js} +1 -1
- package/dist/client/assets/{tasks-fO-z4dp1.js → tasks-CUxYfIaK.js} +1 -1
- package/dist/client/assets/tasks-zAr_UkZ3.js +1 -0
- package/dist/client/assets/{textarea-D-MP0s12.js → textarea-D0LYBX8O.js} +1 -1
- package/dist/client/assets/{thread-analytics-DZ3xDtzM.js → thread-analytics-C1PPOpRT.js} +1 -1
- package/dist/client/assets/{thread-intent-DSKhfvxP.js → thread-intent-CdiuimL9.js} +1 -1
- package/dist/client/assets/{thread-route-D2HAbtZo.js → thread-route-B2S6iOD-.js} +1 -1
- package/dist/client/assets/{thread-route-DJFRjF24.js → thread-route-Cc6UBNhQ.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-uGXl8WDp.js → thread-sheet-body-BFuME1Bd.js} +1 -1
- package/dist/client/assets/{time-range-picker-DE6cxBjq.js → time-range-picker-Cq-tv6qo.js} +1 -1
- package/dist/client/assets/{toggle-group-BUfjArPT.js → toggle-group-DM6uySR5.js} +1 -1
- package/dist/client/assets/{tool-namespace-CGxHGKW_.js → tool-namespace-BW-tXE6W.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-B1loXRWd.js → toolbar-icon-button-Du8IprMB.js} +1 -1
- package/dist/client/assets/{tooltip-CUsEGqy_.js → tooltip-CgSkJPPS.js} +1 -1
- package/dist/client/assets/{tooltipContext-Bj1ILd8M.js → tooltipContext-B5ecV60a.js} +1 -1
- package/dist/client/assets/{track-CkX_aW1n.js → track-DekjR40E.js} +1 -1
- package/dist/client/assets/{types-D9PXVqqG.js → types-DK13rTXA.js} +1 -1
- package/dist/client/assets/{url-slug-B4ugcdZY.js → url-slug-B9gulo1R.js} +1 -1
- package/dist/client/assets/{usage-stats-qowelp13.js → usage-stats-spjeuTC-.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BcdAb8qD.js → use-ai-providers-TbIEEErY.js} +1 -1
- package/dist/client/assets/{use-apply-named-rule-ByoZP5j7.js → use-apply-named-rule-dOnUWTCP.js} +1 -1
- package/dist/client/assets/{use-automations-BVNZ6rjm.js → use-automations-CG-Cikv7.js} +1 -1
- package/dist/client/assets/{use-autosave-ysdD2930.js → use-autosave-Csd4kJP8.js} +1 -1
- package/dist/client/assets/{use-chat-layout-state-B5aaDvob.js → use-chat-layout-state-B1KCQDF9.js} +1 -1
- package/dist/client/assets/{use-clock-tick-Cfukw61c.js → use-clock-tick-ffh7KkCE.js} +1 -1
- package/dist/client/assets/{use-cms-publish-actions-DZ9irs8o.js → use-cms-publish-actions-eqQub0R0.js} +1 -1
- package/dist/client/assets/{use-connect-companion-BO5TLspT.js → use-connect-companion-CbQk2RHf.js} +1 -1
- package/dist/client/assets/{use-connection-FqHna8PS.js → use-connection-TWR90GP-.js} +1 -1
- package/dist/client/assets/{use-copy-CXZDMarr.js → use-copy-BtQZocLW.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Dzh7EwRz.js → use-create-virtual-mcp-Bg_pvKji.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-DDFXCn-E.js → use-date-fns-locale-Dk7jlgNH.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DnB6ruCU.js → use-debounced-autosave-BEzdgU_0.js} +1 -1
- package/dist/client/assets/{use-debounced-value-QixculIP.js → use-debounced-value-AoAqNmHg.js} +1 -1
- package/dist/client/assets/{use-deco-credits-CvKHRGmx.js → use-deco-credits-DHyEg3az.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-fL28TEHC.js → use-decopilot-events-CVUGGfXM.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DmHzYgl9.js → use-delete-connection-Cz9YzYA8.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-DIOIJKFZ.js → use-deployment-admin-_i-curaL.js} +1 -1
- package/dist/client/assets/{use-entitlements-BkqxE18N.js → use-entitlements-C0wXCfoQ.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-BRikkUIY.js → use-fast-preview-draft-url-aEjdHT0V.js} +1 -1
- package/dist/client/assets/{use-file-configs-hWnpGnBU.js → use-file-configs-xfUsfkeK.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-DIzfN-6Y.js → use-inbox-feed-p7cJIwLb.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-B2Dxfw4r.js → use-infinite-scroll-DCkPJt0t.js} +1 -1
- package/dist/client/assets/{use-join-requests-D7tVSsO6.js → use-join-requests-CuoNgXxm.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-Dtx52M7M.js → use-main-panel-tabs-B5SM6O8K.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-DT-19LwX.js → use-mcp-auth-status-DnlvB6rZ.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DXdlNn5q.js → use-mcp-client-KWSUvK_a.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-ClNBkSao.js → use-mcp-prompts-BEJ1f99M.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DgRM7NRr.js → use-mcp-tools-BC8AaNmJ.js} +1 -1
- package/dist/client/assets/{use-mobile-BRzk8D-v.js → use-mobile-CPIB7FDl.js} +1 -1
- package/dist/client/assets/{use-move-blocks-BwtieMWH.js → use-move-blocks-8DTZOusM.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Mx6A78it.js → use-navigate-to-agent-HYjCQ2HB.js} +1 -1
- package/dist/client/assets/{use-org-fs-DRPPAr_0.js → use-org-fs-CRpJAVmi.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-zLVhA-m3.js → use-org-repo-syncs-fm6UzfKA.js} +1 -1
- package/dist/client/assets/{use-org-sso-CK8bP20u.js → use-org-sso-CfMRDnRe.js} +1 -1
- package/dist/client/assets/{use-organization-roles-BFEFwfPv.js → use-organization-roles-APtOO0Ln.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CHtyXny0.js → use-organization-settings-BnaaX9uD.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-BrmvjTvw.js → use-panel-navigate-C8QBD8vM.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-fZL342dS.js → use-project-native-view-presence-BwKCP-cs.js} +1 -1
- package/dist/client/assets/{use-project-scope-5fuCx2a_.js → use-project-scope-CQd-IFnJ.js} +1 -1
- package/dist/client/assets/{use-recent-apps-DIC3oGRR.js → use-recent-apps-DDZXSkFr.js} +1 -1
- package/dist/client/assets/{use-releases-DMLz_29m.js → use-releases-CuN0i7FX.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-CDXaLKrf.js → use-reports-diagnostic-KsJKsvbI.js} +1 -1
- package/dist/client/assets/{use-sandbox-events-CcwyGMD7.js → use-sandbox-events-CHP3Ppk5.js} +1 -1
- package/dist/client/assets/{use-secrets-B0fPW93u.js → use-secrets-DTKbIXef.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BLJOom-F.js → use-section-preview-base-C-qObYGR.js} +1 -1
- package/dist/client/assets/{use-session-runtime-BIoEtecA.js → use-session-runtime-7fOZnFmy.js} +1 -1
- package/dist/client/assets/{use-sidebar-collapsed-BToAgS1l.js → use-sidebar-collapsed-Cg9SAJcE.js} +1 -1
- package/dist/client/assets/{use-tags-BBUfpZ3Q.js → use-tags-DfJbMtHn.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-CP7ZTaMB.js → use-task-board-analytics-CeRXsQRW.js} +1 -1
- package/dist/client/assets/{use-task-board-events-CyzOoXYa.js → use-task-board-events-on9bUB3D.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-xIRkPDuE.js → use-task-board-item-prs-DSW_-yNM.js} +1 -1
- package/dist/client/assets/{use-task-board-prompts-Hjgi7ATn.js → use-task-board-prompts-D_ds0kXS.js} +1 -1
- package/dist/client/assets/{use-task-metadata-DVialv3C.js → use-task-metadata-DEG1rVSj.js} +1 -1
- package/dist/client/assets/{use-thread-analytics-DKL46-sK.js → use-thread-analytics-CwjDq08D.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-CuLm_Mfb.js → use-thread-outputs-Ct6GwzUZ.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BfYXF3Ue.js +1 -0
- package/dist/client/assets/{useQueries-Ddak2P0w.js → useQueries-CizdKXco.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CDVGaP6u.js +1 -0
- package/dist/client/assets/{users-wgAbpnD0.js → users-BDtwz5j1.js} +1 -1
- package/dist/client/assets/{utils-DdcTGJDK.js → utils-DSrro3Kq.js} +1 -1
- package/dist/client/assets/{variant-calendar-DkBZGo-3.js → variant-calendar-Bauq4E4Q.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-D8SSg_Q7.js → variant-matcher-override-O_qTI-qh.js} +1 -1
- package/dist/client/assets/{view-header-CAPGAS4q.js → view-header-BDzDO2AR.js} +1 -1
- package/dist/client/assets/{virtual-mcp-a8UorXJw.js → virtual-mcp-BO0xBKoh.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-CH4G2Sl-.js → watch-sse-pool-4Z_1jztZ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +44 -44
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/agent-app-BI0E5_7n.js +0 -1
- package/dist/client/assets/agent-deck-Nw66gXDM.js +0 -1
- package/dist/client/assets/agent-experiments-BslAK98v.js +0 -1
- package/dist/client/assets/agent-library-BXKmMOCL.js +0 -1
- package/dist/client/assets/agent-library-file-D8BDKfA2.js +0 -1
- package/dist/client/assets/agent-monitor-D6kjNFa-.js +0 -1
- package/dist/client/assets/agent-settings-DM6gu80D.js +0 -1
- package/dist/client/assets/agent-site-editor-code-B7Ja4k0e.js +0 -2
- package/dist/client/assets/agent-site-editor-content-BgxmK1MQ.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-BxfSe8hZ.js +0 -1
- package/dist/client/assets/agent-view-Di5xXloU.js +0 -1
- package/dist/client/assets/api-keys-Duet-lJP.js +0 -1
- package/dist/client/assets/library-Da5YKyoM.js +0 -1
- package/dist/client/assets/project-reports-DJoAVemp.js +0 -1
- package/dist/client/assets/project-tasks-Db93bOVr.js +0 -1
- package/dist/client/assets/record-editor-DavD_m_0.js +0 -1
- package/dist/client/assets/reports-5EubtE8r.js +0 -1
- package/dist/client/assets/repositories-BaY0RDK6.js +0 -1
- package/dist/client/assets/route-D_1NyYgH.js +0 -1
- package/dist/client/assets/settings-tab-CGA_nTpk.js +0 -1
- package/dist/client/assets/site-editor-CqHgEJnK.js +0 -1
- package/dist/client/assets/tasks-C8psxVdc.js +0 -1
- package/dist/client/assets/useInfiniteQuery-CrT95xA_.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Cy44049I.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as L,j as A,c as ve,l as He}from"./index-WgfN4QVP.js";import{ao as ft}from"./agent-icon-D-0GvNzG.js";function pt(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function ht(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function gt(e){return e/100*window.innerHeight}function vt(e){return e/100*window.innerWidth}function mt(e){switch(typeof e){case"number":return[e,"px"];case"string":{const t=parseFloat(e);return e.endsWith("%")?[t,"%"]:e.endsWith("px")?[t,"px"]:e.endsWith("rem")?[t,"rem"]:e.endsWith("em")?[t,"em"]:e.endsWith("vh")?[t,"vh"]:e.endsWith("vw")?[t,"vw"]:[t,"%"]}}}function re({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,a]=mt(n);switch(a){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=ht(t,r);break}case"em":{o=pt(t,r);break}case"vh":{o=gt(r);break}case"vw":{o=vt(r);break}}return o}function T(e){return parseFloat(e.toFixed(3))}function te({group:e}){const{orientation:t,panels:n}=e;return n.reduce((o,r)=>(o+=t==="horizontal"?r.element.offsetWidth:r.element.offsetHeight,o),0)}function he(e){const{panels:t}=e,n=te({group:e});return n===0?t.map(o=>({groupResizeBehavior:o.panelConstraints.groupResizeBehavior,collapsedSize:0,collapsible:o.panelConstraints.collapsible===!0,defaultSize:void 0,disabled:o.panelConstraints.disabled,minSize:0,maxSize:100,panelId:o.id})):t.map(o=>{const{element:r,panelConstraints:a}=o;let l=0;if(a.collapsedSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.collapsedSize});l=T(c/n*100)}let s;if(a.defaultSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.defaultSize});s=T(c/n*100)}let i=0;if(a.minSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.minSize});i=T(c/n*100)}let u=100;if(a.maxSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.maxSize});u=T(c/n*100)}return{groupResizeBehavior:a.groupResizeBehavior,collapsedSize:l,collapsible:a.collapsible===!0,defaultSize:s,disabled:a.disabled,minSize:i,maxSize:u,panelId:o.id}})}function P(e,t="Assertion error"){if(!e)throw Error(t)}function ge(e,t){return Array.from(t).sort(e==="horizontal"?bt:yt)}function bt(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function yt(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function Ve(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Ue(e,t){return{x:e.x>=t.left&&e.x<=t.right?0:Math.min(Math.abs(e.x-t.left),Math.abs(e.x-t.right)),y:e.y>=t.top&&e.y<=t.bottom?0:Math.min(Math.abs(e.y-t.top),Math.abs(e.y-t.bottom))}}function zt({orientation:e,rects:t,targetRect:n}){const o={x:n.x+n.width/2,y:n.y+n.height/2};let r,a=Number.MAX_VALUE;for(const l of t){const{x:s,y:i}=Ue(o,l),u=e==="horizontal"?s:i;u<a&&(a=u,r=l)}return P(r,"No rect found"),r}let ue;function St(){return ue===void 0&&(typeof matchMedia=="function"?ue=!!matchMedia("(pointer:coarse)").matches:ue=!1),ue}function Ye(e){const{element:t,orientation:n,panels:o,separators:r}=e,a=ge(n,Array.from(t.children).filter(Ve).map(m=>({element:m}))).map(({element:m})=>m),l=[];let s=!1,i=!1,u=-1,c=-1,h=0,d,S=[];{let m=-1;for(const f of a)f.hasAttribute("data-panel")&&(m++,f.hasAttribute("data-disabled")||(h++,u===-1&&(u=m),c=m))}if(h>1){let m=-1;for(const f of a)if(f.hasAttribute("data-panel")){m++;const g=o.find(p=>p.element===f);if(g){if(d){const p=d.element.getBoundingClientRect(),y=f.getBoundingClientRect();let z;if(i){const b=n==="horizontal"?new DOMRect(p.right,p.top,0,p.height):new DOMRect(p.left,p.bottom,p.width,0),v=n==="horizontal"?new DOMRect(y.left,y.top,0,y.height):new DOMRect(y.left,y.top,y.width,0);switch(S.length){case 0:{z=[b,v];break}case 1:{const R=S[0],E=zt({orientation:n,rects:[p,y],targetRect:R.element.getBoundingClientRect()});z=[R,E===p?v:b];break}default:{z=S;break}}}else S.length?z=S:z=[n==="horizontal"?new DOMRect(p.right,y.top,y.left-p.right,y.height):new DOMRect(y.left,p.bottom,y.width,y.top-p.bottom)];for(const b of z){let v="width"in b?b:b.element.getBoundingClientRect();const R=St()?e.resizeTargetMinimumSize.coarse:e.resizeTargetMinimumSize.fine;if(v.width<R){const M=R-v.width;v=new DOMRect(v.x-M/2,v.y,v.width+M,v.height)}if(v.height<R){const M=R-v.height;v=new DOMRect(v.x,v.y-M/2,v.width,v.height+M)}const E=m<=u||m>c;!s&&!E&&l.push({group:e,groupSize:te({group:e}),panels:[d,g],separator:"width"in b?void 0:b,rect:v}),s=!1}}i=!1,d=g,S=[]}}else if(f.hasAttribute("data-separator")){f.ariaDisabled!==null&&(s=!0);const g=r.find(p=>p.element===f);g?S.push(g):(d=void 0,S=[])}else i=!0}return l}class Xe{#e={};addListener(t,n){const o=this.#e[t];return o===void 0?this.#e[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=this.#e[t];if(o!==void 0)if(o.length===1)o[0].call(null,n);else{let r=!1,a=null;const l=Array.from(o);for(let s=0;s<l.length;s++){const i=l[s];try{i.call(null,n)}catch(u){a===null&&(r=!0,a=u)}}if(r)throw a}}removeAllListeners(){this.#e={}}removeListener(t,n){const o=this.#e[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}let Q={cursorFlags:0,state:"inactive"};const me=new Xe;function U(){return Q}function wt(e){return me.addListener("change",e)}function xt(e){const t=Q,n={...Q};n.cursorFlags=e,Q=n,me.emit("change",{prev:t,next:n})}function ee(e){const t=Q;Q=e,me.emit("change",{prev:t,next:e})}const Ct=e=>e,pe=()=>{},_e=1,Je=2,qe=4,Ke=8,Le=3,Re=12;let ce;function Ee(){return ce===void 0&&(ce=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(ce=!0)),ce}function Pt({cursorFlags:e,groups:t,state:n}){let o=0,r=0;switch(n){case"active":case"hover":t.forEach(a=>{if(!a.mutableState.disableCursor)switch(a.orientation){case"horizontal":{o++;break}case"vertical":{r++;break}}})}if(!(o===0&&r===0)){switch(n){case"active":{if(e&&Ee()){const a=(e&_e)!==0,l=(e&Je)!==0,s=(e&qe)!==0,i=(e&Ke)!==0;if(a)return s?"se-resize":i?"ne-resize":"e-resize";if(l)return s?"sw-resize":i?"nw-resize":"w-resize";if(s)return"s-resize";if(i)return"n-resize"}break}}return Ee()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const ke=new WeakMap;function be(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=ke.get(e)??{};n===void 0&&(n=new e.defaultView.CSSStyleSheet,e.adoptedStyleSheets&&(Object.isExtensible(e.adoptedStyleSheets)?e.adoptedStyleSheets.push(n):e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]));const o=U();switch(o.state){case"active":case"hover":{const r=Pt({cursorFlags:o.cursorFlags,groups:o.hitRegions.map(l=>l.group),state:o.state}),a=`*, *:hover {cursor: ${r} !important; }`;if(t===a)return;t=a,r?n.cssRules.length===0?n.insertRule(a):n.replaceSync(a):n.cssRules.length===1&&n.deleteRule(0);break}case"inactive":{t=void 0,n.cssRules.length===1&&n.deleteRule(0);break}}ke.set(e,{prevStyle:t,styleSheet:n})}let F=new Map;const Ze=new Xe;function Lt(e){F=new Map(F),F.delete(e)}function Me(e,t){for(const[n]of F)if(n.id===e)return n}function H(e,t){for(const[n,o]of F)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function _(){return F}function ye(e,t){return Ze.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function W(e,t,n){const o=F.get(e);F=new Map(F),F.set(e,t),Ze.emit("groupChange",{group:e,isUserInteraction:n?.isUserInteraction===!0,prev:o,next:t})}function Qe(e){const t=U();let n=!1;return t.state==="active"&&(ee({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(be(e),n=!0,t.hitRegions.forEach(o=>{const r=H(o.group.id,!0);W(o.group,r,{isUserInteraction:!0})}))),n}function De(e){e.defaultPrevented||Qe(e.currentTarget)}function Rt(e,t,n){let o,r={x:1/0,y:1/0};for(const a of t){const l=Ue(n,a.rect);switch(e){case"horizontal":{l.x<=r.x&&(o=a,r=l);break}case"vertical":{l.y<=r.y&&(o=a,r=l);break}}}return o?{distance:r,hitRegion:o}:void 0}function Et(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function kt(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:Ne(e),b:Ne(t)};let o;for(;n.a.at(-1)===n.b.at(-1);)o=n.a.pop(),n.b.pop();P(o,"Stacking order can only be calculated for elements with a common ancestor");const r={a:Te(Ie(n.a)),b:Te(Ie(n.b))};if(r.a===r.b){const a=o.childNodes,l={a:n.a.at(-1),b:n.b.at(-1)};let s=a.length;for(;s--;){const i=a[s];if(i===l.a)return 1;if(i===l.b)return-1}}return Math.sign(r.a-r.b)}const Mt=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function Dt(e){const t=getComputedStyle(et(e)??e).display;return t==="flex"||t==="inline-flex"}function It(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||Dt(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||Mt.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function Ie(e){let t=e.length;for(;t--;){const n=e[t];if(P(n,"Missing node"),It(n))return n}return null}function Te(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Ne(e){const t=[];for(;e;)t.push(e),e=et(e);return t}function et(e){const{parentNode:t}=e;return Et(t)?t.host:t}function Tt(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function Nt({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Ve(n)||n.contains(e)||e.contains(n))return!0;if(kt(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(Tt(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function ze(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const a=Ye(r),l=Rt(r.orientation,a,{x:e.clientX,y:e.clientY});l&&l.distance.x<=0&&l.distance.y<=0&&Nt({groupElement:r.element,hitRegion:l.hitRegion.rect,pointerEventTarget:e.target})&&n.push(l.hitRegion)}),n}function jt(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function I(e,t,n=0){return Math.abs(T(e)-T(t))<=n}function O(e,t){return I(e,t)?0:e>t?1:-1}function Z({overrideDisabledPanels:e,panelConstraints:t,prevSize:n,size:o}){const{collapsedSize:r=0,collapsible:a,disabled:l,maxSize:s=100,minSize:i=0}=t;if(l&&!e)return n;if(O(o,i)<0)if(a){const u=(r+i)/2;O(o,u)<0?o=r:o=i}else o=i;return o=Math.min(s,o),o=T(o),o}function ie({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:o,prevLayout:r,trigger:a}){if(I(e,0))return t;const l=a==="imperative-api",s=Object.values(t),i=Object.values(r),u=[...s],[c,h]=o;P(c!=null,"Invalid first pivot index"),P(h!=null,"Invalid second pivot index");let d=0;switch(a){case"keyboard":{{const f=e<0?h:c,g=n[f];P(g,`Panel constraints not found for index ${f}`);const{collapsedSize:p=0,collapsible:y,minSize:z=0}=g;if(y){const b=s[f];if(P(b!=null,`Previous layout not found for panel index ${f}`),I(b,p)){const v=z-b;O(v,Math.abs(e))>0&&(e=e<0?0-v:v)}}}{const f=e<0?c:h,g=n[f];P(g,`No panel constraints found for index ${f}`);const{collapsedSize:p=0,collapsible:y,minSize:z=0}=g;if(y){const b=s[f];if(P(b!=null,`Previous layout not found for panel index ${f}`),I(b,z)){const v=b-p;O(v,Math.abs(e))>0&&(e=e<0?0-v:v)}}}break}default:{const f=e<0?h:c,g=n[f];P(g,`Panel constraints not found for index ${f}`);const p=s[f],{collapsible:y,collapsedSize:z,minSize:b}=g;if(y&&O(p,b)<0)if(e>0){const v=b-z,R=v/2,E=p+e;O(E,b)<0&&(e=O(e,R)<=0?0:v)}else{const v=b-z,R=100-v/2,E=p-e;O(E,b)<0&&(e=O(100+e,R)>0?0:-v)}break}}{const f=e<0?1:-1;let g=e<0?h:c,p=0;for(;;){const z=s[g];P(z!=null,`Previous layout not found for panel index ${g}`);const b=Z({overrideDisabledPanels:l,panelConstraints:n[g],prevSize:z,size:100})-z;if(p+=b,g+=f,g<0||g>=n.length)break}const y=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-y:y}{let f=e<0?c:h;for(;f>=0&&f<n.length;){const g=Math.abs(e)-Math.abs(d),p=s[f];P(p!=null,`Previous layout not found for panel index ${f}`);const y=p-g,z=Z({overrideDisabledPanels:l,panelConstraints:n[f],prevSize:p,size:y});if(!I(p,z)&&(d+=p-z,u[f]=z,d.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?f--:f++}}if(jt(i,u))return r;{const f=e<0?h:c,g=s[f];P(g!=null,`Previous layout not found for panel index ${f}`);const p=g+d,y=Z({overrideDisabledPanels:l,panelConstraints:n[f],prevSize:g,size:p});if(u[f]=y,!I(y,p)){let z=p-y,b=e<0?h:c;for(;b>=0&&b<n.length;){const v=u[b];P(v!=null,`Previous layout not found for panel index ${b}`);const R=v+z,E=Z({overrideDisabledPanels:l,panelConstraints:n[b],prevSize:v,size:R});if(I(v,E)||(z-=E-v,u[b]=E),I(z,0))break;e>0?b--:b++}}}const S=Object.values(u).reduce((f,g)=>g+f,0);if(!I(S,100,.1))return r;const m=Object.keys(r);return u.reduce((f,g,p)=>(f[m[p]]=g,f),{})}function Y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||O(e[n],t[n])!==0)return!1;return!0}function X({layout:e,panelConstraints:t}){const n=Object.values(e),o=[...n],r=o.reduce((s,i)=>s+i,0);if(o.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${o.map(s=>`${s}%`).join(", ")}`);if(!I(r,100)&&o.length>0)for(let s=0;s<t.length;s++){const i=o[s];P(i!=null,`No layout data found for index ${s}`);const u=100/r*i;o[s]=u}let a=0;for(let s=0;s<t.length;s++){const i=n[s];P(i!=null,`No layout data found for index ${s}`);const u=o[s];P(u!=null,`No layout data found for index ${s}`);const c=Z({overrideDisabledPanels:!0,panelConstraints:t[s],prevSize:i,size:u});u!=c&&(a+=u-c,o[s]=c)}if(!I(a,0))for(let s=0;s<t.length;s++){const i=o[s];P(i!=null,`No layout data found for index ${s}`);const u=i+a,c=Z({overrideDisabledPanels:!0,panelConstraints:t[s],prevSize:i,size:u});if(i!==c&&(a-=c-i,o[s]=c,I(a,0)))break}const l=Object.keys(e);return o.reduce((s,i,u)=>(s[l[u]]=i,s),{})}function tt({groupId:e,panelId:t}){const n=()=>{const i=_();for(const[u,{defaultLayoutDeferred:c,derivedPanelConstraints:h,layout:d,groupSize:S,separatorToPanels:m}]of i)if(u.id===e)return{defaultLayoutDeferred:c,derivedPanelConstraints:h,group:u,groupSize:S,layout:d,separatorToPanels:m};throw Error(`Group ${e} not found`)},o=()=>{const i=n().derivedPanelConstraints.find(u=>u.panelId===t);if(i!==void 0)return i;throw Error(`Panel constraints not found for Panel ${t}`)},r=()=>{const i=n().group.panels.find(u=>u.id===t);if(i!==void 0)return i;throw Error(`Layout not found for Panel ${t}`)},a=()=>{const i=n().layout[t];if(i!==void 0)return i;throw Error(`Layout not found for Panel ${t}`)},l=({nextSize:i,panels:u,prevLayout:c,derivedPanelConstraints:h})=>{const d=a(),S=u.findIndex(g=>g.id===t),m=S===0,f=S===u.length-1;if(f&&i<d&&(m||u.slice(0,S).every((g,p)=>{const y=h[p];return y?.collapsible&&I(y.collapsedSize,c[y.panelId])}))){const g=u.slice(0,S).reduce((p,y)=>p+c[y.id],0);return{...c,[t]:T(100-g)}}return ie({delta:f?d-i:i-d,initialLayout:c,panelConstraints:h,pivotIndices:f?[S-1,S]:[S,S+1],prevLayout:c,trigger:"imperative-api"})},s=i=>{const u=a();if(i===u)return;const{defaultLayoutDeferred:c,derivedPanelConstraints:h,group:d,groupSize:S,layout:m,separatorToPanels:f}=n(),g=l({nextSize:i,panels:d.panels,prevLayout:m,derivedPanelConstraints:h}),p=X({layout:g,panelConstraints:h});Y(m,p)||W(d,{defaultLayoutDeferred:c,derivedPanelConstraints:h,groupSize:S,layout:p,separatorToPanels:f})};return{collapse:()=>{const{collapsible:i,collapsedSize:u}=o(),{mutableValues:c}=r(),h=a();i&&h!==u&&(c.expandToSize=h,s(u))},expand:()=>{const{collapsible:i,collapsedSize:u,minSize:c}=o(),{mutableValues:h}=r(),d=a();if(i&&d===u){let S=h.expandToSize??c;S===0&&(S=1),s(S)}},getSize:()=>{const{group:i}=n(),u=a(),{element:c}=r(),h=i.orientation==="horizontal"?c.offsetWidth:c.offsetHeight;return{asPercentage:u,inPixels:h}},isCollapsed:()=>{const{collapsible:i,collapsedSize:u}=o(),c=a();return i&&I(u,c)},resize:i=>{const{group:u}=n(),{element:c}=r(),h=te({group:u}),d=re({groupSize:h,panelElement:c,styleProp:i}),S=T(d/h*100);s(S)}}}function je(e){if(e.defaultPrevented)return;const t=_();ze(e,t).forEach(n=>{if(n.separator&&!n.separator.disableDoubleClick){const o=n.panels.find(r=>r.panelConstraints.defaultSize!==void 0);if(o){const r=o.panelConstraints.defaultSize,a=tt({groupId:n.group.id,panelId:o.id});a&&r!==void 0&&(a.resize(r),e.preventDefault())}}})}function de(e){const t=_();for(const[n]of t)if(n.separators.some(o=>o.element===e))return n;throw Error("Could not find parent Group for separator element")}function nt({groupId:e}){const t=()=>{const n=_();for(const[o,r]of n)if(o.id===e)return{group:o,...r};throw Error(`Could not find Group with id "${e}"`)};return{getLayout(){const{defaultLayoutDeferred:n,layout:o}=t();return n?{}:o},setLayout(n){const{defaultLayoutDeferred:o,derivedPanelConstraints:r,group:a,groupSize:l,layout:s,separatorToPanels:i}=t(),u=X({layout:n,panelConstraints:r});return o?s:(Y(s,u)||W(a,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:l,layout:u,separatorToPanels:i}),u)}}}function V(e,t){const n=de(e),o=H(n.id,!0),r=n.separators.find(c=>c.element===e);P(r,"Matching separator not found");const a=o.separatorToPanels.get(r);P(a,"Matching panels not found");const l=a.map(c=>n.panels.indexOf(c)),s=nt({groupId:n.id}).getLayout(),i=ie({delta:t,initialLayout:s,panelConstraints:o.derivedPanelConstraints,pivotIndices:l,prevLayout:s,trigger:"keyboard"}),u=X({layout:i,panelConstraints:o.derivedPanelConstraints});Y(s,u)||W(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function Oe(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=de(t);if(!n.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),n.orientation==="vertical"&&V(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&V(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&V(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&V(t,-5);break}case"End":{e.preventDefault(),V(t,100);break}case"Enter":{e.preventDefault();const o=de(t),r=H(o.id,!0),{derivedPanelConstraints:a,layout:l,separatorToPanels:s}=r,i=o.separators.find(d=>d.element===t);P(i,"Matching separator not found");const u=s.get(i);P(u,"Matching panels not found");const c=u[0],h=a.find(d=>d.panelId===c.id);if(P(h,"Panel metadata not found"),h.collapsible){const d=l[c.id],S=h.collapsedSize===d?o.mutableState.expandedPanelSizes[c.id]??h.minSize:h.collapsedSize;V(t,S-d)}break}case"F6":{e.preventDefault();const o=de(t).separators.map(l=>l.element),r=Array.from(o).findIndex(l=>l===e.currentTarget);P(r!==null,"Index not found");const a=e.shiftKey?r>0?r-1:o.length-1:r+1<o.length?r+1:0;o[a].focus({preventScroll:!0});break}case"Home":{e.preventDefault(),V(t,-100);break}}}function Fe(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=_(),n=ze(e,t),o=new Map;let r=!1;n.forEach(a=>{a.separator&&(r||(r=!0,a.separator.element.focus({focusVisible:!1,preventScroll:!0})));const l=t.get(a.group);l&&o.set(a.group,l.layout)}),ee({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function ot({document:e,event:t,hitRegions:n,initialLayoutMap:o,mountedGroups:r,pointerDownAtPoint:a,prevCursorFlags:l}){let s=0;n.forEach(u=>{const{group:c,groupSize:h}=u,{orientation:d,panels:S}=c,{disableCursor:m}=c.mutableState;let f=0;a?d==="horizontal"?f=(t.clientX-a.x)/h*100:f=(t.clientY-a.y)/h*100:d==="horizontal"?f=t.clientX<0?-100:100:f=t.clientY<0?-100:100;const g=o.get(c),p=r.get(c);if(!g||!p)return;const{defaultLayoutDeferred:y,derivedPanelConstraints:z,groupSize:b,layout:v,separatorToPanels:R}=p;if(z&&v&&R){const E=ie({delta:f,initialLayout:g,panelConstraints:z,pivotIndices:u.panels.map(M=>S.indexOf(M)),prevLayout:v,trigger:"mouse-or-touch"});if(Y(E,v)){if(f!==0&&!m)switch(d){case"horizontal":{s|=f<0?_e:Je;break}case"vertical":{s|=f<0?qe:Ke;break}}}else W(u.group,{defaultLayoutDeferred:y,derivedPanelConstraints:z,groupSize:b,layout:E,separatorToPanels:R})}});let i=0;t.movementX===0?i|=l&Le:i|=s&Le,t.movementY===0?i|=l&Re:i|=s&Re,xt(i),be(e)}function Ae(e){const t=_(),n=U();n.state==="active"&&ot({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}function Ge(e){if(e.defaultPrevented)return;const t=U(),n=_();switch(t.state){case"active":{if(e.buttons===0){ee({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(o=>{const r=H(o.group.id,!0);W(o.group,r,{isUserInteraction:!0})});return}for(const o of t.hitRegions)if(o.separator){const{element:r}=o.separator;r.hasPointerCapture?.(e.pointerId)||r.setPointerCapture?.(e.pointerId)}ot({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const o=ze(e,n);o.length===0?t.state!=="inactive"&&ee({cursorFlags:0,state:"inactive"}):ee({cursorFlags:0,hitRegions:o,state:"hover"}),be(e.currentTarget);break}}}function $e(e){e.relatedTarget instanceof HTMLIFrameElement&&U().state==="hover"&&ee({cursorFlags:0,state:"inactive"})}function Be(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||Qe(e.currentTarget)&&e.preventDefault()}function We(e){let t=0,n=0;const o={};for(const a of e)if(a.defaultSize!==void 0){t++;const l=T(a.defaultSize);n+=l,o[a.panelId]=l}else o[a.panelId]=void 0;const r=e.length-t;if(r!==0){const a=T((100-n)/r);for(const l of e)l.defaultSize===void 0&&(o[l.panelId]=a)}return o}function Ot(e,t,n){if(!n[0])return;const o=e.panels.find(i=>i.element===t);if(!o||!o.onResize)return;const r=te({group:e}),a=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,l=o.mutableValues.prevSize,s={asPercentage:T(a/r*100),inPixels:a};o.mutableValues.prevSize=s,o.onResize(s,o.id,l)}function Ft(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function At({group:e,nextGroupSize:t,prevGroupSize:n,prevLayout:o}){if(n<=0||t<=0||n===t)return o;let r=0,a=0,l=!1;const s=new Map,i=[];for(const h of e.panels){const d=o[h.id]??0;if(h.panelConstraints.groupResizeBehavior==="preserve-pixel-size"){l=!0;const S=d/100*n,m=T(S/t*100);s.set(h.id,m),r+=m}else i.push(h.id),a+=d}if(!l||i.length===0)return o;const u=100-r,c={...o};if(s.forEach((h,d)=>{c[d]=h}),a>0)for(const h of i){const d=o[h]??0;c[h]=T(d/a*u)}else{const h=T(u/i.length);for(const d of i)c[d]=h}return c}function Gt(e,t){const n=e.map(r=>r.id),o=Object.keys(t);if(n.length!==o.length)return!1;for(const r of n)if(!o.includes(r))return!1;return!0}const K=new Map;function $t(e){let t=!0;P(e.element.ownerDocument.defaultView,"Cannot register an unmounted Group");const n=e.element.ownerDocument.defaultView.ResizeObserver,o=new Set,r=new Set,a=new n(m=>{for(const f of m){const{borderBoxSize:g,target:p}=f;if(p===e.element){if(t){const y=te({group:e});if(y===0)return;const z=H(e.id);if(!z)return;const b=he(e),v=z.defaultLayoutDeferred?We(b):z.layout,R=At({group:e,nextGroupSize:y,prevGroupSize:z.groupSize,prevLayout:v}),E=X({layout:R,panelConstraints:b});if(!z.defaultLayoutDeferred&&Y(z.layout,E)&&Ft(z.derivedPanelConstraints,b)&&z.groupSize===y)return;W(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:b,groupSize:y,layout:E,separatorToPanels:z.separatorToPanels})}}else Ot(e,p,g)}});a.observe(e.element),e.panels.forEach(m=>{P(!o.has(m.id),`Panel ids must be unique; id "${m.id}" was used more than once`),o.add(m.id),m.onResize&&a.observe(m.element)});const l=te({group:e}),s=he(e),i=e.panels.map(({id:m})=>m).join(",");let u=e.mutableState.defaultLayout;u&&(Gt(e.panels,u)||(u=void 0));const c=e.mutableState.layouts[i]??u??We(s),h=X({layout:c,panelConstraints:s}),d=e.element.ownerDocument;K.set(d,(K.get(d)??0)+1);const S=new Map;return Ye(e).forEach(m=>{m.separator&&S.set(m.separator,m.panels)}),W(e,{defaultLayoutDeferred:l===0,derivedPanelConstraints:s,groupSize:l,layout:h,separatorToPanels:S}),e.separators.forEach(m=>{P(!r.has(m.id),`Separator ids must be unique; id "${m.id}" was used more than once`),r.add(m.id),m.element.addEventListener("keydown",Oe)}),K.get(d)===1&&(d.addEventListener("contextmenu",De,!0),d.addEventListener("dblclick",je,!0),d.addEventListener("pointerdown",Fe,!0),d.addEventListener("pointerleave",Ae),d.addEventListener("pointermove",Ge),d.addEventListener("pointerout",$e),d.addEventListener("pointerup",Be,!0)),function(){t=!1,K.set(d,Math.max(0,(K.get(d)??0)-1)),Lt(e),e.separators.forEach(m=>{m.element.removeEventListener("keydown",Oe)}),K.get(d)||(d.removeEventListener("contextmenu",De,!0),d.removeEventListener("dblclick",je,!0),d.removeEventListener("pointerdown",Fe,!0),d.removeEventListener("pointerleave",Ae),d.removeEventListener("pointermove",Ge),d.removeEventListener("pointerout",$e),d.removeEventListener("pointerup",Be,!0)),a.disconnect()}}function Bt(){const[e,t]=L.useState({}),n=L.useCallback(()=>t({}),[]);return[e,n]}function Se(e){const t=L.useId();return`${e??t}`}const J=typeof window<"u"?L.useLayoutEffect:L.useEffect;function ae(e){const t=L.useRef(e);return J(()=>{t.current=e},[e]),L.useCallback((...n)=>t.current?.(...n),[t])}function we(...e){return ae(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function xe(e){const t=L.useRef({...e});return J(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const rt=L.createContext(null);function Wt(e,t){const n=L.useRef({getLayout:()=>({}),setLayout:Ct});L.useImperativeHandle(t,()=>n.current,[]),J(()=>{Object.assign(n.current,nt({groupId:e}))})}function at({children:e,className:t,defaultLayout:n,disableCursor:o,disabled:r,elementRef:a,groupRef:l,id:s,onLayoutChange:i,onLayoutChanged:u,orientation:c="horizontal",resizeTargetMinimumSize:h={coarse:20,fine:10},style:d,...S}){const m=L.useRef({onLayoutChange:{},onLayoutChanged:{}}),f=ae(w=>{Y(m.current.onLayoutChange,w)||(m.current.onLayoutChange=w,i?.(w))}),g=ae((w,x)=>{Y(m.current.onLayoutChanged,w)||(m.current.onLayoutChanged=w,u?.(w,{isUserInteraction:x}))}),p=Se(s),y=L.useRef(null),[z,b]=Bt(),v=L.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:h,separators:[]}),R=we(y,a);Wt(p,l);const E=ae((w,x)=>{const k=U(),C=Me(w),D=H(w);if(D){let N=!1;return k.state==="active"&&(N=k.hitRegions.some(ne=>ne.group===C)),{flexGrow:D.layout[x]??1,pointerEvents:N?"none":void 0}}if(n?.[x])return{flexGrow:n?.[x]}}),M=xe({defaultLayout:n,disableCursor:o}),j=L.useMemo(()=>({get disableCursor(){return!!M.disableCursor},getPanelStyles:E,id:p,orientation:c,registerPanel:w=>{const x=v.current;return x.panels=ge(c,[...x.panels,w]),b(),()=>{x.panels=x.panels.filter(k=>k!==w),b()}},registerSeparator:w=>{const x=v.current;return x.separators=ge(c,[...x.separators,w]),b(),()=>{x.separators=x.separators.filter(k=>k!==w),b()}},updatePanelProps:(w,{disabled:x})=>{const k=v.current.panels.find(N=>N.id===w);k&&(k.panelConstraints.disabled=x);const C=Me(p),D=H(p);C&&D&&W(C,{...D,derivedPanelConstraints:he(C)})},updateSeparatorProps:(w,{disabled:x,disableDoubleClick:k})=>{const C=v.current.separators.find(D=>D.id===w);C&&(C.disabled=x,C.disableDoubleClick=k)}}),[E,p,b,c,M]),G=L.useRef(null);return J(()=>{const w=y.current;if(w===null)return;const x=v.current;let k;if(M.defaultLayout!==void 0&&Object.keys(M.defaultLayout).length===x.panels.length){k={};for(const $ of x.panels){const q=M.defaultLayout[$.id];q!==void 0&&(k[$.id]=q)}}const C={disabled:!!r,element:w,id:p,mutableState:{defaultLayout:k,disableCursor:!!M.disableCursor,expandedPanelSizes:v.current.lastExpandedPanelSizes,layouts:v.current.layouts},orientation:c,panels:x.panels,resizeTargetMinimumSize:x.resizeTargetMinimumSize,separators:x.separators};G.current=C;const D=$t(C),{defaultLayoutDeferred:N,derivedPanelConstraints:ne,layout:se}=H(C.id,!0);!N&&ne.length>0&&(f(se),g(se,!1));const oe=ye(p,$=>{const{defaultLayoutDeferred:q,derivedPanelConstraints:Pe,layout:le}=$.next;if(q||Pe.length===0)return;const lt=C.panels.map(({id:B})=>B).join(",");C.mutableState.layouts[lt]=le,Pe.forEach(B=>{if(B.collapsible){const{layout:fe}=$.prev??{};if(fe){const ct=I(B.collapsedSize,le[B.panelId]),dt=I(B.collapsedSize,fe[B.panelId]);ct&&!dt&&(C.mutableState.expandedPanelSizes[B.panelId]=fe[B.panelId])}}});const ut=U().state!=="active";f(le),ut&&g(le,$.isUserInteraction)});return()=>{G.current=null,D(),oe()}},[r,p,g,f,c,z,M]),L.useEffect(()=>{const w=G.current;w&&(w.mutableState.defaultLayout=n,w.mutableState.disableCursor=!!o)}),A.jsx(rt.Provider,{value:j,children:A.jsx("div",{...S,className:t,"data-group":!0,"data-testid":p,id:p,ref:R,style:{height:"100%",width:"100%",overflow:"hidden",...d,display:"flex",flexDirection:c==="horizontal"?"row":"column",flexWrap:"nowrap",touchAction:c==="horizontal"?"pan-y":"pan-x"},children:e})})}at.displayName="Group";function Ce(){const e=L.useContext(rt);return P(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function Ht(e,t){const{id:n}=Ce(),o=L.useRef({collapse:pe,expand:pe,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:pe});L.useImperativeHandle(t,()=>o.current,[]),J(()=>{Object.assign(o.current,tt({groupId:n,panelId:e}))})}function it({children:e,className:t,collapsedSize:n="0%",collapsible:o=!1,defaultSize:r,disabled:a,elementRef:l,groupResizeBehavior:s="preserve-relative-size",id:i,maxSize:u="100%",minSize:c="0%",onResize:h,panelRef:d,style:S,...m}){const f=!!i,g=Se(i),p=xe({disabled:a}),y=L.useRef(null),z=we(y,l),{getPanelStyles:b,id:v,orientation:R,registerPanel:E,updatePanelProps:M}=Ce(),j=h!==null,G=ae((C,D,N)=>{h?.(C,i,N)});J(()=>{const C=y.current;if(C!==null){const D={element:C,id:g,idIsStable:f,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:j?G:void 0,panelConstraints:{groupResizeBehavior:s,collapsedSize:n,collapsible:o,defaultSize:r,disabled:p.disabled,maxSize:u,minSize:c}};return E(D)}},[s,n,o,r,j,g,f,u,c,G,E,p]),L.useEffect(()=>{M(g,{disabled:a})},[a,g,M]),Ht(g,d);const w=()=>{const C=b(v,g);if(C)return JSON.stringify(C)},x=L.useSyncExternalStore(C=>ye(v,C),w,w);let k;return x?k=JSON.parse(x):r!==void 0?k={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:k={flexGrow:1},A.jsx("div",{...m,"data-disabled":a||void 0,"data-panel":!0,"data-testid":g,id:g,ref:z,style:{...Vt,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...k},children:A.jsx("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...S,touchAction:R==="horizontal"?"pan-y":"pan-x"},children:e})})}it.displayName="Panel";const Vt={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function Ut({layout:e,panelConstraints:t,panelId:n,panelIndex:o}){let r,a;const l=e[n],s=t.find(i=>i.panelId===n);if(s){const i=s.maxSize,u=s.collapsible?s.collapsedSize:s.minSize,c=[o,o+1];a=X({layout:ie({delta:u-l,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n],r=X({layout:ie({delta:i-l,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:a,valueNow:l}}function st({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:a,style:l,...s}){const i=Se(a),u=xe({disabled:n,disableDoubleClick:o}),[c,h]=L.useState({}),[d,S]=L.useState("inactive"),[m,f]=L.useState(!1),g=L.useRef(null),p=we(g,r),{disableCursor:y,id:z,orientation:b,registerSeparator:v,updateSeparatorProps:R}=Ce(),E=b==="horizontal"?"vertical":"horizontal";J(()=>{const G=g.current;if(G!==null){const w={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:G,id:i},x=v(w),k=wt(D=>{S(D.next.state!=="inactive"&&D.next.hitRegions.some(N=>N.separator===w)?D.next.state:"inactive")}),C=ye(z,D=>{const{derivedPanelConstraints:N,layout:ne,separatorToPanels:se}=D.next,oe=se.get(w);if(oe){const $=oe[0],q=oe.indexOf($);h(Ut({layout:ne,panelConstraints:N,panelId:$.id,panelIndex:q}))}});return()=>{k(),C(),x()}}},[z,i,v,u]),L.useEffect(()=>{R(i,{disabled:n,disableDoubleClick:o})},[n,o,i,R]);let M;n&&!y&&(M="not-allowed");let j;return n?j="disabled":d==="active"?j="active":m?j="focus":j=d,A.jsx("div",{...s,"aria-controls":c.valueControls,"aria-disabled":n||void 0,"aria-orientation":E,"aria-valuemax":c.valueMax,"aria-valuemin":c.valueMin,"aria-valuenow":c.valueNow,children:e,className:t,"data-separator":j,"data-testid":i,id:i,onBlur:()=>f(!1),onFocus:()=>f(!0),ref:p,role:"separator",style:{flexBasis:"auto",cursor:M,...l,flexGrow:0,flexShrink:0,touchAction:"none"},tabIndex:n?void 0:0})}st.displayName="Separator";function _t(e){const t=ve.c(10);let n,o,r;t[0]!==e?({className:n,ref:r,...o}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==n?(a=He("flex h-full w-full",n),t[4]=n,t[5]=a):a=t[5];let l;return t[6]!==o||t[7]!==r||t[8]!==a?(l=A.jsx(at,{groupRef:r,"data-slot":"resizable-panel-group",className:a,...o}),t[6]=o,t[7]=r,t[8]=a,t[9]=l):l=t[9],l}function Jt(e){const t=ve.c(10);let n,o,r;t[0]!==e?({ref:o,style:r,...n}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==r?(a={overflow:"hidden",...r},t[4]=r,t[5]=a):a=t[5];let l;return t[6]!==n||t[7]!==o||t[8]!==a?(l=A.jsx(it,{panelRef:o,"data-slot":"resizable-panel",style:a,...n}),t[6]=n,t[7]=o,t[8]=a,t[9]=l):l=t[9],l}function qt(e){const t=ve.c(12);let n,o,r;t[0]!==e?({withHandle:r,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==n?(a=He("bg-border relative flex w-[0.5px] items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90",n),t[4]=n,t[5]=a):a=t[5];let l;t[6]!==r?(l=r&&A.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:A.jsx(ft,{className:"size-2.5"})}),t[6]=r,t[7]=l):l=t[7];let s;return t[8]!==o||t[9]!==a||t[10]!==l?(s=A.jsx(st,{"data-slot":"resizable-handle",className:a,...o,children:l}),t[8]=o,t[9]=a,t[10]=l,t[11]=s):s=t[11],s}export{_t as R,Jt as a,qt as b};
|
|
1
|
+
import{r as L,j as A,c as ve,l as He}from"./index-BijXK1UR.js";import{ao as ft}from"./agent-icon-DCY-DFu1.js";function pt(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function ht(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function gt(e){return e/100*window.innerHeight}function vt(e){return e/100*window.innerWidth}function mt(e){switch(typeof e){case"number":return[e,"px"];case"string":{const t=parseFloat(e);return e.endsWith("%")?[t,"%"]:e.endsWith("px")?[t,"px"]:e.endsWith("rem")?[t,"rem"]:e.endsWith("em")?[t,"em"]:e.endsWith("vh")?[t,"vh"]:e.endsWith("vw")?[t,"vw"]:[t,"%"]}}}function re({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,a]=mt(n);switch(a){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=ht(t,r);break}case"em":{o=pt(t,r);break}case"vh":{o=gt(r);break}case"vw":{o=vt(r);break}}return o}function T(e){return parseFloat(e.toFixed(3))}function te({group:e}){const{orientation:t,panels:n}=e;return n.reduce((o,r)=>(o+=t==="horizontal"?r.element.offsetWidth:r.element.offsetHeight,o),0)}function he(e){const{panels:t}=e,n=te({group:e});return n===0?t.map(o=>({groupResizeBehavior:o.panelConstraints.groupResizeBehavior,collapsedSize:0,collapsible:o.panelConstraints.collapsible===!0,defaultSize:void 0,disabled:o.panelConstraints.disabled,minSize:0,maxSize:100,panelId:o.id})):t.map(o=>{const{element:r,panelConstraints:a}=o;let l=0;if(a.collapsedSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.collapsedSize});l=T(c/n*100)}let s;if(a.defaultSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.defaultSize});s=T(c/n*100)}let i=0;if(a.minSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.minSize});i=T(c/n*100)}let u=100;if(a.maxSize!==void 0){const c=re({groupSize:n,panelElement:r,styleProp:a.maxSize});u=T(c/n*100)}return{groupResizeBehavior:a.groupResizeBehavior,collapsedSize:l,collapsible:a.collapsible===!0,defaultSize:s,disabled:a.disabled,minSize:i,maxSize:u,panelId:o.id}})}function P(e,t="Assertion error"){if(!e)throw Error(t)}function ge(e,t){return Array.from(t).sort(e==="horizontal"?bt:yt)}function bt(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function yt(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function Ve(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Ue(e,t){return{x:e.x>=t.left&&e.x<=t.right?0:Math.min(Math.abs(e.x-t.left),Math.abs(e.x-t.right)),y:e.y>=t.top&&e.y<=t.bottom?0:Math.min(Math.abs(e.y-t.top),Math.abs(e.y-t.bottom))}}function zt({orientation:e,rects:t,targetRect:n}){const o={x:n.x+n.width/2,y:n.y+n.height/2};let r,a=Number.MAX_VALUE;for(const l of t){const{x:s,y:i}=Ue(o,l),u=e==="horizontal"?s:i;u<a&&(a=u,r=l)}return P(r,"No rect found"),r}let ue;function St(){return ue===void 0&&(typeof matchMedia=="function"?ue=!!matchMedia("(pointer:coarse)").matches:ue=!1),ue}function Ye(e){const{element:t,orientation:n,panels:o,separators:r}=e,a=ge(n,Array.from(t.children).filter(Ve).map(m=>({element:m}))).map(({element:m})=>m),l=[];let s=!1,i=!1,u=-1,c=-1,h=0,d,S=[];{let m=-1;for(const f of a)f.hasAttribute("data-panel")&&(m++,f.hasAttribute("data-disabled")||(h++,u===-1&&(u=m),c=m))}if(h>1){let m=-1;for(const f of a)if(f.hasAttribute("data-panel")){m++;const g=o.find(p=>p.element===f);if(g){if(d){const p=d.element.getBoundingClientRect(),y=f.getBoundingClientRect();let z;if(i){const b=n==="horizontal"?new DOMRect(p.right,p.top,0,p.height):new DOMRect(p.left,p.bottom,p.width,0),v=n==="horizontal"?new DOMRect(y.left,y.top,0,y.height):new DOMRect(y.left,y.top,y.width,0);switch(S.length){case 0:{z=[b,v];break}case 1:{const R=S[0],E=zt({orientation:n,rects:[p,y],targetRect:R.element.getBoundingClientRect()});z=[R,E===p?v:b];break}default:{z=S;break}}}else S.length?z=S:z=[n==="horizontal"?new DOMRect(p.right,y.top,y.left-p.right,y.height):new DOMRect(y.left,p.bottom,y.width,y.top-p.bottom)];for(const b of z){let v="width"in b?b:b.element.getBoundingClientRect();const R=St()?e.resizeTargetMinimumSize.coarse:e.resizeTargetMinimumSize.fine;if(v.width<R){const M=R-v.width;v=new DOMRect(v.x-M/2,v.y,v.width+M,v.height)}if(v.height<R){const M=R-v.height;v=new DOMRect(v.x,v.y-M/2,v.width,v.height+M)}const E=m<=u||m>c;!s&&!E&&l.push({group:e,groupSize:te({group:e}),panels:[d,g],separator:"width"in b?void 0:b,rect:v}),s=!1}}i=!1,d=g,S=[]}}else if(f.hasAttribute("data-separator")){f.ariaDisabled!==null&&(s=!0);const g=r.find(p=>p.element===f);g?S.push(g):(d=void 0,S=[])}else i=!0}return l}class Xe{#e={};addListener(t,n){const o=this.#e[t];return o===void 0?this.#e[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=this.#e[t];if(o!==void 0)if(o.length===1)o[0].call(null,n);else{let r=!1,a=null;const l=Array.from(o);for(let s=0;s<l.length;s++){const i=l[s];try{i.call(null,n)}catch(u){a===null&&(r=!0,a=u)}}if(r)throw a}}removeAllListeners(){this.#e={}}removeListener(t,n){const o=this.#e[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}let Q={cursorFlags:0,state:"inactive"};const me=new Xe;function U(){return Q}function wt(e){return me.addListener("change",e)}function xt(e){const t=Q,n={...Q};n.cursorFlags=e,Q=n,me.emit("change",{prev:t,next:n})}function ee(e){const t=Q;Q=e,me.emit("change",{prev:t,next:e})}const Ct=e=>e,pe=()=>{},_e=1,Je=2,qe=4,Ke=8,Le=3,Re=12;let ce;function Ee(){return ce===void 0&&(ce=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(ce=!0)),ce}function Pt({cursorFlags:e,groups:t,state:n}){let o=0,r=0;switch(n){case"active":case"hover":t.forEach(a=>{if(!a.mutableState.disableCursor)switch(a.orientation){case"horizontal":{o++;break}case"vertical":{r++;break}}})}if(!(o===0&&r===0)){switch(n){case"active":{if(e&&Ee()){const a=(e&_e)!==0,l=(e&Je)!==0,s=(e&qe)!==0,i=(e&Ke)!==0;if(a)return s?"se-resize":i?"ne-resize":"e-resize";if(l)return s?"sw-resize":i?"nw-resize":"w-resize";if(s)return"s-resize";if(i)return"n-resize"}break}}return Ee()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const ke=new WeakMap;function be(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=ke.get(e)??{};n===void 0&&(n=new e.defaultView.CSSStyleSheet,e.adoptedStyleSheets&&(Object.isExtensible(e.adoptedStyleSheets)?e.adoptedStyleSheets.push(n):e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]));const o=U();switch(o.state){case"active":case"hover":{const r=Pt({cursorFlags:o.cursorFlags,groups:o.hitRegions.map(l=>l.group),state:o.state}),a=`*, *:hover {cursor: ${r} !important; }`;if(t===a)return;t=a,r?n.cssRules.length===0?n.insertRule(a):n.replaceSync(a):n.cssRules.length===1&&n.deleteRule(0);break}case"inactive":{t=void 0,n.cssRules.length===1&&n.deleteRule(0);break}}ke.set(e,{prevStyle:t,styleSheet:n})}let F=new Map;const Ze=new Xe;function Lt(e){F=new Map(F),F.delete(e)}function Me(e,t){for(const[n]of F)if(n.id===e)return n}function H(e,t){for(const[n,o]of F)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function _(){return F}function ye(e,t){return Ze.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function W(e,t,n){const o=F.get(e);F=new Map(F),F.set(e,t),Ze.emit("groupChange",{group:e,isUserInteraction:n?.isUserInteraction===!0,prev:o,next:t})}function Qe(e){const t=U();let n=!1;return t.state==="active"&&(ee({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(be(e),n=!0,t.hitRegions.forEach(o=>{const r=H(o.group.id,!0);W(o.group,r,{isUserInteraction:!0})}))),n}function De(e){e.defaultPrevented||Qe(e.currentTarget)}function Rt(e,t,n){let o,r={x:1/0,y:1/0};for(const a of t){const l=Ue(n,a.rect);switch(e){case"horizontal":{l.x<=r.x&&(o=a,r=l);break}case"vertical":{l.y<=r.y&&(o=a,r=l);break}}}return o?{distance:r,hitRegion:o}:void 0}function Et(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function kt(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:Ne(e),b:Ne(t)};let o;for(;n.a.at(-1)===n.b.at(-1);)o=n.a.pop(),n.b.pop();P(o,"Stacking order can only be calculated for elements with a common ancestor");const r={a:Te(Ie(n.a)),b:Te(Ie(n.b))};if(r.a===r.b){const a=o.childNodes,l={a:n.a.at(-1),b:n.b.at(-1)};let s=a.length;for(;s--;){const i=a[s];if(i===l.a)return 1;if(i===l.b)return-1}}return Math.sign(r.a-r.b)}const Mt=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function Dt(e){const t=getComputedStyle(et(e)??e).display;return t==="flex"||t==="inline-flex"}function It(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||Dt(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||Mt.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function Ie(e){let t=e.length;for(;t--;){const n=e[t];if(P(n,"Missing node"),It(n))return n}return null}function Te(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Ne(e){const t=[];for(;e;)t.push(e),e=et(e);return t}function et(e){const{parentNode:t}=e;return Et(t)?t.host:t}function Tt(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function Nt({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Ve(n)||n.contains(e)||e.contains(n))return!0;if(kt(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(Tt(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function ze(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const a=Ye(r),l=Rt(r.orientation,a,{x:e.clientX,y:e.clientY});l&&l.distance.x<=0&&l.distance.y<=0&&Nt({groupElement:r.element,hitRegion:l.hitRegion.rect,pointerEventTarget:e.target})&&n.push(l.hitRegion)}),n}function jt(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function I(e,t,n=0){return Math.abs(T(e)-T(t))<=n}function O(e,t){return I(e,t)?0:e>t?1:-1}function Z({overrideDisabledPanels:e,panelConstraints:t,prevSize:n,size:o}){const{collapsedSize:r=0,collapsible:a,disabled:l,maxSize:s=100,minSize:i=0}=t;if(l&&!e)return n;if(O(o,i)<0)if(a){const u=(r+i)/2;O(o,u)<0?o=r:o=i}else o=i;return o=Math.min(s,o),o=T(o),o}function ie({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:o,prevLayout:r,trigger:a}){if(I(e,0))return t;const l=a==="imperative-api",s=Object.values(t),i=Object.values(r),u=[...s],[c,h]=o;P(c!=null,"Invalid first pivot index"),P(h!=null,"Invalid second pivot index");let d=0;switch(a){case"keyboard":{{const f=e<0?h:c,g=n[f];P(g,`Panel constraints not found for index ${f}`);const{collapsedSize:p=0,collapsible:y,minSize:z=0}=g;if(y){const b=s[f];if(P(b!=null,`Previous layout not found for panel index ${f}`),I(b,p)){const v=z-b;O(v,Math.abs(e))>0&&(e=e<0?0-v:v)}}}{const f=e<0?c:h,g=n[f];P(g,`No panel constraints found for index ${f}`);const{collapsedSize:p=0,collapsible:y,minSize:z=0}=g;if(y){const b=s[f];if(P(b!=null,`Previous layout not found for panel index ${f}`),I(b,z)){const v=b-p;O(v,Math.abs(e))>0&&(e=e<0?0-v:v)}}}break}default:{const f=e<0?h:c,g=n[f];P(g,`Panel constraints not found for index ${f}`);const p=s[f],{collapsible:y,collapsedSize:z,minSize:b}=g;if(y&&O(p,b)<0)if(e>0){const v=b-z,R=v/2,E=p+e;O(E,b)<0&&(e=O(e,R)<=0?0:v)}else{const v=b-z,R=100-v/2,E=p-e;O(E,b)<0&&(e=O(100+e,R)>0?0:-v)}break}}{const f=e<0?1:-1;let g=e<0?h:c,p=0;for(;;){const z=s[g];P(z!=null,`Previous layout not found for panel index ${g}`);const b=Z({overrideDisabledPanels:l,panelConstraints:n[g],prevSize:z,size:100})-z;if(p+=b,g+=f,g<0||g>=n.length)break}const y=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-y:y}{let f=e<0?c:h;for(;f>=0&&f<n.length;){const g=Math.abs(e)-Math.abs(d),p=s[f];P(p!=null,`Previous layout not found for panel index ${f}`);const y=p-g,z=Z({overrideDisabledPanels:l,panelConstraints:n[f],prevSize:p,size:y});if(!I(p,z)&&(d+=p-z,u[f]=z,d.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?f--:f++}}if(jt(i,u))return r;{const f=e<0?h:c,g=s[f];P(g!=null,`Previous layout not found for panel index ${f}`);const p=g+d,y=Z({overrideDisabledPanels:l,panelConstraints:n[f],prevSize:g,size:p});if(u[f]=y,!I(y,p)){let z=p-y,b=e<0?h:c;for(;b>=0&&b<n.length;){const v=u[b];P(v!=null,`Previous layout not found for panel index ${b}`);const R=v+z,E=Z({overrideDisabledPanels:l,panelConstraints:n[b],prevSize:v,size:R});if(I(v,E)||(z-=E-v,u[b]=E),I(z,0))break;e>0?b--:b++}}}const S=Object.values(u).reduce((f,g)=>g+f,0);if(!I(S,100,.1))return r;const m=Object.keys(r);return u.reduce((f,g,p)=>(f[m[p]]=g,f),{})}function Y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||O(e[n],t[n])!==0)return!1;return!0}function X({layout:e,panelConstraints:t}){const n=Object.values(e),o=[...n],r=o.reduce((s,i)=>s+i,0);if(o.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${o.map(s=>`${s}%`).join(", ")}`);if(!I(r,100)&&o.length>0)for(let s=0;s<t.length;s++){const i=o[s];P(i!=null,`No layout data found for index ${s}`);const u=100/r*i;o[s]=u}let a=0;for(let s=0;s<t.length;s++){const i=n[s];P(i!=null,`No layout data found for index ${s}`);const u=o[s];P(u!=null,`No layout data found for index ${s}`);const c=Z({overrideDisabledPanels:!0,panelConstraints:t[s],prevSize:i,size:u});u!=c&&(a+=u-c,o[s]=c)}if(!I(a,0))for(let s=0;s<t.length;s++){const i=o[s];P(i!=null,`No layout data found for index ${s}`);const u=i+a,c=Z({overrideDisabledPanels:!0,panelConstraints:t[s],prevSize:i,size:u});if(i!==c&&(a-=c-i,o[s]=c,I(a,0)))break}const l=Object.keys(e);return o.reduce((s,i,u)=>(s[l[u]]=i,s),{})}function tt({groupId:e,panelId:t}){const n=()=>{const i=_();for(const[u,{defaultLayoutDeferred:c,derivedPanelConstraints:h,layout:d,groupSize:S,separatorToPanels:m}]of i)if(u.id===e)return{defaultLayoutDeferred:c,derivedPanelConstraints:h,group:u,groupSize:S,layout:d,separatorToPanels:m};throw Error(`Group ${e} not found`)},o=()=>{const i=n().derivedPanelConstraints.find(u=>u.panelId===t);if(i!==void 0)return i;throw Error(`Panel constraints not found for Panel ${t}`)},r=()=>{const i=n().group.panels.find(u=>u.id===t);if(i!==void 0)return i;throw Error(`Layout not found for Panel ${t}`)},a=()=>{const i=n().layout[t];if(i!==void 0)return i;throw Error(`Layout not found for Panel ${t}`)},l=({nextSize:i,panels:u,prevLayout:c,derivedPanelConstraints:h})=>{const d=a(),S=u.findIndex(g=>g.id===t),m=S===0,f=S===u.length-1;if(f&&i<d&&(m||u.slice(0,S).every((g,p)=>{const y=h[p];return y?.collapsible&&I(y.collapsedSize,c[y.panelId])}))){const g=u.slice(0,S).reduce((p,y)=>p+c[y.id],0);return{...c,[t]:T(100-g)}}return ie({delta:f?d-i:i-d,initialLayout:c,panelConstraints:h,pivotIndices:f?[S-1,S]:[S,S+1],prevLayout:c,trigger:"imperative-api"})},s=i=>{const u=a();if(i===u)return;const{defaultLayoutDeferred:c,derivedPanelConstraints:h,group:d,groupSize:S,layout:m,separatorToPanels:f}=n(),g=l({nextSize:i,panels:d.panels,prevLayout:m,derivedPanelConstraints:h}),p=X({layout:g,panelConstraints:h});Y(m,p)||W(d,{defaultLayoutDeferred:c,derivedPanelConstraints:h,groupSize:S,layout:p,separatorToPanels:f})};return{collapse:()=>{const{collapsible:i,collapsedSize:u}=o(),{mutableValues:c}=r(),h=a();i&&h!==u&&(c.expandToSize=h,s(u))},expand:()=>{const{collapsible:i,collapsedSize:u,minSize:c}=o(),{mutableValues:h}=r(),d=a();if(i&&d===u){let S=h.expandToSize??c;S===0&&(S=1),s(S)}},getSize:()=>{const{group:i}=n(),u=a(),{element:c}=r(),h=i.orientation==="horizontal"?c.offsetWidth:c.offsetHeight;return{asPercentage:u,inPixels:h}},isCollapsed:()=>{const{collapsible:i,collapsedSize:u}=o(),c=a();return i&&I(u,c)},resize:i=>{const{group:u}=n(),{element:c}=r(),h=te({group:u}),d=re({groupSize:h,panelElement:c,styleProp:i}),S=T(d/h*100);s(S)}}}function je(e){if(e.defaultPrevented)return;const t=_();ze(e,t).forEach(n=>{if(n.separator&&!n.separator.disableDoubleClick){const o=n.panels.find(r=>r.panelConstraints.defaultSize!==void 0);if(o){const r=o.panelConstraints.defaultSize,a=tt({groupId:n.group.id,panelId:o.id});a&&r!==void 0&&(a.resize(r),e.preventDefault())}}})}function de(e){const t=_();for(const[n]of t)if(n.separators.some(o=>o.element===e))return n;throw Error("Could not find parent Group for separator element")}function nt({groupId:e}){const t=()=>{const n=_();for(const[o,r]of n)if(o.id===e)return{group:o,...r};throw Error(`Could not find Group with id "${e}"`)};return{getLayout(){const{defaultLayoutDeferred:n,layout:o}=t();return n?{}:o},setLayout(n){const{defaultLayoutDeferred:o,derivedPanelConstraints:r,group:a,groupSize:l,layout:s,separatorToPanels:i}=t(),u=X({layout:n,panelConstraints:r});return o?s:(Y(s,u)||W(a,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:l,layout:u,separatorToPanels:i}),u)}}}function V(e,t){const n=de(e),o=H(n.id,!0),r=n.separators.find(c=>c.element===e);P(r,"Matching separator not found");const a=o.separatorToPanels.get(r);P(a,"Matching panels not found");const l=a.map(c=>n.panels.indexOf(c)),s=nt({groupId:n.id}).getLayout(),i=ie({delta:t,initialLayout:s,panelConstraints:o.derivedPanelConstraints,pivotIndices:l,prevLayout:s,trigger:"keyboard"}),u=X({layout:i,panelConstraints:o.derivedPanelConstraints});Y(s,u)||W(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function Oe(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=de(t);if(!n.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),n.orientation==="vertical"&&V(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&V(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&V(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&V(t,-5);break}case"End":{e.preventDefault(),V(t,100);break}case"Enter":{e.preventDefault();const o=de(t),r=H(o.id,!0),{derivedPanelConstraints:a,layout:l,separatorToPanels:s}=r,i=o.separators.find(d=>d.element===t);P(i,"Matching separator not found");const u=s.get(i);P(u,"Matching panels not found");const c=u[0],h=a.find(d=>d.panelId===c.id);if(P(h,"Panel metadata not found"),h.collapsible){const d=l[c.id],S=h.collapsedSize===d?o.mutableState.expandedPanelSizes[c.id]??h.minSize:h.collapsedSize;V(t,S-d)}break}case"F6":{e.preventDefault();const o=de(t).separators.map(l=>l.element),r=Array.from(o).findIndex(l=>l===e.currentTarget);P(r!==null,"Index not found");const a=e.shiftKey?r>0?r-1:o.length-1:r+1<o.length?r+1:0;o[a].focus({preventScroll:!0});break}case"Home":{e.preventDefault(),V(t,-100);break}}}function Fe(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=_(),n=ze(e,t),o=new Map;let r=!1;n.forEach(a=>{a.separator&&(r||(r=!0,a.separator.element.focus({focusVisible:!1,preventScroll:!0})));const l=t.get(a.group);l&&o.set(a.group,l.layout)}),ee({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function ot({document:e,event:t,hitRegions:n,initialLayoutMap:o,mountedGroups:r,pointerDownAtPoint:a,prevCursorFlags:l}){let s=0;n.forEach(u=>{const{group:c,groupSize:h}=u,{orientation:d,panels:S}=c,{disableCursor:m}=c.mutableState;let f=0;a?d==="horizontal"?f=(t.clientX-a.x)/h*100:f=(t.clientY-a.y)/h*100:d==="horizontal"?f=t.clientX<0?-100:100:f=t.clientY<0?-100:100;const g=o.get(c),p=r.get(c);if(!g||!p)return;const{defaultLayoutDeferred:y,derivedPanelConstraints:z,groupSize:b,layout:v,separatorToPanels:R}=p;if(z&&v&&R){const E=ie({delta:f,initialLayout:g,panelConstraints:z,pivotIndices:u.panels.map(M=>S.indexOf(M)),prevLayout:v,trigger:"mouse-or-touch"});if(Y(E,v)){if(f!==0&&!m)switch(d){case"horizontal":{s|=f<0?_e:Je;break}case"vertical":{s|=f<0?qe:Ke;break}}}else W(u.group,{defaultLayoutDeferred:y,derivedPanelConstraints:z,groupSize:b,layout:E,separatorToPanels:R})}});let i=0;t.movementX===0?i|=l&Le:i|=s&Le,t.movementY===0?i|=l&Re:i|=s&Re,xt(i),be(e)}function Ae(e){const t=_(),n=U();n.state==="active"&&ot({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}function Ge(e){if(e.defaultPrevented)return;const t=U(),n=_();switch(t.state){case"active":{if(e.buttons===0){ee({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(o=>{const r=H(o.group.id,!0);W(o.group,r,{isUserInteraction:!0})});return}for(const o of t.hitRegions)if(o.separator){const{element:r}=o.separator;r.hasPointerCapture?.(e.pointerId)||r.setPointerCapture?.(e.pointerId)}ot({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const o=ze(e,n);o.length===0?t.state!=="inactive"&&ee({cursorFlags:0,state:"inactive"}):ee({cursorFlags:0,hitRegions:o,state:"hover"}),be(e.currentTarget);break}}}function $e(e){e.relatedTarget instanceof HTMLIFrameElement&&U().state==="hover"&&ee({cursorFlags:0,state:"inactive"})}function Be(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||Qe(e.currentTarget)&&e.preventDefault()}function We(e){let t=0,n=0;const o={};for(const a of e)if(a.defaultSize!==void 0){t++;const l=T(a.defaultSize);n+=l,o[a.panelId]=l}else o[a.panelId]=void 0;const r=e.length-t;if(r!==0){const a=T((100-n)/r);for(const l of e)l.defaultSize===void 0&&(o[l.panelId]=a)}return o}function Ot(e,t,n){if(!n[0])return;const o=e.panels.find(i=>i.element===t);if(!o||!o.onResize)return;const r=te({group:e}),a=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,l=o.mutableValues.prevSize,s={asPercentage:T(a/r*100),inPixels:a};o.mutableValues.prevSize=s,o.onResize(s,o.id,l)}function Ft(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function At({group:e,nextGroupSize:t,prevGroupSize:n,prevLayout:o}){if(n<=0||t<=0||n===t)return o;let r=0,a=0,l=!1;const s=new Map,i=[];for(const h of e.panels){const d=o[h.id]??0;if(h.panelConstraints.groupResizeBehavior==="preserve-pixel-size"){l=!0;const S=d/100*n,m=T(S/t*100);s.set(h.id,m),r+=m}else i.push(h.id),a+=d}if(!l||i.length===0)return o;const u=100-r,c={...o};if(s.forEach((h,d)=>{c[d]=h}),a>0)for(const h of i){const d=o[h]??0;c[h]=T(d/a*u)}else{const h=T(u/i.length);for(const d of i)c[d]=h}return c}function Gt(e,t){const n=e.map(r=>r.id),o=Object.keys(t);if(n.length!==o.length)return!1;for(const r of n)if(!o.includes(r))return!1;return!0}const K=new Map;function $t(e){let t=!0;P(e.element.ownerDocument.defaultView,"Cannot register an unmounted Group");const n=e.element.ownerDocument.defaultView.ResizeObserver,o=new Set,r=new Set,a=new n(m=>{for(const f of m){const{borderBoxSize:g,target:p}=f;if(p===e.element){if(t){const y=te({group:e});if(y===0)return;const z=H(e.id);if(!z)return;const b=he(e),v=z.defaultLayoutDeferred?We(b):z.layout,R=At({group:e,nextGroupSize:y,prevGroupSize:z.groupSize,prevLayout:v}),E=X({layout:R,panelConstraints:b});if(!z.defaultLayoutDeferred&&Y(z.layout,E)&&Ft(z.derivedPanelConstraints,b)&&z.groupSize===y)return;W(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:b,groupSize:y,layout:E,separatorToPanels:z.separatorToPanels})}}else Ot(e,p,g)}});a.observe(e.element),e.panels.forEach(m=>{P(!o.has(m.id),`Panel ids must be unique; id "${m.id}" was used more than once`),o.add(m.id),m.onResize&&a.observe(m.element)});const l=te({group:e}),s=he(e),i=e.panels.map(({id:m})=>m).join(",");let u=e.mutableState.defaultLayout;u&&(Gt(e.panels,u)||(u=void 0));const c=e.mutableState.layouts[i]??u??We(s),h=X({layout:c,panelConstraints:s}),d=e.element.ownerDocument;K.set(d,(K.get(d)??0)+1);const S=new Map;return Ye(e).forEach(m=>{m.separator&&S.set(m.separator,m.panels)}),W(e,{defaultLayoutDeferred:l===0,derivedPanelConstraints:s,groupSize:l,layout:h,separatorToPanels:S}),e.separators.forEach(m=>{P(!r.has(m.id),`Separator ids must be unique; id "${m.id}" was used more than once`),r.add(m.id),m.element.addEventListener("keydown",Oe)}),K.get(d)===1&&(d.addEventListener("contextmenu",De,!0),d.addEventListener("dblclick",je,!0),d.addEventListener("pointerdown",Fe,!0),d.addEventListener("pointerleave",Ae),d.addEventListener("pointermove",Ge),d.addEventListener("pointerout",$e),d.addEventListener("pointerup",Be,!0)),function(){t=!1,K.set(d,Math.max(0,(K.get(d)??0)-1)),Lt(e),e.separators.forEach(m=>{m.element.removeEventListener("keydown",Oe)}),K.get(d)||(d.removeEventListener("contextmenu",De,!0),d.removeEventListener("dblclick",je,!0),d.removeEventListener("pointerdown",Fe,!0),d.removeEventListener("pointerleave",Ae),d.removeEventListener("pointermove",Ge),d.removeEventListener("pointerout",$e),d.removeEventListener("pointerup",Be,!0)),a.disconnect()}}function Bt(){const[e,t]=L.useState({}),n=L.useCallback(()=>t({}),[]);return[e,n]}function Se(e){const t=L.useId();return`${e??t}`}const J=typeof window<"u"?L.useLayoutEffect:L.useEffect;function ae(e){const t=L.useRef(e);return J(()=>{t.current=e},[e]),L.useCallback((...n)=>t.current?.(...n),[t])}function we(...e){return ae(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function xe(e){const t=L.useRef({...e});return J(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const rt=L.createContext(null);function Wt(e,t){const n=L.useRef({getLayout:()=>({}),setLayout:Ct});L.useImperativeHandle(t,()=>n.current,[]),J(()=>{Object.assign(n.current,nt({groupId:e}))})}function at({children:e,className:t,defaultLayout:n,disableCursor:o,disabled:r,elementRef:a,groupRef:l,id:s,onLayoutChange:i,onLayoutChanged:u,orientation:c="horizontal",resizeTargetMinimumSize:h={coarse:20,fine:10},style:d,...S}){const m=L.useRef({onLayoutChange:{},onLayoutChanged:{}}),f=ae(w=>{Y(m.current.onLayoutChange,w)||(m.current.onLayoutChange=w,i?.(w))}),g=ae((w,x)=>{Y(m.current.onLayoutChanged,w)||(m.current.onLayoutChanged=w,u?.(w,{isUserInteraction:x}))}),p=Se(s),y=L.useRef(null),[z,b]=Bt(),v=L.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:h,separators:[]}),R=we(y,a);Wt(p,l);const E=ae((w,x)=>{const k=U(),C=Me(w),D=H(w);if(D){let N=!1;return k.state==="active"&&(N=k.hitRegions.some(ne=>ne.group===C)),{flexGrow:D.layout[x]??1,pointerEvents:N?"none":void 0}}if(n?.[x])return{flexGrow:n?.[x]}}),M=xe({defaultLayout:n,disableCursor:o}),j=L.useMemo(()=>({get disableCursor(){return!!M.disableCursor},getPanelStyles:E,id:p,orientation:c,registerPanel:w=>{const x=v.current;return x.panels=ge(c,[...x.panels,w]),b(),()=>{x.panels=x.panels.filter(k=>k!==w),b()}},registerSeparator:w=>{const x=v.current;return x.separators=ge(c,[...x.separators,w]),b(),()=>{x.separators=x.separators.filter(k=>k!==w),b()}},updatePanelProps:(w,{disabled:x})=>{const k=v.current.panels.find(N=>N.id===w);k&&(k.panelConstraints.disabled=x);const C=Me(p),D=H(p);C&&D&&W(C,{...D,derivedPanelConstraints:he(C)})},updateSeparatorProps:(w,{disabled:x,disableDoubleClick:k})=>{const C=v.current.separators.find(D=>D.id===w);C&&(C.disabled=x,C.disableDoubleClick=k)}}),[E,p,b,c,M]),G=L.useRef(null);return J(()=>{const w=y.current;if(w===null)return;const x=v.current;let k;if(M.defaultLayout!==void 0&&Object.keys(M.defaultLayout).length===x.panels.length){k={};for(const $ of x.panels){const q=M.defaultLayout[$.id];q!==void 0&&(k[$.id]=q)}}const C={disabled:!!r,element:w,id:p,mutableState:{defaultLayout:k,disableCursor:!!M.disableCursor,expandedPanelSizes:v.current.lastExpandedPanelSizes,layouts:v.current.layouts},orientation:c,panels:x.panels,resizeTargetMinimumSize:x.resizeTargetMinimumSize,separators:x.separators};G.current=C;const D=$t(C),{defaultLayoutDeferred:N,derivedPanelConstraints:ne,layout:se}=H(C.id,!0);!N&&ne.length>0&&(f(se),g(se,!1));const oe=ye(p,$=>{const{defaultLayoutDeferred:q,derivedPanelConstraints:Pe,layout:le}=$.next;if(q||Pe.length===0)return;const lt=C.panels.map(({id:B})=>B).join(",");C.mutableState.layouts[lt]=le,Pe.forEach(B=>{if(B.collapsible){const{layout:fe}=$.prev??{};if(fe){const ct=I(B.collapsedSize,le[B.panelId]),dt=I(B.collapsedSize,fe[B.panelId]);ct&&!dt&&(C.mutableState.expandedPanelSizes[B.panelId]=fe[B.panelId])}}});const ut=U().state!=="active";f(le),ut&&g(le,$.isUserInteraction)});return()=>{G.current=null,D(),oe()}},[r,p,g,f,c,z,M]),L.useEffect(()=>{const w=G.current;w&&(w.mutableState.defaultLayout=n,w.mutableState.disableCursor=!!o)}),A.jsx(rt.Provider,{value:j,children:A.jsx("div",{...S,className:t,"data-group":!0,"data-testid":p,id:p,ref:R,style:{height:"100%",width:"100%",overflow:"hidden",...d,display:"flex",flexDirection:c==="horizontal"?"row":"column",flexWrap:"nowrap",touchAction:c==="horizontal"?"pan-y":"pan-x"},children:e})})}at.displayName="Group";function Ce(){const e=L.useContext(rt);return P(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function Ht(e,t){const{id:n}=Ce(),o=L.useRef({collapse:pe,expand:pe,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:pe});L.useImperativeHandle(t,()=>o.current,[]),J(()=>{Object.assign(o.current,tt({groupId:n,panelId:e}))})}function it({children:e,className:t,collapsedSize:n="0%",collapsible:o=!1,defaultSize:r,disabled:a,elementRef:l,groupResizeBehavior:s="preserve-relative-size",id:i,maxSize:u="100%",minSize:c="0%",onResize:h,panelRef:d,style:S,...m}){const f=!!i,g=Se(i),p=xe({disabled:a}),y=L.useRef(null),z=we(y,l),{getPanelStyles:b,id:v,orientation:R,registerPanel:E,updatePanelProps:M}=Ce(),j=h!==null,G=ae((C,D,N)=>{h?.(C,i,N)});J(()=>{const C=y.current;if(C!==null){const D={element:C,id:g,idIsStable:f,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:j?G:void 0,panelConstraints:{groupResizeBehavior:s,collapsedSize:n,collapsible:o,defaultSize:r,disabled:p.disabled,maxSize:u,minSize:c}};return E(D)}},[s,n,o,r,j,g,f,u,c,G,E,p]),L.useEffect(()=>{M(g,{disabled:a})},[a,g,M]),Ht(g,d);const w=()=>{const C=b(v,g);if(C)return JSON.stringify(C)},x=L.useSyncExternalStore(C=>ye(v,C),w,w);let k;return x?k=JSON.parse(x):r!==void 0?k={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:k={flexGrow:1},A.jsx("div",{...m,"data-disabled":a||void 0,"data-panel":!0,"data-testid":g,id:g,ref:z,style:{...Vt,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...k},children:A.jsx("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...S,touchAction:R==="horizontal"?"pan-y":"pan-x"},children:e})})}it.displayName="Panel";const Vt={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function Ut({layout:e,panelConstraints:t,panelId:n,panelIndex:o}){let r,a;const l=e[n],s=t.find(i=>i.panelId===n);if(s){const i=s.maxSize,u=s.collapsible?s.collapsedSize:s.minSize,c=[o,o+1];a=X({layout:ie({delta:u-l,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n],r=X({layout:ie({delta:i-l,initialLayout:e,panelConstraints:t,pivotIndices:c,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:a,valueNow:l}}function st({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:a,style:l,...s}){const i=Se(a),u=xe({disabled:n,disableDoubleClick:o}),[c,h]=L.useState({}),[d,S]=L.useState("inactive"),[m,f]=L.useState(!1),g=L.useRef(null),p=we(g,r),{disableCursor:y,id:z,orientation:b,registerSeparator:v,updateSeparatorProps:R}=Ce(),E=b==="horizontal"?"vertical":"horizontal";J(()=>{const G=g.current;if(G!==null){const w={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:G,id:i},x=v(w),k=wt(D=>{S(D.next.state!=="inactive"&&D.next.hitRegions.some(N=>N.separator===w)?D.next.state:"inactive")}),C=ye(z,D=>{const{derivedPanelConstraints:N,layout:ne,separatorToPanels:se}=D.next,oe=se.get(w);if(oe){const $=oe[0],q=oe.indexOf($);h(Ut({layout:ne,panelConstraints:N,panelId:$.id,panelIndex:q}))}});return()=>{k(),C(),x()}}},[z,i,v,u]),L.useEffect(()=>{R(i,{disabled:n,disableDoubleClick:o})},[n,o,i,R]);let M;n&&!y&&(M="not-allowed");let j;return n?j="disabled":d==="active"?j="active":m?j="focus":j=d,A.jsx("div",{...s,"aria-controls":c.valueControls,"aria-disabled":n||void 0,"aria-orientation":E,"aria-valuemax":c.valueMax,"aria-valuemin":c.valueMin,"aria-valuenow":c.valueNow,children:e,className:t,"data-separator":j,"data-testid":i,id:i,onBlur:()=>f(!1),onFocus:()=>f(!0),ref:p,role:"separator",style:{flexBasis:"auto",cursor:M,...l,flexGrow:0,flexShrink:0,touchAction:"none"},tabIndex:n?void 0:0})}st.displayName="Separator";function _t(e){const t=ve.c(10);let n,o,r;t[0]!==e?({className:n,ref:r,...o}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==n?(a=He("flex h-full w-full",n),t[4]=n,t[5]=a):a=t[5];let l;return t[6]!==o||t[7]!==r||t[8]!==a?(l=A.jsx(at,{groupRef:r,"data-slot":"resizable-panel-group",className:a,...o}),t[6]=o,t[7]=r,t[8]=a,t[9]=l):l=t[9],l}function Jt(e){const t=ve.c(10);let n,o,r;t[0]!==e?({ref:o,style:r,...n}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==r?(a={overflow:"hidden",...r},t[4]=r,t[5]=a):a=t[5];let l;return t[6]!==n||t[7]!==o||t[8]!==a?(l=A.jsx(it,{panelRef:o,"data-slot":"resizable-panel",style:a,...n}),t[6]=n,t[7]=o,t[8]=a,t[9]=l):l=t[9],l}function qt(e){const t=ve.c(12);let n,o,r;t[0]!==e?({withHandle:r,className:n,...o}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=r):(n=t[1],o=t[2],r=t[3]);let a;t[4]!==n?(a=He("bg-border relative flex w-[0.5px] items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:after:translate-x-0 [&[aria-orientation=horizontal]>div]:rotate-90",n),t[4]=n,t[5]=a):a=t[5];let l;t[6]!==r?(l=r&&A.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:A.jsx(ft,{className:"size-2.5"})}),t[6]=r,t[7]=l):l=t[7];let s;return t[8]!==o||t[9]!==a||t[10]!==l?(s=A.jsx(st,{"data-slot":"resizable-handle",className:a,...o,children:l}),t[8]=o,t[9]=a,t[10]=l,t[11]=s):s=t[11],s}export{_t as R,Jt as a,qt as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as s,w as c,q as f,x as l,y as u,aC as d,b as p,f as m,aD as k,g as b,aE as I,ap as $}from"./agent-icon-
|
|
1
|
+
import{l as s,w as c,q as f,x as l,y as u,aC as d,b as p,f as m,aD as k,g as b,aE as I,ap as $}from"./agent-icon-DCY-DFu1.js";import{a as y,i as C}from"./ZoomOut-BMEXUhR4.js";import{am as S}from"./index-BijXK1UR.js";const e={overview:b,settings:k,automations:m,"site-editor":p,code:d,content:C,assets:y,releases:u,hosting:S,e2e:l,analytics:f,cdn:c,files:s};function T(n){return n in e}function a(n){const t=I(n);if(t.type==="icon"){const i=$(t.name);return i?{kind:"component",Component:i}:null}return t.type==="url"?{kind:"url",src:t.url}:null}function w(n){if(n.kind==="system")return T(n.tabId)?{kind:"component",Component:e[n.tabId]}:{kind:"fallback"};const t=a(n.iconUrl);if(t)return t;if(!n.appId)return{kind:"fallback"};const i=n.connections.find(r=>r.id===n.appId);if(!i)return{kind:"fallback"};const o=a(i.icon);return o||{kind:"fallback"}}export{w as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as _,b as k,j as s,fT as V,h8 as Y,C as fe,t as le,fU as G,aD as me,Q as ue,M as xe,r as U,B as ie,a4 as pe,bB as he,I as je,W as Q}from"./index-WgfN4QVP.js";import{S as ae}from"./switch-nJxNuRWR.js";import{f as be,g as ye,k as _e,e as ve,c as re,h as Se,s as Te,d as ke,a as we,j as Ee,n as Me,b as Ce,i as Pe}from"./UserSquare-D1neGXtF.js";import{a as ge,g as Ke,f as Ne,h as $e,i as ze,j as Ae,k as Re}from"./use-organization-settings-CHtyXny0.js";import{u as De}from"./use-connection-FqHna8PS.js";function Je(){const e=_.c(12),t=k();let l;e[0]!==t?(l=t("settings.review.title"),e[0]=t,e[1]=l):l=e[1];let n;e[2]!==t?(n=t("settings.review.description"),e[2]=t,e[3]=n):n=e[3];let i;e[4]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(We,{}),e[4]=i):i=e[4];let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"cheap_reviewer_model",icon:s.jsx(be,{size:16}),titleKey:"settings.review.cheapReviewerModelTitle",descriptionKey:"settings.review.cheapReviewerModelDescription"}),e[5]=c):c=e[5];let o,r;e[6]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(y,{flag:"auto_merge",icon:s.jsx(ye,{size:16}),titleKey:"settings.review.autoMergeTitle",descriptionKey:"settings.review.autoMergeDescription"}),r=s.jsx(Qe,{}),e[6]=o,e[7]=r):(o=e[6],r=e[7]);let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsxs(V,{children:[i,c,o,r,s.jsx(y,{flag:"auto_assign_report_tasks_to_super_agent",icon:s.jsx(_e,{size:16}),titleKey:"settings.review.autoAssignReportTasksTitle",descriptionKey:"settings.review.autoAssignReportTasksDescription"})]}),e[8]=g):g=e[8];let x;return e[9]!==l||e[10]!==n?(x=s.jsx(Y,{title:l,description:n,children:g}),e[9]=l,e[10]=n,e[11]=x):x=e[11],x}function Xe(){const e=_.c(13),t=k(),l=ge("coding_agent_org_mcps");let n;e[0]!==t?(n=t("settings.agentTools.title"),e[0]=t,e[1]=n):n=e[1];let i;e[2]!==t?(i=t("settings.agentTools.description"),e[2]=t,e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"coding_agent_org_mcps",icon:s.jsx(ve,{size:16}),titleKey:"settings.agentTools.orgMcpsTitle",descriptionKey:"settings.agentTools.orgMcpsDescription"}),e[4]=c):c=e[4];let o;e[5]!==l?(o=l?s.jsx(Oe,{}):null,e[5]=l,e[6]=o):o=e[6];let r;e[7]!==o?(r=s.jsxs(V,{children:[c,o]}),e[7]=o,e[8]=r):r=e[8];let g;return e[9]!==n||e[10]!==i||e[11]!==r?(g=s.jsx(Y,{title:n,description:i,children:r}),e[9]=n,e[10]=i,e[11]=r,e[12]=g):g=e[12],g}function Oe(){const e=_.c(2),t=k();let l;return e[0]!==t?(l=s.jsx(ue,{children:n=>{const{reset:i}=n;return s.jsx(xe,{fallback:c=>{const{resetError:o}=c;return s.jsx(G,{title:t("settings.agentTools.orgMcpsPickTitle"),children:s.jsxs("div",{role:"alert",className:"mt-3 flex items-center gap-2",children:[s.jsx("p",{className:"text-sm text-destructive",children:t("settings.agentTools.orgMcpsPickLoadFailed")}),s.jsx(ie,{variant:"outline",size:"sm",onClick:()=>{i(),o()},children:t("common.errorBoundary.tryAgain")})]})})},children:s.jsx(U.Suspense,{fallback:s.jsx(Be,{}),children:s.jsx(Ie,{})})})}}),e[0]=t,e[1]=l):l=e[1],l}function Be(){const e=_.c(5),t=k();let l;e[0]!==t?(l=t("settings.agentTools.orgMcpsPickTitle"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(he,{className:"mt-3 h-24 w-full"}),e[2]=n):n=e[2];let i;return e[3]!==l?(i=s.jsx(G,{title:l,children:n}),e[3]=l,e[4]=i):i=e[4],i}function se(e){return[...e].sort().join("\0")}function Fe(e,t){return[Q.SELF,Q.REGISTRY,Q.COMMUNITY_REGISTRY,Q.DEV_ASSETS,Q.REPORTS].some(l=>l(e)===t)}function Ie(){const e=_.c(82),t=k(),{org:l}=pe(),n=De(),i=Ae(),c=Re(),[o,r]=U.useState(i);let g;e[0]!==i?(g=se(i),e[0]=i,e[1]=g):g=e[1];const[x,h]=U.useState(g),[j,b]=U.useState(""),v=se(i);x!==v&&(h(v),r(i));let d,f,a,p,m;if(e[2]!==n||e[3]!==o||e[4]!==l||e[5]!==j||e[6]!==i){let u;e[12]!==l?(u=E=>!Fe(l.id,E.id),e[12]=l,e[13]=u):u=e[13],a=n.filter(u);const S=j.trim().toLowerCase();m=S?a.filter(E=>`${E.title} ${E.slug??""}`.toLowerCase().includes(S)):a;let w;e[14]!==o?(w=new Set(o),e[14]=o,e[15]=w):w=e[15],f=w;const te=E=>a.some(de=>de.id===E);d=se(o.filter(te))!==se(i.filter(te)),p=m.length>0&&m.every(E=>!f.has(E.id)),e[2]=n,e[3]=o,e[4]=l,e[5]=j,e[6]=i,e[7]=d,e[8]=f,e[9]=a,e[10]=p,e[11]=m}else d=e[7],f=e[8],a=e[9],p=e[10],m=e[11];const T=p;let q;e[16]!==o?(q=(u,S)=>{const w=new Set(u);r(S?o.filter(te=>!w.has(te)):[...new Set([...o,...u])])},e[16]=o,e[17]=q):q=e[17];const M=q;let J;e[18]!==o||e[19]!==a||e[20]!==c||e[21]!==t?(J=()=>c.mutate(o.filter(u=>a.some(S=>S.id===u)),{onSuccess:()=>le.success(t("settings.agentTools.orgMcpsPickSaved")),onError:()=>le.error(t("settings.agentTools.orgMcpsPickFailed"))}),e[18]=o,e[19]=a,e[20]=c,e[21]=t,e[22]=J):J=e[22];const ne=J;let C;e[23]!==t?(C=t("settings.agentTools.orgMcpsPickTitle"),e[23]=t,e[24]=C):C=e[24];let P;e[25]!==t?(P=t("settings.agentTools.orgMcpsPickDescription"),e[25]=t,e[26]=P):P=e[26];let X;e[27]===Symbol.for("react.memo_cache_sentinel")?(X=s.jsx(Pe,{size:14,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),e[27]=X):X=e[27];let Z;e[28]===Symbol.for("react.memo_cache_sentinel")?(Z=u=>b(u.target.value),e[28]=Z):Z=e[28];let K;e[29]!==t?(K=t("settings.agentTools.orgMcpsPickSearch"),e[29]=t,e[30]=K):K=e[30];let N;e[31]!==t?(N=t("settings.agentTools.orgMcpsPickSearch"),e[31]=t,e[32]=N):N=e[32];let $;e[33]!==j||e[34]!==K||e[35]!==N?($=s.jsxs("div",{className:"relative flex-1",children:[X,s.jsx(je,{value:j,onChange:Z,placeholder:K,"aria-label":N,className:"h-8 pl-8 text-xs"})]}),e[33]=j,e[34]=K,e[35]=N,e[36]=$):$=e[36];const oe=m.length===0;let z;e[37]!==T||e[38]!==M||e[39]!==m?(z=()=>M(m.map(Le),!T),e[37]=T,e[38]=M,e[39]=m,e[40]=z):z=e[40];let A;e[41]!==T||e[42]!==t?(A=t(T?"settings.agentTools.orgMcpsPickDisableAll":"settings.agentTools.orgMcpsPickEnableAll"),e[41]=T,e[42]=t,e[43]=A):A=e[43];let R;e[44]!==oe||e[45]!==z||e[46]!==A?(R=s.jsx(ie,{variant:"outline",size:"sm",className:"shrink-0",disabled:oe,onClick:z,children:A}),e[44]=oe,e[45]=z,e[46]=A,e[47]=R):R=e[47];let D;e[48]!==$||e[49]!==R?(D=s.jsxs("div",{className:"flex items-center gap-2",children:[$,R]}),e[48]=$,e[49]=R,e[50]=D):D=e[50];let O;e[51]!==f||e[52]!==a.length||e[53]!==M||e[54]!==t||e[55]!==m?(O=a.length===0?s.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:t("settings.agentTools.orgMcpsPickEmpty")}):m.length===0?s.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:t("settings.agentTools.orgMcpsPickNoMatch")}):m.map(u=>{const S=u.title||u.id;return s.jsxs("div",{className:"flex items-center justify-between gap-3 px-3 py-2",children:[s.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[s.jsx(He,{icon:u.icon,title:S}),s.jsxs("div",{className:"flex min-w-0 flex-col",children:[s.jsx("span",{className:"truncate text-sm leading-tight",children:S}),u.slug&&s.jsx("span",{className:"truncate text-xs text-muted-foreground",children:u.slug})]})]}),s.jsx(ae,{checked:!f.has(u.id),"aria-label":t("settings.agentTools.orgMcpsPickAriaLabel",{name:S}),onCheckedChange:w=>M([u.id],w)})]},u.id)}),e[51]=f,e[52]=a.length,e[53]=M,e[54]=t,e[55]=m,e[56]=O):O=e[56];let B;e[57]!==O?(B=s.jsx("div",{className:"max-h-64 overflow-y-auto surface divide-y divide-border",children:O}),e[57]=O,e[58]=B):B=e[58];const ce=!d||c.isPending;let F;e[59]!==c.isPending||e[60]!==t?(F=c.isPending?t("settings.agentTools.orgMcpsPickSaving"):t("settings.agentTools.orgMcpsPickSave"),e[59]=c.isPending,e[60]=t,e[61]=F):F=e[61];let I;e[62]!==ne||e[63]!==ce||e[64]!==F?(I=s.jsx(ie,{size:"sm",disabled:ce,onClick:ne,children:F}),e[62]=ne,e[63]=ce,e[64]=F,e[65]=I):I=e[65];let L;e[66]!==d||e[67]!==i||e[68]!==c.isPending||e[69]!==t?(L=d&&s.jsx(ie,{variant:"ghost",size:"sm",disabled:c.isPending,onClick:()=>r(i),children:t("settings.agentTools.orgMcpsPickDiscard")}),e[66]=d,e[67]=i,e[68]=c.isPending,e[69]=t,e[70]=L):L=e[70];let H;e[71]!==I||e[72]!==L?(H=s.jsxs("div",{className:"flex items-center gap-2",children:[I,L]}),e[71]=I,e[72]=L,e[73]=H):H=e[73];let W;e[74]!==D||e[75]!==B||e[76]!==H?(W=s.jsxs("div",{className:"mt-3 flex w-full flex-col gap-2",children:[D,B,H]}),e[74]=D,e[75]=B,e[76]=H,e[77]=W):W=e[77];let ee;return e[78]!==W||e[79]!==C||e[80]!==P?(ee=s.jsx(G,{title:C,description:P,children:W}),e[78]=W,e[79]=C,e[80]=P,e[81]=ee):ee=e[81],ee}function Le(e){return e.id}function He(e){const t=_.c(4),{icon:l,title:n}=e,[i,c]=U.useState(!1);let o;return t[0]!==i||t[1]!==l||t[2]!==n?(o=s.jsx("div",{className:"flex size-7 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border bg-muted/20",children:l&&!i?s.jsx("img",{src:l,alt:"",loading:"lazy",className:"h-full w-full object-cover",onError:()=>c(!0)}):s.jsx("span",{className:"text-2xs font-semibold text-muted-foreground",children:n.charAt(0).toUpperCase()})}),t[0]=i,t[1]=l,t[2]=n,t[3]=o):o=t[3],o}function Ze(){const e=_.c(8),t=k();let l;e[0]!==t?(l=t("settings.agentTools.chatRuntimeSection"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y,{flag:"chat_harness_sandbox_only",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.chatHarnessSandboxOnlyTitle",descriptionKey:"settings.agentTools.chatHarnessSandboxOnlyDescription"}),e[2]=n):n=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(y,{flag:"coding_agents_claude_code",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.codingAgentsClaudeCodeTitle",descriptionKey:"settings.agentTools.codingAgentsClaudeCodeDescription"}),e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"chat_harness_codex",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.chatHarnessCodexTitle",descriptionKey:"settings.agentTools.chatHarnessCodexDescription"}),e[4]=c):c=e[4];let o;e[5]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsxs(V,{children:[n,i,c,s.jsx(y,{flag:"voice_mode",icon:s.jsx(Se,{size:16}),titleKey:"settings.voice.title",descriptionKey:"settings.voice.description"})]}),e[5]=o):o=e[5];let r;return e[6]!==l?(r=s.jsx(Y,{title:l,children:o}),e[6]=l,e[7]=r):r=e[7],r}function et(){const e=_.c(6),t=k();let l;e[0]!==t?(l=t("settings.blog.sectionTitle"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y,{flag:"blog_ai_enabled",icon:s.jsx(Te,{size:16}),titleKey:"settings.blog.aiTitle",descriptionKey:"settings.blog.aiDescription"}),e[2]=n):n=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(V,{children:[n,s.jsx(y,{flag:"hide_default_blog_blocks",icon:s.jsx(ke,{size:16}),titleKey:"settings.blogBlocks.title",descriptionKey:"settings.blogBlocks.description"})]}),e[3]=i):i=e[3];let c;return e[4]!==l?(c=s.jsx(Y,{title:l,children:i}),e[4]=l,e[5]=c):c=e[5],c}function tt(e){const t=_.c(29),{manageable:l}=e,n=l===void 0?!1:l,i=k(),c=ge("new_blocks_editor"),o=Ke();let r;t[0]!==i?(r=i("sidebar.projectNav.siteEditor"),t[0]=i,t[1]=r):r=t[1];let g;t[2]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(we,{size:16}),t[2]=g):g=t[2];let x;t[3]!==i?(x=i("settings.blocksEditor.title"),t[3]=i,t[4]=x):x=t[4];let h;t[5]!==i?(h=i("settings.blocksEditor.description"),t[5]=i,t[6]=h):h=t[6];const j=o.isPending;let b;t[7]!==i?(b=i("settings.blocksEditor.title"),t[7]=i,t[8]=b):b=t[8];let v;t[9]!==o||t[10]!==i?(v=T=>{fe("preferences_blocks_editor_toggled",{enabled:T}),o.mutate(T,{onError:()=>le.error(i("settings.review.updateError"))})},t[9]=o,t[10]=i,t[11]=v):v=t[11];let d;t[12]!==c||t[13]!==o.isPending||t[14]!==b||t[15]!==v?(d=s.jsx(ae,{checked:c,disabled:j,"aria-label":b,onCheckedChange:v}),t[12]=c,t[13]=o.isPending,t[14]=b,t[15]=v,t[16]=d):d=t[16];let f;t[17]!==x||t[18]!==h||t[19]!==d?(f=s.jsx(G,{icon:g,title:x,description:h,action:d}),t[17]=x,t[18]=h,t[19]=d,t[20]=f):f=t[20];let a;t[21]!==n?(a=n&&s.jsxs(s.Fragment,{children:[s.jsx(y,{flag:"site_apps_install_enabled",icon:s.jsx(Ee,{size:16}),titleKey:"settings.siteAppsInstall.title",descriptionKey:"settings.siteAppsInstall.description"}),s.jsx(y,{flag:"multi_app_preview",icon:s.jsx(Me,{size:16}),titleKey:"settings.multiAppPreview.title",descriptionKey:"settings.multiAppPreview.description"})]}),t[21]=n,t[22]=a):a=t[22];let p;t[23]!==f||t[24]!==a?(p=s.jsxs(V,{children:[f,a]}),t[23]=f,t[24]=a,t[25]=p):p=t[25];let m;return t[26]!==p||t[27]!==r?(m=s.jsx(Y,{title:r,children:p}),t[26]=p,t[27]=r,t[28]=m):m=t[28],m}function We(){const e=_.c(3),t=Ne();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(Ce,{size:16}),e[0]=l):l=e[0];let n;return e[1]!==t?(n=s.jsx(y,{flag:"reviewer_enabled",icon:l,titleKey:"settings.review.reviewerTitle",descriptionKey:"settings.review.reviewerDescription",enabled:t}),e[1]=t,e[2]=n):n=e[2],n}function Qe(){const e=_.c(3),t=$e();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(me,{size:16}),e[0]=l):l=e[0];let n;return e[1]!==t?(n=s.jsx(y,{flag:"auto_resolve_conflicts",icon:l,titleKey:"settings.review.autoResolveConflictsTitle",descriptionKey:"settings.review.autoResolveConflictsDescription",enabled:t}),e[1]=t,e[2]=n):n=e[2],n}function y(e){const t=_.c(23),{flag:l,icon:n,titleKey:i,descriptionKey:c,enabled:o}=e,r=k(),g=ge(l),x=o??g,h=ze();let j;t[0]!==r||t[1]!==i?(j=r(i),t[0]=r,t[1]=i,t[2]=j):j=t[2];let b;t[3]!==c||t[4]!==r?(b=r(c),t[3]=c,t[4]=r,t[5]=b):b=t[5];const v=h.isPending;let d;t[6]!==r||t[7]!==i?(d=r(i),t[6]=r,t[7]=i,t[8]=d):d=t[8];let f;t[9]!==l||t[10]!==h||t[11]!==r?(f=m=>h.mutate(l,m,{onError:()=>le.error(r("settings.review.updateError"))}),t[9]=l,t[10]=h,t[11]=r,t[12]=f):f=t[12];let a;t[13]!==x||t[14]!==h.isPending||t[15]!==d||t[16]!==f?(a=s.jsx(ae,{checked:x,disabled:v,"aria-label":d,onCheckedChange:f}),t[13]=x,t[14]=h.isPending,t[15]=d,t[16]=f,t[17]=a):a=t[17];let p;return t[18]!==n||t[19]!==j||t[20]!==b||t[21]!==a?(p=s.jsx(G,{icon:n,title:j,description:b,action:a}),t[18]=n,t[19]=j,t[20]=b,t[21]=a,t[22]=p):p=t[22],p}export{Xe as A,et as B,Ze as C,Je as R,tt as a};
|
|
1
|
+
import{c as _,b as k,j as s,fT as V,h8 as Y,C as fe,t as le,fU as G,aD as me,Q as ue,M as xe,r as U,B as ie,a4 as pe,bB as he,I as je,W as Q}from"./index-BijXK1UR.js";import{S as ae}from"./switch-DrmfNcNf.js";import{f as be,g as ye,k as _e,e as ve,c as re,h as Se,s as Te,d as ke,a as we,j as Ee,n as Me,b as Ce,i as Pe}from"./UserSquare-WesfpXiJ.js";import{a as ge,g as Ke,f as Ne,h as $e,i as ze,j as Ae,k as Re}from"./use-organization-settings-BnaaX9uD.js";import{u as De}from"./use-connection-TWR90GP-.js";function Je(){const e=_.c(12),t=k();let l;e[0]!==t?(l=t("settings.review.title"),e[0]=t,e[1]=l):l=e[1];let n;e[2]!==t?(n=t("settings.review.description"),e[2]=t,e[3]=n):n=e[3];let i;e[4]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(We,{}),e[4]=i):i=e[4];let c;e[5]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"cheap_reviewer_model",icon:s.jsx(be,{size:16}),titleKey:"settings.review.cheapReviewerModelTitle",descriptionKey:"settings.review.cheapReviewerModelDescription"}),e[5]=c):c=e[5];let o,r;e[6]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(y,{flag:"auto_merge",icon:s.jsx(ye,{size:16}),titleKey:"settings.review.autoMergeTitle",descriptionKey:"settings.review.autoMergeDescription"}),r=s.jsx(Qe,{}),e[6]=o,e[7]=r):(o=e[6],r=e[7]);let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsxs(V,{children:[i,c,o,r,s.jsx(y,{flag:"auto_assign_report_tasks_to_super_agent",icon:s.jsx(_e,{size:16}),titleKey:"settings.review.autoAssignReportTasksTitle",descriptionKey:"settings.review.autoAssignReportTasksDescription"})]}),e[8]=g):g=e[8];let x;return e[9]!==l||e[10]!==n?(x=s.jsx(Y,{title:l,description:n,children:g}),e[9]=l,e[10]=n,e[11]=x):x=e[11],x}function Xe(){const e=_.c(13),t=k(),l=ge("coding_agent_org_mcps");let n;e[0]!==t?(n=t("settings.agentTools.title"),e[0]=t,e[1]=n):n=e[1];let i;e[2]!==t?(i=t("settings.agentTools.description"),e[2]=t,e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"coding_agent_org_mcps",icon:s.jsx(ve,{size:16}),titleKey:"settings.agentTools.orgMcpsTitle",descriptionKey:"settings.agentTools.orgMcpsDescription"}),e[4]=c):c=e[4];let o;e[5]!==l?(o=l?s.jsx(Oe,{}):null,e[5]=l,e[6]=o):o=e[6];let r;e[7]!==o?(r=s.jsxs(V,{children:[c,o]}),e[7]=o,e[8]=r):r=e[8];let g;return e[9]!==n||e[10]!==i||e[11]!==r?(g=s.jsx(Y,{title:n,description:i,children:r}),e[9]=n,e[10]=i,e[11]=r,e[12]=g):g=e[12],g}function Oe(){const e=_.c(2),t=k();let l;return e[0]!==t?(l=s.jsx(ue,{children:n=>{const{reset:i}=n;return s.jsx(xe,{fallback:c=>{const{resetError:o}=c;return s.jsx(G,{title:t("settings.agentTools.orgMcpsPickTitle"),children:s.jsxs("div",{role:"alert",className:"mt-3 flex items-center gap-2",children:[s.jsx("p",{className:"text-sm text-destructive",children:t("settings.agentTools.orgMcpsPickLoadFailed")}),s.jsx(ie,{variant:"outline",size:"sm",onClick:()=>{i(),o()},children:t("common.errorBoundary.tryAgain")})]})})},children:s.jsx(U.Suspense,{fallback:s.jsx(Be,{}),children:s.jsx(Ie,{})})})}}),e[0]=t,e[1]=l):l=e[1],l}function Be(){const e=_.c(5),t=k();let l;e[0]!==t?(l=t("settings.agentTools.orgMcpsPickTitle"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(he,{className:"mt-3 h-24 w-full"}),e[2]=n):n=e[2];let i;return e[3]!==l?(i=s.jsx(G,{title:l,children:n}),e[3]=l,e[4]=i):i=e[4],i}function se(e){return[...e].sort().join("\0")}function Fe(e,t){return[Q.SELF,Q.REGISTRY,Q.COMMUNITY_REGISTRY,Q.DEV_ASSETS,Q.REPORTS].some(l=>l(e)===t)}function Ie(){const e=_.c(82),t=k(),{org:l}=pe(),n=De(),i=Ae(),c=Re(),[o,r]=U.useState(i);let g;e[0]!==i?(g=se(i),e[0]=i,e[1]=g):g=e[1];const[x,h]=U.useState(g),[j,b]=U.useState(""),v=se(i);x!==v&&(h(v),r(i));let d,f,a,p,m;if(e[2]!==n||e[3]!==o||e[4]!==l||e[5]!==j||e[6]!==i){let u;e[12]!==l?(u=E=>!Fe(l.id,E.id),e[12]=l,e[13]=u):u=e[13],a=n.filter(u);const S=j.trim().toLowerCase();m=S?a.filter(E=>`${E.title} ${E.slug??""}`.toLowerCase().includes(S)):a;let w;e[14]!==o?(w=new Set(o),e[14]=o,e[15]=w):w=e[15],f=w;const te=E=>a.some(de=>de.id===E);d=se(o.filter(te))!==se(i.filter(te)),p=m.length>0&&m.every(E=>!f.has(E.id)),e[2]=n,e[3]=o,e[4]=l,e[5]=j,e[6]=i,e[7]=d,e[8]=f,e[9]=a,e[10]=p,e[11]=m}else d=e[7],f=e[8],a=e[9],p=e[10],m=e[11];const T=p;let q;e[16]!==o?(q=(u,S)=>{const w=new Set(u);r(S?o.filter(te=>!w.has(te)):[...new Set([...o,...u])])},e[16]=o,e[17]=q):q=e[17];const M=q;let J;e[18]!==o||e[19]!==a||e[20]!==c||e[21]!==t?(J=()=>c.mutate(o.filter(u=>a.some(S=>S.id===u)),{onSuccess:()=>le.success(t("settings.agentTools.orgMcpsPickSaved")),onError:()=>le.error(t("settings.agentTools.orgMcpsPickFailed"))}),e[18]=o,e[19]=a,e[20]=c,e[21]=t,e[22]=J):J=e[22];const ne=J;let C;e[23]!==t?(C=t("settings.agentTools.orgMcpsPickTitle"),e[23]=t,e[24]=C):C=e[24];let P;e[25]!==t?(P=t("settings.agentTools.orgMcpsPickDescription"),e[25]=t,e[26]=P):P=e[26];let X;e[27]===Symbol.for("react.memo_cache_sentinel")?(X=s.jsx(Pe,{size:14,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),e[27]=X):X=e[27];let Z;e[28]===Symbol.for("react.memo_cache_sentinel")?(Z=u=>b(u.target.value),e[28]=Z):Z=e[28];let K;e[29]!==t?(K=t("settings.agentTools.orgMcpsPickSearch"),e[29]=t,e[30]=K):K=e[30];let N;e[31]!==t?(N=t("settings.agentTools.orgMcpsPickSearch"),e[31]=t,e[32]=N):N=e[32];let $;e[33]!==j||e[34]!==K||e[35]!==N?($=s.jsxs("div",{className:"relative flex-1",children:[X,s.jsx(je,{value:j,onChange:Z,placeholder:K,"aria-label":N,className:"h-8 pl-8 text-xs"})]}),e[33]=j,e[34]=K,e[35]=N,e[36]=$):$=e[36];const oe=m.length===0;let z;e[37]!==T||e[38]!==M||e[39]!==m?(z=()=>M(m.map(Le),!T),e[37]=T,e[38]=M,e[39]=m,e[40]=z):z=e[40];let A;e[41]!==T||e[42]!==t?(A=t(T?"settings.agentTools.orgMcpsPickDisableAll":"settings.agentTools.orgMcpsPickEnableAll"),e[41]=T,e[42]=t,e[43]=A):A=e[43];let R;e[44]!==oe||e[45]!==z||e[46]!==A?(R=s.jsx(ie,{variant:"outline",size:"sm",className:"shrink-0",disabled:oe,onClick:z,children:A}),e[44]=oe,e[45]=z,e[46]=A,e[47]=R):R=e[47];let D;e[48]!==$||e[49]!==R?(D=s.jsxs("div",{className:"flex items-center gap-2",children:[$,R]}),e[48]=$,e[49]=R,e[50]=D):D=e[50];let O;e[51]!==f||e[52]!==a.length||e[53]!==M||e[54]!==t||e[55]!==m?(O=a.length===0?s.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:t("settings.agentTools.orgMcpsPickEmpty")}):m.length===0?s.jsx("p",{className:"p-3 text-xs text-muted-foreground",children:t("settings.agentTools.orgMcpsPickNoMatch")}):m.map(u=>{const S=u.title||u.id;return s.jsxs("div",{className:"flex items-center justify-between gap-3 px-3 py-2",children:[s.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[s.jsx(He,{icon:u.icon,title:S}),s.jsxs("div",{className:"flex min-w-0 flex-col",children:[s.jsx("span",{className:"truncate text-sm leading-tight",children:S}),u.slug&&s.jsx("span",{className:"truncate text-xs text-muted-foreground",children:u.slug})]})]}),s.jsx(ae,{checked:!f.has(u.id),"aria-label":t("settings.agentTools.orgMcpsPickAriaLabel",{name:S}),onCheckedChange:w=>M([u.id],w)})]},u.id)}),e[51]=f,e[52]=a.length,e[53]=M,e[54]=t,e[55]=m,e[56]=O):O=e[56];let B;e[57]!==O?(B=s.jsx("div",{className:"max-h-64 overflow-y-auto surface divide-y divide-border",children:O}),e[57]=O,e[58]=B):B=e[58];const ce=!d||c.isPending;let F;e[59]!==c.isPending||e[60]!==t?(F=c.isPending?t("settings.agentTools.orgMcpsPickSaving"):t("settings.agentTools.orgMcpsPickSave"),e[59]=c.isPending,e[60]=t,e[61]=F):F=e[61];let I;e[62]!==ne||e[63]!==ce||e[64]!==F?(I=s.jsx(ie,{size:"sm",disabled:ce,onClick:ne,children:F}),e[62]=ne,e[63]=ce,e[64]=F,e[65]=I):I=e[65];let L;e[66]!==d||e[67]!==i||e[68]!==c.isPending||e[69]!==t?(L=d&&s.jsx(ie,{variant:"ghost",size:"sm",disabled:c.isPending,onClick:()=>r(i),children:t("settings.agentTools.orgMcpsPickDiscard")}),e[66]=d,e[67]=i,e[68]=c.isPending,e[69]=t,e[70]=L):L=e[70];let H;e[71]!==I||e[72]!==L?(H=s.jsxs("div",{className:"flex items-center gap-2",children:[I,L]}),e[71]=I,e[72]=L,e[73]=H):H=e[73];let W;e[74]!==D||e[75]!==B||e[76]!==H?(W=s.jsxs("div",{className:"mt-3 flex w-full flex-col gap-2",children:[D,B,H]}),e[74]=D,e[75]=B,e[76]=H,e[77]=W):W=e[77];let ee;return e[78]!==W||e[79]!==C||e[80]!==P?(ee=s.jsx(G,{title:C,description:P,children:W}),e[78]=W,e[79]=C,e[80]=P,e[81]=ee):ee=e[81],ee}function Le(e){return e.id}function He(e){const t=_.c(4),{icon:l,title:n}=e,[i,c]=U.useState(!1);let o;return t[0]!==i||t[1]!==l||t[2]!==n?(o=s.jsx("div",{className:"flex size-7 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border bg-muted/20",children:l&&!i?s.jsx("img",{src:l,alt:"",loading:"lazy",className:"h-full w-full object-cover",onError:()=>c(!0)}):s.jsx("span",{className:"text-2xs font-semibold text-muted-foreground",children:n.charAt(0).toUpperCase()})}),t[0]=i,t[1]=l,t[2]=n,t[3]=o):o=t[3],o}function Ze(){const e=_.c(8),t=k();let l;e[0]!==t?(l=t("settings.agentTools.chatRuntimeSection"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y,{flag:"chat_harness_sandbox_only",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.chatHarnessSandboxOnlyTitle",descriptionKey:"settings.agentTools.chatHarnessSandboxOnlyDescription"}),e[2]=n):n=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(y,{flag:"coding_agents_claude_code",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.codingAgentsClaudeCodeTitle",descriptionKey:"settings.agentTools.codingAgentsClaudeCodeDescription"}),e[3]=i):i=e[3];let c;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(y,{flag:"chat_harness_codex",icon:s.jsx(re,{size:16}),titleKey:"settings.agentTools.chatHarnessCodexTitle",descriptionKey:"settings.agentTools.chatHarnessCodexDescription"}),e[4]=c):c=e[4];let o;e[5]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsxs(V,{children:[n,i,c,s.jsx(y,{flag:"voice_mode",icon:s.jsx(Se,{size:16}),titleKey:"settings.voice.title",descriptionKey:"settings.voice.description"})]}),e[5]=o):o=e[5];let r;return e[6]!==l?(r=s.jsx(Y,{title:l,children:o}),e[6]=l,e[7]=r):r=e[7],r}function et(){const e=_.c(6),t=k();let l;e[0]!==t?(l=t("settings.blog.sectionTitle"),e[0]=t,e[1]=l):l=e[1];let n;e[2]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y,{flag:"blog_ai_enabled",icon:s.jsx(Te,{size:16}),titleKey:"settings.blog.aiTitle",descriptionKey:"settings.blog.aiDescription"}),e[2]=n):n=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(V,{children:[n,s.jsx(y,{flag:"hide_default_blog_blocks",icon:s.jsx(ke,{size:16}),titleKey:"settings.blogBlocks.title",descriptionKey:"settings.blogBlocks.description"})]}),e[3]=i):i=e[3];let c;return e[4]!==l?(c=s.jsx(Y,{title:l,children:i}),e[4]=l,e[5]=c):c=e[5],c}function tt(e){const t=_.c(29),{manageable:l}=e,n=l===void 0?!1:l,i=k(),c=ge("new_blocks_editor"),o=Ke();let r;t[0]!==i?(r=i("sidebar.projectNav.siteEditor"),t[0]=i,t[1]=r):r=t[1];let g;t[2]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(we,{size:16}),t[2]=g):g=t[2];let x;t[3]!==i?(x=i("settings.blocksEditor.title"),t[3]=i,t[4]=x):x=t[4];let h;t[5]!==i?(h=i("settings.blocksEditor.description"),t[5]=i,t[6]=h):h=t[6];const j=o.isPending;let b;t[7]!==i?(b=i("settings.blocksEditor.title"),t[7]=i,t[8]=b):b=t[8];let v;t[9]!==o||t[10]!==i?(v=T=>{fe("preferences_blocks_editor_toggled",{enabled:T}),o.mutate(T,{onError:()=>le.error(i("settings.review.updateError"))})},t[9]=o,t[10]=i,t[11]=v):v=t[11];let d;t[12]!==c||t[13]!==o.isPending||t[14]!==b||t[15]!==v?(d=s.jsx(ae,{checked:c,disabled:j,"aria-label":b,onCheckedChange:v}),t[12]=c,t[13]=o.isPending,t[14]=b,t[15]=v,t[16]=d):d=t[16];let f;t[17]!==x||t[18]!==h||t[19]!==d?(f=s.jsx(G,{icon:g,title:x,description:h,action:d}),t[17]=x,t[18]=h,t[19]=d,t[20]=f):f=t[20];let a;t[21]!==n?(a=n&&s.jsxs(s.Fragment,{children:[s.jsx(y,{flag:"site_apps_install_enabled",icon:s.jsx(Ee,{size:16}),titleKey:"settings.siteAppsInstall.title",descriptionKey:"settings.siteAppsInstall.description"}),s.jsx(y,{flag:"multi_app_preview",icon:s.jsx(Me,{size:16}),titleKey:"settings.multiAppPreview.title",descriptionKey:"settings.multiAppPreview.description"})]}),t[21]=n,t[22]=a):a=t[22];let p;t[23]!==f||t[24]!==a?(p=s.jsxs(V,{children:[f,a]}),t[23]=f,t[24]=a,t[25]=p):p=t[25];let m;return t[26]!==p||t[27]!==r?(m=s.jsx(Y,{title:r,children:p}),t[26]=p,t[27]=r,t[28]=m):m=t[28],m}function We(){const e=_.c(3),t=Ne();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(Ce,{size:16}),e[0]=l):l=e[0];let n;return e[1]!==t?(n=s.jsx(y,{flag:"reviewer_enabled",icon:l,titleKey:"settings.review.reviewerTitle",descriptionKey:"settings.review.reviewerDescription",enabled:t}),e[1]=t,e[2]=n):n=e[2],n}function Qe(){const e=_.c(3),t=$e();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(me,{size:16}),e[0]=l):l=e[0];let n;return e[1]!==t?(n=s.jsx(y,{flag:"auto_resolve_conflicts",icon:l,titleKey:"settings.review.autoResolveConflictsTitle",descriptionKey:"settings.review.autoResolveConflictsDescription",enabled:t}),e[1]=t,e[2]=n):n=e[2],n}function y(e){const t=_.c(23),{flag:l,icon:n,titleKey:i,descriptionKey:c,enabled:o}=e,r=k(),g=ge(l),x=o??g,h=ze();let j;t[0]!==r||t[1]!==i?(j=r(i),t[0]=r,t[1]=i,t[2]=j):j=t[2];let b;t[3]!==c||t[4]!==r?(b=r(c),t[3]=c,t[4]=r,t[5]=b):b=t[5];const v=h.isPending;let d;t[6]!==r||t[7]!==i?(d=r(i),t[6]=r,t[7]=i,t[8]=d):d=t[8];let f;t[9]!==l||t[10]!==h||t[11]!==r?(f=m=>h.mutate(l,m,{onError:()=>le.error(r("settings.review.updateError"))}),t[9]=l,t[10]=h,t[11]=r,t[12]=f):f=t[12];let a;t[13]!==x||t[14]!==h.isPending||t[15]!==d||t[16]!==f?(a=s.jsx(ae,{checked:x,disabled:v,"aria-label":d,onCheckedChange:f}),t[13]=x,t[14]=h.isPending,t[15]=d,t[16]=f,t[17]=a):a=t[17];let p;return t[18]!==n||t[19]!==j||t[20]!==b||t[21]!==a?(p=s.jsx(G,{icon:n,title:j,description:b,action:a}),t[18]=n,t[19]=j,t[20]=b,t[21]=a,t[22]=p):p=t[22],p}export{Xe as A,et as B,Ze as C,Je as R,tt as a};
|