@decocms/mesh 2.54.0 → 2.56.0
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-BNrToYqt.js → AlertCircle-D0dYVV_C.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DVzawF9a.js → ArrowLeft-DaBwGT1h.js} +1 -1
- package/dist/client/assets/{ArrowUp-CQ6e-0Wq.js → ArrowUp-j0Zx2i-T.js} +1 -1
- package/dist/client/assets/{Check-DMnBEe7d.js → Check-DxEsBW6A.js} +1 -1
- package/dist/client/assets/{ChevronDown-DYaI8r4n.js → ChevronDown-BLLsYwZi.js} +1 -1
- package/dist/client/assets/{Code01-DZVRt5kV.js → Code01-q6RjOjO2.js} +1 -1
- package/dist/client/assets/{Copy01-BwkisDCV.js → Copy01-CiRHbRil.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-rOjdNukD.js → DotsHorizontal-D_i29myt.js} +1 -1
- package/dist/client/assets/{DotsVertical-BGbgu7b2.js → DotsVertical-YtFig9Al.js} +1 -1
- package/dist/client/assets/{Download01-4jXVG4K4.js → Download01-ColP9k0s.js} +1 -1
- package/dist/client/assets/{Edit01-wqwwGiYF.js → Edit01-CvwEhkEB.js} +1 -1
- package/dist/client/assets/{File06-C6My3XVL.js → File06-VVEb2XPf.js} +1 -1
- package/dist/client/assets/{FilterLines-Jj3LRK8W.js → FilterLines-C6u5hl0S.js} +1 -1
- package/dist/client/assets/{FlipBackward-1lTXi-tI.js → FlipBackward-Bwy_5A0g.js} +1 -1
- package/dist/client/assets/{Grid01-Bdj0DO95.js → Grid01-C2ELbDxI.js} +1 -1
- package/dist/client/assets/{Home02-C3qWN7FF.js → Home02-D8O3gYg1.js} +1 -1
- package/dist/client/assets/{Image01-Dc_pe81m.js → Image01-BV4jTRkm.js} +1 -1
- package/dist/client/assets/{Inbox01-DN5qsZAf.js → Inbox01-nY-CiFPV.js} +1 -1
- package/dist/client/assets/{InfoCircle-AjZVF2_p.js → InfoCircle-BMyKDxax.js} +1 -1
- package/dist/client/assets/{Key01-C8ywJvkf.js → Key01-BdALywUo.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CAKceOnP.js → LinkExternal01-CNdI9age.js} +1 -1
- package/dist/client/assets/{List-BS8tj6D9.js → List-DALRRs8f.js} +1 -1
- package/dist/client/assets/{Loading01-stdXpzCa.js → Loading01-Ck4DHeCz.js} +1 -1
- package/dist/client/assets/{Lock01-BcNPPpBt.js → Lock01-CTXkP_M4.js} +1 -1
- package/dist/client/assets/{Pin01-D59W0yB2.js → Pin01-Dn3xisY_.js} +1 -1
- package/dist/client/assets/{Play-JAaq_Zok.js → Play-BRWhqcey.js} +1 -1
- package/dist/client/assets/{Plus-6TXXlKsg.js → Plus-CWYnIbbQ.js} +1 -1
- package/dist/client/assets/{SearchMd-oyZamHNd.js → SearchMd-BwwEmX02.js} +1 -1
- package/dist/client/assets/{Share07-BCHzNeln.js → Share07-BFonVbaA.js} +1 -1
- package/dist/client/assets/{Terminal-DpoB_Nnm.js → Terminal-DBu0XX3z.js} +1 -1
- package/dist/client/assets/{Trash01-DgWJSlUs.js → Trash01-O2qCmwMn.js} +1 -1
- package/dist/client/assets/{Upload01-BjEM3By0.js → Upload01-DI7SlvsT.js} +1 -1
- package/dist/client/assets/{Users03-D06cOlD9.js → Users03-BmQGs7qi.js} +1 -1
- package/dist/client/assets/{X-B3E_i9w8.js → X-DfKEMSAq.js} +1 -1
- package/dist/client/assets/{XClose-DbQtCRTh.js → XClose--VE6Uxj9.js} +1 -1
- package/dist/client/assets/{agent-detail-BqLltO_D.js → agent-detail-z7HVUEos.js} +1 -1
- package/dist/client/assets/{agents-EthPX2Sx.js → agents-BrJ8JJdU.js} +1 -1
- package/dist/client/assets/{alert-dialog-Bu0WgFow.js → alert-dialog-BehqkAiu.js} +1 -1
- package/dist/client/assets/{auth-catchall-CiJ0m0PC.js → auth-catchall-D4TSd1Ye.js} +1 -1
- package/dist/client/assets/{avatar-BB_rXRq3.js → avatar-brRXoKvO.js} +1 -1
- package/dist/client/assets/{badge-CMjk7ZQl.js → badge-CngTAfQv.js} +1 -1
- package/dist/client/assets/{binder-BtuXw41S.js → binder-CIKIGv1N.js} +1 -1
- package/dist/client/assets/{button-J3cF8gn2.js → button-BHD-W54e.js} +1 -1
- package/dist/client/assets/{card-BEYPRwIW.js → card-CDL86Pnt.js} +1 -1
- package/dist/client/assets/{checkbox-CMebF7uB.js → checkbox-CCyLipUT.js} +1 -1
- package/dist/client/assets/{circle-alert-B3wSJq8g.js → circle-alert-DgFpoHtR.js} +1 -1
- package/dist/client/assets/{collection-detail-q4bdlu-Y.js → collection-detail-13BCxPKs.js} +1 -1
- package/dist/client/assets/{collection-display-button-CIG4UlNd.js → collection-display-button-D7y47NmT.js} +1 -1
- package/dist/client/assets/{collection-header-DZQxFlAZ.js → collection-header-BH0hMpwH.js} +1 -1
- package/dist/client/assets/{collection-page--GkZ_yos.js → collection-page-D7qrDAdO.js} +1 -1
- package/dist/client/assets/{collection-search-eDraKk_7.js → collection-search-DriJZFj9.js} +1 -1
- package/dist/client/assets/{collection-tab-CmWvDTYN.js → collection-tab-CcL8qVIp.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Dj2d98zl.js → collection-table-wrapper-XQuXSlg_.js} +1 -1
- package/dist/client/assets/{connect-DhcqxjCL.js → connect-BAmGV9_O.js} +1 -1
- package/dist/client/assets/{connection-card-Ccox5O3O.js → connection-card-DXxyylc0.js} +1 -1
- package/dist/client/assets/{connection-detail-CDIu0c_7.js → connection-detail-D-r8wdLm.js} +1 -1
- package/dist/client/assets/{connections-DF2LtdfV.js → connections-u-2LGaVH.js} +1 -1
- package/dist/client/assets/constants--B4rZxpd.js +1 -0
- package/dist/client/assets/{constants-BmqLVuWU.js → constants-B-pBHHtD.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-DlH9L-XC.js → create-organization-dialog-B9AunrOf.js} +1 -1
- package/dist/client/assets/{dialog-BV8KUT3e.js → dialog-pQaEse5h.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CU8uwIKK.js → dropdown-menu-D88t_1GY.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DjpKl9Qr.js → dynamic-plugin-layout-D_WzC1mY.js} +1 -1
- package/dist/client/assets/{empty-state-CfI4fWtm.js → empty-state-NBwahr1o.js} +1 -1
- package/dist/client/assets/{empty-state-2Xn44rR5.js → empty-state-eAV0ZWF3.js} +1 -1
- package/dist/client/assets/{env-vars-editor-DXXr0NVr.js → env-vars-editor-B0hNi1Xe.js} +1 -1
- package/dist/client/assets/{error-boundary-CjvBdF4U.js → error-boundary-DVK1pLb7.js} +1 -1
- package/dist/client/assets/{extract-connection-data-D5joWUDQ.js → extract-connection-data-BKsqjhg6.js} +1 -1
- package/dist/client/assets/{file-browser-BCPabXi1.js → file-browser-BAc2Lle0.js} +2 -2
- package/dist/client/assets/{form-CSJH-qJ2.js → form-CilxoLBx.js} +1 -1
- package/dist/client/assets/{grid-view-FrpGmfU1.js → grid-view-HgHaVP5u.js} +1 -1
- package/dist/client/assets/{home-GDBp14_L.js → home-BplrQ6hr.js} +1 -1
- package/dist/client/assets/{index-BqKCuZIu.js → index-BAsk5kiO.js} +69 -69
- package/dist/client/assets/{index-D6uekia5.js → index-BE9VxaVK.js} +1 -1
- package/dist/client/assets/{index-DMEXMtKl.js → index-BuKAiFTQ.js} +1 -1
- package/dist/client/assets/{index-BArrD_jJ.js → index-C1WEmg2h.js} +1 -1
- package/dist/client/assets/{index-Bo2GtwUe.js → index-CmaBy21Y.js} +1 -1
- package/dist/client/assets/{index-BFVvPqrB.js → index-DAh_kZ0g.js} +31 -31
- package/dist/client/assets/{infiniteQueryObserver-Bg8GK9wP.js → infiniteQueryObserver-C9HxWVU4.js} +1 -1
- package/dist/client/assets/{input-ChOg4EAJ.js → input-RCMmufsJ.js} +1 -1
- package/dist/client/assets/{layout-BApDTXJO.js → layout-DjRPo0f0.js} +1 -1
- package/dist/client/assets/{localstorage-keys-7ls-GwBJ.js → localstorage-keys-DYY-WP6R.js} +1 -1
- package/dist/client/assets/{login-BG_-CcHT.js → login-B66-dBlb.js} +1 -1
- package/dist/client/assets/{mcp-oauth-3en47Te1.js → mcp-oauth-BPHDdGDM.js} +1 -1
- package/dist/client/assets/{mcp-server-card-CSaO1GV2.js → mcp-server-card-ClUnyTeG.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-Dwv3TVPW.js → mcp-server-detail-DjK313CG.js} +2 -2
- package/dist/client/assets/{members-CA_mYViu.js → members-BiBJtYHt.js} +1 -1
- package/dist/client/assets/{monaco-editor-T1r-xUVG.js → monaco-editor-Vlv3xLsL.js} +1 -1
- package/dist/client/assets/{monitoring-ZbdVzU24.js → monitoring-CFHx7vto.js} +1 -1
- package/dist/client/assets/{oauth-callback-C5GT1qkE.js → oauth-callback-CnDURlld.js} +1 -1
- package/dist/client/assets/{page-CinEAb4Z.js → page-C-5nFDs7.js} +1 -1
- package/dist/client/assets/{page-0xoc5JHV.js → page-CuldkWOh.js} +1 -1
- package/dist/client/assets/{pin-to-sidebar-button-DLTYtFsW.js → pin-to-sidebar-button-BqldlKO8.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-DEni7Z0l.js → plugin-empty-state-Cvb8CkFY.js} +1 -1
- package/dist/client/assets/{plugin-header-CVeNptIv.js → plugin-header-CPf3xeql.js} +1 -1
- package/dist/client/assets/{plugins-DxBZdoQL.js → plugins-CEjaHdFO.js} +1 -1
- package/dist/client/assets/{popover-DVcyGVQw.js → popover-CuFXrDp7.js} +1 -1
- package/dist/client/assets/{registry-utils-BSSRgtrE.js → registry-utils-DQ7VA2Vu.js} +1 -1
- package/dist/client/assets/{resizable-CfLd1RnW.js → resizable-DNHv_vEu.js} +1 -1
- package/dist/client/assets/{resource-tabs-COQr00qh.js → resource-tabs-B1t9TZZp.js} +1 -1
- package/dist/client/assets/{select-Cxe-DhFd.js → select-C93bGKrw.js} +1 -1
- package/dist/client/assets/{settings-BTc-VJHJ.js → settings-DzBM5dB5.js} +1 -1
- package/dist/client/assets/{shell-layout-BJz2y0e2.js → shell-layout-Du03vu_F.js} +1 -1
- package/dist/client/assets/{spinner-CdqIEQLS.js → spinner-ClVwh8PC.js} +1 -1
- package/dist/client/assets/{store-invite-B1qpOpl6.js → store-invite-DMm7m90Q.js} +1 -1
- package/dist/client/assets/{switch-E9hEMR25.js → switch-CczEwfhr.js} +1 -1
- package/dist/client/assets/{textarea-rQSkT8jl.js → textarea-DkpJZOQj.js} +1 -1
- package/dist/client/assets/{tool-set-selector-DRq3-_sz.js → tool-set-selector-BcnjHVtB.js} +1 -1
- package/dist/client/assets/{tools-list-DPWtzoLD.js → tools-list-C2rBUSqb.js} +1 -1
- package/dist/client/assets/{tooltip-szRTVhw8.js → tooltip-HFuN7GTj.js} +1 -1
- package/dist/client/assets/{typewriter-title-kKqfL8ys.js → typewriter-title-RQ8hypt2.js} +1 -1
- package/dist/client/assets/{use-binding-VN4pkc08.js → use-binding-EEeU2eYF.js} +1 -1
- package/dist/client/assets/{use-collections-CBMJoxAu.js → use-collections-D-6KNpdU.js} +1 -1
- package/dist/client/assets/{use-connection-BMf45qiZ.js → use-connection-z2hJ-uqu.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-oJMHb3Hn.js → use-create-virtual-mcp-0twT7MZg.js} +1 -1
- package/dist/client/assets/{use-list-state-CuwcoaIK.js → use-list-state-BTo0-e9z.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Cz_r1vTs.js → use-mcp-prompts-B8mueLey.js} +1 -1
- package/dist/client/assets/{use-members-CM_ggyW5.js → use-members-BEYt2fvB.js} +1 -1
- package/dist/client/assets/{use-mobile-cE30-TBn.js → use-mobile-DmEMdkp7.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BH51W5R9.js → use-organization-settings-D0xJfqnQ.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CDl7hSS2.js → use-virtual-mcp-BfKCjW0R.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-Cq-2vEQG.js +1 -0
- package/dist/client/assets/{useMutation-7JLPlPaT.js → useMutation-D2ghwSsm.js} +1 -1
- package/dist/client/assets/useQuery-CiLTpy4Q.js +1 -0
- package/dist/client/assets/{view-mode-toggle-CDsgU6pG.js → view-mode-toggle-CAFyQEy3.js} +1 -1
- package/dist/client/assets/{workflow-Cl4tRrSd.js → workflow-BCWkw-sy.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/constants-BOzgaCbN.js +0 -1
- package/dist/client/assets/useInfiniteQuery-CAMkyTNk.js +0 -1
- package/dist/client/assets/useQuery-BjPTe_W-.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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-DAh_kZ0g.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}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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:"M3 9h13.5a4.5 4.5 0 1 1 0 9H12M3 9l4-4M3 9l4 4"}));i.displayName="FlipBackward";export{i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t}from"./index-
|
|
1
|
+
import{r as t}from"./index-DAh_kZ0g.js";const a=({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 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";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:"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"}));i.displayName="Play";export{i,a as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r}from"./index-
|
|
1
|
+
import{r}from"./index-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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-DAh_kZ0g.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as y,c as M,j as t,p as nt,l as We,a as rt,f as it,V as at,s as ct,bj as dt,bt as mt,u as ut,h as ft,k as ht,ab as Re}from"./index-BFVvPqrB.js";import{I as Ae,E as xt}from"./empty-state-CfI4fWtm.js";import{E as Ye}from"./error-boundary-CjvBdF4U.js";import{C as Ge}from"./checkbox-CMebF7uB.js";import{c as G,B as q}from"./button-J3cF8gn2.js";import{i as pt}from"./ArrowLeft-DVzawF9a.js";import{b as He}from"./use-connection-BMf45qiZ.js";import{C as gt}from"./collection-search-eDraKk_7.js";import{I as Ve}from"./input-ChOg4EAJ.js";import{s as jt}from"./Plus-6TXXlKsg.js";import{i as bt}from"./X-B3E_i9w8.js";import{P as vt}from"./pin-to-sidebar-button-DLTYtFsW.js";import{T as yt}from"./tool-set-selector-DRq3-_sz.js";import{I as Nt,R as St,a as Ct,u as De}from"./index-Bo2GtwUe.js";import{c as Fe,K as Le}from"./constants-BmqLVuWU.js";import{l as _t,a as wt}from"./use-mcp-prompts-Cz_r1vTs.js";import{u as kt,a as It}from"./use-virtual-mcp-CDl7hSS2.js";import{s as Ke}from"./slugify-CEUa2lfQ.js";import{B as Qe}from"./badge-CMjk7ZQl.js";import{b as Tt,c as Mt,a as $t,D as Pt}from"./dialog-BV8KUT3e.js";import{F as de,a as zt,b as me,d as ue,f as fe,c as Je}from"./form-CSJH-qJ2.js";import{R as Rt}from"./resource-tabs-COQr00qh.js";import{S as At,a as Vt,b as Et,c as Dt,d as Oe}from"./select-Cxe-DhFd.js";import{S as Ft}from"./switch-E9hEMR25.js";import{T as Lt}from"./textarea-rQSkT8jl.js";import{b as Q,c as J,T as Z,a as X}from"./tooltip-szRTVhw8.js";import{i as Ze}from"./Check-DMnBEe7d.js";import{i as Ot}from"./Code01-DZVRt5kV.js";import{a as Bt}from"./Copy01-BwkisDCV.js";import{i as qt}from"./FlipBackward-1lTXi-tI.js";import{i as Ce}from"./InfoCircle-AjZVF2_p.js";import{i as ze}from"./Loading01-stdXpzCa.js";import{i as Ut}from"./Share07-BCHzNeln.js";import{t as Wt}from"./Users03-D06cOlD9.js";import{a as Yt,V as Gt,b as Ht}from"./layout-BApDTXJO.js";import"./use-collections-CBMJoxAu.js";import"./useMutation-7JLPlPaT.js";import"./useQuery-BjPTe_W-.js";import"./SearchMd-oyZamHNd.js";import"./Pin01-D59W0yB2.js";import"./use-organization-settings-BH51W5R9.js";import"./ChevronDown-DYaI8r4n.js";const Xe=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));Xe.displayName="ArrowsRight";const et=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));et.displayName="Circle";const tt=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));tt.displayName="Lightbulb02";const st=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));st.displayName="Save01";const Kt=y.memo(function(e){const s=M.c(20),{connection:l,isSelected:n,hasItemsEnabled:r,activeItemsCount:i,totalItemsCount:a,onSelect:m,onToggle:c}=e,d=n?"bg-accent/50":"hover:bg-muted/50";let u;s[0]!==d?(u=G("flex items-center gap-3 p-2 rounded-lg transition-colors will-change-auto",d),s[0]=d,s[1]=u):u=s[1];let f;s[2]!==l.icon||s[3]!==l.title?(f=t.jsx(Ae,{icon:l.icon,name:l.title,size:"xs"}),s[2]=l.icon,s[3]=l.title,s[4]=f):f=s[4];let x;s[5]!==l.title?(x=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:l.title})}),s[5]=l.title,s[6]=x):x=s[6];let p;s[7]!==m||s[8]!==f||s[9]!==x?(p=t.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 cursor-pointer",onClick:m,children:[f,x]}),s[7]=m,s[8]=f,s[9]=x,s[10]=p):p=s[10];let g;s[11]!==i||s[12]!==r||s[13]!==c||s[14]!==a?(g=a>0&&t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:[i,"/",a]}),t.jsx(Ge,{checked:r,onCheckedChange:c,onClick:Jt})]}),s[11]=i,s[12]=r,s[13]=c,s[14]=a,s[15]=g):g=s[15];let S;return s[16]!==u||s[17]!==p||s[18]!==g?(S=t.jsxs("div",{className:u,children:[p,g]}),s[16]=u,s[17]=p,s[18]=g,s[19]=S):S=s[19],S}),Qt=y.memo(function(e){const s=M.c(18),{connectionId:l,item:n,isSelected:r,onToggle:i}=e,a=`item-${l}-${n.id}`,m=r?"text-foreground":"text-muted-foreground";let c;s[0]!==m?(c=G("text-sm font-medium",m),s[0]=m,s[1]=c):c=s[1];let d;s[2]!==n.name||s[3]!==c?(d=t.jsx("div",{className:"flex items-center gap-2 mb-1",children:t.jsx("span",{className:c,children:n.name})}),s[2]=n.name,s[3]=c,s[4]=d):d=s[4];let u;s[5]!==n.description?(u=n.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:n.description}),s[5]=n.description,s[6]=u):u=s[6];let f;s[7]!==d||s[8]!==u?(f=t.jsxs("div",{className:"flex-1 min-w-0",children:[d,u]}),s[7]=d,s[8]=u,s[9]=f):f=s[9];const x=`item-${l}-${n.id}`;let p;s[10]!==r||s[11]!==i||s[12]!==x?(p=t.jsx("div",{className:"flex items-center shrink-0",children:t.jsx(Ge,{id:x,checked:r,onCheckedChange:i,onClick:Zt})}),s[10]=r,s[11]=i,s[12]=x,s[13]=p):p=s[13];let g;return s[14]!==a||s[15]!==f||s[16]!==p?(g=t.jsxs("label",{className:"flex items-center gap-3 p-3 rounded-lg hover:bg-muted/50 cursor-pointer group will-change-auto",htmlFor:a,children:[f,p]}),s[14]=a,s[15]=f,s[16]=p,s[17]=g):g=s[17],g});function ot({itemSet:o,onItemSetChange:e,getItems:s,itemLabel:l,emptyItemsMessage:n,extraContent:r,excludeVirtualMcpId:i}){const[a,m]=y.useState(""),c=y.useDeferredValue(a),[d,u]=y.useState("all"),[f,x]=y.useState(!1),p=y.useRef(new Set(Object.keys(o))),g=He({searchTerm:c.trim()||void 0}),S=i?g.filter(h=>h.connection_type!=="VIRTUAL"?!0:nt(h.connection_url)!==i):g,C=p.current,I=[...C.values()].map(h=>S.find(N=>N.id===h)).filter(h=>h!==void 0),k=S.filter(h=>!C.has(h.id)),j=[...I,...k],v=h=>{const N=o[h];return N!==void 0&&N.length>0},_=j.filter(h=>{if(d==="all")return!0;const N=v(h.id);return d==="selected"?N:d==="unselected"?!N:!0}),[T,$]=y.useState(j[0]?.id??null),w=T?j.find(h=>h.id===T)??null:null,P=w?s(w):[],V=(h,N)=>o[h]?.includes(N)??!1,z=(h,N)=>{const D=o[h]??[],F=D.includes(N),U={...o};if(F){const W=D.filter(H=>H!==N);W.length===0?delete U[h]:U[h]=W}else U[h]=[...D,N];e(U)},R=h=>{const N=j.find(O=>O.id===h);if(!N)return;const D=s(N);if(D.length===0)return;const F=o[h]??[],U=D.map(O=>O.id),W=F.length>0&&U.every(O=>F.includes(O)),H={...o};W?delete H[h]:(H[h]=U,$(h)),e(H)},E=h=>{$(h),x(!0)},L=()=>{x(!1)};return t.jsxs("div",{className:"flex h-full",children:[t.jsxs("div",{className:G("w-full md:w-80 border-r border-border flex flex-col",f&&"hidden md:flex"),children:[t.jsx(gt,{value:a,onChange:m,placeholder:"Search Connections..."}),t.jsxs("div",{className:"flex gap-1 p-2 border-b border-border",children:[t.jsx("button",{onClick:()=>u("all"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="all"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"All"}),t.jsx("button",{onClick:()=>u("selected"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="selected"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"Selected"}),t.jsx("button",{onClick:()=>u("unselected"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="unselected"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"Unselected"})]}),t.jsx("div",{className:"flex-1 overflow-auto",children:_.length===0?t.jsx("div",{className:"p-4 text-sm text-muted-foreground text-center",children:a?"No connections found":d==="selected"?"No servers selected":d==="unselected"?"No unselected servers":"No connections available"}):t.jsx("div",{className:"p-2 space-y-1",children:_.map(h=>{const D=s(h).length,F=o[h.id]?.length??0;return t.jsx(Kt,{connection:h,isSelected:T===h.id,hasItemsEnabled:v(h.id),activeItemsCount:F,totalItemsCount:D,onSelect:()=>E(h.id),onToggle:()=>R(h.id)},h.id)})})})]}),t.jsx("div",{className:G("flex-1 flex-col",f?"flex":"hidden md:flex"),children:w?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"md:hidden border-b border-border p-4 flex items-center gap-3",children:[t.jsx(q,{variant:"ghost",size:"sm",onClick:L,className:"h-8 w-8 p-0 shrink-0",children:t.jsx(pt,{size:20})}),t.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[t.jsx(Ae,{icon:w.icon,name:w.title,size:"sm"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("h3",{className:"text-base font-medium text-foreground truncate",children:w.title}),w.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:w.description})]})]})]}),r,t.jsx("div",{className:"flex-1 overflow-auto p-4",children:P.length===0?t.jsx("div",{className:"text-sm text-muted-foreground text-center py-8",children:n||`This connection has no ${l} available`}):t.jsx("div",{className:"space-y-2",children:P.map(h=>t.jsx(Qt,{connectionId:w.id,item:h,isSelected:V(w.id,h.id),onToggle:()=>z(w.id,h.id)},h.id))})})]}):t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsxs("div",{className:"text-sm text-muted-foreground text-center",children:["Select a connection to view its ",l]})})})]})}function Jt(o){return o.stopPropagation()}function Zt(o){return o.stopPropagation()}function Xt(o){const e=M.c(7),{promptSet:s,onPromptSetChange:l,connectionPrompts:n,excludeVirtualMcpId:r}=o;let i;e[0]!==n?(i=c=>(n.get(c.id)??[]).map(es),e[0]=n,e[1]=i):i=e[1];const a=i;let m;return e[2]!==r||e[3]!==a||e[4]!==l||e[5]!==s?(m=t.jsx(ot,{itemSet:s,onItemSetChange:l,getItems:a,itemLabel:"prompts",emptyItemsMessage:"This connection has no prompts available",excludeVirtualMcpId:r}),e[2]=r,e[3]=a,e[4]=l,e[5]=s,e[6]=m):m=e[6],m}function es(o){return{id:o.name,name:o.name,description:o.description}}function ts(o){return o.includes("*")}function ss(o){const e=M.c(27),{patterns:s,onAddPattern:l,onRemovePattern:n}=o,[r,i]=y.useState("");let a;e[0]!==r||e[1]!==l||e[2]!==s?(a=()=>{const f=r.trim();f&&!s.includes(f)&&(l(f),i(""))},e[0]=r,e[1]=l,e[2]=s,e[3]=a):a=e[3];const m=a;let c;e[4]!==m?(c=f=>{f.key==="Enter"&&(f.preventDefault(),m())},e[4]=m,e[5]=c):c=e[5];const d=c;let u;if(e[6]!==m||e[7]!==d||e[8]!==r||e[9]!==n||e[10]!==s){const f=s.filter(ts);let x;e[12]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("code",{children:"*"}),e[12]=x):x=e[12];let p;e[13]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsxs("div",{className:"text-xs text-muted-foreground",children:["Add URI patterns to match multiple resources. Use ",x," for single segment and ",t.jsx("code",{children:"**"})," for multiple segments."]}),e[13]=p):p=e[13];let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=_=>i(_.target.value),e[14]=g):g=e[14];let S;e[15]!==d||e[16]!==r?(S=t.jsx(Ve,{value:r,onChange:g,onKeyDown:d,placeholder:"e.g., file:///**/*.ts or db://users/*",className:"flex-1 text-sm"}),e[15]=d,e[16]=r,e[17]=S):S=e[17];let C;e[18]!==r?(C=r.trim(),e[18]=r,e[19]=C):C=e[19];const I=!C;let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx(jt,{size:16}),e[20]=k):k=e[20];let j;e[21]!==m||e[22]!==I?(j=t.jsx(q,{type:"button",variant:"outline",size:"sm",onClick:m,disabled:I,children:k}),e[21]=m,e[22]=I,e[23]=j):j=e[23];let v;e[24]!==j||e[25]!==S?(v=t.jsxs("div",{className:"flex gap-2",children:[S,j]}),e[24]=j,e[25]=S,e[26]=v):v=e[26],u=t.jsxs("div",{className:"border-b border-border p-4 space-y-3",children:[p,v,f.length>0&&t.jsx("div",{className:"flex flex-wrap gap-2",children:f.map(_=>t.jsxs("div",{className:"flex items-center gap-1 px-2 py-1 bg-muted rounded-md text-xs",children:[t.jsx("code",{className:"text-foreground",children:_}),t.jsx("button",{type:"button",onClick:()=>n(_),className:"text-muted-foreground hover:text-foreground",children:t.jsx(bt,{size:12})})]},_))})]}),e[6]=m,e[7]=d,e[8]=r,e[9]=n,e[10]=s,e[11]=u}else u=e[11];return u}function os(o){const e=M.c(24),{resourceSet:s,onResourceSetChange:l,connectionResources:n,excludeVirtualMcpId:r}=o,[i]=y.useState(null);let a;e[0]!==n?(a=j=>(n.get(j.id)??[]).map(ls),e[0]=n,e[1]=a):a=e[1];const m=a;let c;e[2]!==l||e[3]!==s?(c=(j,v)=>{const _=s[j]??[];_.includes(v)||l({...s,[j]:[..._,v]})},e[2]=l,e[3]=s,e[4]=c):c=e[4];const d=c;let u;e[5]!==l||e[6]!==s?(u=(j,v)=>{const T=(s[j]??[]).filter($=>$!==v);if(T.length===0){const $={...s};delete $[j],l($)}else l({...s,[j]:T})},e[5]=l,e[6]=s,e[7]=u):u=e[7];const f=u;let x;e[8]!==l?(x=j=>{l(j)},e[8]=l,e[9]=x):x=e[9];const p=x;let g;e[10]!==s||e[11]!==i?(g=i?s[i]??[]:[],e[10]=s,e[11]=i,e[12]=g):g=e[12];const S=g;let C;e[13]!==d||e[14]!==f||e[15]!==i||e[16]!==S?(C=i?t.jsx(ss,{patterns:S,onAddPattern:j=>d(i,j),onRemovePattern:j=>f(i,j)}):null,e[13]=d,e[14]=f,e[15]=i,e[16]=S,e[17]=C):C=e[17];const I=C;let k;return e[18]!==r||e[19]!==I||e[20]!==m||e[21]!==p||e[22]!==s?(k=t.jsx("div",{className:"h-full",children:t.jsx(ot,{itemSet:s,onItemSetChange:p,getItems:m,itemLabel:"resources",emptyItemsMessage:"This connection has no resources available",extraContent:I,excludeVirtualMcpId:r})}),e[18]=r,e[19]=I,e[20]=m,e[21]=p,e[22]=s,e[23]=k):k=e[23],k}function ls(o){return{id:o.uri,name:o.name||o.uri,description:o.description||o.uri}}function ns(o){const e=M.c(8);let s,l;e[0]!==o?({className:s,...l}=o,e[0]=o,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let n;e[3]!==s?(n=G("grid gap-3",s),e[3]=s,e[4]=n):n=e[4];let r;return e[5]!==l||e[6]!==n?(r=t.jsx(St,{"data-slot":"radio-group",className:n,...l}),e[5]=l,e[6]=n,e[7]=r):r=e[7],r}function Pe(o){const e=M.c(9);let s,l;e[0]!==o?({className:s,...l}=o,e[0]=o,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let n;e[3]!==s?(n=G("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 r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Ct,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(et,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=r):r=e[5];let i;return e[6]!==l||e[7]!==n?(i=t.jsx(Nt,{"data-slot":"radio-group-item",className:n,...l,children:r}),e[6]=l,e[7]=n,e[8]=i):i=e[8],i}function rs(o){const s=new TextEncoder().encode(o),l=Array.from(s,n=>String.fromCharCode(n)).join("");return btoa(l)}const is=at.pick({title:!0,description:!0,status:!0,tool_selection_mode:!0,metadata:!0}).extend({title:ct().min(1,"Name is required").max(255)});function Be(o,e){const s={};for(const l of o.connections)if(l.selected_tools===null){const n=e.get(l.connection_id)??[];n.length>0&&(s[l.connection_id]=n)}else l.selected_tools.length>0&&(s[l.connection_id]=l.selected_tools);return s}function qe(o){const e={};for(const s of o.connections)s.selected_resources!==null&&s.selected_resources!==void 0&&s.selected_resources.length>0&&(e[s.connection_id]=s.selected_resources);return e}function Ue(o){const e={};for(const s of o.connections)s.selected_prompts!==null&&s.selected_prompts!==void 0&&s.selected_prompts.length>0&&(e[s.connection_id]=s.selected_prompts);return e}function as(o,e,s,l){const n=new Set([...Object.keys(o),...Object.keys(e),...Object.keys(s)]);return Array.from(n).map(r=>{const i=o[r]??[],a=l.get(r)??[],m=a.length>0&&a.every(c=>i.includes(c));return{connection_id:r,selected_tools:i.length===0||m?null:i,selected_resources:e[r]??null,selected_prompts:s[r]??null}})}function cs(o){const e=M.c(10),{url:s}=o,[l,n]=y.useState(!1);let r;e[0]!==s?(r=async()=>{await navigator.clipboard.writeText(s),n(!0),Re.success("Agent URL copied to clipboard"),setTimeout(()=>n(!1),2e3)},e[0]=s,e[1]=r):r=e[1];const i=r;let a;e[2]!==l?(a=l?t.jsx(Ze,{size:20,className:"text-green-600"}):t.jsx(Bt,{size:20}),e[2]=l,e[3]=a):a=e[3];const m=l?"Copied!":"Copy URL";let c;e[4]!==m?(c=t.jsx("span",{className:"text-xs font-medium",children:m}),e[4]=m,e[5]=c):c=e[5];let d;return e[6]!==i||e[7]!==a||e[8]!==c?(d=t.jsxs(q,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[a,c]}),e[6]=i,e[7]=a,e[8]=c,e[9]=d):d=e[9],d}function ds(o){const e=M.c(7),{url:s,serverName:l}=o;let n;e[0]!==l||e[1]!==s?(n=()=>{const c=Ke(l),u=rs(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),f=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(c)}&config=${encodeURIComponent(u)}`;window.open(f,"_blank"),Re.success("Opening Cursor...")},e[0]=l,e[1]=s,e[2]=n):n=e[2];const r=n;let i,a;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=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%)"}}),a=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=i,e[4]=a):(i=e[3],a=e[4]);let m;return e[5]!==r?(m=t.jsxs(q,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[i,a]}),e[5]=r,e[6]=m):m=e[6],m}function ms(o){const e=M.c(11),{url:s,serverName:l}=o,[n,r]=y.useState(!1);let i;e[0]!==l||e[1]!==s?(i=async()=>{const f=Ke(l),p=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),g=`claude mcp add "${f}" --config '${p.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(g),r(!0),Re.success("Claude Code command copied to clipboard"),setTimeout(()=>r(!1),2e3)},e[0]=l,e[1]=s,e[2]=i):i=e[2];const a=i;let m;e[3]!==n?(m=n?t.jsx(Ze,{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]=m):m=e[4];const c=n?"Copied!":"Install on Claude";let d;e[5]!==c?(d=t.jsx("span",{className:"text-xs font-medium",children:c}),e[5]=c,e[6]=d):d=e[6];let u;return e[7]!==a||e[8]!==m||e[9]!==d?(u=t.jsxs(q,{type:"button",variant:"outline",onClick:a,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[m,d]}),e[7]=a,e[8]=m,e[9]=d,e[10]=u):u=e[10],u}function us(o){const e=M.c(40),{open:s,onOpenChange:l,virtualMcp:n}=o,[r,i]=y.useState("code_execution");let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=N=>{(N==="passthrough"||N==="smart_tool_selection"||N==="code_execution")&&i(N)},e[0]=a):a=e[0];const m=a;let c;e[1]!==r||e[2]!==n.id?(c=new URL(`/mcp/virtual-mcp/${n.id}`,window.location.origin),c.searchParams.set("mode",r),e[1]=r,e[2]=n.id,e[3]=c):c=e[3];let d;e[4]!==n.id||e[5]!==n.title?(d=n.title||`agent-${n.id.slice(0,8)}`,e[4]=n.id,e[5]=n.title,e[6]=d):d=e[6];const u=d;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Tt,{children:t.jsx(Mt,{children:"Share Agent"})}),e[7]=f):f=e[7];let x;e[8]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=x):x=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Xe,{className:"size-5 text-muted-foreground"})}),e[9]=p):p=e[9];let g;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=g):g=e[10];let S;e[11]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[11]=S):S=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C=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:[p,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[g,t.jsx(Q,{children:t.jsxs(J,{children:[S,t.jsx(X,{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(Pe,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=C):C=e[12];let I;e[13]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(tt,{className:"size-5 text-muted-foreground"})}),e[13]=I):I=e[13];let k;e[14]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=k):k=e[14];let j;e[15]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[15]=j):j=e[15];let v;e[16]===Symbol.for("react.memo_cache_sentinel")?(v=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:[I,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[k,t.jsx(Q,{children:t.jsxs(J,{children:[j,t.jsx(X,{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(Pe,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=v):v=e[16];let _;e[17]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Ot,{className:"size-5 text-muted-foreground"})}),e[17]=_):_=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 $;e[19]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[19]=$):$=e[19];let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=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:[_,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(Q,{children:t.jsxs(J,{children:[$,t.jsx(X,{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(Pe,{id:"mode-code",value:"code_execution"}),t.jsx(Qe,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=w):w=e[20];let P;e[21]!==r?(P=t.jsxs("div",{className:"flex flex-col gap-3",children:[x,t.jsxs(ns,{value:r,onValueChange:m,className:"flex flex-col gap-4.5",children:[C,v,w]})]}),e[21]=r,e[22]=P):P=e[22];let V;e[23]!==c.href?(V=t.jsx(cs,{url:c.href}),e[23]=c.href,e[24]=V):V=e[24];let z,R;e[25]!==u||e[26]!==c.href?(z=t.jsx(ds,{url:c.href,serverName:u}),R=t.jsx(ms,{url:c.href,serverName:u}),e[25]=u,e[26]=c.href,e[27]=z,e[28]=R):(z=e[27],R=e[28]);let E;e[29]!==V||e[30]!==z||e[31]!==R?(E=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[V,z,R]})}),e[29]=V,e[30]=z,e[31]=R,e[32]=E):E=e[32];let L;e[33]!==P||e[34]!==E?(L=t.jsxs($t,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[f,t.jsxs("div",{className:"flex flex-col gap-6",children:[P,E]})]}),e[33]=P,e[34]=E,e[35]=L):L=e[35];let h;return e[36]!==l||e[37]!==s||e[38]!==L?(h=t.jsx(Pt,{open:s,onOpenChange:l,children:L}),e[36]=l,e[37]=s,e[38]=L,e[39]=h):h=e[39],h}function fs(o){const e=M.c(27),{form:s,icon:l}=o;let n;e[0]!==s?(n=s.watch("title")||"Agent",e[0]=s,e[1]=n):n=e[1];let r;e[2]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Wt,{}),e[2]=r):r=e[2];let i;e[3]!==l||e[4]!==n?(i=t.jsx(Ae,{icon:l,name:n,size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:r}),e[3]=l,e[4]=n,e[5]=i):i=e[5];let a;e[6]!==s.control?(a=t.jsx(de,{control:s.control,name:"status",render:js}),e[6]=s.control,e[7]=a):a=e[7];let m;e[8]!==i||e[9]!==a?(m=t.jsxs("div",{className:"flex items-start justify-between",children:[i,a]}),e[8]=i,e[9]=a,e[10]=m):m=e[10];let c;e[11]!==s.control?(c=t.jsxs("div",{className:"flex flex-col",children:[t.jsx(de,{control:s.control,name:"title",render:gs}),t.jsx(de,{control:s.control,name:"description",render:ps})]}),e[11]=s.control,e[12]=c):c=e[12];let d;e[13]!==m||e[14]!==c?(d=t.jsxs("div",{className:"flex flex-col gap-4 p-5 border-b border-border",children:[m,c]}),e[13]=m,e[14]=c,e[15]=d):d=e[15];let u;e[16]!==s.control?(u=t.jsx("div",{className:"flex flex-col gap-4 p-5 border-b border-border",children:t.jsx(de,{control:s.control,name:"tool_selection_mode",render:xs})}),e[16]=s.control,e[17]=u):u=e[17];let f;e[18]!==s.control?(f=t.jsx("div",{className:"flex flex-col gap-3 p-5",children:t.jsx(de,{control:s.control,name:"metadata",render:hs})}),e[18]=s.control,e[19]=f):f=e[19];let x;e[20]!==d||e[21]!==u||e[22]!==f?(x=t.jsxs("div",{className:"flex flex-col",children:[d,u,f]}),e[20]=d,e[21]=u,e[22]=f,e[23]=x):x=e[23];let p;return e[24]!==s||e[25]!==x?(p=t.jsx("div",{className:"flex flex-col h-full overflow-auto",children:t.jsx(zt,{...s,children:x})}),e[24]=s,e[25]=x,e[26]=p):p=e[26],p}function hs(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{children:[t.jsx(Je,{className:"text-sm font-medium text-foreground mb-1",children:"Instructions"}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"Define the agent's role, capabilities, and behavior to guide how it interprets requests, uses available tools, and responds to users."})]}),t.jsx(ue,{children:t.jsx(Lt,{value:e.value?.instructions??"",onChange:s=>e.onChange({...e.value??{},instructions:s.target.value||void 0}),placeholder:"You are a helpful assistant that specializes in customer support. Your role is to help users resolve issues and answer questions...",className:"min-h-[240px] resize-none text-sm leading-relaxed"})}),t.jsx(fe,{})]})}function xs(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsx(Je,{className:"mb-0",children:"Selection Mode"}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(Q,{children:t.jsxs(J,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(q,{type:"button",variant:"ghost",size:"icon",className:"size-7","aria-label":"Selection mode help",children:t.jsx(Ce,{size:14,className:"text-muted-foreground"})})}),t.jsx(X,{side:"left",className:"max-w-sm",children:t.jsxs("div",{className:"text-xs space-y-1",children:[t.jsxs("div",{children:[t.jsx("strong",{children:"Include:"})," Only selected items are exposed."]}),t.jsxs("div",{children:[t.jsx("strong",{children:"Exclude:"})," All items except selected ones are exposed."]})]})})]})}),t.jsxs(At,{value:e.value,onValueChange:e.onChange,children:[t.jsx(ue,{children:t.jsx(Vt,{className:"w-[180px]",children:t.jsx(Et,{})})}),t.jsxs(Dt,{children:[t.jsx(Oe,{value:"inclusion",children:"Include Selected"}),t.jsx(Oe,{value:"exclusion",children:"Exclude Selected"})]})]})]})]}),t.jsx(fe,{})]})}function ps(o){const{field:e}=o;return t.jsxs(me,{className:"w-full space-y-0",children:[t.jsx(ue,{children:t.jsx(Ve,{...e,value:e.value||"",className:"h-auto text-base text-muted-foreground leading-6 px-0 border-transparent hover:border-input focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})}),t.jsx(fe,{})]})}function gs(o){const{field:e}=o;return t.jsxs(me,{className:"w-full space-y-0",children:[t.jsx(ue,{children:t.jsx(Ve,{...e,className:"h-auto text-lg! font-medium leading-7 px-0 border-transparent hover:border-input focus:border-input bg-transparent transition-all",placeholder:"Agent Name"})}),t.jsx(fe,{})]})}function js(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Qe,{variant:e.value==="active"?"success":"outline",children:e.value==="active"?"Active":"Inactive"}),t.jsx(ue,{children:t.jsx(Ft,{checked:e.value==="active",onCheckedChange:s=>e.onChange(s?"active":"inactive")})})]}),t.jsx(fe,{})]})}function bs(o){const e=M.c(76),{virtualMcp:s,virtualMcpId:l,requestedTabId:n}=o,i=dt().location.href,a=mt();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={from:"/$org/agents/$agentId"},e[0]=m):m=e[0];const c=We(m),d=It(),{org:u}=ut();let f;e[1]===Symbol.for("react.memo_cache_sentinel")?(f={},e[1]=f):f=e[1];const x=He(f),p=x.map(Ss);let g;e[2]!==u?(g=b=>({queryKey:Le.connectionPrompts(b),queryFn:async()=>{try{const A=await Fe({connectionId:b,orgId:u.id});return await _t(A)}catch{return{prompts:[]}}},staleTime:6e4,retry:!1}),e[2]=u,e[3]=g):g=e[3];const S=De({queries:p.map(g)});let C;e[4]!==u?(C=b=>({queryKey:Le.connectionResources(b),queryFn:async()=>{try{const A=await Fe({connectionId:b,orgId:u.id});return await wt(A)}catch{return{resources:[]}}},staleTime:6e4,retry:!1}),e[4]=u,e[5]=C):C=e[5];const I=De({queries:p.map(C)}),k=new Map;p.forEach((b,A)=>{const K=S[A];K?.data?k.set(b,K.data.prompts.map(Ns)):k.set(b,[])});const j=new Map;p.forEach((b,A)=>{const K=I[A];K?.data?j.set(b,K.data.resources.map(ys)):j.set(b,[])});let v;if(e[6]!==x){v=new Map;for(const b of x)b.tools&&b.tools.length>0&&v.set(b.id,b.tools.map(vs));e[6]=x,e[7]=v}else v=e[7];let _;e[8]!==v||e[9]!==s?(_=()=>Be(s,v),e[8]=v,e[9]=s,e[10]=_):_=e[10];const[T,$]=y.useState(_);let w;e[11]!==s?(w=()=>qe(s),e[11]=s,e[12]=w):w=e[12];const[P,V]=y.useState(w);let z;e[13]!==s?(z=()=>Ue(s),e[13]=s,e[14]=z):z=e[14];const[R,E]=y.useState(z),[L,h]=y.useState(!1),[N,D]=y.useState(!1);let F;e[15]===Symbol.for("react.memo_cache_sentinel")?(F=b=>{$(b),h(!0)},e[15]=F):F=e[15];const U=F;let W;e[16]===Symbol.for("react.memo_cache_sentinel")?(W=b=>{V(b),h(!0)},e[16]=W):W=e[16];const H=W;let O;e[17]===Symbol.for("react.memo_cache_sentinel")?(O=b=>{E(b),h(!0)},e[17]=O):O=e[17];const lt=O;let he;e[18]===Symbol.for("react.memo_cache_sentinel")?(he=ft(is),e[18]=he):he=e[18];const _e=s.tool_selection_mode??"inclusion";let ee;e[19]!==s.metadata?(ee=s.metadata??{instructions:""},e[19]=s.metadata,e[20]=ee):ee=e[20];let xe;e[21]!==_e||e[22]!==ee||e[23]!==s.description||e[24]!==s.status||e[25]!==s.title?(xe={resolver:he,defaultValues:{title:s.title,description:s.description,status:s.status,tool_selection_mode:_e,metadata:ee}},e[21]=_e,e[22]=ee,e[23]=s.description,e[24]=s.status,e[25]=s.title,e[26]=xe):xe=e[26];const Y=ht(xe),we=Y.formState.isDirty||L;let pe;e[27]!==d.update||e[28]!==v||e[29]!==Y||e[30]!==R||e[31]!==P||e[32]!==T||e[33]!==l?(pe=async()=>{try{const b=Y.getValues(),A=as(T,P,R,v),K={title:b.title,description:b.description,status:b.status,tool_selection_mode:b.tool_selection_mode,metadata:b.metadata,connections:A};await d.update.mutateAsync({id:l,data:K}),Y.reset(b),h(!1)}catch(b){console.error("Failed to save virtual MCP:",b)}},e[27]=d.update,e[28]=v,e[29]=Y,e[30]=R,e[31]=P,e[32]=T,e[33]=l,e[34]=pe):pe=e[34];const ke=pe;let ge;e[35]!==v||e[36]!==Y||e[37]!==s?(ge=()=>{Y.reset({title:s.title,description:s.description,status:s.status,tool_selection_mode:s.tool_selection_mode??"inclusion",metadata:s.metadata??{instructions:""}}),$(Be(s,v)),V(qe(s)),E(Ue(s)),h(!1)},e[35]=v,e[36]=Y,e[37]=s,e[38]=ge):ge=e[38];const Ie=ge;let je;e[39]===Symbol.for("react.memo_cache_sentinel")?(je=[{id:"settings",label:"Settings"},{id:"tools",label:"Tools"},{id:"resources",label:"Resources"},{id:"prompts",label:"Prompts"}],e[39]=je):je=e[39];const Ee=je,B=Ee.some(b=>b.id===n)?n:"settings";let be;e[40]!==c?(be=b=>{c({search:A=>({...A,tab:b}),replace:!0})},e[40]=c,e[41]=be):be=e[41];const Te=be,ce=d.update.isPending;let te;e[42]!==a.history?(te=()=>a.history.back(),e[42]=a.history,e[43]=te):te=e[43];let se;e[44]!==B||e[45]!==Te?(se=t.jsx(Yt,{children:t.jsx(Rt,{tabs:Ee,activeTab:B,onTabChange:Te})}),e[44]=B,e[45]=Te,e[46]=se):se=e[46];let oe;e[47]!==Ie||e[48]!==ke||e[49]!==we||e[50]!==ce?(oe=we&&t.jsxs(t.Fragment,{children:[t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:ce,onClick:Ie,"aria-label":"Cancel",children:t.jsx(qt,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Cancel"})]})}),t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:ce,onClick:ke,"aria-label":"Save",children:ce?t.jsx(ze,{size:14,className:"animate-spin"}):t.jsx(st,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Save"})]})})]}),e[47]=Ie,e[48]=ke,e[49]=we,e[50]=ce,e[51]=oe):oe=e[51];let ve;e[52]===Symbol.for("react.memo_cache_sentinel")?(ve=()=>D(!0),e[52]=ve):ve=e[52];let ye;e[53]===Symbol.for("react.memo_cache_sentinel")?(ye=t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:ve,"aria-label":"Share",children:t.jsx(Ut,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Share"})]})}),e[53]=ye):ye=e[53];const Me=s.icon??"cpu_chip";let le;e[54]!==Me||e[55]!==i||e[56]!==s.title?(le=t.jsx(vt,{title:s.title,url:i,icon:Me}),e[54]=Me,e[55]=i,e[56]=s.title,e[57]=le):le=e[57];let ne;e[58]!==oe||e[59]!==le?(ne=t.jsxs(Gt,{children:[oe,ye,le]}),e[58]=oe,e[59]=le,e[60]=ne):ne=e[60];let Ne;e[61]===Symbol.for("react.memo_cache_sentinel")?(Ne=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(ze,{size:32,className:"animate-spin text-muted-foreground"})}),e[61]=Ne):Ne=e[61];const $e=B==="settings"?t.jsx(fs,{form:Y,icon:s.icon}):B==="tools"?t.jsx(yt,{toolSet:T,onToolSetChange:U,excludeVirtualMcpId:l}):B==="resources"?t.jsx(os,{resourceSet:P,onResourceSetChange:H,connectionResources:j,excludeVirtualMcpId:l}):B==="prompts"?t.jsx(Xt,{promptSet:R,onPromptSetChange:lt,connectionPrompts:k,excludeVirtualMcpId:l}):null;let re;e[62]!==$e?(re=t.jsx(y.Suspense,{fallback:Ne,children:$e}),e[62]=$e,e[63]=re):re=e[63];let ie;e[64]!==B||e[65]!==re?(ie=t.jsx("div",{className:"flex h-full w-full bg-background overflow-hidden",children:t.jsx("div",{className:"flex-1 flex flex-col min-w-0 bg-background overflow-hidden",children:t.jsx("div",{className:"h-full overflow-auto",children:t.jsx(Ye,{children:re},B)})})}),e[64]=B,e[65]=re,e[66]=ie):ie=e[66];let ae;e[67]!==N||e[68]!==s?(ae=t.jsx(us,{open:N,onOpenChange:D,virtualMcp:s}),e[67]=N,e[68]=s,e[69]=ae):ae=e[69];let Se;return e[70]!==te||e[71]!==se||e[72]!==ne||e[73]!==ie||e[74]!==ae?(Se=t.jsxs(Ht,{onBack:te,children:[se,ne,ie,ae]}),e[70]=te,e[71]=se,e[72]=ne,e[73]=ie,e[74]=ae,e[75]=Se):Se=e[75],Se}function vs(o){return o.name}function ys(o){return{uri:o.uri,name:o.name,description:o.description}}function Ns(o){return{name:o.name,description:o.description}}function Ss(o){return o.id}function Cs(){const o=M.c(10);let e;o[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/$org/agents/$agentId"},o[0]=e):e=o[0];const s=We(e);let l;o[1]===Symbol.for("react.memo_cache_sentinel")?(l={strict:!1},o[1]=l):l=o[1];const n=rt(l),{org:r}=n,i=n.agentId??n.virtualMcpId??"";let a;o[2]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},o[2]=a):a=o[2];const c=it(a).tab||"settings",d=kt(i);if(!d){let f;return o[3]!==s||o[4]!==r?(f=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(xt,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(q,{variant:"outline",onClick:()=>s({to:"/$org/agents",params:{org:r}}),children:"Back to agents"})})}),o[3]=s,o[4]=r,o[5]=f):f=o[5],f}let u;return o[6]!==c||o[7]!==d||o[8]!==i?(u=t.jsx(bs,{virtualMcp:d,virtualMcpId:i,requestedTabId:c}),o[6]=c,o[7]=d,o[8]=i,o[9]=u):u=o[9],u}function _s(){const o=M.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ye,{children:t.jsx(y.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(ze,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Cs,{})})}),o[0]=e):e=o[0],e}function po(){const o=M.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(_s,{}),o[0]=e):e=o[0],e}export{po as default};
|
|
1
|
+
import{r as y,c as M,j as t,p as nt,l as We,a as rt,f as it,V as at,s as ct,bj as dt,bt as mt,u as ut,h as ft,k as ht,ab as Re}from"./index-DAh_kZ0g.js";import{I as Ae,E as xt}from"./empty-state-NBwahr1o.js";import{E as Ye}from"./error-boundary-DVK1pLb7.js";import{C as Ge}from"./checkbox-CCyLipUT.js";import{c as G,B as q}from"./button-BHD-W54e.js";import{i as pt}from"./ArrowLeft-DaBwGT1h.js";import{b as He}from"./use-connection-z2hJ-uqu.js";import{C as gt}from"./collection-search-DriJZFj9.js";import{I as Ve}from"./input-RCMmufsJ.js";import{s as jt}from"./Plus-CWYnIbbQ.js";import{i as bt}from"./X-DfKEMSAq.js";import{P as vt}from"./pin-to-sidebar-button-BqldlKO8.js";import{T as yt}from"./tool-set-selector-BcnjHVtB.js";import{I as Nt,R as St,a as Ct,u as De}from"./index-CmaBy21Y.js";import{c as Fe,K as Le}from"./constants-B-pBHHtD.js";import{l as _t,a as wt}from"./use-mcp-prompts-B8mueLey.js";import{u as kt,a as It}from"./use-virtual-mcp-BfKCjW0R.js";import{s as Ke}from"./slugify-CEUa2lfQ.js";import{B as Qe}from"./badge-CngTAfQv.js";import{b as Tt,c as Mt,a as $t,D as Pt}from"./dialog-pQaEse5h.js";import{F as de,a as zt,b as me,d as ue,f as fe,c as Je}from"./form-CilxoLBx.js";import{R as Rt}from"./resource-tabs-B1t9TZZp.js";import{S as At,a as Vt,b as Et,c as Dt,d as Oe}from"./select-C93bGKrw.js";import{S as Ft}from"./switch-CczEwfhr.js";import{T as Lt}from"./textarea-DkpJZOQj.js";import{b as Q,c as J,T as Z,a as X}from"./tooltip-HFuN7GTj.js";import{i as Ze}from"./Check-DxEsBW6A.js";import{i as Ot}from"./Code01-q6RjOjO2.js";import{a as Bt}from"./Copy01-CiRHbRil.js";import{i as qt}from"./FlipBackward-Bwy_5A0g.js";import{i as Ce}from"./InfoCircle-BMyKDxax.js";import{i as ze}from"./Loading01-Ck4DHeCz.js";import{i as Ut}from"./Share07-BFonVbaA.js";import{t as Wt}from"./Users03-BmQGs7qi.js";import{a as Yt,V as Gt,b as Ht}from"./layout-DjRPo0f0.js";import"./use-collections-D-6KNpdU.js";import"./useMutation-D2ghwSsm.js";import"./useQuery-CiLTpy4Q.js";import"./SearchMd-BwwEmX02.js";import"./Pin01-Dn3xisY_.js";import"./use-organization-settings-D0xJfqnQ.js";import"./ChevronDown-BLLsYwZi.js";const Xe=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));Xe.displayName="ArrowsRight";const et=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));et.displayName="Circle";const tt=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));tt.displayName="Lightbulb02";const st=({size:o=24,color:e="currentColor",...s})=>y.createElement("svg",{viewBox:"0 0 24 24",width:o,height:o,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...s},y.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"}));st.displayName="Save01";const Kt=y.memo(function(e){const s=M.c(20),{connection:l,isSelected:n,hasItemsEnabled:r,activeItemsCount:i,totalItemsCount:a,onSelect:m,onToggle:c}=e,d=n?"bg-accent/50":"hover:bg-muted/50";let u;s[0]!==d?(u=G("flex items-center gap-3 p-2 rounded-lg transition-colors will-change-auto",d),s[0]=d,s[1]=u):u=s[1];let f;s[2]!==l.icon||s[3]!==l.title?(f=t.jsx(Ae,{icon:l.icon,name:l.title,size:"xs"}),s[2]=l.icon,s[3]=l.title,s[4]=f):f=s[4];let x;s[5]!==l.title?(x=t.jsx("div",{className:"flex-1 min-w-0",children:t.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:l.title})}),s[5]=l.title,s[6]=x):x=s[6];let p;s[7]!==m||s[8]!==f||s[9]!==x?(p=t.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 cursor-pointer",onClick:m,children:[f,x]}),s[7]=m,s[8]=f,s[9]=x,s[10]=p):p=s[10];let g;s[11]!==i||s[12]!==r||s[13]!==c||s[14]!==a?(g=a>0&&t.jsxs(t.Fragment,{children:[t.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:[i,"/",a]}),t.jsx(Ge,{checked:r,onCheckedChange:c,onClick:Jt})]}),s[11]=i,s[12]=r,s[13]=c,s[14]=a,s[15]=g):g=s[15];let S;return s[16]!==u||s[17]!==p||s[18]!==g?(S=t.jsxs("div",{className:u,children:[p,g]}),s[16]=u,s[17]=p,s[18]=g,s[19]=S):S=s[19],S}),Qt=y.memo(function(e){const s=M.c(18),{connectionId:l,item:n,isSelected:r,onToggle:i}=e,a=`item-${l}-${n.id}`,m=r?"text-foreground":"text-muted-foreground";let c;s[0]!==m?(c=G("text-sm font-medium",m),s[0]=m,s[1]=c):c=s[1];let d;s[2]!==n.name||s[3]!==c?(d=t.jsx("div",{className:"flex items-center gap-2 mb-1",children:t.jsx("span",{className:c,children:n.name})}),s[2]=n.name,s[3]=c,s[4]=d):d=s[4];let u;s[5]!==n.description?(u=n.description&&t.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:n.description}),s[5]=n.description,s[6]=u):u=s[6];let f;s[7]!==d||s[8]!==u?(f=t.jsxs("div",{className:"flex-1 min-w-0",children:[d,u]}),s[7]=d,s[8]=u,s[9]=f):f=s[9];const x=`item-${l}-${n.id}`;let p;s[10]!==r||s[11]!==i||s[12]!==x?(p=t.jsx("div",{className:"flex items-center shrink-0",children:t.jsx(Ge,{id:x,checked:r,onCheckedChange:i,onClick:Zt})}),s[10]=r,s[11]=i,s[12]=x,s[13]=p):p=s[13];let g;return s[14]!==a||s[15]!==f||s[16]!==p?(g=t.jsxs("label",{className:"flex items-center gap-3 p-3 rounded-lg hover:bg-muted/50 cursor-pointer group will-change-auto",htmlFor:a,children:[f,p]}),s[14]=a,s[15]=f,s[16]=p,s[17]=g):g=s[17],g});function ot({itemSet:o,onItemSetChange:e,getItems:s,itemLabel:l,emptyItemsMessage:n,extraContent:r,excludeVirtualMcpId:i}){const[a,m]=y.useState(""),c=y.useDeferredValue(a),[d,u]=y.useState("all"),[f,x]=y.useState(!1),p=y.useRef(new Set(Object.keys(o))),g=He({searchTerm:c.trim()||void 0}),S=i?g.filter(h=>h.connection_type!=="VIRTUAL"?!0:nt(h.connection_url)!==i):g,C=p.current,I=[...C.values()].map(h=>S.find(N=>N.id===h)).filter(h=>h!==void 0),k=S.filter(h=>!C.has(h.id)),j=[...I,...k],v=h=>{const N=o[h];return N!==void 0&&N.length>0},_=j.filter(h=>{if(d==="all")return!0;const N=v(h.id);return d==="selected"?N:d==="unselected"?!N:!0}),[T,$]=y.useState(j[0]?.id??null),w=T?j.find(h=>h.id===T)??null:null,P=w?s(w):[],V=(h,N)=>o[h]?.includes(N)??!1,z=(h,N)=>{const D=o[h]??[],F=D.includes(N),U={...o};if(F){const W=D.filter(H=>H!==N);W.length===0?delete U[h]:U[h]=W}else U[h]=[...D,N];e(U)},R=h=>{const N=j.find(O=>O.id===h);if(!N)return;const D=s(N);if(D.length===0)return;const F=o[h]??[],U=D.map(O=>O.id),W=F.length>0&&U.every(O=>F.includes(O)),H={...o};W?delete H[h]:(H[h]=U,$(h)),e(H)},E=h=>{$(h),x(!0)},L=()=>{x(!1)};return t.jsxs("div",{className:"flex h-full",children:[t.jsxs("div",{className:G("w-full md:w-80 border-r border-border flex flex-col",f&&"hidden md:flex"),children:[t.jsx(gt,{value:a,onChange:m,placeholder:"Search Connections..."}),t.jsxs("div",{className:"flex gap-1 p-2 border-b border-border",children:[t.jsx("button",{onClick:()=>u("all"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="all"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"All"}),t.jsx("button",{onClick:()=>u("selected"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="selected"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"Selected"}),t.jsx("button",{onClick:()=>u("unselected"),className:G("flex-1 px-3 py-1.5 text-xs font-medium rounded-md transition-colors border cursor-pointer",d==="unselected"?"bg-muted border-border":"border-border opacity-75 hover:opacity-100"),children:"Unselected"})]}),t.jsx("div",{className:"flex-1 overflow-auto",children:_.length===0?t.jsx("div",{className:"p-4 text-sm text-muted-foreground text-center",children:a?"No connections found":d==="selected"?"No servers selected":d==="unselected"?"No unselected servers":"No connections available"}):t.jsx("div",{className:"p-2 space-y-1",children:_.map(h=>{const D=s(h).length,F=o[h.id]?.length??0;return t.jsx(Kt,{connection:h,isSelected:T===h.id,hasItemsEnabled:v(h.id),activeItemsCount:F,totalItemsCount:D,onSelect:()=>E(h.id),onToggle:()=>R(h.id)},h.id)})})})]}),t.jsx("div",{className:G("flex-1 flex-col",f?"flex":"hidden md:flex"),children:w?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"md:hidden border-b border-border p-4 flex items-center gap-3",children:[t.jsx(q,{variant:"ghost",size:"sm",onClick:L,className:"h-8 w-8 p-0 shrink-0",children:t.jsx(pt,{size:20})}),t.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0",children:[t.jsx(Ae,{icon:w.icon,name:w.title,size:"sm"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("h3",{className:"text-base font-medium text-foreground truncate",children:w.title}),w.description&&t.jsx("p",{className:"text-sm text-muted-foreground truncate",children:w.description})]})]})]}),r,t.jsx("div",{className:"flex-1 overflow-auto p-4",children:P.length===0?t.jsx("div",{className:"text-sm text-muted-foreground text-center py-8",children:n||`This connection has no ${l} available`}):t.jsx("div",{className:"space-y-2",children:P.map(h=>t.jsx(Qt,{connectionId:w.id,item:h,isSelected:V(w.id,h.id),onToggle:()=>z(w.id,h.id)},h.id))})})]}):t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsxs("div",{className:"text-sm text-muted-foreground text-center",children:["Select a connection to view its ",l]})})})]})}function Jt(o){return o.stopPropagation()}function Zt(o){return o.stopPropagation()}function Xt(o){const e=M.c(7),{promptSet:s,onPromptSetChange:l,connectionPrompts:n,excludeVirtualMcpId:r}=o;let i;e[0]!==n?(i=c=>(n.get(c.id)??[]).map(es),e[0]=n,e[1]=i):i=e[1];const a=i;let m;return e[2]!==r||e[3]!==a||e[4]!==l||e[5]!==s?(m=t.jsx(ot,{itemSet:s,onItemSetChange:l,getItems:a,itemLabel:"prompts",emptyItemsMessage:"This connection has no prompts available",excludeVirtualMcpId:r}),e[2]=r,e[3]=a,e[4]=l,e[5]=s,e[6]=m):m=e[6],m}function es(o){return{id:o.name,name:o.name,description:o.description}}function ts(o){return o.includes("*")}function ss(o){const e=M.c(27),{patterns:s,onAddPattern:l,onRemovePattern:n}=o,[r,i]=y.useState("");let a;e[0]!==r||e[1]!==l||e[2]!==s?(a=()=>{const f=r.trim();f&&!s.includes(f)&&(l(f),i(""))},e[0]=r,e[1]=l,e[2]=s,e[3]=a):a=e[3];const m=a;let c;e[4]!==m?(c=f=>{f.key==="Enter"&&(f.preventDefault(),m())},e[4]=m,e[5]=c):c=e[5];const d=c;let u;if(e[6]!==m||e[7]!==d||e[8]!==r||e[9]!==n||e[10]!==s){const f=s.filter(ts);let x;e[12]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("code",{children:"*"}),e[12]=x):x=e[12];let p;e[13]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsxs("div",{className:"text-xs text-muted-foreground",children:["Add URI patterns to match multiple resources. Use ",x," for single segment and ",t.jsx("code",{children:"**"})," for multiple segments."]}),e[13]=p):p=e[13];let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=_=>i(_.target.value),e[14]=g):g=e[14];let S;e[15]!==d||e[16]!==r?(S=t.jsx(Ve,{value:r,onChange:g,onKeyDown:d,placeholder:"e.g., file:///**/*.ts or db://users/*",className:"flex-1 text-sm"}),e[15]=d,e[16]=r,e[17]=S):S=e[17];let C;e[18]!==r?(C=r.trim(),e[18]=r,e[19]=C):C=e[19];const I=!C;let k;e[20]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx(jt,{size:16}),e[20]=k):k=e[20];let j;e[21]!==m||e[22]!==I?(j=t.jsx(q,{type:"button",variant:"outline",size:"sm",onClick:m,disabled:I,children:k}),e[21]=m,e[22]=I,e[23]=j):j=e[23];let v;e[24]!==j||e[25]!==S?(v=t.jsxs("div",{className:"flex gap-2",children:[S,j]}),e[24]=j,e[25]=S,e[26]=v):v=e[26],u=t.jsxs("div",{className:"border-b border-border p-4 space-y-3",children:[p,v,f.length>0&&t.jsx("div",{className:"flex flex-wrap gap-2",children:f.map(_=>t.jsxs("div",{className:"flex items-center gap-1 px-2 py-1 bg-muted rounded-md text-xs",children:[t.jsx("code",{className:"text-foreground",children:_}),t.jsx("button",{type:"button",onClick:()=>n(_),className:"text-muted-foreground hover:text-foreground",children:t.jsx(bt,{size:12})})]},_))})]}),e[6]=m,e[7]=d,e[8]=r,e[9]=n,e[10]=s,e[11]=u}else u=e[11];return u}function os(o){const e=M.c(24),{resourceSet:s,onResourceSetChange:l,connectionResources:n,excludeVirtualMcpId:r}=o,[i]=y.useState(null);let a;e[0]!==n?(a=j=>(n.get(j.id)??[]).map(ls),e[0]=n,e[1]=a):a=e[1];const m=a;let c;e[2]!==l||e[3]!==s?(c=(j,v)=>{const _=s[j]??[];_.includes(v)||l({...s,[j]:[..._,v]})},e[2]=l,e[3]=s,e[4]=c):c=e[4];const d=c;let u;e[5]!==l||e[6]!==s?(u=(j,v)=>{const T=(s[j]??[]).filter($=>$!==v);if(T.length===0){const $={...s};delete $[j],l($)}else l({...s,[j]:T})},e[5]=l,e[6]=s,e[7]=u):u=e[7];const f=u;let x;e[8]!==l?(x=j=>{l(j)},e[8]=l,e[9]=x):x=e[9];const p=x;let g;e[10]!==s||e[11]!==i?(g=i?s[i]??[]:[],e[10]=s,e[11]=i,e[12]=g):g=e[12];const S=g;let C;e[13]!==d||e[14]!==f||e[15]!==i||e[16]!==S?(C=i?t.jsx(ss,{patterns:S,onAddPattern:j=>d(i,j),onRemovePattern:j=>f(i,j)}):null,e[13]=d,e[14]=f,e[15]=i,e[16]=S,e[17]=C):C=e[17];const I=C;let k;return e[18]!==r||e[19]!==I||e[20]!==m||e[21]!==p||e[22]!==s?(k=t.jsx("div",{className:"h-full",children:t.jsx(ot,{itemSet:s,onItemSetChange:p,getItems:m,itemLabel:"resources",emptyItemsMessage:"This connection has no resources available",extraContent:I,excludeVirtualMcpId:r})}),e[18]=r,e[19]=I,e[20]=m,e[21]=p,e[22]=s,e[23]=k):k=e[23],k}function ls(o){return{id:o.uri,name:o.name||o.uri,description:o.description||o.uri}}function ns(o){const e=M.c(8);let s,l;e[0]!==o?({className:s,...l}=o,e[0]=o,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let n;e[3]!==s?(n=G("grid gap-3",s),e[3]=s,e[4]=n):n=e[4];let r;return e[5]!==l||e[6]!==n?(r=t.jsx(St,{"data-slot":"radio-group",className:n,...l}),e[5]=l,e[6]=n,e[7]=r):r=e[7],r}function Pe(o){const e=M.c(9);let s,l;e[0]!==o?({className:s,...l}=o,e[0]=o,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let n;e[3]!==s?(n=G("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 r;e[5]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Ct,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:t.jsx(et,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})}),e[5]=r):r=e[5];let i;return e[6]!==l||e[7]!==n?(i=t.jsx(Nt,{"data-slot":"radio-group-item",className:n,...l,children:r}),e[6]=l,e[7]=n,e[8]=i):i=e[8],i}function rs(o){const s=new TextEncoder().encode(o),l=Array.from(s,n=>String.fromCharCode(n)).join("");return btoa(l)}const is=at.pick({title:!0,description:!0,status:!0,tool_selection_mode:!0,metadata:!0}).extend({title:ct().min(1,"Name is required").max(255)});function Be(o,e){const s={};for(const l of o.connections)if(l.selected_tools===null){const n=e.get(l.connection_id)??[];n.length>0&&(s[l.connection_id]=n)}else l.selected_tools.length>0&&(s[l.connection_id]=l.selected_tools);return s}function qe(o){const e={};for(const s of o.connections)s.selected_resources!==null&&s.selected_resources!==void 0&&s.selected_resources.length>0&&(e[s.connection_id]=s.selected_resources);return e}function Ue(o){const e={};for(const s of o.connections)s.selected_prompts!==null&&s.selected_prompts!==void 0&&s.selected_prompts.length>0&&(e[s.connection_id]=s.selected_prompts);return e}function as(o,e,s,l){const n=new Set([...Object.keys(o),...Object.keys(e),...Object.keys(s)]);return Array.from(n).map(r=>{const i=o[r]??[],a=l.get(r)??[],m=a.length>0&&a.every(c=>i.includes(c));return{connection_id:r,selected_tools:i.length===0||m?null:i,selected_resources:e[r]??null,selected_prompts:s[r]??null}})}function cs(o){const e=M.c(10),{url:s}=o,[l,n]=y.useState(!1);let r;e[0]!==s?(r=async()=>{await navigator.clipboard.writeText(s),n(!0),Re.success("Agent URL copied to clipboard"),setTimeout(()=>n(!1),2e3)},e[0]=s,e[1]=r):r=e[1];const i=r;let a;e[2]!==l?(a=l?t.jsx(Ze,{size:20,className:"text-green-600"}):t.jsx(Bt,{size:20}),e[2]=l,e[3]=a):a=e[3];const m=l?"Copied!":"Copy URL";let c;e[4]!==m?(c=t.jsx("span",{className:"text-xs font-medium",children:m}),e[4]=m,e[5]=c):c=e[5];let d;return e[6]!==i||e[7]!==a||e[8]!==c?(d=t.jsxs(q,{type:"button",variant:"outline",onClick:i,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[a,c]}),e[6]=i,e[7]=a,e[8]=c,e[9]=d):d=e[9],d}function ds(o){const e=M.c(7),{url:s,serverName:l}=o;let n;e[0]!==l||e[1]!==s?(n=()=>{const c=Ke(l),u=rs(JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Cursor"}},null,2)),f=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(c)}&config=${encodeURIComponent(u)}`;window.open(f,"_blank"),Re.success("Opening Cursor...")},e[0]=l,e[1]=s,e[2]=n):n=e[2];const r=n;let i,a;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=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%)"}}),a=t.jsx("span",{className:"text-xs font-medium",children:"Install on Cursor"}),e[3]=i,e[4]=a):(i=e[3],a=e[4]);let m;return e[5]!==r?(m=t.jsxs(q,{type:"button",variant:"outline",onClick:r,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[i,a]}),e[5]=r,e[6]=m):m=e[6],m}function ms(o){const e=M.c(11),{url:s,serverName:l}=o,[n,r]=y.useState(!1);let i;e[0]!==l||e[1]!==s?(i=async()=>{const f=Ke(l),p=JSON.stringify({type:"http",url:s,headers:{"x-mesh-client":"Claude Code"}},null,2),g=`claude mcp add "${f}" --config '${p.replace(/'/g,"'\\''")}'`;await navigator.clipboard.writeText(g),r(!0),Re.success("Claude Code command copied to clipboard"),setTimeout(()=>r(!1),2e3)},e[0]=l,e[1]=s,e[2]=i):i=e[2];const a=i;let m;e[3]!==n?(m=n?t.jsx(Ze,{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]=m):m=e[4];const c=n?"Copied!":"Install on Claude";let d;e[5]!==c?(d=t.jsx("span",{className:"text-xs font-medium",children:c}),e[5]=c,e[6]=d):d=e[6];let u;return e[7]!==a||e[8]!==m||e[9]!==d?(u=t.jsxs(q,{type:"button",variant:"outline",onClick:a,className:"h-auto py-3 px-4 flex flex-col items-center gap-2",children:[m,d]}),e[7]=a,e[8]=m,e[9]=d,e[10]=u):u=e[10],u}function us(o){const e=M.c(40),{open:s,onOpenChange:l,virtualMcp:n}=o,[r,i]=y.useState("code_execution");let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=N=>{(N==="passthrough"||N==="smart_tool_selection"||N==="code_execution")&&i(N)},e[0]=a):a=e[0];const m=a;let c;e[1]!==r||e[2]!==n.id?(c=new URL(`/mcp/virtual-mcp/${n.id}`,window.location.origin),c.searchParams.set("mode",r),e[1]=r,e[2]=n.id,e[3]=c):c=e[3];let d;e[4]!==n.id||e[5]!==n.title?(d=n.title||`agent-${n.id.slice(0,8)}`,e[4]=n.id,e[5]=n.title,e[6]=d):d=e[6];const u=d;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=t.jsx(Tt,{children:t.jsx(Mt,{children:"Share Agent"})}),e[7]=f):f=e[7];let x;e[8]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{children:t.jsx("h4",{className:"text-sm font-medium text-foreground mt-1",children:"How should this agent work?"})}),e[8]=x):x=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Xe,{className:"size-5 text-muted-foreground"})}),e[9]=p):p=e[9];let g;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Direct access"}),e[10]=g):g=e[10];let S;e[11]===Symbol.for("react.memo_cache_sentinel")?(S=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[11]=S):S=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C=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:[p,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[g,t.jsx(Q,{children:t.jsxs(J,{children:[S,t.jsx(X,{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(Pe,{id:"mode-passthrough",value:"passthrough"})]}),e[12]=C):C=e[12];let I;e[13]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(tt,{className:"size-5 text-muted-foreground"})}),e[13]=I):I=e[13];let k;e[14]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("span",{className:"text-sm font-medium text-foreground",children:"Smart discovery"}),e[14]=k):k=e[14];let j;e[15]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[15]=j):j=e[15];let v;e[16]===Symbol.for("react.memo_cache_sentinel")?(v=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:[I,t.jsxs("div",{className:"flex-1 flex flex-col gap-1.5",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[k,t.jsx(Q,{children:t.jsxs(J,{children:[j,t.jsx(X,{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(Pe,{id:"mode-smart",value:"smart_tool_selection"})]}),e[16]=v):v=e[16];let _;e[17]===Symbol.for("react.memo_cache_sentinel")?(_=t.jsx("div",{className:"p-1.5 shrink-0",children:t.jsx(Ot,{className:"size-5 text-muted-foreground"})}),e[17]=_):_=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 $;e[19]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(Z,{asChild:!0,children:t.jsx(Ce,{className:"size-3.5 text-muted-foreground"})}),e[19]=$):$=e[19];let w;e[20]===Symbol.for("react.memo_cache_sentinel")?(w=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:[_,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(Q,{children:t.jsxs(J,{children:[$,t.jsx(X,{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(Pe,{id:"mode-code",value:"code_execution"}),t.jsx(Qe,{variant:"outline",className:"absolute -top-2.5 left-1/2 -translate-x-1/2 bg-background z-10",children:"Recommended"})]}),e[20]=w):w=e[20];let P;e[21]!==r?(P=t.jsxs("div",{className:"flex flex-col gap-3",children:[x,t.jsxs(ns,{value:r,onValueChange:m,className:"flex flex-col gap-4.5",children:[C,v,w]})]}),e[21]=r,e[22]=P):P=e[22];let V;e[23]!==c.href?(V=t.jsx(cs,{url:c.href}),e[23]=c.href,e[24]=V):V=e[24];let z,R;e[25]!==u||e[26]!==c.href?(z=t.jsx(ds,{url:c.href,serverName:u}),R=t.jsx(ms,{url:c.href,serverName:u}),e[25]=u,e[26]=c.href,e[27]=z,e[28]=R):(z=e[27],R=e[28]);let E;e[29]!==V||e[30]!==z||e[31]!==R?(E=t.jsx("div",{className:"flex flex-col gap-3 pt-2",children:t.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[V,z,R]})}),e[29]=V,e[30]=z,e[31]=R,e[32]=E):E=e[32];let L;e[33]!==P||e[34]!==E?(L=t.jsxs($t,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[f,t.jsxs("div",{className:"flex flex-col gap-6",children:[P,E]})]}),e[33]=P,e[34]=E,e[35]=L):L=e[35];let h;return e[36]!==l||e[37]!==s||e[38]!==L?(h=t.jsx(Pt,{open:s,onOpenChange:l,children:L}),e[36]=l,e[37]=s,e[38]=L,e[39]=h):h=e[39],h}function fs(o){const e=M.c(27),{form:s,icon:l}=o;let n;e[0]!==s?(n=s.watch("title")||"Agent",e[0]=s,e[1]=n):n=e[1];let r;e[2]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Wt,{}),e[2]=r):r=e[2];let i;e[3]!==l||e[4]!==n?(i=t.jsx(Ae,{icon:l,name:n,size:"lg",className:"shrink-0 shadow-sm",fallbackIcon:r}),e[3]=l,e[4]=n,e[5]=i):i=e[5];let a;e[6]!==s.control?(a=t.jsx(de,{control:s.control,name:"status",render:js}),e[6]=s.control,e[7]=a):a=e[7];let m;e[8]!==i||e[9]!==a?(m=t.jsxs("div",{className:"flex items-start justify-between",children:[i,a]}),e[8]=i,e[9]=a,e[10]=m):m=e[10];let c;e[11]!==s.control?(c=t.jsxs("div",{className:"flex flex-col",children:[t.jsx(de,{control:s.control,name:"title",render:gs}),t.jsx(de,{control:s.control,name:"description",render:ps})]}),e[11]=s.control,e[12]=c):c=e[12];let d;e[13]!==m||e[14]!==c?(d=t.jsxs("div",{className:"flex flex-col gap-4 p-5 border-b border-border",children:[m,c]}),e[13]=m,e[14]=c,e[15]=d):d=e[15];let u;e[16]!==s.control?(u=t.jsx("div",{className:"flex flex-col gap-4 p-5 border-b border-border",children:t.jsx(de,{control:s.control,name:"tool_selection_mode",render:xs})}),e[16]=s.control,e[17]=u):u=e[17];let f;e[18]!==s.control?(f=t.jsx("div",{className:"flex flex-col gap-3 p-5",children:t.jsx(de,{control:s.control,name:"metadata",render:hs})}),e[18]=s.control,e[19]=f):f=e[19];let x;e[20]!==d||e[21]!==u||e[22]!==f?(x=t.jsxs("div",{className:"flex flex-col",children:[d,u,f]}),e[20]=d,e[21]=u,e[22]=f,e[23]=x):x=e[23];let p;return e[24]!==s||e[25]!==x?(p=t.jsx("div",{className:"flex flex-col h-full overflow-auto",children:t.jsx(zt,{...s,children:x})}),e[24]=s,e[25]=x,e[26]=p):p=e[26],p}function hs(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{children:[t.jsx(Je,{className:"text-sm font-medium text-foreground mb-1",children:"Instructions"}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"Define the agent's role, capabilities, and behavior to guide how it interprets requests, uses available tools, and responds to users."})]}),t.jsx(ue,{children:t.jsx(Lt,{value:e.value?.instructions??"",onChange:s=>e.onChange({...e.value??{},instructions:s.target.value||void 0}),placeholder:"You are a helpful assistant that specializes in customer support. Your role is to help users resolve issues and answer questions...",className:"min-h-[240px] resize-none text-sm leading-relaxed"})}),t.jsx(fe,{})]})}function xs(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsx(Je,{className:"mb-0",children:"Selection Mode"}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(Q,{children:t.jsxs(J,{children:[t.jsx(Z,{asChild:!0,children:t.jsx(q,{type:"button",variant:"ghost",size:"icon",className:"size-7","aria-label":"Selection mode help",children:t.jsx(Ce,{size:14,className:"text-muted-foreground"})})}),t.jsx(X,{side:"left",className:"max-w-sm",children:t.jsxs("div",{className:"text-xs space-y-1",children:[t.jsxs("div",{children:[t.jsx("strong",{children:"Include:"})," Only selected items are exposed."]}),t.jsxs("div",{children:[t.jsx("strong",{children:"Exclude:"})," All items except selected ones are exposed."]})]})})]})}),t.jsxs(At,{value:e.value,onValueChange:e.onChange,children:[t.jsx(ue,{children:t.jsx(Vt,{className:"w-[180px]",children:t.jsx(Et,{})})}),t.jsxs(Dt,{children:[t.jsx(Oe,{value:"inclusion",children:"Include Selected"}),t.jsx(Oe,{value:"exclusion",children:"Exclude Selected"})]})]})]})]}),t.jsx(fe,{})]})}function ps(o){const{field:e}=o;return t.jsxs(me,{className:"w-full space-y-0",children:[t.jsx(ue,{children:t.jsx(Ve,{...e,value:e.value||"",className:"h-auto text-base text-muted-foreground leading-6 px-0 border-transparent hover:border-input focus:border-input bg-transparent transition-all",placeholder:"Add a description..."})}),t.jsx(fe,{})]})}function gs(o){const{field:e}=o;return t.jsxs(me,{className:"w-full space-y-0",children:[t.jsx(ue,{children:t.jsx(Ve,{...e,className:"h-auto text-lg! font-medium leading-7 px-0 border-transparent hover:border-input focus:border-input bg-transparent transition-all",placeholder:"Agent Name"})}),t.jsx(fe,{})]})}function js(o){const{field:e}=o;return t.jsxs(me,{children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Qe,{variant:e.value==="active"?"success":"outline",children:e.value==="active"?"Active":"Inactive"}),t.jsx(ue,{children:t.jsx(Ft,{checked:e.value==="active",onCheckedChange:s=>e.onChange(s?"active":"inactive")})})]}),t.jsx(fe,{})]})}function bs(o){const e=M.c(76),{virtualMcp:s,virtualMcpId:l,requestedTabId:n}=o,i=dt().location.href,a=mt();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={from:"/$org/agents/$agentId"},e[0]=m):m=e[0];const c=We(m),d=It(),{org:u}=ut();let f;e[1]===Symbol.for("react.memo_cache_sentinel")?(f={},e[1]=f):f=e[1];const x=He(f),p=x.map(Ss);let g;e[2]!==u?(g=b=>({queryKey:Le.connectionPrompts(b),queryFn:async()=>{try{const A=await Fe({connectionId:b,orgId:u.id});return await _t(A)}catch{return{prompts:[]}}},staleTime:6e4,retry:!1}),e[2]=u,e[3]=g):g=e[3];const S=De({queries:p.map(g)});let C;e[4]!==u?(C=b=>({queryKey:Le.connectionResources(b),queryFn:async()=>{try{const A=await Fe({connectionId:b,orgId:u.id});return await wt(A)}catch{return{resources:[]}}},staleTime:6e4,retry:!1}),e[4]=u,e[5]=C):C=e[5];const I=De({queries:p.map(C)}),k=new Map;p.forEach((b,A)=>{const K=S[A];K?.data?k.set(b,K.data.prompts.map(Ns)):k.set(b,[])});const j=new Map;p.forEach((b,A)=>{const K=I[A];K?.data?j.set(b,K.data.resources.map(ys)):j.set(b,[])});let v;if(e[6]!==x){v=new Map;for(const b of x)b.tools&&b.tools.length>0&&v.set(b.id,b.tools.map(vs));e[6]=x,e[7]=v}else v=e[7];let _;e[8]!==v||e[9]!==s?(_=()=>Be(s,v),e[8]=v,e[9]=s,e[10]=_):_=e[10];const[T,$]=y.useState(_);let w;e[11]!==s?(w=()=>qe(s),e[11]=s,e[12]=w):w=e[12];const[P,V]=y.useState(w);let z;e[13]!==s?(z=()=>Ue(s),e[13]=s,e[14]=z):z=e[14];const[R,E]=y.useState(z),[L,h]=y.useState(!1),[N,D]=y.useState(!1);let F;e[15]===Symbol.for("react.memo_cache_sentinel")?(F=b=>{$(b),h(!0)},e[15]=F):F=e[15];const U=F;let W;e[16]===Symbol.for("react.memo_cache_sentinel")?(W=b=>{V(b),h(!0)},e[16]=W):W=e[16];const H=W;let O;e[17]===Symbol.for("react.memo_cache_sentinel")?(O=b=>{E(b),h(!0)},e[17]=O):O=e[17];const lt=O;let he;e[18]===Symbol.for("react.memo_cache_sentinel")?(he=ft(is),e[18]=he):he=e[18];const _e=s.tool_selection_mode??"inclusion";let ee;e[19]!==s.metadata?(ee=s.metadata??{instructions:""},e[19]=s.metadata,e[20]=ee):ee=e[20];let xe;e[21]!==_e||e[22]!==ee||e[23]!==s.description||e[24]!==s.status||e[25]!==s.title?(xe={resolver:he,defaultValues:{title:s.title,description:s.description,status:s.status,tool_selection_mode:_e,metadata:ee}},e[21]=_e,e[22]=ee,e[23]=s.description,e[24]=s.status,e[25]=s.title,e[26]=xe):xe=e[26];const Y=ht(xe),we=Y.formState.isDirty||L;let pe;e[27]!==d.update||e[28]!==v||e[29]!==Y||e[30]!==R||e[31]!==P||e[32]!==T||e[33]!==l?(pe=async()=>{try{const b=Y.getValues(),A=as(T,P,R,v),K={title:b.title,description:b.description,status:b.status,tool_selection_mode:b.tool_selection_mode,metadata:b.metadata,connections:A};await d.update.mutateAsync({id:l,data:K}),Y.reset(b),h(!1)}catch(b){console.error("Failed to save virtual MCP:",b)}},e[27]=d.update,e[28]=v,e[29]=Y,e[30]=R,e[31]=P,e[32]=T,e[33]=l,e[34]=pe):pe=e[34];const ke=pe;let ge;e[35]!==v||e[36]!==Y||e[37]!==s?(ge=()=>{Y.reset({title:s.title,description:s.description,status:s.status,tool_selection_mode:s.tool_selection_mode??"inclusion",metadata:s.metadata??{instructions:""}}),$(Be(s,v)),V(qe(s)),E(Ue(s)),h(!1)},e[35]=v,e[36]=Y,e[37]=s,e[38]=ge):ge=e[38];const Ie=ge;let je;e[39]===Symbol.for("react.memo_cache_sentinel")?(je=[{id:"settings",label:"Settings"},{id:"tools",label:"Tools"},{id:"resources",label:"Resources"},{id:"prompts",label:"Prompts"}],e[39]=je):je=e[39];const Ee=je,B=Ee.some(b=>b.id===n)?n:"settings";let be;e[40]!==c?(be=b=>{c({search:A=>({...A,tab:b}),replace:!0})},e[40]=c,e[41]=be):be=e[41];const Te=be,ce=d.update.isPending;let te;e[42]!==a.history?(te=()=>a.history.back(),e[42]=a.history,e[43]=te):te=e[43];let se;e[44]!==B||e[45]!==Te?(se=t.jsx(Yt,{children:t.jsx(Rt,{tabs:Ee,activeTab:B,onTabChange:Te})}),e[44]=B,e[45]=Te,e[46]=se):se=e[46];let oe;e[47]!==Ie||e[48]!==ke||e[49]!==we||e[50]!==ce?(oe=we&&t.jsxs(t.Fragment,{children:[t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:ce,onClick:Ie,"aria-label":"Cancel",children:t.jsx(qt,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Cancel"})]})}),t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",disabled:ce,onClick:ke,"aria-label":"Save",children:ce?t.jsx(ze,{size:14,className:"animate-spin"}):t.jsx(st,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Save"})]})})]}),e[47]=Ie,e[48]=ke,e[49]=we,e[50]=ce,e[51]=oe):oe=e[51];let ve;e[52]===Symbol.for("react.memo_cache_sentinel")?(ve=()=>D(!0),e[52]=ve):ve=e[52];let ye;e[53]===Symbol.for("react.memo_cache_sentinel")?(ye=t.jsx(Q,{children:t.jsxs(J,{delayDuration:0,children:[t.jsx(Z,{asChild:!0,children:t.jsx("span",{className:"inline-block",children:t.jsx(q,{variant:"outline",size:"icon",className:"size-7 border border-input",onClick:ve,"aria-label":"Share",children:t.jsx(Ut,{size:14})})})}),t.jsx(X,{side:"bottom",children:"Share"})]})}),e[53]=ye):ye=e[53];const Me=s.icon??"cpu_chip";let le;e[54]!==Me||e[55]!==i||e[56]!==s.title?(le=t.jsx(vt,{title:s.title,url:i,icon:Me}),e[54]=Me,e[55]=i,e[56]=s.title,e[57]=le):le=e[57];let ne;e[58]!==oe||e[59]!==le?(ne=t.jsxs(Gt,{children:[oe,ye,le]}),e[58]=oe,e[59]=le,e[60]=ne):ne=e[60];let Ne;e[61]===Symbol.for("react.memo_cache_sentinel")?(Ne=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(ze,{size:32,className:"animate-spin text-muted-foreground"})}),e[61]=Ne):Ne=e[61];const $e=B==="settings"?t.jsx(fs,{form:Y,icon:s.icon}):B==="tools"?t.jsx(yt,{toolSet:T,onToolSetChange:U,excludeVirtualMcpId:l}):B==="resources"?t.jsx(os,{resourceSet:P,onResourceSetChange:H,connectionResources:j,excludeVirtualMcpId:l}):B==="prompts"?t.jsx(Xt,{promptSet:R,onPromptSetChange:lt,connectionPrompts:k,excludeVirtualMcpId:l}):null;let re;e[62]!==$e?(re=t.jsx(y.Suspense,{fallback:Ne,children:$e}),e[62]=$e,e[63]=re):re=e[63];let ie;e[64]!==B||e[65]!==re?(ie=t.jsx("div",{className:"flex h-full w-full bg-background overflow-hidden",children:t.jsx("div",{className:"flex-1 flex flex-col min-w-0 bg-background overflow-hidden",children:t.jsx("div",{className:"h-full overflow-auto",children:t.jsx(Ye,{children:re},B)})})}),e[64]=B,e[65]=re,e[66]=ie):ie=e[66];let ae;e[67]!==N||e[68]!==s?(ae=t.jsx(us,{open:N,onOpenChange:D,virtualMcp:s}),e[67]=N,e[68]=s,e[69]=ae):ae=e[69];let Se;return e[70]!==te||e[71]!==se||e[72]!==ne||e[73]!==ie||e[74]!==ae?(Se=t.jsxs(Ht,{onBack:te,children:[se,ne,ie,ae]}),e[70]=te,e[71]=se,e[72]=ne,e[73]=ie,e[74]=ae,e[75]=Se):Se=e[75],Se}function vs(o){return o.name}function ys(o){return{uri:o.uri,name:o.name,description:o.description}}function Ns(o){return{name:o.name,description:o.description}}function Ss(o){return o.id}function Cs(){const o=M.c(10);let e;o[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/$org/agents/$agentId"},o[0]=e):e=o[0];const s=We(e);let l;o[1]===Symbol.for("react.memo_cache_sentinel")?(l={strict:!1},o[1]=l):l=o[1];const n=rt(l),{org:r}=n,i=n.agentId??n.virtualMcpId??"";let a;o[2]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},o[2]=a):a=o[2];const c=it(a).tab||"settings",d=kt(i);if(!d){let f;return o[3]!==s||o[4]!==r?(f=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(xt,{title:"Agent not found",description:"This Agent may have been deleted or you may not have access.",actions:t.jsx(q,{variant:"outline",onClick:()=>s({to:"/$org/agents",params:{org:r}}),children:"Back to agents"})})}),o[3]=s,o[4]=r,o[5]=f):f=o[5],f}let u;return o[6]!==c||o[7]!==d||o[8]!==i?(u=t.jsx(bs,{virtualMcp:d,virtualMcpId:i,requestedTabId:c}),o[6]=c,o[7]=d,o[8]=i,o[9]=u):u=o[9],u}function _s(){const o=M.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Ye,{children:t.jsx(y.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center bg-background",children:t.jsx(ze,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Cs,{})})}),o[0]=e):e=o[0],e}function po(){const o=M.c(1);let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(_s,{}),o[0]=e):e=o[0],e}export{po as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as ee,j as t,r as te,u as oe,l as ne}from"./index-
|
|
1
|
+
import{c as ee,j as t,r as te,u as oe,l as ne}from"./index-DAh_kZ0g.js";import{C as re}from"./collection-header-BH0hMpwH.js";import{C as ie}from"./collection-page-D7qrDAdO.js";import{C as ae}from"./collection-search-DriJZFj9.js";import{C as le}from"./collection-table-wrapper-XQuXSlg_.js";import{C as ce}from"./connection-card-DXxyylc0.js";import{E as q,I as de}from"./empty-state-NBwahr1o.js";import{E as me}from"./error-boundary-DVK1pLb7.js";import{u as ue,s as J}from"./use-list-state-BTo0-e9z.js";import{u as ge}from"./use-create-virtual-mcp-0twT7MZg.js";import{b as pe,a as he}from"./use-virtual-mcp-BfKCjW0R.js";import{c as fe,b as xe,d as je,A as Ce,e as we,g as Ne,a as ye,f as De}from"./alert-dialog-BehqkAiu.js";import{B as se}from"./badge-CngTAfQv.js";import{B as G}from"./button-BHD-W54e.js";import{D as Q,a as U,b as X,c as V}from"./dropdown-menu-D88t_1GY.js";import{i as Y}from"./DotsVertical-YtFig9Al.js";import{i as Se}from"./Loading01-Ck4DHeCz.js";import{s as Z}from"./Trash01-O2qCmwMn.js";import{t as x}from"./Users03-BmQGs7qi.js";import"./collection-display-button-D7y47NmT.js";import"./ArrowUp-j0Zx2i-T.js";import"./Check-DxEsBW6A.js";import"./Grid01-C2ELbDxI.js";import"./List-DALRRs8f.js";import"./tooltip-HFuN7GTj.js";import"./view-mode-toggle-CAFyQEy3.js";import"./SearchMd-BwwEmX02.js";import"./input-RCMmufsJ.js";import"./card-CDL86Pnt.js";import"./use-mobile-DmEMdkp7.js";import"./use-collections-D-6KNpdU.js";import"./useMutation-D2ghwSsm.js";import"./useQuery-CiLTpy4Q.js";import"./constants-B-pBHHtD.js";function be(e,n){switch(n.type){case"delete":return{mode:"deleting",virtualMcp:n.virtualMcp};case"close":return{mode:"idle"}}}function ve(){const e=ee.c(63),{org:n}=oe(),i=ne();let j;e[0]!==n.slug?(j={namespace:n.slug,resource:"agents"},e[0]=n.slug,e[1]=j):j=e[1];const s=ue(j),f=pe(s);let C;e[2]===Symbol.for("react.memo_cache_sentinel")?(C={navigateOnCreate:!0},e[2]=C):C=e[2];const{createVirtualMCP:O,isCreating:w}=ge(C),B=he();let N;e[3]===Symbol.for("react.memo_cache_sentinel")?(N={mode:"idle"},e[3]=N):N=e[3];const[r,y]=te.useReducer(be,N);let D;e[4]!==B||e[5]!==r.mode||e[6]!==r.virtualMcp?(D=async()=>{if(r.mode!=="deleting")return;const o=r.virtualMcp.id;y({type:"close"});try{await B.delete.mutateAsync(o)}catch{}},e[4]=B,e[5]=r.mode,e[6]=r.virtualMcp,e[7]=D):D=e[7];const R=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:Ee,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:"mode",header:"Mode",accessor:Pe,cellClassName:"w-[100px]"},A={id:"connections",header:"Connections",render:Me,cellClassName:"w-24 shrink-0"},_={id:"status",header:"Status",render:ze,cellClassName:"w-24 shrink-0",sortable:!0},e[8]=S,e[9]=b,e[10]=v,e[11]=k,e[12]=A,e[13]=_):(S=e[8],b=e[9],v=e[10],k=e[11],A=e[12],_=e[13]);let I;e[14]!==i||e[15]!==n.slug?(I=[S,b,v,k,A,_,{id:"actions",header:"",render:o=>t.jsxs(Q,{children:[t.jsx(U,{asChild:!0,children:t.jsx(G,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Ie,children:t.jsx(Y,{size:20})})}),t.jsxs(X,{align:"end",onClick:_e,children:[t.jsxs(V,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:n.slug,agentId:o.id}})},children:[t.jsx(J,{size:16}),"Open"]}),t.jsxs(V,{variant:"destructive",onClick:a=>{a.stopPropagation(),y({type:"delete",virtualMcp:o})},children:[t.jsx(Z,{size:16}),"Delete"]})]})]}),cellClassName:"w-12 shrink-0"}],e[14]=i,e[15]=n.slug,e[16]=I):I=e[16];const T=I,H=w?"Creating...":"Create Agent";let z;e[17]!==O||e[18]!==w||e[19]!==H?(z=t.jsx(G,{onClick:O,size:"sm",className:"h-7 px-3 rounded-lg text-sm font-medium",disabled:w,children:H}),e[17]=O,e[18]=w,e[19]=H,e[20]=z):z=e[20];const L=z,F=r.mode==="deleting";let M;e[21]===Symbol.for("react.memo_cache_sentinel")?(M=o=>!o&&y({type:"close"}),e[21]=M):M=e[21];let P;e[22]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx(fe,{children:"Delete Agent?"}),e[22]=P):P=e[22];const W=r.mode==="deleting"&&r.virtualMcp.title;let l;e[23]!==W?(l=t.jsxs(xe,{children:[P,t.jsxs(je,{children:["This action cannot be undone. This will permanently delete"," ",t.jsx("span",{className:"font-medium text-foreground",children:W}),"."]})]}),e[23]=W,e[24]=l):l=e[24];let $;e[25]===Symbol.for("react.memo_cache_sentinel")?($=t.jsx(Ce,{children:"Cancel"}),e[25]=$):$=e[25];let c;e[26]!==R?(c=t.jsxs(we,{children:[$,t.jsx(Ne,{onClick:R,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete"})]}),e[26]=R,e[27]=c):c=e[27];let d;e[28]!==l||e[29]!==c?(d=t.jsxs(ye,{children:[l,c]}),e[28]=l,e[29]=c,e[30]=d):d=e[30];let m;e[31]!==F||e[32]!==d?(m=t.jsx(De,{open:F,onOpenChange:M,children:d}),e[31]=F,e[32]=d,e[33]=m):m=e[33];let E;e[34]===Symbol.for("react.memo_cache_sentinel")?(E=[{id:"title",label:"Name"},{id:"description",label:"Description"},{id:"status",label:"Status"}],e[34]=E):E=e[34];let u;e[35]!==L||e[36]!==s.handleSort||e[37]!==s.setViewMode||e[38]!==s.sortDirection||e[39]!==s.sortKey||e[40]!==s.viewMode?(u=t.jsx(re,{title:"Agents",viewMode:s.viewMode,onViewModeChange:s.setViewMode,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,sortOptions:E,ctaButton:L}),e[35]=L,e[36]=s.handleSort,e[37]=s.setViewMode,e[38]=s.sortDirection,e[39]=s.sortKey,e[40]=s.viewMode,e[41]=u):u=e[41];let g;e[42]!==s?(g=o=>{o.key==="Escape"&&(s.setSearch(""),o.target.blur())},e[42]=s,e[43]=g):g=e[43];let p;e[44]!==s.search||e[45]!==s.setSearch||e[46]!==g?(p=t.jsx(ae,{value:s.search,onChange:s.setSearch,placeholder:"Search for an agent...",onKeyDown:g}),e[44]=s.search,e[45]=s.setSearch,e[46]=g,e[47]=p):p=e[47];let h;e[48]!==T||e[49]!==s.handleSort||e[50]!==s.search||e[51]!==s.sortDirection||e[52]!==s.sortKey||e[53]!==s.viewMode||e[54]!==i||e[55]!==n.slug||e[56]!==f?(h=s.viewMode==="cards"?t.jsx("div",{className:"flex-1 overflow-auto p-5",children:f.length===0?t.jsx(q,{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(ce,{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:n.slug,agentId:o.id}}),footer:t.jsxs("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":""]}),t.jsx("span",{children:"•"}),t.jsx("span",{children:o.tool_selection_mode==="exclusion"?"Exclude":"Include"})]}),headerActions:t.jsxs(Q,{children:[t.jsx(U,{asChild:!0,children:t.jsx(G,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:Ae,children:t.jsx(Y,{size:20})})}),t.jsxs(X,{align:"end",onClick:ke,children:[t.jsxs(V,{onClick:a=>{a.stopPropagation(),i({to:"/$org/agents/$agentId",params:{org:n.slug,agentId:o.id}})},children:[t.jsx(J,{size:16}),"Open"]}),t.jsxs(V,{variant:"destructive",onClick:a=>{a.stopPropagation(),y({type:"delete",virtualMcp:o})},children:[t.jsx(Z,{size:16}),"Delete"]})]})]})},o.id))})}):t.jsx(le,{columns:T,data:f,isLoading:!1,sortKey:s.sortKey,sortDirection:s.sortDirection,onSort:s.handleSort,onRowClick:o=>i({to:"/$org/agents/$agentId",params:{org:n.slug,agentId:o.id}}),emptyState:s.search?t.jsx(q,{image:t.jsx(x,{size:36,className:"text-muted-foreground"}),title:"No agents found",description:`No agents match "${s.search}"`}):t.jsx(q,{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[48]=T,e[49]=s.handleSort,e[50]=s.search,e[51]=s.sortDirection,e[52]=s.sortKey,e[53]=s.viewMode,e[54]=i,e[55]=n.slug,e[56]=f,e[57]=h):h=e[57];let K;return e[58]!==m||e[59]!==u||e[60]!==p||e[61]!==h?(K=t.jsxs(ie,{children:[m,u,p,h]}),e[58]=m,e[59]=u,e[60]=p,e[61]=h,e[62]=K):K=e[62],K}function ke(e){return e.stopPropagation()}function Ae(e){return e.stopPropagation()}function _e(e){return e.stopPropagation()}function Ie(e){return e.stopPropagation()}function ze(e){return t.jsx(se,{variant:e.status==="active"?"default":"outline",children:e.status})}function Me(e){return t.jsx("span",{className:"text-sm text-muted-foreground",children:e.connections.length})}function Pe(e){return t.jsx(se,{variant:"outline",className:"text-xs",children:e.tool_selection_mode==="exclusion"?"Exclude":"Include"})}function $e(e){return t.jsx("span",{className:"text-sm text-foreground line-clamp-2",children:e.description||"—"})}function Ee(e){return t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:e.title})}function Ke(e){return t.jsx(de,{icon:e.icon,name:e.title,size:"sm",className:"shrink-0 shadow-sm",fallbackIcon:t.jsx(x,{size:16})})}function xt(){const e=ee.c(1);let n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx(me,{children:t.jsx(te.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]=n):n=e[0],n}export{xt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,ak as m,j as r,aK as w,v as T,am as O,z as A,R as M,T as I,D as z,w as L,aL as D,aM as F,at as k,y as G,x as H,c as n}from"./index-
|
|
1
|
+
import{r as i,ak as m,j as r,aK as w,v as T,am as O,z as A,R as M,T as I,D as z,w as L,aL as D,aM as F,at as k,y as G,x as H,c as n}from"./index-DAh_kZ0g.js";import{c as p,b as v}from"./button-BHD-W54e.js";var x="AlertDialog",[V]=k(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 W="AlertDialogTrigger",Y=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(G,{...o,...a,ref:e})});Y.displayName=W;var q="AlertDialogPortal",y=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return r.jsx(L,{...a,...t})};y.displayName=q;var B="AlertDialogOverlay",_=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(H,{...o,...a,ref:e})});_.displayName=B;var f="AlertDialogContent",[K,J]=V(f),Q=F("AlertDialogContent"),j=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,children:a,...o}=l,s=d(t),c=i.useRef(null),P=m(e,c),u=i.useRef(null);return r.jsx(w,{contentName:f,titleName:b,docsSlug:"alert-dialog",children:r.jsx(K,{scope:t,cancelRef:u,children:r.jsxs(T,{role:"alertdialog",...s,...o,ref:P,onOpenAutoFocus:O(o.onOpenAutoFocus,g=>{g.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:g=>g.preventDefault(),onInteractOutside:g=>g.preventDefault(),children:[r.jsx(Q,{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 R="AlertDialogDescription",E=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(z,{...o,...a,ref:e})});E.displayName=R;var U="AlertDialogAction",C=i.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return r.jsx(A,{...o,...a,ref:e})});C.displayName=U;var $="AlertDialogCancel",S=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})});S.displayName=$;var X=({contentRef:l})=>{const e=`\`${f}\` requires a description for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
You can add a description to the \`${f}\` by passing a \`${R}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
4
|
|
|
@@ -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-DAh_kZ0g.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};
|