decocms 4.61.1 → 4.61.2

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 (226) hide show
  1. package/dist/client/assets/{AlertCircle-C__5mMuz.js → AlertCircle-BsA2wZmN.js} +1 -1
  2. package/dist/client/assets/{AreaChart-CPAe8LbH.js → AreaChart-BHEk1VG5.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-D9-IQ-Jm.js → ArrowUp-CDnEKV2Y.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-zrEVpN9d.js → ArrowUpRight-DdPCnlNm.js} +1 -1
  5. package/dist/client/assets/{Check-BJiMMf7v.js → Check-CcLLJc-z.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-DRbpAaoA.js → CheckCircle-lXciCGfG.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-CBLc4m6w.js → ChevronDown-BmFaSDo8.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-BjHi2zTb.js → ChevronRight-C3Tgk-3m.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-DmNuFMik.js → ChevronUp-Dew3RmKl.js} +1 -1
  10. package/dist/client/assets/{Circle--mEsLc32.js → Circle-C_fdyhr8.js} +1 -1
  11. package/dist/client/assets/{Copy01-D5lFZSIr.js → Copy01-b3lIb5yu.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-C9eUzaCG.js → DotsVertical-CK1a4mKj.js} +1 -1
  13. package/dist/client/assets/{Eye-CSrt2uwE.js → Eye-DM8bmzm7.js} +1 -1
  14. package/dist/client/assets/{FilterLines-CRMm2AqP.js → FilterLines-DCNZa1GS.js} +1 -1
  15. package/dist/client/assets/{Globe01-SD7o4WjA.js → Globe01-B6kdhpV9.js} +1 -1
  16. package/dist/client/assets/{Globe04-Biz86Os4.js → Globe04-CGLGspo5.js} +1 -1
  17. package/dist/client/assets/{HardDrive-CbxCnB3J.js → HardDrive-CR6Rs-a1.js} +1 -1
  18. package/dist/client/assets/{Key01-DJNC5dou.js → Key01-1r4YrQER.js} +1 -1
  19. package/dist/client/assets/{LayoutLeft-CurO7lkf.js → LayoutLeft-DvNM8qhm.js} +1 -1
  20. package/dist/client/assets/{LinkExternal01-B3st3yUn.js → LinkExternal01-Ck4lryDE.js} +1 -1
  21. package/dist/client/assets/{List-C-Y7abIw.js → List-DfPIAPM_.js} +1 -1
  22. package/dist/client/assets/{Loading02-BqCrbGU_.js → Loading02-Dx-xiZND.js} +1 -1
  23. package/dist/client/assets/{Monitor01-DpZudhGT.js → Monitor01-D_DrBwt_.js} +1 -1
  24. package/dist/client/assets/{Package-DWNnL7Bo.js → Package-CV2Q9Uup.js} +1 -1
  25. package/dist/client/assets/{Palette-Cyg4gkHm.js → Palette-BY5BmUDa.js} +1 -1
  26. package/dist/client/assets/{Play-BsdkOEt3.js → Play-Ci1OqtIO.js} +1 -1
  27. package/dist/client/assets/{Plus-CdBUTSrl.js → Plus-Cgq7ON9K.js} +1 -1
  28. package/dist/client/assets/{SearchLg-_kiE3lNL.js → SearchLg-2as_l8YT.js} +1 -1
  29. package/dist/client/assets/{SearchMd-CPb906Aj.js → SearchMd-ZfoTl6vw.js} +1 -1
  30. package/dist/client/assets/{Settings02-BaPvDdXK.js → Settings02-CS2jOfO5.js} +1 -1
  31. package/dist/client/assets/{Shield01-CA1C0PT_.js → Shield01-C6TdRfmI.js} +1 -1
  32. package/dist/client/assets/{Star01-B19iYHho.js → Star01-2DHf7kTZ.js} +1 -1
  33. package/dist/client/assets/{Stars01-RBw3Iorj.js → Stars01-BEHbN5c3.js} +1 -1
  34. package/dist/client/assets/{Stars02-DMp85N4F.js → Stars02-HLp9q8iP.js} +1 -1
  35. package/dist/client/assets/{Sun-BvLzEM7C.js → Sun-ByaEjJ0N.js} +1 -1
  36. package/dist/client/assets/{SwitchHorizontal01-_8RyBCsb.js → SwitchHorizontal01-ilLzkPr_.js} +1 -1
  37. package/dist/client/assets/{Tool01-BRwOHymx.js → Tool01-DVCGutKV.js} +1 -1
  38. package/dist/client/assets/{Tool02-DpdINpQD.js → Tool02-CSTMjTef.js} +1 -1
  39. package/dist/client/assets/{Trash01-BaM_ljKo.js → Trash01--uX5q_ti.js} +1 -1
  40. package/dist/client/assets/{TrendUp01-D_1HcFdI.js → TrendUp01-acR-ekUr.js} +1 -1
  41. package/dist/client/assets/{Upload01-H_9RE18o.js → Upload01-BaheeKQP.js} +1 -1
  42. package/dist/client/assets/{User01-CwCos6Py.js → User01-5hu8D3_O.js} +1 -1
  43. package/dist/client/assets/{Users01-CqkgkQyP.js → Users01-Dh5E4dqf.js} +1 -1
  44. package/dist/client/assets/{Users03-D5qmvjdI.js → Users03-tGwfKVJc.js} +1 -1
  45. package/dist/client/assets/{X-B6q2eNkF.js → X-OFSHASit.js} +1 -1
  46. package/dist/client/assets/{XCircle-Vpo_BauK.js → XCircle-D3cI1Aep.js} +1 -1
  47. package/dist/client/assets/{XClose-BAeGDKN0.js → XClose-D5Ra7e-f.js} +1 -1
  48. package/dist/client/assets/{Zap-DVunWyGl.js → Zap-CgjpaG4V.js} +1 -1
  49. package/dist/client/assets/{ZapSquare-a7mV4MQr.js → ZapSquare-Dzb50Gix.js} +1 -1
  50. package/dist/client/assets/{ZoomOut-CC64T3-s.js → ZoomOut-DYAXxr_v.js} +1 -1
  51. package/dist/client/assets/{access-gate-BHgO0o7t.js → access-gate-B4XS-sin.js} +1 -1
  52. package/dist/client/assets/{add-section-modal-Ax-dPZ4W.js → add-section-modal-2QsV6sh6.js} +1 -1
  53. package/dist/client/assets/{agent-icon-GwlSPXVL.js → agent-icon-dPkJbbXq.js} +1 -1
  54. package/dist/client/assets/{agents-list-BZzO1NhS.js → agents-list-CBbQQUEx.js} +1 -1
  55. package/dist/client/assets/{ai-providers-Dz0ss86P.js → ai-providers-CeevjV97.js} +1 -1
  56. package/dist/client/assets/{alert-B1zCZRQ_.js → alert-DBWDLZgp.js} +1 -1
  57. package/dist/client/assets/{alert-dialog-DBB5CaN8.js → alert-dialog-Bd5XLC3F.js} +1 -1
  58. package/dist/client/assets/{app-editor-Bm1z14-p.js → app-editor-CC9wPnl_.js} +1 -1
  59. package/dist/client/assets/{auth-9zI7uyI_.js → auth-D_bm0-t3.js} +1 -1
  60. package/dist/client/assets/{auth-catchall-DiWk8VnS.js → auth-catchall-CDVAqOkY.js} +1 -1
  61. package/dist/client/assets/{auth-entry-CoDOxbKh.js → auth-entry-Bo3LWJI9.js} +1 -1
  62. package/dist/client/assets/{auth-split-layout-D2MQFkDk.js → auth-split-layout-DB8qmgLK.js} +1 -1
  63. package/dist/client/assets/{authenticate-and-persist-oauth-D1WuDeU5.js → authenticate-and-persist-oauth-ClCvWDci.js} +1 -1
  64. package/dist/client/assets/{automation-list-row-D9qq5pJq.js → automation-list-row-ByoN-o6y.js} +1 -1
  65. package/dist/client/assets/{automation-runs-B4v9bIbU.js → automation-runs-Y9TSuy3F.js} +1 -1
  66. package/dist/client/assets/{automations-CLCryFUc.js → automations-DDTM3E3g.js} +1 -1
  67. package/dist/client/assets/{autosend-CVG-zQs7.js → autosend-qB5BaOSA.js} +1 -1
  68. package/dist/client/assets/{avatar-BYTTt2km.js → avatar-DOYkgu8W.js} +1 -1
  69. package/dist/client/assets/{badge-CUmMlsBT.js → badge-BMMjntMn.js} +1 -1
  70. package/dist/client/assets/{block-document-DsousJkJ.js → block-document-CCtmnkDi.js} +1 -1
  71. package/dist/client/assets/{brand-context-CtJ6cICC.js → brand-context-Bkaj5nz3.js} +1 -1
  72. package/dist/client/assets/{buckets-w58Ia8Bn.js → buckets-B22IEfKD.js} +1 -1
  73. package/dist/client/assets/{bulk-category-panel-6n-2Zfwo.js → bulk-category-panel-C3pu2Jik.js} +1 -1
  74. package/dist/client/assets/{calendar-Y3krjFiC.js → calendar-Io_vhk-a.js} +1 -1
  75. package/dist/client/assets/{capability-load-error-B_5imwHQ.js → capability-load-error-COzn8-Xb.js} +1 -1
  76. package/dist/client/assets/{card-BKGavoj3.js → card-Bc92PJFP.js} +1 -1
  77. package/dist/client/assets/{category-editor-DQT-kjqq.js → category-editor-C1FxzSFF.js} +1 -1
  78. package/dist/client/assets/{chat-context-1Zkmke_h.js → chat-context-Awe2cIoY.js} +1 -1
  79. package/dist/client/assets/{checkbox-Ckmw9Mfi.js → checkbox-B-y-IHdE.js} +1 -1
  80. package/dist/client/assets/{cli-auth-success-BjyaQWg8.js → cli-auth-success-BlIIxKPd.js} +1 -1
  81. package/dist/client/assets/{collection-detail-eV4RXYAt.js → collection-detail-CcnshY5k.js} +1 -1
  82. package/dist/client/assets/{collection-display-button-CYSdyqyD.js → collection-display-button-BVhQtAEp.js} +1 -1
  83. package/dist/client/assets/{collection-search-DOi2t6LQ.js → collection-search-DSP3ov6A.js} +1 -1
  84. package/dist/client/assets/{collection-table-wrapper-DVD9VKmA.js → collection-table-wrapper-CeR2zvlX.js} +1 -1
  85. package/dist/client/assets/{collection-tabs-Dmvezwf-.js → collection-tabs-PTC62n_G.js} +1 -1
  86. package/dist/client/assets/{command-C07_gdqU.js → command-DzGwZa9g.js} +1 -1
  87. package/dist/client/assets/{commerce-onboarding-CJ6BJIWe.js → commerce-onboarding-v6NmdNz5.js} +1 -1
  88. package/dist/client/assets/{connect-desktop-dialog-hKwz2gHB.js → connect-desktop-dialog-DiutLBhU.js} +1 -1
  89. package/dist/client/assets/{connection-card-BYuySvJ3.js → connection-card-CXwWR_5h.js} +1 -1
  90. package/dist/client/assets/{connection-detail-dLa-DHol.js → connection-detail-B_tl4TZx.js} +1 -1
  91. package/dist/client/assets/{connection-form-helpers-CGNedBLj.js → connection-form-helpers-POWe2kJ-.js} +1 -1
  92. package/dist/client/assets/{connections-DiDm4jib.js → connections-C1NH7yoX.js} +1 -1
  93. package/dist/client/assets/{decopilot-sse-pool-CBL8Jn9p.js → decopilot-sse-pool-CJtSg3wj.js} +1 -1
  94. package/dist/client/assets/{dialog-WQh-gp8S.js → dialog-DZtdYFi_.js} +1 -1
  95. package/dist/client/assets/{domain-settings-C-0-psaT.js → domain-settings-C7CfCyw6.js} +1 -1
  96. package/dist/client/assets/{drawer-C1W7KPBD.js → drawer-Ck_Oak77.js} +1 -1
  97. package/dist/client/assets/{dropdown-menu-D4PeOhjt.js → dropdown-menu-C9SSwIby.js} +1 -1
  98. package/dist/client/assets/{empty-state-NAWKd2m2.js → empty-state-DD15-E7x.js} +1 -1
  99. package/dist/client/assets/{extract-connection-data-CeaTTHDG.js → extract-connection-data-Di6SAuY0.js} +1 -1
  100. package/dist/client/assets/{file-explorer-B0DhTQmo.js → file-explorer-CMqCjVts.js} +1 -1
  101. package/dist/client/assets/{file-type-icon-DN87_g0K.js → file-type-icon-CuakGACj.js} +1 -1
  102. package/dist/client/assets/{files-BtvoHj95.js → files-DrQIRu5a.js} +1 -1
  103. package/dist/client/assets/{form-ChRNwWXa.js → form-YJrSMpNL.js} +1 -1
  104. package/dist/client/assets/{general-D8h8sXkB.js → general-XFvP4tXw.js} +1 -1
  105. package/dist/client/assets/{github-repo-picker-qq2y6xuE.js → github-repo-picker-VDMXf52q.js} +1 -1
  106. package/dist/client/assets/{hooks-k9Lihge2.js → hooks-GnFkomrq.js} +1 -1
  107. package/dist/client/assets/{index-SPy5-3x1.js → index-0yvnZiwb.js} +1 -1
  108. package/dist/client/assets/{index-DARNlAjK.js → index-BraRl60q.js} +1 -1
  109. package/dist/client/assets/{index-BzAvU-Br.js → index-CCnsgP9d.js} +1 -1
  110. package/dist/client/assets/{index-IOAi6PyX.js → index-CEI6wi5Z.js} +1 -1
  111. package/dist/client/assets/{index-DBFf6th0.js → index-Cim2j5YD.js} +1 -1
  112. package/dist/client/assets/{index-Cvg8wlf2.js → index-CsZhMKFM.js} +3 -3
  113. package/dist/client/assets/{index-EnziWkqS.js → index-Cyr1IOqy.js} +1 -1
  114. package/dist/client/assets/{index-GcBIvq8C.js → index-DFCCfX3B.js} +1 -1
  115. package/dist/client/assets/{index-ssrb4176.js → index-DKyQrM3l.js} +1 -1
  116. package/dist/client/assets/{index-j_Vqvu4R.js → index-DPKpPAQv.js} +1 -1
  117. package/dist/client/assets/{index-DDqctd2I.js → index-DPzJsdBC.js} +1 -1
  118. package/dist/client/assets/{index-CF7vJTQ1.js → index-DS3hrf0F.js} +1 -1
  119. package/dist/client/assets/{index-D3FFjINn.js → index-Dv19SgJH.js} +5 -5
  120. package/dist/client/assets/{index-TIHB_eNq.js → index-MwzluG1w.js} +1 -1
  121. package/dist/client/assets/{index-redirect-Dy0h6dcP.js → index-redirect-Hp_EA6DJ.js} +1 -1
  122. package/dist/client/assets/{input-DxEfOo7U.js → input-D5ccsU_1.js} +1 -1
  123. package/dist/client/assets/{integration-icon-CSm7Qy8c.js → integration-icon-6pGkEdul.js} +1 -1
  124. package/dist/client/assets/{invite-member-dialog-zkg9eKXe.js → invite-member-dialog-DV_-RNy8.js} +1 -1
  125. package/dist/client/assets/{label-pwPiXf8V.js → label-BULuaMoF.js} +1 -1
  126. package/dist/client/assets/{layout-CwJiiVGT.js → layout-BloKJFhD.js} +1 -1
  127. package/dist/client/assets/{login-B8zzTriK.js → login-Dzlh5qYT.js} +1 -1
  128. package/dist/client/assets/{mcp-oauth-DSz8vxQO.js → mcp-oauth-z9GFPjDo.js} +1 -1
  129. package/dist/client/assets/{members-e3cQllrC.js → members-BfULkB51.js} +1 -1
  130. package/dist/client/assets/{monaco-editor-CAHRW4WA.js → monaco-editor-CiP0ChuC.js} +1 -1
  131. package/dist/client/assets/{monitoring-stats-row-CsT90p2N.js → monitoring-stats-row-CLHK9ypI.js} +1 -1
  132. package/dist/client/assets/{oauth-callback-VPY9HivQ.js → oauth-callback-CdWGFVi8.js} +1 -1
  133. package/dist/client/assets/{oauth-callback-ai-provider-7Otx8tRA.js → oauth-callback-ai-provider-qp9LO32T.js} +1 -1
  134. package/dist/client/assets/{onboarding-Cg7clNbz.js → onboarding-iL9ZeHnE.js} +1 -1
  135. package/dist/client/assets/{org-install-DOT7wW8z.js → org-install-ZxTYabEU.js} +1 -1
  136. package/dist/client/assets/{org-layout-CAalwLCr.js → org-layout-DWaUEBqs.js} +1 -1
  137. package/dist/client/assets/{organization-choice-C4m3OUFF.js → organization-choice-5GYvmez0.js} +1 -1
  138. package/dist/client/assets/{orgs-C6fA-Nxo.js → orgs-CRRA1WCm.js} +1 -1
  139. package/dist/client/assets/{page-seo-form-BwL8BfIG.js → page-seo-form-C4SLs6YG.js} +1 -1
  140. package/dist/client/assets/page-seo-sheet-CqzS0lEJ.js +1 -0
  141. package/dist/client/assets/{popover-BWgdS4nk.js → popover-C5PoRwEk.js} +1 -1
  142. package/dist/client/assets/{post-editor-CGwr_HH8.js → post-editor-DQzYF8Ef.js} +1 -1
  143. package/dist/client/assets/{primitives-D9ISUiF0.js → primitives-BEmjSMO9.js} +1 -1
  144. package/dist/client/assets/{profile-xjJT_rVS.js → profile-Dh73-0Iy.js} +1 -1
  145. package/dist/client/assets/project-app-view-KN05BOuo.js +1 -0
  146. package/dist/client/assets/record-editor-BGeMoeUP.js +1 -0
  147. package/dist/client/assets/registry-DGAgXfxF.js +2 -0
  148. package/dist/client/assets/{registry-layout-BUy4U6hp.js → registry-layout-BDNmgEhN.js} +1 -1
  149. package/dist/client/assets/{reports-BSqZJIfK.js → reports-C6ascunL.js} +1 -1
  150. package/dist/client/assets/{require-capability-CCYSfrX4.js → require-capability-BjscC7QS.js} +1 -1
  151. package/dist/client/assets/{required-auth-layout-BbJDdJdw.js → required-auth-layout-R2McgzF5.js} +1 -1
  152. package/dist/client/assets/{reset-password--7kv0fD0.js → reset-password-Fw4tx_9w.js} +1 -1
  153. package/dist/client/assets/{roles-8cBznTZR.js → roles-D6vLw9pS.js} +1 -1
  154. package/dist/client/assets/{search-input-Bu2qiTLD.js → search-input-BREJK7qA.js} +1 -1
  155. package/dist/client/assets/{secrets-BuA8w6lw.js → secrets-B2rqgV3S.js} +1 -1
  156. package/dist/client/assets/{sections-editor-Bsd0iXZp.js → sections-editor-CKmy6jCA.js} +1 -1
  157. package/dist/client/assets/{select-CIDMHDRe.js → select-CVMXwLRV.js} +1 -1
  158. package/dist/client/assets/{select-model-BLJUdbv5.js → select-model-Cg3FzUNI.js} +1 -1
  159. package/dist/client/assets/{seo-editor-BBZtjoTI.js → seo-editor-DVVtxnZN.js} +1 -1
  160. package/dist/client/assets/{settings-layout-jZC7h9Vb.js → settings-layout-CS4A10kE.js} +1 -1
  161. package/dist/client/assets/{settings-section-D69S9E0I.js → settings-section-BYCtjEaG.js} +1 -1
  162. package/dist/client/assets/{shell-controls-Borp0IEW.js → shell-controls-Daj0PZIQ.js} +1 -1
  163. package/dist/client/assets/{shell-layout-BH9Ivq57.js → shell-layout-Bi4LjwsI.js} +1 -1
  164. package/dist/client/assets/{sidebar-DqxxQz6a.js → sidebar-DRSu2iBz.js} +1 -1
  165. package/dist/client/assets/{skeleton-CgTyvIfS.js → skeleton-BZzqWIif.js} +1 -1
  166. package/dist/client/assets/{sso-SPkRvlC8.js → sso-C6uqUsih.js} +1 -1
  167. package/dist/client/assets/{store-04ZLKBxB.js → store-BZ7eoytz.js} +1 -1
  168. package/dist/client/assets/store-registry-DA7t2U9g.js +2 -0
  169. package/dist/client/assets/{studio-tools-BgAyimPw.js → studio-tools-CTswP4mA.js} +1 -1
  170. package/dist/client/assets/{switch-DkvkIrzq.js → switch-B36ltQ63.js} +1 -1
  171. package/dist/client/assets/{table-BmCQne9U.js → table-CLRsCUXA.js} +1 -1
  172. package/dist/client/assets/{tabs-WNIrx41Q.js → tabs-BoNNus4B.js} +1 -1
  173. package/dist/client/assets/{textarea-CZTZGoFe.js → textarea-DPLwPKZJ.js} +1 -1
  174. package/dist/client/assets/{toggle-group-BhyMCiuu.js → toggle-group-DkGsY2u-.js} +1 -1
  175. package/dist/client/assets/{toolbar-DUZ2w4vN.js → toolbar-CedVmC1P.js} +1 -1
  176. package/dist/client/assets/{toolbar-icon-button-CyxV7J7K.js → toolbar-icon-button-5fStNBy9.js} +1 -1
  177. package/dist/client/assets/{tools-list-DvZ-3uOc.js → tools-list-DyAKlhYk.js} +1 -1
  178. package/dist/client/assets/{tooltip-CiXxbAOc.js → tooltip-Cs5hng3q.js} +1 -1
  179. package/dist/client/assets/{use-ai-providers-ZfoEvmNY.js → use-ai-providers-D77UFwvU.js} +1 -1
  180. package/dist/client/assets/{use-automations-DmtHpUAX.js → use-automations-WNGih4F_.js} +1 -1
  181. package/dist/client/assets/{use-capability-BigpWO7w.js → use-capability-DmeYLlad.js} +1 -1
  182. package/dist/client/assets/{use-clock-tick-DOabyHE5.js → use-clock-tick-CB7NlnVZ.js} +1 -1
  183. package/dist/client/assets/{use-collections-7MdzRrDf.js → use-collections-Cl7KVWNQ.js} +1 -1
  184. package/dist/client/assets/{use-connection-0YGfXXXM.js → use-connection-CcLotHiI.js} +1 -1
  185. package/dist/client/assets/{use-copy-BQO62X_d.js → use-copy-B-pxrD6E.js} +1 -1
  186. package/dist/client/assets/{use-create-virtual-mcp-DUAN7sfZ.js → use-create-virtual-mcp-DPkT8FPW.js} +1 -1
  187. package/dist/client/assets/{use-debounced-autosave-CNjFdqON.js → use-debounced-autosave-teletZQd.js} +1 -1
  188. package/dist/client/assets/{use-debounced-value-CxU40MZW.js → use-debounced-value-ChKSUuxz.js} +1 -1
  189. package/dist/client/assets/{use-deco-credits-BrZmeIWZ.js → use-deco-credits-1Xd5keqC.js} +1 -1
  190. package/dist/client/assets/{use-decopilot-events-DYfuIh9O.js → use-decopilot-events-CWf9qNc0.js} +1 -1
  191. package/dist/client/assets/{use-delete-connection-BgWgmyGA.js → use-delete-connection-BJuEHINL.js} +1 -1
  192. package/dist/client/assets/{use-deployment-admin-DB-5VSbV.js → use-deployment-admin-C3JCAXzA.js} +1 -1
  193. package/dist/client/assets/{use-file-configs-xRl8wR9j.js → use-file-configs-G_3bUBDS.js} +1 -1
  194. package/dist/client/assets/{use-infinite-scroll-C9_S_5KL.js → use-infinite-scroll-BTdf9pFZ.js} +1 -1
  195. package/dist/client/assets/{use-join-requests-BrIr_7zB.js → use-join-requests-NgN8gue3.js} +1 -1
  196. package/dist/client/assets/{use-mcp-client-CClO-4jR.js → use-mcp-client-Bv8WGceO.js} +1 -1
  197. package/dist/client/assets/{use-mcp-tools-CP1pJ9FP.js → use-mcp-tools-_p3Gu3UX.js} +1 -1
  198. package/dist/client/assets/{use-members-BRkIKC2W.js → use-members-eaM3vNiv.js} +1 -1
  199. package/dist/client/assets/{use-mobile-DE9td55c.js → use-mobile-DhhfLpzh.js} +1 -1
  200. package/dist/client/assets/{use-navigate-to-agent-jx-u6VG0.js → use-navigate-to-agent-BsdctirU.js} +1 -1
  201. package/dist/client/assets/{use-org-auth-client-BAZD-XfS.js → use-org-auth-client-DYoTiK8H.js} +1 -1
  202. package/dist/client/assets/{use-org-sso-DwW4iwJx.js → use-org-sso-DDm0m5Eb.js} +1 -1
  203. package/dist/client/assets/{use-organization-roles-Bnjh1LPW.js → use-organization-roles-CcwnCugJ.js} +1 -1
  204. package/dist/client/assets/{use-organization-settings-DZsps1AQ.js → use-organization-settings-C4hP3pVq.js} +1 -1
  205. package/dist/client/assets/{use-registry-connections-BLLAhhOv.js → use-registry-connections-xg-zrNmx.js} +1 -1
  206. package/dist/client/assets/{use-secrets-D4wr9PP7.js → use-secrets-CdGKHqA-.js} +1 -1
  207. package/dist/client/assets/{use-status-sounds-DtENtyxj.js → use-status-sounds-Uz1qdvt2.js} +1 -1
  208. package/dist/client/assets/{use-view-mode-ChjXBCTX.js → use-view-mode-H6oFviHU.js} +1 -1
  209. package/dist/client/assets/{use-virtual-mcp-0UTR3JZf.js → use-virtual-mcp-CMvxAHEJ.js} +1 -1
  210. package/dist/client/assets/useInfiniteQuery-BosqZeNZ.js +1 -0
  211. package/dist/client/assets/{useRouterState-DfWZ0rC9.js → useRouterState-DjtN_ggp.js} +1 -1
  212. package/dist/client/assets/useSuspenseInfiniteQuery-Dh0QZdLF.js +1 -0
  213. package/dist/client/assets/{users-Cs7EmdZt.js → users-CwhV7o0r.js} +1 -1
  214. package/dist/client/assets/{variant-calendar-Cq1dm2fI.js → variant-calendar-5liHDWH_.js} +1 -1
  215. package/dist/client/assets/{view-mode-toggle-B7cgUSvO.js → view-mode-toggle-DovE7i8d.js} +1 -1
  216. package/dist/client/index.html +1 -1
  217. package/dist/server/cli.js +1 -1
  218. package/dist/server/server.js +1 -1
  219. package/package.json +1 -1
  220. package/dist/client/assets/page-seo-sheet-Bp8_sO0F.js +0 -1
  221. package/dist/client/assets/project-app-view-R0K36OXj.js +0 -1
  222. package/dist/client/assets/record-editor-RgHYd8Dk.js +0 -1
  223. package/dist/client/assets/registry-DgsZGUYK.js +0 -2
  224. package/dist/client/assets/store-registry-BgHUDj4S.js +0 -2
  225. package/dist/client/assets/useInfiniteQuery-C9hUpVEm.js +0 -1
  226. package/dist/client/assets/useSuspenseInfiniteQuery-ZWfPnVGO.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-B8zzTriK.js","assets/auth-entry-CoDOxbKh.js","assets/input-DxEfOo7U.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-D2MQFkDk.js","assets/cli-auth-success-BjyaQWg8.js","assets/reset-password--7kv0fD0.js","assets/oauth-callback-VPY9HivQ.js","assets/mcp-oauth-DSz8vxQO.js","assets/auth-9zI7uyI_.js","assets/layout-CwJiiVGT.js","assets/useRouterState-DfWZ0rC9.js","assets/required-auth-layout-BbJDdJdw.js","assets/use-deployment-admin-DB-5VSbV.js","assets/users-Cs7EmdZt.js","assets/index-CF7vJTQ1.js","assets/sidebar-DqxxQz6a.js","assets/LayoutLeft-CurO7lkf.js","assets/use-mobile-DE9td55c.js","assets/X-B6q2eNkF.js","assets/tooltip-CiXxbAOc.js","assets/collection-table-wrapper-DVD9VKmA.js","assets/table-BmCQne9U.js","assets/ArrowUp-D9-IQ-Jm.js","assets/empty-state-NAWKd2m2.js","assets/search-input-Bu2qiTLD.js","assets/SearchMd-CPb906Aj.js","assets/avatar-BYTTt2km.js","assets/User01-CwCos6Py.js","assets/badge-CUmMlsBT.js","assets/use-debounced-value-CxU40MZW.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs-C6fA-Nxo.js","assets/label-pwPiXf8V.js","assets/dialog-WQh-gp8S.js","assets/select-CIDMHDRe.js","assets/Check-BJiMMf7v.js","assets/ChevronDown-CBLc4m6w.js","assets/ChevronUp-DmNuFMik.js","assets/shell-layout-BH9Ivq57.js","assets/Users03-D5qmvjdI.js","assets/SearchLg-_kiE3lNL.js","assets/Stars02-DMp85N4F.js","assets/XClose-BAeGDKN0.js","assets/CheckCircle-DRbpAaoA.js","assets/FilterLines-CRMm2AqP.js","assets/Zap-DVunWyGl.js","assets/alert-dialog-DBB5CaN8.js","assets/autosend-CVG-zQs7.js","assets/use-mcp-client-CClO-4jR.js","assets/constants-CaIX_f5U.js","assets/hooks-k9Lihge2.js","assets/decopilot-sse-pool-CBL8Jn9p.js","assets/tab-id-bb-jjgGv.js","assets/use-organization-settings-DZsps1AQ.js","assets/studio-tools-BgAyimPw.js","assets/use-org-sso-DwW4iwJx.js","assets/onboarding-Cg7clNbz.js","assets/organization-choice-C4m3OUFF.js","assets/switch-DkvkIrzq.js","assets/Globe04-Biz86Os4.js","assets/Palette-Cyg4gkHm.js","assets/Upload01-H_9RE18o.js","assets/commerce-onboarding-CJ6BJIWe.js","assets/XCircle-Vpo_BauK.js","assets/integration-icon-CSm7Qy8c.js","assets/Tool02-DpdINpQD.js","assets/agent-icon-GwlSPXVL.js","assets/AlertCircle-C__5mMuz.js","assets/Tool01-BRwOHymx.js","assets/Settings02-BaPvDdXK.js","assets/ArrowUpRight-zrEVpN9d.js","assets/TrendUp01-D_1HcFdI.js","assets/ZapSquare-a7mV4MQr.js","assets/Loading02-BqCrbGU_.js","assets/ChevronRight-BjHi2zTb.js","assets/Circle--mEsLc32.js","assets/Copy01-D5lFZSIr.js","assets/ZoomOut-CC64T3-s.js","assets/DotsVertical-C9eUzaCG.js","assets/Globe01-SD7o4WjA.js","assets/Eye-CSrt2uwE.js","assets/Star01-B19iYHho.js","assets/SwitchHorizontal01-_8RyBCsb.js","assets/HardDrive-CbxCnB3J.js","assets/Key01-DJNC5dou.js","assets/LinkExternal01-B3st3yUn.js","assets/List-C-Y7abIw.js","assets/Monitor01-DpZudhGT.js","assets/Sun-BvLzEM7C.js","assets/Package-DWNnL7Bo.js","assets/Play-BsdkOEt3.js","assets/Plus-CdBUTSrl.js","assets/Shield01-CA1C0PT_.js","assets/Stars01-RBw3Iorj.js","assets/Trash01-BaM_ljKo.js","assets/Users01-CqkgkQyP.js","assets/extract-connection-data-CeaTTHDG.js","assets/github-installations-D2vHSx02.js","assets/form-ChRNwWXa.js","assets/authenticate-and-persist-oauth-D1WuDeU5.js","assets/reports-BSqZJIfK.js","assets/reports-UJeN0SPp.css","assets/index-GcBIvq8C.js","assets/skeleton-CgTyvIfS.js","assets/use-virtual-mcp-0UTR3JZf.js","assets/use-collections-7MdzRrDf.js","assets/popover-BWgdS4nk.js","assets/chat-context-1Zkmke_h.js","assets/use-ai-providers-ZfoEvmNY.js","assets/use-decopilot-events-DYfuIh9O.js","assets/toolbar-icon-button-CyxV7J7K.js","assets/drawer-C1W7KPBD.js","assets/github-repo-picker-qq2y6xuE.js","assets/collection-search-DOi2t6LQ.js","assets/use-connection-0YGfXXXM.js","assets/use-mcp-tools-CP1pJ9FP.js","assets/use-navigate-to-agent-jx-u6VG0.js","assets/reusable-new-chat-CouMjkYR.js","assets/use-deco-credits-BrZmeIWZ.js","assets/connection-slug-eyAPH6o3.js","assets/connection-card-BYuySvJ3.js","assets/use-registry-connections-BLLAhhOv.js","assets/useInfiniteQuery-C9hUpVEm.js","assets/use-infinite-scroll-C9_S_5KL.js","assets/card-BKGavoj3.js","assets/collection-tabs-Dmvezwf-.js","assets/textarea-CZTZGoFe.js","assets/connection-form-helpers-CGNedBLj.js","assets/useSuspenseInfiniteQuery-ZWfPnVGO.js","assets/index-DARNlAjK.js","assets/invite-member-dialog-zkg9eKXe.js","assets/use-org-auth-client-BAZD-XfS.js","assets/use-organization-roles-Bnjh1LPW.js","assets/connect-desktop-dialog-hKwz2gHB.js","assets/toggle-group-BhyMCiuu.js","assets/command-C07_gdqU.js","assets/index-ssrb4176.js","assets/shell-controls-Borp0IEW.js","assets/use-clock-tick-DOabyHE5.js","assets/toolbar-DUZ2w4vN.js","assets/index-D3FFjINn.js","assets/automation-runs-B4v9bIbU.js","assets/use-members-BRkIKC2W.js","assets/use-automations-DmtHpUAX.js","assets/checkbox-Ckmw9Mfi.js","assets/use-copy-BQO62X_d.js","assets/file-type-icon-DN87_g0K.js","assets/monaco-editor-CAHRW4WA.js","assets/index-DBFf6th0.js","assets/index-DDqctd2I.js","assets/AreaChart-CPAe8LbH.js","assets/tabs-WNIrx41Q.js","assets/select-model-BLJUdbv5.js","assets/ai-providers-logos-DD3qZ33J.js","assets/settings-section-D69S9E0I.js","assets/dropdown-menu-D4PeOhjt.js","assets/index-SPy5-3x1.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-DtENtyxj.js","assets/use-capability-BigpWO7w.js","assets/tools-list-DvZ-3uOc.js","assets/use-debounced-autosave-CNjFdqON.js","assets/use-secrets-D4wr9PP7.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/index-j_Vqvu4R.js","assets/calendar-Y3krjFiC.js","assets/use-file-configs-xRl8wR9j.js","assets/automation-list-row-D9qq5pJq.js","assets/index-DDGTF8rc.css","assets/index-IOAi6PyX.js","assets/settings-layout-jZC7h9Vb.js","assets/use-join-requests-BrIr_7zB.js","assets/index-redirect-Dy0h6dcP.js","assets/capability-load-error-B_5imwHQ.js","assets/connections-DiDm4jib.js","assets/collection-display-button-CYSdyqyD.js","assets/view-mode-toggle-B7cgUSvO.js","assets/use-delete-connection-BgWgmyGA.js","assets/use-view-mode-ChjXBCTX.js","assets/connection-detail-dLa-DHol.js","assets/index-TIHB_eNq.js","assets/index-EnziWkqS.js","assets/use-create-virtual-mcp-DUAN7sfZ.js","assets/monitoring-stats-row-CsT90p2N.js","assets/collection-detail-eV4RXYAt.js","assets/alert-B1zCZRQ_.js","assets/index-BzAvU-Br.js","assets/require-capability-CCYSfrX4.js","assets/access-gate-BHgO0o7t.js","assets/general-D8h8sXkB.js","assets/domain-settings-C-0-psaT.js","assets/brand-context-CtJ6cICC.js","assets/ai-providers-Dz0ss86P.js","assets/secrets-BuA8w6lw.js","assets/buckets-w58Ia8Bn.js","assets/members-e3cQllrC.js","assets/roles-8cBznTZR.js","assets/sso-SPkRvlC8.js","assets/profile-xjJT_rVS.js","assets/store-04ZLKBxB.js","assets/registry-DgsZGUYK.js","assets/store-registry-BgHUDj4S.js","assets/agents-list-BZzO1NhS.js","assets/automations-CLCryFUc.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-Dzlh5qYT.js","assets/auth-entry-Bo3LWJI9.js","assets/input-D5ccsU_1.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/auth-split-layout-DB8qmgLK.js","assets/cli-auth-success-BlIIxKPd.js","assets/reset-password-Fw4tx_9w.js","assets/oauth-callback-CdWGFVi8.js","assets/mcp-oauth-z9GFPjDo.js","assets/auth-D_bm0-t3.js","assets/layout-BloKJFhD.js","assets/useRouterState-DjtN_ggp.js","assets/required-auth-layout-R2McgzF5.js","assets/use-deployment-admin-C3JCAXzA.js","assets/users-CwhV7o0r.js","assets/index-DS3hrf0F.js","assets/sidebar-DRSu2iBz.js","assets/LayoutLeft-DvNM8qhm.js","assets/use-mobile-DhhfLpzh.js","assets/X-OFSHASit.js","assets/tooltip-Cs5hng3q.js","assets/collection-table-wrapper-CeR2zvlX.js","assets/table-CLRsCUXA.js","assets/ArrowUp-CDnEKV2Y.js","assets/empty-state-DD15-E7x.js","assets/search-input-BREJK7qA.js","assets/SearchMd-ZfoTl6vw.js","assets/avatar-DOYkgu8W.js","assets/User01-5hu8D3_O.js","assets/badge-BMMjntMn.js","assets/use-debounced-value-ChKSUuxz.js","assets/admin-fetch-CCSvjTk1.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/get-initials-D-f_fDFw.js","assets/orgs-CRRA1WCm.js","assets/label-BULuaMoF.js","assets/dialog-DZtdYFi_.js","assets/select-CVMXwLRV.js","assets/Check-CcLLJc-z.js","assets/ChevronDown-BmFaSDo8.js","assets/ChevronUp-Dew3RmKl.js","assets/shell-layout-Bi4LjwsI.js","assets/Users03-tGwfKVJc.js","assets/SearchLg-2as_l8YT.js","assets/Stars02-HLp9q8iP.js","assets/XClose-D5Ra7e-f.js","assets/CheckCircle-lXciCGfG.js","assets/FilterLines-DCNZa1GS.js","assets/Zap-CgjpaG4V.js","assets/alert-dialog-Bd5XLC3F.js","assets/autosend-qB5BaOSA.js","assets/use-mcp-client-Bv8WGceO.js","assets/constants-CaIX_f5U.js","assets/hooks-GnFkomrq.js","assets/decopilot-sse-pool-CJtSg3wj.js","assets/tab-id-bb-jjgGv.js","assets/use-organization-settings-C4hP3pVq.js","assets/studio-tools-CTswP4mA.js","assets/use-org-sso-DDm0m5Eb.js","assets/onboarding-iL9ZeHnE.js","assets/organization-choice-5GYvmez0.js","assets/switch-B36ltQ63.js","assets/Globe04-CGLGspo5.js","assets/Palette-BY5BmUDa.js","assets/Upload01-BaheeKQP.js","assets/commerce-onboarding-v6NmdNz5.js","assets/XCircle-D3cI1Aep.js","assets/integration-icon-6pGkEdul.js","assets/Tool02-CSTMjTef.js","assets/agent-icon-dPkJbbXq.js","assets/AlertCircle-BsA2wZmN.js","assets/Tool01-DVCGutKV.js","assets/Settings02-CS2jOfO5.js","assets/ArrowUpRight-DdPCnlNm.js","assets/TrendUp01-acR-ekUr.js","assets/ZapSquare-Dzb50Gix.js","assets/Loading02-Dx-xiZND.js","assets/ChevronRight-C3Tgk-3m.js","assets/Circle-C_fdyhr8.js","assets/Copy01-b3lIb5yu.js","assets/ZoomOut-DYAXxr_v.js","assets/DotsVertical-CK1a4mKj.js","assets/Globe01-B6kdhpV9.js","assets/Eye-DM8bmzm7.js","assets/Star01-2DHf7kTZ.js","assets/SwitchHorizontal01-ilLzkPr_.js","assets/HardDrive-CR6Rs-a1.js","assets/Key01-1r4YrQER.js","assets/LinkExternal01-Ck4lryDE.js","assets/List-DfPIAPM_.js","assets/Monitor01-D_DrBwt_.js","assets/Sun-ByaEjJ0N.js","assets/Package-CV2Q9Uup.js","assets/Play-Ci1OqtIO.js","assets/Plus-Cgq7ON9K.js","assets/Shield01-C6TdRfmI.js","assets/Stars01-BEHbN5c3.js","assets/Trash01--uX5q_ti.js","assets/Users01-Dh5E4dqf.js","assets/extract-connection-data-Di6SAuY0.js","assets/github-installations-D2vHSx02.js","assets/form-YJrSMpNL.js","assets/authenticate-and-persist-oauth-ClCvWDci.js","assets/reports-C6ascunL.js","assets/reports-UJeN0SPp.css","assets/index-DFCCfX3B.js","assets/skeleton-BZzqWIif.js","assets/use-virtual-mcp-CMvxAHEJ.js","assets/use-collections-Cl7KVWNQ.js","assets/popover-C5PoRwEk.js","assets/chat-context-Awe2cIoY.js","assets/use-ai-providers-D77UFwvU.js","assets/use-decopilot-events-CWf9qNc0.js","assets/toolbar-icon-button-5fStNBy9.js","assets/drawer-Ck_Oak77.js","assets/github-repo-picker-VDMXf52q.js","assets/collection-search-DSP3ov6A.js","assets/use-connection-CcLotHiI.js","assets/use-mcp-tools-_p3Gu3UX.js","assets/use-navigate-to-agent-BsdctirU.js","assets/reusable-new-chat-CouMjkYR.js","assets/use-deco-credits-1Xd5keqC.js","assets/connection-slug-eyAPH6o3.js","assets/connection-card-CXwWR_5h.js","assets/use-registry-connections-xg-zrNmx.js","assets/useInfiniteQuery-BosqZeNZ.js","assets/use-infinite-scroll-BTdf9pFZ.js","assets/card-Bc92PJFP.js","assets/collection-tabs-PTC62n_G.js","assets/textarea-DPLwPKZJ.js","assets/connection-form-helpers-POWe2kJ-.js","assets/useSuspenseInfiniteQuery-Dh0QZdLF.js","assets/index-BraRl60q.js","assets/invite-member-dialog-DV_-RNy8.js","assets/use-org-auth-client-DYoTiK8H.js","assets/use-organization-roles-CcwnCugJ.js","assets/connect-desktop-dialog-DiutLBhU.js","assets/toggle-group-DkGsY2u-.js","assets/command-DzGwZa9g.js","assets/index-DKyQrM3l.js","assets/shell-controls-Daj0PZIQ.js","assets/use-clock-tick-CB7NlnVZ.js","assets/toolbar-CedVmC1P.js","assets/index-Dv19SgJH.js","assets/automation-runs-Y9TSuy3F.js","assets/use-members-eaM3vNiv.js","assets/use-automations-WNGih4F_.js","assets/checkbox-B-y-IHdE.js","assets/use-copy-B-pxrD6E.js","assets/file-type-icon-CuakGACj.js","assets/monaco-editor-CiP0ChuC.js","assets/index-Cim2j5YD.js","assets/index-DPzJsdBC.js","assets/AreaChart-BHEk1VG5.js","assets/tabs-BoNNus4B.js","assets/select-model-Cg3FzUNI.js","assets/ai-providers-logos-DD3qZ33J.js","assets/settings-section-BYCtjEaG.js","assets/dropdown-menu-C9SSwIby.js","assets/index-0yvnZiwb.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-Uz1qdvt2.js","assets/use-capability-DmeYLlad.js","assets/tools-list-DyAKlhYk.js","assets/use-debounced-autosave-teletZQd.js","assets/use-secrets-CdGKHqA-.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/index-DPKpPAQv.js","assets/calendar-Io_vhk-a.js","assets/use-file-configs-G_3bUBDS.js","assets/automation-list-row-ByoN-o6y.js","assets/index-DDGTF8rc.css","assets/index-CEI6wi5Z.js","assets/settings-layout-CS4A10kE.js","assets/use-join-requests-NgN8gue3.js","assets/index-redirect-Hp_EA6DJ.js","assets/capability-load-error-COzn8-Xb.js","assets/connections-C1NH7yoX.js","assets/collection-display-button-BVhQtAEp.js","assets/view-mode-toggle-DovE7i8d.js","assets/use-delete-connection-BJuEHINL.js","assets/use-view-mode-H6oFviHU.js","assets/connection-detail-B_tl4TZx.js","assets/index-MwzluG1w.js","assets/index-Cyr1IOqy.js","assets/use-create-virtual-mcp-DPkT8FPW.js","assets/monitoring-stats-row-CLHK9ypI.js","assets/collection-detail-CcnshY5k.js","assets/alert-DBWDLZgp.js","assets/index-CCnsgP9d.js","assets/require-capability-BjscC7QS.js","assets/access-gate-B4XS-sin.js","assets/general-XFvP4tXw.js","assets/domain-settings-C7CfCyw6.js","assets/brand-context-Bkaj5nz3.js","assets/ai-providers-CeevjV97.js","assets/secrets-B2rqgV3S.js","assets/buckets-B22IEfKD.js","assets/members-BfULkB51.js","assets/roles-D6vLw9pS.js","assets/sso-C6uqUsih.js","assets/profile-Dh73-0Iy.js","assets/store-BZ7eoytz.js","assets/registry-DGAgXfxF.js","assets/store-registry-DA7t2U9g.js","assets/agents-list-CBbQQUEx.js","assets/automations-DDTM3E3g.js"])))=>i.map(i=>d[i]);
2
2
  function Pj(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const Mj="modulepreload",Nj=function(e){return"/"+e},E2={},ut=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");o=l(n.map(f=>{if(f=Nj(f),f in E2)return;E2[f]=!0;const p=f.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${h}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":Mj,p||(g.as="script"),g.crossOrigin="",g.href=f,d&&g.setAttribute("nonce",d),document.head.appendChild(g),p)return new Promise((v,_)=>{g.addEventListener("load",v),g.addEventListener("error",()=>_(Error(`Unable to preload CSS for ${f}`)))})}))}function s(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return o.then(l=>{for(const c of l||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};var Pce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Py={exports:{}},Wu={};var x2;function kj(){if(x2)return Wu;x2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,s){var l=null;if(s!==void 0&&(l=""+s),o.key!==void 0&&(l=""+o.key),"key"in o){s={};for(var c in o)c!=="key"&&(s[c]=o[c])}else s=o;return o=s.ref,{$$typeof:e,type:r,key:l,ref:o!==void 0?o:null,props:s}}return Wu.Fragment=t,Wu.jsx=n,Wu.jsxs=n,Wu}var R2;function Dj(){return R2||(R2=1,Py.exports=kj()),Py.exports}var C=Dj(),My={exports:{}},Qu={},Ny={exports:{}},ky={};var O2;function Lj(){return O2||(O2=1,(function(e){function t(q,W){var te=q.length;q.push(W);e:for(;0<te;){var le=te-1>>>1,Q=q[le];if(0<o(Q,W))q[le]=W,q[te]=Q,te=le;else break e}}function n(q){return q.length===0?null:q[0]}function r(q){if(q.length===0)return null;var W=q[0],te=q.pop();if(te!==W){q[0]=te;e:for(var le=0,Q=q.length,k=Q>>>1;le<k;){var G=2*(le+1)-1,V=q[G],D=G+1,U=q[D];if(0>o(V,te))D<Q&&0>o(U,V)?(q[le]=U,q[D]=te,le=D):(q[le]=V,q[G]=te,le=G);else if(D<Q&&0>o(U,te))q[le]=U,q[D]=te,le=D;else break e}}return W}function o(q,W){var te=q.sortIndex-W.sortIndex;return te!==0?te:q.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],f=[],p=1,h=null,g=3,v=!1,_=!1,b=!1,x=!1,S=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function R(q){for(var W=n(f);W!==null;){if(W.callback===null)r(f);else if(W.startTime<=q)r(f),W.sortIndex=W.expirationTime,t(d,W);else break;W=n(f)}}function O(q){if(b=!1,R(q),!_)if(n(d)!==null)_=!0,A||(A=!0,B());else{var W=n(f);W!==null&&ie(O,W.startTime-q)}}var A=!1,I=-1,M=5,L=-1;function H(){return x?!0:!(e.unstable_now()-L<M)}function j(){if(x=!1,A){var q=e.unstable_now();L=q;var W=!0;try{e:{_=!1,b&&(b=!1,E(I),I=-1),v=!0;var te=g;try{t:{for(R(q),h=n(d);h!==null&&!(h.expirationTime>q&&H());){var le=h.callback;if(typeof le=="function"){h.callback=null,g=h.priorityLevel;var Q=le(h.expirationTime<=q);if(q=e.unstable_now(),typeof Q=="function"){h.callback=Q,R(q),W=!0;break t}h===n(d)&&r(d),R(q)}else r(d);h=n(d)}if(h!==null)W=!0;else{var k=n(f);k!==null&&ie(O,k.startTime-q),W=!1}}break e}finally{h=null,g=te,v=!1}W=void 0}}finally{W?B():A=!1}}}var B;if(typeof T=="function")B=function(){T(j)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,Z=F.port2;F.port1.onmessage=j,B=function(){Z.postMessage(null)}}else B=function(){S(j,0)};function ie(q,W){I=S(function(){q(e.unstable_now())},W)}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(q){q.callback=null},e.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<q?Math.floor(1e3/q):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(q){switch(g){case 1:case 2:case 3:var W=3;break;default:W=g}var te=g;g=W;try{return q()}finally{g=te}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(q,W){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var te=g;g=q;try{return W()}finally{g=te}},e.unstable_scheduleCallback=function(q,W,te){var le=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?le+te:le):te=le,q){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=te+Q,q={id:p++,callback:W,priorityLevel:q,startTime:te,expirationTime:Q,sortIndex:-1},te>le?(q.sortIndex=te,t(f,q),n(d)===null&&q===n(f)&&(b?(E(I),I=-1):b=!0,ie(O,te-le))):(q.sortIndex=Q,t(d,q),_||v||(_=!0,A||(A=!0,B()))),q},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(q){var W=g;return function(){var te=g;g=W;try{return q.apply(this,arguments)}finally{g=te}}}})(ky)),ky}var T2;function $j(){return T2||(T2=1,Ny.exports=Lj()),Ny.exports}var Dy={exports:{}},ot={};var C2;function jj(){if(C2)return ot;C2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.activity"),g=Symbol.iterator;function v(k){return k===null||typeof k!="object"?null:(k=g&&k[g]||k["@@iterator"],typeof k=="function"?k:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,x={};function S(k,G,V){this.props=k,this.context=G,this.refs=x,this.updater=V||_}S.prototype.isReactComponent={},S.prototype.setState=function(k,G){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,G,"setState")},S.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function E(){}E.prototype=S.prototype;function T(k,G,V){this.props=k,this.context=G,this.refs=x,this.updater=V||_}var R=T.prototype=new E;R.constructor=T,b(R,S.prototype),R.isPureReactComponent=!0;var O=Array.isArray;function A(){}var I={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function L(k,G,V){var D=V.ref;return{$$typeof:e,type:k,key:G,ref:D!==void 0?D:null,props:V}}function H(k,G){return L(k.type,G,k.props)}function j(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function B(k){var G={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(V){return G[V]})}var F=/\/+/g;function Z(k,G){return typeof k=="object"&&k!==null&&k.key!=null?B(""+k.key):G.toString(36)}function ie(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(A,A):(k.status="pending",k.then(function(G){k.status==="pending"&&(k.status="fulfilled",k.value=G)},function(G){k.status==="pending"&&(k.status="rejected",k.reason=G)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function q(k,G,V,D,U){var X=typeof k;(X==="undefined"||X==="boolean")&&(k=null);var fe=!1;if(k===null)fe=!0;else switch(X){case"bigint":case"string":case"number":fe=!0;break;case"object":switch(k.$$typeof){case e:case t:fe=!0;break;case p:return fe=k._init,q(fe(k._payload),G,V,D,U)}}if(fe)return U=U(k),fe=D===""?"."+Z(k,0):D,O(U)?(V="",fe!=null&&(V=fe.replace(F,"$&/")+"/"),q(U,G,V,"",function(je){return je})):U!=null&&(j(U)&&(U=H(U,V+(U.key==null||k&&k.key===U.key?"":(""+U.key).replace(F,"$&/")+"/")+fe)),G.push(U)),1;fe=0;var pe=D===""?".":D+":";if(O(k))for(var xe=0;xe<k.length;xe++)D=k[xe],X=pe+Z(D,xe),fe+=q(D,G,V,X,U);else if(xe=v(k),typeof xe=="function")for(k=xe.call(k),xe=0;!(D=k.next()).done;)D=D.value,X=pe+Z(D,xe++),fe+=q(D,G,V,X,U);else if(X==="object"){if(typeof k.then=="function")return q(ie(k),G,V,D,U);throw G=String(k),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return fe}function W(k,G,V){if(k==null)return k;var D=[],U=0;return q(k,D,"","",function(X){return G.call(V,X,U++)}),D}function te(k){if(k._status===-1){var G=k._result;G=G(),G.then(function(V){(k._status===0||k._status===-1)&&(k._status=1,k._result=V)},function(V){(k._status===0||k._status===-1)&&(k._status=2,k._result=V)}),k._status===-1&&(k._status=0,k._result=G)}if(k._status===1)return k._result.default;throw k._result}var le=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)},Q={map:W,forEach:function(k,G,V){W(k,function(){G.apply(this,arguments)},V)},count:function(k){var G=0;return W(k,function(){G++}),G},toArray:function(k){return W(k,function(G){return G})||[]},only:function(k){if(!j(k))throw Error("React.Children.only expected to receive a single React element child.");return k}};return ot.Activity=h,ot.Children=Q,ot.Component=S,ot.Fragment=n,ot.Profiler=o,ot.PureComponent=T,ot.StrictMode=r,ot.Suspense=d,ot.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,ot.__COMPILER_RUNTIME={__proto__:null,c:function(k){return I.H.useMemoCache(k)}},ot.cache=function(k){return function(){return k.apply(null,arguments)}},ot.cacheSignal=function(){return null},ot.cloneElement=function(k,G,V){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var D=b({},k.props),U=k.key;if(G!=null)for(X in G.key!==void 0&&(U=""+G.key),G)!M.call(G,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&G.ref===void 0||(D[X]=G[X]);var X=arguments.length-2;if(X===1)D.children=V;else if(1<X){for(var fe=Array(X),pe=0;pe<X;pe++)fe[pe]=arguments[pe+2];D.children=fe}return L(k.type,U,D)},ot.createContext=function(k){return k={$$typeof:l,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:s,_context:k},k},ot.createElement=function(k,G,V){var D,U={},X=null;if(G!=null)for(D in G.key!==void 0&&(X=""+G.key),G)M.call(G,D)&&D!=="key"&&D!=="__self"&&D!=="__source"&&(U[D]=G[D]);var fe=arguments.length-2;if(fe===1)U.children=V;else if(1<fe){for(var pe=Array(fe),xe=0;xe<fe;xe++)pe[xe]=arguments[xe+2];U.children=pe}if(k&&k.defaultProps)for(D in fe=k.defaultProps,fe)U[D]===void 0&&(U[D]=fe[D]);return L(k,X,U)},ot.createRef=function(){return{current:null}},ot.forwardRef=function(k){return{$$typeof:c,render:k}},ot.isValidElement=j,ot.lazy=function(k){return{$$typeof:p,_payload:{_status:-1,_result:k},_init:te}},ot.memo=function(k,G){return{$$typeof:f,type:k,compare:G===void 0?null:G}},ot.startTransition=function(k){var G=I.T,V={};I.T=V;try{var D=k(),U=I.S;U!==null&&U(V,D),typeof D=="object"&&D!==null&&typeof D.then=="function"&&D.then(A,le)}catch(X){le(X)}finally{G!==null&&V.types!==null&&(G.types=V.types),I.T=G}},ot.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},ot.use=function(k){return I.H.use(k)},ot.useActionState=function(k,G,V){return I.H.useActionState(k,G,V)},ot.useCallback=function(k,G){return I.H.useCallback(k,G)},ot.useContext=function(k){return I.H.useContext(k)},ot.useDebugValue=function(){},ot.useDeferredValue=function(k,G){return I.H.useDeferredValue(k,G)},ot.useEffect=function(k,G){return I.H.useEffect(k,G)},ot.useEffectEvent=function(k){return I.H.useEffectEvent(k)},ot.useId=function(){return I.H.useId()},ot.useImperativeHandle=function(k,G,V){return I.H.useImperativeHandle(k,G,V)},ot.useInsertionEffect=function(k,G){return I.H.useInsertionEffect(k,G)},ot.useLayoutEffect=function(k,G){return I.H.useLayoutEffect(k,G)},ot.useMemo=function(k,G){return I.H.useMemo(k,G)},ot.useOptimistic=function(k,G){return I.H.useOptimistic(k,G)},ot.useReducer=function(k,G,V){return I.H.useReducer(k,G,V)},ot.useRef=function(k){return I.H.useRef(k)},ot.useState=function(k){return I.H.useState(k)},ot.useSyncExternalStore=function(k,G,V){return I.H.useSyncExternalStore(k,G,V)},ot.useTransition=function(){return I.H.useTransition()},ot.version="19.2.6",ot}var A2;function va(){return A2||(A2=1,Dy.exports=jj()),Dy.exports}var Ly={exports:{}},Er={};var I2;function zj(){if(I2)return Er;I2=1;var e=va();function t(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}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},o=Symbol.for("react.portal");function s(d,f,p){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:h==null?null:""+h,children:d,containerInfo:f,implementation:p}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return Er.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Er.createPortal=function(d,f){var p=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 s(d,f,null,p)},Er.flushSync=function(d){var f=l.T,p=r.p;try{if(l.T=null,r.p=2,d)return d()}finally{l.T=f,r.p=p,r.d.f()}},Er.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))},Er.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},Er.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var p=f.as,h=c(p,f.crossOrigin),g=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;p==="style"?r.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:h,integrity:g,fetchPriority:v}):p==="script"&&r.d.X(d,{crossOrigin:h,integrity:g,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},Er.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var p=c(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:p,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)},Er.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var p=f.as,h=c(p,f.crossOrigin);r.d.L(d,p,{crossOrigin:h,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})}},Er.preloadModule=function(d,f){if(typeof d=="string")if(f){var p=c(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(d)},Er.requestFormReset=function(d){r.d.r(d)},Er.unstable_batchedUpdates=function(d,f){return d(f)},Er.useFormState=function(d,f,p){return l.H.useFormState(d,f,p)},Er.useFormStatus=function(){return l.H.useHostTransitionStatus()},Er.version="19.2.6",Er}var P2;function aM(){if(P2)return Ly.exports;P2=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(),Ly.exports=zj(),Ly.exports}var M2;function Uj(){if(M2)return Qu;M2=1;var e=$j(),t=va(),n=aM();function r(i){var a="https://react.dev/errors/"+i;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)a+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+i+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var a=i,u=i;if(i.alternate)for(;a.return;)a=a.return;else{i=a;do a=i,(a.flags&4098)!==0&&(u=a.return),i=a.return;while(i)}return a.tag===3?u:null}function l(i){if(i.tag===13){var a=i.memoizedState;if(a===null&&(i=i.alternate,i!==null&&(a=i.memoizedState)),a!==null)return a.dehydrated}return null}function c(i){if(i.tag===31){var a=i.memoizedState;if(a===null&&(i=i.alternate,i!==null&&(a=i.memoizedState)),a!==null)return a.dehydrated}return null}function d(i){if(s(i)!==i)throw Error(r(188))}function f(i){var a=i.alternate;if(!a){if(a=s(i),a===null)throw Error(r(188));return a!==i?null:i}for(var u=i,m=a;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){if(m=y.return,m!==null){u=m;continue}break}if(y.child===w.child){for(w=y.child;w;){if(w===u)return d(y),i;if(w===m)return d(y),a;w=w.sibling}throw Error(r(188))}if(u.return!==m.return)u=y,m=w;else{for(var N=!1,z=y.child;z;){if(z===u){N=!0,u=y,m=w;break}if(z===m){N=!0,m=y,u=w;break}z=z.sibling}if(!N){for(z=w.child;z;){if(z===u){N=!0,u=w,m=y;break}if(z===m){N=!0,m=w,u=y;break}z=z.sibling}if(!N)throw Error(r(189))}}if(u.alternate!==m)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?i:a}function p(i){var a=i.tag;if(a===5||a===26||a===27||a===6)return i;for(i=i.child;i!==null;){if(a=p(i),a!==null)return a;i=i.sibling}return null}var h=Object.assign,g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),T=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),H=Symbol.for("react.memo_cache_sentinel"),j=Symbol.iterator;function B(i){return i===null||typeof i!="object"?null:(i=j&&i[j]||i["@@iterator"],typeof i=="function"?i:null)}var F=Symbol.for("react.client.reference");function Z(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===F?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case b:return"Fragment";case S:return"Profiler";case x:return"StrictMode";case O:return"Suspense";case A:return"SuspenseList";case L:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case _:return"Portal";case T:return i.displayName||"Context";case E:return(i._context.displayName||"Context")+".Consumer";case R:var a=i.render;return i=i.displayName,i||(i=a.displayName||a.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case I:return a=i.displayName||null,a!==null?a:Z(i.type)||"Memo";case M:a=i._payload,i=i._init;try{return Z(i(a))}catch{}}return null}var ie=Array.isArray,q=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},le=[],Q=-1;function k(i){return{current:i}}function G(i){0>Q||(i.current=le[Q],le[Q]=null,Q--)}function V(i,a){Q++,le[Q]=i.current,i.current=a}var D=k(null),U=k(null),X=k(null),fe=k(null);function pe(i,a){switch(V(X,a),V(U,i),V(D,null),a.nodeType){case 9:case 11:i=(i=a.documentElement)&&(i=i.namespaceURI)?GO(i):0;break;default:if(i=a.tagName,a=a.namespaceURI)a=GO(a),i=KO(a,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}G(D),V(D,i)}function xe(){G(D),G(U),G(X)}function je(i){i.memoizedState!==null&&V(fe,i);var a=D.current,u=KO(a,i.type);a!==u&&(V(U,i),V(D,u))}function Y(i){U.current===i&&(G(D),G(U)),fe.current===i&&(G(fe),Gu._currentValue=te)}var re,ve;function se(i){if(re===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);re=a&&a[1]||"",ve=-1<u.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+re+i+ve}var Se=!1;function Te(i,a){if(!i||Se)return"";Se=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(a){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(ge){var he=ge}Reflect.construct(i,[],Ee)}else{try{Ee.call()}catch(ge){he=ge}i.call(Ee.prototype)}}else{try{throw Error()}catch(ge){he=ge}(Ee=i())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(ge){if(ge&&he&&typeof ge.stack=="string")return[ge.stack,he.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=m.DetermineComponentFrameRoot(),N=w[0],z=w[1];if(N&&z){var J=N.split(`
@@ -160,7 +160,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
160
160
  || ${M} === "boolean" || ${A} === null`).assign(L,(0,r._)`[${A}]`)}}}function g({gen:E,parentData:T,parentDataProperty:R},O){E.if((0,r._)`${T} !== undefined`,()=>E.assign((0,r._)`${T}[${R}]`,O))}function v(E,T,R,O=s.Correct){const A=O===s.Correct?r.operators.EQ:r.operators.NEQ;let I;switch(E){case"null":return(0,r._)`${T} ${A} null`;case"array":I=(0,r._)`Array.isArray(${T})`;break;case"object":I=(0,r._)`${T} && typeof ${T} == "object" && !Array.isArray(${T})`;break;case"integer":I=M((0,r._)`!(${T} % 1) && !isNaN(${T})`);break;case"number":I=M();break;default:return(0,r._)`typeof ${T} ${A} ${E}`}return O===s.Correct?I:(0,r.not)(I);function M(L=r.nil){return(0,r.and)((0,r._)`typeof ${T} == "number"`,L,R?(0,r._)`isFinite(${T})`:r.nil)}}fr.checkDataType=v;function _(E,T,R,O){if(E.length===1)return v(E[0],T,R,O);let A;const I=(0,o.toHash)(E);if(I.array&&I.object){const M=(0,r._)`typeof ${T} != "object"`;A=I.null?M:(0,r._)`!${T} || ${M}`,delete I.null,delete I.array,delete I.object}else A=r.nil;I.number&&delete I.integer;for(const M in I)A=(0,r.and)(A,v(M,T,R,O));return A}fr.checkDataTypes=_;const b={message:({schema:E})=>`must be ${E}`,params:({schema:E,schemaValue:T})=>typeof E=="string"?(0,r._)`{type: ${E}}`:(0,r._)`{type: ${T}}`};function x(E){const T=S(E);(0,n.reportError)(T,b)}fr.reportTypeError=x;function S(E){const{gen:T,data:R,schema:O}=E,A=(0,o.schemaRefOrVal)(E,O,"type");return{gen:T,keyword:"type",data:R,schema:O.type,schemaCode:A,schemaValue:A,parentSchema:O,params:{},it:E}}return fr}var yd={},GI;function ose(){if(GI)return yd;GI=1,Object.defineProperty(yd,"__esModule",{value:!0}),yd.assignDefaults=void 0;const e=yt(),t=kt();function n(o,s){const{properties:l,items:c}=o.schema;if(s==="object"&&l)for(const d in l)r(o,d,l[d].default);else s==="array"&&Array.isArray(c)&&c.forEach((d,f)=>r(o,f,d.default))}yd.assignDefaults=n;function r(o,s,l){const{gen:c,compositeRule:d,data:f,opts:p}=o;if(l===void 0)return;const h=(0,e._)`${f}${(0,e.getProperty)(s)}`;if(d){(0,t.checkStrictMode)(o,`default is ignored for: ${h}`);return}let g=(0,e._)`${h} === undefined`;p.useDefaults==="empty"&&(g=(0,e._)`${g} || ${h} === null || ${h} === ""`),c.if(g,(0,e._)`${h} = ${(0,e.stringify)(l)}`)}return yd}var Jo={},qt={},KI;function ci(){if(KI)return qt;KI=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.validateUnion=qt.validateArray=qt.usePattern=qt.callValidateCode=qt.schemaProperties=qt.allSchemaProperties=qt.noPropertyInData=qt.propertyInData=qt.isOwnProperty=qt.hasPropFunc=qt.reportMissingProp=qt.checkMissingProp=qt.checkReportMissingProp=void 0;const e=yt(),t=kt(),n=Ea(),r=kt();function o(E,T){const{gen:R,data:O,it:A}=E;R.if(p(R,O,T,A.opts.ownProperties),()=>{E.setParams({missingProperty:(0,e._)`${T}`},!0),E.error()})}qt.checkReportMissingProp=o;function s({gen:E,data:T,it:{opts:R}},O,A){return(0,e.or)(...O.map(I=>(0,e.and)(p(E,T,I,R.ownProperties),(0,e._)`${A} = ${I}`)))}qt.checkMissingProp=s;function l(E,T){E.setParams({missingProperty:T},!0),E.error()}qt.reportMissingProp=l;function c(E){return E.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}qt.hasPropFunc=c;function d(E,T,R){return(0,e._)`${c(E)}.call(${T}, ${R})`}qt.isOwnProperty=d;function f(E,T,R,O){const A=(0,e._)`${T}${(0,e.getProperty)(R)} !== undefined`;return O?(0,e._)`${A} && ${d(E,T,R)}`:A}qt.propertyInData=f;function p(E,T,R,O){const A=(0,e._)`${T}${(0,e.getProperty)(R)} === undefined`;return O?(0,e.or)(A,(0,e.not)(d(E,T,R))):A}qt.noPropertyInData=p;function h(E){return E?Object.keys(E).filter(T=>T!=="__proto__"):[]}qt.allSchemaProperties=h;function g(E,T){return h(T).filter(R=>!(0,t.alwaysValidSchema)(E,T[R]))}qt.schemaProperties=g;function v({schemaCode:E,data:T,it:{gen:R,topSchemaRef:O,schemaPath:A,errorPath:I},it:M},L,H,j){const B=j?(0,e._)`${E}, ${T}, ${O}${A}`:T,F=[[n.default.instancePath,(0,e.strConcat)(n.default.instancePath,I)],[n.default.parentData,M.parentData],[n.default.parentDataProperty,M.parentDataProperty],[n.default.rootData,n.default.rootData]];M.opts.dynamicRef&&F.push([n.default.dynamicAnchors,n.default.dynamicAnchors]);const Z=(0,e._)`${B}, ${R.object(...F)}`;return H!==e.nil?(0,e._)`${L}.call(${H}, ${Z})`:(0,e._)`${L}(${Z})`}qt.callValidateCode=v;const _=(0,e._)`new RegExp`;function b({gen:E,it:{opts:T}},R){const O=T.unicodeRegExp?"u":"",{regExp:A}=T.code,I=A(R,O);return E.scopeValue("pattern",{key:I.toString(),ref:I,code:(0,e._)`${A.code==="new RegExp"?_:(0,r.useFunc)(E,A)}(${R}, ${O})`})}qt.usePattern=b;function x(E){const{gen:T,data:R,keyword:O,it:A}=E,I=T.name("valid");if(A.allErrors){const L=T.let("valid",!0);return M(()=>T.assign(L,!1)),L}return T.var(I,!0),M(()=>T.break()),I;function M(L){const H=T.const("len",(0,e._)`${R}.length`);T.forRange("i",0,H,j=>{E.subschema({keyword:O,dataProp:j,dataPropType:t.Type.Num},I),T.if((0,e.not)(I),L)})}}qt.validateArray=x;function S(E){const{gen:T,schema:R,keyword:O,it:A}=E;if(!Array.isArray(R))throw new Error("ajv implementation error");if(R.some(H=>(0,t.alwaysValidSchema)(A,H))&&!A.opts.unevaluated)return;const M=T.let("valid",!1),L=T.name("_valid");T.block(()=>R.forEach((H,j)=>{const B=E.subschema({keyword:O,schemaProp:j,compositeRule:!0},L);T.assign(M,(0,e._)`${M} || ${L}`),E.mergeValidEvaluated(B,L)||T.if((0,e.not)(M))})),E.result(M,()=>E.reset(),()=>E.error(!0))}return qt.validateUnion=S,qt}var ZI;function ise(){if(ZI)return Jo;ZI=1,Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.validateKeywordUsage=Jo.validSchemaType=Jo.funcKeywordCode=Jo.macroKeywordCode=void 0;const e=yt(),t=Ea(),n=ci(),r=pv();function o(g,v){const{gen:_,keyword:b,schema:x,parentSchema:S,it:E}=g,T=v.macro.call(E.self,x,S,E),R=f(_,b,T);E.opts.validateSchema!==!1&&E.self.validateSchema(T,!0);const O=_.name("valid");g.subschema({schema:T,schemaPath:e.nil,errSchemaPath:`${E.errSchemaPath}/${b}`,topSchemaRef:R,compositeRule:!0},O),g.pass(O,()=>g.error(!0))}Jo.macroKeywordCode=o;function s(g,v){var _;const{gen:b,keyword:x,schema:S,parentSchema:E,$data:T,it:R}=g;d(R,v);const O=!T&&v.compile?v.compile.call(R.self,S,E,R):v.validate,A=f(b,x,O),I=b.let("valid");g.block$data(I,M),g.ok((_=v.valid)!==null&&_!==void 0?_:I);function M(){if(v.errors===!1)j(),v.modifying&&l(g),B(()=>g.error());else{const F=v.async?L():H();v.modifying&&l(g),B(()=>c(g,F))}}function L(){const F=b.let("ruleErrs",null);return b.try(()=>j((0,e._)`await `),Z=>b.assign(I,!1).if((0,e._)`${Z} instanceof ${R.ValidationError}`,()=>b.assign(F,(0,e._)`${Z}.errors`),()=>b.throw(Z))),F}function H(){const F=(0,e._)`${A}.errors`;return b.assign(F,null),j(e.nil),F}function j(F=v.async?(0,e._)`await `:e.nil){const Z=R.opts.passContext?t.default.this:t.default.self,ie=!("compile"in v&&!T||v.schema===!1);b.assign(I,(0,e._)`${F}${(0,n.callValidateCode)(g,A,Z,ie)}`,v.modifying)}function B(F){var Z;b.if((0,e.not)((Z=v.valid)!==null&&Z!==void 0?Z:I),F)}}Jo.funcKeywordCode=s;function l(g){const{gen:v,data:_,it:b}=g;v.if(b.parentData,()=>v.assign(_,(0,e._)`${b.parentData}[${b.parentDataProperty}]`))}function c(g,v){const{gen:_}=g;_.if((0,e._)`Array.isArray(${v})`,()=>{_.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${v} : ${t.default.vErrors}.concat(${v})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,r.extendErrors)(g)},()=>g.error())}function d({schemaEnv:g},v){if(v.async&&!g.$async)throw new Error("async keyword in sync schema")}function f(g,v,_){if(_===void 0)throw new Error(`keyword "${v}" failed to compile`);return g.scopeValue("keyword",typeof _=="function"?{ref:_}:{ref:_,code:(0,e.stringify)(_)})}function p(g,v,_=!1){return!v.length||v.some(b=>b==="array"?Array.isArray(g):b==="object"?g&&typeof g=="object"&&!Array.isArray(g):typeof g==b||_&&typeof g>"u")}Jo.validSchemaType=p;function h({schema:g,opts:v,self:_,errSchemaPath:b},x,S){if(Array.isArray(x.keyword)?!x.keyword.includes(S):x.keyword!==S)throw new Error("ajv implementation error");const E=x.dependencies;if(E?.some(T=>!Object.prototype.hasOwnProperty.call(g,T)))throw new Error(`parent schema must have dependencies of ${S}: ${E.join(",")}`);if(x.validateSchema&&!x.validateSchema(g[S])){const R=`keyword "${S}" value is invalid at path "${b}": `+_.errorsText(x.validateSchema.errors);if(v.validateSchema==="log")_.logger.error(R);else throw new Error(R)}}return Jo.validateKeywordUsage=h,Jo}var rs={},YI;function sse(){if(YI)return rs;YI=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.extendSubschemaMode=rs.extendSubschemaData=rs.getSubschema=void 0;const e=yt(),t=kt();function n(s,{keyword:l,schemaProp:c,schema:d,schemaPath:f,errSchemaPath:p,topSchemaRef:h}){if(l!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(l!==void 0){const g=s.schema[l];return c===void 0?{schema:g,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(l)}`,errSchemaPath:`${s.errSchemaPath}/${l}`}:{schema:g[c],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(l)}${(0,e.getProperty)(c)}`,errSchemaPath:`${s.errSchemaPath}/${l}/${(0,t.escapeFragment)(c)}`}}if(d!==void 0){if(f===void 0||p===void 0||h===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:f,topSchemaRef:h,errSchemaPath:p}}throw new Error('either "keyword" or "schema" must be passed')}rs.getSubschema=n;function r(s,l,{dataProp:c,dataPropType:d,data:f,dataTypes:p,propertyName:h}){if(f!==void 0&&c!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:g}=l;if(c!==void 0){const{errorPath:_,dataPathArr:b,opts:x}=l,S=g.let("data",(0,e._)`${l.data}${(0,e.getProperty)(c)}`,!0);v(S),s.errorPath=(0,e.str)`${_}${(0,t.getErrorPath)(c,d,x.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${c}`,s.dataPathArr=[...b,s.parentDataProperty]}if(f!==void 0){const _=f instanceof e.Name?f:g.let("data",f,!0);v(_),h!==void 0&&(s.propertyName=h)}p&&(s.dataTypes=p);function v(_){s.data=_,s.dataLevel=l.dataLevel+1,s.dataTypes=[],l.definedProperties=new Set,s.parentData=l.data,s.dataNames=[...l.dataNames,_]}}rs.extendSubschemaData=r;function o(s,{jtdDiscriminator:l,jtdMetadata:c,compositeRule:d,createErrors:f,allErrors:p}){d!==void 0&&(s.compositeRule=d),f!==void 0&&(s.createErrors=f),p!==void 0&&(s.allErrors=p),s.jtdDiscriminator=l,s.jtdMetadata=c}return rs.extendSubschemaMode=o,rs}var kr={},wb,WI;function q6(){return WI||(WI=1,wb=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[o]))return!1;for(o=r;o--!==0;){var l=s[o];if(!e(t[l],n[l]))return!1}return!0}return t!==t&&n!==n}),wb}var Sb={exports:{}},QI;function ase(){if(QI)return Sb.exports;QI=1;var e=Sb.exports=function(r,o,s){typeof o=="function"&&(s=o,o={}),s=o.cb||s;var l=typeof s=="function"?s:s.pre||function(){},c=s.post||function(){};t(o,l,c,r,"",r)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(r,o,s,l,c,d,f,p,h,g){if(l&&typeof l=="object"&&!Array.isArray(l)){o(l,c,d,f,p,h,g);for(var v in l){var _=l[v];if(Array.isArray(_)){if(v in e.arrayKeywords)for(var b=0;b<_.length;b++)t(r,o,s,_[b],c+"/"+v+"/"+b,d,c,v,l,b)}else if(v in e.propsKeywords){if(_&&typeof _=="object")for(var x in _)t(r,o,s,_[x],c+"/"+v+"/"+n(x),d,c,v,l,x)}else(v in e.keywords||r.allKeys&&!(v in e.skipKeywords))&&t(r,o,s,_,c+"/"+v,d,c,v,l)}s(l,c,d,f,p,h,g)}}function n(r){return r.replace(/~/g,"~0").replace(/\//g,"~1")}return Sb.exports}var XI;function mv(){if(XI)return kr;XI=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.getSchemaRefs=kr.resolveUrl=kr.normalizeId=kr._getFullPath=kr.getFullPath=kr.inlineRef=void 0;const e=kt(),t=q6(),n=ase(),r=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function o(b,x=!0){return typeof b=="boolean"?!0:x===!0?!l(b):x?c(b)<=x:!1}kr.inlineRef=o;const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(b){for(const x in b){if(s.has(x))return!0;const S=b[x];if(Array.isArray(S)&&S.some(l)||typeof S=="object"&&l(S))return!0}return!1}function c(b){let x=0;for(const S in b){if(S==="$ref")return 1/0;if(x++,!r.has(S)&&(typeof b[S]=="object"&&(0,e.eachItem)(b[S],E=>x+=c(E)),x===1/0))return 1/0}return x}function d(b,x="",S){S!==!1&&(x=h(x));const E=b.parse(x);return f(b,E)}kr.getFullPath=d;function f(b,x){return b.serialize(x).split("#")[0]+"#"}kr._getFullPath=f;const p=/#\/?$/;function h(b){return b?b.replace(p,""):""}kr.normalizeId=h;function g(b,x,S){return S=h(S),b.resolve(x,S)}kr.resolveUrl=g;const v=/^[a-z_][-a-z0-9._]*$/i;function _(b,x){if(typeof b=="boolean")return{};const{schemaId:S,uriResolver:E}=this.opts,T=h(b[S]||x),R={"":T},O=d(E,T,!1),A={},I=new Set;return n(b,{allKeys:!0},(H,j,B,F)=>{if(F===void 0)return;const Z=O+j;let ie=R[F];typeof H[S]=="string"&&(ie=q.call(this,H[S])),W.call(this,H.$anchor),W.call(this,H.$dynamicAnchor),R[j]=ie;function q(te){const le=this.opts.uriResolver.resolve;if(te=h(ie?le(ie,te):te),I.has(te))throw L(te);I.add(te);let Q=this.refs[te];return typeof Q=="string"&&(Q=this.refs[Q]),typeof Q=="object"?M(H,Q.schema,te):te!==h(Z)&&(te[0]==="#"?(M(H,A[te],te),A[te]=H):this.refs[te]=Z),te}function W(te){if(typeof te=="string"){if(!v.test(te))throw new Error(`invalid anchor "${te}"`);q.call(this,`#${te}`)}}}),A;function M(H,j,B){if(j!==void 0&&!t(H,j))throw L(B)}function L(H){return new Error(`reference "${H}" resolves to more than one schema`)}}return kr.getSchemaRefs=_,kr}var JI;function gv(){if(JI)return ts;JI=1,Object.defineProperty(ts,"__esModule",{value:!0}),ts.getData=ts.KeywordCxt=ts.validateFunctionCode=void 0;const e=rse(),t=Cg(),n=H6(),r=Cg(),o=ose(),s=ise(),l=sse(),c=yt(),d=Ea(),f=mv(),p=kt(),h=pv();function g(Y){if(O(Y)&&(I(Y),R(Y))){x(Y);return}v(Y,()=>(0,e.topBoolOrEmptySchema)(Y))}ts.validateFunctionCode=g;function v({gen:Y,validateName:re,schema:ve,schemaEnv:se,opts:Se},Te){Se.code.es5?Y.func(re,(0,c._)`${d.default.data}, ${d.default.valCxt}`,se.$async,()=>{Y.code((0,c._)`"use strict"; ${E(ve,Se)}`),b(Y,Se),Y.code(Te)}):Y.func(re,(0,c._)`${d.default.data}, ${_(Se)}`,se.$async,()=>Y.code(E(ve,Se)).code(Te))}function _(Y){return(0,c._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${Y.dynamicRef?(0,c._)`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`}function b(Y,re){Y.if(d.default.valCxt,()=>{Y.var(d.default.instancePath,(0,c._)`${d.default.valCxt}.${d.default.instancePath}`),Y.var(d.default.parentData,(0,c._)`${d.default.valCxt}.${d.default.parentData}`),Y.var(d.default.parentDataProperty,(0,c._)`${d.default.valCxt}.${d.default.parentDataProperty}`),Y.var(d.default.rootData,(0,c._)`${d.default.valCxt}.${d.default.rootData}`),re.dynamicRef&&Y.var(d.default.dynamicAnchors,(0,c._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{Y.var(d.default.instancePath,(0,c._)`""`),Y.var(d.default.parentData,(0,c._)`undefined`),Y.var(d.default.parentDataProperty,(0,c._)`undefined`),Y.var(d.default.rootData,d.default.data),re.dynamicRef&&Y.var(d.default.dynamicAnchors,(0,c._)`{}`)})}function x(Y){const{schema:re,opts:ve,gen:se}=Y;v(Y,()=>{ve.$comment&&re.$comment&&F(Y),H(Y),se.let(d.default.vErrors,null),se.let(d.default.errors,0),ve.unevaluated&&S(Y),M(Y),Z(Y)})}function S(Y){const{gen:re,validateName:ve}=Y;Y.evaluated=re.const("evaluated",(0,c._)`${ve}.evaluated`),re.if((0,c._)`${Y.evaluated}.dynamicProps`,()=>re.assign((0,c._)`${Y.evaluated}.props`,(0,c._)`undefined`)),re.if((0,c._)`${Y.evaluated}.dynamicItems`,()=>re.assign((0,c._)`${Y.evaluated}.items`,(0,c._)`undefined`))}function E(Y,re){const ve=typeof Y=="object"&&Y[re.schemaId];return ve&&(re.code.source||re.code.process)?(0,c._)`/*# sourceURL=${ve} */`:c.nil}function T(Y,re){if(O(Y)&&(I(Y),R(Y))){A(Y,re);return}(0,e.boolOrEmptySchema)(Y,re)}function R({schema:Y,self:re}){if(typeof Y=="boolean")return!Y;for(const ve in Y)if(re.RULES.all[ve])return!0;return!1}function O(Y){return typeof Y.schema!="boolean"}function A(Y,re){const{schema:ve,gen:se,opts:Se}=Y;Se.$comment&&ve.$comment&&F(Y),j(Y),B(Y);const Te=se.const("_errs",d.default.errors);M(Y,Te),se.var(re,(0,c._)`${Te} === ${d.default.errors}`)}function I(Y){(0,p.checkUnknownRules)(Y),L(Y)}function M(Y,re){if(Y.opts.jtd)return q(Y,[],!1,re);const ve=(0,t.getSchemaTypes)(Y.schema),se=(0,t.coerceAndCheckDataType)(Y,ve);q(Y,ve,!se,re)}function L(Y){const{schema:re,errSchemaPath:ve,opts:se,self:Se}=Y;re.$ref&&se.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(re,Se.RULES)&&Se.logger.warn(`$ref: keywords ignored in schema at path "${ve}"`)}function H(Y){const{schema:re,opts:ve}=Y;re.default!==void 0&&ve.useDefaults&&ve.strictSchema&&(0,p.checkStrictMode)(Y,"default is ignored in the schema root")}function j(Y){const re=Y.schema[Y.opts.schemaId];re&&(Y.baseId=(0,f.resolveUrl)(Y.opts.uriResolver,Y.baseId,re))}function B(Y){if(Y.schema.$async&&!Y.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:Y,schemaEnv:re,schema:ve,errSchemaPath:se,opts:Se}){const Te=ve.$comment;if(Se.$comment===!0)Y.code((0,c._)`${d.default.self}.logger.log(${Te})`);else if(typeof Se.$comment=="function"){const tt=(0,c.str)`${se}/$comment`,rt=Y.scopeValue("root",{ref:re.root});Y.code((0,c._)`${d.default.self}.opts.$comment(${Te}, ${tt}, ${rt}.schema)`)}}function Z(Y){const{gen:re,schemaEnv:ve,validateName:se,ValidationError:Se,opts:Te}=Y;ve.$async?re.if((0,c._)`${d.default.errors} === 0`,()=>re.return(d.default.data),()=>re.throw((0,c._)`new ${Se}(${d.default.vErrors})`)):(re.assign((0,c._)`${se}.errors`,d.default.vErrors),Te.unevaluated&&ie(Y),re.return((0,c._)`${d.default.errors} === 0`))}function ie({gen:Y,evaluated:re,props:ve,items:se}){ve instanceof c.Name&&Y.assign((0,c._)`${re}.props`,ve),se instanceof c.Name&&Y.assign((0,c._)`${re}.items`,se)}function q(Y,re,ve,se){const{gen:Se,schema:Te,data:tt,allErrors:rt,opts:Be,self:Qe}=Y,{RULES:Me}=Qe;if(Te.$ref&&(Be.ignoreKeywordsWithRef||!(0,p.schemaHasRulesButRef)(Te,Me))){Se.block(()=>fe(Y,"$ref",Me.all.$ref.definition));return}Be.jtd||te(Y,re),Se.block(()=>{for(const Ue of Me.rules)Pe(Ue);Pe(Me.post)});function Pe(Ue){(0,n.shouldUseGroup)(Te,Ue)&&(Ue.type?(Se.if((0,r.checkDataType)(Ue.type,tt,Be.strictNumbers)),W(Y,Ue),re.length===1&&re[0]===Ue.type&&ve&&(Se.else(),(0,r.reportTypeError)(Y)),Se.endIf()):W(Y,Ue),rt||Se.if((0,c._)`${d.default.errors} === ${se||0}`))}}function W(Y,re){const{gen:ve,schema:se,opts:{useDefaults:Se}}=Y;Se&&(0,o.assignDefaults)(Y,re.type),ve.block(()=>{for(const Te of re.rules)(0,n.shouldUseRule)(se,Te)&&fe(Y,Te.keyword,Te.definition,re.type)})}function te(Y,re){Y.schemaEnv.meta||!Y.opts.strictTypes||(le(Y,re),Y.opts.allowUnionTypes||Q(Y,re),k(Y,Y.dataTypes))}function le(Y,re){if(re.length){if(!Y.dataTypes.length){Y.dataTypes=re;return}re.forEach(ve=>{V(Y.dataTypes,ve)||U(Y,`type "${ve}" not allowed by context "${Y.dataTypes.join(",")}"`)}),D(Y,re)}}function Q(Y,re){re.length>1&&!(re.length===2&&re.includes("null"))&&U(Y,"use allowUnionTypes to allow union type keyword")}function k(Y,re){const ve=Y.self.RULES.all;for(const se in ve){const Se=ve[se];if(typeof Se=="object"&&(0,n.shouldUseRule)(Y.schema,Se)){const{type:Te}=Se.definition;Te.length&&!Te.some(tt=>G(re,tt))&&U(Y,`missing type "${Te.join(",")}" for keyword "${se}"`)}}}function G(Y,re){return Y.includes(re)||re==="number"&&Y.includes("integer")}function V(Y,re){return Y.includes(re)||re==="integer"&&Y.includes("number")}function D(Y,re){const ve=[];for(const se of Y.dataTypes)V(re,se)?ve.push(se):re.includes("integer")&&se==="number"&&ve.push("integer");Y.dataTypes=ve}function U(Y,re){const ve=Y.schemaEnv.baseId+Y.errSchemaPath;re+=` at "${ve}" (strictTypes)`,(0,p.checkStrictMode)(Y,re,Y.opts.strictTypes)}class X{constructor(re,ve,se){if((0,s.validateKeywordUsage)(re,ve,se),this.gen=re.gen,this.allErrors=re.allErrors,this.keyword=se,this.data=re.data,this.schema=re.schema[se],this.$data=ve.$data&&re.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(re,this.schema,se,this.$data),this.schemaType=ve.schemaType,this.parentSchema=re.schema,this.params={},this.it=re,this.def=ve,this.$data)this.schemaCode=re.gen.const("vSchema",je(this.$data,re));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,ve.schemaType,ve.allowUndefined))throw new Error(`${se} value must be ${JSON.stringify(ve.schemaType)}`);("code"in ve?ve.trackErrors:ve.errors!==!1)&&(this.errsCount=re.gen.const("_errs",d.default.errors))}result(re,ve,se){this.failResult((0,c.not)(re),ve,se)}failResult(re,ve,se){this.gen.if(re),se?se():this.error(),ve?(this.gen.else(),ve(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(re,ve){this.failResult((0,c.not)(re),void 0,ve)}fail(re){if(re===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(re),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(re){if(!this.$data)return this.fail(re);const{schemaCode:ve}=this;this.fail((0,c._)`${ve} !== undefined && (${(0,c.or)(this.invalid$data(),re)})`)}error(re,ve,se){if(ve){this.setParams(ve),this._error(re,se),this.setParams({});return}this._error(re,se)}_error(re,ve){(re?h.reportExtraError:h.reportError)(this,this.def.error,ve)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(re){this.allErrors||this.gen.if(re)}setParams(re,ve){ve?Object.assign(this.params,re):this.params=re}block$data(re,ve,se=c.nil){this.gen.block(()=>{this.check$data(re,se),ve()})}check$data(re=c.nil,ve=c.nil){if(!this.$data)return;const{gen:se,schemaCode:Se,schemaType:Te,def:tt}=this;se.if((0,c.or)((0,c._)`${Se} === undefined`,ve)),re!==c.nil&&se.assign(re,!0),(Te.length||tt.validateSchema)&&(se.elseIf(this.invalid$data()),this.$dataError(),re!==c.nil&&se.assign(re,!1)),se.else()}invalid$data(){const{gen:re,schemaCode:ve,schemaType:se,def:Se,it:Te}=this;return(0,c.or)(tt(),rt());function tt(){if(se.length){if(!(ve instanceof c.Name))throw new Error("ajv implementation error");const Be=Array.isArray(se)?se:[se];return(0,c._)`${(0,r.checkDataTypes)(Be,ve,Te.opts.strictNumbers,r.DataType.Wrong)}`}return c.nil}function rt(){if(Se.validateSchema){const Be=re.scopeValue("validate$data",{ref:Se.validateSchema});return(0,c._)`!${Be}(${ve})`}return c.nil}}subschema(re,ve){const se=(0,l.getSubschema)(this.it,re);(0,l.extendSubschemaData)(se,this.it,re),(0,l.extendSubschemaMode)(se,re);const Se={...this.it,...se,items:void 0,props:void 0};return T(Se,ve),Se}mergeEvaluated(re,ve){const{it:se,gen:Se}=this;se.opts.unevaluated&&(se.props!==!0&&re.props!==void 0&&(se.props=p.mergeEvaluated.props(Se,re.props,se.props,ve)),se.items!==!0&&re.items!==void 0&&(se.items=p.mergeEvaluated.items(Se,re.items,se.items,ve)))}mergeValidEvaluated(re,ve){const{it:se,gen:Se}=this;if(se.opts.unevaluated&&(se.props!==!0||se.items!==!0))return Se.if(ve,()=>this.mergeEvaluated(re,c.Name)),!0}}ts.KeywordCxt=X;function fe(Y,re,ve,se){const Se=new X(Y,ve,re);"code"in ve?ve.code(Se,se):Se.$data&&ve.validate?(0,s.funcKeywordCode)(Se,ve):"macro"in ve?(0,s.macroKeywordCode)(Se,ve):(ve.compile||ve.validate)&&(0,s.funcKeywordCode)(Se,ve)}const pe=/^\/(?:[^~]|~0|~1)*$/,xe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function je(Y,{dataLevel:re,dataNames:ve,dataPathArr:se}){let Se,Te;if(Y==="")return d.default.rootData;if(Y[0]==="/"){if(!pe.test(Y))throw new Error(`Invalid JSON-pointer: ${Y}`);Se=Y,Te=d.default.rootData}else{const Qe=xe.exec(Y);if(!Qe)throw new Error(`Invalid JSON-pointer: ${Y}`);const Me=+Qe[1];if(Se=Qe[2],Se==="#"){if(Me>=re)throw new Error(Be("property/index",Me));return se[re-Me]}if(Me>re)throw new Error(Be("data",Me));if(Te=ve[re-Me],!Se)return Te}let tt=Te;const rt=Se.split("/");for(const Qe of rt)Qe&&(Te=(0,c._)`${Te}${(0,c.getProperty)((0,p.unescapeJsonPointer)(Qe))}`,tt=(0,c._)`${tt} && ${Te}`);return tt;function Be(Qe,Me){return`Cannot access ${Qe} ${Me} levels up, current level is ${re}`}}return ts.getData=je,ts}var Mp={},eP;function vE(){if(eP)return Mp;eP=1,Object.defineProperty(Mp,"__esModule",{value:!0});class e extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}}return Mp.default=e,Mp}var Np={},tP;function vv(){if(tP)return Np;tP=1,Object.defineProperty(Np,"__esModule",{value:!0});const e=mv();class t extends Error{constructor(r,o,s,l){super(l||`can't resolve reference ${s} from id ${o}`),this.missingRef=(0,e.resolveUrl)(r,o,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(r,this.missingRef))}}return Np.default=t,Np}var co={},nP;function yE(){if(nP)return co;nP=1,Object.defineProperty(co,"__esModule",{value:!0}),co.resolveSchema=co.getCompilingSchema=co.resolveRef=co.compileSchema=co.SchemaEnv=void 0;const e=yt(),t=vE(),n=Ea(),r=mv(),o=kt(),s=gv();class l{constructor(S){var E;this.refs={},this.dynamicAnchors={};let T;typeof S.schema=="object"&&(T=S.schema),this.schema=S.schema,this.schemaId=S.schemaId,this.root=S.root||this,this.baseId=(E=S.baseId)!==null&&E!==void 0?E:(0,r.normalizeId)(T?.[S.schemaId||"$id"]),this.schemaPath=S.schemaPath,this.localRefs=S.localRefs,this.meta=S.meta,this.$async=T?.$async,this.refs={}}}co.SchemaEnv=l;function c(x){const S=p.call(this,x);if(S)return S;const E=(0,r.getFullPath)(this.opts.uriResolver,x.root.baseId),{es5:T,lines:R}=this.opts.code,{ownProperties:O}=this.opts,A=new e.CodeGen(this.scope,{es5:T,lines:R,ownProperties:O});let I;x.$async&&(I=A.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const M=A.scopeName("validate");x.validateName=M;const L={gen:A,allErrors:this.opts.allErrors,data:n.default.data,parentData:n.default.parentData,parentDataProperty:n.default.parentDataProperty,dataNames:[n.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:A.scopeValue("schema",this.opts.code.source===!0?{ref:x.schema,code:(0,e.stringify)(x.schema)}:{ref:x.schema}),validateName:M,ValidationError:I,schema:x.schema,schemaEnv:x,rootId:E,baseId:x.baseId||E,schemaPath:e.nil,errSchemaPath:x.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let H;try{this._compilations.add(x),(0,s.validateFunctionCode)(L),A.optimize(this.opts.code.optimize);const j=A.toString();H=`${A.scopeRefs(n.default.scope)}return ${j}`,this.opts.code.process&&(H=this.opts.code.process(H,x));const F=new Function(`${n.default.self}`,`${n.default.scope}`,H)(this,this.scope.get());if(this.scope.value(M,{ref:F}),F.errors=null,F.schema=x.schema,F.schemaEnv=x,x.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:M,validateCode:j,scopeValues:A._values}),this.opts.unevaluated){const{props:Z,items:ie}=L;F.evaluated={props:Z instanceof e.Name?void 0:Z,items:ie instanceof e.Name?void 0:ie,dynamicProps:Z instanceof e.Name,dynamicItems:ie instanceof e.Name},F.source&&(F.source.evaluated=(0,e.stringify)(F.evaluated))}return x.validate=F,x}catch(j){throw delete x.validate,delete x.validateName,H&&this.logger.error("Error compiling schema, function code:",H),j}finally{this._compilations.delete(x)}}co.compileSchema=c;function d(x,S,E){var T;E=(0,r.resolveUrl)(this.opts.uriResolver,S,E);const R=x.refs[E];if(R)return R;let O=g.call(this,x,E);if(O===void 0){const A=(T=x.localRefs)===null||T===void 0?void 0:T[E],{schemaId:I}=this.opts;A&&(O=new l({schema:A,schemaId:I,root:x,baseId:S}))}if(O!==void 0)return x.refs[E]=f.call(this,O)}co.resolveRef=d;function f(x){return(0,r.inlineRef)(x.schema,this.opts.inlineRefs)?x.schema:x.validate?x:c.call(this,x)}function p(x){for(const S of this._compilations)if(h(S,x))return S}co.getCompilingSchema=p;function h(x,S){return x.schema===S.schema&&x.root===S.root&&x.baseId===S.baseId}function g(x,S){let E;for(;typeof(E=this.refs[S])=="string";)S=E;return E||this.schemas[S]||v.call(this,x,S)}function v(x,S){const E=this.opts.uriResolver.parse(S),T=(0,r._getFullPath)(this.opts.uriResolver,E);let R=(0,r.getFullPath)(this.opts.uriResolver,x.baseId,void 0);if(Object.keys(x.schema).length>0&&T===R)return b.call(this,E,x);const O=(0,r.normalizeId)(T),A=this.refs[O]||this.schemas[O];if(typeof A=="string"){const I=v.call(this,x,A);return typeof I?.schema!="object"?void 0:b.call(this,E,I)}if(typeof A?.schema=="object"){if(A.validate||c.call(this,A),O===(0,r.normalizeId)(S)){const{schema:I}=A,{schemaId:M}=this.opts,L=I[M];return L&&(R=(0,r.resolveUrl)(this.opts.uriResolver,R,L)),new l({schema:I,schemaId:M,root:x,baseId:R})}return b.call(this,E,A)}}co.resolveSchema=v;const _=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function b(x,{baseId:S,schema:E,root:T}){var R;if(((R=x.fragment)===null||R===void 0?void 0:R[0])!=="/")return;for(const I of x.fragment.slice(1).split("/")){if(typeof E=="boolean")return;const M=E[(0,o.unescapeFragment)(I)];if(M===void 0)return;E=M;const L=typeof E=="object"&&E[this.opts.schemaId];!_.has(I)&&L&&(S=(0,r.resolveUrl)(this.opts.uriResolver,S,L))}let O;if(typeof E!="boolean"&&E.$ref&&!(0,o.schemaHasRulesButRef)(E,this.RULES)){const I=(0,r.resolveUrl)(this.opts.uriResolver,S,E.$ref);O=v.call(this,T,I)}const{schemaId:A}=this.opts;if(O=O||new l({schema:E,schemaId:A,root:T,baseId:S}),O.schema!==O.root.schema)return O}return co}const lse="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",cse="Meta-schema for $data reference (JSON AnySchema extension proposal)",use="object",dse=["$data"],fse={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},hse=!1,pse={$id:lse,description:cse,type:use,required:dse,properties:fse,additionalProperties:hse};var kp={},_d={exports:{}},Eb,rP;function G6(){if(rP)return Eb;rP=1;const e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),t=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function n(g){let v="",_=0,b=0;for(b=0;b<g.length;b++)if(_=g[b].charCodeAt(0),_!==48){if(!(_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102))return"";v+=g[b];break}for(b+=1;b<g.length;b++){if(_=g[b].charCodeAt(0),!(_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102))return"";v+=g[b]}return v}const r=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function o(g){return g.length=0,!0}function s(g,v,_){if(g.length){const b=n(g);if(b!=="")v.push(b);else return _.error=!0,!1;g.length=0}return!0}function l(g){let v=0;const _={error:!1,address:"",zone:""},b=[],x=[];let S=!1,E=!1,T=s;for(let R=0;R<g.length;R++){const O=g[R];if(!(O==="["||O==="]"))if(O===":"){if(S===!0&&(E=!0),!T(x,b,_))break;if(++v>7){_.error=!0;break}R>0&&g[R-1]===":"&&(S=!0),b.push(":");continue}else if(O==="%"){if(!T(x,b,_))break;T=o}else{x.push(O);continue}}return x.length&&(T===o?_.zone=x.join(""):E?b.push(x.join("")):b.push(n(x))),_.address=b.join(""),_}function c(g){if(d(g,":")<2)return{host:g,isIPV6:!1};const v=l(g);if(v.error)return{host:g,isIPV6:!1};{let _=v.address,b=v.address;return v.zone&&(_+="%"+v.zone,b+="%25"+v.zone),{host:_,isIPV6:!0,escapedHost:b}}}function d(g,v){let _=0;for(let b=0;b<g.length;b++)g[b]===v&&_++;return _}function f(g){let v=g;const _=[];let b=-1,x=0;for(;x=v.length;){if(x===1){if(v===".")break;if(v==="/"){_.push("/");break}else{_.push(v);break}}else if(x===2){if(v[0]==="."){if(v[1]===".")break;if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&(v[1]==="."||v[1]==="/")){_.push("/");break}}else if(x===3&&v==="/.."){_.length!==0&&_.pop(),_.push("/");break}if(v[0]==="."){if(v[1]==="."){if(v[2]==="/"){v=v.slice(3);continue}}else if(v[1]==="/"){v=v.slice(2);continue}}else if(v[0]==="/"&&v[1]==="."){if(v[2]==="/"){v=v.slice(2);continue}else if(v[2]==="."&&v[3]==="/"){v=v.slice(3),_.length!==0&&_.pop();continue}}if((b=v.indexOf("/",1))===-1){_.push(v);break}else _.push(v.slice(0,b)),v=v.slice(b)}return _.join("")}function p(g,v){const _=v!==!0?escape:unescape;return g.scheme!==void 0&&(g.scheme=_(g.scheme)),g.userinfo!==void 0&&(g.userinfo=_(g.userinfo)),g.host!==void 0&&(g.host=_(g.host)),g.path!==void 0&&(g.path=_(g.path)),g.query!==void 0&&(g.query=_(g.query)),g.fragment!==void 0&&(g.fragment=_(g.fragment)),g}function h(g){const v=[];if(g.userinfo!==void 0&&(v.push(g.userinfo),v.push("@")),g.host!==void 0){let _=unescape(g.host);if(!t(_)){const b=c(_);b.isIPV6===!0?_=`[${b.escapedHost}]`:_=g.host}v.push(_)}return(typeof g.port=="number"||typeof g.port=="string")&&(v.push(":"),v.push(String(g.port))),v.length?v.join(""):void 0}return Eb={nonSimpleDomain:r,recomposeAuthority:h,normalizeComponentEncoding:p,removeDotSegments:f,isIPv4:t,isUUID:e,normalizeIPv6:c,stringArrayToHexStripped:n},Eb}var xb,oP;function mse(){if(oP)return xb;oP=1;const{isUUID:e}=G6(),t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,n=["http","https","ws","wss","urn","urn:uuid"];function r(O){return n.indexOf(O)!==-1}function o(O){return O.secure===!0?!0:O.secure===!1?!1:O.scheme?O.scheme.length===3&&(O.scheme[0]==="w"||O.scheme[0]==="W")&&(O.scheme[1]==="s"||O.scheme[1]==="S")&&(O.scheme[2]==="s"||O.scheme[2]==="S"):!1}function s(O){return O.host||(O.error=O.error||"HTTP URIs must have a host."),O}function l(O){const A=String(O.scheme).toLowerCase()==="https";return(O.port===(A?443:80)||O.port==="")&&(O.port=void 0),O.path||(O.path="/"),O}function c(O){return O.secure=o(O),O.resourceName=(O.path||"/")+(O.query?"?"+O.query:""),O.path=void 0,O.query=void 0,O}function d(O){if((O.port===(o(O)?443:80)||O.port==="")&&(O.port=void 0),typeof O.secure=="boolean"&&(O.scheme=O.secure?"wss":"ws",O.secure=void 0),O.resourceName){const[A,I]=O.resourceName.split("?");O.path=A&&A!=="/"?A:void 0,O.query=I,O.resourceName=void 0}return O.fragment=void 0,O}function f(O,A){if(!O.path)return O.error="URN can not be parsed",O;const I=O.path.match(t);if(I){const M=A.scheme||O.scheme||"urn";O.nid=I[1].toLowerCase(),O.nss=I[2];const L=`${M}:${A.nid||O.nid}`,H=R(L);O.path=void 0,H&&(O=H.parse(O,A))}else O.error=O.error||"URN can not be parsed.";return O}function p(O,A){if(O.nid===void 0)throw new Error("URN without nid cannot be serialized");const I=A.scheme||O.scheme||"urn",M=O.nid.toLowerCase(),L=`${I}:${A.nid||M}`,H=R(L);H&&(O=H.serialize(O,A));const j=O,B=O.nss;return j.path=`${M||A.nid}:${B}`,A.skipEscape=!0,j}function h(O,A){const I=O;return I.uuid=I.nss,I.nss=void 0,!A.tolerant&&(!I.uuid||!e(I.uuid))&&(I.error=I.error||"UUID is not valid."),I}function g(O){const A=O;return A.nss=(O.uuid||"").toLowerCase(),A}const v={scheme:"http",domainHost:!0,parse:s,serialize:l},_={scheme:"https",domainHost:v.domainHost,parse:s,serialize:l},b={scheme:"ws",domainHost:!0,parse:c,serialize:d},x={scheme:"wss",domainHost:b.domainHost,parse:b.parse,serialize:b.serialize},T={http:v,https:_,ws:b,wss:x,urn:{scheme:"urn",parse:f,serialize:p,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:h,serialize:g,skipNormalize:!0}};Object.setPrototypeOf(T,null);function R(O){return O&&(T[O]||T[O.toLowerCase()])||void 0}return xb={wsIsSecure:o,SCHEMES:T,isValidSchemeName:r,getSchemeHandler:R},xb}var iP;function gse(){if(iP)return _d.exports;iP=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:n,normalizeComponentEncoding:r,isIPv4:o,nonSimpleDomain:s}=G6(),{SCHEMES:l,getSchemeHandler:c}=mse();function d(x,S){return typeof x=="string"?x=g(_(x,S),S):typeof x=="object"&&(x=_(g(x,S),S)),x}function f(x,S,E){const T=E?Object.assign({scheme:"null"},E):{scheme:"null"},R=p(_(x,T),_(S,T),T,!0);return T.skipEscape=!0,g(R,T)}function p(x,S,E,T){const R={};return T||(x=_(g(x,E),E),S=_(g(S,E),E)),E=E||{},!E.tolerant&&S.scheme?(R.scheme=S.scheme,R.userinfo=S.userinfo,R.host=S.host,R.port=S.port,R.path=t(S.path||""),R.query=S.query):(S.userinfo!==void 0||S.host!==void 0||S.port!==void 0?(R.userinfo=S.userinfo,R.host=S.host,R.port=S.port,R.path=t(S.path||""),R.query=S.query):(S.path?(S.path[0]==="/"?R.path=t(S.path):((x.userinfo!==void 0||x.host!==void 0||x.port!==void 0)&&!x.path?R.path="/"+S.path:x.path?R.path=x.path.slice(0,x.path.lastIndexOf("/")+1)+S.path:R.path=S.path,R.path=t(R.path)),R.query=S.query):(R.path=x.path,S.query!==void 0?R.query=S.query:R.query=x.query),R.userinfo=x.userinfo,R.host=x.host,R.port=x.port),R.scheme=x.scheme),R.fragment=S.fragment,R}function h(x,S,E){return typeof x=="string"?(x=unescape(x),x=g(r(_(x,E),!0),{...E,skipEscape:!0})):typeof x=="object"&&(x=g(r(x,!0),{...E,skipEscape:!0})),typeof S=="string"?(S=unescape(S),S=g(r(_(S,E),!0),{...E,skipEscape:!0})):typeof S=="object"&&(S=g(r(S,!0),{...E,skipEscape:!0})),x.toLowerCase()===S.toLowerCase()}function g(x,S){const E={host:x.host,scheme:x.scheme,userinfo:x.userinfo,port:x.port,path:x.path,query:x.query,nid:x.nid,nss:x.nss,uuid:x.uuid,fragment:x.fragment,reference:x.reference,resourceName:x.resourceName,secure:x.secure,error:""},T=Object.assign({},S),R=[],O=c(T.scheme||E.scheme);O&&O.serialize&&O.serialize(E,T),E.path!==void 0&&(T.skipEscape?E.path=unescape(E.path):(E.path=escape(E.path),E.scheme!==void 0&&(E.path=E.path.split("%3A").join(":")))),T.reference!=="suffix"&&E.scheme&&R.push(E.scheme,":");const A=n(E);if(A!==void 0&&(T.reference!=="suffix"&&R.push("//"),R.push(A),E.path&&E.path[0]!=="/"&&R.push("/")),E.path!==void 0){let I=E.path;!T.absolutePath&&(!O||!O.absolutePath)&&(I=t(I)),A===void 0&&I[0]==="/"&&I[1]==="/"&&(I="/%2F"+I.slice(2)),R.push(I)}return E.query!==void 0&&R.push("?",E.query),E.fragment!==void 0&&R.push("#",E.fragment),R.join("")}const v=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function _(x,S){const E=Object.assign({},S),T={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let R=!1;E.reference==="suffix"&&(E.scheme?x=E.scheme+":"+x:x="//"+x);const O=x.match(v);if(O){if(T.scheme=O[1],T.userinfo=O[3],T.host=O[4],T.port=parseInt(O[5],10),T.path=O[6]||"",T.query=O[7],T.fragment=O[8],isNaN(T.port)&&(T.port=O[5]),T.host)if(o(T.host)===!1){const M=e(T.host);T.host=M.host.toLowerCase(),R=M.isIPV6}else R=!0;T.scheme===void 0&&T.userinfo===void 0&&T.host===void 0&&T.port===void 0&&T.query===void 0&&!T.path?T.reference="same-document":T.scheme===void 0?T.reference="relative":T.fragment===void 0?T.reference="absolute":T.reference="uri",E.reference&&E.reference!=="suffix"&&E.reference!==T.reference&&(T.error=T.error||"URI is not a "+E.reference+" reference.");const A=c(E.scheme||T.scheme);if(!E.unicodeSupport&&(!A||!A.unicodeSupport)&&T.host&&(E.domainHost||A&&A.domainHost)&&R===!1&&s(T.host))try{T.host=URL.domainToASCII(T.host.toLowerCase())}catch(I){T.error=T.error||"Host's domain name can not be converted to ASCII: "+I}(!A||A&&!A.skipNormalize)&&(x.indexOf("%")!==-1&&(T.scheme!==void 0&&(T.scheme=unescape(T.scheme)),T.host!==void 0&&(T.host=unescape(T.host))),T.path&&(T.path=escape(unescape(T.path))),T.fragment&&(T.fragment=encodeURI(decodeURIComponent(T.fragment)))),A&&A.parse&&A.parse(T,E)}else T.error=T.error||"URI can not be parsed.";return T}const b={SCHEMES:l,normalize:d,resolve:f,resolveComponent:p,equal:h,serialize:g,parse:_};return _d.exports=b,_d.exports.default=b,_d.exports.fastUri=b,_d.exports}var sP;function vse(){if(sP)return kp;sP=1,Object.defineProperty(kp,"__esModule",{value:!0});const e=gse();return e.code='require("ajv/dist/runtime/uri").default',kp.default=e,kp}var aP;function yse(){return aP||(aP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=gv();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=yt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const r=vE(),o=vv(),s=V6(),l=yE(),c=yt(),d=mv(),f=Cg(),p=kt(),h=pse,g=vse(),v=(Q,k)=>new RegExp(Q,k);v.code="new RegExp";const _=["removeAdditional","useDefaults","coerceTypes"],b=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),x={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},S={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},E=200;function T(Q){var k,G,V,D,U,X,fe,pe,xe,je,Y,re,ve,se,Se,Te,tt,rt,Be,Qe,Me,Pe,Ue,K,ne;const ae=Q.strict,Oe=(k=Q.code)===null||k===void 0?void 0:k.optimize,Ae=Oe===!0||Oe===void 0?1:Oe||0,Ie=(V=(G=Q.code)===null||G===void 0?void 0:G.regExp)!==null&&V!==void 0?V:v,ke=(D=Q.uriResolver)!==null&&D!==void 0?D:g.default;return{strictSchema:(X=(U=Q.strictSchema)!==null&&U!==void 0?U:ae)!==null&&X!==void 0?X:!0,strictNumbers:(pe=(fe=Q.strictNumbers)!==null&&fe!==void 0?fe:ae)!==null&&pe!==void 0?pe:!0,strictTypes:(je=(xe=Q.strictTypes)!==null&&xe!==void 0?xe:ae)!==null&&je!==void 0?je:"log",strictTuples:(re=(Y=Q.strictTuples)!==null&&Y!==void 0?Y:ae)!==null&&re!==void 0?re:"log",strictRequired:(se=(ve=Q.strictRequired)!==null&&ve!==void 0?ve:ae)!==null&&se!==void 0?se:!1,code:Q.code?{...Q.code,optimize:Ae,regExp:Ie}:{optimize:Ae,regExp:Ie},loopRequired:(Se=Q.loopRequired)!==null&&Se!==void 0?Se:E,loopEnum:(Te=Q.loopEnum)!==null&&Te!==void 0?Te:E,meta:(tt=Q.meta)!==null&&tt!==void 0?tt:!0,messages:(rt=Q.messages)!==null&&rt!==void 0?rt:!0,inlineRefs:(Be=Q.inlineRefs)!==null&&Be!==void 0?Be:!0,schemaId:(Qe=Q.schemaId)!==null&&Qe!==void 0?Qe:"$id",addUsedSchema:(Me=Q.addUsedSchema)!==null&&Me!==void 0?Me:!0,validateSchema:(Pe=Q.validateSchema)!==null&&Pe!==void 0?Pe:!0,validateFormats:(Ue=Q.validateFormats)!==null&&Ue!==void 0?Ue:!0,unicodeRegExp:(K=Q.unicodeRegExp)!==null&&K!==void 0?K:!0,int32range:(ne=Q.int32range)!==null&&ne!==void 0?ne:!0,uriResolver:ke}}class R{constructor(k={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,k=this.opts={...k,...T(k)};const{es5:G,lines:V}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:b,es5:G,lines:V}),this.logger=B(k.logger);const D=k.validateFormats;k.validateFormats=!1,this.RULES=(0,s.getRules)(),O.call(this,x,k,"NOT SUPPORTED"),O.call(this,S,k,"DEPRECATED","warn"),this._metaOpts=H.call(this),k.formats&&M.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),k.keywords&&L.call(this,k.keywords),typeof k.meta=="object"&&this.addMetaSchema(k.meta),I.call(this),k.validateFormats=D}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:k,meta:G,schemaId:V}=this.opts;let D=h;V==="id"&&(D={...h},D.id=D.$id,delete D.$id),G&&k&&this.addMetaSchema(D,D[V],!1)}defaultMeta(){const{meta:k,schemaId:G}=this.opts;return this.opts.defaultMeta=typeof k=="object"?k[G]||k:void 0}validate(k,G){let V;if(typeof k=="string"){if(V=this.getSchema(k),!V)throw new Error(`no schema with key or ref "${k}"`)}else V=this.compile(k);const D=V(G);return"$async"in V||(this.errors=V.errors),D}compile(k,G){const V=this._addSchema(k,G);return V.validate||this._compileSchemaEnv(V)}compileAsync(k,G){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:V}=this.opts;return D.call(this,k,G);async function D(je,Y){await U.call(this,je.$schema);const re=this._addSchema(je,Y);return re.validate||X.call(this,re)}async function U(je){je&&!this.getSchema(je)&&await D.call(this,{$ref:je},!0)}async function X(je){try{return this._compileSchemaEnv(je)}catch(Y){if(!(Y instanceof o.default))throw Y;return fe.call(this,Y),await pe.call(this,Y.missingSchema),X.call(this,je)}}function fe({missingSchema:je,missingRef:Y}){if(this.refs[je])throw new Error(`AnySchema ${je} is loaded but ${Y} cannot be resolved`)}async function pe(je){const Y=await xe.call(this,je);this.refs[je]||await U.call(this,Y.$schema),this.refs[je]||this.addSchema(Y,je,G)}async function xe(je){const Y=this._loading[je];if(Y)return Y;try{return await(this._loading[je]=V(je))}finally{delete this._loading[je]}}}addSchema(k,G,V,D=this.opts.validateSchema){if(Array.isArray(k)){for(const X of k)this.addSchema(X,void 0,V,D);return this}let U;if(typeof k=="object"){const{schemaId:X}=this.opts;if(U=k[X],U!==void 0&&typeof U!="string")throw new Error(`schema ${X} must be string`)}return G=(0,d.normalizeId)(G||U),this._checkUnique(G),this.schemas[G]=this._addSchema(k,V,G,D,!0),this}addMetaSchema(k,G,V=this.opts.validateSchema){return this.addSchema(k,G,!0,V),this}validateSchema(k,G){if(typeof k=="boolean")return!0;let V;if(V=k.$schema,V!==void 0&&typeof V!="string")throw new Error("$schema must be a string");if(V=V||this.opts.defaultMeta||this.defaultMeta(),!V)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const D=this.validate(V,k);if(!D&&G){const U="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(U);else throw new Error(U)}return D}getSchema(k){let G;for(;typeof(G=A.call(this,k))=="string";)k=G;if(G===void 0){const{schemaId:V}=this.opts,D=new l.SchemaEnv({schema:{},schemaId:V});if(G=l.resolveSchema.call(this,D,k),!G)return;this.refs[k]=G}return G.validate||this._compileSchemaEnv(G)}removeSchema(k){if(k instanceof RegExp)return this._removeAllSchemas(this.schemas,k),this._removeAllSchemas(this.refs,k),this;switch(typeof k){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const G=A.call(this,k);return typeof G=="object"&&this._cache.delete(G.schema),delete this.schemas[k],delete this.refs[k],this}case"object":{const G=k;this._cache.delete(G);let V=k[this.opts.schemaId];return V&&(V=(0,d.normalizeId)(V),delete this.schemas[V],delete this.refs[V]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(k){for(const G of k)this.addKeyword(G);return this}addKeyword(k,G){let V;if(typeof k=="string")V=k,typeof G=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),G.keyword=V);else if(typeof k=="object"&&G===void 0){if(G=k,V=G.keyword,Array.isArray(V)&&!V.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(Z.call(this,V,G),!G)return(0,p.eachItem)(V,U=>ie.call(this,U)),this;W.call(this,G);const D={...G,type:(0,f.getJSONTypes)(G.type),schemaType:(0,f.getJSONTypes)(G.schemaType)};return(0,p.eachItem)(V,D.type.length===0?U=>ie.call(this,U,D):U=>D.type.forEach(X=>ie.call(this,U,D,X))),this}getKeyword(k){const G=this.RULES.all[k];return typeof G=="object"?G.definition:!!G}removeKeyword(k){const{RULES:G}=this;delete G.keywords[k],delete G.all[k];for(const V of G.rules){const D=V.rules.findIndex(U=>U.keyword===k);D>=0&&V.rules.splice(D,1)}return this}addFormat(k,G){return typeof G=="string"&&(G=new RegExp(G)),this.formats[k]=G,this}errorsText(k=this.errors,{separator:G=", ",dataVar:V="data"}={}){return!k||k.length===0?"No errors":k.map(D=>`${V}${D.instancePath} ${D.message}`).reduce((D,U)=>D+G+U)}$dataMetaSchema(k,G){const V=this.RULES.all;k=JSON.parse(JSON.stringify(k));for(const D of G){const U=D.split("/").slice(1);let X=k;for(const fe of U)X=X[fe];for(const fe in V){const pe=V[fe];if(typeof pe!="object")continue;const{$data:xe}=pe.definition,je=X[fe];xe&&je&&(X[fe]=le(je))}}return k}_removeAllSchemas(k,G){for(const V in k){const D=k[V];(!G||G.test(V))&&(typeof D=="string"?delete k[V]:D&&!D.meta&&(this._cache.delete(D.schema),delete k[V]))}}_addSchema(k,G,V,D=this.opts.validateSchema,U=this.opts.addUsedSchema){let X;const{schemaId:fe}=this.opts;if(typeof k=="object")X=k[fe];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof k!="boolean")throw new Error("schema must be object or boolean")}let pe=this._cache.get(k);if(pe!==void 0)return pe;V=(0,d.normalizeId)(X||V);const xe=d.getSchemaRefs.call(this,k,V);return pe=new l.SchemaEnv({schema:k,schemaId:fe,meta:G,baseId:V,localRefs:xe}),this._cache.set(pe.schema,pe),U&&!V.startsWith("#")&&(V&&this._checkUnique(V),this.refs[V]=pe),D&&this.validateSchema(k,!0),pe}_checkUnique(k){if(this.schemas[k]||this.refs[k])throw new Error(`schema with key or id "${k}" already exists`)}_compileSchemaEnv(k){if(k.meta?this._compileMetaSchema(k):l.compileSchema.call(this,k),!k.validate)throw new Error("ajv implementation error");return k.validate}_compileMetaSchema(k){const G=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,k)}finally{this.opts=G}}}R.ValidationError=r.default,R.MissingRefError=o.default,e.default=R;function O(Q,k,G,V="error"){for(const D in Q){const U=D;U in k&&this.logger[V](`${G}: option ${D}. ${Q[U]}`)}}function A(Q){return Q=(0,d.normalizeId)(Q),this.schemas[Q]||this.refs[Q]}function I(){const Q=this.opts.schemas;if(Q)if(Array.isArray(Q))this.addSchema(Q);else for(const k in Q)this.addSchema(Q[k],k)}function M(){for(const Q in this.opts.formats){const k=this.opts.formats[Q];k&&this.addFormat(Q,k)}}function L(Q){if(Array.isArray(Q)){this.addVocabulary(Q);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const k in Q){const G=Q[k];G.keyword||(G.keyword=k),this.addKeyword(G)}}function H(){const Q={...this.opts};for(const k of _)delete Q[k];return Q}const j={log(){},warn(){},error(){}};function B(Q){if(Q===!1)return j;if(Q===void 0)return console;if(Q.log&&Q.warn&&Q.error)return Q;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function Z(Q,k){const{RULES:G}=this;if((0,p.eachItem)(Q,V=>{if(G.keywords[V])throw new Error(`Keyword ${V} is already defined`);if(!F.test(V))throw new Error(`Keyword ${V} has invalid name`)}),!!k&&k.$data&&!("code"in k||"validate"in k))throw new Error('$data keyword must have "code" or "validate" function')}function ie(Q,k,G){var V;const D=k?.post;if(G&&D)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:U}=this;let X=D?U.post:U.rules.find(({type:pe})=>pe===G);if(X||(X={type:G,rules:[]},U.rules.push(X)),U.keywords[Q]=!0,!k)return;const fe={keyword:Q,definition:{...k,type:(0,f.getJSONTypes)(k.type),schemaType:(0,f.getJSONTypes)(k.schemaType)}};k.before?q.call(this,X,fe,k.before):X.rules.push(fe),U.all[Q]=fe,(V=k.implements)===null||V===void 0||V.forEach(pe=>this.addKeyword(pe))}function q(Q,k,G){const V=Q.rules.findIndex(D=>D.keyword===G);V>=0?Q.rules.splice(V,0,k):(Q.rules.push(k),this.logger.warn(`rule ${G} is not defined`))}function W(Q){let{metaSchema:k}=Q;k!==void 0&&(Q.$data&&this.opts.$data&&(k=le(k)),Q.validateSchema=this.compile(k,!0))}const te={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function le(Q){return{anyOf:[Q,te]}}})(gb)),gb}var Dp={},Lp={},$p={},lP;function _se(){if(lP)return $p;lP=1,Object.defineProperty($p,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return $p.default=e,$p}var Xs={},cP;function bse(){if(cP)return Xs;cP=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.callRef=Xs.getValidate=void 0;const e=vv(),t=ci(),n=yt(),r=Ea(),o=yE(),s=kt(),l={keyword:"$ref",schemaType:"string",code(f){const{gen:p,schema:h,it:g}=f,{baseId:v,schemaEnv:_,validateName:b,opts:x,self:S}=g,{root:E}=_;if((h==="#"||h==="#/")&&v===E.baseId)return R();const T=o.resolveRef.call(S,E,v,h);if(T===void 0)throw new e.default(g.opts.uriResolver,v,h);if(T instanceof o.SchemaEnv)return O(T);return A(T);function R(){if(_===E)return d(f,b,_,_.$async);const I=p.scopeValue("root",{ref:E});return d(f,(0,n._)`${I}.validate`,E,E.$async)}function O(I){const M=c(f,I);d(f,M,I,I.$async)}function A(I){const M=p.scopeValue("schema",x.code.source===!0?{ref:I,code:(0,n.stringify)(I)}:{ref:I}),L=p.name("valid"),H=f.subschema({schema:I,dataTypes:[],schemaPath:n.nil,topSchemaRef:M,errSchemaPath:h},L);f.mergeEvaluated(H),f.ok(L)}}};function c(f,p){const{gen:h}=f;return p.validate?h.scopeValue("validate",{ref:p.validate}):(0,n._)`${h.scopeValue("wrapper",{ref:p})}.validate`}Xs.getValidate=c;function d(f,p,h,g){const{gen:v,it:_}=f,{allErrors:b,schemaEnv:x,opts:S}=_,E=S.passContext?r.default.this:n.nil;g?T():R();function T(){if(!x.$async)throw new Error("async schema referenced by sync schema");const I=v.let("valid");v.try(()=>{v.code((0,n._)`await ${(0,t.callValidateCode)(f,p,E)}`),A(p),b||v.assign(I,!0)},M=>{v.if((0,n._)`!(${M} instanceof ${_.ValidationError})`,()=>v.throw(M)),O(M),b||v.assign(I,!1)}),f.ok(I)}function R(){f.result((0,t.callValidateCode)(f,p,E),()=>A(p),()=>O(p))}function O(I){const M=(0,n._)`${I}.errors`;v.assign(r.default.vErrors,(0,n._)`${r.default.vErrors} === null ? ${M} : ${r.default.vErrors}.concat(${M})`),v.assign(r.default.errors,(0,n._)`${r.default.vErrors}.length`)}function A(I){var M;if(!_.opts.unevaluated)return;const L=(M=h?.validate)===null||M===void 0?void 0:M.evaluated;if(_.props!==!0)if(L&&!L.dynamicProps)L.props!==void 0&&(_.props=s.mergeEvaluated.props(v,L.props,_.props));else{const H=v.var("props",(0,n._)`${I}.evaluated.props`);_.props=s.mergeEvaluated.props(v,H,_.props,n.Name)}if(_.items!==!0)if(L&&!L.dynamicItems)L.items!==void 0&&(_.items=s.mergeEvaluated.items(v,L.items,_.items));else{const H=v.var("items",(0,n._)`${I}.evaluated.items`);_.items=s.mergeEvaluated.items(v,H,_.items,n.Name)}}}return Xs.callRef=d,Xs.default=l,Xs}var uP;function wse(){if(uP)return Lp;uP=1,Object.defineProperty(Lp,"__esModule",{value:!0});const e=_se(),t=bse(),n=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Lp.default=n,Lp}var jp={},zp={},dP;function Sse(){if(dP)return zp;dP=1,Object.defineProperty(zp,"__esModule",{value:!0});const e=yt(),t=e.operators,n={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},r={message:({keyword:s,schemaCode:l})=>(0,e.str)`must be ${n[s].okStr} ${l}`,params:({keyword:s,schemaCode:l})=>(0,e._)`{comparison: ${n[s].okStr}, limit: ${l}}`},o={keyword:Object.keys(n),type:"number",schemaType:"number",$data:!0,error:r,code(s){const{keyword:l,data:c,schemaCode:d}=s;s.fail$data((0,e._)`${c} ${n[l].fail} ${d} || isNaN(${c})`)}};return zp.default=o,zp}var Up={},fP;function Ese(){if(fP)return Up;fP=1,Object.defineProperty(Up,"__esModule",{value:!0});const e=yt(),n={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,e._)`{multipleOf: ${r}}`},code(r){const{gen:o,data:s,schemaCode:l,it:c}=r,d=c.opts.multipleOfPrecision,f=o.let("res"),p=d?(0,e._)`Math.abs(Math.round(${f}) - ${f}) > 1e-${d}`:(0,e._)`${f} !== parseInt(${f})`;r.fail$data((0,e._)`(${l} === 0 || (${f} = ${s}/${l}, ${p}))`)}};return Up.default=n,Up}var Fp={},Bp={},hP;function xse(){if(hP)return Bp;hP=1,Object.defineProperty(Bp,"__esModule",{value:!0});function e(t){const n=t.length;let r=0,o=0,s;for(;o<n;)r++,s=t.charCodeAt(o++),s>=55296&&s<=56319&&o<n&&(s=t.charCodeAt(o),(s&64512)===56320&&o++);return r}return Bp.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Bp}var pP;function Rse(){if(pP)return Fp;pP=1,Object.defineProperty(Fp,"__esModule",{value:!0});const e=yt(),t=kt(),n=xse(),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:s,schemaCode:l}){const c=s==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${c} than ${l} characters`},params:({schemaCode:s})=>(0,e._)`{limit: ${s}}`},code(s){const{keyword:l,data:c,schemaCode:d,it:f}=s,p=l==="maxLength"?e.operators.GT:e.operators.LT,h=f.opts.unicode===!1?(0,e._)`${c}.length`:(0,e._)`${(0,t.useFunc)(s.gen,n.default)}(${c})`;s.fail$data((0,e._)`${h} ${p} ${d}`)}};return Fp.default=o,Fp}var Vp={},mP;function Ose(){if(mP)return Vp;mP=1,Object.defineProperty(Vp,"__esModule",{value:!0});const e=ci(),t=kt(),n=yt(),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:s})=>(0,n.str)`must match pattern "${s}"`,params:({schemaCode:s})=>(0,n._)`{pattern: ${s}}`},code(s){const{gen:l,data:c,$data:d,schema:f,schemaCode:p,it:h}=s,g=h.opts.unicodeRegExp?"u":"";if(d){const{regExp:v}=h.opts.code,_=v.code==="new RegExp"?(0,n._)`new RegExp`:(0,t.useFunc)(l,v),b=l.let("valid");l.try(()=>l.assign(b,(0,n._)`${_}(${p}, ${g}).test(${c})`),()=>l.assign(b,!1)),s.fail$data((0,n._)`!${b}`)}else{const v=(0,e.usePattern)(s,f);s.fail$data((0,n._)`!${v}.test(${c})`)}}};return Vp.default=o,Vp}var Hp={},gP;function Tse(){if(gP)return Hp;gP=1,Object.defineProperty(Hp,"__esModule",{value:!0});const e=yt(),n={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:o}){const s=r==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${s} than ${o} properties`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:o,data:s,schemaCode:l}=r,c=o==="maxProperties"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`Object.keys(${s}).length ${c} ${l}`)}};return Hp.default=n,Hp}var qp={},vP;function Cse(){if(vP)return qp;vP=1,Object.defineProperty(qp,"__esModule",{value:!0});const e=ci(),t=yt(),n=kt(),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:s}})=>(0,t.str)`must have required property '${s}'`,params:({params:{missingProperty:s}})=>(0,t._)`{missingProperty: ${s}}`},code(s){const{gen:l,schema:c,schemaCode:d,data:f,$data:p,it:h}=s,{opts:g}=h;if(!p&&c.length===0)return;const v=c.length>=g.loopRequired;if(h.allErrors?_():b(),g.strictRequired){const E=s.parentSchema.properties,{definedProperties:T}=s.it;for(const R of c)if(E?.[R]===void 0&&!T.has(R)){const O=h.schemaEnv.baseId+h.errSchemaPath,A=`required property "${R}" is not defined at "${O}" (strictRequired)`;(0,n.checkStrictMode)(h,A,h.opts.strictRequired)}}function _(){if(v||p)s.block$data(t.nil,x);else for(const E of c)(0,e.checkReportMissingProp)(s,E)}function b(){const E=l.let("missing");if(v||p){const T=l.let("valid",!0);s.block$data(T,()=>S(E,T)),s.ok(T)}else l.if((0,e.checkMissingProp)(s,c,E)),(0,e.reportMissingProp)(s,E),l.else()}function x(){l.forOf("prop",d,E=>{s.setParams({missingProperty:E}),l.if((0,e.noPropertyInData)(l,f,E,g.ownProperties),()=>s.error())})}function S(E,T){s.setParams({missingProperty:E}),l.forOf(E,d,()=>{l.assign(T,(0,e.propertyInData)(l,f,E,g.ownProperties)),l.if((0,t.not)(T),()=>{s.error(),l.break()})},t.nil)}}};return qp.default=o,qp}var Gp={},yP;function Ase(){if(yP)return Gp;yP=1,Object.defineProperty(Gp,"__esModule",{value:!0});const e=yt(),n={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:o}){const s=r==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${s} than ${o} items`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:o,data:s,schemaCode:l}=r,c=o==="maxItems"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`${s}.length ${c} ${l}`)}};return Gp.default=n,Gp}var Kp={},Zp={},_P;function _E(){if(_P)return Zp;_P=1,Object.defineProperty(Zp,"__esModule",{value:!0});const e=q6();return e.code='require("ajv/dist/runtime/equal").default',Zp.default=e,Zp}var bP;function Ise(){if(bP)return Kp;bP=1,Object.defineProperty(Kp,"__esModule",{value:!0});const e=Cg(),t=yt(),n=kt(),r=_E(),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:l,j:c}})=>(0,t.str)`must NOT have duplicate items (items ## ${c} and ${l} are identical)`,params:({params:{i:l,j:c}})=>(0,t._)`{i: ${l}, j: ${c}}`},code(l){const{gen:c,data:d,$data:f,schema:p,parentSchema:h,schemaCode:g,it:v}=l;if(!f&&!p)return;const _=c.let("valid"),b=h.items?(0,e.getSchemaTypes)(h.items):[];l.block$data(_,x,(0,t._)`${g} === false`),l.ok(_);function x(){const R=c.let("i",(0,t._)`${d}.length`),O=c.let("j");l.setParams({i:R,j:O}),c.assign(_,!0),c.if((0,t._)`${R} > 1`,()=>(S()?E:T)(R,O))}function S(){return b.length>0&&!b.some(R=>R==="object"||R==="array")}function E(R,O){const A=c.name("item"),I=(0,e.checkDataTypes)(b,A,v.opts.strictNumbers,e.DataType.Wrong),M=c.const("indices",(0,t._)`{}`);c.for((0,t._)`;${R}--;`,()=>{c.let(A,(0,t._)`${d}[${R}]`),c.if(I,(0,t._)`continue`),b.length>1&&c.if((0,t._)`typeof ${A} == "string"`,(0,t._)`${A} += "_"`),c.if((0,t._)`typeof ${M}[${A}] == "number"`,()=>{c.assign(O,(0,t._)`${M}[${A}]`),l.error(),c.assign(_,!1).break()}).code((0,t._)`${M}[${A}] = ${R}`)})}function T(R,O){const A=(0,n.useFunc)(c,r.default),I=c.name("outer");c.label(I).for((0,t._)`;${R}--;`,()=>c.for((0,t._)`${O} = ${R}; ${O}--;`,()=>c.if((0,t._)`${A}(${d}[${R}], ${d}[${O}])`,()=>{l.error(),c.assign(_,!1).break(I)})))}}};return Kp.default=s,Kp}var Yp={},wP;function Pse(){if(wP)return Yp;wP=1,Object.defineProperty(Yp,"__esModule",{value:!0});const e=yt(),t=kt(),n=_E(),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:s})=>(0,e._)`{allowedValue: ${s}}`},code(s){const{gen:l,data:c,$data:d,schemaCode:f,schema:p}=s;d||p&&typeof p=="object"?s.fail$data((0,e._)`!${(0,t.useFunc)(l,n.default)}(${c}, ${f})`):s.fail((0,e._)`${p} !== ${c}`)}};return Yp.default=o,Yp}var Wp={},SP;function Mse(){if(SP)return Wp;SP=1,Object.defineProperty(Wp,"__esModule",{value:!0});const e=yt(),t=kt(),n=_E(),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:s})=>(0,e._)`{allowedValues: ${s}}`},code(s){const{gen:l,data:c,$data:d,schema:f,schemaCode:p,it:h}=s;if(!d&&f.length===0)throw new Error("enum must have non-empty array");const g=f.length>=h.opts.loopEnum;let v;const _=()=>v??(v=(0,t.useFunc)(l,n.default));let b;if(g||d)b=l.let("valid"),s.block$data(b,x);else{if(!Array.isArray(f))throw new Error("ajv implementation error");const E=l.const("vSchema",p);b=(0,e.or)(...f.map((T,R)=>S(E,R)))}s.pass(b);function x(){l.assign(b,!1),l.forOf("v",p,E=>l.if((0,e._)`${_()}(${c}, ${E})`,()=>l.assign(b,!0).break()))}function S(E,T){const R=f[T];return typeof R=="object"&&R!==null?(0,e._)`${_()}(${c}, ${E}[${T}])`:(0,e._)`${c} === ${R}`}}};return Wp.default=o,Wp}var EP;function Nse(){if(EP)return jp;EP=1,Object.defineProperty(jp,"__esModule",{value:!0});const e=Sse(),t=Ese(),n=Rse(),r=Ose(),o=Tse(),s=Cse(),l=Ase(),c=Ise(),d=Pse(),f=Mse(),p=[e.default,t.default,n.default,r.default,o.default,s.default,l.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];return jp.default=p,jp}var Qp={},_c={},xP;function K6(){if(xP)return _c;xP=1,Object.defineProperty(_c,"__esModule",{value:!0}),_c.validateAdditionalItems=void 0;const e=yt(),t=kt(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{parentSchema:l,it:c}=s,{items:d}=l;if(!Array.isArray(d)){(0,t.checkStrictMode)(c,'"additionalItems" is ignored when "items" is not an array of schemas');return}o(s,d)}};function o(s,l){const{gen:c,schema:d,data:f,keyword:p,it:h}=s;h.items=!0;const g=c.const("len",(0,e._)`${f}.length`);if(d===!1)s.setParams({len:l.length}),s.pass((0,e._)`${g} <= ${l.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(h,d)){const _=c.var("valid",(0,e._)`${g} <= ${l.length}`);c.if((0,e.not)(_),()=>v(_)),s.ok(_)}function v(_){c.forRange("i",l.length,g,b=>{s.subschema({keyword:p,dataProp:b,dataPropType:t.Type.Num},_),h.allErrors||c.if((0,e.not)(_),()=>c.break())})}}return _c.validateAdditionalItems=o,_c.default=r,_c}var Xp={},bc={},RP;function Z6(){if(RP)return bc;RP=1,Object.defineProperty(bc,"__esModule",{value:!0}),bc.validateTuple=void 0;const e=yt(),t=kt(),n=ci(),r={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(s){const{schema:l,it:c}=s;if(Array.isArray(l))return o(s,"additionalItems",l);c.items=!0,!(0,t.alwaysValidSchema)(c,l)&&s.ok((0,n.validateArray)(s))}};function o(s,l,c=s.schema){const{gen:d,parentSchema:f,data:p,keyword:h,it:g}=s;b(f),g.opts.unevaluated&&c.length&&g.items!==!0&&(g.items=t.mergeEvaluated.items(d,c.length,g.items));const v=d.name("valid"),_=d.const("len",(0,e._)`${p}.length`);c.forEach((x,S)=>{(0,t.alwaysValidSchema)(g,x)||(d.if((0,e._)`${_} > ${S}`,()=>s.subschema({keyword:h,schemaProp:S,dataProp:S},v)),s.ok(v))});function b(x){const{opts:S,errSchemaPath:E}=g,T=c.length,R=T===x.minItems&&(T===x.maxItems||x[l]===!1);if(S.strictTuples&&!R){const O=`"${h}" is ${T}-tuple, but minItems or maxItems/${l} are not specified or different at path "${E}"`;(0,t.checkStrictMode)(g,O,S.strictTuples)}}}return bc.validateTuple=o,bc.default=r,bc}var OP;function kse(){if(OP)return Xp;OP=1,Object.defineProperty(Xp,"__esModule",{value:!0});const e=Z6(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:n=>(0,e.validateTuple)(n,"items")};return Xp.default=t,Xp}var Jp={},TP;function Dse(){if(TP)return Jp;TP=1,Object.defineProperty(Jp,"__esModule",{value:!0});const e=yt(),t=kt(),n=ci(),r=K6(),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,e.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,e._)`{limit: ${l}}`},code(l){const{schema:c,parentSchema:d,it:f}=l,{prefixItems:p}=d;f.items=!0,!(0,t.alwaysValidSchema)(f,c)&&(p?(0,r.validateAdditionalItems)(l,p):l.ok((0,n.validateArray)(l)))}};return Jp.default=s,Jp}var em={},CP;function Lse(){if(CP)return em;CP=1,Object.defineProperty(em,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:o,max:s}})=>s===void 0?(0,e.str)`must contain at least ${o} valid item(s)`:(0,e.str)`must contain at least ${o} and no more than ${s} valid item(s)`,params:({params:{min:o,max:s}})=>s===void 0?(0,e._)`{minContains: ${o}}`:(0,e._)`{minContains: ${o}, maxContains: ${s}}`},code(o){const{gen:s,schema:l,parentSchema:c,data:d,it:f}=o;let p,h;const{minContains:g,maxContains:v}=c;f.opts.next?(p=g===void 0?1:g,h=v):p=1;const _=s.const("len",(0,e._)`${d}.length`);if(o.setParams({min:p,max:h}),h===void 0&&p===0){(0,t.checkStrictMode)(f,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(h!==void 0&&p>h){(0,t.checkStrictMode)(f,'"minContains" > "maxContains" is always invalid'),o.fail();return}if((0,t.alwaysValidSchema)(f,l)){let T=(0,e._)`${_} >= ${p}`;h!==void 0&&(T=(0,e._)`${T} && ${_} <= ${h}`),o.pass(T);return}f.items=!0;const b=s.name("valid");h===void 0&&p===1?S(b,()=>s.if(b,()=>s.break())):p===0?(s.let(b,!0),h!==void 0&&s.if((0,e._)`${d}.length > 0`,x)):(s.let(b,!1),x()),o.result(b,()=>o.reset());function x(){const T=s.name("_valid"),R=s.let("count",0);S(T,()=>s.if(T,()=>E(R)))}function S(T,R){s.forRange("i",0,_,O=>{o.subschema({keyword:"contains",dataProp:O,dataPropType:t.Type.Num,compositeRule:!0},T),R()})}function E(T){s.code((0,e._)`${T}++`),h===void 0?s.if((0,e._)`${T} >= ${p}`,()=>s.assign(b,!0).break()):(s.if((0,e._)`${T} > ${h}`,()=>s.assign(b,!1).break()),p===1?s.assign(b,!0):s.if((0,e._)`${T} >= ${p}`,()=>s.assign(b,!0)))}}};return em.default=r,em}var Rb={},AP;function $se(){return AP||(AP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=yt(),n=kt(),r=ci();e.error={message:({params:{property:d,depsCount:f,deps:p}})=>{const h=f===1?"property":"properties";return(0,t.str)`must have ${h} ${p} when property ${d} is present`},params:({params:{property:d,depsCount:f,deps:p,missingProperty:h}})=>(0,t._)`{property: ${d},
161
161
  missingProperty: ${h},
162
162
  depsCount: ${f},
163
- deps: ${p}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[f,p]=s(d);l(d,f),c(d,p)}};function s({schema:d}){const f={},p={};for(const h in d){if(h==="__proto__")continue;const g=Array.isArray(d[h])?f:p;g[h]=d[h]}return[f,p]}function l(d,f=d.schema){const{gen:p,data:h,it:g}=d;if(Object.keys(f).length===0)return;const v=p.let("missing");for(const _ in f){const b=f[_];if(b.length===0)continue;const x=(0,r.propertyInData)(p,h,_,g.opts.ownProperties);d.setParams({property:_,depsCount:b.length,deps:b.join(", ")}),g.allErrors?p.if(x,()=>{for(const S of b)(0,r.checkReportMissingProp)(d,S)}):(p.if((0,t._)`${x} && (${(0,r.checkMissingProp)(d,b,v)})`),(0,r.reportMissingProp)(d,v),p.else())}}e.validatePropertyDeps=l;function c(d,f=d.schema){const{gen:p,data:h,keyword:g,it:v}=d,_=p.name("valid");for(const b in f)(0,n.alwaysValidSchema)(v,f[b])||(p.if((0,r.propertyInData)(p,h,b,v.opts.ownProperties),()=>{const x=d.subschema({keyword:g,schemaProp:b},_);d.mergeValidEvaluated(x,_)},()=>p.var(_,!0)),d.ok(_))}e.validateSchemaDeps=c,e.default=o})(Rb)),Rb}var tm={},IP;function jse(){if(IP)return tm;IP=1,Object.defineProperty(tm,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:o})=>(0,e._)`{propertyName: ${o.propertyName}}`},code(o){const{gen:s,schema:l,data:c,it:d}=o;if((0,t.alwaysValidSchema)(d,l))return;const f=s.name("valid");s.forIn("key",c,p=>{o.setParams({propertyName:p}),o.subschema({keyword:"propertyNames",data:p,dataTypes:["string"],propertyName:p,compositeRule:!0},f),s.if((0,e.not)(f),()=>{o.error(!0),d.allErrors||s.break()})}),o.ok(f)}};return tm.default=r,tm}var nm={},PP;function Y6(){if(PP)return nm;PP=1,Object.defineProperty(nm,"__esModule",{value:!0});const e=ci(),t=yt(),n=Ea(),r=kt(),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,t._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:c,schema:d,parentSchema:f,data:p,errsCount:h,it:g}=l;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:_}=g;if(g.props=!0,_.removeAdditional!=="all"&&(0,r.alwaysValidSchema)(g,d))return;const b=(0,e.allSchemaProperties)(f.properties),x=(0,e.allSchemaProperties)(f.patternProperties);S(),l.ok((0,t._)`${h} === ${n.default.errors}`);function S(){c.forIn("key",p,A=>{!b.length&&!x.length?R(A):c.if(E(A),()=>R(A))})}function E(A){let I;if(b.length>8){const M=(0,r.schemaRefOrVal)(g,f.properties,"properties");I=(0,e.isOwnProperty)(c,M,A)}else b.length?I=(0,t.or)(...b.map(M=>(0,t._)`${A} === ${M}`)):I=t.nil;return x.length&&(I=(0,t.or)(I,...x.map(M=>(0,t._)`${(0,e.usePattern)(l,M)}.test(${A})`))),(0,t.not)(I)}function T(A){c.code((0,t._)`delete ${p}[${A}]`)}function R(A){if(_.removeAdditional==="all"||_.removeAdditional&&d===!1){T(A);return}if(d===!1){l.setParams({additionalProperty:A}),l.error(),v||c.break();return}if(typeof d=="object"&&!(0,r.alwaysValidSchema)(g,d)){const I=c.name("valid");_.removeAdditional==="failing"?(O(A,I,!1),c.if((0,t.not)(I),()=>{l.reset(),T(A)})):(O(A,I),v||c.if((0,t.not)(I),()=>c.break()))}}function O(A,I,M){const L={keyword:"additionalProperties",dataProp:A,dataPropType:r.Type.Str};M===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(L,I)}}};return nm.default=s,nm}var rm={},MP;function zse(){if(MP)return rm;MP=1,Object.defineProperty(rm,"__esModule",{value:!0});const e=gv(),t=ci(),n=kt(),r=Y6(),o={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:l,schema:c,parentSchema:d,data:f,it:p}=s;p.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&r.default.code(new e.KeywordCxt(p,r.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const x of h)p.definedProperties.add(x);p.opts.unevaluated&&h.length&&p.props!==!0&&(p.props=n.mergeEvaluated.props(l,(0,n.toHash)(h),p.props));const g=h.filter(x=>!(0,n.alwaysValidSchema)(p,c[x]));if(g.length===0)return;const v=l.name("valid");for(const x of g)_(x)?b(x):(l.if((0,t.propertyInData)(l,f,x,p.opts.ownProperties)),b(x),p.allErrors||l.else().var(v,!0),l.endIf()),s.it.definedProperties.add(x),s.ok(v);function _(x){return p.opts.useDefaults&&!p.compositeRule&&c[x].default!==void 0}function b(x){s.subschema({keyword:"properties",schemaProp:x,dataProp:x},v)}}};return rm.default=o,rm}var om={},NP;function Use(){if(NP)return om;NP=1,Object.defineProperty(om,"__esModule",{value:!0});const e=ci(),t=yt(),n=kt(),r=kt(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:l,schema:c,data:d,parentSchema:f,it:p}=s,{opts:h}=p,g=(0,e.allSchemaProperties)(c),v=g.filter(R=>(0,n.alwaysValidSchema)(p,c[R]));if(g.length===0||v.length===g.length&&(!p.opts.unevaluated||p.props===!0))return;const _=h.strictSchema&&!h.allowMatchingProperties&&f.properties,b=l.name("valid");p.props!==!0&&!(p.props instanceof t.Name)&&(p.props=(0,r.evaluatedPropsToName)(l,p.props));const{props:x}=p;S();function S(){for(const R of g)_&&E(R),p.allErrors?T(R):(l.var(b,!0),T(R),l.if(b))}function E(R){for(const O in _)new RegExp(R).test(O)&&(0,n.checkStrictMode)(p,`property ${O} matches pattern ${R} (use allowMatchingProperties)`)}function T(R){l.forIn("key",d,O=>{l.if((0,t._)`${(0,e.usePattern)(s,R)}.test(${O})`,()=>{const A=v.includes(R);A||s.subschema({keyword:"patternProperties",schemaProp:R,dataProp:O,dataPropType:r.Type.Str},b),p.opts.unevaluated&&x!==!0?l.assign((0,t._)`${x}[${O}]`,!0):!A&&!p.allErrors&&l.if((0,t.not)(b),()=>l.break())})})}}};return om.default=o,om}var im={},kP;function Fse(){if(kP)return im;kP=1,Object.defineProperty(im,"__esModule",{value:!0});const e=kt(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(n){const{gen:r,schema:o,it:s}=n;if((0,e.alwaysValidSchema)(s,o)){n.fail();return}const l=r.name("valid");n.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),n.failResult(l,()=>n.reset(),()=>n.error())},error:{message:"must NOT be valid"}};return im.default=t,im}var sm={},DP;function Bse(){if(DP)return sm;DP=1,Object.defineProperty(sm,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:ci().validateUnion,error:{message:"must match a schema in anyOf"}};return sm.default=t,sm}var am={},LP;function Vse(){if(LP)return am;LP=1,Object.defineProperty(am,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:o})=>(0,e._)`{passingSchemas: ${o.passing}}`},code(o){const{gen:s,schema:l,parentSchema:c,it:d}=o;if(!Array.isArray(l))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const f=l,p=s.let("valid",!1),h=s.let("passing",null),g=s.name("_valid");o.setParams({passing:h}),s.block(v),o.result(p,()=>o.reset(),()=>o.error(!0));function v(){f.forEach((_,b)=>{let x;(0,t.alwaysValidSchema)(d,_)?s.var(g,!0):x=o.subschema({keyword:"oneOf",schemaProp:b,compositeRule:!0},g),b>0&&s.if((0,e._)`${g} && ${p}`).assign(p,!1).assign(h,(0,e._)`[${h}, ${b}]`).else(),s.if(g,()=>{s.assign(p,!0),s.assign(h,b),x&&o.mergeEvaluated(x,e.Name)})})}}};return am.default=r,am}var lm={},$P;function Hse(){if($P)return lm;$P=1,Object.defineProperty(lm,"__esModule",{value:!0});const e=kt(),t={keyword:"allOf",schemaType:"array",code(n){const{gen:r,schema:o,it:s}=n;if(!Array.isArray(o))throw new Error("ajv implementation error");const l=r.name("valid");o.forEach((c,d)=>{if((0,e.alwaysValidSchema)(s,c))return;const f=n.subschema({keyword:"allOf",schemaProp:d},l);n.ok(l),n.mergeEvaluated(f)})}};return lm.default=t,lm}var cm={},jP;function qse(){if(jP)return cm;jP=1,Object.defineProperty(cm,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:s})=>(0,e.str)`must match "${s.ifClause}" schema`,params:({params:s})=>(0,e._)`{failingKeyword: ${s.ifClause}}`},code(s){const{gen:l,parentSchema:c,it:d}=s;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const f=o(d,"then"),p=o(d,"else");if(!f&&!p)return;const h=l.let("valid",!0),g=l.name("_valid");if(v(),s.reset(),f&&p){const b=l.let("ifClause");s.setParams({ifClause:b}),l.if(g,_("then",b),_("else",b))}else f?l.if(g,_("then")):l.if((0,e.not)(g),_("else"));s.pass(h,()=>s.error(!0));function v(){const b=s.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},g);s.mergeEvaluated(b)}function _(b,x){return()=>{const S=s.subschema({keyword:b},g);l.assign(h,g),s.mergeValidEvaluated(S,h),x?l.assign(x,(0,e._)`${b}`):s.setParams({ifClause:b})}}}};function o(s,l){const c=s.schema[l];return c!==void 0&&!(0,t.alwaysValidSchema)(s,c)}return cm.default=r,cm}var um={},zP;function Gse(){if(zP)return um;zP=1,Object.defineProperty(um,"__esModule",{value:!0});const e=kt(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:n,parentSchema:r,it:o}){r.if===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "if" is ignored`)}};return um.default=t,um}var UP;function Kse(){if(UP)return Qp;UP=1,Object.defineProperty(Qp,"__esModule",{value:!0});const e=K6(),t=kse(),n=Z6(),r=Dse(),o=Lse(),s=$se(),l=jse(),c=Y6(),d=zse(),f=Use(),p=Fse(),h=Bse(),g=Vse(),v=Hse(),_=qse(),b=Gse();function x(S=!1){const E=[p.default,h.default,g.default,v.default,_.default,b.default,l.default,c.default,s.default,d.default,f.default];return S?E.push(t.default,r.default):E.push(e.default,n.default),E.push(o.default),E}return Qp.default=x,Qp}var dm={},fm={},FP;function Zse(){if(FP)return fm;FP=1,Object.defineProperty(fm,"__esModule",{value:!0});const e=yt(),n={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,e._)`{format: ${r}}`},code(r,o){const{gen:s,data:l,$data:c,schema:d,schemaCode:f,it:p}=r,{opts:h,errSchemaPath:g,schemaEnv:v,self:_}=p;if(!h.validateFormats)return;c?b():x();function b(){const S=s.scopeValue("formats",{ref:_.formats,code:h.code.formats}),E=s.const("fDef",(0,e._)`${S}[${f}]`),T=s.let("fType"),R=s.let("format");s.if((0,e._)`typeof ${E} == "object" && !(${E} instanceof RegExp)`,()=>s.assign(T,(0,e._)`${E}.type || "string"`).assign(R,(0,e._)`${E}.validate`),()=>s.assign(T,(0,e._)`"string"`).assign(R,E)),r.fail$data((0,e.or)(O(),A()));function O(){return h.strictSchema===!1?e.nil:(0,e._)`${f} && !${R}`}function A(){const I=v.$async?(0,e._)`(${E}.async ? await ${R}(${l}) : ${R}(${l}))`:(0,e._)`${R}(${l})`,M=(0,e._)`(typeof ${R} == "function" ? ${I} : ${R}.test(${l}))`;return(0,e._)`${R} && ${R} !== true && ${T} === ${o} && !${M}`}}function x(){const S=_.formats[d];if(!S){O();return}if(S===!0)return;const[E,T,R]=A(S);E===o&&r.pass(I());function O(){if(h.strictSchema===!1){_.logger.warn(M());return}throw new Error(M());function M(){return`unknown format "${d}" ignored in schema at path "${g}"`}}function A(M){const L=M instanceof RegExp?(0,e.regexpCode)(M):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,H=s.scopeValue("formats",{key:d,ref:M,code:L});return typeof M=="object"&&!(M instanceof RegExp)?[M.type||"string",M.validate,(0,e._)`${H}.validate`]:["string",M,H]}function I(){if(typeof S=="object"&&!(S instanceof RegExp)&&S.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${R}(${l})`}return typeof T=="function"?(0,e._)`${R}(${l})`:(0,e._)`${R}.test(${l})`}}}};return fm.default=n,fm}var BP;function Yse(){if(BP)return dm;BP=1,Object.defineProperty(dm,"__esModule",{value:!0});const t=[Zse().default];return dm.default=t,dm}var Qa={},VP;function Wse(){return VP||(VP=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.contentVocabulary=Qa.metadataVocabulary=void 0,Qa.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Qa.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Qa}var HP;function Qse(){if(HP)return Dp;HP=1,Object.defineProperty(Dp,"__esModule",{value:!0});const e=wse(),t=Nse(),n=Kse(),r=Yse(),o=Wse(),s=[e.default,t.default,(0,n.default)(),r.default,o.metadataVocabulary,o.contentVocabulary];return Dp.default=s,Dp}var hm={},bd={},qP;function Xse(){if(qP)return bd;qP=1,Object.defineProperty(bd,"__esModule",{value:!0}),bd.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(bd.DiscrError=e={})),bd}var GP;function Jse(){if(GP)return hm;GP=1,Object.defineProperty(hm,"__esModule",{value:!0});const e=yt(),t=Xse(),n=yE(),r=vv(),o=kt(),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:f}})=>(0,e._)`{error: ${c}, tag: ${f}, tagValue: ${d}}`},code(c){const{gen:d,data:f,schema:p,parentSchema:h,it:g}=c,{oneOf:v}=h;if(!g.opts.discriminator)throw new Error("discriminator: requires discriminator option");const _=p.propertyName;if(typeof _!="string")throw new Error("discriminator: requires propertyName");if(p.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const b=d.let("valid",!1),x=d.const("tag",(0,e._)`${f}${(0,e.getProperty)(_)}`);d.if((0,e._)`typeof ${x} == "string"`,()=>S(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:x,tagName:_})),c.ok(b);function S(){const R=T();d.if(!1);for(const O in R)d.elseIf((0,e._)`${x} === ${O}`),d.assign(b,E(R[O]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:x,tagName:_}),d.endIf()}function E(R){const O=d.name("valid"),A=c.subschema({keyword:"oneOf",schemaProp:R},O);return c.mergeEvaluated(A,e.Name),O}function T(){var R;const O={},A=M(h);let I=!0;for(let j=0;j<v.length;j++){let B=v[j];if(B?.$ref&&!(0,o.schemaHasRulesButRef)(B,g.self.RULES)){const Z=B.$ref;if(B=n.resolveRef.call(g.self,g.schemaEnv.root,g.baseId,Z),B instanceof n.SchemaEnv&&(B=B.schema),B===void 0)throw new r.default(g.opts.uriResolver,g.baseId,Z)}const F=(R=B?.properties)===null||R===void 0?void 0:R[_];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${_}"`);I=I&&(A||M(B)),L(F,j)}if(!I)throw new Error(`discriminator: "${_}" must be required`);return O;function M({required:j}){return Array.isArray(j)&&j.includes(_)}function L(j,B){if(j.const)H(j.const,B);else if(j.enum)for(const F of j.enum)H(F,B);else throw new Error(`discriminator: "properties/${_}" must have "const" or "enum"`)}function H(j,B){if(typeof j!="string"||j in O)throw new Error(`discriminator: "${_}" values must be unique strings`);O[j]=B}}}};return hm.default=l,hm}const eae="http://json-schema.org/draft-07/schema#",tae="http://json-schema.org/draft-07/schema#",nae="Core schema meta-schema",rae={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},oae=["object","boolean"],iae={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},sae={$schema:eae,$id:tae,title:nae,definitions:rae,type:oae,properties:iae,default:!0};var KP;function aae(){return KP||(KP=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=yse(),r=Qse(),o=Jse(),s=sae,l=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends n.default{_addVocabularies(){super._addVocabularies(),r.default.forEach(_=>this.addVocabulary(_)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const _=this.opts.$data?this.$dataMetaSchema(s,l):s;this.addMetaSchema(_,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var f=gv();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return f.KeywordCxt}});var p=yt();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var h=vE();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var g=vv();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return g.default}})})(Ip,Ip.exports)),Ip.exports}var pm={exports:{}},Ob={},ZP;function lae(){return ZP||(ZP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(j,B){return{validate:j,compare:B}}e.fullFormats={date:t(s,l),time:t(d(!0),f),"date-time":t(g(!0),v),"iso-time":t(d(),p),"iso-date-time":t(g(),_),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:S,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:H,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:T,int32:{type:"number",validate:A},int64:{type:"number",validate:I},float:{type:"number",validate:M},double:{type:"number",validate:M},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,l),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,p),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,_),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function n(j){return j%4===0&&(j%100!==0||j%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(j){const B=r.exec(j);if(!B)return!1;const F=+B[1],Z=+B[2],ie=+B[3];return Z>=1&&Z<=12&&ie>=1&&ie<=(Z===2&&n(F)?29:o[Z])}function l(j,B){if(j&&B)return j>B?1:j<B?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(j){return function(F){const Z=c.exec(F);if(!Z)return!1;const ie=+Z[1],q=+Z[2],W=+Z[3],te=Z[4],le=Z[5]==="-"?-1:1,Q=+(Z[6]||0),k=+(Z[7]||0);if(Q>23||k>59||j&&!te)return!1;if(ie<=23&&q<=59&&W<60)return!0;const G=q-k*le,V=ie-Q*le-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&W<61}}function f(j,B){if(!(j&&B))return;const F=new Date("2020-01-01T"+j).valueOf(),Z=new Date("2020-01-01T"+B).valueOf();if(F&&Z)return F-Z}function p(j,B){if(!(j&&B))return;const F=c.exec(j),Z=c.exec(B);if(F&&Z)return j=F[1]+F[2]+F[3],B=Z[1]+Z[2]+Z[3],j>B?1:j<B?-1:0}const h=/t|\s/i;function g(j){const B=d(j);return function(Z){const ie=Z.split(h);return ie.length===2&&s(ie[0])&&B(ie[1])}}function v(j,B){if(!(j&&B))return;const F=new Date(j).valueOf(),Z=new Date(B).valueOf();if(F&&Z)return F-Z}function _(j,B){if(!(j&&B))return;const[F,Z]=j.split(h),[ie,q]=B.split(h),W=l(F,ie);if(W!==void 0)return W||f(Z,q)}const b=/\/|:/,x=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function S(j){return b.test(j)&&x.test(j)}const E=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function T(j){return E.lastIndex=0,E.test(j)}const R=-2147483648,O=2**31-1;function A(j){return Number.isInteger(j)&&j<=O&&j>=R}function I(j){return Number.isInteger(j)}function M(){return!0}const L=/[^\\]\\Z/;function H(j){if(L.test(j))return!1;try{return new RegExp(j),!0}catch{return!1}}})(Ob)),Ob}var Tb={},YP;function cae(){return YP||(YP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=aae(),n=yt(),r=n.operators,o={formatMaximum:{okStr:"<=",ok:r.LTE,fail:r.GT},formatMinimum:{okStr:">=",ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},s={message:({keyword:c,schemaCode:d})=>(0,n.str)`should be ${o[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,n._)`{comparison: ${o[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:s,code(c){const{gen:d,data:f,schemaCode:p,keyword:h,it:g}=c,{opts:v,self:_}=g;if(!v.validateFormats)return;const b=new t.KeywordCxt(g,_.RULES.all.format.definition,"format");b.$data?x():S();function x(){const T=d.scopeValue("formats",{ref:_.formats,code:v.code.formats}),R=d.const("fmt",(0,n._)`${T}[${b.schemaCode}]`);c.fail$data((0,n.or)((0,n._)`typeof ${R} != "object"`,(0,n._)`${R} instanceof RegExp`,(0,n._)`typeof ${R}.compare != "function"`,E(R)))}function S(){const T=b.schema,R=_.formats[T];if(!R||R===!0)return;if(typeof R!="object"||R instanceof RegExp||typeof R.compare!="function")throw new Error(`"${h}": format "${T}" does not define "compare" function`);const O=d.scopeValue("formats",{key:T,ref:R,code:v.code.formats?(0,n._)`${v.code.formats}${(0,n.getProperty)(T)}`:void 0});c.fail$data(E(O))}function E(T){return(0,n._)`${T}.compare(${f}, ${p}) ${o[h].fail} 0`}},dependencies:["format"]};const l=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=l})(Tb)),Tb}var WP;function uae(){return WP||(WP=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=lae(),r=cae(),o=yt(),s=new o.Name("fullFormats"),l=new o.Name("fastFormats"),c=(f,p={keywords:!0})=>{if(Array.isArray(p))return d(f,p,n.fullFormats,s),f;const[h,g]=p.mode==="fast"?[n.fastFormats,l]:[n.fullFormats,s],v=p.formats||n.formatNames;return d(f,v,h,g),p.keywords&&(0,r.default)(f),f};c.get=(f,p="full")=>{const g=(p==="fast"?n.fastFormats:n.fullFormats)[f];if(!g)throw new Error(`Unknown format "${f}"`);return g};function d(f,p,h,g){var v,_;(v=(_=f.opts.code).formats)!==null&&v!==void 0||(_.formats=(0,o._)`require("ajv-formats/dist/formats").${g}`);for(const b of p)f.addFormat(b,h[b])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(pm,pm.exports)),pm.exports}var dae=uae();const Cue=hl(dae);let bE;bE=globalThis.crypto;async function fae(e){return(await bE).getRandomValues(new Uint8Array(e))}async function hae(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",n=Math.pow(2,8)-Math.pow(2,8)%t.length;let r="";for(;r.length<e;){const o=await fae(e-r.length);for(const s of o)s<n&&(r+=t[s%t.length])}return r}async function pae(e){return await hae(e)}async function mae(e){const t=await(await bE).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Aue(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await pae(e),n=await mae(t);return{code_verifier:t,code_challenge:n}}const gr=LB().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:PV.custom,message:"URL must be parseable",fatal:!0}),Dz}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Iue=vr({resource:$().url(),authorization_servers:Re(gr).optional(),jwks_uri:$().url().optional(),scopes_supported:Re($()).optional(),bearer_methods_supported:Re($()).optional(),resource_signing_alg_values_supported:Re($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Nt().optional(),authorization_details_types_supported:Re($()).optional(),dpop_signing_alg_values_supported:Re($()).optional(),dpop_bound_access_tokens_required:Nt().optional()}),gae=vr({issuer:$(),authorization_endpoint:gr,token_endpoint:gr,registration_endpoint:gr.optional(),scopes_supported:Re($()).optional(),response_types_supported:Re($()),response_modes_supported:Re($()).optional(),grant_types_supported:Re($()).optional(),token_endpoint_auth_methods_supported:Re($()).optional(),token_endpoint_auth_signing_alg_values_supported:Re($()).optional(),service_documentation:gr.optional(),revocation_endpoint:gr.optional(),revocation_endpoint_auth_methods_supported:Re($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:Re($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:Re($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:Re($()).optional(),code_challenge_methods_supported:Re($()).optional(),client_id_metadata_document_supported:Nt().optional()}),vae=vr({issuer:$(),authorization_endpoint:gr,token_endpoint:gr,userinfo_endpoint:gr.optional(),jwks_uri:gr,registration_endpoint:gr.optional(),scopes_supported:Re($()).optional(),response_types_supported:Re($()),response_modes_supported:Re($()).optional(),grant_types_supported:Re($()).optional(),acr_values_supported:Re($()).optional(),subject_types_supported:Re($()),id_token_signing_alg_values_supported:Re($()),id_token_encryption_alg_values_supported:Re($()).optional(),id_token_encryption_enc_values_supported:Re($()).optional(),userinfo_signing_alg_values_supported:Re($()).optional(),userinfo_encryption_alg_values_supported:Re($()).optional(),userinfo_encryption_enc_values_supported:Re($()).optional(),request_object_signing_alg_values_supported:Re($()).optional(),request_object_encryption_alg_values_supported:Re($()).optional(),request_object_encryption_enc_values_supported:Re($()).optional(),token_endpoint_auth_methods_supported:Re($()).optional(),token_endpoint_auth_signing_alg_values_supported:Re($()).optional(),display_values_supported:Re($()).optional(),claim_types_supported:Re($()).optional(),claims_supported:Re($()).optional(),service_documentation:$().optional(),claims_locales_supported:Re($()).optional(),ui_locales_supported:Re($()).optional(),claims_parameter_supported:Nt().optional(),request_parameter_supported:Nt().optional(),request_uri_parameter_supported:Nt().optional(),require_request_uri_registration:Nt().optional(),op_policy_uri:gr.optional(),op_tos_uri:gr.optional(),client_id_metadata_document_supported:Nt().optional()}),Pue=be({...vae.shape,...gae.pick({code_challenge_methods_supported:!0}).shape}),Mue=be({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:iN().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),Nue=be({error:$(),error_description:$().optional(),error_uri:$().optional()}),QP=gr.optional().or(Ge("").transform(()=>{})),yae=be({redirect_uris:Re(gr),token_endpoint_auth_method:$().optional(),grant_types:Re($()).optional(),response_types:Re($()).optional(),client_name:$().optional(),client_uri:gr.optional(),logo_uri:QP,scope:$().optional(),contacts:Re($()).optional(),tos_uri:QP,policy_uri:$().optional(),jwks_uri:gr.optional(),jwks:rV().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),_ae=be({client_id:$(),client_secret:$().optional(),client_id_issued_at:ht().optional(),client_secret_expires_at:ht().optional()}).strip(),kue=yae.merge(_ae);be({error:$(),error_description:$().optional()}).strip();be({token:$(),token_type_hint:$().optional()}).strip();class wr extends Error{constructor(t,n){super(t),this.errorUri=n,this.name=this.constructor.name}toResponseObject(){const t={error:this.errorCode,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}get errorCode(){return this.constructor.errorCode}}class aw extends wr{}aw.errorCode="invalid_request";class lw extends wr{}lw.errorCode="invalid_client";class cw extends wr{}cw.errorCode="invalid_grant";class uw extends wr{}uw.errorCode="unauthorized_client";class dw extends wr{}dw.errorCode="unsupported_grant_type";class fw extends wr{}fw.errorCode="invalid_scope";class hw extends wr{}hw.errorCode="access_denied";class pw extends wr{}pw.errorCode="server_error";class mw extends wr{}mw.errorCode="temporarily_unavailable";class gw extends wr{}gw.errorCode="unsupported_response_type";class vw extends wr{}vw.errorCode="unsupported_token_type";class yw extends wr{}yw.errorCode="invalid_token";class _w extends wr{}_w.errorCode="method_not_allowed";class bw extends wr{}bw.errorCode="too_many_requests";class ww extends wr{}ww.errorCode="invalid_client_metadata";class Sw extends wr{}Sw.errorCode="insufficient_scope";class Ew extends wr{}Ew.errorCode="invalid_target";const Due={[aw.errorCode]:aw,[lw.errorCode]:lw,[cw.errorCode]:cw,[uw.errorCode]:uw,[dw.errorCode]:dw,[fw.errorCode]:fw,[hw.errorCode]:hw,[pw.errorCode]:pw,[mw.errorCode]:mw,[gw.errorCode]:gw,[vw.errorCode]:vw,[yw.errorCode]:yw,[_w.errorCode]:_w,[bw.errorCode]:bw,[ww.errorCode]:ww,[Sw.errorCode]:Sw,[Ew.errorCode]:Ew};async function W6(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(n){if(n instanceof hv&&n.code===uf.MethodNotFound)return{resources:[]};throw n}}async function bae(e,t){return await e.readResource({uri:t})}function Lue(e){const t=qn.c(12);let n,r;t[0]!==e?({client:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);let o;t[3]!==n?(o=uv.mcpResourcesList(n),t[3]=n,t[4]=o):o=t[4];let s;t[5]!==n?(s=()=>W6(n),t[5]=n,t[6]=s):s=t[6];const l=r.staleTime??3e4;let c;return t[7]!==r||t[8]!==o||t[9]!==s||t[10]!==l?(c={...r,queryKey:o,queryFn:s,staleTime:l,retry:!1},t[7]=r,t[8]=o,t[9]=s,t[10]=l,t[11]=c):c=t[11],ff(c)}function $ue(e){const t=qn.c(12);let n,r;t[0]!==e?({client:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);let o;t[3]!==n?(o=uv.mcpResourcesList(n),t[3]=n,t[4]=o):o=t[4];let s;t[5]!==n?(s=()=>W6(n),t[5]=n,t[6]=s):s=t[6];const l=r.staleTime??3e4;let c;return t[7]!==r||t[8]!==o||t[9]!==s||t[10]!==l?(c={...r,queryKey:o,queryFn:s,staleTime:l,retry:!1},t[7]=r,t[8]=o,t[9]=s,t[10]=l,t[11]=c):c=t[11],xM(c)}function jue(e){const t=qn.c(15);let n,r,o;t[0]!==e?({client:n,uri:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o):(n=t[1],r=t[2],o=t[3]);let s;t[4]!==n||t[5]!==o?(s=uv.mcpReadResource(n,o),t[4]=n,t[5]=o,t[6]=s):s=t[6];let l;t[7]!==n||t[8]!==o?(l=()=>bae(n,o),t[7]=n,t[8]=o,t[9]=l):l=t[9];const c=r.staleTime??3e4;let d;return t[10]!==r||t[11]!==s||t[12]!==l||t[13]!==c?(d={...r,queryKey:s,queryFn:l,staleTime:c,retry:!1},t[10]=r,t[11]=s,t[12]=l,t[13]=c,t[14]=d):d=t[14],ff(d)}const Q6="ui-resource-html";function zue(e){const t=qn.c(20);let n,r,o,s,l;t[0]!==e?({orgSlug:o,connectionId:n,uri:l,meshUrl:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=l):(n=t[1],r=t[2],o=t[3],s=t[4],l=t[5]);let c;t[6]!==n||t[7]!==o||t[8]!==l?(c=uv.mcpUiResourceHtml(o,n,l),t[6]=n,t[7]=o,t[8]=l,t[9]=c):c=t[9];let d;t[10]!==n||t[11]!==r||t[12]!==o||t[13]!==l?(d=async()=>{const g=`${r??(typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(o)}/mcp/${encodeURIComponent(n)}/ui-resource?uri=${encodeURIComponent(l)}`,v=await fetch(g,{credentials:"include"});if(!v.ok)throw new Error(`Failed to read UI resource (${v.status})`);return v.text()},t[10]=n,t[11]=r,t[12]=o,t[13]=l,t[14]=d):d=t[14];const f=s.staleTime??3e4;let p;return t[15]!==s||t[16]!==c||t[17]!==d||t[18]!==f?(p={...s,queryKey:c,queryFn:d,staleTime:f,retry:!1},t[15]=s,t[16]=c,t[17]=d,t[18]=f,t[19]=p):p=t[19],ff(p)}const wae=be({authorizationEndpoint:$().url(),tokenEndpoint:$().url(),introspectionEndpoint:$().url().optional(),clientId:$(),clientSecret:$().optional(),scopes:Re($()),grantType:an(["authorization_code","client_credentials"])}),XP=be({type:Ge("object"),properties:Pt($(),Gt()).optional(),required:Re($()).optional()}).catchall(Gt()),Sae=gE.extend({inputSchema:XP,outputSchema:XP.optional()}),Eae=be({headers:Pt($(),$()).optional()}),xae=be({command:$().describe("Command to run (e.g., 'npx', 'node')"),args:Re($()).optional().describe("Command arguments"),cwd:$().optional().describe("Working directory"),envVars:Pt($(),$()).optional().describe("Environment variables (encrypted in storage)")}),X6=be({id:$().describe("Unique identifier for the connection"),title:$().describe("Human-readable name for the connection"),created_at:$().describe("When the connection was created"),updated_at:$().describe("When the connection was last updated"),created_by:$().describe("User ID who created the connection"),updated_by:$().optional().describe("User ID who last updated the connection"),organization_id:$().describe("Organization ID this connection belongs to"),description:$().nullable().describe("Description of the connection"),icon:$().nullable().describe("Icon URL for the connection"),app_name:$().nullable().describe("Associated app name"),app_id:$().nullable().describe("Associated app ID"),slug:$().nullable().optional().describe("URL-safe slug derived from app_name, connection_url, or title"),connection_type:an(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:$().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:$().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:nn([xae,Eae]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:wae.nullable().describe("OAuth configuration"),configuration_state:Pt($(),Gt()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:Re($()).nullable().optional().describe("Configuration scopes"),metadata:Pt($(),Gt()).nullable().describe("Additional metadata (includes repository info)"),tools:Re(Sae).nullable().describe("Discovered tools from MCP"),bindings:Re($()).nullable().describe("Detected bindings"),status:an(["active","inactive","error"]).describe("Current status")});X6.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:$().nullish()});X6.partial();function Uue(e){return e!=null&&"command"in e}function Fue(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Nd=be({connection_id:$().describe("Connection ID"),selected_tools:Re($()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:Re($()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:Re($()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),J6=Nd.extend({selected_tools:Nd.shape.selected_tools.optional(),selected_resources:Nd.shape.selected_resources.optional(),selected_prompts:Nd.shape.selected_prompts.optional()}),Rae=be({connectionId:$(),toolName:$(),label:$(),icon:$().nullable().optional()}),Oae=be({id:$().describe("Stable id; used as React key and ?tab= value"),title:$().describe("Tab label"),icon:$().optional().describe("Optional lucide icon name"),view:be({type:Ge("ext-app"),appId:$(),args:Pt($(),Gt()).optional()})}),Tae=be({defaultMainView:be({type:$(),id:$().optional(),toolName:$().optional()}).nullable().optional(),chatDefaultOpen:Nt().nullable().optional(),tabs:Re(Oae).optional()}),JP=be({tileId:$().optional(),connectionId:$().optional().describe("Connection that owns the resource — the host opens a direct MCP client to this connection so the iframe can call tools by their bare names."),resourceUri:$().describe("ui:// resource URI exposed by `connectionId`. Read on the home page and rendered via MCPAppRenderer."),toolName:$().optional().describe("Tool name — identifies which tool's inputSchema to display when editing tile props."),toolInput:Pt($(),Gt()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight:ht().int().positive().optional(),maxHeight:ht().int().positive().optional()}),wE=be({banner:$().nullable().optional(),bannerColor:$().nullable().optional(),icon:$().nullable().optional(),themeColor:$().nullable().optional(),pinnedViews:Re(Rae).nullable().optional(),layout:Tae.nullable().optional(),homeTile:JP.nullable().optional(),homeTiles:Re(JP).nullable().optional(),homePrompts:Re($()).nullable().optional()});function Bue(e){const t=e?.homeTiles;if(Array.isArray(t)&&t.length>0)return t;const n=e?.homeTile;return n?[n]:[]}const Cae=/^[A-Za-z_][A-Za-z0-9_]*$/,eM=$().min(1).regex(Cae,{message:"Env var key must start with a letter or underscore and contain only letters, digits, and underscores."}),Aae=Ww("kind",[be({key:eM,kind:Ge("literal"),value:$()}),be({key:eM,kind:Ge("secret"),secretId:$().min(1)})]),SE=be({selected:$().nullable().optional().describe("User-selected package manager (npm | pnpm | yarn | bun | deno). Null/absent means autodetect on next SANDBOX_START."),port:$().nullable().optional().describe("User-selected dev server port as a string (allows '' / null for unset). Null/absent means autodetect."),path:$().nullable().optional().describe("Optional path (relative to repo root) to the directory containing package.json. Null/absent means repo root. Forwarded as `application.packageManager.path` to the daemon config."),env:Re(Aae).nullable().optional().describe("Env vars injected on every SANDBOX_START. Literal entries inline their value; secret entries store a secretId that mesh resolves via the credential vault before posting /_sandbox/config.")}),EE=be({url:$().describe("GitHub repository URL"),owner:$().describe("Repository owner"),name:$().describe("Repository name"),installationId:ht().optional().describe("GitHub App installation ID. Absent when the repo was linked without a GitHub connection (public-clone mode)."),connectionId:$().optional().describe("ID of the mcp-github connection used for authentication. Absent for public repos cloned without credentials.")}),Iae=an(["agent-sandbox","user-desktop"]),Pae=an(["agent-sandbox","user-desktop","cluster"]);function eL(e){return e==="cluster"?"agent-sandbox":e}const tL={sandboxHandle:$().describe("Provider-specific handle"),previewUrl:$().nullable().describe("URL where the sandbox's iframe-proxied UI is served, or null when the sandbox has no dev server (blank / tool sandboxes)."),sandboxApiUrl:$().nullable().optional().describe("Daemon's public URL — what cluster→daemon RPCs target. Equal to previewUrl for user-desktop; null/absent for the agent-sandbox provider (routes through hosted ingress)."),sandboxProviderKind:Iae.optional(),createdAt:ht().optional().describe("Epoch ms the entry was first written by SANDBOX_START. Used by the booting overlay to show a stable elapsed timer that survives browser reloads. Optional for backward compatibility with entries written before this field existed."),startedWith:be({packageManager:$().nullable().optional().describe("metadata.runtime.selected at the time of SANDBOX_START"),port:$().nullable().optional().describe("metadata.runtime.port at the time of SANDBOX_START"),path:$().nullable().optional().describe("metadata.runtime.path at the time of SANDBOX_START")}).optional().describe("Snapshot of metadata.runtime fields (selected/port/path) used at SANDBOX_START. The Preview tab compares the live metadata.runtime against this to decide if a restart is required to apply changes.")},nL=be(tL),Mae=be({...tL,sandboxProviderKind:Pae.optional()});function Nae(e){const t=Mae.parse(e);return nL.parse({...t,sandboxProviderKind:t.sandboxProviderKind?eL(t.sandboxProviderKind):void 0})}function Vue(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t=e,n={};for(const[r,o]of Object.entries(t)){if(!o||typeof o!="object"||r!=="cluster"&&r!=="agent-sandbox"&&r!=="user-desktop")continue;const s=eL(r);try{if(r==="cluster"&&n[s])continue;n[s]=Nae(o)}catch{}}return n}const xE=Pt($().describe("userId"),Pt($().describe("branch"),Pt($().describe("sandboxProviderKind"),nL))),kae=be({id:$().describe("Stable identifier for this knowledge file"),name:$().describe("File name shown in the UI"),kind:an(["file","skill"]).optional().describe("'file' (a single document) or 'skill' (a Claude Code skill folder containing SKILL.md). Defaults to 'file'."),volume:$().describe("Org filesystem (Library) volume the file lives in"),path:$().describe("Path within the volume"),url:$().describe("Same-origin URL to read the file (display/download)"),contentType:$().nullable().optional().describe("MIME type, used to decide whether to inline the content"),size:ht().nullable().optional().describe("File size in bytes"),addedAt:$().describe("ISO timestamp when the file was attached")}),RE=Re(kae).nullable().optional().describe("Files attached to the agent as reference knowledge. Surfaced in the system prompt: small text documents are inlined, others are listed as retrievable references."),Hue=be({id:$().describe("Unique identifier"),title:$().describe("Human-readable name"),description:$().nullable().describe("Description"),icon:$().nullable().describe("Icon URL"),created_at:$().describe("Creation timestamp"),updated_at:$().describe("Last update timestamp"),created_by:$().describe("User ID who created this item"),updated_by:$().optional().describe("User ID who last updated this item"),organization_id:$().describe("Organization ID this item belongs to"),status:an(["active","inactive"]).describe("Current status"),pinned:Nt().describe("Whether this space is pinned to the sidebar"),metadata:be({instructions:$().nullable().describe("Instructions also used as system prompt"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().describe("Metadata"),connections:Re(Nd).describe("Connections with their selected tools, resources, and prompts")}),rL=be({title:$().min(1).max(120).describe("Short label shown on the chip"),description:$().max(280).optional().describe("One-line subtitle shown under the title"),text:$().min(1).describe("The message sent to the agent when the prompt is clicked")});be({title:$().min(1).max(255).describe("Name for the virtual MCP"),description:$().nullable().optional().describe("Optional description"),icon:$().nullish().describe("Optional icon URL"),status:an(["active","inactive"]).optional().default("active").describe("Initial status"),pinned:Nt().optional().default(!1).describe("Pin to sidebar"),metadata:be({instructions:$().nullable().optional().describe("MCP server instructions"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().nullable().optional().describe("Additional metadata including MCP server instructions"),connections:Re(J6).describe("Connections to include/exclude (can be empty for exclusion mode)"),prompts:Re(rL).optional().describe("Optional kickstart prompts to seed on the agent. Each becomes a clickable conversation starter (icebreaker) on the agent. Author them from the agent's role and the tools it will have so they're coherent and immediately useful.")});be({title:$().min(1).max(255).optional().describe("New name"),description:$().nullable().optional().describe("New description (null to clear)"),icon:$().nullish().describe("New icon URL"),status:an(["active","inactive"]).optional().describe("New status"),pinned:Nt().optional().describe("Pin/unpin from sidebar"),metadata:be({instructions:$().nullable().optional().describe("MCP server instructions"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().nullable().optional().describe("Additional metadata including MCP server instructions"),connections:Re(J6).optional().describe("New connections (replaces existing)"),prompts:Re(rL).optional().describe("Replace the agent's kickstart prompts with this full set. Omit to leave them unchanged; pass an empty array to remove all. Each becomes a clickable conversation starter (icebreaker).")});var tM;(function(e){e.Completable="McpCompletable"})(tM||(tM={}));const Dae="mesh-ui-resources",Ag="html",Lae=10080*60*1e3,$ae=50,jae=16*1024*1024;function zae(e){return e[0]==="mcp"&&e[1]===Q6}function yv(){return new Promise((e,t)=>{const n=indexedDB.open(Dae,1);n.onupgradeneeded=()=>{n.result.objectStoreNames.contains(Ag)||n.result.createObjectStore(Ag)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}function eu(e,t){return e.transaction(Ag,t).objectStore(Ag)}function xw(e){return new Promise((t,n)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>n(e.error)})}async function Uae(e){if(!(typeof indexedDB>"u"))try{const t=await yv(),n=eu(t,"readonly"),r=await xw(n.getAllKeys()),o=await xw(n.getAll()),s=Date.now(),l=r.map((f,p)=>({key:f,value:o[p]})).sort((f,p)=>(p.value?.updatedAt??0)-(f.value?.updatedAt??0)),c=[];let d=0;for(const{key:f,value:p}of l){if(!p||s-p.updatedAt>Lae||d>=$ae){c.push(f);continue}d++;try{const g=JSON.parse(String(f));e.getQueryData(g)===void 0&&e.setQueryData(g,p.html,{updatedAt:0})}catch{c.push(f)}}if(c.length>0){const f=eu(t,"readwrite");for(const p of c)f.delete(p)}}catch{}}function Fae(e){if(typeof indexedDB>"u")return()=>{};const t=yv().catch(()=>null);return e.getQueryCache().subscribe(n=>{const r=n.query;if(!Array.isArray(r.queryKey)||!zae(r.queryKey)||r.state.status!=="success")return;const o=r.state.data;typeof o!="string"||o.length>jae||t.then(s=>{if(s)try{eu(s,"readwrite").put({html:o,updatedAt:Date.now()},JSON.stringify(r.queryKey))}catch{}})})}function Bae(){typeof indexedDB>"u"||yv().then(e=>eu(e,"readwrite").clear()).catch(()=>{})}async function que(e){if(!(typeof indexedDB>"u"))try{const t=await yv(),n=await xw(eu(t,"readonly").getAllKeys()),r=eu(t,"readwrite");for(const o of n)try{const s=JSON.parse(String(o));s[1]===Q6&&s[3]===e&&r.delete(o)}catch{}}catch{}}const Ig="mesh:rq-cache",oL=1440*60*1e3,Vae=1e3,Hae=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),qae=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let iL=!1,sL=!1;function Gae(e){const t=e[0];return typeof t=="string"&&Hae.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&qae.has(e[4])}function Kae(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Ig);if(!t)return;const n=JSON.parse(t),r=!n.timestamp||Date.now()-n.timestamp>oL;if(n.buster!=="4.61.1"||r||!n.state){window.localStorage.removeItem(Ig);return}c8(e,n.state),iL=!0}catch{Yae()}}function Zae(e){if(typeof window>"u")return()=>{};let t=null;const n=()=>{t=null;try{const r=l8(e,{shouldDehydrateQuery:o=>o.state.status==="success"&&Gae(o.queryKey)});window.localStorage.setItem(Ig,JSON.stringify({buster:"4.61.1",timestamp:Date.now(),state:r}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(n,Vae))})}const aL="studio:org-cache:";function lL(e){return`${aL}${e}`}function Gue(e,t){if(typeof window>"u")return null;try{const n=window.localStorage.getItem(lL(e));if(!n)return null;const r=JSON.parse(n)[t];return!r||Date.now()-r.updatedAt>oL?null:(sL=!0,r)}catch{return null}}function Kue(e,t,n){if(!(typeof window>"u"))try{const r=lL(e),o=window.localStorage.getItem(r),s=o?JSON.parse(o):{};s[t]={data:n,updatedAt:Date.now()},window.localStorage.setItem(r,JSON.stringify(s))}catch{}}function Yae(){if(Bae(),!(typeof window>"u"))try{window.localStorage.removeItem(Ig);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(aL)&&window.localStorage.removeItem(t)}}catch{}}function Wae(){return iL}function Qae(){return sL}let ps=!1,Rw=null,nM=!1;const OE="mesh:lp-distinct-id",Cb="/api/_reports/link-token/",Xae=1440*60*1e3;function cL(e){const t="https://analytics.invalid",n=/^[a-z][a-z\d+.-]*:\/\//i.test(e),r=e.startsWith("//");try{const o=new URL(e,t);let s=!1;for(const l of["key","d"])o.searchParams.has(l)&&(o.searchParams.delete(l),s=!0);return o.pathname.startsWith(Cb)&&o.pathname!==Cb&&(o.pathname=`${Cb}redacted`,s=!0),s?n?o.toString():r?`//${o.host}${o.pathname}${o.search}${o.hash}`:`${o.pathname}${o.search}${o.hash}`:e}catch{return e}}function Ab(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,typeof n=="string"?cL(n):n]))}const Jae=e=>e?(e.properties=Ab(e.properties),e.$set&&(e.$set=Ab(e.$set)),e.$set_once&&(e.$set_once=Ab(e.$set_once)),e):null;function uL(){try{const e=window.localStorage.getItem(OE);if(!e)return;const{id:t,ts:n}=JSON.parse(e);return typeof t!="string"||!t||typeof n!="number"?void 0:Date.now()-n<=Xae?t:void 0}catch{return}}function ele(){try{window.localStorage.removeItem(OE)}catch{}}function tle(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(OE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const n=t??uL();return n?Object.keys(window.localStorage).some(o=>o.startsWith("ph_")&&o.endsWith("_posthog"))?void 0:n:void 0}catch{return}}function nle(e){const t=uL();if(t&&(ele(),t!==e))try{_l.alias(t)}catch{}}function rle(e,t){if(ps||typeof window>"u")return;const n=tle();_l.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...n?{bootstrap:{distinctID:n}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:Jae,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:r=>({...r,...typeof r.name=="string"?{name:cL(r.name)}:{}})},person_profiles:"identified_only"}),ps=!0}function ole(e,t){ps&&(_l.identify(e,t),nle(e))}function ile(){ps&&(_l.reset(),Rw=null)}function sle(e,t){ps&&_l.capture(e,t)}function Zue(){return ps}function Yue(){if(!ps||nM||typeof performance>"u")return;nM=!0;const e=performance.getEntriesByType("navigation")[0],t=n=>{const r=performance.getEntriesByName(n,"measure")[0];return r?Math.round(r.duration):void 0};sle("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("mesh:config-fetch"),active_org_fetch_ms:t("mesh:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:Wae(),org_cache_restored:Qae()})}function Wue(e,t){ps&&e!==Rw&&(_l.group("organization",e,t),Rw=e)}function dL(e,t){if(ps)try{_l.captureException(e,t)}catch{}}let mm=null;function ale({children:e}){const t=OM(),{data:n}=Hg.useSession();if(t.posthog){rle(t.posthog.key,t.posthog.host);const r=n?.user?.id??null;r&&r!==mm?(ole(r,{email:n?.user?.email,name:n?.user?.name}),mm=r):!r&&mm&&(ile(),mm=null)}return C.jsx(C.Fragment,{children:e})}const TE=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));TE.displayName="AlertTriangle";const fL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));fL.displayName="Archive";const CE=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));CE.displayName="Loading01";const hL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));hL.displayName="Lock01";const pL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));pL.displayName="RefreshCw01";function AE(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsx("div",{className:"flex items-center justify-center min-h-screen w-full",children:C.jsx(CE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function lle(e){try{return JSON.parse(e)}catch{return}}function rM(e,t){const n=localStorage.getItem(e),r=n?lle(n):void 0,o=typeof t=="function"?t(r):r??t;if(r===void 0||o!==r)try{const s=JSON.stringify(o);localStorage.setItem(e,s)}catch{}return o}function cle(e,t){const n=qn.c(25),r=Nw();let o;n[0]!==e?(o=["localStorage",e],n[0]=e,n[1]=o):o=n[1];const s=o;let l,c;n[2]!==t||n[3]!==e?(l=()=>rM(e,t),c=()=>rM(e,t),n[2]=t,n[3]=e,n[4]=l,n[5]=c):(l=n[4],c=n[5]);let d;n[6]!==s||n[7]!==l||n[8]!==c?(d={queryKey:s,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},n[6]=s,n[7]=l,n[8]=c,n[9]=d):d=n[9];const{data:f}=xM(d);let p;n[10]!==e?(p=async E=>{const T=JSON.stringify(E);return localStorage.setItem(e,T),E},n[10]=e,n[11]=p):p=n[11];let h;n[12]!==r||n[13]!==s?(h=E=>{r.setQueryData(s,E)},n[12]=r,n[13]=s,n[14]=h):h=n[14];let g;n[15]!==p||n[16]!==h?(g={mutationFn:p,onSuccess:h},n[15]=p,n[16]=h,n[17]=g):g=n[17];const v=N8(g);let _;n[18]!==v||n[19]!==r||n[20]!==s?(_=E=>{const T=r.getQueryData(s),R=typeof E=="function"?E(T):E;v.mutate(R)},n[18]=v,n[19]=r,n[20]=s,n[21]=_):_=n[21];const b=_,x=f;let S;return n[22]!==b||n[23]!==x?(S=[x,b],n[22]=b,n[23]=x,n[24]=S):S=n[24],S}const su={chatSelectedImageModel:e=>`mesh:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`mesh:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`mesh:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`mesh:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`mesh:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`mesh:chat:autosend:${e}:${t}`,chatDraft:(e,t)=>`mesh:chat:draft:${e}:${t}`,sidePanelWidth:()=>"mesh:side-panel:width",sidebarOpen:()=>"mesh:sidebar-open",preferences:()=>"mesh:user:preferences",lastOrgSlug:()=>"mesh:last-org-slug",lastLocation:()=>"mesh:last-location",connectionsTab:e=>`mesh:connections:tab:${e}`,taskLastViewed:e=>`mesh:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`},ule={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system"},mL=["auto","readonly"],Que=[{value:"readonly",label:"Ask before edit",short:"Ask"},{value:"auto",label:"Auto approve",short:"Auto"}],dle=["light","dark","system"];function Xue(){try{const e=JSON.parse(localStorage.getItem(su.preferences())??"{}");if(mL.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function fle(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=su.preferences(),e[0]=t):t=e[0],cle(t,hle)}function hle(e){const t={...ule,...e};return mL.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),dle.includes(t.theme)||(t.theme="system"),t}async function ple(){performance.mark("mesh:config-fetch:start");try{const e=await fetch("/api/config");if(!e.ok)throw new Error("Failed to load public configuration");const t=await e.json();if(!t.success)throw new Error(t.error||"Failed to load public configuration");return t.config}finally{performance.mark("mesh:config-fetch:end"),performance.measure("mesh:config-fetch","mesh:config-fetch:start","mesh:config-fetch:end")}}function mle(e){if(!e)return;const t=document.getElementById("mesh-theme-overrides");t&&t.remove();const n=[];if(e.light&&Object.keys(e.light).length>0){const r=Object.entries(e.light).map(([o,s])=>` ${o}: ${s};`).join(`
163
+ deps: ${p}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[f,p]=s(d);l(d,f),c(d,p)}};function s({schema:d}){const f={},p={};for(const h in d){if(h==="__proto__")continue;const g=Array.isArray(d[h])?f:p;g[h]=d[h]}return[f,p]}function l(d,f=d.schema){const{gen:p,data:h,it:g}=d;if(Object.keys(f).length===0)return;const v=p.let("missing");for(const _ in f){const b=f[_];if(b.length===0)continue;const x=(0,r.propertyInData)(p,h,_,g.opts.ownProperties);d.setParams({property:_,depsCount:b.length,deps:b.join(", ")}),g.allErrors?p.if(x,()=>{for(const S of b)(0,r.checkReportMissingProp)(d,S)}):(p.if((0,t._)`${x} && (${(0,r.checkMissingProp)(d,b,v)})`),(0,r.reportMissingProp)(d,v),p.else())}}e.validatePropertyDeps=l;function c(d,f=d.schema){const{gen:p,data:h,keyword:g,it:v}=d,_=p.name("valid");for(const b in f)(0,n.alwaysValidSchema)(v,f[b])||(p.if((0,r.propertyInData)(p,h,b,v.opts.ownProperties),()=>{const x=d.subschema({keyword:g,schemaProp:b},_);d.mergeValidEvaluated(x,_)},()=>p.var(_,!0)),d.ok(_))}e.validateSchemaDeps=c,e.default=o})(Rb)),Rb}var tm={},IP;function jse(){if(IP)return tm;IP=1,Object.defineProperty(tm,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:o})=>(0,e._)`{propertyName: ${o.propertyName}}`},code(o){const{gen:s,schema:l,data:c,it:d}=o;if((0,t.alwaysValidSchema)(d,l))return;const f=s.name("valid");s.forIn("key",c,p=>{o.setParams({propertyName:p}),o.subschema({keyword:"propertyNames",data:p,dataTypes:["string"],propertyName:p,compositeRule:!0},f),s.if((0,e.not)(f),()=>{o.error(!0),d.allErrors||s.break()})}),o.ok(f)}};return tm.default=r,tm}var nm={},PP;function Y6(){if(PP)return nm;PP=1,Object.defineProperty(nm,"__esModule",{value:!0});const e=ci(),t=yt(),n=Ea(),r=kt(),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:l})=>(0,t._)`{additionalProperty: ${l.additionalProperty}}`},code(l){const{gen:c,schema:d,parentSchema:f,data:p,errsCount:h,it:g}=l;if(!h)throw new Error("ajv implementation error");const{allErrors:v,opts:_}=g;if(g.props=!0,_.removeAdditional!=="all"&&(0,r.alwaysValidSchema)(g,d))return;const b=(0,e.allSchemaProperties)(f.properties),x=(0,e.allSchemaProperties)(f.patternProperties);S(),l.ok((0,t._)`${h} === ${n.default.errors}`);function S(){c.forIn("key",p,A=>{!b.length&&!x.length?R(A):c.if(E(A),()=>R(A))})}function E(A){let I;if(b.length>8){const M=(0,r.schemaRefOrVal)(g,f.properties,"properties");I=(0,e.isOwnProperty)(c,M,A)}else b.length?I=(0,t.or)(...b.map(M=>(0,t._)`${A} === ${M}`)):I=t.nil;return x.length&&(I=(0,t.or)(I,...x.map(M=>(0,t._)`${(0,e.usePattern)(l,M)}.test(${A})`))),(0,t.not)(I)}function T(A){c.code((0,t._)`delete ${p}[${A}]`)}function R(A){if(_.removeAdditional==="all"||_.removeAdditional&&d===!1){T(A);return}if(d===!1){l.setParams({additionalProperty:A}),l.error(),v||c.break();return}if(typeof d=="object"&&!(0,r.alwaysValidSchema)(g,d)){const I=c.name("valid");_.removeAdditional==="failing"?(O(A,I,!1),c.if((0,t.not)(I),()=>{l.reset(),T(A)})):(O(A,I),v||c.if((0,t.not)(I),()=>c.break()))}}function O(A,I,M){const L={keyword:"additionalProperties",dataProp:A,dataPropType:r.Type.Str};M===!1&&Object.assign(L,{compositeRule:!0,createErrors:!1,allErrors:!1}),l.subschema(L,I)}}};return nm.default=s,nm}var rm={},MP;function zse(){if(MP)return rm;MP=1,Object.defineProperty(rm,"__esModule",{value:!0});const e=gv(),t=ci(),n=kt(),r=Y6(),o={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:l,schema:c,parentSchema:d,data:f,it:p}=s;p.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&r.default.code(new e.KeywordCxt(p,r.default,"additionalProperties"));const h=(0,t.allSchemaProperties)(c);for(const x of h)p.definedProperties.add(x);p.opts.unevaluated&&h.length&&p.props!==!0&&(p.props=n.mergeEvaluated.props(l,(0,n.toHash)(h),p.props));const g=h.filter(x=>!(0,n.alwaysValidSchema)(p,c[x]));if(g.length===0)return;const v=l.name("valid");for(const x of g)_(x)?b(x):(l.if((0,t.propertyInData)(l,f,x,p.opts.ownProperties)),b(x),p.allErrors||l.else().var(v,!0),l.endIf()),s.it.definedProperties.add(x),s.ok(v);function _(x){return p.opts.useDefaults&&!p.compositeRule&&c[x].default!==void 0}function b(x){s.subschema({keyword:"properties",schemaProp:x,dataProp:x},v)}}};return rm.default=o,rm}var om={},NP;function Use(){if(NP)return om;NP=1,Object.defineProperty(om,"__esModule",{value:!0});const e=ci(),t=yt(),n=kt(),r=kt(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:l,schema:c,data:d,parentSchema:f,it:p}=s,{opts:h}=p,g=(0,e.allSchemaProperties)(c),v=g.filter(R=>(0,n.alwaysValidSchema)(p,c[R]));if(g.length===0||v.length===g.length&&(!p.opts.unevaluated||p.props===!0))return;const _=h.strictSchema&&!h.allowMatchingProperties&&f.properties,b=l.name("valid");p.props!==!0&&!(p.props instanceof t.Name)&&(p.props=(0,r.evaluatedPropsToName)(l,p.props));const{props:x}=p;S();function S(){for(const R of g)_&&E(R),p.allErrors?T(R):(l.var(b,!0),T(R),l.if(b))}function E(R){for(const O in _)new RegExp(R).test(O)&&(0,n.checkStrictMode)(p,`property ${O} matches pattern ${R} (use allowMatchingProperties)`)}function T(R){l.forIn("key",d,O=>{l.if((0,t._)`${(0,e.usePattern)(s,R)}.test(${O})`,()=>{const A=v.includes(R);A||s.subschema({keyword:"patternProperties",schemaProp:R,dataProp:O,dataPropType:r.Type.Str},b),p.opts.unevaluated&&x!==!0?l.assign((0,t._)`${x}[${O}]`,!0):!A&&!p.allErrors&&l.if((0,t.not)(b),()=>l.break())})})}}};return om.default=o,om}var im={},kP;function Fse(){if(kP)return im;kP=1,Object.defineProperty(im,"__esModule",{value:!0});const e=kt(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(n){const{gen:r,schema:o,it:s}=n;if((0,e.alwaysValidSchema)(s,o)){n.fail();return}const l=r.name("valid");n.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},l),n.failResult(l,()=>n.reset(),()=>n.error())},error:{message:"must NOT be valid"}};return im.default=t,im}var sm={},DP;function Bse(){if(DP)return sm;DP=1,Object.defineProperty(sm,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:ci().validateUnion,error:{message:"must match a schema in anyOf"}};return sm.default=t,sm}var am={},LP;function Vse(){if(LP)return am;LP=1,Object.defineProperty(am,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:o})=>(0,e._)`{passingSchemas: ${o.passing}}`},code(o){const{gen:s,schema:l,parentSchema:c,it:d}=o;if(!Array.isArray(l))throw new Error("ajv implementation error");if(d.opts.discriminator&&c.discriminator)return;const f=l,p=s.let("valid",!1),h=s.let("passing",null),g=s.name("_valid");o.setParams({passing:h}),s.block(v),o.result(p,()=>o.reset(),()=>o.error(!0));function v(){f.forEach((_,b)=>{let x;(0,t.alwaysValidSchema)(d,_)?s.var(g,!0):x=o.subschema({keyword:"oneOf",schemaProp:b,compositeRule:!0},g),b>0&&s.if((0,e._)`${g} && ${p}`).assign(p,!1).assign(h,(0,e._)`[${h}, ${b}]`).else(),s.if(g,()=>{s.assign(p,!0),s.assign(h,b),x&&o.mergeEvaluated(x,e.Name)})})}}};return am.default=r,am}var lm={},$P;function Hse(){if($P)return lm;$P=1,Object.defineProperty(lm,"__esModule",{value:!0});const e=kt(),t={keyword:"allOf",schemaType:"array",code(n){const{gen:r,schema:o,it:s}=n;if(!Array.isArray(o))throw new Error("ajv implementation error");const l=r.name("valid");o.forEach((c,d)=>{if((0,e.alwaysValidSchema)(s,c))return;const f=n.subschema({keyword:"allOf",schemaProp:d},l);n.ok(l),n.mergeEvaluated(f)})}};return lm.default=t,lm}var cm={},jP;function qse(){if(jP)return cm;jP=1,Object.defineProperty(cm,"__esModule",{value:!0});const e=yt(),t=kt(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:s})=>(0,e.str)`must match "${s.ifClause}" schema`,params:({params:s})=>(0,e._)`{failingKeyword: ${s.ifClause}}`},code(s){const{gen:l,parentSchema:c,it:d}=s;c.then===void 0&&c.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const f=o(d,"then"),p=o(d,"else");if(!f&&!p)return;const h=l.let("valid",!0),g=l.name("_valid");if(v(),s.reset(),f&&p){const b=l.let("ifClause");s.setParams({ifClause:b}),l.if(g,_("then",b),_("else",b))}else f?l.if(g,_("then")):l.if((0,e.not)(g),_("else"));s.pass(h,()=>s.error(!0));function v(){const b=s.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},g);s.mergeEvaluated(b)}function _(b,x){return()=>{const S=s.subschema({keyword:b},g);l.assign(h,g),s.mergeValidEvaluated(S,h),x?l.assign(x,(0,e._)`${b}`):s.setParams({ifClause:b})}}}};function o(s,l){const c=s.schema[l];return c!==void 0&&!(0,t.alwaysValidSchema)(s,c)}return cm.default=r,cm}var um={},zP;function Gse(){if(zP)return um;zP=1,Object.defineProperty(um,"__esModule",{value:!0});const e=kt(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:n,parentSchema:r,it:o}){r.if===void 0&&(0,e.checkStrictMode)(o,`"${n}" without "if" is ignored`)}};return um.default=t,um}var UP;function Kse(){if(UP)return Qp;UP=1,Object.defineProperty(Qp,"__esModule",{value:!0});const e=K6(),t=kse(),n=Z6(),r=Dse(),o=Lse(),s=$se(),l=jse(),c=Y6(),d=zse(),f=Use(),p=Fse(),h=Bse(),g=Vse(),v=Hse(),_=qse(),b=Gse();function x(S=!1){const E=[p.default,h.default,g.default,v.default,_.default,b.default,l.default,c.default,s.default,d.default,f.default];return S?E.push(t.default,r.default):E.push(e.default,n.default),E.push(o.default),E}return Qp.default=x,Qp}var dm={},fm={},FP;function Zse(){if(FP)return fm;FP=1,Object.defineProperty(fm,"__esModule",{value:!0});const e=yt(),n={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,e._)`{format: ${r}}`},code(r,o){const{gen:s,data:l,$data:c,schema:d,schemaCode:f,it:p}=r,{opts:h,errSchemaPath:g,schemaEnv:v,self:_}=p;if(!h.validateFormats)return;c?b():x();function b(){const S=s.scopeValue("formats",{ref:_.formats,code:h.code.formats}),E=s.const("fDef",(0,e._)`${S}[${f}]`),T=s.let("fType"),R=s.let("format");s.if((0,e._)`typeof ${E} == "object" && !(${E} instanceof RegExp)`,()=>s.assign(T,(0,e._)`${E}.type || "string"`).assign(R,(0,e._)`${E}.validate`),()=>s.assign(T,(0,e._)`"string"`).assign(R,E)),r.fail$data((0,e.or)(O(),A()));function O(){return h.strictSchema===!1?e.nil:(0,e._)`${f} && !${R}`}function A(){const I=v.$async?(0,e._)`(${E}.async ? await ${R}(${l}) : ${R}(${l}))`:(0,e._)`${R}(${l})`,M=(0,e._)`(typeof ${R} == "function" ? ${I} : ${R}.test(${l}))`;return(0,e._)`${R} && ${R} !== true && ${T} === ${o} && !${M}`}}function x(){const S=_.formats[d];if(!S){O();return}if(S===!0)return;const[E,T,R]=A(S);E===o&&r.pass(I());function O(){if(h.strictSchema===!1){_.logger.warn(M());return}throw new Error(M());function M(){return`unknown format "${d}" ignored in schema at path "${g}"`}}function A(M){const L=M instanceof RegExp?(0,e.regexpCode)(M):h.code.formats?(0,e._)`${h.code.formats}${(0,e.getProperty)(d)}`:void 0,H=s.scopeValue("formats",{key:d,ref:M,code:L});return typeof M=="object"&&!(M instanceof RegExp)?[M.type||"string",M.validate,(0,e._)`${H}.validate`]:["string",M,H]}function I(){if(typeof S=="object"&&!(S instanceof RegExp)&&S.async){if(!v.$async)throw new Error("async format in sync schema");return(0,e._)`await ${R}(${l})`}return typeof T=="function"?(0,e._)`${R}(${l})`:(0,e._)`${R}.test(${l})`}}}};return fm.default=n,fm}var BP;function Yse(){if(BP)return dm;BP=1,Object.defineProperty(dm,"__esModule",{value:!0});const t=[Zse().default];return dm.default=t,dm}var Qa={},VP;function Wse(){return VP||(VP=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.contentVocabulary=Qa.metadataVocabulary=void 0,Qa.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Qa.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Qa}var HP;function Qse(){if(HP)return Dp;HP=1,Object.defineProperty(Dp,"__esModule",{value:!0});const e=wse(),t=Nse(),n=Kse(),r=Yse(),o=Wse(),s=[e.default,t.default,(0,n.default)(),r.default,o.metadataVocabulary,o.contentVocabulary];return Dp.default=s,Dp}var hm={},bd={},qP;function Xse(){if(qP)return bd;qP=1,Object.defineProperty(bd,"__esModule",{value:!0}),bd.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(bd.DiscrError=e={})),bd}var GP;function Jse(){if(GP)return hm;GP=1,Object.defineProperty(hm,"__esModule",{value:!0});const e=yt(),t=Xse(),n=yE(),r=vv(),o=kt(),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:c,tagName:d}})=>c===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:c,tag:d,tagName:f}})=>(0,e._)`{error: ${c}, tag: ${f}, tagValue: ${d}}`},code(c){const{gen:d,data:f,schema:p,parentSchema:h,it:g}=c,{oneOf:v}=h;if(!g.opts.discriminator)throw new Error("discriminator: requires discriminator option");const _=p.propertyName;if(typeof _!="string")throw new Error("discriminator: requires propertyName");if(p.mapping)throw new Error("discriminator: mapping is not supported");if(!v)throw new Error("discriminator: requires oneOf keyword");const b=d.let("valid",!1),x=d.const("tag",(0,e._)`${f}${(0,e.getProperty)(_)}`);d.if((0,e._)`typeof ${x} == "string"`,()=>S(),()=>c.error(!1,{discrError:t.DiscrError.Tag,tag:x,tagName:_})),c.ok(b);function S(){const R=T();d.if(!1);for(const O in R)d.elseIf((0,e._)`${x} === ${O}`),d.assign(b,E(R[O]));d.else(),c.error(!1,{discrError:t.DiscrError.Mapping,tag:x,tagName:_}),d.endIf()}function E(R){const O=d.name("valid"),A=c.subschema({keyword:"oneOf",schemaProp:R},O);return c.mergeEvaluated(A,e.Name),O}function T(){var R;const O={},A=M(h);let I=!0;for(let j=0;j<v.length;j++){let B=v[j];if(B?.$ref&&!(0,o.schemaHasRulesButRef)(B,g.self.RULES)){const Z=B.$ref;if(B=n.resolveRef.call(g.self,g.schemaEnv.root,g.baseId,Z),B instanceof n.SchemaEnv&&(B=B.schema),B===void 0)throw new r.default(g.opts.uriResolver,g.baseId,Z)}const F=(R=B?.properties)===null||R===void 0?void 0:R[_];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${_}"`);I=I&&(A||M(B)),L(F,j)}if(!I)throw new Error(`discriminator: "${_}" must be required`);return O;function M({required:j}){return Array.isArray(j)&&j.includes(_)}function L(j,B){if(j.const)H(j.const,B);else if(j.enum)for(const F of j.enum)H(F,B);else throw new Error(`discriminator: "properties/${_}" must have "const" or "enum"`)}function H(j,B){if(typeof j!="string"||j in O)throw new Error(`discriminator: "${_}" values must be unique strings`);O[j]=B}}}};return hm.default=l,hm}const eae="http://json-schema.org/draft-07/schema#",tae="http://json-schema.org/draft-07/schema#",nae="Core schema meta-schema",rae={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},oae=["object","boolean"],iae={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},sae={$schema:eae,$id:tae,title:nae,definitions:rae,type:oae,properties:iae,default:!0};var KP;function aae(){return KP||(KP=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=yse(),r=Qse(),o=Jse(),s=sae,l=["/properties"],c="http://json-schema.org/draft-07/schema";class d extends n.default{_addVocabularies(){super._addVocabularies(),r.default.forEach(_=>this.addVocabulary(_)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const _=this.opts.$data?this.$dataMetaSchema(s,l):s;this.addMetaSchema(_,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var f=gv();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return f.KeywordCxt}});var p=yt();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var h=vE();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var g=vv();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return g.default}})})(Ip,Ip.exports)),Ip.exports}var pm={exports:{}},Ob={},ZP;function lae(){return ZP||(ZP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(j,B){return{validate:j,compare:B}}e.fullFormats={date:t(s,l),time:t(d(!0),f),"date-time":t(g(!0),v),"iso-time":t(d(),p),"iso-date-time":t(g(),_),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:S,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:H,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:T,int32:{type:"number",validate:A},int64:{type:"number",validate:I},float:{type:"number",validate:M},double:{type:"number",validate:M},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,l),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,p),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,_),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function n(j){return j%4===0&&(j%100!==0||j%400===0)}const r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(j){const B=r.exec(j);if(!B)return!1;const F=+B[1],Z=+B[2],ie=+B[3];return Z>=1&&Z<=12&&ie>=1&&ie<=(Z===2&&n(F)?29:o[Z])}function l(j,B){if(j&&B)return j>B?1:j<B?-1:0}const c=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(j){return function(F){const Z=c.exec(F);if(!Z)return!1;const ie=+Z[1],q=+Z[2],W=+Z[3],te=Z[4],le=Z[5]==="-"?-1:1,Q=+(Z[6]||0),k=+(Z[7]||0);if(Q>23||k>59||j&&!te)return!1;if(ie<=23&&q<=59&&W<60)return!0;const G=q-k*le,V=ie-Q*le-(G<0?1:0);return(V===23||V===-1)&&(G===59||G===-1)&&W<61}}function f(j,B){if(!(j&&B))return;const F=new Date("2020-01-01T"+j).valueOf(),Z=new Date("2020-01-01T"+B).valueOf();if(F&&Z)return F-Z}function p(j,B){if(!(j&&B))return;const F=c.exec(j),Z=c.exec(B);if(F&&Z)return j=F[1]+F[2]+F[3],B=Z[1]+Z[2]+Z[3],j>B?1:j<B?-1:0}const h=/t|\s/i;function g(j){const B=d(j);return function(Z){const ie=Z.split(h);return ie.length===2&&s(ie[0])&&B(ie[1])}}function v(j,B){if(!(j&&B))return;const F=new Date(j).valueOf(),Z=new Date(B).valueOf();if(F&&Z)return F-Z}function _(j,B){if(!(j&&B))return;const[F,Z]=j.split(h),[ie,q]=B.split(h),W=l(F,ie);if(W!==void 0)return W||f(Z,q)}const b=/\/|:/,x=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function S(j){return b.test(j)&&x.test(j)}const E=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function T(j){return E.lastIndex=0,E.test(j)}const R=-2147483648,O=2**31-1;function A(j){return Number.isInteger(j)&&j<=O&&j>=R}function I(j){return Number.isInteger(j)}function M(){return!0}const L=/[^\\]\\Z/;function H(j){if(L.test(j))return!1;try{return new RegExp(j),!0}catch{return!1}}})(Ob)),Ob}var Tb={},YP;function cae(){return YP||(YP=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=aae(),n=yt(),r=n.operators,o={formatMaximum:{okStr:"<=",ok:r.LTE,fail:r.GT},formatMinimum:{okStr:">=",ok:r.GTE,fail:r.LT},formatExclusiveMaximum:{okStr:"<",ok:r.LT,fail:r.GTE},formatExclusiveMinimum:{okStr:">",ok:r.GT,fail:r.LTE}},s={message:({keyword:c,schemaCode:d})=>(0,n.str)`should be ${o[c].okStr} ${d}`,params:({keyword:c,schemaCode:d})=>(0,n._)`{comparison: ${o[c].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:s,code(c){const{gen:d,data:f,schemaCode:p,keyword:h,it:g}=c,{opts:v,self:_}=g;if(!v.validateFormats)return;const b=new t.KeywordCxt(g,_.RULES.all.format.definition,"format");b.$data?x():S();function x(){const T=d.scopeValue("formats",{ref:_.formats,code:v.code.formats}),R=d.const("fmt",(0,n._)`${T}[${b.schemaCode}]`);c.fail$data((0,n.or)((0,n._)`typeof ${R} != "object"`,(0,n._)`${R} instanceof RegExp`,(0,n._)`typeof ${R}.compare != "function"`,E(R)))}function S(){const T=b.schema,R=_.formats[T];if(!R||R===!0)return;if(typeof R!="object"||R instanceof RegExp||typeof R.compare!="function")throw new Error(`"${h}": format "${T}" does not define "compare" function`);const O=d.scopeValue("formats",{key:T,ref:R,code:v.code.formats?(0,n._)`${v.code.formats}${(0,n.getProperty)(T)}`:void 0});c.fail$data(E(O))}function E(T){return(0,n._)`${T}.compare(${f}, ${p}) ${o[h].fail} 0`}},dependencies:["format"]};const l=c=>(c.addKeyword(e.formatLimitDefinition),c);e.default=l})(Tb)),Tb}var WP;function uae(){return WP||(WP=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=lae(),r=cae(),o=yt(),s=new o.Name("fullFormats"),l=new o.Name("fastFormats"),c=(f,p={keywords:!0})=>{if(Array.isArray(p))return d(f,p,n.fullFormats,s),f;const[h,g]=p.mode==="fast"?[n.fastFormats,l]:[n.fullFormats,s],v=p.formats||n.formatNames;return d(f,v,h,g),p.keywords&&(0,r.default)(f),f};c.get=(f,p="full")=>{const g=(p==="fast"?n.fastFormats:n.fullFormats)[f];if(!g)throw new Error(`Unknown format "${f}"`);return g};function d(f,p,h,g){var v,_;(v=(_=f.opts.code).formats)!==null&&v!==void 0||(_.formats=(0,o._)`require("ajv-formats/dist/formats").${g}`);for(const b of p)f.addFormat(b,h[b])}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c})(pm,pm.exports)),pm.exports}var dae=uae();const Cue=hl(dae);let bE;bE=globalThis.crypto;async function fae(e){return(await bE).getRandomValues(new Uint8Array(e))}async function hae(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~",n=Math.pow(2,8)-Math.pow(2,8)%t.length;let r="";for(;r.length<e;){const o=await fae(e-r.length);for(const s of o)s<n&&(r+=t[s%t.length])}return r}async function pae(e){return await hae(e)}async function mae(e){const t=await(await bE).subtle.digest("SHA-256",new TextEncoder().encode(e));return btoa(String.fromCharCode(...new Uint8Array(t))).replace(/\//g,"_").replace(/\+/g,"-").replace(/=/g,"")}async function Aue(e){if(e||(e=43),e<43||e>128)throw`Expected a length between 43 and 128. Received ${e}.`;const t=await pae(e),n=await mae(t);return{code_verifier:t,code_challenge:n}}const gr=LB().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:PV.custom,message:"URL must be parseable",fatal:!0}),Dz}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Iue=vr({resource:$().url(),authorization_servers:Re(gr).optional(),jwks_uri:$().url().optional(),scopes_supported:Re($()).optional(),bearer_methods_supported:Re($()).optional(),resource_signing_alg_values_supported:Re($()).optional(),resource_name:$().optional(),resource_documentation:$().optional(),resource_policy_uri:$().url().optional(),resource_tos_uri:$().url().optional(),tls_client_certificate_bound_access_tokens:Nt().optional(),authorization_details_types_supported:Re($()).optional(),dpop_signing_alg_values_supported:Re($()).optional(),dpop_bound_access_tokens_required:Nt().optional()}),gae=vr({issuer:$(),authorization_endpoint:gr,token_endpoint:gr,registration_endpoint:gr.optional(),scopes_supported:Re($()).optional(),response_types_supported:Re($()),response_modes_supported:Re($()).optional(),grant_types_supported:Re($()).optional(),token_endpoint_auth_methods_supported:Re($()).optional(),token_endpoint_auth_signing_alg_values_supported:Re($()).optional(),service_documentation:gr.optional(),revocation_endpoint:gr.optional(),revocation_endpoint_auth_methods_supported:Re($()).optional(),revocation_endpoint_auth_signing_alg_values_supported:Re($()).optional(),introspection_endpoint:$().optional(),introspection_endpoint_auth_methods_supported:Re($()).optional(),introspection_endpoint_auth_signing_alg_values_supported:Re($()).optional(),code_challenge_methods_supported:Re($()).optional(),client_id_metadata_document_supported:Nt().optional()}),vae=vr({issuer:$(),authorization_endpoint:gr,token_endpoint:gr,userinfo_endpoint:gr.optional(),jwks_uri:gr,registration_endpoint:gr.optional(),scopes_supported:Re($()).optional(),response_types_supported:Re($()),response_modes_supported:Re($()).optional(),grant_types_supported:Re($()).optional(),acr_values_supported:Re($()).optional(),subject_types_supported:Re($()),id_token_signing_alg_values_supported:Re($()),id_token_encryption_alg_values_supported:Re($()).optional(),id_token_encryption_enc_values_supported:Re($()).optional(),userinfo_signing_alg_values_supported:Re($()).optional(),userinfo_encryption_alg_values_supported:Re($()).optional(),userinfo_encryption_enc_values_supported:Re($()).optional(),request_object_signing_alg_values_supported:Re($()).optional(),request_object_encryption_alg_values_supported:Re($()).optional(),request_object_encryption_enc_values_supported:Re($()).optional(),token_endpoint_auth_methods_supported:Re($()).optional(),token_endpoint_auth_signing_alg_values_supported:Re($()).optional(),display_values_supported:Re($()).optional(),claim_types_supported:Re($()).optional(),claims_supported:Re($()).optional(),service_documentation:$().optional(),claims_locales_supported:Re($()).optional(),ui_locales_supported:Re($()).optional(),claims_parameter_supported:Nt().optional(),request_parameter_supported:Nt().optional(),request_uri_parameter_supported:Nt().optional(),require_request_uri_registration:Nt().optional(),op_policy_uri:gr.optional(),op_tos_uri:gr.optional(),client_id_metadata_document_supported:Nt().optional()}),Pue=be({...vae.shape,...gae.pick({code_challenge_methods_supported:!0}).shape}),Mue=be({access_token:$(),id_token:$().optional(),token_type:$(),expires_in:iN().optional(),scope:$().optional(),refresh_token:$().optional()}).strip(),Nue=be({error:$(),error_description:$().optional(),error_uri:$().optional()}),QP=gr.optional().or(Ge("").transform(()=>{})),yae=be({redirect_uris:Re(gr),token_endpoint_auth_method:$().optional(),grant_types:Re($()).optional(),response_types:Re($()).optional(),client_name:$().optional(),client_uri:gr.optional(),logo_uri:QP,scope:$().optional(),contacts:Re($()).optional(),tos_uri:QP,policy_uri:$().optional(),jwks_uri:gr.optional(),jwks:rV().optional(),software_id:$().optional(),software_version:$().optional(),software_statement:$().optional()}).strip(),_ae=be({client_id:$(),client_secret:$().optional(),client_id_issued_at:ht().optional(),client_secret_expires_at:ht().optional()}).strip(),kue=yae.merge(_ae);be({error:$(),error_description:$().optional()}).strip();be({token:$(),token_type_hint:$().optional()}).strip();class wr extends Error{constructor(t,n){super(t),this.errorUri=n,this.name=this.constructor.name}toResponseObject(){const t={error:this.errorCode,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}get errorCode(){return this.constructor.errorCode}}class aw extends wr{}aw.errorCode="invalid_request";class lw extends wr{}lw.errorCode="invalid_client";class cw extends wr{}cw.errorCode="invalid_grant";class uw extends wr{}uw.errorCode="unauthorized_client";class dw extends wr{}dw.errorCode="unsupported_grant_type";class fw extends wr{}fw.errorCode="invalid_scope";class hw extends wr{}hw.errorCode="access_denied";class pw extends wr{}pw.errorCode="server_error";class mw extends wr{}mw.errorCode="temporarily_unavailable";class gw extends wr{}gw.errorCode="unsupported_response_type";class vw extends wr{}vw.errorCode="unsupported_token_type";class yw extends wr{}yw.errorCode="invalid_token";class _w extends wr{}_w.errorCode="method_not_allowed";class bw extends wr{}bw.errorCode="too_many_requests";class ww extends wr{}ww.errorCode="invalid_client_metadata";class Sw extends wr{}Sw.errorCode="insufficient_scope";class Ew extends wr{}Ew.errorCode="invalid_target";const Due={[aw.errorCode]:aw,[lw.errorCode]:lw,[cw.errorCode]:cw,[uw.errorCode]:uw,[dw.errorCode]:dw,[fw.errorCode]:fw,[hw.errorCode]:hw,[pw.errorCode]:pw,[mw.errorCode]:mw,[gw.errorCode]:gw,[vw.errorCode]:vw,[yw.errorCode]:yw,[_w.errorCode]:_w,[bw.errorCode]:bw,[ww.errorCode]:ww,[Sw.errorCode]:Sw,[Ew.errorCode]:Ew};async function W6(e){if(!e.getServerCapabilities()?.resources)return{resources:[]};try{return await e.listResources()}catch(n){if(n instanceof hv&&n.code===uf.MethodNotFound)return{resources:[]};throw n}}async function bae(e,t){return await e.readResource({uri:t})}function Lue(e){const t=qn.c(12);let n,r;t[0]!==e?({client:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);let o;t[3]!==n?(o=uv.mcpResourcesList(n),t[3]=n,t[4]=o):o=t[4];let s;t[5]!==n?(s=()=>W6(n),t[5]=n,t[6]=s):s=t[6];const l=r.staleTime??3e4;let c;return t[7]!==r||t[8]!==o||t[9]!==s||t[10]!==l?(c={...r,queryKey:o,queryFn:s,staleTime:l,retry:!1},t[7]=r,t[8]=o,t[9]=s,t[10]=l,t[11]=c):c=t[11],ff(c)}function $ue(e){const t=qn.c(12);let n,r;t[0]!==e?({client:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);let o;t[3]!==n?(o=uv.mcpResourcesList(n),t[3]=n,t[4]=o):o=t[4];let s;t[5]!==n?(s=()=>W6(n),t[5]=n,t[6]=s):s=t[6];const l=r.staleTime??3e4;let c;return t[7]!==r||t[8]!==o||t[9]!==s||t[10]!==l?(c={...r,queryKey:o,queryFn:s,staleTime:l,retry:!1},t[7]=r,t[8]=o,t[9]=s,t[10]=l,t[11]=c):c=t[11],xM(c)}function jue(e){const t=qn.c(15);let n,r,o;t[0]!==e?({client:n,uri:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o):(n=t[1],r=t[2],o=t[3]);let s;t[4]!==n||t[5]!==o?(s=uv.mcpReadResource(n,o),t[4]=n,t[5]=o,t[6]=s):s=t[6];let l;t[7]!==n||t[8]!==o?(l=()=>bae(n,o),t[7]=n,t[8]=o,t[9]=l):l=t[9];const c=r.staleTime??3e4;let d;return t[10]!==r||t[11]!==s||t[12]!==l||t[13]!==c?(d={...r,queryKey:s,queryFn:l,staleTime:c,retry:!1},t[10]=r,t[11]=s,t[12]=l,t[13]=c,t[14]=d):d=t[14],ff(d)}const Q6="ui-resource-html";function zue(e){const t=qn.c(20);let n,r,o,s,l;t[0]!==e?({orgSlug:o,connectionId:n,uri:l,meshUrl:r,...s}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=l):(n=t[1],r=t[2],o=t[3],s=t[4],l=t[5]);let c;t[6]!==n||t[7]!==o||t[8]!==l?(c=uv.mcpUiResourceHtml(o,n,l),t[6]=n,t[7]=o,t[8]=l,t[9]=c):c=t[9];let d;t[10]!==n||t[11]!==r||t[12]!==o||t[13]!==l?(d=async()=>{const g=`${r??(typeof window<"u"?window.location.origin:"")}/api/${encodeURIComponent(o)}/mcp/${encodeURIComponent(n)}/ui-resource?uri=${encodeURIComponent(l)}`,v=await fetch(g,{credentials:"include"});if(!v.ok)throw new Error(`Failed to read UI resource (${v.status})`);return v.text()},t[10]=n,t[11]=r,t[12]=o,t[13]=l,t[14]=d):d=t[14];const f=s.staleTime??3e4;let p;return t[15]!==s||t[16]!==c||t[17]!==d||t[18]!==f?(p={...s,queryKey:c,queryFn:d,staleTime:f,retry:!1},t[15]=s,t[16]=c,t[17]=d,t[18]=f,t[19]=p):p=t[19],ff(p)}const wae=be({authorizationEndpoint:$().url(),tokenEndpoint:$().url(),introspectionEndpoint:$().url().optional(),clientId:$(),clientSecret:$().optional(),scopes:Re($()),grantType:an(["authorization_code","client_credentials"])}),XP=be({type:Ge("object"),properties:Pt($(),Gt()).optional(),required:Re($()).optional()}).catchall(Gt()),Sae=gE.extend({inputSchema:XP,outputSchema:XP.optional()}),Eae=be({headers:Pt($(),$()).optional()}),xae=be({command:$().describe("Command to run (e.g., 'npx', 'node')"),args:Re($()).optional().describe("Command arguments"),cwd:$().optional().describe("Working directory"),envVars:Pt($(),$()).optional().describe("Environment variables (encrypted in storage)")}),X6=be({id:$().describe("Unique identifier for the connection"),title:$().describe("Human-readable name for the connection"),created_at:$().describe("When the connection was created"),updated_at:$().describe("When the connection was last updated"),created_by:$().describe("User ID who created the connection"),updated_by:$().optional().describe("User ID who last updated the connection"),organization_id:$().describe("Organization ID this connection belongs to"),description:$().nullable().describe("Description of the connection"),icon:$().nullable().describe("Icon URL for the connection"),app_name:$().nullable().describe("Associated app name"),app_id:$().nullable().describe("Associated app ID"),slug:$().nullable().optional().describe("URL-safe slug derived from app_name, connection_url, or title"),connection_type:an(["HTTP","SSE","Websocket","STDIO","VIRTUAL"]).describe("Type of connection"),connection_url:$().nullable().describe("URL for HTTP/SSE/WebSocket connections. virtual://$id for VIRTUAL. Null for STDIO."),connection_token:$().nullable().describe("Authentication token (for HTTP connections)"),connection_headers:nn([xae,Eae]).nullable().describe("Connection parameters. HTTP: { headers }. STDIO: { command, args, cwd, envVars }"),oauth_config:wae.nullable().describe("OAuth configuration"),configuration_state:Pt($(),Gt()).nullable().describe("Configuration state (decrypted)"),configuration_scopes:Re($()).nullable().optional().describe("Configuration scopes"),metadata:Pt($(),Gt()).nullable().describe("Additional metadata (includes repository info)"),tools:Re(Sae).nullable().describe("Discovered tools from MCP"),bindings:Re($()).nullable().describe("Detected bindings"),status:an(["active","inactive","error"]).describe("Current status")});X6.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:$().nullish()});X6.partial();function Uue(e){return e!=null&&"command"in e}function Fue(e){return!e||!e.startsWith("virtual://")?null:e.replace("virtual://","")}const Nd=be({connection_id:$().describe("Connection ID"),selected_tools:Re($()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:Re($()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:Re($()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),J6=Nd.extend({selected_tools:Nd.shape.selected_tools.optional(),selected_resources:Nd.shape.selected_resources.optional(),selected_prompts:Nd.shape.selected_prompts.optional()}),Rae=be({connectionId:$(),toolName:$(),label:$(),icon:$().nullable().optional()}),Oae=be({id:$().describe("Stable id; used as React key and ?tab= value"),title:$().describe("Tab label"),icon:$().optional().describe("Optional lucide icon name"),view:be({type:Ge("ext-app"),appId:$(),args:Pt($(),Gt()).optional()})}),Tae=be({defaultMainView:be({type:$(),id:$().optional(),toolName:$().optional()}).nullable().optional(),chatDefaultOpen:Nt().nullable().optional(),tabs:Re(Oae).optional()}),JP=be({tileId:$().optional(),connectionId:$().optional().describe("Connection that owns the resource — the host opens a direct MCP client to this connection so the iframe can call tools by their bare names."),resourceUri:$().describe("ui:// resource URI exposed by `connectionId`. Read on the home page and rendered via MCPAppRenderer."),toolName:$().optional().describe("Tool name — identifies which tool's inputSchema to display when editing tile props."),toolInput:Pt($(),Gt()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight:ht().int().positive().optional(),maxHeight:ht().int().positive().optional()}),wE=be({banner:$().nullable().optional(),bannerColor:$().nullable().optional(),icon:$().nullable().optional(),themeColor:$().nullable().optional(),pinnedViews:Re(Rae).nullable().optional(),layout:Tae.nullable().optional(),homeTile:JP.nullable().optional(),homeTiles:Re(JP).nullable().optional(),homePrompts:Re($()).nullable().optional()});function Bue(e){const t=e?.homeTiles;if(Array.isArray(t)&&t.length>0)return t;const n=e?.homeTile;return n?[n]:[]}const Cae=/^[A-Za-z_][A-Za-z0-9_]*$/,eM=$().min(1).regex(Cae,{message:"Env var key must start with a letter or underscore and contain only letters, digits, and underscores."}),Aae=Ww("kind",[be({key:eM,kind:Ge("literal"),value:$()}),be({key:eM,kind:Ge("secret"),secretId:$().min(1)})]),SE=be({selected:$().nullable().optional().describe("User-selected package manager (npm | pnpm | yarn | bun | deno). Null/absent means autodetect on next SANDBOX_START."),port:$().nullable().optional().describe("User-selected dev server port as a string (allows '' / null for unset). Null/absent means autodetect."),path:$().nullable().optional().describe("Optional path (relative to repo root) to the directory containing package.json. Null/absent means repo root. Forwarded as `application.packageManager.path` to the daemon config."),env:Re(Aae).nullable().optional().describe("Env vars injected on every SANDBOX_START. Literal entries inline their value; secret entries store a secretId that mesh resolves via the credential vault before posting /_sandbox/config.")}),EE=be({url:$().describe("GitHub repository URL"),owner:$().describe("Repository owner"),name:$().describe("Repository name"),installationId:ht().optional().describe("GitHub App installation ID. Absent when the repo was linked without a GitHub connection (public-clone mode)."),connectionId:$().optional().describe("ID of the mcp-github connection used for authentication. Absent for public repos cloned without credentials.")}),Iae=an(["agent-sandbox","user-desktop"]),Pae=an(["agent-sandbox","user-desktop","cluster"]);function eL(e){return e==="cluster"?"agent-sandbox":e}const tL={sandboxHandle:$().describe("Provider-specific handle"),previewUrl:$().nullable().describe("URL where the sandbox's iframe-proxied UI is served, or null when the sandbox has no dev server (blank / tool sandboxes)."),sandboxApiUrl:$().nullable().optional().describe("Daemon's public URL — what cluster→daemon RPCs target. Equal to previewUrl for user-desktop; null/absent for the agent-sandbox provider (routes through hosted ingress)."),sandboxProviderKind:Iae.optional(),createdAt:ht().optional().describe("Epoch ms the entry was first written by SANDBOX_START. Used by the booting overlay to show a stable elapsed timer that survives browser reloads. Optional for backward compatibility with entries written before this field existed."),startedWith:be({packageManager:$().nullable().optional().describe("metadata.runtime.selected at the time of SANDBOX_START"),port:$().nullable().optional().describe("metadata.runtime.port at the time of SANDBOX_START"),path:$().nullable().optional().describe("metadata.runtime.path at the time of SANDBOX_START")}).optional().describe("Snapshot of metadata.runtime fields (selected/port/path) used at SANDBOX_START. The Preview tab compares the live metadata.runtime against this to decide if a restart is required to apply changes.")},nL=be(tL),Mae=be({...tL,sandboxProviderKind:Pae.optional()});function Nae(e){const t=Mae.parse(e);return nL.parse({...t,sandboxProviderKind:t.sandboxProviderKind?eL(t.sandboxProviderKind):void 0})}function Vue(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t=e,n={};for(const[r,o]of Object.entries(t)){if(!o||typeof o!="object"||r!=="cluster"&&r!=="agent-sandbox"&&r!=="user-desktop")continue;const s=eL(r);try{if(r==="cluster"&&n[s])continue;n[s]=Nae(o)}catch{}}return n}const xE=Pt($().describe("userId"),Pt($().describe("branch"),Pt($().describe("sandboxProviderKind"),nL))),kae=be({id:$().describe("Stable identifier for this knowledge file"),name:$().describe("File name shown in the UI"),kind:an(["file","skill"]).optional().describe("'file' (a single document) or 'skill' (a Claude Code skill folder containing SKILL.md). Defaults to 'file'."),volume:$().describe("Org filesystem (Library) volume the file lives in"),path:$().describe("Path within the volume"),url:$().describe("Same-origin URL to read the file (display/download)"),contentType:$().nullable().optional().describe("MIME type, used to decide whether to inline the content"),size:ht().nullable().optional().describe("File size in bytes"),addedAt:$().describe("ISO timestamp when the file was attached")}),RE=Re(kae).nullable().optional().describe("Files attached to the agent as reference knowledge. Surfaced in the system prompt: small text documents are inlined, others are listed as retrievable references."),Hue=be({id:$().describe("Unique identifier"),title:$().describe("Human-readable name"),description:$().nullable().describe("Description"),icon:$().nullable().describe("Icon URL"),created_at:$().describe("Creation timestamp"),updated_at:$().describe("Last update timestamp"),created_by:$().describe("User ID who created this item"),updated_by:$().optional().describe("User ID who last updated this item"),organization_id:$().describe("Organization ID this item belongs to"),status:an(["active","inactive"]).describe("Current status"),pinned:Nt().describe("Whether this space is pinned to the sidebar"),metadata:be({instructions:$().nullable().describe("Instructions also used as system prompt"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().describe("Metadata"),connections:Re(Nd).describe("Connections with their selected tools, resources, and prompts")}),rL=be({title:$().min(1).max(120).describe("Short label shown on the chip"),description:$().max(280).optional().describe("One-line subtitle shown under the title"),text:$().min(1).describe("The message sent to the agent when the prompt is clicked")});be({title:$().min(1).max(255).describe("Name for the virtual MCP"),description:$().nullable().optional().describe("Optional description"),icon:$().nullish().describe("Optional icon URL"),status:an(["active","inactive"]).optional().default("active").describe("Initial status"),pinned:Nt().optional().default(!1).describe("Pin to sidebar"),metadata:be({instructions:$().nullable().optional().describe("MCP server instructions"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().nullable().optional().describe("Additional metadata including MCP server instructions"),connections:Re(J6).describe("Connections to include/exclude (can be empty for exclusion mode)"),prompts:Re(rL).optional().describe("Optional kickstart prompts to seed on the agent. Each becomes a clickable conversation starter (icebreaker) on the agent. Author them from the agent's role and the tools it will have so they're coherent and immediately useful.")});be({title:$().min(1).max(255).optional().describe("New name"),description:$().nullable().optional().describe("New description (null to clear)"),icon:$().nullish().describe("New icon URL"),status:an(["active","inactive"]).optional().describe("New status"),pinned:Nt().optional().describe("Pin/unpin from sidebar"),metadata:be({instructions:$().nullable().optional().describe("MCP server instructions"),enabled_plugins:Re($()).nullable().optional().describe("List of enabled plugin IDs"),subAgents:Re($()).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),liveAgentId:$().nullable().optional().describe("ID of the live agent this (dev) agent develops. Set only on dev agents; powers the Develop/Live toggle. A dev agent is hidden from the sidebar (reached via the toggle on its live counterpart)."),ui:wE.nullable().optional().describe("UI customization settings"),githubRepo:EE.nullable().optional().describe("Linked GitHub repository"),runtime:SE.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),sandboxMap:xE.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }"),knowledge:RE,siteSlug:$().nullable().optional().describe("Linked asset site slug (managed storage tenancy)")}).loose().nullable().optional().describe("Additional metadata including MCP server instructions"),connections:Re(J6).optional().describe("New connections (replaces existing)"),prompts:Re(rL).optional().describe("Replace the agent's kickstart prompts with this full set. Omit to leave them unchanged; pass an empty array to remove all. Each becomes a clickable conversation starter (icebreaker).")});var tM;(function(e){e.Completable="McpCompletable"})(tM||(tM={}));const Dae="mesh-ui-resources",Ag="html",Lae=10080*60*1e3,$ae=50,jae=16*1024*1024;function zae(e){return e[0]==="mcp"&&e[1]===Q6}function yv(){return new Promise((e,t)=>{const n=indexedDB.open(Dae,1);n.onupgradeneeded=()=>{n.result.objectStoreNames.contains(Ag)||n.result.createObjectStore(Ag)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}function eu(e,t){return e.transaction(Ag,t).objectStore(Ag)}function xw(e){return new Promise((t,n)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>n(e.error)})}async function Uae(e){if(!(typeof indexedDB>"u"))try{const t=await yv(),n=eu(t,"readonly"),r=await xw(n.getAllKeys()),o=await xw(n.getAll()),s=Date.now(),l=r.map((f,p)=>({key:f,value:o[p]})).sort((f,p)=>(p.value?.updatedAt??0)-(f.value?.updatedAt??0)),c=[];let d=0;for(const{key:f,value:p}of l){if(!p||s-p.updatedAt>Lae||d>=$ae){c.push(f);continue}d++;try{const g=JSON.parse(String(f));e.getQueryData(g)===void 0&&e.setQueryData(g,p.html,{updatedAt:0})}catch{c.push(f)}}if(c.length>0){const f=eu(t,"readwrite");for(const p of c)f.delete(p)}}catch{}}function Fae(e){if(typeof indexedDB>"u")return()=>{};const t=yv().catch(()=>null);return e.getQueryCache().subscribe(n=>{const r=n.query;if(!Array.isArray(r.queryKey)||!zae(r.queryKey)||r.state.status!=="success")return;const o=r.state.data;typeof o!="string"||o.length>jae||t.then(s=>{if(s)try{eu(s,"readwrite").put({html:o,updatedAt:Date.now()},JSON.stringify(r.queryKey))}catch{}})})}function Bae(){typeof indexedDB>"u"||yv().then(e=>eu(e,"readwrite").clear()).catch(()=>{})}async function que(e){if(!(typeof indexedDB>"u"))try{const t=await yv(),n=await xw(eu(t,"readonly").getAllKeys()),r=eu(t,"readwrite");for(const o of n)try{const s=JSON.parse(String(o));s[1]===Q6&&s[3]===e&&r.delete(o)}catch{}}catch{}}const Ig="mesh:rq-cache",oL=1440*60*1e3,Vae=1e3,Hae=new Set(["publicConfig","ai-provider-keys","organization-settings","home-next-actions"]),qae=new Set(["VIRTUAL_MCP","CONNECTIONS"]);let iL=!1,sL=!1;function Gae(e){const t=e[0];return typeof t=="string"&&Hae.has(t)?!0:e[3]==="collection"&&typeof e[4]=="string"&&qae.has(e[4])}function Kae(e){if(!(typeof window>"u"))try{const t=window.localStorage.getItem(Ig);if(!t)return;const n=JSON.parse(t),r=!n.timestamp||Date.now()-n.timestamp>oL;if(n.buster!=="4.61.2"||r||!n.state){window.localStorage.removeItem(Ig);return}c8(e,n.state),iL=!0}catch{Yae()}}function Zae(e){if(typeof window>"u")return()=>{};let t=null;const n=()=>{t=null;try{const r=l8(e,{shouldDehydrateQuery:o=>o.state.status==="success"&&Gae(o.queryKey)});window.localStorage.setItem(Ig,JSON.stringify({buster:"4.61.2",timestamp:Date.now(),state:r}))}catch{}};return e.getQueryCache().subscribe(()=>{t==null&&(t=setTimeout(n,Vae))})}const aL="studio:org-cache:";function lL(e){return`${aL}${e}`}function Gue(e,t){if(typeof window>"u")return null;try{const n=window.localStorage.getItem(lL(e));if(!n)return null;const r=JSON.parse(n)[t];return!r||Date.now()-r.updatedAt>oL?null:(sL=!0,r)}catch{return null}}function Kue(e,t,n){if(!(typeof window>"u"))try{const r=lL(e),o=window.localStorage.getItem(r),s=o?JSON.parse(o):{};s[t]={data:n,updatedAt:Date.now()},window.localStorage.setItem(r,JSON.stringify(s))}catch{}}function Yae(){if(Bae(),!(typeof window>"u"))try{window.localStorage.removeItem(Ig);for(let e=window.localStorage.length-1;e>=0;e--){const t=window.localStorage.key(e);t?.startsWith(aL)&&window.localStorage.removeItem(t)}}catch{}}function Wae(){return iL}function Qae(){return sL}let ps=!1,Rw=null,nM=!1;const OE="mesh:lp-distinct-id",Cb="/api/_reports/link-token/",Xae=1440*60*1e3;function cL(e){const t="https://analytics.invalid",n=/^[a-z][a-z\d+.-]*:\/\//i.test(e),r=e.startsWith("//");try{const o=new URL(e,t);let s=!1;for(const l of["key","d"])o.searchParams.has(l)&&(o.searchParams.delete(l),s=!0);return o.pathname.startsWith(Cb)&&o.pathname!==Cb&&(o.pathname=`${Cb}redacted`,s=!0),s?n?o.toString():r?`//${o.host}${o.pathname}${o.search}${o.hash}`:`${o.pathname}${o.search}${o.hash}`:e}catch{return e}}function Ab(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,typeof n=="string"?cL(n):n]))}const Jae=e=>e?(e.properties=Ab(e.properties),e.$set&&(e.$set=Ab(e.$set)),e.$set_once&&(e.$set_once=Ab(e.$set_once)),e):null;function uL(){try{const e=window.localStorage.getItem(OE);if(!e)return;const{id:t,ts:n}=JSON.parse(e);return typeof t!="string"||!t||typeof n!="number"?void 0:Date.now()-n<=Xae?t:void 0}catch{return}}function ele(){try{window.localStorage.removeItem(OE)}catch{}}function tle(){try{const e=new URL(window.location.href),t=e.searchParams.get("ph_did");t&&(window.localStorage.setItem(OE,JSON.stringify({id:t,ts:Date.now()})),e.searchParams.delete("ph_did"),window.history.replaceState(window.history.state,"",e.toString()));const n=t??uL();return n?Object.keys(window.localStorage).some(o=>o.startsWith("ph_")&&o.endsWith("_posthog"))?void 0:n:void 0}catch{return}}function nle(e){const t=uL();if(t&&(ele(),t!==e))try{_l.alias(t)}catch{}}function rle(e,t){if(ps||typeof window>"u")return;const n=tle();_l.init(e,{api_host:t,ui_host:"https://us.posthog.com",cross_subdomain_cookie:!0,...n?{bootstrap:{distinctID:n}}:{},capture_pageview:"history_change",capture_pageleave:!0,autocapture:!0,before_send:Jae,capture_performance:{web_vitals:!0,network_timing:!0},capture_exceptions:!0,session_recording:{maskAllInputs:!0,blockClass:"ph-no-capture",maskCapturedNetworkRequestFn:r=>({...r,...typeof r.name=="string"?{name:cL(r.name)}:{}})},person_profiles:"identified_only"}),ps=!0}function ole(e,t){ps&&(_l.identify(e,t),nle(e))}function ile(){ps&&(_l.reset(),Rw=null)}function sle(e,t){ps&&_l.capture(e,t)}function Zue(){return ps}function Yue(){if(!ps||nM||typeof performance>"u")return;nM=!0;const e=performance.getEntriesByType("navigation")[0],t=n=>{const r=performance.getEntriesByName(n,"measure")[0];return r?Math.round(r.duration):void 0};sle("perf_app_bootstrap",{nav_type:e?.type,ttfb_ms:e?Math.round(e.responseStart):void 0,dom_interactive_ms:e?Math.round(e.domInteractive):void 0,dom_content_loaded_ms:e?Math.round(e.domContentLoadedEventEnd):void 0,config_fetch_ms:t("mesh:config-fetch"),active_org_fetch_ms:t("mesh:active-org-fetch"),time_to_shell_ms:Math.round(performance.now()),cache_restored:Wae(),org_cache_restored:Qae()})}function Wue(e,t){ps&&e!==Rw&&(_l.group("organization",e,t),Rw=e)}function dL(e,t){if(ps)try{_l.captureException(e,t)}catch{}}let mm=null;function ale({children:e}){const t=OM(),{data:n}=Hg.useSession();if(t.posthog){rle(t.posthog.key,t.posthog.host);const r=n?.user?.id??null;r&&r!==mm?(ole(r,{email:n?.user?.email,name:n?.user?.name}),mm=r):!r&&mm&&(ile(),mm=null)}return C.jsx(C.Fragment,{children:e})}const TE=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z"}));TE.displayName="AlertTriangle";const fL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M4 7.997a2.295 2.295 0 0 1-.39-.035A2 2 0 0 1 2.038 6.39C2 6.197 2 5.965 2 5.5s0-.697.038-.89A2 2 0 0 1 3.61 3.038C3.803 3 4.035 3 4.5 3h15c.465 0 .697 0 .89.038a2 2 0 0 1 1.572 1.572c.038.193.038.425.038.89s0 .697-.038.89a2 2 0 0 1-1.572 1.572c-.107.02-.226.03-.39.035M10 13h4M4 8h16v8.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 21 16.88 21 15.2 21H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 18.72 4 17.88 4 16.2V8Z"}));fL.displayName="Archive";const CE=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M12 2.25v2.5M12 18v4M5.75 12h-3.5m19 0h-1.5m-1.293 6.457-.707-.707m.914-12.334L17.25 6.83M4.922 19.078 7.75 16.25M5.129 5.209 7.25 7.33"}));CE.displayName="Loading01";const hL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z"}));hL.displayName="Lock01";const pL=({size:e=24,color:t="currentColor",...n})=>P.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},P.createElement("path",{d:"M21 10s-2.005-2.732-3.634-4.362a9 9 0 1 0 2.282 8.862M21 10V4m0 6h-6"}));pL.displayName="RefreshCw01";function AE(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsx("div",{className:"flex items-center justify-center min-h-screen w-full",children:C.jsx(CE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function lle(e){try{return JSON.parse(e)}catch{return}}function rM(e,t){const n=localStorage.getItem(e),r=n?lle(n):void 0,o=typeof t=="function"?t(r):r??t;if(r===void 0||o!==r)try{const s=JSON.stringify(o);localStorage.setItem(e,s)}catch{}return o}function cle(e,t){const n=qn.c(25),r=Nw();let o;n[0]!==e?(o=["localStorage",e],n[0]=e,n[1]=o):o=n[1];const s=o;let l,c;n[2]!==t||n[3]!==e?(l=()=>rM(e,t),c=()=>rM(e,t),n[2]=t,n[3]=e,n[4]=l,n[5]=c):(l=n[4],c=n[5]);let d;n[6]!==s||n[7]!==l||n[8]!==c?(d={queryKey:s,queryFn:l,initialData:c,staleTime:1/0,gcTime:1/0},n[6]=s,n[7]=l,n[8]=c,n[9]=d):d=n[9];const{data:f}=xM(d);let p;n[10]!==e?(p=async E=>{const T=JSON.stringify(E);return localStorage.setItem(e,T),E},n[10]=e,n[11]=p):p=n[11];let h;n[12]!==r||n[13]!==s?(h=E=>{r.setQueryData(s,E)},n[12]=r,n[13]=s,n[14]=h):h=n[14];let g;n[15]!==p||n[16]!==h?(g={mutationFn:p,onSuccess:h},n[15]=p,n[16]=h,n[17]=g):g=n[17];const v=N8(g);let _;n[18]!==v||n[19]!==r||n[20]!==s?(_=E=>{const T=r.getQueryData(s),R=typeof E=="function"?E(T):E;v.mutate(R)},n[18]=v,n[19]=r,n[20]=s,n[21]=_):_=n[21];const b=_,x=f;let S;return n[22]!==b||n[23]!==x?(S=[x,b],n[22]=b,n[23]=x,n[24]=S):S=n[24],S}const su={chatSelectedImageModel:e=>`mesh:chat:selectedImageModel:${e}`,chatSelectedWebSearchModel:e=>`mesh:chat:selectedWebSearchModel:${e}`,chatSelectedDeepResearchModel:e=>`mesh:chat:selectedDeepResearchModel:${e}`,chatSimpleModeTier:e=>`mesh:chat:simpleModeTier:${e}`,chatLastAgentOption:e=>`mesh:chat:lastAgentOption:${e}`,chatAutosend:(e,t)=>`mesh:chat:autosend:${e}:${t}`,chatDraft:(e,t)=>`mesh:chat:draft:${e}:${t}`,sidePanelWidth:()=>"mesh:side-panel:width",sidebarOpen:()=>"mesh:sidebar-open",preferences:()=>"mesh:user:preferences",lastOrgSlug:()=>"mesh:last-org-slug",lastLocation:()=>"mesh:last-location",connectionsTab:e=>`mesh:connections:tab:${e}`,taskLastViewed:e=>`mesh:chat:task-last-viewed:${e}`,sidebarGroupOrder:(e,t)=>`sidebar.group-order.${e}.${t}`},ule={toolApprovalLevel:"auto",enableNotifications:typeof Notification<"u",enableSounds:!1,theme:"system"},mL=["auto","readonly"],Que=[{value:"readonly",label:"Ask before edit",short:"Ask"},{value:"auto",label:"Auto approve",short:"Auto"}],dle=["light","dark","system"];function Xue(){try{const e=JSON.parse(localStorage.getItem(su.preferences())??"{}");if(mL.includes(e.toolApprovalLevel))return e.toolApprovalLevel}catch{}return"auto"}function fle(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=su.preferences(),e[0]=t):t=e[0],cle(t,hle)}function hle(e){const t={...ule,...e};return mL.includes(t.toolApprovalLevel)||(t.toolApprovalLevel="auto"),dle.includes(t.theme)||(t.theme="system"),t}async function ple(){performance.mark("mesh:config-fetch:start");try{const e=await fetch("/api/config");if(!e.ok)throw new Error("Failed to load public configuration");const t=await e.json();if(!t.success)throw new Error(t.error||"Failed to load public configuration");return t.config}finally{performance.mark("mesh:config-fetch:end"),performance.measure("mesh:config-fetch","mesh:config-fetch:start","mesh:config-fetch:end")}}function mle(e){if(!e)return;const t=document.getElementById("mesh-theme-overrides");t&&t.remove();const n=[];if(e.light&&Object.keys(e.light).length>0){const r=Object.entries(e.light).map(([o,s])=>` ${o}: ${s};`).join(`
164
164
  `);n.push(`:root {
165
165
  ${r}
166
166
  }`)}if(e.dark&&Object.keys(e.dark).length>0){const r=Object.entries(e.dark).map(([o,s])=>` ${o}: ${s};`).join(`
@@ -168,4 +168,4 @@ ${r}
168
168
  ${r}
169
169
  }`)}if(n.length>0){const r=document.createElement("style");r.id="mesh-theme-overrides",r.textContent=n.join(`
170
170
 
171
- `),document.head.appendChild(r)}}function gle(e){const t=qn.c(9),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={queryKey:RM.publicConfig(),queryFn:ple,staleTime:1/0},t[0]=r):r=t[0];const{data:o}=ff(r),[s]=fle();let l,c;t[1]!==o.theme?(l=()=>{mle(o.theme)},c=[o.theme],t[1]=o.theme,t[2]=l,t[3]=c):(l=t[2],c=t[3]),P.useLayoutEffect(l,c);let d,f;t[4]!==s.theme?(d=()=>{const h=document.documentElement,g=()=>{const x=document.querySelector('meta[name="theme-color"]');if(!x)return;const S=getComputedStyle(h).getPropertyValue("--sidebar").trim();if(!S)return;const E=document.createElement("canvas").getContext("2d");if(!E)return;E.fillStyle="#010203";const T=E.fillStyle;E.fillStyle=S;const R=E.fillStyle;R!==T&&(x.content=R)};if(s.theme==="dark"){h.classList.add("dark"),g();return}if(s.theme==="light"){h.classList.remove("dark"),g();return}const v=window.matchMedia("(prefers-color-scheme: dark)"),_=x=>{h.classList.toggle("dark",x),g()};_(v.matches);const b=x=>_(x.matches);return v.addEventListener("change",b),()=>v.removeEventListener("change",b)},f=[s.theme],t[4]=s.theme,t[5]=d,t[6]=f):(d=t[5],f=t[6]),P.useLayoutEffect(d,f);let p;return t[7]!==n?(p=C.jsx(C.Fragment,{children:n}),t[7]=n,t[8]=p):p=t[8],p}const kf=new S8({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:1,gcTime:300*1e3}}});Kae(kf);Zae(kf);Uae(kf);Fae(kf);function vle(e){const t=qn.c(4),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=C.jsx(MG,{}),t[0]=r):r=t[0];let o;t[1]===Symbol.for("react.memo_cache_sentinel")?(o=C.jsx(AE,{}),t[1]=o):o=t[1];let s;return t[2]!==n?(s=C.jsxs(E8,{client:kf,children:[r,C.jsx(P.Suspense,{fallback:o,children:C.jsx(gle,{children:C.jsx(D8,{children:C.jsx(sne,{children:C.jsx(ale,{children:n})})})})})]}),t[2]=n,t[3]=s):s=t[3],s}function IE(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsx("div",{"data-testid":"shell-route-loading",className:"absolute inset-0 h-full w-full flex items-center justify-center",children:C.jsx(CE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function yle(...e){return NN(tS(e))}const _le=r4("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:hover:bg-input/50 card-shadow",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",success:"bg-success text-success-foreground hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",special:"bg-special text-special-foreground hover:bg-special/90 focus-visible:ring-special/20 dark:focus-visible:ring-special/40",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-foreground/80 hover:text-foreground"},size:{default:"h-8 px-3 has-[>svg]:px-2.5",sm:"h-7 gap-1.5 px-2.5 has-[>svg]:px-2",xs:"h-6 gap-1 px-1.5 text-xs has-[>svg]:px-1",lg:"h-10 px-3.5 has-[>svg]:px-3",xl:"h-12 px-4 has-[>svg]:px-3.5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function df(e){const t=qn.c(14);let n,r,o,s,l;t[0]!==e?({className:n,variant:l,size:o,asChild:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=l):(n=t[1],r=t[2],o=t[3],s=t[4],l=t[5]);const d=(s===void 0?!1:s)?fS:"button";let f;t[6]!==n||t[7]!==o||t[8]!==l?(f=yle(_le({variant:l,size:o,className:n})),t[6]=n,t[7]=o,t[8]=l,t[9]=f):f=t[9];let p;return t[10]!==d||t[11]!==r||t[12]!==f?(p=C.jsx(d,{"data-slot":"button",className:f,...r}),t[10]=d,t[11]=r,t[12]=f,t[13]=p):p=t[13],p}const ble=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function wle(e){const t=qn.c(3),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=C.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:ble}}),t[0]=r):r=t[0];let o;return t[1]!==n?(o=C.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[r,C.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:n})]}),t[1]=n,t[2]=o):o=t[2],o}function gL(e){const t=qn.c(9),{orgName:n}=e,r=Sle;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=C.jsx("div",{className:"bg-muted p-3 rounded-full",children:C.jsx(fL,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=o):o=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=C.jsx("h3",{className:"text-lg font-medium",children:"Organization unavailable"}),t[1]=s):s=t[1];let l;t[2]!==n?(l=n?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:n})," has been deleted or is no longer available."]}):"This organization has been deleted or is no longer available.",t[2]=n,t[3]=l):l=t[3];let c;t[4]!==l?(c=C.jsxs("div",{className:"space-y-2",children:[s,C.jsx("p",{className:"text-sm text-muted-foreground",children:l})]}),t[4]=l,t[5]=c):c=t[5];let d;t[6]===Symbol.for("react.memo_cache_sentinel")?(d=C.jsx(df,{onClick:r,children:"Go to home"}),t[6]=d):d=t[6];let f;return t[7]!==c?(f=C.jsxs(wle,{children:[o,c,d]}),t[7]=c,t[8]=f):f=t[8],f}function Sle(){window.location.href="/"}function Ele(){const e=qn.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:n}=Dg(t);let r;return e[1]!==n?(r=C.jsx(df,{variant:"outline",size:"sm",asChild:!0,children:C.jsx(pf,{to:"/$org/settings/profile",params:{org:n},children:"Go to your profile"})}),e[1]=n,e[2]=r):r=e[2],r}function xle(e){const t=qn.c(13),{area:n,description:r,action:o}=e,s=n?`No access to ${n}`:"No access",l=r??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=C.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:C.jsx(hL,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==s?(d=C.jsx("h3",{className:"text-lg font-medium",children:s}),t[1]=s,t[2]=d):d=t[2];let f;t[3]!==l?(f=C.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=f):f=t[4];let p;t[5]!==d||t[6]!==f?(p=C.jsxs("div",{className:"space-y-1",children:[d,f]}),t[5]=d,t[6]=f,t[7]=p):p=t[7];let h;t[8]!==o?(h=o??C.jsx(Ele,{}),t[8]=o,t[9]=h):h=t[9];let g;return t[10]!==p||t[11]!==h?(g=C.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,p,h]}),t[10]=p,t[11]=h,t[12]=g):g=t[12],g}const oM="__mesh_chunk_reload_ts";function vL(e){return e?.message==="Organization is archived"}function Rle(e){return!!e?.message?.includes("Access denied")}function iM(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Jue extends P.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n),dL(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:n.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:vL(this.state.error)?C.jsx(gL,{}):Rle(this.state.error)?C.jsx(xle,{}):C.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(TE,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||"An unexpected error occurred"})]}),C.jsx(df,{variant:"outline",onClick:this.resetError,children:"Try again"})]})}return this.props.children}}class Ole extends P.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n);const r=iM(t);if(dL(t,{boundary:"chunk_root",is_chunk_load_error:r,error_name:t.name,error_message:t.message,component_stack:n.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!r)return;const o=sessionStorage.getItem(oM),s=Date.now();(!o||s-Number(o)>1e4)&&(sessionStorage.setItem(oM,String(s)),window.location.reload())}render(){return this.state.hasError&&iM(this.state.error)?C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:C.jsx(pL,{className:"h-6 w-6 text-primary"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"New version available"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:"A new version has been deployed. Refresh to continue."})]}),C.jsx(df,{onClick:()=>window.location.reload(),children:"Refresh"})]}):this.state.hasError?vL(this.state.error)?C.jsx(gL,{}):C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(TE,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||"An unexpected error occurred"})]}),C.jsx(df,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:"Try again"})]}):this.props.children}}function yL(e){try{localStorage.setItem(su.lastLocation(),JSON.stringify(e))}catch{}}function Tle(){try{const e=localStorage.getItem(su.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function ede(){try{localStorage.removeItem(su.lastLocation())}catch{}}let us=null,sM=!1;const Ow=new Set;function Pg(){for(const e of Ow)e()}function Cle(){sM||typeof window>"u"||(sM=!0,window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),us=e,Pg()}),window.addEventListener("appinstalled",()=>{us=null,Pg()}))}function tde(){us!==null&&(us=null,Pg())}function Ale(e){return Ow.add(e),()=>{Ow.delete(e)}}function Ile(){return us}function Ple(){return null}function Mle(){if(typeof window>"u")return!1;const e=typeof window.matchMedia=="function"&&["(display-mode: standalone)","(display-mode: window-controls-overlay)"].some(n=>window.matchMedia(n).matches),t=navigator.standalone===!0;return e||t}function Nle(){if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/iPad|iPhone|iPod/.test(e)?!0:e.includes("Macintosh")&&typeof document<"u"&&"ontouchend"in document}function nde(){const e=qn.c(5),t=P.useSyncExternalStore(Ale,Ile,Ple);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=Mle(),e[0]=n):n=e[0];const r=n,o=t!==null&&!r;let s,l;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=Nle(),l=kle,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let c;return e[3]!==o?(c={canPrompt:o,installed:r,ios:s,promptInstall:l},e[3]=o,e[4]=c):c=e[4],c}async function kle(){if(!us)return"unavailable";await us.prompt();const e=await us.userChoice;return us=null,Pg(),e.outcome}const qo=fz({component:()=>C.jsx(Ole,{children:C.jsx(vle,{children:C.jsx(P.Suspense,{fallback:C.jsx(AE,{}),children:C.jsx(JM,{})})})})}),Dle=it({getParentRoute:()=>qo,path:"/login",component:dt(()=>ut(()=>import("./login-B8zzTriK.js"),__vite__mapDeps([0,1,2,3,4,5]))),validateSearch:ms(()=>be({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional()}))}),Lle=it({getParentRoute:()=>qo,path:"/cli/auth-success",component:dt(()=>ut(()=>import("./cli-auth-success-BjyaQWg8.js"),__vite__mapDeps([6,5])))}),$le=it({getParentRoute:()=>qo,path:"/reset-password",component:dt(()=>ut(()=>import("./reset-password--7kv0fD0.js"),__vite__mapDeps([7,2]))),validateSearch:ms(()=>be({token:$().optional(),error:$().optional()}))}),jle=it({getParentRoute:()=>qo,path:"/auth/$pathname",component:dt(()=>ut(()=>import("./auth-catchall-DiWk8VnS.js"),[]))}),zle=it({getParentRoute:()=>qo,path:"/oauth/callback",component:dt(()=>ut(()=>import("./oauth-callback-VPY9HivQ.js"),__vite__mapDeps([8,9,10])))}),Ule=it({getParentRoute:()=>qo,path:"/oauth/callback/ai-provider",component:dt(()=>ut(()=>import("./oauth-callback-ai-provider-7Otx8tRA.js"),[]))}),_v=it({getParentRoute:()=>qo,path:"/_admin",component:dt(()=>ut(()=>import("./layout-CwJiiVGT.js"),__vite__mapDeps([11,12,13,14])))}),Fle=it({getParentRoute:()=>_v,path:"/",beforeLoad:()=>{throw sa({to:"/_admin/users"})}}),Ble=it({getParentRoute:()=>_v,path:"/users",component:dt(()=>ut(()=>import("./users-Cs7EmdZt.js"),__vite__mapDeps([15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])))}),Vle=it({getParentRoute:()=>_v,path:"/orgs",component:dt(()=>ut(()=>import("./orgs-C6fA-Nxo.js"),__vite__mapDeps([36,16,17,18,19,20,21,22,23,24,25,26,27,2,37,31,38,39,40,41,42,32,33,34])))}),Hle=_v.addChildren([Fle,Ble,Vle]),PE=it({getParentRoute:()=>qo,id:"shell",component:dt(()=>ut(()=>import("./shell-layout-BH9Ivq57.js").then(e=>e.s),__vite__mapDeps([43,28,29,44,45,46,47,48,49,50,38,20,51,13,52,53,54,10,55,56,3,4,57,58,59,60])))}),qle=it({getParentRoute:()=>PE,path:"/",beforeLoad:async()=>{const e=Tle();if(e)throw sa({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(su.lastOrgSlug());if(t)throw sa({to:"/$org",params:{org:t}});const{data:n}=await vN();if(!n)return;const r=n[0];throw sa(r?{to:"/$org",params:{org:r.slug}}:{to:"/onboarding"})}}),Gle=it({getParentRoute:()=>qo,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await vN();if(e&&e.length>0)throw sa({to:"/"})},component:dt(()=>ut(()=>import("./onboarding-Cg7clNbz.js"),__vite__mapDeps([61,13,5,62,28,29,2,37,63,44,48,64,65,66])))}),Kle=it({getParentRoute:()=>qo,path:"/commerce-onboarding",component:dt(()=>ut(()=>import("./commerce-onboarding-CJ6BJIWe.js"),__vite__mapDeps([67,1,2,3,4,5,62,28,29,57,53,54,10,68,69,70,71,72,73,24,74,75,76,77,44,78,48,40,41,79,42,80,46,81,82,83,84,85,49,86,64,87,88,89,18,90,91,92,93,94,65,95,96,45,27,97,98,99,66,100,47,20,50,38,21,101,102,103,37,31,104,9]))),validateSearch:ms(()=>be({org:$().optional(),siteUrl:$().optional()}))}),Zle=it({getParentRoute:()=>qo,path:"/report/$domain",component:dt(()=>ut(()=>import("./reports-BSqZJIfK.js"),__vite__mapDeps([105,1,2,3,4,72,24,68,76,48,94,106]))),validateSearch:ms(()=>be({key:$().optional()}))}),bv=it({getParentRoute:()=>PE,path:"/$org",beforeLoad:({params:e})=>{yL({org:e.org})},component:dt(()=>ut(()=>import("./org-layout-CAalwLCr.js"),[]))}),Df=it({getParentRoute:()=>bv,id:"org-shell",component:dt(()=>ut(()=>import("./index-GcBIvq8C.js"),__vite__mapDeps([107,17,18,19,20,21,108,41,54,109,110,53,10,71,72,73,24,74,70,68,75,76,77,44,78,48,40,79,42,80,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,27,97,98,99,66,29,100,47,50,111,51,103,37,2,112,52,55,56,3,4,59,113,114,57,58,115,116,117,38,118,31,119,104,9,120,101,121,122,102,43,28,13,60,123,124,125,126,127,128,129,69,130,30,39,131,132,133,14,134,135,136,137,138,139,140,141,142,143,33,34,144])))}),_L=it({getParentRoute:()=>Df,id:"agent-shell",pendingComponent:IE,component:dt(()=>ut(()=>import("./index-D3FFjINn.js").then(e=>e.aT),__vite__mapDeps([145,24,112,52,55,53,54,10,56,3,4,59,109,110,113,114,57,58,146,39,21,40,41,42,127,128,119,129,17,18,19,20,23,25,147,136,143,72,48,80,71,73,74,70,68,75,76,77,44,78,79,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,27,97,98,99,66,29,100,47,50,148,133,30,149,140,141,38,111,28,33,34,150,151,152,153,154,43,51,13,60,69,121,122,155,103,37,2,116,118,156,139,123,124,125,126,101,130,131,132,104,9,138,157,108,158,159,160,161,144,31,162,163,120,164,165,63,166,16,26,117,102,167,168,169,35,170,115,171,172,173])))}),Yle=be({virtualmcpid:$().optional(),tab:$().optional(),sidepanel:nn([Ge("chat"),Ge(0)]).optional(),main:nn([$(),Ge(0)]).optional(),preview:$().optional(),id:$().optional(),toolName:$().optional(),tasks:ht().optional(),mainOpen:ht().optional(),autosend:$().optional(),runLocally:$().optional()}),Wle=it({getParentRoute:()=>_L,path:"/$taskId",validateSearch:Yle,beforeLoad:({params:e,search:t})=>{yL({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),Qle=be({main:$().optional()}),Xle=it({getParentRoute:()=>Df,path:"/",validateSearch:Qle,pendingComponent:IE,component:dt(()=>ut(()=>import("./index-IOAi6PyX.js"),__vite__mapDeps([174,54,55,53,10,56,3,4,122])))}),Jle=be({path:$().optional(),preview:$().optional(),skill:$().optional()}),ece=it({getParentRoute:()=>Df,path:"/files",validateSearch:Jle,pendingComponent:IE,component:dt(()=>ut(()=>import("./index-SPy5-3x1.js").then(e=>e.P),__vite__mapDeps([161,79,85,84,82,65,96,45,98,66,47,50,19,51,38,20,2,108,151,40,81,57,144,94,31,83,89,99,160,80,131,41,42,111,21,90,153,18])))}),tce=it({getParentRoute:()=>Df,path:"/board",component:dt(()=>ut(()=>import("./index-j_Vqvu4R.js").then(e=>e.i),__vite__mapDeps([169,35,28,29,30,78,91,96,147,136,59,33,34,72,48,80,85,38,20,160,40,79,111,170,41,99])))}),Dn=it({getParentRoute:()=>bv,path:"/settings",component:dt(()=>ut(()=>import("./settings-layout-jZC7h9Vb.js"),__vite__mapDeps([175,12,17,18,19,20,21,16,77,44,88,89,97,29,50,164,176,59,163,162,114,56,3,144,142,115])))}),nce=it({getParentRoute:()=>bv,path:"/install",component:dt(()=>ut(()=>import("./org-install-DOT7wW8z.js"),[]))}),rce=it({getParentRoute:()=>Dn,path:"/",component:dt(()=>ut(()=>import("./index-redirect-Dy0h6dcP.js"),__vite__mapDeps([177,164,178])))}),oce=it({getParentRoute:()=>Dn,path:"/connections",component:dt(()=>ut(()=>import("./connections-DiDm4jib.js"),__vite__mapDeps([179,101,53,54,10,180,160,40,79,80,24,87,91,21,181,30,26,27,130,125,124,126,119,110,58,59,127,128,129,69,70,71,72,73,74,68,75,76,77,44,78,48,41,42,46,81,82,83,84,85,49,86,64,88,89,18,90,92,93,94,65,95,96,45,97,98,99,66,29,100,47,20,50,25,16,17,19,182,51,164,183,149,38,116,103,37,2,39,131,109,132,104,9]))),validateSearch:ms(()=>be({action:an(["create"]).optional(),tab:an(["all","connected"]).optional()}))}),ice=it({getParentRoute:()=>Dn,path:"/connections/$appSlug",component:dt(()=>ut(()=>import("./connection-detail-dLa-DHol.js"),__vite__mapDeps([184,101,53,54,10,25,132,2,96,99,185,16,17,18,19,20,21,120,82,89,119,110,126,58,59,39,40,41,42,154,186,141,71,72,73,24,74,70,68,75,76,77,44,78,48,79,80,46,81,83,84,85,49,86,64,87,88,90,91,92,93,94,65,95,45,27,97,98,66,29,100,47,50,111,109,187,121,55,56,3,4,122,165,9,30,147,136,28,155,69,103,37,182,51,188,156,124,118,129,160]))),validateSearch:ms(()=>be({tab:$().optional()}))}),sce=it({getParentRoute:()=>Dn,path:"/connections/$appSlug/$collectionName/$itemId",component:dt(()=>ut(()=>import("./collection-detail-eV4RXYAt.js"),__vite__mapDeps([189,25,110,53,54,10,103,37,2,131,185,16,17,18,19,20,21,120,82,89,119,101,126,58,59,96,39,40,41,42,154,186,141,71,72,73,24,74,70,68,75,76,77,44,78,48,79,80,46,81,83,84,85,49,86,64,87,88,90,91,92,93,94,65,95,45,27,97,98,99,66,29,100,47,50,111,109,187,121,55,56,3,4,122,190,124,165,9,30,152,153,112,52,113,114,57,69,43,28,38,51,13,60]))),validateSearch:ms(()=>be({replayId:$().optional()}))}),ace=it({getParentRoute:()=>Dn,path:"/monitor",component:dt(()=>ut(()=>import("./index-BzAvU-Br.js"),__vite__mapDeps([191,26,27,16,17,18,19,20,21,25,192,164,193,178,146,39,40,41,42,127,128,119,110,53,54,10,109,129,23,147,136,143,72,48,80,71,73,24,74,70,68,75,76,77,44,78,79,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,97,98,99,66,29,100,47,50,148,59,133,30,149,140,141,38,111,28,33,34,150,151,57,152,153,112,52,55,56,3,4,113,114,58,154,43,51,13,60,69,121,122,155,103,37,2,124,170,131,130,63,190,188]))),validateSearch:ms(()=>be({tab:an(["overview","audit","dashboards","threads","automations"]).default("overview"),from:$().default("now-30m"),to:$().default("now"),connectionId:Re($()).optional().default([]),virtualMcpId:Re($()).optional().default([]),tool:$().default(""),status:an(["all","success","errors"]).default("all"),search:$().default(""),page:ht().optional(),streaming:Nt().default(!0),propertyFilters:$().default(""),hideSystem:Nt().default(!1)}))}),lce=it({getParentRoute:()=>Dn,path:"/general",component:dt(()=>ut(()=>import("./general-D8h8sXkB.js"),__vite__mapDeps([194,16,17,18,19,20,21,136,166,28,29,2,159,129,75,195,59,30,39,40,41,42,63,58,54,51,192,164,193,178])))}),cce=it({getParentRoute:()=>Dn,path:"/brand-context",component:dt(()=>ut(()=>import("./brand-context-CtJ6cICC.js"),__vite__mapDeps([196,41,79,86,90,96,99,50,51,2,131,16,17,18,19,20,21,59,166,192,164,193,178])))}),uce=it({getParentRoute:()=>Dn,path:"/ai-providers",component:dt(()=>ut(()=>import("./ai-providers-Dz0ss86P.js"),__vite__mapDeps([197,72,16,17,18,19,20,21,108,159,129,75,113,59,48,112,52,55,53,54,10,56,3,4,109,110,114,57,58,157,38,116,149,40,2,39,41,42,74,73,89,27,158,92,79,28,29,85,138,81,98,166,139,51,96,99,168,34,192,164,193,178])))}),dce=it({getParentRoute:()=>Dn,path:"/secrets",component:dt(()=>ut(()=>import("./secrets-BuA8w6lw.js"),__vite__mapDeps([198,72,96,29,100,38,20,2,37,39,21,40,41,42,108,131,16,17,18,19,159,129,75,167,59,192,164,193,178])))}),fce=it({getParentRoute:()=>Dn,path:"/files",component:dt(()=>ut(()=>import("./files-BtvoHj95.js"),[]))}),hce=it({getParentRoute:()=>Dn,path:"/buckets",component:dt(()=>ut(()=>import("./buckets-w58Ia8Bn.js"),__vite__mapDeps([199,72,88,96,99,51,38,20,2,37,39,21,40,41,42,63,108,131,16,17,18,19,159,129,75,171,59,192,164,193,178])))}),pce=it({getParentRoute:()=>Dn,path:"/members",component:dt(()=>ut(()=>import("./members-e3cQllrC.js"),__vite__mapDeps([200,180,160,40,79,80,24,87,91,21,181,30,26,27,16,17,18,19,20,22,23,25,135,38,103,37,39,41,42,131,136,137,159,129,75,176,164,59,28,29,33,34,35,147,51,83,89,97,99,47,149,140,141,111,96,192,193,178])))}),mce=it({getParentRoute:()=>Dn,path:"/roles",component:dt(()=>ut(()=>import("./roles-8cBznTZR.js"),__vite__mapDeps([201,137,136,30,51,160,40,79,80,83,96,99,22,23,24,16,17,18,19,20,21,25,26,27,158,69,70,71,72,73,74,68,75,76,77,44,78,48,41,42,46,81,82,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,45,97,98,66,29,100,47,50,128,149,133,53,54,10,118,147,35,119,110,113,59,28,63,159,129,164,193,178]))),validateSearch:ms(()=>be({role:$().optional()}))}),gce=it({getParentRoute:()=>Dn,path:"/sso",component:dt(()=>ut(()=>import("./sso-SPkRvlC8.js"),__vite__mapDeps([202,195,59,159,129,75,30,2,39,21,40,41,42,16,17,18,19,20,63,60,99,192,164,193,178])))}),vce=it({getParentRoute:()=>Dn,path:"/profile",component:dt(()=>ut(()=>import("./profile-xjJT_rVS.js"),__vite__mapDeps([203,16,17,18,19,20,21,28,29,63,39,40,41,42,139,2,92,93,95,166,162,134,159,129,75])))}),yce=it({getParentRoute:()=>Dn,path:"/store",component:dt(()=>ut(()=>import("./store-04ZLKBxB.js"),__vite__mapDeps([204,72,79,96,99,2,63,108,28,29,111,119,110,53,54,10,16,17,18,19,20,21,126,58,59,159,129,75,192,164,193,178])))}),_ce=it({getParentRoute:()=>Dn,path:"/registry",component:dt(()=>ut(()=>import("./registry-DgsZGUYK.js"),__vite__mapDeps([205,192,164,193,178])))}),bce=it({getParentRoute:()=>Dn,path:"/store/registry",component:dt(()=>ut(()=>import("./store-registry-BgHUDj4S.js"),__vite__mapDeps([206,192,164,193,178])))}),wce=it({getParentRoute:()=>Dn,path:"/agents",component:dt(()=>ut(()=>import("./agents-list-BZzO1NhS.js"),__vite__mapDeps([207,160,40,79,80,44,117,38,20,118,27,31,119,110,53,54,10,104,9,74,71,72,73,24,70,68,75,76,77,78,48,41,42,46,81,82,83,84,85,49,86,64,87,88,89,18,90,91,92,93,94,65,95,96,45,97,98,99,66,29,100,47,50,120,101,121,109,55,56,3,4,122,102,16,17,19,21,129,168,34,164,25,187,51,26])))}),Sce=it({getParentRoute:()=>Dn,path:"/automations",component:dt(()=>ut(()=>import("./automations-CLCryFUc.js"),__vite__mapDeps([208,96,50,26,27,16,17,18,19,20,21,25,148,53,54,10,59,121,109,110,55,56,3,4,122,172,51,160,40,79,80,46,83,99,71,72,73,24,74,70,68,75,76,77,44,78,48,41,42,81,82,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,45,97,98,66,29,100,47,192,164,193,178])))}),Ece=Dn.addChildren([rce,oce,ice,sce,wce,Sce,ace,lce,cce,uce,dce,fce,hce,pce,mce,gce,vce,yce,bce,_ce]),xce=_L.addChildren([Wle]),Rce=Df.addChildren([Xle,ece,tce,xce]),Oce=bv.addChildren([Rce,Ece,nce]),Tce=PE.addChildren([qle,Oce]),Cce=qo.addChildren([Tce,Hle,Gle,Kle,Zle,Dle,Lle,$le,jle,zle,Ule]),Ace=Ez({routeTree:Cce,defaultPendingComponent:AE,defaultPendingMs:200,defaultNotFoundComponent:()=>C.jsx("div",{className:"flex h-full items-center justify-center",children:C.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[C.jsx("h3",{className:"text-lg font-medium text-foreground",children:"Page not found"}),C.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:"The page you are looking for does not exist or has been moved."}),C.jsx("button",{type:"button",onClick:()=>window.history.back(),className:"text-sm text-primary hover:underline",children:"Go back"})]})})});Cle();const Ice=document.getElementById("root");Bj.createRoot(Ice).render(C.jsx(P.StrictMode,{children:C.jsx(Oz,{router:Ace})}));export{TE as $,hue as A,df as B,Yn as C,M8 as D,H2 as E,C8 as F,A8 as G,be as H,$ as I,Ai as J,RM as K,pf as L,Ci as M,Fce as N,JM as O,ff as P,vM as Q,sle as R,AE as S,Lce as T,Jue as U,Zue as V,Yce as W,Wce as X,su as Y,_l as Z,hL as _,Hg as a,zce as a$,Bce as a0,Uce as a1,cle as a2,vt as a3,hoe as a4,ya as a5,fle as a6,_te as a7,Yae as a8,fL as a9,CW as aA,OW as aB,hW as aC,bae as aD,W6 as aE,Lue as aF,Hue as aG,yK as aH,Qce as aI,Cae as aJ,pL as aK,ee as aL,Bue as aM,Sn as aN,D4 as aO,vl as aP,yf as aQ,er as aR,L4 as aS,ct as aT,ua as aU,ht as aV,ut as aW,Mce as aX,zr as aY,bo as aZ,tl as a_,IE as aa,Re as ab,an as ac,Pt as ad,Nt as ae,bK as af,Que as ag,_K as ah,Xue as ai,uv as aj,OM as ak,$ce as al,Vue as am,BC as an,Tw as ao,EW as ap,si as aq,Jd as ar,Lg as as,xS as at,Gc as au,ga as av,ys as aw,ai as ax,z4 as ay,RW as az,hf as b,gL as b$,tde as b0,nde as b1,Gt as b2,Fue as b3,$ue as b4,Uue as b5,eQ as b6,lk as b7,JW as b8,vs as b9,tS as bA,r4 as bB,tte as bC,cD as bD,dD as bE,pX as bF,Y4 as bG,UX as bH,vX as bI,Q7 as bJ,WM as bK,oi as bL,gue as bM,ii as bN,Pce as bO,EY as bP,_le as bQ,hv as bR,uf as bS,va as bT,wle as bU,Tle as bV,ede as bW,Wue as bX,Yue as bY,Gue as bZ,gN as b_,que as ba,Q6 as bb,fS as bc,Cue as bd,rV as be,eN as bf,tV as bg,nn as bh,Ge as bi,Zw as bj,kB as bk,Gce as bl,sV as bm,CV as bn,Qw as bo,Yw as bp,uV as bq,Kce as br,xue as bs,uie as bt,ms as bu,LB as bv,hl as bw,yt as bx,aae as by,NN as bz,qn as c,c4 as c$,Kue as c0,vue as c1,Hce as c2,nie as c3,rie as c4,mE as c5,F6 as c6,gE as c7,fv as c8,R6 as c9,Mue as cA,ww as cB,wr as cC,pw as cD,Nue as cE,Due as cF,kue as cG,Aue as cH,xX as cI,RX as cJ,EX as cK,xY as cL,_Y as cM,RY as cN,wY as cO,OY as cP,SY as cQ,sk as cR,UW as cS,mS as cT,Q4 as cU,hS as cV,FW as cW,Xce as cX,BW as cY,bY as cZ,y4 as c_,vie as ca,T6 as cb,fie as cc,Rie as cd,Doe as ce,$oe as cf,Uoe as cg,Qoe as ch,hie as ci,Loe as cj,joe as ck,Foe as cl,Boe as cm,Xoe as cn,sie as co,zue as cp,jue as cq,due as cr,eL as cs,Iue as ct,gae as cu,Pue as cv,poe as cw,lw as cx,uw as cy,cw as cz,N8 as d,AQ as d$,gS as d0,pS as d1,Xd as d2,Jz as d3,x6 as d4,C6 as d5,P6 as d6,N6 as d7,k6 as d8,L6 as d9,Ww as dA,qce as dB,eue as dC,Jce as dD,SK as dE,wK as dF,KN as dG,jce as dH,kce as dI,Nce as dJ,EM as dK,xf as dL,vf as dM,aX as dN,lX as dO,dX as dP,cX as dQ,uX as dR,tue as dS,nue as dT,sue as dU,aue as dV,lue as dW,cue as dX,rue as dY,oue as dZ,iue as d_,Sue as da,Eue as db,bue as dc,wue as dd,moe as de,_ue as df,A6 as dg,M6 as dh,D6 as di,Oue as dj,I6 as dk,Coe as dl,yue as dm,E6 as dn,Qie as dp,iie as dq,Tue as dr,Vie as ds,Gie as dt,Tie as du,Oie as dv,Rue as dw,RB as dx,Vce as dy,Zce as dz,Dg as e,kQ as e0,zQ as e1,IQ as e2,PQ as e3,CQ as e4,pk as e5,MQ as e6,NQ as e7,DQ as e8,LQ as e9,$Q as ea,jQ as eb,UQ as ec,BQ as ed,VQ as ee,pue as f,fue as g,mue as h,CE as i,C as j,xle as k,yle as l,xM as m,Nw as n,tu as o,Qn as p,cM as q,P as r,Mm as s,rC as t,Fw as u,x8 as v,R8 as w,I8 as x,O8 as y,T8 as z};
171
+ `),document.head.appendChild(r)}}function gle(e){const t=qn.c(9),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={queryKey:RM.publicConfig(),queryFn:ple,staleTime:1/0},t[0]=r):r=t[0];const{data:o}=ff(r),[s]=fle();let l,c;t[1]!==o.theme?(l=()=>{mle(o.theme)},c=[o.theme],t[1]=o.theme,t[2]=l,t[3]=c):(l=t[2],c=t[3]),P.useLayoutEffect(l,c);let d,f;t[4]!==s.theme?(d=()=>{const h=document.documentElement,g=()=>{const x=document.querySelector('meta[name="theme-color"]');if(!x)return;const S=getComputedStyle(h).getPropertyValue("--sidebar").trim();if(!S)return;const E=document.createElement("canvas").getContext("2d");if(!E)return;E.fillStyle="#010203";const T=E.fillStyle;E.fillStyle=S;const R=E.fillStyle;R!==T&&(x.content=R)};if(s.theme==="dark"){h.classList.add("dark"),g();return}if(s.theme==="light"){h.classList.remove("dark"),g();return}const v=window.matchMedia("(prefers-color-scheme: dark)"),_=x=>{h.classList.toggle("dark",x),g()};_(v.matches);const b=x=>_(x.matches);return v.addEventListener("change",b),()=>v.removeEventListener("change",b)},f=[s.theme],t[4]=s.theme,t[5]=d,t[6]=f):(d=t[5],f=t[6]),P.useLayoutEffect(d,f);let p;return t[7]!==n?(p=C.jsx(C.Fragment,{children:n}),t[7]=n,t[8]=p):p=t[8],p}const kf=new S8({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!0,refetchOnMount:!0,retry:1,gcTime:300*1e3}}});Kae(kf);Zae(kf);Uae(kf);Fae(kf);function vle(e){const t=qn.c(4),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=C.jsx(MG,{}),t[0]=r):r=t[0];let o;t[1]===Symbol.for("react.memo_cache_sentinel")?(o=C.jsx(AE,{}),t[1]=o):o=t[1];let s;return t[2]!==n?(s=C.jsxs(E8,{client:kf,children:[r,C.jsx(P.Suspense,{fallback:o,children:C.jsx(gle,{children:C.jsx(D8,{children:C.jsx(sne,{children:C.jsx(ale,{children:n})})})})})]}),t[2]=n,t[3]=s):s=t[3],s}function IE(){const e=qn.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=C.jsx("div",{"data-testid":"shell-route-loading",className:"absolute inset-0 h-full w-full flex items-center justify-center",children:C.jsx(CE,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=t):t=e[0],t}function yle(...e){return NN(tS(e))}const _le=r4("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:hover:bg-input/50 card-shadow",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",success:"bg-success text-success-foreground hover:bg-success/90 focus-visible:ring-success/20 dark:focus-visible:ring-success/40",special:"bg-special text-special-foreground hover:bg-special/90 focus-visible:ring-special/20 dark:focus-visible:ring-special/40",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-foreground/80 hover:text-foreground"},size:{default:"h-8 px-3 has-[>svg]:px-2.5",sm:"h-7 gap-1.5 px-2.5 has-[>svg]:px-2",xs:"h-6 gap-1 px-1.5 text-xs has-[>svg]:px-1",lg:"h-10 px-3.5 has-[>svg]:px-3",xl:"h-12 px-4 has-[>svg]:px-3.5",icon:"size-8","icon-sm":"size-7"}},defaultVariants:{variant:"default",size:"default"}});function df(e){const t=qn.c(14);let n,r,o,s,l;t[0]!==e?({className:n,variant:l,size:o,asChild:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=l):(n=t[1],r=t[2],o=t[3],s=t[4],l=t[5]);const d=(s===void 0?!1:s)?fS:"button";let f;t[6]!==n||t[7]!==o||t[8]!==l?(f=yle(_le({variant:l,size:o,className:n})),t[6]=n,t[7]=o,t[8]=l,t[9]=f):f=t[9];let p;return t[10]!==d||t[11]!==r||t[12]!==f?(p=C.jsx(d,{"data-slot":"button",className:f,...r}),t[10]=d,t[11]=r,t[12]=f,t[13]=p):p=t[13],p}const ble=["radial-gradient(ellipse 85% 85% at 0% 0%, rgba(165,149,255,0.6) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 100% 100%, rgba(208,236,26,0.52) 0%, transparent 72%)","radial-gradient(ellipse 85% 85% at 0% 100%, rgba(255,193,22,0.48) 0%, transparent 72%)"].join(", ");function wle(e){const t=qn.c(3),{children:n}=e;let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r=C.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:ble}}),t[0]=r):r=t[0];let o;return t[1]!==n?(o=C.jsxs("div",{className:"relative flex items-center justify-center min-h-screen bg-background overflow-hidden",children:[r,C.jsx("div",{className:"relative flex flex-col items-center text-center space-y-4 max-w-sm px-6",children:n})]}),t[1]=n,t[2]=o):o=t[2],o}function gL(e){const t=qn.c(9),{orgName:n}=e,r=Sle;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=C.jsx("div",{className:"bg-muted p-3 rounded-full",children:C.jsx(fL,{className:"h-6 w-6 text-muted-foreground"})}),t[0]=o):o=t[0];let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s=C.jsx("h3",{className:"text-lg font-medium",children:"Organization unavailable"}),t[1]=s):s=t[1];let l;t[2]!==n?(l=n?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:n})," has been deleted or is no longer available."]}):"This organization has been deleted or is no longer available.",t[2]=n,t[3]=l):l=t[3];let c;t[4]!==l?(c=C.jsxs("div",{className:"space-y-2",children:[s,C.jsx("p",{className:"text-sm text-muted-foreground",children:l})]}),t[4]=l,t[5]=c):c=t[5];let d;t[6]===Symbol.for("react.memo_cache_sentinel")?(d=C.jsx(df,{onClick:r,children:"Go to home"}),t[6]=d):d=t[6];let f;return t[7]!==c?(f=C.jsxs(wle,{children:[o,c,d]}),t[7]=c,t[8]=f):f=t[8],f}function Sle(){window.location.href="/"}function Ele(){const e=qn.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:n}=Dg(t);let r;return e[1]!==n?(r=C.jsx(df,{variant:"outline",size:"sm",asChild:!0,children:C.jsx(pf,{to:"/$org/settings/profile",params:{org:n},children:"Go to your profile"})}),e[1]=n,e[2]=r):r=e[2],r}function xle(e){const t=qn.c(13),{area:n,description:r,action:o}=e,s=n?`No access to ${n}`:"No access",l=r??"Your role doesn't include permission for this section. Ask an organization admin to update your role if you need it.";let c;t[0]===Symbol.for("react.memo_cache_sentinel")?(c=C.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted text-muted-foreground",children:C.jsx(hL,{size:28})}),t[0]=c):c=t[0];let d;t[1]!==s?(d=C.jsx("h3",{className:"text-lg font-medium",children:s}),t[1]=s,t[2]=d):d=t[2];let f;t[3]!==l?(f=C.jsx("p",{className:"mx-auto max-w-sm text-sm text-muted-foreground",children:l}),t[3]=l,t[4]=f):f=t[4];let p;t[5]!==d||t[6]!==f?(p=C.jsxs("div",{className:"space-y-1",children:[d,f]}),t[5]=d,t[6]=f,t[7]=p):p=t[7];let h;t[8]!==o?(h=o??C.jsx(Ele,{}),t[8]=o,t[9]=h):h=t[9];let g;return t[10]!==p||t[11]!==h?(g=C.jsxs("div",{className:"flex h-full min-h-[60vh] flex-1 flex-col items-center justify-center gap-4 p-6 text-center",children:[c,p,h]}),t[10]=p,t[11]=h,t[12]=g):g=t[12],g}const oM="__mesh_chunk_reload_ts";function vL(e){return e?.message==="Organization is archived"}function Rle(e){return!!e?.message?.includes("Access denied")}function iM(e){if(!e)return!1;const t=e.message||"";return t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed")||t.includes("error loading dynamically imported module")||t.includes("Failed to fetch")&&e.name==="TypeError"}class Jue extends P.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n),dL(t,{boundary:"default",error_name:t.name,error_message:t.message,component_stack:n.componentStack??null,route:typeof window<"u"?window.location.pathname:null})}resetError=()=>{this.setState({hasError:!1,error:null})};render(){if(this.state.hasError){const{fallback:t}=this.props;return typeof t=="function"?t({error:this.state.error,resetError:this.resetError}):t!==void 0?t:vL(this.state.error)?C.jsx(gL,{}):Rle(this.state.error)?C.jsx(xle,{}):C.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(TE,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||"An unexpected error occurred"})]}),C.jsx(df,{variant:"outline",onClick:this.resetError,children:"Try again"})]})}return this.props.children}}class Ole extends P.Component{state={hasError:!1,error:null};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error("Uncaught error:",t,n);const r=iM(t);if(dL(t,{boundary:"chunk_root",is_chunk_load_error:r,error_name:t.name,error_message:t.message,component_stack:n.componentStack??null,route:typeof window<"u"?window.location.pathname:null}),!r)return;const o=sessionStorage.getItem(oM),s=Date.now();(!o||s-Number(o)>1e4)&&(sessionStorage.setItem(oM,String(s)),window.location.reload())}render(){return this.state.hasError&&iM(this.state.error)?C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:C.jsx(pL,{className:"h-6 w-6 text-primary"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"New version available"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:"A new version has been deployed. Refresh to continue."})]}),C.jsx(df,{onClick:()=>window.location.reload(),children:"Refresh"})]}):this.state.hasError?vL(this.state.error)?C.jsx(gL,{}):C.jsxs("div",{className:"flex min-h-dvh flex-col items-center justify-center p-6 text-center space-y-4",children:[C.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:C.jsx(TE,{className:"h-6 w-6 text-destructive"})}),C.jsxs("div",{className:"space-y-2",children:[C.jsx("h3",{className:"text-lg font-medium",children:"Something went wrong"}),C.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:this.state.error?.message||"An unexpected error occurred"})]}),C.jsx(df,{variant:"outline",onClick:()=>this.setState({hasError:!1,error:null}),children:"Try again"})]}):this.props.children}}function yL(e){try{localStorage.setItem(su.lastLocation(),JSON.stringify(e))}catch{}}function Tle(){try{const e=localStorage.getItem(su.lastLocation());if(!e)return null;const t=JSON.parse(e);if(typeof t?.org=="string")return{org:t.org,taskId:typeof t.taskId=="string"?t.taskId:void 0,virtualmcpid:typeof t.virtualmcpid=="string"?t.virtualmcpid:void 0}}catch{}return null}function ede(){try{localStorage.removeItem(su.lastLocation())}catch{}}let us=null,sM=!1;const Ow=new Set;function Pg(){for(const e of Ow)e()}function Cle(){sM||typeof window>"u"||(sM=!0,window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),us=e,Pg()}),window.addEventListener("appinstalled",()=>{us=null,Pg()}))}function tde(){us!==null&&(us=null,Pg())}function Ale(e){return Ow.add(e),()=>{Ow.delete(e)}}function Ile(){return us}function Ple(){return null}function Mle(){if(typeof window>"u")return!1;const e=typeof window.matchMedia=="function"&&["(display-mode: standalone)","(display-mode: window-controls-overlay)"].some(n=>window.matchMedia(n).matches),t=navigator.standalone===!0;return e||t}function Nle(){if(typeof navigator>"u")return!1;const e=navigator.userAgent;return/iPad|iPhone|iPod/.test(e)?!0:e.includes("Macintosh")&&typeof document<"u"&&"ontouchend"in document}function nde(){const e=qn.c(5),t=P.useSyncExternalStore(Ale,Ile,Ple);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=Mle(),e[0]=n):n=e[0];const r=n,o=t!==null&&!r;let s,l;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=Nle(),l=kle,e[1]=s,e[2]=l):(s=e[1],l=e[2]);let c;return e[3]!==o?(c={canPrompt:o,installed:r,ios:s,promptInstall:l},e[3]=o,e[4]=c):c=e[4],c}async function kle(){if(!us)return"unavailable";await us.prompt();const e=await us.userChoice;return us=null,Pg(),e.outcome}const qo=fz({component:()=>C.jsx(Ole,{children:C.jsx(vle,{children:C.jsx(P.Suspense,{fallback:C.jsx(AE,{}),children:C.jsx(JM,{})})})})}),Dle=it({getParentRoute:()=>qo,path:"/login",component:dt(()=>ut(()=>import("./login-Dzlh5qYT.js"),__vite__mapDeps([0,1,2,3,4,5]))),validateSearch:ms(()=>be({next:$().optional(),client_id:$().optional(),redirect_uri:$().optional(),response_type:$().optional(),state:$().optional(),scope:$().optional(),code_challenge:$().optional(),code_challenge_method:$().optional()}))}),Lle=it({getParentRoute:()=>qo,path:"/cli/auth-success",component:dt(()=>ut(()=>import("./cli-auth-success-BlIIxKPd.js"),__vite__mapDeps([6,5])))}),$le=it({getParentRoute:()=>qo,path:"/reset-password",component:dt(()=>ut(()=>import("./reset-password-Fw4tx_9w.js"),__vite__mapDeps([7,2]))),validateSearch:ms(()=>be({token:$().optional(),error:$().optional()}))}),jle=it({getParentRoute:()=>qo,path:"/auth/$pathname",component:dt(()=>ut(()=>import("./auth-catchall-CDVAqOkY.js"),[]))}),zle=it({getParentRoute:()=>qo,path:"/oauth/callback",component:dt(()=>ut(()=>import("./oauth-callback-CdWGFVi8.js"),__vite__mapDeps([8,9,10])))}),Ule=it({getParentRoute:()=>qo,path:"/oauth/callback/ai-provider",component:dt(()=>ut(()=>import("./oauth-callback-ai-provider-qp9LO32T.js"),[]))}),_v=it({getParentRoute:()=>qo,path:"/_admin",component:dt(()=>ut(()=>import("./layout-BloKJFhD.js"),__vite__mapDeps([11,12,13,14])))}),Fle=it({getParentRoute:()=>_v,path:"/",beforeLoad:()=>{throw sa({to:"/_admin/users"})}}),Ble=it({getParentRoute:()=>_v,path:"/users",component:dt(()=>ut(()=>import("./users-CwhV7o0r.js"),__vite__mapDeps([15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])))}),Vle=it({getParentRoute:()=>_v,path:"/orgs",component:dt(()=>ut(()=>import("./orgs-CRRA1WCm.js"),__vite__mapDeps([36,16,17,18,19,20,21,22,23,24,25,26,27,2,37,31,38,39,40,41,42,32,33,34])))}),Hle=_v.addChildren([Fle,Ble,Vle]),PE=it({getParentRoute:()=>qo,id:"shell",component:dt(()=>ut(()=>import("./shell-layout-Bi4LjwsI.js").then(e=>e.s),__vite__mapDeps([43,28,29,44,45,46,47,48,49,50,38,20,51,13,52,53,54,10,55,56,3,4,57,58,59,60])))}),qle=it({getParentRoute:()=>PE,path:"/",beforeLoad:async()=>{const e=Tle();if(e)throw sa({to:"/$org",params:{org:e.org}});const t=localStorage.getItem(su.lastOrgSlug());if(t)throw sa({to:"/$org",params:{org:t}});const{data:n}=await vN();if(!n)return;const r=n[0];throw sa(r?{to:"/$org",params:{org:r.slug}}:{to:"/onboarding"})}}),Gle=it({getParentRoute:()=>qo,path:"/onboarding",beforeLoad:async()=>{const{data:e}=await vN();if(e&&e.length>0)throw sa({to:"/"})},component:dt(()=>ut(()=>import("./onboarding-iL9ZeHnE.js"),__vite__mapDeps([61,13,5,62,28,29,2,37,63,44,48,64,65,66])))}),Kle=it({getParentRoute:()=>qo,path:"/commerce-onboarding",component:dt(()=>ut(()=>import("./commerce-onboarding-v6NmdNz5.js"),__vite__mapDeps([67,1,2,3,4,5,62,28,29,57,53,54,10,68,69,70,71,72,73,24,74,75,76,77,44,78,48,40,41,79,42,80,46,81,82,83,84,85,49,86,64,87,88,89,18,90,91,92,93,94,65,95,96,45,27,97,98,99,66,100,47,20,50,38,21,101,102,103,37,31,104,9]))),validateSearch:ms(()=>be({org:$().optional(),siteUrl:$().optional()}))}),Zle=it({getParentRoute:()=>qo,path:"/report/$domain",component:dt(()=>ut(()=>import("./reports-C6ascunL.js"),__vite__mapDeps([105,1,2,3,4,72,24,68,76,48,94,106]))),validateSearch:ms(()=>be({key:$().optional()}))}),bv=it({getParentRoute:()=>PE,path:"/$org",beforeLoad:({params:e})=>{yL({org:e.org})},component:dt(()=>ut(()=>import("./org-layout-DWaUEBqs.js"),[]))}),Df=it({getParentRoute:()=>bv,id:"org-shell",component:dt(()=>ut(()=>import("./index-DFCCfX3B.js"),__vite__mapDeps([107,17,18,19,20,21,108,41,54,109,110,53,10,71,72,73,24,74,70,68,75,76,77,44,78,48,40,79,42,80,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,27,97,98,99,66,29,100,47,50,111,51,103,37,2,112,52,55,56,3,4,59,113,114,57,58,115,116,117,38,118,31,119,104,9,120,101,121,122,102,43,28,13,60,123,124,125,126,127,128,129,69,130,30,39,131,132,133,14,134,135,136,137,138,139,140,141,142,143,33,34,144])))}),_L=it({getParentRoute:()=>Df,id:"agent-shell",pendingComponent:IE,component:dt(()=>ut(()=>import("./index-Dv19SgJH.js").then(e=>e.aT),__vite__mapDeps([145,24,112,52,55,53,54,10,56,3,4,59,109,110,113,114,57,58,146,39,21,40,41,42,127,128,119,129,17,18,19,20,23,25,147,136,143,72,48,80,71,73,74,70,68,75,76,77,44,78,79,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,27,97,98,99,66,29,100,47,50,148,133,30,149,140,141,38,111,28,33,34,150,151,152,153,154,43,51,13,60,69,121,122,155,103,37,2,116,118,156,139,123,124,125,126,101,130,131,132,104,9,138,157,108,158,159,160,161,144,31,162,163,120,164,165,63,166,16,26,117,102,167,168,169,35,170,115,171,172,173])))}),Yle=be({virtualmcpid:$().optional(),tab:$().optional(),sidepanel:nn([Ge("chat"),Ge(0)]).optional(),main:nn([$(),Ge(0)]).optional(),preview:$().optional(),id:$().optional(),toolName:$().optional(),tasks:ht().optional(),mainOpen:ht().optional(),autosend:$().optional(),runLocally:$().optional()}),Wle=it({getParentRoute:()=>_L,path:"/$taskId",validateSearch:Yle,beforeLoad:({params:e,search:t})=>{yL({org:e.org,taskId:e.taskId,virtualmcpid:t.virtualmcpid})},component:()=>null}),Qle=be({main:$().optional()}),Xle=it({getParentRoute:()=>Df,path:"/",validateSearch:Qle,pendingComponent:IE,component:dt(()=>ut(()=>import("./index-CEI6wi5Z.js"),__vite__mapDeps([174,54,55,53,10,56,3,4,122])))}),Jle=be({path:$().optional(),preview:$().optional(),skill:$().optional()}),ece=it({getParentRoute:()=>Df,path:"/files",validateSearch:Jle,pendingComponent:IE,component:dt(()=>ut(()=>import("./index-0yvnZiwb.js").then(e=>e.P),__vite__mapDeps([161,79,85,84,82,65,96,45,98,66,47,50,19,51,38,20,2,108,151,40,81,57,144,94,31,83,89,99,160,80,131,41,42,111,21,90,153,18])))}),tce=it({getParentRoute:()=>Df,path:"/board",component:dt(()=>ut(()=>import("./index-DPKpPAQv.js").then(e=>e.i),__vite__mapDeps([169,35,28,29,30,78,91,96,147,136,59,33,34,72,48,80,85,38,20,160,40,79,111,170,41,99])))}),Dn=it({getParentRoute:()=>bv,path:"/settings",component:dt(()=>ut(()=>import("./settings-layout-CS4A10kE.js"),__vite__mapDeps([175,12,17,18,19,20,21,16,77,44,88,89,97,29,50,164,176,59,163,162,114,56,3,144,142,115])))}),nce=it({getParentRoute:()=>bv,path:"/install",component:dt(()=>ut(()=>import("./org-install-ZxTYabEU.js"),[]))}),rce=it({getParentRoute:()=>Dn,path:"/",component:dt(()=>ut(()=>import("./index-redirect-Hp_EA6DJ.js"),__vite__mapDeps([177,164,178])))}),oce=it({getParentRoute:()=>Dn,path:"/connections",component:dt(()=>ut(()=>import("./connections-C1NH7yoX.js"),__vite__mapDeps([179,101,53,54,10,180,160,40,79,80,24,87,91,21,181,30,26,27,130,125,124,126,119,110,58,59,127,128,129,69,70,71,72,73,74,68,75,76,77,44,78,48,41,42,46,81,82,83,84,85,49,86,64,88,89,18,90,92,93,94,65,95,96,45,97,98,99,66,29,100,47,20,50,25,16,17,19,182,51,164,183,149,38,116,103,37,2,39,131,109,132,104,9]))),validateSearch:ms(()=>be({action:an(["create"]).optional(),tab:an(["all","connected"]).optional()}))}),ice=it({getParentRoute:()=>Dn,path:"/connections/$appSlug",component:dt(()=>ut(()=>import("./connection-detail-B_tl4TZx.js"),__vite__mapDeps([184,101,53,54,10,25,132,2,96,99,185,16,17,18,19,20,21,120,82,89,119,110,126,58,59,39,40,41,42,154,186,141,71,72,73,24,74,70,68,75,76,77,44,78,48,79,80,46,81,83,84,85,49,86,64,87,88,90,91,92,93,94,65,95,45,27,97,98,66,29,100,47,50,111,109,187,121,55,56,3,4,122,165,9,30,147,136,28,155,69,103,37,182,51,188,156,124,118,129,160]))),validateSearch:ms(()=>be({tab:$().optional()}))}),sce=it({getParentRoute:()=>Dn,path:"/connections/$appSlug/$collectionName/$itemId",component:dt(()=>ut(()=>import("./collection-detail-CcnshY5k.js"),__vite__mapDeps([189,25,110,53,54,10,103,37,2,131,185,16,17,18,19,20,21,120,82,89,119,101,126,58,59,96,39,40,41,42,154,186,141,71,72,73,24,74,70,68,75,76,77,44,78,48,79,80,46,81,83,84,85,49,86,64,87,88,90,91,92,93,94,65,95,45,27,97,98,99,66,29,100,47,50,111,109,187,121,55,56,3,4,122,190,124,165,9,30,152,153,112,52,113,114,57,69,43,28,38,51,13,60]))),validateSearch:ms(()=>be({replayId:$().optional()}))}),ace=it({getParentRoute:()=>Dn,path:"/monitor",component:dt(()=>ut(()=>import("./index-CCnsgP9d.js"),__vite__mapDeps([191,26,27,16,17,18,19,20,21,25,192,164,193,178,146,39,40,41,42,127,128,119,110,53,54,10,109,129,23,147,136,143,72,48,80,71,73,24,74,70,68,75,76,77,44,78,79,46,81,82,83,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,96,45,97,98,99,66,29,100,47,50,148,59,133,30,149,140,141,38,111,28,33,34,150,151,57,152,153,112,52,55,56,3,4,113,114,58,154,43,51,13,60,69,121,122,155,103,37,2,124,170,131,130,63,190,188]))),validateSearch:ms(()=>be({tab:an(["overview","audit","dashboards","threads","automations"]).default("overview"),from:$().default("now-30m"),to:$().default("now"),connectionId:Re($()).optional().default([]),virtualMcpId:Re($()).optional().default([]),tool:$().default(""),status:an(["all","success","errors"]).default("all"),search:$().default(""),page:ht().optional(),streaming:Nt().default(!0),propertyFilters:$().default(""),hideSystem:Nt().default(!1)}))}),lce=it({getParentRoute:()=>Dn,path:"/general",component:dt(()=>ut(()=>import("./general-XFvP4tXw.js"),__vite__mapDeps([194,16,17,18,19,20,21,136,166,28,29,2,159,129,75,195,59,30,39,40,41,42,63,58,54,51,192,164,193,178])))}),cce=it({getParentRoute:()=>Dn,path:"/brand-context",component:dt(()=>ut(()=>import("./brand-context-Bkaj5nz3.js"),__vite__mapDeps([196,41,79,86,90,96,99,50,51,2,131,16,17,18,19,20,21,59,166,192,164,193,178])))}),uce=it({getParentRoute:()=>Dn,path:"/ai-providers",component:dt(()=>ut(()=>import("./ai-providers-CeevjV97.js"),__vite__mapDeps([197,72,16,17,18,19,20,21,108,159,129,75,113,59,48,112,52,55,53,54,10,56,3,4,109,110,114,57,58,157,38,116,149,40,2,39,41,42,74,73,89,27,158,92,79,28,29,85,138,81,98,166,139,51,96,99,168,34,192,164,193,178])))}),dce=it({getParentRoute:()=>Dn,path:"/secrets",component:dt(()=>ut(()=>import("./secrets-B2rqgV3S.js"),__vite__mapDeps([198,72,96,29,100,38,20,2,37,39,21,40,41,42,108,131,16,17,18,19,159,129,75,167,59,192,164,193,178])))}),fce=it({getParentRoute:()=>Dn,path:"/files",component:dt(()=>ut(()=>import("./files-DrQIRu5a.js"),[]))}),hce=it({getParentRoute:()=>Dn,path:"/buckets",component:dt(()=>ut(()=>import("./buckets-B22IEfKD.js"),__vite__mapDeps([199,72,88,96,99,51,38,20,2,37,39,21,40,41,42,63,108,131,16,17,18,19,159,129,75,171,59,192,164,193,178])))}),pce=it({getParentRoute:()=>Dn,path:"/members",component:dt(()=>ut(()=>import("./members-BfULkB51.js"),__vite__mapDeps([200,180,160,40,79,80,24,87,91,21,181,30,26,27,16,17,18,19,20,22,23,25,135,38,103,37,39,41,42,131,136,137,159,129,75,176,164,59,28,29,33,34,35,147,51,83,89,97,99,47,149,140,141,111,96,192,193,178])))}),mce=it({getParentRoute:()=>Dn,path:"/roles",component:dt(()=>ut(()=>import("./roles-D6vLw9pS.js"),__vite__mapDeps([201,137,136,30,51,160,40,79,80,83,96,99,22,23,24,16,17,18,19,20,21,25,26,27,158,69,70,71,72,73,74,68,75,76,77,44,78,48,41,42,46,81,82,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,45,97,98,66,29,100,47,50,128,149,133,53,54,10,118,147,35,119,110,113,59,28,63,159,129,164,193,178]))),validateSearch:ms(()=>be({role:$().optional()}))}),gce=it({getParentRoute:()=>Dn,path:"/sso",component:dt(()=>ut(()=>import("./sso-C6uqUsih.js"),__vite__mapDeps([202,195,59,159,129,75,30,2,39,21,40,41,42,16,17,18,19,20,63,60,99,192,164,193,178])))}),vce=it({getParentRoute:()=>Dn,path:"/profile",component:dt(()=>ut(()=>import("./profile-Dh73-0Iy.js"),__vite__mapDeps([203,16,17,18,19,20,21,28,29,63,39,40,41,42,139,2,92,93,95,166,162,134,159,129,75])))}),yce=it({getParentRoute:()=>Dn,path:"/store",component:dt(()=>ut(()=>import("./store-BZ7eoytz.js"),__vite__mapDeps([204,72,79,96,99,2,63,108,28,29,111,119,110,53,54,10,16,17,18,19,20,21,126,58,59,159,129,75,192,164,193,178])))}),_ce=it({getParentRoute:()=>Dn,path:"/registry",component:dt(()=>ut(()=>import("./registry-DGAgXfxF.js"),__vite__mapDeps([205,192,164,193,178])))}),bce=it({getParentRoute:()=>Dn,path:"/store/registry",component:dt(()=>ut(()=>import("./store-registry-DA7t2U9g.js"),__vite__mapDeps([206,192,164,193,178])))}),wce=it({getParentRoute:()=>Dn,path:"/agents",component:dt(()=>ut(()=>import("./agents-list-CBbQQUEx.js"),__vite__mapDeps([207,160,40,79,80,44,117,38,20,118,27,31,119,110,53,54,10,104,9,74,71,72,73,24,70,68,75,76,77,78,48,41,42,46,81,82,83,84,85,49,86,64,87,88,89,18,90,91,92,93,94,65,95,96,45,97,98,99,66,29,100,47,50,120,101,121,109,55,56,3,4,122,102,16,17,19,21,129,168,34,164,25,187,51,26])))}),Sce=it({getParentRoute:()=>Dn,path:"/automations",component:dt(()=>ut(()=>import("./automations-DDTM3E3g.js"),__vite__mapDeps([208,96,50,26,27,16,17,18,19,20,21,25,148,53,54,10,59,121,109,110,55,56,3,4,122,172,51,160,40,79,80,46,83,99,71,72,73,24,74,70,68,75,76,77,44,78,48,41,42,81,82,84,85,49,86,64,87,88,89,90,91,92,93,94,65,95,45,97,98,66,29,100,47,192,164,193,178])))}),Ece=Dn.addChildren([rce,oce,ice,sce,wce,Sce,ace,lce,cce,uce,dce,fce,hce,pce,mce,gce,vce,yce,bce,_ce]),xce=_L.addChildren([Wle]),Rce=Df.addChildren([Xle,ece,tce,xce]),Oce=bv.addChildren([Rce,Ece,nce]),Tce=PE.addChildren([qle,Oce]),Cce=qo.addChildren([Tce,Hle,Gle,Kle,Zle,Dle,Lle,$le,jle,zle,Ule]),Ace=Ez({routeTree:Cce,defaultPendingComponent:AE,defaultPendingMs:200,defaultNotFoundComponent:()=>C.jsx("div",{className:"flex h-full items-center justify-center",children:C.jsxs("div",{className:"flex flex-col items-center gap-4 p-8",children:[C.jsx("h3",{className:"text-lg font-medium text-foreground",children:"Page not found"}),C.jsx("p",{className:"text-sm text-muted-foreground text-center max-w-[300px]",children:"The page you are looking for does not exist or has been moved."}),C.jsx("button",{type:"button",onClick:()=>window.history.back(),className:"text-sm text-primary hover:underline",children:"Go back"})]})})});Cle();const Ice=document.getElementById("root");Bj.createRoot(Ice).render(C.jsx(P.StrictMode,{children:C.jsx(Oz,{router:Ace})}));export{TE as $,hue as A,df as B,Yn as C,M8 as D,H2 as E,C8 as F,A8 as G,be as H,$ as I,Ai as J,RM as K,pf as L,Ci as M,Fce as N,JM as O,ff as P,vM as Q,sle as R,AE as S,Lce as T,Jue as U,Zue as V,Yce as W,Wce as X,su as Y,_l as Z,hL as _,Hg as a,zce as a$,Bce as a0,Uce as a1,cle as a2,vt as a3,hoe as a4,ya as a5,fle as a6,_te as a7,Yae as a8,fL as a9,CW as aA,OW as aB,hW as aC,bae as aD,W6 as aE,Lue as aF,Hue as aG,yK as aH,Qce as aI,Cae as aJ,pL as aK,ee as aL,Bue as aM,Sn as aN,D4 as aO,vl as aP,yf as aQ,er as aR,L4 as aS,ct as aT,ua as aU,ht as aV,ut as aW,Mce as aX,zr as aY,bo as aZ,tl as a_,IE as aa,Re as ab,an as ac,Pt as ad,Nt as ae,bK as af,Que as ag,_K as ah,Xue as ai,uv as aj,OM as ak,$ce as al,Vue as am,BC as an,Tw as ao,EW as ap,si as aq,Jd as ar,Lg as as,xS as at,Gc as au,ga as av,ys as aw,ai as ax,z4 as ay,RW as az,hf as b,gL as b$,tde as b0,nde as b1,Gt as b2,Fue as b3,$ue as b4,Uue as b5,eQ as b6,lk as b7,JW as b8,vs as b9,tS as bA,r4 as bB,tte as bC,cD as bD,dD as bE,pX as bF,Y4 as bG,UX as bH,vX as bI,Q7 as bJ,WM as bK,oi as bL,gue as bM,ii as bN,Pce as bO,EY as bP,_le as bQ,hv as bR,uf as bS,va as bT,wle as bU,Tle as bV,ede as bW,Wue as bX,Yue as bY,Gue as bZ,gN as b_,que as ba,Q6 as bb,fS as bc,Cue as bd,rV as be,eN as bf,tV as bg,nn as bh,Ge as bi,Zw as bj,kB as bk,Gce as bl,sV as bm,CV as bn,Qw as bo,Yw as bp,uV as bq,Kce as br,xue as bs,uie as bt,ms as bu,LB as bv,hl as bw,yt as bx,aae as by,NN as bz,qn as c,c4 as c$,Kue as c0,vue as c1,Hce as c2,nie as c3,rie as c4,mE as c5,F6 as c6,gE as c7,fv as c8,R6 as c9,Mue as cA,ww as cB,wr as cC,pw as cD,Nue as cE,Due as cF,kue as cG,Aue as cH,xX as cI,RX as cJ,EX as cK,xY as cL,_Y as cM,RY as cN,wY as cO,OY as cP,SY as cQ,sk as cR,UW as cS,mS as cT,Q4 as cU,hS as cV,FW as cW,Xce as cX,BW as cY,bY as cZ,y4 as c_,vie as ca,T6 as cb,fie as cc,Rie as cd,Doe as ce,$oe as cf,Uoe as cg,Qoe as ch,hie as ci,Loe as cj,joe as ck,Foe as cl,Boe as cm,Xoe as cn,sie as co,zue as cp,jue as cq,due as cr,eL as cs,Iue as ct,gae as cu,Pue as cv,poe as cw,lw as cx,uw as cy,cw as cz,N8 as d,AQ as d$,gS as d0,pS as d1,Xd as d2,Jz as d3,x6 as d4,C6 as d5,P6 as d6,N6 as d7,k6 as d8,L6 as d9,Ww as dA,qce as dB,eue as dC,Jce as dD,SK as dE,wK as dF,KN as dG,jce as dH,kce as dI,Nce as dJ,EM as dK,xf as dL,vf as dM,aX as dN,lX as dO,dX as dP,cX as dQ,uX as dR,tue as dS,nue as dT,sue as dU,aue as dV,lue as dW,cue as dX,rue as dY,oue as dZ,iue as d_,Sue as da,Eue as db,bue as dc,wue as dd,moe as de,_ue as df,A6 as dg,M6 as dh,D6 as di,Oue as dj,I6 as dk,Coe as dl,yue as dm,E6 as dn,Qie as dp,iie as dq,Tue as dr,Vie as ds,Gie as dt,Tie as du,Oie as dv,Rue as dw,RB as dx,Vce as dy,Zce as dz,Dg as e,kQ as e0,zQ as e1,IQ as e2,PQ as e3,CQ as e4,pk as e5,MQ as e6,NQ as e7,DQ as e8,LQ as e9,$Q as ea,jQ as eb,UQ as ec,BQ as ed,VQ as ee,pue as f,fue as g,mue as h,CE as i,C as j,xle as k,yle as l,xM as m,Nw as n,tu as o,Qn as p,cM as q,P as r,Mm as s,rC as t,Fw as u,x8 as v,R8 as w,I8 as x,O8 as y,T8 as z};