@decocms/mesh 2.129.0 → 2.130.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/client/assets/{AlertCircle-DFllIHYc.js → AlertCircle-Y6iSJK0t.js} +1 -1
  2. package/dist/client/assets/{AlertOctagon-DkJGqjxz.js → AlertOctagon-r7aH80QB.js} +1 -1
  3. package/dist/client/assets/{ArrowDown-BCqJRKTw.js → ArrowDown-DPy5cnDQ.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-DUx23LCt.js → ArrowLeft-p4dfchJF.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-CKW1WeCp.js → ArrowUp-Dx6U6WtF.js} +1 -1
  6. package/dist/client/assets/{Check-CFpzkHgf.js → Check-BIaai9j0.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-DAEjX2-S.js → CheckCircle-DvhMgeYT.js} +1 -1
  8. package/dist/client/assets/{CheckDone01-BeTexMq0.js → CheckDone01-kUo2KMa3.js} +1 -1
  9. package/dist/client/assets/{CheckVerified02-Cl4WUPt6.js → CheckVerified02-DfOayhlO.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-CZDY410N.js → ChevronDown-Dyskz-ZD.js} +1 -1
  11. package/dist/client/assets/{ChevronRight-DmlQyyes.js → ChevronRight-D6p6jiry.js} +1 -1
  12. package/dist/client/assets/{Clock-BYhPEf3s.js → Clock-Dymou738.js} +1 -1
  13. package/dist/client/assets/{Code01-tDuxE9sy.js → Code01-BYnTXqsh.js} +1 -1
  14. package/dist/client/assets/{Container-CwxPOY0d.js → Container-DBGOFJUc.js} +1 -1
  15. package/dist/client/assets/{Copy01-CbgFtFXW.js → Copy01-CPaHCgqg.js} +1 -1
  16. package/dist/client/assets/{Dataflow03-IGdQIxop.js → Dataflow03-D8kdCLb1.js} +1 -1
  17. package/dist/client/assets/{DotsHorizontal-Dy3izT0z.js → DotsHorizontal-Ra63dU8X.js} +1 -1
  18. package/dist/client/assets/{DotsVertical-D74uB5qh.js → DotsVertical-DcLEsGDj.js} +1 -1
  19. package/dist/client/assets/{Download01-CaDNSpb8.js → Download01-BP0Ze81Q.js} +1 -1
  20. package/dist/client/assets/{Edit01-D8XxDVwQ.js → Edit01-BEBZ-Ht5.js} +1 -1
  21. package/dist/client/assets/{Eye-BIF9gjXL.js → Eye-VtlrDhJf.js} +1 -1
  22. package/dist/client/assets/{File02-DUrYDugN.js → File02-Dcc2k6VI.js} +1 -1
  23. package/dist/client/assets/{File06-CGEI1byM.js → File06-DCHaBaad.js} +1 -1
  24. package/dist/client/assets/{FilterLines-ezUjepvA.js → FilterLines-D64nKG0E.js} +1 -1
  25. package/dist/client/assets/{Globe01-DQFjI7NL.js → Globe01-Rd2g694_.js} +1 -1
  26. package/dist/client/assets/{Globe02-BxR836tG.js → Globe02-nOidPs01.js} +1 -1
  27. package/dist/client/assets/{Grid01-NpQl-yoZ.js → Grid01-C8gF-dWK.js} +1 -1
  28. package/dist/client/assets/{Hash02-D1T_na-O.js → Hash02-fd4i0k8G.js} +1 -1
  29. package/dist/client/assets/{Home02-DJFtS4tr.js → Home02-ABQZ6xOx.js} +1 -1
  30. package/dist/client/assets/{Image01-Cqm47hN-.js → Image01-BrzUQQ9K.js} +1 -1
  31. package/dist/client/assets/{Inbox01-DiDAxgDg.js → Inbox01-DK0JkUYE.js} +1 -1
  32. package/dist/client/assets/{InfoCircle-CNFZi0eo.js → InfoCircle-DO1owwAA.js} +1 -1
  33. package/dist/client/assets/{Key01-BMRBT_9o.js → Key01-bHmq-6W2.js} +1 -1
  34. package/dist/client/assets/{LinkExternal01-y5rFoKhK.js → LinkExternal01-DyOgk9O3.js} +1 -1
  35. package/dist/client/assets/{List-CIQbhdro.js → List-mX8yEKmx.js} +1 -1
  36. package/dist/client/assets/{Loading01-Ccov_H-l.js → Loading01-Jv8Mbea8.js} +1 -1
  37. package/dist/client/assets/{Lock01-BjIJeI7d.js → Lock01-DPx3YF5B.js} +1 -1
  38. package/dist/client/assets/{Play-CipTDlMn.js → Play-DciA3rqD.js} +1 -1
  39. package/dist/client/assets/{Plus-DJThru9X.js → Plus-Cecv4wEo.js} +1 -1
  40. package/dist/client/assets/{RefreshCcw01-Df3WKdLs.js → RefreshCcw01-Busgf2jQ.js} +1 -1
  41. package/dist/client/assets/{Rows03-Agi3cY0I.js → Rows03-CBXDKtLW.js} +1 -1
  42. package/dist/client/assets/{Save01-CkhL7WEQ.js → Save01-P2clZJAi.js} +1 -1
  43. package/dist/client/assets/{SearchMd-ePwgMcp4.js → SearchMd-CS2uMIPl.js} +1 -1
  44. package/dist/client/assets/{Settings01-MsrMRIJf.js → Settings01-BAgxhvm4.js} +1 -1
  45. package/dist/client/assets/{Shield01-Cz2zDuKP.js → Shield01-Dw8oloiN.js} +1 -1
  46. package/dist/client/assets/{Terminal-CzMkefpC.js → Terminal-d72o721Q.js} +1 -1
  47. package/dist/client/assets/{Tool01-nfCGcgBE.js → Tool01-DkfecWlX.js} +1 -1
  48. package/dist/client/assets/{Trash01-B_x31FCQ.js → Trash01-CKATI1mI.js} +1 -1
  49. package/dist/client/assets/{Upload01-BVrA_p4D.js → Upload01-jmiBld-4.js} +1 -1
  50. package/dist/client/assets/{Users03-Ca4cP5ST.js → Users03-CLx_Qxdb.js} +1 -1
  51. package/dist/client/assets/{X-ep0AhpnZ.js → X-RC7YVNJU.js} +1 -1
  52. package/dist/client/assets/{XCircle-CcrJwxck.js → XCircle-BgJPZWR5.js} +1 -1
  53. package/dist/client/assets/{XClose-mrXHjywb.js → XClose-D-4ELBrc.js} +1 -1
  54. package/dist/client/assets/{agent-connections-preview-GRtBimaN.js → agent-connections-preview-Dac4pEFh.js} +1 -1
  55. package/dist/client/assets/{agent-detail-fZVm9X6-.js → agent-detail-D5a7TiOz.js} +2 -2
  56. package/dist/client/assets/{agents-C9M716Em.js → agents-vcyOPs3U.js} +1 -1
  57. package/dist/client/assets/{alert-dialog-zUkzI1I7.js → alert-dialog-CdqWA8wc.js} +2 -2
  58. package/dist/client/assets/{auth-catchall-fybxbD8B.js → auth-catchall-B-_Zqliv.js} +1 -1
  59. package/dist/client/assets/{avatar-KzEgSlwf.js → avatar-tLGNC2ok.js} +1 -1
  60. package/dist/client/assets/{badge-CrsiM596.js → badge-0EzsH3AB.js} +1 -1
  61. package/dist/client/assets/{binder-5QwQ3F8k.js → binder-w9dF9fSa.js} +1 -1
  62. package/dist/client/assets/{breadcrumb-r6RP68pk.js → breadcrumb-BcJj21EL.js} +1 -1
  63. package/dist/client/assets/{card-BaUmkbam.js → card-c-CJHmFC.js} +1 -1
  64. package/dist/client/assets/{chart-B4Ia32VW.js → chart-PoFYShLf.js} +1 -1
  65. package/dist/client/assets/{checkbox-vQNHi_v9.js → checkbox-kw1ENx9l.js} +1 -1
  66. package/dist/client/assets/{circle-alert-D6oWLxFc.js → circle-alert-orNW2INv.js} +1 -1
  67. package/dist/client/assets/{collection-detail-CFInmxp-.js → collection-detail-DcWT7KrG.js} +1 -1
  68. package/dist/client/assets/{collection-search-BGdQ1HZ8.js → collection-search-DeB-znan.js} +1 -1
  69. package/dist/client/assets/{collection-tab-BHc2Ls-Q.js → collection-tab-DnFTZr-h.js} +1 -1
  70. package/dist/client/assets/{collection-table-wrapper-M66G0byU.js → collection-table-wrapper-BkrnGVuo.js} +1 -1
  71. package/dist/client/assets/{collection-tabs-DItGBx7f.js → collection-tabs-CI_dPETO.js} +1 -1
  72. package/dist/client/assets/{command-KORb7ru1.js → command-CtwsQYlg.js} +1 -1
  73. package/dist/client/assets/{connect-CzYEo8md.js → connect-Cjj5OaBk.js} +1 -1
  74. package/dist/client/assets/{connection-card-DT2iuc8p.js → connection-card-DmcuYZ2d.js} +1 -1
  75. package/dist/client/assets/{connection-detail-BN6XxwJe.js → connection-detail-DOePEdlc.js} +1 -1
  76. package/dist/client/assets/{connections-ziNJ3ykn.js → connections-CQQbEDkG.js} +1 -1
  77. package/dist/client/assets/constants-DK6m0rOQ.js +1 -0
  78. package/dist/client/assets/{constants-C_615zcG.js → constants-DyBxaLKI.js} +1 -1
  79. package/dist/client/assets/{context-BIs40mE3.js → context-GOV4Tst1.js} +2 -2
  80. package/dist/client/assets/{create-organization-dialog-DBkFyVL_.js → create-organization-dialog-BolmWoUA.js} +1 -1
  81. package/dist/client/assets/{create-project-dialog-Bcpvnfjn.js → create-project-dialog-MbK1spLU.js} +1 -1
  82. package/dist/client/assets/{dialog-BzlH8DMm.js → dialog-L8ZakXii.js} +1 -1
  83. package/dist/client/assets/{dropdown-menu-un00sO73.js → dropdown-menu-VTiqKHN9.js} +1 -1
  84. package/dist/client/assets/{dynamic-plugin-layout-lJBDHqhW.js → dynamic-plugin-layout-CMgyIw65.js} +1 -1
  85. package/dist/client/assets/{editable-thread-title-BXoC2F2B.js → editable-thread-title-CPogfRoD.js} +1 -1
  86. package/dist/client/assets/{empty-state-CzmPKPTk.js → empty-state-CevFdaoX.js} +1 -1
  87. package/dist/client/assets/{env-vars-editor-BXh1cAnk.js → env-vars-editor-CZ9xwqbP.js} +1 -1
  88. package/dist/client/assets/{extract-connection-data-BfKkaRZL.js → extract-connection-data-bPHhUn8L.js} +1 -1
  89. package/dist/client/assets/{file-browser-Cu1bln-O.js → file-browser-BBOKW0fZ.js} +2 -2
  90. package/dist/client/assets/{form-BZ0ccRRa.js → form-p8UY3zWX.js} +1 -1
  91. package/dist/client/assets/{grid-view-Cv27YWYR.js → grid-view-CBiwYQ_M.js} +1 -1
  92. package/dist/client/assets/{home-Dm_ASFW3.js → home-gtPjmaoD.js} +1 -1
  93. package/dist/client/assets/{index-CyQ-uP58.js → index-0HoOnen3.js} +3 -3
  94. package/dist/client/assets/{index-SPlTfTNO.js → index-BPWcS_Kf.js} +2 -2
  95. package/dist/client/assets/{index-CXMp_veu.js → index-BRPNbM-s.js} +1 -1
  96. package/dist/client/assets/{index-D6zrhjd3.js → index-BymQJSqf.js} +1 -1
  97. package/dist/client/assets/{index-CouTVB4u.js → index-CWyCvGNo.js} +1 -1
  98. package/dist/client/assets/{index-CkihBNKz.js → index-CmPWq7Ch.js} +1 -1
  99. package/dist/client/assets/index-CqCzS9v2.js +1 -0
  100. package/dist/client/assets/{index-B09G3SMh.js → index-Cz17zD6m.js} +1 -1
  101. package/dist/client/assets/{index-BTQG2DxP.js → index-G8oxxr2G.js} +1 -1
  102. package/dist/client/assets/{infiniteQueryObserver-BvfDXev6.js → infiniteQueryObserver-Be7iTEXe.js} +1 -1
  103. package/dist/client/assets/{input-Xyw1Rs5H.js → input-BtUicd3Q.js} +1 -1
  104. package/dist/client/assets/{integration-icon-BmabWqd3.js → integration-icon-5VjL1GgL.js} +1 -1
  105. package/dist/client/assets/{label-B9X06NrD.js → label-D6atofYo.js} +1 -1
  106. package/dist/client/assets/{layout-2YnSaip-.js → layout-Cgu_nW-7.js} +1 -1
  107. package/dist/client/assets/{localstorage-keys-DNCBj8Gv.js → localstorage-keys-BoChS3hJ.js} +1 -1
  108. package/dist/client/assets/{login-BcqaQ8OJ.js → login-BJHT5HcO.js} +1 -1
  109. package/dist/client/assets/{markdown-DE0d269S.js → markdown-C4hTkq3E.js} +1 -1
  110. package/dist/client/assets/{mcp-oauth-dc0YrLAp.js → mcp-oauth-D5R57Lko.js} +1 -1
  111. package/dist/client/assets/{mcp-server-card-BgAf5sxh.js → mcp-server-card-BiIhdNix.js} +1 -1
  112. package/dist/client/assets/{mcp-server-detail-a4HlkEwh.js → mcp-server-detail-BhlbPBsp.js} +2 -2
  113. package/dist/client/assets/{members-vlAhS-xk.js → members-OikP95XQ.js} +1 -1
  114. package/dist/client/assets/{monitoring-B8ViJcuj.js → monitoring-DapgIfZL.js} +1 -1
  115. package/dist/client/assets/{monitoring-dashboard-edit-9lG0jGgS.js → monitoring-dashboard-edit-Yzekapph.js} +1 -1
  116. package/dist/client/assets/{monitoring-dashboard-view-AyjrHVH9.js → monitoring-dashboard-view-DRykeaHO.js} +2 -2
  117. package/dist/client/assets/{oauth-callback-DEcWaD8W.js → oauth-callback-DZIR2PjB.js} +1 -1
  118. package/dist/client/assets/{page-L5wi1xJD.js → page-PH6ZVWlA.js} +1 -1
  119. package/dist/client/assets/{page-Dst-G5FY.js → page-iyMzbA2I.js} +1 -1
  120. package/dist/client/assets/{plugin-empty-state-FWA0Jb1Z.js → plugin-empty-state-kz2uan6n.js} +1 -1
  121. package/dist/client/assets/{plugin-empty-state-4dVaQq4C.js → plugin-empty-state-y1tYhlY3.js} +1 -1
  122. package/dist/client/assets/{plugin-header-DerB5s8s.js → plugin-header-BJbVVCoY.js} +1 -1
  123. package/dist/client/assets/{plugin-header-gerJlK-i.js → plugin-header-nmFTSFoR.js} +1 -1
  124. package/dist/client/assets/popover-P8B4MdX3.js +1 -0
  125. package/dist/client/assets/{project-layout-Bq2NwHqQ.js → project-layout-BqSVP5TE.js} +1 -1
  126. package/dist/client/assets/{projects-list-Bfrhv7v-.js → projects-list-3Z4u-J4l.js} +1 -1
  127. package/dist/client/assets/{ranking-layout-Bz2FMj3O.js → ranking-layout-DDk0F0da.js} +1 -1
  128. package/dist/client/assets/{readme-viewer-D0xX-U32.js → readme-viewer-BFDmw5ln.js} +1 -1
  129. package/dist/client/assets/{registry-layout-BJov_nag.js → registry-layout-tBKkcjtf.js} +1 -1
  130. package/dist/client/assets/{registry-utils-Dr7PbEVZ.js → registry-utils-BPK3KAEQ.js} +1 -1
  131. package/dist/client/assets/{reports-layout-VEiewUO1.js → reports-layout-C1Rj5mWL.js} +1 -1
  132. package/dist/client/assets/{reset-password-Cv1xeKO6.js → reset-password-CoNNt1yx.js} +1 -1
  133. package/dist/client/assets/{resizable-Cf9qjEcV.js → resizable-CpFkObl0.js} +1 -1
  134. package/dist/client/assets/{save-actions-8q-tMpO7.js → save-actions-CNp28sAN.js} +1 -1
  135. package/dist/client/assets/{scroll-area-DSF7aa78.js → scroll-area-Bhoi0n_B.js} +4 -4
  136. package/dist/client/assets/{select-BWSXn9LF.js → select-DOO2sOs0.js} +1 -1
  137. package/dist/client/assets/{shell-layout-C4umZGSP.js → shell-layout-CSB6jzfL.js} +2 -2
  138. package/dist/client/assets/{skeleton-CGDNbJij.js → skeleton-CR236scd.js} +1 -1
  139. package/dist/client/assets/{spinner-DdFkIebA.js → spinner-DzG2AImj.js} +1 -1
  140. package/dist/client/assets/{store-invite-BpVpumwK.js → store-invite-CeIOMnWs.js} +1 -1
  141. package/dist/client/assets/{switch-DCjQmRaz.js → switch-UjGh-56-.js} +1 -1
  142. package/dist/client/assets/{table-KBcJzih3.js → table-CK5AQN01.js} +1 -1
  143. package/dist/client/assets/{tabs-A5nHR5hM.js → tabs-ZEd61iZd.js} +1 -1
  144. package/dist/client/assets/{tasks-C_zqDZzb.js → tasks-C15WiR9-.js} +1 -1
  145. package/dist/client/assets/{textarea-BflLsOYJ.js → textarea-Ca7XZUqN.js} +1 -1
  146. package/dist/client/assets/{time-range-picker-C7BBQ3V_.js → time-range-picker-GPYqbq-o.js} +1 -1
  147. package/dist/client/assets/{toggle-group-CVheqlM7.js → toggle-group-BgEBi3gu.js} +1 -1
  148. package/dist/client/assets/{tools-list-DEuI3Via.js → tools-list-DJeaOzT_.js} +1 -1
  149. package/dist/client/assets/{tooltip-CNx0bR-5.js → tooltip-BWlQ9UL9.js} +1 -1
  150. package/dist/client/assets/{topbar-portal-BPt1GU-U.js → topbar-portal-CMlW5IwY.js} +1 -1
  151. package/dist/client/assets/{types-BOWXxXIK.js → types-BPCR06YW.js} +1 -1
  152. package/dist/client/assets/{use-binding-rYSemil4.js → use-binding-CcrgjIcJ.js} +1 -1
  153. package/dist/client/assets/{use-connection-B5TQguFn.js → use-connection-B6TFiTxb.js} +1 -1
  154. package/dist/client/assets/{use-copy-DFl3Lkrw.js → use-copy-DfInz4oY.js} +1 -1
  155. package/dist/client/assets/{use-create-virtual-mcp-ClS20pFb.js → use-create-virtual-mcp-pELq4UZ_.js} +1 -1
  156. package/dist/client/assets/{use-deco-chat-open-DUl097r7.js → use-deco-chat-open-BmqwFIXp.js} +1 -1
  157. package/dist/client/assets/{use-install-from-registry-BBtc_IYr.js → use-install-from-registry-BCXPqkOi.js} +1 -1
  158. package/dist/client/assets/{use-list-state-CSmezZQi.js → use-list-state-Bpa4-xTU.js} +1 -1
  159. package/dist/client/assets/{use-llm-_rAHFXdn.js → use-llm-7gZpMpM0.js} +1 -1
  160. package/dist/client/assets/{use-mcp-prompts-CgOsBYjP.js → use-mcp-prompts-BIRErCHu.js} +1 -1
  161. package/dist/client/assets/{use-mcp-tools-Cr3o97c-.js → use-mcp-tools-BjSYCbSh.js} +1 -1
  162. package/dist/client/assets/{use-members-BO46Bzs-.js → use-members-BUeDkAPW.js} +1 -1
  163. package/dist/client/assets/{use-mobile-CcJ4cdUT.js → use-mobile-B9jSIPRg.js} +1 -1
  164. package/dist/client/assets/{use-project-ab2lCPHD.js → use-project-B6kYJzwY.js} +1 -1
  165. package/dist/client/assets/{use-settings-modal-DnkPiNI5.js → use-settings-modal-Bi52YF5w.js} +1 -1
  166. package/dist/client/assets/{use-view-mode-nDNhs-vV.js → use-view-mode-CHcflreW.js} +1 -1
  167. package/dist/client/assets/{use-virtual-mcp-DZfG-iWT.js → use-virtual-mcp-C4mcpRPm.js} +1 -1
  168. package/dist/client/assets/useInfiniteQuery-78QQc26G.js +1 -0
  169. package/dist/client/assets/{useMutation-DMT5NBQ4.js → useMutation-C13VGcqo.js} +1 -1
  170. package/dist/client/assets/useQuery-CI6Jq2Tz.js +1 -0
  171. package/dist/client/assets/useSuspenseInfiniteQuery-BfZMgfKc.js +1 -0
  172. package/dist/client/assets/{workflow-BjckQ0gZ.js → workflow-N0cDVEpp.js} +1 -1
  173. package/dist/client/index.html +1 -1
  174. package/dist/server/cli.js +4 -4
  175. package/dist/server/migrate.js +3 -3
  176. package/dist/server/server.js +4 -4
  177. package/package.json +1 -1
  178. package/dist/client/assets/constants-D6R-nCdz.js +0 -1
  179. package/dist/client/assets/index-CdCtpL83.js +0 -1
  180. package/dist/client/assets/popover-2STAmX7J.js +0 -1
  181. package/dist/client/assets/useInfiniteQuery-fhnMOikS.js +0 -1
  182. package/dist/client/assets/useQuery-DLHdWLmJ.js +0 -1
  183. package/dist/client/assets/useSuspenseInfiniteQuery-TsQmjpXC.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-Bz2FMj3O.js","assets/binder-5QwQ3F8k.js","assets/useQuery-DLHdWLmJ.js","assets/use-connection-B5TQguFn.js","assets/useMutation-DMT5NBQ4.js","assets/constants-C_615zcG.js","assets/topbar-portal-BPt1GU-U.js","assets/Loading01-Ccov_H-l.js","assets/Settings01-MsrMRIJf.js","assets/dialog-BzlH8DMm.js","assets/X-ep0AhpnZ.js","assets/dropdown-menu-un00sO73.js","assets/Check-CFpzkHgf.js","assets/ChevronRight-DmlQyyes.js","assets/input-Xyw1Rs5H.js","assets/switch-DCjQmRaz.js","assets/DotsVertical-D74uB5qh.js","assets/Plus-DJThru9X.js","assets/SearchMd-ePwgMcp4.js","assets/AlertCircle-DFllIHYc.js","assets/ArrowLeft-DUx23LCt.js","assets/Clock-BYhPEf3s.js","assets/table-KBcJzih3.js","assets/markdown-DE0d269S.js","assets/ArrowDown-BCqJRKTw.js","assets/ArrowUp-CKW1WeCp.js","assets/CheckVerified02-Cl4WUPt6.js","assets/File02-DUrYDugN.js","assets/Hash02-D1T_na-O.js","assets/Rows03-Agi3cY0I.js","assets/CheckCircle-DAEjX2-S.js","assets/InfoCircle-CNFZi0eo.js","assets/XCircle-CcrJwxck.js","assets/ChevronDown-CZDY410N.js","assets/file-browser-Cu1bln-O.js","assets/useInfiniteQuery-fhnMOikS.js","assets/infiniteQueryObserver-BvfDXev6.js","assets/checkbox-vQNHi_v9.js","assets/Download01-CaDNSpb8.js","assets/Grid01-NpQl-yoZ.js","assets/Home02-DJFtS4tr.js","assets/List-CIQbhdro.js","assets/Trash01-B_x31FCQ.js","assets/Upload01-BVrA_p4D.js","assets/plugin-header-DerB5s8s.js","assets/registry-layout-BJov_nag.js","assets/Container-CwxPOY0d.js","assets/badge-CrsiM596.js","assets/toggle-group-CVheqlM7.js","assets/use-view-mode-nDNhs-vV.js","assets/use-mobile-CcJ4cdUT.js","assets/FilterLines-ezUjepvA.js","assets/Globe01-DQFjI7NL.js","assets/alert-dialog-zUkzI1I7.js","assets/card-BaUmkbam.js","assets/label-B9X06NrD.js","assets/select-BWSXn9LF.js","assets/index-D6zrhjd3.js","assets/textarea-BflLsOYJ.js","assets/use-copy-DFl3Lkrw.js","assets/RefreshCcw01-Df3WKdLs.js","assets/Eye-BIF9gjXL.js","assets/LinkExternal01-y5rFoKhK.js","assets/popover-2STAmX7J.js","assets/Copy01-CbgFtFXW.js","assets/Save01-CkhL7WEQ.js","assets/Key01-BMRBT_9o.js","assets/tooltip-CNx0bR-5.js","assets/mcp-oauth-dc0YrLAp.js","assets/Play-CipTDlMn.js","assets/reports-layout-VEiewUO1.js","assets/CheckDone01-BeTexMq0.js","assets/Inbox01-DiDAxgDg.js","assets/plugin-header-gerJlK-i.js","assets/Dataflow03-IGdQIxop.js","assets/plugin-empty-state-4dVaQq4C.js","assets/login-BcqaQ8OJ.js","assets/reset-password-Cv1xeKO6.js","assets/connect-CzYEo8md.js","assets/circle-alert-D6oWLxFc.js","assets/oauth-callback-DEcWaD8W.js","assets/shell-layout-C4umZGSP.js","assets/index-SPlTfTNO.js","assets/context-BIs40mE3.js","assets/use-virtual-mcp-DZfG-iWT.js","assets/decopilot-events-Brt4gAR6.js","assets/use-llm-_rAHFXdn.js","assets/use-binding-rYSemil4.js","assets/localstorage-keys-DNCBj8Gv.js","assets/skeleton-CGDNbJij.js","assets/File06-CGEI1byM.js","assets/Image01-Cqm47hN-.js","assets/useSuspenseInfiniteQuery-TsQmjpXC.js","assets/spinner-DdFkIebA.js","assets/use-mcp-prompts-CgOsBYjP.js","assets/form-BZ0ccRRa.js","assets/usage-B8eRkRZY.js","assets/Edit01-D8XxDVwQ.js","assets/Users03-Ca4cP5ST.js","assets/tabs-A5nHR5hM.js","assets/use-deco-chat-open-DUl097r7.js","assets/Code01-tDuxE9sy.js","assets/integration-icon-BmabWqd3.js","assets/use-create-virtual-mcp-ClS20pFb.js","assets/marked.esm-BaswSlok.js","assets/types-BOWXxXIK.js","assets/Globe02-BxR836tG.js","assets/XClose-mrXHjywb.js","assets/collection-search-BGdQ1HZ8.js","assets/deco-constants-BmtTfZbQ.js","assets/generate-id-Dyweu44Y.js","assets/index-BTQG2DxP.js","assets/editable-thread-title-BXoC2F2B.js","assets/create-project-dialog-Bcpvnfjn.js","assets/use-settings-modal-DnkPiNI5.js","assets/use-project-ab2lCPHD.js","assets/avatar-KzEgSlwf.js","assets/create-organization-dialog-DBkFyVL_.js","assets/Shield01-Cz2zDuKP.js","assets/use-mcp-tools-Cr3o97c-.js","assets/resizable-Cf9qjEcV.js","assets/home-Dm_ASFW3.js","assets/project-layout-Bq2NwHqQ.js","assets/use-install-from-registry-BBtc_IYr.js","assets/extract-connection-data-BfKkaRZL.js","assets/constants-D6R-nCdz.js","assets/github-icon-Dp3wHhYE.js","assets/registry-utils-Dr7PbEVZ.js","assets/chart-B4Ia32VW.js","assets/index-CXMp_veu.js","assets/use-members-BO46Bzs-.js","assets/page-Dst-G5FY.js","assets/tasks-C_zqDZzb.js","assets/collection-table-wrapper-M66G0byU.js","assets/use-list-state-CSmezZQi.js","assets/format-time-CMKyl-GC.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/breadcrumb-r6RP68pk.js","assets/AlertOctagon-DkJGqjxz.js","assets/projects-list-Bfrhv7v-.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/members-vlAhS-xk.js","assets/DotsHorizontal-Dy3izT0z.js","assets/Lock01-BjIJeI7d.js","assets/command-KORb7ru1.js","assets/index-CdCtpL83.js","assets/connections-ziNJ3ykn.js","assets/connection-card-DT2iuc8p.js","assets/Terminal-CzMkefpC.js","assets/env-vars-editor-BXh1cAnk.js","assets/connection-detail-BN6XxwJe.js","assets/save-actions-8q-tMpO7.js","assets/index-B09G3SMh.js","assets/index-CkihBNKz.js","assets/collection-tabs-DItGBx7f.js","assets/layout-2YnSaip-.js","assets/collection-tab-BHc2Ls-Q.js","assets/empty-state-CzmPKPTk.js","assets/readme-viewer-D0xX-U32.js","assets/readme-viewer-DWnTz46N.css","assets/tools-list-DEuI3Via.js","assets/collection-detail-CFInmxp-.js","assets/scroll-area-DSF7aa78.js","assets/Tool01-nfCGcgBE.js","assets/monitoring-B8ViJcuj.js","assets/time-range-picker-C7BBQ3V_.js","assets/monitoring-dashboard-view-AyjrHVH9.js","assets/monitoring-dashboard-edit-9lG0jGgS.js","assets/page-L5wi1xJD.js","assets/slugify-CEUa2lfQ.js","assets/mcp-server-card-BgAf5sxh.js","assets/mcp-server-detail-a4HlkEwh.js","assets/agents-C9M716Em.js","assets/agent-connections-preview-GRtBimaN.js","assets/agent-detail-fZVm9X6-.js","assets/workflow-BjckQ0gZ.js","assets/dynamic-plugin-layout-lJBDHqhW.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ranking-layout-DDk0F0da.js","assets/binder-w9dF9fSa.js","assets/useQuery-CI6Jq2Tz.js","assets/use-connection-B6TFiTxb.js","assets/useMutation-C13VGcqo.js","assets/constants-DyBxaLKI.js","assets/topbar-portal-CMlW5IwY.js","assets/Loading01-Jv8Mbea8.js","assets/Settings01-BAgxhvm4.js","assets/dialog-L8ZakXii.js","assets/X-RC7YVNJU.js","assets/dropdown-menu-VTiqKHN9.js","assets/Check-BIaai9j0.js","assets/ChevronRight-D6p6jiry.js","assets/input-BtUicd3Q.js","assets/switch-UjGh-56-.js","assets/DotsVertical-DcLEsGDj.js","assets/Plus-Cecv4wEo.js","assets/SearchMd-CS2uMIPl.js","assets/AlertCircle-Y6iSJK0t.js","assets/ArrowLeft-p4dfchJF.js","assets/Clock-Dymou738.js","assets/table-CK5AQN01.js","assets/markdown-C4hTkq3E.js","assets/ArrowDown-DPy5cnDQ.js","assets/ArrowUp-Dx6U6WtF.js","assets/CheckVerified02-DfOayhlO.js","assets/File02-Dcc2k6VI.js","assets/Hash02-fd4i0k8G.js","assets/Rows03-CBXDKtLW.js","assets/CheckCircle-DvhMgeYT.js","assets/InfoCircle-DO1owwAA.js","assets/XCircle-BgJPZWR5.js","assets/ChevronDown-Dyskz-ZD.js","assets/file-browser-BBOKW0fZ.js","assets/useInfiniteQuery-78QQc26G.js","assets/infiniteQueryObserver-Be7iTEXe.js","assets/checkbox-kw1ENx9l.js","assets/Download01-BP0Ze81Q.js","assets/Grid01-C8gF-dWK.js","assets/Home02-ABQZ6xOx.js","assets/List-mX8yEKmx.js","assets/Trash01-CKATI1mI.js","assets/Upload01-jmiBld-4.js","assets/plugin-header-BJbVVCoY.js","assets/registry-layout-tBKkcjtf.js","assets/Container-DBGOFJUc.js","assets/badge-0EzsH3AB.js","assets/toggle-group-BgEBi3gu.js","assets/use-view-mode-CHcflreW.js","assets/use-mobile-B9jSIPRg.js","assets/FilterLines-D64nKG0E.js","assets/Globe01-Rd2g694_.js","assets/alert-dialog-CdqWA8wc.js","assets/card-c-CJHmFC.js","assets/label-D6atofYo.js","assets/select-DOO2sOs0.js","assets/index-BymQJSqf.js","assets/textarea-Ca7XZUqN.js","assets/use-copy-DfInz4oY.js","assets/RefreshCcw01-Busgf2jQ.js","assets/Eye-VtlrDhJf.js","assets/LinkExternal01-DyOgk9O3.js","assets/popover-P8B4MdX3.js","assets/Copy01-CPaHCgqg.js","assets/Save01-P2clZJAi.js","assets/Key01-bHmq-6W2.js","assets/tooltip-BWlQ9UL9.js","assets/mcp-oauth-D5R57Lko.js","assets/Play-DciA3rqD.js","assets/reports-layout-C1Rj5mWL.js","assets/CheckDone01-kUo2KMa3.js","assets/Inbox01-DK0JkUYE.js","assets/plugin-header-nmFTSFoR.js","assets/Dataflow03-D8kdCLb1.js","assets/plugin-empty-state-y1tYhlY3.js","assets/login-BJHT5HcO.js","assets/reset-password-CoNNt1yx.js","assets/connect-Cjj5OaBk.js","assets/circle-alert-orNW2INv.js","assets/oauth-callback-DZIR2PjB.js","assets/shell-layout-CSB6jzfL.js","assets/index-BPWcS_Kf.js","assets/context-GOV4Tst1.js","assets/use-virtual-mcp-C4mcpRPm.js","assets/decopilot-events-Brt4gAR6.js","assets/use-llm-7gZpMpM0.js","assets/use-binding-CcrgjIcJ.js","assets/localstorage-keys-BoChS3hJ.js","assets/skeleton-CR236scd.js","assets/File06-DCHaBaad.js","assets/Image01-BrzUQQ9K.js","assets/useSuspenseInfiniteQuery-BfZMgfKc.js","assets/spinner-DzG2AImj.js","assets/use-mcp-prompts-BIRErCHu.js","assets/form-p8UY3zWX.js","assets/usage-B8eRkRZY.js","assets/Edit01-BEBZ-Ht5.js","assets/Users03-CLx_Qxdb.js","assets/tabs-ZEd61iZd.js","assets/use-deco-chat-open-BmqwFIXp.js","assets/Code01-BYnTXqsh.js","assets/integration-icon-5VjL1GgL.js","assets/use-create-virtual-mcp-pELq4UZ_.js","assets/marked.esm-BaswSlok.js","assets/types-BPCR06YW.js","assets/Globe02-nOidPs01.js","assets/XClose-D-4ELBrc.js","assets/collection-search-DeB-znan.js","assets/deco-constants-BmtTfZbQ.js","assets/generate-id-Dyweu44Y.js","assets/index-G8oxxr2G.js","assets/editable-thread-title-CPogfRoD.js","assets/create-project-dialog-MbK1spLU.js","assets/use-settings-modal-Bi52YF5w.js","assets/use-project-B6kYJzwY.js","assets/avatar-tLGNC2ok.js","assets/create-organization-dialog-BolmWoUA.js","assets/Shield01-Dw8oloiN.js","assets/use-mcp-tools-BjSYCbSh.js","assets/resizable-CpFkObl0.js","assets/home-gtPjmaoD.js","assets/project-layout-BqSVP5TE.js","assets/use-install-from-registry-BCXPqkOi.js","assets/extract-connection-data-bPHhUn8L.js","assets/constants-DK6m0rOQ.js","assets/github-icon-Dp3wHhYE.js","assets/registry-utils-BPK3KAEQ.js","assets/chart-PoFYShLf.js","assets/index-BRPNbM-s.js","assets/use-members-BUeDkAPW.js","assets/page-iyMzbA2I.js","assets/tasks-C15WiR9-.js","assets/collection-table-wrapper-BkrnGVuo.js","assets/use-list-state-Bpa4-xTU.js","assets/format-time-CMKyl-GC.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/breadcrumb-BcJj21EL.js","assets/AlertOctagon-r7aH80QB.js","assets/projects-list-3Z4u-J4l.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/members-OikP95XQ.js","assets/DotsHorizontal-Ra63dU8X.js","assets/Lock01-DPx3YF5B.js","assets/command-CtwsQYlg.js","assets/index-CqCzS9v2.js","assets/connections-CQQbEDkG.js","assets/connection-card-DmcuYZ2d.js","assets/Terminal-d72o721Q.js","assets/env-vars-editor-CZ9xwqbP.js","assets/connection-detail-DOePEdlc.js","assets/save-actions-CNp28sAN.js","assets/index-Cz17zD6m.js","assets/index-CmPWq7Ch.js","assets/collection-tabs-CI_dPETO.js","assets/layout-Cgu_nW-7.js","assets/collection-tab-DnFTZr-h.js","assets/empty-state-CevFdaoX.js","assets/readme-viewer-BFDmw5ln.js","assets/readme-viewer-DWnTz46N.css","assets/tools-list-DJeaOzT_.js","assets/collection-detail-DcWT7KrG.js","assets/scroll-area-Bhoi0n_B.js","assets/Tool01-DkfecWlX.js","assets/monitoring-DapgIfZL.js","assets/time-range-picker-GPYqbq-o.js","assets/monitoring-dashboard-view-DRykeaHO.js","assets/monitoring-dashboard-edit-Yzekapph.js","assets/page-PH6ZVWlA.js","assets/slugify-CEUa2lfQ.js","assets/mcp-server-card-BiIhdNix.js","assets/mcp-server-detail-BhlbPBsp.js","assets/agents-vcyOPs3U.js","assets/agent-connections-preview-Dac4pEFh.js","assets/agent-detail-D5a7TiOz.js","assets/workflow-N0cDVEpp.js","assets/dynamic-plugin-layout-CMgyIw65.js"])))=>i.map(i=>d[i]);
