vite-hub 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1149) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +178 -26
  3. package/dist/_internal/agent/eve.d.ts +1 -0
  4. package/dist/_internal/agent/eve.js +2 -0
  5. package/dist/_internal/agent/invocations.d.ts +2 -0
  6. package/dist/_internal/agent/invocations.js +88 -0
  7. package/dist/_internal/agent/operations.d.ts +1 -0
  8. package/dist/_internal/agent/operations.js +2 -0
  9. package/dist/_internal/agent/runtime/invocations-dev.d.ts +1 -0
  10. package/dist/_internal/agent/runtime/invocations-dev.js +2 -0
  11. package/dist/_internal/agent/runtime/process.d.ts +1 -0
  12. package/dist/_internal/agent/runtime/process.js +2 -0
  13. package/dist/_internal/agent/server/registry.d.ts +1 -0
  14. package/dist/_internal/agent/server/registry.js +2 -0
  15. package/dist/_internal/auth/runtime/console.d.ts +1 -0
  16. package/dist/_internal/auth/runtime/console.js +2 -0
  17. package/dist/_internal/blob/operations.d.ts +1 -0
  18. package/dist/_internal/blob/operations.js +2 -0
  19. package/dist/_internal/comments/operations.d.ts +1 -0
  20. package/dist/_internal/comments/operations.js +2 -0
  21. package/dist/_internal/comments/runtime/console.d.ts +1 -0
  22. package/dist/_internal/comments/runtime/console.js +2 -0
  23. package/dist/_internal/content/operations.d.ts +1 -0
  24. package/dist/_internal/content/operations.js +2 -0
  25. package/dist/_internal/content/runtime/console.d.ts +1 -0
  26. package/dist/_internal/content/runtime/console.js +2 -0
  27. package/dist/_internal/database/runtime/state.d.ts +5 -0
  28. package/dist/_internal/database/runtime/state.js +7 -0
  29. package/dist/_internal/email/operations.d.ts +1 -0
  30. package/dist/_internal/email/operations.js +2 -0
  31. package/dist/_internal/email/runtime/console.d.ts +1 -0
  32. package/dist/_internal/email/runtime/console.js +2 -0
  33. package/dist/_internal/kv/operations.d.ts +1 -0
  34. package/dist/_internal/kv/operations.js +2 -0
  35. package/dist/_internal/kv/runtime/disabled-upstash.d.ts +2 -3
  36. package/dist/_internal/kv/runtime/disabled-upstash.js +2 -1
  37. package/dist/_internal/queue/operations.d.ts +1 -0
  38. package/dist/_internal/queue/operations.js +2 -0
  39. package/dist/_internal/rate-limit/operations.d.ts +1 -0
  40. package/dist/_internal/rate-limit/operations.js +2 -0
  41. package/dist/_internal/sandbox/task/runtime/state.d.ts +1 -0
  42. package/dist/_internal/sandbox/task/runtime/state.js +2 -0
  43. package/dist/_internal/schedule/operations.d.ts +1 -0
  44. package/dist/_internal/schedule/operations.js +2 -0
  45. package/dist/_internal/schedule/runtime/kv.d.ts +1 -0
  46. package/dist/_internal/schedule/runtime/kv.js +2 -0
  47. package/dist/_internal/task/operations.d.ts +5 -0
  48. package/dist/_internal/task/operations.js +2 -0
  49. package/dist/_internal/workflow/operations.d.ts +1 -0
  50. package/dist/_internal/workflow/operations.js +2 -0
  51. package/dist/_internal/workflow/runtime/cloudflare-runner.d.ts +1 -0
  52. package/dist/_internal/workflow/runtime/cloudflare-runner.js +2 -0
  53. package/dist/_internal/workflow/runtime/cloudflare-vite.d.ts +1 -0
  54. package/dist/_internal/workflow/runtime/cloudflare-vite.js +2 -0
  55. package/dist/_internal/workflow/runtime/vercel-vite.d.ts +1 -0
  56. package/dist/_internal/workflow/runtime/vercel-vite.js +2 -0
  57. package/dist/_internal/workspace/operations.d.ts +1 -0
  58. package/dist/_internal/workspace/operations.js +2 -0
  59. package/dist/access-BhTe9yuV.js +516 -0
  60. package/dist/access-CBqnsYdj.d.ts +130 -0
  61. package/dist/agent/capabilities.d.ts +24 -1
  62. package/dist/agent/capabilities.js +56 -1
  63. package/dist/agent/invocations/d1.d.ts +1 -0
  64. package/dist/agent/invocations/d1.js +2 -0
  65. package/dist/agent/invocations/database.d.ts +2 -0
  66. package/dist/agent/invocations/database.js +91 -0
  67. package/dist/agent/invocations/sqlite.d.ts +1 -0
  68. package/dist/agent/invocations/sqlite.js +2 -0
  69. package/dist/agent/mcp.d.ts +1 -0
  70. package/dist/agent/mcp.js +2 -0
  71. package/dist/agent/observability.d.ts +1 -0
  72. package/dist/agent/observability.js +2 -0
  73. package/dist/agent/process-host.d.ts +1 -0
  74. package/dist/agent/process-host.js +2 -0
  75. package/dist/agent/runtime/process.d.ts +1 -0
  76. package/dist/agent/runtime/process.js +2 -0
  77. package/dist/agent/server/github.d.ts +1 -0
  78. package/dist/agent/server/github.js +2 -0
  79. package/dist/agent/vite.d.ts +1 -0
  80. package/dist/agent/vite.js +2 -0
  81. package/dist/agent/vue.d.ts +1 -0
  82. package/dist/agent/vue.js +2 -0
  83. package/dist/agent-invocations.post-CFKMEy-h.js +432 -0
  84. package/dist/agent.d.ts +12 -1
  85. package/dist/agent.js +49 -1
  86. package/dist/agents-BNmuN4Qa.d.ts +99 -0
  87. package/dist/agents-CVehuMFA.js +118 -0
  88. package/dist/auth/console-runtime.d.ts +1 -0
  89. package/dist/auth/console-runtime.js +2 -0
  90. package/dist/auth/console.d.ts +1 -0
  91. package/dist/auth/console.js +2 -0
  92. package/dist/auth/presets.d.ts +1 -0
  93. package/dist/auth/presets.js +2 -0
  94. package/dist/auth/vue.d.ts +1 -0
  95. package/dist/auth/vue.js +2 -0
  96. package/dist/auth-BSSM-qh0.js +700 -0
  97. package/dist/auth-CG8tmgH7.d.ts +106 -0
  98. package/dist/auth-cloudflare-access-CE8xUzhY.d.ts +50 -0
  99. package/dist/auth-inline-config--vlclzm3.js +18 -0
  100. package/dist/auth-inline-config-R6q_4Iwo.d.ts +30 -0
  101. package/dist/auth-path-B7Ssonj-.js +49 -0
  102. package/dist/bin.d.ts +1 -1
  103. package/dist/bin.js +346 -7
  104. package/dist/blob/client.d.ts +1 -0
  105. package/dist/blob/client.js +2 -0
  106. package/dist/blob/media.d.ts +1 -0
  107. package/dist/blob/media.js +2 -0
  108. package/dist/blob/vue.d.ts +1 -0
  109. package/dist/blob/vue.js +2 -0
  110. package/dist/blob-D9v5Djxw.d.ts +7 -0
  111. package/dist/browser/actions.d.ts +1 -0
  112. package/dist/browser/actions.js +2 -0
  113. package/dist/channels/server.d.ts +1 -0
  114. package/dist/channels/server.js +2 -0
  115. package/dist/channels.d.ts +1 -0
  116. package/dist/channels.js +2 -0
  117. package/dist/cloudflare-env-CIZCKabz.js +70 -0
  118. package/dist/cloudflare-prerender.mjs +24 -0
  119. package/dist/cloudflare-types.d.ts +1 -0
  120. package/dist/comments/anchor.d.ts +1 -0
  121. package/dist/comments/anchor.js +2 -0
  122. package/dist/comments/client.d.ts +1 -0
  123. package/dist/comments/client.js +2 -0
  124. package/dist/comments/database/postgres.d.ts +1 -0
  125. package/dist/comments/database/postgres.js +2 -0
  126. package/dist/comments/database.d.ts +1 -0
  127. package/dist/comments/database.js +2 -0
  128. package/dist/comments/realtime.d.ts +1 -0
  129. package/dist/comments/realtime.js +2 -0
  130. package/dist/comments/rpc.d.ts +1 -0
  131. package/dist/comments/rpc.js +2 -0
  132. package/dist/comments/runtime/auth.d.ts +1 -0
  133. package/dist/comments/runtime/auth.js +2 -0
  134. package/dist/comments/runtime.d.ts +1 -0
  135. package/dist/comments/runtime.js +2 -0
  136. package/dist/comments/server.d.ts +1 -0
  137. package/dist/comments/server.js +2 -0
  138. package/dist/comments-overlay/loader.BcGn0Hsk.js +1 -0
  139. package/dist/comments-overlay/overlay.D7vmaSrE.js +2 -0
  140. package/dist/comments.d.ts +1 -0
  141. package/dist/comments.js +2 -0
  142. package/dist/connections/agent.d.ts +1 -0
  143. package/dist/connections/agent.js +2 -0
  144. package/dist/connections/chatgpt.d.ts +1 -0
  145. package/dist/connections/chatgpt.js +2 -0
  146. package/dist/connections/google.d.ts +1 -0
  147. package/dist/connections/google.js +2 -0
  148. package/dist/connections/http.d.ts +1 -0
  149. package/dist/connections/http.js +2 -0
  150. package/dist/connections/server.d.ts +1 -0
  151. package/dist/connections/server.js +2 -0
  152. package/dist/connections.d.ts +1 -0
  153. package/dist/connections.js +2 -0
  154. package/dist/console/auth-client.d.ts +8 -0
  155. package/dist/console/auth-client.js +6 -0
  156. package/dist/console/auth-cloudflare-access.d.ts +2 -0
  157. package/dist/console/auth-cloudflare-access.js +116 -0
  158. package/dist/console/auth-inline.d.ts +6 -0
  159. package/dist/console/auth-inline.js +107 -0
  160. package/dist/console/auth.d.ts +2 -0
  161. package/dist/console/auth.js +2 -0
  162. package/dist/console/runtime/client/appearance.d.ts +62 -0
  163. package/dist/console/runtime/client/appearance.js +87 -0
  164. package/dist/console/runtime/client/auth-management.ts +81 -0
  165. package/dist/console/runtime/client/blob-media.d.ts +46 -0
  166. package/dist/console/runtime/client/blob-media.js +257 -0
  167. package/dist/console/runtime/client/build.d.ts +14 -0
  168. package/dist/console/runtime/client/build.js +68 -0
  169. package/dist/console/runtime/client/connections-management.d.ts +68 -0
  170. package/dist/console/runtime/client/connections-management.js +201 -0
  171. package/dist/console/runtime/client/documents.d.ts +430 -0
  172. package/dist/console/runtime/client/documents.js +501 -0
  173. package/dist/console/runtime/client/editor.d.ts +82 -0
  174. package/dist/console/runtime/client/editor.js +248 -0
  175. package/dist/console/runtime/client/env-groups.d.ts +28 -0
  176. package/dist/console/runtime/client/env-groups.js +39 -0
  177. package/dist/console/runtime/client/env-management.d.ts +20 -0
  178. package/dist/console/runtime/client/env-management.js +84 -0
  179. package/dist/console/runtime/client/env-status.d.ts +6 -0
  180. package/dist/console/runtime/client/env-status.js +10 -0
  181. package/dist/console/runtime/client/format.d.ts +32 -0
  182. package/dist/console/runtime/client/format.js +109 -0
  183. package/dist/console/runtime/client/invocation-deletion.d.ts +17 -0
  184. package/dist/console/runtime/client/invocation-deletion.js +25 -0
  185. package/dist/console/runtime/client/invocation.d.ts +28 -0
  186. package/dist/console/runtime/client/invocation.js +81 -0
  187. package/dist/console/runtime/client/live.d.ts +69 -0
  188. package/dist/console/runtime/client/live.js +165 -0
  189. package/dist/console/runtime/client/mcp.d.ts +9 -0
  190. package/dist/console/runtime/client/mcp.js +14 -0
  191. package/dist/console/runtime/client/media-library.d.ts +207 -0
  192. package/dist/console/runtime/client/media-library.js +243 -0
  193. package/dist/console/runtime/client/media-uploads.d.ts +33 -0
  194. package/dist/console/runtime/client/media-uploads.js +97 -0
  195. package/dist/console/runtime/client/media.d.ts +73 -0
  196. package/dist/console/runtime/client/media.js +13 -0
  197. package/dist/console/runtime/client/operation-view.d.ts +17 -0
  198. package/dist/console/runtime/client/operation-view.js +85 -0
  199. package/dist/console/runtime/client/presence.d.ts +102 -0
  200. package/dist/console/runtime/client/presence.js +269 -0
  201. package/dist/console/runtime/client/preview.d.ts +78 -0
  202. package/dist/console/runtime/client/preview.js +115 -0
  203. package/dist/console/runtime/client/problem.d.ts +19 -0
  204. package/dist/console/runtime/client/problem.js +59 -0
  205. package/dist/console/runtime/client/publish.d.ts +12 -0
  206. package/dist/console/runtime/client/publish.js +18 -0
  207. package/dist/console/runtime/client/rate-limit.d.ts +36 -0
  208. package/dist/console/runtime/client/rate-limit.js +96 -0
  209. package/dist/console/runtime/client/read-only.d.ts +9 -0
  210. package/dist/console/runtime/client/read-only.js +12 -0
  211. package/dist/console/runtime/client/request.d.ts +76 -0
  212. package/dist/console/runtime/client/request.js +471 -0
  213. package/dist/console/runtime/client/schedule-run.d.ts +13 -0
  214. package/dist/console/runtime/client/schedule-run.js +47 -0
  215. package/dist/console/runtime/client/schema-form.d.ts +2 -0
  216. package/dist/console/runtime/client/schema-form.js +296 -0
  217. package/dist/console/runtime/client/sections.d.ts +26 -0
  218. package/dist/console/runtime/client/sections.js +84 -0
  219. package/dist/console/runtime/client/sign-in.d.ts +21 -0
  220. package/dist/console/runtime/client/sign-in.js +16 -0
  221. package/dist/console/runtime/client/time.d.ts +30 -0
  222. package/dist/console/runtime/client/time.js +106 -0
  223. package/dist/console/runtime/client/toast.d.ts +39 -0
  224. package/dist/console/runtime/client/toast.js +35 -0
  225. package/dist/console/runtime/client/workflow.d.ts +20 -0
  226. package/dist/console/runtime/client/workflow.js +79 -0
  227. package/dist/console/runtime/components/console-agent-list.ts +61 -0
  228. package/dist/console/runtime/components/console-app.vue +1755 -0
  229. package/dist/console/runtime/components/console-auth-action.vue +239 -0
  230. package/dist/console/runtime/components/console-auth-activity.vue +166 -0
  231. package/dist/console/runtime/components/console-auth-chart.vue +102 -0
  232. package/dist/console/runtime/components/console-auth-detail.vue +406 -0
  233. package/dist/console/runtime/components/console-auth-event-list.vue +79 -0
  234. package/dist/console/runtime/components/console-auth-event-setup.vue +39 -0
  235. package/dist/console/runtime/components/console-auth-overview.vue +107 -0
  236. package/dist/console/runtime/components/console-auth-user-events.vue +65 -0
  237. package/dist/console/runtime/components/console-auth.vue +649 -0
  238. package/dist/console/runtime/components/console-blob-detail.vue +93 -0
  239. package/dist/console/runtime/components/console-blob.vue +146 -0
  240. package/dist/console/runtime/components/console-comark-component.vue +108 -0
  241. package/dist/console/runtime/components/console-connect-agent.vue +59 -0
  242. package/dist/console/runtime/components/console-connection-state.vue +43 -0
  243. package/dist/console/runtime/components/console-connection.ts +18 -0
  244. package/dist/console/runtime/components/console-connections-activity.vue +76 -0
  245. package/dist/console/runtime/components/console-connections-approvals.vue +169 -0
  246. package/dist/console/runtime/components/console-connections-details.vue +295 -0
  247. package/dist/console/runtime/components/console-connections.vue +296 -0
  248. package/dist/console/runtime/components/console-database-model.ts +264 -0
  249. package/dist/console/runtime/components/console-database.vue +634 -0
  250. package/dist/console/runtime/components/console-definitions.vue +506 -0
  251. package/dist/console/runtime/components/console-document-dashboard.vue +492 -0
  252. package/dist/console/runtime/components/console-document-diff.vue +43 -0
  253. package/dist/console/runtime/components/console-document-editor.vue +2605 -0
  254. package/dist/console/runtime/components/console-document-history.vue +118 -0
  255. package/dist/console/runtime/components/console-document-list.vue +577 -0
  256. package/dist/console/runtime/components/console-document-preview.vue +422 -0
  257. package/dist/console/runtime/components/console-document-settings.vue +108 -0
  258. package/dist/console/runtime/components/console-documents.vue +480 -0
  259. package/dist/console/runtime/components/console-env-access.vue +151 -0
  260. package/dist/console/runtime/components/console-env-activity.vue +89 -0
  261. package/dist/console/runtime/components/console-env-details.vue +68 -0
  262. package/dist/console/runtime/components/console-env-managed.vue +203 -0
  263. package/dist/console/runtime/components/console-env.vue +301 -0
  264. package/dist/console/runtime/components/console-frame.vue +255 -0
  265. package/dist/console/runtime/components/console-home.vue +627 -0
  266. package/dist/console/runtime/components/console-invocation-composer.vue +159 -0
  267. package/dist/console/runtime/components/console-kv.vue +537 -0
  268. package/dist/console/runtime/components/console-loading.vue +28 -0
  269. package/dist/console/runtime/components/console-mark.vue +5 -0
  270. package/dist/console/runtime/components/console-markdown-editor.vue +705 -0
  271. package/dist/console/runtime/components/console-media-browser.vue +986 -0
  272. package/dist/console/runtime/components/console-media-crops.vue +167 -0
  273. package/dist/console/runtime/components/console-media-detail.vue +282 -0
  274. package/dist/console/runtime/components/console-media-dialog.vue +74 -0
  275. package/dist/console/runtime/components/console-media-field.vue +185 -0
  276. package/dist/console/runtime/components/console-media-focal.vue +137 -0
  277. package/dist/console/runtime/components/console-media-library.vue +125 -0
  278. package/dist/console/runtime/components/console-media-move.vue +160 -0
  279. package/dist/console/runtime/components/console-media-picker.vue +167 -0
  280. package/dist/console/runtime/components/console-media-uploads.vue +72 -0
  281. package/dist/console/runtime/components/console-new-chat.ts +27 -0
  282. package/dist/console/runtime/components/console-operation-view.vue +114 -0
  283. package/dist/console/runtime/components/console-page-header.vue +50 -0
  284. package/dist/console/runtime/components/console-page-toolbar.vue +28 -0
  285. package/dist/console/runtime/components/console-presence-avatars.vue +73 -0
  286. package/dist/console/runtime/components/console-property-list.vue +36 -0
  287. package/dist/console/runtime/components/console-property-row.vue +58 -0
  288. package/dist/console/runtime/components/console-rail.vue +392 -0
  289. package/dist/console/runtime/components/console-rate-limit.vue +167 -0
  290. package/dist/console/runtime/components/console-relative-time.vue +74 -0
  291. package/dist/console/runtime/components/console-schema-field.vue +504 -0
  292. package/dist/console/runtime/components/console-schema-form.vue +77 -0
  293. package/dist/console/runtime/components/console-schema-list.vue +158 -0
  294. package/dist/console/runtime/components/console-search.vue +851 -0
  295. package/dist/console/runtime/components/console-section-icon.vue +21 -0
  296. package/dist/console/runtime/components/console-seo-panel.vue +261 -0
  297. package/dist/console/runtime/components/console-session-actions.vue +160 -0
  298. package/dist/console/runtime/components/console-session-bootstrap.ts +112 -0
  299. package/dist/console/runtime/components/console-session-cancel.vue +90 -0
  300. package/dist/console/runtime/components/console-session-code-language.ts +32 -0
  301. package/dist/console/runtime/components/console-session-code-preview.vue +94 -0
  302. package/dist/console/runtime/components/console-session-inspector.vue +763 -0
  303. package/dist/console/runtime/components/console-session-loading.vue +116 -0
  304. package/dist/console/runtime/components/console-session-navbar.vue +159 -0
  305. package/dist/console/runtime/components/console-session-trace-model.ts +414 -0
  306. package/dist/console/runtime/components/console-session-trace.vue +693 -0
  307. package/dist/console/runtime/components/console-session.css +1745 -0
  308. package/dist/console/runtime/components/console-setup-hint.vue +20 -0
  309. package/dist/console/runtime/components/console-state.vue +165 -0
  310. package/dist/console/runtime/components/console-status.vue +25 -0
  311. package/dist/console/runtime/components/console-toaster.vue +66 -0
  312. package/dist/console/runtime/components/console-usage-chart.vue +208 -0
  313. package/dist/console/runtime/components/console-usage-model-detail.vue +144 -0
  314. package/dist/console/runtime/components/console-usage-model.ts +368 -0
  315. package/dist/console/runtime/components/console-usage-share-bar.vue +48 -0
  316. package/dist/console/runtime/components/console-usage.vue +879 -0
  317. package/dist/console/runtime/components/console-value.vue +35 -0
  318. package/dist/console/runtime/components/console-workflow-actions.vue +183 -0
  319. package/dist/console/runtime/components/console-workspace-file.ts +12 -0
  320. package/dist/console/runtime/components/console-workspace-history.vue +77 -0
  321. package/dist/console/runtime/components/console-wrap.ts +10 -0
  322. package/dist/console/runtime/components/invocation/agent-capability-inspector.ts +166 -0
  323. package/dist/console/runtime/components/invocation/agent-invocation-list.ts +276 -0
  324. package/dist/console/runtime/components/invocation/agent-invocation-timeline.ts +120 -0
  325. package/dist/console/runtime/components/invocation/agent-invocation.ts +1968 -0
  326. package/dist/console/runtime/components/invocation/index.ts +8 -0
  327. package/dist/console/runtime/components/invocation/internal/brand-icons.ts +65 -0
  328. package/dist/console/runtime/components/invocation/internal/channel-icon.ts +51 -0
  329. package/dist/console/runtime/components/invocation/internal/invocation-activity.ts +663 -0
  330. package/dist/console/runtime/components/invocation/internal/invocation-brand.ts +148 -0
  331. package/dist/console/runtime/components/invocation/internal/invocation-conversation.ts +162 -0
  332. package/dist/console/runtime/components/invocation/internal/payload-text.ts +29 -0
  333. package/dist/console/runtime/components/invocation/internal/runtime-type.ts +61 -0
  334. package/dist/console/runtime/components/invocation/internal/url.ts +8 -0
  335. package/dist/console/runtime/components/invocation/invocation-display.ts +56 -0
  336. package/dist/console/runtime/components/invocation/invocation.css +2748 -0
  337. package/dist/console/runtime/components/invocation/nuxt/AgentInvocation.ts +1 -0
  338. package/dist/console/runtime/components/invocation/nuxt/AgentInvocationInspector.ts +1 -0
  339. package/dist/console/runtime/components/invocation/nuxt/AgentInvocationList.ts +1 -0
  340. package/dist/console/runtime/components/invocation/types.ts +89 -0
  341. package/dist/console/runtime/console-route.d.ts +16 -0
  342. package/dist/console/runtime/console-route.js +49 -0
  343. package/dist/console/runtime/definitions.d.ts +2 -0
  344. package/dist/console/runtime/definitions.js +294 -0
  345. package/dist/console/runtime/page/loader.js +22 -0
  346. package/dist/console/runtime/public/console/assets/console-app-CUTwptGe.css +1 -0
  347. package/dist/console/runtime/public/console/assets/console-auth-B_XoOPaB.css +1 -0
  348. package/dist/console/runtime/public/console/assets/console-database-BbZ7J_Mh.css +1 -0
  349. package/dist/console/runtime/public/console/assets/console-documents-BV1adqXa.css +1 -0
  350. package/dist/console/runtime/public/console/assets/console-home-DYNL7OZH.css +1 -0
  351. package/dist/console/runtime/public/console/assets/console-logs-BJxR8DcR.css +1 -0
  352. package/dist/console/runtime/public/console/assets/console-media-browser-Dqm8kLKS.css +1 -0
  353. package/dist/console/runtime/public/console/assets/console-search-DnK-eWOO.css +1 -0
  354. package/dist/console/runtime/public/console/assets/katex-BztabbvB.css +1 -0
  355. package/dist/console/runtime/public/console/chunks/Alert-A44KLyli.js +111 -0
  356. package/dist/console/runtime/public/console/chunks/Button-B-5IVAVN.js +1 -0
  357. package/dist/console/runtime/public/console/chunks/Checkbox-B6MMrqB7.js +1 -0
  358. package/dist/console/runtime/public/console/chunks/DashboardSidebar-D1tMg0lD.js +1 -0
  359. package/dist/console/runtime/public/console/chunks/Empty-DSuwpzRi.js +1 -0
  360. package/dist/console/runtime/public/console/chunks/FormField-C1QuQLPv.js +1 -0
  361. package/dist/console/runtime/public/console/chunks/Icon-DDNuGxPl.js +1 -0
  362. package/dist/console/runtime/public/console/chunks/Modal-BCfHPiul.js +1 -0
  363. package/dist/console/runtime/public/console/chunks/Popover-BIzgqwDJ.js +1 -0
  364. package/dist/console/runtime/public/console/chunks/RovingFocusItem-BQiInss6.js +1 -0
  365. package/dist/console/runtime/public/console/chunks/Select-CLtjSqJ4.js +1 -0
  366. package/dist/console/runtime/public/console/chunks/Slideover-CHzYTMLO.js +1 -0
  367. package/dist/console/runtime/public/console/chunks/Switch-0VgVgteh.js +1 -0
  368. package/dist/console/runtime/public/console/chunks/Table-dr_6Rarq.js +4 -0
  369. package/dist/console/runtime/public/console/chunks/Tabs-BbKlHRNF.js +1 -0
  370. package/dist/console/runtime/public/console/chunks/Textarea-DEoHK30I.js +1 -0
  371. package/dist/console/runtime/public/console/chunks/abap-CLvhMVsD.js +1 -0
  372. package/dist/console/runtime/public/console/chunks/actionscript-3-Cs6JJXT5.js +1 -0
  373. package/dist/console/runtime/public/console/chunks/ada-X3Y2mlq2.js +1 -0
  374. package/dist/console/runtime/public/console/chunks/ahk-DwADkxyd.js +1 -0
  375. package/dist/console/runtime/public/console/chunks/ahk2-_6rzW9BS.js +1 -0
  376. package/dist/console/runtime/public/console/chunks/andromeeda-BASpqCeJ-vGVdxbeo.js +1 -0
  377. package/dist/console/runtime/public/console/chunks/andromeeda-vGVdxbeo.js +1 -0
  378. package/dist/console/runtime/public/console/chunks/angular-html-_r0QlJAV.js +1 -0
  379. package/dist/console/runtime/public/console/chunks/angular-ts-BdSNcv2x.js +1 -0
  380. package/dist/console/runtime/public/console/chunks/apache-U0d_L8uA.js +1 -0
  381. package/dist/console/runtime/public/console/chunks/apex-KFGFyKwG.js +1 -0
  382. package/dist/console/runtime/public/console/chunks/apl-CD0B-dgl.js +1 -0
  383. package/dist/console/runtime/public/console/chunks/applescript-CCn79oCD.js +1 -0
  384. package/dist/console/runtime/public/console/chunks/ara-4CJ0cIlV.js +1 -0
  385. package/dist/console/runtime/public/console/chunks/asciidoc-SCjQUq34.js +1 -0
  386. package/dist/console/runtime/public/console/chunks/asm-Cmm7eHzH.js +1 -0
  387. package/dist/console/runtime/public/console/chunks/astro-BuBCLsVb.js +1 -0
  388. package/dist/console/runtime/public/console/chunks/aurora-x-CDeNXAV0.js +1 -0
  389. package/dist/console/runtime/public/console/chunks/aurora-x-DugsLcii-CDeNXAV0.js +1 -0
  390. package/dist/console/runtime/public/console/chunks/awk-BWXHIvNe.js +1 -0
  391. package/dist/console/runtime/public/console/chunks/ayu-dark-BT3qdi3o-DluEY0Gj.js +1 -0
  392. package/dist/console/runtime/public/console/chunks/ayu-dark-DluEY0Gj.js +1 -0
  393. package/dist/console/runtime/public/console/chunks/ayu-light-BVZyHoh9-C3h-C4tm.js +1 -0
  394. package/dist/console/runtime/public/console/chunks/ayu-light-C3h-C4tm.js +1 -0
  395. package/dist/console/runtime/public/console/chunks/ayu-mirage-Bqwy1Gya.js +1 -0
  396. package/dist/console/runtime/public/console/chunks/ayu-mirage-XFwUVZQZ-Bqwy1Gya.js +1 -0
  397. package/dist/console/runtime/public/console/chunks/ballerina-B7ZEbQpA.js +1 -0
  398. package/dist/console/runtime/public/console/chunks/bat-qdxAdBWQ.js +1 -0
  399. package/dist/console/runtime/public/console/chunks/beancount-C2IN4Vk8.js +1 -0
  400. package/dist/console/runtime/public/console/chunks/berry-DKpUyyne.js +1 -0
  401. package/dist/console/runtime/public/console/chunks/bibtex-Ci_nEsc7.js +1 -0
  402. package/dist/console/runtime/public/console/chunks/bicep-CUHmPFLl.js +1 -0
  403. package/dist/console/runtime/public/console/chunks/bird2-CYIUgYqB.js +1 -0
  404. package/dist/console/runtime/public/console/chunks/blade-3tdbLOEu.js +1 -0
  405. package/dist/console/runtime/public/console/chunks/bsl-_VjlB9mv.js +1 -0
  406. package/dist/console/runtime/public/console/chunks/c-C1MtNG6h.js +1 -0
  407. package/dist/console/runtime/public/console/chunks/c3-D0apG41V.js +1 -0
  408. package/dist/console/runtime/public/console/chunks/cadence-CQ2zXKGN.js +1 -0
  409. package/dist/console/runtime/public/console/chunks/cairo-DLTphjLi.js +1 -0
  410. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-C9Q5zVZY.js +1 -0
  411. package/dist/console/runtime/public/console/chunks/catppuccin-frappe-D20KODDN-C9Q5zVZY.js +1 -0
  412. package/dist/console/runtime/public/console/chunks/catppuccin-latte-CtsyrtPq.js +1 -0
  413. package/dist/console/runtime/public/console/chunks/catppuccin-latte-eGLVHIUJ-CtsyrtPq.js +1 -0
  414. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-R8nAf1vR.js +1 -0
  415. package/dist/console/runtime/public/console/chunks/catppuccin-macchiato-bQGch4PY-R8nAf1vR.js +1 -0
  416. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-Bes8-0Mr-DjuaAJKi.js +1 -0
  417. package/dist/console/runtime/public/console/chunks/catppuccin-mocha-DjuaAJKi.js +1 -0
  418. package/dist/console/runtime/public/console/chunks/chapel-BzgYECs1.js +1 -0
  419. package/dist/console/runtime/public/console/chunks/clarity-CtfBBspg.js +1 -0
  420. package/dist/console/runtime/public/console/chunks/clojure-DqKBuwfJ.js +1 -0
  421. package/dist/console/runtime/public/console/chunks/cmake-Bj61d0ZC.js +1 -0
  422. package/dist/console/runtime/public/console/chunks/cobol-DObdkphG.js +1 -0
  423. package/dist/console/runtime/public/console/chunks/code-view-J4OsgEdh-B89t0LaT.js +2 -0
  424. package/dist/console/runtime/public/console/chunks/codeowners-C8r90Shi.js +1 -0
  425. package/dist/console/runtime/public/console/chunks/codeql-oeQT6MSM.js +1 -0
  426. package/dist/console/runtime/public/console/chunks/coffee-C94_xO1a.js +1 -0
  427. package/dist/console/runtime/public/console/chunks/common-lisp-Cv5bFMCO.js +1 -0
  428. package/dist/console/runtime/public/console/chunks/console-app-C50IIheA.js +85 -0
  429. package/dist/console/runtime/public/console/chunks/console-auth-D4zc7Haw.js +2 -0
  430. package/dist/console/runtime/public/console/chunks/console-blob-CAJwJy4D.js +1 -0
  431. package/dist/console/runtime/public/console/chunks/console-channels-DZQwinKY.js +1 -0
  432. package/dist/console/runtime/public/console/chunks/console-connections-Buk5WGxr.js +6 -0
  433. package/dist/console/runtime/public/console/chunks/console-database-CKc8H8FN.js +1 -0
  434. package/dist/console/runtime/public/console/chunks/console-definitions-NriWGCYI.js +1 -0
  435. package/dist/console/runtime/public/console/chunks/console-documents-BnBRfM_7.js +314 -0
  436. package/dist/console/runtime/public/console/chunks/console-env-CLmYhbox.js +1 -0
  437. package/dist/console/runtime/public/console/chunks/console-home-smb5yMSF.js +2 -0
  438. package/dist/console/runtime/public/console/chunks/console-kv-B1tLQHM9.js +1 -0
  439. package/dist/console/runtime/public/console/chunks/console-logs-CjxEiek5.js +1 -0
  440. package/dist/console/runtime/public/console/chunks/console-media-browser-o4BQu9KZ.js +1 -0
  441. package/dist/console/runtime/public/console/chunks/console-operation-view-CGxpuMSQ.js +1 -0
  442. package/dist/console/runtime/public/console/chunks/console-page-header-DDAcJBpl.js +1 -0
  443. package/dist/console/runtime/public/console/chunks/console-page-toolbar-CvYwaKTR.js +1 -0
  444. package/dist/console/runtime/public/console/chunks/console-property-list-96rL7wos.js +1 -0
  445. package/dist/console/runtime/public/console/chunks/console-relative-time-RB6-yiul.js +1 -0
  446. package/dist/console/runtime/public/console/chunks/console-search-D4EVLUeN.js +5 -0
  447. package/dist/console/runtime/public/console/chunks/console-setup-hint-8TRzgkby.js +1 -0
  448. package/dist/console/runtime/public/console/chunks/console-status-DH5NgNAQ.js +1 -0
  449. package/dist/console/runtime/public/console/chunks/coq-CGaSfhwR.js +1 -0
  450. package/dist/console/runtime/public/console/chunks/core-CD3So4L1.js +12 -0
  451. package/dist/console/runtime/public/console/chunks/cpp-DMjdIJj9.js +1 -0
  452. package/dist/console/runtime/public/console/chunks/crystal-Czr8rWWf.js +1 -0
  453. package/dist/console/runtime/public/console/chunks/csharp-dmMxLVLW.js +1 -0
  454. package/dist/console/runtime/public/console/chunks/css-B6l3ejVl.js +1 -0
  455. package/dist/console/runtime/public/console/chunks/css-BDmUYLyz.js +1 -0
  456. package/dist/console/runtime/public/console/chunks/csv-Dx-8-gkx.js +1 -0
  457. package/dist/console/runtime/public/console/chunks/cue-CE9AQfxI.js +1 -0
  458. package/dist/console/runtime/public/console/chunks/cypher-ClKdZ_lG.js +1 -0
  459. package/dist/console/runtime/public/console/chunks/d-qD-0Kul2.js +1 -0
  460. package/dist/console/runtime/public/console/chunks/dark-plus-BGuiqa1B-Cs2F2srj.js +1 -0
  461. package/dist/console/runtime/public/console/chunks/dark-plus-Cs2F2srj.js +1 -0
  462. package/dist/console/runtime/public/console/chunks/dart-CHZY9Xhz.js +1 -0
  463. package/dist/console/runtime/public/console/chunks/dax-BkyTk9wS.js +1 -0
  464. package/dist/console/runtime/public/console/chunks/defu-DSJ9I3OW.js +1 -0
  465. package/dist/console/runtime/public/console/chunks/desktop-Dlh5hvp9.js +1 -0
  466. package/dist/console/runtime/public/console/chunks/diff-woXpYk--.js +1 -0
  467. package/dist/console/runtime/public/console/chunks/dist-Cfws9tG7.js +1 -0
  468. package/dist/console/runtime/public/console/chunks/docker-sj3NF4m5.js +1 -0
  469. package/dist/console/runtime/public/console/chunks/dockerfile-C147k2YT.js +1 -0
  470. package/dist/console/runtime/public/console/chunks/dotenv-CuH5my32.js +1 -0
  471. package/dist/console/runtime/public/console/chunks/dracula-0CVA2XY5-BHWKrbxM.js +1 -0
  472. package/dist/console/runtime/public/console/chunks/dracula-BHWKrbxM.js +1 -0
  473. package/dist/console/runtime/public/console/chunks/dracula-soft-5eyTD99u.js +1 -0
  474. package/dist/console/runtime/public/console/chunks/dracula-soft-Dk9bpbVU-5eyTD99u.js +1 -0
  475. package/dist/console/runtime/public/console/chunks/dream-maker-DW3nJb8Q.js +1 -0
  476. package/dist/console/runtime/public/console/chunks/edge-D8F7z1FE.js +1 -0
  477. package/dist/console/runtime/public/console/chunks/elixir-DH2VBix4.js +1 -0
  478. package/dist/console/runtime/public/console/chunks/elm-D2qVkg3B.js +1 -0
  479. package/dist/console/runtime/public/console/chunks/emacs-lisp-DR2vtWaj.js +1 -0
  480. package/dist/console/runtime/public/console/chunks/engine-compile-DS_05kfr.js +141 -0
  481. package/dist/console/runtime/public/console/chunks/engine-javascript-Dymre4AG.js +1 -0
  482. package/dist/console/runtime/public/console/chunks/env-management-CNydNlRX.js +1 -0
  483. package/dist/console/runtime/public/console/chunks/erb-B_-2w0Bg.js +1 -0
  484. package/dist/console/runtime/public/console/chunks/erlang-Cphh6RMH.js +1 -0
  485. package/dist/console/runtime/public/console/chunks/everforest-dark-CRjTbhh5-sB-x3p7T.js +1 -0
  486. package/dist/console/runtime/public/console/chunks/everforest-dark-sB-x3p7T.js +1 -0
  487. package/dist/console/runtime/public/console/chunks/everforest-light-CEeYFLn8-Df2xbC6M.js +1 -0
  488. package/dist/console/runtime/public/console/chunks/everforest-light-Df2xbC6M.js +1 -0
  489. package/dist/console/runtime/public/console/chunks/fennel-DQxkIbk2.js +1 -0
  490. package/dist/console/runtime/public/console/chunks/field-a8AvhnKh-Da49LBBi.js +1 -0
  491. package/dist/console/runtime/public/console/chunks/file-tree-2PXztdQ7.js +1266 -0
  492. package/dist/console/runtime/public/console/chunks/fish-BJitypiv.js +1 -0
  493. package/dist/console/runtime/public/console/chunks/fluent-C03EYrpw.js +1 -0
  494. package/dist/console/runtime/public/console/chunks/format-Bm0hCiYP.js +1 -0
  495. package/dist/console/runtime/public/console/chunks/fortran-fixed-form-DEKoE2YW.js +1 -0
  496. package/dist/console/runtime/public/console/chunks/fortran-free-form-CYNrtFtB.js +1 -0
  497. package/dist/console/runtime/public/console/chunks/fsharp-D13ZGOAj.js +1 -0
  498. package/dist/console/runtime/public/console/chunks/gdresource-xMC7jr7x.js +1 -0
  499. package/dist/console/runtime/public/console/chunks/gdscript-DYvRD3hg.js +1 -0
  500. package/dist/console/runtime/public/console/chunks/gdshader-CBce3t8t.js +1 -0
  501. package/dist/console/runtime/public/console/chunks/genie-CV2tkWYe.js +1 -0
  502. package/dist/console/runtime/public/console/chunks/gherkin-DExj1W_8.js +1 -0
  503. package/dist/console/runtime/public/console/chunks/git-commit-BSykSTBG.js +1 -0
  504. package/dist/console/runtime/public/console/chunks/git-rebase-CNMiHM3o.js +1 -0
  505. package/dist/console/runtime/public/console/chunks/github-dark-BXgKmOw_-C-LZuMrd.js +1 -0
  506. package/dist/console/runtime/public/console/chunks/github-dark-C-LZuMrd.js +1 -0
  507. package/dist/console/runtime/public/console/chunks/github-dark-default-DXG-b-1a.js +1 -0
  508. package/dist/console/runtime/public/console/chunks/github-dark-default-Dk3Gj2bt.js +1 -0
  509. package/dist/console/runtime/public/console/chunks/github-dark-default-DzJQXksd-DXG-b-1a.js +1 -0
  510. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-B1pEmGtS-Bx1FflLF.js +1 -0
  511. package/dist/console/runtime/public/console/chunks/github-dark-dimmed-Bx1FflLF.js +1 -0
  512. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-B_tTalzw.js +1 -0
  513. package/dist/console/runtime/public/console/chunks/github-dark-high-contrast-BkHIa6jc-B_tTalzw.js +1 -0
  514. package/dist/console/runtime/public/console/chunks/github-light-BKRlUbaB-EUqPIrTm.js +1 -0
  515. package/dist/console/runtime/public/console/chunks/github-light-EUqPIrTm.js +1 -0
  516. package/dist/console/runtime/public/console/chunks/github-light-default-BU3eYkzs-BXViO-2h.js +1 -0
  517. package/dist/console/runtime/public/console/chunks/github-light-default-BXViO-2h.js +1 -0
  518. package/dist/console/runtime/public/console/chunks/github-light-default-CC-h3suv.js +1 -0
  519. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B3MumDcI-B68TUdTA.js +1 -0
  520. package/dist/console/runtime/public/console/chunks/github-light-high-contrast-B68TUdTA.js +1 -0
  521. package/dist/console/runtime/public/console/chunks/gleam-CSRkHgEL.js +1 -0
  522. package/dist/console/runtime/public/console/chunks/glimmer-js-CwoxQgjc.js +1 -0
  523. package/dist/console/runtime/public/console/chunks/glimmer-ts-DpQshMGP.js +1 -0
  524. package/dist/console/runtime/public/console/chunks/glsl-vvkIs2ij.js +1 -0
  525. package/dist/console/runtime/public/console/chunks/gn-CAXYAgV-.js +1 -0
  526. package/dist/console/runtime/public/console/chunks/gnuplot-7GGW24-e.js +1 -0
  527. package/dist/console/runtime/public/console/chunks/go-rLFTqkRN.js +1 -0
  528. package/dist/console/runtime/public/console/chunks/graphql-ChhlowTj.js +1 -0
  529. package/dist/console/runtime/public/console/chunks/groovy-CacY0gHj.js +1 -0
  530. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-B0ecF443-C820rvS2.js +1 -0
  531. package/dist/console/runtime/public/console/chunks/gruvbox-dark-hard-C820rvS2.js +1 -0
  532. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BPjhmG05.js +1 -0
  533. package/dist/console/runtime/public/console/chunks/gruvbox-dark-medium-BQnpC39k-BPjhmG05.js +1 -0
  534. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-DFZUgESr-MrdJrrXF.js +1 -0
  535. package/dist/console/runtime/public/console/chunks/gruvbox-dark-soft-MrdJrrXF.js +1 -0
  536. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-BC_s9l72.js +1 -0
  537. package/dist/console/runtime/public/console/chunks/gruvbox-light-hard-CuB_LOJr-BC_s9l72.js +1 -0
  538. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-BAWPOn9u.js +1 -0
  539. package/dist/console/runtime/public/console/chunks/gruvbox-light-medium-idDHgxjs-BAWPOn9u.js +1 -0
  540. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-BSMLrYjP.js +1 -0
  541. package/dist/console/runtime/public/console/chunks/gruvbox-light-soft-CfWH49MY-BSMLrYjP.js +1 -0
  542. package/dist/console/runtime/public/console/chunks/hack--5hWxtov.js +1 -0
  543. package/dist/console/runtime/public/console/chunks/haml-DOOWKVAn.js +1 -0
  544. package/dist/console/runtime/public/console/chunks/handlebars-CrRNKWA2.js +1 -0
  545. package/dist/console/runtime/public/console/chunks/haskell-D8IpX4py.js +1 -0
  546. package/dist/console/runtime/public/console/chunks/haxe-C8oCnwJJ.js +1 -0
  547. package/dist/console/runtime/public/console/chunks/hcl-Dh228itO.js +1 -0
  548. package/dist/console/runtime/public/console/chunks/hjson-CxZEssPk.js +1 -0
  549. package/dist/console/runtime/public/console/chunks/hlsl-Cvrh5tZx.js +1 -0
  550. package/dist/console/runtime/public/console/chunks/horizon-CE9ld1lL.js +1 -0
  551. package/dist/console/runtime/public/console/chunks/horizon-bright-Ba6M8QSV-DSNQnXHK.js +1 -0
  552. package/dist/console/runtime/public/console/chunks/horizon-bright-DSNQnXHK.js +1 -0
  553. package/dist/console/runtime/public/console/chunks/horizon-h92C5OlZ-CE9ld1lL.js +1 -0
  554. package/dist/console/runtime/public/console/chunks/houston-CsvMBhTu.js +1 -0
  555. package/dist/console/runtime/public/console/chunks/houston-EQnPegWq-CsvMBhTu.js +1 -0
  556. package/dist/console/runtime/public/console/chunks/html-DrTLqG4V.js +1 -0
  557. package/dist/console/runtime/public/console/chunks/html-DwfkhSwv.js +1 -0
  558. package/dist/console/runtime/public/console/chunks/html-derivative-JoBPPO4R.js +1 -0
  559. package/dist/console/runtime/public/console/chunks/http-DKXz4J4h.js +1 -0
  560. package/dist/console/runtime/public/console/chunks/hurl-m2MDTJJI.js +1 -0
  561. package/dist/console/runtime/public/console/chunks/hxml-Dcm88srW.js +1 -0
  562. package/dist/console/runtime/public/console/chunks/hy-CZbG8q4J.js +1 -0
  563. package/dist/console/runtime/public/console/chunks/icons-CDKEwnTx.js +1 -0
  564. package/dist/console/runtime/public/console/chunks/imba-DsUTQ-LC.js +1 -0
  565. package/dist/console/runtime/public/console/chunks/ini-B5eOa1yu.js +1 -0
  566. package/dist/console/runtime/public/console/chunks/java-DJ6V61UG.js +1 -0
  567. package/dist/console/runtime/public/console/chunks/javascript-DOney_iy.js +1 -0
  568. package/dist/console/runtime/public/console/chunks/javascript-DhBmaPc1.js +1 -0
  569. package/dist/console/runtime/public/console/chunks/jinja-CywE_Am-.js +1 -0
  570. package/dist/console/runtime/public/console/chunks/jison-D8DWHhWo.js +1 -0
  571. package/dist/console/runtime/public/console/chunks/json-B6nR7qG1.js +1 -0
  572. package/dist/console/runtime/public/console/chunks/json-D0JmQrvp.js +1 -0
  573. package/dist/console/runtime/public/console/chunks/json5-BR5RXkoi.js +1 -0
  574. package/dist/console/runtime/public/console/chunks/jsonc-CYpm1nAK.js +1 -0
  575. package/dist/console/runtime/public/console/chunks/jsonc-D4AqO_oZ.js +1 -0
  576. package/dist/console/runtime/public/console/chunks/jsonl-CmCQp5Yx.js +1 -0
  577. package/dist/console/runtime/public/console/chunks/jsonnet-CJTPZ8u_.js +1 -0
  578. package/dist/console/runtime/public/console/chunks/jssm-DXw9l8Rf.js +1 -0
  579. package/dist/console/runtime/public/console/chunks/jsx-Dro3SMhn.js +1 -0
  580. package/dist/console/runtime/public/console/chunks/jsx-_Ptt0Qo0.js +1 -0
  581. package/dist/console/runtime/public/console/chunks/julia-CruTRp58.js +1 -0
  582. package/dist/console/runtime/public/console/chunks/just-aBPtXuIr.js +1 -0
  583. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-Bozd7klA.js +1 -0
  584. package/dist/console/runtime/public/console/chunks/kanagawa-dragon-DgDvwi3B-Bozd7klA.js +1 -0
  585. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BgoQro20-BmuOG9ZW.js +1 -0
  586. package/dist/console/runtime/public/console/chunks/kanagawa-lotus-BmuOG9ZW.js +1 -0
  587. package/dist/console/runtime/public/console/chunks/kanagawa-wave-BML5mF2J.js +1 -0
  588. package/dist/console/runtime/public/console/chunks/kanagawa-wave-DgXEowHs-BML5mF2J.js +1 -0
  589. package/dist/console/runtime/public/console/chunks/katex-CF6MVAvO.js +257 -0
  590. package/dist/console/runtime/public/console/chunks/kdl-CsD5j6eV.js +1 -0
  591. package/dist/console/runtime/public/console/chunks/kotlin-DhhofPvG.js +1 -0
  592. package/dist/console/runtime/public/console/chunks/kusto-C7mF5XQf.js +1 -0
  593. package/dist/console/runtime/public/console/chunks/laserwave-C_8bwKvT.js +1 -0
  594. package/dist/console/runtime/public/console/chunks/laserwave-IxBH_3yW-C_8bwKvT.js +1 -0
  595. package/dist/console/runtime/public/console/chunks/latex-DV9xWg1U.js +1 -0
  596. package/dist/console/runtime/public/console/chunks/lean-CewbzKMR.js +1 -0
  597. package/dist/console/runtime/public/console/chunks/less-DVTAwKKz.js +1 -0
  598. package/dist/console/runtime/public/console/chunks/light-plus-DVQuIRkW.js +1 -0
  599. package/dist/console/runtime/public/console/chunks/light-plus-S8JBx6is-DVQuIRkW.js +1 -0
  600. package/dist/console/runtime/public/console/chunks/liquid-B62JT9qD.js +1 -0
  601. package/dist/console/runtime/public/console/chunks/llvm-DqHOMS-s.js +1 -0
  602. package/dist/console/runtime/public/console/chunks/log-BNLmms1o.js +1 -0
  603. package/dist/console/runtime/public/console/chunks/logo-Cluzi2Zq.js +1 -0
  604. package/dist/console/runtime/public/console/chunks/lua-939mH6Rk.js +1 -0
  605. package/dist/console/runtime/public/console/chunks/luau-VGWVLoqX.js +1 -0
  606. package/dist/console/runtime/public/console/chunks/make-Dixweg8N.js +1 -0
  607. package/dist/console/runtime/public/console/chunks/make-PPdVpZzp.js +1 -0
  608. package/dist/console/runtime/public/console/chunks/markdown-BK4fiefF.js +1 -0
  609. package/dist/console/runtime/public/console/chunks/markdown-BYOwaDjH.js +1 -0
  610. package/dist/console/runtime/public/console/chunks/marko-BjHTe8yB.js +1 -0
  611. package/dist/console/runtime/public/console/chunks/material-theme-Bm3Qr25_.js +1 -0
  612. package/dist/console/runtime/public/console/chunks/material-theme-D1f3HBq--Bm3Qr25_.js +1 -0
  613. package/dist/console/runtime/public/console/chunks/material-theme-darker-2IIEA8gg.js +1 -0
  614. package/dist/console/runtime/public/console/chunks/material-theme-darker-ExzYhT0j-2IIEA8gg.js +1 -0
  615. package/dist/console/runtime/public/console/chunks/material-theme-lighter-D6gH9nnA-uhdI0v04.js +1 -0
  616. package/dist/console/runtime/public/console/chunks/material-theme-lighter-uhdI0v04.js +1 -0
  617. package/dist/console/runtime/public/console/chunks/material-theme-ocean-CHQ94UKr.js +1 -0
  618. package/dist/console/runtime/public/console/chunks/material-theme-ocean-D1w5BPAa-CHQ94UKr.js +1 -0
  619. package/dist/console/runtime/public/console/chunks/material-theme-palenight-B5W6OYN7.js +1 -0
  620. package/dist/console/runtime/public/console/chunks/material-theme-palenight-CkqWmVpF-B5W6OYN7.js +1 -0
  621. package/dist/console/runtime/public/console/chunks/matlab-D7qyCx1q.js +1 -0
  622. package/dist/console/runtime/public/console/chunks/mdc-Dsg_kn4_.js +1 -0
  623. package/dist/console/runtime/public/console/chunks/mdx-DQZ5AkYe.js +1 -0
  624. package/dist/console/runtime/public/console/chunks/mdx-l4Hs_llf.js +1 -0
  625. package/dist/console/runtime/public/console/chunks/mermaid-BxpfTIzt.js +1 -0
  626. package/dist/console/runtime/public/console/chunks/min-dark-BSWPekZh.js +1 -0
  627. package/dist/console/runtime/public/console/chunks/min-dark-npsJH98j-BSWPekZh.js +1 -0
  628. package/dist/console/runtime/public/console/chunks/min-light-DDpmG2fV.js +1 -0
  629. package/dist/console/runtime/public/console/chunks/min-light-DUk1XsVt-DDpmG2fV.js +1 -0
  630. package/dist/console/runtime/public/console/chunks/mipsasm-BMqwQI7S.js +1 -0
  631. package/dist/console/runtime/public/console/chunks/mojo-fg40_ntQ.js +1 -0
  632. package/dist/console/runtime/public/console/chunks/monokai-BscAjiQZ.js +1 -0
  633. package/dist/console/runtime/public/console/chunks/monokai-CfFRWUNl-BscAjiQZ.js +1 -0
  634. package/dist/console/runtime/public/console/chunks/moonbit-D9W784E_.js +1 -0
  635. package/dist/console/runtime/public/console/chunks/move-BYnGhZoM.js +1 -0
  636. package/dist/console/runtime/public/console/chunks/narrat-_X_XdTYD.js +1 -0
  637. package/dist/console/runtime/public/console/chunks/nextflow-CSgcYZcx.js +1 -0
  638. package/dist/console/runtime/public/console/chunks/nextflow-groovy-D7IRt6Pp.js +1 -0
  639. package/dist/console/runtime/public/console/chunks/nginx-H6FvQZhW.js +1 -0
  640. package/dist/console/runtime/public/console/chunks/night-owl-BS7V-av_-DhmEMT88.js +1 -0
  641. package/dist/console/runtime/public/console/chunks/night-owl-DhmEMT88.js +1 -0
  642. package/dist/console/runtime/public/console/chunks/night-owl-light-CZtRawYE-eJ-hLW7d.js +1 -0
  643. package/dist/console/runtime/public/console/chunks/night-owl-light-eJ-hLW7d.js +1 -0
  644. package/dist/console/runtime/public/console/chunks/nim-C7z2AtKH.js +1 -0
  645. package/dist/console/runtime/public/console/chunks/nix-IvuFDN5E.js +1 -0
  646. package/dist/console/runtime/public/console/chunks/nord-BFh54Nqz-Cb4Vim4T.js +1 -0
  647. package/dist/console/runtime/public/console/chunks/nord-Cb4Vim4T.js +1 -0
  648. package/dist/console/runtime/public/console/chunks/nsis-CjNLYCLg.js +1 -0
  649. package/dist/console/runtime/public/console/chunks/nushell--0fT3PI1.js +1 -0
  650. package/dist/console/runtime/public/console/chunks/objective-c-D1A_Heim.js +1 -0
  651. package/dist/console/runtime/public/console/chunks/objective-cpp-BsSzOQcm.js +1 -0
  652. package/dist/console/runtime/public/console/chunks/ocaml-O90oeIOV.js +1 -0
  653. package/dist/console/runtime/public/console/chunks/odin-B1RWQWA5.js +1 -0
  654. package/dist/console/runtime/public/console/chunks/one-dark-pro-C6YyR8OD.js +1 -0
  655. package/dist/console/runtime/public/console/chunks/one-dark-pro-zDovGosB-C6YyR8OD.js +1 -0
  656. package/dist/console/runtime/public/console/chunks/one-light-D7Lr4KcI.js +1 -0
  657. package/dist/console/runtime/public/console/chunks/one-light-gmHK3iK6-D7Lr4KcI.js +1 -0
  658. package/dist/console/runtime/public/console/chunks/openscad-BUDT5pXO.js +1 -0
  659. package/dist/console/runtime/public/console/chunks/org-DYUOjVHR.js +1 -0
  660. package/dist/console/runtime/public/console/chunks/pascal-4ZHwLPI5.js +1 -0
  661. package/dist/console/runtime/public/console/chunks/patch-diff-CD7Eu2gO.js +1 -0
  662. package/dist/console/runtime/public/console/chunks/perl-BAFITj1w.js +1 -0
  663. package/dist/console/runtime/public/console/chunks/php-C1opCiHJ.js +1 -0
  664. package/dist/console/runtime/public/console/chunks/pierre-code-view-T7V67hwT-XcPks0Ko.js +168 -0
  665. package/dist/console/runtime/public/console/chunks/pierre-dark-DDWDl8g6-CpLgRqie.js +1 -0
  666. package/dist/console/runtime/public/console/chunks/pierre-dark-protanopia-deuteranopia-C35UMuvO-B35FxJx-.js +1 -0
  667. package/dist/console/runtime/public/console/chunks/pierre-dark-soft-Bb-4-biO-kZQmAZld.js +1 -0
  668. package/dist/console/runtime/public/console/chunks/pierre-dark-tritanopia-CIJISGWF-CpjhbsIL.js +1 -0
  669. package/dist/console/runtime/public/console/chunks/pierre-dark-vibrant-8oZzB3gw-CpQYzh95.js +1 -0
  670. package/dist/console/runtime/public/console/chunks/pierre-light-CWhW4NrH-CoaEpmwp.js +1 -0
  671. package/dist/console/runtime/public/console/chunks/pierre-light-protanopia-deuteranopia-u0U7N4Hn-0fSaH845.js +1 -0
  672. package/dist/console/runtime/public/console/chunks/pierre-light-soft-BCU6fuhO-lWLdNTOI.js +1 -0
  673. package/dist/console/runtime/public/console/chunks/pierre-light-tritanopia-3c8Yx3co-CEbqgOJL.js +1 -0
  674. package/dist/console/runtime/public/console/chunks/pierre-light-vibrant-Cwh332o_-D80Fkn33.js +1 -0
  675. package/dist/console/runtime/public/console/chunks/pkl-ot-7Btpt.js +1 -0
  676. package/dist/console/runtime/public/console/chunks/plastic-DQwYfKfQ.js +1 -0
  677. package/dist/console/runtime/public/console/chunks/plastic-DtdaCjub-DQwYfKfQ.js +1 -0
  678. package/dist/console/runtime/public/console/chunks/plsql-DGHpHOYJ.js +1 -0
  679. package/dist/console/runtime/public/console/chunks/po-BiJDBrnU.js +1 -0
  680. package/dist/console/runtime/public/console/chunks/poimandres-DRFjx7u4.js +1 -0
  681. package/dist/console/runtime/public/console/chunks/poimandres-Hdda6aHK-DRFjx7u4.js +1 -0
  682. package/dist/console/runtime/public/console/chunks/polar-C7UOKdEL.js +1 -0
  683. package/dist/console/runtime/public/console/chunks/postcss-BXeXVLqQ.js +1 -0
  684. package/dist/console/runtime/public/console/chunks/powerquery-DNMTfnFr.js +1 -0
  685. package/dist/console/runtime/public/console/chunks/powershell-QtSnmXcu.js +1 -0
  686. package/dist/console/runtime/public/console/chunks/preload-helper-uBIymjUX.js +1 -0
  687. package/dist/console/runtime/public/console/chunks/presence-BGvCcBvS.js +1 -0
  688. package/dist/console/runtime/public/console/chunks/prisma-DMgNhnYS.js +1 -0
  689. package/dist/console/runtime/public/console/chunks/prolog-iXnhIJG7.js +1 -0
  690. package/dist/console/runtime/public/console/chunks/proto-DB4EqR-F.js +1 -0
  691. package/dist/console/runtime/public/console/chunks/pug-ChIfOLQs.js +1 -0
  692. package/dist/console/runtime/public/console/chunks/puppet-CDv2pdJW.js +1 -0
  693. package/dist/console/runtime/public/console/chunks/purescript-9MfHhQsQ.js +1 -0
  694. package/dist/console/runtime/public/console/chunks/python-gzcpVVnB.js +1 -0
  695. package/dist/console/runtime/public/console/chunks/qml-BAjZcRJm.js +1 -0
  696. package/dist/console/runtime/public/console/chunks/qmldir-DCQb3MpD.js +1 -0
  697. package/dist/console/runtime/public/console/chunks/qss-Fe1Jh2GI.js +1 -0
  698. package/dist/console/runtime/public/console/chunks/r-CnJIyxn2.js +1 -0
  699. package/dist/console/runtime/public/console/chunks/racket-DcIDlBhZ.js +1 -0
  700. package/dist/console/runtime/public/console/chunks/raku-B3gFvitq.js +1 -0
  701. package/dist/console/runtime/public/console/chunks/razor-Bk3VGUqz.js +1 -0
  702. package/dist/console/runtime/public/console/chunks/rbs-C0MpOrj4.js +1 -0
  703. package/dist/console/runtime/public/console/chunks/read-only-DJWK7nHC.js +1 -0
  704. package/dist/console/runtime/public/console/chunks/red-CYlAq2b0.js +1 -0
  705. package/dist/console/runtime/public/console/chunks/red-VqZFRByZ-CYlAq2b0.js +1 -0
  706. package/dist/console/runtime/public/console/chunks/reg-CRGYupPL.js +1 -0
  707. package/dist/console/runtime/public/console/chunks/regexp-CF4aByxb.js +1 -0
  708. package/dist/console/runtime/public/console/chunks/rel-BtDbiS_P.js +1 -0
  709. package/dist/console/runtime/public/console/chunks/riscv-Ckw8ddFX.js +1 -0
  710. package/dist/console/runtime/public/console/chunks/rolldown-runtime-DK3Fl9T5.js +1 -0
  711. package/dist/console/runtime/public/console/chunks/ron-VUp2lXgN.js +1 -0
  712. package/dist/console/runtime/public/console/chunks/rose-pine-DiTkEueR-aMsaMD1D.js +1 -0
  713. package/dist/console/runtime/public/console/chunks/rose-pine-aMsaMD1D.js +1 -0
  714. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-8PwUyIlP.js +1 -0
  715. package/dist/console/runtime/public/console/chunks/rose-pine-dawn-tfo5y2X0-8PwUyIlP.js +1 -0
  716. package/dist/console/runtime/public/console/chunks/rose-pine-moon-C0gON9XN-DO-qXg-I.js +1 -0
  717. package/dist/console/runtime/public/console/chunks/rose-pine-moon-DO-qXg-I.js +1 -0
  718. package/dist/console/runtime/public/console/chunks/rosmsg-CAekHB0j.js +1 -0
  719. package/dist/console/runtime/public/console/chunks/rst-D8R3YvuX.js +1 -0
  720. package/dist/console/runtime/public/console/chunks/ruby-BDvumEf2.js +1 -0
  721. package/dist/console/runtime/public/console/chunks/rust-DpiIf5JO.js +1 -0
  722. package/dist/console/runtime/public/console/chunks/sas-CDxiwfn1.js +1 -0
  723. package/dist/console/runtime/public/console/chunks/sass-DXrisJhu.js +1 -0
  724. package/dist/console/runtime/public/console/chunks/scala-BiFt_7mu.js +1 -0
  725. package/dist/console/runtime/public/console/chunks/scheme-DQCgrYNe.js +1 -0
  726. package/dist/console/runtime/public/console/chunks/scss-BPiS1nMZ.js +1 -0
  727. package/dist/console/runtime/public/console/chunks/scss-DuikUNMR.js +1 -0
  728. package/dist/console/runtime/public/console/chunks/sdbl-bTVj8UrX.js +1 -0
  729. package/dist/console/runtime/public/console/chunks/sections-aIkyV8J9.js +8 -0
  730. package/dist/console/runtime/public/console/chunks/shaderlab-TOUzSsQk.js +1 -0
  731. package/dist/console/runtime/public/console/chunks/shellscript-CgLkv1T0.js +1 -0
  732. package/dist/console/runtime/public/console/chunks/shellscript-DStN_0YR.js +1 -0
  733. package/dist/console/runtime/public/console/chunks/shellsession-C_5QA7eC.js +1 -0
  734. package/dist/console/runtime/public/console/chunks/slack-dark-DnToyrRv.js +1 -0
  735. package/dist/console/runtime/public/console/chunks/slack-dark-v8P_eXr6-DnToyrRv.js +1 -0
  736. package/dist/console/runtime/public/console/chunks/slack-ochin-B2OO5cIa.js +1 -0
  737. package/dist/console/runtime/public/console/chunks/slack-ochin-D8SyEdKz-B2OO5cIa.js +1 -0
  738. package/dist/console/runtime/public/console/chunks/smalltalk-BHpQb5nM.js +1 -0
  739. package/dist/console/runtime/public/console/chunks/smithy-Dgaz7aur.js +1 -0
  740. package/dist/console/runtime/public/console/chunks/snazzy-light-4G7pJPwS.js +1 -0
  741. package/dist/console/runtime/public/console/chunks/snazzy-light-BtkQkvXb-4G7pJPwS.js +1 -0
  742. package/dist/console/runtime/public/console/chunks/solarized-dark-B8nAdMfM-b97czJOk.js +1 -0
  743. package/dist/console/runtime/public/console/chunks/solarized-dark-b97czJOk.js +1 -0
  744. package/dist/console/runtime/public/console/chunks/solarized-light-B-3F1INj-DFPxpIYQ.js +1 -0
  745. package/dist/console/runtime/public/console/chunks/solarized-light-DFPxpIYQ.js +1 -0
  746. package/dist/console/runtime/public/console/chunks/solidity-Bj7E1mRn.js +1 -0
  747. package/dist/console/runtime/public/console/chunks/soy-Drvj0-hN.js +1 -0
  748. package/dist/console/runtime/public/console/chunks/sparql-D_iOobhT.js +1 -0
  749. package/dist/console/runtime/public/console/chunks/splunk-BC2Px7Mm.js +1 -0
  750. package/dist/console/runtime/public/console/chunks/sql-7uki0mN6.js +1 -0
  751. package/dist/console/runtime/public/console/chunks/sql-DvnUxQaA.js +1 -0
  752. package/dist/console/runtime/public/console/chunks/ssh-config-BgfXC-Er.js +1 -0
  753. package/dist/console/runtime/public/console/chunks/stata-5ekhIp_w.js +1 -0
  754. package/dist/console/runtime/public/console/chunks/stylus-B6D30XZt.js +1 -0
  755. package/dist/console/runtime/public/console/chunks/surrealql-BggsF-oc.js +1 -0
  756. package/dist/console/runtime/public/console/chunks/svelte-BOzpv3zx.js +1 -0
  757. package/dist/console/runtime/public/console/chunks/swift-CyEgAFGc.js +1 -0
  758. package/dist/console/runtime/public/console/chunks/synthwave-84-DcsXCF_c-nFMaYfgc.js +1 -0
  759. package/dist/console/runtime/public/console/chunks/synthwave-84-nFMaYfgc.js +1 -0
  760. package/dist/console/runtime/public/console/chunks/system-verilog-Dh5ihWbf.js +1 -0
  761. package/dist/console/runtime/public/console/chunks/systemd-BxMlprV5.js +1 -0
  762. package/dist/console/runtime/public/console/chunks/talonscript-CohzipZa.js +1 -0
  763. package/dist/console/runtime/public/console/chunks/tasl-DMoTqEGO.js +1 -0
  764. package/dist/console/runtime/public/console/chunks/tcl-CZd0xW_V.js +1 -0
  765. package/dist/console/runtime/public/console/chunks/templ-fdyF5dsr.js +1 -0
  766. package/dist/console/runtime/public/console/chunks/terraform-DswuEJGm.js +1 -0
  767. package/dist/console/runtime/public/console/chunks/tex-DHA47n0s.js +1 -0
  768. package/dist/console/runtime/public/console/chunks/tokyo-night-Bvpqduda-oM2G3aXe.js +1 -0
  769. package/dist/console/runtime/public/console/chunks/tokyo-night-oM2G3aXe.js +1 -0
  770. package/dist/console/runtime/public/console/chunks/toml-CcmNWLt0.js +1 -0
  771. package/dist/console/runtime/public/console/chunks/ts-tags-FylMzM_u.js +1 -0
  772. package/dist/console/runtime/public/console/chunks/tsv-sltzmVWM.js +1 -0
  773. package/dist/console/runtime/public/console/chunks/tsx-B8qh6jDH.js +1 -0
  774. package/dist/console/runtime/public/console/chunks/tsx-Ge9e86uq.js +1 -0
  775. package/dist/console/runtime/public/console/chunks/turtle-ByJddavk.js +1 -0
  776. package/dist/console/runtime/public/console/chunks/twig-r9Dsv_Ri.js +1 -0
  777. package/dist/console/runtime/public/console/chunks/typescript-C2Eu6twH.js +1 -0
  778. package/dist/console/runtime/public/console/chunks/typescript-CiUCm0l2.js +1 -0
  779. package/dist/console/runtime/public/console/chunks/typespec-BGhR2SqG.js +1 -0
  780. package/dist/console/runtime/public/console/chunks/typst-BCkRs6d9.js +1 -0
  781. package/dist/console/runtime/public/console/chunks/url-uI6JSUZP.js +4 -0
  782. package/dist/console/runtime/public/console/chunks/useForwardScopeId-mJ8JPuYU.js +1 -0
  783. package/dist/console/runtime/public/console/chunks/usePortal-BqI7uIRp.js +3 -0
  784. package/dist/console/runtime/public/console/chunks/v-DBj4K9d_.js +1 -0
  785. package/dist/console/runtime/public/console/chunks/vala-zf12oZj6.js +1 -0
  786. package/dist/console/runtime/public/console/chunks/vb-DOwzaHZ0.js +1 -0
  787. package/dist/console/runtime/public/console/chunks/verilog-B2gwz-sJ.js +1 -0
  788. package/dist/console/runtime/public/console/chunks/vesper-CfxmMOy3-DdrHHSXu.js +1 -0
  789. package/dist/console/runtime/public/console/chunks/vesper-DdrHHSXu.js +1 -0
  790. package/dist/console/runtime/public/console/chunks/vhdl-BroJfC0k.js +1 -0
  791. package/dist/console/runtime/public/console/chunks/viml-DvXPmvsu.js +1 -0
  792. package/dist/console/runtime/public/console/chunks/vitesse-black-D9-_1mjV-fwtXNY1n.js +1 -0
  793. package/dist/console/runtime/public/console/chunks/vitesse-black-fwtXNY1n.js +1 -0
  794. package/dist/console/runtime/public/console/chunks/vitesse-dark-BZCL-v6S.js +1 -0
  795. package/dist/console/runtime/public/console/chunks/vitesse-dark-DlSMLlr9-BZCL-v6S.js +1 -0
  796. package/dist/console/runtime/public/console/chunks/vitesse-light-KRWWWztf-VbXTXTou.js +1 -0
  797. package/dist/console/runtime/public/console/chunks/vitesse-light-VbXTXTou.js +1 -0
  798. package/dist/console/runtime/public/console/chunks/vue-Bc1L0ruR.js +3 -0
  799. package/dist/console/runtime/public/console/chunks/vue-CGPRTtAM.js +1 -0
  800. package/dist/console/runtime/public/console/chunks/vue-CHGs_ru8.js +1 -0
  801. package/dist/console/runtime/public/console/chunks/vue-html-CU_0vU6P.js +1 -0
  802. package/dist/console/runtime/public/console/chunks/vue-vine-BrC7uwb8.js +1 -0
  803. package/dist/console/runtime/public/console/chunks/vueuse-DCpBt1pZ.js +4 -0
  804. package/dist/console/runtime/public/console/chunks/vyper-CgoNMtux.js +1 -0
  805. package/dist/console/runtime/public/console/chunks/wasm-BnjxR4X6.js +1 -0
  806. package/dist/console/runtime/public/console/chunks/wasm-ByWQv1Qj.js +1 -0
  807. package/dist/console/runtime/public/console/chunks/wenyan-C8pVoKbM.js +1 -0
  808. package/dist/console/runtime/public/console/chunks/wgsl-BsKzXJz4.js +1 -0
  809. package/dist/console/runtime/public/console/chunks/wikitext-ClFFjSW2.js +1 -0
  810. package/dist/console/runtime/public/console/chunks/wit-DdvCle-K.js +1 -0
  811. package/dist/console/runtime/public/console/chunks/wolfram-DLL8P-h_.js +1 -0
  812. package/dist/console/runtime/public/console/chunks/xml-Bx1i6T7B.js +1 -0
  813. package/dist/console/runtime/public/console/chunks/xsl-DR5M53i7.js +1 -0
  814. package/dist/console/runtime/public/console/chunks/yaml-CZmR-Icd.js +1 -0
  815. package/dist/console/runtime/public/console/chunks/yaml-a9wqVlBt.js +1 -0
  816. package/dist/console/runtime/public/console/chunks/zenscript-BnlCZFoB.js +1 -0
  817. package/dist/console/runtime/public/console/chunks/zig-CMLA9XwU.js +1 -0
  818. package/dist/console/runtime/public/console/console-QjK_HKoM.css +2 -0
  819. package/dist/console/runtime/public/console/console-j0_7kmR5.js +21 -0
  820. package/dist/console/runtime/public/console/page-tool-Cji0S8q-.js +1 -0
  821. package/dist/console/runtime/public/skills/index.json +46 -0
  822. package/dist/console/runtime/public/skills/vitehub/SKILL.md +88 -0
  823. package/dist/console/runtime/public/skills/vitehub/agents/openai.yaml +4 -0
  824. package/dist/console/runtime/public/skills/vitehub/references/agent-definitions.md +36 -0
  825. package/dist/console/runtime/public/skills/vitehub/references/capabilities-authority.md +30 -0
  826. package/dist/console/runtime/public/skills/vitehub/references/channels-triggers.md +26 -0
  827. package/dist/console/runtime/public/skills/vitehub/references/framework-composition.md +29 -0
  828. package/dist/console/runtime/public/skills/vitehub/references/preview-contract.md +36 -0
  829. package/dist/console/runtime/public/skills/vitehub/references/primitives/auth.md +16 -0
  830. package/dist/console/runtime/public/skills/vitehub/references/primitives/blob.md +13 -0
  831. package/dist/console/runtime/public/skills/vitehub/references/primitives/browser.md +17 -0
  832. package/dist/console/runtime/public/skills/vitehub/references/primitives/cache.md +13 -0
  833. package/dist/console/runtime/public/skills/vitehub/references/primitives/channels.md +13 -0
  834. package/dist/console/runtime/public/skills/vitehub/references/primitives/connections.md +16 -0
  835. package/dist/console/runtime/public/skills/vitehub/references/primitives/content.md +13 -0
  836. package/dist/console/runtime/public/skills/vitehub/references/primitives/database.md +13 -0
  837. package/dist/console/runtime/public/skills/vitehub/references/primitives/email.md +13 -0
  838. package/dist/console/runtime/public/skills/vitehub/references/primitives/env.md +13 -0
  839. package/dist/console/runtime/public/skills/vitehub/references/primitives/kv.md +13 -0
  840. package/dist/console/runtime/public/skills/vitehub/references/primitives/markdown-template.md +13 -0
  841. package/dist/console/runtime/public/skills/vitehub/references/primitives/queue.md +16 -0
  842. package/dist/console/runtime/public/skills/vitehub/references/primitives/rate-limit.md +13 -0
  843. package/dist/console/runtime/public/skills/vitehub/references/primitives/realtime.md +19 -0
  844. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox-task.md +13 -0
  845. package/dist/console/runtime/public/skills/vitehub/references/primitives/sandbox.md +13 -0
  846. package/dist/console/runtime/public/skills/vitehub/references/primitives/schedule.md +13 -0
  847. package/dist/console/runtime/public/skills/vitehub/references/primitives/shell.md +13 -0
  848. package/dist/console/runtime/public/skills/vitehub/references/primitives/source.md +13 -0
  849. package/dist/console/runtime/public/skills/vitehub/references/primitives/workflow.md +13 -0
  850. package/dist/console/runtime/public/skills/vitehub/references/primitives/workspace.md +13 -0
  851. package/dist/console/runtime/public/skills/vitehub/references/project-patterns.md +19 -0
  852. package/dist/console/runtime/public/skills/vitehub/references/project-shapes.md +61 -0
  853. package/dist/console/runtime/public/skills/vitehub/references/proof-recovery.md +29 -0
  854. package/dist/console/runtime/public/skills/vitehub/references/sandboxes-hosts.md +17 -0
  855. package/dist/console/runtime/public/skills/vitehub/references/schedules-workflows-invocations.md +28 -0
  856. package/dist/console/runtime/public/skills/vitehub/references/server-primitives.md +39 -0
  857. package/dist/console/runtime/public/skills/vitehub/references/workspaces-sources-access.md +26 -0
  858. package/dist/console/runtime/rpc.d.ts +36 -0
  859. package/dist/console/runtime/rpc.js +4 -0
  860. package/dist/console/runtime/sections.d.ts +2 -0
  861. package/dist/console/runtime/sections.js +351 -0
  862. package/dist/console/runtime/server/agents.get.d.ts +17 -0
  863. package/dist/console/runtime/server/agents.get.js +23 -0
  864. package/dist/console/runtime/server/auth-manage.d.ts +7 -0
  865. package/dist/console/runtime/server/auth-manage.js +155 -0
  866. package/dist/console/runtime/server/blob.d.ts +2 -0
  867. package/dist/console/runtime/server/blob.js +19 -0
  868. package/dist/console/runtime/server/channel-replay.d.ts +11 -0
  869. package/dist/console/runtime/server/channel-replay.js +80 -0
  870. package/dist/console/runtime/server/client.get.d.ts +3 -0
  871. package/dist/console/runtime/server/client.get.js +11 -0
  872. package/dist/console/runtime/server/database.d.ts +2 -0
  873. package/dist/console/runtime/server/database.get.d.ts +70 -0
  874. package/dist/console/runtime/server/database.get.js +223 -0
  875. package/dist/console/runtime/server/database.js +18 -0
  876. package/dist/console/runtime/server/definitions.d.ts +2 -0
  877. package/dist/console/runtime/server/definitions.get.d.ts +11 -0
  878. package/dist/console/runtime/server/definitions.get.js +70 -0
  879. package/dist/console/runtime/server/definitions.js +97 -0
  880. package/dist/console/runtime/server/documents.d.ts +2 -0
  881. package/dist/console/runtime/server/documents.js +111 -0
  882. package/dist/console/runtime/server/env-manage.d.ts +5 -0
  883. package/dist/console/runtime/server/env-manage.js +10 -0
  884. package/dist/console/runtime/server/env.d.ts +18 -0
  885. package/dist/console/runtime/server/env.get.d.ts +9 -0
  886. package/dist/console/runtime/server/env.get.js +29 -0
  887. package/dist/console/runtime/server/env.js +42 -0
  888. package/dist/console/runtime/server/invocation-capabilities.get.d.ts +10 -0
  889. package/dist/console/runtime/server/invocation-capabilities.get.js +22 -0
  890. package/dist/console/runtime/server/invocation-workspace.get.d.ts +42 -0
  891. package/dist/console/runtime/server/invocation-workspace.get.js +243 -0
  892. package/dist/console/runtime/server/invocation.get.d.ts +47 -0
  893. package/dist/console/runtime/server/invocation.get.js +153 -0
  894. package/dist/console/runtime/server/invocations.get.d.ts +8 -0
  895. package/dist/console/runtime/server/invocations.get.js +227 -0
  896. package/dist/console/runtime/server/logs.get.d.ts +13 -0
  897. package/dist/console/runtime/server/logs.get.js +45 -0
  898. package/dist/console/runtime/server/mcp-authorization-server.d.ts +11 -0
  899. package/dist/console/runtime/server/mcp-authorization-server.js +71 -0
  900. package/dist/console/runtime/server/mcp-discovery.d.ts +7 -0
  901. package/dist/console/runtime/server/mcp-discovery.js +20 -0
  902. package/dist/console/runtime/server/mcp-metadata.d.ts +11 -0
  903. package/dist/console/runtime/server/mcp-metadata.js +54 -0
  904. package/dist/console/runtime/server/mcp.d.ts +16 -0
  905. package/dist/console/runtime/server/mcp.js +364 -0
  906. package/dist/console/runtime/server/page-session.d.ts +2 -0
  907. package/dist/console/runtime/server/page-session.js +5 -0
  908. package/dist/console/runtime/server/page.get.d.ts +4 -0
  909. package/dist/console/runtime/server/page.get.js +49 -0
  910. package/dist/console/runtime/server/rpc.d.ts +22 -0
  911. package/dist/console/runtime/server/rpc.js +215 -0
  912. package/dist/console/runtime/server/schedule-run.d.ts +36 -0
  913. package/dist/console/runtime/server/schedule-run.js +213 -0
  914. package/dist/console/runtime/server/search.get.d.ts +9 -0
  915. package/dist/console/runtime/server/search.get.js +103 -0
  916. package/dist/console/runtime/server/sections.d.ts +4 -0
  917. package/dist/console/runtime/server/sections.get.d.ts +22 -0
  918. package/dist/console/runtime/server/sections.get.js +27 -0
  919. package/dist/console/runtime/server/sections.js +4 -0
  920. package/dist/console/runtime/server/sign-in.d.ts +5 -0
  921. package/dist/console/runtime/server/sign-in.js +11 -0
  922. package/dist/console/runtime/server/status.get.d.ts +13 -0
  923. package/dist/console/runtime/server/status.get.js +40 -0
  924. package/dist/console/runtime/server/usage.get.d.ts +7 -0
  925. package/dist/console/runtime/server/usage.get.js +99 -0
  926. package/dist/console/server.d.ts +22 -0
  927. package/dist/console/server.js +34 -0
  928. package/dist/console/ui.d.ts +201 -0
  929. package/dist/console/ui.js +3215 -0
  930. package/dist/console.d.ts +5 -0
  931. package/dist/console.js +4 -0
  932. package/dist/content/client.d.ts +1 -0
  933. package/dist/content/client.js +2 -0
  934. package/dist/content/database.d.ts +1 -0
  935. package/dist/content/database.js +2 -0
  936. package/dist/content/editor.d.ts +1 -0
  937. package/dist/content/editor.js +2 -0
  938. package/dist/content/presets/cms.d.ts +2 -0
  939. package/dist/content/presets/cms.js +2 -0
  940. package/dist/content/realtime.d.ts +1 -0
  941. package/dist/content/realtime.js +2 -0
  942. package/dist/content.d.ts +2 -0
  943. package/dist/content.js +3 -0
  944. package/dist/database-DLPk6HVu.d.ts +7 -0
  945. package/dist/database-hyYo7JVD.d.ts +11 -0
  946. package/dist/definitions-BJGSpYGa.d.ts +209 -0
  947. package/dist/definitions-Y0pIwSQm.d.ts +19 -0
  948. package/dist/diagnostics-YTWM3K3t.js +74 -0
  949. package/dist/diagnostics-lT85pbVx.d.ts +6 -0
  950. package/dist/doctor.d.ts +8 -0
  951. package/dist/doctor.js +417 -0
  952. package/dist/document-metadata-nXusaMSq.js +6 -0
  953. package/dist/documents-BRt3-fIu.d.ts +72 -0
  954. package/dist/env/auth.d.ts +1 -0
  955. package/dist/env/auth.js +2 -0
  956. package/dist/env/bridge.d.ts +1 -0
  957. package/dist/env/bridge.js +2 -0
  958. package/dist/env/database.d.ts +1 -0
  959. package/dist/env/database.js +2 -0
  960. package/dist/env/http.d.ts +1 -0
  961. package/dist/env/http.js +2 -0
  962. package/dist/env/provider.d.ts +1 -0
  963. package/dist/env/provider.js +2 -0
  964. package/dist/env/seal.d.ts +1 -0
  965. package/dist/env/seal.js +2 -0
  966. package/dist/env.d.ts +1 -0
  967. package/dist/error-diagnostics-n7V-_SPy.js +160 -0
  968. package/dist/error-diagnostics.ts +162 -0
  969. package/dist/gateways.d.ts +1 -0
  970. package/dist/gateways.js +2 -0
  971. package/dist/h3-v1-request-DDGXJ9E7.js +166 -0
  972. package/dist/index-CWk5rJOo.d.ts +247 -0
  973. package/dist/index.d.ts +3 -44
  974. package/dist/index.js +1 -1
  975. package/dist/internal-Ca7DYHpa.js +311 -0
  976. package/dist/internal-VvXn0bX4.d.ts +25 -0
  977. package/dist/invocations-DkjhdkpT.js +1151 -0
  978. package/dist/invocations-TvN9ux06.d.ts +47 -0
  979. package/dist/logs/host.d.ts +6 -0
  980. package/dist/logs/host.js +16 -0
  981. package/dist/logs/memory.d.ts +18 -0
  982. package/dist/logs/memory.js +85 -0
  983. package/dist/logs/source.d.ts +57 -0
  984. package/dist/logs/source.js +57 -0
  985. package/dist/logs.d.ts +4 -0
  986. package/dist/logs.js +4 -0
  987. package/dist/loopback-DAr1IFQP.js +43 -0
  988. package/dist/markdown-template/file.d.ts +1 -0
  989. package/dist/markdown-template/file.js +2 -0
  990. package/dist/media-BBybn3NP.js +512 -0
  991. package/dist/nuxt.d.ts +15 -14
  992. package/dist/nuxt.js +1156 -25
  993. package/dist/operation-contributions-BXHKgT_w.d.ts +18 -0
  994. package/dist/operations-4uDh4zah.js +38 -0
  995. package/dist/operations-7RHOMAHT.js +455 -0
  996. package/dist/operations-Bgklf9hM.d.ts +149 -0
  997. package/dist/operations-CwqEItfA.js +468 -0
  998. package/dist/operations.d.ts +2 -0
  999. package/dist/operations.js +2 -0
  1000. package/dist/owned-paths-BnjT0FhU.js +15 -0
  1001. package/dist/package-BsfDnNm8.js +1119 -0
  1002. package/dist/page-tools-B3g4CQ5c.js +402 -0
  1003. package/dist/page-tools-C5dufxVz.d.ts +16 -0
  1004. package/dist/page-tools-shared-D-amu6sx.js +53 -0
  1005. package/dist/presets/babysitter/server.d.ts +1 -0
  1006. package/dist/presets/babysitter/server.js +2 -0
  1007. package/dist/presets/babysitter.d.ts +1 -0
  1008. package/dist/presets/babysitter.js +2 -0
  1009. package/dist/presets/labeller.d.ts +1 -0
  1010. package/dist/presets/labeller.js +2 -0
  1011. package/dist/presets/workspace.d.ts +2 -0
  1012. package/dist/presets/workspace.js +2 -0
  1013. package/dist/project-registry-BT7RcCcQ.js +39 -0
  1014. package/dist/realtime/server.d.ts +1 -0
  1015. package/dist/realtime/server.js +2 -0
  1016. package/dist/realtime/vue.d.ts +1 -0
  1017. package/dist/realtime/vue.js +2 -0
  1018. package/dist/realtime.d.ts +1 -0
  1019. package/dist/realtime.js +2 -0
  1020. package/dist/registry-dSdI2Oa3.js +142 -0
  1021. package/dist/request-BT6g-Fwf.js +326 -0
  1022. package/dist/request-DOvvVgpI.d.ts +52 -0
  1023. package/dist/retention-DBXuVtQL.js +257 -0
  1024. package/dist/rolldown-runtime-8H4AJuhK.js +14 -0
  1025. package/dist/runtime/h3.d.ts +2 -0
  1026. package/dist/runtime/h3.js +2 -0
  1027. package/dist/runtime/node.d.ts +1 -0
  1028. package/dist/runtime/node.js +2 -0
  1029. package/dist/runtime-DPqC3MTX.js +60 -0
  1030. package/dist/sandbox/ssh.d.ts +1 -0
  1031. package/dist/sandbox/ssh.js +2 -0
  1032. package/dist/sandbox/task.d.ts +1 -0
  1033. package/dist/sandbox/task.js +2 -0
  1034. package/dist/scan-module-TmHMoGKw.js +148 -0
  1035. package/dist/schedule/runtime/kv.d.ts +1 -0
  1036. package/dist/schedule/runtime/kv.js +2 -0
  1037. package/dist/schema-form-C-fy3xaU.d.ts +79 -0
  1038. package/dist/secret-DrgWMRms.js +47 -0
  1039. package/dist/sections-BVtKNenQ.js +108 -0
  1040. package/dist/sections-C985LlW2.d.ts +31 -0
  1041. package/dist/sections-Drj-o4_z.d.ts +141 -0
  1042. package/dist/source/client.d.ts +1 -0
  1043. package/dist/source/client.js +2 -0
  1044. package/dist/source/file.d.ts +1 -0
  1045. package/dist/source/file.js +2 -0
  1046. package/dist/source/files.d.ts +1 -0
  1047. package/dist/source/files.js +2 -0
  1048. package/dist/source/github.d.ts +1 -0
  1049. package/dist/source/github.js +2 -0
  1050. package/dist/source/glob.d.ts +1 -0
  1051. package/dist/source/glob.js +2 -0
  1052. package/dist/source/markdown.d.ts +1 -0
  1053. package/dist/source/markdown.js +2 -0
  1054. package/dist/source/mcp.d.ts +1 -0
  1055. package/dist/source/mcp.js +2 -0
  1056. package/dist/source/server.d.ts +1 -0
  1057. package/dist/source/server.js +2 -0
  1058. package/dist/source/vite.d.ts +7 -0
  1059. package/dist/source/vite.js +20 -0
  1060. package/dist/source.d.ts +2 -1
  1061. package/dist/source.js +1 -0
  1062. package/dist/src-CaqWiza-.js +7910 -0
  1063. package/dist/task.d.ts +3 -0
  1064. package/dist/task.js +2 -0
  1065. package/dist/types-BsuwNk3q.js +256 -0
  1066. package/dist/ui/attachment.d.ts +1 -0
  1067. package/dist/ui/attachment.js +2 -0
  1068. package/dist/ui/avatar-stack.d.ts +1 -0
  1069. package/dist/ui/avatar-stack.js +2 -0
  1070. package/dist/ui/bubble.d.ts +1 -0
  1071. package/dist/ui/bubble.js +2 -0
  1072. package/dist/ui/chat-message.d.ts +1 -0
  1073. package/dist/ui/chat-message.js +2 -0
  1074. package/dist/ui/chat-session.d.ts +1 -0
  1075. package/dist/ui/chat-session.js +2 -0
  1076. package/dist/ui/chat.d.ts +1 -0
  1077. package/dist/ui/chat.js +2 -0
  1078. package/dist/ui/code-block.d.ts +1 -0
  1079. package/dist/ui/code-block.js +2 -0
  1080. package/dist/ui/code-view.d.ts +1 -0
  1081. package/dist/ui/code-view.js +2 -0
  1082. package/dist/ui/comments.d.ts +1 -0
  1083. package/dist/ui/comments.js +2 -0
  1084. package/dist/ui/connection-status.d.ts +1 -0
  1085. package/dist/ui/connection-status.js +2 -0
  1086. package/dist/ui/file-diff.d.ts +1 -0
  1087. package/dist/ui/file-diff.js +2 -0
  1088. package/dist/ui/file-tree.d.ts +1 -0
  1089. package/dist/ui/file-tree.js +2 -0
  1090. package/dist/ui/file-view.d.ts +1 -0
  1091. package/dist/ui/file-view.js +2 -0
  1092. package/dist/ui/headless.d.ts +1 -0
  1093. package/dist/ui/headless.js +2 -0
  1094. package/dist/ui/markdown.d.ts +1 -0
  1095. package/dist/ui/markdown.js +2 -0
  1096. package/dist/ui/marker.d.ts +1 -0
  1097. package/dist/ui/marker.js +2 -0
  1098. package/dist/ui/message-parts.d.ts +1 -0
  1099. package/dist/ui/message-parts.js +2 -0
  1100. package/dist/ui/message.d.ts +1 -0
  1101. package/dist/ui/message.js +2 -0
  1102. package/dist/ui/multi-file-diff.d.ts +1 -0
  1103. package/dist/ui/multi-file-diff.js +2 -0
  1104. package/dist/ui/nuxt.d.ts +3 -0
  1105. package/dist/ui/nuxt.js +3 -0
  1106. package/dist/ui/patch-diff.d.ts +1 -0
  1107. package/dist/ui/patch-diff.js +2 -0
  1108. package/dist/ui/prompt-input.d.ts +1 -0
  1109. package/dist/ui/prompt-input.js +2 -0
  1110. package/dist/ui/styles.css +2662 -0
  1111. package/dist/ui/sync-status.d.ts +1 -0
  1112. package/dist/ui/sync-status.js +2 -0
  1113. package/dist/ui/tool-list.d.ts +1 -0
  1114. package/dist/ui/tool-list.js +2 -0
  1115. package/dist/ui/trace-run.d.ts +1 -0
  1116. package/dist/ui/trace-run.js +2 -0
  1117. package/dist/ui/trace.d.ts +1 -0
  1118. package/dist/ui/trace.js +2 -0
  1119. package/dist/ui/unresolved-file.d.ts +1 -0
  1120. package/dist/ui/unresolved-file.js +2 -0
  1121. package/dist/ui/vite.d.ts +3 -0
  1122. package/dist/ui/vite.js +3 -0
  1123. package/dist/ui.d.ts +1 -0
  1124. package/dist/ui.js +2 -0
  1125. package/dist/usage-CoQXs5nW.d.ts +22 -0
  1126. package/dist/workspace/blob-database.d.ts +1 -0
  1127. package/dist/workspace/blob-database.js +2 -0
  1128. package/package.json +1356 -139
  1129. package/dist/_internal/sandbox/runtime/state.d.ts +0 -1
  1130. package/dist/_internal/sandbox/runtime/state.js +0 -2
  1131. package/dist/_internal/schedule/runtime/driver.d.ts +0 -1
  1132. package/dist/_internal/schedule/runtime/driver.js +0 -2
  1133. package/dist/agent/harness/local-sandbox.d.ts +0 -1
  1134. package/dist/agent/harness/local-sandbox.js +0 -2
  1135. package/dist/box.d.ts +0 -1
  1136. package/dist/box.js +0 -2
  1137. package/dist/email/drivers/smtp.d.ts +0 -1
  1138. package/dist/email/drivers/smtp.js +0 -2
  1139. package/dist/schedule/runtime/driver.d.ts +0 -1
  1140. package/dist/schedule/runtime/driver.js +0 -2
  1141. package/dist/shell/providers/cloudflare.d.ts +0 -1
  1142. package/dist/shell/providers/cloudflare.js +0 -2
  1143. package/dist/src-o6zB-soj.js +0 -1135
  1144. package/dist/workspace/collections/client.d.ts +0 -1
  1145. package/dist/workspace/collections/client.js +0 -2
  1146. package/dist/workspace/collections.d.ts +0 -1
  1147. package/dist/workspace/collections.js +0 -2
  1148. package/dist/workspace/publish.d.ts +0 -1
  1149. package/dist/workspace/publish.js +0 -2
