@vite-hub/ui 0.1.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +247 -21
  2. package/dist/attachments-BzTwqRTU.js +90 -0
  3. package/dist/{avatar-stack-DXmCQhxd.d.ts → avatar-stack-DPRFuezh.d.ts} +1 -1
  4. package/dist/choices-input-ByXJvDn1.d.ts +94 -0
  5. package/dist/{code-view-J4OsgEdh.js → code-view-DsU-xzic.js} +20 -4
  6. package/dist/colors-BghReA9C-CjF9gnmy.js +28 -0
  7. package/dist/comment-attachments-C4yNbcx5.js +20 -0
  8. package/dist/comment-composer-fINL5bxo.d.ts +243 -0
  9. package/dist/comment-composer-jYv2ULNP.js +591 -0
  10. package/dist/comment-layer-C_sbPIR5.d.ts +176 -0
  11. package/dist/comment-list-BcSaLngS.d.ts +62 -0
  12. package/dist/comment-marks.css +234 -0
  13. package/dist/comment-panel-CfvdRUMX.d.ts +208 -0
  14. package/dist/comment-person-CLPlW_SS.js +40 -0
  15. package/dist/comment-pin-DHOdRvUw.d.ts +68 -0
  16. package/dist/comment-row-Bn3nr8l5.js +39 -0
  17. package/dist/comment-selection-bar-CyVBNYl9.d.ts +42 -0
  18. package/dist/comment-thread-DKJjmWN0.d.ts +385 -0
  19. package/dist/comment-visibility-DsVuVndP.d.ts +40 -0
  20. package/dist/{comments-C08J3z4e.js → comments-D0d26ghV.js} +210 -59
  21. package/dist/comments-D8hulVPy.d.ts +198 -0
  22. package/dist/comments-context-C2lOZyQ5.js +38 -0
  23. package/dist/config-DgxBW013.d.ts +80 -0
  24. package/dist/config-Dk67emQt.js +63 -0
  25. package/dist/copy-button-CRN3kmSD.js +253 -0
  26. package/dist/draw-DzSmD7uo-Dwz8zoH2.js +72976 -0
  27. package/dist/editor-C_wt4RRV.js +582 -0
  28. package/dist/error-diagnostics-SXtnk6bz.js +38 -0
  29. package/dist/{file-tree-C1pv4_AI.js → file-tree-C4OYgbV-.js} +292 -145
  30. package/dist/{file-tree-Ctb8hZ_g.d.ts → file-tree-DlT9RGhu.d.ts} +51 -15
  31. package/dist/format-orwcdZL_.js +39 -0
  32. package/dist/handlers-DMl-Na3x.js +182 -0
  33. package/dist/headless.d.ts +5 -176
  34. package/dist/headless.js +5 -3
  35. package/dist/icon-swap.css +69 -0
  36. package/dist/{image-preview-VfknBEFu.js → image-preview-C9tdkmEj.js} +8 -5
  37. package/dist/{index-DcH0QSI5.d.ts → index-BYRFQfCd.d.ts} +14 -0
  38. package/dist/{code-view-vDM-hph-.d.ts → index-CNY1uNTh.d.ts} +14 -228
  39. package/dist/index.d.ts +55 -57
  40. package/dist/index.js +678 -25
  41. package/dist/markdown-editor-CMbNZOdN.js +2394 -0
  42. package/dist/markdown-editor-wQF0yD5o.d.ts +195 -0
  43. package/dist/markdown-editor.d.ts +108 -0
  44. package/dist/markdown-editor.js +3 -0
  45. package/dist/message-scroller-jrYN9dG9.d.ts +175 -0
  46. package/dist/nuxt-ui-DSQFzq3s.js +38 -0
  47. package/dist/nuxt.d.ts +84 -2
  48. package/dist/nuxt.js +243 -35
  49. package/dist/parts/components/agent-session.d.ts +254 -0
  50. package/dist/parts/components/agent-session.js +640 -0
  51. package/dist/{attachment-BBndG9_P.d.ts → parts/components/attachment.d.ts} +14 -15
  52. package/dist/{attachment-B3dXC7jM.js → parts/components/attachment.js} +6 -4
  53. package/dist/{avatar-stack.d.ts → parts/components/avatar-stack.d.ts} +1 -1
  54. package/dist/{avatar-stack-DM6HRnc0.js → parts/components/avatar-stack.js} +2 -5
  55. package/dist/{bubble-BJH2rfii.d.ts → parts/components/bubble.d.ts} +7 -8
  56. package/dist/{bubble-BPyFQlW7.js → parts/components/bubble.js} +2 -2
  57. package/dist/{chat-message-mpDmZbIC.d.ts → parts/components/chat-message.d.ts} +2 -3
  58. package/dist/{chat-message-BNK9G7xF.js → parts/components/chat-message.js} +4 -4
  59. package/dist/{chat-session-D6C7VJBR.d.ts → parts/components/chat-session.d.ts} +3 -4
  60. package/dist/{chat-session-DYEHB1HC.js → parts/components/chat-session.js} +2 -2
  61. package/dist/{chat-B9HlZWA2.d.ts → parts/components/chat.d.ts} +8 -4
  62. package/dist/{chat-BoFHlu9V.js → parts/components/chat.js} +42 -9
  63. package/dist/{highlighted-code-Dzf6o54i.d.ts → parts/components/code-block.d.ts} +15 -23
  64. package/dist/{code-block-Br-02hn-.js → parts/components/code-block.js} +9 -38
  65. package/dist/parts/components/code-view.d.ts +270 -0
  66. package/dist/parts/components/code-view.js +2 -0
  67. package/dist/parts/components/comment-composer.d.ts +2 -0
  68. package/dist/parts/components/comment-composer.js +2 -0
  69. package/dist/parts/components/comment-layer.d.ts +2 -0
  70. package/dist/parts/components/comment-layer.js +631 -0
  71. package/dist/parts/components/comment-list.d.ts +2 -0
  72. package/dist/parts/components/comment-list.js +168 -0
  73. package/dist/parts/components/comment-panel.d.ts +2 -0
  74. package/dist/parts/components/comment-panel.js +311 -0
  75. package/dist/parts/components/comment-pin.d.ts +2 -0
  76. package/dist/parts/components/comment-pin.js +75 -0
  77. package/dist/parts/components/comment-selection-bar.d.ts +2 -0
  78. package/dist/parts/components/comment-selection-bar.js +116 -0
  79. package/dist/parts/components/comment-thread.d.ts +2 -0
  80. package/dist/parts/components/comment-thread.js +598 -0
  81. package/dist/parts/components/comments.d.ts +8 -0
  82. package/dist/parts/components/comments.js +9 -0
  83. package/dist/{connection-status-DjGBw6xX.d.ts → parts/components/connection-status.d.ts} +6 -7
  84. package/dist/{connection-status-CzuWBENf.js → parts/components/connection-status.js} +1 -1
  85. package/dist/parts/components/copy-button.d.ts +118 -0
  86. package/dist/parts/components/copy-button.js +2 -0
  87. package/dist/parts/components/device-frame.d.ts +130 -0
  88. package/dist/parts/components/device-frame.js +471 -0
  89. package/dist/parts/components/file-tree.d.ts +2 -0
  90. package/dist/parts/components/file-tree.js +2 -0
  91. package/dist/parts/components/filter-search.d.ts +47 -0
  92. package/dist/parts/components/filter-search.js +58 -0
  93. package/dist/parts/components/markdown-editor.d.ts +2 -0
  94. package/dist/parts/components/markdown-editor.js +2 -0
  95. package/dist/parts/components/markdown-renderer.d.ts +52 -0
  96. package/dist/parts/components/markdown-renderer.js +23077 -0
  97. package/dist/{markdown-Dse5ldJe.d.ts → parts/components/markdown.d.ts} +7 -7
  98. package/dist/parts/components/markdown.js +47 -0
  99. package/dist/{marker-ea-tvx-J.d.ts → parts/components/marker.d.ts} +6 -7
  100. package/dist/{marker-Di2ZG_k1.js → parts/components/marker.js} +2 -2
  101. package/dist/{message-parts-BBFUkluC.d.ts → parts/components/message-parts.d.ts} +2 -3
  102. package/dist/{message-parts-DQnfioAH.js → parts/components/message-parts.js} +6 -6
  103. package/dist/{message-CW_paC1k.d.ts → parts/components/message.d.ts} +8 -9
  104. package/dist/{message-DiyBthIq.js → parts/components/message.js} +2 -2
  105. package/dist/parts/components/patch-parsers.d.ts +2 -0
  106. package/dist/parts/components/patch-parsers.js +2 -0
  107. package/dist/{prompt-input-Cy_Ue6B5.d.ts → parts/components/prompt-input.d.ts} +53 -10
  108. package/dist/{prompt-input-BbnCb80O.js → parts/components/prompt-input.js} +66 -111
  109. package/dist/parts/components/relative-time.d.ts +73 -0
  110. package/dist/parts/components/relative-time.js +2 -0
  111. package/dist/parts/components/status.d.ts +60 -0
  112. package/dist/parts/components/status.js +48 -0
  113. package/dist/{sync-status-refELOZn.d.ts → parts/components/sync-status.d.ts} +5 -6
  114. package/dist/{sync-status-BpxYdZIJ.js → parts/components/sync-status.js} +1 -1
  115. package/dist/{tool-list-E7CA52rz.d.ts → parts/components/tool-list.d.ts} +3 -4
  116. package/dist/{tool-list-BdSr5CT4.js → parts/components/tool-list.js} +7 -38
  117. package/dist/{trace-run-COeXn46Z.d.ts → parts/components/trace-run.d.ts} +3 -4
  118. package/dist/{trace-run-BIQ17CED.js → parts/components/trace-run.js} +15 -23
  119. package/dist/{trace-V7rM3Pyd.d.ts → parts/components/trace.d.ts} +11 -12
  120. package/dist/{trace-llBCDiSW.js → parts/components/trace.js} +20 -13
  121. package/dist/parts/composables/attachments.d.ts +32 -0
  122. package/dist/parts/composables/attachments.js +2 -0
  123. package/dist/parts/composables/highlighted-code.d.ts +9 -0
  124. package/dist/{highlighted-code-Ck4zexJX.js → parts/composables/highlighted-code.js} +5 -2
  125. package/dist/parts/headless/choices-input.d.ts +2 -0
  126. package/dist/parts/headless/choices-input.js +162 -0
  127. package/dist/parts/headless/comment-visibility.d.ts +2 -0
  128. package/dist/parts/headless/comment-visibility.js +128 -0
  129. package/dist/parts/headless/comments.d.ts +2 -0
  130. package/dist/parts/headless/comments.js +2 -0
  131. package/dist/parts/headless/message-scroller.d.ts +2 -0
  132. package/dist/{message-scroller-CX6NJTdm.js → parts/headless/message-scroller.js} +2 -2
  133. package/dist/parts/playground/highlight.d.ts +5 -0
  134. package/dist/parts/playground/highlight.js +23 -0
  135. package/dist/parts/playground/paths.d.ts +4 -0
  136. package/dist/parts/playground/paths.js +7 -0
  137. package/dist/parts/playground/playground-render.d.ts +126 -0
  138. package/dist/parts/playground/playground-render.js +356 -0
  139. package/dist/parts/playground/share.d.ts +2 -0
  140. package/dist/parts/playground/share.js +92 -0
  141. package/dist/parts/playground/zip.d.ts +6 -0
  142. package/dist/parts/playground/zip.js +76 -0
  143. package/dist/parts/workspace/browser-support-notice.d.ts +76 -0
  144. package/dist/parts/workspace/browser-support-notice.js +105 -0
  145. package/dist/parts/workspace/codemirror.d.ts +16 -0
  146. package/dist/parts/workspace/codemirror.js +243 -0
  147. package/dist/parts/workspace/connect-panel.d.ts +129 -0
  148. package/dist/parts/workspace/connect-panel.js +285 -0
  149. package/dist/parts/workspace/connect-store.d.ts +26 -0
  150. package/dist/parts/workspace/connect-store.js +59 -0
  151. package/dist/parts/workspace/icons.d.ts +34 -0
  152. package/dist/parts/workspace/icons.js +46 -0
  153. package/dist/parts/workspace/playground-container.d.ts +192 -0
  154. package/dist/parts/workspace/playground-container.js +603 -0
  155. package/dist/parts/workspace/workspace-boot-status.d.ts +75 -0
  156. package/dist/parts/workspace/workspace-boot-status.js +207 -0
  157. package/dist/parts/workspace/workspace-editor.d.ts +43 -0
  158. package/dist/parts/workspace/workspace-editor.js +54 -0
  159. package/dist/parts/workspace/workspace-file-tree.d.ts +53 -0
  160. package/dist/parts/workspace/workspace-file-tree.js +68 -0
  161. package/dist/parts/workspace/workspace-preview.d.ts +72 -0
  162. package/dist/parts/workspace/workspace-preview.js +307 -0
  163. package/dist/parts/workspace/workspace-shell.d.ts +88 -0
  164. package/dist/parts/workspace/workspace-shell.js +291 -0
  165. package/dist/parts/workspace/workspace-terminal.d.ts +39 -0
  166. package/dist/parts/workspace/workspace-terminal.js +130 -0
  167. package/dist/payload-text-sjkYAwvw.js +32 -0
  168. package/dist/{pierre-code-view-T7V67hwT.js → pierre-code-view-NE35tkmR.js} +245 -102
  169. package/dist/{pierre-dark-DDWDl8g6.js → pierre-dark-CzUmjETS.js} +3 -1
  170. package/dist/{pierre-light-CWhW4NrH.js → pierre-light-Dn6E0sWv.js} +3 -1
  171. package/dist/playground.d.ts +4 -0
  172. package/dist/playground.js +4 -0
  173. package/dist/relative-time-BVmjOsYG.js +309 -0
  174. package/dist/rolldown-runtime-C9mWXvCC.js +29 -0
  175. package/dist/runtime/nuxt-plugin.js +23 -4
  176. package/dist/sankey-CAYwt82B-D4uDQoMR.js +2887 -0
  177. package/dist/share-DM4eNy4q.d.ts +37 -0
  178. package/dist/{slot-part-C7Ocxn3b.js → slot-part-Doic71uh.js} +7 -1
  179. package/dist/styles.css +2609 -620
  180. package/dist/temml-BilSAAws.js +12362 -0
  181. package/dist/theme-focus-ring.css +42 -0
  182. package/dist/theme.css +376 -0
  183. package/dist/theme.d.ts +355 -0
  184. package/dist/theme.js +265 -0
  185. package/dist/{types-CqDwuJAm.d.ts → types-Dj7vp0lZ.d.ts} +1 -1
  186. package/dist/vue-BDmSCtay.js +30779 -0
  187. package/dist/vue-DGstVdGn.js +2492 -0
  188. package/dist/workspace.d.ts +15 -0
  189. package/dist/workspace.js +12 -0
  190. package/package.json +135 -149
  191. package/dist/andromeeda-BASpqCeJ.js +0 -4
  192. package/dist/attachment.d.ts +0 -2
  193. package/dist/attachment.js +0 -2
  194. package/dist/aurora-x-DugsLcii.js +0 -4
  195. package/dist/avatar-stack.js +0 -2
  196. package/dist/ayu-dark-BT3qdi3o.js +0 -4
  197. package/dist/ayu-light-BVZyHoh9.js +0 -4
  198. package/dist/ayu-mirage-XFwUVZQZ.js +0 -4
  199. package/dist/bubble.d.ts +0 -2
  200. package/dist/bubble.js +0 -2
  201. package/dist/catppuccin-frappe-D20KODDN.js +0 -4
  202. package/dist/catppuccin-latte-eGLVHIUJ.js +0 -4
  203. package/dist/catppuccin-macchiato-bQGch4PY.js +0 -4
  204. package/dist/catppuccin-mocha-Bes8-0Mr.js +0 -4
  205. package/dist/chat-message.d.ts +0 -2
  206. package/dist/chat-message.js +0 -2
  207. package/dist/chat-session.d.ts +0 -2
  208. package/dist/chat-session.js +0 -2
  209. package/dist/chat.d.ts +0 -2
  210. package/dist/chat.js +0 -2
  211. package/dist/code-block.d.ts +0 -2
  212. package/dist/code-block.js +0 -3
  213. package/dist/code-view.d.ts +0 -2
  214. package/dist/code-view.js +0 -2
  215. package/dist/comment-layer-CBlxJ8eK.js +0 -1113
  216. package/dist/comments-ChNJkV1d.d.ts +0 -108
  217. package/dist/comments-Cq5eewsu.d.ts +0 -537
  218. package/dist/comments.d.ts +0 -2
  219. package/dist/comments.js +0 -2
  220. package/dist/config-Bux_AJzm.d.ts +0 -29
  221. package/dist/config-bHqE4JOs.js +0 -38
  222. package/dist/connection-status.d.ts +0 -2
  223. package/dist/connection-status.js +0 -2
  224. package/dist/dark-plus-BGuiqa1B.js +0 -4
  225. package/dist/dracula-0CVA2XY5.js +0 -4
  226. package/dist/dracula-soft-Dk9bpbVU.js +0 -4
  227. package/dist/error-diagnostics-B4hMpJRL.js +0 -13
  228. package/dist/everforest-dark-CRjTbhh5.js +0 -4
  229. package/dist/everforest-light-CEeYFLn8.js +0 -4
  230. package/dist/file-diff.d.ts +0 -2
  231. package/dist/file-diff.js +0 -2
  232. package/dist/file-tree.d.ts +0 -2
  233. package/dist/file-tree.js +0 -2
  234. package/dist/file-view.d.ts +0 -2
  235. package/dist/file-view.js +0 -2
  236. package/dist/github-dark-BXgKmOw_.js +0 -4
  237. package/dist/github-dark-default-DzJQXksd.js +0 -4
  238. package/dist/github-dark-dimmed-B1pEmGtS.js +0 -4
  239. package/dist/github-dark-high-contrast-BkHIa6jc.js +0 -4
  240. package/dist/github-light-BKRlUbaB.js +0 -4
  241. package/dist/github-light-default-BU3eYkzs.js +0 -4
  242. package/dist/github-light-high-contrast-B3MumDcI.js +0 -4
  243. package/dist/gruvbox-dark-hard-B0ecF443.js +0 -4
  244. package/dist/gruvbox-dark-medium-BQnpC39k.js +0 -4
  245. package/dist/gruvbox-dark-soft-DFZUgESr.js +0 -4
  246. package/dist/gruvbox-light-hard-CuB_LOJr.js +0 -4
  247. package/dist/gruvbox-light-medium-idDHgxjs.js +0 -4
  248. package/dist/gruvbox-light-soft-CfWH49MY.js +0 -4
  249. package/dist/horizon-bright-Ba6M8QSV.js +0 -4
  250. package/dist/horizon-h92C5OlZ.js +0 -4
  251. package/dist/houston-EQnPegWq.js +0 -4
  252. package/dist/kanagawa-dragon-DgDvwi3B.js +0 -4
  253. package/dist/kanagawa-lotus-BgoQro20.js +0 -4
  254. package/dist/kanagawa-wave-DgXEowHs.js +0 -4
  255. package/dist/laserwave-IxBH_3yW.js +0 -4
  256. package/dist/light-plus-S8JBx6is.js +0 -4
  257. package/dist/markdown-BoLBN0qH.js +0 -197
  258. package/dist/markdown.d.ts +0 -2
  259. package/dist/markdown.js +0 -2
  260. package/dist/marker.d.ts +0 -2
  261. package/dist/marker.js +0 -2
  262. package/dist/material-theme-D1f3HBq-.js +0 -4
  263. package/dist/material-theme-darker-ExzYhT0j.js +0 -4
  264. package/dist/material-theme-lighter-D6gH9nnA.js +0 -4
  265. package/dist/material-theme-ocean-D1w5BPAa.js +0 -4
  266. package/dist/material-theme-palenight-CkqWmVpF.js +0 -4
  267. package/dist/message-parts.d.ts +0 -2
  268. package/dist/message-parts.js +0 -2
  269. package/dist/message.d.ts +0 -2
  270. package/dist/message.js +0 -2
  271. package/dist/min-dark-npsJH98j.js +0 -4
  272. package/dist/min-light-DUk1XsVt.js +0 -4
  273. package/dist/monokai-CfFRWUNl.js +0 -4
  274. package/dist/multi-file-diff.d.ts +0 -2
  275. package/dist/multi-file-diff.js +0 -2
  276. package/dist/night-owl-BS7V-av_.js +0 -4
  277. package/dist/night-owl-light-CZtRawYE.js +0 -4
  278. package/dist/nord-BFh54Nqz.js +0 -4
  279. package/dist/one-dark-pro-zDovGosB.js +0 -4
  280. package/dist/one-light-gmHK3iK6.js +0 -4
  281. package/dist/patch-diff.d.ts +0 -2
  282. package/dist/patch-diff.js +0 -2
  283. package/dist/plastic-DtdaCjub.js +0 -4
  284. package/dist/poimandres-Hdda6aHK.js +0 -4
  285. package/dist/primitive-rail.d.ts +0 -222
  286. package/dist/primitive-rail.js +0 -348
  287. package/dist/prompt-input.d.ts +0 -2
  288. package/dist/prompt-input.js +0 -2
  289. package/dist/red-VqZFRByZ.js +0 -4
  290. package/dist/rose-pine-DiTkEueR.js +0 -4
  291. package/dist/rose-pine-dawn-tfo5y2X0.js +0 -4
  292. package/dist/rose-pine-moon-C0gON9XN.js +0 -4
  293. package/dist/runtime-type-DlCscMfw.js +0 -59
  294. package/dist/slack-dark-v8P_eXr6.js +0 -4
  295. package/dist/slack-ochin-D8SyEdKz.js +0 -4
  296. package/dist/snazzy-light-BtkQkvXb.js +0 -4
  297. package/dist/solarized-dark-B8nAdMfM.js +0 -4
  298. package/dist/solarized-light-B-3F1INj.js +0 -4
  299. package/dist/sync-status.d.ts +0 -2
  300. package/dist/sync-status.js +0 -2
  301. package/dist/synthwave-84-DcsXCF_c.js +0 -4
  302. package/dist/tokyo-night-Bvpqduda.js +0 -4
  303. package/dist/tool-list.d.ts +0 -2
  304. package/dist/tool-list.js +0 -2
  305. package/dist/trace-run.d.ts +0 -2
  306. package/dist/trace-run.js +0 -2
  307. package/dist/trace.d.ts +0 -2
  308. package/dist/trace.js +0 -2
  309. package/dist/unresolved-file.d.ts +0 -2
  310. package/dist/unresolved-file.js +0 -2
  311. package/dist/vesper-CfxmMOy3.js +0 -4
  312. package/dist/vitesse-black-D9-_1mjV.js +0 -4
  313. package/dist/vitesse-dark-DlSMLlr9.js +0 -4
  314. package/dist/vitesse-light-KRWWWztf.js +0 -4
