decocms 4.372.0 → 4.372.1
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/{AlertCircle-Ddrj7VUD.js → AlertCircle-DbwtWnTP.js} +1 -1
- package/dist/client/assets/{AreaChart-0mAtLd45.js → AreaChart-tdrxZdfF.js} +1 -1
- package/dist/client/assets/{ArrowLeft-BKbGYh2B.js → ArrowLeft-CyH6aWpS.js} +1 -1
- package/dist/client/assets/{ArrowRight-6hYTENh_.js → ArrowRight-Bv0iX4wy.js} +1 -1
- package/dist/client/assets/{ArrowUp-Dhew3Evs.js → ArrowUp-Scf6R8DX.js} +1 -1
- package/dist/client/assets/{CartesianChart-u2Ri6JFS.js → CartesianChart-D1MxLL7k.js} +1 -1
- package/dist/client/assets/{Check-Dnz3uW0f.js → Check-BZE0WrNL.js} +1 -1
- package/dist/client/assets/{CheckCircle-DQbrJHsr.js → CheckCircle-BKb1RVrA.js} +1 -1
- package/dist/client/assets/{ChevronRight-DK_MoZ-7.js → ChevronRight-DNrwFBnC.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-B64gqtde.js → ChevronSelectorVertical-oXn0cTzk.js} +1 -1
- package/dist/client/assets/{ChevronUp-XOZg-HiO.js → ChevronUp-D5_IWEtB.js} +1 -1
- package/dist/client/assets/{Copy01-l6PfB431.js → Copy01-DTHuBaTA.js} +1 -1
- package/dist/client/assets/{CreditCard01-DQsLDZWx.js → CreditCard01-CwX6pA0M.js} +1 -1
- package/dist/client/assets/{Database01-vUZciuwF.js → Database01-RGlwXHSd.js} +1 -1
- package/dist/client/assets/{DotsVertical-Dyzdr42E.js → DotsVertical-DE9eZKrJ.js} +1 -1
- package/dist/client/assets/{Download01-_eUxcgg1.js → Download01-qX3hmvr5.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-DFc19StE.js → ErrorBarContext-9sp0Dc4M.js} +1 -1
- package/dist/client/assets/{Eye-B7hZLXRZ.js → Eye-DXUjft5i.js} +1 -1
- package/dist/client/assets/{File02-D1W0NjQG.js → File02-g-xJPix_.js} +1 -1
- package/dist/client/assets/{GitBranch01-CRUhFeKk.js → GitBranch01-ddoPQdPH.js} +1 -1
- package/dist/client/assets/{Globe01-D9zr3JIX.js → Globe01-DIy8wXF6.js} +1 -1
- package/dist/client/assets/{HardDrive-7_ZjnLMv.js → HardDrive-DU_z1AQw.js} +1 -1
- package/dist/client/assets/{Image01-7_HSDHV3.js → Image01-DfaxHjlV.js} +1 -1
- package/dist/client/assets/{Key01-ti2CpCiW.js → Key01-mqjfsZRe.js} +1 -1
- package/dist/client/assets/{Line-D9piFifo.js → Line-D02_6GXf.js} +1 -1
- package/dist/client/assets/{Link01-DYWtgbsz.js → Link01-C656VtHx.js} +1 -1
- package/dist/client/assets/{LinkExternal01--55N_6ts.js → LinkExternal01-BkRUjBAn.js} +1 -1
- package/dist/client/assets/{MessageCircle01-DELRsE6A.js → MessageCircle01-CgotMmLL.js} +1 -1
- package/dist/client/assets/{Monitor01-BoIweS2p.js → Monitor01-CQ6Zk1oP.js} +1 -1
- package/dist/client/assets/{Package-CSgBbMFc.js → Package-t6euxYcP.js} +1 -1
- package/dist/client/assets/{Palette-CaHW8y9T.js → Palette-oECS8j3l.js} +1 -1
- package/dist/client/assets/{Play-BolLrTAn.js → Play-DQgzDnaW.js} +1 -1
- package/dist/client/assets/{Plus-C5azC59K.js → Plus-D2HOi_DD.js} +1 -1
- package/dist/client/assets/{Printer-Dn2De3ak.js → Printer-BpZBiqyG.js} +1 -1
- package/dist/client/assets/{SearchLg-BZUR3n9c.js → SearchLg-DbX4T5E-.js} +1 -1
- package/dist/client/assets/{SearchMd-Ms_xvSfF.js → SearchMd-FDCJM3CR.js} +1 -1
- package/dist/client/assets/{Sector-DHu8bCK4.js → Sector-BW9tyobX.js} +1 -1
- package/dist/client/assets/{Settings02-BLcAotUO.js → Settings02-CFcKewXh.js} +1 -1
- package/dist/client/assets/{Share07-BypmcbEF.js → Share07-CxuHcmnM.js} +1 -1
- package/dist/client/assets/{Shield01-C_5dC1mR.js → Shield01-HrKG6yUn.js} +1 -1
- package/dist/client/assets/{Stars01-DTStBsXP.js → Stars01-B_nM3FYf.js} +1 -1
- package/dist/client/assets/{Sun-CEaGM44s.js → Sun-SBoG-e9B.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-l3o5r_PJ.js → SwitchHorizontal01-hHr6GOmU.js} +1 -1
- package/dist/client/assets/{Tool01-C0-Xqkxp.js → Tool01-DHi_Z7zo.js} +1 -1
- package/dist/client/assets/{Tool02-CE2Fqpba.js → Tool02-JY0gm8cg.js} +1 -1
- package/dist/client/assets/{Trash01-DPQmLNZV.js → Trash01-C6bziN5X.js} +1 -1
- package/dist/client/assets/{TrendUp01-uTlAwt0S.js → TrendUp01-Bkdgpfn7.js} +1 -1
- package/dist/client/assets/{Upload01-D-20AdeD.js → Upload01-DC2spim9.js} +1 -1
- package/dist/client/assets/{User01-BA1LEBvQ.js → User01-BbOpA84p.js} +1 -1
- package/dist/client/assets/{UserSquare-D-v_LgOa.js → UserSquare-qgzToKNd.js} +1 -1
- package/dist/client/assets/{Users01-BpRvBK8_.js → Users01-BOsDT0Jv.js} +1 -1
- package/dist/client/assets/{Users03-BaYGM99c.js → Users03-BP-0DNhp.js} +1 -1
- package/dist/client/assets/{X-Dh_K-VDi.js → X-Bzh3NI3m.js} +1 -1
- package/dist/client/assets/{XCircle-BhDUy79p.js → XCircle-CuK2q_XU.js} +1 -1
- package/dist/client/assets/{XClose-Bw0VS-dj.js → XClose-Cvyz3reC.js} +1 -1
- package/dist/client/assets/{Zap-TxetSnv7.js → Zap-DXNovEva.js} +1 -1
- package/dist/client/assets/{ZoomOut-CJKT31Kx.js → ZoomOut-BRjMa-04.js} +1 -1
- package/dist/client/assets/{access-gate-Dt6vr2zi.js → access-gate-NMf18NsK.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-Bwzbw2rJ.js → add-connection-dialog-GfufFuLz.js} +1 -1
- package/dist/client/assets/{agent-analytics-OtUj5VAg.js → agent-analytics-DKvARLL3.js} +1 -1
- package/dist/client/assets/agent-app-CQgi_fkJ.js +1 -0
- package/dist/client/assets/{agent-assets-Ds2YrU5Y.js → agent-assets-DePuap3v.js} +1 -1
- package/dist/client/assets/{agent-automation-BzHNBuT4.js → agent-automation-NvLs9ax2.js} +1 -1
- package/dist/client/assets/{agent-automations-BvUPSQUr.js → agent-automations-BV3f-ekl.js} +1 -1
- package/dist/client/assets/{agent-connect-sources-B2VHxv-N.js → agent-connect-sources-DtqgR_Ib.js} +1 -1
- package/dist/client/assets/agent-deck-Dx12NQ18.js +1 -0
- package/dist/client/assets/{agent-e2e-CCN3csfU.js → agent-e2e-CHL03ziT.js} +1 -1
- package/dist/client/assets/{agent-experiments-C1xtDG8f.js → agent-experiments-CWfra8gc.js} +1 -1
- package/dist/client/assets/agent-file-B5qivcOi.js +1 -0
- package/dist/client/assets/{agent-git-O5fnLyKj.js → agent-git-CU-dqFim.js} +1 -1
- package/dist/client/assets/{agent-hosting-ClZ4R70M.js → agent-hosting-x-9xTx9o.js} +1 -1
- package/dist/client/assets/{agent-icon-Cyx7Smko.js → agent-icon-BD4DM2Lv.js} +1 -1
- package/dist/client/assets/agent-library-file-OKK2mnnF.js +1 -0
- package/dist/client/assets/{agent-monitor-B2s_I09z.js → agent-monitor-CpVDwlgY.js} +1 -1
- package/dist/client/assets/{agent-overview-CLGjxUwU.js → agent-overview-SQDEg6Zv.js} +1 -1
- package/dist/client/assets/agent-settings-BraxsXkL.js +1 -0
- package/dist/client/assets/{agent-site-editor-DElX-Rtx.js → agent-site-editor-BXrb3i4T.js} +1 -1
- package/dist/client/assets/agent-site-editor-code-03I9o24S.js +2 -0
- package/dist/client/assets/{agent-site-editor-content-D8Swy0HF.js → agent-site-editor-content-C3uy2bqp.js} +2 -2
- package/dist/client/assets/{agent-site-editor-preview-BEkJn_qI.js → agent-site-editor-preview-BB-KqzfI.js} +3 -3
- package/dist/client/assets/agent-view-74_Cuyp8.js +1 -0
- package/dist/client/assets/{agent-view-guard-Cc93o9kZ.js → agent-view-guard-q_9RifUL.js} +1 -1
- package/dist/client/assets/{agents-list-D23HRLNK.js → agents-list-BCgsEzHh.js} +1 -1
- package/dist/client/assets/{ai-providers-AQKJLPCp.js → ai-providers-DGgtE9F7.js} +1 -1
- package/dist/client/assets/{alert-Bb5psHaZ.js → alert-Cnsh1M35.js} +1 -1
- package/dist/client/assets/{alert-dialog-DfGZ77rh.js → alert-dialog-Bi9Cy1y8.js} +1 -1
- package/dist/client/assets/{api-keys-7xk7B181.js → api-keys-BlYGdiam.js} +1 -1
- package/dist/client/assets/api-keys-ClN6LoeU.js +1 -0
- package/dist/client/assets/app-editor-CaCDGdiz.js +1 -0
- package/dist/client/assets/{asset-utils-Dl8tpNxx.js → asset-utils-syVIRo9d.js} +1 -1
- package/dist/client/assets/{auth-5BCk_I76.js → auth-D-2jYpOE.js} +1 -1
- package/dist/client/assets/{auth-catchall-BXX_QHt4.js → auth-catchall-C3GEml6h.js} +1 -1
- package/dist/client/assets/{auth-entry-BYY2pacz.js → auth-entry-CJhH7CHs.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Bh_B_vjZ.js → auth-split-layout-B3xBkE6i.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-Bj_Y1vgm.js → authenticate-and-persist-oauth-2yRhuiER.js} +1 -1
- package/dist/client/assets/{automation-list-row-TgtbvSc5.js → automation-list-row-DVPV4sOa.js} +1 -1
- package/dist/client/assets/{automation-runs-CVEQI8qU.js → automation-runs-DnDgp3GT.js} +1 -1
- package/dist/client/assets/automations-XsBsFuGM.js +1 -0
- package/dist/client/assets/{autosend-ClVEnX_S.js → autosend-D-BN-cv5.js} +1 -1
- package/dist/client/assets/{avatar-CR9KEb-s.js → avatar-Duu5Gg02.js} +1 -1
- package/dist/client/assets/{badge-DOT8HE5Z.js → badge-BNBGXxmC.js} +1 -1
- package/dist/client/assets/{block-document-Boj9yYni.js → block-document-BT-7XjFG.js} +1 -1
- package/dist/client/assets/{blocks-preview-workspace-context-Dh0KsAvE.js → blocks-preview-workspace-context-BvM2Da4n.js} +1 -1
- package/dist/client/assets/{breadcrumb-CVSmj3i3.js → breadcrumb-sWWxibcS.js} +1 -1
- package/dist/client/assets/{buckets-B0FCB4zB.js → buckets-Biauz5yB.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-C9jBTscU.js → build-improve-prompt-doc-RalyChXZ.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-QprmcNHA.js → bulk-category-panel-CODUgRdO.js} +1 -1
- package/dist/client/assets/{calendar-SAWOBJxF.js → calendar-Dyov14Y_.js} +1 -1
- package/dist/client/assets/{capability-load-error-D1mxtMyB.js → capability-load-error-L3ivCxmO.js} +1 -1
- package/dist/client/assets/{cards-DQPi8IW_.js → cards-ojW-Mo-n.js} +1 -1
- package/dist/client/assets/category-editor-CFCxetoB.js +1 -0
- package/dist/client/assets/{chart-BGm-AILS.js → chart-Con9xnVz.js} +1 -1
- package/dist/client/assets/{chat-context-H28jTcB6.js → chat-context-BBVkwd3p.js} +1 -1
- package/dist/client/assets/{chat-draft-BTIUwp87.js → chat-draft-bAtYgASI.js} +1 -1
- package/dist/client/assets/{checkbox-D_GODf3h.js → checkbox-Dkejdmst.js} +1 -1
- package/dist/client/assets/{choose-editor-CqXPKhwg.js → choose-editor-BKF6XAA7.js} +1 -1
- package/dist/client/assets/{cli-auth-success-Nkuy_2dv.js → cli-auth-success-BUl2RZMr.js} +1 -1
- package/dist/client/assets/{client-icons-D55uOktL.js → client-icons-DLMNndDc.js} +1 -1
- package/dist/client/assets/{collapsible-CkoFdRnK.js → collapsible-n44mVpiB.js} +1 -1
- package/dist/client/assets/{collection-detail-7A7zRYv2.js → collection-detail-B7MXGdLU.js} +1 -1
- package/dist/client/assets/{collection-display-button-B730w9Ah.js → collection-display-button-C3iXY6zC.js} +1 -1
- package/dist/client/assets/{collection-search-B2t2IaOK.js → collection-search-CeA9TK20.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-87GtYm7N.js → collection-table-wrapper-SWoJua5h.js} +1 -1
- package/dist/client/assets/{collection-tabs-DAqaNYVU.js → collection-tabs-3kW0qDG6.js} +1 -1
- package/dist/client/assets/{combobox-CA5nnv9O.js → combobox-Px3Uvt7K.js} +1 -1
- package/dist/client/assets/{command-CtFXOSiX.js → command-D2fiEFer.js} +1 -1
- package/dist/client/assets/{command-palette-store-BL5hnWnv.js → command-palette-store-LVCQ6fRv.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-DVYB246Y.js → companion-mcps-section-BcoKVpmX.js} +1 -1
- package/dist/client/assets/{connect-F12K-hsA.js → connect-DlipH902.js} +1 -1
- package/dist/client/assets/{connect-layout-DCgHt0wb.js → connect-layout-BQblJmFQ.js} +1 -1
- package/dist/client/assets/{connection-DhRpG43c.js → connection-BfiO32wM.js} +1 -1
- package/dist/client/assets/{connection-card-BCofIpgI.js → connection-card-83VJQMov.js} +1 -1
- package/dist/client/assets/{connection-detail-CkBpJk50.js → connection-detail-j_CvFKhd.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-C7Pc9F54.js → connection-form-helpers-Ms_1nBbP.js} +1 -1
- package/dist/client/assets/{connections-BsBFmd4I.js → connections-CERSp27f.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-CYwIBo_O.js → create-organization-dialog-D0myNU26.js} +1 -1
- package/dist/client/assets/{decofile-api-Cdto5FQ3.js → decofile-api-BVqR93jw.js} +1 -1
- package/dist/client/assets/{decopilot-BecreIFq.js → decopilot-72HlEf1U.js} +1 -1
- package/dist/client/assets/{dialog-SKkzdrcZ.js → dialog-DbzCN1O8.js} +1 -1
- package/dist/client/assets/{discover-BWfGXdtB.js → discover-D5kdY2vL.js} +1 -1
- package/dist/client/assets/{domain-settings-ClqqVAOw.js → domain-settings-uVxQd7aQ.js} +1 -1
- package/dist/client/assets/{download-app-dialog-DQE0snIy.js → download-app-dialog-Bsig7tOs.js} +1 -1
- package/dist/client/assets/{drawer-BleKwXKQ.js → drawer-CBdcJytm.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DRuEZVW9.js → dropdown-menu-Dd8nakK9.js} +1 -1
- package/dist/client/assets/{editor-oZAad1yU.js → editor-CpBx0ZCm.js} +1 -1
- package/dist/client/assets/{empty-state-Bi9IU32F.js → empty-state-BIcQyeij.js} +1 -1
- package/dist/client/assets/{empty-state-CaG0BWIR.js → empty-state-ClEXvr10.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C8zB3-0T.js → extract-connection-data-CM8c_Wvw.js} +1 -1
- package/dist/client/assets/{feature-gate-UfjS24Ou.js → feature-gate-BURkiaEd.js} +1 -1
- package/dist/client/assets/{feature-paywall-pQTqQ94T.js → feature-paywall-BOwjYKin.js} +1 -1
- package/dist/client/assets/{file-explorer-s0AeRobY.js → file-explorer-BgbzlNyO.js} +1 -1
- package/dist/client/assets/{file-preview-Dzjub9Lu.js → file-preview-BOFvyeTK.js} +1 -1
- package/dist/client/assets/{file-share-button-BqqM0Upa.js → file-share-button-Doj91OJi.js} +1 -1
- package/dist/client/assets/{file-type-icon-CMiynV8b.js → file-type-icon-C37FwvPU.js} +1 -1
- package/dist/client/assets/{folder-icon-3FCd-eRP.js → folder-icon-Dox5xEXV.js} +1 -1
- package/dist/client/assets/{form-H9AoFazU.js → form-B7dtslOD.js} +1 -1
- package/dist/client/assets/{gateway-client-BQS5H6XZ.js → gateway-client-CFIpVRaR.js} +1 -1
- package/dist/client/assets/{general-st9zEmU7.js → general-BcnikUr3.js} +1 -1
- package/dist/client/assets/{github-icon-TtZ8EUXE.js → github-icon-BcrkxW36.js} +1 -1
- package/dist/client/assets/{home-DMdfBPme.js → home-MrzklFP0.js} +1 -1
- package/dist/client/assets/{hooks-D5z7CgCt.js → hooks-CkL4R3Tj.js} +1 -1
- package/dist/client/assets/{hooks-abtcLONn.js → hooks-D09Ti1PG.js} +1 -1
- package/dist/client/assets/{index-C-9h82SA.js → index-B46P4HkV.js} +1 -1
- package/dist/client/assets/{index-BC68yJ9a.js → index-BFjKFLU3.js} +1 -1
- package/dist/client/assets/{index-DAUnTbKR.js → index-BwuwoN1w.js} +1 -1
- package/dist/client/assets/{index-C1pofvkl.js → index-C9w15wdL.js} +1 -1
- package/dist/client/assets/{index-BQgXOHRB.js → index-CULK6hDm.js} +1 -1
- package/dist/client/assets/{index-Cm__CFgO.js → index-CuiP-22D.js} +1 -1
- package/dist/client/assets/{index-CdCU_XIc.js → index-Cyoz5tz5.js} +1 -1
- package/dist/client/assets/{index-Os5Hiv1r.js → index-D-XXgZ8p.js} +1 -1
- package/dist/client/assets/{index-tw-L0pq4.js → index-D68Q2TT2.js} +1 -1
- package/dist/client/assets/{index-CHIEfkY6.js → index-DLxUQ-f9.js} +1 -1
- package/dist/client/assets/{index-C4m-Xj9t.js → index-DZOe0ODJ.js} +1 -1
- package/dist/client/assets/{index-CZFOUXi8.js → index-G9Ugx8pT.js} +1 -1
- package/dist/client/assets/{index-soiZgi77.js → index-KOGfrBZR.js} +1 -1
- package/dist/client/assets/{index-CoJzC8_g.js → index-NrvdR10n.js} +1 -1
- package/dist/client/assets/{index-redirect-BGMUaELH.js → index-redirect-AuU1lkcv.js} +1 -1
- package/dist/client/assets/{index-Cjhl57C5.js → index-z4bKt11m.js} +2 -2
- package/dist/client/assets/{infiniteQueryObserver-CTAqrRzL.js → infiniteQueryObserver-BjcfJE2O.js} +1 -1
- package/dist/client/assets/{infra-billing-D-R9Zdx8.js → infra-billing-Blv1R6xm.js} +1 -1
- package/dist/client/assets/{input-CImpk8th.js → input-C7XH8Uj_.js} +1 -1
- package/dist/client/assets/{input-DkPDVfFk.js → input-CSQboV8k.js} +1 -1
- package/dist/client/assets/{input-DNp0K9zv.js → input-I71U33T1.js} +1 -1
- package/dist/client/assets/{integration-icon-Dq1cJDX8.js → integration-icon-DOHTaQ6D.js} +1 -1
- package/dist/client/assets/{label-Bk7iLZH7.js → label-8juC5J-g.js} +1 -1
- package/dist/client/assets/{last-preview-page-BmfL1c7N.js → last-preview-page-C8M_ayBL.js} +1 -1
- package/dist/client/assets/{layout-Ci3akdxf.js → layout-fdXIUmGR.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-CqdHGYTA.js → legacy-agents-deep-CIQ2cOBs.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-BqiddEXn.js → legacy-main-redirect-DdrzU7Xj.js} +1 -1
- package/dist/client/assets/{library-BUfXzmmk.js → library-DyrbEVfm.js} +1 -1
- package/dist/client/assets/{login-BUL2HRoD.js → login-BhC3su0G.js} +1 -1
- package/dist/client/assets/{markdown-Cqyyk371.js → markdown-BhLIBmBv.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-zIU2-SQD.js → mcp-app-renderer-DjwQ0S-h.js} +1 -1
- package/dist/client/assets/{mcp-oauth-qvcFIOHE.js → mcp-oauth-DiqQlKOx.js} +1 -1
- package/dist/client/assets/{members-B2ASFRpM.js → members-PF8wxsqA.js} +1 -1
- package/dist/client/assets/{message-templates-BvJNSKe2.js → message-templates-BvR8vQvs.js} +1 -1
- package/dist/client/assets/{mini-report-page-GL8Uh_Lo.js → mini-report-page-D2etEugE.js} +1 -1
- package/dist/client/assets/{mock-board-D2--sNwu.js → mock-board-jCiKK3gA.js} +3 -3
- package/dist/client/assets/{monaco-editor-Bg8UPXit.js → monaco-editor-BHu8MLvz.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-C9igDEpY.js → monitoring-stats-row-2QEp_Jld.js} +1 -1
- package/dist/client/assets/{multi-select-B0yDI0nj.js → multi-select-DcF09HV8.js} +1 -1
- package/dist/client/assets/{mustache-CDAsLK2v.js → mustache-DtVu96DY.js} +1 -1
- package/dist/client/assets/{oauth-callback-D8Lk8lTx.js → oauth-callback-CwSlt3mo.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-P1E8_NRm.js → oauth-callback-ai-provider-Co0a0HMU.js} +1 -1
- package/dist/client/assets/{onboarding-Df5HIECJ.js → onboarding-D-ej0NPt.js} +1 -1
- package/dist/client/assets/{optimistic-project-sidebar-views-IR0sppyV.js → optimistic-project-sidebar-views-yjPJnhEG.js} +1 -1
- package/dist/client/assets/{org-file-open-context-Dd47NmeH.js → org-file-open-context-BgiBbqKQ.js} +1 -1
- package/dist/client/assets/{organization-choice-B_XEkc76.js → organization-choice-loyQwhEZ.js} +1 -1
- package/dist/client/assets/{orgs-BAOnfPU8.js → orgs-DkENMfud.js} +1 -1
- package/dist/client/assets/{page-seo-form-DbL4-FYa.js → page-seo-form-BBCLz5m0.js} +1 -1
- package/dist/client/assets/{pair-BHYz9F-Z.js → pair-B2TMNGEX.js} +1 -1
- package/dist/client/assets/{plan-ladder-Cqfgwdfc.js → plan-ladder-C80Qcxkm.js} +1 -1
- package/dist/client/assets/{popover-Bn0xXLy8.js → popover-CsEsUqbZ.js} +1 -1
- package/dist/client/assets/{post-calendar-6AuB-9GD.js → post-calendar-gswoVxcp.js} +1 -1
- package/dist/client/assets/{post-editor-D6gFXTiI.js → post-editor-5tYPjO0c.js} +1 -1
- package/dist/client/assets/{preview-content-BJK2rc2w.js → preview-content-D5E6-qEP.js} +1 -1
- package/dist/client/assets/{preview-dialog-CdfWw2XK.js → preview-dialog-D1qWdONG.js} +1 -1
- package/dist/client/assets/{primitives-CSJauIt5.js → primitives-Dy5hA1_y.js} +1 -1
- package/dist/client/assets/{profile-BUYSJtW_.js → profile-9GEyG1R7.js} +1 -1
- package/dist/client/assets/{project-app-view-BAHsn_eP.js → project-app-view-CsjjG0iu.js} +1 -1
- package/dist/client/assets/{project-feed-La6-iUzD.js → project-feed-CEhr0jA4.js} +1 -1
- package/dist/client/assets/{project-icon-CiuTzDLi.js → project-icon-Cw3la58q.js} +1 -1
- package/dist/client/assets/project-reports-D83XbTn5.js +1 -0
- package/dist/client/assets/project-tasks-IrwgrDaD.js +1 -0
- package/dist/client/assets/{prompts-BAZWbRxz.js → prompts-DQaXCBzS.js} +1 -1
- package/dist/client/assets/record-editor-C02fIlfV.js +1 -0
- package/dist/client/assets/{redirect-editor-9oPfVcJw.js → redirect-editor-B2uGI7FY.js} +1 -1
- package/dist/client/assets/registry-CORfkc_Z.js +2 -0
- package/dist/client/assets/{registry-layout-CrG4EYUR.js → registry-layout-tJiz4Tt0.js} +1 -1
- package/dist/client/assets/{reports-DHS4fi6t.js → reports-DvgXBdzM.js} +1 -1
- package/dist/client/assets/reports-X2I2m9Nu.js +1 -0
- package/dist/client/assets/{reports-onboarding-BtdzeKZT.js → reports-onboarding-BLUSVbkd.js} +1 -1
- package/dist/client/assets/{reports-tab-B5bMQgk-.js → reports-tab-DSknxHUH.js} +2 -2
- package/dist/client/assets/{repositories-DbRCe9LF.js → repositories-cOMgIGPf.js} +1 -1
- package/dist/client/assets/{repository-import-picker-Bo_Cabzz.js → repository-import-picker-C0YugeGx.js} +1 -1
- package/dist/client/assets/{repository-picker-CRqY_3jm.js → repository-picker-BaqWNwxf.js} +1 -1
- package/dist/client/assets/{require-capability-CLz-loNQ.js → require-capability-CjU7EXPP.js} +1 -1
- package/dist/client/assets/{required-auth-layout-t1gcmOkS.js → required-auth-layout-WkX8CtfT.js} +1 -1
- package/dist/client/assets/{reset-password-C_PBrpSa.js → reset-password-FnA2kczZ.js} +1 -1
- package/dist/client/assets/{resizable-CTEnH3yu.js → resizable-7umHaFcH.js} +1 -1
- package/dist/client/assets/{review-settings-CIZvhdQE.js → review-settings-BHAkNdHq.js} +1 -1
- package/dist/client/assets/{rich-text-link-control-DdZo0zBm.js → rich-text-link-control-DgGIjR0I.js} +1 -1
- package/dist/client/assets/{roles-D7Yxadr5.js → roles-iNTzpIoS.js} +1 -1
- package/dist/client/assets/{route-DMLSQe3Y.js → route-BdFq2Icl.js} +1 -1
- package/dist/client/assets/{route-aV7nBxG9.js → route-D2mgsDfh.js} +1 -1
- package/dist/client/assets/{route-BhbKY_6m.js → route-DQ3O_pQ7.js} +1 -1
- package/dist/client/assets/{runnable-block-editor-CNau3nKH.js → runnable-block-editor-CCXhy-vO.js} +1 -1
- package/dist/client/assets/{sandbox-lifecycle-context-Dhs5hLj1.js → sandbox-lifecycle-context-DL9kkwoa.js} +1 -1
- package/dist/client/assets/{schema-BTHH8GSh.js → schema-D0xfowSf.js} +1 -1
- package/dist/client/assets/{scroll-area-YQLTU6PQ.js → scroll-area-BqCCUXvj.js} +1 -1
- package/dist/client/assets/{search-input-Cx2Izgwg.js → search-input-DpLbMQRj.js} +1 -1
- package/dist/client/assets/{secrets-B1YWh_ht.js → secrets-B9E8fieV.js} +1 -1
- package/dist/client/assets/{sections-editor-C4NhZuXp.js → sections-editor-D24EQfD8.js} +1 -1
- package/dist/client/assets/{select-C5Qbx8Kw.js → select-cIekAVlM.js} +1 -1
- package/dist/client/assets/{select-model-CIR4DebA.js → select-model-DcwphIdD.js} +1 -1
- package/dist/client/assets/{seo-editor-b4BYh3S0.js → seo-editor-BRYLT6tF.js} +1 -1
- package/dist/client/assets/{settings-tab-wJidOo3Q.js → settings-tab-DKZf7OJg.js} +1 -1
- package/dist/client/assets/{sheet-DvqFDAlT.js → sheet-DhNzwMUj.js} +1 -1
- package/dist/client/assets/{shell-layout-knqcStSb.js → shell-layout-DMJSwXH6.js} +1 -1
- package/dist/client/assets/{sidebar-CPIvGktg.js → sidebar-BCim0GYP.js} +1 -1
- package/dist/client/assets/{skill-preview-Dr3uDA0q.js → skill-preview-eH_MzYft.js} +1 -1
- package/dist/client/assets/{skills-B7mrIhFJ.js → skills-BtiwGp2Q.js} +1 -1
- package/dist/client/assets/{sso-JfSG6sY-.js → sso-BOpSC7cb.js} +1 -1
- package/dist/client/assets/{store-CRU_7Bvk.js → store-DmrioYP8.js} +1 -1
- package/dist/client/assets/store-registry-B398fyC0.js +2 -0
- package/dist/client/assets/{switch-Cf30aXkY.js → switch-9PLadaw_.js} +1 -1
- package/dist/client/assets/{synced-repos-C5RH3GVW.js → synced-repos-gfJnKqre.js} +1 -1
- package/dist/client/assets/{table-D6IMkB4T.js → table-B6mPp07a.js} +1 -1
- package/dist/client/assets/{tabs-DSOAK--9.js → tabs-Co2GUrNY.js} +1 -1
- package/dist/client/assets/{task-board-DpuhnKzF.js → task-board-lQZGfEfb.js} +1 -1
- package/dist/client/assets/{task-route-CPm3yGLT.js → task-route-Btltx00G.js} +1 -1
- package/dist/client/assets/{task-status-CesK2f9G.js → task-status-CLlOhQGx.js} +1 -1
- package/dist/client/assets/{taskboard-analytics-DWWMZZdU.js → taskboard-analytics-CCRKXVH2.js} +1 -1
- package/dist/client/assets/tasks-BqLnbtfB.js +1 -0
- package/dist/client/assets/{tasks-BGbHPX0w.js → tasks-D_kcQmbi.js} +1 -1
- package/dist/client/assets/{textarea-DXDx4Cy0.js → textarea-BEOceSll.js} +1 -1
- package/dist/client/assets/{thread-intent-Cdmdi4Qs.js → thread-intent-9fI0jPLV.js} +1 -1
- package/dist/client/assets/{thread-route-CnHTxNkK.js → thread-route-B1EuqJlg.js} +1 -1
- package/dist/client/assets/{thread-route-BMICHdvv.js → thread-route-DG6kj-ho.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-BGNoSu7i.js → thread-sheet-body-CbIiPC8V.js} +1 -1
- package/dist/client/assets/{toggle-group-Cj0z3PRY.js → toggle-group-Ck5f9XVv.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-BehOLAeE.js → toolbar-icon-button-8ctMGgIP.js} +1 -1
- package/dist/client/assets/{tooltip-BDUrOxgN.js → tooltip-BuKeolDX.js} +1 -1
- package/dist/client/assets/{track-BJHbd99y.js → track-B7aLvyYR.js} +1 -1
- package/dist/client/assets/{types-DlfDRNRB.js → types-Bh4jNqv3.js} +1 -1
- package/dist/client/assets/{usage-stats-nuoZXpxw.js → usage-stats-waRf4dtg.js} +1 -1
- package/dist/client/assets/{use-ai-providers-QvFz5SFX.js → use-ai-providers-B0bxSHYG.js} +1 -1
- package/dist/client/assets/{use-automations-jwtTHLHf.js → use-automations-BdS9yl-d.js} +1 -1
- package/dist/client/assets/{use-autosave-D5Khb0ju.js → use-autosave-CfERN5UF.js} +1 -1
- package/dist/client/assets/{use-connect-companion-DDWKSdwn.js → use-connect-companion-_GDNSGRN.js} +1 -1
- package/dist/client/assets/{use-connection-CpOBycNm.js → use-connection-CPQUKm0a.js} +1 -1
- package/dist/client/assets/{use-copy-M0GDas2Q.js → use-copy-DUiBegp6.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BFxHh87r.js → use-create-virtual-mcp-BRT9hKZ3.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-BAJylOmL.js → use-date-fns-locale-PFUAQIxr.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-CAXyZd0j.js → use-debounced-autosave-CyDohN_c.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CVkWNti9.js → use-debounced-value-DeY1TNRX.js} +1 -1
- package/dist/client/assets/{use-deco-credits-D4THYOkS.js → use-deco-credits-Du6WCMYS.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DlUI-60k.js → use-decopilot-events-_O_0AHeH.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BznnJgfw.js → use-delete-connection-kqt66yqS.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-Buoxj9IO.js → use-deployment-admin-MznxNIiy.js} +1 -1
- package/dist/client/assets/{use-entitlements-BP7WwVM_.js → use-entitlements-BWaaNeuI.js} +1 -1
- package/dist/client/assets/{use-fast-preview-draft-url-Cu15Ye_n.js → use-fast-preview-draft-url-BrZtKg6o.js} +1 -1
- package/dist/client/assets/{use-file-configs-CyU7Mcil.js → use-file-configs-sqbLS09v.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-AtjP0SZW.js → use-infinite-scroll-RrOnf-fI.js} +1 -1
- package/dist/client/assets/{use-join-requests-aG0T3ECI.js → use-join-requests-BZzsbvb0.js} +1 -1
- package/dist/client/assets/{use-main-panel-tabs-IIO818_j.js → use-main-panel-tabs-CyT7yQAB.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-bcJwzpw7.js → use-mcp-auth-status-DvQCYJw0.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Bf0VpOBw.js → use-mcp-client-B1u2B39v.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-DxcgJEJ7.js → use-mcp-prompts-DxT8Kz-M.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DhZM9sTC.js → use-mcp-tools-Ch_j97A3.js} +1 -1
- package/dist/client/assets/{use-members-CsAzsmBA.js → use-members-H3oi0qPu.js} +1 -1
- package/dist/client/assets/{use-mobile-C5SrWG9H.js → use-mobile-CV7f0Wqe.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DOYg6fyU.js → use-navigate-to-agent-BMSyO1iB.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-Cjz--xRu.js → use-open-billing-url-BGn9Wkis.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C16MEGGe.js → use-org-auth-client-ZxEGrzhh.js} +1 -1
- package/dist/client/assets/{use-org-fs-BSDHmLev.js → use-org-fs-D6lKuMAi.js} +1 -1
- package/dist/client/assets/{use-org-notice-BALWnbFe.js → use-org-notice-C5thI8aD.js} +1 -1
- package/dist/client/assets/{use-org-sso-Dpa7KwXX.js → use-org-sso-vHIufIoJ.js} +1 -1
- package/dist/client/assets/{use-organization-roles-Cog-K9KN.js → use-organization-roles-DmWmnvDm.js} +1 -1
- package/dist/client/assets/{use-organization-settings-pqtCEzuj.js → use-organization-settings-C-XY0Wze.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-bhAOxlzp.js → use-panel-navigate-BG4d0Vrr.js} +1 -1
- package/dist/client/assets/{use-project-native-view-presence-DnirX6kM.js → use-project-native-view-presence-0NQTfFQT.js} +1 -1
- package/dist/client/assets/{use-project-scope-BfeOcOX-.js → use-project-scope-DRope0ob.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BJotyFay.js → use-registry-connections-D_a0MIjQ.js} +1 -1
- package/dist/client/assets/{use-releases-CjPEhpWE.js → use-releases-BPrtCiPS.js} +1 -1
- package/dist/client/assets/{use-reports-diagnostic-R9_oa5XU.js → use-reports-diagnostic-BtS3SpeX.js} +1 -1
- package/dist/client/assets/{use-route-default-main-DO9nAIOF.js → use-route-default-main-DBXt2fvS.js} +1 -1
- package/dist/client/assets/{use-secrets-Do9S2OuA.js → use-secrets-C5iKdreo.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-DTsnvRL8.js → use-section-preview-base-Dwn5dF7B.js} +1 -1
- package/dist/client/assets/{use-session-runtime--RMOkDN5.js → use-session-runtime-DU2zS-3V.js} +1 -1
- package/dist/client/assets/{use-tags-C-xYWG0d.js → use-tags-BvskEBAC.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-DqKWhXe3.js → use-task-board-analytics-DjIJHPkR.js} +1 -1
- package/dist/client/assets/{use-task-metadata-Bm567Cyu.js → use-task-metadata-9gheSHac.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-DA9fNv-d.js → use-thread-outputs-DAcljy5D.js} +1 -1
- package/dist/client/assets/{use-view-mode-mEqX4oRI.js → use-view-mode-CTt0Tykp.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BvrPyGzX.js → use-virtual-mcp-Bq1RMGPF.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C6OBOha-.js +1 -0
- package/dist/client/assets/{useQueries-DqQ6INqi.js → useQueries-DMqJmHGu.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-XFcbI_PD.js +1 -0
- package/dist/client/assets/{users-BS3mOvNq.js → users-B0Y-7Aab.js} +1 -1
- package/dist/client/assets/{utils-DAYUNxCI.js → utils-CU3t1jst.js} +1 -1
- package/dist/client/assets/{variant-calendar-D_T3c3MC.js → variant-calendar-Bp201sXA.js} +1 -1
- package/dist/client/assets/{variant-matcher-override-BSFlzIhP.js → variant-matcher-override-DUPu0vkW.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CzqFE_Lp.js → view-mode-toggle-DaZN0qXY.js} +1 -1
- package/dist/client/assets/{virtual-mcp-CG3JbZx8.js → virtual-mcp-BYPZngzy.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +118 -118
- package/dist/server/server.js +114 -114
- package/package.json +1 -1
- package/dist/client/assets/agent-app-huXdhJP6.js +0 -1
- package/dist/client/assets/agent-deck-DGboeeyf.js +0 -1
- package/dist/client/assets/agent-file-B8pH22Ku.js +0 -1
- package/dist/client/assets/agent-library-file-D-88nLF8.js +0 -1
- package/dist/client/assets/agent-settings-BzADpWtq.js +0 -1
- package/dist/client/assets/agent-site-editor-code-CGdhTJXE.js +0 -2
- package/dist/client/assets/agent-view-BZUeqD_l.js +0 -1
- package/dist/client/assets/api-keys-DfV1qFa5.js +0 -1
- package/dist/client/assets/app-editor-CK2-PFMD.js +0 -1
- package/dist/client/assets/automations-CfjjbeEx.js +0 -1
- package/dist/client/assets/category-editor-CG20ku6V.js +0 -1
- package/dist/client/assets/project-reports-jZGDkYDU.js +0 -1
- package/dist/client/assets/project-tasks-BDg0EJtT.js +0 -1
- package/dist/client/assets/record-editor-C96ND1CU.js +0 -1
- package/dist/client/assets/registry-rXZoWB8a.js +0 -2
- package/dist/client/assets/reports-C9YET_Fq.js +0 -1
- package/dist/client/assets/store-registry-Q0TOzx2-.js +0 -2
- package/dist/client/assets/tasks-DTqkQgJb.js +0 -1
- package/dist/client/assets/useInfiniteQuery-C-lwb5Ji.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CjJ_vWiS.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eD as be,c2 as z,r as M,eZ as Q,d_ as T,c as Ee,l as Z,j as B}from"./index-Cjhl57C5.js";import"./index-tw-L0pq4.js";import{w as Rs,c as me}from"./CartesianChart-u2Ri6JFS.js";var He,_a;function G(){if(_a)return He;_a=1;var r=Array.isArray;return He=r,He}var Ue,wa;function ku(){if(wa)return Ue;wa=1;var r=typeof be=="object"&&be&&be.Object===Object&&be;return Ue=r,Ue}var Ke,Oa;function V(){if(Oa)return Ke;Oa=1;var r=ku(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return Ke=t,Ke}var Ge,Sa;function ye(){if(Sa)return Ge;Sa=1;var r=V(),e=r.Symbol;return Ge=e,Ge}var We,Pa;function As(){if(Pa)return We;Pa=1;var r=ye(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,a=r?r.toStringTag:void 0;function i(o){var u=t.call(o,a),s=o[a];try{o[a]=void 0;var c=!0}catch{}var l=n.call(o);return c&&(u?o[a]=s:delete o[a]),l}return We=i,We}var ze,qa;function js(){if(qa)return ze;qa=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return ze=t,ze}var Ve,Ca;function ee(){if(Ca)return Ve;Ca=1;var r=ye(),e=As(),t=js(),n="[object Null]",a="[object Undefined]",i=r?r.toStringTag:void 0;function o(u){return u==null?u===void 0?a:n:i&&i in Object(u)?e(u):t(u)}return Ve=o,Ve}var Xe,Ta;function re(){if(Ta)return Xe;Ta=1;function r(e){return e!=null&&typeof e=="object"}return Xe=r,Xe}var Ye,xa;function ge(){if(xa)return Ye;xa=1;var r=ee(),e=re(),t="[object Symbol]";function n(a){return typeof a=="symbol"||e(a)&&r(a)==t}return Ye=n,Ye}var Ze,Ra;function aa(){if(Ra)return Ze;Ra=1;var r=G(),e=ge(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(i,o){if(r(i))return!1;var u=typeof i;return u=="number"||u=="symbol"||u=="boolean"||i==null||e(i)?!0:n.test(i)||!t.test(i)||o!=null&&i in Object(o)}return Ze=a,Ze}var Je,Aa;function J(){if(Aa)return Je;Aa=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return Je=r,Je}var Qe,ja;function ia(){if(ja)return Qe;ja=1;var r=ee(),e=J(),t="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function o(u){if(!e(u))return!1;var s=r(u);return s==n||s==a||s==t||s==i}return Qe=o,Qe}var er,Ea;function Es(){if(Ea)return er;Ea=1;var r=V(),e=r["__core-js_shared__"];return er=e,er}var rr,Ia;function Is(){if(Ia)return rr;Ia=1;var r=Es(),e=(function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function t(n){return!!e&&e in n}return rr=t,rr}var tr,Ba;function Hu(){if(Ba)return tr;Ba=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return tr=t,tr}var nr,Da;function Bs(){if(Da)return nr;Da=1;var r=ia(),e=Is(),t=J(),n=Hu(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!t(h)||e(h))return!1;var p=r(h)?l:i;return p.test(n(h))}return nr=f,nr}var ar,Na;function Ds(){if(Na)return ar;Na=1;function r(e,t){return e?.[t]}return ar=r,ar}var ir,Ma;function te(){if(Ma)return ir;Ma=1;var r=Bs(),e=Ds();function t(n,a){var i=e(n,a);return r(i)?i:void 0}return ir=t,ir}var or,La;function Ie(){if(La)return or;La=1;var r=te(),e=r(Object,"create");return or=e,or}var ur,$a;function Ns(){if($a)return ur;$a=1;var r=Ie();function e(){this.__data__=r?r(null):{},this.size=0}return ur=e,ur}var sr,Fa;function Ms(){if(Fa)return sr;Fa=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return sr=r,sr}var cr,ka;function Ls(){if(ka)return cr;ka=1;var r=Ie(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function a(i){var o=this.__data__;if(r){var u=o[i];return u===e?void 0:u}return n.call(o,i)?o[i]:void 0}return cr=a,cr}var lr,Ha;function $s(){if(Ha)return lr;Ha=1;var r=Ie(),e=Object.prototype,t=e.hasOwnProperty;function n(a){var i=this.__data__;return r?i[a]!==void 0:t.call(i,a)}return lr=n,lr}var fr,Ua;function Fs(){if(Ua)return fr;Ua=1;var r=Ie(),e="__lodash_hash_undefined__";function t(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=r&&a===void 0?e:a,this}return fr=t,fr}var pr,Ka;function ks(){if(Ka)return pr;Ka=1;var r=Ns(),e=Ms(),t=Ls(),n=$s(),a=Fs();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,pr=i,pr}var dr,Ga;function Hs(){if(Ga)return dr;Ga=1;function r(){this.__data__=[],this.size=0}return dr=r,dr}var hr,Wa;function oa(){if(Wa)return hr;Wa=1;function r(e,t){return e===t||e!==e&&t!==t}return hr=r,hr}var vr,za;function Be(){if(za)return vr;za=1;var r=oa();function e(t,n){for(var a=t.length;a--;)if(r(t[a][0],n))return a;return-1}return vr=e,vr}var yr,Va;function Us(){if(Va)return yr;Va=1;var r=Be(),e=Array.prototype,t=e.splice;function n(a){var i=this.__data__,o=r(i,a);if(o<0)return!1;var u=i.length-1;return o==u?i.pop():t.call(i,o,1),--this.size,!0}return yr=n,yr}var gr,Xa;function Ks(){if(Xa)return gr;Xa=1;var r=Be();function e(t){var n=this.__data__,a=r(n,t);return a<0?void 0:n[a][1]}return gr=e,gr}var br,Ya;function Gs(){if(Ya)return br;Ya=1;var r=Be();function e(t){return r(this.__data__,t)>-1}return br=e,br}var mr,Za;function Ws(){if(Za)return mr;Za=1;var r=Be();function e(t,n){var a=this.__data__,i=r(a,t);return i<0?(++this.size,a.push([t,n])):a[i][1]=n,this}return mr=e,mr}var _r,Ja;function De(){if(Ja)return _r;Ja=1;var r=Hs(),e=Us(),t=Ks(),n=Gs(),a=Ws();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,_r=i,_r}var wr,Qa;function ua(){if(Qa)return wr;Qa=1;var r=te(),e=V(),t=r(e,"Map");return wr=t,wr}var Or,ei;function zs(){if(ei)return Or;ei=1;var r=ks(),e=De(),t=ua();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Or=n,Or}var Sr,ri;function Vs(){if(ri)return Sr;ri=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Sr=r,Sr}var Pr,ti;function Ne(){if(ti)return Pr;ti=1;var r=Vs();function e(t,n){var a=t.__data__;return r(n)?a[typeof n=="string"?"string":"hash"]:a.map}return Pr=e,Pr}var qr,ni;function Xs(){if(ni)return qr;ni=1;var r=Ne();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return qr=e,qr}var Cr,ai;function Ys(){if(ai)return Cr;ai=1;var r=Ne();function e(t){return r(this,t).get(t)}return Cr=e,Cr}var Tr,ii;function Zs(){if(ii)return Tr;ii=1;var r=Ne();function e(t){return r(this,t).has(t)}return Tr=e,Tr}var xr,oi;function Js(){if(oi)return xr;oi=1;var r=Ne();function e(t,n){var a=r(this,t),i=a.size;return a.set(t,n),this.size+=a.size==i?0:1,this}return xr=e,xr}var Rr,ui;function sa(){if(ui)return Rr;ui=1;var r=zs(),e=Xs(),t=Ys(),n=Zs(),a=Js();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,Rr=i,Rr}var Ar,si;function Qs(){if(si)return Ar;si=1;var r=sa(),e="Expected a function";function t(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(e);var i=function(){var o=arguments,u=a?a.apply(this,o):o[0],s=i.cache;if(s.has(u))return s.get(u);var c=n.apply(this,o);return i.cache=s.set(u,c)||s,c};return i.cache=new(t.Cache||r),i}return t.Cache=r,Ar=t,Ar}var jr,ci;function ec(){if(ci)return jr;ci=1;var r=Qs(),e=500;function t(n){var a=r(n,function(o){return i.size===e&&i.clear(),o}),i=a.cache;return a}return jr=t,jr}var Er,li;function rc(){if(li)return Er;li=1;var r=ec(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t=/\\(\\)?/g,n=r(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(e,function(o,u,s,c){i.push(s?c.replace(t,"$1"):u||o)}),i});return Er=n,Er}var Ir,fi;function Uu(){if(fi)return Ir;fi=1;function r(e,t){for(var n=-1,a=e==null?0:e.length,i=Array(a);++n<a;)i[n]=t(e[n],n,e);return i}return Ir=r,Ir}var Br,pi;function tc(){if(pi)return Br;pi=1;var r=ye(),e=Uu(),t=G(),n=ge(),a=r?r.prototype:void 0,i=a?a.toString:void 0;function o(u){if(typeof u=="string")return u;if(t(u))return e(u,o)+"";if(n(u))return i?i.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return Br=o,Br}var Dr,di;function Ku(){if(di)return Dr;di=1;var r=tc();function e(t){return t==null?"":r(t)}return Dr=e,Dr}var Nr,hi;function Gu(){if(hi)return Nr;hi=1;var r=G(),e=aa(),t=rc(),n=Ku();function a(i,o){return r(i)?i:e(i,o)?[i]:t(n(i))}return Nr=a,Nr}var Mr,vi;function Me(){if(vi)return Mr;vi=1;var r=ge();function e(t){if(typeof t=="string"||r(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}return Mr=e,Mr}var Lr,yi;function ca(){if(yi)return Lr;yi=1;var r=Gu(),e=Me();function t(n,a){a=r(a,n);for(var i=0,o=a.length;n!=null&&i<o;)n=n[e(a[i++])];return i&&i==o?n:void 0}return Lr=t,Lr}var $r,gi;function Wu(){if(gi)return $r;gi=1;var r=ca();function e(t,n,a){var i=t==null?void 0:r(t,n);return i===void 0?a:i}return $r=e,$r}Wu();var Fr,bi;function nc(){if(bi)return Fr;bi=1;function r(e){return e==null}return Fr=r,Fr}var ac=nc();const ic=z(ac);var kr,mi;function oc(){if(mi)return kr;mi=1;var r=ee(),e=G(),t=re(),n="[object String]";function a(i){return typeof i=="string"||!e(i)&&t(i)&&r(i)==n}return kr=a,kr}var uc=oc();const zu=z(uc);var sc=ia();const Pe=z(sc);var cc=J();const Vu=z(cc);var Hr,_i;function Xu(){if(_i)return Hr;_i=1;var r=ee(),e=re(),t="[object Number]";function n(a){return typeof a=="number"||e(a)&&r(a)==t}return Hr=n,Hr}var Ur,wi;function lc(){if(wi)return Ur;wi=1;var r=Xu();function e(t){return r(t)&&t!=+t}return Ur=e,Ur}var fc=lc();const pc=z(fc);var dc=Xu();const hc=z(dc);var _e=function(e){return zu(e)&&e.indexOf("%")===e.length-1},K=function(e){return hc(e)&&!pc(e)},qe=function(e){return K(e)||zu(e)};function Wn(r){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(r)}var vc=["viewBox","children"],yc=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Oi=["points","pathLength"],Kr={svg:vc,polygon:Oi,polyline:Oi},Yu=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],gc=function(e,t,n){return function(a){return e(t,n,a),null}},bc=function(e,t,n){if(!Vu(e)||Wn(e)!=="object")return null;var a=null;return Object.keys(e).forEach(function(i){var o=e[i];Yu.includes(i)&&typeof o=="function"&&(a||(a={}),a[i]=gc(o,t,n))}),a},mc=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},_c=function(e,t,n,a){var i,o=(i=Kr?.[a])!==null&&i!==void 0?i:[];return!Pe(e)&&(a&&o.includes(t)||yc.includes(t))||Yu.includes(t)},Zu=function(e,t,n){if(!e||typeof e=="function"||typeof e=="boolean")return null;var a=e;if(M.isValidElement(e)&&(a=e.props),!Vu(a))return null;var i={};return Object.keys(a).forEach(function(o){var u;_c((u=a)===null||u===void 0?void 0:u[o],o,t,n)&&(i[o]=a[o])}),i},wc=["children","width","height","viewBox","className","style","title","desc"];function zn(){return zn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},zn.apply(this,arguments)}function Oc(r,e){if(r==null)return{};var t=Sc(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function Sc(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}function Pc(r){var e=r.children,t=r.width,n=r.height,a=r.viewBox,i=r.className,o=r.style,u=r.title,s=r.desc,c=Oc(r,wc),l=a||{width:t,height:n,x:0,y:0},f=Q("recharts-surface",i);return T.createElement("svg",zn({},Zu(c,!0,"svg"),{className:f,width:t,height:n,style:o,viewBox:"".concat(l.x," ").concat(l.y," ").concat(l.width," ").concat(l.height)}),T.createElement("title",null,u),T.createElement("desc",null,s),e)}var Se=function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i]},Gr,Si;function qc(){if(Si)return Gr;Si=1;function r(e,t,n){var a=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++a<i;)o[a]=e[a+t];return o}return Gr=r,Gr}var Wr,Pi;function Cc(){if(Pi)return Wr;Pi=1;var r=qc();function e(t,n,a){var i=t.length;return a=a===void 0?i:a,!n&&a>=i?t:r(t,n,a)}return Wr=e,Wr}var zr,qi;function Ju(){if(qi)return zr;qi=1;var r="\\ud800-\\udfff",e="\\u0300-\\u036f",t="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+t+n,i="\\ufe0e\\ufe0f",o="\\u200d",u=RegExp("["+o+r+a+i+"]");function s(c){return u.test(c)}return zr=s,zr}var Vr,Ci;function Tc(){if(Ci)return Vr;Ci=1;function r(e){return e.split("")}return Vr=r,Vr}var Xr,Ti;function xc(){if(Ti)return Xr;Ti=1;var r="\\ud800-\\udfff",e="\\u0300-\\u036f",t="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+t+n,i="\\ufe0e\\ufe0f",o="["+r+"]",u="["+a+"]",s="\\ud83c[\\udffb-\\udfff]",c="(?:"+u+"|"+s+")",l="[^"+r+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",v=c+"?",d="["+i+"]?",y="(?:"+p+"(?:"+[l,f,h].join("|")+")"+d+v+")*",b=d+v+y,g="(?:"+[l+u+"?",u,f,h,o].join("|")+")",O=RegExp(s+"(?="+s+")|"+g+b,"g");function m(C){return C.match(O)||[]}return Xr=m,Xr}var Yr,xi;function Rc(){if(xi)return Yr;xi=1;var r=Tc(),e=Ju(),t=xc();function n(a){return e(a)?t(a):r(a)}return Yr=n,Yr}var Zr,Ri;function Ac(){if(Ri)return Zr;Ri=1;var r=Cc(),e=Ju(),t=Rc(),n=Ku();function a(i){return function(o){o=n(o);var u=e(o)?t(o):void 0,s=u?u[0]:o.charAt(0),c=u?r(u,1).join(""):o.slice(1);return s[i]()+c}}return Zr=a,Zr}var Jr,Ai;function jc(){if(Ai)return Jr;Ai=1;var r=Ac(),e=r("toUpperCase");return Jr=e,Jr}var Ec=jc();const Qu=z(Ec),es=Math.cos,Ce=Math.sin,W=Math.sqrt,Te=Math.PI,Le=2*Te,la={draw(r,e){const t=W(e/Te);r.moveTo(t,0),r.arc(0,0,t,0,Le)}},Ic={draw(r,e){const t=W(e/5)/2;r.moveTo(-3*t,-t),r.lineTo(-t,-t),r.lineTo(-t,-3*t),r.lineTo(t,-3*t),r.lineTo(t,-t),r.lineTo(3*t,-t),r.lineTo(3*t,t),r.lineTo(t,t),r.lineTo(t,3*t),r.lineTo(-t,3*t),r.lineTo(-t,t),r.lineTo(-3*t,t),r.closePath()}},rs=W(1/3),Bc=rs*2,Dc={draw(r,e){const t=W(e/Bc),n=t*rs;r.moveTo(0,-t),r.lineTo(n,0),r.lineTo(0,t),r.lineTo(-n,0),r.closePath()}},Nc={draw(r,e){const t=W(e),n=-t/2;r.rect(n,n,t,t)}},Mc=.8908130915292852,ts=Ce(Te/10)/Ce(7*Te/10),Lc=Ce(Le/10)*ts,$c=-es(Le/10)*ts,Fc={draw(r,e){const t=W(e*Mc),n=Lc*t,a=$c*t;r.moveTo(0,-t),r.lineTo(n,a);for(let i=1;i<5;++i){const o=Le*i/5,u=es(o),s=Ce(o);r.lineTo(s*t,-u*t),r.lineTo(u*n-s*a,s*n+u*a)}r.closePath()}},Qr=W(3),kc={draw(r,e){const t=-W(e/(Qr*3));r.moveTo(0,t*2),r.lineTo(-Qr*t,-t),r.lineTo(Qr*t,-t),r.closePath()}},F=-.5,k=W(3)/2,Vn=1/W(12),Hc=(Vn/2+1)*3,Uc={draw(r,e){const t=W(e/Hc),n=t/2,a=t*Vn,i=n,o=t*Vn+t,u=-i,s=o;r.moveTo(n,a),r.lineTo(i,o),r.lineTo(u,s),r.lineTo(F*n-k*a,k*n+F*a),r.lineTo(F*i-k*o,k*i+F*o),r.lineTo(F*u-k*s,k*u+F*s),r.lineTo(F*n+k*a,F*a-k*n),r.lineTo(F*i+k*o,F*o-k*i),r.lineTo(F*u+k*s,F*s-k*u),r.closePath()}};function Kc(r,e){let t=null,n=Rs(a);r=typeof r=="function"?r:me(r||la),e=typeof e=="function"?e:me(e===void 0?64:+e);function a(){let i;if(t||(t=i=n()),r.apply(this,arguments).draw(t,+e.apply(this,arguments)),i)return t=null,i+""||null}return a.type=function(i){return arguments.length?(r=typeof i=="function"?i:me(i),a):r},a.size=function(i){return arguments.length?(e=typeof i=="function"?i:me(+i),a):e},a.context=function(i){return arguments.length?(t=i??null,a):t},a}function fe(r){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(r)}var Gc=["type","size","sizeType"];function Xn(){return Xn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Xn.apply(this,arguments)}function ji(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ei(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ji(Object(t),!0).forEach(function(n){Wc(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ji(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Wc(r,e,t){return e=zc(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function zc(r){var e=Vc(r,"string");return fe(e)=="symbol"?e:e+""}function Vc(r,e){if(fe(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Xc(r,e){if(r==null)return{};var t=Yc(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function Yc(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}var ns={symbolCircle:la,symbolCross:Ic,symbolDiamond:Dc,symbolSquare:Nc,symbolStar:Fc,symbolTriangle:kc,symbolWye:Uc},Zc=Math.PI/180,Jc=function(e){var t="symbol".concat(Qu(e));return ns[t]||la},Qc=function(e,t,n){if(t==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var a=18*Zc;return 1.25*e*e*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},el=function(e,t){ns["symbol".concat(Qu(e))]=t},as=function(e){var t=e.type,n=t===void 0?"circle":t,a=e.size,i=a===void 0?64:a,o=e.sizeType,u=o===void 0?"area":o,s=Xc(e,Gc),c=Ei(Ei({},s),{},{type:n,size:i,sizeType:u}),l=function(){var y=Jc(n),b=Kc().type(y).size(Qc(i,u,n));return b()},f=c.className,h=c.cx,p=c.cy,v=Zu(c,!0);return h===+h&&p===+p&&i===+i?T.createElement("path",Xn({},v,{className:Q("recharts-symbols",f),transform:"translate(".concat(h,", ").concat(p,")"),d:l()})):null};as.registerSymbol=el;function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}function Yn(){return Yn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Yn.apply(this,arguments)}function Ii(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function rl(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ii(Object(t),!0).forEach(function(n){pe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ii(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function tl(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,os(n.key),n)}}function al(r,e,t){return e&&nl(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function il(r,e,t){return e=xe(e),ol(r,is()?Reflect.construct(e,t||[],xe(r).constructor):e.apply(r,t))}function ol(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ul(r)}function ul(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function is(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(is=function(){return!!r})()}function xe(r){return xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xe(r)}function sl(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Zn(r,e)}function Zn(r,e){return Zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Zn(r,e)}function pe(r,e,t){return e=os(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function os(r){var e=cl(r,"string");return ne(e)=="symbol"?e:e+""}function cl(r,e){if(ne(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(ne(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}var H=32,fa=(function(r){function e(){return tl(this,e),il(this,e,arguments)}return sl(e,r),al(e,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,i=H/2,o=H/6,u=H/3,s=n.inactive?a:n.color;if(n.type==="plainline")return T.createElement("line",{strokeWidth:4,fill:"none",stroke:s,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:i,x2:H,y2:i,className:"recharts-legend-icon"});if(n.type==="line")return T.createElement("path",{strokeWidth:4,fill:"none",stroke:s,d:"M0,".concat(i,"h").concat(u,`
|
|
1
|
+
import{eD as be,c2 as z,r as M,eZ as Q,d_ as T,c as Ee,l as Z,j as B}from"./index-z4bKt11m.js";import"./index-D68Q2TT2.js";import{w as Rs,c as me}from"./CartesianChart-D1MxLL7k.js";var He,_a;function G(){if(_a)return He;_a=1;var r=Array.isArray;return He=r,He}var Ue,wa;function ku(){if(wa)return Ue;wa=1;var r=typeof be=="object"&&be&&be.Object===Object&&be;return Ue=r,Ue}var Ke,Oa;function V(){if(Oa)return Ke;Oa=1;var r=ku(),e=typeof self=="object"&&self&&self.Object===Object&&self,t=r||e||Function("return this")();return Ke=t,Ke}var Ge,Sa;function ye(){if(Sa)return Ge;Sa=1;var r=V(),e=r.Symbol;return Ge=e,Ge}var We,Pa;function As(){if(Pa)return We;Pa=1;var r=ye(),e=Object.prototype,t=e.hasOwnProperty,n=e.toString,a=r?r.toStringTag:void 0;function i(o){var u=t.call(o,a),s=o[a];try{o[a]=void 0;var c=!0}catch{}var l=n.call(o);return c&&(u?o[a]=s:delete o[a]),l}return We=i,We}var ze,qa;function js(){if(qa)return ze;qa=1;var r=Object.prototype,e=r.toString;function t(n){return e.call(n)}return ze=t,ze}var Ve,Ca;function ee(){if(Ca)return Ve;Ca=1;var r=ye(),e=As(),t=js(),n="[object Null]",a="[object Undefined]",i=r?r.toStringTag:void 0;function o(u){return u==null?u===void 0?a:n:i&&i in Object(u)?e(u):t(u)}return Ve=o,Ve}var Xe,Ta;function re(){if(Ta)return Xe;Ta=1;function r(e){return e!=null&&typeof e=="object"}return Xe=r,Xe}var Ye,xa;function ge(){if(xa)return Ye;xa=1;var r=ee(),e=re(),t="[object Symbol]";function n(a){return typeof a=="symbol"||e(a)&&r(a)==t}return Ye=n,Ye}var Ze,Ra;function aa(){if(Ra)return Ze;Ra=1;var r=G(),e=ge(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(i,o){if(r(i))return!1;var u=typeof i;return u=="number"||u=="symbol"||u=="boolean"||i==null||e(i)?!0:n.test(i)||!t.test(i)||o!=null&&i in Object(o)}return Ze=a,Ze}var Je,Aa;function J(){if(Aa)return Je;Aa=1;function r(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}return Je=r,Je}var Qe,ja;function ia(){if(ja)return Qe;ja=1;var r=ee(),e=J(),t="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function o(u){if(!e(u))return!1;var s=r(u);return s==n||s==a||s==t||s==i}return Qe=o,Qe}var er,Ea;function Es(){if(Ea)return er;Ea=1;var r=V(),e=r["__core-js_shared__"];return er=e,er}var rr,Ia;function Is(){if(Ia)return rr;Ia=1;var r=Es(),e=(function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function t(n){return!!e&&e in n}return rr=t,rr}var tr,Ba;function Hu(){if(Ba)return tr;Ba=1;var r=Function.prototype,e=r.toString;function t(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return tr=t,tr}var nr,Da;function Bs(){if(Da)return nr;Da=1;var r=ia(),e=Is(),t=J(),n=Hu(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!t(h)||e(h))return!1;var p=r(h)?l:i;return p.test(n(h))}return nr=f,nr}var ar,Na;function Ds(){if(Na)return ar;Na=1;function r(e,t){return e?.[t]}return ar=r,ar}var ir,Ma;function te(){if(Ma)return ir;Ma=1;var r=Bs(),e=Ds();function t(n,a){var i=e(n,a);return r(i)?i:void 0}return ir=t,ir}var or,La;function Ie(){if(La)return or;La=1;var r=te(),e=r(Object,"create");return or=e,or}var ur,$a;function Ns(){if($a)return ur;$a=1;var r=Ie();function e(){this.__data__=r?r(null):{},this.size=0}return ur=e,ur}var sr,Fa;function Ms(){if(Fa)return sr;Fa=1;function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}return sr=r,sr}var cr,ka;function Ls(){if(ka)return cr;ka=1;var r=Ie(),e="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function a(i){var o=this.__data__;if(r){var u=o[i];return u===e?void 0:u}return n.call(o,i)?o[i]:void 0}return cr=a,cr}var lr,Ha;function $s(){if(Ha)return lr;Ha=1;var r=Ie(),e=Object.prototype,t=e.hasOwnProperty;function n(a){var i=this.__data__;return r?i[a]!==void 0:t.call(i,a)}return lr=n,lr}var fr,Ua;function Fs(){if(Ua)return fr;Ua=1;var r=Ie(),e="__lodash_hash_undefined__";function t(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=r&&a===void 0?e:a,this}return fr=t,fr}var pr,Ka;function ks(){if(Ka)return pr;Ka=1;var r=Ns(),e=Ms(),t=Ls(),n=$s(),a=Fs();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,pr=i,pr}var dr,Ga;function Hs(){if(Ga)return dr;Ga=1;function r(){this.__data__=[],this.size=0}return dr=r,dr}var hr,Wa;function oa(){if(Wa)return hr;Wa=1;function r(e,t){return e===t||e!==e&&t!==t}return hr=r,hr}var vr,za;function Be(){if(za)return vr;za=1;var r=oa();function e(t,n){for(var a=t.length;a--;)if(r(t[a][0],n))return a;return-1}return vr=e,vr}var yr,Va;function Us(){if(Va)return yr;Va=1;var r=Be(),e=Array.prototype,t=e.splice;function n(a){var i=this.__data__,o=r(i,a);if(o<0)return!1;var u=i.length-1;return o==u?i.pop():t.call(i,o,1),--this.size,!0}return yr=n,yr}var gr,Xa;function Ks(){if(Xa)return gr;Xa=1;var r=Be();function e(t){var n=this.__data__,a=r(n,t);return a<0?void 0:n[a][1]}return gr=e,gr}var br,Ya;function Gs(){if(Ya)return br;Ya=1;var r=Be();function e(t){return r(this.__data__,t)>-1}return br=e,br}var mr,Za;function Ws(){if(Za)return mr;Za=1;var r=Be();function e(t,n){var a=this.__data__,i=r(a,t);return i<0?(++this.size,a.push([t,n])):a[i][1]=n,this}return mr=e,mr}var _r,Ja;function De(){if(Ja)return _r;Ja=1;var r=Hs(),e=Us(),t=Ks(),n=Gs(),a=Ws();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,_r=i,_r}var wr,Qa;function ua(){if(Qa)return wr;Qa=1;var r=te(),e=V(),t=r(e,"Map");return wr=t,wr}var Or,ei;function zs(){if(ei)return Or;ei=1;var r=ks(),e=De(),t=ua();function n(){this.size=0,this.__data__={hash:new r,map:new(t||e),string:new r}}return Or=n,Or}var Sr,ri;function Vs(){if(ri)return Sr;ri=1;function r(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}return Sr=r,Sr}var Pr,ti;function Ne(){if(ti)return Pr;ti=1;var r=Vs();function e(t,n){var a=t.__data__;return r(n)?a[typeof n=="string"?"string":"hash"]:a.map}return Pr=e,Pr}var qr,ni;function Xs(){if(ni)return qr;ni=1;var r=Ne();function e(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}return qr=e,qr}var Cr,ai;function Ys(){if(ai)return Cr;ai=1;var r=Ne();function e(t){return r(this,t).get(t)}return Cr=e,Cr}var Tr,ii;function Zs(){if(ii)return Tr;ii=1;var r=Ne();function e(t){return r(this,t).has(t)}return Tr=e,Tr}var xr,oi;function Js(){if(oi)return xr;oi=1;var r=Ne();function e(t,n){var a=r(this,t),i=a.size;return a.set(t,n),this.size+=a.size==i?0:1,this}return xr=e,xr}var Rr,ui;function sa(){if(ui)return Rr;ui=1;var r=zs(),e=Xs(),t=Ys(),n=Zs(),a=Js();function i(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return i.prototype.clear=r,i.prototype.delete=e,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,Rr=i,Rr}var Ar,si;function Qs(){if(si)return Ar;si=1;var r=sa(),e="Expected a function";function t(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(e);var i=function(){var o=arguments,u=a?a.apply(this,o):o[0],s=i.cache;if(s.has(u))return s.get(u);var c=n.apply(this,o);return i.cache=s.set(u,c)||s,c};return i.cache=new(t.Cache||r),i}return t.Cache=r,Ar=t,Ar}var jr,ci;function ec(){if(ci)return jr;ci=1;var r=Qs(),e=500;function t(n){var a=r(n,function(o){return i.size===e&&i.clear(),o}),i=a.cache;return a}return jr=t,jr}var Er,li;function rc(){if(li)return Er;li=1;var r=ec(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t=/\\(\\)?/g,n=r(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(e,function(o,u,s,c){i.push(s?c.replace(t,"$1"):u||o)}),i});return Er=n,Er}var Ir,fi;function Uu(){if(fi)return Ir;fi=1;function r(e,t){for(var n=-1,a=e==null?0:e.length,i=Array(a);++n<a;)i[n]=t(e[n],n,e);return i}return Ir=r,Ir}var Br,pi;function tc(){if(pi)return Br;pi=1;var r=ye(),e=Uu(),t=G(),n=ge(),a=r?r.prototype:void 0,i=a?a.toString:void 0;function o(u){if(typeof u=="string")return u;if(t(u))return e(u,o)+"";if(n(u))return i?i.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return Br=o,Br}var Dr,di;function Ku(){if(di)return Dr;di=1;var r=tc();function e(t){return t==null?"":r(t)}return Dr=e,Dr}var Nr,hi;function Gu(){if(hi)return Nr;hi=1;var r=G(),e=aa(),t=rc(),n=Ku();function a(i,o){return r(i)?i:e(i,o)?[i]:t(n(i))}return Nr=a,Nr}var Mr,vi;function Me(){if(vi)return Mr;vi=1;var r=ge();function e(t){if(typeof t=="string"||r(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}return Mr=e,Mr}var Lr,yi;function ca(){if(yi)return Lr;yi=1;var r=Gu(),e=Me();function t(n,a){a=r(a,n);for(var i=0,o=a.length;n!=null&&i<o;)n=n[e(a[i++])];return i&&i==o?n:void 0}return Lr=t,Lr}var $r,gi;function Wu(){if(gi)return $r;gi=1;var r=ca();function e(t,n,a){var i=t==null?void 0:r(t,n);return i===void 0?a:i}return $r=e,$r}Wu();var Fr,bi;function nc(){if(bi)return Fr;bi=1;function r(e){return e==null}return Fr=r,Fr}var ac=nc();const ic=z(ac);var kr,mi;function oc(){if(mi)return kr;mi=1;var r=ee(),e=G(),t=re(),n="[object String]";function a(i){return typeof i=="string"||!e(i)&&t(i)&&r(i)==n}return kr=a,kr}var uc=oc();const zu=z(uc);var sc=ia();const Pe=z(sc);var cc=J();const Vu=z(cc);var Hr,_i;function Xu(){if(_i)return Hr;_i=1;var r=ee(),e=re(),t="[object Number]";function n(a){return typeof a=="number"||e(a)&&r(a)==t}return Hr=n,Hr}var Ur,wi;function lc(){if(wi)return Ur;wi=1;var r=Xu();function e(t){return r(t)&&t!=+t}return Ur=e,Ur}var fc=lc();const pc=z(fc);var dc=Xu();const hc=z(dc);var _e=function(e){return zu(e)&&e.indexOf("%")===e.length-1},K=function(e){return hc(e)&&!pc(e)},qe=function(e){return K(e)||zu(e)};function Wn(r){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(r)}var vc=["viewBox","children"],yc=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Oi=["points","pathLength"],Kr={svg:vc,polygon:Oi,polyline:Oi},Yu=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],gc=function(e,t,n){return function(a){return e(t,n,a),null}},bc=function(e,t,n){if(!Vu(e)||Wn(e)!=="object")return null;var a=null;return Object.keys(e).forEach(function(i){var o=e[i];Yu.includes(i)&&typeof o=="function"&&(a||(a={}),a[i]=gc(o,t,n))}),a},mc=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},_c=function(e,t,n,a){var i,o=(i=Kr?.[a])!==null&&i!==void 0?i:[];return!Pe(e)&&(a&&o.includes(t)||yc.includes(t))||Yu.includes(t)},Zu=function(e,t,n){if(!e||typeof e=="function"||typeof e=="boolean")return null;var a=e;if(M.isValidElement(e)&&(a=e.props),!Vu(a))return null;var i={};return Object.keys(a).forEach(function(o){var u;_c((u=a)===null||u===void 0?void 0:u[o],o,t,n)&&(i[o]=a[o])}),i},wc=["children","width","height","viewBox","className","style","title","desc"];function zn(){return zn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},zn.apply(this,arguments)}function Oc(r,e){if(r==null)return{};var t=Sc(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function Sc(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}function Pc(r){var e=r.children,t=r.width,n=r.height,a=r.viewBox,i=r.className,o=r.style,u=r.title,s=r.desc,c=Oc(r,wc),l=a||{width:t,height:n,x:0,y:0},f=Q("recharts-surface",i);return T.createElement("svg",zn({},Zu(c,!0,"svg"),{className:f,width:t,height:n,style:o,viewBox:"".concat(l.x," ").concat(l.y," ").concat(l.width," ").concat(l.height)}),T.createElement("title",null,u),T.createElement("desc",null,s),e)}var Se=function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i]},Gr,Si;function qc(){if(Si)return Gr;Si=1;function r(e,t,n){var a=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++a<i;)o[a]=e[a+t];return o}return Gr=r,Gr}var Wr,Pi;function Cc(){if(Pi)return Wr;Pi=1;var r=qc();function e(t,n,a){var i=t.length;return a=a===void 0?i:a,!n&&a>=i?t:r(t,n,a)}return Wr=e,Wr}var zr,qi;function Ju(){if(qi)return zr;qi=1;var r="\\ud800-\\udfff",e="\\u0300-\\u036f",t="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+t+n,i="\\ufe0e\\ufe0f",o="\\u200d",u=RegExp("["+o+r+a+i+"]");function s(c){return u.test(c)}return zr=s,zr}var Vr,Ci;function Tc(){if(Ci)return Vr;Ci=1;function r(e){return e.split("")}return Vr=r,Vr}var Xr,Ti;function xc(){if(Ti)return Xr;Ti=1;var r="\\ud800-\\udfff",e="\\u0300-\\u036f",t="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=e+t+n,i="\\ufe0e\\ufe0f",o="["+r+"]",u="["+a+"]",s="\\ud83c[\\udffb-\\udfff]",c="(?:"+u+"|"+s+")",l="[^"+r+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",v=c+"?",d="["+i+"]?",y="(?:"+p+"(?:"+[l,f,h].join("|")+")"+d+v+")*",b=d+v+y,g="(?:"+[l+u+"?",u,f,h,o].join("|")+")",O=RegExp(s+"(?="+s+")|"+g+b,"g");function m(C){return C.match(O)||[]}return Xr=m,Xr}var Yr,xi;function Rc(){if(xi)return Yr;xi=1;var r=Tc(),e=Ju(),t=xc();function n(a){return e(a)?t(a):r(a)}return Yr=n,Yr}var Zr,Ri;function Ac(){if(Ri)return Zr;Ri=1;var r=Cc(),e=Ju(),t=Rc(),n=Ku();function a(i){return function(o){o=n(o);var u=e(o)?t(o):void 0,s=u?u[0]:o.charAt(0),c=u?r(u,1).join(""):o.slice(1);return s[i]()+c}}return Zr=a,Zr}var Jr,Ai;function jc(){if(Ai)return Jr;Ai=1;var r=Ac(),e=r("toUpperCase");return Jr=e,Jr}var Ec=jc();const Qu=z(Ec),es=Math.cos,Ce=Math.sin,W=Math.sqrt,Te=Math.PI,Le=2*Te,la={draw(r,e){const t=W(e/Te);r.moveTo(t,0),r.arc(0,0,t,0,Le)}},Ic={draw(r,e){const t=W(e/5)/2;r.moveTo(-3*t,-t),r.lineTo(-t,-t),r.lineTo(-t,-3*t),r.lineTo(t,-3*t),r.lineTo(t,-t),r.lineTo(3*t,-t),r.lineTo(3*t,t),r.lineTo(t,t),r.lineTo(t,3*t),r.lineTo(-t,3*t),r.lineTo(-t,t),r.lineTo(-3*t,t),r.closePath()}},rs=W(1/3),Bc=rs*2,Dc={draw(r,e){const t=W(e/Bc),n=t*rs;r.moveTo(0,-t),r.lineTo(n,0),r.lineTo(0,t),r.lineTo(-n,0),r.closePath()}},Nc={draw(r,e){const t=W(e),n=-t/2;r.rect(n,n,t,t)}},Mc=.8908130915292852,ts=Ce(Te/10)/Ce(7*Te/10),Lc=Ce(Le/10)*ts,$c=-es(Le/10)*ts,Fc={draw(r,e){const t=W(e*Mc),n=Lc*t,a=$c*t;r.moveTo(0,-t),r.lineTo(n,a);for(let i=1;i<5;++i){const o=Le*i/5,u=es(o),s=Ce(o);r.lineTo(s*t,-u*t),r.lineTo(u*n-s*a,s*n+u*a)}r.closePath()}},Qr=W(3),kc={draw(r,e){const t=-W(e/(Qr*3));r.moveTo(0,t*2),r.lineTo(-Qr*t,-t),r.lineTo(Qr*t,-t),r.closePath()}},F=-.5,k=W(3)/2,Vn=1/W(12),Hc=(Vn/2+1)*3,Uc={draw(r,e){const t=W(e/Hc),n=t/2,a=t*Vn,i=n,o=t*Vn+t,u=-i,s=o;r.moveTo(n,a),r.lineTo(i,o),r.lineTo(u,s),r.lineTo(F*n-k*a,k*n+F*a),r.lineTo(F*i-k*o,k*i+F*o),r.lineTo(F*u-k*s,k*u+F*s),r.lineTo(F*n+k*a,F*a-k*n),r.lineTo(F*i+k*o,F*o-k*i),r.lineTo(F*u+k*s,F*s-k*u),r.closePath()}};function Kc(r,e){let t=null,n=Rs(a);r=typeof r=="function"?r:me(r||la),e=typeof e=="function"?e:me(e===void 0?64:+e);function a(){let i;if(t||(t=i=n()),r.apply(this,arguments).draw(t,+e.apply(this,arguments)),i)return t=null,i+""||null}return a.type=function(i){return arguments.length?(r=typeof i=="function"?i:me(i),a):r},a.size=function(i){return arguments.length?(e=typeof i=="function"?i:me(+i),a):e},a.context=function(i){return arguments.length?(t=i??null,a):t},a}function fe(r){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(r)}var Gc=["type","size","sizeType"];function Xn(){return Xn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Xn.apply(this,arguments)}function ji(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ei(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ji(Object(t),!0).forEach(function(n){Wc(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ji(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Wc(r,e,t){return e=zc(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function zc(r){var e=Vc(r,"string");return fe(e)=="symbol"?e:e+""}function Vc(r,e){if(fe(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Xc(r,e){if(r==null)return{};var t=Yc(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function Yc(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}var ns={symbolCircle:la,symbolCross:Ic,symbolDiamond:Dc,symbolSquare:Nc,symbolStar:Fc,symbolTriangle:kc,symbolWye:Uc},Zc=Math.PI/180,Jc=function(e){var t="symbol".concat(Qu(e));return ns[t]||la},Qc=function(e,t,n){if(t==="area")return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var a=18*Zc;return 1.25*e*e*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},el=function(e,t){ns["symbol".concat(Qu(e))]=t},as=function(e){var t=e.type,n=t===void 0?"circle":t,a=e.size,i=a===void 0?64:a,o=e.sizeType,u=o===void 0?"area":o,s=Xc(e,Gc),c=Ei(Ei({},s),{},{type:n,size:i,sizeType:u}),l=function(){var y=Jc(n),b=Kc().type(y).size(Qc(i,u,n));return b()},f=c.className,h=c.cx,p=c.cy,v=Zu(c,!0);return h===+h&&p===+p&&i===+i?T.createElement("path",Xn({},v,{className:Q("recharts-symbols",f),transform:"translate(".concat(h,", ").concat(p,")"),d:l()})):null};as.registerSymbol=el;function ne(r){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(r)}function Yn(){return Yn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Yn.apply(this,arguments)}function Ii(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function rl(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ii(Object(t),!0).forEach(function(n){pe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ii(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function tl(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,os(n.key),n)}}function al(r,e,t){return e&&nl(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function il(r,e,t){return e=xe(e),ol(r,is()?Reflect.construct(e,t||[],xe(r).constructor):e.apply(r,t))}function ol(r,e){if(e&&(ne(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ul(r)}function ul(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function is(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(is=function(){return!!r})()}function xe(r){return xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xe(r)}function sl(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Zn(r,e)}function Zn(r,e){return Zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Zn(r,e)}function pe(r,e,t){return e=os(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function os(r){var e=cl(r,"string");return ne(e)=="symbol"?e:e+""}function cl(r,e){if(ne(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(ne(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}var H=32,fa=(function(r){function e(){return tl(this,e),il(this,e,arguments)}return sl(e,r),al(e,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,i=H/2,o=H/6,u=H/3,s=n.inactive?a:n.color;if(n.type==="plainline")return T.createElement("line",{strokeWidth:4,fill:"none",stroke:s,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:i,x2:H,y2:i,className:"recharts-legend-icon"});if(n.type==="line")return T.createElement("path",{strokeWidth:4,fill:"none",stroke:s,d:"M0,".concat(i,"h").concat(u,`
|
|
2
2
|
A`).concat(o,",").concat(o,",0,1,1,").concat(2*u,",").concat(i,`
|
|
3
3
|
H`).concat(H,"M").concat(2*u,",").concat(i,`
|
|
4
4
|
A`).concat(o,",").concat(o,",0,1,1,").concat(u,",").concat(i),className:"recharts-legend-icon"});if(n.type==="rect")return T.createElement("path",{stroke:"none",fill:s,d:"M0,".concat(H/8,"h").concat(H,"v").concat(H*3/4,"h").concat(-H,"z"),className:"recharts-legend-icon"});if(T.isValidElement(n.legendIcon)){var c=rl({},n);return delete c.legendIcon,T.cloneElement(n.legendIcon,c)}return T.createElement(as,{fill:s,cx:i,cy:i,size:H,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,a=this.props,i=a.payload,o=a.iconSize,u=a.layout,s=a.formatter,c=a.inactiveColor,l={x:0,y:0,width:H,height:H},f={display:u==="horizontal"?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return i.map(function(p,v){var d=p.formatter||s,y=Q(pe(pe({"recharts-legend-item":!0},"legend-item-".concat(v),!0),"inactive",p.inactive));if(p.type==="none")return null;var b=Pe(p.value)?null:p.value;Se(!Pe(p.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var g=p.inactive?c:p.color;return T.createElement("li",Yn({className:y,style:f,key:"legend-item-".concat(v)},bc(n.props,p,v)),T.createElement(Pc,{width:o,height:o,viewBox:l,style:h},n.renderIcon(p)),T.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},d?d(b,p,v):b))})}},{key:"render",value:function(){var n=this.props,a=n.payload,i=n.layout,o=n.align;if(!a||!a.length)return null;var u={padding:0,margin:0,textAlign:i==="horizontal"?o:"left"};return T.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])})(M.PureComponent);pe(fa,"displayName","Legend");pe(fa,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var et,Bi;function ll(){if(Bi)return et;Bi=1;var r=De();function e(){this.__data__=new r,this.size=0}return et=e,et}var rt,Di;function fl(){if(Di)return rt;Di=1;function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}return rt=r,rt}var tt,Ni;function pl(){if(Ni)return tt;Ni=1;function r(e){return this.__data__.get(e)}return tt=r,tt}var nt,Mi;function dl(){if(Mi)return nt;Mi=1;function r(e){return this.__data__.has(e)}return nt=r,nt}var at,Li;function hl(){if(Li)return at;Li=1;var r=De(),e=ua(),t=sa(),n=200;function a(i,o){var u=this.__data__;if(u instanceof r){var s=u.__data__;if(!e||s.length<n-1)return s.push([i,o]),this.size=++u.size,this;u=this.__data__=new t(s)}return u.set(i,o),this.size=u.size,this}return at=a,at}var it,$i;function us(){if($i)return it;$i=1;var r=De(),e=ll(),t=fl(),n=pl(),a=dl(),i=hl();function o(u){var s=this.__data__=new r(u);this.size=s.size}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=a,o.prototype.set=i,it=o,it}var ot,Fi;function vl(){if(Fi)return ot;Fi=1;var r="__lodash_hash_undefined__";function e(t){return this.__data__.set(t,r),this}return ot=e,ot}var ut,ki;function yl(){if(ki)return ut;ki=1;function r(e){return this.__data__.has(e)}return ut=r,ut}var st,Hi;function ss(){if(Hi)return st;Hi=1;var r=sa(),e=vl(),t=yl();function n(a){var i=-1,o=a==null?0:a.length;for(this.__data__=new r;++i<o;)this.add(a[i])}return n.prototype.add=n.prototype.push=e,n.prototype.has=t,st=n,st}var ct,Ui;function gl(){if(Ui)return ct;Ui=1;function r(e,t){for(var n=-1,a=e==null?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}return ct=r,ct}var lt,Ki;function cs(){if(Ki)return lt;Ki=1;function r(e,t){return e.has(t)}return lt=r,lt}var ft,Gi;function ls(){if(Gi)return ft;Gi=1;var r=ss(),e=gl(),t=cs(),n=1,a=2;function i(o,u,s,c,l,f){var h=s&n,p=o.length,v=u.length;if(p!=v&&!(h&&v>p))return!1;var d=f.get(o),y=f.get(u);if(d&&y)return d==u&&y==o;var b=-1,g=!0,O=s&a?new r:void 0;for(f.set(o,u),f.set(u,o);++b<p;){var m=o[b],C=u[b];if(c)var S=h?c(C,m,b,u,o,f):c(m,C,b,o,u,f);if(S!==void 0){if(S)continue;g=!1;break}if(O){if(!e(u,function(_,R){if(!t(O,R)&&(m===_||l(m,_,s,c,f)))return O.push(R)})){g=!1;break}}else if(!(m===C||l(m,C,s,c,f))){g=!1;break}}return f.delete(o),f.delete(u),g}return ft=i,ft}var pt,Wi;function bl(){if(Wi)return pt;Wi=1;var r=V(),e=r.Uint8Array;return pt=e,pt}var dt,zi;function ml(){if(zi)return dt;zi=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(a,i){n[++t]=[i,a]}),n}return dt=r,dt}var ht,Vi;function pa(){if(Vi)return ht;Vi=1;function r(e){var t=-1,n=Array(e.size);return e.forEach(function(a){n[++t]=a}),n}return ht=r,ht}var vt,Xi;function _l(){if(Xi)return vt;Xi=1;var r=ye(),e=bl(),t=oa(),n=ls(),a=ml(),i=pa(),o=1,u=2,s="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Map]",h="[object Number]",p="[object RegExp]",v="[object Set]",d="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",g="[object DataView]",O=r?r.prototype:void 0,m=O?O.valueOf:void 0;function C(S,_,R,A,E,q,I){switch(R){case g:if(S.byteLength!=_.byteLength||S.byteOffset!=_.byteOffset)return!1;S=S.buffer,_=_.buffer;case b:return!(S.byteLength!=_.byteLength||!q(new e(S),new e(_)));case s:case c:case h:return t(+S,+_);case l:return S.name==_.name&&S.message==_.message;case p:case d:return S==_+"";case f:var w=a;case v:var P=A&o;if(w||(w=i),S.size!=_.size&&!P)return!1;var x=I.get(S);if(x)return x==_;A|=u,I.set(S,_);var j=n(w(S),w(_),A,E,q,I);return I.delete(S),j;case y:if(m)return m.call(S)==m.call(_)}return!1}return vt=C,vt}var yt,Yi;function fs(){if(Yi)return yt;Yi=1;function r(e,t){for(var n=-1,a=t.length,i=e.length;++n<a;)e[i+n]=t[n];return e}return yt=r,yt}var gt,Zi;function wl(){if(Zi)return gt;Zi=1;var r=fs(),e=G();function t(n,a,i){var o=a(n);return e(n)?o:r(o,i(n))}return gt=t,gt}var bt,Ji;function Ol(){if(Ji)return bt;Ji=1;function r(e,t){for(var n=-1,a=e==null?0:e.length,i=0,o=[];++n<a;){var u=e[n];t(u,n,e)&&(o[i++]=u)}return o}return bt=r,bt}var mt,Qi;function Sl(){if(Qi)return mt;Qi=1;function r(){return[]}return mt=r,mt}var _t,eo;function Pl(){if(eo)return _t;eo=1;var r=Ol(),e=Sl(),t=Object.prototype,n=t.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(o){return o==null?[]:(o=Object(o),r(a(o),function(u){return n.call(o,u)}))}:e;return _t=i,_t}var wt,ro;function ql(){if(ro)return wt;ro=1;function r(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}return wt=r,wt}var Ot,to;function Cl(){if(to)return Ot;to=1;var r=ee(),e=re(),t="[object Arguments]";function n(a){return e(a)&&r(a)==t}return Ot=n,Ot}var St,no;function da(){if(no)return St;no=1;var r=Cl(),e=re(),t=Object.prototype,n=t.hasOwnProperty,a=t.propertyIsEnumerable,i=r((function(){return arguments})())?r:function(o){return e(o)&&n.call(o,"callee")&&!a.call(o,"callee")};return St=i,St}var ce={exports:{}},Pt,ao;function Tl(){if(ao)return Pt;ao=1;function r(){return!1}return Pt=r,Pt}ce.exports;var io;function ps(){return io||(io=1,(function(r,e){var t=V(),n=Tl(),a=e&&!e.nodeType&&e,i=a&&!0&&r&&!r.nodeType&&r,o=i&&i.exports===a,u=o?t.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;r.exports=c})(ce,ce.exports)),ce.exports}var qt,oo;function ha(){if(oo)return qt;oo=1;var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function t(n,a){var i=typeof n;return a=a??r,!!a&&(i=="number"||i!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<a}return qt=t,qt}var Ct,uo;function va(){if(uo)return Ct;uo=1;var r=9007199254740991;function e(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=r}return Ct=e,Ct}var Tt,so;function xl(){if(so)return Tt;so=1;var r=ee(),e=va(),t=re(),n="[object Arguments]",a="[object Array]",i="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",l="[object Number]",f="[object Object]",h="[object RegExp]",p="[object Set]",v="[object String]",d="[object WeakMap]",y="[object ArrayBuffer]",b="[object DataView]",g="[object Float32Array]",O="[object Float64Array]",m="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",_="[object Uint8Array]",R="[object Uint8ClampedArray]",A="[object Uint16Array]",E="[object Uint32Array]",q={};q[g]=q[O]=q[m]=q[C]=q[S]=q[_]=q[R]=q[A]=q[E]=!0,q[n]=q[a]=q[y]=q[i]=q[b]=q[o]=q[u]=q[s]=q[c]=q[l]=q[f]=q[h]=q[p]=q[v]=q[d]=!1;function I(w){return t(w)&&e(w.length)&&!!q[r(w)]}return Tt=I,Tt}var xt,co;function ds(){if(co)return xt;co=1;function r(e){return function(t){return e(t)}}return xt=r,xt}var le={exports:{}};le.exports;var lo;function Rl(){return lo||(lo=1,(function(r,e){var t=ku(),n=e&&!e.nodeType&&e,a=n&&!0&&r&&!r.nodeType&&r,i=a&&a.exports===n,o=i&&t.process,u=(function(){try{var s=a&&a.require&&a.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();r.exports=u})(le,le.exports)),le.exports}var Rt,fo;function hs(){if(fo)return Rt;fo=1;var r=xl(),e=ds(),t=Rl(),n=t&&t.isTypedArray,a=n?e(n):r;return Rt=a,Rt}var At,po;function Al(){if(po)return At;po=1;var r=ql(),e=da(),t=G(),n=ps(),a=ha(),i=hs(),o=Object.prototype,u=o.hasOwnProperty;function s(c,l){var f=t(c),h=!f&&e(c),p=!f&&!h&&n(c),v=!f&&!h&&!p&&i(c),d=f||h||p||v,y=d?r(c.length,String):[],b=y.length;for(var g in c)(l||u.call(c,g))&&!(d&&(g=="length"||p&&(g=="offset"||g=="parent")||v&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||a(g,b)))&&y.push(g);return y}return At=s,At}var jt,ho;function jl(){if(ho)return jt;ho=1;var r=Object.prototype;function e(t){var n=t&&t.constructor,a=typeof n=="function"&&n.prototype||r;return t===a}return jt=e,jt}var Et,vo;function El(){if(vo)return Et;vo=1;function r(e,t){return function(n){return e(t(n))}}return Et=r,Et}var It,yo;function Il(){if(yo)return It;yo=1;var r=El(),e=r(Object.keys,Object);return It=e,It}var Bt,go;function Bl(){if(go)return Bt;go=1;var r=jl(),e=Il(),t=Object.prototype,n=t.hasOwnProperty;function a(i){if(!r(i))return e(i);var o=[];for(var u in Object(i))n.call(i,u)&&u!="constructor"&&o.push(u);return o}return Bt=a,Bt}var Dt,bo;function $e(){if(bo)return Dt;bo=1;var r=ia(),e=va();function t(n){return n!=null&&e(n.length)&&!r(n)}return Dt=t,Dt}var Nt,mo;function ya(){if(mo)return Nt;mo=1;var r=Al(),e=Bl(),t=$e();function n(a){return t(a)?r(a):e(a)}return Nt=n,Nt}var Mt,_o;function Dl(){if(_o)return Mt;_o=1;var r=wl(),e=Pl(),t=ya();function n(a){return r(a,t,e)}return Mt=n,Mt}var Lt,wo;function Nl(){if(wo)return Lt;wo=1;var r=Dl(),e=1,t=Object.prototype,n=t.hasOwnProperty;function a(i,o,u,s,c,l){var f=u&e,h=r(i),p=h.length,v=r(o),d=v.length;if(p!=d&&!f)return!1;for(var y=p;y--;){var b=h[y];if(!(f?b in o:n.call(o,b)))return!1}var g=l.get(i),O=l.get(o);if(g&&O)return g==o&&O==i;var m=!0;l.set(i,o),l.set(o,i);for(var C=f;++y<p;){b=h[y];var S=i[b],_=o[b];if(s)var R=f?s(_,S,b,o,i,l):s(S,_,b,i,o,l);if(!(R===void 0?S===_||c(S,_,u,s,l):R)){m=!1;break}C||(C=b=="constructor")}if(m&&!C){var A=i.constructor,E=o.constructor;A!=E&&"constructor"in i&&"constructor"in o&&!(typeof A=="function"&&A instanceof A&&typeof E=="function"&&E instanceof E)&&(m=!1)}return l.delete(i),l.delete(o),m}return Lt=a,Lt}var $t,Oo;function Ml(){if(Oo)return $t;Oo=1;var r=te(),e=V(),t=r(e,"DataView");return $t=t,$t}var Ft,So;function Ll(){if(So)return Ft;So=1;var r=te(),e=V(),t=r(e,"Promise");return Ft=t,Ft}var kt,Po;function vs(){if(Po)return kt;Po=1;var r=te(),e=V(),t=r(e,"Set");return kt=t,kt}var Ht,qo;function $l(){if(qo)return Ht;qo=1;var r=te(),e=V(),t=r(e,"WeakMap");return Ht=t,Ht}var Ut,Co;function Fl(){if(Co)return Ut;Co=1;var r=Ml(),e=ua(),t=Ll(),n=vs(),a=$l(),i=ee(),o=Hu(),u="[object Map]",s="[object Object]",c="[object Promise]",l="[object Set]",f="[object WeakMap]",h="[object DataView]",p=o(r),v=o(e),d=o(t),y=o(n),b=o(a),g=i;return(r&&g(new r(new ArrayBuffer(1)))!=h||e&&g(new e)!=u||t&&g(t.resolve())!=c||n&&g(new n)!=l||a&&g(new a)!=f)&&(g=function(O){var m=i(O),C=m==s?O.constructor:void 0,S=C?o(C):"";if(S)switch(S){case p:return h;case v:return u;case d:return c;case y:return l;case b:return f}return m}),Ut=g,Ut}var Kt,To;function kl(){if(To)return Kt;To=1;var r=us(),e=ls(),t=_l(),n=Nl(),a=Fl(),i=G(),o=ps(),u=hs(),s=1,c="[object Arguments]",l="[object Array]",f="[object Object]",h=Object.prototype,p=h.hasOwnProperty;function v(d,y,b,g,O,m){var C=i(d),S=i(y),_=C?l:a(d),R=S?l:a(y);_=_==c?f:_,R=R==c?f:R;var A=_==f,E=R==f,q=_==R;if(q&&o(d)){if(!o(y))return!1;C=!0,A=!1}if(q&&!A)return m||(m=new r),C||u(d)?e(d,y,b,g,O,m):t(d,y,_,b,g,O,m);if(!(b&s)){var I=A&&p.call(d,"__wrapped__"),w=E&&p.call(y,"__wrapped__");if(I||w){var P=I?d.value():d,x=w?y.value():y;return m||(m=new r),O(P,x,b,g,m)}}return q?(m||(m=new r),n(d,y,b,g,O,m)):!1}return Kt=v,Kt}var Gt,xo;function ys(){if(xo)return Gt;xo=1;var r=kl(),e=re();function t(n,a,i,o,u){return n===a?!0:n==null||a==null||!e(n)&&!e(a)?n!==n&&a!==a:r(n,a,i,o,t,u)}return Gt=t,Gt}var Wt,Ro;function Hl(){if(Ro)return Wt;Ro=1;var r=us(),e=ys(),t=1,n=2;function a(i,o,u,s){var c=u.length,l=c,f=!s;if(i==null)return!l;for(i=Object(i);c--;){var h=u[c];if(f&&h[2]?h[1]!==i[h[0]]:!(h[0]in i))return!1}for(;++c<l;){h=u[c];var p=h[0],v=i[p],d=h[1];if(f&&h[2]){if(v===void 0&&!(p in i))return!1}else{var y=new r;if(s)var b=s(v,d,p,i,o,y);if(!(b===void 0?e(d,v,t|n,s,y):b))return!1}}return!0}return Wt=a,Wt}var zt,Ao;function gs(){if(Ao)return zt;Ao=1;var r=J();function e(t){return t===t&&!r(t)}return zt=e,zt}var Vt,jo;function Ul(){if(jo)return Vt;jo=1;var r=gs(),e=ya();function t(n){for(var a=e(n),i=a.length;i--;){var o=a[i],u=n[o];a[i]=[o,u,r(u)]}return a}return Vt=t,Vt}var Xt,Eo;function bs(){if(Eo)return Xt;Eo=1;function r(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}return Xt=r,Xt}var Yt,Io;function Kl(){if(Io)return Yt;Io=1;var r=Hl(),e=Ul(),t=bs();function n(a){var i=e(a);return i.length==1&&i[0][2]?t(i[0][0],i[0][1]):function(o){return o===a||r(o,a,i)}}return Yt=n,Yt}var Zt,Bo;function Gl(){if(Bo)return Zt;Bo=1;function r(e,t){return e!=null&&t in Object(e)}return Zt=r,Zt}var Jt,Do;function Wl(){if(Do)return Jt;Do=1;var r=Gu(),e=da(),t=G(),n=ha(),a=va(),i=Me();function o(u,s,c){s=r(s,u);for(var l=-1,f=s.length,h=!1;++l<f;){var p=i(s[l]);if(!(h=u!=null&&c(u,p)))break;u=u[p]}return h||++l!=f?h:(f=u==null?0:u.length,!!f&&a(f)&&n(p,f)&&(t(u)||e(u)))}return Jt=o,Jt}var Qt,No;function zl(){if(No)return Qt;No=1;var r=Gl(),e=Wl();function t(n,a){return n!=null&&e(n,a,r)}return Qt=t,Qt}var en,Mo;function Vl(){if(Mo)return en;Mo=1;var r=ys(),e=Wu(),t=zl(),n=aa(),a=gs(),i=bs(),o=Me(),u=1,s=2;function c(l,f){return n(l)&&a(f)?i(o(l),f):function(h){var p=e(h,l);return p===void 0&&p===f?t(h,l):r(f,p,u|s)}}return en=c,en}var rn,Lo;function Fe(){if(Lo)return rn;Lo=1;function r(e){return e}return rn=r,rn}var tn,$o;function Xl(){if($o)return tn;$o=1;function r(e){return function(t){return t?.[e]}}return tn=r,tn}var nn,Fo;function Yl(){if(Fo)return nn;Fo=1;var r=ca();function e(t){return function(n){return r(n,t)}}return nn=e,nn}var an,ko;function Zl(){if(ko)return an;ko=1;var r=Xl(),e=Yl(),t=aa(),n=Me();function a(i){return t(i)?r(n(i)):e(i)}return an=a,an}var on,Ho;function ms(){if(Ho)return on;Ho=1;var r=Kl(),e=Vl(),t=Fe(),n=G(),a=Zl();function i(o){return typeof o=="function"?o:o==null?t:typeof o=="object"?n(o)?e(o[0],o[1]):r(o):a(o)}return on=i,on}var un,Uo;function Jl(){if(Uo)return un;Uo=1;function r(e,t,n,a){for(var i=e.length,o=n+(a?1:-1);a?o--:++o<i;)if(t(e[o],o,e))return o;return-1}return un=r,un}var sn,Ko;function Ql(){if(Ko)return sn;Ko=1;function r(e){return e!==e}return sn=r,sn}var cn,Go;function ef(){if(Go)return cn;Go=1;function r(e,t,n){for(var a=n-1,i=e.length;++a<i;)if(e[a]===t)return a;return-1}return cn=r,cn}var ln,Wo;function rf(){if(Wo)return ln;Wo=1;var r=Jl(),e=Ql(),t=ef();function n(a,i,o){return i===i?t(a,i,o):r(a,e,o)}return ln=n,ln}var fn,zo;function tf(){if(zo)return fn;zo=1;var r=rf();function e(t,n){var a=t==null?0:t.length;return!!a&&r(t,n,0)>-1}return fn=e,fn}var pn,Vo;function nf(){if(Vo)return pn;Vo=1;function r(e,t,n){for(var a=-1,i=e==null?0:e.length;++a<i;)if(n(t,e[a]))return!0;return!1}return pn=r,pn}var dn,Xo;function af(){if(Xo)return dn;Xo=1;function r(){}return dn=r,dn}var hn,Yo;function of(){if(Yo)return hn;Yo=1;var r=vs(),e=af(),t=pa(),n=1/0,a=r&&1/t(new r([,-0]))[1]==n?function(i){return new r(i)}:e;return hn=a,hn}var vn,Zo;function uf(){if(Zo)return vn;Zo=1;var r=ss(),e=tf(),t=nf(),n=cs(),a=of(),i=pa(),o=200;function u(s,c,l){var f=-1,h=e,p=s.length,v=!0,d=[],y=d;if(l)v=!1,h=t;else if(p>=o){var b=c?null:a(s);if(b)return i(b);v=!1,h=n,y=new r}else y=c?[]:d;e:for(;++f<p;){var g=s[f],O=c?c(g):g;if(g=l||g!==0?g:0,v&&O===O){for(var m=y.length;m--;)if(y[m]===O)continue e;c&&y.push(O),d.push(g)}else h(y,O,l)||(y!==d&&y.push(O),d.push(g))}return d}return vn=u,vn}var yn,Jo;function sf(){if(Jo)return yn;Jo=1;var r=ms(),e=uf();function t(n,a){return n&&n.length?e(n,r(a,2)):[]}return yn=t,yn}var cf=sf();const Qo=z(cf);function _s(r,e,t){return e===!0?Qo(r,t):Pe(e)?Qo(r,e):r}function ae(r){"@babel/helpers - typeof";return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(r)}var lf=["ref"];function eu(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Y(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?eu(Object(t),!0).forEach(function(n){ke(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):eu(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function ff(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function ru(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Os(n.key),n)}}function pf(r,e,t){return e&&ru(r.prototype,e),t&&ru(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function df(r,e,t){return e=Re(e),hf(r,ws()?Reflect.construct(e,t||[],Re(r).constructor):e.apply(r,t))}function hf(r,e){if(e&&(ae(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vf(r)}function vf(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ws(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ws=function(){return!!r})()}function Re(r){return Re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Re(r)}function yf(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&Jn(r,e)}function Jn(r,e){return Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Jn(r,e)}function ke(r,e,t){return e=Os(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Os(r){var e=gf(r,"string");return ae(e)=="symbol"?e:e+""}function gf(r,e){if(ae(r)!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(ae(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function bf(r,e){if(r==null)return{};var t=mf(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function mf(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}function _f(r){return r.value}function wf(r,e){if(T.isValidElement(r))return T.cloneElement(r,e);if(typeof r=="function")return T.createElement(r,e);e.ref;var t=bf(e,lf);return T.createElement(fa,t)}var tu=1,ga=(function(r){function e(){var t;ff(this,e);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return t=df(this,e,[].concat(a)),ke(t,"lastBoundingBox",{width:-1,height:-1}),t}return yf(e,r),pf(e,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>tu||Math.abs(a.height-this.lastBoundingBox.height)>tu)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,n&&n(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Y({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var a=this.props,i=a.layout,o=a.align,u=a.verticalAlign,s=a.margin,c=a.chartWidth,l=a.chartHeight,f,h;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&i==="vertical"){var p=this.getBBoxSnapshot();f={left:((c||0)-p.width)/2}}else f=o==="right"?{right:s&&s.right||0}:{left:s&&s.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(u==="middle"){var v=this.getBBoxSnapshot();h={top:((l||0)-v.height)/2}}else h=u==="bottom"?{bottom:s&&s.bottom||0}:{top:s&&s.top||0};return Y(Y({},f),h)}},{key:"render",value:function(){var n=this,a=this.props,i=a.content,o=a.width,u=a.height,s=a.wrapperStyle,c=a.payloadUniqBy,l=a.payload,f=Y(Y({position:"absolute",width:o||"auto",height:u||"auto"},this.getDefaultPosition(s)),s);return T.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(p){n.wrapperNode=p}},wf(i,Y(Y({},this.props),{},{payload:_s(l,c,_f)})))}}],[{key:"getWithHeight",value:function(n,a){var i=Y(Y({},this.defaultProps),n.props),o=i.layout;return o==="vertical"&&K(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||a}:null}}])})(M.PureComponent);ke(ga,"displayName","Legend");ke(ga,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var gn,nu;function Of(){if(nu)return gn;nu=1;var r=ye(),e=da(),t=G(),n=r?r.isConcatSpreadable:void 0;function a(i){return t(i)||e(i)||!!(n&&i&&i[n])}return gn=a,gn}var bn,au;function Sf(){if(au)return bn;au=1;var r=fs(),e=Of();function t(n,a,i,o,u){var s=-1,c=n.length;for(i||(i=e),u||(u=[]);++s<c;){var l=n[s];a>0&&i(l)?a>1?t(l,a-1,i,o,u):r(u,l):o||(u[u.length]=l)}return u}return bn=t,bn}var mn,iu;function Pf(){if(iu)return mn;iu=1;function r(e){return function(t,n,a){for(var i=-1,o=Object(t),u=a(t),s=u.length;s--;){var c=u[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}return mn=r,mn}var _n,ou;function qf(){if(ou)return _n;ou=1;var r=Pf(),e=r();return _n=e,_n}var wn,uu;function Cf(){if(uu)return wn;uu=1;var r=qf(),e=ya();function t(n,a){return n&&r(n,a,e)}return wn=t,wn}var On,su;function Tf(){if(su)return On;su=1;var r=$e();function e(t,n){return function(a,i){if(a==null)return a;if(!r(a))return t(a,i);for(var o=a.length,u=n?o:-1,s=Object(a);(n?u--:++u<o)&&i(s[u],u,s)!==!1;);return a}}return On=e,On}var Sn,cu;function xf(){if(cu)return Sn;cu=1;var r=Cf(),e=Tf(),t=e(r);return Sn=t,Sn}var Pn,lu;function Rf(){if(lu)return Pn;lu=1;var r=xf(),e=$e();function t(n,a){var i=-1,o=e(n)?Array(n.length):[];return r(n,function(u,s,c){o[++i]=a(u,s,c)}),o}return Pn=t,Pn}var qn,fu;function Af(){if(fu)return qn;fu=1;function r(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}return qn=r,qn}var Cn,pu;function jf(){if(pu)return Cn;pu=1;var r=ge();function e(t,n){if(t!==n){var a=t!==void 0,i=t===null,o=t===t,u=r(t),s=n!==void 0,c=n===null,l=n===n,f=r(n);if(!c&&!f&&!u&&t>n||u&&s&&l&&!c&&!f||i&&s&&l||!a&&l||!o)return 1;if(!i&&!u&&!f&&t<n||f&&a&&o&&!i&&!u||c&&a&&o||!s&&o||!l)return-1}return 0}return Cn=e,Cn}var Tn,du;function Ef(){if(du)return Tn;du=1;var r=jf();function e(t,n,a){for(var i=-1,o=t.criteria,u=n.criteria,s=o.length,c=a.length;++i<s;){var l=r(o[i],u[i]);if(l){if(i>=c)return l;var f=a[i];return l*(f=="desc"?-1:1)}}return t.index-n.index}return Tn=e,Tn}var xn,hu;function If(){if(hu)return xn;hu=1;var r=Uu(),e=ca(),t=ms(),n=Rf(),a=Af(),i=ds(),o=Ef(),u=Fe(),s=G();function c(l,f,h){f.length?f=r(f,function(d){return s(d)?function(y){return e(y,d.length===1?d[0]:d)}:d}):f=[u];var p=-1;f=r(f,i(t));var v=n(l,function(d,y,b){var g=r(f,function(O){return O(d)});return{criteria:g,index:++p,value:d}});return a(v,function(d,y){return o(d,y,h)})}return xn=c,xn}var Rn,vu;function Bf(){if(vu)return Rn;vu=1;function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}return Rn=r,Rn}var An,yu;function Df(){if(yu)return An;yu=1;var r=Bf(),e=Math.max;function t(n,a,i){return a=e(a===void 0?n.length-1:a,0),function(){for(var o=arguments,u=-1,s=e(o.length-a,0),c=Array(s);++u<s;)c[u]=o[a+u];u=-1;for(var l=Array(a+1);++u<a;)l[u]=o[u];return l[a]=i(c),r(n,this,l)}}return An=t,An}var jn,gu;function Nf(){if(gu)return jn;gu=1;function r(e){return function(){return e}}return jn=r,jn}var En,bu;function Mf(){if(bu)return En;bu=1;var r=te(),e=(function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch{}})();return En=e,En}var In,mu;function Lf(){if(mu)return In;mu=1;var r=Nf(),e=Mf(),t=Fe(),n=e?function(a,i){return e(a,"toString",{configurable:!0,enumerable:!1,value:r(i),writable:!0})}:t;return In=n,In}var Bn,_u;function $f(){if(_u)return Bn;_u=1;var r=800,e=16,t=Date.now;function n(a){var i=0,o=0;return function(){var u=t(),s=e-(u-o);if(o=u,s>0){if(++i>=r)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}return Bn=n,Bn}var Dn,wu;function Ff(){if(wu)return Dn;wu=1;var r=Lf(),e=$f(),t=e(r);return Dn=t,Dn}var Nn,Ou;function kf(){if(Ou)return Nn;Ou=1;var r=Fe(),e=Df(),t=Ff();function n(a,i){return t(e(a,i,r),a+"")}return Nn=n,Nn}var Mn,Su;function Hf(){if(Su)return Mn;Su=1;var r=oa(),e=$e(),t=ha(),n=J();function a(i,o,u){if(!n(u))return!1;var s=typeof o;return(s=="number"?e(u)&&t(o,u.length):s=="string"&&o in u)?r(u[o],i):!1}return Mn=a,Mn}var Ln,Pu;function Uf(){if(Pu)return Ln;Pu=1;var r=Sf(),e=If(),t=kf(),n=Hf(),a=t(function(i,o){if(i==null)return[];var u=o.length;return u>1&&n(i,o[0],o[1])?o=[]:u>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(i,r(o,1),[])});return Ln=a,Ln}var Kf=Uf();const Gf=z(Kf);function de(r){"@babel/helpers - typeof";return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de(r)}function Qn(){return Qn=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},Qn.apply(this,arguments)}function Wf(r,e){return Yf(r)||Xf(r,e)||Vf(r,e)||zf()}function zf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as q,X as He,u as qe,dz as at,n as Le,M as Y,K as te,t as ae,I as ue,J as de,d as Ge,bC as rt,cC as it,an as ct,ag as lt,bx as ut,b as ve,r as M,m as dt,_ as pt,e as ft,ap as ht,j as X,x as mt,a as gt,v as yt,dA as St,dB as Tt,o as kt}from"./index-
|
|
1
|
+
import{c as q,X as He,u as qe,dz as at,n as Le,M as Y,K as te,t as ae,I as ue,J as de,d as Ge,bC as rt,cC as it,an as ct,ag as lt,bx as ut,b as ve,r as M,m as dt,_ as pt,e as ft,ap as ht,j as X,x as mt,a as gt,v as yt,dA as St,dB as Tt,o as kt}from"./index-z4bKt11m.js";import{u as Xe,a as vt}from"./use-panel-navigate-BG4d0Vrr.js";import{A as Ye,c as It,a as Mt,w as bt}from"./autosend-D-BN-cv5.js";import{w as Qe,b as Ue}from"./thread-intent-9fI0jPLV.js";import{S as Ct,a as xt,g as wt,c as At}from"./hooks-CkL4R3Tj.js";import{u as Rt}from"./use-is-desktop-app-BNujXJc_.js";import{u as Et}from"./use-mcp-client-B1u2B39v.js";import{d as _t,e as $t}from"./use-virtual-mcp-Bq1RMGPF.js";import{c as Pt}from"./use-entitlements-BWaaNeuI.js";import{u as ze,p as Dt,a as Te,i as Ot,b as Nt}from"./use-ai-providers-B0bxSHYG.js";import{o as qt,b as Lt}from"./location-oTTXFrSF.js";import{u as Ft}from"./use-decopilot-events-_O_0AHeH.js";import{a as jt,b as Qt}from"./thread-route-B1EuqJlg.js";import{d as Ut}from"./use-organization-settings-C-XY0Wze.js";const Wt={openrouter:t=>{const e=t?.openrouter;return typeof e=="object"&&e!==null&&"usage"in e&&typeof e.usage=="object"&&e.usage!==null&&"cost"in e.usage&&typeof e.usage.cost=="number"?e.usage.cost:null}};function Je(t){if(!t?.providerMetadata)return 0;for(const e of Object.values(Wt)){const s=e(t.providerMetadata);if(s!==null)return s}return 0}function Bt(){return{inputTokens:0,outputTokens:0,reasoningTokens:0,totalTokens:0,cost:0,cacheReadTokens:0,cacheWriteTokens:0}}function Vt(t,e){if(!e)return t;const s=e.inputTokenDetails?.cacheReadTokens??e.cachedInputTokens??0,n=e.inputTokenDetails?.cacheWriteTokens??0;return{inputTokens:t.inputTokens+(e.inputTokens??0),outputTokens:t.outputTokens+(e.outputTokens??0),reasoningTokens:t.reasoningTokens+(e.reasoningTokens??0),totalTokens:t.totalTokens+(e.totalTokens??0),cost:t.cost+Je(e),cacheReadTokens:t.cacheReadTokens+s,cacheWriteTokens:t.cacheWriteTokens+n}}function tn(t){const e=Math.max(t.inputTokens,t.cacheReadTokens+t.cacheWriteTokens);return e>0?t.cacheReadTokens/e:0}function sn(t){return t.reduce((e,s)=>Vt(e,s.metadata?.usage),Bt())}function Kt(t,e=[]){return t==="stop"?"completed":t==="tool-calls"?e.some(n=>n.type==="tool-user_ask"&&n.state==="input-available"||n.state==="approval-requested")?"requires_action":"completed":"failed"}const We={"claude-code-desktop":"claude-code","codex-desktop":"codex","opencode-desktop":"opencode"};function Ht(t){return t==="claude-code"?"claude-code-desktop":t==="codex"?"codex-desktop":t==="opencode"?"opencode-desktop":null}function Gt({pendingOption:t,lockedHarness:e}){return e?Ht(e):t}function Xt(t){return t.thread?.harness_id!=null?{}:{branch:t.globals.branch??null}}const Yt=new Set(["decopilot","claude-code"]);function zt({isDesktopApp:t,harnessId:e}){return e!=null&&!Yt.has(e)}function Jt(t){const e=q.c(19);let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId",shouldThrow:!1},e[0]=s):s=e[0];const n=He(s);let o;e[1]===Symbol.for("react.memo_cache_sentinel")?(o={strict:!1},e[1]=o):o=e[1];const a=qe(o),r=Xe();let i;e[2]!==r||e[3]!==a?(i=at(r)?.path??a.preview??a.skill??a.brand??null,e[2]=r,e[3]=a,e[4]=i):i=e[4];const u=i;let p;if(e[5]!==n?.params.appSlug||e[6]!==n?.params.collectionName||e[7]!==n?.params.itemId||e[8]!==u||e[9]!==t){if(p=[],t&&p.push(`### Selected Agent
|
|
2
2
|
- ID: ${t}`),u){let b;e[11]!==u?(b=qt(u),e[11]=u,e[12]=b):b=e[12];const w=b;let d;e[13]!==u?(d=Lt(u),e[13]=u,e[14]=d):d=e[14],p.push(`### Currently Open File
|
|
3
3
|
The user has this file open in the Library and is most likely referring to it:
|
|
4
4
|
- Name: ${d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as l}from"./index-
|
|
1
|
+
import{J as l}from"./index-z4bKt11m.js";const y="[SUBSCRIPTION_REQUIRED]";function h(t){return t?.message.startsWith(y)?t.message.includes("used its free task executions")?"trial_exhausted":t.message.includes("used its monthly task executions")?"monthly_exhausted":t.message.includes("reached its execution limit")?"runs_exhausted":null:null}function d(t){return!t||!t.content||t.content.length===0?!0:t.content.every(e=>e.type==="paragraph"?!e.content||e.content.length===0?!0:e.content.every(n=>n.type==="hardBreak"||n.type==="text"&&(!n.text||n.text.trim()==="")):!1)}const _="__home__";function a(t,e){return l.chatDraft(t,e)}function m(t){if(!t)return null;let e;try{e=JSON.parse(t)}catch{return null}if(!e||typeof e!="object"||typeof e.updatedAt!="number")return null;const n=e.tiptapDoc;return!n||typeof n!="object"||n.type!=="doc"||!Array.isArray(n.content)?null:n}function x(t,e,n,r,s){const u=a(e,n);if(d(r)){t.removeItem(u);return}const c={tiptapDoc:r,updatedAt:Date.now()},o=JSON.stringify(c);try{t.setItem(u,o)}catch(i){if(p(i)){const f=new TextEncoder().encode(o).byteLength;s?.onQuotaExceeded?.({docSizeBytes:f});return}throw i}}function R(t,e,n){const r=a(e,n),s=t.getItem(r),u=m(s);return s!==null&&u===null&&t.removeItem(r),u}function D(t,e,n){t.removeItem(a(e,n))}function p(t){if(!t||typeof t!="object")return!1;const e=t.name;return e==="QuotaExceededError"||e==="NS_ERROR_DOM_QUOTA_REACHED"}export{_ as H,D as c,d as i,R as r,h as s,x as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n,l as d,j as c,ex as l,ey as m}from"./index-
|
|
1
|
+
import{c as n,l as d,j as c,ex as l,ey as m}from"./index-z4bKt11m.js";import{i as x}from"./Check-BZE0WrNL.js";function u(o){const e=n.c(9);let r,i;e[0]!==o?({className:r,...i}=o,e[0]=o,e[1]=r,e[2]=i):(r=e[1],i=e[2]);let a;e[3]!==r?(a=d("peer border-foreground dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/20 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[2px] disabled:opacity-50",r),e[3]=r,e[4]=a):a=e[4];let t;e[5]===Symbol.for("react.memo_cache_sentinel")?(t=c.jsx(m,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-primary-foreground transition-none",children:c.jsx(x,{className:"size-3.5"})}),e[5]=t):t=e[5];let s;return e[6]!==i||e[7]!==a?(s=c.jsx(l,{"data-slot":"checkbox",className:a,...i,children:t}),e[6]=i,e[7]=a,e[8]=s):s=e[8],s}export{u as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as y,j as s,u as C,b as S,d as v,B as N,N as w,C as K,m as $,K as T,h as I}from"./index-
|
|
1
|
+
import{c as y,j as s,u as C,b as S,d as v,B as N,N as w,C as K,m as $,K as T,h as I}from"./index-z4bKt11m.js";import{A as F}from"./agent-icon-BD4DM2Lv.js";import{R as P}from"./required-auth-layout-WkX8CtfT.js";import"./AlertCircle-DbwtWnTP.js";import"./Tool01-DHi_Z7zo.js";import"./ArrowUp-Scf6R8DX.js";import"./ArrowLeft-CyH6aWpS.js";import"./Tool02-JY0gm8cg.js";import"./ArrowRight-Bv0iX4wy.js";import"./TrendUp01-Bkdgpfn7.js";import"./ZoomOut-BRjMa-04.js";import"./Users03-BP-0DNhp.js";import"./CheckCircle-BKb1RVrA.js";import"./Check-BZE0WrNL.js";import"./ChevronUp-D5_IWEtB.js";import"./ChevronRight-DNrwFBnC.js";import"./ChevronSelectorVertical-oXn0cTzk.js";import"./DotsVertical-DE9eZKrJ.js";import"./UserSquare-qgzToKNd.js";import"./Copy01-DTHuBaTA.js";import"./CreditCard01-CwX6pA0M.js";import"./Database01-RGlwXHSd.js";import"./MessageCircle01-CgotMmLL.js";import"./Download01-qX3hmvr5.js";import"./Printer-BpZBiqyG.js";import"./Settings02-CFcKewXh.js";import"./Eye-DXUjft5i.js";import"./File02-g-xJPix_.js";import"./Share07-CxuHcmnM.js";import"./GitBranch01-ddoPQdPH.js";import"./Globe01-DIy8wXF6.js";import"./SwitchHorizontal01-hHr6GOmU.js";import"./HardDrive-DU_z1AQw.js";import"./Image01-DfaxHjlV.js";import"./Key01-mqjfsZRe.js";import"./Link01-C656VtHx.js";import"./LinkExternal01-BkRUjBAn.js";import"./Monitor01-CQ6Zk1oP.js";import"./Sun-SBoG-e9B.js";import"./Package-t6euxYcP.js";import"./Palette-oECS8j3l.js";import"./Play-DQgzDnaW.js";import"./Plus-D2HOi_DD.js";import"./SearchLg-DbX4T5E-.js";import"./SearchMd-FDCJM3CR.js";import"./Shield01-HrKG6yUn.js";import"./Stars01-B_nM3FYf.js";import"./Trash01-C6bziN5X.js";import"./Upload01-DC2spim9.js";import"./User01-BbOpA84p.js";import"./Users01-BOsDT0Jv.js";import"./XCircle-CuK2q_XU.js";import"./XClose-Cvyz3reC.js";import"./X-Bzh3NI3m.js";import"./Zap-DXNovEva.js";async function _(t){const e=new URLSearchParams({site:t}),l=await fetch(`/api/_editor-resolve?${e.toString()}`,{headers:{Accept:"application/json"}});if(!l.ok){const r=new Error(`editor-resolve HTTP ${l.status}`);throw r.status=l.status,r}return await l.json()}function R(t){const e=t?.status;return typeof e=="number"&&e>=400&&e<500}function k(t){return{...t.pageId?{contentPageId:t.pageId}:{},...t.path?{contentPath:t.path}:{},...t.pathTemplate?{contentPathTemplate:t.pathTemplate}:{}}}function b(t){const e=y.c(2),{children:l}=t;let r;return e[0]!==l?(r=s.jsx("div",{className:"flex min-h-screen w-full items-center justify-center bg-background p-6",children:s.jsx("div",{className:"flex w-full max-w-md flex-col items-center gap-6 text-center",children:l})}),e[0]=l,e[1]=r):r=e[1],r}function A(){const t=y.c(5),e=S();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(I,{className:"size-6 text-muted-foreground"}),t[0]=l):l=t[0];let r;t[1]!==e?(r=e("chooseEditor.resolving"),t[1]=e,t[2]=r):r=t[2];let i;return t[3]!==r?(i=s.jsxs(b,{children:[l,s.jsx("p",{className:"text-sm text-muted-foreground",children:r})]}),t[3]=r,t[4]=i):i=t[4],i}function E(t){const e=y.c(29),{titleKey:l,descriptionKey:r,onRetry:i}=t,n=S(),d=v();let m;e[0]!==n||e[1]!==l?(m=n(l),e[0]=n,e[1]=l,e[2]=m):m=e[2];let u;e[3]!==m?(u=s.jsx("h1",{className:"text-lg font-medium text-foreground",children:m}),e[3]=m,e[4]=u):u=e[4];let p;e[5]!==r||e[6]!==n?(p=n(r),e[5]=r,e[6]=n,e[7]=p):p=e[7];let a;e[8]!==p?(a=s.jsx("p",{className:"text-sm text-muted-foreground",children:p}),e[8]=p,e[9]=a):a=e[9];let c;e[10]!==u||e[11]!==a?(c=s.jsxs("div",{className:"flex flex-col gap-2",children:[u,a]}),e[10]=u,e[11]=a,e[12]=c):c=e[12];let f;e[13]!==i||e[14]!==n?(f=i?s.jsx(N,{variant:"outline",onClick:i,children:n("chooseEditor.retry")}):null,e[13]=i,e[14]=n,e[15]=f):f=e[15];let o;e[16]!==d?(o=()=>d({to:"/"}),e[16]=d,e[17]=o):o=e[17];let g;e[18]!==n?(g=n("chooseEditor.backToStudio"),e[18]=n,e[19]=g):g=e[19];let j;e[20]!==o||e[21]!==g?(j=s.jsx(N,{onClick:o,children:g}),e[20]=o,e[21]=g,e[22]=j):j=e[22];let x;e[23]!==f||e[24]!==j?(x=s.jsxs("div",{className:"flex items-center gap-2",children:[f,j]}),e[23]=f,e[24]=j,e[25]=x):x=e[25];let h;return e[26]!==x||e[27]!==c?(h=s.jsxs(b,{children:[c,x]}),e[26]=x,e[27]=c,e[28]=h):h=e[28],h}function q(t){const e=y.c(6),{orgSlug:l,projectId:r,pageSearch:i}=t;let n;e[0]!==l||e[1]!==r?(n={org:l,agentId:r},e[0]=l,e[1]=r,e[2]=n):n=e[2];let d;return e[3]!==i||e[4]!==n?(d=s.jsx(w,{to:K.siteEditorContent,params:n,search:i,replace:!0}),e[3]=i,e[4]=n,e[5]=d):d=e[5],d}function L(t){const e=y.c(26),{matches:l,pageSearch:r}=t,i=S(),n=v();let d;e[0]!==n||e[1]!==r?(d=x=>{n({to:K.siteEditorContent,params:{org:x.orgSlug,agentId:x.project.id},search:r})},e[0]=n,e[1]=r,e[2]=d):d=e[2];const m=d;let u;e[3]!==i?(u=i("chooseEditor.chooser.title"),e[3]=i,e[4]=u):u=e[4];let p;e[5]!==u?(p=s.jsx("h1",{className:"text-lg font-medium text-foreground",children:u}),e[5]=u,e[6]=p):p=e[6];let a;e[7]!==i?(a=i("chooseEditor.chooser.subtitle"),e[7]=i,e[8]=a):a=e[8];let c;e[9]!==a?(c=s.jsx("p",{className:"text-sm text-muted-foreground",children:a}),e[9]=a,e[10]=c):c=e[10];let f;e[11]!==p||e[12]!==c?(f=s.jsxs("div",{className:"flex flex-col gap-2",children:[p,c]}),e[11]=p,e[12]=c,e[13]=f):f=e[13];let o;if(e[14]!==l||e[15]!==m||e[16]!==i){let x;e[18]!==m||e[19]!==i?(x=h=>s.jsxs("button",{type:"button",onClick:()=>m(h),"aria-label":i("chooseEditor.chooser.openAriaLabel",{title:h.project.title,org:h.orgName}),className:"flex w-full items-center gap-3 rounded-lg border border-border bg-card p-3 text-left transition-colors hover:bg-accent",children:[s.jsx(F,{icon:h.project.icon,name:h.project.title,size:"sm"}),s.jsxs("div",{className:"flex min-w-0 flex-col",children:[s.jsx("span",{className:"truncate text-sm font-medium text-foreground",children:h.project.title}),s.jsx("span",{className:"truncate text-xs text-muted-foreground",children:h.orgName})]})]},`${h.orgSlug}/${h.project.id}`),e[18]=m,e[19]=i,e[20]=x):x=e[20],o=l.map(x),e[14]=l,e[15]=m,e[16]=i,e[17]=o}else o=e[17];let g;e[21]!==o?(g=s.jsx("div",{className:"flex w-full flex-col gap-2",children:o}),e[21]=o,e[22]=g):g=e[22];let j;return e[23]!==f||e[24]!==g?(j=s.jsxs(b,{children:[f,g]}),e[23]=f,e[24]=g,e[25]=j):j=e[25],j}function z(){const t=y.c(24);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/choose-editor"},t[0]=e):e=t[0];const l=C(e);let r,i,n,d;t[1]!==l?(i=l.site?.trim()??"",r=k(l),d=$,n=T.editorResolve(i),t[1]=l,t[2]=r,t[3]=i,t[4]=n,t[5]=d):(r=t[2],i=t[3],n=t[4],d=t[5]);let m;t[6]!==i?(m=()=>_(i),t[6]=i,t[7]=m):m=t[7];const u=i.length>0;let p;t[8]!==n||t[9]!==m||t[10]!==u?(p={queryKey:n,queryFn:m,enabled:u,staleTime:1/0,retry:B},t[8]=n,t[9]=m,t[10]=u,t[11]=p):p=t[11];const a=d(p);if(!i){let o;return t[12]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(E,{titleKey:"chooseEditor.notFound.title",descriptionKey:"chooseEditor.notFound.description"}),t[12]=o):o=t[12],o}if(a.isError){let o;return t[13]!==a?(o=R(a.error)?s.jsx(E,{titleKey:"chooseEditor.notFound.title",descriptionKey:"chooseEditor.notFound.description"}):s.jsx(E,{titleKey:"chooseEditor.error.title",descriptionKey:"chooseEditor.error.description",onRetry:()=>a.refetch()}),t[13]=a,t[14]=o):o=t[14],o}if(!a.data){let o;return t[15]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(A,{}),t[15]=o):o=t[15],o}const{matches:c}=a.data;if(c.length===0){let o;return t[16]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(E,{titleKey:"chooseEditor.notFound.title",descriptionKey:"chooseEditor.notFound.description"}),t[16]=o):o=t[16],o}if(c.length===1&&c[0]){let o;return t[17]!==c[0].orgSlug||t[18]!==c[0].project.id||t[19]!==r?(o=s.jsx(q,{orgSlug:c[0].orgSlug,projectId:c[0].project.id,pageSearch:r}),t[17]=c[0].orgSlug,t[18]=c[0].project.id,t[19]=r,t[20]=o):o=t[20],o}let f;return t[21]!==c||t[22]!==r?(f=s.jsx(L,{matches:c,pageSearch:r}),t[21]=c,t[22]=r,t[23]=f):f=t[23],f}function B(t,e){return!R(e)&&t<2}function Oe(){const t=y.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(P,{children:s.jsx(z,{})}),t[0]=e):e=t[0],e}export{Oe as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a,a as c,r as m,j as o}from"./index-
|
|
1
|
+
import{c as a,a as c,r as m,j as o}from"./index-z4bKt11m.js";import{A as u}from"./auth-split-layout-B3xBkE6i.js";function p(){const e=a.c(8),i=c.useSession().data?.user?.email;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=[],e[0]=l):l=e[0],m.useEffect(f,l);let t;e[1]!==i?(t=i?o.jsxs(o.Fragment,{children:[" as ",i]}):"",e[1]=i,e[2]=t):t=e[2];let s;e[3]!==t?(s=o.jsxs("h1",{className:"text-3xl font-semibold tracking-tight",children:["You're logged in",t,"."]}),e[3]=t,e[4]=s):s=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=o.jsx("p",{className:"text-muted-foreground",children:"You can return to your terminal."}),e[5]=n):n=e[5];let r;return e[6]!==s?(r=o.jsx(u,{children:o.jsxs("div",{className:"space-y-3",children:[s,n]})}),e[6]=s,e[7]=r):r=e[7],r}function f(){window.close()}export{p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as l,j as n}from"./index-
|
|
1
|
+
import{c as l,j as n}from"./index-z4bKt11m.js";function a(c){const e=l.c(3),{size:s}=c,t=s===void 0?16:s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=n.jsx("path",{d:"M13 12L18.5 5M7.63965 3L12.5 12L13.6865 3M4.48381 6.71679L11.9872 12M3 12L11.9872 12.473M12.2244 13.177L7 20M4.84194 16.8682L11.2824 12.9758M11.5 21L12.665 13.177M21 14L13.1846 12.668M21 10.5788L13 12.3223M16.779 19.646L12.8876 13.3772M19.3566 18.207L13.313 12.9893"}),e[0]=o):o=e[0];let i;return e[1]!==t?(i=n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o}),e[1]=t,e[2]=i):i=e[2],i}function d(c){const e=l.c(3),{size:s}=c,t=s===void 0?16:s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=n.jsx("path",{clipRule:"evenodd",d:"M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"}),e[0]=o):o=e[0];let i;return e[1]!==t?(i=n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"currentColor",fillRule:"evenodd","aria-hidden":"true",children:o}),e[1]=t,e[2]=i):i=e[2],i}function h(c){const e=l.c(3),{size:s}=c,t=s===void 0?16:s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=n.jsx("path",{d:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"}),e[0]=o):o=e[0];let i;return e[1]!==t?(i=n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,fill:"currentColor","aria-hidden":"true",children:o}),e[1]=t,e[2]=i):i=e[2],i}export{a as C,h as a,d as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,b9 as O,j as i,b3 as g,b2 as $,b4 as S,da as D,b1 as M,b6 as k,bk as L,c as v,l as F}from"./index-
|
|
1
|
+
import{r as s,b9 as O,j as i,b3 as g,b2 as $,b4 as S,da as D,b1 as M,b6 as k,bk as L,c as v,l as F}from"./index-z4bKt11m.js";var f="Collapsible",[B,J]=L(f),[G,x]=B(f),A=s.forwardRef((o,e)=>{const{__scopeCollapsible:t,open:n,defaultOpen:a,disabled:l,onOpenChange:c,...b}=o,[p,d]=O({prop:n,defaultProp:a??!1,onChange:c,caller:f});return i.jsx(G,{scope:t,disabled:l,contentId:$(),open:p,onOpenToggle:s.useCallback(()=>d(C=>!C),[d]),children:i.jsx(g.div,{"data-state":y(p),"data-disabled":l?"":void 0,...b,ref:e})})});A.displayName=f;var I="CollapsibleTrigger",R=s.forwardRef((o,e)=>{const{__scopeCollapsible:t,...n}=o,a=x(I,t);return i.jsx(g.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":y(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:e,onClick:S(o.onClick,a.onOpenToggle)})});R.displayName=I;var h="CollapsibleContent",N=s.forwardRef((o,e)=>{const{forceMount:t,...n}=o,a=x(h,o.__scopeCollapsible);return i.jsx(D,{present:t||a.open,children:({present:l})=>i.jsx(q,{...n,ref:e,present:l})})});N.displayName=h;var q=s.forwardRef((o,e)=>{const{__scopeCollapsible:t,present:n,children:a,...l}=o,c=x(h,t),[b,p]=s.useState(n),d=s.useRef(null),C=M(e,d),P=s.useRef(0),E=P.current,j=s.useRef(0),_=j.current,m=c.open||b,w=s.useRef(m),u=s.useRef(void 0);return s.useEffect(()=>{const r=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(r)},[]),k(()=>{const r=d.current;if(r){u.current=u.current||{transitionDuration:r.style.transitionDuration,animationName:r.style.animationName},r.style.transitionDuration="0s",r.style.animationName="none";const T=r.getBoundingClientRect();P.current=T.height,j.current=T.width,w.current||(r.style.transitionDuration=u.current.transitionDuration,r.style.animationName=u.current.animationName),p(n)}},[c.open,n]),i.jsx(g.div,{"data-state":y(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!m,...l,ref:C,style:{"--radix-collapsible-content-height":E?`${E}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...o.style},children:m&&a})});function y(o){return o?"open":"closed"}var H=A,K=R,Q=N;function U(o){const e=v.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let n;return e[2]!==t?(n=i.jsx(H,{"data-slot":"collapsible",...t}),e[2]=t,e[3]=n):n=e[3],n}function V(o){const e=v.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let n;return e[2]!==t?(n=i.jsx(R,{"data-slot":"collapsible-trigger",...t}),e[2]=t,e[3]=n):n=e[3],n}function W(o){const e=v.c(8);let t,n;e[0]!==o?({className:t,...n}=o,e[0]=o,e[1]=t,e[2]=n):(t=e[1],n=e[2]);let a;e[3]!==t?(a=F("overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down motion-reduce:animate-none",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==n||e[6]!==a?(l=i.jsx(N,{"data-slot":"collapsible-content",className:a,...n}),e[5]=n,e[6]=a,e[7]=l):l=e[7],l}export{V as C,H as R,K as T,W as a,U as b,J as c,Q as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as L,j as t,B as K,h as X,aa as Ge,ab as ie,b as W,E as Ee,r as A,M as xe,cJ as Xe,cI as Re,ad as Ze,u as et,L as te,t as tt,f as fe,bD as Oe}from"./index-Cjhl57C5.js";import{E as Me}from"./empty-state-Bi9IU32F.js";import{u as he}from"./use-mcp-client-Bf0VpOBw.js";import{F as re,a as st,b as ae,d as ce}from"./form-H9AoFazU.js";import{I as ue}from"./input-CImpk8th.js";import{T as pe}from"./textarea-DXDx4Cy0.js";import{D as ge,O as ot,M as nt}from"./index-CoJzC8_g.js";import{P as Se}from"./index-CZFOUXi8.js";import{b2 as lt,R as it,bb as rt,a9 as at,D as ct,ay as dt,x as ye}from"./agent-icon-Cyx7Smko.js";import{M as mt}from"./mcp-app-renderer-zIU2-SQD.js";import{g as ut,M as we}from"./types-DlfDRNRB.js";import{a as pt,b as xt,A as ft}from"./alert-Bb5psHaZ.js";import{S as Ce,b as Ie,a as Te,d as $e,c as de}from"./select-C5Qbx8Kw.js";import{b as ht,c as Pe,T as De,a as ke}from"./tooltip-BDUrOxgN.js";import{B as Fe,a as ze,b as Y,c as se,d as oe,e as Be}from"./breadcrumb-CVSmj3i3.js";import{i as gt}from"./AlertCircle-Ddrj7VUD.js";import{a as jt}from"./Copy01-l6PfB431.js";import{s as bt}from"./Database01-vUZciuwF.js";import{i as Nt}from"./Play-BolLrTAn.js";import{g as vt}from"./connection-slug-CITJ0kGN.js";import{u as St,T as yt}from"./use-mcp-auth-status-bcJwzpw7.js";import{a as Le,u as Ue}from"./use-connection-CpOBycNm.js";import{u as wt}from"./use-mcp-tools-DhZM9sTC.js";import{c as Ct}from"./content-blocks-o63cs2vh.js";import{I as Ae}from"./integration-icon-Dq1cJDX8.js";import{f as It,r as Tt}from"./chat-context-H28jTcB6.js";import{u as $t}from"./shell-layout-knqcStSb.js";import{M as Pt}from"./monaco-editor-Bg8UPXit.js";import{E as Dt}from"./empty-state-CaG0BWIR.js";import{n as kt}from"./Tool02-CE2Fqpba.js";import"./auth-5BCk_I76.js";import"./label-Bk7iLZH7.js";import"./sidebar-CPIvGktg.js";import"./Printer-Dn2De3ak.js";import"./use-mobile-C5SrWG9H.js";import"./sheet-DvqFDAlT.js";import"./X-Dh_K-VDi.js";import"./Key01-ti2CpCiW.js";import"./extract-connection-data-C8zB3-0T.js";import"./metadata-dUsYcpuu.js";import"./github-D4UJ99TO.js";import"./connection-DhRpG43c.js";import"./use-registry-connections-BJotyFay.js";import"./use-organization-settings-pqtCEzuj.js";import"./schema-BTHH8GSh.js";import"./task-board-DpuhnKzF.js";import"./Plus-C5azC59K.js";import"./index-tw-L0pq4.js";import"./index-soiZgi77.js";import"./index-DAUnTbKR.js";import"./index-CdCU_XIc.js";import"./popover-Bn0xXLy8.js";import"./use-virtual-mcp-BvrPyGzX.js";import"./Check-Dnz3uW0f.js";import"./SearchMd-Ms_xvSfF.js";import"./Users03-BaYGM99c.js";import"./use-create-virtual-mcp-BFxHh87r.js";import"./use-navigate-to-agent-DOYg6fyU.js";import"./hooks-D5z7CgCt.js";import"./backoff-8mStPHYB.js";import"./thread-intent-Cdmdi4Qs.js";import"./slugify-CEUa2lfQ.js";import"./github-repo-BknN0SVI.js";import"./Tool01-C0-Xqkxp.js";import"./ArrowUp-Dhew3Evs.js";import"./ArrowLeft-BKbGYh2B.js";import"./ArrowRight-6hYTENh_.js";import"./TrendUp01-uTlAwt0S.js";import"./ZoomOut-CJKT31Kx.js";import"./CheckCircle-DQbrJHsr.js";import"./ChevronUp-XOZg-HiO.js";import"./ChevronRight-DK_MoZ-7.js";import"./ChevronSelectorVertical-B64gqtde.js";import"./DotsVertical-Dyzdr42E.js";import"./UserSquare-D-v_LgOa.js";import"./CreditCard01-DQsLDZWx.js";import"./MessageCircle01-DELRsE6A.js";import"./Download01-_eUxcgg1.js";import"./Settings02-BLcAotUO.js";import"./Eye-B7hZLXRZ.js";import"./File02-D1W0NjQG.js";import"./Share07-BypmcbEF.js";import"./GitBranch01-CRUhFeKk.js";import"./Globe01-D9zr3JIX.js";import"./SwitchHorizontal01-l3o5r_PJ.js";import"./HardDrive-7_ZjnLMv.js";import"./Image01-7_HSDHV3.js";import"./Link01-DYWtgbsz.js";import"./LinkExternal01--55N_6ts.js";import"./Monitor01-BoIweS2p.js";import"./Sun-CEaGM44s.js";import"./Package-CSgBbMFc.js";import"./Palette-CaHW8y9T.js";import"./SearchLg-BZUR3n9c.js";import"./Shield01-C_5dC1mR.js";import"./Stars01-DTStBsXP.js";import"./Trash01-DPQmLNZV.js";import"./Upload01-D-20AdeD.js";import"./User01-BA1LEBvQ.js";import"./Users01-BpRvBK8_.js";import"./XCircle-BhDUy79p.js";import"./XClose-Bw0VS-dj.js";import"./Zap-TxetSnv7.js";import"./index-C-9h82SA.js";import"./badge-DOT8HE5Z.js";import"./mcp-oauth-qvcFIOHE.js";import"./use-panel-navigate-bhAOxlzp.js";import"./thread-route-CnHTxNkK.js";import"./use-project-scope-BfeOcOX-.js";import"./autosend-ClVEnX_S.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-entitlements-BP7WwVM_.js";import"./use-ai-providers-QvFz5SFX.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-DlUI-60k.js";import"./avatar-CR9KEb-s.js";import"./download-app-dialog-DQE0snIy.js";import"./dialog-SKkzdrcZ.js";import"./anchors-yqDzZN4K.js";import"./use-org-notice-BALWnbFe.js";import"./command-palette-store-BL5hnWnv.js";import"./command-CtFXOSiX.js";import"./project-icon-CiuTzDLi.js";import"./required-auth-layout-t1gcmOkS.js";import"./use-org-sso-Dpa7KwXX.js";import"./editor-oZAad1yU.js";function At(s){const e=L.c(15),{onSave:r,onUndo:o,isDirty:l,isSaving:i,saveLabel:a,undoLabel:u}=s,c=a===void 0?"Save":a,n=u===void 0?"Undo":u;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(lt,{size:14}),e[0]=x):x=e[0];let g;e[1]!==i||e[2]!==o||e[3]!==n?(g=t.jsxs(K,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":n,children:[x,n]}),e[1]=i,e[2]=o,e[3]=n,e[4]=g):g=e[4];let m;e[5]!==i?(m=i?t.jsx(X,{className:"size-3.5"}):t.jsx(it,{size:14}),e[5]=i,e[6]=m):m=e[6];let f;e[7]!==i||e[8]!==r||e[9]!==c||e[10]!==m?(f=t.jsxs(K,{variant:"default",size:"sm",onClick:r,disabled:i,"aria-label":c,children:[m,c]}),e[7]=i,e[8]=r,e[9]=c,e[10]=m,e[11]=f):f=e[11];let p;return e[12]!==g||e[13]!==f?(p=t.jsxs(t.Fragment,{children:[g,f]}),e[12]=g,e[13]=f,e[14]=p):p=e[14],p}Ge({title:ie().min(1),description:ie().nullable(),body:ie()});function me(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Et(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),r=e>=0?s[e+1]:void 0;return r?decodeURIComponent(r):void 0}function Rt(s){const e=L.c(43),{form:r}=s,o=W();let l;e[0]!==o?(l=o("details.prompt.details"),e[0]=o,e[1]=l):l=e[1];let i;e[2]!==l?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:l}),e[2]=l,e[3]=i):i=e[3];let a;e[4]!==o?(a=w=>{const{field:b}=w;return t.jsxs(ae,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.title")}),t.jsx(ce,{children:t.jsx(ue,{...b,placeholder:o("details.prompt.titlePlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[4]=o,e[5]=a):a=e[5];let u;e[6]!==r.control||e[7]!==a?(u=t.jsx(re,{control:r.control,name:"title",render:a}),e[6]=r.control,e[7]=a,e[8]=u):u=e[8];let c;e[9]!==o?(c=w=>{const{field:b}=w;return t.jsxs(ae,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.description")}),t.jsx(ce,{children:t.jsx(ue,{...b,value:b.value??"",placeholder:o("details.prompt.descriptionPlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[9]=o,e[10]=c):c=e[10];let n;e[11]!==r.control||e[12]!==c?(n=t.jsx(re,{control:r.control,name:"description",render:c}),e[11]=r.control,e[12]=c,e[13]=n):n=e[13];let x;e[14]!==u||e[15]!==n?(x=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[u,n]}),e[14]=u,e[15]=n,e[16]=x):x=e[16];let g;e[17]!==i||e[18]!==x?(g=t.jsxs("div",{className:"flex flex-col gap-4",children:[i,x]}),e[17]=i,e[18]=x,e[19]=g):g=e[19];let m;e[20]!==o?(m=o("details.prompt.message"),e[20]=o,e[21]=m):m=e[21];let f;e[22]!==m?(f=t.jsx("div",{className:"text-sm font-medium text-foreground",children:m}),e[22]=m,e[23]=f):f=e[23];let p;e[24]!==o?(p=o("details.prompt.messageDescription"),e[24]=o,e[25]=p):p=e[25];let j;e[26]!==p?(j=t.jsx("div",{className:"text-xs text-muted-foreground",children:p}),e[26]=p,e[27]=j):j=e[27];let N;e[28]!==o?(N=w=>{const{field:b}=w;return t.jsx(ae,{children:t.jsx(ce,{children:t.jsx(pe,{...b,value:b.value??"",placeholder:o("details.prompt.bodyPlaceholder"),className:"min-h-[240px] resize-none text-base leading-relaxed font-normal rounded-xl border border-border bg-muted/20 px-4 py-3 shadow-none focus-visible:ring-0"})})})},e[28]=o,e[29]=N):N=e[29];let S;e[30]!==r.control||e[31]!==N?(S=t.jsx(re,{control:r.control,name:"body",render:N}),e[30]=r.control,e[31]=N,e[32]=S):S=e[32];let $;e[33]!==f||e[34]!==j||e[35]!==S?($=t.jsxs("div",{className:"flex flex-col gap-2",children:[f,j,S]}),e[33]=f,e[34]=j,e[35]=S,e[36]=$):$=e[36];let y;e[37]!==$||e[38]!==g?(y=t.jsxs("div",{className:"h-full py-6 flex flex-col max-w-3xl mx-auto w-full min-w-0 gap-8 overflow-y-auto px-4",children:[g,$]}),e[37]=$,e[38]=g,e[39]=y):y=e[39];let P;return e[40]!==r||e[41]!==y?(P=t.jsx(st,{...r,children:y}),e[40]=r,e[41]=y,e[42]=P):P=e[42],P}function Ot(s){const e=L.c(42),{providerId:r,promptId:o}=s,l=W(),{org:i}=xe(),a=r||null;let u;e[0]!==i.id||e[1]!==i.slug||e[2]!==a?(u={connectionId:a,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=a,e[3]=u):u=e[3];const c=he(u),n=Xe(r,"PROMPT",o,c),x=Re(r,"PROMPT",c),g=x.update.isPending;let m;e[4]!==n?(m=n?{title:n.title,description:n.description??null,body:me(n)}:void 0,e[4]=n,e[5]=m):m=e[5];let f;e[6]!==m?(f={values:m},e[6]=m,e[7]=f):f=e[7];const p=Ze(f);let j;e[8]!==p||e[9]!==n?(j=()=>{n&&p.reset({title:n.title,description:n.description??null,body:me(n)})},e[8]=p,e[9]=n,e[10]=j):j=e[10];const N=j;let S;e[11]!==x.update||e[12]!==p||e[13]!==o?(S=p.handleSubmit(async C=>{const I=await x.update.mutateAsync({id:o,data:{title:C.title,description:C.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:C.body}}]}});p.reset({title:I.title,description:I.description??null,body:me(I)})}),e[11]=x.update,e[12]=p,e[13]=o,e[14]=S):S=e[14];const $=S;if(!n){let C;e[15]!==l?(C=l("details.prompt.notFoundTitle"),e[15]=l,e[16]=C):C=e[16];let I;e[17]!==l?(I=l("details.prompt.notFoundDescription"),e[17]=l,e[18]=I):I=e[18];let R;return e[19]!==C||e[20]!==I?(R=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:C,description:I})}),e[19]=C,e[20]=I,e[21]=R):R=e[21],R}let y;e[22]!==n.title?(y=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:n.title}),e[22]=n.title,e[23]=y):y=e[23];let P;e[24]!==n.description?(P=n.description?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"•"}),t.jsx("span",{className:"text-xs text-muted-foreground font-normal truncate min-w-0 max-w-[20ch]",children:n.description})]}):null,e[24]=n.description,e[25]=P):P=e[25];let w;e[26]!==y||e[27]!==P?(w=t.jsx(Se.Topbar.Center.Portal,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[y,P]})}),e[26]=y,e[27]=P,e[28]=w):w=e[28];let b;e[29]!==$?(b=()=>{$()},e[29]=$,e[30]=b):b=e[30];let D;e[31]!==p.formState.isDirty||e[32]!==g||e[33]!==N||e[34]!==b?(D=t.jsx(Se.Topbar.Right.Portal,{children:t.jsx(At,{onSave:b,onUndo:N,isDirty:p.formState.isDirty,isSaving:g})}),e[31]=p.formState.isDirty,e[32]=g,e[33]=N,e[34]=b,e[35]=D):D=e[35];let k;e[36]!==p?(k=t.jsx("div",{className:"h-full",children:t.jsx(Rt,{form:p})}),e[36]=p,e[37]=k):k=e[37];let E;return e[38]!==D||e[39]!==k||e[40]!==w?(E=t.jsxs(ge,{children:[w,D,k]}),e[38]=D,e[39]=k,e[40]=w,e[41]=E):E=e[41],E}function Mt(s){const e=L.c(10),{itemId:r}=s,o=W();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=Et(),e[0]=l):l=e[0];const i=l;if(!i){let u;e[1]!==o?(u=o("details.prompt.notFoundTitle"),e[1]=o,e[2]=u):u=e[2];let c;e[3]!==o?(c=o("details.prompt.missingConnectionDescription"),e[3]=o,e[4]=c):c=e[4];let n;return e[5]!==u||e[6]!==c?(n=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:u,description:c})}),e[5]=u,e[6]=c,e[7]=n):n=e[7],n}let a;return e[8]!==r?(a=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:null,children:t.jsx(Ot,{providerId:i,promptId:r})})}),e[8]=r,e[9]=a):a=e[9],a}const Ft=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function zt(s){const e=L.c(12),{toolName:r,connectionId:o,siblings:l,onSelectInstance:i,onBack:a}=s,u=W();let c;e[0]!==o?(c={connectionId:o},e[0]=o,e[1]=c):c=e[1];const n=St(c);if(!n.isAuthenticated){let m;return e[2]!==n.supportsOAuth||e[3]!==a||e[4]!==u?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:n.supportsOAuth?t.jsx(ot,{onAuthenticate:()=>a(),buttonText:u("details.tool.goBackToAuthenticate")}):t.jsx(nt,{hasReadme:!1})}),e[2]=n.supportsOAuth,e[3]=a,e[4]=u,e[5]=m):m=e[5],m}const x=`${o}:${r}`;let g;return e[6]!==o||e[7]!==i||e[8]!==l||e[9]!==x||e[10]!==r?(g=t.jsx(Bt,{toolName:r,connectionId:o,siblings:l,onSelectInstance:i},x),e[6]=o,e[7]=i,e[8]=l,e[9]=x,e[10]=r,e[11]=g):g=e[11],g}function Bt({toolName:s,connectionId:e,siblings:r,onSelectInstance:o}){const l=W(),{replayId:i}=et({strict:!1}),a=(()=>{if(!i)return null;const d=`replay-${i}`,h=sessionStorage.getItem(d);if(!h)return null;sessionStorage.removeItem(d);try{return JSON.parse(h)}catch{return null}})(),u=(()=>{if(!a)return null;const d={};for(const[h,T]of Object.entries(a))T!==null&&typeof T=="object"?d[h]=JSON.stringify(T,null,2):d[h]=T;return d})(),[c,n]=A.useState(u??{}),[x,g]=A.useState(a?JSON.stringify(a,null,2):"{}"),[m,f]=A.useState(null),[p,j]=A.useState(null),[N,S]=A.useState(null),[$,y]=A.useState(null),[P,w]=A.useState(!1),[b,D]=A.useState(null),{org:k}=xe(),E=Le(e),C=It(),I=Tt(),{openSidePanel:R}=$t(),U=`${e}:${s}`,M=he({connectionId:e,orgId:k.id,orgSlug:k.slug}),_=wt({client:M}),v=_.data?.tools?.find(d=>d.name===s),O=ut(v?._meta),V=d=>{if(!C)return;const h=Ct(d.content);h.content.length>0&&(R(),C.sendMessage({tiptapDoc:h}))},[F,z]=A.useState("json"),[q,Q]=A.useState(!1);O&&!q&&(z("ui"),Q(!0));const J=v?.inputSchema?.properties,je=J?Object.keys(J):[],G=je.length>0,Z={};if(G&&v?.inputSchema?.properties)for(const d of je)Z[d]=v.inputSchema.required?.includes(d)?"":void 0;const ne=d=>Object.prototype.hasOwnProperty.call(c,d),_e=async()=>{w(!0),y(null),f(null),j(null),S(null),D(null);const d=performance.now();try{if(!M)throw new Error("MCP client is not available");const h=G?{...Z,...c}:(()=>{const B=x.trim();if(!B)return{};const H=JSON.parse(B);if(H&&typeof H=="object")return H;throw new Error("Raw JSON input must be an object.")})();G&&v?.inputSchema?.properties&&Object.entries(v.inputSchema.properties).forEach(([B,H])=>{if((H.type==="object"||H.type==="array")&&typeof h[B]=="string")try{h[B]=JSON.parse(h[B])}catch{}else if((H.type==="number"||H.type==="integer")&&typeof h[B]=="string"&&h[B]!==""){const ve=Number(h[B]);Number.isNaN(ve)||(h[B]=ve)}});const T=await M.callTool({name:s,arguments:h}),ee=T.structuredContent??T,We=performance.now(),Qe=Math.round(We-d);f(ee),j(T),S(h);const Ye=JSON.stringify(ee),Ne=new TextEncoder().encode(Ye).length;D({duration:`${Qe}ms`,bytes:`${Ne} bytes`,tokens:`~${Math.ceil(Ne/4)} tokens`,cost:"$0.0000"})}catch(h){const T=h instanceof Error?h.message:String(h);y(T||"Unknown error occurred");const ee=performance.now();D({duration:`${Math.round(ee-d)}ms`})}finally{w(!1)}},le=(d,h)=>{n(T=>({...T,[d]:h}))},Je=()=>{f(null),j(null),S(null),y(null),D(null)},Ve=v?.name??Ft(s),qe=t.jsx(Fe,{children:t.jsxs(ze,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections",params:{org:k.slug},children:l("details.tool.connections")})})}),t.jsx(oe,{}),E&&t.jsxs(t.Fragment,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections/$appSlug",params:{org:k.slug,appSlug:vt(E)},search:{tab:"tools"},children:E.title})})}),t.jsx(oe,{})]}),t.jsx(Y,{children:t.jsx(Be,{children:Ve})})]})}),be=r.length>1&&t.jsxs(Ce,{value:e,onValueChange:o,children:[t.jsx(Ie,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(Te,{})}),t.jsx($e,{children:r.map(d=>t.jsx(de,{value:d.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Ae,{icon:d.icon,name:d.title,size:"xs",className:"shrink-0"}),d.title]})},d.id))})]}),He=t.jsxs("div",{className:"flex flex-col p-6 gap-4 overflow-auto",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("h2",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:l("details.tool.parameters")}),v?.inputSchema?.required&&v.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-destructive",children:"*"})," ",l("details.tool.required")]})]}),t.jsx("div",{className:"space-y-4",children:G&&v?.inputSchema?.properties?Object.entries(v.inputSchema.properties).map(([d,h])=>t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("label",{className:"text-sm font-medium leading-none flex items-center gap-1.5",children:[d,v.inputSchema?.required?.includes(d)&&t.jsx("span",{className:"text-destructive text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:h.type})]}),h.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:h.description}),h.type==="object"||h.type==="array"?t.jsx(pe,{className:"font-mono text-xs",value:ne(d)?c[d]??"":Z[d]??"",onChange:T=>le(d,T.target.value),placeholder:l("details.tool.enterAsJson",{key:d}),rows:3}):h.type==="boolean"?t.jsxs(Ce,{value:ne(d)?String(c[d]??""):"",onValueChange:T=>le(d,T==="true"),children:[t.jsx(Ie,{children:t.jsx(Te,{placeholder:l("details.tool.selectTrueOrFalse")})}),t.jsxs($e,{children:[t.jsx(de,{value:"true",children:"true"}),t.jsx(de,{value:"false",children:"false"})]})]}):t.jsx(ue,{value:ne(d)?c[d]??"":Z[d]??"",onChange:T=>le(d,T.target.value),placeholder:l("details.tool.enter",{key:d})})]},d)):v?.inputSchema&&!G?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:l("details.tool.rawJsonInput")}),t.jsx(pe,{className:"font-mono text-xs min-h-[120px]",value:x,onChange:d=>g(d.target.value),placeholder:l("details.tool.rawJsonExample")})]}):t.jsx("div",{className:"flex items-center justify-center p-8 bg-muted/30 rounded-lg border border-dashed border-border",children:t.jsx("p",{className:"text-sm text-muted-foreground",children:l("details.tool.noParametersRequired")})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:P?t.jsxs(K,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Je,children:[t.jsx(rt,{className:"h-3.5 w-3.5"}),l("details.tool.cancel")]}):t.jsxs(K,{size:"sm",variant:"default",className:"h-8 gap-2",onClick:_e,children:[t.jsx(Nt,{className:"h-3.5 w-3.5 fill-current"}),l("details.tool.executeTool")]})})]}),Ke=t.jsxs("div",{className:"flex flex-col @3xl:h-full @3xl:overflow-hidden",children:[t.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-border bg-background",children:[t.jsx("h2",{className:"text-sm font-medium text-foreground uppercase tracking-wide",children:l("details.tool.result")}),t.jsxs("div",{className:"flex items-center gap-3",children:[b&&t.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(at,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.duration})]}),b.tokens&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(ct,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.tokens})]}),b.bytes&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(bt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.bytes})]}),b.cost&&t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsx("span",{className:"font-mono text-foreground",children:b.cost})})]}),O&&t.jsx(ht,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:F==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>z("ui"),children:t.jsx(dt,{size:14})})}),t.jsx(ke,{children:l("details.tool.interactiveView")})]}),t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:F==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>z("json"),children:t.jsx(ye,{size:14})})}),t.jsx(ke,{children:l("details.tool.jsonView")})]})]})})]})]}),$&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(pt,{variant:"destructive",children:t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(gt,{className:"h-4 w-4"}),t.jsx(xt,{className:"mb-0",children:l("details.tool.executionFailed")})]}),t.jsx(ft,{className:"text-xs text-destructive",children:$})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:O&&F==="ui"&&M?t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex items-center justify-center h-48",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx(X,{className:"size-4"}),t.jsx("span",{className:"text-sm",children:l("details.tool.loadingApp")})]})}),children:t.jsx(mt,{resourceURI:O,toolInfo:v?{tool:v}:void 0,toolInput:N??void 0,toolResult:p??void 0,displayMode:"fullscreen",minHeight:we.view.minHeight,maxHeight:we.view.maxHeight,client:M,onMessage:V,onUpdateModelContext:d=>I?.setAppContext(U,d),onTeardown:()=>I?.clearAppContext(U),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{code:JSON.stringify(m,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(K,{size:"icon",variant:"ghost",className:"absolute top-4 right-4 h-8 w-8 bg-background/80 hover:bg-background border border-border shadow-sm",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(m,null,2)),tt.success(l("details.tool.copiedToClipboard"))},children:t.jsx(jt,{className:"h-3.5 w-3.5"})})]}):t.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-muted-foreground",children:[t.jsx(ye,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:l("details.tool.runToolToSeeResults")})]})})]});return t.jsx(ge,{leading:qe,children:t.jsxs("div",{className:"flex flex-col h-full overflow-hidden @container",children:[t.jsxs("div",{className:"flex flex-col gap-3 py-7 px-8 bg-background border-b border-border shrink-0",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(Ae,{icon:E?.icon||null,name:E?.title||s,size:"xl",className:"shrink-0"}),t.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground leading-none truncate",children:s}),t.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-muted/50 rounded-md h-fit shrink-0",children:[_.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-success animate-pulse shrink-0"}):_.isLoading?t.jsx(X,{className:"size-[10px] text-warning shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-destructive shrink-0"}),t.jsx("span",{className:"font-mono text-xs capitalize text-muted-foreground leading-none",children:_.isSuccess?"ready":_.isLoading?"connecting":"error"})]}),t.jsx(yt,{annotations:v?.annotations,_meta:v?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:be})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:v?.description||"No description available"})]}),r.length>1&&t.jsxs("div",{className:"flex @3xl:hidden items-center gap-3 px-8 py-3 border-b border-border",children:[t.jsx("span",{className:"text-xs font-medium text-muted-foreground shrink-0",children:l("details.tool.instance")}),be]}),t.jsx("div",{className:"flex-1 overflow-auto @3xl:overflow-hidden",children:t.jsxs("div",{className:"grid grid-cols-1 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,5fr)] @3xl:h-full @3xl:grid-rows-1",children:[t.jsx("div",{className:"@3xl:border-r border-border @3xl:overflow-auto",children:He}),Ke]})})]})})}function Lt(s){const e=L.c(20),{itemId:r,siblings:o,onBack:l}=s,i=W(),[a,u]=A.useState(o[0]?.id??"");let c;e[0]!==a||e[1]!==o?(c=o.find(f=>f.id===a)?.id??o[0]?.id??"",e[0]=a,e[1]=o,e[2]=c):c=e[2];const n=c;if(!Le(n||void 0)||!n){let f;e[3]!==i?(f=i("details.tool.connectionNotFound"),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==f?(p=t.jsx("h3",{className:"text-lg font-semibold",children:f}),e[5]=f,e[6]=p):p=e[6];let j;e[7]!==i?(j=i("details.tool.connectionNotFoundMessage"),e[7]=i,e[8]=j):j=e[8];let N;e[9]!==j?(N=t.jsx("p",{className:"text-sm text-muted-foreground",children:j}),e[9]=j,e[10]=N):N=e[10];let S;return e[11]!==p||e[12]!==N?(S=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[p,N]})}),e[11]=p,e[12]=N,e[13]=S):S=e[13],S}let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{className:"size-8 text-muted-foreground"})}),e[14]=g):g=e[14];let m;return e[15]!==n||e[16]!==l||e[17]!==o||e[18]!==r?(m=t.jsx(A.Suspense,{fallback:g,children:t.jsx(zt,{toolName:r,connectionId:n,siblings:o,onSelectInstance:u,onBack:l})}),e[15]=n,e[16]=l,e[17]=o,e[18]=r,e[19]=m):m=e[19],m}const Ut={prompt:Mt};function _t(){const s=L.c(9),e=Oe();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=fe(r),l=decodeURIComponent(o.itemId);let i;s[1]!==o.appSlug?(i={slug:o.appSlug},s[1]=o.appSlug,s[2]=i):i=s[2];const a=Ue(i);let u;s[3]!==e.history?(u=()=>{e.history.back()},s[3]=e.history,s[4]=u):u=s[4];const c=u,n=Jt;let x;return s[5]!==c||s[6]!==l||s[7]!==a?(x=t.jsx(Lt,{itemId:l,siblings:a,onBack:c,onUpdate:n}),s[5]=c,s[6]=l,s[7]=a,s[8]=x):x=s[8],x}async function Jt(s){return Promise.resolve()}function Vt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function qt(){const s=L.c(52),e=Oe();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=fe(r),l=W(),i=decodeURIComponent(o.collectionName),a=decodeURIComponent(o.itemId);let u;s[1]!==e.history?(u=()=>{e.history.back()},s[1]=e.history,s[2]=u):u=s[2];const c=u,{org:n}=xe();let x;s[3]!==o.appSlug?(x={slug:o.appSlug},s[3]=o.appSlug,s[4]=x):x=s[4];const m=Ue(x)[0]??null,f=m?.id??"",p=f||"no-connection",j=f??null;let N;s[5]!==n.id||s[6]!==n.slug||s[7]!==j?(N={connectionId:j,orgId:n.id,orgSlug:n.slug},s[5]=n.id,s[6]=n.slug,s[7]=j,s[8]=N):N=s[8];const S=he(N),$=Re(p,i,S);let y;s[9]!==$||s[10]!==a?(y=async J=>{a&&await $.update.mutateAsync({id:a,data:J})},s[9]=$,s[10]=a,s[11]=y):y=s[11];const P=y;let w;s[12]!==i?(w=i?.toLowerCase(),s[12]=i,s[13]=w):w=s[13];const b=w,D=b&&Ut[b];let k;s[14]!==i?(k=Vt(i),s[14]=i,s[15]=k):k=s[15];const E=k;let C;s[16]!==n.slug?(C=t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections",params:{org:n.slug},children:"Connections"})})}),s[16]=n.slug,s[17]=C):C=s[17];let I;s[18]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(oe,{}),s[18]=I):I=s[18];let R;s[19]!==i||s[20]!==m||s[21]!==n.slug||s[22]!==o.appSlug?(R=m&&t.jsxs(t.Fragment,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections/$appSlug",params:{org:n.slug,appSlug:o.appSlug},search:{tab:i},children:m.title})})}),t.jsx(oe,{})]}),s[19]=i,s[20]=m,s[21]=n.slug,s[22]=o.appSlug,s[23]=R):R=s[23];let U;s[24]!==E?(U=t.jsx(Y,{children:t.jsx(Be,{children:E})}),s[24]=E,s[25]=U):U=s[25];let M;s[26]!==R||s[27]!==U||s[28]!==C?(M=t.jsx(Fe,{children:t.jsxs(ze,{children:[C,I,R,U]})}),s[26]=R,s[27]=U,s[28]=C,s[29]=M):M=s[29];const _=M;if(D){let J;return s[30]!==D||s[31]!==c||s[32]!==P||s[33]!==a?(J=t.jsx(D,{itemId:a,onBack:c,onUpdate:P}),s[30]=D,s[31]=c,s[32]=P,s[33]=a,s[34]=J):J=s[34],J}let v;s[35]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(kt,{size:36,className:"text-muted-foreground"}),s[35]=v):v=s[35];let O;s[36]!==l?(O=l("orgs.collectionDetail.noComponentDefinedTitle"),s[36]=l,s[37]=O):O=s[37];let V;s[38]!==l?(V=l("orgs.collectionDetail.noComponentDefinedDescription"),s[38]=l,s[39]=V):V=s[39];let F;s[40]!==l?(F=l("orgs.collectionDetail.goBackButton"),s[40]=l,s[41]=F):F=s[41];let z;s[42]!==c||s[43]!==F?(z={onClick:c,children:F},s[42]=c,s[43]=F,s[44]=z):z=s[44];let q;s[45]!==O||s[46]!==V||s[47]!==z?(q=t.jsx(Dt,{icon:v,title:O,description:V,buttonProps:z}),s[45]=O,s[46]=V,s[47]=z,s[48]=q):q=s[48];let Q;return s[49]!==_||s[50]!==q?(Q=t.jsx(ge,{leading:_,children:q}),s[49]=_,s[50]=q,s[51]=Q):Q=s[51],Q}function Ht(){const s=L.c(3);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=e):e=s[0];const r=fe(e);if(decodeURIComponent(r.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(_t,{}),s[1]=a):a=s[1],a}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(qt,{}),s[2]=i):i=s[2],i}function pn(){const s=L.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{className:"size-8 text-muted-foreground"})}),children:t.jsx(Ht,{})})}),s[0]=e):e=s[0],e}export{pn as default};
|
|
1
|
+
import{c as L,j as t,B as K,h as X,aa as Ge,ab as ie,b as W,E as Ee,r as A,M as xe,cJ as Xe,cI as Re,ad as Ze,u as et,L as te,t as tt,f as fe,bD as Oe}from"./index-z4bKt11m.js";import{E as Me}from"./empty-state-BIcQyeij.js";import{u as he}from"./use-mcp-client-B1u2B39v.js";import{F as re,a as st,b as ae,d as ce}from"./form-B7dtslOD.js";import{I as ue}from"./input-C7XH8Uj_.js";import{T as pe}from"./textarea-BEOceSll.js";import{D as ge,O as ot,M as nt}from"./index-NrvdR10n.js";import{P as Se}from"./index-G9Ugx8pT.js";import{b2 as lt,R as it,bb as rt,a9 as at,D as ct,ay as dt,x as ye}from"./agent-icon-BD4DM2Lv.js";import{M as mt}from"./mcp-app-renderer-DjwQ0S-h.js";import{g as ut,M as we}from"./types-Bh4jNqv3.js";import{a as pt,b as xt,A as ft}from"./alert-Cnsh1M35.js";import{S as Ce,b as Ie,a as Te,d as $e,c as de}from"./select-cIekAVlM.js";import{b as ht,c as Pe,T as De,a as ke}from"./tooltip-BuKeolDX.js";import{B as Fe,a as ze,b as Y,c as se,d as oe,e as Be}from"./breadcrumb-sWWxibcS.js";import{i as gt}from"./AlertCircle-DbwtWnTP.js";import{a as jt}from"./Copy01-DTHuBaTA.js";import{s as bt}from"./Database01-RGlwXHSd.js";import{i as Nt}from"./Play-DQgzDnaW.js";import{g as vt}from"./connection-slug-CITJ0kGN.js";import{u as St,T as yt}from"./use-mcp-auth-status-DvQCYJw0.js";import{a as Le,u as Ue}from"./use-connection-CPQUKm0a.js";import{u as wt}from"./use-mcp-tools-Ch_j97A3.js";import{c as Ct}from"./content-blocks-o63cs2vh.js";import{I as Ae}from"./integration-icon-DOHTaQ6D.js";import{f as It,r as Tt}from"./chat-context-BBVkwd3p.js";import{u as $t}from"./shell-layout-DMJSwXH6.js";import{M as Pt}from"./monaco-editor-BHu8MLvz.js";import{E as Dt}from"./empty-state-ClEXvr10.js";import{n as kt}from"./Tool02-JY0gm8cg.js";import"./auth-D-2jYpOE.js";import"./label-8juC5J-g.js";import"./sidebar-BCim0GYP.js";import"./Printer-BpZBiqyG.js";import"./use-mobile-CV7f0Wqe.js";import"./sheet-DhNzwMUj.js";import"./X-Bzh3NI3m.js";import"./Key01-mqjfsZRe.js";import"./extract-connection-data-CM8c_Wvw.js";import"./metadata-dUsYcpuu.js";import"./github-D4UJ99TO.js";import"./connection-BfiO32wM.js";import"./use-registry-connections-D_a0MIjQ.js";import"./use-organization-settings-C-XY0Wze.js";import"./schema-D0xfowSf.js";import"./task-board-lQZGfEfb.js";import"./Plus-D2HOi_DD.js";import"./index-D68Q2TT2.js";import"./index-KOGfrBZR.js";import"./index-BwuwoN1w.js";import"./index-Cyoz5tz5.js";import"./popover-CsEsUqbZ.js";import"./use-virtual-mcp-Bq1RMGPF.js";import"./Check-BZE0WrNL.js";import"./SearchMd-FDCJM3CR.js";import"./Users03-BP-0DNhp.js";import"./use-create-virtual-mcp-BRT9hKZ3.js";import"./use-navigate-to-agent-BMSyO1iB.js";import"./hooks-CkL4R3Tj.js";import"./backoff-8mStPHYB.js";import"./thread-intent-9fI0jPLV.js";import"./slugify-CEUa2lfQ.js";import"./github-repo-BknN0SVI.js";import"./Tool01-DHi_Z7zo.js";import"./ArrowUp-Scf6R8DX.js";import"./ArrowLeft-CyH6aWpS.js";import"./ArrowRight-Bv0iX4wy.js";import"./TrendUp01-Bkdgpfn7.js";import"./ZoomOut-BRjMa-04.js";import"./CheckCircle-BKb1RVrA.js";import"./ChevronUp-D5_IWEtB.js";import"./ChevronRight-DNrwFBnC.js";import"./ChevronSelectorVertical-oXn0cTzk.js";import"./DotsVertical-DE9eZKrJ.js";import"./UserSquare-qgzToKNd.js";import"./CreditCard01-CwX6pA0M.js";import"./MessageCircle01-CgotMmLL.js";import"./Download01-qX3hmvr5.js";import"./Settings02-CFcKewXh.js";import"./Eye-DXUjft5i.js";import"./File02-g-xJPix_.js";import"./Share07-CxuHcmnM.js";import"./GitBranch01-ddoPQdPH.js";import"./Globe01-DIy8wXF6.js";import"./SwitchHorizontal01-hHr6GOmU.js";import"./HardDrive-DU_z1AQw.js";import"./Image01-DfaxHjlV.js";import"./Link01-C656VtHx.js";import"./LinkExternal01-BkRUjBAn.js";import"./Monitor01-CQ6Zk1oP.js";import"./Sun-SBoG-e9B.js";import"./Package-t6euxYcP.js";import"./Palette-oECS8j3l.js";import"./SearchLg-DbX4T5E-.js";import"./Shield01-HrKG6yUn.js";import"./Stars01-B_nM3FYf.js";import"./Trash01-C6bziN5X.js";import"./Upload01-DC2spim9.js";import"./User01-BbOpA84p.js";import"./Users01-BOsDT0Jv.js";import"./XCircle-CuK2q_XU.js";import"./XClose-Cvyz3reC.js";import"./Zap-DXNovEva.js";import"./index-B46P4HkV.js";import"./badge-BNBGXxmC.js";import"./mcp-oauth-DiqQlKOx.js";import"./use-panel-navigate-BG4d0Vrr.js";import"./thread-route-B1EuqJlg.js";import"./use-project-scope-DRope0ob.js";import"./autosend-D-BN-cv5.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-entitlements-BWaaNeuI.js";import"./use-ai-providers-B0bxSHYG.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-_O_0AHeH.js";import"./avatar-Duu5Gg02.js";import"./download-app-dialog-Bsig7tOs.js";import"./dialog-DbzCN1O8.js";import"./anchors-yqDzZN4K.js";import"./use-org-notice-C5thI8aD.js";import"./command-palette-store-LVCQ6fRv.js";import"./command-D2fiEFer.js";import"./project-icon-Cw3la58q.js";import"./required-auth-layout-WkX8CtfT.js";import"./use-org-sso-vHIufIoJ.js";import"./editor-CpBx0ZCm.js";function At(s){const e=L.c(15),{onSave:r,onUndo:o,isDirty:l,isSaving:i,saveLabel:a,undoLabel:u}=s,c=a===void 0?"Save":a,n=u===void 0?"Undo":u;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(lt,{size:14}),e[0]=x):x=e[0];let g;e[1]!==i||e[2]!==o||e[3]!==n?(g=t.jsxs(K,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":n,children:[x,n]}),e[1]=i,e[2]=o,e[3]=n,e[4]=g):g=e[4];let m;e[5]!==i?(m=i?t.jsx(X,{className:"size-3.5"}):t.jsx(it,{size:14}),e[5]=i,e[6]=m):m=e[6];let f;e[7]!==i||e[8]!==r||e[9]!==c||e[10]!==m?(f=t.jsxs(K,{variant:"default",size:"sm",onClick:r,disabled:i,"aria-label":c,children:[m,c]}),e[7]=i,e[8]=r,e[9]=c,e[10]=m,e[11]=f):f=e[11];let p;return e[12]!==g||e[13]!==f?(p=t.jsxs(t.Fragment,{children:[g,f]}),e[12]=g,e[13]=f,e[14]=p):p=e[14],p}Ge({title:ie().min(1),description:ie().nullable(),body:ie()});function me(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Et(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),r=e>=0?s[e+1]:void 0;return r?decodeURIComponent(r):void 0}function Rt(s){const e=L.c(43),{form:r}=s,o=W();let l;e[0]!==o?(l=o("details.prompt.details"),e[0]=o,e[1]=l):l=e[1];let i;e[2]!==l?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:l}),e[2]=l,e[3]=i):i=e[3];let a;e[4]!==o?(a=w=>{const{field:b}=w;return t.jsxs(ae,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.title")}),t.jsx(ce,{children:t.jsx(ue,{...b,placeholder:o("details.prompt.titlePlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[4]=o,e[5]=a):a=e[5];let u;e[6]!==r.control||e[7]!==a?(u=t.jsx(re,{control:r.control,name:"title",render:a}),e[6]=r.control,e[7]=a,e[8]=u):u=e[8];let c;e[9]!==o?(c=w=>{const{field:b}=w;return t.jsxs(ae,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:o("details.prompt.description")}),t.jsx(ce,{children:t.jsx(ue,{...b,value:b.value??"",placeholder:o("details.prompt.descriptionPlaceholder"),className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})},e[9]=o,e[10]=c):c=e[10];let n;e[11]!==r.control||e[12]!==c?(n=t.jsx(re,{control:r.control,name:"description",render:c}),e[11]=r.control,e[12]=c,e[13]=n):n=e[13];let x;e[14]!==u||e[15]!==n?(x=t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[u,n]}),e[14]=u,e[15]=n,e[16]=x):x=e[16];let g;e[17]!==i||e[18]!==x?(g=t.jsxs("div",{className:"flex flex-col gap-4",children:[i,x]}),e[17]=i,e[18]=x,e[19]=g):g=e[19];let m;e[20]!==o?(m=o("details.prompt.message"),e[20]=o,e[21]=m):m=e[21];let f;e[22]!==m?(f=t.jsx("div",{className:"text-sm font-medium text-foreground",children:m}),e[22]=m,e[23]=f):f=e[23];let p;e[24]!==o?(p=o("details.prompt.messageDescription"),e[24]=o,e[25]=p):p=e[25];let j;e[26]!==p?(j=t.jsx("div",{className:"text-xs text-muted-foreground",children:p}),e[26]=p,e[27]=j):j=e[27];let N;e[28]!==o?(N=w=>{const{field:b}=w;return t.jsx(ae,{children:t.jsx(ce,{children:t.jsx(pe,{...b,value:b.value??"",placeholder:o("details.prompt.bodyPlaceholder"),className:"min-h-[240px] resize-none text-base leading-relaxed font-normal rounded-xl border border-border bg-muted/20 px-4 py-3 shadow-none focus-visible:ring-0"})})})},e[28]=o,e[29]=N):N=e[29];let S;e[30]!==r.control||e[31]!==N?(S=t.jsx(re,{control:r.control,name:"body",render:N}),e[30]=r.control,e[31]=N,e[32]=S):S=e[32];let $;e[33]!==f||e[34]!==j||e[35]!==S?($=t.jsxs("div",{className:"flex flex-col gap-2",children:[f,j,S]}),e[33]=f,e[34]=j,e[35]=S,e[36]=$):$=e[36];let y;e[37]!==$||e[38]!==g?(y=t.jsxs("div",{className:"h-full py-6 flex flex-col max-w-3xl mx-auto w-full min-w-0 gap-8 overflow-y-auto px-4",children:[g,$]}),e[37]=$,e[38]=g,e[39]=y):y=e[39];let P;return e[40]!==r||e[41]!==y?(P=t.jsx(st,{...r,children:y}),e[40]=r,e[41]=y,e[42]=P):P=e[42],P}function Ot(s){const e=L.c(42),{providerId:r,promptId:o}=s,l=W(),{org:i}=xe(),a=r||null;let u;e[0]!==i.id||e[1]!==i.slug||e[2]!==a?(u={connectionId:a,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=a,e[3]=u):u=e[3];const c=he(u),n=Xe(r,"PROMPT",o,c),x=Re(r,"PROMPT",c),g=x.update.isPending;let m;e[4]!==n?(m=n?{title:n.title,description:n.description??null,body:me(n)}:void 0,e[4]=n,e[5]=m):m=e[5];let f;e[6]!==m?(f={values:m},e[6]=m,e[7]=f):f=e[7];const p=Ze(f);let j;e[8]!==p||e[9]!==n?(j=()=>{n&&p.reset({title:n.title,description:n.description??null,body:me(n)})},e[8]=p,e[9]=n,e[10]=j):j=e[10];const N=j;let S;e[11]!==x.update||e[12]!==p||e[13]!==o?(S=p.handleSubmit(async C=>{const I=await x.update.mutateAsync({id:o,data:{title:C.title,description:C.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:C.body}}]}});p.reset({title:I.title,description:I.description??null,body:me(I)})}),e[11]=x.update,e[12]=p,e[13]=o,e[14]=S):S=e[14];const $=S;if(!n){let C;e[15]!==l?(C=l("details.prompt.notFoundTitle"),e[15]=l,e[16]=C):C=e[16];let I;e[17]!==l?(I=l("details.prompt.notFoundDescription"),e[17]=l,e[18]=I):I=e[18];let R;return e[19]!==C||e[20]!==I?(R=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:C,description:I})}),e[19]=C,e[20]=I,e[21]=R):R=e[21],R}let y;e[22]!==n.title?(y=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:n.title}),e[22]=n.title,e[23]=y):y=e[23];let P;e[24]!==n.description?(P=n.description?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"•"}),t.jsx("span",{className:"text-xs text-muted-foreground font-normal truncate min-w-0 max-w-[20ch]",children:n.description})]}):null,e[24]=n.description,e[25]=P):P=e[25];let w;e[26]!==y||e[27]!==P?(w=t.jsx(Se.Topbar.Center.Portal,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[y,P]})}),e[26]=y,e[27]=P,e[28]=w):w=e[28];let b;e[29]!==$?(b=()=>{$()},e[29]=$,e[30]=b):b=e[30];let D;e[31]!==p.formState.isDirty||e[32]!==g||e[33]!==N||e[34]!==b?(D=t.jsx(Se.Topbar.Right.Portal,{children:t.jsx(At,{onSave:b,onUndo:N,isDirty:p.formState.isDirty,isSaving:g})}),e[31]=p.formState.isDirty,e[32]=g,e[33]=N,e[34]=b,e[35]=D):D=e[35];let k;e[36]!==p?(k=t.jsx("div",{className:"h-full",children:t.jsx(Rt,{form:p})}),e[36]=p,e[37]=k):k=e[37];let E;return e[38]!==D||e[39]!==k||e[40]!==w?(E=t.jsxs(ge,{children:[w,D,k]}),e[38]=D,e[39]=k,e[40]=w,e[41]=E):E=e[41],E}function Mt(s){const e=L.c(10),{itemId:r}=s,o=W();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=Et(),e[0]=l):l=e[0];const i=l;if(!i){let u;e[1]!==o?(u=o("details.prompt.notFoundTitle"),e[1]=o,e[2]=u):u=e[2];let c;e[3]!==o?(c=o("details.prompt.missingConnectionDescription"),e[3]=o,e[4]=c):c=e[4];let n;return e[5]!==u||e[6]!==c?(n=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Me,{title:u,description:c})}),e[5]=u,e[6]=c,e[7]=n):n=e[7],n}let a;return e[8]!==r?(a=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:null,children:t.jsx(Ot,{providerId:i,promptId:r})})}),e[8]=r,e[9]=a):a=e[9],a}const Ft=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function zt(s){const e=L.c(12),{toolName:r,connectionId:o,siblings:l,onSelectInstance:i,onBack:a}=s,u=W();let c;e[0]!==o?(c={connectionId:o},e[0]=o,e[1]=c):c=e[1];const n=St(c);if(!n.isAuthenticated){let m;return e[2]!==n.supportsOAuth||e[3]!==a||e[4]!==u?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:n.supportsOAuth?t.jsx(ot,{onAuthenticate:()=>a(),buttonText:u("details.tool.goBackToAuthenticate")}):t.jsx(nt,{hasReadme:!1})}),e[2]=n.supportsOAuth,e[3]=a,e[4]=u,e[5]=m):m=e[5],m}const x=`${o}:${r}`;let g;return e[6]!==o||e[7]!==i||e[8]!==l||e[9]!==x||e[10]!==r?(g=t.jsx(Bt,{toolName:r,connectionId:o,siblings:l,onSelectInstance:i},x),e[6]=o,e[7]=i,e[8]=l,e[9]=x,e[10]=r,e[11]=g):g=e[11],g}function Bt({toolName:s,connectionId:e,siblings:r,onSelectInstance:o}){const l=W(),{replayId:i}=et({strict:!1}),a=(()=>{if(!i)return null;const d=`replay-${i}`,h=sessionStorage.getItem(d);if(!h)return null;sessionStorage.removeItem(d);try{return JSON.parse(h)}catch{return null}})(),u=(()=>{if(!a)return null;const d={};for(const[h,T]of Object.entries(a))T!==null&&typeof T=="object"?d[h]=JSON.stringify(T,null,2):d[h]=T;return d})(),[c,n]=A.useState(u??{}),[x,g]=A.useState(a?JSON.stringify(a,null,2):"{}"),[m,f]=A.useState(null),[p,j]=A.useState(null),[N,S]=A.useState(null),[$,y]=A.useState(null),[P,w]=A.useState(!1),[b,D]=A.useState(null),{org:k}=xe(),E=Le(e),C=It(),I=Tt(),{openSidePanel:R}=$t(),U=`${e}:${s}`,M=he({connectionId:e,orgId:k.id,orgSlug:k.slug}),_=wt({client:M}),v=_.data?.tools?.find(d=>d.name===s),O=ut(v?._meta),V=d=>{if(!C)return;const h=Ct(d.content);h.content.length>0&&(R(),C.sendMessage({tiptapDoc:h}))},[F,z]=A.useState("json"),[q,Q]=A.useState(!1);O&&!q&&(z("ui"),Q(!0));const J=v?.inputSchema?.properties,je=J?Object.keys(J):[],G=je.length>0,Z={};if(G&&v?.inputSchema?.properties)for(const d of je)Z[d]=v.inputSchema.required?.includes(d)?"":void 0;const ne=d=>Object.prototype.hasOwnProperty.call(c,d),_e=async()=>{w(!0),y(null),f(null),j(null),S(null),D(null);const d=performance.now();try{if(!M)throw new Error("MCP client is not available");const h=G?{...Z,...c}:(()=>{const B=x.trim();if(!B)return{};const H=JSON.parse(B);if(H&&typeof H=="object")return H;throw new Error("Raw JSON input must be an object.")})();G&&v?.inputSchema?.properties&&Object.entries(v.inputSchema.properties).forEach(([B,H])=>{if((H.type==="object"||H.type==="array")&&typeof h[B]=="string")try{h[B]=JSON.parse(h[B])}catch{}else if((H.type==="number"||H.type==="integer")&&typeof h[B]=="string"&&h[B]!==""){const ve=Number(h[B]);Number.isNaN(ve)||(h[B]=ve)}});const T=await M.callTool({name:s,arguments:h}),ee=T.structuredContent??T,We=performance.now(),Qe=Math.round(We-d);f(ee),j(T),S(h);const Ye=JSON.stringify(ee),Ne=new TextEncoder().encode(Ye).length;D({duration:`${Qe}ms`,bytes:`${Ne} bytes`,tokens:`~${Math.ceil(Ne/4)} tokens`,cost:"$0.0000"})}catch(h){const T=h instanceof Error?h.message:String(h);y(T||"Unknown error occurred");const ee=performance.now();D({duration:`${Math.round(ee-d)}ms`})}finally{w(!1)}},le=(d,h)=>{n(T=>({...T,[d]:h}))},Je=()=>{f(null),j(null),S(null),y(null),D(null)},Ve=v?.name??Ft(s),qe=t.jsx(Fe,{children:t.jsxs(ze,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections",params:{org:k.slug},children:l("details.tool.connections")})})}),t.jsx(oe,{}),E&&t.jsxs(t.Fragment,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections/$appSlug",params:{org:k.slug,appSlug:vt(E)},search:{tab:"tools"},children:E.title})})}),t.jsx(oe,{})]}),t.jsx(Y,{children:t.jsx(Be,{children:Ve})})]})}),be=r.length>1&&t.jsxs(Ce,{value:e,onValueChange:o,children:[t.jsx(Ie,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(Te,{})}),t.jsx($e,{children:r.map(d=>t.jsx(de,{value:d.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Ae,{icon:d.icon,name:d.title,size:"xs",className:"shrink-0"}),d.title]})},d.id))})]}),He=t.jsxs("div",{className:"flex flex-col p-6 gap-4 overflow-auto",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("h2",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:l("details.tool.parameters")}),v?.inputSchema?.required&&v.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-destructive",children:"*"})," ",l("details.tool.required")]})]}),t.jsx("div",{className:"space-y-4",children:G&&v?.inputSchema?.properties?Object.entries(v.inputSchema.properties).map(([d,h])=>t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("label",{className:"text-sm font-medium leading-none flex items-center gap-1.5",children:[d,v.inputSchema?.required?.includes(d)&&t.jsx("span",{className:"text-destructive text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:h.type})]}),h.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:h.description}),h.type==="object"||h.type==="array"?t.jsx(pe,{className:"font-mono text-xs",value:ne(d)?c[d]??"":Z[d]??"",onChange:T=>le(d,T.target.value),placeholder:l("details.tool.enterAsJson",{key:d}),rows:3}):h.type==="boolean"?t.jsxs(Ce,{value:ne(d)?String(c[d]??""):"",onValueChange:T=>le(d,T==="true"),children:[t.jsx(Ie,{children:t.jsx(Te,{placeholder:l("details.tool.selectTrueOrFalse")})}),t.jsxs($e,{children:[t.jsx(de,{value:"true",children:"true"}),t.jsx(de,{value:"false",children:"false"})]})]}):t.jsx(ue,{value:ne(d)?c[d]??"":Z[d]??"",onChange:T=>le(d,T.target.value),placeholder:l("details.tool.enter",{key:d})})]},d)):v?.inputSchema&&!G?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:l("details.tool.rawJsonInput")}),t.jsx(pe,{className:"font-mono text-xs min-h-[120px]",value:x,onChange:d=>g(d.target.value),placeholder:l("details.tool.rawJsonExample")})]}):t.jsx("div",{className:"flex items-center justify-center p-8 bg-muted/30 rounded-lg border border-dashed border-border",children:t.jsx("p",{className:"text-sm text-muted-foreground",children:l("details.tool.noParametersRequired")})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:P?t.jsxs(K,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Je,children:[t.jsx(rt,{className:"h-3.5 w-3.5"}),l("details.tool.cancel")]}):t.jsxs(K,{size:"sm",variant:"default",className:"h-8 gap-2",onClick:_e,children:[t.jsx(Nt,{className:"h-3.5 w-3.5 fill-current"}),l("details.tool.executeTool")]})})]}),Ke=t.jsxs("div",{className:"flex flex-col @3xl:h-full @3xl:overflow-hidden",children:[t.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-border bg-background",children:[t.jsx("h2",{className:"text-sm font-medium text-foreground uppercase tracking-wide",children:l("details.tool.result")}),t.jsxs("div",{className:"flex items-center gap-3",children:[b&&t.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(at,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.duration})]}),b.tokens&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(ct,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.tokens})]}),b.bytes&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(bt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.bytes})]}),b.cost&&t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsx("span",{className:"font-mono text-foreground",children:b.cost})})]}),O&&t.jsx(ht,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:F==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>z("ui"),children:t.jsx(dt,{size:14})})}),t.jsx(ke,{children:l("details.tool.interactiveView")})]}),t.jsxs(Pe,{children:[t.jsx(De,{asChild:!0,children:t.jsx(K,{size:"icon",variant:F==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>z("json"),children:t.jsx(ye,{size:14})})}),t.jsx(ke,{children:l("details.tool.jsonView")})]})]})})]})]}),$&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(pt,{variant:"destructive",children:t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(gt,{className:"h-4 w-4"}),t.jsx(xt,{className:"mb-0",children:l("details.tool.executionFailed")})]}),t.jsx(ft,{className:"text-xs text-destructive",children:$})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:O&&F==="ui"&&M?t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex items-center justify-center h-48",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx(X,{className:"size-4"}),t.jsx("span",{className:"text-sm",children:l("details.tool.loadingApp")})]})}),children:t.jsx(mt,{resourceURI:O,toolInfo:v?{tool:v}:void 0,toolInput:N??void 0,toolResult:p??void 0,displayMode:"fullscreen",minHeight:we.view.minHeight,maxHeight:we.view.maxHeight,client:M,onMessage:V,onUpdateModelContext:d=>I?.setAppContext(U,d),onTeardown:()=>I?.clearAppContext(U),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{code:JSON.stringify(m,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(K,{size:"icon",variant:"ghost",className:"absolute top-4 right-4 h-8 w-8 bg-background/80 hover:bg-background border border-border shadow-sm",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(m,null,2)),tt.success(l("details.tool.copiedToClipboard"))},children:t.jsx(jt,{className:"h-3.5 w-3.5"})})]}):t.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-muted-foreground",children:[t.jsx(ye,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:l("details.tool.runToolToSeeResults")})]})})]});return t.jsx(ge,{leading:qe,children:t.jsxs("div",{className:"flex flex-col h-full overflow-hidden @container",children:[t.jsxs("div",{className:"flex flex-col gap-3 py-7 px-8 bg-background border-b border-border shrink-0",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(Ae,{icon:E?.icon||null,name:E?.title||s,size:"xl",className:"shrink-0"}),t.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground leading-none truncate",children:s}),t.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-muted/50 rounded-md h-fit shrink-0",children:[_.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-success animate-pulse shrink-0"}):_.isLoading?t.jsx(X,{className:"size-[10px] text-warning shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-destructive shrink-0"}),t.jsx("span",{className:"font-mono text-xs capitalize text-muted-foreground leading-none",children:_.isSuccess?"ready":_.isLoading?"connecting":"error"})]}),t.jsx(yt,{annotations:v?.annotations,_meta:v?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:be})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:v?.description||"No description available"})]}),r.length>1&&t.jsxs("div",{className:"flex @3xl:hidden items-center gap-3 px-8 py-3 border-b border-border",children:[t.jsx("span",{className:"text-xs font-medium text-muted-foreground shrink-0",children:l("details.tool.instance")}),be]}),t.jsx("div",{className:"flex-1 overflow-auto @3xl:overflow-hidden",children:t.jsxs("div",{className:"grid grid-cols-1 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,5fr)] @3xl:h-full @3xl:grid-rows-1",children:[t.jsx("div",{className:"@3xl:border-r border-border @3xl:overflow-auto",children:He}),Ke]})})]})})}function Lt(s){const e=L.c(20),{itemId:r,siblings:o,onBack:l}=s,i=W(),[a,u]=A.useState(o[0]?.id??"");let c;e[0]!==a||e[1]!==o?(c=o.find(f=>f.id===a)?.id??o[0]?.id??"",e[0]=a,e[1]=o,e[2]=c):c=e[2];const n=c;if(!Le(n||void 0)||!n){let f;e[3]!==i?(f=i("details.tool.connectionNotFound"),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==f?(p=t.jsx("h3",{className:"text-lg font-semibold",children:f}),e[5]=f,e[6]=p):p=e[6];let j;e[7]!==i?(j=i("details.tool.connectionNotFoundMessage"),e[7]=i,e[8]=j):j=e[8];let N;e[9]!==j?(N=t.jsx("p",{className:"text-sm text-muted-foreground",children:j}),e[9]=j,e[10]=N):N=e[10];let S;return e[11]!==p||e[12]!==N?(S=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[p,N]})}),e[11]=p,e[12]=N,e[13]=S):S=e[13],S}let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{className:"size-8 text-muted-foreground"})}),e[14]=g):g=e[14];let m;return e[15]!==n||e[16]!==l||e[17]!==o||e[18]!==r?(m=t.jsx(A.Suspense,{fallback:g,children:t.jsx(zt,{toolName:r,connectionId:n,siblings:o,onSelectInstance:u,onBack:l})}),e[15]=n,e[16]=l,e[17]=o,e[18]=r,e[19]=m):m=e[19],m}const Ut={prompt:Mt};function _t(){const s=L.c(9),e=Oe();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=fe(r),l=decodeURIComponent(o.itemId);let i;s[1]!==o.appSlug?(i={slug:o.appSlug},s[1]=o.appSlug,s[2]=i):i=s[2];const a=Ue(i);let u;s[3]!==e.history?(u=()=>{e.history.back()},s[3]=e.history,s[4]=u):u=s[4];const c=u,n=Jt;let x;return s[5]!==c||s[6]!==l||s[7]!==a?(x=t.jsx(Lt,{itemId:l,siblings:a,onBack:c,onUpdate:n}),s[5]=c,s[6]=l,s[7]=a,s[8]=x):x=s[8],x}async function Jt(s){return Promise.resolve()}function Vt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function qt(){const s=L.c(52),e=Oe();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=fe(r),l=W(),i=decodeURIComponent(o.collectionName),a=decodeURIComponent(o.itemId);let u;s[1]!==e.history?(u=()=>{e.history.back()},s[1]=e.history,s[2]=u):u=s[2];const c=u,{org:n}=xe();let x;s[3]!==o.appSlug?(x={slug:o.appSlug},s[3]=o.appSlug,s[4]=x):x=s[4];const m=Ue(x)[0]??null,f=m?.id??"",p=f||"no-connection",j=f??null;let N;s[5]!==n.id||s[6]!==n.slug||s[7]!==j?(N={connectionId:j,orgId:n.id,orgSlug:n.slug},s[5]=n.id,s[6]=n.slug,s[7]=j,s[8]=N):N=s[8];const S=he(N),$=Re(p,i,S);let y;s[9]!==$||s[10]!==a?(y=async J=>{a&&await $.update.mutateAsync({id:a,data:J})},s[9]=$,s[10]=a,s[11]=y):y=s[11];const P=y;let w;s[12]!==i?(w=i?.toLowerCase(),s[12]=i,s[13]=w):w=s[13];const b=w,D=b&&Ut[b];let k;s[14]!==i?(k=Vt(i),s[14]=i,s[15]=k):k=s[15];const E=k;let C;s[16]!==n.slug?(C=t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections",params:{org:n.slug},children:"Connections"})})}),s[16]=n.slug,s[17]=C):C=s[17];let I;s[18]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(oe,{}),s[18]=I):I=s[18];let R;s[19]!==i||s[20]!==m||s[21]!==n.slug||s[22]!==o.appSlug?(R=m&&t.jsxs(t.Fragment,{children:[t.jsx(Y,{children:t.jsx(se,{asChild:!0,children:t.jsx(te,{to:"/$org/settings/connections/$appSlug",params:{org:n.slug,appSlug:o.appSlug},search:{tab:i},children:m.title})})}),t.jsx(oe,{})]}),s[19]=i,s[20]=m,s[21]=n.slug,s[22]=o.appSlug,s[23]=R):R=s[23];let U;s[24]!==E?(U=t.jsx(Y,{children:t.jsx(Be,{children:E})}),s[24]=E,s[25]=U):U=s[25];let M;s[26]!==R||s[27]!==U||s[28]!==C?(M=t.jsx(Fe,{children:t.jsxs(ze,{children:[C,I,R,U]})}),s[26]=R,s[27]=U,s[28]=C,s[29]=M):M=s[29];const _=M;if(D){let J;return s[30]!==D||s[31]!==c||s[32]!==P||s[33]!==a?(J=t.jsx(D,{itemId:a,onBack:c,onUpdate:P}),s[30]=D,s[31]=c,s[32]=P,s[33]=a,s[34]=J):J=s[34],J}let v;s[35]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsx(kt,{size:36,className:"text-muted-foreground"}),s[35]=v):v=s[35];let O;s[36]!==l?(O=l("orgs.collectionDetail.noComponentDefinedTitle"),s[36]=l,s[37]=O):O=s[37];let V;s[38]!==l?(V=l("orgs.collectionDetail.noComponentDefinedDescription"),s[38]=l,s[39]=V):V=s[39];let F;s[40]!==l?(F=l("orgs.collectionDetail.goBackButton"),s[40]=l,s[41]=F):F=s[41];let z;s[42]!==c||s[43]!==F?(z={onClick:c,children:F},s[42]=c,s[43]=F,s[44]=z):z=s[44];let q;s[45]!==O||s[46]!==V||s[47]!==z?(q=t.jsx(Dt,{icon:v,title:O,description:V,buttonProps:z}),s[45]=O,s[46]=V,s[47]=z,s[48]=q):q=s[48];let Q;return s[49]!==_||s[50]!==q?(Q=t.jsx(ge,{leading:_,children:q}),s[49]=_,s[50]=q,s[51]=Q):Q=s[51],Q}function Ht(){const s=L.c(3);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=e):e=s[0];const r=fe(e);if(decodeURIComponent(r.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(_t,{}),s[1]=a):a=s[1],a}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(qt,{}),s[2]=i):i=s[2],i}function pn(){const s=L.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ee,{children:t.jsx(A.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(X,{className:"size-8 text-muted-foreground"})}),children:t.jsx(Ht,{})})}),s[0]=e):e=s[0],e}export{pn as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,b as A,j as s,l as z,B as E}from"./index-
|
|
1
|
+
import{c as $,b as A,j as s,l as z,B as E}from"./index-z4bKt11m.js";import{a as S,D as F,b as L,c as O}from"./dropdown-menu-Dd8nakK9.js";import{i as R,n as _}from"./ArrowUp-Scf6R8DX.js";import{i as V}from"./Check-BZE0WrNL.js";import{a as I,i as K,c as P}from"./SwitchHorizontal01-hHr6GOmU.js";import{T as W,a as q,b as G,c as H}from"./tooltip-BuKeolDX.js";import{V as J}from"./view-mode-toggle-DaZN0qXY.js";import{B as Q}from"./badge-BNBGXxmC.js";function oe(t){const e=$.c(36),{viewMode:l,onViewModeChange:u,sortKey:M,sortDirection:h,onSort:g,sortOptions:j,filters:b}=t;let v;e[0]!==j?(v=j===void 0?[]:j,e[0]=j,e[1]=v):v=e[1];const N=v;let w;e[2]!==b?(w=b===void 0?[]:b,e[2]=b,e[3]=w):w=e[3];const r=w,i=A();let C;e[4]!==r?(C=r.filter(X),e[4]=r,e[5]=C):C=e[5];const y=C.length;let k;e[6]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx(I,{size:16}),e[6]=k):k=e[6];let o;e[7]!==y?(o=y>0&&s.jsx(Q,{variant:"default",className:"absolute -top-1.5 -right-1.5 h-4 min-w-4 px-1 text-[10px] leading-none",children:y}),e[7]=y,e[8]=o):o=e[8];let n;e[9]!==o?(n=s.jsx(W,{asChild:!0,children:s.jsx(F,{asChild:!0,children:s.jsxs(E,{variant:"outline",size:"icon",className:"relative",children:[k,o]})})}),e[9]=o,e[10]=n):n=e[10];let a;e[11]!==i?(a=i("collections.collectionDisplayButton.displayAndFilters"),e[11]=i,e[12]=a):a=e[12];let c;e[13]!==a?(c=s.jsx(q,{children:a}),e[13]=a,e[14]=c):c=e[14];let d;e[15]!==c||e[16]!==n?(d=s.jsx(G,{children:s.jsxs(H,{children:[n,c]})}),e[15]=c,e[16]=n,e[17]=d):d=e[17];let x;e[18]!==u||e[19]!==l?(x=u&&l&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsx(J,{value:l,onValueChange:u,fullWidth:!0,options:[{value:"table",icon:s.jsx(K,{})},{value:"cards",icon:s.jsx(P,{})}]})}),e[18]=u,e[19]=l,e[20]=x):x=e[20];let m;e[21]!==g||e[22]!==h||e[23]!==M||e[24]!==N||e[25]!==i?(m=N.length>0&&g&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:i("collections.collectionDisplayButton.sortBy")}),N.map(T=>{const B=M===T.id;return s.jsx(S,{onClick:()=>g(T.id),className:z("h-8 px-2 py-0 cursor-pointer",B&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[B&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!B&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:T.label}),B&&h&&(h==="asc"?s.jsx(R,{size:16,className:"text-foreground shrink-0"}):s.jsx(_,{size:16,className:"text-foreground shrink-0"}))]})},T.id)})]}),e[21]=g,e[22]=h,e[23]=M,e[24]=N,e[25]=i,e[26]=m):m=e[26];let p;e[27]!==r?(p=r.map(U),e[27]=r,e[28]=p):p=e[28];let f;e[29]!==x||e[30]!==m||e[31]!==p?(f=s.jsxs(L,{align:"end",className:"w-[200px] p-0 gap-0",children:[x,m,p]}),e[29]=x,e[30]=m,e[31]=p,e[32]=f):f=e[32];let D;return e[33]!==d||e[34]!==f?(D=s.jsxs(O,{children:[d,f]}),e[33]=d,e[34]=f,e[35]=D):D=e[35],D}function U(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:t.label}),t.options.map(e=>{const l=t.value===e.id;return s.jsx(S,{onClick:()=>t.onChange(e.id),className:z("h-8 px-2 py-0 cursor-pointer",l&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[l&&s.jsx(V,{size:16,className:"text-foreground shrink-0"}),!l&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function X(t){return t.value!=="ALL"}export{oe as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as v,l as b,j as a,h as w}from"./index-
|
|
1
|
+
import{c as v,l as b,j as a,h as w}from"./index-z4bKt11m.js";import{i as C}from"./SearchMd-FDCJM3CR.js";function y(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,h=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const p=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==p?(s=b("flex items-center gap-2.5 h-12 px-4",p),e[2]=p,e[3]=s):s=e[3];let l;e[4]!==f?(l=f?a.jsx(w,{className:"size-4 text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=l):l=e[5];let r;e[6]!==m?(r=N=>m(N.target.value),e[6]=m,e[7]=r):r=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==h||e[11]!==r||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:r,onKeyDown:x,placeholder:h,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=h,e[11]=r,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==l||e[16]!==o?(n=a.jsxs("label",{className:s,children:[l,o]}),e[14]=s,e[15]=l,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{y as C};
|