parasor 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 (633) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +208 -0
  3. package/THIRD-PARTY-NOTICES.md +138 -0
  4. package/bin/parasor.mjs +3 -0
  5. package/node_modules/@parasor/shared/dist/client.d.ts +8 -0
  6. package/node_modules/@parasor/shared/dist/client.d.ts.map +1 -0
  7. package/node_modules/@parasor/shared/dist/client.js +2 -0
  8. package/node_modules/@parasor/shared/dist/client.js.map +1 -0
  9. package/node_modules/@parasor/shared/dist/drops.d.ts +24 -0
  10. package/node_modules/@parasor/shared/dist/drops.d.ts.map +1 -0
  11. package/node_modules/@parasor/shared/dist/drops.js +2 -0
  12. package/node_modules/@parasor/shared/dist/drops.js.map +1 -0
  13. package/node_modules/@parasor/shared/dist/file-uploads.d.ts +56 -0
  14. package/node_modules/@parasor/shared/dist/file-uploads.d.ts.map +1 -0
  15. package/node_modules/@parasor/shared/dist/file-uploads.js +13 -0
  16. package/node_modules/@parasor/shared/dist/file-uploads.js.map +1 -0
  17. package/node_modules/@parasor/shared/dist/ide-commands.d.ts +8 -0
  18. package/node_modules/@parasor/shared/dist/ide-commands.d.ts.map +1 -0
  19. package/node_modules/@parasor/shared/dist/ide-commands.js +59 -0
  20. package/node_modules/@parasor/shared/dist/ide-commands.js.map +1 -0
  21. package/node_modules/@parasor/shared/dist/pane-commands.d.ts +7 -0
  22. package/node_modules/@parasor/shared/dist/pane-commands.d.ts.map +1 -0
  23. package/node_modules/@parasor/shared/dist/pane-commands.js +47 -0
  24. package/node_modules/@parasor/shared/dist/pane-commands.js.map +1 -0
  25. package/node_modules/@parasor/shared/dist/pane-model.d.ts +63 -0
  26. package/node_modules/@parasor/shared/dist/pane-model.d.ts.map +1 -0
  27. package/node_modules/@parasor/shared/dist/pane-model.js +89 -0
  28. package/node_modules/@parasor/shared/dist/pane-model.js.map +1 -0
  29. package/node_modules/@parasor/shared/dist/panes.d.ts +33 -0
  30. package/node_modules/@parasor/shared/dist/panes.d.ts.map +1 -0
  31. package/node_modules/@parasor/shared/dist/panes.js +2 -0
  32. package/node_modules/@parasor/shared/dist/panes.js.map +1 -0
  33. package/node_modules/@parasor/shared/dist/runtime.d.ts +180 -0
  34. package/node_modules/@parasor/shared/dist/runtime.d.ts.map +1 -0
  35. package/node_modules/@parasor/shared/dist/runtime.js +2 -0
  36. package/node_modules/@parasor/shared/dist/runtime.js.map +1 -0
  37. package/node_modules/@parasor/shared/dist/state.d.ts +192 -0
  38. package/node_modules/@parasor/shared/dist/state.d.ts.map +1 -0
  39. package/node_modules/@parasor/shared/dist/state.js +10 -0
  40. package/node_modules/@parasor/shared/dist/state.js.map +1 -0
  41. package/node_modules/@parasor/shared/dist/terminal.d.ts +191 -0
  42. package/node_modules/@parasor/shared/dist/terminal.d.ts.map +1 -0
  43. package/node_modules/@parasor/shared/dist/terminal.js +174 -0
  44. package/node_modules/@parasor/shared/dist/terminal.js.map +1 -0
  45. package/node_modules/@parasor/shared/dist/types.d.ts +13 -0
  46. package/node_modules/@parasor/shared/dist/types.d.ts.map +1 -0
  47. package/node_modules/@parasor/shared/dist/types.js +13 -0
  48. package/node_modules/@parasor/shared/dist/types.js.map +1 -0
  49. package/node_modules/@parasor/shared/dist/worktree-local-files.d.ts +14 -0
  50. package/node_modules/@parasor/shared/dist/worktree-local-files.d.ts.map +1 -0
  51. package/node_modules/@parasor/shared/dist/worktree-local-files.js +41 -0
  52. package/node_modules/@parasor/shared/dist/worktree-local-files.js.map +1 -0
  53. package/node_modules/@parasor/shared/dist/ws-events.d.ts +152 -0
  54. package/node_modules/@parasor/shared/dist/ws-events.d.ts.map +1 -0
  55. package/node_modules/@parasor/shared/dist/ws-events.js +2 -0
  56. package/node_modules/@parasor/shared/dist/ws-events.js.map +1 -0
  57. package/node_modules/@parasor/shared/package.json +13 -0
  58. package/package.json +61 -0
  59. package/server/agent-detector/agent-state-store.d.ts +23 -0
  60. package/server/agent-detector/agent-state-store.d.ts.map +1 -0
  61. package/server/agent-detector/agent-state-store.js +110 -0
  62. package/server/agent-detector/agent-state-store.js.map +1 -0
  63. package/server/agent-detector/detector.d.ts +80 -0
  64. package/server/agent-detector/detector.d.ts.map +1 -0
  65. package/server/agent-detector/detector.js +219 -0
  66. package/server/agent-detector/detector.js.map +1 -0
  67. package/server/agent-detector/event-map.d.ts +25 -0
  68. package/server/agent-detector/event-map.d.ts.map +1 -0
  69. package/server/agent-detector/event-map.js +136 -0
  70. package/server/agent-detector/event-map.js.map +1 -0
  71. package/server/agent-detector/manual-agent-tracker.d.ts +19 -0
  72. package/server/agent-detector/manual-agent-tracker.d.ts.map +1 -0
  73. package/server/agent-detector/manual-agent-tracker.js +123 -0
  74. package/server/agent-detector/manual-agent-tracker.js.map +1 -0
  75. package/server/agent-detector/output-eligibility.d.ts +3 -0
  76. package/server/agent-detector/output-eligibility.d.ts.map +1 -0
  77. package/server/agent-detector/output-eligibility.js +39 -0
  78. package/server/agent-detector/output-eligibility.js.map +1 -0
  79. package/server/application/files/errors.d.ts +28 -0
  80. package/server/application/files/errors.d.ts.map +1 -0
  81. package/server/application/files/errors.js +55 -0
  82. package/server/application/files/errors.js.map +1 -0
  83. package/server/application/files/local-filesystem.d.ts +36 -0
  84. package/server/application/files/local-filesystem.d.ts.map +1 -0
  85. package/server/application/files/local-filesystem.js +171 -0
  86. package/server/application/files/local-filesystem.js.map +1 -0
  87. package/server/application/files/project-file-queries.d.ts +16 -0
  88. package/server/application/files/project-file-queries.d.ts.map +1 -0
  89. package/server/application/files/project-file-queries.js +126 -0
  90. package/server/application/files/project-file-queries.js.map +1 -0
  91. package/server/application/integrations/errors.d.ts +16 -0
  92. package/server/application/integrations/errors.d.ts.map +1 -0
  93. package/server/application/integrations/errors.js +31 -0
  94. package/server/application/integrations/errors.js.map +1 -0
  95. package/server/application/integrations/hook-notify.d.ts +32 -0
  96. package/server/application/integrations/hook-notify.d.ts.map +1 -0
  97. package/server/application/integrations/hook-notify.js +118 -0
  98. package/server/application/integrations/hook-notify.js.map +1 -0
  99. package/server/application/integrations/open-url.d.ts +11 -0
  100. package/server/application/integrations/open-url.d.ts.map +1 -0
  101. package/server/application/integrations/open-url.js +23 -0
  102. package/server/application/integrations/open-url.js.map +1 -0
  103. package/server/application/ports.d.ts +11 -0
  104. package/server/application/ports.d.ts.map +1 -0
  105. package/server/application/ports.js +2 -0
  106. package/server/application/ports.js.map +1 -0
  107. package/server/application/workspace/errors.d.ts +21 -0
  108. package/server/application/workspace/errors.d.ts.map +1 -0
  109. package/server/application/workspace/errors.js +21 -0
  110. package/server/application/workspace/errors.js.map +1 -0
  111. package/server/application/workspace/pane-commands.d.ts +47 -0
  112. package/server/application/workspace/pane-commands.d.ts.map +1 -0
  113. package/server/application/workspace/pane-commands.js +193 -0
  114. package/server/application/workspace/pane-commands.js.map +1 -0
  115. package/server/application/workspace/project-commands.d.ts +34 -0
  116. package/server/application/workspace/project-commands.d.ts.map +1 -0
  117. package/server/application/workspace/project-commands.js +81 -0
  118. package/server/application/workspace/project-commands.js.map +1 -0
  119. package/server/application/workspace/project-queries.d.ts +21 -0
  120. package/server/application/workspace/project-queries.d.ts.map +1 -0
  121. package/server/application/workspace/project-queries.js +216 -0
  122. package/server/application/workspace/project-queries.js.map +1 -0
  123. package/server/application/workspace/session-commands.d.ts +24 -0
  124. package/server/application/workspace/session-commands.d.ts.map +1 -0
  125. package/server/application/workspace/session-commands.js +123 -0
  126. package/server/application/workspace/session-commands.js.map +1 -0
  127. package/server/application/workspace/session-queries.d.ts +14 -0
  128. package/server/application/workspace/session-queries.d.ts.map +1 -0
  129. package/server/application/workspace/session-queries.js +47 -0
  130. package/server/application/workspace/session-queries.js.map +1 -0
  131. package/server/application/workspace/worktree-commands.d.ts +98 -0
  132. package/server/application/workspace/worktree-commands.d.ts.map +1 -0
  133. package/server/application/workspace/worktree-commands.js +323 -0
  134. package/server/application/workspace/worktree-commands.js.map +1 -0
  135. package/server/application/workspace/worktree-local-files.d.ts +11 -0
  136. package/server/application/workspace/worktree-local-files.d.ts.map +1 -0
  137. package/server/application/workspace/worktree-local-files.js +223 -0
  138. package/server/application/workspace/worktree-local-files.js.map +1 -0
  139. package/server/application/workspace/worktree-reconcile.d.ts +21 -0
  140. package/server/application/workspace/worktree-reconcile.d.ts.map +1 -0
  141. package/server/application/workspace/worktree-reconcile.js +49 -0
  142. package/server/application/workspace/worktree-reconcile.js.map +1 -0
  143. package/server/auth/origin.d.ts +17 -0
  144. package/server/auth/origin.d.ts.map +1 -0
  145. package/server/auth/origin.js +93 -0
  146. package/server/auth/origin.js.map +1 -0
  147. package/server/auth/pairing-token.d.ts +28 -0
  148. package/server/auth/pairing-token.d.ts.map +1 -0
  149. package/server/auth/pairing-token.js +46 -0
  150. package/server/auth/pairing-token.js.map +1 -0
  151. package/server/auth/token-exchange.d.ts +11 -0
  152. package/server/auth/token-exchange.d.ts.map +1 -0
  153. package/server/auth/token-exchange.js +27 -0
  154. package/server/auth/token-exchange.js.map +1 -0
  155. package/server/auth/token.d.ts +18 -0
  156. package/server/auth/token.d.ts.map +1 -0
  157. package/server/auth/token.js +115 -0
  158. package/server/auth/token.js.map +1 -0
  159. package/server/bootstrap/create-app-server.d.ts +49 -0
  160. package/server/bootstrap/create-app-server.d.ts.map +1 -0
  161. package/server/bootstrap/create-app-server.js +154 -0
  162. package/server/bootstrap/create-app-server.js.map +1 -0
  163. package/server/bootstrap/project-runtime.d.ts +29 -0
  164. package/server/bootstrap/project-runtime.d.ts.map +1 -0
  165. package/server/bootstrap/project-runtime.js +253 -0
  166. package/server/bootstrap/project-runtime.js.map +1 -0
  167. package/server/bootstrap/pty-env.d.ts +3 -0
  168. package/server/bootstrap/pty-env.d.ts.map +1 -0
  169. package/server/bootstrap/pty-env.js +15 -0
  170. package/server/bootstrap/pty-env.js.map +1 -0
  171. package/server/bootstrap/reconcile-state.d.ts +16 -0
  172. package/server/bootstrap/reconcile-state.d.ts.map +1 -0
  173. package/server/bootstrap/reconcile-state.js +73 -0
  174. package/server/bootstrap/reconcile-state.js.map +1 -0
  175. package/server/bootstrap/runtime-loops.d.ts +51 -0
  176. package/server/bootstrap/runtime-loops.d.ts.map +1 -0
  177. package/server/bootstrap/runtime-loops.js +189 -0
  178. package/server/bootstrap/runtime-loops.js.map +1 -0
  179. package/server/bootstrap/runtime-port.d.ts +4 -0
  180. package/server/bootstrap/runtime-port.d.ts.map +1 -0
  181. package/server/bootstrap/runtime-port.js +52 -0
  182. package/server/bootstrap/runtime-port.js.map +1 -0
  183. package/server/bootstrap/safety-gate.d.ts +22 -0
  184. package/server/bootstrap/safety-gate.d.ts.map +1 -0
  185. package/server/bootstrap/safety-gate.js +43 -0
  186. package/server/bootstrap/safety-gate.js.map +1 -0
  187. package/server/bootstrap/shutdown-marker.d.ts +35 -0
  188. package/server/bootstrap/shutdown-marker.d.ts.map +1 -0
  189. package/server/bootstrap/shutdown-marker.js +100 -0
  190. package/server/bootstrap/shutdown-marker.js.map +1 -0
  191. package/server/bootstrap/shutdown-runtime.d.ts +62 -0
  192. package/server/bootstrap/shutdown-runtime.d.ts.map +1 -0
  193. package/server/bootstrap/shutdown-runtime.js +66 -0
  194. package/server/bootstrap/shutdown-runtime.js.map +1 -0
  195. package/server/bootstrap/startup-banner.d.ts +34 -0
  196. package/server/bootstrap/startup-banner.d.ts.map +1 -0
  197. package/server/bootstrap/startup-banner.js +114 -0
  198. package/server/bootstrap/startup-banner.js.map +1 -0
  199. package/server/bootstrap/wire-runtime.d.ts +42 -0
  200. package/server/bootstrap/wire-runtime.d.ts.map +1 -0
  201. package/server/bootstrap/wire-runtime.js +205 -0
  202. package/server/bootstrap/wire-runtime.js.map +1 -0
  203. package/server/cli/help.d.ts +3 -0
  204. package/server/cli/help.d.ts.map +1 -0
  205. package/server/cli/help.js +39 -0
  206. package/server/cli/help.js.map +1 -0
  207. package/server/cli/hook-client.d.ts +12 -0
  208. package/server/cli/hook-client.d.ts.map +1 -0
  209. package/server/cli/hook-client.js +81 -0
  210. package/server/cli/hook-client.js.map +1 -0
  211. package/server/cli/hook.d.ts +3 -0
  212. package/server/cli/hook.d.ts.map +1 -0
  213. package/server/cli/hook.js +152 -0
  214. package/server/cli/hook.js.map +1 -0
  215. package/server/cli/main.d.ts +2 -0
  216. package/server/cli/main.d.ts.map +1 -0
  217. package/server/cli/main.js +133 -0
  218. package/server/cli/main.js.map +1 -0
  219. package/server/cli/notify.d.ts +19 -0
  220. package/server/cli/notify.d.ts.map +1 -0
  221. package/server/cli/notify.js +77 -0
  222. package/server/cli/notify.js.map +1 -0
  223. package/server/cli/open.d.ts +2 -0
  224. package/server/cli/open.d.ts.map +1 -0
  225. package/server/cli/open.js +47 -0
  226. package/server/cli/open.js.map +1 -0
  227. package/server/cli/probe-daemon-version.d.ts +46 -0
  228. package/server/cli/probe-daemon-version.d.ts.map +1 -0
  229. package/server/cli/probe-daemon-version.js +167 -0
  230. package/server/cli/probe-daemon-version.js.map +1 -0
  231. package/server/cli/pty-host.d.ts +36 -0
  232. package/server/cli/pty-host.d.ts.map +1 -0
  233. package/server/cli/pty-host.js +390 -0
  234. package/server/cli/pty-host.js.map +1 -0
  235. package/server/cli/qr.d.ts +2 -0
  236. package/server/cli/qr.d.ts.map +1 -0
  237. package/server/cli/qr.js +70 -0
  238. package/server/cli/qr.js.map +1 -0
  239. package/server/cli/restart-confirm.d.ts +33 -0
  240. package/server/cli/restart-confirm.d.ts.map +1 -0
  241. package/server/cli/restart-confirm.js +107 -0
  242. package/server/cli/restart-confirm.js.map +1 -0
  243. package/server/cli/restart.d.ts +17 -0
  244. package/server/cli/restart.d.ts.map +1 -0
  245. package/server/cli/restart.js +145 -0
  246. package/server/cli/restart.js.map +1 -0
  247. package/server/cli/service-darwin.d.ts +70 -0
  248. package/server/cli/service-darwin.d.ts.map +1 -0
  249. package/server/cli/service-darwin.js +562 -0
  250. package/server/cli/service-darwin.js.map +1 -0
  251. package/server/cli/service-linux.d.ts +81 -0
  252. package/server/cli/service-linux.d.ts.map +1 -0
  253. package/server/cli/service-linux.js +412 -0
  254. package/server/cli/service-linux.js.map +1 -0
  255. package/server/cli/service.d.ts +33 -0
  256. package/server/cli/service.d.ts.map +1 -0
  257. package/server/cli/service.js +133 -0
  258. package/server/cli/service.js.map +1 -0
  259. package/server/cli/shim-installer.d.ts +35 -0
  260. package/server/cli/shim-installer.d.ts.map +1 -0
  261. package/server/cli/shim-installer.js +662 -0
  262. package/server/cli/shim-installer.js.map +1 -0
  263. package/server/cli/shim-open.d.ts +2 -0
  264. package/server/cli/shim-open.d.ts.map +1 -0
  265. package/server/cli/shim-open.js +128 -0
  266. package/server/cli/shim-open.js.map +1 -0
  267. package/server/cli/shutdown-deps.d.ts +41 -0
  268. package/server/cli/shutdown-deps.d.ts.map +1 -0
  269. package/server/cli/shutdown-deps.js +158 -0
  270. package/server/cli/shutdown-deps.js.map +1 -0
  271. package/server/cli/stop.d.ts +11 -0
  272. package/server/cli/stop.d.ts.map +1 -0
  273. package/server/cli/stop.js +123 -0
  274. package/server/cli/stop.js.map +1 -0
  275. package/server/cli/unknown-command.d.ts +8 -0
  276. package/server/cli/unknown-command.d.ts.map +1 -0
  277. package/server/cli/unknown-command.js +14 -0
  278. package/server/cli/unknown-command.js.map +1 -0
  279. package/server/debug/agent-status-recorder.d.ts +57 -0
  280. package/server/debug/agent-status-recorder.d.ts.map +1 -0
  281. package/server/debug/agent-status-recorder.js +209 -0
  282. package/server/debug/agent-status-recorder.js.map +1 -0
  283. package/server/debug/terminal-trace-recorder.d.ts +41 -0
  284. package/server/debug/terminal-trace-recorder.d.ts.map +1 -0
  285. package/server/debug/terminal-trace-recorder.js +112 -0
  286. package/server/debug/terminal-trace-recorder.js.map +1 -0
  287. package/server/fonts/catalog.d.ts +35 -0
  288. package/server/fonts/catalog.d.ts.map +1 -0
  289. package/server/fonts/catalog.js +76 -0
  290. package/server/fonts/catalog.js.map +1 -0
  291. package/server/fonts/installer.d.ts +45 -0
  292. package/server/fonts/installer.d.ts.map +1 -0
  293. package/server/fonts/installer.js +201 -0
  294. package/server/fonts/installer.js.map +1 -0
  295. package/server/fonts/routes.d.ts +4 -0
  296. package/server/fonts/routes.d.ts.map +1 -0
  297. package/server/fonts/routes.js +91 -0
  298. package/server/fonts/routes.js.map +1 -0
  299. package/server/fs/drops.d.ts +50 -0
  300. package/server/fs/drops.d.ts.map +1 -0
  301. package/server/fs/drops.js +137 -0
  302. package/server/fs/drops.js.map +1 -0
  303. package/server/fs/file-uploads.d.ts +57 -0
  304. package/server/fs/file-uploads.d.ts.map +1 -0
  305. package/server/fs/file-uploads.js +214 -0
  306. package/server/fs/file-uploads.js.map +1 -0
  307. package/server/fs/file-watcher.d.ts +22 -0
  308. package/server/fs/file-watcher.d.ts.map +1 -0
  309. package/server/fs/file-watcher.js +105 -0
  310. package/server/fs/file-watcher.js.map +1 -0
  311. package/server/fs/git-watcher.d.ts +76 -0
  312. package/server/fs/git-watcher.d.ts.map +1 -0
  313. package/server/fs/git-watcher.js +356 -0
  314. package/server/fs/git-watcher.js.map +1 -0
  315. package/server/fs/media.d.ts +35 -0
  316. package/server/fs/media.d.ts.map +1 -0
  317. package/server/fs/media.js +271 -0
  318. package/server/fs/media.js.map +1 -0
  319. package/server/fs/service.d.ts +97 -0
  320. package/server/fs/service.d.ts.map +1 -0
  321. package/server/fs/service.js +306 -0
  322. package/server/fs/service.js.map +1 -0
  323. package/server/fs/upload-staging.d.ts +76 -0
  324. package/server/fs/upload-staging.d.ts.map +1 -0
  325. package/server/fs/upload-staging.js +283 -0
  326. package/server/fs/upload-staging.js.map +1 -0
  327. package/server/fs/watcher-lifecycle.d.ts +24 -0
  328. package/server/fs/watcher-lifecycle.d.ts.map +1 -0
  329. package/server/fs/watcher-lifecycle.js +105 -0
  330. package/server/fs/watcher-lifecycle.js.map +1 -0
  331. package/server/index.d.ts +17 -0
  332. package/server/index.d.ts.map +1 -0
  333. package/server/index.js +510 -0
  334. package/server/index.js.map +1 -0
  335. package/server/ipc/socket-server.d.ts +28 -0
  336. package/server/ipc/socket-server.d.ts.map +1 -0
  337. package/server/ipc/socket-server.js +206 -0
  338. package/server/ipc/socket-server.js.map +1 -0
  339. package/server/lib/git-exec.d.ts +38 -0
  340. package/server/lib/git-exec.d.ts.map +1 -0
  341. package/server/lib/git-exec.js +96 -0
  342. package/server/lib/git-exec.js.map +1 -0
  343. package/server/lib/open-in-ide.d.ts +22 -0
  344. package/server/lib/open-in-ide.d.ts.map +1 -0
  345. package/server/lib/open-in-ide.js +90 -0
  346. package/server/lib/open-in-ide.js.map +1 -0
  347. package/server/lib/open-in-os.d.ts +20 -0
  348. package/server/lib/open-in-os.d.ts.map +1 -0
  349. package/server/lib/open-in-os.js +51 -0
  350. package/server/lib/open-in-os.js.map +1 -0
  351. package/server/lib/path.d.ts +2 -0
  352. package/server/lib/path.d.ts.map +1 -0
  353. package/server/lib/path.js +10 -0
  354. package/server/lib/path.js.map +1 -0
  355. package/server/lib/promise-mutex.d.ts +7 -0
  356. package/server/lib/promise-mutex.d.ts.map +1 -0
  357. package/server/lib/promise-mutex.js +26 -0
  358. package/server/lib/promise-mutex.js.map +1 -0
  359. package/server/lib/sd-notify.d.ts +8 -0
  360. package/server/lib/sd-notify.d.ts.map +1 -0
  361. package/server/lib/sd-notify.js +27 -0
  362. package/server/lib/sd-notify.js.map +1 -0
  363. package/server/net/local-machine.d.ts +7 -0
  364. package/server/net/local-machine.d.ts.map +1 -0
  365. package/server/net/local-machine.js +79 -0
  366. package/server/net/local-machine.js.map +1 -0
  367. package/server/net/reachable-host.d.ts +12 -0
  368. package/server/net/reachable-host.d.ts.map +1 -0
  369. package/server/net/reachable-host.js +25 -0
  370. package/server/net/reachable-host.js.map +1 -0
  371. package/server/network/endpoints.d.ts +14 -0
  372. package/server/network/endpoints.d.ts.map +1 -0
  373. package/server/network/endpoints.js +104 -0
  374. package/server/network/endpoints.js.map +1 -0
  375. package/server/network/qr.d.ts +16 -0
  376. package/server/network/qr.d.ts.map +1 -0
  377. package/server/network/qr.js +89 -0
  378. package/server/network/qr.js.map +1 -0
  379. package/server/port-forwarder/forwarder.d.ts +47 -0
  380. package/server/port-forwarder/forwarder.d.ts.map +1 -0
  381. package/server/port-forwarder/forwarder.js +159 -0
  382. package/server/port-forwarder/forwarder.js.map +1 -0
  383. package/server/port-scanner/scanner.d.ts +24 -0
  384. package/server/port-scanner/scanner.d.ts.map +1 -0
  385. package/server/port-scanner/scanner.js +193 -0
  386. package/server/port-scanner/scanner.js.map +1 -0
  387. package/server/pty/connection-lifecycle.d.ts +50 -0
  388. package/server/pty/connection-lifecycle.d.ts.map +1 -0
  389. package/server/pty/connection-lifecycle.js +113 -0
  390. package/server/pty/connection-lifecycle.js.map +1 -0
  391. package/server/pty/daemon-connect.d.ts +52 -0
  392. package/server/pty/daemon-connect.d.ts.map +1 -0
  393. package/server/pty/daemon-connect.js +62 -0
  394. package/server/pty/daemon-connect.js.map +1 -0
  395. package/server/pty/handshake-timeout-race.d.ts +22 -0
  396. package/server/pty/handshake-timeout-race.d.ts.map +1 -0
  397. package/server/pty/handshake-timeout-race.js +23 -0
  398. package/server/pty/handshake-timeout-race.js.map +1 -0
  399. package/server/pty/headless-replay-snapshot.d.ts +28 -0
  400. package/server/pty/headless-replay-snapshot.d.ts.map +1 -0
  401. package/server/pty/headless-replay-snapshot.js +285 -0
  402. package/server/pty/headless-replay-snapshot.js.map +1 -0
  403. package/server/pty/headless-terminal-state-cache.d.ts +31 -0
  404. package/server/pty/headless-terminal-state-cache.d.ts.map +1 -0
  405. package/server/pty/headless-terminal-state-cache.js +119 -0
  406. package/server/pty/headless-terminal-state-cache.js.map +1 -0
  407. package/server/pty/hello-ack-validator.d.ts +15 -0
  408. package/server/pty/hello-ack-validator.d.ts.map +1 -0
  409. package/server/pty/hello-ack-validator.js +30 -0
  410. package/server/pty/hello-ack-validator.js.map +1 -0
  411. package/server/pty/host-daemon/bootstrap.d.ts +100 -0
  412. package/server/pty/host-daemon/bootstrap.d.ts.map +1 -0
  413. package/server/pty/host-daemon/bootstrap.js +611 -0
  414. package/server/pty/host-daemon/bootstrap.js.map +1 -0
  415. package/server/pty/host-daemon/daemon.d.ts +111 -0
  416. package/server/pty/host-daemon/daemon.d.ts.map +1 -0
  417. package/server/pty/host-daemon/daemon.js +648 -0
  418. package/server/pty/host-daemon/daemon.js.map +1 -0
  419. package/server/pty/host-daemon/entry.d.ts +3 -0
  420. package/server/pty/host-daemon/entry.d.ts.map +1 -0
  421. package/server/pty/host-daemon/entry.js +72 -0
  422. package/server/pty/host-daemon/entry.js.map +1 -0
  423. package/server/pty/host-daemon/lockfile.d.ts +12 -0
  424. package/server/pty/host-daemon/lockfile.d.ts.map +1 -0
  425. package/server/pty/host-daemon/lockfile.js +120 -0
  426. package/server/pty/host-daemon/lockfile.js.map +1 -0
  427. package/server/pty/host-daemon/mode-marker.d.ts +77 -0
  428. package/server/pty/host-daemon/mode-marker.d.ts.map +1 -0
  429. package/server/pty/host-daemon/mode-marker.js +228 -0
  430. package/server/pty/host-daemon/mode-marker.js.map +1 -0
  431. package/server/pty/host-daemon/orphan-cleanup.d.ts +42 -0
  432. package/server/pty/host-daemon/orphan-cleanup.d.ts.map +1 -0
  433. package/server/pty/host-daemon/orphan-cleanup.js +84 -0
  434. package/server/pty/host-daemon/orphan-cleanup.js.map +1 -0
  435. package/server/pty/host-daemon/paths.d.ts +10 -0
  436. package/server/pty/host-daemon/paths.d.ts.map +1 -0
  437. package/server/pty/host-daemon/paths.js +56 -0
  438. package/server/pty/host-daemon/paths.js.map +1 -0
  439. package/server/pty/host-daemon/server-connection.d.ts +44 -0
  440. package/server/pty/host-daemon/server-connection.d.ts.map +1 -0
  441. package/server/pty/host-daemon/server-connection.js +100 -0
  442. package/server/pty/host-daemon/server-connection.js.map +1 -0
  443. package/server/pty/host-daemon/service-detection.d.ts +24 -0
  444. package/server/pty/host-daemon/service-detection.d.ts.map +1 -0
  445. package/server/pty/host-daemon/service-detection.js +16 -0
  446. package/server/pty/host-daemon/service-detection.js.map +1 -0
  447. package/server/pty/host-daemon/socket-ready.d.ts +22 -0
  448. package/server/pty/host-daemon/socket-ready.d.ts.map +1 -0
  449. package/server/pty/host-daemon/socket-ready.js +33 -0
  450. package/server/pty/host-daemon/socket-ready.js.map +1 -0
  451. package/server/pty/host-daemon/spawn-daemon.d.ts +45 -0
  452. package/server/pty/host-daemon/spawn-daemon.d.ts.map +1 -0
  453. package/server/pty/host-daemon/spawn-daemon.js +155 -0
  454. package/server/pty/host-daemon/spawn-daemon.js.map +1 -0
  455. package/server/pty/host-daemon/terminate-daemon.d.ts +16 -0
  456. package/server/pty/host-daemon/terminate-daemon.d.ts.map +1 -0
  457. package/server/pty/host-daemon/terminate-daemon.js +128 -0
  458. package/server/pty/host-daemon/terminate-daemon.js.map +1 -0
  459. package/server/pty/host-protocol/frames.d.ts +110 -0
  460. package/server/pty/host-protocol/frames.d.ts.map +1 -0
  461. package/server/pty/host-protocol/frames.js +255 -0
  462. package/server/pty/host-protocol/frames.js.map +1 -0
  463. package/server/pty/host-protocol/messages.d.ts +140 -0
  464. package/server/pty/host-protocol/messages.d.ts.map +1 -0
  465. package/server/pty/host-protocol/messages.js +117 -0
  466. package/server/pty/host-protocol/messages.js.map +1 -0
  467. package/server/pty/host.d.ts +273 -0
  468. package/server/pty/host.d.ts.map +1 -0
  469. package/server/pty/host.js +184 -0
  470. package/server/pty/host.js.map +1 -0
  471. package/server/pty/in-process-host.d.ts +224 -0
  472. package/server/pty/in-process-host.d.ts.map +1 -0
  473. package/server/pty/in-process-host.js +1183 -0
  474. package/server/pty/in-process-host.js.map +1 -0
  475. package/server/pty/osc7-lifecycle.d.ts +8 -0
  476. package/server/pty/osc7-lifecycle.d.ts.map +1 -0
  477. package/server/pty/osc7-lifecycle.js +22 -0
  478. package/server/pty/osc7-lifecycle.js.map +1 -0
  479. package/server/pty/osc7-parser.d.ts +23 -0
  480. package/server/pty/osc7-parser.d.ts.map +1 -0
  481. package/server/pty/osc7-parser.js +91 -0
  482. package/server/pty/osc7-parser.js.map +1 -0
  483. package/server/pty/remote-host.d.ts +188 -0
  484. package/server/pty/remote-host.d.ts.map +1 -0
  485. package/server/pty/remote-host.js +810 -0
  486. package/server/pty/remote-host.js.map +1 -0
  487. package/server/pty/request-correlator.d.ts +59 -0
  488. package/server/pty/request-correlator.d.ts.map +1 -0
  489. package/server/pty/request-correlator.js +75 -0
  490. package/server/pty/request-correlator.js.map +1 -0
  491. package/server/pty/scrollback-log.d.ts +130 -0
  492. package/server/pty/scrollback-log.d.ts.map +1 -0
  493. package/server/pty/scrollback-log.js +344 -0
  494. package/server/pty/scrollback-log.js.map +1 -0
  495. package/server/pty/scrollback-sanitize.d.ts +2 -0
  496. package/server/pty/scrollback-sanitize.d.ts.map +1 -0
  497. package/server/pty/scrollback-sanitize.js +54 -0
  498. package/server/pty/scrollback-sanitize.js.map +1 -0
  499. package/server/pty/session-mirror.d.ts +67 -0
  500. package/server/pty/session-mirror.d.ts.map +1 -0
  501. package/server/pty/session-mirror.js +112 -0
  502. package/server/pty/session-mirror.js.map +1 -0
  503. package/server/pty/session-policy.d.ts +85 -0
  504. package/server/pty/session-policy.d.ts.map +1 -0
  505. package/server/pty/session-policy.js +186 -0
  506. package/server/pty/session-policy.js.map +1 -0
  507. package/server/pty/version-mismatch-recovery.d.ts +71 -0
  508. package/server/pty/version-mismatch-recovery.d.ts.map +1 -0
  509. package/server/pty/version-mismatch-recovery.js +63 -0
  510. package/server/pty/version-mismatch-recovery.js.map +1 -0
  511. package/server/routes/debug-agent-status.d.ts +5 -0
  512. package/server/routes/debug-agent-status.d.ts.map +1 -0
  513. package/server/routes/debug-agent-status.js +22 -0
  514. package/server/routes/debug-agent-status.js.map +1 -0
  515. package/server/routes/debug-diagnostics.d.ts +8 -0
  516. package/server/routes/debug-diagnostics.d.ts.map +1 -0
  517. package/server/routes/debug-diagnostics.js +34 -0
  518. package/server/routes/debug-diagnostics.js.map +1 -0
  519. package/server/routes/debug-terminal-trace.d.ts +16 -0
  520. package/server/routes/debug-terminal-trace.d.ts.map +1 -0
  521. package/server/routes/debug-terminal-trace.js +545 -0
  522. package/server/routes/debug-terminal-trace.js.map +1 -0
  523. package/server/routes/drops.d.ts +13 -0
  524. package/server/routes/drops.d.ts.map +1 -0
  525. package/server/routes/drops.js +126 -0
  526. package/server/routes/drops.js.map +1 -0
  527. package/server/routes/file-uploads.d.ts +9 -0
  528. package/server/routes/file-uploads.d.ts.map +1 -0
  529. package/server/routes/file-uploads.js +119 -0
  530. package/server/routes/file-uploads.js.map +1 -0
  531. package/server/routes/files.d.ts +9 -0
  532. package/server/routes/files.d.ts.map +1 -0
  533. package/server/routes/files.js +441 -0
  534. package/server/routes/files.js.map +1 -0
  535. package/server/routes/filesystem.d.ts +6 -0
  536. package/server/routes/filesystem.d.ts.map +1 -0
  537. package/server/routes/filesystem.js +76 -0
  538. package/server/routes/filesystem.js.map +1 -0
  539. package/server/routes/git.d.ts +38 -0
  540. package/server/routes/git.d.ts.map +1 -0
  541. package/server/routes/git.js +585 -0
  542. package/server/routes/git.js.map +1 -0
  543. package/server/routes/healthz.d.ts +8 -0
  544. package/server/routes/healthz.d.ts.map +1 -0
  545. package/server/routes/healthz.js +24 -0
  546. package/server/routes/healthz.js.map +1 -0
  547. package/server/routes/hook.d.ts +14 -0
  548. package/server/routes/hook.d.ts.map +1 -0
  549. package/server/routes/hook.js +86 -0
  550. package/server/routes/hook.js.map +1 -0
  551. package/server/routes/ide-commands.d.ts +9 -0
  552. package/server/routes/ide-commands.d.ts.map +1 -0
  553. package/server/routes/ide-commands.js +23 -0
  554. package/server/routes/ide-commands.js.map +1 -0
  555. package/server/routes/lib/resolve-worktree.d.ts +30 -0
  556. package/server/routes/lib/resolve-worktree.d.ts.map +1 -0
  557. package/server/routes/lib/resolve-worktree.js +35 -0
  558. package/server/routes/lib/resolve-worktree.js.map +1 -0
  559. package/server/routes/open.d.ts +4 -0
  560. package/server/routes/open.d.ts.map +1 -0
  561. package/server/routes/open.js +21 -0
  562. package/server/routes/open.js.map +1 -0
  563. package/server/routes/pane-commands.d.ts +9 -0
  564. package/server/routes/pane-commands.d.ts.map +1 -0
  565. package/server/routes/pane-commands.js +23 -0
  566. package/server/routes/pane-commands.js.map +1 -0
  567. package/server/routes/projects.d.ts +15 -0
  568. package/server/routes/projects.d.ts.map +1 -0
  569. package/server/routes/projects.js +363 -0
  570. package/server/routes/projects.js.map +1 -0
  571. package/server/routes/server-notices.d.ts +4 -0
  572. package/server/routes/server-notices.d.ts.map +1 -0
  573. package/server/routes/server-notices.js +29 -0
  574. package/server/routes/server-notices.js.map +1 -0
  575. package/server/routes/service-config.d.ts +11 -0
  576. package/server/routes/service-config.d.ts.map +1 -0
  577. package/server/routes/service-config.js +64 -0
  578. package/server/routes/service-config.js.map +1 -0
  579. package/server/routes/sessions.d.ts +7 -0
  580. package/server/routes/sessions.d.ts.map +1 -0
  581. package/server/routes/sessions.js +218 -0
  582. package/server/routes/sessions.js.map +1 -0
  583. package/server/service/caffeinate.d.ts +33 -0
  584. package/server/service/caffeinate.d.ts.map +1 -0
  585. package/server/service/caffeinate.js +72 -0
  586. package/server/service/caffeinate.js.map +1 -0
  587. package/server/state/app-state.d.ts +167 -0
  588. package/server/state/app-state.d.ts.map +1 -0
  589. package/server/state/app-state.js +335 -0
  590. package/server/state/app-state.js.map +1 -0
  591. package/server/state/project-manager.d.ts +30 -0
  592. package/server/state/project-manager.d.ts.map +1 -0
  593. package/server/state/project-manager.js +128 -0
  594. package/server/state/project-manager.js.map +1 -0
  595. package/server/state/server-notices.d.ts +12 -0
  596. package/server/state/server-notices.d.ts.map +1 -0
  597. package/server/state/server-notices.js +32 -0
  598. package/server/state/server-notices.js.map +1 -0
  599. package/server/state/worktree-cache.d.ts +25 -0
  600. package/server/state/worktree-cache.d.ts.map +1 -0
  601. package/server/state/worktree-cache.js +53 -0
  602. package/server/state/worktree-cache.js.map +1 -0
  603. package/server/ws/events.d.ts +45 -0
  604. package/server/ws/events.d.ts.map +1 -0
  605. package/server/ws/events.js +134 -0
  606. package/server/ws/events.js.map +1 -0
  607. package/server/ws/keepalive.d.ts +27 -0
  608. package/server/ws/keepalive.d.ts.map +1 -0
  609. package/server/ws/keepalive.js +63 -0
  610. package/server/ws/keepalive.js.map +1 -0
  611. package/server/ws/terminal-attach.d.ts +13 -0
  612. package/server/ws/terminal-attach.d.ts.map +1 -0
  613. package/server/ws/terminal-attach.js +233 -0
  614. package/server/ws/terminal-attach.js.map +1 -0
  615. package/server/ws/terminal-flow.d.ts +17 -0
  616. package/server/ws/terminal-flow.d.ts.map +1 -0
  617. package/server/ws/terminal-flow.js +64 -0
  618. package/server/ws/terminal-flow.js.map +1 -0
  619. package/server/ws/terminal.d.ts +69 -0
  620. package/server/ws/terminal.d.ts.map +1 -0
  621. package/server/ws/terminal.js +311 -0
  622. package/server/ws/terminal.js.map +1 -0
  623. package/web/assets/EditorPane-CzzT3iYY.js +123 -0
  624. package/web/assets/SymbolsNerdFontMono-Regular-CwEZqMeU.woff2 +0 -0
  625. package/web/assets/TerminalPane-CjbYzePr.js +68 -0
  626. package/web/assets/TerminalPane-DkTCHfhq.css +1 -0
  627. package/web/assets/file-icons-JBi09j0r.js +6 -0
  628. package/web/assets/index-CTTkRpnn.css +2 -0
  629. package/web/assets/index-CmhewzMp.js +34 -0
  630. package/web/assets/session-resume-7f-tB-ZU.js +2 -0
  631. package/web/assets/terminal-trace-PuuFRybC.js +2803 -0
  632. package/web/assets/useVirtualKeyboard-DgJb9u9d.js +1 -0
  633. package/web/index.html +52 -0