@@ -0,0 +1,986 @@
1
+ <script setup lang="ts">
2
+ import { computed, onBeforeUnmount, onMounted, ref, shallowRef, watch } from "vue";
3
+
4
+ import { consoleErrorMessage } from "../client/documents";
5
+ import {
6
+ consoleFolderName,
7
+ consoleFocalCropPosition,
8
+ consoleFolderTrail,
9
+ consoleMediaAccepts,
10
+ consoleMediaFormat,
11
+ consoleMediaTransformable,
12
+ consoleMediaType,
13
+ consoleMediaTypeIcons,
14
+ consoleMediaUrl,
15
+ consoleMediaVariantUrl,
16
+ } from "../client/media-library";
17
+ import { consoleBytes } from "../client/format";
18
+ import { useConsoleMediaUploads } from "../client/media-uploads";
19
+ import { useConsoleToast } from "../client/toast";
20
+ import ConsoleMediaMove from "./console-media-move.vue";
21
+ import ConsoleMediaUploads from "./console-media-uploads.vue";
22
+ import ConsolePageToolbar from "./console-page-toolbar.vue";
23
+ import ConsoleRelativeTime from "./console-relative-time.vue";
24
+ import ConsoleState from "./console-state.vue";
25
+
26
+ import type { ConsoleMediaAccess, ConsoleMediaClient, ConsoleMediaFile, ConsoleMediaReferenceDocument, ConsoleMediaType, ConsoleMediaUploadResult } from "../client/media-library";
27
+
28
+ /**
29
+ * Browses one folder of the media library: breadcrumbs, folders, and files in a grid or a list, search by file name
30
+ * across subfolders, a type filter, and uploads by button or by dropping files anywhere on it. On the Media page it
31
+ * selects files for bulk moves and deletes and opens one in the detail panel. In the picker it selects files to insert.
32
+ */
33
+ const props = defineProps<{
34
+ /** Content types the picker accepts, such as `["image/*"]`. Other files show but cannot be picked. */
35
+ accept?: readonly string[];
36
+ /** The file whose details are open, on the Media page. */
37
+ active?: string;
38
+ client: ConsoleMediaClient;
39
+ mode: "page" | "picker";
40
+ /** The picker may pick more than one file. */
41
+ multiple?: boolean;
42
+ /** Where the Media page shows New folder and Upload: its page header. Without it, they stay in the toolbar. */
43
+ actionsTarget?: HTMLElement | null;
44
+ /** The name of the root folder, such as Media. */
45
+ rootLabel?: string;
46
+ /** The empty state text of a folder, such as for a read-only store. */
47
+ emptyDescription?: string;
48
+ /** The search placeholder, such as `Filter by prefix…` for a store that lists by prefix. */
49
+ searchPlaceholder?: string;
50
+ /** The view when the viewer has not picked one, and the key that remembers their pick. */
51
+ defaultView?: "grid" | "list";
52
+ viewKey?: string;
53
+ }>();
54
+
55
+ const emit = defineEmits<{
56
+ /** The picker confirmed its selection with a double click or Enter. */
57
+ confirm: [];
58
+ /** The access, served URL, and store identity once the first listing loads. */
59
+ info: [info: { access: ConsoleMediaAccess, served: string | null, store: string }];
60
+ /** Open the details of a file, on the Media page. */
61
+ open: [file: ConsoleMediaFile | undefined];
62
+ /** Files changed: uploaded, moved, or deleted. */
63
+ changed: [];
64
+ }>();
65
+
66
+ const folder = defineModel<string>("folder", { default: "" });
67
+ const selected = defineModel<string[]>("selected", { default: () => [] });
68
+
69
+ const toast = useConsoleToast();
70
+ const items = shallowRef<ConsoleMediaFile[]>([]);
71
+ const folders = ref<string[]>([]);
72
+ const access = ref<ConsoleMediaAccess>({ manage: false, read: true, write: false });
73
+ const served = ref<string | null>(null);
74
+ const cursor = ref<string>();
75
+ const truncated = ref(false);
76
+ const loading = ref(true);
77
+ const loadingMore = ref(false);
78
+ const error = ref<unknown>();
79
+ const search = ref("");
80
+ const query = ref("");
81
+ const type = ref<ConsoleMediaType | "all">("all");
82
+ const viewKey = props.viewKey ?? "vitehub:console:media-view";
83
+ const storedView = globalThis.localStorage?.getItem(viewKey);
84
+ const view = ref<"grid" | "list">(storedView === "list" || storedView === "grid" ? storedView : props.defaultView ?? "grid");
85
+ /** Every file this browser has listed, so a selection survives a change of folder. */
86
+ const known = new Map<string, ConsoleMediaFile>();
87
+ let anchor: string | undefined;
88
+ let request = 0;
89
+ let searchTimer: ReturnType<typeof setTimeout> | undefined;
90
+
91
+ watch(view, value => globalThis.localStorage?.setItem(viewKey, value));
92
+
93
+ const typeItems = [
94
+ { label: "All types", value: "all" },
95
+ { label: "Images", value: "image" },
96
+ { label: "Videos", value: "video" },
97
+ { label: "Audio", value: "audio" },
98
+ { label: "Documents", value: "document" },
99
+ { label: "Other", value: "other" },
100
+ ];
101
+ const trail = computed(() => consoleFolderTrail(folder.value));
102
+ /** A folder's name, or the root's name, such as Media. */
103
+ const folderLabel = (path: string) => (path ? consoleFolderName(path) : props.rootLabel ?? consoleFolderName(path));
104
+ const searching = computed(() => Boolean(query.value));
105
+ /** Stores without image dimensions, such as a raw Blob Store, leave the Dimensions column out. */
106
+ const hasDimensions = computed(() => items.value.some(file => file.width && file.height));
107
+ const selectedSet = computed(() => new Set(selected.value));
108
+ const selecting = computed(() => selected.value.length > 0);
109
+ /** Selection exists for bulk moves and deletes on the page, and for picking several files in the picker. */
110
+ /** A folder or file that the store keeps for itself can be read here, but not uploaded to, moved, or deleted. */
111
+ const folderProtected = computed(() => props.client.isProtected?.(folder.value) ?? false);
112
+ const canWrite = computed(() => access.value.write && !folderProtected.value);
113
+ const selectionManageable = computed(() => access.value.manage && !selectedFiles().some(file => props.client.isProtected?.(file.pathname)));
114
+ const canSelect = computed(() => (props.mode === "page" ? access.value.manage : Boolean(props.multiple)));
115
+ const pickable = (file: ConsoleMediaFile) => props.mode !== "picker" || consoleMediaAccepts(props.accept, file.contentType);
116
+
117
+ async function load(options: { more?: boolean } = {}): Promise<void> {
118
+ const current = ++request;
119
+ if (options.more) loadingMore.value = true;
120
+ else loading.value = true;
121
+ try {
122
+ const listing = await props.client.list({
123
+ ...(folder.value ? { folder: folder.value } : {}),
124
+ ...(query.value ? { search: query.value } : {}),
125
+ ...(type.value === "all" ? {} : { type: type.value }),
126
+ ...(options.more && cursor.value ? { cursor: cursor.value } : {}),
127
+ });
128
+ if (current !== request) return;
129
+ for (const file of listing.items) known.set(file.pathname, file);
130
+ items.value = options.more ? [...items.value, ...listing.items] : listing.items;
131
+ if (!options.more) folders.value = listing.folders;
132
+ cursor.value = listing.cursor;
133
+ truncated.value = listing.truncated === true;
134
+ access.value = listing.access;
135
+ served.value = listing.served;
136
+ error.value = undefined;
137
+ emit("info", { access: listing.access, served: listing.served, store: listing.store });
138
+ }
139
+ catch (requestError) {
140
+ if (current === request) error.value = requestError;
141
+ }
142
+ finally {
143
+ if (current === request) {
144
+ loading.value = false;
145
+ loadingMore.value = false;
146
+ }
147
+ }
148
+ }
149
+
150
+ watch(folder, () => {
151
+ if (props.mode === "page") selected.value = [];
152
+ void load();
153
+ });
154
+ watch(type, () => void load());
155
+ watch(search, (value) => {
156
+ clearTimeout(searchTimer);
157
+ searchTimer = setTimeout(() => {
158
+ query.value = value.trim();
159
+ void load();
160
+ }, 200);
161
+ });
162
+
163
+ onMounted(() => void load());
164
+
165
+ function open(path: string): void {
166
+ search.value = "";
167
+ query.value = "";
168
+ folder.value = path;
169
+ }
170
+
171
+ function thumbnail(file: ConsoleMediaFile, size = 256): string | undefined {
172
+ const url = file.url ?? consoleMediaUrl(served.value, file.pathname);
173
+ if (!url || consoleMediaType(file.contentType) !== "image") return undefined;
174
+ return consoleMediaTransformable(file.contentType) ? consoleMediaVariantUrl(url, {
175
+ // Keep the source uncropped when a focal point is set; CSS then applies the same focal-aware crop as the serve route.
176
+ fit: file.focal ? "inside" : "cover",
177
+ height: size,
178
+ version: file.updatedAt,
179
+ width: size,
180
+ }) : url;
181
+ }
182
+
183
+ /** Thumbnails fade in once decoded, over the dominant color, instead of painting line by line. */
184
+ function loaded(event: Event): void {
185
+ if (event.target instanceof HTMLImageElement) event.target.dataset.loaded = "";
186
+ }
187
+
188
+ function meta(file: ConsoleMediaFile): string {
189
+ return file.width && file.height ? `${file.width} × ${file.height}` : `${consoleMediaFormat(file)} · ${consoleBytes(file.size)}`;
190
+ }
191
+
192
+ // Selection
193
+
194
+ function toggle(file: ConsoleMediaFile): void {
195
+ if (!pickable(file)) return;
196
+ anchor = file.pathname;
197
+ if (props.mode === "picker" && !props.multiple) {
198
+ selected.value = selectedSet.value.has(file.pathname) ? [] : [file.pathname];
199
+ return;
200
+ }
201
+ selected.value = selectedSet.value.has(file.pathname) ? selected.value.filter(pathname => pathname !== file.pathname) : [...selected.value, file.pathname];
202
+ }
203
+
204
+ function range(file: ConsoleMediaFile): void {
205
+ const index = items.value.findIndex(item => item.pathname === file.pathname);
206
+ const from = anchor ? items.value.findIndex(item => item.pathname === anchor) : -1;
207
+ if (from === -1 || index === -1) {
208
+ toggle(file);
209
+ return;
210
+ }
211
+ const [start, end] = from < index ? [from, index] : [index, from];
212
+ const span = items.value.slice(start, end + 1).filter(pickable).map(item => item.pathname);
213
+ selected.value = [...new Set([...selected.value, ...span])];
214
+ }
215
+
216
+ function click(file: ConsoleMediaFile, event: MouseEvent): void {
217
+ if (event.shiftKey && canSelect.value) {
218
+ range(file);
219
+ return;
220
+ }
221
+ if (props.mode === "picker" || (canSelect.value && (event.metaKey || event.ctrlKey || selecting.value))) {
222
+ toggle(file);
223
+ return;
224
+ }
225
+ anchor = file.pathname;
226
+ emit("open", file);
227
+ }
228
+
229
+ function activate(file: ConsoleMediaFile): void {
230
+ if (props.mode !== "picker" || !pickable(file)) return;
231
+ if (!selectedSet.value.has(file.pathname)) {
232
+ if (props.multiple) selected.value = [...selected.value, file.pathname];
233
+ else selected.value = [file.pathname];
234
+ }
235
+ emit("confirm");
236
+ }
237
+
238
+ function keydown(event: KeyboardEvent): void {
239
+ const target = event.target as HTMLElement;
240
+ if (target.closest("input, textarea, [contenteditable=true]")) return;
241
+ if (event.key === "Escape" && selecting.value && props.mode === "page") {
242
+ event.preventDefault();
243
+ selected.value = [];
244
+ }
245
+ else if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "a" && canSelect.value) {
246
+ event.preventDefault();
247
+ selected.value = items.value.filter(pickable).map(item => item.pathname);
248
+ }
249
+ else if ((event.key === "Backspace" || event.key === "Delete") && selecting.value && props.mode === "page" && selectionManageable.value) {
250
+ event.preventDefault();
251
+ void askRemove(selectedFiles());
252
+ }
253
+ }
254
+
255
+ function selectedFiles(): ConsoleMediaFile[] {
256
+ return selected.value.flatMap(pathname => known.get(pathname) ?? []);
257
+ }
258
+
259
+ // Uploads
260
+
261
+ const uploads = useConsoleMediaUploads(() => props.client, (result) => {
262
+ known.set(result.file.pathname, result.file);
263
+ // A new file in this folder joins the listing at once; a duplicate already lives elsewhere.
264
+ if (!result.duplicate && !searching.value && result.file.pathname.slice(0, Math.max(0, result.file.pathname.lastIndexOf("/"))) === folder.value) {
265
+ items.value = [result.file, ...items.value.filter(item => item.pathname !== result.file.pathname)];
266
+ }
267
+ });
268
+ const fileInput = ref<HTMLInputElement>();
269
+ const dragDepth = ref(0);
270
+
271
+ async function upload(files: readonly File[]): Promise<ConsoleMediaUploadResult[]> {
272
+ if (!files.length) return [];
273
+ if (!canWrite.value) {
274
+ toast.error("You cannot upload files here. Ask for write access to a collection.");
275
+ return [];
276
+ }
277
+ const results = await uploads.add(files, folder.value);
278
+ if (results.length) emit("changed");
279
+ if (props.mode === "picker" && results.length) {
280
+ const picked = results.map(result => result.file).filter(pickable).map(file => file.pathname);
281
+ selected.value = props.multiple ? [...new Set([...selected.value, ...picked])] : picked.slice(-1);
282
+ }
283
+ return results;
284
+ }
285
+
286
+ function chooseFiles(event: Event): void {
287
+ const input = event.target as HTMLInputElement;
288
+ const files = [...input.files ?? []];
289
+ input.value = "";
290
+ void upload(files);
291
+ }
292
+
293
+ function hasFiles(event: DragEvent): boolean {
294
+ return [...event.dataTransfer?.types ?? []].includes("Files");
295
+ }
296
+
297
+ function dragenter(event: DragEvent): void {
298
+ if (!hasFiles(event) || !canWrite.value) return;
299
+ event.preventDefault();
300
+ dragDepth.value++;
301
+ }
302
+
303
+ function dragover(event: DragEvent): void {
304
+ if (!hasFiles(event) || !canWrite.value) return;
305
+ event.preventDefault();
306
+ if (event.dataTransfer) event.dataTransfer.dropEffect = "copy";
307
+ }
308
+
309
+ function dragleave(event: DragEvent): void {
310
+ if (!hasFiles(event)) return;
311
+ dragDepth.value = Math.max(0, dragDepth.value - 1);
312
+ }
313
+
314
+ function drop(event: DragEvent): void {
315
+ if (!hasFiles(event)) return;
316
+ event.preventDefault();
317
+ dragDepth.value = 0;
318
+ void upload([...event.dataTransfer?.files ?? []]);
319
+ }
320
+
321
+ // Folders
322
+
323
+ const folderOpen = ref(false);
324
+ const folderName = ref("");
325
+ const creatingFolder = ref(false);
326
+
327
+ async function createFolder(): Promise<void> {
328
+ const name = folderName.value.trim();
329
+ if (!name) return;
330
+ creatingFolder.value = true;
331
+ try {
332
+ const { path } = await props.client.createFolder(folder.value, name);
333
+ folderOpen.value = false;
334
+ folderName.value = "";
335
+ folders.value = [...new Set([...folders.value, path])].sort((left, right) => left.localeCompare(right));
336
+ toast.show({ title: `Folder ${consoleFolderName(path)} created` });
337
+ }
338
+ catch (requestError) {
339
+ toast.error(`Couldn't create the folder. ${consoleErrorMessage(requestError, "Try again.")}`);
340
+ }
341
+ finally {
342
+ creatingFolder.value = false;
343
+ }
344
+ }
345
+
346
+ // Moves
347
+
348
+ const moveDialog = ref<InstanceType<typeof ConsoleMediaMove>>();
349
+ const moveState = ref<{ files?: ConsoleMediaFile[], folder?: string, name?: string, title: string, warning?: string }>();
350
+ const moveOpen = ref(false);
351
+
352
+ function usageWarning(references: Record<string, ConsoleMediaReferenceDocument[]>, verb: string): string | undefined {
353
+ const documents = new Map<string, ConsoleMediaReferenceDocument>();
354
+ for (const list of Object.values(references)) for (const reference of list) documents.set(`${reference.collection}/${reference.id}`, reference);
355
+ if (!documents.size) return undefined;
356
+ const names = [...documents.values()].slice(0, 3).map(reference => reference.title).join(", ");
357
+ const more = documents.size > 3 ? ` and ${documents.size - 3} more` : "";
358
+ return `Used in ${documents.size === 1 ? "1 document" : `${documents.size} documents`}: ${names}${more}. ${verb} breaks their links until you pick the file again.`;
359
+ }
360
+
361
+ /** Each dialog opening gets a ticket, so a late usage check never updates a newer dialog. */
362
+ let ticket = 0;
363
+
364
+ async function askMove(files: ConsoleMediaFile[]): Promise<void> {
365
+ if (!files.length) return;
366
+ const current = ++ticket;
367
+ const single = files.length === 1 ? files[0] : undefined;
368
+ moveState.value = { files, title: single ? `Rename or move ${single.name}` : `Move ${files.length} files`, ...(single ? { name: single.name } : {}) };
369
+ moveOpen.value = true;
370
+ try {
371
+ const warning = usageWarning(await props.client.usage(files.map(file => file.pathname)), "Moving");
372
+ if (current === ticket && moveState.value && warning) moveState.value = { ...moveState.value, warning };
373
+ }
374
+ catch {
375
+ // The move still works; the warning is a courtesy.
376
+ }
377
+ }
378
+
379
+ function askMoveFolder(path: string): void {
380
+ ticket++;
381
+ moveState.value = { folder: path, name: consoleFolderName(path), title: `Rename or move ${consoleFolderName(path)}` };
382
+ moveOpen.value = true;
383
+ }
384
+
385
+ async function confirmMove(destination: { folder: string, name?: string }): Promise<void> {
386
+ const state = moveState.value;
387
+ if (!state) return;
388
+ const join = (parent: string, name: string) => (parent ? `${parent}/${name}` : name);
389
+ try {
390
+ if (state.folder !== undefined) {
391
+ const { path } = await props.client.moveFolder(state.folder, join(destination.folder, destination.name ?? consoleFolderName(state.folder)));
392
+ toast.show({ title: `Folder moved to ${path}` });
393
+ }
394
+ else if (state.files) {
395
+ const result = await props.client.move(state.files.map(file => ({ from: file.pathname, to: join(destination.folder, state.files!.length === 1 && destination.name ? destination.name : file.name) })));
396
+ if (result.failed.length && !result.moved.length) throw new Error(result.failed[0]!.message);
397
+ for (const file of result.moved) known.set(file.pathname, file);
398
+ if (result.failed.length) toast.error(`${result.failed.length} of ${state.files.length} files couldn't move. ${result.failed[0]!.message}`);
399
+ else toast.show({ title: result.moved.length === 1 ? `Moved to ${result.moved[0]!.pathname}` : `${result.moved.length} files moved` });
400
+ if (props.active && state.files.some(file => file.pathname === props.active)) emit("open", result.moved.find(file => file.name === destination.name) ?? result.moved[0]);
401
+ }
402
+ moveOpen.value = false;
403
+ selected.value = [];
404
+ emit("changed");
405
+ await load();
406
+ }
407
+ catch (requestError) {
408
+ moveDialog.value?.failed(consoleErrorMessage(requestError, "The move failed."));
409
+ }
410
+ }
411
+
412
+ // Deletes
413
+
414
+ const removeState = ref<{ files?: ConsoleMediaFile[], folder?: string, count?: number, warning?: string, checking: boolean }>();
415
+ const removeOpen = ref(false);
416
+ const removing = ref(false);
417
+
418
+ async function askRemove(files: ConsoleMediaFile[]): Promise<void> {
419
+ if (!files.length) return;
420
+ const current = ++ticket;
421
+ removeState.value = { checking: true, files };
422
+ removeOpen.value = true;
423
+ try {
424
+ const warning = usageWarning(await props.client.usage(files.map(file => file.pathname)), "Deleting");
425
+ if (current === ticket && removeState.value) removeState.value = { ...removeState.value, checking: false, ...(warning ? { warning } : {}) };
426
+ }
427
+ catch {
428
+ if (current === ticket && removeState.value) removeState.value = { ...removeState.value, checking: false, warning: "Couldn't check which documents use these files." };
429
+ }
430
+ }
431
+
432
+ async function askRemoveFolder(path: string): Promise<void> {
433
+ const current = ++ticket;
434
+ removeState.value = { checking: true, folder: path };
435
+ removeOpen.value = true;
436
+ try {
437
+ const listing = await props.client.list({ folder: path });
438
+ const count = listing.items.length + listing.folders.length;
439
+ if (current === ticket && removeState.value) removeState.value = { ...removeState.value, checking: false, count: listing.hasMore ? Number.POSITIVE_INFINITY : count };
440
+ }
441
+ catch {
442
+ if (current === ticket && removeState.value) removeState.value = { ...removeState.value, checking: false };
443
+ }
444
+ }
445
+
446
+ async function confirmRemove(): Promise<void> {
447
+ const state = removeState.value;
448
+ if (!state) return;
449
+ removing.value = true;
450
+ try {
451
+ if (state.folder !== undefined) {
452
+ const { removed } = await props.client.removeFolder(state.folder, true);
453
+ toast.show({ title: removed ? `Folder and ${removed === 1 ? "1 file" : `${removed} files`} deleted` : "Folder deleted" });
454
+ }
455
+ else if (state.files) {
456
+ const result = await props.client.remove(state.files.map(file => file.pathname));
457
+ if (result.failed.length) toast.error(`${result.failed.length} of ${state.files.length} files couldn't be deleted. ${result.failed[0]!.message}`);
458
+ else toast.show({ title: result.removed.length === 1 ? `${state.files[0]!.name} deleted` : `${result.removed.length} files deleted` });
459
+ for (const pathname of result.removed) known.delete(pathname);
460
+ items.value = items.value.filter(item => !result.removed.includes(item.pathname));
461
+ selected.value = selected.value.filter(pathname => !result.removed.includes(pathname));
462
+ if (props.active && result.removed.includes(props.active)) emit("open", undefined);
463
+ }
464
+ removeOpen.value = false;
465
+ emit("changed");
466
+ await load();
467
+ }
468
+ catch (requestError) {
469
+ toast.error(`Couldn't delete. ${consoleErrorMessage(requestError, "Try again.")}`);
470
+ }
471
+ finally {
472
+ removing.value = false;
473
+ }
474
+ }
475
+
476
+ const removeTitle = computed(() => {
477
+ const state = removeState.value;
478
+ if (!state) return "Delete";
479
+ if (state.folder !== undefined) return `Delete ${consoleFolderName(state.folder)}`;
480
+ return state.files?.length === 1 ? `Delete ${state.files[0]!.name}` : `Delete ${state.files?.length ?? 0} files`;
481
+ });
482
+
483
+ /** Replace a file after the detail panel changed it. */
484
+ function replace(file: ConsoleMediaFile): void {
485
+ known.set(file.pathname, file);
486
+ items.value = items.value.map(item => (item.pathname === file.pathname ? file : item));
487
+ }
488
+
489
+ onBeforeUnmount(() => clearTimeout(searchTimer));
490
+
491
+ defineExpose({
492
+ askMove,
493
+ askRemove,
494
+ /** A listed file by pathname, including ones listed in other folders. */
495
+ file: (pathname: string) => known.get(pathname),
496
+ /** The selected files, including ones listed in other folders. */
497
+ files: selectedFiles,
498
+ reload: () => load(),
499
+ replace,
500
+ upload,
501
+ });
502
+ </script>
503
+
504
+ <template>
505
+ <div
506
+ class="vitehub-media-browser relative flex min-h-0 flex-1 flex-col"
507
+ @dragenter="dragenter"
508
+ @dragover="dragover"
509
+ @dragleave="dragleave"
510
+ @drop="drop"
511
+ @keydown="keydown"
512
+ >
513
+ <ConsolePageToolbar>
514
+ <!-- On the Media page the header shows the folder trail; the picker shows it here. -->
515
+ <nav v-if="mode === 'picker'" class="flex min-w-0 basis-full items-center gap-0.5 text-[13px] sm:basis-auto sm:flex-1" aria-label="Folders">
516
+ <template v-for="(path, index) in trail" :key="path || '/'">
517
+ <UIcon v-if="index" name="i-lucide-chevron-right" class="size-3.5 shrink-0 text-dimmed" aria-hidden="true" />
518
+ <button
519
+ type="button"
520
+ class="vitehub-media-crumb"
521
+ :aria-current="index === trail.length - 1 && !searching ? 'page' : undefined"
522
+ @click="open(path)"
523
+ >
524
+ {{ folderLabel(path) }}
525
+ </button>
526
+ </template>
527
+ </nav>
528
+ <UInput v-model="search" class="w-full sm:w-56" icon="i-lucide-search" size="sm" :placeholder="searchPlaceholder ?? 'Search file names…'" :aria-label="searchPlaceholder ?? 'Search file names'" />
529
+ <USelect v-model="type" class="w-32" size="sm" :items="typeItems" aria-label="Filter by type" />
530
+ <!-- Controls of the page that hosts the browser, such as the Blob section's store picker. -->
531
+ <slot name="toolbar" />
532
+ <div class="ms-auto flex items-center gap-1.5">
533
+ <div class="flex rounded-md ring-1 ring-(--ui-border) ring-inset" role="group" aria-label="View">
534
+ <UTooltip text="Grid">
535
+ <UButton size="sm" variant="ghost" icon="i-lucide-layout-grid" aria-label="Grid" :aria-pressed="view === 'grid'" :class="view === 'grid' ? 'bg-elevated text-highlighted' : 'text-dimmed'" @click="view = 'grid'" />
536
+ </UTooltip>
537
+ <UTooltip text="List">
538
+ <UButton size="sm" variant="ghost" icon="i-lucide-list" aria-label="List" :aria-pressed="view === 'list'" :class="view === 'list' ? 'bg-elevated text-highlighted' : 'text-dimmed'" @click="view = 'list'" />
539
+ </UTooltip>
540
+ </div>
541
+ <!-- The Media page moves its actions into the page header, next to the title, like New on a collection. -->
542
+ <Teleport v-if="canWrite" :to="actionsTarget ?? 'body'" :disabled="!actionsTarget">
543
+ <UPopover v-if="client.capabilities?.folders !== false" v-model:open="folderOpen" :content="{ align: 'end' }">
544
+ <UButton size="sm" variant="outline" icon="i-lucide-folder-plus" :label="actionsTarget ? 'New folder' : undefined" aria-label="New folder" />
545
+ <template #content>
546
+ <form class="grid w-64 gap-2 p-3" @submit.prevent="createFolder">
547
+ <UInput v-model="folderName" size="sm" placeholder="Folder name" aria-label="Folder name" autofocus />
548
+ <p class="text-xs text-dimmed">In {{ folderLabel(folder) }}</p>
549
+ <div class="flex justify-end gap-2">
550
+ <UButton size="xs" variant="ghost" label="Cancel" @click="folderOpen = false" />
551
+ <UButton type="submit" size="xs" label="Create" :loading="creatingFolder" :disabled="!folderName.trim()" />
552
+ </div>
553
+ </form>
554
+ </template>
555
+ </UPopover>
556
+ <UButton size="sm" icon="i-lucide-upload" label="Upload" @click="fileInput?.click()" />
557
+ </Teleport>
558
+ <input ref="fileInput" type="file" multiple class="hidden" :accept="mode === 'picker' && accept?.length ? accept.join(',') : undefined" aria-label="Files to upload" @change="chooseFiles">
559
+ </div>
560
+ </ConsolePageToolbar>
561
+
562
+ <div class="min-h-0 flex-1 overflow-y-auto" :class="mode === 'page' ? 'p-4' : 'p-3'">
563
+ <ConsoleState v-if="error" :error="error" :compact="mode === 'picker'" title="Could not load files" :retry="() => load()" />
564
+ <div v-else-if="loading && !items.length && !folders.length" class="vitehub-media-grid" aria-busy="true">
565
+ <USkeleton v-for="index in 12" :key="index" class="aspect-square rounded-md" />
566
+ </div>
567
+ <template v-else>
568
+ <p v-if="searching" class="mb-3 text-xs text-muted">
569
+ {{ items.length ? `${items.length} ${items.length === 1 ? "file" : "files"} in ${folderLabel(folder)} and its folders` : `No file names match “${query}”` }}{{ truncated ? ". Search stopped early; open a folder to narrow it." : "" }}
570
+ </p>
571
+
572
+ <div v-if="!searching && folders.length" class="vitehub-media-folders mb-4" :class="view === 'list' ? 'is-list' : ''">
573
+ <div v-for="path in folders" :key="path" class="vitehub-media-folder group">
574
+ <button type="button" class="flex min-w-0 flex-1 items-center gap-2 text-start" @click="open(path)">
575
+ <UIcon name="i-lucide-folder" class="size-4 shrink-0 text-muted" aria-hidden="true" />
576
+ <span class="truncate">{{ consoleFolderName(path) }}</span>
577
+ </button>
578
+ <UDropdownMenu
579
+ v-if="mode === 'page' && access.manage && client.capabilities?.folders !== false"
580
+ :content="{ align: 'end' }"
581
+ :items="[[{ label: 'Rename or move…', icon: 'i-lucide-pencil', onSelect: () => askMoveFolder(path) }], [{ label: 'Delete folder', icon: 'i-lucide-trash-2', color: 'error' as const, onSelect: () => askRemoveFolder(path) }]]"
582
+ >
583
+ <UButton variant="ghost" size="xs" icon="i-lucide-ellipsis" class="opacity-0 group-hover:opacity-100 focus-visible:opacity-100 data-[state=open]:opacity-100" :aria-label="`Actions for folder ${consoleFolderName(path)}`" />
584
+ </UDropdownMenu>
585
+ </div>
586
+ </div>
587
+
588
+ <UEmpty
589
+ v-if="!items.length && !searching && !folders.length"
590
+ variant="naked"
591
+ class="py-16"
592
+ :icon="folder ? 'i-lucide-folder-open' : 'i-lucide-images'"
593
+ :title="folder ? 'This folder is empty' : 'No media yet'"
594
+ :description="emptyDescription ?? (canWrite ? 'Drop files anywhere here, or upload them.' : 'Files that editors upload show here.')"
595
+ :actions="canWrite ? [{ label: 'Upload files', icon: 'i-lucide-upload', color: 'neutral', variant: 'outline', onClick: () => fileInput?.click() }] : []"
596
+ />
597
+
598
+ <!-- A plain list: each tile holds a button and a checkbox, and a listbox option cannot contain controls. -->
599
+ <ul v-else-if="view === 'grid' && items.length" class="vitehub-media-grid" :aria-label="`Files in ${folderLabel(folder)}`">
600
+ <li
601
+ v-for="file in items"
602
+ :key="file.pathname"
603
+ class="vitehub-media-tile group"
604
+ :class="{ 'is-selected': selectedSet.has(file.pathname), 'is-active': active === file.pathname, 'is-disabled': !pickable(file) }"
605
+ >
606
+ <button
607
+ type="button"
608
+ class="vitehub-media-tile__button"
609
+ :title="file.pathname"
610
+ :disabled="!pickable(file)"
611
+ :aria-pressed="mode === 'picker' ? selectedSet.has(file.pathname) : undefined"
612
+ :aria-current="mode === 'page' && active === file.pathname ? 'true' : undefined"
613
+ @click="click(file, $event)"
614
+ @dblclick="activate(file)"
615
+ @keydown.enter.prevent="mode === 'picker' ? activate(file) : click(file, $event as unknown as MouseEvent)"
616
+ >
617
+ <span class="vitehub-media-tile__thumb" :style="{ background: file.color }">
618
+ <img v-if="thumbnail(file)" :src="thumbnail(file)" :alt="file.alt ?? ''" loading="lazy" decoding="async" class="vitehub-media-tile__image" :style="{ objectPosition: consoleFocalCropPosition(file.focal, file, 1) }" @load="loaded">
619
+ <span v-else class="flex size-full flex-col items-center justify-center gap-1 text-dimmed">
620
+ <UIcon :name="consoleMediaTypeIcons[consoleMediaType(file.contentType)]" class="size-6" aria-hidden="true" />
621
+ <span class="text-[11px] font-medium">{{ consoleMediaFormat(file) }}</span>
622
+ </span>
623
+ </span>
624
+ <span class="grid min-w-0 gap-0.5 px-0.5 pt-2">
625
+ <span class="truncate text-[13px] text-highlighted">{{ file.name }}</span>
626
+ <span class="truncate text-xs text-dimmed tabular-nums">{{ searching ? file.pathname : meta(file) }}</span>
627
+ </span>
628
+ </button>
629
+ <UCheckbox color="neutral"
630
+ v-if="canSelect"
631
+ class="vitehub-media-tile__check"
632
+ :model-value="selectedSet.has(file.pathname)"
633
+ :disabled="!pickable(file)"
634
+ :aria-label="`Select ${file.name}`"
635
+ @update:model-value="toggle(file)"
636
+ />
637
+ </li>
638
+ </ul>
639
+
640
+ <table v-else-if="items.length" class="vitehub-media-table w-full text-[13px]">
641
+ <thead>
642
+ <tr>
643
+ <th v-if="canSelect" class="w-8"><span class="sr-only">Selected</span></th>
644
+ <th class="text-start">Name</th>
645
+ <th class="hidden text-start sm:table-cell">Type</th>
646
+ <th class="hidden text-end sm:table-cell">Size</th>
647
+ <th v-if="hasDimensions" class="hidden text-end md:table-cell">Dimensions</th>
648
+ <th class="hidden text-end lg:table-cell">Uploaded</th>
649
+ </tr>
650
+ </thead>
651
+ <tbody>
652
+ <tr
653
+ v-for="file in items"
654
+ :key="file.pathname"
655
+ :class="{ 'is-selected': selectedSet.has(file.pathname), 'is-active': active === file.pathname, 'is-disabled': !pickable(file) }"
656
+ @click="pickable(file) && click(file, $event)"
657
+ @dblclick="activate(file)"
658
+ >
659
+ <td v-if="canSelect" @click.stop>
660
+ <UCheckbox color="neutral" :model-value="selectedSet.has(file.pathname)" :disabled="!pickable(file)" :aria-label="`Select ${file.name}`" @update:model-value="toggle(file)" />
661
+ </td>
662
+ <td>
663
+ <button type="button" class="flex min-w-0 items-center gap-2.5 text-start" :disabled="!pickable(file)" :aria-pressed="mode === 'picker' ? selectedSet.has(file.pathname) : undefined" :aria-current="mode === 'page' && active === file.pathname ? 'true' : undefined" @click.stop="click(file, $event)" @keydown.enter.prevent="mode === 'picker' ? activate(file) : click(file, $event as unknown as MouseEvent)">
664
+ <span class="vitehub-media-row-thumb" :style="{ background: file.color }">
665
+ <img v-if="thumbnail(file, 64)" :src="thumbnail(file, 64)" alt="" loading="lazy" class="size-full object-cover" :style="{ objectPosition: consoleFocalCropPosition(file.focal, file, 1) }">
666
+ <UIcon v-else :name="consoleMediaTypeIcons[consoleMediaType(file.contentType)]" class="size-4 text-dimmed" aria-hidden="true" />
667
+ </span>
668
+ <span class="grid min-w-0">
669
+ <span class="truncate text-highlighted">{{ file.name }}</span>
670
+ <span v-if="searching" class="truncate font-mono text-xs text-dimmed">{{ file.pathname }}</span>
671
+ </span>
672
+ </button>
673
+ </td>
674
+ <td class="hidden text-muted sm:table-cell">{{ consoleMediaFormat(file) }}</td>
675
+ <td class="hidden text-end text-muted tabular-nums sm:table-cell">{{ consoleBytes(file.size) }}</td>
676
+ <td v-if="hasDimensions" class="hidden text-end text-muted tabular-nums md:table-cell">{{ file.width && file.height ? `${file.width} × ${file.height}` : "—" }}</td>
677
+ <td class="hidden text-end text-muted lg:table-cell"><ConsoleRelativeTime :value="file.createdAt" /></td>
678
+ </tr>
679
+ </tbody>
680
+ </table>
681
+
682
+ <div v-if="cursor && !searching" class="mt-4 flex justify-center">
683
+ <UButton variant="outline" size="sm" label="Load more" :loading="loadingMore" @click="load({ more: true })" />
684
+ </div>
685
+ </template>
686
+ </div>
687
+
688
+ <div v-if="mode === 'page' && selecting" class="vitehub-media-bulk" role="toolbar" aria-label="Selected files">
689
+ <span class="ps-1 text-[13px] text-highlighted tabular-nums">{{ selected.length }} selected</span>
690
+ <span class="h-4 w-px bg-(--ui-border)" aria-hidden="true" />
691
+ <UButton v-if="selectionManageable && client.capabilities?.move !== false" size="sm" variant="ghost" icon="i-lucide-folder-input" label="Move…" @click="askMove(selectedFiles())" />
692
+ <UButton v-if="selectionManageable" size="sm" variant="ghost" color="error" icon="i-lucide-trash-2" label="Delete" @click="askRemove(selectedFiles())" />
693
+ <UTooltip text="Clear selection" :kbds="['esc']">
694
+ <UButton size="sm" variant="ghost" icon="i-lucide-x" aria-label="Clear selection" @click="selected = []" />
695
+ </UTooltip>
696
+ </div>
697
+
698
+ <div v-if="dragDepth > 0" class="vitehub-media-drop" aria-hidden="true">
699
+ <div class="flex flex-col items-center gap-2 text-center">
700
+ <UIcon name="i-lucide-upload" class="size-6 text-highlighted" />
701
+ <p class="text-sm font-medium text-highlighted">Drop to upload to {{ folderLabel(folder) }}</p>
702
+ </div>
703
+ </div>
704
+
705
+ <ConsoleMediaUploads :uploads="uploads" />
706
+
707
+ <ConsoleMediaMove
708
+ v-if="moveState"
709
+ ref="moveDialog"
710
+ v-model:open="moveOpen"
711
+ :client="client"
712
+ :folder="moveState.folder !== undefined ? moveState.folder.slice(0, Math.max(0, moveState.folder.lastIndexOf('/'))) : folder"
713
+ :moving="moveState.folder"
714
+ :name="moveState.name"
715
+ :title="moveState.title"
716
+ :warning="moveState.warning"
717
+ @confirm="confirmMove"
718
+ />
719
+
720
+ <UModal v-model:open="removeOpen" :title="removeTitle" :ui="{ content: 'sm:max-w-[440px]' }">
721
+ <template #body>
722
+ <div class="grid gap-3 text-[13px] text-muted">
723
+ <template v-if="removeState?.folder !== undefined">
724
+ <p v-if="removeState.checking">Checking the folder…</p>
725
+ <p v-else-if="removeState.count">Everything inside it is deleted too: files, their crops, and their variants. This cannot be undone.</p>
726
+ <p v-else>The folder is empty.</p>
727
+ </template>
728
+ <template v-else>
729
+ <p>The {{ removeState?.files?.length === 1 ? "file" : "files" }}, {{ removeState?.files?.length === 1 ? "its" : "their" }} crops, and {{ removeState?.files?.length === 1 ? "its" : "their" }} variants are deleted. This cannot be undone.</p>
730
+ <USkeleton v-if="removeState?.checking" class="h-9 w-full" />
731
+ <p v-else-if="removeState?.warning" class="flex gap-2 rounded-md bg-elevated/60 px-3 py-2 text-xs">
732
+ <UIcon name="i-lucide-triangle-alert" class="mt-px size-3.5 shrink-0 text-warning" aria-hidden="true" />
733
+ <span>{{ removeState.warning }}</span>
734
+ </p>
735
+ </template>
736
+ </div>
737
+ </template>
738
+ <template #footer>
739
+ <div class="flex w-full justify-end gap-2">
740
+ <UButton variant="ghost" label="Cancel" @click="removeOpen = false" />
741
+ <UButton color="error" label="Delete" :loading="removing" :disabled="removeState?.checking" @click="confirmRemove" />
742
+ </div>
743
+ </template>
744
+ </UModal>
745
+ </div>
746
+ </template>
747
+
748
+ <style>
749
+ /* The detail panel of a file sits next to the browser on wide screens and covers it on narrow ones. */
750
+ .vitehub-media-library__detail {
751
+ border-left: 1px solid var(--ui-border);
752
+ flex-shrink: 0;
753
+ width: 22.5rem;
754
+ }
755
+
756
+ @media (max-width: 1023px) {
757
+ .vitehub-media-library__detail {
758
+ background: var(--ui-bg);
759
+ border-left: 0;
760
+ inset: 0;
761
+ position: absolute;
762
+ width: auto;
763
+ z-index: 40;
764
+ }
765
+ }
766
+
767
+ .vitehub-media-crumb {
768
+ border-radius: 0.375rem;
769
+ color: var(--ui-text-muted);
770
+ max-width: 12rem;
771
+ overflow: hidden;
772
+ padding: 0.125rem 0.375rem;
773
+ text-overflow: ellipsis;
774
+ white-space: nowrap;
775
+ }
776
+
777
+ .vitehub-media-crumb:hover {
778
+ background: var(--ui-bg-elevated);
779
+ color: var(--ui-text-highlighted);
780
+ }
781
+
782
+ .vitehub-media-crumb[aria-current="page"] {
783
+ color: var(--ui-text-highlighted);
784
+ font-weight: 500;
785
+ }
786
+
787
+ .vitehub-media-crumb:focus-visible {
788
+ outline: 2px solid var(--ui-primary);
789
+ outline-offset: -2px;
790
+ }
791
+
792
+ .vitehub-media-grid {
793
+ display: grid;
794
+ gap: 1rem 0.75rem;
795
+ grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));
796
+ }
797
+
798
+ @media (min-width: 640px) {
799
+ .vitehub-media-grid {
800
+ grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
801
+ }
802
+ }
803
+
804
+ .vitehub-media-folders {
805
+ display: grid;
806
+ gap: 0.5rem;
807
+ grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
808
+ }
809
+
810
+ .vitehub-media-folders.is-list {
811
+ gap: 1px;
812
+ grid-template-columns: 1fr;
813
+ }
814
+
815
+ .vitehub-media-folder {
816
+ align-items: center;
817
+ border: 1px solid var(--ui-border);
818
+ border-radius: 0.375rem;
819
+ color: var(--ui-text-highlighted);
820
+ display: flex;
821
+ font-size: 0.8125rem;
822
+ gap: 0.25rem;
823
+ height: 2.5rem;
824
+ padding-inline: 0.75rem 0.25rem;
825
+ }
826
+
827
+ .vitehub-media-folders.is-list .vitehub-media-folder {
828
+ border-color: transparent;
829
+ height: 2.25rem;
830
+ padding-inline: 0.5rem 0.25rem;
831
+ }
832
+
833
+ .vitehub-media-folder:hover {
834
+ background: var(--ui-bg-elevated);
835
+ }
836
+
837
+ .vitehub-media-tile {
838
+ min-width: 0;
839
+ position: relative;
840
+ }
841
+
842
+ .vitehub-media-tile__button {
843
+ display: grid;
844
+ min-width: 0;
845
+ text-align: start;
846
+ width: 100%;
847
+ }
848
+
849
+ .vitehub-media-tile__button:focus-visible {
850
+ outline: none;
851
+ }
852
+
853
+ .vitehub-media-tile__button:focus-visible .vitehub-media-tile__thumb {
854
+ outline: 2px solid var(--ui-primary);
855
+ outline-offset: 2px;
856
+ }
857
+
858
+ /* An inset hairline keeps light images apart from the page (Rauno: image outlines). */
859
+ .vitehub-media-tile__thumb {
860
+ aspect-ratio: 1;
861
+ background: var(--ui-bg-elevated);
862
+ border-radius: 0.375rem;
863
+ display: block;
864
+ overflow: hidden;
865
+ position: relative;
866
+ }
867
+
868
+ .vitehub-media-tile__thumb::after {
869
+ border-radius: inherit;
870
+ box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
871
+ content: "";
872
+ inset: 0;
873
+ pointer-events: none;
874
+ position: absolute;
875
+ }
876
+
877
+ .dark .vitehub-media-tile__thumb::after {
878
+ box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
879
+ }
880
+
881
+ .vitehub-media-tile__image {
882
+ height: 100%;
883
+ object-fit: cover;
884
+ opacity: 0;
885
+ transition: opacity 150ms ease-out;
886
+ width: 100%;
887
+ }
888
+
889
+ .vitehub-media-tile__image[data-loaded] {
890
+ opacity: 1;
891
+ }
892
+
893
+ .vitehub-media-tile.is-selected .vitehub-media-tile__thumb,
894
+ .vitehub-media-tile.is-active .vitehub-media-tile__thumb {
895
+ outline: 2px solid var(--ui-border-inverted);
896
+ outline-offset: 2px;
897
+ }
898
+
899
+ .vitehub-media-tile.is-disabled {
900
+ opacity: 0.45;
901
+ }
902
+
903
+ .vitehub-media-tile__check {
904
+ left: 0.5rem;
905
+ opacity: 0;
906
+ position: absolute;
907
+ top: 0.5rem;
908
+ }
909
+
910
+ .vitehub-media-tile:hover .vitehub-media-tile__check,
911
+ .vitehub-media-tile.is-selected .vitehub-media-tile__check,
912
+ .vitehub-media-tile__check:focus-within,
913
+ .vitehub-media-grid:has(.is-selected) .vitehub-media-tile__check {
914
+ opacity: 1;
915
+ }
916
+
917
+ .vitehub-media-table th {
918
+ border-bottom: 1px solid var(--ui-border);
919
+ color: var(--ui-text-dimmed);
920
+ font-size: 0.75rem;
921
+ font-weight: 500;
922
+ height: 2rem;
923
+ padding-inline: 0.5rem;
924
+ }
925
+
926
+ .vitehub-media-table td {
927
+ border-bottom: 1px solid var(--ui-border);
928
+ height: 2.75rem;
929
+ padding-inline: 0.5rem;
930
+ }
931
+
932
+ .vitehub-media-table tbody tr:hover {
933
+ background: var(--ui-bg-elevated);
934
+ }
935
+
936
+ .vitehub-media-table tbody tr.is-selected,
937
+ .vitehub-media-table tbody tr.is-active {
938
+ background: var(--ui-bg-accented);
939
+ }
940
+
941
+ .vitehub-media-table tbody tr.is-disabled {
942
+ opacity: 0.45;
943
+ }
944
+
945
+ .vitehub-media-row-thumb {
946
+ align-items: center;
947
+ background: var(--ui-bg-elevated);
948
+ border-radius: 0.25rem;
949
+ display: inline-flex;
950
+ flex-shrink: 0;
951
+ height: 1.75rem;
952
+ justify-content: center;
953
+ overflow: hidden;
954
+ width: 1.75rem;
955
+ }
956
+
957
+ /* Floating bars use the Geist menu material: a 12px radius, a hairline ring, and a layered shadow. */
958
+ .vitehub-media-bulk {
959
+ align-items: center;
960
+ background: var(--ui-bg);
961
+ border-radius: 0.75rem;
962
+ bottom: 1rem;
963
+ box-shadow: 0 0 0 1px var(--ui-border), 0 1px 1px rgb(0 0 0 / 2%), 0 4px 8px -4px rgb(0 0 0 / 4%), 0 16px 24px -8px rgb(0 0 0 / 8%);
964
+ display: flex;
965
+ gap: 0.25rem;
966
+ left: 50%;
967
+ padding: 0.25rem 0.25rem 0.25rem 0.5rem;
968
+ position: absolute;
969
+ transform: translateX(-50%);
970
+ z-index: 15;
971
+ }
972
+
973
+ /* The drop target covers the whole browser, so a file can land anywhere on it. */
974
+ .vitehub-media-drop {
975
+ align-items: center;
976
+ background: color-mix(in oklab, var(--ui-bg) 85%, transparent);
977
+ border: 1.5px dashed var(--ui-border-inverted);
978
+ border-radius: 0.5rem;
979
+ display: flex;
980
+ inset: 0.5rem;
981
+ justify-content: center;
982
+ pointer-events: none;
983
+ position: absolute;
984
+ z-index: 30;
985
+ }
986
+ </style>