@decocms/mesh 2.125.2 → 2.125.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-Cnw5GhjM.js → AlertCircle-CAn1onHH.js} +1 -1
- package/dist/client/assets/{AlertOctagon-PE1D_d6N.js → AlertOctagon-ChcnKW7P.js} +1 -1
- package/dist/client/assets/{AlertTriangle-DiiOmxZ5.js → AlertTriangle-Suhq71Ba.js} +1 -1
- package/dist/client/assets/{ArrowDown-Dq_ix_a5.js → ArrowDown-BQn3fvf7.js} +1 -1
- package/dist/client/assets/{ArrowLeft-2v2jDyMq.js → ArrowLeft-DkojAdWe.js} +1 -1
- package/dist/client/assets/{ArrowUp-CP0dzs2U.js → ArrowUp-CCTJ8tar.js} +1 -1
- package/dist/client/assets/{Check-IyJXmB3D.js → Check-2BTd1528.js} +1 -1
- package/dist/client/assets/{CheckCircle-D3-L-7q8.js → CheckCircle-DUsP9qJl.js} +1 -1
- package/dist/client/assets/{CheckDone01-Bl3K1H3i.js → CheckDone01-Bs5yfbwu.js} +1 -1
- package/dist/client/assets/{CheckVerified02-BTHXPwp3.js → CheckVerified02-D9LvEg4-.js} +1 -1
- package/dist/client/assets/{ChevronDown-CrA0GhEu.js → ChevronDown-BK0Z-3ss.js} +1 -1
- package/dist/client/assets/{ChevronRight-CQzN9ZtD.js → ChevronRight-CpFHeZ-k.js} +1 -1
- package/dist/client/assets/{Clock-BMY1eaW0.js → Clock-DWLl74MU.js} +1 -1
- package/dist/client/assets/{Code01-CeGRGPJZ.js → Code01-D7rt1C5k.js} +1 -1
- package/dist/client/assets/{Container-BgkRftdL.js → Container-Dkua_wx6.js} +1 -1
- package/dist/client/assets/{Copy01-B7sbyU73.js → Copy01-CWD2XYkN.js} +1 -1
- package/dist/client/assets/{Dataflow03-YIKw6rhG.js → Dataflow03-dIUcYa_e.js} +1 -1
- package/dist/client/assets/{DotsHorizontal-CStsW4jn.js → DotsHorizontal-R03fSXLm.js} +1 -1
- package/dist/client/assets/{DotsVertical-BPB7nTxW.js → DotsVertical-nJGFqnIJ.js} +1 -1
- package/dist/client/assets/{Download01-Iy9CsXT2.js → Download01-w53nljTi.js} +1 -1
- package/dist/client/assets/{Edit01-BpchkiZj.js → Edit01-Een9NeGa.js} +1 -1
- package/dist/client/assets/{Eye-CF7Jsi4h.js → Eye-cRMKwlob.js} +1 -1
- package/dist/client/assets/{File02-CNIaQNnA.js → File02-BiHbI-Bs.js} +1 -1
- package/dist/client/assets/{File06-CN-CUlfW.js → File06-DK6hozGp.js} +1 -1
- package/dist/client/assets/{FilterLines-DKhKP4R7.js → FilterLines-DcFfiBYv.js} +1 -1
- package/dist/client/assets/{Globe01-C1WtitJR.js → Globe01-zBSU4RrG.js} +1 -1
- package/dist/client/assets/{Globe02-CLsJ4yCM.js → Globe02-BzI-D3XF.js} +1 -1
- package/dist/client/assets/{Grid01-BfcTdCmK.js → Grid01-DtWTP079.js} +1 -1
- package/dist/client/assets/{Hash02-66QHm8zh.js → Hash02-B_cIkiva.js} +1 -1
- package/dist/client/assets/{Home02-CLBx-CYf.js → Home02-B0J9-6Fj.js} +1 -1
- package/dist/client/assets/{Image01-DiX4EYL6.js → Image01-DuLPJrbP.js} +1 -1
- package/dist/client/assets/{Inbox01-uvAm2NdJ.js → Inbox01-DkeOZ2C_.js} +1 -1
- package/dist/client/assets/{InfoCircle-D8WkBwCV.js → InfoCircle-v_Zi3ix-.js} +1 -1
- package/dist/client/assets/{Key01-CRfrhjcx.js → Key01-FdWHEw6c.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Dmi80ZqJ.js → LinkExternal01-BvWelMzx.js} +1 -1
- package/dist/client/assets/{List-DHYjADtQ.js → List-D1SXIq-Q.js} +1 -1
- package/dist/client/assets/{Loading01-5Os1EBQC.js → Loading01-BntQXW3R.js} +1 -1
- package/dist/client/assets/{Lock01-CMu9e9I1.js → Lock01-Ca25inpJ.js} +1 -1
- package/dist/client/assets/{Pin01-Dtlca92y.js → Pin01-D5SNXGno.js} +1 -1
- package/dist/client/assets/{Play-DpYyJNLB.js → Play-Dv6XoPC1.js} +1 -1
- package/dist/client/assets/{Plus-BZOdPpEn.js → Plus-BpJ1F9ED.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-BU6Us9RR.js → RefreshCcw01-C6HpBrM2.js} +1 -1
- package/dist/client/assets/{RefreshCw01-ClksFdlE.js → RefreshCw01-BLvlqjIJ.js} +1 -1
- package/dist/client/assets/{Rows03-iLB6Pjez.js → Rows03-Bw2KmPLF.js} +1 -1
- package/dist/client/assets/{Save01-ipX1ktUE.js → Save01-C7Op6P3G.js} +1 -1
- package/dist/client/assets/{SearchMd-C4hV7R8V.js → SearchMd-B22BWSrE.js} +1 -1
- package/dist/client/assets/{Settings01-KIfOk1bg.js → Settings01-39eYdV1s.js} +1 -1
- package/dist/client/assets/{Shield01-Nc9e9wCl.js → Shield01-D5vtlDrS.js} +1 -1
- package/dist/client/assets/{Terminal-1Out0GjX.js → Terminal-jwgZ8meH.js} +1 -1
- package/dist/client/assets/{Trash01-DA9Iy0yG.js → Trash01-NHvYJiOw.js} +1 -1
- package/dist/client/assets/{Upload01-Co__isOw.js → Upload01-B7z0chWz.js} +1 -1
- package/dist/client/assets/{Users03-D2hf7hmK.js → Users03-CfBv5uVc.js} +1 -1
- package/dist/client/assets/{X-gSzwTkxQ.js → X-nbY3n5YX.js} +1 -1
- package/dist/client/assets/{XCircle-C6_3gAM6.js → XCircle-CdrNrzcr.js} +1 -1
- package/dist/client/assets/{XClose-MRwdozeO.js → XClose-DHV8bqGR.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-D6JhcHHQ.js → agent-connections-preview-D2nPeCg-.js} +1 -1
- package/dist/client/assets/{agent-detail-BpcgS_WA.js → agent-detail-CAAcyNFf.js} +1 -1
- package/dist/client/assets/{agents-CiEGGxbH.js → agents-IxYsoQkx.js} +1 -1
- package/dist/client/assets/alert-dialog-DIblcPQC.js +7 -0
- package/dist/client/assets/{auth-catchall-B4V1ZqhA.js → auth-catchall-lueUuNUs.js} +1 -1
- package/dist/client/assets/{avatar-DvchIe54.js → avatar-DAde4Coq.js} +1 -1
- package/dist/client/assets/{badge-DU-tZMJX.js → badge-EvnzqGBM.js} +1 -1
- package/dist/client/assets/{binder-DYtUzpSy.js → binder-DtqSnmtn.js} +1 -1
- package/dist/client/assets/{breadcrumb-Btg1z4US.js → breadcrumb-Dit0z7A7.js} +1 -1
- package/dist/client/assets/{button-SrN4bZ1L.js → button-DDY6hri1.js} +1 -1
- package/dist/client/assets/{card-qnGcUCM7.js → card-CHcjH7V4.js} +1 -1
- package/dist/client/assets/{chart-Dv2iFlyz.js → chart-BEZIHLHA.js} +1 -1
- package/dist/client/assets/{checkbox-CysU4JNH.js → checkbox-_pZquTsv.js} +1 -1
- package/dist/client/assets/{circle-alert-BCTsSu2I.js → circle-alert-8my-DdYx.js} +1 -1
- package/dist/client/assets/{collection-detail-BYSxk4oE.js → collection-detail-BPjVfY9E.js} +1 -1
- package/dist/client/assets/{collection-search-B9NZ4RH6.js → collection-search-BhyeAK8D.js} +1 -1
- package/dist/client/assets/{collection-tab-BcJoa4qY.js → collection-tab-DYRZjIfR.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-ByW-kXsd.js → collection-table-wrapper-DF0r5l64.js} +1 -1
- package/dist/client/assets/{collection-tabs-GSP6CAnl.js → collection-tabs-CMMj9apF.js} +1 -1
- package/dist/client/assets/{command-Du6rS94S.js → command-D0lPyqX9.js} +1 -1
- package/dist/client/assets/{connect-DOymnzkM.js → connect-jPJQySxH.js} +1 -1
- package/dist/client/assets/{connection-card-CMw5gBsW.js → connection-card-C36z_Zfo.js} +1 -1
- package/dist/client/assets/{connection-detail-dcoyE7_9.js → connection-detail-D4fpJvP6.js} +1 -1
- package/dist/client/assets/{connections-C-xjHvMP.js → connections-Dd7R3YoP.js} +1 -1
- package/dist/client/assets/{constants-DisK0xae.js → constants-BWuwqVaf.js} +1 -1
- package/dist/client/assets/constants-alL-orOw.js +1 -0
- package/dist/client/assets/{context-C_I7xFo7.js → context-BoqYBHof.js} +2 -2
- package/dist/client/assets/{create-organization-dialog-yQPBfpjD.js → create-organization-dialog-DZ-29KA3.js} +1 -1
- package/dist/client/assets/{create-project-dialog-OPPYG5uC.js → create-project-dialog-5JWgj7o1.js} +1 -1
- package/dist/client/assets/{deco-constants-GtDdHPMJ.js → deco-constants-Lndb0_Fi.js} +1 -1
- package/dist/client/assets/{dialog-DH6FGz6L.js → dialog-AmArt43J.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CvPfeATW.js → dropdown-menu-CMr4pVGd.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-deQJwm8k.js → dynamic-plugin-layout-B-RWLbim.js} +1 -1
- package/dist/client/assets/{empty-state-B_zGNEf7.js → empty-state-BxqfhnZC.js} +1 -1
- package/dist/client/assets/{empty-state-DUeMScV0.js → empty-state-CUU2GnRG.js} +1 -1
- package/dist/client/assets/{env-vars-editor-DpLZr7Mp.js → env-vars-editor-CeWJLU0d.js} +1 -1
- package/dist/client/assets/{error-boundary-CgOqOmL9.js → error-boundary-BbdoNwwk.js} +1 -1
- package/dist/client/assets/{extract-connection-data-qY6ONXDc.js → extract-connection-data-FghvIcuN.js} +1 -1
- package/dist/client/assets/{file-browser-iY7A5vK5.js → file-browser-BRNDEG3O.js} +2 -2
- package/dist/client/assets/{form-DdSGRLg9.js → form-Bsyh-cQj.js} +1 -1
- package/dist/client/assets/{grid-view-Nx0znnGe.js → grid-view-BjxbyS3V.js} +1 -1
- package/dist/client/assets/{home-WDKWnX-6.js → home-BqlHZV0D.js} +1 -1
- package/dist/client/assets/{index-Cr3EE_Oz.js → index-7GX9Z2_E.js} +1 -1
- package/dist/client/assets/{index-BNESb5f9.js → index-BwsTCLNe.js} +1 -1
- package/dist/client/assets/{index-p3omciU2.js → index-CMIePc8v.js} +3 -3
- package/dist/client/assets/{index-C4EDt4lI.js → index-Ck8tqNHK.js} +1 -1
- package/dist/client/assets/{index-BGG0J_lN.js → index-ClGhCbA0.js} +1 -1
- package/dist/client/assets/{index-CrsSJxhW.js → index-DFjHyz2s.js} +1 -1
- package/dist/client/assets/{index-BQJHl8k7.js → index-IwkUYudi.js} +1 -1
- package/dist/client/assets/{index-BmoMauUd.js → index-MmPZuevW.js} +1 -1
- package/dist/client/assets/{index-CqCSkLvQ.js → index-_qbzL5MU.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-Bwh-NMGh.js → infiniteQueryObserver-DuAdiH0n.js} +1 -1
- package/dist/client/assets/{input-C19rUyj9.js → input-Je9XV62u.js} +1 -1
- package/dist/client/assets/{integration-icon-CMj9-FPS.js → integration-icon-DeiJ75EP.js} +1 -1
- package/dist/client/assets/{label-vYcgzZeb.js → label-Ct-IE-k2.js} +1 -1
- package/dist/client/assets/{layout-B39Q-9q3.js → layout-BWtcS0Q2.js} +1 -1
- package/dist/client/assets/{localstorage-keys-DIWr3Ek_.js → localstorage-keys-B-4HWrAO.js} +1 -1
- package/dist/client/assets/{login-CA6nx1du.js → login-swb3IsCw.js} +1 -1
- package/dist/client/assets/{markdown-Dc-S7aGn.js → markdown-BshJmJUr.js} +1 -1
- package/dist/client/assets/{mcp-oauth-C04X2g0h.js → mcp-oauth-DtHeHoWJ.js} +1 -1
- package/dist/client/assets/{mcp-server-card-ByBnE-vj.js → mcp-server-card-DJ-C7iNn.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-C68kfF_y.js → mcp-server-detail-Du1aBWwk.js} +2 -2
- package/dist/client/assets/{members-Yn81rJ_1.js → members-BLWGtvj7.js} +1 -1
- package/dist/client/assets/{monitoring-WM-Rk7qO.js → monitoring-Dkzs8zLr.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-Dp8NRuZd.js → monitoring-dashboard-edit-6Jd7ItfF.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-wLbkoGo1.js → monitoring-dashboard-view-NmZHmCWV.js} +1 -1
- package/dist/client/assets/{oauth-callback-CaX2c7Wu.js → oauth-callback-hu62EGGB.js} +1 -1
- package/dist/client/assets/{page-BvMChlEF.js → page-C-wJ53x_.js} +1 -1
- package/dist/client/assets/{page-CXSHaeva.js → page-Y1SYGnRN.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-CVngkfX3.js → plugin-empty-state-BfDH4uPn.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-D0_za-x_.js → plugin-empty-state-DRRVQKmb.js} +1 -1
- package/dist/client/assets/{plugin-header-PVE46n-W.js → plugin-header-8kNYjC6n.js} +1 -1
- package/dist/client/assets/{plugin-header-CqyTjT8y.js → plugin-header-BPNBXPjM.js} +1 -1
- package/dist/client/assets/{popover-Bz-dtYC4.js → popover-CdPr2kUy.js} +1 -1
- package/dist/client/assets/{project-layout-Cz0HYNyh.js → project-layout-bgteQ5fY.js} +1 -1
- package/dist/client/assets/{projects-list-BfIgV1F1.js → projects-list-DngofdiO.js} +1 -1
- package/dist/client/assets/{ranking-layout-CiiVJptK.js → ranking-layout-BxRgmZtS.js} +1 -1
- package/dist/client/assets/{readme-viewer-C7GbD9G5.js → readme-viewer-ym80L_hw.js} +1 -1
- package/dist/client/assets/{registry-layout-ChpSfSFu.js → registry-layout-C8Ew4flr.js} +1 -1
- package/dist/client/assets/{registry-utils-B61PMbF-.js → registry-utils-DBAgugDf.js} +1 -1
- package/dist/client/assets/{reports-layout-BvKe5aI3.js → reports-layout-BoIJWhiW.js} +1 -1
- package/dist/client/assets/{reset-password-B7ISHNC0.js → reset-password-DY5mUItc.js} +1 -1
- package/dist/client/assets/{resizable-Cu9ocREr.js → resizable-8m39GKGn.js} +1 -1
- package/dist/client/assets/{save-actions-CAz6Fzpg.js → save-actions-DnxE-Bzm.js} +1 -1
- package/dist/client/assets/{scroll-area-CVHsk4Pe.js → scroll-area-C-RNU2ZC.js} +1 -1
- package/dist/client/assets/{select-DFuMzqKt.js → select-B9AjxT2Q.js} +1 -1
- package/dist/client/assets/{shell-layout-Wquvsd36.js → shell-layout-DY2c6Efx.js} +2 -2
- package/dist/client/assets/{skeleton-DQTz2Cfy.js → skeleton-BAWgWTH6.js} +1 -1
- package/dist/client/assets/{spinner-DxDNcb59.js → spinner-C5H8EOvR.js} +1 -1
- package/dist/client/assets/{store-invite-SskJUHyO.js → store-invite-BSP87zro.js} +1 -1
- package/dist/client/assets/switch-Bnxx_fFZ.js +1 -0
- package/dist/client/assets/{table-CQcuIfNu.js → table-Bt31_DyV.js} +1 -1
- package/dist/client/assets/{tasks-CnBGBvBV.js → tasks-OIFCJv2K.js} +1 -1
- package/dist/client/assets/{textarea-BDWEwIDH.js → textarea-Dfcf9iVI.js} +1 -1
- package/dist/client/assets/{time-range-picker-kirfhhc9.js → time-range-picker-VoxMdMGw.js} +1 -1
- package/dist/client/assets/{toggle-group-BMIOl_5K.js → toggle-group-BYr6H2N2.js} +1 -1
- package/dist/client/assets/{tools-list-Cn1p3mLu.js → tools-list-CMPsf87L.js} +1 -1
- package/dist/client/assets/{tooltip-BbsUVNzK.js → tooltip-Kun6OEqc.js} +1 -1
- package/dist/client/assets/{topbar-portal-BRE2WBz7.js → topbar-portal-BYkDxjeH.js} +1 -1
- package/dist/client/assets/{typewriter-title-BILoCXrZ.js → typewriter-title-ir44iZyu.js} +1 -1
- package/dist/client/assets/{use-binding-BdZ1UVgx.js → use-binding-Bt6opM01.js} +1 -1
- package/dist/client/assets/{use-connection-DkSSfi9a.js → use-connection-CZeLlUDa.js} +1 -1
- package/dist/client/assets/{use-copy-BB2kbW8i.js → use-copy-BLt7-cw9.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CHG7UVpA.js → use-create-virtual-mcp-BWbRPuCZ.js} +1 -1
- package/dist/client/assets/{use-deco-chat-open-BD3xJReE.js → use-deco-chat-open-DqF5WsjN.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-BqPjgCPd.js → use-install-from-registry-BsUBgwfp.js} +1 -1
- package/dist/client/assets/{use-list-state-DpzviSdT.js → use-list-state-B_n0GZwG.js} +1 -1
- package/dist/client/assets/{use-llm-DTPk3_13.js → use-llm-CBsUcVLv.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-CB93WJg8.js → use-mcp-prompts-CTAKOvKB.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CGC3tcmA.js → use-mcp-tools-BED8kPD7.js} +1 -1
- package/dist/client/assets/{use-mobile-CjVgJBva.js → use-mobile-DLzBblnh.js} +1 -1
- package/dist/client/assets/{use-organization-settings-rYyRzSoT.js → use-organization-settings-BTKBql6r.js} +1 -1
- package/dist/client/assets/{use-project-CnwCxI-j.js → use-project-Dgs5h9hm.js} +1 -1
- package/dist/client/assets/{use-settings-modal-tv8Da55W.js → use-settings-modal-CL7KNbwO.js} +1 -1
- package/dist/client/assets/{use-view-mode-DDLmSRVK.js → use-view-mode-Cm6MlS0B.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-gsGIP_cY.js → use-virtual-mcp-chylq6BL.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-B4zFsz_-.js +1 -0
- package/dist/client/assets/{useMutation-GHxEJTN4.js → useMutation-CTU78J7M.js} +1 -1
- package/dist/client/assets/useQuery-CL8s1AaN.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CnNOZleg.js +1 -0
- package/dist/client/assets/{view-mode-toggle-BeStXEmg.js → view-mode-toggle-lRAyyRMm.js} +1 -1
- package/dist/client/assets/{workflow-DujY0Kfk.js → workflow-CH4Jfjr7.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +4 -4
- package/dist/server/migrate.js +4 -4
- package/dist/server/server.js +4 -4
- package/package.json +1 -1
- package/dist/client/assets/alert-dialog-BwY-RhAj.js +0 -7
- package/dist/client/assets/constants-XXbgLKEI.js +0 -1
- package/dist/client/assets/switch-D4ggk_Yk.js +0 -1
- package/dist/client/assets/useInfiniteQuery-DrLsISf0.js +0 -1
- package/dist/client/assets/useQuery-KFMXc5Td.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Cw1MYhE7.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-BxRgmZtS.js","assets/binder-DtqSnmtn.js","assets/useQuery-CL8s1AaN.js","assets/use-connection-CZeLlUDa.js","assets/useMutation-CTU78J7M.js","assets/constants-BWuwqVaf.js","assets/topbar-portal-BYkDxjeH.js","assets/button-DDY6hri1.js","assets/Loading01-BntQXW3R.js","assets/Settings01-39eYdV1s.js","assets/dialog-AmArt43J.js","assets/X-nbY3n5YX.js","assets/dropdown-menu-CMr4pVGd.js","assets/Check-2BTd1528.js","assets/ChevronRight-CpFHeZ-k.js","assets/input-Je9XV62u.js","assets/switch-Bnxx_fFZ.js","assets/DotsVertical-nJGFqnIJ.js","assets/Plus-BpJ1F9ED.js","assets/SearchMd-B22BWSrE.js","assets/AlertCircle-CAn1onHH.js","assets/ArrowLeft-DkojAdWe.js","assets/Clock-DWLl74MU.js","assets/table-Bt31_DyV.js","assets/markdown-BshJmJUr.js","assets/ArrowDown-BQn3fvf7.js","assets/ArrowUp-CCTJ8tar.js","assets/CheckVerified02-D9LvEg4-.js","assets/File02-BiHbI-Bs.js","assets/Hash02-B_cIkiva.js","assets/Rows03-Bw2KmPLF.js","assets/CheckCircle-DUsP9qJl.js","assets/InfoCircle-v_Zi3ix-.js","assets/XCircle-CdrNrzcr.js","assets/ChevronDown-BK0Z-3ss.js","assets/file-browser-BRNDEG3O.js","assets/useInfiniteQuery-B4zFsz_-.js","assets/infiniteQueryObserver-DuAdiH0n.js","assets/checkbox-_pZquTsv.js","assets/Download01-w53nljTi.js","assets/Grid01-DtWTP079.js","assets/Home02-B0J9-6Fj.js","assets/List-D1SXIq-Q.js","assets/Trash01-NHvYJiOw.js","assets/Upload01-B7z0chWz.js","assets/plugin-header-BPNBXPjM.js","assets/registry-layout-C8Ew4flr.js","assets/Container-Dkua_wx6.js","assets/badge-EvnzqGBM.js","assets/toggle-group-BYr6H2N2.js","assets/use-view-mode-Cm6MlS0B.js","assets/use-mobile-DLzBblnh.js","assets/FilterLines-DcFfiBYv.js","assets/Globe01-zBSU4RrG.js","assets/alert-dialog-DIblcPQC.js","assets/card-CHcjH7V4.js","assets/label-Ct-IE-k2.js","assets/select-B9AjxT2Q.js","assets/index-IwkUYudi.js","assets/textarea-Dfcf9iVI.js","assets/use-copy-BLt7-cw9.js","assets/RefreshCcw01-C6HpBrM2.js","assets/Eye-cRMKwlob.js","assets/LinkExternal01-BvWelMzx.js","assets/popover-CdPr2kUy.js","assets/Copy01-CWD2XYkN.js","assets/Save01-C7Op6P3G.js","assets/Key01-FdWHEw6c.js","assets/tooltip-Kun6OEqc.js","assets/mcp-oauth-DtHeHoWJ.js","assets/Play-Dv6XoPC1.js","assets/reports-layout-BoIJWhiW.js","assets/CheckDone01-Bs5yfbwu.js","assets/Inbox01-DkeOZ2C_.js","assets/plugin-header-8kNYjC6n.js","assets/Dataflow03-dIUcYa_e.js","assets/plugin-empty-state-BfDH4uPn.js","assets/login-swb3IsCw.js","assets/reset-password-DY5mUItc.js","assets/connect-jPJQySxH.js","assets/circle-alert-8my-DdYx.js","assets/oauth-callback-hu62EGGB.js","assets/shell-layout-DY2c6Efx.js","assets/index-ClGhCbA0.js","assets/context-BoqYBHof.js","assets/use-virtual-mcp-chylq6BL.js","assets/decopilot-events-Brt4gAR6.js","assets/use-llm-CBsUcVLv.js","assets/use-binding-Bt6opM01.js","assets/localstorage-keys-B-4HWrAO.js","assets/error-boundary-BbdoNwwk.js","assets/AlertTriangle-Suhq71Ba.js","assets/skeleton-BAWgWTH6.js","assets/File06-DK6hozGp.js","assets/Image01-DuLPJrbP.js","assets/useSuspenseInfiniteQuery-CnNOZleg.js","assets/spinner-C5H8EOvR.js","assets/use-mcp-prompts-CTAKOvKB.js","assets/form-Bsyh-cQj.js","assets/integration-icon-DeiJ75EP.js","assets/usage-B8eRkRZY.js","assets/Edit01-Een9NeGa.js","assets/Users03-CfBv5uVc.js","assets/use-deco-chat-open-DqF5WsjN.js","assets/Code01-D7rt1C5k.js","assets/use-create-virtual-mcp-BWbRPuCZ.js","assets/deco-constants-Lndb0_Fi.js","assets/marked.esm-BaswSlok.js","assets/Globe02-BzI-D3XF.js","assets/XClose-DHV8bqGR.js","assets/empty-state-CUU2GnRG.js","assets/generate-id-Dyweu44Y.js","assets/index-Ck8tqNHK.js","assets/typewriter-title-ir44iZyu.js","assets/collection-search-BhyeAK8D.js","assets/create-project-dialog-5JWgj7o1.js","assets/use-settings-modal-CL7KNbwO.js","assets/use-project-Dgs5h9hm.js","assets/avatar-DAde4Coq.js","assets/create-organization-dialog-DZ-29KA3.js","assets/Shield01-D5vtlDrS.js","assets/use-mcp-tools-BED8kPD7.js","assets/use-organization-settings-BTKBql6r.js","assets/resizable-8m39GKGn.js","assets/home-BqlHZV0D.js","assets/project-layout-bgteQ5fY.js","assets/use-install-from-registry-BsUBgwfp.js","assets/extract-connection-data-FghvIcuN.js","assets/constants-alL-orOw.js","assets/github-icon-Dp3wHhYE.js","assets/registry-utils-DBAgugDf.js","assets/chart-BEZIHLHA.js","assets/index-7GX9Z2_E.js","assets/page-C-wJ53x_.js","assets/Pin01-D5SNXGno.js","assets/tasks-OIFCJv2K.js","assets/collection-table-wrapper-DF0r5l64.js","assets/view-mode-toggle-lRAyyRMm.js","assets/use-list-state-B_n0GZwG.js","assets/format-time-CMKyl-GC.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/breadcrumb-Dit0z7A7.js","assets/AlertOctagon-ChcnKW7P.js","assets/projects-list-DngofdiO.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/members-BLWGtvj7.js","assets/command-D0lPyqX9.js","assets/index-MmPZuevW.js","assets/DotsHorizontal-R03fSXLm.js","assets/Lock01-Ca25inpJ.js","assets/connections-Dd7R3YoP.js","assets/connection-card-C36z_Zfo.js","assets/Terminal-jwgZ8meH.js","assets/env-vars-editor-CeWJLU0d.js","assets/connection-detail-D4fpJvP6.js","assets/index-_qbzL5MU.js","assets/save-actions-DnxE-Bzm.js","assets/index-BwsTCLNe.js","assets/collection-tabs-CMMj9apF.js","assets/layout-BWtcS0Q2.js","assets/collection-tab-DYRZjIfR.js","assets/empty-state-BxqfhnZC.js","assets/readme-viewer-ym80L_hw.js","assets/readme-viewer-DWnTz46N.css","assets/tools-list-CMPsf87L.js","assets/RefreshCw01-BLvlqjIJ.js","assets/collection-detail-BPjVfY9E.js","assets/scroll-area-C-RNU2ZC.js","assets/monitoring-Dkzs8zLr.js","assets/time-range-picker-VoxMdMGw.js","assets/monitoring-dashboard-view-NmZHmCWV.js","assets/monitoring-dashboard-edit-6Jd7ItfF.js","assets/page-Y1SYGnRN.js","assets/slugify-CEUa2lfQ.js","assets/mcp-server-card-DJ-C7iNn.js","assets/mcp-server-detail-Du1aBWwk.js","assets/agents-IxYsoQkx.js","assets/agent-connections-preview-D2nPeCg-.js","assets/agent-detail-CAAcyNFf.js","assets/workflow-CH4Jfjr7.js","assets/dynamic-plugin-layout-B-RWLbim.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
function N5(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(r,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const M5="modulepreload",P5=function(e){return"/"+e},UR={},xt=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let c=function(f){return Promise.all(f.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),d=u?.nonce||u?.getAttribute("nonce");a=c(n.map(f=>{if(f=P5(f),f in UR)return;UR[f]=!0;const m=f.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${p}`))return;const g=document.createElement("link");if(g.rel=m?"stylesheet":M5,m||(g.as="script"),g.crossOrigin="",g.href=f,d&&g.setAttribute("nonce",d),document.head.appendChild(g),m)return new Promise((y,S)=>{g.addEventListener("load",y),g.addEventListener("error",()=>S(Error(`Unable to preload CSS for ${f}`)))})}))}function i(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return a.then(c=>{for(const u of c||[])u.status==="rejected"&&i(u.reason);return t().catch(i)})};var woe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vy={exports:{}},fu={};var zR;function D5(){if(zR)return fu;zR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,i){var c=null;if(i!==void 0&&(c=""+i),a.key!==void 0&&(c=""+a.key),"key"in a){i={};for(var u in a)u!=="key"&&(i[u]=a[u])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:c,ref:a!==void 0?a:null,props:i}}return fu.Fragment=t,fu.jsx=n,fu.jsxs=n,fu}var VR;function L5(){return VR||(VR=1,vy.exports=D5()),vy.exports}var x=L5(),yy={exports:{}},hu={},_y={exports:{}},by={};var FR;function j5(){return FR||(FR=1,(function(e){function t(F,J){var ae=F.length;F.push(J);e:for(;0<ae;){var fe=ae-1>>>1,K=F[fe];if(0<a(K,J))F[fe]=J,F[ae]=K,ae=fe;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var J=F[0],ae=F.pop();if(ae!==J){F[0]=ae;e:for(var fe=0,K=F.length,P=K>>>1;fe<P;){var q=2*(fe+1)-1,B=F[q],L=q+1,$=F[L];if(0>a(B,ae))L<K&&0>a($,B)?(F[fe]=$,F[L]=ae,fe=L):(F[fe]=B,F[q]=ae,fe=q);else if(L<K&&0>a($,ae))F[fe]=$,F[L]=ae,fe=L;else break e}}return J}function a(F,J){var ae=F.sortIndex-J.sortIndex;return ae!==0?ae:F.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var d=[],f=[],m=1,p=null,g=3,y=!1,S=!1,w=!1,b=!1,R=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function C(F){for(var J=n(f);J!==null;){if(J.callback===null)r(f);else if(J.startTime<=F)r(f),J.sortIndex=J.expirationTime,t(d,J);else break;J=n(f)}}function O(F){if(w=!1,C(F),!S)if(n(d)!==null)S=!0,I||(I=!0,Z());else{var J=n(f);J!==null&&ie(O,J.startTime-F)}}var I=!1,M=-1,D=5,z=-1;function Q(){return b?!0:!(e.unstable_now()-z<D)}function V(){if(b=!1,I){var F=e.unstable_now();z=F;var J=!0;try{e:{S=!1,w&&(w=!1,E(M),M=-1),y=!0;var ae=g;try{t:{for(C(F),p=n(d);p!==null&&!(p.expirationTime>F&&Q());){var fe=p.callback;if(typeof fe=="function"){p.callback=null,g=p.priorityLevel;var K=fe(p.expirationTime<=F);if(F=e.unstable_now(),typeof K=="function"){p.callback=K,C(F),J=!0;break t}p===n(d)&&r(d),C(F)}else r(d);p=n(d)}if(p!==null)J=!0;else{var P=n(f);P!==null&&ie(O,P.startTime-F),J=!1}}break e}finally{p=null,g=ae,y=!1}J=void 0}}finally{J?Z():I=!1}}}var Z;if(typeof T=="function")Z=function(){T(V)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,ee=U.port2;U.port1.onmessage=V,Z=function(){ee.postMessage(null)}}else Z=function(){R(V,0)};function ie(F,J){M=R(function(){F(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(F){switch(g){case 1:case 2:case 3:var J=3;break;default:J=g}var ae=g;g=J;try{return F()}finally{g=ae}},e.unstable_requestPaint=function(){b=!0},e.unstable_runWithPriority=function(F,J){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var ae=g;g=F;try{return J()}finally{g=ae}},e.unstable_scheduleCallback=function(F,J,ae){var fe=e.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?fe+ae:fe):ae=fe,F){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=ae+K,F={id:m++,callback:J,priorityLevel:F,startTime:ae,expirationTime:K,sortIndex:-1},ae>fe?(F.sortIndex=ae,t(f,F),n(d)===null&&F===n(f)&&(w?(E(M),M=-1):w=!0,ie(O,ae-fe))):(F.sortIndex=K,t(d,F),S||y||(S=!0,I||(I=!0,Z()))),F},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(F){var J=g;return function(){var ae=g;g=J;try{return F.apply(this,arguments)}finally{g=ae}}}})(by)),by}var BR;function $5(){return BR||(BR=1,_y.exports=j5()),_y.exports}var Sy={exports:{}},Je={};var qR;function U5(){if(qR)return Je;qR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),g=Symbol.iterator;function y(P){return P===null||typeof P!="object"?null:(P=g&&P[g]||P["@@iterator"],typeof P=="function"?P:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,b={};function R(P,q,B){this.props=P,this.context=q,this.refs=b,this.updater=B||S}R.prototype.isReactComponent={},R.prototype.setState=function(P,q){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,q,"setState")},R.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function E(){}E.prototype=R.prototype;function T(P,q,B){this.props=P,this.context=q,this.refs=b,this.updater=B||S}var C=T.prototype=new E;C.constructor=T,w(C,R.prototype),C.isPureReactComponent=!0;var O=Array.isArray;function I(){}var M={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function z(P,q,B){var L=B.ref;return{$$typeof:e,type:P,key:q,ref:L!==void 0?L:null,props:B}}function Q(P,q){return z(P.type,q,P.props)}function V(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function Z(P){var q={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(B){return q[B]})}var U=/\/+/g;function ee(P,q){return typeof P=="object"&&P!==null&&P.key!=null?Z(""+P.key):q.toString(36)}function ie(P){switch(P.status){case"fulfilled":return P.value;case"rejected":throw P.reason;default:switch(typeof P.status=="string"?P.then(I,I):(P.status="pending",P.then(function(q){P.status==="pending"&&(P.status="fulfilled",P.value=q)},function(q){P.status==="pending"&&(P.status="rejected",P.reason=q)})),P.status){case"fulfilled":return P.value;case"rejected":throw P.reason}}throw P}function F(P,q,B,L,$){var X=typeof P;(X==="undefined"||X==="boolean")&&(P=null);var ge=!1;if(P===null)ge=!0;else switch(X){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(P.$$typeof){case e:case t:ge=!0;break;case m:return ge=P._init,F(ge(P._payload),q,B,L,$)}}if(ge)return $=$(P),ge=L===""?"."+ee(P,0):L,O($)?(B="",ge!=null&&(B=ge.replace(U,"$&/")+"/"),F($,q,B,"",function(Ne){return Ne})):$!=null&&(V($)&&($=Q($,B+($.key==null||P&&P.key===$.key?"":(""+$.key).replace(U,"$&/")+"/")+ge)),q.push($)),1;ge=0;var _e=L===""?".":L+":";if(O(P))for(var Ie=0;Ie<P.length;Ie++)L=P[Ie],X=_e+ee(L,Ie),ge+=F(L,q,B,X,$);else if(Ie=y(P),typeof Ie=="function")for(P=Ie.call(P),Ie=0;!(L=P.next()).done;)L=L.value,X=_e+ee(L,Ie++),ge+=F(L,q,B,X,$);else if(X==="object"){if(typeof P.then=="function")return F(ie(P),q,B,L,$);throw q=String(P),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return ge}function J(P,q,B){if(P==null)return P;var L=[],$=0;return F(P,L,"","",function(X){return q.call(B,X,$++)}),L}function ae(P){if(P._status===-1){var q=P._result;q=q(),q.then(function(B){(P._status===0||P._status===-1)&&(P._status=1,P._result=B)},function(B){(P._status===0||P._status===-1)&&(P._status=2,P._result=B)}),P._status===-1&&(P._status=0,P._result=q)}if(P._status===1)return P._result.default;throw P._result}var fe=typeof reportError=="function"?reportError:function(P){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof P=="object"&&P!==null&&typeof P.message=="string"?String(P.message):String(P),error:P});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",P);return}console.error(P)},K={map:J,forEach:function(P,q,B){J(P,function(){q.apply(this,arguments)},B)},count:function(P){var q=0;return J(P,function(){q++}),q},toArray:function(P){return J(P,function(q){return q})||[]},only:function(P){if(!V(P))throw Error("React.Children.only expected to receive a single React element child.");return P}};return Je.Activity=p,Je.Children=K,Je.Component=R,Je.Fragment=n,Je.Profiler=a,Je.PureComponent=T,Je.StrictMode=r,Je.Suspense=d,Je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,Je.__COMPILER_RUNTIME={__proto__:null,c:function(P){return M.H.useMemoCache(P)}},Je.cache=function(P){return function(){return P.apply(null,arguments)}},Je.cacheSignal=function(){return null},Je.cloneElement=function(P,q,B){if(P==null)throw Error("The argument must be a React element, but you passed "+P+".");var L=w({},P.props),$=P.key;if(q!=null)for(X in q.key!==void 0&&($=""+q.key),q)!D.call(q,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&q.ref===void 0||(L[X]=q[X]);var X=arguments.length-2;if(X===1)L.children=B;else if(1<X){for(var ge=Array(X),_e=0;_e<X;_e++)ge[_e]=arguments[_e+2];L.children=ge}return z(P.type,$,L)},Je.createContext=function(P){return P={$$typeof:c,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null},P.Provider=P,P.Consumer={$$typeof:i,_context:P},P},Je.createElement=function(P,q,B){var L,$={},X=null;if(q!=null)for(L in q.key!==void 0&&(X=""+q.key),q)D.call(q,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&($[L]=q[L]);var ge=arguments.length-2;if(ge===1)$.children=B;else if(1<ge){for(var _e=Array(ge),Ie=0;Ie<ge;Ie++)_e[Ie]=arguments[Ie+2];$.children=_e}if(P&&P.defaultProps)for(L in ge=P.defaultProps,ge)$[L]===void 0&&($[L]=ge[L]);return z(P,X,$)},Je.createRef=function(){return{current:null}},Je.forwardRef=function(P){return{$$typeof:u,render:P}},Je.isValidElement=V,Je.lazy=function(P){return{$$typeof:m,_payload:{_status:-1,_result:P},_init:ae}},Je.memo=function(P,q){return{$$typeof:f,type:P,compare:q===void 0?null:q}},Je.startTransition=function(P){var q=M.T,B={};M.T=B;try{var L=P(),$=M.S;$!==null&&$(B,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(I,fe)}catch(X){fe(X)}finally{q!==null&&B.types!==null&&(q.types=B.types),M.T=q}},Je.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},Je.use=function(P){return M.H.use(P)},Je.useActionState=function(P,q,B){return M.H.useActionState(P,q,B)},Je.useCallback=function(P,q){return M.H.useCallback(P,q)},Je.useContext=function(P){return M.H.useContext(P)},Je.useDebugValue=function(){},Je.useDeferredValue=function(P,q){return M.H.useDeferredValue(P,q)},Je.useEffect=function(P,q){return M.H.useEffect(P,q)},Je.useEffectEvent=function(P){return M.H.useEffectEvent(P)},Je.useId=function(){return M.H.useId()},Je.useImperativeHandle=function(P,q,B){return M.H.useImperativeHandle(P,q,B)},Je.useInsertionEffect=function(P,q){return M.H.useInsertionEffect(P,q)},Je.useLayoutEffect=function(P,q){return M.H.useLayoutEffect(P,q)},Je.useMemo=function(P,q){return M.H.useMemo(P,q)},Je.useOptimistic=function(P,q){return M.H.useOptimistic(P,q)},Je.useReducer=function(P,q,B){return M.H.useReducer(P,q,B)},Je.useRef=function(P){return M.H.useRef(P)},Je.useState=function(P){return M.H.useState(P)},Je.useSyncExternalStore=function(P,q,B){return M.H.useSyncExternalStore(P,q,B)},Je.useTransition=function(){return M.H.useTransition()},Je.version="19.2.4",Je}var HR;function Us(){return HR||(HR=1,Sy.exports=U5()),Sy.exports}var wy={exports:{}},tr={};var GR;function z5(){if(GR)return tr;GR=1;var e=Us();function t(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)f+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function i(d,f,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:d,containerInfo:f,implementation:m}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return tr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,tr.createPortal=function(d,f){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return i(d,f,null,m)},tr.flushSync=function(d){var f=c.T,m=r.p;try{if(c.T=null,r.p=2,d)return d()}finally{c.T=f,r.p=m,r.d.f()}},tr.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(d,f))},tr.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},tr.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var m=f.as,p=u(m,f.crossOrigin),g=typeof f.integrity=="string"?f.integrity:void 0,y=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;m==="style"?r.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:p,integrity:g,fetchPriority:y}):m==="script"&&r.d.X(d,{crossOrigin:p,integrity:g,fetchPriority:y,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},tr.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var m=u(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(d)},tr.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var m=f.as,p=u(m,f.crossOrigin);r.d.L(d,m,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},tr.preloadModule=function(d,f){if(typeof d=="string")if(f){var m=u(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(d)},tr.requestFormReset=function(d){r.d.r(d)},tr.unstable_batchedUpdates=function(d,f){return d(f)},tr.useFormState=function(d,f,m){return c.H.useFormState(d,f,m)},tr.useFormStatus=function(){return c.H.useHostTransitionStatus()},tr.version="19.2.4",tr}var ZR;function PC(){if(ZR)return wy.exports;ZR=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),wy.exports=z5(),wy.exports}var KR;function V5(){if(KR)return hu;KR=1;var e=$5(),t=Us(),n=PC();function r(o){var s="https://react.dev/errors/"+o;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+o+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function i(o){var s=o,l=o;if(o.alternate)for(;s.return;)s=s.return;else{o=s;do s=o,(s.flags&4098)!==0&&(l=s.return),o=s.return;while(o)}return s.tag===3?l:null}function c(o){if(o.tag===13){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function u(o){if(o.tag===31){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function d(o){if(i(o)!==o)throw Error(r(188))}function f(o){var s=o.alternate;if(!s){if(s=i(o),s===null)throw Error(r(188));return s!==o?null:o}for(var l=o,h=s;;){var v=l.return;if(v===null)break;var _=v.alternate;if(_===null){if(h=v.return,h!==null){l=h;continue}break}if(v.child===_.child){for(_=v.child;_;){if(_===l)return d(v),o;if(_===h)return d(v),s;_=_.sibling}throw Error(r(188))}if(l.return!==h.return)l=v,h=_;else{for(var N=!1,j=v.child;j;){if(j===l){N=!0,l=v,h=_;break}if(j===h){N=!0,h=v,l=_;break}j=j.sibling}if(!N){for(j=_.child;j;){if(j===l){N=!0,l=_,h=v;break}if(j===h){N=!0,h=_,l=v;break}j=j.sibling}if(!N)throw Error(r(189))}}if(l.alternate!==h)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?o:s}function m(o){var s=o.tag;if(s===5||s===26||s===27||s===6)return o;for(o=o.child;o!==null;){if(s=m(o),s!==null)return s;o=o.sibling}return null}var p=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),Q=Symbol.for("react.memo_cache_sentinel"),V=Symbol.iterator;function Z(o){return o===null||typeof o!="object"?null:(o=V&&o[V]||o["@@iterator"],typeof o=="function"?o:null)}var U=Symbol.for("react.client.reference");function ee(o){if(o==null)return null;if(typeof o=="function")return o.$$typeof===U?null:o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case w:return"Fragment";case R:return"Profiler";case b:return"StrictMode";case O:return"Suspense";case I:return"SuspenseList";case z:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case S:return"Portal";case T:return o.displayName||"Context";case E:return(o._context.displayName||"Context")+".Consumer";case C:var s=o.render;return o=o.displayName,o||(o=s.displayName||s.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case M:return s=o.displayName||null,s!==null?s:ee(o.type)||"Memo";case D:s=o._payload,o=o._init;try{return ee(o(s))}catch{}}return null}var ie=Array.isArray,F=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},fe=[],K=-1;function P(o){return{current:o}}function q(o){0>K||(o.current=fe[K],fe[K]=null,K--)}function B(o,s){K++,fe[K]=o.current,o.current=s}var L=P(null),$=P(null),X=P(null),ge=P(null);function _e(o,s){switch(B(X,s),B($,o),B(L,null),s.nodeType){case 9:case 11:o=(o=s.documentElement)&&(o=o.namespaceURI)?cR(o):0;break;default:if(o=s.tagName,s=s.namespaceURI)s=cR(s),o=lR(s,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}q(L),B(L,o)}function Ie(){q(L),q($),q(X)}function Ne(o){o.memoizedState!==null&&B(ge,o);var s=L.current,l=lR(s,o.type);s!==l&&(B($,o),B(L,l))}function H(o){$.current===o&&(q(L),q($)),ge.current===o&&(q(ge),cu._currentValue=ae)}var re,be;function pe(o){if(re===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);re=s&&s[1]||"",be=-1<l.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+re+o+be}var ce=!1;function Ce(o,s){if(!o||ce)return"";ce=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(ve){var he=ve}Reflect.construct(o,[],Te)}else{try{Te.call()}catch(ve){he=ve}o.call(Te.prototype)}}else{try{throw Error()}catch(ve){he=ve}(Te=o())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(ve){if(ve&&he&&typeof ve.stack=="string")return[ve.stack,he.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var _=h.DetermineComponentFrameRoot(),N=_[0],j=_[1];if(N&&j){var W=N.split(`
|
|
@@ -193,7 +193,7 @@ ${r}
|
|
|
193
193
|
return {
|
|
194
194
|
result: input.example
|
|
195
195
|
}
|
|
196
|
-
}`},config:Xte,outputSchema:{type:"object",properties:{result:{type:"string",description:"The result of the step"}},required:["result"],description:"The output of the step. This is a JSON Schema describing the expected output of the step."}},Jte=rg("workflow_execution",nP),ene=[...Qte,...Jte],rae=[...ene],oae=rg("workflow_execution",nP),og=St(["passing","warning","failing","info"]),tne=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([Se(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([Se(),k()]).optional().describe("Previous value for delta comparison"),status:og.optional().describe("Status of this individual metric")}),nne=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:og.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),rne=Y({position:Se().describe("Current rank position"),reference_position:Se().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:Se().optional().describe("Explicit change in position. Ignored when reference_position is provided."),label:k().describe("Item name"),image:k().describe("URL of the item image"),values:me(rt([k(),Se()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),Se()]))]).optional().describe("Inline annotation or structured key-value metrics")}),one=Tb("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(tne).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),Se(),_l()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(nne).describe("List of criteria items")}),Y({type:De("note"),content:k().describe("The note text")}),Y({type:De("ranked-list"),title:k().optional().describe("Section title"),rows:me(rne).describe("Ranked items")})]),rP=St(["unread","read","dismissed"]),oP=Y({id:k().describe("Unique report identifier"),collectionId:k().describe("Collection identifier used to scope reports"),title:k().describe("Report title"),category:k().describe("Report category (e.g. 'performance', 'security', 'accessibility')"),status:og.describe("Overall report status"),summary:k().describe("One-line summary of findings"),updatedAt:k().describe("ISO 8601 timestamp of last update"),source:k().optional().describe("Agent or service that generated the report (e.g. 'security-auditor', 'performance-monitor')"),tags:me(k()).optional().describe("Free-form tags for filtering (e.g. 'homepage', 'api', 'ci')"),lifecycleStatus:rP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),ane=oP.extend({sections:me(one).describe("Ordered content sections")});function aae(e){const t=[];let n=0;for(;n<e.length;){const r=e[n],a=e[n+1];if(r.type==="criteria"&&a?.type==="metrics"||r.type==="metrics"&&a?.type==="criteria"){const c=r.type==="criteria",u=c?r:a,d=c?a:r,f=c?n:n+1,m=c?n+1:n;t.push({type:"side-by-side",left:u,right:d,leftIdx:f,rightIdx:m}),n+=2}else t.push({type:"single",section:r,idx:n}),n+=1}return t}const sne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:og.optional().describe("Filter by report status")}),ine=Y({reports:me(oP).describe("List of report summaries")}),cne=Y({id:k().describe("Report identifier")}),lne=ane,une=Y({reportId:k().describe("Report identifier"),lifecycleStatus:rP.describe("New lifecycle status for the report")}),dne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),fne=[{name:"REPORTS_LIST",inputSchema:sne,outputSchema:ine},{name:"REPORTS_GET",inputSchema:cne,outputSchema:lne},{name:"REPORTS_UPDATE_STATUS",inputSchema:une,outputSchema:dne,opt:!0}],ag=Y({id:Se().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),hne=Y({id:Se().int().optional(),label:k(),value:rt([Se(),k()]),unit:k().optional(),status:k().optional()}),pne=Y({id:Se().int().optional(),label:k(),description:k().optional()}),mne=Y({id:Se().int().optional(),productId:rt([Se().int(),k().min(1)]).optional(),product_id:rt([Se().int(),k().min(1)]).optional(),ProductId:rt([Se().int(),k().min(1)]).optional(),position:Se().int(),delta:Se().optional(),label:k(),image:k().optional(),sessions:Se().optional(),selectRate:Se().optional(),addToCartRate:Se().optional(),purchaseRate:Se().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),gne=Y({id:Se().int().optional(),reportId:Se().int().optional(),type:St(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:Se().int().optional(),metricItems:me(hne).optional(),criteriaItems:me(pne).optional(),rankedItems:me(mne).optional()}),aP=Y({id:Se().int(),collectionId:Se().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),vne=aP.extend({sections:me(gne)}),yne=Y({isEnabled:qe().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),_ne=Y({success:qe(),total:Se().int().optional(),items:me(ag).optional(),error:k().optional()}),bne=Y({id:Se().int()}),Sne=Y({success:qe(),item:ag.optional(),error:k().optional()}),wne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),Ene=Y({success:qe(),item:ag.optional(),error:k().optional()}),Rne=Y({id:Se().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),xne=Y({success:qe(),item:ag.optional(),error:k().optional()}),Tne=Y({collectionId:Se().int().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),One=Y({success:qe(),total:Se().int().optional(),items:me(aP).optional(),error:k().optional()}),Cne=Y({id:Se().int()}),Ane=Y({success:qe(),item:vne.optional(),error:k().optional()}),Ine=[{name:"collection_list",inputSchema:yne,outputSchema:_ne},{name:"collection_get",inputSchema:bne,outputSchema:Sne,opt:!0},{name:"collection_create",inputSchema:wne,outputSchema:Ene},{name:"collection_update",inputSchema:Rne,outputSchema:xne},{name:"report_list",inputSchema:Tne,outputSchema:One},{name:"report_get",inputSchema:Cne,outputSchema:Ane}],sP=Y({Page:Se().optional(),PageSize:Se().optional(),Total:Se().optional(),Pages:Se().optional()}),iP=Y({Id:Se(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:Se().optional(),TotalProducts:Se().optional()}),kne=Y({ProductId:Se(),SkuId:Se().optional(),ProductName:k(),Position:Se().optional()});Y({page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(iP),Paging:sP.optional()});Y({collectionId:Se().int().positive()});Y({collectionId:Se().int().positive(),page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(kne),Paging:sP.optional()});Y({words:k().min(1)});Y({Data:me(iP)});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({SubCollectionId:Se(),SkuId:Se()});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({success:qe()});const Nne=Y({collectionId:rt([k().min(1),Se().int().positive()]),productIds:me(rt([k().min(1),Se().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Mne=Y({}).passthrough(),sae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:Nne,outputSchema:Mne}],cP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M18 20V10m-6 10V4M6 20v-6"}));cP.displayName="BarChart01";const lP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20 12.5V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.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 22H12m2-11H8m2 4H8m8-8H8m6.5 12 2 2 4.5-4.5"}));lP.displayName="FileCheck02";const uP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Z"}));uP.displayName="Folder";const dP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666ZM16.5 9.5l-9-5"}));dP.displayName="Package";const Pne=A.lazy(()=>xt(()=>import("./ranking-layout-CiiVJptK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]))),Dne={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:Ine,LayoutComponent:Pne,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:x.jsx(cP,{size:16}),label:"Collection Ranking"}]})}};function vC(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function Lne(e){return{createRoutes:e,useParams:t=>Qc({strict:!1}),useSearch:t=>wm({strict:!1}),useNavigate:()=>{const t=vl(),{org:n,project:r,pluginId:a}=Qc({strict:!1});return i=>{const c=vC(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>cL(),Link:function(n){const{org:r,project:a,pluginId:i}=Qc({strict:!1}),c=vC(n.to,r,a,i);return x.jsx(Rm,{...n,to:c,params:{org:r,project:a,pluginId:i,...n.params}})},_types:{routes:void 0,routeIds:void 0}}}var At;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const i={};for(const c of a)i[c]=c;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(u=>typeof a[a[u]]!="number"),c={};for(const u of i)c[u]=a[u];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.push(c);return i},e.find=(a,i)=>{for(const c of a)if(i(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,i=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(At||(At={}));var yC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(yC||(yC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ws=e=>{switch(typeof e){case"undefined":return Fe.undefined;case"string":return Fe.string;case"number":return Number.isNaN(e)?Fe.nan:Fe.number;case"boolean":return Fe.boolean;case"function":return Fe.function;case"bigint":return Fe.bigint;case"symbol":return Fe.symbol;case"object":return Array.isArray(e)?Fe.array:e===null?Fe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Fe.promise:typeof Map<"u"&&e instanceof Map?Fe.map:typeof Set<"u"&&e instanceof Set?Fe.set:typeof Date<"u"&&e instanceof Date?Fe.date:Fe.object;default:return Fe.unknown}},ke=At.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ja extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},a=i=>{for(const c of i.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)r._errors.push(n(c));else{let u=r,d=0;for(;d<c.path.length;){const f=c.path[d];d===c.path.length-1?(u[f]=u[f]||{_errors:[]},u[f]._errors.push(n(c))):u[f]=u[f]||{_errors:[]},u=u[f],d++}}};return a(this),r}static assert(t){if(!(t instanceof ja))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,At.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];n[i]=n[i]||[],n[i].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}ja.create=e=>new ja(e);const eb=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Fe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,At.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${At.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${At.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${At.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:At.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,At.assertNever(e)}return{message:n}};let jne=eb;function $ne(){return jne}const Une=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,i=[...n,...a.path||[]],c={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let u="";const d=r.filter(f=>!!f).slice().reverse();for(const f of d)u=f(c,{data:t,defaultError:u}).message;return{...a,path:i,message:u}};function Le(e,t){const n=$ne(),r=Une({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===eb?void 0:eb].filter(a=>!!a)});e.common.issues.push(r)}class Wr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return tt;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const i=await a.key,c=await a.value;r.push({key:i,value:c})}return Wr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:i,value:c}=a;if(i.status==="aborted"||c.status==="aborted")return tt;i.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(r[i.value]=c.value)}return{status:t.value,value:r}}}const tt=Object.freeze({status:"aborted"}),Pu=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),_C=e=>e.status==="aborted",bC=e=>e.status==="dirty",fl=e=>e.status==="valid",fm=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class js{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const SC=(e,t)=>{if(fl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ja(e.common.issues);return this._error=n,this._error}}};function mt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,u)=>{const{message:d}=e;return c.code==="invalid_enum_value"?{message:d??u.defaultError}:typeof u.data>"u"?{message:d??r??u.defaultError}:c.code!=="invalid_type"?{message:u.defaultError}:{message:d??n??u.defaultError}},description:a}}class Tt{get description(){return this._def.description}_getType(t){return ws(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Wr,ctx:{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(fm(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parseSync({data:t,path:r.path,parent:r});return SC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return fl(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>fl(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(fm(a)?a:Promise.resolve(a));return SC(r,i)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,i)=>{const c=t(a),u=()=>i.addIssue({code:ke.custom,...r(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(d=>d?!0:(u(),!1)):c?!0:(u(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new pl({schema:this,typeName:nt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ns.create(this,this._def)}nullable(){return ml.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return gm.create(this,this._def)}or(t){return pm.create([this,t],this._def)}and(t){return mm.create(this,t,this._def)}transform(t){return new pl({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new rb({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new cre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ob({...mt(this._def),innerType:this,catchValue:n,typeName:nt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Z1.create(this,t)}readonly(){return ab.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const zne=/^c[^\s-]{8,}$/i,Vne=/^[0-9a-z]+$/,Fne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Bne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,qne=/^[a-z0-9_-]{21}$/i,Hne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Gne=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Zne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Kne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let F0;const Wne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Yne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Qne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Xne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Jne=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ere=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,fP="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",tre=new RegExp(`^${fP}$`);function hP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function nre(e){return new RegExp(`^${hP(e)}$`)}function rre(e){let t=`${fP}T${hP(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function ore(e,t){return!!((t==="v4"||!t)&&Wne.test(e)||(t==="v6"||!t)&&Qne.test(e))}function are(e,t){if(!Hne.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function sre(e,t){return!!((t==="v4"||!t)&&Yne.test(e)||(t==="v6"||!t)&&Xne.test(e))}class Ts extends Tt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Fe.string){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.string,received:i.parsedType}),tt}const r=new Wr;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const c=t.data.length>i.value,u=t.data.length<i.value;(c||u)&&(a=this._getOrReturnCtx(t,a),c?Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Zne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"email",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")F0||(F0=new RegExp(Kne,"u")),F0.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"emoji",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")Bne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"uuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")qne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"nanoid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")zne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Vne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid2",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")Fne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ulid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Le(a,{validation:"url",code:ke.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"regex",code:ke.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?rre(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?tre.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?nre(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Gne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?ore(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ip",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?are(t.data,i.alg)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"jwt",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?sre(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cidr",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?Jne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?ere.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64url",code:ke.invalid_string,message:i.message}),r.dirty()):At.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new Ts({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...He.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...He.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...He.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...He.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...He.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...He.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ts.create=e=>new Ts({checks:[],typeName:nt.ZodString,coerce:e?.coerce??!1,...mt(e)});function ire(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,i=Number.parseInt(e.toFixed(a).replace(".","")),c=Number.parseInt(t.toFixed(a).replace(".",""));return i%c/10**a}class ld extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Fe.number){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.number,received:i.parsedType}),tt}let r;const a=new Wr;for(const i of this._def.checks)i.kind==="int"?At.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?ire(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_finite,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ld({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ld({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&At.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ld.create=e=>new ld({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class ud extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Fe.bigint)return this._getInvalidInput(t);let r;const a=new Wr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.bigint,received:n.parsedType}),tt}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ud({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ud({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ud.create=e=>new ud({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class tb extends Tt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Fe.boolean){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.boolean,received:r.parsedType}),tt}return _o(t.data)}}tb.create=e=>new tb({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class hm extends Tt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Fe.date){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.date,received:i.parsedType}),tt}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_date}),tt}const r=new Wr;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):At.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new hm({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}hm.create=e=>new hm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class wC extends Tt{_parse(t){if(this._getType(t)!==Fe.symbol){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.symbol,received:r.parsedType}),tt}return _o(t.data)}}wC.create=e=>new wC({typeName:nt.ZodSymbol,...mt(e)});class EC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.undefined,received:r.parsedType}),tt}return _o(t.data)}}EC.create=e=>new EC({typeName:nt.ZodUndefined,...mt(e)});class RC extends Tt{_parse(t){if(this._getType(t)!==Fe.null){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.null,received:r.parsedType}),tt}return _o(t.data)}}RC.create=e=>new RC({typeName:nt.ZodNull,...mt(e)});class xC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}xC.create=e=>new xC({typeName:nt.ZodAny,...mt(e)});class TC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}TC.create=e=>new TC({typeName:nt.ZodUnknown,...mt(e)});class $s extends Tt{_parse(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.never,received:n.parsedType}),tt}}$s.create=e=>new $s({typeName:nt.ZodNever,...mt(e)});class OC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.void,received:r.parsedType}),tt}return _o(t.data)}}OC.create=e=>new OC({typeName:nt.ZodVoid,...mt(e)});class ta extends Tt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Fe.array)return Le(n,{code:ke.invalid_type,expected:Fe.array,received:n.parsedType}),tt;if(a.exactLength!==null){const c=n.data.length>a.exactLength.value,u=n.data.length<a.exactLength.value;(c||u)&&(Le(n,{code:c?ke.too_big:ke.too_small,minimum:u?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Le(n,{code:ke.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Le(n,{code:ke.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((c,u)=>a.type._parseAsync(new js(n,c,n.path,u)))).then(c=>Wr.mergeArray(r,c));const i=[...n.data].map((c,u)=>a.type._parseSync(new js(n,c,n.path,u)));return Wr.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ta({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new ta({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new ta({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}ta.create=(e,t)=>new ta({type:e,minLength:null,maxLength:null,exactLength:null,typeName:nt.ZodArray,...mt(t)});function qc(e){if(e instanceof Sn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(qc(r))}return new Sn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:qc(e.element)}):e instanceof Ns?Ns.create(qc(e.unwrap())):e instanceof ml?ml.create(qc(e.unwrap())):e instanceof Pi?Pi.create(e.items.map(t=>qc(t))):e}class Sn extends Tt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=At.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Fe.object){const f=this._getOrReturnCtx(t);return Le(f,{code:ke.invalid_type,expected:Fe.object,received:f.parsedType}),tt}const{status:r,ctx:a}=this._processInputParams(t),{shape:i,keys:c}=this._getCached(),u=[];if(!(this._def.catchall instanceof $s&&this._def.unknownKeys==="strip"))for(const f in a.data)c.includes(f)||u.push(f);const d=[];for(const f of c){const m=i[f],p=a.data[f];d.push({key:{status:"valid",value:f},value:m._parse(new js(a,p,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof $s){const f=this._def.unknownKeys;if(f==="passthrough")for(const m of u)d.push({key:{status:"valid",value:m},value:{status:"valid",value:a.data[m]}});else if(f==="strict")u.length>0&&(Le(a,{code:ke.unrecognized_keys,keys:u}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const m of u){const p=a.data[m];d.push({key:{status:"valid",value:m},value:f._parse(new js(a,p,a.path,m)),alwaysSet:m in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const m of d){const p=await m.key,g=await m.value;f.push({key:p,value:g,alwaysSet:m.alwaysSet})}return f}).then(f=>Wr.mergeObjectSync(r,f)):Wr.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new Sn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:He.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Sn({...this._def,unknownKeys:"strip"})}passthrough(){return new Sn({...this._def,unknownKeys:"passthrough"})}extend(t){return new Sn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Sn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:nt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Sn({...this._def,catchall:t})}pick(t){const n={};for(const r of At.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of At.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}deepPartial(){return qc(this)}partial(t){const n={};for(const r of At.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Sn({...this._def,shape:()=>n})}required(t){const n={};for(const r of At.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Ns;)i=i._def.innerType;n[r]=i}return new Sn({...this._def,shape:()=>n})}keyof(){return pP(At.objectKeys(this.shape))}}Sn.create=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.strictCreate=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.lazycreate=(e,t)=>new Sn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class pm extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(i){for(const u of i)if(u.result.status==="valid")return u.result;for(const u of i)if(u.result.status==="dirty")return n.common.issues.push(...u.ctx.common.issues),u.result;const c=i.map(u=>new ja(u.ctx.common.issues));return Le(n,{code:ke.invalid_union,unionErrors:c}),tt}if(n.common.async)return Promise.all(r.map(async i=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(a);{let i;const c=[];for(const d of r){const f={...n,common:{...n.common,issues:[]},parent:null},m=d._parseSync({data:n.data,path:n.path,parent:f});if(m.status==="valid")return m;m.status==="dirty"&&!i&&(i={result:m,ctx:f}),f.common.issues.length&&c.push(f.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const u=c.map(d=>new ja(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}pm.create=(e,t)=>new pm({options:e,typeName:nt.ZodUnion,...mt(t)});function nb(e,t){const n=ws(e),r=ws(t);if(e===t)return{valid:!0,data:e};if(n===Fe.object&&r===Fe.object){const a=At.objectKeys(t),i=At.objectKeys(e).filter(u=>a.indexOf(u)!==-1),c={...e,...t};for(const u of i){const d=nb(e[u],t[u]);if(!d.valid)return{valid:!1};c[u]=d.data}return{valid:!0,data:c}}else if(n===Fe.array&&r===Fe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const c=e[i],u=t[i],d=nb(c,u);if(!d.valid)return{valid:!1};a.push(d.data)}return{valid:!0,data:a}}else return n===Fe.date&&r===Fe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class mm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(_C(i)||_C(c))return tt;const u=nb(i.value,c.value);return u.valid?((bC(i)||bC(c))&&n.dirty(),{status:n.value,value:u.data}):(Le(r,{code:ke.invalid_intersection_types}),tt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,c])=>a(i,c)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}mm.create=(e,t,n)=>new mm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Pi extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.array)return Le(r,{code:ke.invalid_type,expected:Fe.array,received:r.parsedType}),tt;if(r.data.length<this._def.items.length)return Le(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),tt;!this._def.rest&&r.data.length>this._def.items.length&&(Le(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((c,u)=>{const d=this._def.items[u]||this._def.rest;return d?d._parse(new js(r,c,r.path,u)):null}).filter(c=>!!c);return r.common.async?Promise.all(i).then(c=>Wr.mergeArray(n,c)):Wr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Pi({...this._def,rest:t})}}Pi.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Pi({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class CC extends Tt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.map)return Le(r,{code:ke.invalid_type,expected:Fe.map,received:r.parsedType}),tt;const a=this._def.keyType,i=this._def.valueType,c=[...r.data.entries()].map(([u,d],f)=>({key:a._parse(new js(r,u,r.path,[f,"key"])),value:i._parse(new js(r,d,r.path,[f,"value"]))}));if(r.common.async){const u=new Map;return Promise.resolve().then(async()=>{for(const d of c){const f=await d.key,m=await d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}})}else{const u=new Map;for(const d of c){const f=d.key,m=d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}}}}CC.create=(e,t,n)=>new CC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class dd extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.set)return Le(r,{code:ke.invalid_type,expected:Fe.set,received:r.parsedType}),tt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Le(r,{code:ke.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Le(r,{code:ke.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const i=this._def.valueType;function c(d){const f=new Set;for(const m of d){if(m.status==="aborted")return tt;m.status==="dirty"&&n.dirty(),f.add(m.value)}return{status:n.value,value:f}}const u=[...r.data.values()].map((d,f)=>i._parse(new js(r,d,r.path,f)));return r.common.async?Promise.all(u).then(d=>c(d)):c(u)}min(t,n){return new dd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new dd({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}dd.create=(e,t)=>new dd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class AC extends Tt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}AC.create=(e,t)=>new AC({getter:e,typeName:nt.ZodLazy,...mt(t)});class IC extends Tt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Le(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),tt}return{status:"valid",value:t.data}}get value(){return this._def.value}}IC.create=(e,t)=>new IC({value:e,typeName:nt.ZodLiteral,...mt(t)});function pP(e,t){return new hl({values:e,typeName:nt.ZodEnum,...mt(t)})}class hl extends Tt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{expected:At.joinValues(r),received:n.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{received:n.data,code:ke.invalid_enum_value,options:r}),tt}return _o(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return hl.create(t,{...this._def,...n})}exclude(t,n=this._def){return hl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}hl.create=pP;class kC extends Tt{_parse(t){const n=At.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Fe.string&&r.parsedType!==Fe.number){const a=At.objectValues(n);return Le(r,{expected:At.joinValues(a),received:r.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(At.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=At.objectValues(n);return Le(r,{received:r.data,code:ke.invalid_enum_value,options:a}),tt}return _o(t.data)}get enum(){return this._def.values}}kC.create=(e,t)=>new kC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class gm extends Tt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Fe.promise&&n.common.async===!1)return Le(n,{code:ke.invalid_type,expected:Fe.promise,received:n.parsedType}),tt;const r=n.parsedType===Fe.promise?n.data:Promise.resolve(n.data);return _o(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}gm.create=(e,t)=>new gm({type:e,typeName:nt.ZodPromise,...mt(t)});class pl extends Tt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===nt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:c=>{Le(r,c),c.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const c=a.transform(r.data,i);if(r.common.async)return Promise.resolve(c).then(async u=>{if(n.value==="aborted")return tt;const d=await this._def.schema._parseAsync({data:u,path:r.path,parent:r});return d.status==="aborted"?tt:d.status==="dirty"||n.value==="dirty"?Pu(d.value):d});{if(n.value==="aborted")return tt;const u=this._def.schema._parseSync({data:c,path:r.path,parent:r});return u.status==="aborted"?tt:u.status==="dirty"||n.value==="dirty"?Pu(u.value):u}}if(a.type==="refinement"){const c=u=>{const d=a.refinement(u,i);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return u};if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value),{status:n.value,value:u.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value).then(()=>({status:n.value,value:u.value}))))}if(a.type==="transform")if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!fl(c))return tt;const u=a.transform(c.value,i);if(u instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:u}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>fl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}pl.create=(e,t,n)=>new pl({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});pl.createWithPreprocess=(e,t,n)=>new pl({schema:t,effect:{type:"preprocess",transform:e},typeName:nt.ZodEffects,...mt(n)});class Ns extends Tt{_parse(t){return this._getType(t)===Fe.undefined?_o(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ns.create=(e,t)=>new Ns({innerType:e,typeName:nt.ZodOptional,...mt(t)});class ml extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ml.create=(e,t)=>new ml({innerType:e,typeName:nt.ZodNullable,...mt(t)});class rb extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Fe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}rb.create=(e,t)=>new rb({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class ob extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return fm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new ja(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ja(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ob.create=(e,t)=>new ob({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class NC extends Tt{_parse(t){if(this._getType(t)!==Fe.nan){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.nan,received:r.parsedType}),tt}return{status:"valid",value:t.data}}}NC.create=e=>new NC({typeName:nt.ZodNaN,...mt(e)});class cre extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Z1 extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?tt:i.status==="dirty"?(n.dirty(),Pu(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?tt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new Z1({in:t,out:n,typeName:nt.ZodPipeline})}}class ab extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(fl(a)&&(a.value=Object.freeze(a.value)),a);return fm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}ab.create=(e,t)=>new ab({innerType:e,typeName:nt.ZodReadonly,...mt(t)});var nt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(nt||(nt={}));const lre=Ts.create,ure=tb.create;$s.create;ta.create;const dre=Sn.create;pm.create;mm.create;Pi.create;const fre=hl.create;gm.create;Ns.create;ml.create;const hre=dre({path:lre().optional().default(""),flat:ure().optional().default(!1),view:fre(["table","grid"]).optional().default("grid")}),pre=Lne(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-iY7A5vK5.js").then(a=>a.b),__vite__mapDeps([35,6,36,37,7,38,13,20,14,39,28,40,41,42,8,43,44,4]))),validateSearch:hre})]}),mre=A.lazy(()=>xt(()=>import("./plugin-header-CqyTjT8y.js"),__vite__mapDeps([45,13,34]))),gre=A.lazy(()=>xt(()=>import("./plugin-empty-state-D0_za-x_.js"),[])),vre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:Fte,renderHeader:e=>x.jsx(mre,{...e}),renderEmptyState:()=>x.jsx(gre,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:x.jsx(uP,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=pre.createRoutes(e);n(r)}},yre="private-registry",_re="Organization private MCP registry with CRUD and Store integration",iae=`
|
|
196
|
+
}`},config:Xte,outputSchema:{type:"object",properties:{result:{type:"string",description:"The result of the step"}},required:["result"],description:"The output of the step. This is a JSON Schema describing the expected output of the step."}},Jte=rg("workflow_execution",nP),ene=[...Qte,...Jte],rae=[...ene],oae=rg("workflow_execution",nP),og=St(["passing","warning","failing","info"]),tne=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([Se(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([Se(),k()]).optional().describe("Previous value for delta comparison"),status:og.optional().describe("Status of this individual metric")}),nne=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:og.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),rne=Y({position:Se().describe("Current rank position"),reference_position:Se().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:Se().optional().describe("Explicit change in position. Ignored when reference_position is provided."),label:k().describe("Item name"),image:k().describe("URL of the item image"),values:me(rt([k(),Se()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),Se()]))]).optional().describe("Inline annotation or structured key-value metrics")}),one=Tb("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(tne).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),Se(),_l()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(nne).describe("List of criteria items")}),Y({type:De("note"),content:k().describe("The note text")}),Y({type:De("ranked-list"),title:k().optional().describe("Section title"),rows:me(rne).describe("Ranked items")})]),rP=St(["unread","read","dismissed"]),oP=Y({id:k().describe("Unique report identifier"),collectionId:k().describe("Collection identifier used to scope reports"),title:k().describe("Report title"),category:k().describe("Report category (e.g. 'performance', 'security', 'accessibility')"),status:og.describe("Overall report status"),summary:k().describe("One-line summary of findings"),updatedAt:k().describe("ISO 8601 timestamp of last update"),source:k().optional().describe("Agent or service that generated the report (e.g. 'security-auditor', 'performance-monitor')"),tags:me(k()).optional().describe("Free-form tags for filtering (e.g. 'homepage', 'api', 'ci')"),lifecycleStatus:rP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),ane=oP.extend({sections:me(one).describe("Ordered content sections")});function aae(e){const t=[];let n=0;for(;n<e.length;){const r=e[n],a=e[n+1];if(r.type==="criteria"&&a?.type==="metrics"||r.type==="metrics"&&a?.type==="criteria"){const c=r.type==="criteria",u=c?r:a,d=c?a:r,f=c?n:n+1,m=c?n+1:n;t.push({type:"side-by-side",left:u,right:d,leftIdx:f,rightIdx:m}),n+=2}else t.push({type:"single",section:r,idx:n}),n+=1}return t}const sne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:og.optional().describe("Filter by report status")}),ine=Y({reports:me(oP).describe("List of report summaries")}),cne=Y({id:k().describe("Report identifier")}),lne=ane,une=Y({reportId:k().describe("Report identifier"),lifecycleStatus:rP.describe("New lifecycle status for the report")}),dne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),fne=[{name:"REPORTS_LIST",inputSchema:sne,outputSchema:ine},{name:"REPORTS_GET",inputSchema:cne,outputSchema:lne},{name:"REPORTS_UPDATE_STATUS",inputSchema:une,outputSchema:dne,opt:!0}],ag=Y({id:Se().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),hne=Y({id:Se().int().optional(),label:k(),value:rt([Se(),k()]),unit:k().optional(),status:k().optional()}),pne=Y({id:Se().int().optional(),label:k(),description:k().optional()}),mne=Y({id:Se().int().optional(),productId:rt([Se().int(),k().min(1)]).optional(),product_id:rt([Se().int(),k().min(1)]).optional(),ProductId:rt([Se().int(),k().min(1)]).optional(),position:Se().int(),delta:Se().optional(),label:k(),image:k().optional(),sessions:Se().optional(),selectRate:Se().optional(),addToCartRate:Se().optional(),purchaseRate:Se().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),gne=Y({id:Se().int().optional(),reportId:Se().int().optional(),type:St(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:Se().int().optional(),metricItems:me(hne).optional(),criteriaItems:me(pne).optional(),rankedItems:me(mne).optional()}),aP=Y({id:Se().int(),collectionId:Se().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),vne=aP.extend({sections:me(gne)}),yne=Y({isEnabled:qe().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),_ne=Y({success:qe(),total:Se().int().optional(),items:me(ag).optional(),error:k().optional()}),bne=Y({id:Se().int()}),Sne=Y({success:qe(),item:ag.optional(),error:k().optional()}),wne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),Ene=Y({success:qe(),item:ag.optional(),error:k().optional()}),Rne=Y({id:Se().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),xne=Y({success:qe(),item:ag.optional(),error:k().optional()}),Tne=Y({collectionId:Se().int().optional(),limit:Se().int().min(1).max(200).optional(),offset:Se().int().min(0).optional()}),One=Y({success:qe(),total:Se().int().optional(),items:me(aP).optional(),error:k().optional()}),Cne=Y({id:Se().int()}),Ane=Y({success:qe(),item:vne.optional(),error:k().optional()}),Ine=[{name:"collection_list",inputSchema:yne,outputSchema:_ne},{name:"collection_get",inputSchema:bne,outputSchema:Sne,opt:!0},{name:"collection_create",inputSchema:wne,outputSchema:Ene},{name:"collection_update",inputSchema:Rne,outputSchema:xne},{name:"report_list",inputSchema:Tne,outputSchema:One},{name:"report_get",inputSchema:Cne,outputSchema:Ane}],sP=Y({Page:Se().optional(),PageSize:Se().optional(),Total:Se().optional(),Pages:Se().optional()}),iP=Y({Id:Se(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:Se().optional(),TotalProducts:Se().optional()}),kne=Y({ProductId:Se(),SkuId:Se().optional(),ProductName:k(),Position:Se().optional()});Y({page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(iP),Paging:sP.optional()});Y({collectionId:Se().int().positive()});Y({collectionId:Se().int().positive(),page:Se().int().positive().optional(),pageSize:Se().int().positive().optional()});Y({Data:me(kne),Paging:sP.optional()});Y({words:k().min(1)});Y({Data:me(iP)});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({SubCollectionId:Se(),SkuId:Se()});Y({subCollectionId:Se().int().positive(),skuId:Se().int().positive()});Y({success:qe()});const Nne=Y({collectionId:rt([k().min(1),Se().int().positive()]),productIds:me(rt([k().min(1),Se().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Mne=Y({}).passthrough(),sae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:Nne,outputSchema:Mne}],cP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M18 20V10m-6 10V4M6 20v-6"}));cP.displayName="BarChart01";const lP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20 12.5V6.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 2 16.88 2 15.2 2H8.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 22H12m2-11H8m2 4H8m8-8H8m6.5 12 2 2 4.5-4.5"}));lP.displayName="FileCheck02";const uP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Z"}));uP.displayName="Folder";const dP=({size:e=24,color:t="currentColor",...n})=>A.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},A.createElement("path",{d:"M20.5 7.278 12 12m0 0L3.5 7.278M12 12v9.5m9-5.441V7.942c0-.343 0-.514-.05-.667a1 1 0 0 0-.215-.364c-.109-.119-.258-.202-.558-.368l-7.4-4.111c-.284-.158-.425-.237-.575-.267a1 1 0 0 0-.403 0c-.15.03-.292.11-.576.267l-7.4 4.11c-.3.167-.45.25-.558.369a1 1 0 0 0-.215.364C3 7.428 3 7.599 3 7.942v8.117c0 .342 0 .514.05.666a1 1 0 0 0 .215.364c.109.119.258.202.558.368l7.4 4.111c.284.158.425.237.576.268.133.027.27.027.402 0 .15-.031.292-.11.576-.268l7.4-4.11c.3-.167.45-.25.558-.369a.999.999 0 0 0 .215-.364c.05-.152.05-.324.05-.666ZM16.5 9.5l-9-5"}));dP.displayName="Package";const Pne=A.lazy(()=>xt(()=>import("./ranking-layout-BxRgmZtS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]))),Dne={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:Ine,LayoutComponent:Pne,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:x.jsx(cP,{size:16}),label:"Collection Ranking"}]})}};function vC(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function Lne(e){return{createRoutes:e,useParams:t=>Qc({strict:!1}),useSearch:t=>wm({strict:!1}),useNavigate:()=>{const t=vl(),{org:n,project:r,pluginId:a}=Qc({strict:!1});return i=>{const c=vC(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>cL(),Link:function(n){const{org:r,project:a,pluginId:i}=Qc({strict:!1}),c=vC(n.to,r,a,i);return x.jsx(Rm,{...n,to:c,params:{org:r,project:a,pluginId:i,...n.params}})},_types:{routes:void 0,routeIds:void 0}}}var At;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const i={};for(const c of a)i[c]=c;return i},e.getValidEnumValues=a=>{const i=e.objectKeys(a).filter(u=>typeof a[a[u]]!="number"),c={};for(const u of i)c[u]=a[u];return e.objectValues(c)},e.objectValues=a=>e.objectKeys(a).map(function(i){return a[i]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const i=[];for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&i.push(c);return i},e.find=(a,i)=>{for(const c of a)if(i(c))return c},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,i=" | "){return a.map(c=>typeof c=="string"?`'${c}'`:c).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(a,i)=>typeof i=="bigint"?i.toString():i})(At||(At={}));var yC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(yC||(yC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ws=e=>{switch(typeof e){case"undefined":return Fe.undefined;case"string":return Fe.string;case"number":return Number.isNaN(e)?Fe.nan:Fe.number;case"boolean":return Fe.boolean;case"function":return Fe.function;case"bigint":return Fe.bigint;case"symbol":return Fe.symbol;case"object":return Array.isArray(e)?Fe.array:e===null?Fe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Fe.promise:typeof Map<"u"&&e instanceof Map?Fe.map:typeof Set<"u"&&e instanceof Set?Fe.set:typeof Date<"u"&&e instanceof Date?Fe.date:Fe.object;default:return Fe.unknown}},ke=At.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ja extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},a=i=>{for(const c of i.issues)if(c.code==="invalid_union")c.unionErrors.map(a);else if(c.code==="invalid_return_type")a(c.returnTypeError);else if(c.code==="invalid_arguments")a(c.argumentsError);else if(c.path.length===0)r._errors.push(n(c));else{let u=r,d=0;for(;d<c.path.length;){const f=c.path[d];d===c.path.length-1?(u[f]=u[f]||{_errors:[]},u[f]._errors.push(n(c))):u[f]=u[f]||{_errors:[]},u=u[f],d++}}};return a(this),r}static assert(t){if(!(t instanceof ja))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,At.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const i=a.path[0];n[i]=n[i]||[],n[i].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}ja.create=e=>new ja(e);const eb=(e,t)=>{let n;switch(e.code){case ke.invalid_type:e.received===Fe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ke.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,At.jsonStringifyReplacer)}`;break;case ke.unrecognized_keys:n=`Unrecognized key(s) in object: ${At.joinValues(e.keys,", ")}`;break;case ke.invalid_union:n="Invalid input";break;case ke.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${At.joinValues(e.options)}`;break;case ke.invalid_enum_value:n=`Invalid enum value. Expected ${At.joinValues(e.options)}, received '${e.received}'`;break;case ke.invalid_arguments:n="Invalid function arguments";break;case ke.invalid_return_type:n="Invalid function return type";break;case ke.invalid_date:n="Invalid date";break;case ke.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:At.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ke.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ke.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ke.custom:n="Invalid input";break;case ke.invalid_intersection_types:n="Intersection results could not be merged";break;case ke.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ke.not_finite:n="Number must be finite";break;default:n=t.defaultError,At.assertNever(e)}return{message:n}};let jne=eb;function $ne(){return jne}const Une=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,i=[...n,...a.path||[]],c={...a,path:i};if(a.message!==void 0)return{...a,path:i,message:a.message};let u="";const d=r.filter(f=>!!f).slice().reverse();for(const f of d)u=f(c,{data:t,defaultError:u}).message;return{...a,path:i,message:u}};function Le(e,t){const n=$ne(),r=Une({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===eb?void 0:eb].filter(a=>!!a)});e.common.issues.push(r)}class Wr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return tt;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const i=await a.key,c=await a.value;r.push({key:i,value:c})}return Wr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:i,value:c}=a;if(i.status==="aborted"||c.status==="aborted")return tt;i.status==="dirty"&&t.dirty(),c.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof c.value<"u"||a.alwaysSet)&&(r[i.value]=c.value)}return{status:t.value,value:r}}}const tt=Object.freeze({status:"aborted"}),Pu=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),_C=e=>e.status==="aborted",bC=e=>e.status==="dirty",fl=e=>e.status==="valid",fm=e=>typeof Promise<"u"&&e instanceof Promise;var He;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(He||(He={}));class js{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const SC=(e,t)=>{if(fl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ja(e.common.issues);return this._error=n,this._error}}};function mt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(c,u)=>{const{message:d}=e;return c.code==="invalid_enum_value"?{message:d??u.defaultError}:typeof u.data>"u"?{message:d??r??u.defaultError}:c.code!=="invalid_type"?{message:u.defaultError}:{message:d??n??u.defaultError}},description:a}}class Tt{get description(){return this._def.description}_getType(t){return ws(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Wr,ctx:{common:t.parent.common,data:t.data,parsedType:ws(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(fm(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parseSync({data:t,path:r.path,parent:r});return SC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return fl(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>fl(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ws(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(fm(a)?a:Promise.resolve(a));return SC(r,i)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,i)=>{const c=t(a),u=()=>i.addIssue({code:ke.custom,...r(a)});return typeof Promise<"u"&&c instanceof Promise?c.then(d=>d?!0:(u(),!1)):c?!0:(u(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new pl({schema:this,typeName:nt.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ns.create(this,this._def)}nullable(){return ml.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return gm.create(this,this._def)}or(t){return pm.create([this,t],this._def)}and(t){return mm.create(this,t,this._def)}transform(t){return new pl({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new rb({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new cre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ob({...mt(this._def),innerType:this,catchValue:n,typeName:nt.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Z1.create(this,t)}readonly(){return ab.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const zne=/^c[^\s-]{8,}$/i,Vne=/^[0-9a-z]+$/,Fne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Bne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,qne=/^[a-z0-9_-]{21}$/i,Hne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Gne=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Zne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Kne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let F0;const Wne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Yne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Qne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Xne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Jne=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ere=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,fP="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",tre=new RegExp(`^${fP}$`);function hP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function nre(e){return new RegExp(`^${hP(e)}$`)}function rre(e){let t=`${fP}T${hP(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function ore(e,t){return!!((t==="v4"||!t)&&Wne.test(e)||(t==="v6"||!t)&&Qne.test(e))}function are(e,t){if(!Hne.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function sre(e,t){return!!((t==="v4"||!t)&&Yne.test(e)||(t==="v6"||!t)&&Xne.test(e))}class Ts extends Tt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Fe.string){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.string,received:i.parsedType}),tt}const r=new Wr;let a;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const c=t.data.length>i.value,u=t.data.length<i.value;(c||u)&&(a=this._getOrReturnCtx(t,a),c?Le(a,{code:ke.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):u&&Le(a,{code:ke.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Zne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"email",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")F0||(F0=new RegExp(Kne,"u")),F0.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"emoji",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")Bne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"uuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")qne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"nanoid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")zne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Vne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cuid2",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")Fne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ulid",code:ke.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Le(a,{validation:"url",code:ke.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"regex",code:ke.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?rre(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?tre.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?nre(i).test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Gne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?ore(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"ip",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?are(t.data,i.alg)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"jwt",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?sre(t.data,i.version)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"cidr",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?Jne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?ere.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64url",code:ke.invalid_string,message:i.message}),r.dirty()):At.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ke.invalid_string,...He.errToObj(r)})}_addCheck(t){return new Ts({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...He.errToObj(t)})}url(t){return this._addCheck({kind:"url",...He.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...He.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...He.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...He.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...He.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...He.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...He.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...He.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...He.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...He.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...He.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...He.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...He.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...He.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...He.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...He.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...He.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...He.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...He.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...He.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...He.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...He.errToObj(n)})}nonempty(t){return this.min(1,He.errToObj(t))}trim(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ts({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ts.create=e=>new Ts({checks:[],typeName:nt.ZodString,coerce:e?.coerce??!1,...mt(e)});function ire(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,i=Number.parseInt(e.toFixed(a).replace(".","")),c=Number.parseInt(t.toFixed(a).replace(".",""));return i%c/10**a}class ld extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Fe.number){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.number,received:i.parsedType}),tt}let r;const a=new Wr;for(const i of this._def.checks)i.kind==="int"?At.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.invalid_type,expected:"integer",received:"float",message:i.message}),a.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),a.dirty()):i.kind==="multipleOf"?ire(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_finite,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ld({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ld({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:He.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:He.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:He.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:He.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&At.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ld.create=e=>new ld({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class ud extends Tt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Fe.bigint)return this._getInvalidInput(t);let r;const a=new Wr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),a.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Le(r,{code:ke.not_multiple_of,multipleOf:i.value,message:i.message}),a.dirty()):At.assertNever(i);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.bigint,received:n.parsedType}),tt}gte(t,n){return this.setLimit("min",t,!0,He.toString(n))}gt(t,n){return this.setLimit("min",t,!1,He.toString(n))}lte(t,n){return this.setLimit("max",t,!0,He.toString(n))}lt(t,n){return this.setLimit("max",t,!1,He.toString(n))}setLimit(t,n,r,a){return new ud({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new ud({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:He.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:He.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:He.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:He.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:He.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ud.create=e=>new ud({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class tb extends Tt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Fe.boolean){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.boolean,received:r.parsedType}),tt}return _o(t.data)}}tb.create=e=>new tb({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class hm extends Tt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Fe.date){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_type,expected:Fe.date,received:i.parsedType}),tt}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Le(i,{code:ke.invalid_date}),tt}const r=new Wr;let a;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):At.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new hm({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:He.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:He.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}hm.create=e=>new hm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class wC extends Tt{_parse(t){if(this._getType(t)!==Fe.symbol){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.symbol,received:r.parsedType}),tt}return _o(t.data)}}wC.create=e=>new wC({typeName:nt.ZodSymbol,...mt(e)});class EC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.undefined,received:r.parsedType}),tt}return _o(t.data)}}EC.create=e=>new EC({typeName:nt.ZodUndefined,...mt(e)});class RC extends Tt{_parse(t){if(this._getType(t)!==Fe.null){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.null,received:r.parsedType}),tt}return _o(t.data)}}RC.create=e=>new RC({typeName:nt.ZodNull,...mt(e)});class xC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}xC.create=e=>new xC({typeName:nt.ZodAny,...mt(e)});class TC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}TC.create=e=>new TC({typeName:nt.ZodUnknown,...mt(e)});class $s extends Tt{_parse(t){const n=this._getOrReturnCtx(t);return Le(n,{code:ke.invalid_type,expected:Fe.never,received:n.parsedType}),tt}}$s.create=e=>new $s({typeName:nt.ZodNever,...mt(e)});class OC extends Tt{_parse(t){if(this._getType(t)!==Fe.undefined){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.void,received:r.parsedType}),tt}return _o(t.data)}}OC.create=e=>new OC({typeName:nt.ZodVoid,...mt(e)});class ta extends Tt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Fe.array)return Le(n,{code:ke.invalid_type,expected:Fe.array,received:n.parsedType}),tt;if(a.exactLength!==null){const c=n.data.length>a.exactLength.value,u=n.data.length<a.exactLength.value;(c||u)&&(Le(n,{code:c?ke.too_big:ke.too_small,minimum:u?a.exactLength.value:void 0,maximum:c?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Le(n,{code:ke.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Le(n,{code:ke.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((c,u)=>a.type._parseAsync(new js(n,c,n.path,u)))).then(c=>Wr.mergeArray(r,c));const i=[...n.data].map((c,u)=>a.type._parseSync(new js(n,c,n.path,u)));return Wr.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new ta({...this._def,minLength:{value:t,message:He.toString(n)}})}max(t,n){return new ta({...this._def,maxLength:{value:t,message:He.toString(n)}})}length(t,n){return new ta({...this._def,exactLength:{value:t,message:He.toString(n)}})}nonempty(t){return this.min(1,t)}}ta.create=(e,t)=>new ta({type:e,minLength:null,maxLength:null,exactLength:null,typeName:nt.ZodArray,...mt(t)});function qc(e){if(e instanceof Sn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(qc(r))}return new Sn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:qc(e.element)}):e instanceof Ns?Ns.create(qc(e.unwrap())):e instanceof ml?ml.create(qc(e.unwrap())):e instanceof Pi?Pi.create(e.items.map(t=>qc(t))):e}class Sn extends Tt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=At.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Fe.object){const f=this._getOrReturnCtx(t);return Le(f,{code:ke.invalid_type,expected:Fe.object,received:f.parsedType}),tt}const{status:r,ctx:a}=this._processInputParams(t),{shape:i,keys:c}=this._getCached(),u=[];if(!(this._def.catchall instanceof $s&&this._def.unknownKeys==="strip"))for(const f in a.data)c.includes(f)||u.push(f);const d=[];for(const f of c){const m=i[f],p=a.data[f];d.push({key:{status:"valid",value:f},value:m._parse(new js(a,p,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof $s){const f=this._def.unknownKeys;if(f==="passthrough")for(const m of u)d.push({key:{status:"valid",value:m},value:{status:"valid",value:a.data[m]}});else if(f==="strict")u.length>0&&(Le(a,{code:ke.unrecognized_keys,keys:u}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const m of u){const p=a.data[m];d.push({key:{status:"valid",value:m},value:f._parse(new js(a,p,a.path,m)),alwaysSet:m in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const m of d){const p=await m.key,g=await m.value;f.push({key:p,value:g,alwaysSet:m.alwaysSet})}return f}).then(f=>Wr.mergeObjectSync(r,f)):Wr.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(t){return He.errToObj,new Sn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:He.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Sn({...this._def,unknownKeys:"strip"})}passthrough(){return new Sn({...this._def,unknownKeys:"passthrough"})}extend(t){return new Sn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Sn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:nt.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Sn({...this._def,catchall:t})}pick(t){const n={};for(const r of At.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of At.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Sn({...this._def,shape:()=>n})}deepPartial(){return qc(this)}partial(t){const n={};for(const r of At.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Sn({...this._def,shape:()=>n})}required(t){const n={};for(const r of At.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Ns;)i=i._def.innerType;n[r]=i}return new Sn({...this._def,shape:()=>n})}keyof(){return pP(At.objectKeys(this.shape))}}Sn.create=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.strictCreate=(e,t)=>new Sn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});Sn.lazycreate=(e,t)=>new Sn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class pm extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(i){for(const u of i)if(u.result.status==="valid")return u.result;for(const u of i)if(u.result.status==="dirty")return n.common.issues.push(...u.ctx.common.issues),u.result;const c=i.map(u=>new ja(u.ctx.common.issues));return Le(n,{code:ke.invalid_union,unionErrors:c}),tt}if(n.common.async)return Promise.all(r.map(async i=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(a);{let i;const c=[];for(const d of r){const f={...n,common:{...n.common,issues:[]},parent:null},m=d._parseSync({data:n.data,path:n.path,parent:f});if(m.status==="valid")return m;m.status==="dirty"&&!i&&(i={result:m,ctx:f}),f.common.issues.length&&c.push(f.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const u=c.map(d=>new ja(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}pm.create=(e,t)=>new pm({options:e,typeName:nt.ZodUnion,...mt(t)});function nb(e,t){const n=ws(e),r=ws(t);if(e===t)return{valid:!0,data:e};if(n===Fe.object&&r===Fe.object){const a=At.objectKeys(t),i=At.objectKeys(e).filter(u=>a.indexOf(u)!==-1),c={...e,...t};for(const u of i){const d=nb(e[u],t[u]);if(!d.valid)return{valid:!1};c[u]=d.data}return{valid:!0,data:c}}else if(n===Fe.array&&r===Fe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let i=0;i<e.length;i++){const c=e[i],u=t[i],d=nb(c,u);if(!d.valid)return{valid:!1};a.push(d.data)}return{valid:!0,data:a}}else return n===Fe.date&&r===Fe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class mm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(_C(i)||_C(c))return tt;const u=nb(i.value,c.value);return u.valid?((bC(i)||bC(c))&&n.dirty(),{status:n.value,value:u.data}):(Le(r,{code:ke.invalid_intersection_types}),tt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,c])=>a(i,c)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}mm.create=(e,t,n)=>new mm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Pi extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.array)return Le(r,{code:ke.invalid_type,expected:Fe.array,received:r.parsedType}),tt;if(r.data.length<this._def.items.length)return Le(r,{code:ke.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),tt;!this._def.rest&&r.data.length>this._def.items.length&&(Le(r,{code:ke.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((c,u)=>{const d=this._def.items[u]||this._def.rest;return d?d._parse(new js(r,c,r.path,u)):null}).filter(c=>!!c);return r.common.async?Promise.all(i).then(c=>Wr.mergeArray(n,c)):Wr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Pi({...this._def,rest:t})}}Pi.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Pi({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class CC extends Tt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.map)return Le(r,{code:ke.invalid_type,expected:Fe.map,received:r.parsedType}),tt;const a=this._def.keyType,i=this._def.valueType,c=[...r.data.entries()].map(([u,d],f)=>({key:a._parse(new js(r,u,r.path,[f,"key"])),value:i._parse(new js(r,d,r.path,[f,"value"]))}));if(r.common.async){const u=new Map;return Promise.resolve().then(async()=>{for(const d of c){const f=await d.key,m=await d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}})}else{const u=new Map;for(const d of c){const f=d.key,m=d.value;if(f.status==="aborted"||m.status==="aborted")return tt;(f.status==="dirty"||m.status==="dirty")&&n.dirty(),u.set(f.value,m.value)}return{status:n.value,value:u}}}}CC.create=(e,t,n)=>new CC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class dd extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Fe.set)return Le(r,{code:ke.invalid_type,expected:Fe.set,received:r.parsedType}),tt;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Le(r,{code:ke.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Le(r,{code:ke.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const i=this._def.valueType;function c(d){const f=new Set;for(const m of d){if(m.status==="aborted")return tt;m.status==="dirty"&&n.dirty(),f.add(m.value)}return{status:n.value,value:f}}const u=[...r.data.values()].map((d,f)=>i._parse(new js(r,d,r.path,f)));return r.common.async?Promise.all(u).then(d=>c(d)):c(u)}min(t,n){return new dd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new dd({...this._def,maxSize:{value:t,message:He.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}dd.create=(e,t)=>new dd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class AC extends Tt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}AC.create=(e,t)=>new AC({getter:e,typeName:nt.ZodLazy,...mt(t)});class IC extends Tt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Le(n,{received:n.data,code:ke.invalid_literal,expected:this._def.value}),tt}return{status:"valid",value:t.data}}get value(){return this._def.value}}IC.create=(e,t)=>new IC({value:e,typeName:nt.ZodLiteral,...mt(t)});function pP(e,t){return new hl({values:e,typeName:nt.ZodEnum,...mt(t)})}class hl extends Tt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{expected:At.joinValues(r),received:n.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Le(n,{received:n.data,code:ke.invalid_enum_value,options:r}),tt}return _o(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return hl.create(t,{...this._def,...n})}exclude(t,n=this._def){return hl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}hl.create=pP;class kC extends Tt{_parse(t){const n=At.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Fe.string&&r.parsedType!==Fe.number){const a=At.objectValues(n);return Le(r,{expected:At.joinValues(a),received:r.parsedType,code:ke.invalid_type}),tt}if(this._cache||(this._cache=new Set(At.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=At.objectValues(n);return Le(r,{received:r.data,code:ke.invalid_enum_value,options:a}),tt}return _o(t.data)}get enum(){return this._def.values}}kC.create=(e,t)=>new kC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class gm extends Tt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Fe.promise&&n.common.async===!1)return Le(n,{code:ke.invalid_type,expected:Fe.promise,received:n.parsedType}),tt;const r=n.parsedType===Fe.promise?n.data:Promise.resolve(n.data);return _o(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}gm.create=(e,t)=>new gm({type:e,typeName:nt.ZodPromise,...mt(t)});class pl extends Tt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===nt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,i={addIssue:c=>{Le(r,c),c.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),a.type==="preprocess"){const c=a.transform(r.data,i);if(r.common.async)return Promise.resolve(c).then(async u=>{if(n.value==="aborted")return tt;const d=await this._def.schema._parseAsync({data:u,path:r.path,parent:r});return d.status==="aborted"?tt:d.status==="dirty"||n.value==="dirty"?Pu(d.value):d});{if(n.value==="aborted")return tt;const u=this._def.schema._parseSync({data:c,path:r.path,parent:r});return u.status==="aborted"?tt:u.status==="dirty"||n.value==="dirty"?Pu(u.value):u}}if(a.type==="refinement"){const c=u=>{const d=a.refinement(u,i);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return u};if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value),{status:n.value,value:u.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>u.status==="aborted"?tt:(u.status==="dirty"&&n.dirty(),c(u.value).then(()=>({status:n.value,value:u.value}))))}if(a.type==="transform")if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!fl(c))return tt;const u=a.transform(c.value,i);if(u instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:u}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>fl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}pl.create=(e,t,n)=>new pl({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});pl.createWithPreprocess=(e,t,n)=>new pl({schema:t,effect:{type:"preprocess",transform:e},typeName:nt.ZodEffects,...mt(n)});class Ns extends Tt{_parse(t){return this._getType(t)===Fe.undefined?_o(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ns.create=(e,t)=>new Ns({innerType:e,typeName:nt.ZodOptional,...mt(t)});class ml extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ml.create=(e,t)=>new ml({innerType:e,typeName:nt.ZodNullable,...mt(t)});class rb extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Fe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}rb.create=(e,t)=>new rb({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class ob extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return fm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new ja(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ja(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ob.create=(e,t)=>new ob({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class NC extends Tt{_parse(t){if(this._getType(t)!==Fe.nan){const r=this._getOrReturnCtx(t);return Le(r,{code:ke.invalid_type,expected:Fe.nan,received:r.parsedType}),tt}return{status:"valid",value:t.data}}}NC.create=e=>new NC({typeName:nt.ZodNaN,...mt(e)});class cre extends Tt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Z1 extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?tt:i.status==="dirty"?(n.dirty(),Pu(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?tt:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new Z1({in:t,out:n,typeName:nt.ZodPipeline})}}class ab extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(fl(a)&&(a.value=Object.freeze(a.value)),a);return fm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}ab.create=(e,t)=>new ab({innerType:e,typeName:nt.ZodReadonly,...mt(t)});var nt;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(nt||(nt={}));const lre=Ts.create,ure=tb.create;$s.create;ta.create;const dre=Sn.create;pm.create;mm.create;Pi.create;const fre=hl.create;gm.create;Ns.create;ml.create;const hre=dre({path:lre().optional().default(""),flat:ure().optional().default(!1),view:fre(["table","grid"]).optional().default("grid")}),pre=Lne(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-BRNDEG3O.js").then(a=>a.b),__vite__mapDeps([35,6,36,37,7,38,13,20,14,39,28,40,41,42,8,43,44,4]))),validateSearch:hre})]}),mre=A.lazy(()=>xt(()=>import("./plugin-header-BPNBXPjM.js"),__vite__mapDeps([45,13,34]))),gre=A.lazy(()=>xt(()=>import("./plugin-empty-state-DRRVQKmb.js"),[])),vre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:Fte,renderHeader:e=>x.jsx(mre,{...e}),renderEmptyState:()=>x.jsx(gre,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:x.jsx(uP,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=pre.createRoutes(e);n(r)}},yre="private-registry",_re="Organization private MCP registry with CRUD and Store integration",iae=`
|
|
197
197
|
You are an MCP tool tester running automated integration checks.
|
|
198
198
|
|
|
199
199
|
Goal:
|
|
@@ -215,4 +215,4 @@ At the end, provide a concise summary of:
|
|
|
215
215
|
- What failed
|
|
216
216
|
- What could not be tested and why
|
|
217
217
|
- If some tool needs user-specific context (email/account/tenant), explicitly output a "CONTEXT_REQUIRED" note with what is needed.
|
|
218
|
-
`.trim(),bre=A.lazy(()=>xt(()=>import("./registry-layout-ChpSfSFu.js"),__vite__mapDeps([46,7,31,47,9,2,4,5,36,37,48,15,12,13,14,23,49,50,51,17,52,53,8,19,10,11,20,39,44,54,55,43,56,57,58,34,16,59,21,60,61,38,62,63,33,3,64,65,66,67,18,68,69,70]))),Sre={id:yre,description:_re,LayoutComponent:bre,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:x.jsx(dP,{size:16}),label:"Registry"}],defaultExpanded:!0})}},wre=A.lazy(()=>xt(()=>import("./reports-layout-BvKe5aI3.js"),__vite__mapDeps([71,1,2,3,4,5,6,8,9,13,34,7,20,21,72,22,65,73,31,32,33,23,24,25,26,27,14,28,29,30,48,55,57,58]))),Ere={id:"reports",description:"View automated reports with actionable insights",binding:fne,LayoutComponent:wre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:x.jsx(lP,{size:16}),label:"Reports"}]})}},Rre="user-sandbox",xre="Create embeddable integration flows for platform end-users";var Tre=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(S=>{let w=S==="class",b=w&&i?a.map(R=>i[R]||R):a;w?(d.classList.remove(...b),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(S,y)}),p(y)}function p(y){u&&f.includes(y)&&(d.style.colorScheme=y)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)m(r);else try{let y=localStorage.getItem(t)||n,S=c&&y==="system"?g():y;m(S)}catch{}},Ore=A.createContext(void 0),Cre={setTheme:e=>{},themes:[]},cae=()=>{var e;return(e=A.useContext(Ore))!=null?e:Cre};A.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:c,themes:u,nonce:d,scriptProps:f})=>{let m=JSON.stringify([n,t,i,e,u,c,r,a]).slice(1,-1);return A.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${Tre.toString()})(${m})`}})});const fd="org-admin",Are={from({org:e,project:t}){if(e?.includes("/")||t.includes("/"))throw new Error("Org or project cannot contain slashes");return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,n]=e.split("/");if(!t||!n)throw new Error("Invalid locator");return{org:t,project:n}},isOrgAdminProject(e){return e.split("/")[1]===fd},adminProject(e){return`${e}/${fd}`}},mP=A.createContext(void 0),lae=()=>{const e=A.useContext(mP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},uae=e=>{const t=gl.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Are.from({org:r.slug,project:a.slug}),t[0]=r.slug,t[1]=a.slug,t[2]=i):i=t[2];const c=i;let u;t[3]!==c||t[4]!==r||t[5]!==a?(u={org:r,project:a,locator:c},t[3]=c,t[4]=r,t[5]=a,t[6]=u):u=t[6];const d=u;let f;return t[7]!==n||t[8]!==d?(f=x.jsx(mP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},Ire=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:St(["authorization_code","client_credentials"])}),kre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Nre=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:kre.optional(),_meta:ut(k(),at()).optional()}),Mre=Y({headers:ut(k(),k()).optional()}),Pre=Y({command:k().describe("Command to run (e.g., 'npx', 'node')"),args:me(k()).optional().describe("Command arguments"),cwd:k().optional().describe("Working directory"),envVars:ut(k(),k()).optional().describe("Environment variables (encrypted in storage)")}),gP=Y({id:k().describe("Unique identifier for the connection"),title:k().describe("Human-readable name for the connection"),created_at:k().describe("When the connection was created"),updated_at:k().describe("When the connection was last updated"),created_by:k().describe("User ID who created the connection"),updated_by:k().optional().describe("User ID who last updated the connection"),organization_id:k().describe("Organization ID this connection belongs to"),description:k().nullable().describe("Description of the connection"),icon:k().nullable().describe("Icon URL for the connection"),app_name:k().nullable().describe("Associated app name"),app_id:k().nullable().describe("Associated app ID"),connection_type:St(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:k().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:k().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:rt([Pre,Mre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:Ire.nullable().describe("OAuth configuration"),configuration_state:ut(k(),at()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:me(k()).nullable().optional().describe("Configuration scopes"),metadata:ut(k(),at()).nullable().describe("Additional metadata (includes repository info)"),tools:me(Nre).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:St(["active","inactive","error"]).describe("Current status")});gP.omit({created_at:!0,updated_at:!0,created_by:!0,updated_by:!0,organization_id:!0,tools:!0,bindings:!0,status:!0}).partial({id:!0,description:!0,icon:!0,app_name:!0,app_id:!0,connection_url:!0,connection_token:!0,connection_headers:!0,oauth_config:!0,configuration_state:!0,configuration_scopes:!0,metadata:!0}).extend({icon:k().nullish()});gP.partial();function dae(e){return e!=null&&"command"in e}function fae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Du=Y({connection_id:k().describe("Connection ID"),selected_tools:me(k()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:me(k()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:me(k()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),vP=Du.extend({selected_tools:Du.shape.selected_tools.optional(),selected_resources:Du.shape.selected_resources.optional(),selected_prompts:Du.shape.selected_prompts.optional()}),hae=Y({id:k().describe("Unique identifier"),title:k().describe("Human-readable name"),description:k().nullable().describe("Description"),icon:k().nullable().describe("Icon URL"),created_at:k().describe("Creation timestamp"),updated_at:k().describe("Last update timestamp"),created_by:k().describe("User ID who created this item"),updated_by:k().optional().describe("User ID who last updated this item"),organization_id:k().describe("Organization ID this item belongs to"),status:St(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Du).describe("Connections with their selected tools, resources, and prompts")});Y({title:k().min(1).max(255).describe("Name for the virtual MCP"),description:k().nullable().optional().describe("Optional description"),icon:k().nullish().describe("Optional icon URL"),status:St(["active","inactive"]).optional().default("active").describe("Initial status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(vP).describe("Connections to include/exclude (can be empty for exclusion mode)")});Y({title:k().min(1).max(255).optional().describe("New name"),description:k().nullable().optional().describe("New description (null to clear)"),icon:k().nullish().describe("New icon URL"),status:St(["active","inactive"]).optional().describe("New status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(vP).optional().describe("New connections (replaces existing)")});var MC;(function(e){e.Completable="McpCompletable"})(MC||(MC={}));const Dre=[],Lre={id:Rre,description:xre,binding:Dre},jre="workflows",$re="Create workflows for platform end-users",Ure=A.lazy(()=>xt(()=>import("./plugin-header-PVE46n-W.js"),__vite__mapDeps([74,13,34,75]))),zre=A.lazy(()=>xt(()=>import("./plugin-empty-state-CVngkfX3.js"),__vite__mapDeps([76,75]))),Vre={id:jre,description:$re,binding:[],renderHeader:e=>x.jsx(Ure,{...e}),renderEmptyState:()=>x.jsx(zre,{})},Fre=[vre,Ere,Dne,Lre,Sre,Vre],Hs=W6({component:()=>x.jsx(NY,{children:x.jsx(A.Suspense,{fallback:x.jsx(lM,{}),children:x.jsx(pA,{})})})}),Bre=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-CA6nx1du.js"),__vite__mapDeps([77,4,7,15]))),validateSearch:go(()=>Y({next:k().optional(),client_id:k().optional(),redirect_uri:k().optional(),response_type:k().optional(),state:k().optional(),scope:k().optional(),code_challenge:k().optional(),code_challenge_method:k().optional()}))}),qre=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-B7ISHNC0.js"),__vite__mapDeps([78,4,7,15]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),Hre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-B4V1ZqhA.js"),[]))}),Gre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-DOymnzkM.js"),__vite__mapDeps([79,2,4,7,55,69,80])))}),Zre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-SskJUHyO.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Kre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-CaX2c7Wu.js"),__vite__mapDeps([81,8,69])))}),sg=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-Wquvsd36.js"),__vite__mapDeps([82,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,110,111,22,43,112,51,113,114,8,18,115,59,116,72,75,41,117,118,12,119,54,53,63,120,73,121,122,123])))}),Wre=jt({getParentRoute:()=>sg,path:"/",component:Gt(()=>xt(()=>import("./home-WDKWnX-6.js"),__vite__mapDeps([124,55,7,118,20,13,18,19,109,15,119,54,98,56,96,4])))}),Yre=jt({getParentRoute:()=>sg,path:"/$org",beforeLoad:({params:e})=>{throw ym({to:"/$org/$project",params:{org:e.org,project:fd}})}}),Jn=jt({getParentRoute:()=>sg,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-Cz0HYNyh.js"),__vite__mapDeps([125,117,2,5,7,10,11,92,89,4,116,118,106,9,68,58,13,65,16,57,34,104,120,72,98,56,15,44,59,54,47,3,88,1,126,127,128,129,130,111,8,18,131,132,48,20,61,121]))),validateSearch:Y({settings:k().optional()})}),Qre=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-BvMChlEF.js"),__vite__mapDeps([133,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,110,111,22,43,113,114,8,112,51,134,18])))}),Xre=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-CnBGBvBV.js"),__vite__mapDeps([135,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,110,90,91,112,51,11,138,118,2,5,50,139,140,141,48,20,142,72,22,84,85,3,4,86,87,88,1,89,92,64,57,34,93,94,61,9,95,37])))}),Jre=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===fd;throw ym({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==fd)throw ym({to:"/$org/$project",params:{org:e.org,project:e.project}})},eoe=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-BfIgV1F1.js"),__vite__mapDeps([143,117,2,5,112,51,7,11,68,58,114,8,19,15,118,144,140,110,115,4,10,98,56,59,13,141,14])))}),toe=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-Yn81rJ_1.js"),__vite__mapDeps([145,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,112,51,11,141,99,47,38,21,3,4,5,146,147,2,87,88,1,118,48,54,10,148,149,18,43,16,110,90,91,98,56,57,34,59,55,17,67,120,109,64])))}),noe=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-C-xjHvMP.js"),__vite__mapDeps([150,111,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,151,55,99,47,48,20,31,110,90,91,112,51,11,138,118,2,5,50,88,1,130,54,141,10,98,56,57,34,59,3,4,121,17,62,108,152,43,139,140,153,18]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),roe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-dcoyE7_9.js"),__vite__mapDeps([154,110,7,90,91,153,15,18,43,155,68,58,134,122,4,5,156,66,8,88,1,157,69,121,2,93,67,3,128,130,127,129,111,126,57,13,34,132,80,147,83,84,85,86,87,89,92,64,40,94,61,19,9,95,37,96,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,22,141,158,159,112,51,160,136,12,25,42,137,23,114,55,17,161,73,138,118,50,54,31,152,144,140,162,163,164,165]))),validateSearch:go(()=>Y({tab:k().optional()}))}),ooe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-BYSxk4oE.js"),__vite__mapDeps([166,110,7,90,91,3,4,5,155,68,58,134,122,98,56,15,59,159,112,51,11,156,66,8,57,13,34,20,22,104,65,70,109,141,14,157,69,121,2,93,67,88,1,128,130,127,129,111,126,18,132,80,147,83,84,85,86,87,89,92,64,40,94,61,19,9,95,37,96,97,10,99,47,100,26,101,102,33,103,21,60,48,105,106,107,24,62,108,43,167,161,123,137,142,148,12]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),aoe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-WM-Rk7qO.js"),__vite__mapDeps([168,114,8,19,15,7,112,51,11,68,58,141,14,110,90,91,169,48,64,13,65,39,52,67,70,167,96,57,34,22,99,47,23,131,132,5,17,18,43,151,55,12,54,146,147,95,37,3,4,85,104,40,38,59,158,16,56,121,2,49,102]))),validateSearch:go(()=>Y({tab:St(["logs","analytics","dashboards"]).default("logs"),from:k().default("now-24h"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:St(["all","success","errors"]).default("all"),search:k().default(""),page:Se().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),soe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-wLbkoGo1.js"),__vite__mapDeps([170,5,7,169,48,64,68,58,13,65,39,52,67,70,167,96,57,34,22,14,15,165,90,91,159,112,51,11,141,59,104,40,18,43,109])))}),ioe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-Dp8NRuZd.js"),__vite__mapDeps([171,90,7,91,3,4,5,15,99,47,38,13,64,34,57,58,29,70,18,165,43,49,159,112,51,11,68,156,66,8,141,14])))}),yP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-CXSHaeva.js"),__vite__mapDeps([172,112,51,7,11,68,58,141,14,91,52,73,8,165,19,2,36,37,130,5,3,4,173,114,15,174,27,108,149,18,152,55,99,47,129,64,13,34,109,110,88,1,89,90])))}),coe=jt({getParentRoute:()=>yP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-C68kfF_y.js"),__vite__mapDeps([175,20,8,112,51,7,11,68,58,99,47,31,34,18,12,13,14,63,110,162,2,93,129,163,107,164,136,25,26,40,42,137,23,114,19,15,48,55,91,62,108,165,159,158,174,27,149,152,141,88,1,3,4,5,121,89,127,128,130,111,173,32]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),loe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-CiEGGxbH.js"),__vite__mapDeps([176,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,112,51,11,141,151,55,99,47,110,90,91,138,118,2,5,50,105,85,3,4,54,17,62,43,102,177,139,140]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),uoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-BpcgS_WA.js"),__vite__mapDeps([178,84,5,85,3,4,86,87,88,1,2,89,90,7,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,110,99,47,155,68,134,122,103,48,16,59,14,28,8,70,18,102,141,159,112,51,11,156,66,114,164,136,12,25,26,42,137,23,55,62,108,165,38,10,121,97,173,104,65,32,67,177]))),validateSearch:go(()=>Y({tab:k().optional()}))}),doe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-DujY0Kfk.js"),__vite__mapDeps([179,5,160,111,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,55,99,47,65,17,101,62,43,161,73,138,118,2,50,51,110,128,54,3,4,18,159,112,11,90,91,141,88,1,61,75])))}),_P=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-deQJwm8k.js"),__vite__mapDeps([180,8,1,6,2,3,4,5,9,7,112,51,11,68,58])))}),foe=[],hoe=[],bP=[];Fre.forEach(e=>{if(!e.setup)return;const t={parentRoute:_P,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>foe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>hoe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{bP.push(...n)}};e.setup(t)});const poe=_P.addChildren(bP),moe=yP.addChildren([coe]),goe=[Qre,Xre,Jre,eoe,toe,noe,roe,ooe,aoe,soe,ioe,moe,loe,uoe,doe,poe],voe=Jn.addChildren(goe),yoe=sg.addChildren([Wre,Yre,voe]),_oe=Hs.addChildren([yoe,Bre,qre,Hre,Kre,Gre,Zre]),boe=oL({routeTree:_oe}),Soe=document.getElementById("root");B5.createRoot(Soe).render(x.jsx(A.StrictMode,{children:x.jsx(iL,{router:boe})}));export{LG as $,Woe as A,RD as B,gP as C,Aoe as D,ng as E,HV as F,Em as G,uP as H,Doe as I,BB as J,GC as K,Are as L,Uoe as M,Coe as N,fd as O,uae as P,joe as Q,zG as R,lM as S,$oe as T,FB as U,hae as V,zoe as W,Loe as X,MG as Y,PG as Z,DG as _,wm as a,y$ as a$,jG as a0,Foe as a1,Voe as a2,qoe as a3,Boe as a4,Hoe as a5,Goe as a6,Zoe as a7,rn as a8,iD as a9,QG as aA,WG as aB,pA as aC,Rm as aD,Fre as aE,bN as aF,uH as aG,Fb as aH,dN as aI,Nk as aJ,Bb as aK,td as aL,Ek as aM,Vb as aN,zb as aO,dH as aP,fH as aQ,Poe as aR,Moe as aS,Noe as aT,hd as aU,q0 as aV,Zu as aW,dD as aX,Zn as aY,Or as aZ,eD as a_,Fee as aa,Zee as ab,eae as ac,Ri as ad,sx as ae,xoe as af,Roe as ag,S4 as ah,E4 as ai,Toe as aj,me as ak,St as al,Is as am,vd as an,Yk as ao,yd as ap,EH as aq,An as ar,RH as as,lt as at,wN as au,Va as av,$i as aw,fZ as ax,lN as ay,YG as az,vl as b,eO as b$,OA as b0,We as b1,et as b2,ar as b3,sb as b4,ht as b5,rg as b6,ut as b7,Gr as b8,$I as b9,lP as bA,aae as bB,fne as bC,cP as bD,Ine as bE,sae as bF,foe as bG,hoe as bH,UW as bI,nte as bJ,sU as bK,koe as bL,KI as bM,Tb as bN,Ioe as bO,iae as bP,Pa as bQ,Ooe as bR,nae as bS,$V as bT,LV as bU,NV as bV,tk as bW,Ir as bX,BG as bY,lA as bZ,dA as b_,Kn as ba,Se as bb,rt as bc,qe as bd,De as be,at as bf,go as bg,_l as bh,oae as bi,rae as bj,rr as bk,le as bl,Do as bm,Wk as bn,Lo as bo,ote as bp,ZM as bq,$a as br,pre as bs,xt as bt,cae as bu,eV as bv,Eoe as bw,fr as bx,yre as by,VV as bz,gl as c,Zq as c0,jo as c1,nd as c2,Qb as c3,cl as c4,Ls as c5,ra as c6,$o as c7,Jk as c8,Wq as c9,Xq as ca,Yq as cb,jq as cc,woe as cd,LC as ce,vD as cf,bD as cg,xD as ch,SD as ci,wD as cj,OD as ck,ix as cl,TD as cm,ED as cn,fJ as co,pt as cp,HM as cq,oee as cr,SW as cs,Us as ct,Joe as cu,Aj as d,Qc as e,Yoe as f,Koe as g,Qoe as h,dae as i,x as j,aa as k,oa as l,mD as m,HC as n,Y as o,fae as p,BV as q,A as r,k as s,hT as t,lae as u,vk as v,qV as w,ck as x,hF as y,CD as z};
|
|
218
|
+
`.trim(),bre=A.lazy(()=>xt(()=>import("./registry-layout-C8Ew4flr.js"),__vite__mapDeps([46,7,31,47,9,2,4,5,36,37,48,15,12,13,14,23,49,50,51,17,52,53,8,19,10,11,20,39,44,54,55,43,56,57,58,34,16,59,21,60,61,38,62,63,33,3,64,65,66,67,18,68,69,70]))),Sre={id:yre,description:_re,LayoutComponent:bre,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:x.jsx(dP,{size:16}),label:"Registry"}],defaultExpanded:!0})}},wre=A.lazy(()=>xt(()=>import("./reports-layout-BoIJWhiW.js"),__vite__mapDeps([71,1,2,3,4,5,6,8,9,13,34,7,20,21,72,22,65,73,31,32,33,23,24,25,26,27,14,28,29,30,48,55,57,58]))),Ere={id:"reports",description:"View automated reports with actionable insights",binding:fne,LayoutComponent:wre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:x.jsx(lP,{size:16}),label:"Reports"}]})}},Rre="user-sandbox",xre="Create embeddable integration flows for platform end-users";var Tre=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(S=>{let w=S==="class",b=w&&i?a.map(R=>i[R]||R):a;w?(d.classList.remove(...b),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(S,y)}),p(y)}function p(y){u&&f.includes(y)&&(d.style.colorScheme=y)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)m(r);else try{let y=localStorage.getItem(t)||n,S=c&&y==="system"?g():y;m(S)}catch{}},Ore=A.createContext(void 0),Cre={setTheme:e=>{},themes:[]},cae=()=>{var e;return(e=A.useContext(Ore))!=null?e:Cre};A.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:c,themes:u,nonce:d,scriptProps:f})=>{let m=JSON.stringify([n,t,i,e,u,c,r,a]).slice(1,-1);return A.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${Tre.toString()})(${m})`}})});const fd="org-admin",Are={from({org:e,project:t}){if(e?.includes("/")||t.includes("/"))throw new Error("Org or project cannot contain slashes");return`${e}/${t}`},parse(e){e.startsWith("/")&&(e=e.slice(1));const[t,n]=e.split("/");if(!t||!n)throw new Error("Invalid locator");return{org:t,project:n}},isOrgAdminProject(e){return e.split("/")[1]===fd},adminProject(e){return`${e}/${fd}`}},mP=A.createContext(void 0),lae=()=>{const e=A.useContext(mP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},uae=e=>{const t=gl.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Are.from({org:r.slug,project:a.slug}),t[0]=r.slug,t[1]=a.slug,t[2]=i):i=t[2];const c=i;let u;t[3]!==c||t[4]!==r||t[5]!==a?(u={org:r,project:a,locator:c},t[3]=c,t[4]=r,t[5]=a,t[6]=u):u=t[6];const d=u;let f;return t[7]!==n||t[8]!==d?(f=x.jsx(mP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},Ire=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:St(["authorization_code","client_credentials"])}),kre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Nre=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:kre.optional(),_meta:ut(k(),at()).optional()}),Mre=Y({headers:ut(k(),k()).optional()}),Pre=Y({command:k().describe("Command to run (e.g., 'npx', 'node')"),args:me(k()).optional().describe("Command arguments"),cwd:k().optional().describe("Working directory"),envVars:ut(k(),k()).optional().describe("Environment variables (encrypted in storage)")}),gP=Y({id:k().describe("Unique identifier for the connection"),title:k().describe("Human-readable name for the connection"),created_at:k().describe("When the connection was created"),updated_at:k().describe("When the connection was last updated"),created_by:k().describe("User ID who created the connection"),updated_by:k().optional().describe("User ID who last updated the connection"),organization_id:k().describe("Organization ID this connection belongs to"),description:k().nullable().describe("Description of the connection"),icon:k().nullable().describe("Icon URL for the connection"),app_name:k().nullable().describe("Associated app name"),app_id:k().nullable().describe("Associated app ID"),connection_type:St(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:k().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:k().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:rt([Pre,Mre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:Ire.nullable().describe("OAuth configuration"),configuration_state:ut(k(),at()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:me(k()).nullable().optional().describe("Configuration scopes"),metadata:ut(k(),at()).nullable().describe("Additional metadata (includes repository info)"),tools:me(Nre).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:St(["active","inactive","error"]).describe("Current status")});gP.omit({created_at:!0,updated_at:!0,created_by:!0,updated_by:!0,organization_id:!0,tools:!0,bindings:!0,status:!0}).partial({id:!0,description:!0,icon:!0,app_name:!0,app_id:!0,connection_url:!0,connection_token:!0,connection_headers:!0,oauth_config:!0,configuration_state:!0,configuration_scopes:!0,metadata:!0}).extend({icon:k().nullish()});gP.partial();function dae(e){return e!=null&&"command"in e}function fae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Du=Y({connection_id:k().describe("Connection ID"),selected_tools:me(k()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:me(k()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:me(k()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),vP=Du.extend({selected_tools:Du.shape.selected_tools.optional(),selected_resources:Du.shape.selected_resources.optional(),selected_prompts:Du.shape.selected_prompts.optional()}),hae=Y({id:k().describe("Unique identifier"),title:k().describe("Human-readable name"),description:k().nullable().describe("Description"),icon:k().nullable().describe("Icon URL"),created_at:k().describe("Creation timestamp"),updated_at:k().describe("Last update timestamp"),created_by:k().describe("User ID who created this item"),updated_by:k().optional().describe("User ID who last updated this item"),organization_id:k().describe("Organization ID this item belongs to"),status:St(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Du).describe("Connections with their selected tools, resources, and prompts")});Y({title:k().min(1).max(255).describe("Name for the virtual MCP"),description:k().nullable().optional().describe("Optional description"),icon:k().nullish().describe("Optional icon URL"),status:St(["active","inactive"]).optional().default("active").describe("Initial status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(vP).describe("Connections to include/exclude (can be empty for exclusion mode)")});Y({title:k().min(1).max(255).optional().describe("New name"),description:k().nullable().optional().describe("New description (null to clear)"),icon:k().nullish().describe("New icon URL"),status:St(["active","inactive"]).optional().describe("New status"),metadata:Y({instructions:k().nullable().optional().describe("MCP server instructions")}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:me(vP).optional().describe("New connections (replaces existing)")});var MC;(function(e){e.Completable="McpCompletable"})(MC||(MC={}));const Dre=[],Lre={id:Rre,description:xre,binding:Dre},jre="workflows",$re="Create workflows for platform end-users",Ure=A.lazy(()=>xt(()=>import("./plugin-header-8kNYjC6n.js"),__vite__mapDeps([74,13,34,75]))),zre=A.lazy(()=>xt(()=>import("./plugin-empty-state-BfDH4uPn.js"),__vite__mapDeps([76,75]))),Vre={id:jre,description:$re,binding:[],renderHeader:e=>x.jsx(Ure,{...e}),renderEmptyState:()=>x.jsx(zre,{})},Fre=[vre,Ere,Dne,Lre,Sre,Vre],Hs=W6({component:()=>x.jsx(NY,{children:x.jsx(A.Suspense,{fallback:x.jsx(lM,{}),children:x.jsx(pA,{})})})}),Bre=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-swb3IsCw.js"),__vite__mapDeps([77,4,7,15]))),validateSearch:go(()=>Y({next:k().optional(),client_id:k().optional(),redirect_uri:k().optional(),response_type:k().optional(),state:k().optional(),scope:k().optional(),code_challenge:k().optional(),code_challenge_method:k().optional()}))}),qre=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-DY5mUItc.js"),__vite__mapDeps([78,4,7,15]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),Hre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-lueUuNUs.js"),[]))}),Gre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-jPJQySxH.js"),__vite__mapDeps([79,2,4,7,55,69,80])))}),Zre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-BSP87zro.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Kre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-hu62EGGB.js"),__vite__mapDeps([81,8,69])))}),sg=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-DY2c6Efx.js"),__vite__mapDeps([82,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,110,111,22,43,112,51,113,114,8,18,115,59,116,72,75,41,117,118,12,119,54,53,63,120,73,121,122,123])))}),Wre=jt({getParentRoute:()=>sg,path:"/",component:Gt(()=>xt(()=>import("./home-BqlHZV0D.js"),__vite__mapDeps([124,55,7,118,20,13,18,19,109,15,119,54,98,56,96,4])))}),Yre=jt({getParentRoute:()=>sg,path:"/$org",beforeLoad:({params:e})=>{throw ym({to:"/$org/$project",params:{org:e.org,project:fd}})}}),Jn=jt({getParentRoute:()=>sg,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-bgteQ5fY.js"),__vite__mapDeps([125,117,2,5,7,10,11,92,89,4,116,118,106,9,68,58,13,65,16,57,34,104,120,72,98,56,15,44,59,54,47,3,88,1,126,127,128,129,130,111,8,18,131,132,48,20,61,121]))),validateSearch:Y({settings:k().optional()})}),Qre=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-C-wJ53x_.js"),__vite__mapDeps([133,83,7,84,5,85,3,4,86,87,88,1,2,89,90,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,96,68,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,110,111,22,43,113,114,8,112,51,134,18])))}),Xre=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-OIFCJv2K.js"),__vite__mapDeps([135,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,110,90,91,112,51,11,138,118,2,5,50,139,140,141,48,20,142,72,22,84,85,3,4,86,87,88,1,89,92,64,57,34,93,94,61,9,95,37])))}),Jre=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===fd;throw ym({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==fd)throw ym({to:"/$org/$project",params:{org:e.org,project:e.project}})},eoe=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-DngofdiO.js"),__vite__mapDeps([143,117,2,5,112,51,7,11,68,58,114,8,19,15,118,144,140,110,115,4,10,98,56,59,13,141,14])))}),toe=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-BLWGtvj7.js"),__vite__mapDeps([145,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,112,51,11,141,99,47,38,21,3,4,5,146,147,2,87,88,1,118,48,54,10,148,149,18,43,16,110,90,91,98,56,57,34,59,55,17,67,120,109,64])))}),noe=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-Dd7R3YoP.js"),__vite__mapDeps([150,111,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,151,55,99,47,48,20,31,110,90,91,112,51,11,138,118,2,5,50,88,1,130,54,141,10,98,56,57,34,59,3,4,121,17,62,108,152,43,139,140,153,18]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),roe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-D4fpJvP6.js"),__vite__mapDeps([154,110,7,90,91,153,15,18,43,155,68,58,134,122,4,5,156,66,8,88,1,157,69,121,2,93,67,3,128,130,127,129,111,126,57,13,34,132,80,147,83,84,85,86,87,89,92,64,40,94,61,19,9,95,37,96,97,10,11,98,56,99,47,100,26,101,102,33,20,103,21,60,48,104,105,106,14,65,107,24,62,108,109,22,141,158,159,112,51,160,136,12,25,42,137,23,114,55,17,161,73,138,118,50,54,31,152,144,140,162,163,164,165]))),validateSearch:go(()=>Y({tab:k().optional()}))}),ooe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-BPjVfY9E.js"),__vite__mapDeps([166,110,7,90,91,3,4,5,155,68,58,134,122,98,56,15,59,159,112,51,11,156,66,8,57,13,34,20,22,104,65,70,109,141,14,157,69,121,2,93,67,88,1,128,130,127,129,111,126,18,132,80,147,83,84,85,86,87,89,92,64,40,94,61,19,9,95,37,96,97,10,99,47,100,26,101,102,33,103,21,60,48,105,106,107,24,62,108,43,167,161,123,137,142,148,12]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),aoe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-Dkzs8zLr.js"),__vite__mapDeps([168,114,8,19,15,7,112,51,11,68,58,141,14,110,90,91,169,48,64,13,65,39,52,67,70,167,96,57,34,22,99,47,23,131,132,5,17,18,43,151,55,12,54,146,147,95,37,3,4,85,104,40,38,59,158,16,56,121,2,49,102]))),validateSearch:go(()=>Y({tab:St(["logs","analytics","dashboards"]).default("logs"),from:k().default("now-24h"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:St(["all","success","errors"]).default("all"),search:k().default(""),page:Se().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),soe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-NmZHmCWV.js"),__vite__mapDeps([170,5,7,169,48,64,68,58,13,65,39,52,67,70,167,96,57,34,22,14,15,165,90,91,159,112,51,11,141,59,104,40,18,43,109])))}),ioe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-6Jd7ItfF.js"),__vite__mapDeps([171,90,7,91,3,4,5,15,99,47,38,13,64,34,57,58,29,70,18,165,43,49,159,112,51,11,68,156,66,8,141,14])))}),yP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-Y1SYGnRN.js"),__vite__mapDeps([172,112,51,7,11,68,58,141,14,91,52,73,8,165,19,2,36,37,130,5,3,4,173,114,15,174,27,108,149,18,152,55,99,47,129,64,13,34,109,110,88,1,89,90])))}),coe=jt({getParentRoute:()=>yP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-Du1aBWwk.js"),__vite__mapDeps([175,20,8,112,51,7,11,68,58,99,47,31,34,18,12,13,14,63,110,162,2,93,129,163,107,164,136,25,26,40,42,137,23,114,19,15,48,55,91,62,108,165,159,158,174,27,149,152,141,88,1,3,4,5,121,89,127,128,130,111,173,32]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),loe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-IxYsoQkx.js"),__vite__mapDeps([176,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,112,51,11,141,151,55,99,47,110,90,91,138,118,2,5,50,105,85,3,4,54,17,62,43,102,177,139,140]))),validateSearch:go(()=>Y({action:St(["create"]).optional()}))}),uoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-CAAcyNFf.js"),__vite__mapDeps([178,84,5,85,3,4,86,87,88,1,2,89,90,7,91,92,15,64,57,58,13,34,93,40,94,61,19,9,95,37,110,99,47,155,68,134,122,103,48,16,59,14,28,8,70,18,102,141,159,112,51,11,156,66,114,164,136,12,25,26,42,137,23,55,62,108,165,38,10,121,97,173,104,65,32,67,177]))),validateSearch:go(()=>Y({tab:k().optional()}))}),doe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-CH4Jfjr7.js"),__vite__mapDeps([179,5,160,111,136,7,12,13,14,25,26,40,42,68,58,137,23,114,8,19,15,55,99,47,65,17,101,62,43,161,73,138,118,2,50,51,110,128,54,3,4,18,159,112,11,90,91,141,88,1,61,75])))}),_P=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-B-RWLbim.js"),__vite__mapDeps([180,8,1,6,2,3,4,5,9,7,112,51,11,68,58])))}),foe=[],hoe=[],bP=[];Fre.forEach(e=>{if(!e.setup)return;const t={parentRoute:_P,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>foe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>hoe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{bP.push(...n)}};e.setup(t)});const poe=_P.addChildren(bP),moe=yP.addChildren([coe]),goe=[Qre,Xre,Jre,eoe,toe,noe,roe,ooe,aoe,soe,ioe,moe,loe,uoe,doe,poe],voe=Jn.addChildren(goe),yoe=sg.addChildren([Wre,Yre,voe]),_oe=Hs.addChildren([yoe,Bre,qre,Hre,Kre,Gre,Zre]),boe=oL({routeTree:_oe}),Soe=document.getElementById("root");B5.createRoot(Soe).render(x.jsx(A.StrictMode,{children:x.jsx(iL,{router:boe})}));export{LG as $,Woe as A,RD as B,gP as C,Aoe as D,ng as E,HV as F,Em as G,uP as H,Doe as I,BB as J,GC as K,Are as L,Uoe as M,Coe as N,fd as O,uae as P,joe as Q,zG as R,lM as S,$oe as T,FB as U,hae as V,zoe as W,Loe as X,MG as Y,PG as Z,DG as _,wm as a,eD as a$,jG as a0,Foe as a1,Voe as a2,qoe as a3,Boe as a4,Hoe as a5,Goe as a6,Zoe as a7,rn as a8,iD as a9,YG as aA,QG as aB,WG as aC,pA as aD,Rm as aE,Fre as aF,bN as aG,uH as aH,Fb as aI,dN as aJ,Nk as aK,Bb as aL,td as aM,Ek as aN,Vb as aO,zb as aP,dH as aQ,fH as aR,Poe as aS,Moe as aT,Noe as aU,hd as aV,q0 as aW,Zu as aX,dD as aY,Zn as aZ,Or as a_,Fee as aa,Zee as ab,eae as ac,Ri as ad,sx as ae,xoe as af,Roe as ag,S4 as ah,E4 as ai,Toe as aj,me as ak,St as al,Is as am,Rd as an,vd as ao,Yk as ap,yd as aq,EH as ar,An as as,RH as at,lt as au,wN as av,Va as aw,$i as ax,fZ as ay,lN as az,vl as b,dA as b$,y$ as b0,OA as b1,We as b2,et as b3,ar as b4,sb as b5,ht as b6,rg as b7,ut as b8,Gr as b9,VV as bA,lP as bB,aae as bC,fne as bD,cP as bE,Ine as bF,sae as bG,foe as bH,hoe as bI,UW as bJ,nte as bK,sU as bL,koe as bM,KI as bN,Tb as bO,Ioe as bP,iae as bQ,Pa as bR,Ooe as bS,nae as bT,$V as bU,LV as bV,NV as bW,tk as bX,Ir as bY,BG as bZ,lA as b_,$I as ba,Kn as bb,Se as bc,rt as bd,qe as be,De as bf,at as bg,go as bh,_l as bi,oae as bj,rae as bk,rr as bl,le as bm,Do as bn,Wk as bo,Lo as bp,ote as bq,ZM as br,$a as bs,pre as bt,xt as bu,cae as bv,eV as bw,Eoe as bx,fr as by,yre as bz,gl as c,eO as c0,Zq as c1,jo as c2,nd as c3,Qb as c4,cl as c5,Ls as c6,ra as c7,$o as c8,Jk as c9,Wq as ca,Xq as cb,Yq as cc,jq as cd,woe as ce,LC as cf,vD as cg,bD as ch,xD as ci,SD as cj,wD as ck,OD as cl,ix as cm,TD as cn,ED as co,fJ as cp,pt as cq,HM as cr,oee as cs,SW as ct,Us as cu,Joe as cv,Aj as d,Qc as e,Yoe as f,Koe as g,Qoe as h,dae as i,x as j,aa as k,oa as l,mD as m,HC as n,Y as o,fae as p,BV as q,A as r,k as s,hT as t,lae as u,vk as v,qV as w,ck as x,hF as y,CD as z};
|