2
2
  function V5(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 F5="modulepreload",B5=function(e){return"/"+e},HR={},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=B5(f),f in HR)return;HR[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":F5,m||(g.as="script"),g.crossOrigin="",g.href=f,d&&g.setAttribute("nonce",d),document.head.appendChild(g),m)return new Promise((y,b)=>{g.addEventListener("load",y),g.addEventListener("error",()=>b(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 xoe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yy={exports:{}},hu={};var GR;function q5(){if(GR)return hu;GR=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 hu.Fragment=t,hu.jsx=n,hu.jsxs=n,hu}var ZR;function H5(){return ZR||(ZR=1,yy.exports=q5()),yy.exports}var R=H5(),_y={exports:{}},pu={},by={exports:{}},wy={};var KR;function G5(){return KR||(KR=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,b=!1,S=!1,w=!1,x=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(S=!1,C(F),!b)if(n(d)!==null)b=!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 w?!0:!(e.unstable_now()-z<D)}function V(){if(w=!1,I){var F=e.unstable_now();z=F;var J=!0;try{e:{b=!1,S&&(S=!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(){x(V,0)};function ie(F,J){M=x(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(){w=!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)&&(S?(E(M),M=-1):S=!0,ie(O,ae-fe))):(F.sortIndex=K,t(d,F),b||y||(b=!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}}}})(wy)),wy}var WR;function Z5(){return WR||(WR=1,by.exports=G5()),by.exports}var Sy={exports:{}},Je={};var YR;function K5(){if(YR)return Je;YR=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 b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,w={};function x(P,q,B){this.props=P,this.context=q,this.refs=w,this.updater=B||b}x.prototype.isReactComponent={},x.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")},x.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function E(){}E.prototype=x.prototype;function T(P,q,B){this.props=P,this.context=q,this.refs=w,this.updater=B||b}var C=T.prototype=new E;C.constructor=T,S(C,x.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=x,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=S({},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 QR;function Us(){return QR||(QR=1,Sy.exports=K5()),Sy.exports}var Ey={exports:{}},tr={};var XR;function W5(){if(XR)return tr;XR=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 JR;function FC(){if(JR)return Ey.exports;JR=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(),Ey.exports=W5(),Ey.exports}var ex;function Y5(){if(ex)return pu;ex=1;var e=Z5(),t=Us(),n=FC();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"),b=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),x=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 S:return"Fragment";case x:return"Profiler";case w:return"StrictMode";case O:return"Suspense";case I:return"SuspenseList";case z:return"Activity"}if(typeof o=="object")switch(o.$$typeof){case b: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)?pR(o):0;break;default:if(o=s.tagName,s=s.namespaceURI)s=pR(s),o=mR(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=mR(s,o.type);s!==l&&(B($,o),B(L,l))}function H(o){$.current===o&&(q(L),q($)),ge.current===o&&(q(ge),lu._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:tne,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."}},nne=og("workflow_execution",mP),rne=[...ene,...nne],iae=[...rne],cae=og("workflow_execution",mP),ag=wt(["passing","warning","failing","info"]),one=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([we(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([we(),k()]).optional().describe("Previous value for delta comparison"),status:ag.optional().describe("Status of this individual metric")}),ane=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:ag.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),sne=Y({position:we().describe("Current rank position"),reference_position:we().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:we().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(),we()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),we()]))]).optional().describe("Inline annotation or structured key-value metrics")}),ine=Ib("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(one).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),we(),bl()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(ane).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(sne).describe("Ranked items")})]),gP=wt(["unread","read","dismissed"]),vP=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:ag.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:gP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),cne=vP.extend({sections:me(ine).describe("Ordered content sections")});function lae(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 lne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:ag.optional().describe("Filter by report status")}),une=Y({reports:me(vP).describe("List of report summaries")}),dne=Y({id:k().describe("Report identifier")}),fne=cne,hne=Y({reportId:k().describe("Report identifier"),lifecycleStatus:gP.describe("New lifecycle status for the report")}),pne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),mne=[{name:"REPORTS_LIST",inputSchema:lne,outputSchema:une},{name:"REPORTS_GET",inputSchema:dne,outputSchema:fne},{name:"REPORTS_UPDATE_STATUS",inputSchema:hne,outputSchema:pne,opt:!0}],sg=Y({id:we().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),gne=Y({id:we().int().optional(),label:k(),value:rt([we(),k()]),unit:k().optional(),status:k().optional()}),vne=Y({id:we().int().optional(),label:k(),description:k().optional()}),yne=Y({id:we().int().optional(),productId:rt([we().int(),k().min(1)]).optional(),product_id:rt([we().int(),k().min(1)]).optional(),ProductId:rt([we().int(),k().min(1)]).optional(),position:we().int(),delta:we().optional(),label:k(),image:k().optional(),sessions:we().optional(),selectRate:we().optional(),addToCartRate:we().optional(),purchaseRate:we().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),_ne=Y({id:we().int().optional(),reportId:we().int().optional(),type:wt(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:we().int().optional(),metricItems:me(gne).optional(),criteriaItems:me(vne).optional(),rankedItems:me(yne).optional()}),yP=Y({id:we().int(),collectionId:we().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),bne=yP.extend({sections:me(_ne)}),wne=Y({isEnabled:qe().optional(),limit:we().int().min(1).max(200).optional(),offset:we().int().min(0).optional()}),Sne=Y({success:qe(),total:we().int().optional(),items:me(sg).optional(),error:k().optional()}),Ene=Y({id:we().int()}),Rne=Y({success:qe(),item:sg.optional(),error:k().optional()}),xne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),Tne=Y({success:qe(),item:sg.optional(),error:k().optional()}),One=Y({id:we().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),Cne=Y({success:qe(),item:sg.optional(),error:k().optional()}),Ane=Y({collectionId:we().int().optional(),limit:we().int().min(1).max(200).optional(),offset:we().int().min(0).optional()}),Ine=Y({success:qe(),total:we().int().optional(),items:me(yP).optional(),error:k().optional()}),kne=Y({id:we().int()}),Nne=Y({success:qe(),item:bne.optional(),error:k().optional()}),Mne=[{name:"collection_list",inputSchema:wne,outputSchema:Sne},{name:"collection_get",inputSchema:Ene,outputSchema:Rne,opt:!0},{name:"collection_create",inputSchema:xne,outputSchema:Tne},{name:"collection_update",inputSchema:One,outputSchema:Cne},{name:"report_list",inputSchema:Ane,outputSchema:Ine},{name:"report_get",inputSchema:kne,outputSchema:Nne}],_P=Y({Page:we().optional(),PageSize:we().optional(),Total:we().optional(),Pages:we().optional()}),bP=Y({Id:we(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:we().optional(),TotalProducts:we().optional()}),Pne=Y({ProductId:we(),SkuId:we().optional(),ProductName:k(),Position:we().optional()});Y({page:we().int().positive().optional(),pageSize:we().int().positive().optional()});Y({Data:me(bP),Paging:_P.optional()});Y({collectionId:we().int().positive()});Y({collectionId:we().int().positive(),page:we().int().positive().optional(),pageSize:we().int().positive().optional()});Y({Data:me(Pne),Paging:_P.optional()});Y({words:k().min(1)});Y({Data:me(bP)});Y({subCollectionId:we().int().positive(),skuId:we().int().positive()});Y({SubCollectionId:we(),SkuId:we()});Y({subCollectionId:we().int().positive(),skuId:we().int().positive()});Y({success:qe()});const Dne=Y({collectionId:rt([k().min(1),we().int().positive()]),productIds:me(rt([k().min(1),we().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Lne=Y({}).passthrough(),uae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:Dne,outputSchema:Lne}],jne=A.lazy(()=>xt(()=>import("./ranking-layout-Bz2FMj3O.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]))),$ne={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:Mne,LayoutComponent:jne,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:R.jsx(yM,{size:16}),label:"Collection Ranking"}]})}};function xC(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function Une(e){return{createRoutes:e,useParams:t=>Jc({strict:!1}),useSearch:t=>Em({strict:!1}),useNavigate:()=>{const t=yl(),{org:n,project:r,pluginId:a}=Jc({strict:!1});return i=>{const c=xC(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>vL(),Link:function(n){const{org:r,project:a,pluginId:i}=Jc({strict:!1}),c=xC(n.to,r,a,i);return R.jsx(xm,{...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 TC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(TC||(TC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ss=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 La 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 La))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()}}La.create=e=>new La(e);const rb=(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 zne=rb;function Vne(){return zne}const Fne=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=Vne(),r=Fne({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===rb?void 0:rb].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"}),Du=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),OC=e=>e.status==="aborted",CC=e=>e.status==="dirty",pl=e=>e.status==="valid",hm=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 AC=(e,t)=>{if(pl(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 La(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 Ss(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ss(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:Ss(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(hm(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:Ss(t)},a=this._parseSync({data:t,path:r.path,parent:r});return AC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ss(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return pl(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=>pl(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:Ss(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(hm(a)?a:Promise.resolve(a));return AC(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 gl({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 vl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return vm.create(this,this._def)}or(t){return mm.create([this,t],this._def)}and(t){return gm.create(this,t,this._def)}transform(t){return new gl({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new sb({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new dre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ib({...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 J1.create(this,t)}readonly(){return cb.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Bne=/^c[^\s-]{8,}$/i,qne=/^[0-9a-z]+$/,Hne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gne=/^[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,Zne=/^[a-z0-9_-]{21}$/i,Kne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Wne=/^[-+]?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)?)??$/,Yne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Qne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let q0;const Xne=/^(?:(?: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])$/,Jne=/^(?:(?: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])$/,ere=/^(([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]))$/,tre=/^(([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])$/,nre=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,rre=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,wP="((\\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])))",ore=new RegExp(`^${wP}$`);function SP(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 are(e){return new RegExp(`^${SP(e)}$`)}function sre(e){let t=`${wP}T${SP(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 ire(e,t){return!!((t==="v4"||!t)&&Xne.test(e)||(t==="v6"||!t)&&ere.test(e))}function cre(e,t){if(!Kne.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 lre(e,t){return!!((t==="v4"||!t)&&Jne.test(e)||(t==="v6"||!t)&&tre.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")Yne.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")q0||(q0=new RegExp(Qne,"u")),q0.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")Gne.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")Zne.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")Bne.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")qne.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")Hne.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"?sre(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"?ore.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?are(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"?Wne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?ire(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"?cre(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"?lre(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"?nre.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?rre.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 ure(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 ud 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"?ure(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 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]})}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)}}ud.create=e=>new ud({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class dd 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 dd({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new dd({...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}}dd.create=e=>new dd({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class ob 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)}}ob.create=e=>new ob({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class pm 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 pm({...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}}pm.create=e=>new pm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class IC 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)}}IC.create=e=>new IC({typeName:nt.ZodSymbol,...mt(e)});class kC 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)}}kC.create=e=>new kC({typeName:nt.ZodUndefined,...mt(e)});class NC 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)}}NC.create=e=>new NC({typeName:nt.ZodNull,...mt(e)});class MC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}MC.create=e=>new MC({typeName:nt.ZodAny,...mt(e)});class PC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}PC.create=e=>new PC({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 DC 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)}}DC.create=e=>new DC({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 Gc(e){if(e instanceof wn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(Gc(r))}return new wn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:Gc(e.element)}):e instanceof Ns?Ns.create(Gc(e.unwrap())):e instanceof vl?vl.create(Gc(e.unwrap())):e instanceof Di?Di.create(e.items.map(t=>Gc(t))):e}class wn 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 wn({...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 wn({...this._def,unknownKeys:"strip"})}passthrough(){return new wn({...this._def,unknownKeys:"passthrough"})}extend(t){return new wn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new wn({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 wn({...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 wn({...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 wn({...this._def,shape:()=>n})}deepPartial(){return Gc(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 wn({...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 wn({...this._def,shape:()=>n})}keyof(){return EP(At.objectKeys(this.shape))}}wn.create=(e,t)=>new wn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});wn.strictCreate=(e,t)=>new wn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});wn.lazycreate=(e,t)=>new wn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class mm 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 La(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 La(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}mm.create=(e,t)=>new mm({options:e,typeName:nt.ZodUnion,...mt(t)});function ab(e,t){const n=Ss(e),r=Ss(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=ab(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=ab(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 gm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(OC(i)||OC(c))return tt;const u=ab(i.value,c.value);return u.valid?((CC(i)||CC(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}))}}gm.create=(e,t,n)=>new gm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Di 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 Di({...this._def,rest:t})}}Di.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Di({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class LC 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}}}}LC.create=(e,t,n)=>new LC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class fd 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 fd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new fd({...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)}}fd.create=(e,t)=>new fd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class jC 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})}}jC.create=(e,t)=>new jC({getter:e,typeName:nt.ZodLazy,...mt(t)});class $C 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}}$C.create=(e,t)=>new $C({value:e,typeName:nt.ZodLiteral,...mt(t)});function EP(e,t){return new ml({values:e,typeName:nt.ZodEnum,...mt(t)})}class ml 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 ml.create(t,{...this._def,...n})}exclude(t,n=this._def){return ml.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}ml.create=EP;class UC 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}}UC.create=(e,t)=>new UC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class vm 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})))}}vm.create=(e,t)=>new vm({type:e,typeName:nt.ZodPromise,...mt(t)});class gl 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"?Du(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"?Du(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(!pl(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=>pl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}gl.create=(e,t,n)=>new gl({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});gl.createWithPreprocess=(e,t,n)=>new gl({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 vl extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}vl.create=(e,t)=>new vl({innerType:e,typeName:nt.ZodNullable,...mt(t)});class sb 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}}sb.create=(e,t)=>new sb({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class ib 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 hm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ib.create=(e,t)=>new ib({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class zC 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}}}zC.create=e=>new zC({typeName:nt.ZodNaN,...mt(e)});class dre 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 J1 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(),Du(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 J1({in:t,out:n,typeName:nt.ZodPipeline})}}class cb extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(pl(a)&&(a.value=Object.freeze(a.value)),a);return hm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}cb.create=(e,t)=>new cb({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 fre=Ts.create,hre=ob.create;$s.create;ta.create;const pre=wn.create;mm.create;gm.create;Di.create;const mre=ml.create;vm.create;Ns.create;vl.create;const gre=pre({path:fre().optional().default(""),flat:hre().optional().default(!1),view:mre(["table","grid"]).optional().default("grid")}),vre=Une(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-Cu1bln-O.js").then(a=>a.b),__vite__mapDeps([34,6,35,36,37,12,19,13,38,27,39,40,41,7,42,43,4]))),validateSearch:gre})]}),yre=A.lazy(()=>xt(()=>import("./plugin-header-DerB5s8s.js"),__vite__mapDeps([44,12,33]))),_re=A.lazy(()=>xt(()=>import("./plugin-empty-state-FWA0Jb1Z.js"),[])),bre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:Hte,renderHeader:e=>R.jsx(yre,{...e}),renderEmptyState:()=>R.jsx(_re,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:R.jsx(bM,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=vre.createRoutes(e);n(r)}},wre="private-registry",Sre="Organization private MCP registry with CRUD and Store integration",dae=`
196
+ }`},config:tne,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."}},nne=og("workflow_execution",mP),rne=[...ene,...nne],iae=[...rne],cae=og("workflow_execution",mP),ag=wt(["passing","warning","failing","info"]),one=Y({label:k().describe("Metric label (e.g. 'LCP', 'Performance')"),value:rt([we(),k()]).describe("Current metric value"),unit:k().optional().describe("Unit of measurement (e.g. 's', 'ms', 'score')"),previousValue:rt([we(),k()]).optional().describe("Previous value for delta comparison"),status:ag.optional().describe("Status of this individual metric")}),ane=Y({label:k().describe("Short name of the criterion"),description:k().optional().describe("Longer explanation"),status:ag.optional().describe("Status of this individual criterion (passing/warning/failing/info)")}),sne=Y({position:we().describe("Current rank position"),reference_position:we().optional().describe("Previous rank position before reordering. Used to compute delta automatically (delta = reference_position - position)."),delta:we().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(),we()])).describe("Values matching columns"),note:rt([k(),ut(k(),rt([k(),we()]))]).optional().describe("Inline annotation or structured key-value metrics")}),ine=Ib("type",[Y({type:De("markdown"),content:k().describe("Markdown content")}),Y({type:De("metrics"),title:k().optional().describe("Section title"),items:me(one).describe("Metric items")}),Y({type:De("table"),title:k().optional().describe("Section title"),columns:me(k()).describe("Column headers"),rows:me(me(rt([k(),we(),bl()]))).describe("Table rows")}),Y({type:De("criteria"),title:k().optional().describe("Section title"),items:me(ane).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(sne).describe("Ranked items")})]),gP=wt(["unread","read","dismissed"]),vP=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:ag.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:gP.optional().describe("Inbox lifecycle status of the report (default: unread)")}),cne=vP.extend({sections:me(ine).describe("Ordered content sections")});function lae(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 lne=Y({category:k().optional().describe("Filter by category (e.g. 'performance', 'security')"),status:ag.optional().describe("Filter by report status")}),une=Y({reports:me(vP).describe("List of report summaries")}),dne=Y({id:k().describe("Report identifier")}),fne=cne,hne=Y({reportId:k().describe("Report identifier"),lifecycleStatus:gP.describe("New lifecycle status for the report")}),pne=Y({success:qe().describe("Whether the operation succeeded"),message:k().optional().describe("Human-readable result message")}),mne=[{name:"REPORTS_LIST",inputSchema:lne,outputSchema:une},{name:"REPORTS_GET",inputSchema:dne,outputSchema:fne},{name:"REPORTS_UPDATE_STATUS",inputSchema:hne,outputSchema:pne,opt:!0}],sg=Y({id:we().int(),farmCollectionId:k(),decoCollectionId:k().optional(),title:k(),isEnabled:qe()}),gne=Y({id:we().int().optional(),label:k(),value:rt([we(),k()]),unit:k().optional(),status:k().optional()}),vne=Y({id:we().int().optional(),label:k(),description:k().optional()}),yne=Y({id:we().int().optional(),productId:rt([we().int(),k().min(1)]).optional(),product_id:rt([we().int(),k().min(1)]).optional(),ProductId:rt([we().int(),k().min(1)]).optional(),position:we().int(),delta:we().optional(),label:k(),image:k().optional(),sessions:we().optional(),selectRate:we().optional(),addToCartRate:we().optional(),purchaseRate:we().optional(),valueSelectRate:k().optional(),valueAvailability:k().optional()}),_ne=Y({id:we().int().optional(),reportId:we().int().optional(),type:wt(["metrics","criteria","note","ranked-list"]),title:k().nullable().optional(),content:k().nullable().optional(),position:we().int().optional(),metricItems:me(gne).optional(),criteriaItems:me(vne).optional(),rankedItems:me(yne).optional()}),yP=Y({id:we().int(),collectionId:we().int(),title:k(),category:k().optional(),status:k().optional(),summary:k(),source:k().optional(),tags:me(k()).optional(),updatedAt:k()}),bne=yP.extend({sections:me(_ne)}),wne=Y({isEnabled:qe().optional(),limit:we().int().min(1).max(200).optional(),offset:we().int().min(0).optional()}),Sne=Y({success:qe(),total:we().int().optional(),items:me(sg).optional(),error:k().optional()}),Ene=Y({id:we().int()}),Rne=Y({success:qe(),item:sg.optional(),error:k().optional()}),xne=Y({farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1),isEnabled:qe().optional()}),Tne=Y({success:qe(),item:sg.optional(),error:k().optional()}),One=Y({id:we().int(),farmCollectionId:k().min(1),decoCollectionId:k().optional(),title:k().min(1).optional(),isEnabled:qe().optional()}),Cne=Y({success:qe(),item:sg.optional(),error:k().optional()}),Ane=Y({collectionId:we().int().optional(),limit:we().int().min(1).max(200).optional(),offset:we().int().min(0).optional()}),Ine=Y({success:qe(),total:we().int().optional(),items:me(yP).optional(),error:k().optional()}),kne=Y({id:we().int()}),Nne=Y({success:qe(),item:bne.optional(),error:k().optional()}),Mne=[{name:"collection_list",inputSchema:wne,outputSchema:Sne},{name:"collection_get",inputSchema:Ene,outputSchema:Rne,opt:!0},{name:"collection_create",inputSchema:xne,outputSchema:Tne},{name:"collection_update",inputSchema:One,outputSchema:Cne},{name:"report_list",inputSchema:Ane,outputSchema:Ine},{name:"report_get",inputSchema:kne,outputSchema:Nne}],_P=Y({Page:we().optional(),PageSize:we().optional(),Total:we().optional(),Pages:we().optional()}),bP=Y({Id:we(),Name:k(),Searchable:qe(),Highlight:qe(),DateFrom:k().nullable().optional(),DateTo:k().nullable().optional(),TotalSku:we().optional(),TotalProducts:we().optional()}),Pne=Y({ProductId:we(),SkuId:we().optional(),ProductName:k(),Position:we().optional()});Y({page:we().int().positive().optional(),pageSize:we().int().positive().optional()});Y({Data:me(bP),Paging:_P.optional()});Y({collectionId:we().int().positive()});Y({collectionId:we().int().positive(),page:we().int().positive().optional(),pageSize:we().int().positive().optional()});Y({Data:me(Pne),Paging:_P.optional()});Y({words:k().min(1)});Y({Data:me(bP)});Y({subCollectionId:we().int().positive(),skuId:we().int().positive()});Y({SubCollectionId:we(),SkuId:we()});Y({subCollectionId:we().int().positive(),skuId:we().int().positive()});Y({success:qe()});const Dne=Y({collectionId:rt([k().min(1),we().int().positive()]),productIds:me(rt([k().min(1),we().int().positive()])).min(1).describe("Ordered VTEX product IDs")}),Lne=Y({}).passthrough(),uae=[{name:"VTEX_REORDER_COLLECTION",inputSchema:Dne,outputSchema:Lne}],jne=A.lazy(()=>xt(()=>import("./ranking-layout-DDk0F0da.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]))),$ne={id:"collection-reorder-ranking",description:"View collection reorder ranking reports",binding:Mne,LayoutComponent:jne,setup:e=>{e.registerSidebarGroup({id:"commerce",label:"Commerce",items:[{icon:R.jsx(yM,{size:16}),label:"Collection Ranking"}]})}};function xC(e,t,n,r){return e?e.startsWith("/")?`/${t}/${n}/${r}${e}`:e:`/${t}/${n}/${r}`}function Une(e){return{createRoutes:e,useParams:t=>Jc({strict:!1}),useSearch:t=>Em({strict:!1}),useNavigate:()=>{const t=yl(),{org:n,project:r,pluginId:a}=Jc({strict:!1});return i=>{const c=xC(i.to,n,r,a);return t({...i,to:c,params:{org:n,project:r,pluginId:a,...i.params}})}},useLocation:()=>vL(),Link:function(n){const{org:r,project:a,pluginId:i}=Jc({strict:!1}),c=xC(n.to,r,a,i);return R.jsx(xm,{...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 TC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(TC||(TC={}));const Fe=At.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ss=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 La 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 La))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()}}La.create=e=>new La(e);const rb=(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 zne=rb;function Vne(){return zne}const Fne=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=Vne(),r=Fne({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===rb?void 0:rb].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"}),Du=e=>({status:"dirty",value:e}),_o=e=>({status:"valid",value:e}),OC=e=>e.status==="aborted",CC=e=>e.status==="dirty",pl=e=>e.status==="valid",hm=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 AC=(e,t)=>{if(pl(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 La(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 Ss(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ss(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:Ss(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(hm(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:Ss(t)},a=this._parseSync({data:t,path:r.path,parent:r});return AC(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ss(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return pl(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=>pl(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:Ss(t)},a=this._parse({data:t,path:r.path,parent:r}),i=await(hm(a)?a:Promise.resolve(a));return AC(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 gl({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 vl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ta.create(this)}promise(){return vm.create(this,this._def)}or(t){return mm.create([this,t],this._def)}and(t){return gm.create(this,t,this._def)}transform(t){return new gl({...mt(this._def),schema:this,typeName:nt.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new sb({...mt(this._def),innerType:this,defaultValue:n,typeName:nt.ZodDefault})}brand(){return new dre({typeName:nt.ZodBranded,type:this,...mt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ib({...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 J1.create(this,t)}readonly(){return cb.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Bne=/^c[^\s-]{8,}$/i,qne=/^[0-9a-z]+$/,Hne=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gne=/^[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,Zne=/^[a-z0-9_-]{21}$/i,Kne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Wne=/^[-+]?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)?)??$/,Yne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Qne="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let q0;const Xne=/^(?:(?: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])$/,Jne=/^(?:(?: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])$/,ere=/^(([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]))$/,tre=/^(([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])$/,nre=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,rre=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,wP="((\\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])))",ore=new RegExp(`^${wP}$`);function SP(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 are(e){return new RegExp(`^${SP(e)}$`)}function sre(e){let t=`${wP}T${SP(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 ire(e,t){return!!((t==="v4"||!t)&&Xne.test(e)||(t==="v6"||!t)&&ere.test(e))}function cre(e,t){if(!Kne.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 lre(e,t){return!!((t==="v4"||!t)&&Jne.test(e)||(t==="v6"||!t)&&tre.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")Yne.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")q0||(q0=new RegExp(Qne,"u")),q0.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")Gne.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")Zne.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")Bne.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")qne.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")Hne.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"?sre(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"?ore.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{code:ke.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?are(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"?Wne.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"duration",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?ire(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"?cre(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"?lre(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"?nre.test(t.data)||(a=this._getOrReturnCtx(t,a),Le(a,{validation:"base64",code:ke.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?rre.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 ure(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 ud 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"?ure(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 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]})}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)}}ud.create=e=>new ud({checks:[],typeName:nt.ZodNumber,coerce:e?.coerce||!1,...mt(e)});class dd 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 dd({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:He.toString(a)}]})}_addCheck(t){return new dd({...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}}dd.create=e=>new dd({checks:[],typeName:nt.ZodBigInt,coerce:e?.coerce??!1,...mt(e)});class ob 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)}}ob.create=e=>new ob({typeName:nt.ZodBoolean,coerce:e?.coerce||!1,...mt(e)});class pm 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 pm({...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}}pm.create=e=>new pm({checks:[],coerce:e?.coerce||!1,typeName:nt.ZodDate,...mt(e)});class IC 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)}}IC.create=e=>new IC({typeName:nt.ZodSymbol,...mt(e)});class kC 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)}}kC.create=e=>new kC({typeName:nt.ZodUndefined,...mt(e)});class NC 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)}}NC.create=e=>new NC({typeName:nt.ZodNull,...mt(e)});class MC extends Tt{constructor(){super(...arguments),this._any=!0}_parse(t){return _o(t.data)}}MC.create=e=>new MC({typeName:nt.ZodAny,...mt(e)});class PC extends Tt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return _o(t.data)}}PC.create=e=>new PC({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 DC 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)}}DC.create=e=>new DC({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 Gc(e){if(e instanceof wn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ns.create(Gc(r))}return new wn({...e._def,shape:()=>t})}else return e instanceof ta?new ta({...e._def,type:Gc(e.element)}):e instanceof Ns?Ns.create(Gc(e.unwrap())):e instanceof vl?vl.create(Gc(e.unwrap())):e instanceof Di?Di.create(e.items.map(t=>Gc(t))):e}class wn 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 wn({...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 wn({...this._def,unknownKeys:"strip"})}passthrough(){return new wn({...this._def,unknownKeys:"passthrough"})}extend(t){return new wn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new wn({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 wn({...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 wn({...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 wn({...this._def,shape:()=>n})}deepPartial(){return Gc(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 wn({...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 wn({...this._def,shape:()=>n})}keyof(){return EP(At.objectKeys(this.shape))}}wn.create=(e,t)=>new wn({shape:()=>e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});wn.strictCreate=(e,t)=>new wn({shape:()=>e,unknownKeys:"strict",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});wn.lazycreate=(e,t)=>new wn({shape:e,unknownKeys:"strip",catchall:$s.create(),typeName:nt.ZodObject,...mt(t)});class mm 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 La(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 La(d));return Le(n,{code:ke.invalid_union,unionErrors:u}),tt}}get options(){return this._def.options}}mm.create=(e,t)=>new mm({options:e,typeName:nt.ZodUnion,...mt(t)});function ab(e,t){const n=Ss(e),r=Ss(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=ab(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=ab(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 gm extends Tt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(i,c)=>{if(OC(i)||OC(c))return tt;const u=ab(i.value,c.value);return u.valid?((CC(i)||CC(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}))}}gm.create=(e,t,n)=>new gm({left:e,right:t,typeName:nt.ZodIntersection,...mt(n)});class Di 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 Di({...this._def,rest:t})}}Di.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Di({items:e,typeName:nt.ZodTuple,rest:null,...mt(t)})};class LC 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}}}}LC.create=(e,t,n)=>new LC({valueType:t,keyType:e,typeName:nt.ZodMap,...mt(n)});class fd 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 fd({...this._def,minSize:{value:t,message:He.toString(n)}})}max(t,n){return new fd({...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)}}fd.create=(e,t)=>new fd({valueType:e,minSize:null,maxSize:null,typeName:nt.ZodSet,...mt(t)});class jC 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})}}jC.create=(e,t)=>new jC({getter:e,typeName:nt.ZodLazy,...mt(t)});class $C 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}}$C.create=(e,t)=>new $C({value:e,typeName:nt.ZodLiteral,...mt(t)});function EP(e,t){return new ml({values:e,typeName:nt.ZodEnum,...mt(t)})}class ml 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 ml.create(t,{...this._def,...n})}exclude(t,n=this._def){return ml.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}ml.create=EP;class UC 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}}UC.create=(e,t)=>new UC({values:e,typeName:nt.ZodNativeEnum,...mt(t)});class vm 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})))}}vm.create=(e,t)=>new vm({type:e,typeName:nt.ZodPromise,...mt(t)});class gl 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"?Du(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"?Du(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(!pl(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=>pl(c)?Promise.resolve(a.transform(c.value,i)).then(u=>({status:n.value,value:u})):tt);At.assertNever(a)}}gl.create=(e,t,n)=>new gl({schema:e,typeName:nt.ZodEffects,effect:t,...mt(n)});gl.createWithPreprocess=(e,t,n)=>new gl({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 vl extends Tt{_parse(t){return this._getType(t)===Fe.null?_o(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}vl.create=(e,t)=>new vl({innerType:e,typeName:nt.ZodNullable,...mt(t)});class sb 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}}sb.create=(e,t)=>new sb({innerType:e,typeName:nt.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...mt(t)});class ib 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 hm(a)?a.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new La(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ib.create=(e,t)=>new ib({innerType:e,typeName:nt.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...mt(t)});class zC 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}}}zC.create=e=>new zC({typeName:nt.ZodNaN,...mt(e)});class dre 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 J1 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(),Du(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 J1({in:t,out:n,typeName:nt.ZodPipeline})}}class cb extends Tt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(pl(a)&&(a.value=Object.freeze(a.value)),a);return hm(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}cb.create=(e,t)=>new cb({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 fre=Ts.create,hre=ob.create;$s.create;ta.create;const pre=wn.create;mm.create;gm.create;Di.create;const mre=ml.create;vm.create;Ns.create;vl.create;const gre=pre({path:fre().optional().default(""),flat:hre().optional().default(!1),view:mre(["table","grid"]).optional().default("grid")}),vre=Une(e=>{const{createRoute:t,lazyRouteComponent:n}=e.routing;return[t({getParentRoute:()=>e.parentRoute,path:"/",component:n(()=>xt(()=>import("./file-browser-BBOKW0fZ.js").then(a=>a.b),__vite__mapDeps([34,6,35,36,37,12,19,13,38,27,39,40,41,7,42,43,4]))),validateSearch:gre})]}),yre=A.lazy(()=>xt(()=>import("./plugin-header-BJbVVCoY.js"),__vite__mapDeps([44,12,33]))),_re=A.lazy(()=>xt(()=>import("./plugin-empty-state-kz2uan6n.js"),[])),bre={id:"object-storage",description:"Browse and manage files in S3-compatible object storage",binding:Hte,renderHeader:e=>R.jsx(yre,{...e}),renderEmptyState:()=>R.jsx(_re,{}),setup:e=>{const{registerSidebarGroup:t,registerPluginRoutes:n}=e;t({id:"object-storage",label:"Object Storage",items:[{icon:R.jsx(bM,{size:16}),label:"File browser"}],defaultExpanded:!0});const r=vre.createRoutes(e);n(r)}},wre="private-registry",Sre="Organization private MCP registry with CRUD and Store integration",dae=`
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(),Ere=A.lazy(()=>xt(()=>import("./registry-layout-BJov_nag.js"),__vite__mapDeps([45,30,46,8,2,4,5,35,36,47,14,11,12,13,22,48,49,50,16,51,52,7,18,9,10,19,38,43,53,54,42,55,56,57,33,15,58,20,59,60,37,61,62,32,3,63,64,65,66,17,67,68,69]))),Rre={id:wre,description:Sre,LayoutComponent:Ere,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:R.jsx(wM,{size:16}),label:"Registry"}],defaultExpanded:!0})}},xre=A.lazy(()=>xt(()=>import("./reports-layout-VEiewUO1.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8,12,33,19,20,71,21,64,72,30,31,32,22,23,24,25,26,13,27,28,29,47,54,56,57]))),Tre={id:"reports",description:"View automated reports with actionable insights",binding:mne,LayoutComponent:xre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:R.jsx(_M,{size:16}),label:"Reports"}]})}},Ore="user-sandbox",Cre="Create embeddable integration flows for platform end-users";var Are=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(b=>{let S=b==="class",w=S&&i?a.map(x=>i[x]||x):a;S?(d.classList.remove(...w),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(b,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,b=c&&y==="system"?g():y;m(b)}catch{}},Ire=A.createContext(void 0),kre={setTheme:e=>{},themes:[]},fae=()=>{var e;return(e=A.useContext(Ire))!=null?e:kre};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:`(${Are.toString()})(${m})`}})});const hd="org-admin",Nre={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]===hd},adminProject(e){return`${e}/${hd}`}},RP=A.createContext(void 0),hae=()=>{const e=A.useContext(RP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},pae=e=>{const t=Li.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Nre.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=R.jsx(RP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},Mre=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:wt(["authorization_code","client_credentials"])}),Pre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Dre=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:Pre.optional(),_meta:ut(k(),at()).optional()}),Lre=Y({headers:ut(k(),k()).optional()}),jre=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)")}),xP=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:wt(["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([jre,Lre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:Mre.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(Dre).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:wt(["active","inactive","error"]).describe("Current status")});xP.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()});xP.partial();function mae(e){return e!=null&&"command"in e}function gae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Lu=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")}),TP=Lu.extend({selected_tools:Lu.shape.selected_tools.optional(),selected_resources:Lu.shape.selected_resources.optional(),selected_prompts:Lu.shape.selected_prompts.optional()}),vae=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:wt(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Lu).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:wt(["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(TP).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:wt(["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(TP).optional().describe("New connections (replaces existing)")});var VC;(function(e){e.Completable="McpCompletable"})(VC||(VC={}));const $re=[],Ure={id:Ore,description:Cre,binding:$re},zre="workflows",Vre="Create workflows for platform end-users",Fre=A.lazy(()=>xt(()=>import("./plugin-header-gerJlK-i.js"),__vite__mapDeps([73,12,33,74]))),Bre=A.lazy(()=>xt(()=>import("./plugin-empty-state-4dVaQq4C.js"),__vite__mapDeps([75,74]))),qre={id:zre,description:Vre,binding:[],renderHeader:e=>R.jsx(Fre,{...e}),renderEmptyState:()=>R.jsx(Bre,{})},Hre=[bre,Tre,$ne,Ure,Rre,qre],Hs=oL({component:()=>R.jsx(DY,{children:R.jsx(NY,{children:R.jsx(A.Suspense,{fallback:R.jsx(vM,{}),children:R.jsx(SA,{})})})})}),Gre=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-BcqaQ8OJ.js"),__vite__mapDeps([76,4,14]))),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()}))}),Zre=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-Cv1xeKO6.js"),__vite__mapDeps([77,4,14]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),Kre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-fybxbD8B.js"),[]))}),Wre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-CzYEo8md.js"),__vite__mapDeps([78,2,4,54,68,79])))}),Yre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-BpVpumwK.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Qre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-DEcWaD8W.js"),__vite__mapDeps([80,7,68])))}),ig=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-C4umZGSP.js"),__vite__mapDeps([81,82,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,108,7,109,110,21,42,111,50,112,17,113,58,114,71,74,40,115,116,11,117,53,52,62,118,72,119,120])))}),Xre=jt({getParentRoute:()=>ig,path:"/",component:Gt(()=>xt(()=>import("./home-Dm_ASFW3.js"),__vite__mapDeps([121,54,116,19,12,17,18,107,14,117,53,95,55,93,4])))}),Jre=jt({getParentRoute:()=>ig,path:"/$org",beforeLoad:({params:e})=>{throw _m({to:"/$org/$project",params:{org:e.org,project:hd}})}}),Jn=jt({getParentRoute:()=>ig,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-Bq2NwHqQ.js"),__vite__mapDeps([122,115,2,5,9,10,89,88,4,114,116,8,67,57,12,64,15,56,33,101,118,71,95,55,14,43,58,53,46,3,87,1,123,124,125,126,127,110,7,17,128,129,47,99,19,60,119,109,130]))),validateSearch:Y({settings:k().optional()})}),eoe=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-Dst-G5FY.js"),__vite__mapDeps([131,82,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,108,7,109,110,21,42,112,111,50,17])))}),toe=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-C_zqDZzb.js"),__vite__mapDeps([132,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,134,116,2,5,49,135,136,137,47,19,138,71,21,83,84,3,4,85,86,87,1,88,89,63,56,33,90,91,60,8,92,36])))}),noe=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===hd;throw _m({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==hd)throw _m({to:"/$org/$project",params:{org:e.org,project:e.project}})},roe=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-Bfrhv7v-.js"),__vite__mapDeps([139,115,2,5,111,50,10,67,57,108,7,18,14,116,140,136,113,4,9,95,55,58,12,137,13])))}),ooe=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-vlAhS-xk.js"),__vite__mapDeps([141,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,137,102,46,37,20,3,4,5,130,2,86,87,1,116,47,53,9,142,143,17,42,15,95,55,56,33,58,54,16,66,118,107,144,145,63])))}),aoe=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-ziNJ3ykn.js"),__vite__mapDeps([146,110,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,147,54,102,46,47,19,30,111,50,10,134,116,2,5,49,87,1,127,53,137,9,95,55,56,33,58,3,4,119,16,61,106,148,42,135,136,149,17]))),validateSearch:go(()=>Y({action:wt(["create"]).optional()}))}),soe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-BN6XxwJe.js"),__vite__mapDeps([150,108,7,18,14,149,17,42,105,151,65,87,1,152,68,5,119,2,4,90,66,3,125,127,124,126,110,123,56,57,12,33,129,79,153,145,82,83,84,85,86,88,89,63,39,91,60,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,61,106,107,109,21,137,154,155,111,50,156,133,11,24,41,22,54,16,157,72,134,116,49,53,30,148,140,136,158,159,160]))),validateSearch:go(()=>Y({tab:k().optional()}))}),ioe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-CFInmxp-.js"),__vite__mapDeps([161,108,7,18,14,3,4,5,95,55,58,155,111,50,10,67,57,151,65,82,83,84,85,86,87,1,2,88,89,63,56,12,33,90,39,91,60,8,92,36,93,94,9,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,109,110,21,42,69,137,152,68,119,66,125,127,124,126,123,17,129,79,153,145,160,133,11,24,41,22,54,162,157,120,138,142,163]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),coe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-B8ViJcuj.js"),__vite__mapDeps([164,108,7,18,14,111,50,10,67,57,137,13,165,47,63,12,64,38,51,66,69,162,93,56,33,21,102,46,22,128,129,5,16,17,42,147,54,11,53,130,92,36,3,4,84,101,39,37,144,145,58,154,15,55,119,2]))),validateSearch:go(()=>Y({tab:wt(["logs","dashboards"]).default("logs"),from:k().default("now-30m"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:wt(["all","success","errors"]).default("all"),search:k().default(""),page:we().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),loe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-AyjrHVH9.js"),__vite__mapDeps([166,5,165,47,63,67,57,12,64,38,51,66,69,162,93,56,33,21,13,14,155,111,50,10,137,58,101,39,17,42,107])))}),uoe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-9lG0jGgS.js"),__vite__mapDeps([167,3,4,5,14,102,46,37,12,63,33,56,57,28,69,17,42,48,155,111,50,10,67,151,65,7,137,13])))}),OP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-L5wi1xJD.js"),__vite__mapDeps([168,111,50,10,67,57,137,13,51,72,7,18,2,35,36,127,5,3,4,169,108,14,170,26,106,143,17,148,54,102,46,126,63,12,33,107,87,1,88])))}),doe=jt({getParentRoute:()=>OP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-a4HlkEwh.js"),__vite__mapDeps([171,19,7,111,50,10,67,57,102,46,30,33,17,11,12,13,62,108,18,14,158,2,90,126,159,104,160,133,24,25,39,41,22,47,54,105,61,106,155,154,170,26,143,148,137,87,1,3,4,5,119,88,124,125,127,110,169,31]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),foe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-C9M716Em.js"),__vite__mapDeps([172,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,137,147,54,102,46,134,116,2,5,49,103,84,3,4,53,16,61,42,98,173,135,136]))),validateSearch:go(()=>Y({action:wt(["create"]).optional()}))}),hoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-fZVm9X6-.js"),__vite__mapDeps([174,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,108,7,102,46,100,47,15,58,67,13,27,69,17,163,98,137,155,111,50,10,151,65,160,133,11,24,25,41,22,54,105,61,106,37,9,99,119,94,169,153,101,64,31,66,173]))),validateSearch:go(()=>Y({tab:k().optional()}))}),poe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-BjckQ0gZ.js"),__vite__mapDeps([175,5,156,110,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,54,102,46,64,16,97,61,42,157,72,134,116,2,49,50,125,53,3,4,17,155,111,10,137,87,1,60,74])))}),CP=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-lJBDHqhW.js"),__vite__mapDeps([176,7,1,6,2,3,4,5,8,111,50,10,67,57])))}),moe=[],goe=[],AP=[];Hre.forEach(e=>{if(!e.setup)return;const t={parentRoute:CP,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>moe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>goe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{AP.push(...n)}};e.setup(t)});const voe=CP.addChildren(AP),yoe=OP.addChildren([doe]),_oe=[eoe,toe,noe,roe,ooe,aoe,soe,ioe,coe,loe,uoe,yoe,foe,hoe,poe,voe],boe=Jn.addChildren(_oe),woe=ig.addChildren([Xre,Jre,boe]),Soe=Hs.addChildren([woe,Gre,Zre,Kre,Qre,Wre,Yre]),Eoe=hL({routeTree:Soe}),Roe=document.getElementById("root");X5.createRoot(Roe).render(R.jsx(A.StrictMode,{children:R.jsx(gL,{router:Eoe})}));export{SM as $,Xoe as A,D_ as B,xP as C,oN as D,tae as E,JV as F,_d as G,rn as H,An as I,RH as J,eA as K,Nre as L,lt as M,koe as N,hd as O,pae as P,IN as Q,EH as R,vM as S,za as T,zi as U,vae as V,fZ as W,vN as X,jD as Y,MD as Z,T1 as _,Em as a,pd as a$,Noe as a0,rg as a1,Rm as a2,bM as a3,zG as a4,$oe as a5,YB as a6,Voe as a7,Foe as a8,zoe as a9,me as aA,wt as aB,Is as aC,xd as aD,yd as aE,YG as aF,QG as aG,WG as aH,SA as aI,xm as aJ,Hre as aK,CN as aL,uH as aM,Zb as aN,_N as aO,zk as aP,Kb as aQ,nd as aR,kk as aS,Gb as aT,Hb as aU,dH as aV,fH as aW,joe as aX,Loe as aY,Doe as aZ,PY as a_,WB as aa,Boe as ab,Uoe as ac,MG as ad,PG as ae,DG as af,LG as ag,jG as ah,Hoe as ai,qoe as aj,Zoe as ak,Goe as al,Koe as am,Woe as an,Yoe as ao,gD as ap,Hee as aq,Yee as ar,oae as as,xi as at,fx as au,Coe as av,Ooe as aw,A4 as ax,k4 as ay,Aoe as az,yl as b,WV as b$,G0 as b0,Ku as b1,bD as b2,Zn as b3,Or as b4,lD as b5,We as b6,et as b7,ar as b8,lb as b9,Gr as bA,GI as bB,Kn as bC,we as bD,rt as bE,qe as bF,De as bG,at as bH,go as bI,bl as bJ,cae as bK,iae as bL,rr as bM,le as bN,Do as bO,rN as bP,Lo as bQ,ite as bR,sP as bS,ja as bT,vre as bU,xt as bV,fae as bW,cV as bX,Toe as bY,fr as bZ,wre as b_,ht as ba,eJ as bb,k1 as bc,_X as bd,pX as be,HQ as bf,GQ as bg,KQ as bh,rX as bi,Xm as bj,BM as bk,DM as bl,LM as bm,jM as bn,$M as bo,UM as bp,VM as bq,Hu as br,CM as bs,q1 as bt,iX as bu,cX as bv,FM as bw,Qm as bx,og as by,ut as bz,Li as c,_M as c0,lae as c1,mne as c2,yM as c3,Mne as c4,uae as c5,moe as c6,goe as c7,UW as c8,Sb as c9,$o as cA,iN as cB,Wq as cC,Xq as cD,Yq as cE,jq as cF,xoe as cG,qC as cH,TD as cI,AD as cJ,PD as cK,ID as cL,kD as cM,LD as cN,hx as cO,DD as cP,ND as cQ,mJ as cR,pt as cS,oP as cT,iee as cU,WA as cV,wW as cW,Us as cX,rae as cY,ate as ca,pU as cb,Poe as cc,nk as cd,Ib as ce,Moe as cf,dae as cg,Ma as ch,Ioe as ci,sae as cj,GV as ck,qV as cl,zV as cm,lk as cn,Ir as co,BG as cp,vA as cq,_A as cr,sO as cs,Zq as ct,jo as cu,rd as cv,n1 as cw,ul as cx,Ls as cy,Va as cz,$j as d,Jc as e,Joe as f,Qoe as g,eae as h,mae as i,R as j,oa as k,ra as l,RD as m,JC as n,Y as o,gae as p,QV as q,A as r,k as s,_T as t,hae as u,MY as v,qb as w,XV as x,gk as y,xk as z};
218
+ `.trim(),Ere=A.lazy(()=>xt(()=>import("./registry-layout-tBKkcjtf.js"),__vite__mapDeps([45,30,46,8,2,4,5,35,36,47,14,11,12,13,22,48,49,50,16,51,52,7,18,9,10,19,38,43,53,54,42,55,56,57,33,15,58,20,59,60,37,61,62,32,3,63,64,65,66,17,67,68,69]))),Rre={id:wre,description:Sre,LayoutComponent:Ere,setup:e=>{e.registerSidebarGroup({id:"private-registry",label:"Private Registry",items:[{icon:R.jsx(wM,{size:16}),label:"Registry"}],defaultExpanded:!0})}},xre=A.lazy(()=>xt(()=>import("./reports-layout-C1Rj5mWL.js"),__vite__mapDeps([70,1,2,3,4,5,6,7,8,12,33,19,20,71,21,64,72,30,31,32,22,23,24,25,26,13,27,28,29,47,54,56,57]))),Tre={id:"reports",description:"View automated reports with actionable insights",binding:mne,LayoutComponent:xre,setup:e=>{e.registerSidebarGroup({id:"observability",label:"Observability",items:[{icon:R.jsx(_M,{size:16}),label:"Reports"}]})}},Ore="user-sandbox",Cre="Create embeddable integration flows for platform end-users";var Are=(e,t,n,r,a,i,c,u)=>{let d=document.documentElement,f=["light","dark"];function m(y){(Array.isArray(e)?e:[e]).forEach(b=>{let S=b==="class",w=S&&i?a.map(x=>i[x]||x):a;S?(d.classList.remove(...w),d.classList.add(i&&i[y]?i[y]:y)):d.setAttribute(b,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,b=c&&y==="system"?g():y;m(b)}catch{}},Ire=A.createContext(void 0),kre={setTheme:e=>{},themes:[]},fae=()=>{var e;return(e=A.useContext(Ire))!=null?e:kre};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:`(${Are.toString()})(${m})`}})});const hd="org-admin",Nre={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]===hd},adminProject(e){return`${e}/${hd}`}},RP=A.createContext(void 0),hae=()=>{const e=A.useContext(RP);if(!e)throw new Error("useProjectContext must be used within a ProjectContextProvider");return e},pae=e=>{const t=Li.c(10),{children:n,org:r,project:a}=e;let i;t[0]!==r.slug||t[1]!==a.slug?(i=Nre.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=R.jsx(RP.Provider,{value:d,children:n}),t[7]=n,t[8]=d,t[9]=f):f=t[9],f},Mre=Y({authorizationEndpoint:k().url(),tokenEndpoint:k().url(),introspectionEndpoint:k().url().optional(),clientId:k(),clientSecret:k().optional(),scopes:me(k()),grantType:wt(["authorization_code","client_credentials"])}),Pre=Y({title:k().optional(),readOnlyHint:qe().optional(),destructiveHint:qe().optional(),idempotentHint:qe().optional(),openWorldHint:qe().optional()}),Dre=Y({name:k(),description:k().optional(),inputSchema:ut(k(),at()),outputSchema:ut(k(),at()).optional(),annotations:Pre.optional(),_meta:ut(k(),at()).optional()}),Lre=Y({headers:ut(k(),k()).optional()}),jre=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)")}),xP=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:wt(["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([jre,Lre]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:Mre.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(Dre).nullable().describe("Discovered tools from MCP"),bindings:me(k()).nullable().describe("Detected bindings"),status:wt(["active","inactive","error"]).describe("Current status")});xP.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()});xP.partial();function mae(e){return e!=null&&"command"in e}function gae(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Lu=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")}),TP=Lu.extend({selected_tools:Lu.shape.selected_tools.optional(),selected_resources:Lu.shape.selected_resources.optional(),selected_prompts:Lu.shape.selected_prompts.optional()}),vae=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:wt(["active","inactive"]).describe("Current status"),metadata:Y({instructions:k().nullable().describe("Instructions also used as system prompt")}).loose().describe("Metadata"),connections:me(Lu).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:wt(["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(TP).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:wt(["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(TP).optional().describe("New connections (replaces existing)")});var VC;(function(e){e.Completable="McpCompletable"})(VC||(VC={}));const $re=[],Ure={id:Ore,description:Cre,binding:$re},zre="workflows",Vre="Create workflows for platform end-users",Fre=A.lazy(()=>xt(()=>import("./plugin-header-nmFTSFoR.js"),__vite__mapDeps([73,12,33,74]))),Bre=A.lazy(()=>xt(()=>import("./plugin-empty-state-y1tYhlY3.js"),__vite__mapDeps([75,74]))),qre={id:zre,description:Vre,binding:[],renderHeader:e=>R.jsx(Fre,{...e}),renderEmptyState:()=>R.jsx(Bre,{})},Hre=[bre,Tre,$ne,Ure,Rre,qre],Hs=oL({component:()=>R.jsx(DY,{children:R.jsx(NY,{children:R.jsx(A.Suspense,{fallback:R.jsx(vM,{}),children:R.jsx(SA,{})})})})}),Gre=jt({getParentRoute:()=>Hs,path:"/login",component:Gt(()=>xt(()=>import("./login-BJHT5HcO.js"),__vite__mapDeps([76,4,14]))),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()}))}),Zre=jt({getParentRoute:()=>Hs,path:"/reset-password",component:Gt(()=>xt(()=>import("./reset-password-CoNNt1yx.js"),__vite__mapDeps([77,4,14]))),validateSearch:go(()=>Y({token:k().optional(),error:k().optional()}))}),Kre=jt({getParentRoute:()=>Hs,path:"/auth/$pathname",component:Gt(()=>xt(()=>import("./auth-catchall-B-_Zqliv.js"),[]))}),Wre=jt({getParentRoute:()=>Hs,path:"/connect/$sessionId",component:Gt(()=>xt(()=>import("./connect-Cjj5OaBk.js"),__vite__mapDeps([78,2,4,54,68,79])))}),Yre=jt({getParentRoute:()=>Hs,path:"/store/$appName",component:Gt(()=>xt(()=>import("./store-invite-CeIOMnWs.js"),[])),validateSearch:go(()=>Y({serverName:k().optional()}))}),Qre=jt({getParentRoute:()=>Hs,path:"/oauth/callback",component:Gt(()=>xt(()=>import("./oauth-callback-DZIR2PjB.js"),__vite__mapDeps([80,7,68])))}),ig=jt({getParentRoute:()=>Hs,id:"shell",component:Gt(()=>xt(()=>import("./shell-layout-CSB6jzfL.js"),__vite__mapDeps([81,82,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,108,7,109,110,21,42,111,50,112,17,113,58,114,71,74,40,115,116,11,117,53,52,62,118,72,119,120])))}),Xre=jt({getParentRoute:()=>ig,path:"/",component:Gt(()=>xt(()=>import("./home-gtPjmaoD.js"),__vite__mapDeps([121,54,116,19,12,17,18,107,14,117,53,95,55,93,4])))}),Jre=jt({getParentRoute:()=>ig,path:"/$org",beforeLoad:({params:e})=>{throw _m({to:"/$org/$project",params:{org:e.org,project:hd}})}}),Jn=jt({getParentRoute:()=>ig,path:"/$org/$project",component:Gt(()=>xt(()=>import("./project-layout-BqSVP5TE.js"),__vite__mapDeps([122,115,2,5,9,10,89,88,4,114,116,8,67,57,12,64,15,56,33,101,118,71,95,55,14,43,58,53,46,3,87,1,123,124,125,126,127,110,7,17,128,129,47,99,19,60,119,109,130]))),validateSearch:Y({settings:k().optional()})}),eoe=jt({getParentRoute:()=>Jn,path:"/",component:Gt(()=>xt(()=>import("./page-iyMzbA2I.js"),__vite__mapDeps([131,82,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,108,7,109,110,21,42,112,111,50,17])))}),toe=jt({getParentRoute:()=>Jn,path:"/tasks",component:Gt(()=>xt(()=>import("./tasks-C15WiR9-.js"),__vite__mapDeps([132,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,134,116,2,5,49,135,136,137,47,19,138,71,21,83,84,3,4,85,86,87,1,88,89,63,56,33,90,91,60,8,92,36])))}),noe=jt({getParentRoute:()=>Jn,path:"/settings",beforeLoad:({params:e})=>{const t=e.project===hd;throw _m({to:"/$org/$project",params:e,search:{settings:t?"org.general":`project:${e.project}:general`}})},component:()=>null}),Vo=({params:e})=>{if(e.project!==hd)throw _m({to:"/$org/$project",params:{org:e.org,project:e.project}})},roe=jt({getParentRoute:()=>Jn,path:"/projects",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./projects-list-3Z4u-J4l.js"),__vite__mapDeps([139,115,2,5,111,50,10,67,57,108,7,18,14,116,140,136,113,4,9,95,55,58,12,137,13])))}),ooe=jt({getParentRoute:()=>Jn,path:"/members",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./members-OikP95XQ.js"),__vite__mapDeps([141,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,137,102,46,37,20,3,4,5,130,2,86,87,1,116,47,53,9,142,143,17,42,15,95,55,56,33,58,54,16,66,118,107,144,145,63])))}),aoe=jt({getParentRoute:()=>Jn,path:"/mcps",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connections-CQQbEDkG.js"),__vite__mapDeps([146,110,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,147,54,102,46,47,19,30,111,50,10,134,116,2,5,49,87,1,127,53,137,9,95,55,56,33,58,3,4,119,16,61,106,148,42,135,136,149,17]))),validateSearch:go(()=>Y({action:wt(["create"]).optional()}))}),soe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./connection-detail-DOePEdlc.js"),__vite__mapDeps([150,108,7,18,14,149,17,42,105,151,65,87,1,152,68,5,119,2,4,90,66,3,125,127,124,126,110,123,56,57,12,33,129,79,153,145,82,83,84,85,86,88,89,63,39,91,60,8,92,36,93,67,94,9,10,95,55,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,61,106,107,109,21,137,154,155,111,50,156,133,11,24,41,22,54,16,157,72,134,116,49,53,30,148,140,136,158,159,160]))),validateSearch:go(()=>Y({tab:k().optional()}))}),ioe=jt({getParentRoute:()=>Jn,path:"/mcps/$connectionId/$collectionName/$itemId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./collection-detail-DcWT7KrG.js"),__vite__mapDeps([161,108,7,18,14,3,4,5,95,55,58,155,111,50,10,67,57,151,65,82,83,84,85,86,87,1,2,88,89,63,56,12,33,90,39,91,60,8,92,36,93,94,9,96,25,97,98,32,19,20,59,99,47,100,101,102,46,103,13,64,104,23,105,61,106,107,109,110,21,42,69,137,152,68,119,66,125,127,124,126,123,17,129,79,153,145,160,133,11,24,41,22,54,162,157,120,138,142,163]))),validateSearch:go(()=>Y({replayId:k().optional()}))}),coe=jt({getParentRoute:()=>Jn,path:"/monitoring",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-DapgIfZL.js"),__vite__mapDeps([164,108,7,18,14,111,50,10,67,57,137,13,165,47,63,12,64,38,51,66,69,162,93,56,33,21,102,46,22,128,129,5,16,17,42,147,54,11,53,130,92,36,3,4,84,101,39,37,144,145,58,154,15,55,119,2]))),validateSearch:go(()=>Y({tab:wt(["logs","dashboards"]).default("logs"),from:k().default("now-30m"),to:k().default("now"),connectionId:me(k()).optional().default([]),virtualMcpId:me(k()).optional().default([]),tool:k().default(""),status:wt(["all","success","errors"]).default("all"),search:k().default(""),page:we().optional(),streaming:qe().default(!0),propertyFilters:k().default(""),hideSystem:qe().default(!1)}))}),loe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-view-DRykeaHO.js"),__vite__mapDeps([166,5,165,47,63,67,57,12,64,38,51,66,69,162,93,56,33,21,13,14,155,111,50,10,137,58,101,39,17,42,107])))}),uoe=jt({getParentRoute:()=>Jn,path:"/monitoring/dashboards/$dashboardId/edit",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./monitoring-dashboard-edit-Yzekapph.js"),__vite__mapDeps([167,3,4,5,14,102,46,37,12,63,33,56,57,28,69,17,42,48,155,111,50,10,67,151,65,7,137,13])))}),OP=jt({getParentRoute:()=>Jn,path:"/store",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./page-PH6ZVWlA.js"),__vite__mapDeps([168,111,50,10,67,57,137,13,51,72,7,18,2,35,36,127,5,3,4,169,108,14,170,26,106,143,17,148,54,102,46,126,63,12,33,107,87,1,88])))}),doe=jt({getParentRoute:()=>OP,path:"/$appName",component:Gt(()=>xt(()=>import("./mcp-server-detail-BhlbPBsp.js"),__vite__mapDeps([171,19,7,111,50,10,67,57,102,46,30,33,17,11,12,13,62,108,18,14,158,2,90,126,159,104,160,133,24,25,39,41,22,47,54,105,61,106,155,154,170,26,143,148,137,87,1,3,4,5,119,88,124,125,127,110,169,31]))),validateSearch:go(()=>Y({registryId:k().optional(),serverName:k().optional(),itemId:k().optional()}))}),foe=jt({getParentRoute:()=>Jn,path:"/agents",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agents-vcyOPs3U.js"),__vite__mapDeps([172,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,111,50,10,137,147,54,102,46,134,116,2,5,49,103,84,3,4,53,16,61,42,98,173,135,136]))),validateSearch:go(()=>Y({action:wt(["create"]).optional()}))}),hoe=jt({getParentRoute:()=>Jn,path:"/agents/$agentId",beforeLoad:Vo,component:Gt(()=>xt(()=>import("./agent-detail-D5a7TiOz.js"),__vite__mapDeps([174,83,5,84,3,4,85,86,87,1,2,88,89,14,63,56,57,12,33,90,39,91,60,18,8,92,36,108,7,102,46,100,47,15,58,67,13,27,69,17,163,98,137,155,111,50,10,151,65,160,133,11,24,25,41,22,54,105,61,106,37,9,99,119,94,169,153,101,64,31,66,173]))),validateSearch:go(()=>Y({tab:k().optional()}))}),poe=jt({getParentRoute:()=>Jn,path:"/workflows",component:Gt(()=>xt(()=>import("./workflow-N0cDVEpp.js"),__vite__mapDeps([175,5,156,110,133,11,12,13,24,25,39,41,67,57,22,108,7,18,14,54,102,46,64,16,97,61,42,157,72,134,116,2,49,50,125,53,3,4,17,155,111,10,137,87,1,60,74])))}),CP=jt({getParentRoute:()=>Jn,path:"/$pluginId",component:Gt(()=>xt(()=>import("./dynamic-plugin-layout-CMgyIw65.js"),__vite__mapDeps([176,7,1,6,2,3,4,5,8,111,50,10,67,57])))}),moe=[],goe=[],AP=[];Hre.forEach(e=>{if(!e.setup)return;const t={parentRoute:CP,routing:{createRoute:jt,lazyRouteComponent:Gt},registerRootSidebarItem:n=>moe.push({pluginId:e.id,...n}),registerSidebarGroup:n=>goe.push({pluginId:e.id,...n}),registerPluginRoutes:n=>{AP.push(...n)}};e.setup(t)});const voe=CP.addChildren(AP),yoe=OP.addChildren([doe]),_oe=[eoe,toe,noe,roe,ooe,aoe,soe,ioe,coe,loe,uoe,yoe,foe,hoe,poe,voe],boe=Jn.addChildren(_oe),woe=ig.addChildren([Xre,Jre,boe]),Soe=Hs.addChildren([woe,Gre,Zre,Kre,Qre,Wre,Yre]),Eoe=hL({routeTree:Soe}),Roe=document.getElementById("root");X5.createRoot(Roe).render(R.jsx(A.StrictMode,{children:R.jsx(gL,{router:Eoe})}));export{SM as $,Xoe as A,D_ as B,xP as C,oN as D,tae as E,JV as F,_d as G,rn as H,An as I,RH as J,eA as K,Nre as L,lt as M,koe as N,hd as O,pae as P,IN as Q,EH as R,vM as S,za as T,zi as U,vae as V,fZ as W,vN as X,jD as Y,MD as Z,T1 as _,Em as a,G0 as a$,Noe as a0,rg as a1,Rm as a2,bM as a3,zG as a4,$oe as a5,YB as a6,Voe as a7,Foe as a8,zoe as a9,me as aA,wt as aB,Is as aC,yd as aD,YG as aE,QG as aF,WG as aG,SA as aH,xm as aI,Hre as aJ,CN as aK,uH as aL,Zb as aM,_N as aN,zk as aO,Kb as aP,nd as aQ,kk as aR,Gb as aS,Hb as aT,dH as aU,fH as aV,joe as aW,Loe as aX,Doe as aY,PY as aZ,pd as a_,WB as aa,Boe as ab,Uoe as ac,MG as ad,PG as ae,DG as af,LG as ag,jG as ah,Hoe as ai,qoe as aj,Zoe as ak,Goe as al,Koe as am,Woe as an,Yoe as ao,gD as ap,Hee as aq,Yee as ar,oae as as,xi as at,fx as au,Coe as av,Ooe as aw,A4 as ax,k4 as ay,Aoe as az,yl as b,_M as b$,Ku as b0,bD as b1,Zn as b2,Or as b3,lD as b4,We as b5,et as b6,ar as b7,lb as b8,ht as b9,GI as bA,Kn as bB,we as bC,rt as bD,qe as bE,De as bF,at as bG,go as bH,bl as bI,cae as bJ,iae as bK,rr as bL,le as bM,Do as bN,rN as bO,Lo as bP,ite as bQ,sP as bR,ja as bS,vre as bT,xt as bU,fae as bV,cV as bW,Toe as bX,fr as bY,wre as bZ,WV as b_,eJ as ba,k1 as bb,_X as bc,pX as bd,HQ as be,GQ as bf,KQ as bg,rX as bh,Xm as bi,BM as bj,DM as bk,LM as bl,jM as bm,$M as bn,UM as bo,VM as bp,Hu as bq,CM as br,q1 as bs,iX as bt,cX as bu,FM as bv,Qm as bw,og as bx,ut as by,Gr as bz,Li as c,lae as c0,mne as c1,yM as c2,Mne as c3,uae as c4,moe as c5,goe as c6,UW as c7,Sb as c8,ate as c9,iN as cA,Wq as cB,Xq as cC,Yq as cD,jq as cE,xoe as cF,qC as cG,TD as cH,AD as cI,PD as cJ,ID as cK,kD as cL,LD as cM,hx as cN,DD as cO,ND as cP,mJ as cQ,pt as cR,oP as cS,iee as cT,WA as cU,wW as cV,Us as cW,rae as cX,pU as ca,Poe as cb,nk as cc,Ib as cd,Moe as ce,dae as cf,Ma as cg,Ioe as ch,sae as ci,GV as cj,qV as ck,zV as cl,lk as cm,Ir as cn,BG as co,vA as cp,_A as cq,sO as cr,Zq as cs,jo as ct,rd as cu,n1 as cv,ul as cw,Ls as cx,Va as cy,$o as cz,$j as d,Jc as e,Joe as f,Qoe as g,eae as h,mae as i,R as j,oa as k,ra as l,RD as m,JC as n,Y as o,gae as p,QV as q,A as r,k as s,_T as t,hae as u,MY as v,qb as w,XV as x,gk as y,xk as z};