@decocms/mesh 2.59.2 → 2.59.4
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--GzH2vta.js → AlertCircle-DcHEglIM.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DzpTEYvO.js → ArrowLeft-Dlm4CF9d.js} +1 -1
- package/dist/client/assets/{ArrowUp-BfBrilbk.js → ArrowUp-CC-2uYGu.js} +1 -1
- package/dist/client/assets/Calendar-PdB3o_9d.js +1 -0
- package/dist/client/assets/{Check-CXkamnnr.js → Check-BzMGOxMB.js} +1 -1
- package/dist/client/assets/{ChevronDown-DaqG_J6Z.js → ChevronDown-BV0rwdFr.js} +1 -1
- package/dist/client/assets/{Code01-BNQVP8-g.js → Code01-KWN4ist8.js} +1 -1
- package/dist/client/assets/{Copy01-CpBgXJFP.js → Copy01-DH_iV9-n.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-BDAFctKq.js → DotsHorizontal-CFL9xkGv.js} +1 -1
- package/dist/client/assets/{DotsVertical-D5MnD2QZ.js → DotsVertical-DOgWrY6o.js} +1 -1
- package/dist/client/assets/{Download01-4Tu3o0-K.js → Download01-npnn9kWB.js} +1 -1
- package/dist/client/assets/{Edit01-7Ak8JL9W.js → Edit01-CH6U7DHj.js} +1 -1
- package/dist/client/assets/File02-Cuc-ZPtg.js +1 -0
- package/dist/client/assets/{File06-C7QVLRp6.js → File06-BUwGdOjl.js} +1 -1
- package/dist/client/assets/{FilterLines-UNZ5Kk_X.js → FilterLines-ia0H5bBk.js} +1 -1
- package/dist/client/assets/{Grid01-C_dMOr-7.js → Grid01-DmaR0g3f.js} +1 -1
- package/dist/client/assets/{Home02-Cfg1gm8U.js → Home02-Cagj2miO.js} +1 -1
- package/dist/client/assets/{Image01-C6IcS9Ip.js → Image01-BCcbzsoK.js} +1 -1
- package/dist/client/assets/{Inbox01-D1IW7Je7.js → Inbox01-DoVQ3gCk.js} +1 -1
- package/dist/client/assets/{InfoCircle-Dwuc2RiH.js → InfoCircle-qTETvFXb.js} +1 -1
- package/dist/client/assets/{Key01-CrwOIsjX.js → Key01-CHZQ8Cf-.js} +1 -1
- package/dist/client/assets/{LinkExternal01-yVEf-2cT.js → LinkExternal01-Cq8yx7fP.js} +1 -1
- package/dist/client/assets/{List-d88_8fTd.js → List-DZ53jWcW.js} +1 -1
- package/dist/client/assets/{Loading01-Bf56vlFv.js → Loading01-Bo9vDQAp.js} +1 -1
- package/dist/client/assets/{Lock01-CQ0bp8OP.js → Lock01-C1QZkjy0.js} +1 -1
- package/dist/client/assets/{Pin01-DBKe5RmK.js → Pin01-NWg5BL2M.js} +1 -1
- package/dist/client/assets/Play-D2yqwct8.js +1 -0
- package/dist/client/assets/{Plus-CcqPpwU0.js → Plus-DAW17Fqf.js} +1 -1
- package/dist/client/assets/{SearchMd-Ns-pswyj.js → SearchMd-D9E7kgub.js} +1 -1
- package/dist/client/assets/{Share07-B5yrbjwk.js → Share07-CN4FUsWW.js} +1 -1
- package/dist/client/assets/{Terminal-qZhwvVsv.js → Terminal-1HZulC_H.js} +1 -1
- package/dist/client/assets/Tool01-Ir04gLyn.js +1 -0
- package/dist/client/assets/{Trash01-DVYV3BJw.js → Trash01-BUkAP1vf.js} +1 -1
- package/dist/client/assets/{Upload01-CCAaxnrW.js → Upload01-DPPzM8Sw.js} +1 -1
- package/dist/client/assets/{Users03-CSRHEIl2.js → Users03-DscKVk_U.js} +1 -1
- package/dist/client/assets/{X-Dz8JZ2ZX.js → X-DyyqPnhR.js} +1 -1
- package/dist/client/assets/{XClose-BhgPfyG3.js → XClose-nvPI0OtD.js} +1 -1
- package/dist/client/assets/agent-detail-pV-lC3Zh.js +1 -0
- package/dist/client/assets/{agents-4MJAHJGV.js → agents-DepniFRU.js} +1 -1
- package/dist/client/assets/{alert-dialog-5t1wq8Xl.js → alert-dialog-QzYPe_ae.js} +3 -3
- package/dist/client/assets/{auth-catchall-CTOFzXVU.js → auth-catchall-COlMpx6Y.js} +1 -1
- package/dist/client/assets/{avatar-Cx4ORVtq.js → avatar-KkS1NpLz.js} +1 -1
- package/dist/client/assets/{badge-DfeUgg96.js → badge-CfH2vrIM.js} +1 -1
- package/dist/client/assets/{binder-Dh-m11Sm.js → binder-Cyeq_Zec.js} +1 -1
- package/dist/client/assets/{button-C83AQWC1.js → button-D_0RTXDt.js} +1 -1
- package/dist/client/assets/{card-CbXWWn3M.js → card-BmOa96dk.js} +1 -1
- package/dist/client/assets/{checkbox-DcPieRc5.js → checkbox-CUtYbeQD.js} +1 -1
- package/dist/client/assets/{circle-alert-ChrxIBwd.js → circle-alert-BnmazpCh.js} +1 -1
- package/dist/client/assets/collapsible-0N2BB6Bm.js +23 -0
- package/dist/client/assets/{collection-detail-B_qs3xwg.js → collection-detail-CeAvZaUS.js} +4 -4
- package/dist/client/assets/{collection-display-button-DlAEKbje.js → collection-display-button-Cm0zQnM_.js} +1 -1
- package/dist/client/assets/{collection-header-Fc9BtUxQ.js → collection-header-CbT_At3k.js} +1 -1
- package/dist/client/assets/{collection-page-DvzZtNQd.js → collection-page-CpAhF9Tg.js} +1 -1
- package/dist/client/assets/collection-search-DRZ8ScZP.js +1 -0
- package/dist/client/assets/{collection-tab-BB_A78nH.js → collection-tab-CyuO9CaU.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Ch8oh2UW.js → collection-table-wrapper-CspbeKNx.js} +1 -1
- package/dist/client/assets/connect-Dx3Myol5.js +1 -0
- package/dist/client/assets/{connection-card-BZU7F7-m.js → connection-card-C6VYrDSx.js} +1 -1
- package/dist/client/assets/connection-detail-BAO1w9SL.js +1 -0
- package/dist/client/assets/{connections-dluTnyJM.js → connections-xwpD87cp.js} +1 -1
- package/dist/client/assets/{constants-ytntCGH9.js → constants-D8fdcBr8.js} +1 -1
- package/dist/client/assets/constants-rfrR0uMr.js +1 -0
- package/dist/client/assets/{create-organization-dialog-GjXRxTaj.js → create-organization-dialog-D96wehG4.js} +1 -1
- package/dist/client/assets/{dialog-D_ebnPDF.js → dialog-B-A0vnh-.js} +1 -1
- package/dist/client/assets/dropdown-menu-CMmh8IDN.js +1 -0
- package/dist/client/assets/{dynamic-plugin-layout-DrCIvG61.js → dynamic-plugin-layout-D5OcFZH0.js} +1 -1
- package/dist/client/assets/{empty-state-CxA9hap0.js → empty-state-BS0aVQHO.js} +1 -1
- package/dist/client/assets/{empty-state-Cr5g6Vh9.js → empty-state-DKQ_J1zp.js} +1 -1
- package/dist/client/assets/{env-vars-editor-DXJo5cdV.js → env-vars-editor-BFfuzqB5.js} +1 -1
- package/dist/client/assets/{error-boundary-Dg0Af8BA.js → error-boundary-ynZ9rF8y.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BYPMZtVW.js → extract-connection-data-5Dbbyfmc.js} +1 -1
- package/dist/client/assets/file-browser-DWYmbjoP.js +2 -0
- package/dist/client/assets/{form-BISYEAnP.js → form-DngqlMy0.js} +1 -1
- package/dist/client/assets/grid-view-DBdpM4tG.js +1 -0
- package/dist/client/assets/home-Dh3O7N9x.js +1 -0
- package/dist/client/assets/index-B8BaCPuX.js +25 -0
- package/dist/client/assets/index-BWcrkV98.js +1 -0
- package/dist/client/assets/index-BtGsFE3_.js +233 -0
- package/dist/client/assets/{index-B-pYSGnK.js → index-C_CYTppS.js} +1 -1
- package/dist/client/assets/index-CqeIU8-o.css +1 -0
- package/dist/client/assets/index-DaiP89U7.js +1 -0
- package/dist/client/assets/{index-C8OOnmm1.js → index-Dho9MRVw.js} +2 -2
- package/dist/client/assets/{infiniteQueryObserver-B1N6PF-z.js → infiniteQueryObserver-DDmbfPGP.js} +1 -1
- package/dist/client/assets/{input-CrR0FEof.js → input-trZWilTG.js} +1 -1
- package/dist/client/assets/layout-BZ8_9wgI.js +1 -0
- package/dist/client/assets/localstorage-keys-B7V7cQcH.js +1 -0
- package/dist/client/assets/{login-BFXWEB6t.js → login-D61ut3BQ.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BkqLXiLL.js → mcp-oauth-kjSe-9sd.js} +1 -1
- package/dist/client/assets/{mcp-server-card-CkDDvd5o.js → mcp-server-card-DkR0AaJs.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-CuItqIIY.js → mcp-server-detail-Bq0lDMH3.js} +2 -2
- package/dist/client/assets/members-DqAGtLhZ.js +3 -0
- package/dist/client/assets/{monaco-editor-gim9RLZ3.js → monaco-editor-KzPiR_VS.js} +4 -4
- package/dist/client/assets/{monitoring-AmN2oTrM.js → monitoring-DkEahA8B.js} +5 -5
- package/dist/client/assets/{oauth-callback-BO8hRY4t.js → oauth-callback-C_OPSpWp.js} +1 -1
- package/dist/client/assets/page-BQkgsSw9.js +1 -0
- package/dist/client/assets/{page-BcZkyr2a.js → page-DWOf0lbq.js} +1 -1
- package/dist/client/assets/{pin-to-sidebar-button-DbV8w54G.js → pin-to-sidebar-button-Cdnz6iok.js} +1 -1
- package/dist/client/assets/plugin-empty-state-Dr-6CK5g.js +1 -0
- package/dist/client/assets/plugin-header-CAC6QLaV.js +1 -0
- package/dist/client/assets/plugins-57qT4Dil.js +1 -0
- package/dist/client/assets/popover-Bkt9Kfhi.js +1 -0
- package/dist/client/assets/{registry-utils-DekIcM3F.js → registry-utils-tiv71gSA.js} +1 -1
- package/dist/client/assets/{resizable-V4jINWPU.js → resizable-BdOXbYHL.js} +1 -1
- package/dist/client/assets/{resource-tabs-BsRvwnyx.js → resource-tabs-G-U5EIhm.js} +1 -1
- package/dist/client/assets/select-reGYS0Ly.js +1 -0
- package/dist/client/assets/settings-zvu2qyde.js +1 -0
- package/dist/client/assets/shell-layout-C-8OlUFV.js +3 -0
- package/dist/client/assets/{spinner-CwfYynNt.js → spinner-E8mBz_Z6.js} +1 -1
- package/dist/client/assets/{store-invite-BErtY6PV.js → store-invite-DnYGNBjx.js} +1 -1
- package/dist/client/assets/switch-t5mcsF2Z.js +1 -0
- package/dist/client/assets/{textarea-DRMuRqUv.js → textarea-x7X_L353.js} +1 -1
- package/dist/client/assets/{tools-list-DesNUyav.js → tools-list-DQZuaE9M.js} +1 -1
- package/dist/client/assets/tooltip-Cw2xVvTD.js +1 -0
- package/dist/client/assets/typewriter-title-BK26jx8M.js +16 -0
- package/dist/client/assets/use-binding-BVBmgj67.js +23 -0
- package/dist/client/assets/use-collections-CVO4vm4G.js +1 -0
- package/dist/client/assets/{use-connection-TLrid9RM.js → use-connection-BU-nKbTz.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Bi6QQFl1.js → use-create-virtual-mcp-Cr2fOp7g.js} +1 -1
- package/dist/client/assets/use-deco-chat-open-D-b5da72.js +1 -0
- package/dist/client/assets/{use-list-state-DuKw_MMV.js → use-list-state-ClsnlmlI.js} +1 -1
- package/dist/client/assets/use-mcp-prompts-B5zcyY9X.js +1 -0
- package/dist/client/assets/{use-members-g_5Yt7ve.js → use-members-CVUMGKct.js} +1 -1
- package/dist/client/assets/{use-mobile-DQ806XzQ.js → use-mobile-VoJXvE1W.js} +1 -1
- package/dist/client/assets/use-organization-settings-CeE0FyqT.js +1 -0
- package/dist/client/assets/{use-virtual-mcp-C8lLKpyG.js → use-virtual-mcp-DbjvrtSR.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CVAyTLiO.js +1 -0
- package/dist/client/assets/useMutation-Lj_Cbq0P.js +1 -0
- package/dist/client/assets/useQuery-C2zqJzGD.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BS0TxHG_.js +1 -0
- package/dist/client/assets/{view-mode-toggle-jPeow5hv.js → view-mode-toggle-BagEO4CJ.js} +1 -1
- package/dist/client/assets/{workflow-pPSpZECL.js → workflow-BuhbYm_s.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +169 -169
- package/dist/server/migrate.js +176 -176
- package/dist/server/server.js +160 -160
- package/package.json +1 -1
- package/dist/client/assets/FlipBackward-Cc_OirbM.js +0 -1
- package/dist/client/assets/Play-l95VP5u9.js +0 -1
- package/dist/client/assets/agent-detail-nBBUtMd0.js +0 -1
- package/dist/client/assets/collection-search-bOTNZP0b.js +0 -1
- package/dist/client/assets/connect-DYIKCRWy.js +0 -1
- package/dist/client/assets/connection-detail-D3-I_W38.js +0 -1
- package/dist/client/assets/constants-CnfPGmdA.js +0 -1
- package/dist/client/assets/dropdown-menu-CzQCi3DZ.js +0 -1
- package/dist/client/assets/file-browser-2RP-n1Xp.js +0 -2
- package/dist/client/assets/grid-view-BzgHSliB.js +0 -1
- package/dist/client/assets/home-CZ1MSx2E.js +0 -1
- package/dist/client/assets/index-CIvJ2wFV.js +0 -255
- package/dist/client/assets/index-CmUKmcyS.js +0 -1
- package/dist/client/assets/index-HgNYu27A.js +0 -1
- package/dist/client/assets/index-c6ju_hIh.js +0 -25
- package/dist/client/assets/index-cFLiAqt_.css +0 -1
- package/dist/client/assets/layout-BGZtLEwK.js +0 -1
- package/dist/client/assets/localstorage-keys-N4jrVxvr.js +0 -1
- package/dist/client/assets/members-C3Nvqq2t.js +0 -3
- package/dist/client/assets/page-D-IBJ4SW.js +0 -1
- package/dist/client/assets/plugin-empty-state-Df2LAyPv.js +0 -1
- package/dist/client/assets/plugin-header-e5FObvvx.js +0 -1
- package/dist/client/assets/plugins-BOsIh96E.js +0 -1
- package/dist/client/assets/popover-B2yKs5LA.js +0 -1
- package/dist/client/assets/select-BlFReF6r.js +0 -1
- package/dist/client/assets/settings-cRTESMAX.js +0 -1
- package/dist/client/assets/shell-layout-BfC0vVyw.js +0 -3
- package/dist/client/assets/switch-DjW_2nBx.js +0 -1
- package/dist/client/assets/tool-set-selector-Btgo2YwH.js +0 -1
- package/dist/client/assets/tooltip-aHeHMhKh.js +0 -1
- package/dist/client/assets/typewriter-title-DRU6uRKP.js +0 -16
- package/dist/client/assets/use-binding-C2mDgpbB.js +0 -23
- package/dist/client/assets/use-collections-CkAaybvR.js +0 -1
- package/dist/client/assets/use-mcp-prompts-D5tApqEs.js +0 -1
- package/dist/client/assets/use-organization-settings-C-IzAdi1.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BUOCgX3w.js +0 -1
- package/dist/client/assets/useMutation-C4aXMLv3.js +0 -1
- package/dist/client/assets/useQuery-DNOH3p7p.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="AlertCircle";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M19 12H5m0 0 7 7m-7-7 7-7"}));i.displayName="ArrowLeft";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 19V5m0 0-7 7m7-7 7 7"}));i.displayName="ArrowUp";export{i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 10H3m13-8v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z"}));a.displayName="Calendar";export{a as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M20 6 9 17l-5-5"}));i.displayName="Check";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m6 9 6 6 6-6"}));n.displayName="ChevronDown";export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m16 18 6-6-6-6M8 6l-6 6 6 6"}));i.displayName="Code01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M5 15c-.932 0-1.398 0-1.765-.152a2 2 0 0 1-1.083-1.083C2 13.398 2 12.932 2 12V5.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 2 4.08 2 5.2 2H12c.932 0 1.398 0 1.765.152a2 2 0 0 1 1.083 1.083C15 3.602 15 4.068 15 5m-2.8 17h6.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C22 20.48 22 19.92 22 18.8v-6.6c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C20.48 9 19.92 9 18.8 9h-6.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C9 10.52 9 11.08 9 12.2v6.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C10.52 22 11.08 22 12.2 22Z"}));o.displayName="Copy01";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm7 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsHorizontal";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-Dho9MRVw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0-7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}));i.displayName="DotsVertical";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const n=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));n.displayName="Download01";export{n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-Dho9MRVw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M2.876 18.116c.046-.414.069-.62.131-.814a2 2 0 0 1 .234-.485c.111-.17.259-.317.553-.61L17 3a2.828 2.828 0 1 1 4 4L7.794 20.206c-.294.294-.442.442-.611.553a2 2 0 0 1-.485.233c-.193.063-.4.086-.814.132L2.5 21.5l.376-3.384Z"}));i.displayName="Edit01";export{i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));i.displayName="File02";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M14 2.27V6.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437c.214.11.494.11 1.054.11h4.13M16 13H8m8 4H8m2-8H8m6-7H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 4.28 4 5.12 4 6.8v10.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 22 7.12 22 8.8 22h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 19.72 20 18.88 20 17.2V8l-6-6Z"}));i.displayName="File06";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M6 12h12M3 6h18M9 18h6"}));i.displayName="FilterLines";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-Dho9MRVw.js";const o=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"m9 18 6-6-6-6"}));o.displayName="ChevronRight";const c=({size:e=24,color:a="currentColor",...r})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:a,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},t.createElement("path",{d:"M8.4 3H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 3.76 3 4.04 3 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 10 4.04 10 4.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 9.24 10 8.96 10 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 3 8.96 3 8.4 3Zm11 0h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 3.76 14 4.04 14 4.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 10 15.04 10 15.6 10h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 9.24 21 8.96 21 8.4V4.6c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 3 19.96 3 19.4 3Zm0 11h-3.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C14 14.76 14 15.04 14 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C14.76 21 15.04 21 15.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C21 20.24 21 19.96 21 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C20.24 14 19.96 14 19.4 14Zm-11 0H4.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C3 14.76 3 15.04 3 15.6v3.8c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21h3.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C10 20.24 10 19.96 10 19.4v-3.8c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C9.24 14 8.96 14 8.4 14Z"}));c.displayName="Grid01";export{c,o as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const o=({size:e=24,color:t="currentColor",...a})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},r.createElement("path",{d:"M9 21v-7.4c0-.56 0-.84.109-1.054a1 1 0 0 1 .437-.437C9.76 12 10.04 12 10.6 12h2.8c.56 0 .84 0 1.054.109a1 1 0 0 1 .437.437C15 12.76 15 13.04 15 13.6V21M11.018 2.764 4.235 8.039c-.453.353-.68.53-.843.75a2 2 0 0 0-.318.65C3 9.704 3 9.991 3 10.565V17.8c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8v-7.235c0-.574 0-.861-.074-1.126a2.002 2.002 0 0 0-.318-.65c-.163-.22-.39-.397-.843-.75l-6.783-5.275c-.351-.273-.527-.41-.72-.462a1 1 0 0 0-.523 0c-.194.052-.37.189-.721.462Z"}));o.displayName="Home02";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a}from"./index-
|
|
1
|
+
import{r as a}from"./index-Dho9MRVw.js";const o=({size:e=24,color:r="currentColor",...t})=>a.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},a.createElement("path",{d:"M16.2 21H6.931c-.605 0-.908 0-1.049-.12a.5.5 0 0 1-.173-.42c.014-.183.228-.397.657-.826l8.503-8.503c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L21 15v1.2M16.2 21c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 18.72 21 17.88 21 16.2M16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4M10.5 8.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}));o.displayName="Image01";export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const c=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M2.5 12h3.382c.685 0 1.312.387 1.618 1 .306.613.933 1 1.618 1h5.764c.685 0 1.312-.387 1.618-1 .306-.613.933-1 1.618-1H21.5M8.967 4h6.066c1.077 0 1.616 0 2.091.164a3 3 0 0 1 1.121.693c.36.352.6.833 1.082 1.796l2.166 4.333c.19.378.284.567.35.765.06.177.102.357.128.541.029.207.029.418.029.841V15.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 20 18.88 20 17.2 20H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 17.72 2 16.88 2 15.2v-2.067c0-.422 0-.634.029-.84.026-.184.068-.365.128-.541.066-.199.16-.388.35-.766l2.166-4.333c.482-.963.723-1.444 1.082-1.796a3 3 0 0 1 1.12-.693C7.352 4 7.89 4 8.968 4Z"}));c.displayName="Inbox01";export{c as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:o="currentColor",...t})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:o,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},r.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z"}));i.displayName="InfoCircle";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 9a1.99 1.99 0 0 0-.586-1.414A1.994 1.994 0 0 0 15 7m0 8a6 6 0 1 0-5.946-5.193c.058.434.087.651.068.789a.853.853 0 0 1-.117.346c-.068.121-.187.24-.426.479l-5.11 5.11c-.173.173-.26.26-.322.36a1 1 0 0 0-.12.29C3 17.296 3 17.418 3 17.663V19.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C3.76 21 4.04 21 4.6 21H7v-2h2v-2h2l1.58-1.58c.238-.238.357-.357.478-.425a.852.852 0 0 1 .346-.117c.138-.02.355.01.789.068.264.036.533.054.807.054Z"}));a.displayName="Key01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const n=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 9V3m0 0h-6m6 0-8 8m-3-6H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 7.28 3 8.12 3 9.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 21 6.12 21 7.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 18.72 19 17.88 19 16.2V14"}));n.displayName="LinkExternal01";export{n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-Dho9MRVw.js";const i=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 12H9m12-6H9m12 12H9m-4-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}));i.displayName="List";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));i.displayName="Loading01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));a.displayName="Lock01";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c}from"./index-
|
|
1
|
+
import{r as c}from"./index-Dho9MRVw.js";const o=({size:e=24,color:r="currentColor",...t})=>c.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t},c.createElement("path",{d:"M12 15v7M8 7.308v2.13c0 .209 0 .313-.02.412a1.001 1.001 0 0 1-.09.254c-.045.09-.11.172-.24.334L6.08 12.4c-.666.833-.999 1.249-.999 1.599a1 1 0 0 0 .376.782C5.731 15 6.264 15 7.33 15h9.342c1.066 0 1.599 0 1.873-.219A1 1 0 0 0 18.92 14c0-.35-.333-.766-1-1.599l-1.569-1.962c-.13-.162-.195-.243-.241-.334a1.004 1.004 0 0 1-.09-.254C16 9.75 16 9.647 16 9.44V7.31c0-.116 0-.174.007-.23.006-.05.015-.1.029-.15a2.02 2.02 0 0 1 .079-.215l1.008-2.52c.294-.735.44-1.102.38-1.397a1 1 0 0 0-.427-.63C16.825 2 16.429 2 15.637 2H8.364c-.792 0-1.188 0-1.44.167a1 1 0 0 0-.426.63c-.06.295.086.662.38 1.397l1.008 2.52c.043.107.064.16.08.215a1 1 0 0 1 .028.15c.006.056.006.114.006.23Z"}));o.displayName="Pin01";export{o as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 4.99c0-.972 0-1.457.202-1.725a1 1 0 0 1 .738-.395c.335-.02.74.25 1.548.788l10.515 7.01c.668.446 1.002.668 1.118.949a1 1 0 0 1 0 .766c-.116.28-.45.503-1.118.948l-10.515 7.01c-.809.54-1.213.809-1.548.789a1 1 0 0 1-.738-.395C5 20.467 5 19.98 5 19.01V4.99Z"}));a.displayName="Play";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus";export{i as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m21 21-4.35-4.35M19 11a8 8 0 1 1-16 0 8 8 0 0 1 16 0Z"}));i.displayName="SearchMd";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98M21 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm12 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}));a.displayName="Share07";export{a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"m4 17 6-6-6-6m8 14h8"}));i.displayName="Terminal";export{i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M3 9h13.5a4.5 4.5 0 1 1 0 9H12M3 9l4-4M3 9l4 4"}));a.displayName="FlipBackward";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));i.displayName="Tool01";export{i as a,a as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M16 6v-.8c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C14.48 2 13.92 2 12.8 2h-1.6c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C8 3.52 8 4.08 8 5.2V6m2 5.5v5m4-5v5M3 6h18m-2 0v11.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C16.72 22 15.88 22 14.2 22H9.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C5 19.72 5 18.88 5 17.2V6"}));a.displayName="Trash01";export{a as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));i.displayName="Upload01";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const a=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 15.837c1.456.731 2.704 1.905 3.615 3.373.18.29.27.436.302.637.063.409-.216.912-.597 1.073-.188.08-.398.08-.82.08M16 11.532a4.5 4.5 0 0 0 0-8.064M14 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM2.56 18.938C4.153 16.545 6.67 15 9.5 15s5.346 1.545 6.94 3.938c.35.525.525.787.505 1.122-.016.26-.187.58-.396.738-.267.202-.635.202-1.371.202H3.822c-.736 0-1.104 0-1.372-.202a1.109 1.109 0 0 1-.395-.738c-.02-.335.155-.597.504-1.122Z"}));a.displayName="Users03";export{a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));i.displayName="X";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-Dho9MRVw.js";const i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M18 6 6 18M6 6l12 12"}));i.displayName="XClose";export{i as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as N,o as G,n as O,s as j,_ as Pe,v as gt,w as bt,j as t,x as xe,az as vt,R as jt,I as Nt,z as Ce,D as Ct,B as qe,E as yt,c as _,u as Me,an as Re,l as _t,a as kt,b9 as wt,bm as St,k as Tt,h as It,av as Et}from"./index-Dho9MRVw.js";import{u as At,C as Ot,a as Dt}from"./collapsible-0N2BB6Bm.js";import{I as ie,E as Pt}from"./empty-state-DKQ_J1zp.js";import{E as fe,i as Mt}from"./error-boundary-ynZ9rF8y.js";import{P as Rt}from"./pin-to-sidebar-button-Cdnz6iok.js";import{u as $t}from"./use-deco-chat-open-D-b5da72.js";import{B as $e}from"./badge-CfH2vrIM.js";import{c as U,B}from"./button-D_0RTXDt.js";import{I as He}from"./input-trZWilTG.js";import{S as zt}from"./switch-t5mcsF2Z.js";import{T as Lt}from"./textarea-x7X_L353.js";import{T as K,b as ye,c as q,a as Y}from"./tooltip-Cw2xVvTD.js";import{b as Vt,u as Ye}from"./use-connection-BU-nKbTz.js";import{u as Ft,a as Bt}from"./use-virtual-mcp-DbjvrtSR.js";import{i as Ze}from"./Grid01-DmaR0g3f.js";import{n as Gt}from"./select-reGYS0Ly.js";import{i as ze}from"./File02-Cuc-ZPtg.js";import{a as Le,i as Ut}from"./Tool01-Ir04gLyn.js";import{i as Ve}from"./Loading01-Bo9vDQAp.js";import{i as Ht}from"./Play-D2yqwct8.js";import{s as We}from"./Plus-DAW17Fqf.js";import{i as Wt}from"./Share07-CN4FUsWW.js";import{b as Kt,V as qt}from"./layout-BZ8_9wgI.js";import{C as Yt}from"./collection-search-DRZ8ScZP.js";import{C as Fe}from"./checkbox-CUtYbeQD.js";import{e as Zt,a as Je,D as Qe,b as Jt,c as Qt}from"./dialog-B-A0vnh-.js";import{f as Xt}from"./use-collections-CVO4vm4G.js";import{u as Be}from"./constants-D8fdcBr8.js";import{c as es,u as ts}from"./use-mcp-prompts-B5zcyY9X.js";import{s as Xe}from"./slugify-CEUa2lfQ.js";import{I as ss,R as ls,a as os}from"./index-BWcrkV98.js";import{i as et}from"./Check-BzMGOxMB.js";import{i as ns}from"./Code01-KWN4ist8.js";import{a as is}from"./Copy01-DH_iV9-n.js";import{i as _e}from"./InfoCircle-qTETvFXb.js";import"./use-binding-BVBmgj67.js";import"./binder-Cyeq_Zec.js";import"./useSuspenseInfiniteQuery-BS0TxHG_.js";import"./infiniteQueryObserver-DDmbfPGP.js";import"./localstorage-keys-B7V7cQcH.js";import"./useQuery-C2zqJzGD.js";import"./useMutation-Lj_Cbq0P.js";import"./popover-Bkt9Kfhi.js";import"./ChevronDown-BV0rwdFr.js";import"./File06-BUwGdOjl.js";import"./Image01-BCcbzsoK.js";import"./SearchMd-D9E7kgub.js";import"./Pin01-NWg5BL2M.js";import"./use-organization-settings-CeE0FyqT.js";import"./ArrowLeft-Dlm4CF9d.js";import"./X-DyyqPnhR.js";const tt=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));tt.displayName="ArrowsRight";const st=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"}));st.displayName="Circle";const lt=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M9 2v3m6-3v3M9 19v3m6-3v3m4-13h3m-3 5h3M2 9h3m-3 5h3m4.8 5h4.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C19 16.72 19 15.88 19 14.2V9.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C16.72 5 15.88 5 14.2 5H9.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C5 7.28 5 8.12 5 9.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C7.28 19 8.12 19 9.8 19Z"}));lt.displayName="CpuChip02";const he=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"m9.75 20.75 1.473.818c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l1.473-.818m-9-2.5-1.427-.793c-.3-.166-.45-.25-.558-.368a1 1 0 0 1-.215-.364C3 16.573 3 16.401 3 16.06V14.5m0-5V7.942c0-.343 0-.514.05-.667a1 1 0 0 1 .215-.364c.109-.119.258-.202.558-.368L5.25 5.75m4.5-2.5 1.473-.818c.284-.158.425-.237.576-.267a1 1 0 0 1 .402 0c.15.03.292.11.576.267l1.473.818m4.5 2.5 1.427.793c.3.166.45.25.558.368a1 1 0 0 1 .215.364c.05.153.05.324.05.667V9.5m0 5v1.559c0 .342 0 .514-.05.666a.999.999 0 0 1-.215.364c-.109.119-.258.202-.558.368l-1.427.793m-9-7.5L12 12m0 0 2.25-1.25M12 12v2.5M3 7l2.25 1.25m13.5 0L21 7m-9 12.5V22"}));he.displayName="CubeOutline";const ot=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M10 17.659V20a2 2 0 1 0 4 0v-2.341M12 2v1m-9 9H2m3.5-6.5-.6-.6m13.6.6.6-.6M22 12h-1m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"}));ot.displayName="Lightbulb02";const nt=({size:l=24,color:e="currentColor",...s})=>N.createElement("svg",{viewBox:"0 0 24 24",width:l,height:l,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},N.createElement("path",{d:"M7 3v3.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C7.76 8 8.04 8 8.6 8h6.8c.56 0 .84 0 1.054-.109a1 1 0 0 0 .437-.437C17 7.24 17 6.96 17 6.4V4m0 17v-6.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C16.24 13 15.96 13 15.4 13H8.6c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C7 13.76 7 14.04 7 14.6V21M21 9.325V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h6.875c.489 0 .733 0 .963.055.204.05.4.13.579.24.201.123.374.296.72.642l3.126 3.126c.346.346.519.519.642.72.11.18.19.374.24.579.055.23.055.474.055.963Z"}));nt.displayName="Save01";const rs=G({connection_id:j().describe("Connection ID"),selected_tools:O(j()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:O(j()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:O(j()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),as=G({id:j().describe("Unique identifier for the virtual MCP"),title:j().describe("Human-readable name for the virtual MCP"),description:j().nullable().describe("Description of the virtual MCP"),icon:j().nullable().describe("Icon URL for the virtual MCP"),created_at:j().describe("When the virtual MCP was created"),updated_at:j().describe("When the virtual MCP was last updated"),created_by:j().describe("User ID who created the virtual MCP"),updated_by:j().optional().describe("User ID who last updated the virtual MCP"),organization_id:j().describe("Organization ID this virtual MCP belongs to"),status:Pe(["active","inactive"]).describe("Current status"),metadata:G({instructions:j().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:O(rs).describe("Connections with their selected tools, resources, and prompts")});G({title:j().min(1).max(255).describe("Name for the virtual MCP"),description:j().nullable().optional().describe("Optional description"),icon:j().nullable().optional().describe("Optional icon URL"),status:Pe(["active","inactive"]).optional().default("active").describe("Initial status"),metadata:G({instructions:j().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:O(G({connection_id:j().describe("Connection ID"),selected_tools:O(j()).nullable().optional().describe("Selected tool names (null/undefined = all tools included)"),selected_resources:O(j()).nullable().optional().describe("Selected resource URIs or patterns with * and ** wildcards (null/undefined = all resources included)"),selected_prompts:O(j()).nullable().optional().describe("Selected prompt names (null/undefined = all prompts included)")})).describe("Connections to include with their selected tools/resources/prompts")});G({title:j().min(1).max(255).optional().describe("New name"),description:j().nullable().optional().describe("New description (null to clear)"),icon:j().nullable().optional().describe("New icon URL (null to clear)"),status:Pe(["active","inactive"]).optional().describe("New status"),metadata:G({instructions:j().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:O(G({connection_id:j().describe("Connection ID"),selected_tools:O(j()).nullable().optional().describe("Selected tool names (null/undefined = all tools included)"),selected_resources:O(j()).nullable().optional().describe("Selected resource URIs or patterns with * and ** wildcards (null/undefined = all resources included)"),selected_prompts:O(j()).nullable().optional().describe("Selected prompt names (null/undefined = all prompts included)")})).optional().describe("New connections (replaces existing)")});var ge="Tabs",[cs]=yt(ge,[qe]),it=qe(),[ds,Ge]=cs(ge),rt=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,onValueChange:n,defaultValue:i,orientation:d="horizontal",dir:r,activationMode:c="automatic",...u}=l,m=gt(r),[a,p]=bt({prop:o,onChange:n,defaultProp:i??"",caller:ge});return t.jsx(ds,{scope:s,baseId:vt(),value:a,onValueChange:p,orientation:d,dir:m,activationMode:c,children:t.jsx(xe.div,{dir:m,"data-orientation":d,...u,ref:e})})});rt.displayName=ge;var at="TabsList",ct=N.forwardRef((l,e)=>{const{__scopeTabs:s,loop:o=!0,...n}=l,i=Ge(at,s),d=it(s);return t.jsx(jt,{asChild:!0,...d,orientation:i.orientation,dir:i.dir,loop:o,children:t.jsx(xe.div,{role:"tablist","aria-orientation":i.orientation,...n,ref:e})})});ct.displayName=at;var dt="TabsTrigger",ut=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,disabled:n=!1,...i}=l,d=Ge(dt,s),r=it(s),c=ft(d.baseId,o),u=xt(d.baseId,o),m=o===d.value;return t.jsx(Nt,{asChild:!0,...r,focusable:!n,active:m,children:t.jsx(xe.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":u,"data-state":m?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:c,...i,ref:e,onMouseDown:Ce(l.onMouseDown,a=>{!n&&a.button===0&&a.ctrlKey===!1?d.onValueChange(o):a.preventDefault()}),onKeyDown:Ce(l.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&d.onValueChange(o)}),onFocus:Ce(l.onFocus,()=>{const a=d.activationMode!=="manual";!m&&!n&&a&&d.onValueChange(o)})})})});ut.displayName=dt;var mt="TabsContent",pt=N.forwardRef((l,e)=>{const{__scopeTabs:s,value:o,forceMount:n,children:i,...d}=l,r=Ge(mt,s),c=ft(r.baseId,o),u=xt(r.baseId,o),m=o===r.value,a=N.useRef(m);return N.useEffect(()=>{const p=requestAnimationFrame(()=>a.current=!1);return()=>cancelAnimationFrame(p)},[]),t.jsx(Ct,{present:n||m,children:({present:p})=>t.jsx(xe.div,{"data-state":m?"active":"inactive","data-orientation":r.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:u,tabIndex:0,...d,ref:e,style:{...l.style,animationDuration:a.current?"0s":void 0},children:p&&i})})});pt.displayName=mt;function ft(l,e){return`${l}-trigger-${e}`}function xt(l,e){return`${l}-content-${e}`}var us=rt,ms=ct,ps=ut,fs=pt;function xs(l){const e=_.c(10);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const i=n===void 0?"pill":n;let d;e[4]!==s?(d=U("flex flex-col gap-2",s),e[4]=s,e[5]=d):d=e[5];let r;return e[6]!==o||e[7]!==d||e[8]!==i?(r=t.jsx(us,{"data-slot":"tabs","data-variant":i,className:d,...o}),e[6]=o,e[7]=d,e[8]=i,e[9]=r):r=e[9],r}function hs(l){const e=_.c(11);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const i=n||"pill",d=i==="underline"?"flex h-[52px] items-center border-b border-border":i==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let r;e[4]!==s||e[5]!==d?(r=U(d,s),e[4]=s,e[5]=d,e[6]=r):r=e[6];let c;return e[7]!==i||e[8]!==o||e[9]!==r?(c=t.jsx(ms,{"data-slot":"tabs-list","data-variant":i,className:r,...o}),e[7]=i,e[8]=o,e[9]=r,e[10]=c):c=e[10],c}function ke(l){const e=_.c(11);let s,o,n;e[0]!==l?({className:s,variant:n,...o}=l,e[0]=l,e[1]=s,e[2]=o,e[3]=n):(s=e[1],o=e[2],n=e[3]);const i=n||"pill",d=i==="underline"?"cursor-pointer flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-foreground disabled:pointer-events-none disabled:opacity-50":i==="canvas"?"cursor-pointer flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let r;e[4]!==s||e[5]!==d?(r=U(d,s),e[4]=s,e[5]=d,e[6]=r):r=e[6];let c;return e[7]!==i||e[8]!==o||e[9]!==r?(c=t.jsx(ps,{"data-slot":"tabs-trigger","data-variant":i,className:r,...o}),e[7]=i,e[8]=o,e[9]=r,e[10]=c):c=e[10],c}function we(l){const e=_.c(8);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=U("flex-1 outline-none h-full",s),e[3]=s,e[4]=n):n=e[4];let i;return e[5]!==o||e[6]!==n?(i=t.jsx(fs,{"data-slot":"tabs-content",className:n,...o}),e[5]=o,e[6]=n,e[7]=i):i=e[7],i}function Se(l){return l===null?"all":l?.length??0}function gs(l,e){const s=l[e];if(!s)return"";const o=[];return s.tools===null?o.push("all tools"):s.tools&&s.tools.length>0&&o.push(`${s.tools.length} tools`),s.resources===null?o.push("all resources"):s.resources&&s.resources.length>0&&o.push(`${s.resources.length} resources`),s.prompts===null?o.push("all prompts"):s.prompts&&s.prompts.length>0&&o.push(`${s.prompts.length} prompts`),o.join(", ")}function bs(l,e){const s=l[e];return s?!((s.tools===void 0||s.tools!==null&&s.tools.length===0)&&(s.resources===void 0||s.resources!==null&&s.resources.length===0)&&(s.prompts===void 0||s.prompts!==null&&s.prompts.length===0)):!1}const vs={tools:null,resources:null,prompts:null};function Te(){const l=_.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx("div",{className:"flex items-center justify-center h-32",children:t.jsx(Ve,{className:"animate-spin text-muted-foreground",size:24})}),l[0]=e):e=l[0],e}function Ie(l){return({error:e})=>e?.message?.includes("Method not found")||e?.code===-32601?t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:l})}):t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(Mt,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:e?.message||"An unexpected error occurred"})]})]})}function js(l){const e=_.c(18),{item:s,isSelected:o,onToggle:n,disabled:i}=l,d=i?"cursor-not-allowed opacity-50":"cursor-pointer",r=o?"bg-accent/25":"hover:bg-muted/50";let c;e[0]!==d||e[1]!==r?(c=U("flex items-start gap-3 p-4 rounded-lg transition-colors",d,r),e[0]=d,e[1]=r,e[2]=c):c=e[2];let u;e[3]!==s.name?(u=t.jsx("p",{className:"text-sm font-medium leading-none",children:s.name}),e[3]=s.name,e[4]=u):u=e[4];let m;e[5]!==s.description?(m=s.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:s.description}),e[5]=s.description,e[6]=m):m=e[6];let a;e[7]!==u||e[8]!==m?(a=t.jsxs("div",{className:"flex-1 min-w-0 space-y-2",children:[u,m]}),e[7]=u,e[8]=m,e[9]=a):a=e[9];let p;e[10]!==i||e[11]!==o||e[12]!==n?(p=t.jsx(Fe,{checked:o,onCheckedChange:n,disabled:i,className:"mt-0.5"}),e[10]=i,e[11]=o,e[12]=n,e[13]=p):p=e[13];let g;return e[14]!==c||e[15]!==a||e[16]!==p?(g=t.jsxs("label",{className:c,children:[a,p]}),e[14]=c,e[15]=a,e[16]=p,e[17]=g):g=e[17],g}function Ue(l){const e=_.c(32),{items:s,selections:o,onToggle:n,onToggleAll:i,emptyMessage:d,disabled:r}=l;let c,u,m,a,p;if(e[0]!==r||e[1]!==d||e[2]!==s||e[3]!==n||e[4]!==i||e[5]!==o){p=Symbol.for("react.early_return_sentinel");e:{const f=s.map(Ns);if(s.length===0){let y;e[11]!==d?(y=t.jsx("div",{className:"flex-1 overflow-auto px-4 py-3 space-y-1",children:t.jsx("div",{className:"flex items-center justify-center h-32 text-sm text-muted-foreground",children:d})}),e[11]=d,e[12]=y):y=e[12],p=y;break e}m="flex flex-col h-full";const C=r?"cursor-not-allowed opacity-50":"cursor-pointer";let v;e[13]!==C?(v=U("flex items-start gap-3 p-4",C),e[13]=C,e[14]=v):v=e[14];let x;e[15]!==s.length?(x=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsxs("span",{className:"text-sm font-medium",children:["Select All (",s.length,")"]})}),e[15]=s.length,e[16]=x):x=e[16];const w=o===null;let S;e[17]!==r||e[18]!==i||e[19]!==w?(S=t.jsx(Fe,{checked:w,onCheckedChange:i,disabled:r,className:"mt-0.5"}),e[17]=r,e[18]=i,e[19]=w,e[20]=S):S=e[20],e[21]!==S||e[22]!==v||e[23]!==x?(a=t.jsx("div",{className:"px-4 border-b border-border shrink-0",children:t.jsxs("label",{className:v,children:[x,S]})}),e[21]=S,e[22]=v,e[23]=x,e[24]=a):a=e[24],c="flex-1 overflow-auto px-4 py-3 space-y-1",u=s.map(y=>t.jsx(js,{item:y,isSelected:o===null||o?.includes(y.id),onToggle:()=>n(y.id,f),disabled:r},y.id))}e[0]=r,e[1]=d,e[2]=s,e[3]=n,e[4]=i,e[5]=o,e[6]=c,e[7]=u,e[8]=m,e[9]=a,e[10]=p}else c=e[6],u=e[7],m=e[8],a=e[9],p=e[10];if(p!==Symbol.for("react.early_return_sentinel"))return p;let g;e[25]!==c||e[26]!==u?(g=t.jsx("div",{className:c,children:u}),e[25]=c,e[26]=u,e[27]=g):g=e[27];let h;return e[28]!==m||e[29]!==a||e[30]!==g?(h=t.jsxs("div",{className:m,children:[a,g]}),e[28]=m,e[29]=a,e[30]=g,e[31]=h):h=e[31],h}function Ns(l){return l.id}function Cs(l){const e=_.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:i,disabled:d}=l,{org:r}=Me();let c;e[0]!==s||e[1]!==r.id?(c={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=c):c=e[2];const u=Be(c);let m;e[3]!==u?(m={client:u},e[3]=u,e[4]=m):m=e[4];const{data:a}=Xt(m);let p;e[5]!==a.tools?(p=a.tools.map(ys),e[5]=a.tools,e[6]=p):p=e[6];const g=p;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==i||e[11]!==o?(h=t.jsx(Ue,{items:g,selections:o,onToggle:n,onToggleAll:i,emptyMessage:"No tools available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=i,e[11]=o,e[12]=h):h=e[12],h}function ys(l){return{id:l.name,name:l.name,description:l.description}}function _s(l){const e=_.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:i,disabled:d}=l,{org:r}=Me();let c;e[0]!==s||e[1]!==r.id?(c={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=c):c=e[2];const u=Be(c);let m;e[3]!==u?(m={client:u},e[3]=u,e[4]=m):m=e[4];const{data:a}=es(m);let p;e[5]!==a.resources?(p=a.resources.map(ks),e[5]=a.resources,e[6]=p):p=e[6];const g=p;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==i||e[11]!==o?(h=t.jsx(Ue,{items:g,selections:o,onToggle:n,onToggleAll:i,emptyMessage:"No resources available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=i,e[11]=o,e[12]=h):h=e[12],h}function ks(l){return{id:l.name||l.uri,name:l.name||l.uri,description:l.description}}function ws(l){const e=_.c(13),{connectionId:s,selections:o,onToggle:n,onToggleAll:i,disabled:d}=l,{org:r}=Me();let c;e[0]!==s||e[1]!==r.id?(c={connectionId:s,orgId:r.id},e[0]=s,e[1]=r.id,e[2]=c):c=e[2];const u=Be(c);let m;e[3]!==u?(m={client:u},e[3]=u,e[4]=m):m=e[4];const{data:a}=ts(m);let p;e[5]!==a.prompts?(p=a.prompts.map(Ss),e[5]=a.prompts,e[6]=p):p=e[6];const g=p;let h;return e[7]!==d||e[8]!==g||e[9]!==n||e[10]!==i||e[11]!==o?(h=t.jsx(Ue,{items:g,selections:o,onToggle:n,onToggleAll:i,emptyMessage:"No prompts available",disabled:d}),e[7]=d,e[8]=g,e[9]=n,e[10]=i,e[11]=o,e[12]=h):h=e[12],h}function Ss(l){return{id:l.name,name:l.name,description:l.description}}function Ts(l){const e=_.c(24),{connection:s,isSelected:o,hasSelections:n,summary:i,onClick:d,onToggleAll:r,disabled:c}=l,u=c?"cursor-not-allowed opacity-50":"cursor-pointer",m=o?"bg-accent":"hover:bg-muted/50";let a;e[0]!==u||e[1]!==m?(a=U("flex items-center gap-2 p-2 h-12 rounded-lg transition-colors",u,m),e[0]=u,e[1]=m,e[2]=a):a=e[2];const p=c?void 0:d;let g;e[3]!==s.icon||e[4]!==s.title?(g=t.jsx(ie,{icon:s.icon,name:s.title,size:"xs",className:"shrink-0"}),e[3]=s.icon,e[4]=s.title,e[5]=g):g=e[5];let h;e[6]!==s.title?(h=t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:s.title}),e[6]=s.title,e[7]=h):h=e[7];let f;e[8]!==n||e[9]!==i?(f=n&&i&&t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:i}),e[8]=n,e[9]=i,e[10]=f):f=e[10];let C;e[11]!==h||e[12]!==f?(C=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col justify-center",children:[h,f]}),e[11]=h,e[12]=f,e[13]=C):C=e[13];let v;e[14]!==c||e[15]!==n||e[16]!==r?(v=t.jsx(Fe,{checked:n,onCheckedChange:r,onClick:Is,disabled:c,className:"shrink-0"}),e[14]=c,e[15]=n,e[16]=r,e[17]=v):v=e[17];let x;return e[18]!==a||e[19]!==p||e[20]!==g||e[21]!==C||e[22]!==v?(x=t.jsxs("div",{className:a,onClick:p,children:[g,C,v]}),e[18]=a,e[19]=p,e[20]=g,e[21]=C,e[22]=v,e[23]=x):x=e[23],x}function Is(l){return l.stopPropagation()}function Es(l){const e=_.c(22),{allConnections:s,searchTerm:o,selectedId:n,hasSelections:i,getSelectionSummary:d,onConnectionClick:r,onToggleAll:c,disabled:u}=l;let m;e[0]!==s||e[1]!==o?(m=o?s.filter(h=>h.title.toLowerCase().includes(o.toLowerCase())||h.description?.toLowerCase().includes(o.toLowerCase())):s,e[0]=s,e[1]=o,e[2]=m):m=e[2];const a=m;if(a.length===0){const h=o?"No connections found":"No connections available";let f;return e[3]!==h?(f=t.jsx("div",{className:"flex items-center justify-center h-full text-sm text-muted-foreground p-4",children:h}),e[3]=h,e[4]=f):f=e[4],f}let p;if(e[5]!==u||e[6]!==a||e[7]!==d||e[8]!==i||e[9]!==r||e[10]!==c||e[11]!==n){let h;e[13]!==u||e[14]!==d||e[15]!==i||e[16]!==r||e[17]!==c||e[18]!==n?(h=f=>t.jsx(Ts,{connection:f,isSelected:n===f.id,hasSelections:i(f.id),summary:d(f.id),onClick:()=>r(f.id),onToggleAll:()=>c(f.id),disabled:u},f.id),e[13]=u,e[14]=d,e[15]=i,e[16]=r,e[17]=c,e[18]=n,e[19]=h):h=e[19],p=a.map(h),e[5]=u,e[6]=a,e[7]=d,e[8]=i,e[9]=r,e[10]=c,e[11]=n,e[12]=p}else p=e[12];let g;return e[20]!==p?(g=t.jsx("div",{className:"flex flex-col gap-0.5",children:p}),e[20]=p,e[21]=g):g=e[21],g}function As(l){const e={};for(const s of l)e[s.connection_id]={tools:s.selected_tools,resources:s.selected_resources??null,prompts:s.selected_prompts??null};return e}function Ee(l){return Object.entries(l).map(([e,s])=>({connection_id:e,selected_tools:s.tools,selected_resources:s.resources,selected_prompts:s.prompts}))}function Os(l,e){switch(e.type){case"SET_SEARCH_TERM":return{...l,searchTerm:e.payload};case"SET_SELECTED":return{...l,selectedId:e.payload};case"SET_ACTIVE_TAB":return{...l,activeTab:e.payload};case"RESET":return{searchTerm:"",selectedId:e.payload.selectedId??e.payload.firstConnectionId??null,activeTab:"tools"};case"SELECT_CONNECTION":return{...l,selectedId:e.payload,activeTab:"tools"};default:return l}}const Ke=(l,e)=>l.find(s=>s.id===e)??l[0];function Ds(l){const e=_.c(79),{open:s,onOpenChange:o,selectedId:n,form:i,connections:d}=l;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r={},e[0]=r):r=e[0];const c=Vt(r);let u;e[1]!==c||e[2]!==n?(u=Ke(c,n)?.id??null,e[1]=c,e[2]=n,e[3]=u):u=e[3];let m;e[4]!==u?(m={activeTab:"tools",searchTerm:"",selectedId:u},e[4]=u,e[5]=m):m=e[5];const[a,p]=N.useReducer(Os,m);let g;e[6]!==d?(g=d??[],e[6]=d,e[7]=g):g=e[7];let h;e[8]!==g?(h=As(g),e[8]=g,e[9]=h):h=e[9];const f=h;let C;e[10]!==c||e[11]!==a.selectedId?(C=Ke(c,a.selectedId),e[10]=c,e[11]=a.selectedId,e[12]=C):C=e[12];const v=C;let x;e[13]!==f?(x=b=>bs(f,b),e[13]=f,e[14]=x):x=e[14];const w=x;let S;e[15]!==f?(S=b=>gs(f,b),e[15]=f,e[16]=S):S=e[16];const y=S;let L;e[17]!==i||e[18]!==f?(L=(b,k,E,W)=>{const oe=f[b]?.[k];let A;oe===null?A=W.filter(Ne=>Ne!==E):oe?.includes(E)?A=oe.filter(Ne=>Ne!==E):(A=[...oe??[],E],A.length===W.length&&(A=null));const ne={...f};ne[b]?ne[b]={...ne[b]}:ne[b]={tools:null,resources:null,prompts:null},ne[b][k]=A,i.setValue("connections",Ee(ne),{shouldDirty:!0,shouldTouch:!0})},e[17]=i,e[18]=f,e[19]=L):L=e[19];const T=L;let V;e[20]!==i||e[21]!==f?(V=(b,k)=>{const oe=f[b]?.[k]===null?[]:null,A={...f};A[b]?A[b]={...A[b]}:A[b]={tools:null,resources:null,prompts:null},A[b][k]=oe,i.setValue("connections",Ee(A),{shouldDirty:!0,shouldTouch:!0})},e[20]=i,e[21]=f,e[22]=V):V=e[22];const I=V;let D;e[23]!==T?(D=(b,k,E)=>T(b,"tools",k,E),e[23]=T,e[24]=D):D=e[24];const R=D;let P;e[25]!==T?(P=(b,k,E)=>T(b,"resources",k,E),e[25]=T,e[26]=P):P=e[26];const $=P;let M;e[27]!==T?(M=(b,k,E)=>T(b,"prompts",k,E),e[27]=T,e[28]=M):M=e[28];const z=M;let F;e[29]!==I?(F=b=>I(b,"tools"),e[29]=I,e[30]=F):F=e[30];const H=F;let re;e[31]!==I?(re=b=>I(b,"resources"),e[31]=I,e[32]=re):re=e[32];const be=re;let ae;e[33]!==I?(ae=b=>I(b,"prompts"),e[33]=I,e[34]=ae):ae=e[34];const ve=ae;let ce;e[35]!==i||e[36]!==f?(ce=b=>{const k=f[b],E=k&&k.tools===null&&k.resources===null&&k.prompts===null,W={...f};E?delete W[b]:W[b]=vs,i.setValue("connections",Ee(W),{shouldDirty:!0,shouldTouch:!0})},e[35]=i,e[36]=f,e[37]=ce):ce=e[37];const je=ce;let de;e[38]!==c||e[39]!==o||e[40]!==n?(de=b=>{b&&p({type:"RESET",payload:{selectedId:n,firstConnectionId:c[0]?.id??null}}),o(b)},e[38]=c,e[39]=o,e[40]=n,e[41]=de):de=e[41];const Z=de;let ue;e[42]===Symbol.for("react.memo_cache_sentinel")?(ue=b=>{p({type:"SELECT_CONNECTION",payload:b})},e[42]=ue):ue=e[42];const ht=ue;let me;e[43]===Symbol.for("react.memo_cache_sentinel")?(me=b=>p({type:"SET_SEARCH_TERM",payload:b}),e[43]=me):me=e[43];let J;e[44]!==a.searchTerm?(J=t.jsx(Yt,{value:a.searchTerm,onChange:me,placeholder:"Search connections..."}),e[44]=a.searchTerm,e[45]=J):J=e[45];let Q;e[46]!==c||e[47]!==a.searchTerm||e[48]!==a.selectedId||e[49]!==y||e[50]!==w||e[51]!==je?(Q=t.jsx("div",{className:"flex-1 overflow-auto p-2",children:t.jsx(Es,{allConnections:c,searchTerm:a.searchTerm,selectedId:a.selectedId,hasSelections:w,getSelectionSummary:y,onConnectionClick:ht,onToggleAll:je})}),e[46]=c,e[47]=a.searchTerm,e[48]=a.selectedId,e[49]=y,e[50]=w,e[51]=je,e[52]=Q):Q=e[52];let X;e[53]!==J||e[54]!==Q?(X=t.jsxs("div",{className:"w-full sm:w-72 sm:border-r border-b sm:border-b-0 border-border flex flex-col bg-background sm:h-full max-h-[40vh] sm:max-h-full",children:[J,Q]}),e[53]=J,e[54]=Q,e[55]=X):X=e[55];let ee;e[56]!==v||e[57]!==a.activeTab||e[58]!==a.selectedId||e[59]!==f||e[60]!==ve||e[61]!==be||e[62]!==H||e[63]!==z||e[64]!==$||e[65]!==R?(ee=t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:v&&a.selectedId?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"p-6 border-b border-border shrink-0",children:t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(ie,{icon:v.icon,name:v.title,size:"md",className:"shrink-0"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("h2",{className:"text-lg font-semibold truncate",children:v.title}),v.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:v.description})]})]})}),t.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:t.jsxs(xs,{value:a.activeTab,onValueChange:b=>p({type:"SET_ACTIVE_TAB",payload:b}),variant:"underline",className:"flex-1 flex flex-col overflow-hidden",children:[t.jsxs(hs,{variant:"underline",className:"shrink-0 px-6",children:[t.jsxs(ke,{value:"tools",variant:"underline",className:"gap-2",children:[t.jsx(Le,{size:16}),"Tools"]}),t.jsxs(ke,{value:"resources",variant:"underline",className:"gap-2",children:[t.jsx(he,{size:16}),"Resources"]}),t.jsxs(ke,{value:"prompts",variant:"underline",className:"gap-2",children:[t.jsx(ze,{size:16}),"Prompts"]})]}),t.jsx(we,{value:"tools",className:"flex-1 overflow-hidden mt-0",children:t.jsx(fe,{fallback:Ie("Tools not supported by this server"),children:t.jsx(N.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(Cs,{connectionId:a.selectedId,selections:a.selectedId&&f[a.selectedId]?f[a.selectedId].tools:[],onToggle:(b,k)=>a.selectedId&&R(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&H(a.selectedId)})})})}),t.jsx(we,{value:"resources",className:"flex-1 overflow-hidden mt-0",children:t.jsx(fe,{fallback:Ie("Resources not supported by this server"),children:t.jsx(N.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(_s,{connectionId:a.selectedId,selections:a.selectedId&&f[a.selectedId]?f[a.selectedId].resources:[],onToggle:(b,k)=>a.selectedId&&$(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&be(a.selectedId)})})})}),t.jsx(we,{value:"prompts",className:"flex-1 overflow-hidden mt-0",children:t.jsx(fe,{fallback:Ie("Prompts not supported by this server"),children:t.jsx(N.Suspense,{fallback:t.jsx(Te,{}),children:t.jsx(ws,{connectionId:a.selectedId,selections:a.selectedId&&f[a.selectedId]?f[a.selectedId].prompts:[],onToggle:(b,k)=>a.selectedId&&z(a.selectedId,b,k),onToggleAll:()=>a.selectedId&&ve(a.selectedId)})})})})]})})]}):t.jsx("div",{className:"flex-1 flex items-center justify-center text-sm text-muted-foreground",children:"Select a connection to view its tools, resources, and prompts"})}),e[56]=v,e[57]=a.activeTab,e[58]=a.selectedId,e[59]=f,e[60]=ve,e[61]=be,e[62]=H,e[63]=z,e[64]=$,e[65]=R,e[66]=ee):ee=e[66];let te;e[67]!==X||e[68]!==ee?(te=t.jsxs("div",{className:"flex-1 flex overflow-hidden min-h-0 flex-col sm:flex-row",children:[X,ee]}),e[67]=X,e[68]=ee,e[69]=te):te=e[69];let se;e[70]!==Z?(se=t.jsx(Zt,{className:"px-6 py-4 border-t border-border shrink-0",children:t.jsx(B,{variant:"outline",onClick:()=>Z(!1),children:"Done"})}),e[70]=Z,e[71]=se):se=e[71];let le;e[72]!==te||e[73]!==se?(le=t.jsxs(Je,{className:"sm:max-w-5xl h-[80vh] max-h-[80vh] flex flex-col p-0 gap-0 overflow-hidden w-[95vw]",children:[te,se]}),e[72]=te,e[73]=se,e[74]=le):le=e[74];let pe;return e[75]!==Z||e[76]!==s||e[77]!==le?(pe=t.jsx(Qe,{open:s,onOpenChange:Z,children:le}),e[75]=Z,e[76]=s,e[77]=le,e[78]=pe):pe=e[78],pe}function Ps(l){const e=_.c(8);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=U("grid gap-3",s),e[3]=s,e[4]=n):n=e[4];let i;return e[5]!==o||e[6]!==n?(i=t.jsx(ls,{"data-slot":"radio-group",className:n,...o}),e[5]=o,e[6]=n,e[7]=i):i=e[7],i}function Ae(l){const e=_.c(9);let s,o;e[0]!==l?({className:s,...o}=l,e[0]=l,e[1]=s,e[2]=o):(s=e[1],o=e[2]);let n;e[3]!==s?(n=U("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),e[3]=s,e[4]=n):n=e[4];let i;e[5]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(os,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(st,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=i):i=e[5];let d;return e[6]!==o||e[7]!==n?(d=t.jsx(ss,{"data-slot":"radio-group-item",className:n,...o,children:i}),e[6]=o,e[7]=n,e[8]=d):d=e[8],d}function Ms(l){const s=new TextEncoder().encode(l),o=Array.from(s,n=>String.fromCharCode(n)).join("");return btoa(o)}function Rs(l){const e=_.c(10),{url:s}=l,[o,n]=N.useState(!1);let i;e[0]!==s?(i=async()=>{await navigator.clipboard.writeText(s),n(!0),Re.success("Agent URL copied to clipboard"),setTimeout(()=>n(!1),2e3)},e[0]=s,e[1]=i):i=e[1];const d=i;let r;e[2]!==o?(r=o?t.jsx(et,{size:20,className:"text-green-600"}):t.jsx(is,{size:20}),e[2]=o,e[3]=r):r=e[3];const c=o?"Copied!":"Copy URL";let u;e[4]!==c?(u=t.jsx("span",{className:"text-xs font-medium",children:c}),e[4]=c,e[5]=u):u=e[5];let m;return e[6]!==d||e[7]!==r||e[8]!==u?(m=t.jsxs(B,{type:"button",variant:"outline",onClick:d,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[r,u]}),e[6]=d,e[7]=r,e[8]=u,e[9]=m):m=e[9],m}function $s(l){const e=_.c(7),{url:s,serverName:o}=l;let n;e[0]!==o||e[1]!==s?(n=()=>{const u=Xe(o),a=Ms(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),p=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(u)}&config=${encodeURIComponent(a)}`;window.open(p,"_blank"),Re.success("Opening Cursor...")},e[0]=o,e[1]=s,e[2]=n):n=e[2];const i=n;let d,r;e[3]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx("img",{src:"/logos/cursor.svg",alt:"Cursor",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(11%) sepia(8%) saturate(785%) hue-rotate(1deg) brightness(95%) contrast(89%)"}}),r=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=d,e[4]=r):(d=e[3],r=e[4]);let c;return e[5]!==i?(c=t.jsxs(B,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[d,r]}),e[5]=i,e[6]=c):c=e[6],c}function zs(l){const e=_.c(11),{url:s,serverName:o}=l,[n,i]=N.useState(!1);let d;e[0]!==o||e[1]!==s?(d=async()=>{const p=Xe(o),h=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),f=`claude mcp add-json "${p}" '${h.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(f),i(!0),Re.success("Claude Code command copied to clipboard"),setTimeout(()=>i(!1),2e3)},e[0]=o,e[1]=s,e[2]=d):d=e[2];const r=d;let c;e[3]!==n?(c=n?t.jsx(et,{size:20,className:"text-green-600"}):t.jsx("img",{src:"/logos/Claude Code.svg",alt:"Claude Code",className:"h-5 w-5",style:{filter:"brightness(0) saturate(100%) invert(55%) sepia(31%) saturate(1264%) hue-rotate(331deg) brightness(92%) contrast(86%)"}}),e[3]=n,e[4]=c):c=e[4];const u=n?"Copied!":"Install on Claude";let m;e[5]!==u?(m=t.jsx("span",{className:"text-xs font-medium",children:u}),e[5]=u,e[6]=m):m=e[6];let a;return e[7]!==r||e[8]!==c||e[9]!==m?(a=t.jsxs(B,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[c,m]}),e[7]=r,e[8]=c,e[9]=m,e[10]=a):a=e[10],a}function Ls(l){const e=_.c(40),{open:s,onOpenChange:o,virtualMcp:n}=l,[i,d]=N.useState("code_execution");let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=H=>{(H==="passthrough"||H==="smart_tool_selection"||H==="code_execution")&&d(H)},e[0]=r):r=e[0];const c=r;let u;e[1]!==i||e[2]!==n.id?(u=new URL(`/mcp/virtual-mcp/${n.id}`,window.location.origin),u.searchParams.set("mode",i),e[1]=i,e[2]=n.id,e[3]=u):u=e[3];let m;e[4]!==n.id||e[5]!==n.title?(m=n.title||`agent-${n.id?.slice(0,8)??"default"}`,e[4]=n.id,e[5]=n.title,e[6]=m):m=e[6];const a=m;let p;e[7]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx(Jt,{children:t.jsx(Qt,{children:"Share Agent"})}),e[7]=p):p=e[7];let g;e[8]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=g):g=e[8];let h;e[9]===Symbol.for("react.memo_cache_sentinel")?(h=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(tt,{className:"size-5 text-muted-foreground"})}),e[9]=h):h=e[9];let f;e[10]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=f):f=e[10];let C;e[11]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(K,{asChild:!0,children:t.jsx(_e,{className:"size-3.5 text-muted-foreground"})}),e[11]=C):C=e[11];let v;e[12]===Symbol.for("react.memo_cache_sentinel")?(v=t.jsxs("label",{htmlFor:"mode-passthrough",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[h,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[f,t.jsx(ye,{children:t.jsxs(q,{children:[C,t.jsx(Y,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"All tools are exposed directly via tools/list. Best for small tool surfaces with deterministic behavior."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Best for small teams or when you need predictable behavior"})]}),t.jsx(Ae,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=v):v=e[12];let x;e[13]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(ot,{className:"size-5 text-muted-foreground"})}),e[13]=x):x=e[13];let w;e[14]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=w):w=e[14];let S;e[15]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(K,{asChild:!0,children:t.jsx(_e,{className:"size-3.5 text-muted-foreground"})}),e[15]=S):S=e[15];let y;e[16]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsxs("label",{htmlFor:"mode-smart",className:"flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[x,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[w,t.jsx(ye,{children:t.jsxs(q,{children:[S,t.jsx(Y,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Uses meta-tools (GATEWAY_SEARCH_TOOLS, GATEWAY_DESCRIBE_TOOLS, GATEWAY_CALL_TOOL) to keep the tool list small and request details on demand."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Ideal for large teams with many tools - AI finds what it needs"})]}),t.jsx(Ae,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=y):y=e[16];let L;e[17]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(ns,{className:"size-5 text-muted-foreground"})}),e[17]=L):L=e[17];let T;e[18]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart execution"}),e[18]=T):T=e[18];let V;e[19]===Symbol.for("react.memo_cache_sentinel")?(V=t.jsx(K,{asChild:!0,children:t.jsx(_e,{className:"size-3.5 text-muted-foreground"})}),e[19]=V):V=e[19];let I;e[20]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsxs("label",{htmlFor:"mode-code",className:"relative flex items-center gap-3 px-3 py-5 rounded-lg border border-border hover:border-ring/50 cursor-pointer transition-colors has-checked:border-ring has-checked:bg-accent/5",children:[L,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[T,t.jsx(ye,{children:t.jsxs(q,{children:[V,t.jsx(Y,{className:"max-w-xs",children:t.jsx("p",{className:"text-xs",children:"Exposes meta-tools for discovery + sandboxed execution (GATEWAY_RUN_CODE). Reduces overhead on large surfaces by shifting work into a controlled runtime."})})]})})]}),t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Maximum flexibility - AI can write code to orchestrate tools"})]}),t.jsx(Ae,{id:"mode-code",value:"code_execution"}),t.jsx($e,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=I):I=e[20];let D;e[21]!==i?(D=t.jsxs("div",{className:"flex flex-col gap-3",children:[g,t.jsxs(Ps,{value:i,onValueChange:c,className:"flex flex-col gap-4.5",children:[v,y,I]})]}),e[21]=i,e[22]=D):D=e[22];let R;e[23]!==u.href?(R=t.jsx(Rs,{url:u.href}),e[23]=u.href,e[24]=R):R=e[24];let P,$;e[25]!==a||e[26]!==u.href?(P=t.jsx($s,{url:u.href,serverName:a}),$=t.jsx(zs,{url:u.href,serverName:a}),e[25]=a,e[26]=u.href,e[27]=P,e[28]=$):(P=e[27],$=e[28]);let M;e[29]!==R||e[30]!==P||e[31]!==$?(M=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[R,P,$]})}),e[29]=R,e[30]=P,e[31]=$,e[32]=M):M=e[32];let z;e[33]!==D||e[34]!==M?(z=t.jsxs(Je,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[p,t.jsxs("div",{className:"flex flex-col gap-6",children:[D,M]})]}),e[33]=D,e[34]=M,e[35]=z):z=e[35];let F;return e[36]!==o||e[37]!==s||e[38]!==z?(F=t.jsx(Qe,{open:s,onOpenChange:o,children:z}),e[36]=o,e[37]=s,e[38]=z,e[39]=F):F=e[39],F}const Vs=as.pick({title:!0,description:!0,status:!0,metadata:!0,connections:!0}).extend({title:j().min(1,"Name is required").max(255)});function Fs(l,e){switch(e.type){case"SET_SHARE_DIALOG_OPEN":return{...l,shareDialogOpen:e.payload};case"SET_CONNECTION_DIALOG_OPEN":return{...l,connectionDialogOpen:e.payload};case"SET_EDITING_CONNECTION_ID":return{...l,editingConnectionId:e.payload};case"SET_SKILLS_OPEN":return{...l,skillsOpen:e.payload};default:return l}}function Oe(l){const e=_.c(3),{connection_id:s}=l,o=Ye(s);if(!o)return null;let n;return e[0]!==o.icon||e[1]!==o.title?(n=t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx(ie,{icon:o.icon,name:o.title,size:"xs"})}),e[0]=o.icon,e[1]=o.title,e[2]=n):n=e[2],n}Oe.Fallback=function(){return t.jsx("div",{className:"shrink-0 bg-background ring-1 ring-background rounded-lg",children:t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse"})})};function De(l){const e=_.c(27),{connection_id:s,selected_tools:o,selected_resources:n,selected_prompts:i,onClick:d}=l,r=Ye(s);if(!r)return null;let c;e[0]!==o?(c=Se(o),e[0]=o,e[1]=c):c=e[1];const u=c;let m;e[2]!==n?(m=Se(n),e[2]=n,e[3]=m):m=e[3];const a=m;let p;e[4]!==i?(p=Se(i),e[4]=i,e[5]=p):p=e[5];const g=p;let h;e[6]!==r.icon||e[7]!==r.title?(h=t.jsx(ie,{icon:r.icon,name:r.title,size:"xs"}),e[6]=r.icon,e[7]=r.title,e[8]=h):h=e[8];let f;e[9]!==r.title?(f=t.jsx("p",{className:"flex-1 text-sm font-normal text-foreground truncate",children:r.title}),e[9]=r.title,e[10]=f):f=e[10];let C;e[11]!==u?(C=u!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:u==="all"?"all":u}),t.jsx(Le,{size:12})]}),e[11]=u,e[12]=C):C=e[12];let v;e[13]!==a?(v=a!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:a==="all"?"all":a}),t.jsx(he,{size:12})]}),e[13]=a,e[14]=v):v=e[14];let x;e[15]!==g?(x=g!==0&&t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("span",{children:g==="all"?"all":g}),t.jsx(ze,{size:12})]}),e[15]=g,e[16]=x):x=e[16];let w;e[17]!==C||e[18]!==v||e[19]!==x?(w=t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[C,v,x]}),e[17]=C,e[18]=v,e[19]=x,e[20]=w):w=e[20];let S;e[21]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Ze,{size:16,className:"text-muted-foreground shrink-0"}),e[21]=S):S=e[21];let y;return e[22]!==d||e[23]!==h||e[24]!==f||e[25]!==w?(y=t.jsxs("div",{onClick:d,className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border hover:bg-accent/50 transition-colors cursor-pointer",children:[h,f,w,S]}),e[22]=d,e[23]=h,e[24]=f,e[25]=w,e[26]=y):y=e[26],y}De.Fallback=function(){return t.jsxs("div",{className:"w-full h-12 flex items-center gap-2 px-3 rounded-lg border border-border",children:[t.jsx("div",{className:"size-5 rounded bg-muted animate-pulse shrink-0"}),t.jsx("div",{className:"flex-1 h-4 rounded bg-muted animate-pulse"}),t.jsxs($e,{variant:"secondary",className:"bg-muted h-5 gap-2 px-1.5 py-1 flex items-center",children:[t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(Le,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(he,{size:12})]}),t.jsxs("div",{className:"flex items-center gap-0.5 text-xs text-muted-foreground",children:[t.jsx("div",{className:"w-3 h-3 rounded bg-muted-foreground/20 animate-pulse"}),t.jsx(ze,{size:12})]})]}),t.jsx(Ze,{size:16,className:"text-muted-foreground shrink-0"})]})};function Bs({virtualMcp:l}){const s=wt().location.href,o=St(),n=Bt(),i=Tt({resolver:It(Vs),defaultValues:l}),d=i.watch("connections"),[r,c]=N.useReducer(Fs,{shareDialogOpen:!1,connectionDialogOpen:!1,editingConnectionId:null,skillsOpen:!1}),[,u]=$t(),{setVirtualMcpId:m}=At();N.useEffect(()=>{u(!0),m(l.id)},[l.id]);const a=()=>{m(l.id),u(!0)},p=i.formState.isDirty,g=async()=>{const x=i.getValues(),w=await n.update.mutateAsync({id:l.id,data:x});i.reset(w)},h=()=>{i.reset(l)},f=()=>{c({type:"SET_EDITING_CONNECTION_ID",payload:null}),c({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},C=x=>{c({type:"SET_EDITING_CONNECTION_ID",payload:x}),c({type:"SET_CONNECTION_DIALOG_OPEN",payload:!0})},v=n.update.isPending;return t.jsxs(Kt,{onBack:()=>o.history.back(),children:[t.jsxs(qt,{children:[t.jsxs(q,{delayDuration:0,children:[t.jsx(K,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(B,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!p||v,onClick:h,"aria-label":"Cancel",children:t.jsx(Ut,{size:14})})})}),t.jsx(Y,{side:"bottom",children:"Cancel"})]}),t.jsxs(q,{delayDuration:0,children:[t.jsx(K,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(B,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:!p||v,onClick:g,"aria-label":"Save",children:v?t.jsx(Ve,{size:14,className:"animate-spin"}):t.jsx(nt,{size:14})})})}),t.jsx(Y,{side:"bottom",children:"Save"})]}),t.jsxs(q,{delayDuration:0,children:[t.jsx(K,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsxs(B,{variant:"outline",size:"sm",className:"h-7 gap-1.5 px-2 border border-input",onClick:a,"aria-label":"Test Agent",children:[t.jsx(Ht,{size:14}),"Test Agent"]})})}),t.jsx(Y,{side:"bottom",children:"Test this agent in chat"})]}),t.jsxs(q,{delayDuration:0,children:[t.jsx(K,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(B,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:()=>c({type:"SET_SHARE_DIALOG_OPEN",payload:!0}),"aria-label":"Share",children:t.jsx(Wt,{size:14})})})}),t.jsx(Y,{side:"bottom",children:"Share"})]}),t.jsx(Rt,{title:l.title,url:s,icon:l.icon??"cpu_chip"})]}),t.jsx("div",{className:"flex h-full w-full bg-background overflow-auto",children:t.jsxs("div",{className:"flex flex-col w-full",children:[t.jsxs("div",{className:"flex items-start justify-between gap-4 p-6 shrink-0",children:[t.jsxs("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[t.jsx(ie,{icon:l.icon,name:i.watch("title")||"Agent",size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(lt,{})}),t.jsxs("div",{className:"flex flex-col flex-1 min-w-0",children:[t.jsx(He,{...i.register("title"),className:"h-auto py-0.5 text-lg! font-medium leading-7 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Agent Name"}),t.jsx(He,{...i.register("description"),className:"h-auto py-0.5 text-base text-muted-foreground leading-6 px-1 -mx-1 border-transparent hover:bg-input/25 focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})]})]}),t.jsx("div",{className:"flex items-center gap-2 shrink-0",children:t.jsx(zt,{checked:i.watch("status")==="active",onCheckedChange:x=>i.setValue("status",x?"active":"inactive",{shouldDirty:!0})})})]}),t.jsxs(Ot,{open:r.skillsOpen,onOpenChange:x=>c({type:"SET_SKILLS_OPEN",payload:x}),className:"border-t border-border shrink-0 max-h-[400px] overflow-hidden flex flex-col",children:[d.length===0?t.jsxs("button",{type:"button",onClick:f,className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"h-7 px-2 inline-flex items-center justify-center gap-1 rounded-md text-sm text-muted-foreground",children:[t.jsx(We,{size:14}),"Add"]})]}):t.jsx(Dt,{asChild:!0,children:t.jsxs("button",{type:"button",className:"w-full flex items-center justify-between px-6 py-4 hover:bg-muted/50 transition-colors cursor-pointer",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Skills"}),t.jsxs("div",{className:"flex items-center",children:[t.jsx("div",{className:"flex items-center -space-x-2 ease-(--ease-out-expo)",style:{width:r.skillsOpen?0:"auto",marginRight:r.skillsOpen?0:4,opacity:r.skillsOpen?0:1,pointerEvents:r.skillsOpen?"none":"auto",transitionProperty:"all",transitionDuration:r.skillsOpen?"0ms":"200ms"},children:d.slice(0,4).map(x=>t.jsx(N.Suspense,{fallback:t.jsx(Oe.Fallback,{}),children:t.jsx(Oe,{connection_id:x.connection_id})},x.connection_id))}),t.jsxs("div",{role:"button",tabIndex:0,className:"h-7 inline-flex items-center justify-center rounded-md text-sm text-muted-foreground overflow-hidden transition-all duration-200 ease-(--ease-out-expo) hover:bg-accent hover:text-accent-foreground",style:{width:r.skillsOpen?"auto":28,paddingLeft:r.skillsOpen?8:0,paddingRight:r.skillsOpen?8:0,gap:r.skillsOpen?4:0},onPointerDown:x=>{x.stopPropagation()},onClick:x=>{x.stopPropagation(),x.preventDefault(),f()},onKeyDown:x=>{(x.key==="Enter"||x.key===" ")&&(x.stopPropagation(),x.preventDefault(),f())},children:[t.jsx(We,{size:14,className:"shrink-0"}),t.jsx("span",{className:"overflow-hidden whitespace-nowrap transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?"auto":0,opacity:r.skillsOpen?1:0},children:"Add"})]}),t.jsx("div",{className:"h-7 inline-flex items-center justify-center overflow-hidden transition-all duration-200 ease-(--ease-out-expo)",style:{width:r.skillsOpen?28:0,opacity:r.skillsOpen?1:0},children:t.jsx(Gt,{size:16,className:"shrink-0"})})]})]})}),t.jsx("div",{className:"grid overflow-hidden transition-[grid-template-rows] duration-200 ease-(--ease-out-expo)",style:{gridTemplateRows:r.skillsOpen?"1fr":"0fr"},children:t.jsx("div",{className:"min-h-0 overflow-hidden",children:t.jsx("div",{className:"overflow-y-auto max-h-[300px] mask-[linear-gradient(to_bottom,black_calc(100%-40px),transparent_100%)]",children:t.jsx("div",{className:"flex flex-col gap-2 px-6 pb-4 pt-2",children:d.map(x=>t.jsx(N.Suspense,{fallback:t.jsx(De.Fallback,{}),children:t.jsx(De,{connection_id:x.connection_id,selected_tools:x.selected_tools,selected_resources:x.selected_resources,selected_prompts:x.selected_prompts,onClick:()=>C(x.connection_id)})},x.connection_id))})})})})]}),t.jsxs("div",{className:"flex flex-col flex-1 p-6 border-t border-border overflow-auto",children:[t.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-2",children:"Instructions"}),t.jsx(Et,{name:"metadata.instructions",control:i.control,render:({field:x})=>t.jsx(Lt,{...x,value:x.value??"",placeholder:"Write instructions here...",className:"min-h-[200px] resize-none text-sm placeholder:text-muted-foreground/50 leading-relaxed border-0 rounded-none shadow-none px-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-0 bg-transparent"})})]})]})}),t.jsx(Ds,{open:r.connectionDialogOpen,onOpenChange:x=>c({type:"SET_CONNECTION_DIALOG_OPEN",payload:x}),selectedId:r.editingConnectionId,form:i,connections:d}),t.jsx(Ls,{open:r.shareDialogOpen,onOpenChange:x=>c({type:"SET_SHARE_DIALOG_OPEN",payload:x}),virtualMcp:l})]})}function Gs(){const l=_.c(6),e=_t();let s;l[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org/agents/$agentId"},l[0]=s):s=l[0];const o=kt(s),{org:n,agentId:i}=o,d=Ft(i);if(!d){let c;return l[1]!==e||l[2]!==n?(c=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Pt,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(B,{variant:"outline",onClick:()=>e({to:"/$org/agents",params:{org:n}}),children:"Back to agents"})})}),l[1]=e,l[2]=n,l[3]=c):c=l[3],c}let r;return l[4]!==d?(r=t.jsx(Bs,{virtualMcp:d}),l[4]=d,l[5]=r):r=l[5],r}function Fl(){const l=_.c(1);let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(fe,{children:t.jsx(N.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(Ve,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Gs,{})})}),l[0]=e):e=l[0],e}export{Fl as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Z,j as t,r as ee,u as te,l as se}from"./index-
|
|
1
|
+
import{c as Z,j as t,r as ee,u as te,l as se}from"./index-Dho9MRVw.js";import{C as oe}from"./collection-header-CbT_At3k.js";import{C as re}from"./collection-page-CpAhF9Tg.js";import{C as ne}from"./collection-search-DRZ8ScZP.js";import{C as ie}from"./collection-table-wrapper-CspbeKNx.js";import{C as ae}from"./connection-card-C6VYrDSx.js";import{E as W,I as le}from"./empty-state-DKQ_J1zp.js";import{E as ce}from"./error-boundary-ynZ9rF8y.js";import{u as de,s as G}from"./use-list-state-ClsnlmlI.js";import{u as me}from"./use-create-virtual-mcp-Cr2fOp7g.js";import{i as ge}from"./constants-D8fdcBr8.js";import{b as ue,a as pe}from"./use-virtual-mcp-DbjvrtSR.js";import{c as he,b as fe,d as xe,A as je,e as Ce,g as we,a as ye,f as Ne}from"./alert-dialog-QzYPe_ae.js";import{B as De}from"./badge-CfH2vrIM.js";import{B as q}from"./button-D_0RTXDt.js";import{D as J,a as Q,b as U,c as E}from"./dropdown-menu-CMmh8IDN.js";import{i as X}from"./DotsVertical-DOgWrY6o.js";import{i as Se}from"./Loading01-Bo9vDQAp.js";import{s as Y}from"./Trash01-BUkAP1vf.js";import{t as x}from"./Users03-DscKVk_U.js";import"./collection-display-button-Cm0zQnM_.js";import"./ArrowUp-CC-2uYGu.js";import"./Check-BzMGOxMB.js";import"./Grid01-DmaR0g3f.js";import"./List-DZ53jWcW.js";import"./tooltip-Cw2xVvTD.js";import"./view-mode-toggle-BagEO4CJ.js";import"./SearchMd-D9E7kgub.js";import"./input-trZWilTG.js";import"./card-BmOa96dk.js";import"./use-mobile-VoJXvE1W.js";import"./use-collections-CVO4vm4G.js";import"./useMutation-Lj_Cbq0P.js";import"./useQuery-C2zqJzGD.js";function be(e,r){switch(r.type){case"delete":return{mode:"deleting",virtualMcp:r.virtualMcp};case"close":return{mode:"idle"}}}function ve(){const e=Z.c(62),{org:r}=te(),i=se();let j;e[0]!==r.slug?(j={namespace:r.slug,resource:"agents"},e[0]=r.slug,e[1]=j):j=e[1];const s=de(j),f=ue(s);let C;e[2]===Symbol.for("react.memo_cache_sentinel")?(C={navigateOnCreate:!0},e[2]=C):C=e[2];const{createVirtualMCP:V,isCreating:w}=me(C),O=pe();let y;e[3]===Symbol.for("react.memo_cache_sentinel")?(y={mode:"idle"},e[3]=y):y=e[3];const[n,N]=ee.useReducer(be,y);let D;e[4]!==O||e[5]!==n.mode||e[6]!==n.virtualMcp?(D=async()=>{if(n.mode!=="deleting")return;const o=n.virtualMcp.id;if(N({type:"close"}),!(!o||ge(o)))try{await O.delete.mutateAsync(o)}catch{}},e[4]=O,e[5]=n.mode,e[6]=n.virtualMcp,e[7]=D):D=e[7];const B=D;let S,b,v,k,A;e[8]===Symbol.for("react.memo_cache_sentinel")?(S={id:"icon",header:"",render:Ke,cellClassName:"w-16 shrink-0",wrap:!0},b={id:"title",header:"Name",render:$e,cellClassName:"w-48 min-w-0 shrink-0",sortable:!0},v={id:"description",header:"Description",render:_e,cellClassName:"flex-1 min-w-0",wrap:!0,sortable:!0},k={id:"connections",header:"Connections",render:Pe,cellClassName:"w-24 shrink-0"},A={id:"status",header:"Status",render:Ie,cellClassName:"w-24 shrink-0",sortable:!0},e[8]=S,e[9]=b,e[10]=v,e[11]=k,e[12]=A):(S=e[8],b=e[9],v=e[10],k=e[11],A=e[12]);let z;e[13]!==i||e[14]!==r.slug?(z=[S,b,v,k,A,{id:"actions",header:"",render:o=>t.jsxs(J,{children:[t.jsx(Q,{asChild:!0,children:t.jsx(q,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Me,children:t.jsx(X,{size:20})})}),t.jsxs(U,{align:"end",onClick:ze,children:[t.jsxs(E,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}})},children:[t.jsx(G,{size:16}),"Open"]}),t.jsxs(E,{variant:"destructive",onClick:a=>{a.stopPropagation(),N({type:"delete",virtualMcp:o})},children:[t.jsx(Y,{size:16}),"Delete"]})]})]}),cellClassName:"w-12 shrink-0"}],e[13]=i,e[14]=r.slug,e[15]=z):z=e[15];const R=z,T=w?"Creating...":"Create Agent";let M;e[16]!==V||e[17]!==w||e[18]!==T?(M=t.jsx(q,{onClick:V,size:"sm",className:"h-7 px-3 rounded-lg text-sm font-medium",disabled:w,children:T}),e[16]=V,e[17]=w,e[18]=T,e[19]=M):M=e[19];const H=M,L=n.mode==="deleting";let I;e[20]===Symbol.for("react.memo_cache_sentinel")?(I=o=>!o&&N({type:"close"}),e[20]=I):I=e[20];let P;e[21]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(he,{children:"Delete Agent?"}),e[21]=P):P=e[21];const F=n.mode==="deleting"&&n.virtualMcp.title;let l;e[22]!==F?(l=t.jsxs(fe,{children:[P,t.jsxs(xe,{children:["This action cannot be undone. This will permanently delete"," ",t.jsx("span",{className:"font-medium text-foreground",children:F}),"."]})]}),e[22]=F,e[23]=l):l=e[23];let _;e[24]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx(je,{children:"Cancel"}),e[24]=_):_=e[24];let c;e[25]!==B?(c=t.jsxs(Ce,{children:[_,t.jsx(we,{onClick:B,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete"})]}),e[25]=B,e[26]=c):c=e[26];let d;e[27]!==l||e[28]!==c?(d=t.jsxs(ye,{children:[l,c]}),e[27]=l,e[28]=c,e[29]=d):d=e[29];let m;e[30]!==L||e[31]!==d?(m=t.jsx(Ne,{open:L,onOpenChange:I,children:d}),e[30]=L,e[31]=d,e[32]=m):m=e[32];let $;e[33]===Symbol.for("react.memo_cache_sentinel")?($=[{id:"title",label:"Name"},{id:"description",label:"Description"},{id:"status",label:"Status"}],e[33]=$):$=e[33];let g;e[34]!==H||e[35]!==s.handleSort||e[36]!==s.setViewMode||e[37]!==s.sortDirection||e[38]!==s.sortKey||e[39]!==s.viewMode?(g=t.jsx(oe,{title:"Agents",viewMode:s.viewMode,onViewModeChange:s.setViewMode,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,sortOptions:$,ctaButton:H}),e[34]=H,e[35]=s.handleSort,e[36]=s.setViewMode,e[37]=s.sortDirection,e[38]=s.sortKey,e[39]=s.viewMode,e[40]=g):g=e[40];let u;e[41]!==s?(u=o=>{o.key==="Escape"&&(s.setSearch(""),o.target.blur())},e[41]=s,e[42]=u):u=e[42];let p;e[43]!==s.search||e[44]!==s.setSearch||e[45]!==u?(p=t.jsx(ne,{value:s.search,onChange:s.setSearch,placeholder:"Search for an agent...",onKeyDown:u}),e[43]=s.search,e[44]=s.setSearch,e[45]=u,e[46]=p):p=e[46];let h;e[47]!==R||e[48]!==s.handleSort||e[49]!==s.search||e[50]!==s.sortDirection||e[51]!==s.sortKey||e[52]!==s.viewMode||e[53]!==i||e[54]!==r.slug||e[55]!==f?(h=s.viewMode==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:f.length===0?t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:s.search?"No agents found":"No agents yet",description:s.search?`No agents match "${s.search}"`:"Create an agent to aggregate tools from multiple Connections."}):t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4",children:f.map(o=>t.jsx(ae,{connection:{id:o.id??"",title:o.title,description:o.description,icon:o.icon,status:o.status},fallbackIcon:t.jsx(x,{}),onClick:()=>i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}}),footer:t.jsx("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:t.jsxs("span",{children:[o.connections.length," connection",o.connections.length!==1?"s":""]})}),headerActions:t.jsxs(J,{children:[t.jsx(Q,{asChild:!0,children:t.jsx(q,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Ae,children:t.jsx(X,{size:20})})}),t.jsxs(U,{align:"end",onClick:ke,children:[t.jsxs(E,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}})},children:[t.jsx(G,{size:16}),"Open"]}),t.jsxs(E,{variant:"destructive",onClick:a=>{a.stopPropagation(),N({type:"delete",virtualMcp:o})},children:[t.jsx(Y,{size:16}),"Delete"]})]})]})},o.id??"default"))})}):t.jsx(ie,{columns:R,data:f,isLoading:!1,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,onRowClick:o=>i({to:"/$org/agents/$agentId",params:{org:r.slug,agentId:o.id}}),emptyState:s.search?t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:"No agents found",description:`No agents match "${s.search}"`}):t.jsx(W,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:"No agents yet",description:"Create an agent to aggregate tools from multiple Connections."})}),e[47]=R,e[48]=s.handleSort,e[49]=s.search,e[50]=s.sortDirection,e[51]=s.sortKey,e[52]=s.viewMode,e[53]=i,e[54]=r.slug,e[55]=f,e[56]=h):h=e[56];let K;return e[57]!==m||e[58]!==g||e[59]!==p||e[60]!==h?(K=t.jsxs(re,{children:[m,g,p,h]}),e[57]=m,e[58]=g,e[59]=p,e[60]=h,e[61]=K):K=e[61],K}function ke(e){return e.stopPropagation()}function Ae(e){return e.stopPropagation()}function ze(e){return e.stopPropagation()}function Me(e){return e.stopPropagation()}function Ie(e){return t.jsx(De,{variant:e.status==="active"?"default":"outline",children:e.status})}function Pe(e){return t.jsx("span",{className:"text-sm text-muted-foreground",children:e.connections.length})}function _e(e){return t.jsx("span",{className:"text-sm text-foreground line-clamp-2",children:e.description||"—"})}function $e(e){return t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:e.title})}function Ke(e){return t.jsx(le,{icon:e.icon,name:e.title,size:"sm",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(x,{size:16})})}function ft(){const e=Z.c(1);let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(ce,{children:t.jsx(ee.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Se,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(ve,{})})}),e[0]=r):r=e[0],r}export{ft as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as i,
|
|
1
|
+
import{r as i,y as m,j as r,aO as T,J as w,z as O,W as A,H as M,T as I,M as z,Q as F,aP as D,aQ as L,E as G,V as H,U as V,c as n}from"./index-Dho9MRVw.js";import{c as p,b as v}from"./button-D_0RTXDt.js";var x="AlertDialog",[W]=G(x,[D]),d=D(),N=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return r.jsx(M,{...a,...t,modal:!0})};N.displayName=x;var k="AlertDialogTrigger",Q=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(H,{...o,...a,ref:e})});Q.displayName=k;var Y="AlertDialogPortal",y=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return r.jsx(F,{...a,...t})};y.displayName=Y;var q="AlertDialogOverlay",_=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(V,{...o,...a,ref:e})});_.displayName=q;var f="AlertDialogContent",[B,J]=W(f),U=L("AlertDialogContent"),j=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,children:a,...o}=l,s=d(t),c=i.useRef(null),S=m(e,c),u=i.useRef(null);return r.jsx(T,{contentName:f,titleName:b,docsSlug:"alert-dialog",children:r.jsx(B,{scope:t,cancelRef:u,children:r.jsxs(w,{role:"alertdialog",...s,...o,ref:S,onOpenAutoFocus:O(o.onOpenAutoFocus,g=>{g.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:g=>g.preventDefault(),onInteractOutside:g=>g.preventDefault(),children:[r.jsx(U,{children:a}),r.jsx(X,{contentRef:c})]})})})});j.displayName=f;var b="AlertDialogTitle",h=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(I,{...o,...a,ref:e})});h.displayName=b;var E="AlertDialogDescription",R=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(z,{...o,...a,ref:e})});R.displayName=E;var K="AlertDialogAction",C=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(A,{...o,...a,ref:e})});C.displayName=K;var $="AlertDialogCancel",P=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,{cancelRef:o}=J($,t),s=d(t),c=m(e,o);return r.jsx(A,{...s,...a,ref:c})});P.displayName=$;var X=({contentRef:l})=>{const e=`\`${f}\` requires a description for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
|
-
You can add a description to the \`${f}\` by passing a \`${
|
|
3
|
+
You can add a description to the \`${f}\` by passing a \`${E}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
4
|
|
|
5
5
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${f}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
6
6
|
|
|
7
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return i.useEffect(()=>{document.getElementById(l.current?.getAttribute("aria-describedby"))||console.warn(e)},[e,l]),null},Z=N,ee=y,te=_,ae=j,oe=C,le=
|
|
7
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return i.useEffect(()=>{document.getElementById(l.current?.getAttribute("aria-describedby"))||console.warn(e)},[e,l]),null},Z=N,ee=y,te=_,ae=j,oe=C,le=P,se=h,re=R;function pe(l){const e=n.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=r.jsx(Z,{"data-slot":"alert-dialog",...t}),e[2]=t,e[3]=a):a=e[3],a}function ie(l){const e=n.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=r.jsx(ee,{"data-slot":"alert-dialog-portal",...t}),e[2]=t,e[3]=a):a=e[3],a}function ne(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(te,{"data-slot":"alert-dialog-overlay",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function fe(l){const e=n.c(9);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(ne,{}),e[3]=o):o=e[3];let s;e[4]!==t?(s=p("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-xl border p-6 shadow-lg duration-200 sm:max-w-lg",t),e[4]=t,e[5]=s):s=e[5];let c;return e[6]!==a||e[7]!==s?(c=r.jsxs(ie,{children:[o,r.jsx(ae,{"data-slot":"alert-dialog-content",className:s,...a})]}),e[6]=a,e[7]=s,e[8]=c):c=e[8],c}function ge(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col gap-2 text-center sm:text-left",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx("div",{"data-slot":"alert-dialog-header",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function ue(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx("div",{"data-slot":"alert-dialog-footer",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function me(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-lg font-semibold",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(se,{"data-slot":"alert-dialog-title",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function Ae(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-muted-foreground text-sm",t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(re,{"data-slot":"alert-dialog-description",className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function De(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v(),t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(oe,{className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}function ve(l){const e=n.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v({variant:"outline"}),t),e[3]=t,e[4]=o):o=e[4];let s;return e[5]!==a||e[6]!==o?(s=r.jsx(le,{className:o,...a}),e[5]=a,e[6]=o,e[7]=s):s=e[7],s}export{ve as A,fe as a,ge as b,me as c,Ae as d,ue as e,pe as f,De as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,a as m,j as n,A as o}from"./index-
|
|
1
|
+
import{c as r,a as m,j as n,A as o}from"./index-Dho9MRVw.js";function i(){const e=r.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/auth/$pathname"},e[0]=t):t=e[0];const{pathname:s}=m(t);let a;return e[1]!==s?(a=n.jsx("main",{className:"container mx-auto flex grow flex-col items-center justify-center gap-3 self-center p-4 md:p-6",children:n.jsx(o,{pathname:s})}),e[1]=s,e[2]=a):a=e[2],a}export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as R,c as j,j as i,t as I,aL as M,aM as U,aN as $}from"./index-Dho9MRVw.js";import{c as f}from"./button-D_0RTXDt.js";const V=({size:a=24,color:e="currentColor",...s})=>R.createElement("svg",{viewBox:"0 0 24 24",width:a,height:a,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},R.createElement("path",{d:"M20 21c0-1.396 0-2.093-.172-2.661a4 4 0 0 0-2.667-2.667c-.568-.172-1.265-.172-2.661-.172h-5c-1.396 0-2.093 0-2.661.172a4 4 0 0 0-2.667 2.667C4 18.907 4 19.604 4 21M16.5 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"}));V.displayName="User01";function O(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("relative flex size-8 shrink-0 overflow-hidden rounded-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx($,{"data-slot":"avatar",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}function T(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("aspect-square size-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx(M,{"data-slot":"avatar-image",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}function W(a){const e=j.c(8);let s,t;e[0]!==a?({className:s,...t}=a,e[0]=a,e[1]=s,e[2]=t):(s=e[1],t=e[2]);let o;e[3]!==s?(o=f("bg-muted flex size-full items-center justify-center rounded-full",s),e[3]=s,e[4]=o):o=e[4];let r;return e[5]!==t||e[6]!==o?(r=i.jsx(U,{"data-slot":"avatar-fallback",className:o,...t}),e[5]=t,e[6]=o,e[7]=r):r=e[7],r}const S=["drop-shadow-lg bg-gradient-to-br from-red-100 to-red-300 text-red-800 shadow-lg shadow-red-300/40 ring-1 ring-red-300/30","drop-shadow-lg bg-gradient-to-br from-lime-100 to-lime-300 text-lime-800 shadow-lg shadow-lime-300/40 ring-1 ring-lime-300/30","drop-shadow-lg bg-gradient-to-br from-emerald-100 to-emerald-300 text-emerald-800 shadow-lg shadow-emerald-300/40 ring-1 ring-emerald-300/30","drop-shadow-lg bg-gradient-to-br from-orange-100 to-orange-300 text-orange-800 shadow-lg shadow-orange-300/40 ring-1 ring-orange-300/30","drop-shadow-lg bg-gradient-to-br from-amber-100 to-amber-300 text-amber-800 shadow-lg shadow-amber-300/40 ring-1 ring-amber-300/30","drop-shadow-lg bg-gradient-to-br from-yellow-100 to-yellow-300 text-yellow-800 shadow-lg shadow-yellow-300/40 ring-1 ring-yellow-300/30","drop-shadow-lg bg-gradient-to-br from-green-100 to-green-300 text-green-800 shadow-lg shadow-green-300/40 ring-1 ring-green-300/30","drop-shadow-lg bg-gradient-to-br from-teal-100 to-teal-300 text-teal-800 shadow-lg shadow-teal-300/40 ring-1 ring-teal-300/30","drop-shadow-lg bg-gradient-to-br from-cyan-100 to-cyan-300 text-cyan-800 shadow-lg shadow-cyan-300/40 ring-1 ring-cyan-300/30","drop-shadow-lg bg-gradient-to-br from-sky-100 to-sky-300 text-sky-800 shadow-lg shadow-sky-300/40 ring-1 ring-sky-300/30","drop-shadow-lg bg-gradient-to-br from-blue-100 to-blue-300 text-blue-800 shadow-lg shadow-blue-300/40 ring-1 ring-blue-300/30","drop-shadow-lg bg-gradient-to-br from-indigo-100 to-indigo-300 text-indigo-800 shadow-lg shadow-indigo-300/40 ring-1 ring-indigo-300/30","drop-shadow-lg bg-gradient-to-br from-violet-100 to-violet-300 text-violet-800 shadow-lg shadow-violet-300/40 ring-1 ring-violet-300/30","drop-shadow-lg bg-gradient-to-br from-purple-100 to-purple-300 text-purple-800 shadow-lg shadow-purple-300/40 ring-1 ring-purple-300/30","drop-shadow-lg bg-gradient-to-br from-fuchsia-100 to-fuchsia-300 text-fuchsia-800 shadow-lg shadow-fuchsia-300/40 ring-1 ring-fuchsia-300/30","drop-shadow-lg bg-gradient-to-br from-pink-100 to-pink-300 text-pink-800 shadow-lg shadow-pink-300/40 ring-1 ring-pink-300/30","drop-shadow-lg bg-gradient-to-br from-rose-100 to-rose-300 text-rose-800 shadow-lg shadow-rose-300/40 ring-1 ring-rose-300/30"],_="drop-shadow-lg text-muted-foreground bg-muted shadow-lg";function B(a){let e=0;for(let t=0;t<a.length;t++)e=a.charCodeAt(t)+((e<<5)-e);const s=Math.abs(e)%S.length;return S[s]}const L=I("border border-border",{variants:{shape:{circle:"rounded-full",square:""},size:{"3xs":"w-3 h-3 text-xs font-semibold","2xs":"w-4 h-4 text-xs font-semibold",xs:"w-6 h-6 text-sm font-semibold",sm:"w-8 h-8 text-lg font-semibold",base:"w-10 h-10 text-2xl font-semibold",lg:"w-12 h-12 text-3xl font-semibold",xl:"w-16 h-16 text-4xl font-semibold","2xl":"w-20 h-20 text-5xl font-semibold","3xl":"w-32 h-32 text-7xl font-semibold"}},compoundVariants:[{shape:"square",size:"xs",class:"rounded-lg"},{shape:"square",size:"sm",class:"rounded-xl"},{shape:"square",size:"base",class:"rounded-xl"},{shape:"square",size:"lg",class:"rounded-xl"},{shape:"square",size:"xl",class:"rounded-2xl"},{shape:"square",size:"2xl",class:"rounded-3xl"},{shape:"square",size:"3xl",class:"rounded-[40px]"}],defaultVariants:{shape:"square",size:"base"}}),D=I("",{variants:{objectFit:{contain:"object-contain",cover:"object-cover"}},defaultVariants:{objectFit:"cover"}}),Z=a=>{const e={"3xs":8,"2xs":8,xs:12,sm:16,base:24,lg:28,xl:36,"2xl":48,"3xl":80};return e[a]||e.base};function G(a){const e=j.c(35);let s,t,o,r,n,d,g,l;e[0]!==a?({url:l,fallback:t,shape:r,size:n,objectFit:d,className:s,muted:g,...o}=a,e[0]=a,e[1]=s,e[2]=t,e[3]=o,e[4]=r,e[5]=n,e[6]=d,e[7]=g,e[8]=l):(s=e[1],t=e[2],o=e[3],r=e[4],n=e[5],d=e[6],g=e[7],l=e[8]);const b=r===void 0?"square":r,h=n===void 0?"base":n,u=d===void 0?"cover":d,k=g===void 0?!1:g,[m,x]=R.useState(!1);let F;e:{if(typeof t=="string"){let c;e[9]!==t?(c=t.trim().slice(0,2).toUpperCase(),e[9]=t,e[10]=c):c=e[10],F=c;break e}F=t}const C=F;let z;e:{if(k){z=_;break e}if(typeof t=="string"){let c;e[11]!==t?(c=B(t),e[11]=t,e[12]=c):c=e[12],z=c;break e}z=S[0]}const y=z;let N;e[13]!==l?(N=l?.startsWith("icon://"),e[13]=l,e[14]=N):N=e[14];const p=N;let q;e[15]!==p||e[16]!==l?(q=p?l?.replace("icon://",""):void 0,e[15]=p,e[16]=l,e[17]=q):q=e[17];const E=q;let w;e[18]!==s||e[19]!==b||e[20]!==h?(w=f(L({shape:b,size:h}),s),e[18]=s,e[19]=b,e[20]=h,e[21]=w):w=e[21];let v;e[22]!==y||e[23]!==C||e[24]!==E||e[25]!==m||e[26]!==p||e[27]!==u||e[28]!==h||e[29]!==l?(v=p&&E?i.jsx("div",{className:f("flex items-center justify-center w-full h-full",y),children:i.jsx(V,{size:Z(h)})}):i.jsxs(i.Fragment,{children:[l&&!m&&i.jsx(T,{src:l,loading:"lazy",alt:"Avatar",className:f(D({objectFit:u})),onError:()=>x(!0)}),(!l||m)&&i.jsx(W,{className:f(y,"rounded-none"),children:C})]}),e[22]=y,e[23]=C,e[24]=E,e[25]=m,e[26]=p,e[27]=u,e[28]=h,e[29]=l,e[30]=v):v=e[30];let A;return e[31]!==o||e[32]!==v||e[33]!==w?(A=i.jsx(O,{className:w,...o,children:v}),e[31]=o,e[32]=v,e[33]=w,e[34]=A):A=e[34],A}function H(a){const e=j.c(18);let s,t,o,r,n,d,g,l;e[0]!==a?({shape:r,size:n,url:l,fallback:t,objectFit:d,className:s,muted:g,...o}=a,e[0]=a,e[1]=s,e[2]=t,e[3]=o,e[4]=r,e[5]=n,e[6]=d,e[7]=g,e[8]=l):(s=e[1],t=e[2],o=e[3],r=e[4],n=e[5],d=e[6],g=e[7],l=e[8]);const b=r===void 0?"square":r,h=n===void 0?"base":n,u=d===void 0?"cover":d,k=g===void 0?!1:g,m=h??"base";let x;return e[9]!==s||e[10]!==t||e[11]!==k||e[12]!==u||e[13]!==o||e[14]!==b||e[15]!==m||e[16]!==l?(x=i.jsx(G,{shape:b,url:l,fallback:t,size:m,objectFit:u,className:s,muted:k,...o}),e[9]=s,e[10]=t,e[11]=k,e[12]=u,e[13]=o,e[14]=b,e[15]=m,e[16]=l,e[17]=x):x=e[17],x}H.Skeleton=function({shape:e="square",size:s="base",className:t}){return i.jsx("div",{className:f(L({shape:e,size:s}),"bg-muted animate-pulse",t)})};export{H as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,j as u,
|
|
1
|
+
import{c as d,j as u,Z as l,t as v}from"./index-Dho9MRVw.js";import{c as g}from"./button-D_0RTXDt.js";const f=v("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",success:"border-transparent bg-success text-success-foreground [a&]:hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function m(o){const e=d.c(12);let r,s,a,t;e[0]!==o?({className:r,variant:t,asChild:a,...s}=o,e[0]=o,e[1]=r,e[2]=s,e[3]=a,e[4]=t):(r=e[1],s=e[2],a=e[3],t=e[4]);const c=(a===void 0?!1:a)?l:"span";let i;e[5]!==r||e[6]!==t?(i=g(f({variant:t}),r),e[5]=r,e[6]=t,e[7]=i):i=e[7];let n;return e[8]!==c||e[9]!==s||e[10]!==i?(n=u.jsx(c,{"data-slot":"badge",className:i,...s}),e[8]=c,e[9]=s,e[10]=i,e[11]=n):n=e[11],n}export{m as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-Dho9MRVw.js";function a(o){return{isImplementedBy:c=>{for(const e of o){const r=typeof e.name=="string"?new RegExp(`^${e.name}$`):e.name,t=c.find(i=>r.test(i.name));if(!(!t&&e.opt)&&!t)return!1}return!0}}}function s(o,c){const e=o.tools;if(!e||e.length===0)return!1;const r=e.map(n=>({name:n.name,inputSchema:n.inputSchema})),t=c.map(n=>({name:n.name,inputSchema:n.inputSchema,opt:n.opt}));return a(t).isImplementedBy(r)}export{a,s as c};
|