@@ -0,0 +1,2803 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),l=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ee=/\/+/g;function te(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function ne(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function A(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,A(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+te(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ee,`$&/`)+`/`),A(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ee,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+te(a,u),c+=A(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+te(a,u++),c+=A(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return A(ne(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function j(e,t,n){if(e==null)return e;var r=[],i=0;return A(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function re(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ie=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ae={map:j,forEach:function(e,t,n){j(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ae,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:re}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,ie)}catch(e){ie(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.4`})),u=o(((e,t)=>{t.exports=l()})),d=o((e=>{var t=u();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.4`})),f=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=d()})),p=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),m=o(((e,t)=>{t.exports=p()})),h=c(u(),1),g=f(),_=m(),v=`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"]), input:not([disabled]), select:not([disabled]), textarea:not([disabled])`;function y(e){return e?Array.from(e.querySelectorAll(v)):[]}function b({open:e,onDismiss:t,children:n,panelClassName:r=``,contentClassName:i=``,closeOnScrim:a=!0,closeOnEscape:o=!0,dragHandle:s=!0,manageFocus:c=!0,ariaLabel:l,ariaLabelledBy:u,dialogRole:d=`dialog`}){let f=(0,h.useRef)(null),p=(0,h.useRef)(null),m=(0,h.useRef)(null),[v,b]=(0,h.useState)(0),[x,S]=(0,h.useState)(!1),[C,w]=(0,h.useState)(!1);(0,h.useEffect)(()=>{if(!e){w(!1);return}let t=window.requestAnimationFrame(()=>w(!0));return()=>{window.cancelAnimationFrame(t),w(!1)}},[e]),(0,h.useEffect)(()=>{if(!e){b(0),S(!1);return}if(!c)return;p.current=document.activeElement;let t=window.requestAnimationFrame(()=>{y(f.current)[0]?.focus()});return()=>{window.cancelAnimationFrame(t),p.current?.focus?.()}},[e,c]),(0,h.useEffect)(()=>{if(!e)return;let n=e=>{if(e.key===`Escape`){if(!o)return;e.preventDefault(),e.stopPropagation(),t();return}if(e.key!==`Tab`||!c)return;let n=y(f.current);if(n.length===0){e.preventDefault();return}let r=n[0],i=n[n.length-1],a=document.activeElement;e.shiftKey&&(a===r||!f.current?.contains(a))?(e.preventDefault(),i.focus()):!e.shiftKey&&a===i&&(e.preventDefault(),r.focus())};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[o,e,t,c]);let T=(0,h.useCallback)(e=>{e.touches.length===1&&(m.current=e.touches[0].clientY,S(!0))},[]),E=(0,h.useCallback)(e=>{if(m.current==null||e.touches.length!==1)return;let t=e.touches[0].clientY-m.current;b(Math.max(0,t))},[]),D=(0,h.useCallback)(()=>{if(m.current==null)return;let e=v;m.current=null,S(!1);let n=f.current?.getBoundingClientRect().height??0;e>Math.max(80,n*.25)&&a?t():b(0)},[a,v,t]),O=e&&C?`translateY(${v}px)`:`translateY(100%)`,k=(0,_.jsxs)(`div`,{"aria-hidden":!e,inert:!e||void 0,className:`fixed inset-0 z-50 ${e?`pointer-events-auto`:`pointer-events-none`}`,children:[(0,_.jsx)(`div`,{className:`absolute inset-0 bg-black/55 transition-opacity duration-200 motion-reduce:transition-none ${e&&C?`opacity-100`:`opacity-0`}`,onClick:a?t:void 0,role:`presentation`}),(0,_.jsxs)(`div`,{ref:f,role:d,"aria-modal":`true`,"aria-label":l,"aria-labelledby":u,style:{transform:O,transition:x?`none`:`transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1)`},className:`absolute right-0 bottom-0 left-0 max-h-[80vh] w-full max-w-full overflow-hidden rounded-t-xl border-t border-border bg-bg-secondary ${e?`shadow-[0_-8px_24px_rgba(0,0,0,0.45)]`:`shadow-none`} ${r}`,children:[s&&(0,_.jsx)(`div`,{className:`flex cursor-grab justify-center pt-2 pb-1 select-none touch-none`,onTouchStart:T,onTouchMove:E,onTouchEnd:D,onTouchCancel:D,children:(0,_.jsx)(`div`,{className:`h-1 w-10 rounded-tag bg-border`})}),(0,_.jsx)(`div`,{className:`max-h-[calc(80vh-1.5rem)] w-full min-w-0 overflow-x-hidden overflow-y-auto pb-[env(safe-area-inset-bottom)] ${i}`,children:n})]})]});return typeof document>`u`?null:(0,g.createPortal)(k,document.body)}function x({items:e,density:t=`compact`,itemRole:n=`menuitem`,onItemSelect:r,onItemPointerDown:i}){let a=t===`touch`?`px-3 py-2.5 text-sm`:`px-3 py-1.5 text-sm`;return(0,_.jsx)(`div`,{className:`py-1`,children:e.map((e,t)=>(0,_.jsxs)(`div`,{children:[e.separatorBefore&&(0,_.jsx)(`div`,{"aria-hidden":!0,className:`mx-2 my-1 border-t border-border`}),(0,_.jsxs)(`button`,{type:`button`,role:n,"data-item-index":t,disabled:e.disabled,...e.title?{title:e.title}:{},onPointerDown:i,onClick:()=>{e.disabled||(e.onSelect(),r?.())},className:`flex w-full items-center gap-2 rounded-control text-left text-text-primary hover:bg-row-hover-bg focus:bg-row-hover-bg focus:outline-none disabled:cursor-not-allowed disabled:text-text-secondary disabled:opacity-60 disabled:hover:bg-transparent ${e.tone===`danger`?`text-danger`:``} ${a}`,children:[e.leading,(0,_.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:e.label}),e.trailing&&(0,_.jsx)(`span`,{className:`shrink-0 text-xs text-text-secondary`,children:e.trailing})]})]},e.id))})}function S({items:e,align:t=`end`,placement:n=`bottom`,portal:r=!1,anchorPoint:i,open:a,onOpenChange:o,onClose:s,renderTrigger:c}){let[l,u]=(0,h.useState)(!!i),[d,f]=(0,h.useState)(0),[p,m]=(0,h.useState)(null),v=(0,h.useRef)(null),y=(0,h.useRef)(null),b=(0,h.useId)(),S=a??l,C=r||!!i,T=(0,h.useCallback)(e=>{e||s?.(),a===void 0&&u(e),o?.(e)},[a,s,o]),E=(0,h.useCallback)(()=>{if(!C||typeof window>`u`)return;if(i){m({left:Math.min(Math.max(i.x,8),Math.max(8,window.innerWidth-160-8)),minWidth:160,position:`fixed`,top:i.y});return}let e=v.current?.getBoundingClientRect();if(!e)return;let r=t===`end`?e.right-160:e.left;m({left:Math.min(Math.max(r,8),Math.max(8,window.innerWidth-160-8)),minWidth:160,position:`fixed`,top:n===`bottom`?e.bottom+4:e.top-4,transform:n===`top`?`translateY(-100%)`:void 0})},[t,i,C,n]),D=(0,h.useCallback)(()=>{T(!1),v.current?.focus()},[T]),O=(0,h.useCallback)(()=>{S||(f(0),E()),T(!S)},[S,T,E]);(0,h.useEffect)(()=>{if(!S)return;let e=e=>{let t=e.target;y.current?.contains(t)||v.current?.contains(t)||D()},t=e=>{e.key===`Escape`&&(e.preventDefault(),D())};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),C&&(E(),window.addEventListener(`resize`,E),window.addEventListener(`scroll`,E,!0)),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t),C&&(window.removeEventListener(`resize`,E),window.removeEventListener(`scroll`,E,!0))}},[D,C,S,E]),(0,h.useEffect)(()=>{S&&y.current?.querySelector(`[data-item-index="${d}"]`)?.focus()},[S,d]);let k=S?(0,_.jsx)(`div`,{ref:y,id:b,role:`menu`,onKeyDown:t=>{if(t.key===` `||t.key===`Enter`){t.stopPropagation();return}t.key===`ArrowDown`?(t.preventDefault(),f(t=>w(e,t,1))):t.key===`ArrowUp`?(t.preventDefault(),f(t=>w(e,t,-1))):t.key===`Home`?(t.preventDefault(),f(w(e,-1,1))):t.key===`End`&&(t.preventDefault(),f(w(e,e.length,-1)))},style:C?p??void 0:void 0,className:C?`z-40 rounded-window border border-border bg-bg-secondary shadow-lg`:`absolute z-40 min-w-[160px] rounded-window border border-border bg-bg-secondary shadow-lg ${n===`top`?`bottom-full mb-1`:`top-full mt-1`} ${t===`end`?`right-0`:`left-0`}`,children:(0,_.jsx)(x,{items:e,onItemSelect:D})}):null;return i?!k||typeof document>`u`?null:(0,g.createPortal)(k,document.body):(0,_.jsxs)(`div`,{className:C?`contents`:`relative inline-flex`,children:[c?.({open:S,toggle:O,triggerRef:e=>{v.current=e},menuId:b}),C?k&&(0,g.createPortal)(k,document.body):k]})}function C({open:e,items:t,onDismiss:n,ariaLabel:r,title:i,cancelLabel:a=`Cancel`,manageFocus:o=!0}){return(0,_.jsx)(b,{open:e,onDismiss:n,ariaLabel:r,manageFocus:o,children:(0,_.jsxs)(`div`,{className:`p-2`,children:[i&&(0,_.jsx)(`div`,{className:`mb-2 truncate px-3 py-1 text-xs text-text-secondary`,children:i}),(0,_.jsx)(x,{items:t,density:`touch`,itemRole:`button`,onItemSelect:n}),(0,_.jsx)(`button`,{type:`button`,className:`mt-1 w-full rounded-control px-3 py-2.5 text-center text-sm text-text-secondary`,onClick:n,children:a})]})})}function w(e,t,n){let r=e.length;if(r===0)return 0;for(let i=1;i<=r;i++){let a=(t+n*i+r)%r;if(!e[a]?.disabled)return a}return t}function T({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M18 6 6 18`}),(0,_.jsx)(`path`,{d:`m6 6 12 12`})]})}function E({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M5 12h14`}),(0,_.jsx)(`path`,{d:`M12 5v14`})]})}function D({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1`}),(0,_.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1`}),(0,_.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1`})]})}function O({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`path`,{d:`m9 18 6-6-6-6`})})}function k({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M14 17H5`}),(0,_.jsx)(`path`,{d:`M19 7h-9`}),(0,_.jsx)(`circle`,{cx:`17`,cy:`17`,r:`3`}),(0,_.jsx)(`circle`,{cx:`7`,cy:`7`,r:`3`})]})}function ee({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`m21 21-4.34-4.34`}),(0,_.jsx)(`circle`,{cx:`11`,cy:`11`,r:`8`})]})}function te({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1`}),(0,_.jsx)(`path`,{d:`m12 15 5 6H7Z`})]})}function ne({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M4 5h16`}),(0,_.jsx)(`path`,{d:`M4 12h16`}),(0,_.jsx)(`path`,{d:`M4 19h16`})]})}function A({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`path`,{d:`m15 18-6-6 6-6`})})}function j({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,_.jsx)(`path`,{d:`m10 8 4 4-4 4`})]})}function re({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M12 12h.01`}),(0,_.jsx)(`path`,{d:`M16 12h.01`}),(0,_.jsx)(`path`,{d:`m17 7 5 5-5 5`}),(0,_.jsx)(`path`,{d:`m7 7-5 5 5 5`}),(0,_.jsx)(`path`,{d:`M8 12h.01`})]})}function ie({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`circle`,{cx:`18`,cy:`18`,r:`3`}),(0,_.jsx)(`circle`,{cx:`6`,cy:`6`,r:`3`}),(0,_.jsx)(`path`,{d:`M13 6h3a2 2 0 0 1 2 2v7`}),(0,_.jsx)(`path`,{d:`M11 18H8a2 2 0 0 1-2-2V9`})]})}function ae({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`})})}function oe({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,_.jsx)(`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`}),(0,_.jsx)(`path`,{d:`M2 12h20`})]})}function se({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`}),(0,_.jsx)(`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`}),(0,_.jsx)(`path`,{d:`M10 9H8`}),(0,_.jsx)(`path`,{d:`M16 13H8`}),(0,_.jsx)(`path`,{d:`M16 17H8`})]})}function ce({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`}),(0,_.jsx)(`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`})]})}function le({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`})})}function ue({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M15 6a9 9 0 0 0-9 9V3`}),(0,_.jsx)(`circle`,{cx:`18`,cy:`6`,r:`3`}),(0,_.jsx)(`circle`,{cx:`6`,cy:`18`,r:`3`})]})}function de({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M7 21h10`}),(0,_.jsx)(`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`})]})}function fe({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M4 11a9 9 0 0 1 9 9`}),(0,_.jsx)(`path`,{d:`M4 4a16 16 0 0 1 16 16`}),(0,_.jsx)(`circle`,{cx:`5`,cy:`19`,r:`1`})]})}function pe({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M12 17V3`}),(0,_.jsx)(`path`,{d:`m6 11 6 6 6-6`}),(0,_.jsx)(`path`,{d:`M19 21H5`})]})}function me({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`m18 9-6-6-6 6`}),(0,_.jsx)(`path`,{d:`M12 3v14`}),(0,_.jsx)(`path`,{d:`M5 21h14`})]})}function he({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`}),(0,_.jsx)(`path`,{d:`M21 3v5h-5`}),(0,_.jsx)(`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`}),(0,_.jsx)(`path`,{d:`M8 16H3v5`})]})}function ge({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`})})}function _e({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`}),(0,_.jsx)(`circle`,{cx:`12`,cy:`13`,r:`2`}),(0,_.jsx)(`path`,{d:`M12 15v5`})]})}function ve({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M18 19a5 5 0 0 1-5-5v8`}),(0,_.jsx)(`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`}),(0,_.jsx)(`circle`,{cx:`13`,cy:`12`,r:`2`}),(0,_.jsx)(`circle`,{cx:`20`,cy:`19`,r:`2`})]})}function ye({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`})})}function be({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,_.jsx)(`path`,{d:`M10 15V9`}),(0,_.jsx)(`path`,{d:`M14 15V9`})]})}function xe({className:e,...t}){return(0,_.jsx)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`6`})})}function Se({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M12 6v12`}),(0,_.jsx)(`path`,{d:`M17.196 9 6.804 15`}),(0,_.jsx)(`path`,{d:`m6.804 9 10.392 6`})]})}function Ce({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982`}),(0,_.jsx)(`path`,{d:`m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353`}),(0,_.jsx)(`path`,{d:`m2 2 20 20`})]})}function we({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M9 14 4 9l5-5`}),(0,_.jsx)(`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`})]})}function Te({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M12 13v8`}),(0,_.jsx)(`path`,{d:`M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242`}),(0,_.jsx)(`path`,{d:`m8 17 4-4 4 4`})]})}function Ee({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}),(0,_.jsx)(`path`,{d:`M12 3v18`})]})}function De({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`}),(0,_.jsx)(`circle`,{cx:`12`,cy:`12`,r:`3`})]})}function Oe({className:e,...t}){return(0,_.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:e??`h-icon-base w-icon-base`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0,...t,children:[(0,_.jsx)(`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`}),(0,_.jsx)(`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`}),(0,_.jsx)(`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`}),(0,_.jsx)(`path`,{d:`m2 2 20 20`})]})}var M={close:T,add:E,more:D,disclosure:O,settings:k,search:ee,pin:te,menu:ne,back:A,terminal:j,diff:re,git:ie,files:ae,folder:ae,browser:oe,doc:se,readOnlyProject:ce,unknownKind:le,branch:ue,monitor:de,connection:fe,pull:pe,push:me,refresh:he,agent:ge,worktreeActive:_e,worktreeInactive:ve,working:ye,attention:be,circleSmall:xe,modified:Se,readOnlyFile:Ce,revert:we,save:Te,split:Ee,eye:De,eyeOff:Oe},ke={idle:`idle`,working:`working`,attention:`needs input`,review:`review`,none:`default`};function Ae({state:e=`idle`,size:t=16,title:n}){let r=n??ke[e],i={width:t,height:t},a=`h-full w-full`;return e===`working`?(0,_.jsx)(`span`,{className:`inline-flex shrink-0 items-center justify-center text-[var(--theme-git-modified)]`,style:i,role:`img`,"aria-label":r,children:(0,_.jsx)(M.working,{className:`agent-status-working ${a}`})}):e===`attention`?(0,_.jsx)(`span`,{className:`agent-status-attention inline-flex shrink-0 items-center justify-center text-danger`,style:i,role:`img`,"aria-label":r,children:(0,_.jsx)(M.attention,{className:a})}):e===`review`?(0,_.jsx)(`span`,{className:`inline-flex shrink-0 items-center justify-center text-success`,style:i,role:`img`,"aria-label":r,children:(0,_.jsx)(M.circleSmall,{className:a})}):(0,_.jsx)(`span`,{className:`inline-flex shrink-0 items-center justify-center text-text-secondary/70`,style:i,role:`img`,"aria-label":r,children:(0,_.jsx)(M.circleSmall,{className:a})})}function je({className:e=``,label:t=`Close`,onClick:n}){return(0,_.jsx)(`button`,{type:`button`,onClick:n,"aria-label":t,className:`flex h-tap-md w-tap-md shrink-0 items-center justify-center rounded-control text-text-secondary transition-colors hover:bg-row-hover-bg hover:text-text-primary focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent ${e}`,children:(0,_.jsx)(M.close,{})})}var Me=`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"]), input:not([disabled]), select:not([disabled]), textarea:not([disabled])`;function Ne(e){return Array.from(e.querySelectorAll(Me))}function Pe(e,t){let n=(0,h.useRef)(null);(0,h.useEffect)(()=>{if(e)return n.current=document.activeElement,()=>{let e=n.current;n.current=null,e&&document.contains(e)&&e.focus?.()}},[e]),(0,h.useEffect)(()=>{if(!e)return;let n=e=>{if(e.key!==`Tab`)return;let n=t.current;if(!n)return;let r=Ne(n);if(r.length===0){e.preventDefault();return}let i=r[0],a=r[r.length-1],o=document.activeElement;e.shiftKey&&(o===i||!n.contains(o))?(e.preventDefault(),a.focus()):!e.shiftKey&&(o===a||!n.contains(o))&&(e.preventDefault(),i.focus())};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,t])}var Fe=`inline-flex items-center justify-center gap-1.5 rounded-control border font-normal leading-[1.4] transition-colors disabled:cursor-not-allowed disabled:opacity-50`,Ie={xs:`px-2 py-0.5 text-xs`,sm:`px-2.5 py-1 text-sm`},Le={submit:`border-transparent bg-accent text-bg-primary font-medium hover:bg-accent/90`,destroy:`border-transparent bg-danger text-bg-primary font-medium hover:bg-danger/90`,normal:`border-transparent bg-button-secondary-bg text-text-primary hover:bg-button-secondary-hover-bg`,dismiss:`border-transparent bg-transparent text-text-secondary hover:bg-row-hover-bg hover:text-text-primary`};function N({kind:e=`normal`,size:t=`sm`,className:n,children:r,...i}){return(0,_.jsx)(`button`,{className:`${Fe} ${Ie[t]} ${Le[e]}${n?` ${n}`:``}`,...i,children:r})}function Re({open:e,ariaLabel:t,ariaLabelledBy:n,onClose:r,children:i,closeOnBackdrop:a=!0,closeOnEscape:o=!0,dialogRole:s=`dialog`,presentation:c=`modal`,backdropClassName:l=`bg-black/60`,onPanelContextMenu:u,panelClassName:d=``,panelTabIndex:f,widthClassName:p=`max-w-surface-md`}){let m=(0,h.useRef)(null),[g,v]=(0,h.useState)(!1);return Pe(e&&c!==`sheet`,m),(0,h.useEffect)(()=>{if(!e||c===`sheet`){v(!1);return}let t=requestAnimationFrame(()=>v(!0));return()=>{cancelAnimationFrame(t),v(!1)}},[e,c]),(0,h.useEffect)(()=>{if(!e||c===`sheet`||!o)return;function t(e){e.key===`Escape`&&(e.preventDefault(),r())}return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)},[o,e,r,c]),e?c===`sheet`?(0,_.jsx)(b,{open:e,onDismiss:r,ariaLabel:t,ariaLabelledBy:n,dialogRole:s,closeOnScrim:a,closeOnEscape:o,contentClassName:`flex flex-col ${d}`,children:i}):c===`fullscreen`?(0,_.jsx)(`div`,{className:`fixed inset-0 z-50 transition-opacity duration-150 ease-out motion-reduce:transition-none ${g?`opacity-100`:`opacity-0`} ${l}`,role:`presentation`,children:(0,_.jsx)(`div`,{ref:m,role:s,"aria-modal":`true`,"aria-label":t,"aria-labelledby":n,tabIndex:f,onContextMenu:u,className:`flex h-full w-full min-w-0 bg-bg-secondary transition-opacity duration-150 ease-out motion-reduce:transition-none ${g?`opacity-100`:`opacity-0`} ${d}`,children:i})}):(0,_.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center transition-opacity duration-150 ease-out motion-reduce:transition-none ${g?`opacity-100`:`opacity-0`} ${l}`,onClick:e=>{a&&e.target===e.currentTarget&&r()},children:(0,_.jsx)(`div`,{ref:m,role:s,"aria-modal":`true`,"aria-label":t,"aria-labelledby":n,tabIndex:f,onContextMenu:u,className:`w-full ${p} rounded-window border border-border bg-bg-secondary shadow-xl transition-[opacity,transform] duration-150 ease-out motion-reduce:transition-none ${g?`translate-y-0 scale-100 opacity-100`:`translate-y-1 scale-[0.98] opacity-0`} ${d}`,children:i})}):null}function ze({title:e,subject:t,onClose:n}){return(0,_.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 border-b border-border px-4 py-3`,children:[(0,_.jsx)(`span`,{className:`min-w-0 truncate text-sm ${t?`text-text-secondary`:`font-semibold text-text-primary`}`,children:e}),t&&(0,_.jsx)(`span`,{className:`cm-mono min-w-0 truncate text-sm font-semibold text-text-primary`,children:t}),(0,_.jsx)(je,{className:`ml-auto`,onClick:n})]})}function Be({children:e,layout:t=`end`}){return t===`stack`?(0,_.jsx)(`div`,{className:`flex w-full min-w-0 flex-col items-stretch gap-2 pt-1`,children:e}):(0,_.jsx)(`div`,{className:`flex w-full min-w-0 flex-wrap items-center justify-end gap-2 overflow-hidden pt-1`,children:e})}function Ve({children:e,type:t=`button`,variant:n=`normal`,ref:r,className:i,...a}){return(0,_.jsx)(N,{ref:r,type:t,kind:n===`danger`?`destroy`:n===`primary`?`submit`:`normal`,size:`sm`,className:`min-w-0 max-w-full overflow-hidden ${i??``}`,...a,children:(0,_.jsx)(`span`,{className:`min-w-0 truncate`,children:e})})}function He({ariaLabel:e,children:t,confirmLabel:n,confirmVariant:r=`primary`,onCancel:i,onConfirm:a,panelClassName:o=``}){let s=(0,h.useRef)(null);return(0,h.useEffect)(()=>{let e=requestAnimationFrame(()=>s.current?.focus());return()=>cancelAnimationFrame(e)},[]),(0,_.jsxs)(Re,{open:!0,ariaLabel:e,onClose:i,widthClassName:`max-w-surface-sm`,panelClassName:`p-6 ${o}`,children:[(0,_.jsx)(`div`,{className:`mb-4 text-sm leading-[1.55] text-text-primary`,children:t}),(0,_.jsxs)(Be,{children:[(0,_.jsx)(Ve,{onClick:i,children:`Cancel`}),(0,_.jsx)(Ve,{ref:s,variant:r,onClick:a,children:n})]})]})}function Ue({children:e,className:t}){return(0,_.jsx)(`span`,{className:`cm-kbd${t?` ${t}`:``}`,children:e})}function We({items:e,align:t=`end`,placement:n=`bottom`,renderTrigger:r}){return(0,_.jsx)(S,{items:e,align:t,placement:n,renderTrigger:r})}var Ge={pane:`bg-pane-header-bg`,sidebar:``};function Ke({desktopOnly:e=!1,status:t,actions:n,tone:r=`pane`,horizontalPaddingClassName:i=`px-3`}){let a=e?`hidden md:flex`:`flex`,o=Ge[r];return(0,_.jsx)(`div`,{className:`${a} shrink-0 flex-col border-t border-border ${o} ${r===`sidebar`?`cm-safe-area-bottom-standalone`:``}`,children:(0,_.jsxs)(`div`,{className:`flex h-bar items-center gap-2 ${i}`,children:[t===void 0?(0,_.jsx)(`span`,{className:`flex-1`}):(0,_.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-xs text-text-secondary`,children:t}),n]})})}var qe={accent:`text-accent`,warning:`text-warning`};function Je({icon:e,iconTone:t=`accent`,desktopOnly:n=!1,title:r,titleAttr:i,titleElement:a,titleMono:o=!1,titleAdornment:s,subtitle:c,subtitleAttr:l,inline:u,actions:d}){return(0,_.jsxs)(`div`,{className:`${n?`hidden md:flex`:`flex`} h-bar shrink-0 items-center gap-2 border-b border-border bg-pane-header-bg px-3`,children:[e&&(0,_.jsx)(`span`,{"aria-hidden":!0,className:`flex shrink-0 ${qe[t]}`,children:e}),a??(0,_.jsx)(`span`,{title:i,className:`min-w-0 flex-shrink truncate text-sm font-semibold tracking-[-0.005em] text-text-primary${o?` cm-mono`:``}`,children:r}),s,c&&(0,_.jsx)(`span`,{title:l,className:`min-w-0 flex-shrink truncate text-xs text-text-secondary/75`,children:c}),u,(0,_.jsx)(`span`,{className:`flex-1`}),d]})}var Ye={sm:`h-tap-sm w-tap-sm`,md:`h-tap-md w-tap-md`},Xe={normal:`text-text-secondary hover:bg-row-hover-bg hover:text-text-primary`,active:`text-text-primary hover:bg-row-hover-bg`,accent:`text-accent hover:bg-row-hover-bg`,danger:`text-text-secondary hover:bg-danger/15 hover:text-danger`};function Ze({label:e,size:t=`sm`,tone:n=`normal`,pressed:r,title:i,className:a,children:o,...s}){return(0,_.jsx)(`button`,{type:`button`,"aria-label":e,title:i,...r===void 0?{}:{"aria-pressed":r},className:`flex ${Ye[t]} shrink-0 items-center justify-center rounded-control transition-colors disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:bg-transparent disabled:hover:text-text-secondary ${Xe[n]}${a?` ${a}`:``}`,...s,children:o})}function Qe({value:e,options:t,onChange:n,className:r}){return(0,_.jsx)(`div`,{role:`tablist`,className:`flex min-w-0 border-b border-border${r?` ${r}`:``}`,children:t.map(t=>{let r=t.value===e;return(0,_.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":r,onClick:()=>n(t.value),className:`min-w-0 flex-1 truncate border-b-2 px-3 py-2 text-xs transition-colors ${r?`border-accent text-accent`:`border-transparent text-text-secondary hover:text-text-primary`}`,children:t.label},t.value)})})}var $e={err:`bg-danger`,warn:`bg-warning`,info:`bg-accent`},et={err:`text-danger`,warn:`text-warning`,info:`text-accent`},tt={err:`FAILED`,warn:`NEEDS ATTENTION`,info:`PAUSED`};function nt({tone:e,tag:t,title:n,body:r,primary:i,secondary:a,ternary:o,className:s}){let c=t??tt[e];return(0,_.jsxs)(`div`,{className:`flex w-surface-sm max-w-full flex-col overflow-hidden rounded-window border border-border bg-bg-secondary shadow-lg${s?` ${s}`:``}`,children:[(0,_.jsx)(`div`,{"aria-hidden":!0,className:`h-1 shrink-0 ${$e[e]}`}),(0,_.jsxs)(`div`,{className:`flex flex-col gap-2 px-4 py-3.5`,children:[(0,_.jsx)(`span`,{className:`cm-mono self-start text-xs font-bold uppercase tracking-[0.08em] ${et[e]}`,children:c}),(0,_.jsx)(`div`,{className:`text-sm font-semibold tracking-[-0.005em] text-text-primary`,children:n}),(0,_.jsx)(`div`,{className:`text-sm leading-[1.55] text-text-secondary`,children:r}),(i||a||o)&&(0,_.jsxs)(`div`,{className:`mt-1 flex flex-wrap gap-1.5`,children:[i&&(0,_.jsx)(N,{kind:i.kind??`submit`,size:`sm`,onClick:i.onClick,children:i.label}),a&&(0,_.jsx)(N,{kind:a.kind??`normal`,size:`sm`,onClick:a.onClick,children:a.label}),o&&(0,_.jsx)(N,{kind:o.kind??`dismiss`,size:`sm`,onClick:o.onClick,children:o.label})]})]})]})}var rt=`parasor:auth-expired`,it=class extends Error{constructor(){super(`parasor session expired`),this.name=`AuthExpiredError`}},at=!1,P=0;function ot(){P=0,!at&&(at=!0,typeof window<`u`&&window.dispatchEvent(new Event(rt)))}async function st(e,t){let n=await fetch(e,t);if(n.status===401)throw P=0,ot(),new it;return n}async function ct(e={}){let t=e.dispatchOn401??!0;if(e.reuseRecentSuccess&&P>0&&Date.now()-P<3e4)return!0;let n;try{n=await fetch(`/api/auth/verify`,{cache:`no-store`,credentials:`same-origin`})}catch{return!0}return n.status===401?(P=0,t&&ot(),!1):n.status>=500?!0:(n.ok&&(P=Date.now()),n.ok)}var lt=`parasor-font-face-`,ut=new Set;async function dt({family:e,url:t,format:n=`truetype`}){if(ut.has(e))return;if(typeof FontFace==`function`&&document.fonts){let r=new FontFace(e,`url("${t}") format("${n}")`);try{await r.load()}catch(n){throw Error(`Failed to load font "${e}" from ${t}: ${n.message}`)}document.fonts.add(r),ut.add(e);return}let r=document.createElement(`style`);r.id=`${lt}${e}`,r.textContent=`@font-face{font-family:"${e}";src:url("${t}") format("${n}");font-display:swap;}`,document.head.appendChild(r),ut.add(e)}var ft=`"SF Mono", ui-monospace, Menlo, Consolas, "Symbols Nerd Font", "Noto Sans Mono CJK JP", monospace`,pt=`system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif`,mt=/^[a-zA-Z_][a-zA-Z0-9_-]*$/,ht=new Set([`serif`,`sans-serif`,`monospace`,`-apple-system`,`cursive`,`fantasy`,`system-ui`,`ui-serif`,`ui-sans-serif`,`ui-monospace`,`ui-rounded`,`math`,`emoji`,`fangsong`,`inherit`,`initial`,`unset`,`revert`,`revert-layer`]);function gt(e){let t=e.trim();return t.length===0||t.startsWith(`"`)&&t.endsWith(`"`)||t.startsWith(`'`)&&t.endsWith(`'`)||ht.has(t)||mt.test(t)?t:`"${t.replace(/"/g,``)}"`}function _t(e,t=ft){let n=e.trim();if(n.length===0)return t;let r=n.split(`,`).map(e=>gt(e)).filter(e=>e.length>0);return r.length===0?t:`${r.join(`, `)}, ${t}`}var vt=`// This theme's colors are based on the original Monokai:
2
+ // #1e1f1c (tab well, borders)
3
+ // #272822 (editor background)
4
+ // #414339 (selection)
5
+ // #75715e (focus)
6
+ // #f8f8f2 (editor foreground)
7
+ {
8
+ "name": "Monokai",
9
+ "type": "dark",
10
+ "colors": {
11
+ "dropdown.background": "#414339",
12
+ "list.activeSelectionBackground": "#75715E",
13
+ "quickInputList.focusBackground": "#414339",
14
+ "dropdown.listBackground": "#1e1f1c",
15
+ "list.inactiveSelectionBackground": "#414339",
16
+ "list.hoverBackground": "#3e3d32",
17
+ "list.dropBackground": "#414339",
18
+ "list.highlightForeground": "#f8f8f2",
19
+ "button.background": "#75715E",
20
+ "editor.background": "#272822",
21
+ "editor.foreground": "#f8f8f2",
22
+ "selection.background": "#878b9180",
23
+ "editor.selectionHighlightBackground": "#575b6180",
24
+ "editor.selectionBackground": "#878b9180",
25
+ "minimap.selectionHighlight": "#878b9180",
26
+ "editor.wordHighlightBackground": "#4a4a7680",
27
+ "editor.wordHighlightStrongBackground": "#6a6a9680",
28
+ "editor.lineHighlightBackground": "#3e3d32",
29
+ "editorLineNumber.activeForeground": "#c2c2bf",
30
+ "editorCursor.foreground": "#f8f8f0",
31
+ "editorWhitespace.foreground": "#464741",
32
+ "editorIndentGuide.background": "#464741",
33
+ "editorIndentGuide.activeBackground": "#767771",
34
+ "editorGroupHeader.tabsBackground": "#1e1f1c",
35
+ "editorGroup.dropBackground": "#41433980",
36
+ "tab.inactiveBackground": "#34352f",
37
+ "tab.border": "#1e1f1c",
38
+ "tab.inactiveForeground": "#ccccc7", // needs to be bright so it's readable when another editor group is focused
39
+ "tab.lastPinnedBorder": "#414339",
40
+ "widget.shadow": "#00000098",
41
+ "progressBar.background": "#75715E",
42
+ "badge.background": "#75715E",
43
+ "badge.foreground": "#f8f8f2",
44
+ "editorLineNumber.foreground": "#90908a",
45
+ "panelTitle.activeForeground": "#f8f8f2",
46
+ "panelTitle.activeBorder": "#75715E",
47
+ "panelTitle.inactiveForeground": "#75715E",
48
+ "panel.border": "#414339",
49
+ "settings.focusedRowBackground": "#4143395A",
50
+ "titleBar.activeBackground": "#1e1f1c",
51
+ "statusBar.background": "#414339",
52
+ "statusBar.noFolderBackground": "#414339",
53
+ "statusBar.debuggingBackground": "#75715E",
54
+ "statusBarItem.remoteBackground": "#AC6218",
55
+ "ports.iconRunningProcessForeground": "#ccccc7",
56
+ "activityBar.background": "#272822",
57
+ "activityBar.foreground": "#f8f8f2",
58
+ "sideBar.background": "#1e1f1c",
59
+ "sideBarSectionHeader.background": "#272822",
60
+ "menu.background": "#1e1f1c",
61
+ "menu.foreground": "#cccccc",
62
+ "pickerGroup.foreground": "#75715E",
63
+ "input.background": "#414339",
64
+ "inputOption.activeBorder": "#75715E",
65
+ "focusBorder": "#99947c",
66
+ "editorWidget.background": "#1e1f1c",
67
+ "debugToolBar.background": "#1e1f1c",
68
+ "diffEditor.insertedTextBackground": "#4b661680", // middle of #272822 and #a6e22e
69
+ "diffEditor.removedTextBackground": "#90274A70", // middle of #272822 and #f92672
70
+ "inputValidation.errorBackground": "#90274A", // middle of #272822 and #f92672
71
+ "inputValidation.errorBorder": "#f92672",
72
+ "inputValidation.warningBackground": "#848528", // middle of #272822 and #e2e22e
73
+ "inputValidation.warningBorder": "#e2e22e",
74
+ "inputValidation.infoBackground": "#546190", // middle of #272822 and #819aff
75
+ "inputValidation.infoBorder": "#819aff",
76
+ "editorHoverWidget.background": "#414339",
77
+ "editorHoverWidget.border": "#75715E",
78
+ "editorSuggestWidget.background": "#272822",
79
+ "editorSuggestWidget.border": "#75715E",
80
+ "editorGroup.border": "#34352f",
81
+ "peekView.border": "#75715E",
82
+ "peekViewEditor.background": "#272822",
83
+ "peekViewResult.background": "#1e1f1c",
84
+ "peekViewTitle.background": "#1e1f1c",
85
+ "peekViewResult.selectionBackground": "#414339",
86
+ "peekViewResult.matchHighlightBackground": "#75715E",
87
+ "peekViewEditor.matchHighlightBackground": "#75715E",
88
+ "terminal.ansiBlack": "#333333",
89
+ "terminal.ansiRed": "#C4265E", // the bright color with ~75% transparent on the background
90
+ "terminal.ansiGreen": "#86B42B",
91
+ "terminal.ansiYellow": "#B3B42B",
92
+ "terminal.ansiBlue": "#6A7EC8",
93
+ "terminal.ansiMagenta": "#8C6BC8",
94
+ "terminal.ansiCyan": "#56ADBC",
95
+ "terminal.ansiWhite": "#e3e3dd",
96
+ "terminal.ansiBrightBlack": "#666666",
97
+ "terminal.ansiBrightRed": "#f92672",
98
+ "terminal.ansiBrightGreen": "#A6E22E",
99
+ "terminal.ansiBrightYellow": "#e2e22e", // hue shifted #A6E22E
100
+ "terminal.ansiBrightBlue": "#819aff", // hue shifted #AE81FF
101
+ "terminal.ansiBrightMagenta": "#AE81FF",
102
+ "terminal.ansiBrightCyan": "#66D9EF",
103
+ "terminal.ansiBrightWhite": "#f8f8f2"
104
+ },
105
+ "tokenColors": [
106
+ {
107
+ "settings": {
108
+ "foreground": "#F8F8F2"
109
+ }
110
+ },
111
+ {
112
+ "scope": [
113
+ "meta.embedded",
114
+ "source.groovy.embedded",
115
+ "string meta.image.inline.markdown",
116
+ "variable.legacy.builtin.python"
117
+ ],
118
+ "settings": {
119
+ "foreground": "#F8F8F2"
120
+ }
121
+ },
122
+ {
123
+ "name": "Comment",
124
+ "scope": "comment",
125
+ "settings": {
126
+ "foreground": "#88846f"
127
+ }
128
+ },
129
+ {
130
+ "name": "String",
131
+ "scope": "string",
132
+ "settings": {
133
+ "foreground": "#E6DB74"
134
+ }
135
+ },
136
+ {
137
+ "name": "Template Definition",
138
+ "scope": [
139
+ "punctuation.definition.template-expression",
140
+ "punctuation.section.embedded"
141
+ ],
142
+ "settings": {
143
+ "foreground": "#F92672"
144
+ }
145
+ },
146
+ {
147
+ "name": "Reset JavaScript string interpolation expression",
148
+ "scope": ["meta.template.expression"],
149
+ "settings": {
150
+ "foreground": "#F8F8F2"
151
+ }
152
+ },
153
+ {
154
+ "name": "Number",
155
+ "scope": "constant.numeric",
156
+ "settings": {
157
+ "foreground": "#AE81FF"
158
+ }
159
+ },
160
+ {
161
+ "name": "Built-in constant",
162
+ "scope": "constant.language",
163
+ "settings": {
164
+ "foreground": "#AE81FF"
165
+ }
166
+ },
167
+ {
168
+ "name": "User-defined constant",
169
+ "scope": "constant.character, constant.other",
170
+ "settings": {
171
+ "foreground": "#AE81FF"
172
+ }
173
+ },
174
+ {
175
+ "name": "Variable",
176
+ "scope": "variable",
177
+ "settings": {
178
+ "fontStyle": "",
179
+ "foreground": "#F8F8F2"
180
+ }
181
+ },
182
+ {
183
+ "name": "Keyword",
184
+ "scope": "keyword",
185
+ "settings": {
186
+ "foreground": "#F92672"
187
+ }
188
+ },
189
+ {
190
+ "name": "Storage",
191
+ "scope": "storage",
192
+ "settings": {
193
+ "fontStyle": "",
194
+ "foreground": "#F92672"
195
+ }
196
+ },
197
+ {
198
+ "name": "Storage type",
199
+ "scope": "storage.type",
200
+ "settings": {
201
+ "fontStyle": "italic",
202
+ "foreground": "#66D9EF"
203
+ }
204
+ },
205
+ {
206
+ "name": "Class name",
207
+ "scope": "entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution",
208
+ "settings": {
209
+ "fontStyle": "underline",
210
+ "foreground": "#A6E22E"
211
+ }
212
+ },
213
+ {
214
+ "name": "Inherited class",
215
+ "scope": [
216
+ "entity.other.inherited-class",
217
+ "punctuation.separator.namespace.ruby"
218
+ ],
219
+ "settings": {
220
+ "fontStyle": "italic underline",
221
+ "foreground": "#A6E22E"
222
+ }
223
+ },
224
+ {
225
+ "name": "Function name",
226
+ "scope": "entity.name.function",
227
+ "settings": {
228
+ "fontStyle": "",
229
+ "foreground": "#A6E22E"
230
+ }
231
+ },
232
+ {
233
+ "name": "Function argument",
234
+ "scope": "variable.parameter",
235
+ "settings": {
236
+ "fontStyle": "italic",
237
+ "foreground": "#FD971F"
238
+ }
239
+ },
240
+ {
241
+ "name": "Tag name",
242
+ "scope": "entity.name.tag",
243
+ "settings": {
244
+ "fontStyle": "",
245
+ "foreground": "#F92672"
246
+ }
247
+ },
248
+ {
249
+ "name": "Tag attribute",
250
+ "scope": "entity.other.attribute-name",
251
+ "settings": {
252
+ "fontStyle": "",
253
+ "foreground": "#A6E22E"
254
+ }
255
+ },
256
+ {
257
+ "name": "Library function",
258
+ "scope": "support.function",
259
+ "settings": {
260
+ "fontStyle": "",
261
+ "foreground": "#66D9EF"
262
+ }
263
+ },
264
+ {
265
+ "name": "Library constant",
266
+ "scope": "support.constant",
267
+ "settings": {
268
+ "fontStyle": "",
269
+ "foreground": "#66D9EF"
270
+ }
271
+ },
272
+ {
273
+ "name": "Library class/type",
274
+ "scope": "support.type, support.class",
275
+ "settings": {
276
+ "fontStyle": "italic",
277
+ "foreground": "#66D9EF"
278
+ }
279
+ },
280
+ {
281
+ "name": "Library variable",
282
+ "scope": "support.other.variable",
283
+ "settings": {
284
+ "fontStyle": ""
285
+ }
286
+ },
287
+ {
288
+ "name": "Invalid",
289
+ "scope": "invalid",
290
+ "settings": {
291
+ "fontStyle": "",
292
+ "foreground": "#F44747"
293
+ }
294
+ },
295
+ {
296
+ "name": "Invalid deprecated",
297
+ "scope": "invalid.deprecated",
298
+ "settings": {
299
+ "foreground": "#F44747"
300
+ }
301
+ },
302
+ {
303
+ "name": "JSON String",
304
+ "scope": "meta.structure.dictionary.json string.quoted.double.json",
305
+ "settings": {
306
+ "foreground": "#CFCFC2"
307
+ }
308
+ },
309
+ {
310
+ "name": "diff.header",
311
+ "scope": "meta.diff, meta.diff.header",
312
+ "settings": {
313
+ "foreground": "#75715E"
314
+ }
315
+ },
316
+ {
317
+ "name": "diff.deleted",
318
+ "scope": "markup.deleted",
319
+ "settings": {
320
+ "foreground": "#F92672"
321
+ }
322
+ },
323
+ {
324
+ "name": "diff.inserted",
325
+ "scope": "markup.inserted",
326
+ "settings": {
327
+ "foreground": "#A6E22E"
328
+ }
329
+ },
330
+ {
331
+ "name": "diff.changed",
332
+ "scope": "markup.changed",
333
+ "settings": {
334
+ "foreground": "#E6DB74"
335
+ }
336
+ },
337
+ {
338
+ "scope": "constant.numeric.line-number.find-in-files - match",
339
+ "settings": {
340
+ "foreground": "#AE81FFA0"
341
+ }
342
+ },
343
+ {
344
+ "scope": "entity.name.filename.find-in-files",
345
+ "settings": {
346
+ "foreground": "#E6DB74"
347
+ }
348
+ },
349
+ {
350
+ "name": "Markup Quote",
351
+ "scope": "markup.quote",
352
+ "settings": {
353
+ "foreground": "#F92672"
354
+ }
355
+ },
356
+ {
357
+ "name": "Markup Lists",
358
+ "scope": "markup.list",
359
+ "settings": {
360
+ "foreground": "#E6DB74"
361
+ }
362
+ },
363
+ {
364
+ "name": "Markup Styling",
365
+ "scope": "markup.bold, markup.italic",
366
+ "settings": {
367
+ "foreground": "#66D9EF"
368
+ }
369
+ },
370
+ {
371
+ "name": "Markup Inline",
372
+ "scope": "markup.inline.raw",
373
+ "settings": {
374
+ "fontStyle": "",
375
+ "foreground": "#FD971F"
376
+ }
377
+ },
378
+ {
379
+ "name": "Markup Headings",
380
+ "scope": "markup.heading",
381
+ "settings": {
382
+ "foreground": "#A6E22E"
383
+ }
384
+ },
385
+ {
386
+ "name": "Markup Setext Header",
387
+ "scope": "markup.heading.setext",
388
+ "settings": {
389
+ "foreground": "#A6E22E",
390
+ "fontStyle": "bold"
391
+ }
392
+ },
393
+ {
394
+ "name": "Markup Headings",
395
+ "scope": "markup.heading.markdown",
396
+ "settings": {
397
+ "fontStyle": "bold"
398
+ }
399
+ },
400
+ {
401
+ "name": "Markdown Quote",
402
+ "scope": "markup.quote.markdown",
403
+ "settings": {
404
+ "fontStyle": "italic",
405
+ "foreground": "#75715E"
406
+ }
407
+ },
408
+ {
409
+ "name": "Markdown Bold",
410
+ "scope": "markup.bold.markdown",
411
+ "settings": {
412
+ "fontStyle": "bold"
413
+ }
414
+ },
415
+ {
416
+ "name": "Markdown Link Title/Description",
417
+ "scope": "string.other.link.title.markdown,string.other.link.description.markdown",
418
+ "settings": {
419
+ "foreground": "#AE81FF"
420
+ }
421
+ },
422
+ {
423
+ "name": "Markdown Underline Link/Image",
424
+ "scope": "markup.underline.link.markdown,markup.underline.link.image.markdown",
425
+ "settings": {
426
+ "foreground": "#E6DB74"
427
+ }
428
+ },
429
+ {
430
+ "name": "Markdown Emphasis",
431
+ "scope": "markup.italic.markdown",
432
+ "settings": {
433
+ "fontStyle": "italic"
434
+ }
435
+ },
436
+ {
437
+ "scope": "markup.strikethrough",
438
+ "settings": {
439
+ "fontStyle": "strikethrough"
440
+ }
441
+ },
442
+ {
443
+ "name": "Markdown Punctuation Definition Link",
444
+ "scope": "markup.list.unnumbered.markdown, markup.list.numbered.markdown",
445
+ "settings": {
446
+ "foreground": "#f8f8f2"
447
+ }
448
+ },
449
+ {
450
+ "name": "Markdown List Punctuation",
451
+ "scope": ["punctuation.definition.list.begin.markdown"],
452
+ "settings": {
453
+ "foreground": "#A6E22E"
454
+ }
455
+ },
456
+ {
457
+ "scope": "token.info-token",
458
+ "settings": {
459
+ "foreground": "#6796e6"
460
+ }
461
+ },
462
+ {
463
+ "scope": "token.warn-token",
464
+ "settings": {
465
+ "foreground": "#cd9731"
466
+ }
467
+ },
468
+ {
469
+ "scope": "token.error-token",
470
+ "settings": {
471
+ "foreground": "#f44747"
472
+ }
473
+ },
474
+ {
475
+ "scope": "token.debug-token",
476
+ "settings": {
477
+ "foreground": "#b267e6"
478
+ }
479
+ },
480
+ {
481
+ "name": "this.self",
482
+ "scope": "variable.language",
483
+ "settings": {
484
+ "foreground": "#FD971F"
485
+ }
486
+ }
487
+ ],
488
+ "semanticHighlighting": true
489
+ }
490
+ `,yt=`{
491
+ "name": "parasor Dark",
492
+ "type": "dark",
493
+ "colors": {
494
+ "focusBorder": "#00aaaa",
495
+ "descriptionForeground": "#7e838c",
496
+ "errorForeground": "#ff5a4f",
497
+ "textLink.foreground": "#00aaaa",
498
+ "editor.background": "#2E3033",
499
+ "editor.foreground": "#d3dbeb",
500
+ "editorWidget.background": "#2E3033",
501
+ "panel.border": "#4e5157",
502
+ "sideBar.background": "#3B3D42",
503
+ "editorGroupHeader.tabsBackground": "#34363A",
504
+ "tab.inactiveBackground": "#3E3F45",
505
+ "tab.inactiveForeground": "#7e838c",
506
+ "tab.activeBorder": "#00aaaa",
507
+ "list.activeSelectionBackground": "#4e5157",
508
+ "list.activeSelectionForeground": "#d3dbeb",
509
+ "list.inactiveSelectionBackground": "#4e515780",
510
+ "list.hoverBackground": "#ffffff0a",
511
+ "diffEditor.insertedLineBackground": "#243733",
512
+ "diffEditor.removedLineBackground": "#3f282d",
513
+ "button.background": "#00aaaa",
514
+ "badge.background": "#00aaaa",
515
+ "terminal.foreground": "#d3dbeb",
516
+ "terminalCursor.foreground": "#00aaaa",
517
+ "terminal.ansiBlack": "#484f58",
518
+ "terminal.ansiRed": "#ff7b72",
519
+ "terminal.ansiGreen": "#3fc76a",
520
+ "terminal.ansiYellow": "#e0a83a",
521
+ "terminal.ansiBlue": "#58a6ff",
522
+ "terminal.ansiMagenta": "#bc8cff",
523
+ "terminal.ansiCyan": "#39c5cf",
524
+ "terminal.ansiWhite": "#b1bac4",
525
+ "terminal.ansiBrightBlack": "#6e7681",
526
+ "terminal.ansiBrightRed": "#ffa198",
527
+ "terminal.ansiBrightGreen": "#56d364",
528
+ "terminal.ansiBrightYellow": "#e3b341",
529
+ "terminal.ansiBrightBlue": "#79c0ff",
530
+ "terminal.ansiBrightMagenta": "#d2a8ff",
531
+ "terminal.ansiBrightCyan": "#56d4dd",
532
+ "terminal.ansiBrightWhite": "#f0f6fc",
533
+ "gitDecoration.addedResourceForeground": "#3fc76a",
534
+ "gitDecoration.modifiedResourceForeground": "#FFB000",
535
+ "gitDecoration.deletedResourceForeground": "#ff5a4f",
536
+ "scmGraph.foreground1": "#FFB000",
537
+ "scmGraph.foreground2": "#FF3D8B",
538
+ "scmGraph.foreground3": "#00B86B",
539
+ "scmGraph.foreground4": "#00AEEF",
540
+ "scmGraph.foreground5": "#8B5CF6",
541
+ "scmGraph.historyItemRefColor": "#00aaaa"
542
+ }
543
+ }
544
+ `,bt=`{
545
+ "name": "parasor Light",
546
+ "type": "light",
547
+ "colors": {
548
+ "focusBorder": "#00aaaa",
549
+ "descriptionForeground": "#5f6b78",
550
+ "errorForeground": "#e6002e",
551
+ "textLink.foreground": "#00aaaa",
552
+ "editor.background": "#fcfffe",
553
+ "editor.foreground": "#15181d",
554
+ "editorWidget.background": "#fcfffe",
555
+ "panel.border": "#dce8e6",
556
+ "sideBar.background": "#f3f8f7",
557
+ "editorGroupHeader.tabsBackground": "#f3f8f7",
558
+ "tab.inactiveBackground": "#f3f8f7",
559
+ "tab.inactiveForeground": "#5f6b78",
560
+ "tab.activeBorder": "#00aaaa",
561
+ "list.activeSelectionBackground": "#00aaaa22",
562
+ "list.activeSelectionForeground": "#15181d",
563
+ "list.inactiveSelectionBackground": "#00aaaa14",
564
+ "list.hoverBackground": "#00aaaa0d",
565
+ "diffEditor.insertedLineBackground": "#e3ffef",
566
+ "diffEditor.removedLineBackground": "#ffe6ed",
567
+ "button.background": "#00aaaa",
568
+ "badge.background": "#00aaaa",
569
+ "terminal.foreground": "#15181d",
570
+ "terminalCursor.foreground": "#00aaaa",
571
+ "terminal.ansiBlack": "#24292f",
572
+ "terminal.ansiRed": "#cf222e",
573
+ "terminal.ansiGreen": "#116329",
574
+ "terminal.ansiYellow": "#9a6700",
575
+ "terminal.ansiBlue": "#0969da",
576
+ "terminal.ansiMagenta": "#8250df",
577
+ "terminal.ansiCyan": "#1b7c83",
578
+ "terminal.ansiWhite": "#6e7781",
579
+ "terminal.ansiBrightBlack": "#57606a",
580
+ "terminal.ansiBrightRed": "#a40e26",
581
+ "terminal.ansiBrightGreen": "#1a7f37",
582
+ "terminal.ansiBrightYellow": "#633c01",
583
+ "terminal.ansiBrightBlue": "#218bff",
584
+ "terminal.ansiBrightMagenta": "#a475f9",
585
+ "terminal.ansiBrightCyan": "#3192aa",
586
+ "terminal.ansiBrightWhite": "#8c959f",
587
+ "gitDecoration.addedResourceForeground": "#00a86b",
588
+ "gitDecoration.modifiedResourceForeground": "#FFB000",
589
+ "gitDecoration.deletedResourceForeground": "#ff2d55",
590
+ "scmGraph.foreground1": "#FFB000",
591
+ "scmGraph.foreground2": "#FF3D8B",
592
+ "scmGraph.foreground3": "#00B86B",
593
+ "scmGraph.foreground4": "#00AEEF",
594
+ "scmGraph.foreground5": "#8B5CF6",
595
+ "scmGraph.historyItemRefColor": "#00aaaa"
596
+ }
597
+ }
598
+ `,xt=`{
599
+ "name": "Solarized Light",
600
+ "tokenColors": [
601
+ {
602
+ "settings": {
603
+ "foreground": "#657B83"
604
+ }
605
+ },
606
+ {
607
+ "scope": [
608
+ "meta.embedded",
609
+ "source.groovy.embedded",
610
+ "string meta.image.inline.markdown",
611
+ "variable.legacy.builtin.python"
612
+ ],
613
+ "settings": {
614
+ "foreground": "#657B83"
615
+ }
616
+ },
617
+ {
618
+ "name": "Comment",
619
+ "scope": "comment",
620
+ "settings": {
621
+ "fontStyle": "italic",
622
+ "foreground": "#93A1A1"
623
+ }
624
+ },
625
+ {
626
+ "name": "String",
627
+ "scope": "string",
628
+ "settings": {
629
+ "foreground": "#2AA198"
630
+ }
631
+ },
632
+ {
633
+ "name": "Regexp",
634
+ "scope": "string.regexp",
635
+ "settings": {
636
+ "foreground": "#DC322F"
637
+ }
638
+ },
639
+ {
640
+ "name": "Number",
641
+ "scope": "constant.numeric",
642
+ "settings": {
643
+ "foreground": "#D33682"
644
+ }
645
+ },
646
+ {
647
+ "name": "Variable",
648
+ "scope": ["variable.language", "variable.other"],
649
+ "settings": {
650
+ "foreground": "#268BD2"
651
+ }
652
+ },
653
+ {
654
+ "name": "Keyword",
655
+ "scope": "keyword",
656
+ "settings": {
657
+ "foreground": "#859900"
658
+ }
659
+ },
660
+ {
661
+ "name": "Storage",
662
+ "scope": "storage",
663
+ "settings": {
664
+ "fontStyle": "bold",
665
+ "foreground": "#586E75"
666
+ }
667
+ },
668
+ {
669
+ "name": "Class name",
670
+ "scope": [
671
+ "entity.name.class",
672
+ "entity.name.type",
673
+ "entity.name.namespace",
674
+ "entity.name.scope-resolution"
675
+ ],
676
+ "settings": {
677
+ "fontStyle": "",
678
+ "foreground": "#CB4B16"
679
+ }
680
+ },
681
+ {
682
+ "name": "Function name",
683
+ "scope": "entity.name.function",
684
+ "settings": {
685
+ "foreground": "#268BD2"
686
+ }
687
+ },
688
+ {
689
+ "name": "Variable start",
690
+ "scope": "punctuation.definition.variable",
691
+ "settings": {
692
+ "foreground": "#859900"
693
+ }
694
+ },
695
+ {
696
+ "name": "Embedded code markers",
697
+ "scope": [
698
+ "punctuation.section.embedded.begin",
699
+ "punctuation.section.embedded.end"
700
+ ],
701
+ "settings": {
702
+ "foreground": "#DC322F"
703
+ }
704
+ },
705
+ {
706
+ "name": "Built-in constant",
707
+ "scope": ["constant.language", "meta.preprocessor"],
708
+ "settings": {
709
+ "foreground": "#B58900"
710
+ }
711
+ },
712
+ {
713
+ "name": "Support.construct",
714
+ "scope": ["support.function.construct", "keyword.other.new"],
715
+ "settings": {
716
+ "foreground": "#CB4B16"
717
+ }
718
+ },
719
+ {
720
+ "name": "User-defined constant",
721
+ "scope": ["constant.character", "constant.other"],
722
+ "settings": {
723
+ "foreground": "#CB4B16"
724
+ }
725
+ },
726
+ {
727
+ "name": "Inherited class",
728
+ "scope": [
729
+ "entity.other.inherited-class",
730
+ "punctuation.separator.namespace.ruby"
731
+ ],
732
+ "settings": {
733
+ "foreground": "#6C71C4"
734
+ }
735
+ },
736
+ {
737
+ "name": "Function argument",
738
+ "scope": "variable.parameter",
739
+ "settings": {}
740
+ },
741
+ {
742
+ "name": "Tag name",
743
+ "scope": "entity.name.tag",
744
+ "settings": {
745
+ "foreground": "#268BD2"
746
+ }
747
+ },
748
+ {
749
+ "name": "Tag start/end",
750
+ "scope": "punctuation.definition.tag",
751
+ "settings": {
752
+ "foreground": "#93A1A1"
753
+ }
754
+ },
755
+ {
756
+ "name": "Tag attribute",
757
+ "scope": "entity.other.attribute-name",
758
+ "settings": {
759
+ "foreground": "#93A1A1"
760
+ }
761
+ },
762
+ {
763
+ "name": "Library function",
764
+ "scope": "support.function",
765
+ "settings": {
766
+ "foreground": "#268BD2"
767
+ }
768
+ },
769
+ {
770
+ "name": "Continuation",
771
+ "scope": "punctuation.separator.continuation",
772
+ "settings": {
773
+ "foreground": "#DC322F"
774
+ }
775
+ },
776
+ {
777
+ "name": "Library constant",
778
+ "scope": ["support.constant", "support.variable"],
779
+ "settings": {}
780
+ },
781
+ {
782
+ "name": "Library class/type",
783
+ "scope": ["support.type", "support.class"],
784
+ "settings": {
785
+ "foreground": "#859900"
786
+ }
787
+ },
788
+ {
789
+ "name": "Library Exception",
790
+ "scope": "support.type.exception",
791
+ "settings": {
792
+ "foreground": "#CB4B16"
793
+ }
794
+ },
795
+ {
796
+ "name": "Library variable",
797
+ "scope": "support.other.variable",
798
+ "settings": {}
799
+ },
800
+ {
801
+ "name": "Invalid",
802
+ "scope": "invalid",
803
+ "settings": {
804
+ "foreground": "#DC322F"
805
+ }
806
+ },
807
+ {
808
+ "name": "diff: header",
809
+ "scope": ["meta.diff", "meta.diff.header"],
810
+ "settings": {
811
+ "fontStyle": "italic",
812
+ "foreground": "#268BD2"
813
+ }
814
+ },
815
+ {
816
+ "name": "diff: deleted",
817
+ "scope": "markup.deleted",
818
+ "settings": {
819
+ "fontStyle": "",
820
+ "foreground": "#DC322F"
821
+ }
822
+ },
823
+ {
824
+ "name": "diff: changed",
825
+ "scope": "markup.changed",
826
+ "settings": {
827
+ "fontStyle": "",
828
+ "foreground": "#CB4B16"
829
+ }
830
+ },
831
+ {
832
+ "name": "diff: inserted",
833
+ "scope": "markup.inserted",
834
+ "settings": {
835
+ "foreground": "#859900"
836
+ }
837
+ },
838
+ {
839
+ "name": "Markup Quote",
840
+ "scope": "markup.quote",
841
+ "settings": {
842
+ "foreground": "#859900"
843
+ }
844
+ },
845
+ {
846
+ "name": "Markup Lists",
847
+ "scope": "markup.list",
848
+ "settings": {
849
+ "foreground": "#B58900"
850
+ }
851
+ },
852
+ {
853
+ "name": "Markup Styling",
854
+ "scope": ["markup.bold", "markup.italic"],
855
+ "settings": {
856
+ "foreground": "#D33682"
857
+ }
858
+ },
859
+ {
860
+ "name": "Markup: Strong",
861
+ "scope": "markup.bold",
862
+ "settings": {
863
+ "fontStyle": "bold"
864
+ }
865
+ },
866
+ {
867
+ "name": "Markup: Emphasis",
868
+ "scope": "markup.italic",
869
+ "settings": {
870
+ "fontStyle": "italic"
871
+ }
872
+ },
873
+ {
874
+ "scope": "markup.strikethrough",
875
+ "settings": {
876
+ "fontStyle": "strikethrough"
877
+ }
878
+ },
879
+ {
880
+ "name": "Markup Inline",
881
+ "scope": "markup.inline.raw",
882
+ "settings": {
883
+ "fontStyle": "",
884
+ "foreground": "#2AA198"
885
+ }
886
+ },
887
+ {
888
+ "name": "Markup Headings",
889
+ "scope": "markup.heading",
890
+ "settings": {
891
+ "fontStyle": "bold",
892
+ "foreground": "#268BD2"
893
+ }
894
+ },
895
+ {
896
+ "name": "Markup Setext Header",
897
+ "scope": "markup.heading.setext",
898
+ "settings": {
899
+ "fontStyle": "",
900
+ "foreground": "#268BD2"
901
+ }
902
+ }
903
+ ],
904
+ "colors": {
905
+ // Base
906
+ // "foreground": "",
907
+ "focusBorder": "#b49471",
908
+ // "contrastActiveBorder": "",
909
+ // "contrastBorder": "",
910
+ // "widget.shadow": "",
911
+ "input.background": "#DDD6C1",
912
+ // "input.border": "",
913
+ "input.foreground": "#586E75",
914
+ "input.placeholderForeground": "#586E75AA",
915
+ "inputOption.activeBorder": "#D3AF86",
916
+ // "inputValidation.infoBorder": "",
917
+ // "inputValidation.infoBackground": "",
918
+ // "inputValidation.warningBackground": "",
919
+ // "inputValidation.warningBorder": "",
920
+ // "inputValidation.errorBackground": "",
921
+ // "inputValidation.errorBorder": "",
922
+ "badge.background": "#B58900AA",
923
+ "progressBar.background": "#B58900",
924
+ "dropdown.background": "#EEE8D5",
925
+ // "dropdown.foreground": "",
926
+ "dropdown.border": "#D3AF86",
927
+ "button.background": "#AC9D57",
928
+ // "button.foreground": "",
929
+ "selection.background": "#878b9180",
930
+ "list.activeSelectionBackground": "#DFCA88",
931
+ "list.activeSelectionForeground": "#6C6C6C",
932
+ "quickInputList.focusBackground": "#DFCA8866",
933
+ "list.hoverBackground": "#DFCA8844",
934
+ "list.inactiveSelectionBackground": "#D1CBB8",
935
+ "list.highlightForeground": "#B58900",
936
+ // "scrollbar.shadow": "",
937
+ // "scrollbarSlider.activeBackground": "",
938
+ // "scrollbarSlider.background": "",
939
+ // "scrollbarSlider.hoverBackground": "",
940
+ // Editor
941
+ "editor.background": "#FDF6E3",
942
+ "editor.foreground": "#657B83",
943
+ "notebook.cellEditorBackground": "#F7F0E0",
944
+ "editorWidget.background": "#EEE8D5",
945
+ "editorCursor.foreground": "#657B83",
946
+ "editorWhitespace.foreground": "#586E7580",
947
+ "editor.lineHighlightBackground": "#EEE8D5",
948
+ "editor.selectionBackground": "#EEE8D5",
949
+ "minimap.selectionHighlight": "#EEE8D5",
950
+ "editorIndentGuide.background": "#586E7580",
951
+ "editorIndentGuide.activeBackground": "#081E2580",
952
+ "editorHoverWidget.background": "#CCC4B0",
953
+ "editorLineNumber.activeForeground": "#567983",
954
+ // "editorHoverWidget.border": "",
955
+ // "editorLineNumber.foreground": "",
956
+ // "editorMarkerNavigation.background": "",
957
+ // "editorMarkerNavigationError.background": "",
958
+ // "editorMarkerNavigationWarning.background": "",
959
+ // "editorLink.activeForeground": "",
960
+ // "editor.findMatchBackground": "",
961
+ // "editor.findMatchHighlightBackground": "",
962
+ // "editor.findRangeHighlightBackground": "",
963
+ // "editor.hoverHighlightBackground": "",
964
+ // "editor.inactiveSelectionBackground": "",
965
+ // "editor.lineHighlightBorder": "",
966
+ // "editor.rangeHighlightBackground": "",
967
+ // "editor.selectionHighlightBackground": "",
968
+ // "editor.wordHighlightBackground": "",
969
+ // "editor.wordHighlightStrongBackground": "",
970
+ // Editor: Suggest Widget
971
+ // "editorSuggestWidget.background": "",
972
+ // "editorSuggestWidget.border": "",
973
+ // "editorSuggestWidget.foreground": "",
974
+ // "editorSuggestWidget.highlightForeground": "",
975
+ // "editorSuggestWidget.selectedBackground": "",
976
+ // Editor: Peek View
977
+ "peekViewResult.background": "#EEE8D5",
978
+ // "peekViewResult.lineForeground": "",
979
+ // "peekViewResult.selectionBackground": "",
980
+ // "peekViewResult.selectionForeground": "",
981
+ "peekViewEditor.background": "#FFFBF2",
982
+ "peekViewTitle.background": "#EEE8D5",
983
+ "peekView.border": "#B58900",
984
+ "peekViewEditor.matchHighlightBackground": "#7744AA40",
985
+ // "peekViewResult.fileForeground": "",
986
+ // "peekViewResult.matchHighlightBackground": "",
987
+ // "peekViewTitleLabel.foreground": "",
988
+ // "peekViewTitleDescription.foreground": "",
989
+ // Editor: Diff
990
+ // "diffEditor.insertedTextBackground": "",
991
+ // "diffEditor.insertedTextBorder": "",
992
+ // "diffEditor.removedTextBackground": "",
993
+ // "diffEditor.removedTextBorder": "",
994
+ // Workbench: Title
995
+ "titleBar.activeBackground": "#EEE8D5",
996
+ // "titleBar.activeForeground": "",
997
+ // "titleBar.inactiveBackground": "",
998
+ // "titleBar.inactiveForeground": "",
999
+ // Workbench: Editors
1000
+ // "editorGroupHeader.noTabsBackground": "",
1001
+ "editorGroup.border": "#DDD6C1",
1002
+ "editorGroup.dropBackground": "#DDD6C1AA",
1003
+ "editorGroupHeader.tabsBackground": "#D9D2C2",
1004
+ // Workbench: Tabs
1005
+ "tab.border": "#DDD6C1",
1006
+ "tab.activeBackground": "#FDF6E3",
1007
+ "tab.inactiveForeground": "#586E75",
1008
+ "tab.inactiveBackground": "#D3CBB7",
1009
+ "tab.activeModifiedBorder": "#cb4b16",
1010
+ // "tab.activeBackground": "",
1011
+ // "tab.activeForeground": "",
1012
+ // "tab.inactiveForeground": "",
1013
+ "tab.lastPinnedBorder": "#FDF6E3",
1014
+ // Workbench: Activity Bar
1015
+ "activityBar.background": "#DDD6C1",
1016
+ "activityBar.foreground": "#584c27",
1017
+ "activityBarBadge.background": "#B58900",
1018
+ // "activityBarBadge.foreground": "",
1019
+ // Workbench: Panel
1020
+ // "panel.background": "",
1021
+ "panel.border": "#DDD6C1",
1022
+ // "panelTitle.activeBorder": "",
1023
+ // "panelTitle.activeForeground": "",
1024
+ // "panelTitle.inactiveForeground": "",
1025
+ // Workbench: Side Bar
1026
+ "sideBar.background": "#EEE8D5",
1027
+ "sideBarTitle.foreground": "#586E75",
1028
+ // "sideBarSectionHeader.background": "",
1029
+ // Workbench: Status Bar
1030
+ "statusBar.foreground": "#586E75",
1031
+ "statusBar.background": "#EEE8D5",
1032
+ "statusBar.debuggingBackground": "#EEE8D5",
1033
+ "statusBar.noFolderBackground": "#EEE8D5",
1034
+ // "statusBar.foreground": "",
1035
+ "statusBarItem.remoteBackground": "#AC9D57",
1036
+ "ports.iconRunningProcessForeground": "#2AA19899",
1037
+ "statusBarItem.prominentBackground": "#DDD6C1",
1038
+ "statusBarItem.prominentHoverBackground": "#DDD6C199",
1039
+ // "statusBarItem.activeBackground": "",
1040
+ // "statusBarItem.hoverBackground": "",
1041
+ // Workbench: Debug
1042
+ "debugToolBar.background": "#DDD6C1",
1043
+ "debugExceptionWidget.background": "#DDD6C1",
1044
+ "debugExceptionWidget.border": "#AB395B",
1045
+ // Workbench: Quick Open
1046
+ "pickerGroup.border": "#2AA19899",
1047
+ "pickerGroup.foreground": "#2AA19899",
1048
+ // Extensions
1049
+ "extensionButton.prominentBackground": "#b58900",
1050
+ "extensionButton.prominentHoverBackground": "#584c27aa",
1051
+ // Workbench: Terminal
1052
+ // Colors sourced from the official palette http://ethanschoonover.com/solarized
1053
+ "terminal.ansiBlack": "#073642",
1054
+ "terminal.ansiRed": "#dc322f",
1055
+ "terminal.ansiGreen": "#859900",
1056
+ "terminal.ansiYellow": "#b58900",
1057
+ "terminal.ansiBlue": "#268bd2",
1058
+ "terminal.ansiMagenta": "#d33682",
1059
+ "terminal.ansiCyan": "#2aa198",
1060
+ "terminal.ansiWhite": "#eee8d5",
1061
+ "terminal.ansiBrightBlack": "#002b36",
1062
+ "terminal.ansiBrightRed": "#cb4b16",
1063
+ "terminal.ansiBrightGreen": "#586e75",
1064
+ "terminal.ansiBrightYellow": "#657b83",
1065
+ "terminal.ansiBrightBlue": "#839496",
1066
+ "terminal.ansiBrightMagenta": "#6c71c4",
1067
+ "terminal.ansiBrightCyan": "#93a1a1",
1068
+ "terminal.ansiBrightWhite": "#fdf6e3",
1069
+ // Set terminal background explicitly, otherwise selection becomes invisible when the
1070
+ // terminal is in the side bar
1071
+ "terminal.background": "#FDF6E3",
1072
+ // Interactive Playground
1073
+ "walkThrough.embeddedEditorBackground": "#00000014"
1074
+ },
1075
+ "semanticHighlighting": true
1076
+ }
1077
+ `,St=`{
1078
+ "name": "Tokyo Night",
1079
+ "author": "Enkia",
1080
+ "maintainers": ["Enkia <enki77@gmail.com>"],
1081
+ "type": "dark",
1082
+ "semanticTokenColors": {
1083
+ "parameter.declaration": {
1084
+ "foreground": "#e0af68"
1085
+ },
1086
+ "parameter": {
1087
+ "foreground": "#d9d4cd"
1088
+ },
1089
+ "property.declaration": {
1090
+ "foreground": "#73daca"
1091
+ },
1092
+ "property.defaultLibrary": {
1093
+ "foreground": "#2ac3de"
1094
+ },
1095
+ "*.defaultLibrary": {
1096
+ "foreground": "#2ac3de"
1097
+ },
1098
+ "variable.defaultLibrary": {
1099
+ "foreground": "#2ac3de"
1100
+ },
1101
+ "variable.declaration": {
1102
+ "foreground": "#bb9af7"
1103
+ },
1104
+ "variable": {
1105
+ "foreground": "#c0caf5"
1106
+ }
1107
+ },
1108
+ "semanticClass": "tokyo-night",
1109
+ "colors": {
1110
+ "foreground": "#787c99",
1111
+ "descriptionForeground": "#515670",
1112
+ "disabledForeground": "#545c7e",
1113
+ "focusBorder": "#545c7e33",
1114
+ "errorForeground": "#515670",
1115
+ "widget.shadow": "#ffffff00",
1116
+ "scrollbar.shadow": "#00000033",
1117
+ "badge.background": "#7e83b230",
1118
+ "badge.foreground": "#acb0d0",
1119
+ "icon.foreground": "#787c99",
1120
+ "settings.headerForeground": "#6183bb",
1121
+ "window.activeBorder": "#0d0f17",
1122
+ "window.inactiveBorder": "#0d0f17",
1123
+ "sash.hoverBorder": "#29355a",
1124
+
1125
+ "toolbar.activeBackground": "#202330",
1126
+ "toolbar.hoverBackground": "#202330",
1127
+
1128
+ "extensionButton.prominentBackground": "#3d59a1DD",
1129
+ "extensionButton.prominentHoverBackground": "#3d59a1AA",
1130
+ "extensionButton.prominentForeground": "#ffffff",
1131
+ "extensionBadge.remoteBackground": "#3d59a1",
1132
+ "extensionBadge.remoteForeground": "#ffffff",
1133
+
1134
+ "button.background": "#3d59a1dd",
1135
+ "button.hoverBackground": "#3d59a1AA",
1136
+ "button.secondaryBackground": "#3b3e52",
1137
+ "button.foreground": "#ffffff",
1138
+ "progressBar.background": "#3d59a1",
1139
+
1140
+ "input.background": "#14141b",
1141
+ "input.foreground": "#a9b1d6",
1142
+ "input.border": "#0f0f14",
1143
+ "input.placeholderForeground": "#787c998A",
1144
+ "inputOption.activeForeground": "#c0caf5",
1145
+ "inputOption.activeBackground": "#3d59a144",
1146
+
1147
+ "inputValidation.infoForeground": "#bbc2e0",
1148
+ "inputValidation.infoBackground": "#3d59a15c",
1149
+ "inputValidation.infoBorder": "#3d59a1",
1150
+ "inputValidation.warningForeground": "#000000",
1151
+ "inputValidation.warningBackground": "#c2985b",
1152
+ "inputValidation.warningBorder": "#e0af68",
1153
+ "inputValidation.errorForeground": "#bbc2e0",
1154
+ "inputValidation.errorBackground": "#85353e",
1155
+ "inputValidation.errorBorder": "#963c47",
1156
+
1157
+ "dropdown.foreground": "#787c99",
1158
+ "dropdown.background": "#14141b",
1159
+ "dropdown.listBackground": "#14141b",
1160
+
1161
+ "activityBar.background": "#16161e",
1162
+ "activityBar.foreground": "#787c99",
1163
+ //"activityBar.activeBorder": "#3b3e52",
1164
+ //"activityBar.activeBackground": "#101014",
1165
+ "activityBar.inactiveForeground": "#3b3e52",
1166
+ "activityBar.border": "#16161e",
1167
+ "activityBarBadge.background": "#3d59a1",
1168
+ "activityBarBadge.foreground": "#fff",
1169
+
1170
+ "activityBarTop.foreground": "#787c99",
1171
+ "activityBarTop.inactiveForeground": "#3b3e52",
1172
+
1173
+ "tree.indentGuidesStroke": "#2b2b3b",
1174
+ "sideBar.foreground": "#787c99",
1175
+ "sideBar.background": "#16161e",
1176
+ "sideBar.border": "#101014",
1177
+ "sideBarTitle.foreground": "#787c99",
1178
+ "sideBarSectionHeader.background": "#16161e",
1179
+ "sideBarSectionHeader.foreground": "#a9b1d6",
1180
+ "sideBarSectionHeader.border": "#101014",
1181
+ "sideBar.dropBackground": "#1e202e",
1182
+
1183
+ "list.dropBackground": "#1e202e",
1184
+ "list.deemphasizedForeground": "#787c99",
1185
+ "list.activeSelectionBackground": "#202330",
1186
+
1187
+ "list.activeSelectionForeground": "#a9b1d6",
1188
+ "list.inactiveSelectionBackground": "#1c1d29",
1189
+ "list.inactiveSelectionForeground": "#a9b1d6",
1190
+ "list.focusBackground": "#1c1d29",
1191
+ "list.focusForeground": "#a9b1d6",
1192
+ "list.hoverBackground": "#13131a",
1193
+ "list.hoverForeground": "#a9b1d6",
1194
+
1195
+ "list.highlightForeground": "#668ac4",
1196
+ "list.invalidItemForeground": "#c97018",
1197
+ "list.errorForeground": "#bb616b",
1198
+ "list.warningForeground": "#c49a5a",
1199
+
1200
+ "listFilterWidget.background": "#101014",
1201
+ "listFilterWidget.outline": "#3d59a1",
1202
+ "listFilterWidget.noMatchesOutline": "#a6333f",
1203
+
1204
+ "pickerGroup.foreground": "#a9b1d6",
1205
+ "pickerGroup.border": "#101014",
1206
+
1207
+ "scrollbarSlider.background": "#868bc415",
1208
+ "scrollbarSlider.hoverBackground": "#868bc410",
1209
+ "scrollbarSlider.activeBackground": "#868bc422",
1210
+
1211
+ "editorBracketHighlight.foreground1": "#698cd6", //"#7AA2F7",
1212
+ "editorBracketHighlight.foreground2": "#68b3de", //"#7DCFFF",
1213
+ "editorBracketHighlight.foreground3": "#9a7ecc", //"#BB9AF7",
1214
+ "editorBracketHighlight.foreground4": "#25aac2", //"#2AC3DE",
1215
+ "editorBracketHighlight.foreground5": "#80a856", //"#9ECE6A",
1216
+ "editorBracketHighlight.foreground6": "#c49a5a", //"#e0af68",
1217
+ "editorBracketHighlight.unexpectedBracket.foreground": "#db4b4b",
1218
+
1219
+ "editorBracketPairGuide.activeBackground1": "#698cd6",
1220
+ "editorBracketPairGuide.activeBackground2": "#68b3de",
1221
+ "editorBracketPairGuide.activeBackground3": "#9a7ecc",
1222
+ "editorBracketPairGuide.activeBackground4": "#25aac2",
1223
+ "editorBracketPairGuide.activeBackground5": "#80a856",
1224
+ "editorBracketPairGuide.activeBackground6": "#c49a5a",
1225
+
1226
+ "selection.background": "#515c7e40",
1227
+ "editor.background": "#1a1b26",
1228
+ "editor.foreground": "#a9b1d6",
1229
+ "editor.foldBackground": "#1111174a",
1230
+ "editorLink.activeForeground": "#acb0d0",
1231
+
1232
+ "editor.selectionBackground": "#515c7e4d",
1233
+ "editor.inactiveSelectionBackground": "#515c7e25",
1234
+
1235
+ "editor.findMatchBackground": "#3d59a166",
1236
+ "editor.findMatchBorder": "#e0af68",
1237
+ "editor.findMatchHighlightBackground": "#3d59a166",
1238
+
1239
+ "editor.findRangeHighlightBackground": "#515c7e33",
1240
+ "editor.rangeHighlightBackground": "#515c7e20",
1241
+ "editor.wordHighlightBackground": "#515c7e44",
1242
+ "editor.wordHighlightStrongBackground": "#515c7e55",
1243
+ "editor.selectionHighlightBackground": "#515c7e44",
1244
+
1245
+ "editorCursor.foreground": "#c0caf5",
1246
+ "editorIndentGuide.background1": "#232433",
1247
+ "editorIndentGuide.activeBackground1": "#363b54",
1248
+ "editorLineNumber.foreground": "#363b54",
1249
+ "editorLineNumber.activeForeground": "#787c99",
1250
+ "editor.lineHighlightBackground": "#1e202e",
1251
+ "editorWhitespace.foreground": "#363b54",
1252
+
1253
+ "editorMarkerNavigation.background": "#16161e",
1254
+ "editorHoverWidget.background": "#16161e",
1255
+ "editorHoverWidget.border": "#101014",
1256
+
1257
+ "editorBracketMatch.background": "#16161e",
1258
+ "editorBracketMatch.border": "#42465d", //"#363b54",
1259
+
1260
+ "editorOverviewRuler.border": "#101014",
1261
+ "editorOverviewRuler.errorForeground": "#db4b4b",
1262
+ "editorOverviewRuler.warningForeground": "#e0af68",
1263
+ "editorOverviewRuler.infoForeground": "#1abc9c",
1264
+ "editorOverviewRuler.bracketMatchForeground": "#101014",
1265
+ "editorOverviewRuler.findMatchForeground": "#a9b1d644",
1266
+ "editorOverviewRuler.rangeHighlightForeground": "#a9b1d644",
1267
+ "editorOverviewRuler.selectionHighlightForeground": "#a9b1d622",
1268
+ "editorOverviewRuler.wordHighlightForeground": "#bb9af755",
1269
+ "editorOverviewRuler.wordHighlightStrongForeground": "#bb9af766",
1270
+ "editorOverviewRuler.modifiedForeground": "#394b70",
1271
+ "editorOverviewRuler.addedForeground": "#164846",
1272
+ "editorOverviewRuler.deletedForeground": "#703438",
1273
+
1274
+ "editorRuler.foreground": "#101014",
1275
+ "editorError.foreground": "#db4b4b",
1276
+ "editorWarning.foreground": "#e0af68",
1277
+ "editorInfo.foreground": "#0da0ba",
1278
+ "editorHint.foreground": "#0da0ba",
1279
+
1280
+ "editorGutter.modifiedBackground": "#394b70",
1281
+ "editorGutter.addedBackground": "#164846",
1282
+ "editorGutter.deletedBackground": "#823c41",
1283
+
1284
+ "editorGhostText.foreground": "#646e9c",
1285
+
1286
+ "minimapGutter.modifiedBackground": "#425882",
1287
+ "minimapGutter.addedBackground": "#1C5957",
1288
+ "minimapGutter.deletedBackground": "#944449",
1289
+
1290
+ "editorGroup.border": "#101014",
1291
+ "editorGroup.dropBackground": "#1e202e",
1292
+ "editorGroupHeader.tabsBorder": "#101014",
1293
+ "editorGroupHeader.tabsBackground": "#16161e",
1294
+ "editorGroupHeader.noTabsBackground": "#16161e",
1295
+ "editorGroupHeader.border": "#101014",
1296
+
1297
+ "editorPane.background": "#1a1b26",
1298
+
1299
+ "editorWidget.foreground": "#787c99",
1300
+ "editorWidget.background": "#16161e",
1301
+ "editorWidget.border": "#101014",
1302
+ "editorWidget.resizeBorder": "#545c7e33",
1303
+
1304
+ "editorSuggestWidget.background": "#16161e",
1305
+ "editorSuggestWidget.border": "#101014",
1306
+ "editorSuggestWidget.selectedBackground": "#20222c",
1307
+ "editorSuggestWidget.highlightForeground": "#6183bb",
1308
+
1309
+ "editorCodeLens.foreground": "#51597d",
1310
+ "editorLightBulb.foreground": "#e0af68",
1311
+ "editorLightBulbAutoFix.foreground": "#e0af68",
1312
+
1313
+ "editorInlayHint.foreground": "#646e9c",
1314
+
1315
+ "peekView.border": "#101014",
1316
+ "peekViewEditor.background": "#16161e",
1317
+ "peekViewEditor.matchHighlightBackground": "#3d59a166",
1318
+ "peekViewTitle.background": "#101014",
1319
+ "peekViewTitleLabel.foreground": "#a9b1d6",
1320
+ "peekViewTitleDescription.foreground": "#787c99",
1321
+ "peekViewResult.background": "#101014",
1322
+ "peekViewResult.selectionForeground": "#a9b1d6",
1323
+ "peekViewResult.selectionBackground": "#3d59a133",
1324
+ "peekViewResult.lineForeground": "#a9b1d6",
1325
+ "peekViewResult.fileForeground": "#787c99",
1326
+ "peekViewResult.matchHighlightBackground": "#3d59a166",
1327
+
1328
+ "diffEditor.insertedTextBackground": "#41a6b520",
1329
+ "diffEditor.removedTextBackground": "#db4b4b22",
1330
+ "diffEditor.insertedLineBackground": "#41a6b520",
1331
+ "diffEditor.removedLineBackground": "#db4b4b22",
1332
+ "diffEditorGutter.insertedLineBackground": "#41a6b525",
1333
+ "diffEditorGutter.removedLineBackground": "#db4b4b22",
1334
+ "diffEditorOverview.insertedForeground": "#41a6b525",
1335
+ "diffEditorOverview.removedForeground": "#db4b4b22",
1336
+ "diffEditor.diagonalFill": "#292e42",
1337
+ "diffEditor.unchangedCodeBackground": "#282a3b66",
1338
+
1339
+ "multiDiffEditor.headerBackground": "#1a1b26",
1340
+ "multiDiffEditor.border": "#1a1b26",
1341
+
1342
+ "breadcrumb.background": "#16161e",
1343
+ "breadcrumbPicker.background": "#16161e",
1344
+ "breadcrumb.foreground": "#515670",
1345
+ "breadcrumb.focusForeground": "#a9b1d6",
1346
+ "breadcrumb.activeSelectionForeground": "#a9b1d6",
1347
+
1348
+ "tab.activeBackground": "#16161e",
1349
+ "tab.inactiveBackground": "#16161e",
1350
+ "tab.activeForeground": "#a9b1d6",
1351
+ "tab.hoverForeground": "#a9b1d6",
1352
+ "tab.activeBorder": "#3d59a1",
1353
+ "tab.inactiveForeground": "#787c99",
1354
+ "tab.border": "#101014",
1355
+ "tab.unfocusedActiveForeground": "#a9b1d6",
1356
+ "tab.unfocusedInactiveForeground": "#787c99",
1357
+ "tab.unfocusedHoverForeground": "#a9b1d6",
1358
+ "tab.activeModifiedBorder": "#1a1b26",
1359
+ "tab.inactiveModifiedBorder": "#1f202e",
1360
+ "tab.unfocusedActiveBorder": "#1f202e",
1361
+ "tab.lastPinnedBorder": "#222333",
1362
+
1363
+ "panel.background": "#16161e",
1364
+ "panel.border": "#101014",
1365
+ "panelTitle.activeForeground": "#787c99",
1366
+ "panelTitle.inactiveForeground": "#42465d",
1367
+ "panelTitle.activeBorder": "#16161e",
1368
+ "panelInput.border": "#16161e",
1369
+
1370
+ "statusBar.foreground": "#787c99",
1371
+ "statusBar.background": "#16161e",
1372
+ "statusBar.border": "#101014",
1373
+ "statusBar.noFolderBackground": "#16161e",
1374
+ "statusBar.debuggingBackground": "#16161e",
1375
+ "statusBar.debuggingForeground": "#787c99",
1376
+
1377
+ "statusBarItem.activeBackground": "#101014",
1378
+ "statusBarItem.hoverBackground": "#20222c",
1379
+ "statusBarItem.prominentBackground": "#101014",
1380
+ "statusBarItem.prominentHoverBackground": "#20222c",
1381
+
1382
+ "titleBar.activeForeground": "#787c99",
1383
+ "titleBar.inactiveForeground": "#787c99",
1384
+ "titleBar.activeBackground": "#16161e",
1385
+ "titleBar.inactiveBackground": "#16161e",
1386
+ "titleBar.border": "#101014",
1387
+
1388
+ "walkThrough.embeddedEditorBackground": "#16161e",
1389
+ "textLink.foreground": "#6183bb",
1390
+ "textLink.activeForeground": "#7dcfff",
1391
+ "textPreformat.foreground": "#9699a8",
1392
+ "textBlockQuote.background": "#16161e",
1393
+ "textCodeBlock.background": "#16161e",
1394
+ "textSeparator.foreground": "#363b54",
1395
+
1396
+ "debugExceptionWidget.border": "#963c47",
1397
+ "debugExceptionWidget.background": "#101014",
1398
+ "debugToolBar.background": "#101014",
1399
+
1400
+ "debugConsole.infoForeground": "#787c99",
1401
+ "debugConsole.errorForeground": "#bb616b",
1402
+ "debugConsole.sourceForeground": "#787c99",
1403
+ "debugConsole.warningForeground": "#c49a5a",
1404
+ "debugConsoleInputIcon.foreground": "#73daca",
1405
+
1406
+ "editor.stackFrameHighlightBackground": "#E2BD3A20",
1407
+ "editor.focusedStackFrameHighlightBackground": "#73daca20",
1408
+ "debugView.stateLabelForeground": "#787c99",
1409
+ "debugView.stateLabelBackground": "#14141b",
1410
+ "debugView.valueChangedHighlight": "#3d59a1aa",
1411
+ "debugTokenExpression.name": "#7dcfff",
1412
+ "debugTokenExpression.value": "#9aa5ce",
1413
+ "debugTokenExpression.string": "#9ece6a",
1414
+ "debugTokenExpression.boolean": "#ff9e64",
1415
+ "debugTokenExpression.number": "#ff9e64",
1416
+ "debugTokenExpression.error": "#bb616b",
1417
+
1418
+ "debugIcon.breakpointForeground": "#db4b4b",
1419
+ "debugIcon.breakpointDisabledForeground": "#414761",
1420
+ "debugIcon.breakpointUnverifiedForeground": "#c24242",
1421
+
1422
+ "terminal.background": "#16161e",
1423
+ "terminal.foreground": "#787c99",
1424
+ "terminal.selectionBackground": "#515c7e4d",
1425
+ // "terminalCursor.background": "",
1426
+ // "terminalCursor.foreground": "",
1427
+
1428
+ "terminal.ansiBlack": "#363b54",
1429
+ "terminal.ansiRed": "#f7768e",
1430
+ "terminal.ansiGreen": "#73daca",
1431
+ "terminal.ansiYellow": "#e0af68",
1432
+ "terminal.ansiBlue": "#7aa2f7",
1433
+ "terminal.ansiMagenta": "#bb9af7",
1434
+ "terminal.ansiCyan": "#7dcfff",
1435
+ "terminal.ansiWhite": "#787c99",
1436
+ "terminal.ansiBrightBlack": "#363b54",
1437
+ "terminal.ansiBrightRed": "#f7768e",
1438
+ "terminal.ansiBrightGreen": "#73daca",
1439
+ "terminal.ansiBrightYellow": "#e0af68",
1440
+ "terminal.ansiBrightBlue": "#7aa2f7",
1441
+ "terminal.ansiBrightMagenta": "#bb9af7",
1442
+ "terminal.ansiBrightCyan": "#7dcfff",
1443
+ "terminal.ansiBrightWhite": "#acb0d0",
1444
+
1445
+ "gitDecoration.modifiedResourceForeground": "#6183bb",
1446
+ "gitDecoration.ignoredResourceForeground": "#515670",
1447
+ "gitDecoration.deletedResourceForeground": "#914c54",
1448
+ "gitDecoration.renamedResourceForeground": "#449dab",
1449
+ "gitDecoration.addedResourceForeground": "#449dab",
1450
+ "gitDecoration.untrackedResourceForeground": "#449dab",
1451
+ "gitDecoration.conflictingResourceForeground": "#e0af68cc",
1452
+ "gitDecoration.stageDeletedResourceForeground": "#914c54",
1453
+ "gitDecoration.stageModifiedResourceForeground": "#6183bb",
1454
+
1455
+ "notebook.editorBackground": "#1a1b26",
1456
+ "notebook.cellEditorBackground": "#16161e",
1457
+ "notebook.cellBorderColor": "#101014",
1458
+ "notebook.focusedCellBorder": "#29355a",
1459
+ "notebook.cellStatusBarItemHoverBackground": "#1c1d29",
1460
+
1461
+ "charts.red": "#f7768e",
1462
+ "charts.blue": "#7aa2f7",
1463
+ "charts.yellow": "#e0af68",
1464
+ "charts.orange": "#ff9e64",
1465
+ "charts.green": "#41a6b5",
1466
+ "charts.purple": "#9d7cd8",
1467
+ "charts.foreground": "#9AA5CE",
1468
+ "charts.lines": "#16161e",
1469
+
1470
+ "scmGraph.historyItemHoverLabelForeground": "#1b1e2e",
1471
+ "scmGraph.foreground1": "#ff9e64",
1472
+ "scmGraph.foreground2": "#e0af68",
1473
+ "scmGraph.foreground3": "#41a6b5",
1474
+ "scmGraph.foreground4": "#7aa2f7",
1475
+ "scmGraph.foreground5": "#bb9af7",
1476
+ "scmGraph.historyItemHoverAdditionsForeground": "#41a6b5",
1477
+ "scmGraph.historyItemHoverDeletionsForeground": "#f7768e",
1478
+ "scmGraph.historyItemRefColor": "#506FCA",
1479
+ "scmGraph.historyItemRemoteRefColor": "#41a6b5",
1480
+ "scmGraph.historyItemBaseRefColor": "#9d7cd8",
1481
+ "scmGraph.historyItemHoverDefaultLabelForeground": "#a9b1d6",
1482
+
1483
+ "merge.currentHeaderBackground": "#41a6b525",
1484
+ "merge.currentContentBackground": "#007a7544",
1485
+ "merge.incomingHeaderBackground": "#3d59a1aa",
1486
+ "merge.incomingContentBackground": "#3d59a144",
1487
+ "mergeEditor.change.background": "#41a6b525",
1488
+ "mergeEditor.change.word.background": "#41a6b540",
1489
+ "mergeEditor.conflict.unhandledUnfocused.border": "#e0af6888",
1490
+ "mergeEditor.conflict.unhandledFocused.border": "#e0af68b0",
1491
+ "mergeEditor.conflict.handledUnfocused.border": "#41a6b525",
1492
+ "mergeEditor.conflict.handledFocused.border": "#41a6b565",
1493
+ "mergeEditor.conflict.handled.minimapOverViewRuler": "#449dab",
1494
+ "mergeEditor.conflict.unhandled.minimapOverViewRuler": "#e0af68",
1495
+
1496
+ "gitlens.trailingLineForegroundColor": "#646e9c",
1497
+ "gitlens.gutterUncommittedForegroundColor": "#7aa2f7",
1498
+ "gitlens.gutterForegroundColor": "#787c99",
1499
+ "gitlens.gutterBackgroundColor": "#16161e",
1500
+
1501
+ "notificationCenterHeader.background": "#101014",
1502
+ "notifications.background": "#101014",
1503
+ "notificationLink.foreground": "#6183bb",
1504
+ "notificationsErrorIcon.foreground": "#bb616b",
1505
+ "notificationsWarningIcon.foreground": "#bba461",
1506
+ "notificationsInfoIcon.foreground": "#0da0ba",
1507
+
1508
+ "menubar.selectionForeground": "#a9b1d6",
1509
+ "menubar.selectionBackground": "#1e202e",
1510
+ "menubar.selectionBorder": "#1b1e2e",
1511
+ "menu.foreground": "#787c99",
1512
+ "menu.background": "#16161e",
1513
+ "menu.selectionForeground": "#a9b1d6",
1514
+ "menu.selectionBackground": "#1e202e",
1515
+ "menu.separatorBackground": "#101014",
1516
+ "menu.border": "#101014",
1517
+
1518
+ "chat.requestBorder": "#0f0f14",
1519
+ "chat.avatarBackground": "#3d59a1",
1520
+ "chat.avatarForeground": "#a9b1d6",
1521
+ "chat.slashCommandBackground": "#14141b",
1522
+ "chat.slashCommandForeground": "#7aa2f7",
1523
+
1524
+ "inlineChat.foreground": "#a9b1d6",
1525
+ "inlineChatInput.background": "#14141b",
1526
+ "inlineChatDiff.inserted": "#41a6b540",
1527
+ "inlineChatDiff.removed": "#db4b4b42"
1528
+ },
1529
+ "tokenColors": [
1530
+ {
1531
+ "name": "Italics - Comments, Storage, Keyword Flow, Vue attributes, Decorators",
1532
+ "scope": [
1533
+ "comment",
1534
+ "meta.var.expr storage.type",
1535
+ "keyword.control.flow",
1536
+ "keyword.control.return",
1537
+ "meta.directive.vue punctuation.separator.key-value.html",
1538
+ "meta.directive.vue entity.other.attribute-name.html",
1539
+ "tag.decorator.js entity.name.tag.js",
1540
+ "tag.decorator.js punctuation.definition.tag.js",
1541
+ "storage.modifier",
1542
+ "string.quoted.docstring.multi",
1543
+ "string.quoted.docstring.multi.python punctuation.definition.string.begin",
1544
+ "string.quoted.docstring.multi.python punctuation.definition.string.end",
1545
+ "string.quoted.docstring.multi.python constant.character.escape"
1546
+ ],
1547
+ "settings": {
1548
+ "fontStyle": "italic"
1549
+ }
1550
+ },
1551
+ {
1552
+ "name": "Fix YAML block scalar, Python Logical",
1553
+ "scope": [
1554
+ "keyword.control.flow.block-scalar.literal",
1555
+ "keyword.control.flow.python"
1556
+ ],
1557
+ "settings": {
1558
+ "fontStyle": ""
1559
+ }
1560
+ },
1561
+ {
1562
+ "name": "Comment",
1563
+ "scope": [
1564
+ "comment",
1565
+ "comment.block.documentation",
1566
+ "punctuation.definition.comment",
1567
+ "comment.block.documentation punctuation",
1568
+ "string.quoted.docstring.multi",
1569
+ "string.quoted.docstring.multi.python punctuation.definition.string.begin",
1570
+ "string.quoted.docstring.multi.python punctuation.definition.string.end",
1571
+ "string.quoted.docstring.multi.python constant.character.escape"
1572
+ ],
1573
+ "settings": {
1574
+ "foreground": "#51597d"
1575
+ }
1576
+ },
1577
+ {
1578
+ "name": "Comment Doc",
1579
+ "scope": [
1580
+ "keyword.operator.assignment.jsdoc",
1581
+ "comment.block.documentation variable",
1582
+ "comment.block.documentation storage",
1583
+ "comment.block.documentation keyword",
1584
+ "comment.block.documentation support",
1585
+ "comment.block.documentation markup",
1586
+ "comment.block.documentation markup.inline.raw.string.markdown",
1587
+ "meta.other.type.phpdoc.php keyword.other.type.php",
1588
+ "meta.other.type.phpdoc.php support.other.namespace.php",
1589
+ "meta.other.type.phpdoc.php punctuation.separator.inheritance.php",
1590
+ "meta.other.type.phpdoc.php support.class",
1591
+ "keyword.other.phpdoc.php",
1592
+ "log.date"
1593
+ ],
1594
+ "settings": {
1595
+ "foreground": "#5a638c"
1596
+ }
1597
+ },
1598
+ {
1599
+ "name": "Comment Doc Emphasized",
1600
+ "scope": [
1601
+ "meta.other.type.phpdoc.php support.class",
1602
+ "comment.block.documentation storage.type",
1603
+ "comment.block.documentation punctuation.definition.block.tag",
1604
+ "comment.block.documentation entity.name.type.instance"
1605
+ ],
1606
+ "settings": {
1607
+ "foreground": "#646e9c"
1608
+ }
1609
+ },
1610
+ {
1611
+ "name": "Number, Boolean, Undefined, Null",
1612
+ "scope": [
1613
+ "variable.other.constant",
1614
+ "punctuation.definition.constant",
1615
+ "constant.language",
1616
+ "constant.numeric",
1617
+ "support.constant",
1618
+ "constant.other.caps"
1619
+ ],
1620
+ "settings": {
1621
+ "foreground": "#ff9e64"
1622
+ }
1623
+ },
1624
+ {
1625
+ "name": "String, Symbols",
1626
+ "scope": [
1627
+ "string",
1628
+ "constant.other.symbol",
1629
+ "constant.other.key",
1630
+ "meta.attribute-selector",
1631
+ "string constant.character"
1632
+ ],
1633
+ "settings": {
1634
+ "fontStyle": "",
1635
+ "foreground": "#9ece6a"
1636
+ }
1637
+ },
1638
+ {
1639
+ "name": "Colors",
1640
+ "scope": [
1641
+ "constant.other.color",
1642
+ "constant.other.color.rgb-value.hex punctuation.definition.constant"
1643
+ ],
1644
+ "settings": {
1645
+ "foreground": "#9aa5ce"
1646
+ }
1647
+ },
1648
+ {
1649
+ "name": "Invalid",
1650
+ "scope": ["invalid", "invalid.illegal"],
1651
+ "settings": {
1652
+ "foreground": "#ff5370"
1653
+ }
1654
+ },
1655
+ {
1656
+ "name": "Invalid deprecated",
1657
+ "scope": "invalid.deprecated",
1658
+ "settings": {
1659
+ "foreground": "#bb9af7"
1660
+ }
1661
+ },
1662
+ {
1663
+ "name": "Storage Type",
1664
+ "scope": "storage.type",
1665
+ "settings": {
1666
+ "foreground": "#bb9af7"
1667
+ }
1668
+ },
1669
+ {
1670
+ "name": "Storage - modifier, var, const, let",
1671
+ "scope": ["meta.var.expr storage.type", "storage.modifier"],
1672
+ "settings": {
1673
+ "foreground": "#9d7cd8"
1674
+ }
1675
+ },
1676
+ {
1677
+ "name": "Interpolation, PHP tags, Smarty tags",
1678
+ "scope": [
1679
+ "punctuation.definition.template-expression",
1680
+ "punctuation.section.embedded",
1681
+ "meta.embedded.line.tag.smarty",
1682
+ "support.constant.handlebars",
1683
+ "punctuation.section.tag.twig"
1684
+ ],
1685
+ "settings": {
1686
+ "foreground": "#7dcfff"
1687
+ }
1688
+ },
1689
+ {
1690
+ "name": "Blade, Twig, Smarty Handlebars keywords",
1691
+ "scope": [
1692
+ "keyword.control.smarty",
1693
+ "keyword.control.twig",
1694
+ "support.constant.handlebars keyword.control",
1695
+ "keyword.operator.comparison.twig",
1696
+ "keyword.blade",
1697
+ "entity.name.function.blade",
1698
+ "meta.tag.blade keyword.other.type.php"
1699
+ ],
1700
+ "settings": {
1701
+ "foreground": "#0db9d7"
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "Spread",
1706
+ "scope": ["keyword.operator.spread", "keyword.operator.rest"],
1707
+ "settings": {
1708
+ "foreground": "#f7768e",
1709
+ "fontStyle": "bold"
1710
+ }
1711
+ },
1712
+ {
1713
+ "name": "Operator, Misc",
1714
+ "scope": [
1715
+ "keyword.operator",
1716
+ "keyword.control.as",
1717
+ "keyword.other",
1718
+ "keyword.operator.bitwise.shift",
1719
+ "punctuation",
1720
+ "expression.embbeded.vue punctuation.definition.tag",
1721
+ "text.html.twig meta.tag.inline.any.html",
1722
+ "meta.tag.template.value.twig meta.function.arguments.twig",
1723
+ "meta.directive.vue punctuation.separator.key-value.html",
1724
+ "punctuation.definition.constant.markdown",
1725
+ "punctuation.definition.string",
1726
+ "punctuation.support.type.property-name",
1727
+ "text.html.vue-html meta.tag",
1728
+ "meta.attribute.directive",
1729
+ "punctuation.definition.keyword",
1730
+ "punctuation.terminator.rule",
1731
+ "punctuation.definition.entity",
1732
+ "punctuation.separator.inheritance.php",
1733
+ "keyword.other.template",
1734
+ "keyword.other.substitution",
1735
+ "entity.name.operator",
1736
+ "meta.property-list punctuation.separator.key-value",
1737
+ "meta.at-rule.mixin punctuation.separator.key-value",
1738
+ "meta.at-rule.function variable.parameter.url",
1739
+ "meta.embedded.inline.phpx punctuation.definition.tag.begin.html",
1740
+ "meta.embedded.inline.phpx punctuation.definition.tag.end.html"
1741
+ ],
1742
+ "settings": {
1743
+ "foreground": "#89ddff"
1744
+ }
1745
+ },
1746
+ {
1747
+ "name": "Import, Export, From, Default",
1748
+ "scope": [
1749
+ "keyword.control.module.js",
1750
+ "keyword.control.import",
1751
+ "keyword.control.export",
1752
+ "keyword.control.from",
1753
+ "keyword.control.default",
1754
+ "meta.import keyword.other"
1755
+ ],
1756
+ "settings": {
1757
+ "foreground": "#7dcfff"
1758
+ }
1759
+ },
1760
+ {
1761
+ "name": "Keyword",
1762
+ "scope": ["keyword", "keyword.control", "keyword.other.important"],
1763
+ "settings": {
1764
+ "foreground": "#bb9af7"
1765
+ }
1766
+ },
1767
+ {
1768
+ "name": "Keyword SQL",
1769
+ "scope": "keyword.other.DML",
1770
+ "settings": {
1771
+ "foreground": "#7dcfff"
1772
+ }
1773
+ },
1774
+ {
1775
+ "name": "Keyword Operator Logical, Arrow, Ternary, Comparison",
1776
+ "scope": [
1777
+ "keyword.operator.logical",
1778
+ "storage.type.function",
1779
+ "keyword.operator.bitwise",
1780
+ "keyword.operator.ternary",
1781
+ "keyword.operator.comparison",
1782
+ "keyword.operator.relational",
1783
+ "keyword.operator.or.regexp"
1784
+ ],
1785
+ "settings": {
1786
+ "foreground": "#bb9af7"
1787
+ }
1788
+ },
1789
+ {
1790
+ "name": "Tag",
1791
+ "scope": "entity.name.tag",
1792
+ "settings": {
1793
+ "foreground": "#f7768e"
1794
+ }
1795
+ },
1796
+ {
1797
+ "name": "Tag - Custom / Unrecognized",
1798
+ "scope": [
1799
+ "entity.name.tag support.class.component",
1800
+ "meta.tag.custom entity.name.tag",
1801
+ "meta.tag.other.unrecognized.html.derivative entity.name.tag",
1802
+ "meta.tag"
1803
+ ],
1804
+ "settings": {
1805
+ "foreground": "#de5971"
1806
+ }
1807
+ },
1808
+ {
1809
+ "name": "Tag Punctuation",
1810
+ "scope": [
1811
+ "punctuation.definition.tag",
1812
+ "text.html.php meta.embedded.block.html meta.tag.metadata.script.end.html punctuation.definition.tag.begin.html text.html.basic"
1813
+ ],
1814
+ "settings": {
1815
+ "foreground": "#ba3c97"
1816
+ }
1817
+ },
1818
+ {
1819
+ "name": "Globals, PHP Constants, etc",
1820
+ "scope": [
1821
+ "constant.other.php",
1822
+ "variable.other.global.safer",
1823
+ "variable.other.global.safer punctuation.definition.variable",
1824
+ "variable.other.global",
1825
+ "variable.other.global punctuation.definition.variable",
1826
+ "constant.other"
1827
+ ],
1828
+ "settings": {
1829
+ "foreground": "#e0af68"
1830
+ }
1831
+ },
1832
+ {
1833
+ "name": "Variables",
1834
+ "scope": [
1835
+ "variable",
1836
+ "support.variable",
1837
+ "string constant.other.placeholder",
1838
+ "variable.parameter.handlebars",
1839
+ "variable.other.object",
1840
+ "meta.fstring",
1841
+ "meta.function-call meta.function-call.arguments",
1842
+ "meta.embedded.inline.phpx constant.other.php"
1843
+ ],
1844
+ "settings": {
1845
+ "foreground": "#c0caf5"
1846
+ }
1847
+ },
1848
+ {
1849
+ "name": "Variable Array Key",
1850
+ "scope": "meta.array.literal variable",
1851
+ "settings": {
1852
+ "foreground": "#7dcfff" //"#73daca"
1853
+ }
1854
+ },
1855
+ {
1856
+ "name": "Object Key",
1857
+ "scope": [
1858
+ "meta.object-literal.key",
1859
+ "entity.name.type.hcl",
1860
+ "string.alias.graphql",
1861
+ "string.unquoted.graphql",
1862
+ "string.unquoted.alias.graphql",
1863
+ "meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js",
1864
+ "meta.field.declaration.ts variable.object.property",
1865
+ "meta.block entity.name.label"
1866
+ ],
1867
+ "settings": {
1868
+ "foreground": "#73daca"
1869
+ }
1870
+ },
1871
+ {
1872
+ "name": "Object Property",
1873
+ "scope": [
1874
+ "variable.other.property",
1875
+ "support.variable.property",
1876
+ "support.variable.property.dom",
1877
+ "meta.function-call variable.other.object.property"
1878
+ ],
1879
+ "settings": {
1880
+ "foreground": "#7dcfff"
1881
+ }
1882
+ },
1883
+ {
1884
+ "name": "Object Property",
1885
+ "scope": "variable.other.object.property",
1886
+ "settings": {
1887
+ "foreground": "#c0caf5"
1888
+ }
1889
+ },
1890
+ {
1891
+ "name": "Object Literal Member lvl 3 (Vue Prop Validation)",
1892
+ "scope": "meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.object-literal.key",
1893
+ "settings": {
1894
+ "foreground": "#41a6b5"
1895
+ }
1896
+ },
1897
+ {
1898
+ "name": "C-related Block Level Variables",
1899
+ "scope": "source.cpp meta.block variable.other",
1900
+ "settings": {
1901
+ "foreground": "#f7768e"
1902
+ }
1903
+ },
1904
+ {
1905
+ "name": "Other Variable",
1906
+ "scope": "support.other.variable",
1907
+ "settings": {
1908
+ "foreground": "#f7768e"
1909
+ }
1910
+ },
1911
+ {
1912
+ "name": "Methods",
1913
+ "scope": [
1914
+ "meta.class-method.js entity.name.function.js",
1915
+ "entity.name.method.js",
1916
+ "variable.function.constructor",
1917
+ "keyword.other.special-method",
1918
+ "storage.type.cs"
1919
+ ],
1920
+ "settings": {
1921
+ "foreground": "#7aa2f7"
1922
+ }
1923
+ },
1924
+ {
1925
+ "name": "Function Definition",
1926
+ "scope": [
1927
+ "entity.name.function",
1928
+ "variable.other.enummember",
1929
+ "meta.function-call",
1930
+ "meta.function-call entity.name.function",
1931
+ "variable.function",
1932
+ "meta.definition.method entity.name.function",
1933
+ "meta.object-literal entity.name.function"
1934
+ ],
1935
+ "settings": {
1936
+ "foreground": "#7aa2f7"
1937
+ }
1938
+ },
1939
+ {
1940
+ "name": "Function Argument",
1941
+ "scope": [
1942
+ "variable.parameter.function.language.special",
1943
+ "variable.parameter",
1944
+ "meta.function.parameters punctuation.definition.variable",
1945
+ "meta.function.parameter variable"
1946
+ ],
1947
+ "settings": {
1948
+ "foreground": "#e0af68" //#73daca
1949
+ }
1950
+ },
1951
+ {
1952
+ "name": "Constant, Tag Attribute",
1953
+ "scope": [
1954
+ "keyword.other.type.php",
1955
+ "storage.type.php",
1956
+ "constant.character",
1957
+ "constant.escape",
1958
+ "keyword.other.unit"
1959
+ ],
1960
+ "settings": {
1961
+ "foreground": "#bb9af7"
1962
+ }
1963
+ },
1964
+ {
1965
+ "name": "Variable Definition",
1966
+ "scope": [
1967
+ "meta.definition.variable variable.other.constant",
1968
+ "meta.definition.variable variable.other.readwrite",
1969
+ "variable.declaration.hcl variable.other.readwrite.hcl",
1970
+ "meta.mapping.key.hcl variable.other.readwrite.hcl",
1971
+ "variable.other.declaration"
1972
+ ],
1973
+ "settings": {
1974
+ "foreground": "#bb9af7"
1975
+ }
1976
+ },
1977
+ {
1978
+ "name": "Inherited Class",
1979
+ "scope": "entity.other.inherited-class",
1980
+ "settings": {
1981
+ "fontStyle": "",
1982
+ "foreground": "#bb9af7"
1983
+ }
1984
+ },
1985
+ {
1986
+ "name": "Class, Support, DOM, etc",
1987
+ "scope": [
1988
+ "support.class",
1989
+ "support.type",
1990
+ "variable.other.readwrite.alias",
1991
+ "support.orther.namespace.use.php",
1992
+ "meta.use.php",
1993
+ "support.other.namespace.php",
1994
+ "support.type.sys-types",
1995
+ "support.variable.dom",
1996
+ "support.constant.math",
1997
+ "support.type.object.module",
1998
+ "support.constant.json",
1999
+ "entity.name.namespace",
2000
+ "meta.import.qualifier",
2001
+ "variable.other.constant.object"
2002
+ ],
2003
+ "settings": {
2004
+ "foreground": "#0db9d7"
2005
+ }
2006
+ },
2007
+ {
2008
+ "name": "Class Name",
2009
+ "scope": "entity.name",
2010
+ "settings": {
2011
+ "foreground": "#c0caf5"
2012
+ }
2013
+ },
2014
+ {
2015
+ "name": "Support Function",
2016
+ "scope": "support.function",
2017
+ "settings": {
2018
+ "foreground": "#0db9d7"
2019
+ }
2020
+ },
2021
+ {
2022
+ "name": "CSS Class and Support",
2023
+ "scope": [
2024
+ "source.css support.type.property-name",
2025
+ "source.sass support.type.property-name",
2026
+ "source.scss support.type.property-name",
2027
+ "source.less support.type.property-name",
2028
+ "source.stylus support.type.property-name",
2029
+ "source.postcss support.type.property-name",
2030
+ "support.type.property-name.css",
2031
+ "support.type.vendored.property-name",
2032
+ "support.type.map.key"
2033
+ ],
2034
+ "settings": {
2035
+ "foreground": "#7aa2f7"
2036
+ }
2037
+ },
2038
+ {
2039
+ "name": "CSS Font",
2040
+ "scope": ["support.constant.font-name", "meta.definition.variable"],
2041
+ "settings": {
2042
+ "foreground": "#9ece6a"
2043
+ }
2044
+ },
2045
+ {
2046
+ "name": "CSS Class",
2047
+ "scope": [
2048
+ "entity.other.attribute-name.class",
2049
+ "meta.at-rule.mixin.scss entity.name.function.scss"
2050
+ ],
2051
+ "settings": {
2052
+ "foreground": "#9ece6a"
2053
+ }
2054
+ },
2055
+ {
2056
+ "name": "CSS ID",
2057
+ "scope": "entity.other.attribute-name.id",
2058
+ "settings": {
2059
+ "foreground": "#fc7b7b"
2060
+ }
2061
+ },
2062
+ {
2063
+ "name": "CSS Tag",
2064
+ "scope": "entity.name.tag.css",
2065
+ "settings": {
2066
+ "foreground": "#0db9d7"
2067
+ }
2068
+ },
2069
+ {
2070
+ "name": "CSS Tag Reference, Pseudo & Class Punctuation",
2071
+ "scope": [
2072
+ "entity.other.attribute-name.pseudo-class punctuation.definition.entity",
2073
+ "entity.other.attribute-name.pseudo-element punctuation.definition.entity",
2074
+ "entity.other.attribute-name.class punctuation.definition.entity",
2075
+ "entity.name.tag.reference"
2076
+ ],
2077
+ "settings": {
2078
+ "foreground": "#e0af68"
2079
+ }
2080
+ },
2081
+ {
2082
+ "name": "CSS Punctuation",
2083
+ "scope": "meta.property-list",
2084
+ "settings": {
2085
+ "foreground": "#9abdf5" //"#e0af68"
2086
+ }
2087
+ },
2088
+ {
2089
+ "name": "CSS at-rule fix",
2090
+ "scope": [
2091
+ "meta.property-list meta.at-rule.if",
2092
+ "meta.at-rule.return variable.parameter.url",
2093
+ "meta.property-list meta.at-rule.else"
2094
+ ],
2095
+ "settings": {
2096
+ "foreground": "#ff9e64"
2097
+ }
2098
+ },
2099
+ {
2100
+ "name": "CSS Parent Selector Entity",
2101
+ "scope": [
2102
+ "entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity.css"
2103
+ ],
2104
+ "settings": {
2105
+ "foreground": "#73daca"
2106
+ }
2107
+ },
2108
+ {
2109
+ "name": "CSS Punctuation comma fix",
2110
+ "scope": "meta.property-list meta.property-list",
2111
+ "settings": {
2112
+ "foreground": "#9abdf5"
2113
+ }
2114
+ },
2115
+ {
2116
+ "name": "SCSS @",
2117
+ "scope": [
2118
+ "meta.at-rule.mixin keyword.control.at-rule.mixin",
2119
+ "meta.at-rule.include entity.name.function.scss",
2120
+ "meta.at-rule.include keyword.control.at-rule.include"
2121
+ ],
2122
+ "settings": {
2123
+ "foreground": "#bb9af7"
2124
+ }
2125
+ },
2126
+ {
2127
+ "name": "SCSS Mixins, Extends, Include Keyword",
2128
+ "scope": [
2129
+ "keyword.control.at-rule.include punctuation.definition.keyword",
2130
+ "keyword.control.at-rule.mixin punctuation.definition.keyword",
2131
+ "meta.at-rule.include keyword.control.at-rule.include",
2132
+ "keyword.control.at-rule.extend punctuation.definition.keyword",
2133
+ "meta.at-rule.extend keyword.control.at-rule.extend",
2134
+ "entity.other.attribute-name.placeholder.css punctuation.definition.entity.css",
2135
+ "meta.at-rule.media keyword.control.at-rule.media",
2136
+ "meta.at-rule.mixin keyword.control.at-rule.mixin",
2137
+ "meta.at-rule.function keyword.control.at-rule.function",
2138
+ "keyword.control punctuation.definition.keyword"
2139
+ ],
2140
+ "settings": {
2141
+ "foreground": "#9d7cd8"
2142
+ }
2143
+ },
2144
+ {
2145
+ "name": "SCSS Include Mixin Argument",
2146
+ "scope": "meta.property-list meta.at-rule.include",
2147
+ "settings": {
2148
+ "foreground": "#c0caf5"
2149
+ }
2150
+ },
2151
+ {
2152
+ "name": "CSS value",
2153
+ "scope": "support.constant.property-value",
2154
+ "settings": {
2155
+ "foreground": "#ff9e64"
2156
+ }
2157
+ },
2158
+ {
2159
+ "name": "Sub-methods",
2160
+ "scope": [
2161
+ "entity.name.module.js",
2162
+ "variable.import.parameter.js",
2163
+ "variable.other.class.js"
2164
+ ],
2165
+ "settings": {
2166
+ "foreground": "#c0caf5"
2167
+ }
2168
+ },
2169
+ {
2170
+ "name": "Language methods",
2171
+ "scope": "variable.language",
2172
+ "settings": {
2173
+ "foreground": "#f7768e"
2174
+ }
2175
+ },
2176
+ {
2177
+ "name": "Variable punctuation",
2178
+ "scope": "variable.other punctuation.definition.variable",
2179
+ "settings": {
2180
+ "foreground": "#c0caf5"
2181
+ }
2182
+ },
2183
+ {
2184
+ "name": "Keyword this with Punctuation, ES7 Bind Operator",
2185
+ "scope": [
2186
+ "source.js constant.other.object.key.js string.unquoted.label.js",
2187
+ "variable.language.this punctuation.definition.variable",
2188
+ "keyword.other.this"
2189
+ ],
2190
+ "settings": {
2191
+ "foreground": "#f7768e"
2192
+ }
2193
+ },
2194
+ {
2195
+ "name": "HTML Attributes",
2196
+ "scope": [
2197
+ "entity.other.attribute-name",
2198
+ "text.html.basic entity.other.attribute-name.html",
2199
+ "text.html.basic entity.other.attribute-name"
2200
+ ],
2201
+ "settings": {
2202
+ "foreground": "#bb9af7"
2203
+ }
2204
+ },
2205
+ {
2206
+ "name": "HTML Character Entity",
2207
+ "scope": "text.html constant.character.entity",
2208
+ "settings": {
2209
+ "foreground": "#0DB9D7"
2210
+ }
2211
+ },
2212
+ {
2213
+ "name": "Vue (Vetur / deprecated) Template attributes",
2214
+ "scope": [
2215
+ "entity.other.attribute-name.id.html",
2216
+ "meta.directive.vue entity.other.attribute-name.html"
2217
+ ],
2218
+ "settings": {
2219
+ "foreground": "#bb9af7"
2220
+ }
2221
+ },
2222
+ {
2223
+ "name": "CSS ID's",
2224
+ "scope": "source.sass keyword.control",
2225
+ "settings": {
2226
+ "foreground": "#7aa2f7"
2227
+ }
2228
+ },
2229
+ {
2230
+ "name": "CSS psuedo selectors",
2231
+ "scope": [
2232
+ "entity.other.attribute-name.pseudo-class",
2233
+ "entity.other.attribute-name.pseudo-element",
2234
+ "entity.other.attribute-name.placeholder",
2235
+ "meta.property-list meta.property-value"
2236
+ ],
2237
+ "settings": {
2238
+ "foreground": "#bb9af7"
2239
+ }
2240
+ },
2241
+ {
2242
+ "name": "Inserted",
2243
+ "scope": "markup.inserted",
2244
+ "settings": {
2245
+ "foreground": "#449dab"
2246
+ }
2247
+ },
2248
+ {
2249
+ "name": "Deleted",
2250
+ "scope": "markup.deleted",
2251
+ "settings": {
2252
+ "foreground": "#914c54"
2253
+ }
2254
+ },
2255
+ {
2256
+ "name": "Changed",
2257
+ "scope": "markup.changed",
2258
+ "settings": {
2259
+ "foreground": "#6183bb"
2260
+ }
2261
+ },
2262
+ {
2263
+ "name": "Regular Expressions",
2264
+ "scope": "string.regexp",
2265
+ "settings": {
2266
+ "foreground": "#b4f9f8"
2267
+ }
2268
+ },
2269
+ {
2270
+ "name": "Regular Expressions - Punctuation",
2271
+ "scope": "punctuation.definition.group",
2272
+ "settings": {
2273
+ "foreground": "#f7768e"
2274
+ }
2275
+ },
2276
+ {
2277
+ "name": "Regular Expressions - Character Class",
2278
+ "scope": ["constant.other.character-class.regexp"],
2279
+ "settings": {
2280
+ "foreground": "#bb9af7"
2281
+ }
2282
+ },
2283
+ {
2284
+ "name": "Regular Expressions - Character Class Set",
2285
+ "scope": [
2286
+ "constant.other.character-class.set.regexp",
2287
+ "punctuation.definition.character-class.regexp"
2288
+ ],
2289
+ "settings": {
2290
+ "foreground": "#e0af68"
2291
+ }
2292
+ },
2293
+ {
2294
+ "name": "Regular Expressions - Quantifier",
2295
+ "scope": "keyword.operator.quantifier.regexp",
2296
+ "settings": {
2297
+ "foreground": "#89ddff"
2298
+ }
2299
+ },
2300
+ {
2301
+ "name": "Regular Expressions - Backslash",
2302
+ "scope": "constant.character.escape.backslash",
2303
+ "settings": {
2304
+ "foreground": "#c0caf5"
2305
+ }
2306
+ },
2307
+ {
2308
+ "name": "Escape Characters",
2309
+ "scope": "constant.character.escape",
2310
+ "settings": {
2311
+ "foreground": "#89ddff"
2312
+ }
2313
+ },
2314
+ {
2315
+ "name": "Decorators",
2316
+ "scope": [
2317
+ "tag.decorator.js entity.name.tag.js",
2318
+ "tag.decorator.js punctuation.definition.tag.js"
2319
+ ],
2320
+ "settings": {
2321
+ "foreground": "#7aa2f7"
2322
+ }
2323
+ },
2324
+ {
2325
+ "name": "CSS Units",
2326
+ "scope": "keyword.other.unit",
2327
+ "settings": {
2328
+ "foreground": "#f7768e"
2329
+ }
2330
+ },
2331
+ {
2332
+ "name": "JSON Key - Level 0",
2333
+ "scope": [
2334
+ "source.json meta.structure.dictionary.json support.type.property-name.json"
2335
+ ],
2336
+ "settings": {
2337
+ "foreground": "#7aa2f7"
2338
+ }
2339
+ },
2340
+ {
2341
+ "name": "JSON Key - Level 1",
2342
+ "scope": [
2343
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2344
+ ],
2345
+ "settings": {
2346
+ "foreground": "#0db9d7"
2347
+ }
2348
+ },
2349
+ {
2350
+ "name": "JSON Key - Level 2",
2351
+ "scope": [
2352
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2353
+ ],
2354
+ "settings": {
2355
+ "foreground": "#7dcfff"
2356
+ }
2357
+ },
2358
+ {
2359
+ "name": "JSON Key - Level 3",
2360
+ "scope": [
2361
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2362
+ ],
2363
+ "settings": {
2364
+ "foreground": "#bb9af7"
2365
+ }
2366
+ },
2367
+ {
2368
+ "name": "JSON Key - Level 4",
2369
+ "scope": [
2370
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2371
+ ],
2372
+ "settings": {
2373
+ "foreground": "#e0af68"
2374
+ }
2375
+ },
2376
+ {
2377
+ "name": "JSON Key - Level 5",
2378
+ "scope": [
2379
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2380
+ ],
2381
+ "settings": {
2382
+ "foreground": "#0db9d7"
2383
+ }
2384
+ },
2385
+ {
2386
+ "name": "JSON Key - Level 6",
2387
+ "scope": [
2388
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2389
+ ],
2390
+ "settings": {
2391
+ "foreground": "#73daca"
2392
+ }
2393
+ },
2394
+ {
2395
+ "name": "JSON Key - Level 7",
2396
+ "scope": [
2397
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2398
+ ],
2399
+ "settings": {
2400
+ "foreground": "#f7768e"
2401
+ }
2402
+ },
2403
+ {
2404
+ "name": "JSON Key - Level 8",
2405
+ "scope": [
2406
+ "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"
2407
+ ],
2408
+ "settings": {
2409
+ "foreground": "#9ece6a"
2410
+ }
2411
+ },
2412
+ {
2413
+ "name": "Plain Punctuation",
2414
+ "scope": "punctuation.definition.list_item.markdown",
2415
+ "settings": {
2416
+ "foreground": "#9abdf5"
2417
+ }
2418
+ },
2419
+ {
2420
+ "name": "Block Punctuation",
2421
+ "scope": [
2422
+ "meta.block",
2423
+ "meta.brace",
2424
+ "punctuation.definition.block",
2425
+ "punctuation.definition.use",
2426
+ "punctuation.definition.class",
2427
+ "punctuation.definition.begin.bracket",
2428
+ "punctuation.definition.end.bracket",
2429
+ "punctuation.definition.switch-expression.begin.bracket",
2430
+ "punctuation.definition.switch-expression.end.bracket",
2431
+ "punctuation.definition.section.switch-block.begin.bracket",
2432
+ "punctuation.definition.section.switch-block.end.bracket",
2433
+ "punctuation.definition.group.shell",
2434
+ "punctuation.definition.parameters",
2435
+ "punctuation.definition.arguments",
2436
+ "punctuation.definition.dictionary",
2437
+ "punctuation.definition.array",
2438
+ "punctuation.section"
2439
+ ],
2440
+ "settings": {
2441
+ "foreground": "#9abdf5"
2442
+ }
2443
+ },
2444
+ {
2445
+ "name": "Markdown - Plain",
2446
+ "scope": ["meta.embedded.block"],
2447
+ "settings": {
2448
+ "foreground": "#c0caf5"
2449
+ }
2450
+ },
2451
+ {
2452
+ "name": "HTML text",
2453
+ "scope": [
2454
+ "meta.tag JSXNested",
2455
+ "meta.jsx.children",
2456
+ "text.html",
2457
+ "text.log"
2458
+ ],
2459
+ "settings": {
2460
+ "foreground": "#9aa5ce"
2461
+ }
2462
+ },
2463
+ {
2464
+ "name": "Markdown - Markup Raw Inline",
2465
+ "scope": "text.html.markdown markup.inline.raw.markdown",
2466
+ "settings": {
2467
+ "foreground": "#bb9af7"
2468
+ }
2469
+ },
2470
+ {
2471
+ "name": "Markdown - Markup Raw Inline Punctuation",
2472
+ "scope": "text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown",
2473
+ "settings": {
2474
+ "foreground": "#4E5579"
2475
+ }
2476
+ },
2477
+ {
2478
+ "name": "Markdown - Heading 1",
2479
+ "scope": [
2480
+ "heading.1.markdown entity.name",
2481
+ "heading.1.markdown punctuation.definition.heading.markdown"
2482
+ ],
2483
+ "settings": {
2484
+ "fontStyle": "bold",
2485
+ "foreground": "#89ddff"
2486
+ }
2487
+ },
2488
+ {
2489
+ "name": "Markdown - Heading 2",
2490
+ "scope": [
2491
+ "heading.2.markdown entity.name",
2492
+ "heading.2.markdown punctuation.definition.heading.markdown"
2493
+ ],
2494
+ "settings": {
2495
+ "fontStyle": "bold",
2496
+ "foreground": "#61bdf2"
2497
+ }
2498
+ },
2499
+ {
2500
+ "name": "Markdown - Heading 3",
2501
+ "scope": [
2502
+ "heading.3.markdown entity.name",
2503
+ "heading.3.markdown punctuation.definition.heading.markdown"
2504
+ ],
2505
+ "settings": {
2506
+ "fontStyle": "bold",
2507
+ "foreground": "#7aa2f7"
2508
+ }
2509
+ },
2510
+ {
2511
+ "name": "Markdown - Heading 4",
2512
+ "scope": [
2513
+ "heading.4.markdown entity.name",
2514
+ "heading.4.markdown punctuation.definition.heading.markdown"
2515
+ ],
2516
+ "settings": {
2517
+ "fontStyle": "bold",
2518
+ "foreground": "#6d91de"
2519
+ }
2520
+ },
2521
+ {
2522
+ "name": "Markdown - Heading 5",
2523
+ "scope": [
2524
+ "heading.5.markdown entity.name",
2525
+ "heading.5.markdown punctuation.definition.heading.markdown"
2526
+ ],
2527
+ "settings": {
2528
+ "fontStyle": "bold",
2529
+ "foreground": "#9aa5ce"
2530
+ }
2531
+ },
2532
+ {
2533
+ "name": "Markdown - Heading 6",
2534
+ "scope": [
2535
+ "heading.6.markdown entity.name",
2536
+ "heading.6.markdown punctuation.definition.heading.markdown"
2537
+ ],
2538
+ "settings": {
2539
+ "fontStyle": "bold",
2540
+ "foreground": "#747ca1"
2541
+ }
2542
+ },
2543
+ {
2544
+ "name": "Markup - Italic",
2545
+ "scope": ["markup.italic", "markup.italic punctuation"],
2546
+ "settings": {
2547
+ "fontStyle": "italic",
2548
+ "foreground": "#c0caf5"
2549
+ }
2550
+ },
2551
+ {
2552
+ "name": "Markup - Bold",
2553
+ "scope": ["markup.bold", "markup.bold punctuation"],
2554
+ "settings": {
2555
+ "fontStyle": "bold",
2556
+ "foreground": "#c0caf5"
2557
+ }
2558
+ },
2559
+ {
2560
+ "name": "Markup - Bold-Italic",
2561
+ "scope": [
2562
+ "markup.bold markup.italic",
2563
+ "markup.bold markup.italic punctuation"
2564
+ ],
2565
+ "settings": {
2566
+ "fontStyle": "bold italic",
2567
+ "foreground": "#c0caf5"
2568
+ }
2569
+ },
2570
+ {
2571
+ "name": "Markup - Underline",
2572
+ "scope": ["markup.underline", "markup.underline punctuation"],
2573
+ "settings": {
2574
+ "fontStyle": "underline"
2575
+ }
2576
+ },
2577
+ {
2578
+ "name": "Markdown - Blockquote",
2579
+ "scope": "markup.quote punctuation.definition.blockquote.markdown",
2580
+ "settings": {
2581
+ "foreground": "#4e5579"
2582
+ }
2583
+ },
2584
+ {
2585
+ "name": "Markup - Quote",
2586
+ "scope": "markup.quote",
2587
+ "settings": {
2588
+ "fontStyle": "italic"
2589
+ }
2590
+ },
2591
+ {
2592
+ "name": "Markdown - Link",
2593
+ "scope": [
2594
+ "string.other.link",
2595
+ "markup.underline.link",
2596
+ "constant.other.reference.link.markdown",
2597
+ "string.other.link.description.title.markdown"
2598
+ ],
2599
+ "settings": {
2600
+ "foreground": "#73daca"
2601
+ }
2602
+ },
2603
+ {
2604
+ "name": "Markdown - Fenced Code Block",
2605
+ "scope": [
2606
+ "markup.fenced_code.block.markdown",
2607
+ "markup.inline.raw.string.markdown",
2608
+ "variable.language.fenced.markdown"
2609
+ ],
2610
+ "settings": {
2611
+ "foreground": "#89ddff"
2612
+ }
2613
+ },
2614
+ {
2615
+ "name": "Markdown - Separator",
2616
+ "scope": "meta.separator",
2617
+ "settings": {
2618
+ "fontStyle": "bold",
2619
+ "foreground": "#51597d"
2620
+ }
2621
+ },
2622
+ {
2623
+ "name": "Markup - Table",
2624
+ "scope": "markup.table",
2625
+ "settings": {
2626
+ "foreground": "#c0cefc"
2627
+ }
2628
+ },
2629
+ {
2630
+ "name": "Token - Info",
2631
+ "scope": "token.info-token",
2632
+ "settings": {
2633
+ "foreground": "#0db9d7"
2634
+ }
2635
+ },
2636
+ {
2637
+ "name": "Token - Warn",
2638
+ "scope": "token.warn-token",
2639
+ "settings": {
2640
+ "foreground": "#ffdb69"
2641
+ }
2642
+ },
2643
+ {
2644
+ "name": "Token - Error",
2645
+ "scope": "token.error-token",
2646
+ "settings": {
2647
+ "foreground": "#db4b4b"
2648
+ }
2649
+ },
2650
+ {
2651
+ "name": "Token - Debug",
2652
+ "scope": "token.debug-token",
2653
+ "settings": {
2654
+ "foreground": "#b267e6"
2655
+ }
2656
+ },
2657
+ {
2658
+ "name": "Apache Tag",
2659
+ "scope": "entity.tag.apacheconf",
2660
+ "settings": {
2661
+ "foreground": "#f7768e"
2662
+ }
2663
+ },
2664
+ {
2665
+ "name": "Preprocessor",
2666
+ "scope": ["meta.preprocessor"],
2667
+ "settings": {
2668
+ "foreground": "#73daca"
2669
+ }
2670
+ },
2671
+ {
2672
+ "name": "ENV value",
2673
+ "scope": "source.env",
2674
+ "settings": {
2675
+ "foreground": "#7aa2f7"
2676
+ }
2677
+ }
2678
+ ]
2679
+ }
2680
+ `,Ct=`{
2681
+ "name": "VSCode Default Dark (baseline)",
2682
+ "type": "dark",
2683
+ "colors": {
2684
+ "focusBorder": "#007FD4",
2685
+ "errorForeground": "#F48771",
2686
+
2687
+ "editor.background": "#1E1E1E",
2688
+ "editor.foreground": "#BBBBBB",
2689
+ "editor.selectionBackground": "#264F78",
2690
+
2691
+ "editorWidget.background": "#252526",
2692
+
2693
+ "panel.border": "#80808059",
2694
+
2695
+ "sideBar.background": "#252526",
2696
+
2697
+ "tab.inactiveBackground": "#2D2D2D",
2698
+ "editorGroupHeader.tabsBackground": "#252526",
2699
+
2700
+ "list.activeSelectionBackground": "#04395E",
2701
+ "list.activeSelectionForeground": "#FFFFFF",
2702
+ "list.inactiveSelectionBackground": "#37373D",
2703
+ "list.hoverBackground": "#2A2D2E",
2704
+
2705
+ "textLink.foreground": "#3794FF",
2706
+ "button.background": "#0E639C",
2707
+ "button.secondaryHoverBackground": "#3D4244",
2708
+
2709
+ "terminal.foreground": "#CCCCCC",
2710
+
2711
+ "terminal.ansiBlack": "#000000",
2712
+ "terminal.ansiRed": "#CD3131",
2713
+ "terminal.ansiGreen": "#0DBC79",
2714
+ "terminal.ansiYellow": "#E5E510",
2715
+ "terminal.ansiBlue": "#2472C8",
2716
+ "terminal.ansiMagenta": "#BC3FBC",
2717
+ "terminal.ansiCyan": "#11A8CD",
2718
+ "terminal.ansiWhite": "#E5E5E5",
2719
+ "terminal.ansiBrightBlack": "#666666",
2720
+ "terminal.ansiBrightRed": "#F14C4C",
2721
+ "terminal.ansiBrightGreen": "#23D18B",
2722
+ "terminal.ansiBrightYellow": "#F5F543",
2723
+ "terminal.ansiBrightBlue": "#3B8EEA",
2724
+ "terminal.ansiBrightMagenta": "#D670D6",
2725
+ "terminal.ansiBrightCyan": "#29B8DB",
2726
+ "terminal.ansiBrightWhite": "#E5E5E5",
2727
+
2728
+ "gitDecoration.addedResourceForeground": "#81B88B",
2729
+ "gitDecoration.modifiedResourceForeground": "#E2C08D",
2730
+ "gitDecoration.deletedResourceForeground": "#C74E39",
2731
+
2732
+ "scmGraph.foreground1": "#FFB000",
2733
+ "scmGraph.foreground2": "#DC267F",
2734
+ "scmGraph.foreground3": "#994F00",
2735
+ "scmGraph.foreground4": "#40B0A6",
2736
+ "scmGraph.foreground5": "#B66DFF",
2737
+ "scmGraph.historyItemRefColor": "#59A4F9"
2738
+ }
2739
+ }
2740
+ `,wt=`{
2741
+ "name": "VSCode Default Light (baseline)",
2742
+ "type": "light",
2743
+ "colors": {
2744
+ "focusBorder": "#0090F1",
2745
+ "errorForeground": "#A1260D",
2746
+
2747
+ "editor.background": "#FFFFFF",
2748
+ "editor.foreground": "#333333",
2749
+ "editor.selectionBackground": "#ADD6FF",
2750
+
2751
+ "editorWidget.background": "#F3F3F3",
2752
+
2753
+ "panel.border": "#80808059",
2754
+
2755
+ "sideBar.background": "#F3F3F3",
2756
+
2757
+ "tab.inactiveBackground": "#ECECEC",
2758
+ "editorGroupHeader.tabsBackground": "#F3F3F3",
2759
+
2760
+ "list.activeSelectionBackground": "#0060C0",
2761
+ "list.activeSelectionForeground": "#FFFFFF",
2762
+ "list.inactiveSelectionBackground": "#E4E6F1",
2763
+ "list.hoverBackground": "#F0F0F0",
2764
+
2765
+ "textLink.foreground": "#006AB1",
2766
+ "button.background": "#007ACC",
2767
+ "button.secondaryHoverBackground": "#E5E5E5",
2768
+
2769
+ "terminal.foreground": "#333333",
2770
+
2771
+ "terminal.ansiBlack": "#000000",
2772
+ "terminal.ansiRed": "#CD3131",
2773
+ "terminal.ansiGreen": "#107C10",
2774
+ "terminal.ansiYellow": "#949800",
2775
+ "terminal.ansiBlue": "#0451A5",
2776
+ "terminal.ansiMagenta": "#BC05BC",
2777
+ "terminal.ansiCyan": "#0598BC",
2778
+ "terminal.ansiWhite": "#555555",
2779
+ "terminal.ansiBrightBlack": "#666666",
2780
+ "terminal.ansiBrightRed": "#CD3131",
2781
+ "terminal.ansiBrightGreen": "#14CE14",
2782
+ "terminal.ansiBrightYellow": "#B5BA00",
2783
+ "terminal.ansiBrightBlue": "#0451A5",
2784
+ "terminal.ansiBrightMagenta": "#BC05BC",
2785
+ "terminal.ansiBrightCyan": "#0598BC",
2786
+ "terminal.ansiBrightWhite": "#A5A5A5",
2787
+
2788
+ "gitDecoration.addedResourceForeground": "#587C0C",
2789
+ "gitDecoration.modifiedResourceForeground": "#895503",
2790
+ "gitDecoration.deletedResourceForeground": "#AD0707",
2791
+
2792
+ "scmGraph.foreground1": "#FFB000",
2793
+ "scmGraph.foreground2": "#DC267F",
2794
+ "scmGraph.foreground3": "#994F00",
2795
+ "scmGraph.foreground4": "#40B0A6",
2796
+ "scmGraph.foreground5": "#B66DFF",
2797
+ "scmGraph.historyItemRefColor": "#0063D3"
2798
+ }
2799
+ }
2800
+ `,Tt=[{target:`tab.activeBackground`,source:`editor.background`},{target:`terminal.background`,source:`editor.background`},{target:`terminal.selectionBackground`,source:`editor.selectionBackground`},{target:`terminalCursor.foreground`,source:`terminal.foreground`},{target:`terminalCursor.background`,source:`terminal.background`},{target:`sideBar.foreground`,source:`editor.foreground`},{target:`descriptionForeground`,source:`editor.foreground`,alpha:.7},{target:`editorWidget.border`,source:`editor.foreground`,alpha:.2},{target:`button.secondaryBackground`,source:`list.hoverBackground`}],F=class extends Error{constructor(e){super(e),this.name=`ThemeValidationError`}};function Et(e){let t=``,n=0,r=e.length;for(;n<r;){let i=e[n],a=e[n+1];if(i===`"`){for(t+=i,n++;n<r;){let i=e[n];if(t+=i,i===`\\`&&n+1<r){t+=e[n+1],n+=2;continue}if(n++,i===`"`)break}continue}if(i===`/`&&a===`/`){for(;n<r&&e[n]!==`
2801
+ `;)n++;continue}if(i===`/`&&a===`*`){for(n+=2;n<r&&!(e[n]===`*`&&e[n+1]===`/`);)e[n]===`
2802
+ `&&(t+=`
2803
+ `),n++;n+=2;continue}t+=i,n++}return t}function Dt(e){let t=``,n=0,r=e.length;for(;n<r;){let i=e[n];if(i===`"`){for(t+=i,n++;n<r;){let i=e[n];if(t+=i,i===`\\`&&n+1<r){t+=e[n+1],n+=2;continue}if(n++,i===`"`)break}continue}if(i===`,`){let t=n+1;for(;t<r&&/\s/.test(e[t]);)t++;if(t<r&&(e[t]===`}`||e[t]===`]`)){n++;continue}}t+=i,n++}return t}function I(e){let t;try{t=JSON.parse(Dt(Et(e)))}catch(e){throw new F(`Invalid JSON: ${e.message}`)}if(!t||typeof t!=`object`)throw new F(`Theme JSON must be an object`);let n=t;if(!n.colors||typeof n.colors!=`object`)throw new F("Theme JSON must have a `colors` object");let r=n.colors,i={};for(let[e,t]of Object.entries(r))typeof t==`string`&&(i[e]=t);let a=n.type;if(a!==void 0&&a!==`dark`&&a!==`light`&&a!==`hc`&&a!==`hcLight`)throw new F(`Theme \`type\` must be "dark" | "light" | "hc" | "hcLight" (got ${JSON.stringify(a)})`);return{name:typeof n.name==`string`?n.name:``,type:a,colors:i}}function Ot(e){return e.type===`light`||e.type===`hcLight`?`light`:e.type===`dark`||e.type===`hc`||kt(e.colors[`editor.background`]??`#000000`)?`dark`:`light`}function kt(e){let t=At(e);return t?(t.r*299+t.g*587+t.b*114)/1e3<128:!0}function At(e){let t=/^#([0-9a-fA-F]{6,8})$/.exec(e);if(!t)return null;let n=t[1];return{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16)}}function jt(e,t){let n=/^#([0-9a-fA-F]{6})([0-9a-fA-F]{2})$/.exec(e);if(n){let e=parseInt(n[2],16)/255,r=Math.round(Math.max(0,Math.min(1,e*t))*255);return`#${n[1]}${r.toString(16).padStart(2,`0`)}`}return/^#[0-9a-fA-F]{6}$/.test(e)?`${e}${Math.round(Math.max(0,Math.min(1,t))*255).toString(16).padStart(2,`0`)}`:e}var Mt=I(Ct),Nt=I(wt);function Pt(e){let t={...(Ot(e)===`dark`?Mt:Nt).colors,...e.colors};for(let e=0;e<8;e++){let e=!1;for(let n of Tt){if(t[n.target])continue;let r=t[n.source];r&&(t[n.target]=n.alpha==null?r:jt(r,n.alpha),e=!0)}if(!e)break}return{...e,colors:t}}function Ft(e){let t=e.colors,n=Ot(e);return{"--theme-editor-bg":t[`editor.background`],"--theme-editor-fg":t[`editor.foreground`],"--theme-sidebar-bg":t[`sideBar.background`],"--theme-sidebar-fg":t[`sideBar.foreground`],"--theme-terminal-bg":t[`terminal.background`],"--theme-description-fg":t.descriptionForeground,"--theme-border":t[`panel.border`],"--theme-link-fg":t[`textLink.foreground`],"--theme-list-active-bg":t[`list.activeSelectionBackground`],"--theme-list-inactive-bg":t[`list.inactiveSelectionBackground`],"--theme-list-active-fg":t[`list.activeSelectionForeground`],"--theme-list-hover-bg":t[`list.hoverBackground`],"--theme-button-secondary-bg":t[`button.secondaryBackground`],"--theme-button-secondary-hover-bg":t[`button.secondaryHoverBackground`],"--theme-tab-active-bg":t[`tab.activeBackground`],"--theme-tab-inactive-bg":t[`tab.inactiveBackground`],"--theme-tab-strip-bg":t[`editorGroupHeader.tabsBackground`],"--theme-git-added":t[`gitDecoration.addedResourceForeground`],"--theme-git-modified":t[`gitDecoration.modifiedResourceForeground`],"--theme-git-deleted":t[`gitDecoration.deletedResourceForeground`],"--theme-warning":t[`list.warningForeground`]??t[`editorWarning.foreground`]??t[`inputValidation.warningBorder`]??t[`notificationsWarningIcon.foreground`]??(n===`light`?`#855f00`:`#d7ba7d`),"--theme-diff-added-bg":t[`diffEditor.insertedLineBackground`]??t[`diffEditor.insertedTextBackground`]??(n===`light`?`#e3ffef`:`#243733`),"--theme-diff-deleted-bg":t[`diffEditor.removedLineBackground`]??t[`diffEditor.removedTextBackground`]??(n===`light`?`#ffe6ed`:`#3f282d`),"--theme-graph-branch-1":t[`scmGraph.foreground1`],"--theme-graph-branch-2":t[`scmGraph.foreground2`],"--theme-graph-branch-3":t[`scmGraph.foreground3`],"--theme-graph-branch-4":t[`scmGraph.foreground4`],"--theme-graph-branch-5":t[`scmGraph.foreground5`],"--theme-graph-ref-base":t[`scmGraph.historyItemRefColor`]}}function It(e){let t=e.colors;return{background:t[`terminal.background`],foreground:t[`terminal.foreground`],cursor:t[`terminalCursor.foreground`],cursorAccent:t[`terminalCursor.background`],selectionBackground:t[`terminal.selectionBackground`],black:t[`terminal.ansiBlack`],red:t[`terminal.ansiRed`],green:t[`terminal.ansiGreen`],yellow:t[`terminal.ansiYellow`],blue:t[`terminal.ansiBlue`],magenta:t[`terminal.ansiMagenta`],cyan:t[`terminal.ansiCyan`],white:t[`terminal.ansiWhite`],brightBlack:t[`terminal.ansiBrightBlack`],brightRed:t[`terminal.ansiBrightRed`],brightGreen:t[`terminal.ansiBrightGreen`],brightYellow:t[`terminal.ansiBrightYellow`],brightBlue:t[`terminal.ansiBrightBlue`],brightMagenta:t[`terminal.ansiBrightMagenta`],brightCyan:t[`terminal.ansiBrightCyan`],brightWhite:t[`terminal.ansiBrightWhite`]}}function Lt(e,t,n){let r=Pt(t);return{id:e,name:t.name,mode:Ot(t),source:n,tokens:Ft(r),terminal:It(r)}}function L(e,t){return Lt(e,I(t),`builtin`)}var R=[L(`parasor-dark`,yt),L(`parasor-light`,bt),L(`tokyo-night`,St),L(`solarized-light`,xt),L(`monokai`,vt)],Rt=R[0].id,zt=Object.keys(R[0].tokens),z=[{id:`jetbrains-mono`,name:`JetBrains Mono`,category:`latin`,family:`JetBrains Mono`,zipSizeMb:5,description:`Popular coding font with ligatures.`},{id:`fira-code`,name:`Fira Code`,category:`latin`,family:`Fira Code`,zipSizeMb:3,description:`Monospace font with programming ligatures.`},{id:`udev-gothic`,name:`UDEV Gothic`,category:`asian`,family:`UDEV Gothic`,zipSizeMb:59,description:`JetBrains Mono + BIZ UDGothic. Japanese, 2:1 CJK alignment.`},{id:`d2-coding`,name:`D2 Coding`,category:`asian`,family:`D2 Coding`,zipSizeMb:20,description:`Naver D2 Coding. Korean coding font with Hangul support.`},{id:`maple-mono-cn`,name:`Maple Mono CN`,category:`asian`,family:`Maple Mono CN`,zipSizeMb:134,description:`Maple Mono with Simplified Chinese coverage.`}];function Bt(e){return z.find(t=>t.id===e)}async function Vt(){try{let e=await st(`/api/fonts/catalog`,{credentials:`same-origin`});if(!e.ok)return z.map(Ht);let t=await e.json(),n=new Map;for(let e of t.presets??[])n.set(e.id,e.installed);return z.map(e=>({...e,installed:n.get(e.id)??!1}))}catch{return z.map(Ht)}}function Ht(e){return{...e,installed:!1}}async function Ut(e){let t=await st(`/api/fonts/install`,{method:`POST`,headers:{"content-type":`application/json`},credentials:`same-origin`,body:JSON.stringify({id:e})}),n=await t.json().catch(()=>null);if(!t.ok)throw Error(n?.error??`install failed (${t.status})`);return n}var Wt=`parasor:settings`,Gt=`parasor:custom-themes`,Kt=`custom:`,qt=`parasor:active-theme-tokens`,Jt=`parasor:active-theme-mode`,B={min:12,max:22},V={min:12,max:22},H={themeId:Rt,uiFontSize:16,contentFontSize:16,uiFontFamily:``,customFontFamily:``,fontPresetId:``,playAttentionSound:!1,playCompletionSound:!1};function Yt(){try{let e=localStorage.getItem(Gt);if(!e)return[];let t=JSON.parse(e);return Array.isArray(t)?t.filter(e=>!!e&&typeof e==`object`&&typeof e.id==`string`&&typeof e.json==`string`):[]}catch{return[]}}function Xt(e){let t=[];for(let n of e)try{t.push(Lt(n.id,I(n.json),`custom`))}catch{}return t}function Zt(e){try{localStorage.setItem(Gt,JSON.stringify(e))}catch{}}function Qt(){try{let e=localStorage.getItem(Wt);if(!e)return H;let t=JSON.parse(e);return{themeId:typeof t.themeId==`string`&&t.themeId?t.themeId:H.themeId,uiFontSize:typeof t.uiFontSize==`number`?Math.min(V.max,Math.max(V.min,t.uiFontSize)):H.uiFontSize,contentFontSize:typeof t.contentFontSize==`number`?Math.min(B.max,Math.max(B.min,t.contentFontSize)):H.contentFontSize,customFontFamily:typeof t.customFontFamily==`string`?t.customFontFamily:H.customFontFamily,uiFontFamily:typeof t.uiFontFamily==`string`?t.uiFontFamily:H.uiFontFamily,fontPresetId:typeof t.fontPresetId==`string`?t.fontPresetId:H.fontPresetId,playAttentionSound:typeof t.playAttentionSound==`boolean`?t.playAttentionSound:H.playAttentionSound,playCompletionSound:typeof t.playCompletionSound==`boolean`?t.playCompletionSound:H.playCompletionSound}}catch{return H}}function $t(e){try{localStorage.setItem(Wt,JSON.stringify(e))}catch{}}function en(e,t=()=>Date.now()){for(let n=0;n<1e3;n++){let r=`${Kt}${t().toString(36)}-${n}`;if(!e.has(r))return r}throw Error(`Failed to generate unique theme id`)}function tn(e,t,n=()=>Date.now()){let r=e.name.trim();if(!r)throw new F(`Theme name is required`);let i=I(e.json),a=en(new Set(t),n),o={...i,name:r};return{entry:Lt(a,o,`custom`),storedTheme:{id:a,json:JSON.stringify(o)}}}var nn=(0,h.createContext)(null),rn=1200;function an(e){if(typeof window>`u`)return()=>{};let t=!1,n=window.setTimeout(()=>{n=null,o()},rn),r=window.requestAnimationFrame(()=>{r=null,i=window.requestAnimationFrame(()=>{i=null,n!==null&&(window.clearTimeout(n),n=null);let e=window.requestIdleCallback;if(e){a=e(o,{timeout:2e3});return}o()})}),i=null,a=null;function o(){t||(t=!0,e())}return()=>{t=!0,n!==null&&window.clearTimeout(n),r!==null&&window.cancelAnimationFrame(r),i!==null&&window.cancelAnimationFrame(i),a!==null&&window.cancelIdleCallback?.(a)}}function on({children:e}){let[t,n]=(0,h.useState)(()=>Qt()),[r,i]=(0,h.useState)(()=>Yt()),a=(0,h.useMemo)(()=>Xt(r),[r]),o=(0,h.useMemo)(()=>[...R,...a],[a]),s=(0,h.useMemo)(()=>o.find(e=>e.id===t.themeId)??R[0],[o,t.themeId]),c=(0,h.useMemo)(()=>{let e=t.fontPresetId?Bt(t.fontPresetId):void 0,n=[],r=t.customFontFamily.trim();return r.length>0&&n.push(r),e&&n.push(e.family),_t(n.join(`, `))},[t.customFontFamily,t.fontPresetId]),l=(0,h.useMemo)(()=>_t(t.uiFontFamily,pt),[t.uiFontFamily]);(0,h.useEffect)(()=>{let e=t.fontPresetId?Bt(t.fontPresetId):void 0;if(e)return an(()=>{dt({family:e.family,url:`/api/fonts/file/${e.id}`}).catch(()=>{})})},[t.fontPresetId]),(0,h.useEffect)(()=>{let e=document.documentElement;e.dataset.theme=s.mode,e.style.setProperty(`--parasor-ui-font-size`,`${t.uiFontSize}px`),e.style.setProperty(`--parasor-ui-font`,l),e.style.setProperty(`--parasor-content-font-size`,`${t.contentFontSize}px`),e.style.setProperty(`--parasor-font-size`,`${t.contentFontSize}px`),e.style.setProperty(`--parasor-content-font`,c),e.style.setProperty(`--parasor-font`,c);for(let t of zt)e.style.setProperty(t,s.tokens[t]);try{localStorage.setItem(qt,JSON.stringify(s.tokens)),localStorage.setItem(Jt,s.mode)}catch{}},[s,c,l,t.contentFontSize,t.uiFontSize]),(0,h.useEffect)(()=>{$t(t)},[t]),(0,h.useEffect)(()=>{Zt(r)},[r]),(0,h.useEffect)(()=>{o.some(e=>e.id===t.themeId)||n(e=>({...e,themeId:Rt}))},[o,t.themeId]);let u=(0,h.useCallback)(e=>{n(t=>({...t,themeId:e}))},[]),d=(0,h.useCallback)(e=>{let t=Math.min(V.max,Math.max(V.min,Math.round(e)));n(e=>({...e,uiFontSize:t}))},[]),f=(0,h.useCallback)(e=>{n(t=>({...t,uiFontFamily:e}))},[]),p=(0,h.useCallback)(e=>{let t=Math.min(B.max,Math.max(B.min,Math.round(e)));n(e=>({...e,contentFontSize:t}))},[]),m=(0,h.useCallback)(e=>{n(t=>({...t,customFontFamily:e}))},[]),g=(0,h.useCallback)(e=>{n(t=>({...t,fontPresetId:e}))},[]),v=(0,h.useCallback)(e=>{n(t=>({...t,playAttentionSound:e}))},[]),y=(0,h.useCallback)(e=>{n(t=>({...t,playCompletionSound:e}))},[]),b=(0,h.useCallback)(e=>{let{entry:t,storedTheme:n}=tn(e,[...R.map(e=>e.id),...r.map(e=>e.id)]);return i(e=>[...e,n]),t},[r]),x=(0,h.useCallback)(e=>{i(t=>t.filter(t=>t.id!==e))},[]),S=(0,h.useMemo)(()=>({...t,themes:o,activeTheme:s,customThemes:a,resolvedFontStack:c,resolvedUiFontStack:l,setThemeId:u,setUiFontFamily:f,setUiFontSize:d,setContentFontSize:p,setCustomFontFamily:m,setFontPresetId:g,setPlayAttentionSound:v,setPlayCompletionSound:y,addCustomTheme:b,removeCustomTheme:x}),[s,b,a,x,l,c,p,m,g,v,y,f,d,u,t,o]);return(0,_.jsx)(nn.Provider,{value:S,children:e})}function sn(){let e=(0,h.useContext)(nn);if(!e)throw Error(`useSettings must be used within SettingsProvider`);return e}function cn(e){if(e.length===0)return{count:0,minMs:0,medianMs:0,maxMs:0};let t=[...e].sort((e,t)=>e-t),n=Math.floor(t.length/2),r=t.length%2==0?(t[n-1]+t[n])/2:t[n];return{count:t.length,minMs:ln(t[0]),medianMs:ln(r),maxMs:ln(t[t.length-1])}}function ln(e){return Math.round(e*10)/10}function U(e,t,n,r=1/0){let i=new Map,a=[];for(let o of e){let e=o.sessionId??``;if(o.type===t){let t=i.get(e)??[];t.push(o.t),i.set(e,t);continue}if(o.type===n){let t=i.get(e)?.shift();if(t===void 0)continue;let n=o.t-t;n>=0&&n<=r&&a.push(n)}}return a}var un=8e3,dn=2e3;function fn(e){let t=U(e,`terminal-mount`,`xterm-cache-replay-paint`,un).concat(U(e,`terminal-mount`,`xterm-replay-paint`,un)).concat(U(e,`terminal-visible-refresh`,`xterm-render`,dn)),n=U(e,`xterm-replay-reset`,`xterm-replay-paint`,un).concat(U(e,`xterm-cache-replay-start`,`xterm-cache-replay-paint`,un)),r=e.filter(e=>e.type===`terminal-resize-apply`),i=r.map(e=>e.durationMs).filter(e=>typeof e==`number`),a=r.map(e=>e.resizeDurationMs).filter(e=>typeof e==`number`),o=0,s=0;for(let t of e)t.type===`main-thread-drift`&&(s+=1,typeof t.driftMs==`number`&&(o=Math.max(o,t.driftMs)));return{k1SwitchToPaint:cn(t),k2KeyboardResize:cn(i),k2ResizeInner:cn(a),k3ClearRedrawBlank:cn(n),signatures:{anchorChangedResizes:r.filter(e=>e.reason===`anchor-changed`).length,deferredResizeFlushes:e.filter(e=>e.type===`terminal-resize-deferred-flush`).length,historyLoadSuppressed:e.filter(e=>e.type===`terminal-history-load-suppressed`).length,mainThreadDriftEvents:s,maxMainThreadDriftMs:ln(o)}}}var pn=`parasor:terminal-trace`,W=2e3,mn=250,hn=50,gn=2e3,_n=100,vn=new Set([`socket-output`,`xterm-output-batch`,`xterm-write-start`,`xterm-write-callback`]),yn=1e3,bn=1500,xn=250,Sn=5e3,Cn=`terminal-input-background`,wn=`client-startup-load`,Tn=80,En=12,Dn=24,On=16,kn=Array(W),G=0,K=0,q=0,An=!1,jn=null,Mn=new Map,J=[],Nn=new Set,Pn=0,Fn=new Set,In=0;function Y(){return performance.now()}function Ln(){try{let e=new URLSearchParams(window.location.search).get(`terminalTrace`);return e===`1`||e===`true`}catch{return!1}}function Rn(){try{return Ln()?(window.localStorage.setItem(pn,`1`),!0):window.localStorage.getItem(pn)===`1`}catch{return Ln()}}function zn(e){jn=e;try{e?window.localStorage.setItem(pn,`1`):window.localStorage.removeItem(pn)}catch{}}function Bn(){Q(),zn(!0)}function Vn(){zn(!1)}function X(){return typeof window>`u`?!1:(Q(),jn===null&&(jn=Rn()),jn)}function Hn(){let e={},t=0,n=0,r=new Map,i=Z();for(let a of i)if(e[a.type]=(e[a.type]??0)+1,a.type===`main-thread-drift`&&typeof a.driftMs==`number`&&(t=Math.max(t,a.driftMs)),a.type===`xterm-write-start`)r.set(a.seq,a);else if(a.type===`xterm-write-callback`){let e=[...r.values()].filter(e=>e.sessionId===a.sessionId).at(-1);e&&(n=Math.max(n,a.t-e.t))}return{enabled:X(),eventCount:K,firstEventAt:i[0]?.t??null,lastEventAt:i.at(-1)?.t??null,maxMainThreadDriftMs:t,maxWriteCallbackMs:n,byType:e}}function Un(e){return`${e.type}:${e.sessionId??``}:${e.clientId??``}`}function Wn(e){if(!vn.has(e.type))return e;let t=Un(e),n=Mn.get(t),r=e.dataLength??0,i=e.byteLength??0;if(!n)return Mn.set(t,{firstAt:e.t,count:1,dataLength:r,byteLength:i}),{...e,sampledEvents:1,sampledDataLength:r,sampledByteLength:i,sampleWindowMs:0};n.count+=1,n.dataLength+=r,n.byteLength+=i;let a=e.t-n.firstAt;if(n.count<_n&&a<gn)return null;let o={...e,dataLength:n.dataLength,byteLength:n.byteLength,sampledEvents:n.count,sampledDataLength:n.dataLength,sampledByteLength:n.byteLength,sampleWindowMs:a};return Mn.delete(t),o}function Gn(e){if(K<W){kn[(G+K)%W]=e,K+=1;return}kn[G]=e,G=(G+1)%W}function Z(){let e=[];for(let t=0;t<K;t++)e.push(kn[(G+t)%W]);return e}function Q(){typeof window>`u`||An||(An=!0,window.parasorTerminalTrace={dump:Z,dumpBottomRows:Yn,captureTerminalInput:Zn,clear:()=>{G=0,K=0,q=0,Mn.clear(),Nn.clear(),Pn=0,Fn.clear(),In=0},summary:Hn,kpi:()=>fn(Z()),enabled:X,enable:Bn,disable:Vn,flush:()=>{}})}function $(e){if(!e)return;let t=typeof e.sessionId==`string`&&e.sessionId.length>0?e.sessionId:void 0,n=typeof e.paneId==`string`&&e.paneId.length>0?e.paneId:void 0;if(!(!t&&!n))return{...t?{sessionId:t}:{},...n?{paneId:n}:{}}}function Kn(e,t){return!(t.sessionId&&e.sessionId!==t.sessionId||t.paneId&&e.paneId!==t.paneId)}function qn(e){let t=$(e);if(t){let e=[...J].reverse().find(e=>Kn(e.source,t))??null;return{entry:e,source:{status:e?`selected`:`missing`,requested:t,...e?{selected:e.source}:{}}}}let n=J.at(-1)??null;return{entry:n,source:{status:n?`selected`:`missing`,...n?{selected:n.source}:{}}}}function Jn(e){return typeof e==`number`?{rowCount:e}:typeof e==`object`&&e?{rowCount:typeof e.rowCount==`number`?e.rowCount:void 0,target:$(e)}:{}}function Yn(e){let{rowCount:t,target:n}=Jn(e),{entry:r}=qn(n);return r?.provider(t)??null}function Xn(e,t){for(let n=e.length-1;n>=0;--n){let r=e[n]?.[t];if(typeof r==`string`&&r.length>0)return r}}async function Zn(e=`manual`,t){let n=await er(Qn(e,[],t));return n.json().catch(()=>({ok:n.ok}))}function Qn(e,t=[],n){Q();let r=[...Z(),...t].slice(-Tn),i=Xn(r,`sessionId`),a=$(n)??$({sessionId:i}),{entry:o,source:s}=qn(a),c=o?.provider(En)??null;return{diagnostic:Cn,reason:e,sessionId:a?.sessionId??s.selected?.sessionId??i,clientId:Xn(r,`clientId`),source:s,events:r,bottomRows:c}}function $n(e,t=[]){Q();let n=[...Z(),...t].slice(-Tn);return{diagnostic:wn,reason:e,sessionId:Xn(n,`sessionId`),clientId:Xn(n,`clientId`),events:n,bottomRows:null}}function er(e){return st(`/api/debug/terminal-trace/client-diagnostic`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify(e)})}function tr(e){if(typeof e!=`object`||!e)return null;let t=e,n=Array.isArray(t.rowsSampled)?t.rowsSampled.slice(-4).map(e=>{if(typeof e!=`object`||!e)return null;let t=e;return{line:t.line,viewportRow:t.viewportRow,text:t.text,attrRuns:t.attrRuns}}):[];return{cols:t.cols,rows:t.rows,cursorX:t.cursorX,cursorY:t.cursorY,viewportY:t.viewportY,baseY:t.baseY,renderer:t.renderer,rowsSampled:n}}function nr(e){let t=e.events.at(-1);return JSON.stringify({reason:e.reason,sessionId:e.sessionId,clientId:e.clientId,eventType:t?.type,cols:t?.cols,rows:t?.rows,viewportY:t?.viewportY,baseY:t?.baseY,ptyResizeSent:t?.ptyResizeSent,ptyResizeSuppressedReason:t?.ptyResizeSuppressedReason,source:e.source,bottomRows:tr(e.bottomRows)})}function rr(e){let t=e.events.at(-1);return JSON.stringify({reason:e.reason,eventType:t?.type,durationMs:t?.durationMs,delayMs:t?.delayMs,timeoutMs:t?.timeoutMs,routeKind:t?.routeKind,status:t?.status})}function ir(e,t){if(typeof window>`u`||Pn>=Dn)return;let n=Qn(e,[{seq:q+1,t:Y(),...t}]),r=nr(n);Nn.has(r)||(Nn.add(r),Pn+=1,er(n).catch(()=>{}))}function ar(e,t){if(typeof window>`u`||In>=On)return;let n=$n(e,[{seq:q+1,t:Y(),...t}]),r=rr(n);Fn.has(r)||(Fn.add(r),In+=1,er(n).catch(()=>{}))}function or(e,t={}){Q();let n={provider:e,source:$(t)??{}},r=J.findIndex(t=>t.provider===e);return r!==-1&&J.splice(r,1),J.push(n),()=>{let t=J.findIndex(t=>t.provider===e);t!==-1&&J.splice(t,1)}}function sr(e){let t=[[`driftMs`,xn],[`sinceReplayStartMs`,bn],[`durationMs`,yn],[`delayMs`,Sn]];for(let[n,r]of t){let t=e[n];if(typeof t==`number`&&t>=r)return{warning:!0,warningMetric:n,warningThresholdMs:r}}return e.type.endsWith(`-timeout`)?{warning:!0,warningMetric:`timeoutMs`,warningThresholdMs:e.timeoutMs??0}:null}function cr(e,t={}){let n={t:Y(),type:e,...t},r=sr(n);if(!X()&&!r)return;let i=Wn({...n,...r});i&&Gn({seq:++q,...i})}function lr(e,t){if(!X())return;let n=Wn({t:Y(),type:e,...t()});n&&Gn({seq:++q,...n})}function ur(e){if(!X())return()=>{};Q();let t=Y()+mn,n=window.setInterval(()=>{let n=Y(),r=n-t;t=n+mn,r>=hn&&cr(`main-thread-drift`,{sessionId:e,driftMs:r})},mn);return()=>clearInterval(n)}export{He as A,S as B,nt as C,Ke as D,Je as E,N as F,o as G,m as H,je as I,c as K,Ae as L,Be as M,ze as N,We as O,Re as P,M as R,ct as S,Ze as T,f as U,b as V,u as W,_t as _,ur as a,it as b,on as c,V as d,z as f,pt as g,F as h,ir as i,Ve as j,Ue as k,sn as l,Ut as m,or as n,cr as o,Vt as p,ar as r,lr as s,X as t,B as u,dt as v,Qe as w,st as x,rt as y,C as z};