@@ -1,4 +1,6 @@
1
+ import { n as __exportAll } from "./rolldown-runtime-C9mWXvCC.js";
1
2
  //#region ../../node_modules/.pnpm/@pierre+theme@2.0.0/node_modules/@pierre/theme/dist/pierre-light.mjs
3
+ var pierre_light_exports = /* @__PURE__ */ __exportAll({ default: () => pierre_light_default });
2
4
  var pierre_light_default = Object.freeze(JSON.parse("{\"name\":\"pierre-light\",\"displayName\":\"Pierre Light\",\"type\":\"light\",\"colors\":{\"editor.background\":\"#ffffff\",\"editor.foreground\":\"#0a0a0a\",\"foreground\":\"#0a0a0a\",\"focusBorder\":\"#009fff\",\"selection.background\":\"#dfebff\",\"editor.selectionBackground\":\"#009fff2e\",\"editor.lineHighlightBackground\":\"#dfebff8c\",\"editorCursor.foreground\":\"#009fff\",\"editorLineNumber.foreground\":\"#737373\",\"editorLineNumber.activeForeground\":\"#525252\",\"editorIndentGuide.background\":\"#e5e5e5\",\"editorIndentGuide.activeBackground\":\"#d4d4d4\",\"diffEditor.insertedTextBackground\":\"#18a46c33\",\"diffEditor.deletedTextBackground\":\"#d52c3633\",\"sideBar.background\":\"#f5f5f5\",\"sideBar.foreground\":\"#525252\",\"sideBar.border\":\"#e5e5e5\",\"sideBarTitle.foreground\":\"#0a0a0a\",\"sideBarSectionHeader.background\":\"#f5f5f5\",\"sideBarSectionHeader.foreground\":\"#525252\",\"sideBarSectionHeader.border\":\"#e5e5e5\",\"activityBar.background\":\"#f5f5f5\",\"activityBar.foreground\":\"#0a0a0a\",\"activityBar.border\":\"#e5e5e5\",\"activityBar.activeBorder\":\"#009fff\",\"activityBarBadge.background\":\"#009fff\",\"activityBarBadge.foreground\":\"#ffffff\",\"titleBar.activeBackground\":\"#f5f5f5\",\"titleBar.activeForeground\":\"#0a0a0a\",\"titleBar.inactiveBackground\":\"#f5f5f5\",\"titleBar.inactiveForeground\":\"#737373\",\"titleBar.border\":\"#e5e5e5\",\"list.activeSelectionBackground\":\"#dfebffcc\",\"list.activeSelectionForeground\":\"#0a0a0a\",\"list.inactiveSelectionBackground\":\"#dfebff73\",\"list.hoverBackground\":\"#dfebff59\",\"list.focusOutline\":\"#009fff\",\"tab.activeBackground\":\"#ffffff\",\"tab.activeForeground\":\"#0a0a0a\",\"tab.activeBorderTop\":\"#009fff\",\"tab.inactiveBackground\":\"#f5f5f5\",\"tab.inactiveForeground\":\"#737373\",\"tab.border\":\"#e5e5e5\",\"editorGroupHeader.tabsBackground\":\"#f5f5f5\",\"editorGroupHeader.tabsBorder\":\"#e5e5e5\",\"panel.background\":\"#f5f5f5\",\"panel.border\":\"#e5e5e5\",\"panelTitle.activeBorder\":\"#009fff\",\"panelTitle.activeForeground\":\"#0a0a0a\",\"panelTitle.inactiveForeground\":\"#737373\",\"statusBar.background\":\"#f5f5f5\",\"statusBar.foreground\":\"#525252\",\"statusBar.border\":\"#e5e5e5\",\"statusBar.noFolderBackground\":\"#f5f5f5\",\"statusBar.debuggingBackground\":\"#d5a910\",\"statusBar.debuggingForeground\":\"#ffffff\",\"statusBarItem.remoteBackground\":\"#f5f5f5\",\"statusBarItem.remoteForeground\":\"#525252\",\"input.background\":\"#ededed\",\"input.border\":\"#d4d4d4\",\"input.foreground\":\"#0a0a0a\",\"input.placeholderForeground\":\"#8a8a8a\",\"dropdown.background\":\"#ededed\",\"dropdown.border\":\"#d4d4d4\",\"dropdown.foreground\":\"#0a0a0a\",\"button.background\":\"#009fff\",\"button.foreground\":\"#ffffff\",\"button.hoverBackground\":\"#1aa9ff\",\"textLink.foreground\":\"#009fff\",\"textLink.activeForeground\":\"#009fff\",\"notifications.background\":\"#f7f7f7\",\"notifications.foreground\":\"#0a0a0a\",\"notifications.border\":\"#e5e5e5\",\"notificationToast.border\":\"#e5e5e5\",\"notificationCenter.border\":\"#e5e5e5\",\"notificationCenterHeader.background\":\"#f7f7f7\",\"notificationCenterHeader.foreground\":\"#525252\",\"notificationLink.foreground\":\"#009fff\",\"notificationsErrorIcon.foreground\":\"#d52c36\",\"notificationsWarningIcon.foreground\":\"#d5a910\",\"notificationsInfoIcon.foreground\":\"#1ca1c7\",\"quickInput.background\":\"#f7f7f7\",\"quickInput.foreground\":\"#0a0a0a\",\"quickInputTitle.background\":\"#f7f7f7\",\"widget.border\":\"#e5e5e5\",\"gitDecoration.addedResourceForeground\":\"#18a46c\",\"gitDecoration.conflictingResourceForeground\":\"#693acf\",\"gitDecoration.modifiedResourceForeground\":\"#009fff\",\"gitDecoration.deletedResourceForeground\":\"#d52c36\",\"gitDecoration.untrackedResourceForeground\":\"#18a46c\",\"gitDecoration.ignoredResourceForeground\":\"#737373\",\"merge.currentHeaderBackground\":\"#693acf33\",\"merge.currentContentBackground\":\"#693acf14\",\"merge.incomingHeaderBackground\":\"#1ca1c733\",\"merge.incomingContentBackground\":\"#1ca1c714\",\"editorOverviewRuler.currentContentForeground\":\"#693acf\",\"editorOverviewRuler.incomingContentForeground\":\"#1ca1c7\",\"terminal.titleForeground\":\"#525252\",\"terminal.titleInactiveForeground\":\"#737373\",\"terminal.background\":\"#f5f5f5\",\"terminal.foreground\":\"#525252\",\"terminal.ansiBlack\":\"#1d1d1d\",\"terminal.ansiRed\":\"#d52c36\",\"terminal.ansiGreen\":\"#18a46c\",\"terminal.ansiYellow\":\"#d5a910\",\"terminal.ansiBlue\":\"#1a85d4\",\"terminal.ansiMagenta\":\"#bd2e90\",\"terminal.ansiCyan\":\"#1ca1c7\",\"terminal.ansiWhite\":\"#bcbcbc\",\"terminal.ansiBrightBlack\":\"#1d1d1d\",\"terminal.ansiBrightRed\":\"#d52c36\",\"terminal.ansiBrightGreen\":\"#77a42a\",\"terminal.ansiBrightYellow\":\"#d5a910\",\"terminal.ansiBrightBlue\":\"#1a85d4\",\"terminal.ansiBrightMagenta\":\"#bd2e90\",\"terminal.ansiBrightCyan\":\"#1ca1c7\",\"terminal.ansiBrightWhite\":\"#bcbcbc\"},\"tokenColors\":[{\"scope\":[\"comment\",\"punctuation.definition.comment\"],\"settings\":{\"foreground\":\"#737373\"}},{\"scope\":\"comment markup.link\",\"settings\":{\"foreground\":\"#737373\"}},{\"scope\":[\"string\",\"constant.other.symbol\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":[\"punctuation.definition.string.begin\",\"punctuation.definition.string.end\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":[\"constant.numeric\",\"constant.language.boolean\"],\"settings\":{\"foreground\":\"#1ca1c7\"}},{\"scope\":\"constant\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"punctuation.definition.constant\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"constant.language\",\"settings\":{\"foreground\":\"#1ca1c7\"}},{\"scope\":\"variable.other.constant\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"keyword\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.control\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"storage\",\"storage.type\",\"storage.modifier\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"token.storage\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"keyword.operator.new\",\"keyword.operator.expression.instanceof\",\"keyword.operator.expression.typeof\",\"keyword.operator.expression.void\",\"keyword.operator.expression.delete\",\"keyword.operator.expression.in\",\"keyword.operator.expression.of\",\"keyword.operator.expression.keyof\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.operator.delete\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"variable\",\"identifier\",\"meta.definition.variable\"],\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":[\"variable.other.readwrite\",\"meta.object-literal.key\",\"support.variable.property\",\"support.variable.object.process\",\"support.variable.object.node\"],\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":\"variable.language\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"variable.parameter.function\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"function.parameter\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"variable.parameter\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"variable.parameter.function.language.python\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"variable.parameter.function.python\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":[\"support.function\",\"entity.name.function\",\"meta.function-call\",\"meta.require\",\"support.function.any-method\",\"variable.function\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"keyword.other.special-method\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"entity.name.function\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"support.function.console\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":[\"support.type\",\"entity.name.type\",\"entity.name.class\",\"storage.type\"],\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":[\"support.class\",\"entity.name.type.class\"],\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":[\"entity.name.class\",\"variable.other.class.js\",\"variable.other.class.ts\"],\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":\"entity.name.class.identifier.namespace.type\",\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":\"entity.name.type.namespace\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"entity.other.inherited-class\",\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":\"entity.name.namespace\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"keyword.operator\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"keyword.operator.logical\",\"keyword.operator.bitwise\",\"keyword.operator.channel\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"keyword.operator.arithmetic\",\"keyword.operator.comparison\",\"keyword.operator.relational\",\"keyword.operator.increment\",\"keyword.operator.decrement\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"keyword.operator.assignment\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"keyword.operator.assignment.compound\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"keyword.operator.assignment.compound.js\",\"keyword.operator.assignment.compound.ts\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"keyword.operator.ternary\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.operator.optional\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"punctuation\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"punctuation.separator.delimiter\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"punctuation.separator.key-value\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"punctuation.terminator\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"meta.brace\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"meta.brace.square\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"meta.brace.round\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"function.brace\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"punctuation.definition.parameters\",\"punctuation.definition.typeparameters\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"punctuation.definition.block\",\"punctuation.definition.tag\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"meta.tag.tsx\",\"meta.tag.jsx\",\"meta.tag.js\",\"meta.tag.ts\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"keyword.operator.expression.import\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"keyword.operator.module\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"support.type.object.console\",\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":[\"support.module.node\",\"support.type.object.module\",\"entity.name.type.module\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"support.constant.math\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"support.constant.property.math\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"support.constant.json\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"support.type.object.dom\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"support.variable.dom\",\"support.variable.property.dom\"],\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":\"support.variable.property.process\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"meta.property.object\",\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":\"variable.parameter.function.js\",\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":[\"keyword.other.template.begin\",\"keyword.other.template.end\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":[\"keyword.other.substitution.begin\",\"keyword.other.substitution.end\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":[\"punctuation.definition.template-expression.begin\",\"punctuation.definition.template-expression.end\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"meta.template.expression\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"punctuation.section.embedded\",\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":\"variable.interpolation\",\"settings\":{\"foreground\":\"#d47628\"}},{\"scope\":[\"punctuation.section.embedded.begin\",\"punctuation.section.embedded.end\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"punctuation.quasi.element\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"support.type.primitive.ts\",\"support.type.builtin.ts\",\"support.type.primitive.tsx\",\"support.type.builtin.tsx\"],\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":\"support.type.type.flowtype\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"support.type.primitive\",\"settings\":{\"foreground\":\"#a631be\"}},{\"scope\":[\"meta.decorator\",\"meta.decorator punctuation.decorator\"],\"settings\":{\"foreground\":\"#1a85d4\"}},{\"scope\":\"entity.name.function.decorator\",\"settings\":{\"foreground\":\"#1a85d4\"}},{\"scope\":\"punctuation.definition.decorator\",\"settings\":{\"foreground\":\"#1a85d4\"}},{\"scope\":\"support.variable.magic.python\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"variable.parameter.function.language.special.self.python\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"punctuation.separator.period.python\",\"punctuation.separator.element.python\",\"punctuation.parenthesis.begin.python\",\"punctuation.parenthesis.end.python\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"punctuation.definition.arguments.begin.python\",\"punctuation.definition.arguments.end.python\",\"punctuation.separator.arguments.python\",\"punctuation.definition.list.begin.python\",\"punctuation.definition.list.end.python\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"support.type.python\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"keyword.operator.logical.python\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"meta.function-call.generic.python\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"constant.character.format.placeholder.other.python\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"meta.function.decorator.python\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":[\"support.token.decorator.python\",\"meta.function.decorator.identifier.python\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"storage.modifier.lifetime.rust\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"support.function.std.rust\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"entity.name.lifetime.rust\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"variable.language.rust\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"keyword.operator.misc.rust\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"keyword.operator.sigil.rust\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"support.constant.core.rust\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":[\"meta.function.c\",\"meta.function.cpp\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"punctuation.section.block.begin.bracket.curly.cpp\",\"punctuation.section.block.end.bracket.curly.cpp\",\"punctuation.terminator.statement.c\",\"punctuation.section.block.begin.bracket.curly.c\",\"punctuation.section.block.end.bracket.curly.c\",\"punctuation.section.parens.begin.bracket.round.c\",\"punctuation.section.parens.end.bracket.round.c\",\"punctuation.section.parameters.begin.bracket.round.c\",\"punctuation.section.parameters.end.bracket.round.c\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"keyword.operator.assignment.c\",\"keyword.operator.comparison.c\",\"keyword.operator.c\",\"keyword.operator.increment.c\",\"keyword.operator.decrement.c\",\"keyword.operator.bitwise.shift.c\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"keyword.operator.assignment.cpp\",\"keyword.operator.comparison.cpp\",\"keyword.operator.cpp\",\"keyword.operator.increment.cpp\",\"keyword.operator.decrement.cpp\",\"keyword.operator.bitwise.shift.cpp\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"punctuation.separator.c\",\"punctuation.separator.cpp\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"support.type.posix-reserved.c\",\"support.type.posix-reserved.cpp\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"keyword.operator.sizeof.c\",\"keyword.operator.sizeof.cpp\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"variable.c\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"storage.type.annotation.java\",\"storage.type.object.array.java\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"source.java\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"punctuation.section.block.begin.java\",\"punctuation.section.block.end.java\",\"punctuation.definition.method-parameters.begin.java\",\"punctuation.definition.method-parameters.end.java\",\"meta.method.identifier.java\",\"punctuation.section.method.begin.java\",\"punctuation.section.method.end.java\",\"punctuation.terminator.java\",\"punctuation.section.class.begin.java\",\"punctuation.section.class.end.java\",\"punctuation.section.inner-class.begin.java\",\"punctuation.section.inner-class.end.java\",\"meta.method-call.java\",\"punctuation.section.class.begin.bracket.curly.java\",\"punctuation.section.class.end.bracket.curly.java\",\"punctuation.section.method.begin.bracket.curly.java\",\"punctuation.section.method.end.bracket.curly.java\",\"punctuation.separator.period.java\",\"punctuation.bracket.angle.java\",\"punctuation.definition.annotation.java\",\"meta.method.body.java\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"meta.method.java\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":[\"storage.modifier.import.java\",\"storage.type.java\",\"storage.type.generic.java\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"keyword.operator.instanceof.java\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"meta.definition.variable.name.java\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"token.variable.parameter.java\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"import.storage.java\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"token.package.keyword\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"token.package\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"token.storage.type.java\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"keyword.operator.assignment.go\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"keyword.operator.arithmetic.go\",\"keyword.operator.address.go\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"entity.name.package.go\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"support.other.namespace.use.php\",\"support.other.namespace.use-as.php\",\"support.other.namespace.php\",\"entity.other.alias.php\",\"meta.interface.php\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"keyword.operator.error-control.php\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.operator.type.php\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"punctuation.section.array.begin.php\",\"punctuation.section.array.end.php\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"storage.type.php\",\"meta.other.type.phpdoc.php\",\"keyword.other.type.php\",\"keyword.other.array.phpdoc.php\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"meta.function-call.php\",\"meta.function-call.object.php\",\"meta.function-call.static.php\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":[\"punctuation.definition.parameters.begin.bracket.round.php\",\"punctuation.definition.parameters.end.bracket.round.php\",\"punctuation.separator.delimiter.php\",\"punctuation.section.scope.begin.php\",\"punctuation.section.scope.end.php\",\"punctuation.terminator.expression.php\",\"punctuation.definition.arguments.begin.bracket.round.php\",\"punctuation.definition.arguments.end.bracket.round.php\",\"punctuation.definition.storage-type.begin.bracket.round.php\",\"punctuation.definition.storage-type.end.bracket.round.php\",\"punctuation.definition.array.begin.bracket.round.php\",\"punctuation.definition.array.end.bracket.round.php\",\"punctuation.definition.begin.bracket.round.php\",\"punctuation.definition.end.bracket.round.php\",\"punctuation.definition.begin.bracket.curly.php\",\"punctuation.definition.end.bracket.curly.php\",\"punctuation.definition.section.switch-block.end.bracket.curly.php\",\"punctuation.definition.section.switch-block.start.bracket.curly.php\",\"punctuation.definition.section.switch-block.begin.bracket.curly.php\",\"punctuation.definition.section.switch-block.end.bracket.curly.php\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"support.constant.ext.php\",\"support.constant.std.php\",\"support.constant.core.php\",\"support.constant.parser-token.php\"],\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":[\"entity.name.goto-label.php\",\"support.other.php\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":[\"keyword.operator.logical.php\",\"keyword.operator.bitwise.php\",\"keyword.operator.arithmetic.php\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"keyword.operator.regexp.php\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.operator.comparison.php\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"keyword.operator.heredoc.php\",\"keyword.operator.nowdoc.php\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"variable.other.class.php\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"invalid.illegal.non-null-typehinted.php\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"variable.other.generic-type.haskell\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"storage.type.haskell\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"storage.type.cs\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"entity.name.variable.local.cs\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"entity.name.label.cs\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"entity.name.scope-resolution.function.call\",\"entity.name.scope-resolution.function.definition\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"punctuation.definition.delayed.unison\",\"punctuation.definition.list.begin.unison\",\"punctuation.definition.list.end.unison\",\"punctuation.definition.ability.begin.unison\",\"punctuation.definition.ability.end.unison\",\"punctuation.operator.assignment.as.unison\",\"punctuation.separator.pipe.unison\",\"punctuation.separator.delimiter.unison\",\"punctuation.definition.hash.unison\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"support.constant.edge\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"support.type.prelude.elm\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"support.constant.elm\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"entity.global.clojure\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"meta.symbol.clojure\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"constant.keyword.clojure\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"meta.arguments.coffee\",\"variable.parameter.function.coffee\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"storage.modifier.import.groovy\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"meta.method.groovy\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"meta.definition.variable.name.groovy\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"meta.definition.class.inherited.classes.groovy\",\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":\"support.variable.semantic.hlsl\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"support.type.texture.hlsl\",\"support.type.sampler.hlsl\",\"support.type.object.hlsl\",\"support.type.object.rw.hlsl\",\"support.type.fx.hlsl\",\"support.type.object.hlsl\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"text.variable\",\"text.bracketed\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"support.type.swift\",\"support.type.vb.asp\"],\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"meta.scope.prerequisites.makefile\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"source.makefile\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"source.ini\",\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":\"constant.language.symbol.ruby\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"function.parameter.ruby\",\"function.parameter.cs\"],\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"constant.language.symbol.elixir\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"entity.name.function.xi\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"entity.name.class.xi\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"constant.character.character-class.regexp.xi\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"constant.regexp.xi\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"keyword.control.xi\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"invalid.xi\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"beginning.punctuation.definition.quote.markdown.xi\",\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":\"beginning.punctuation.definition.list.markdown.xi\",\"settings\":{\"foreground\":\"#737373\"}},{\"scope\":\"constant.character.xi\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"accent.xi\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"wikiword.xi\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"constant.other.color.rgb-value.xi\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"punctuation.definition.tag.xi\",\"settings\":{\"foreground\":\"#737373\"}},{\"scope\":[\"support.constant.property-value.scss\",\"support.constant.property-value.css\"],\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":[\"keyword.operator.css\",\"keyword.operator.scss\",\"keyword.operator.less\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":[\"support.constant.color.w3c-standard-color-name.css\",\"support.constant.color.w3c-standard-color-name.scss\"],\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"punctuation.separator.list.comma.css\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"support.type.vendored.property-name.css\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"support.type.property-name.css\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"support.type.property-name\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"support.constant.property-value\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"support.constant.font-name\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"entity.other.attribute-name.class.css\",\"settings\":{\"foreground\":\"#18a46c\",\"fontStyle\":\"normal\"}},{\"scope\":\"entity.other.attribute-name.id\",\"settings\":{\"foreground\":\"#693acf\",\"fontStyle\":\"normal\"}},{\"scope\":[\"entity.other.attribute-name.pseudo-element\",\"entity.other.attribute-name.pseudo-class\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"meta.selector\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"selector.sass\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"rgb-value\",\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"inline-color-decoration rgb-value\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"less rgb-value\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"control.elements\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"keyword.operator.less\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"entity.name.tag\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"entity.other.attribute-name\",\"settings\":{\"foreground\":\"#18a46c\",\"fontStyle\":\"normal\"}},{\"scope\":\"constant.character.entity\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"meta.tag\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"invalid.illegal.bad-ampersand.html\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"markup.heading\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"markup.heading punctuation.definition.heading\",\"entity.name.section\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"entity.name.section.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"punctuation.definition.heading.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"markup.heading.setext\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":[\"markup.heading.setext.1.markdown\",\"markup.heading.setext.2.markdown\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"markup.bold\",\"todo.bold\"],\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"punctuation.definition.bold\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":\"punctuation.definition.bold.markdown\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":[\"markup.italic\",\"punctuation.definition.italic\",\"todo.emphasis\"],\"settings\":{\"foreground\":\"#d32a61\",\"fontStyle\":\"italic\"}},{\"scope\":\"emphasis md\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"markup.italic.markdown\",\"settings\":{\"fontStyle\":\"italic\"}},{\"scope\":[\"markup.underline.link.markdown\",\"markup.underline.link.image.markdown\"],\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":[\"string.other.link.title.markdown\",\"string.other.link.description.markdown\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"punctuation.definition.metadata.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"markup.inline.raw.markdown\",\"markup.inline.raw.string.markdown\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":\"punctuation.definition.list.begin.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"punctuation.definition.list.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"beginning.punctuation.definition.list.markdown\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"punctuation.definition.string.begin.markdown\",\"punctuation.definition.string.end.markdown\"],\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"markup.quote.markdown\",\"settings\":{\"foreground\":\"#737373\"}},{\"scope\":\"keyword.other.unit\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"markup.changed.diff\",\"settings\":{\"foreground\":\"#d5901c\"}},{\"scope\":[\"meta.diff.header.from-file\",\"meta.diff.header.to-file\",\"punctuation.definition.from-file.diff\",\"punctuation.definition.to-file.diff\"],\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"markup.inserted.diff\",\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":\"markup.deleted.diff\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"string.regexp\",\"settings\":{\"foreground\":\"#17a5af\"}},{\"scope\":\"constant.other.character-class.regexp\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"keyword.operator.quantifier.regexp\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"constant.character.escape\",\"settings\":{\"foreground\":\"#16a994\"}},{\"scope\":\"source.json meta.structure.dictionary.json > string.quoted.json\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":[\"source.json meta.structure.dictionary.json > value.json > string.quoted.json\",\"source.json meta.structure.array.json > value.json > string.quoted.json\",\"source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation\",\"source.json meta.structure.array.json > value.json > string.quoted.json > punctuation\"],\"settings\":{\"foreground\":\"#199f43\"}},{\"scope\":[\"source.json meta.structure.dictionary.json > constant.language.json\",\"source.json meta.structure.array.json > constant.language.json\"],\"settings\":{\"foreground\":\"#08c0ef\"}},{\"scope\":\"support.type.property-name.json\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"support.type.property-name.json punctuation\",\"settings\":{\"foreground\":\"#d5512f\"}},{\"scope\":\"punctuation.definition.block.sequence.item.yaml\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"block.scope.end\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"block.scope.begin\",\"settings\":{\"foreground\":\"#636363\"}},{\"scope\":\"token.info-token\",\"settings\":{\"foreground\":\"#693acf\"}},{\"scope\":\"token.warn-token\",\"settings\":{\"foreground\":\"#d5a910\"}},{\"scope\":\"token.error-token\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"token.debug-token\",\"settings\":{\"foreground\":\"#d32a61\"}},{\"scope\":\"invalid.illegal\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"invalid.broken\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"invalid.deprecated\",\"settings\":{\"foreground\":\"#0a0a0a\"}},{\"scope\":\"invalid.unimplemented\",\"settings\":{\"foreground\":\"#0a0a0a\"}}],\"semanticTokenColors\":{\"comment\":\"#737373\",\"string\":\"#199f43\",\"number\":\"#1ca1c7\",\"regexp\":\"#17a5af\",\"keyword\":\"#d32a61\",\"variable\":\"#d47628\",\"parameter\":\"#636363\",\"property\":\"#d47628\",\"function\":\"#693acf\",\"method\":\"#693acf\",\"type\":\"#a631be\",\"class\":\"#a631be\",\"namespace\":\"#d5901c\",\"enumMember\":\"#08c0ef\",\"variable.constant\":\"#d5a910\",\"variable.defaultLibrary\":\"#d5901c\",\"decorator\":\"#1a85d4\"}}"));
3
5
  //#endregion
4
- export { pierre_light_default as default };
6
+ export { pierre_light_exports as n, pierre_light_default as t };
@@ -0,0 +1,4 @@
1
+ import { a as encodePlaygroundLink, c as playgroundUrl, i as decodePlaygroundLink, l as readPlaygroundHash, n as PlaygroundState, o as playgroundHashKey, r as PlaygroundTemplate, s as playgroundLinkLimit, t as PlaygroundFiles } from "./share-DM4eNy4q.js";
2
+ import { isProjectPath } from "./parts/playground/paths.js";
3
+ import { downloadZip, zipFiles } from "./parts/playground/zip.js";
4
+ export { type PlaygroundFiles, type PlaygroundState, type PlaygroundTemplate, decodePlaygroundLink, downloadZip, encodePlaygroundLink, isProjectPath, playgroundHashKey, playgroundLinkLimit, playgroundUrl, readPlaygroundHash, zipFiles };
@@ -0,0 +1,4 @@
1
+ import { isProjectPath } from "./parts/playground/paths.js";
2
+ import { decodePlaygroundLink, encodePlaygroundLink, playgroundHashKey, playgroundLinkLimit, playgroundUrl, readPlaygroundHash } from "./parts/playground/share.js";
3
+ import { downloadZip, zipFiles } from "./parts/playground/zip.js";
4
+ export { decodePlaygroundLink, downloadZip, encodePlaygroundLink, isProjectPath, playgroundHashKey, playgroundLinkLimit, playgroundUrl, readPlaygroundHash, zipFiles };
@@ -0,0 +1,309 @@
1
+ import { n as useTooltipComponent } from "./nuxt-ui-DSQFzq3s.js";
2
+ import { t as uiErrorDiagnostics } from "./error-diagnostics-SXtnk6bz.js";
3
+ import { computed, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, ref, shallowRef } from "vue";
4
+ //#region src/internal/describe-time.ts
5
+ /**
6
+ * Describes a date or an instant against `now`: "3 days ago" with the full date as its tip while it's closer than
7
+ * `threshold`, and from there on "Oct 12" ("Oct 12, 2025" in another year) with the relative words as its tip. A date
8
+ * alone (`2026-10-12`) counts whole calendar days in `timeZone`, and a time with no offset is read in that zone.
9
+ * Returns `undefined` for a value it can't read, and throws an error for a `threshold`, `now`, `locale`, or
10
+ * `timeZone` it can't read.
11
+ */
12
+ function describeTime(at, options = {}) {
13
+ const [SECOND, MINUTE, HOUR, DAY] = [
14
+ 1e3,
15
+ 6e4,
16
+ 36e5,
17
+ 864e5
18
+ ];
19
+ const [WEEK, MONTH, YEAR] = [
20
+ 7 * DAY,
21
+ 30 * DAY,
22
+ 365 * DAY
23
+ ];
24
+ const units = {
25
+ s: SECOND,
26
+ m: MINUTE,
27
+ h: HOUR,
28
+ d: DAY,
29
+ w: WEEK,
30
+ mo: MONTH,
31
+ y: YEAR
32
+ };
33
+ const { threshold = "3w", locale = "en-US", style = "long" } = options;
34
+ const [, amount, unit] = /^(\d+(?:\.\d+)?)\s*(s|m|h|d|w|mo|y)$/i.exec(threshold) ?? [];
35
+ const limit = /^(none|never)$/i.test(threshold) ? Number.POSITIVE_INFINITY : amount && unit ? Number(amount) * (units[unit.toLowerCase()] ?? NaN) : NaN;
36
+ if (Number.isNaN(limit)) throw uiErrorDiagnostics.UI_RELATIVE_TIME_THRESHOLD_INVALID({ threshold });
37
+ const now = options.now === void 0 ? Date.now() : new Date(options.now).getTime();
38
+ if (!Number.isFinite(now)) throw uiErrorDiagnostics.UI_RELATIVE_TIME_NOW_INVALID();
39
+ const zone = options.timeZone ?? new Intl.DateTimeFormat().resolvedOptions().timeZone;
40
+ const relative = new Intl.RelativeTimeFormat(locale, {
41
+ numeric: "auto",
42
+ style
43
+ });
44
+ const parts = (moment) => {
45
+ return Object.fromEntries(new Intl.DateTimeFormat("en-US", {
46
+ timeZone: zone,
47
+ hourCycle: "h23",
48
+ year: "numeric",
49
+ month: "numeric",
50
+ day: "numeric",
51
+ hour: "numeric",
52
+ minute: "numeric",
53
+ second: "numeric"
54
+ }).formatToParts(moment).map((part) => [part.type, Number(part.value)]));
55
+ };
56
+ const offsetAt = (moment) => {
57
+ const p = parts(moment);
58
+ return Date.UTC(p.year, p.month - 1, p.day, p.hour, p.minute, p.second) - Math.floor(moment / 1e3) * 1e3;
59
+ };
60
+ const read = (value) => {
61
+ const match = /^(\d{4})-(\d{2})-(\d{2})(?:[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?\s*(Z|[+-]\d{2}:?\d{2})?)?$/i.exec(value);
62
+ if (!match) return void 0;
63
+ const [year, month, day, hour, minute, second] = [
64
+ 1,
65
+ 2,
66
+ 3,
67
+ 4,
68
+ 5,
69
+ 6
70
+ ].map((index) => Number(match[index] ?? 0));
71
+ const stamp = Date.UTC(year, month - 1, day, hour, minute, second, Number((match[7] ?? "").padEnd(3, "0")));
72
+ const check = new Date(stamp);
73
+ if (check.getUTCFullYear() !== year || check.getUTCMonth() !== month - 1 || check.getUTCDate() !== day || hour > 23 || minute > 59 || second > 59) return void 0;
74
+ if (match[4] === void 0) return {
75
+ at: Math.floor(stamp / DAY) * DAY,
76
+ wall: true
77
+ };
78
+ const offset = match[8];
79
+ if (offset?.toUpperCase() === "Z") return {
80
+ at: stamp,
81
+ wall: false
82
+ };
83
+ if (offset) {
84
+ const digits = offset.replace(/\D/g, "");
85
+ const hours = Number(digits.slice(0, 2));
86
+ const rest = Number(digits.slice(2));
87
+ if (hours > 23 || rest > 59) return void 0;
88
+ return {
89
+ at: stamp - (offset.startsWith("-") ? -1 : 1) * (hours * 60 + rest) * 6e4,
90
+ wall: false
91
+ };
92
+ }
93
+ const found = [...new Set([
94
+ stamp - DAY,
95
+ stamp,
96
+ stamp + DAY
97
+ ].map((moment) => stamp - offsetAt(moment)))].filter((moment) => moment + offsetAt(moment) === stamp).sort((a, b) => a - b)[0];
98
+ return found === void 0 ? void 0 : {
99
+ at: found,
100
+ wall: false
101
+ };
102
+ };
103
+ const today = Math.floor((now + offsetAt(now)) / DAY);
104
+ const instant = typeof at === "string" ? NaN : new Date(at).getTime();
105
+ const when = typeof at === "string" ? read(at.trim()) : Number.isFinite(instant) ? {
106
+ at: instant,
107
+ wall: false
108
+ } : void 0;
109
+ if (!when) return void 0;
110
+ const distance = when.wall ? (when.at / DAY - today) * DAY : when.at - now;
111
+ const size = when.wall ? Math.max(Math.abs(distance), DAY) : Math.abs(distance);
112
+ const [name, per] = size < MINUTE ? ["second", SECOND] : size < HOUR ? ["minute", MINUTE] : size < DAY ? ["hour", HOUR] : size < WEEK ? ["day", DAY] : size < MONTH ? ["week", WEEK] : size < YEAR ? ["month", MONTH] : ["year", YEAR];
113
+ const words = relative.format(Math.trunc(distance / per) || 0, name);
114
+ const format = (extra) => new Intl.DateTimeFormat(locale, {
115
+ timeZone: when.wall ? "UTC" : zone,
116
+ ...extra
117
+ }).format(when.at);
118
+ const short = {
119
+ day: "numeric",
120
+ month: "short"
121
+ };
122
+ const clock = {
123
+ hour: "numeric",
124
+ minute: "2-digit",
125
+ timeZoneName: "short"
126
+ };
127
+ const absolute = Math.abs(distance) >= limit;
128
+ const year = when.wall ? new Date(when.at).getUTCFullYear() : parts(when.at).year;
129
+ return {
130
+ datetime: when.wall ? new Date(when.at).toISOString().slice(0, 10) : new Date(when.at).toISOString().replace(/\.000Z$/, "Z"),
131
+ mode: absolute ? "absolute" : "relative",
132
+ label: absolute ? format(year === parts(now).year ? short : {
133
+ ...short,
134
+ year: "numeric"
135
+ }) : words,
136
+ tip: !absolute ? format({
137
+ weekday: "short",
138
+ ...short,
139
+ year: "numeric",
140
+ ...when.wall ? {} : clock
141
+ }) : when.wall ? words : `${words} · ${format(clock)}`
142
+ };
143
+ }
144
+ //#endregion
145
+ //#region src/internal/relative-now.ts
146
+ /** The clock that `RelativeTime` counts from, given by `provideRelativeNow()`. */
147
+ const relativeNowKey = Symbol("ViteHubRelativeNow");
148
+ /** How often the clock moves. The words change by the minute at most, so twice a minute is enough. */
149
+ const relativeNowInterval = 3e4;
150
+ /**
151
+ * Sets `now` to the browser clock, then again every 30 s while the page is visible. A hidden page stops the timer, and
152
+ * the page showing again moves the clock at once. Returns the function that stops it.
153
+ */
154
+ function startRelativeClock(now) {
155
+ let timer;
156
+ const tick = () => now.value = Date.now();
157
+ const pause = () => clearInterval(timer);
158
+ const resume = () => {
159
+ pause();
160
+ tick();
161
+ timer = setInterval(tick, relativeNowInterval);
162
+ };
163
+ const onVisibility = () => document.visibilityState === "hidden" ? pause() : resume();
164
+ document.addEventListener("visibilitychange", onVisibility);
165
+ onVisibility();
166
+ return () => {
167
+ pause();
168
+ document.removeEventListener("visibilitychange", onVisibility);
169
+ };
170
+ }
171
+ const shared = ref(0);
172
+ let holders = 0;
173
+ let stopShared;
174
+ /** Starts the shared clock for a mounted `RelativeTime`. Call `releaseSharedNow()` when it unmounts. */
175
+ function holdSharedNow() {
176
+ if (holders++ === 0) stopShared = startRelativeClock(shared);
177
+ return shared;
178
+ }
179
+ function releaseSharedNow() {
180
+ if (--holders === 0) stopShared?.();
181
+ }
182
+ //#endregion
183
+ //#region src/components/relative-time.ts
184
+ /**
185
+ * Gives every `RelativeTime` below the clock that it counts from, in milliseconds. The server and the browser must
186
+ * start from the same value, so the first render in the browser matches the HTML. The `vite-hub/ui/nuxt` module gives
187
+ * one: the request time from the payload, then the browser clock every 30 s while the tab is visible. Call it in
188
+ * `setup()`, or pass the `app` to call it from a plugin.
189
+ */
190
+ function provideRelativeNow(now, app) {
191
+ if (app) app.provide(relativeNowKey, now);
192
+ else provide(relativeNowKey, now);
193
+ }
194
+ const NOW_WINDOW = 6e4;
195
+ /**
196
+ * A moment as words that stay current: "5 minutes ago" while it is less than `threshold` away, then "Oct 12", or
197
+ * "Oct 12, 2025" in another year. Its tooltip shows the full date and time in the reader's zone, or the words when the
198
+ * label is a date. It follows comark-time's `:time`, so a page and its Markdown agree.
199
+ */
200
+ const RelativeTime = defineComponent({
201
+ name: "RelativeTime",
202
+ inheritAttrs: false,
203
+ props: {
204
+ at: {
205
+ required: true,
206
+ type: [
207
+ Number,
208
+ String,
209
+ Date
210
+ ]
211
+ },
212
+ /** How far from now the label becomes a date, as a number and a unit (`s`, `m`, `h`, `d`, `w`, `mo`, `y`), or `none`. */
213
+ threshold: {
214
+ default: "3w",
215
+ type: String
216
+ },
217
+ format: {
218
+ default: "long",
219
+ type: String
220
+ },
221
+ /** A BCP 47 tag for the words and the date. */
222
+ locale: {
223
+ default: "en",
224
+ type: String
225
+ },
226
+ tooltip: {
227
+ default: true,
228
+ type: Boolean
229
+ }
230
+ },
231
+ setup(props, { attrs }) {
232
+ const UTooltip = useTooltipComponent();
233
+ const provided = inject(relativeNowKey, void 0);
234
+ const fallback = shallowRef();
235
+ const mounted = ref(false);
236
+ onMounted(() => {
237
+ if (!provided) fallback.value = holdSharedNow();
238
+ mounted.value = true;
239
+ });
240
+ onBeforeUnmount(() => {
241
+ if (fallback.value) releaseSharedNow();
242
+ });
243
+ const now = computed(() => provided?.value ?? fallback.value?.value);
244
+ const describe = (timeZone) => {
245
+ const at = now.value;
246
+ if (at === void 0) return void 0;
247
+ const options = {
248
+ locale: props.locale,
249
+ style: props.format,
250
+ threshold: props.threshold,
251
+ timeZone
252
+ };
253
+ const time = describeTime(props.at, {
254
+ ...options,
255
+ now: at
256
+ });
257
+ if (!time?.datetime.includes("T")) return time;
258
+ const instant = Date.parse(time.datetime);
259
+ return Math.abs(instant - at) < NOW_WINDOW ? describeTime(props.at, {
260
+ ...options,
261
+ now: instant
262
+ }) : time;
263
+ };
264
+ const description = computed(() => describe(mounted.value ? void 0 : "UTC"));
265
+ const date = computed(() => {
266
+ const time = describeTime(props.at, {
267
+ locale: props.locale,
268
+ now: props.at,
269
+ threshold: "none",
270
+ timeZone: "UTC"
271
+ });
272
+ if (!time) return void 0;
273
+ const label = new Intl.DateTimeFormat(props.locale, {
274
+ day: "numeric",
275
+ month: "short",
276
+ timeZone: "UTC",
277
+ year: "numeric"
278
+ }).format(Date.parse(time.datetime));
279
+ return {
280
+ ...time,
281
+ label,
282
+ mode: "absolute"
283
+ };
284
+ });
285
+ const tip = () => mounted.value ? describe()?.tip : void 0;
286
+ return () => {
287
+ const time = description.value ?? date.value;
288
+ if (!time) return h("time", {
289
+ ...attrs,
290
+ "data-slot": attrs["data-slot"] ?? "relative-time"
291
+ }, String(props.at));
292
+ const element = (title) => h("time", {
293
+ ...attrs,
294
+ "data-mode": time.mode,
295
+ "data-slot": attrs["data-slot"] ?? "relative-time",
296
+ datetime: time.datetime,
297
+ title
298
+ }, time.label);
299
+ if (!props.tooltip) return element();
300
+ if (UTooltip) return h(UTooltip, null, {
301
+ content: tip,
302
+ default: () => element()
303
+ });
304
+ return element(tip());
305
+ };
306
+ }
307
+ });
308
+ //#endregion
309
+ export { provideRelativeNow as n, startRelativeClock as r, RelativeTime as t };
@@ -0,0 +1,29 @@
1
+ import "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
8
+ var __exportAll = (all, no_symbols) => {
9
+ let target = {};
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
15
+ return target;
16
+ };
17
+ var __copyProps = (to, from, except, desc) => {
18
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
19
+ key = keys[i];
20
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
21
+ get: ((k) => from[k]).bind(null, key),
22
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
23
+ });
24
+ }
25
+ return to;
26
+ };
27
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
28
+ //#endregion
29
+ export { __exportAll as n, __reExport as r, __commonJSMin as t };
@@ -1,11 +1,30 @@
1
- import { n as createViteHubUI } from "../config-bHqE4JOs.js";
1
+ import { n as createViteHubUI } from "../config-Dk67emQt.js";
2
+ import { n as provideRelativeNow, r as startRelativeClock } from "../relative-time-BVmjOsYG.js";
2
3
  import { defineAsyncComponent } from "vue";
3
- import { defineNuxtPlugin, useRuntimeConfig } from "#app";
4
+ import { defineNuxtPlugin, useAppConfig, useRuntimeConfig, useState } from "#app";
4
5
  //#region src/runtime/nuxt-plugin.ts
5
6
  const viteHubUIPlugin = defineNuxtPlugin((nuxtApp) => {
6
7
  const options = useRuntimeConfig().public.viteHubUI;
7
- if (!nuxtApp.vueApp.component("UIcon")) nuxtApp.vueApp.component("UIcon", defineAsyncComponent(() => import("@nuxt/ui/components/Icon.vue")));
8
- nuxtApp.vueApp.use(createViteHubUI(options));
8
+ const UIcon = defineAsyncComponent(() => import("@nuxt/ui/components/Icon.vue"));
9
+ const appConfig = useAppConfig();
10
+ const icons = () => ({
11
+ ...iconsIn(appConfig, "ui"),
12
+ ...iconsIn(appConfig, "viteHubUI")
13
+ });
14
+ nuxtApp.vueApp.use(createViteHubUI({
15
+ ...options,
16
+ components: { UIcon },
17
+ icons
18
+ }));
19
+ const now = useState("vite-hub-ui:now", () => Date.now());
20
+ provideRelativeNow(now, nuxtApp.vueApp);
21
+ if (import.meta.client) nuxtApp.hooks.hookOnce("app:suspense:resolve", () => void startRelativeClock(now));
9
22
  });
23
+ function iconsIn(appConfig, key) {
24
+ const config = Reflect.get(appConfig, key);
25
+ if (typeof config !== "object" || config === null || !("icons" in config)) return void 0;
26
+ const icons = config.icons;
27
+ return typeof icons === "object" && icons !== null ? icons : void 0;
28
+ }
10
29
  //#endregion
11
30
  export { viteHubUIPlugin as default };