@bud.sh/app 0.1.0 → 0.3.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 (365) hide show
  1. package/dist/client/assets/{index-sj6mWw9-.js → index-GPPa1XPO.js} +2 -2
  2. package/dist/client/assets/workspace-CznMN7F6.js +2 -0
  3. package/dist/client/index.html +1 -1
  4. package/dist/hosted/hosted.js +233 -38
  5. package/dist/node/index.js +95 -0
  6. package/dist/node-host/assets/abap-LtYK6g-v.js +3 -0
  7. package/dist/node-host/assets/actionscript-3-CfsDl31I.js +3 -0
  8. package/dist/node-host/assets/ada-CvTdxb4T.js +3 -0
  9. package/dist/node-host/assets/ahk-HN_I_y_3.js +3 -0
  10. package/dist/node-host/assets/ahk2-bJ5Wm9-K.js +3 -0
  11. package/dist/node-host/assets/andromeeda-BASpqCeJ.js +4 -0
  12. package/dist/node-host/assets/angular-html-C4SmZqv0.js +33 -0
  13. package/dist/node-host/assets/angular-ts-X1i_WOxI.js +27 -0
  14. package/dist/node-host/assets/apache-BIl2qPOf.js +3 -0
  15. package/dist/node-host/assets/apex-CybrBQ0z.js +3 -0
  16. package/dist/node-host/assets/api_vite-DSBC5Nzy.js +5 -0
  17. package/dist/node-host/assets/apl-CDTyNgE2.js +17 -0
  18. package/dist/node-host/assets/applescript-CJ80B5XJ.js +3 -0
  19. package/dist/node-host/assets/ara-IxnQjO6j.js +3 -0
  20. package/dist/node-host/assets/asciidoc-xKuVlNk6.js +3 -0
  21. package/dist/node-host/assets/asm-wBDSgBbA.js +3 -0
  22. package/dist/node-host/assets/astro-BiZFCPSt.js +19 -0
  23. package/dist/node-host/assets/aurora-x-DugsLcii.js +4 -0
  24. package/dist/node-host/assets/awk-D6dA05Ye.js +3 -0
  25. package/dist/node-host/assets/ayu-dark-BT3qdi3o.js +4 -0
  26. package/dist/node-host/assets/ayu-light-BVZyHoh9.js +4 -0
  27. package/dist/node-host/assets/ayu-mirage-XFwUVZQZ.js +4 -0
  28. package/dist/node-host/assets/ballerina-DIdXD2KH.js +3 -0
  29. package/dist/node-host/assets/bat-Dx8nnxXE.js +3 -0
  30. package/dist/node-host/assets/beancount-BG2UQN2D.js +3 -0
  31. package/dist/node-host/assets/berry-CgA2ea0_.js +3 -0
  32. package/dist/node-host/assets/bibtex-BzgdqG3s.js +3 -0
  33. package/dist/node-host/assets/bicep-CZ338dSk.js +3 -0
  34. package/dist/node-host/assets/bird2-BMprQDNV.js +3 -0
  35. package/dist/node-host/assets/blade-cZjv4Qad.js +21 -0
  36. package/dist/node-host/assets/bsl-Bh8bzcoy.js +6 -0
  37. package/dist/node-host/assets/build-Dn-L17Oj.js +5372 -0
  38. package/dist/node-host/assets/c-BXsbGxlp.js +6 -0
  39. package/dist/node-host/assets/c3-u0qNrniV.js +3 -0
  40. package/dist/node-host/assets/cadence-B1ELWULD.js +3 -0
  41. package/dist/node-host/assets/cairo-BsQhEq3R.js +6 -0
  42. package/dist/node-host/assets/canvas-BZhzizzt.js +1066 -0
  43. package/dist/node-host/assets/catppuccin-frappe-D20KODDN.js +4 -0
  44. package/dist/node-host/assets/catppuccin-latte-eGLVHIUJ.js +4 -0
  45. package/dist/node-host/assets/catppuccin-macchiato-bQGch4PY.js +4 -0
  46. package/dist/node-host/assets/catppuccin-mocha-Bes8-0Mr.js +4 -0
  47. package/dist/node-host/assets/chapel-cEZNBFmv.js +6 -0
  48. package/dist/node-host/assets/clarity-BkOxTQMf.js +3 -0
  49. package/dist/node-host/assets/clojure-DDsQ0FaV.js +3 -0
  50. package/dist/node-host/assets/cloneFileDiffMetadata-C1BcNpxN.js +3075 -0
  51. package/dist/node-host/assets/cmake-DPsCB_V6.js +3 -0
  52. package/dist/node-host/assets/cobol-BpMD18Rr.js +11 -0
  53. package/dist/node-host/assets/codeowners-CxEKPWu0.js +3 -0
  54. package/dist/node-host/assets/codeql-BwdvwJnv.js +3 -0
  55. package/dist/node-host/assets/coffee-BX_u-2R1.js +6 -0
  56. package/dist/node-host/assets/comment-data-nUlI0szN.js +92501 -0
  57. package/dist/node-host/assets/common-lisp-DJtwvW4V.js +3 -0
  58. package/dist/node-host/assets/coq-Byd42hNw.js +3 -0
  59. package/dist/node-host/assets/cpp-DjJRL98I.js +22 -0
  60. package/dist/node-host/assets/crystal-Cz-dKioR.js +19 -0
  61. package/dist/node-host/assets/csharp-Cx443ZdC.js +3 -0
  62. package/dist/node-host/assets/css-CWNyyZRg.js +6 -0
  63. package/dist/node-host/assets/csv-DqIVFkK7.js +3 -0
  64. package/dist/node-host/assets/cue-B5KneM5p.js +3 -0
  65. package/dist/node-host/assets/cypher-D8Bb8Cq2.js +3 -0
  66. package/dist/node-host/assets/d-BQY8TDgQ.js +3 -0
  67. package/dist/node-host/assets/dark-plus-BGuiqa1B.js +4 -0
  68. package/dist/node-host/assets/dart-BZ3YsgDB.js +3 -0
  69. package/dist/node-host/assets/dax-S-Noo-ku.js +3 -0
  70. package/dist/node-host/assets/desktop-BgOb7Aj4.js +3 -0
  71. package/dist/node-host/assets/diff-Blb4MjsC.js +3 -0
  72. package/dist/node-host/assets/dist-CVXhIZqO.js +6659 -0
  73. package/dist/node-host/assets/docker-PC1tuYpa.js +3 -0
  74. package/dist/node-host/assets/dotenv-BNWDqzYB.js +3 -0
  75. package/dist/node-host/assets/dracula-0CVA2XY5.js +4 -0
  76. package/dist/node-host/assets/dracula-soft-Dk9bpbVU.js +4 -0
  77. package/dist/node-host/assets/dream-maker-CngiPd8U.js +3 -0
  78. package/dist/node-host/assets/edge-D1_nghia.js +13 -0
  79. package/dist/node-host/assets/edit-DjpTbnEc.js +9788 -0
  80. package/dist/node-host/assets/elixir-x6BMZ6zW.js +6 -0
  81. package/dist/node-host/assets/elm-CiAjb3qf.js +6 -0
  82. package/dist/node-host/assets/emacs-lisp-DPCJASlD.js +3 -0
  83. package/dist/node-host/assets/erb-DzXTnEFa.js +11 -0
  84. package/dist/node-host/assets/erlang-DALBVNgL.js +6 -0
  85. package/dist/node-host/assets/everforest-dark-CRjTbhh5.js +4 -0
  86. package/dist/node-host/assets/everforest-light-CEeYFLn8.js +4 -0
  87. package/dist/node-host/assets/fennel-B3wtZRne.js +3 -0
  88. package/dist/node-host/assets/files-CTzcWGjb.js +3771 -0
  89. package/dist/node-host/assets/fish-D7qAeWQz.js +3 -0
  90. package/dist/node-host/assets/fluent-BjfpB34g.js +3 -0
  91. package/dist/node-host/assets/fortran-fixed-form-BbzsUHx4.js +6 -0
  92. package/dist/node-host/assets/fortran-free-form-yxJ7igsv.js +3 -0
  93. package/dist/node-host/assets/fsharp-D2o1Vyx0.js +6 -0
  94. package/dist/node-host/assets/gdresource-aTcOcjSd.js +11 -0
  95. package/dist/node-host/assets/gdscript-CSSSWtkL.js +3 -0
  96. package/dist/node-host/assets/gdshader-D7JfdFV3.js +3 -0
  97. package/dist/node-host/assets/genie-DnK2KWIP.js +3 -0
  98. package/dist/node-host/assets/gherkin-D6Lr12YQ.js +3 -0
  99. package/dist/node-host/assets/git-commit-BU1ZeqU-.js +6 -0
  100. package/dist/node-host/assets/git-rebase-BBwLmuqc.js +6 -0
  101. package/dist/node-host/assets/github-dark-BXgKmOw_.js +4 -0
  102. package/dist/node-host/assets/github-dark-default-DzJQXksd.js +4 -0
  103. package/dist/node-host/assets/github-dark-dimmed-B1pEmGtS.js +4 -0
  104. package/dist/node-host/assets/github-dark-high-contrast-BkHIa6jc.js +4 -0
  105. package/dist/node-host/assets/github-light-BKRlUbaB.js +4 -0
  106. package/dist/node-host/assets/github-light-default-BU3eYkzs.js +4 -0
  107. package/dist/node-host/assets/github-light-high-contrast-B3MumDcI.js +4 -0
  108. package/dist/node-host/assets/gleam-CTllUdfC.js +3 -0
  109. package/dist/node-host/assets/glimmer-js-Cr4KUylv.js +15 -0
  110. package/dist/node-host/assets/glimmer-ts-W_3bhuUU.js +15 -0
  111. package/dist/node-host/assets/glsl-CV8OarLe.js +8 -0
  112. package/dist/node-host/assets/gn-CpIn4Dcw.js +3 -0
  113. package/dist/node-host/assets/gnuplot-DgWvVXI8.js +3 -0
  114. package/dist/node-host/assets/go-aXtTCanQ.js +3 -0
  115. package/dist/node-host/assets/graphql-BzQEBhBd.js +17 -0
  116. package/dist/node-host/assets/groovy-Bw2Ku4bU.js +3 -0
  117. package/dist/node-host/assets/gruvbox-dark-hard-B0ecF443.js +4 -0
  118. package/dist/node-host/assets/gruvbox-dark-medium-BQnpC39k.js +4 -0
  119. package/dist/node-host/assets/gruvbox-dark-soft-DFZUgESr.js +4 -0
  120. package/dist/node-host/assets/gruvbox-light-hard-CuB_LOJr.js +4 -0
  121. package/dist/node-host/assets/gruvbox-light-medium-idDHgxjs.js +4 -0
  122. package/dist/node-host/assets/gruvbox-light-soft-CfWH49MY.js +4 -0
  123. package/dist/node-host/assets/hack-DhYZEMlu.js +11 -0
  124. package/dist/node-host/assets/haml-CRid5kR3.js +13 -0
  125. package/dist/node-host/assets/handlebars-Sm6kCGmL.js +15 -0
  126. package/dist/node-host/assets/haskell-CfGsE1Cf.js +3 -0
  127. package/dist/node-host/assets/haxe-QaqXWmIB.js +3 -0
  128. package/dist/node-host/assets/hcl-DHg_Osgo.js +3 -0
  129. package/dist/node-host/assets/hjson-Cuaphql8.js +3 -0
  130. package/dist/node-host/assets/hlsl-BJLUNfne.js +3 -0
  131. package/dist/node-host/assets/horizon-bright-Ba6M8QSV.js +4 -0
  132. package/dist/node-host/assets/horizon-h92C5OlZ.js +4 -0
  133. package/dist/node-host/assets/houston-EQnPegWq.js +4 -0
  134. package/dist/node-host/assets/html-derivative-Cm8plTfc.js +6 -0
  135. package/dist/node-host/assets/html-j1vihRKA.js +13 -0
  136. package/dist/node-host/assets/http-BZNc4yhO.js +15 -0
  137. package/dist/node-host/assets/hurl-O8ckTHPH.js +13 -0
  138. package/dist/node-host/assets/hxml-9hvSHCPQ.js +6 -0
  139. package/dist/node-host/assets/hy-CJKxDzbh.js +3 -0
  140. package/dist/node-host/assets/imba-96qKoJCa.js +3 -0
  141. package/dist/node-host/assets/ini-C24lZfdM.js +3 -0
  142. package/dist/node-host/assets/java-CFxSaKyu.js +6 -0
  143. package/dist/node-host/assets/javascript-D44WgUBn.js +6 -0
  144. package/dist/node-host/assets/jinja-BkVH86If.js +10 -0
  145. package/dist/node-host/assets/jison-DOInKsmT.js +6 -0
  146. package/dist/node-host/assets/jiti-CjBwKumX.js +5461 -0
  147. package/dist/node-host/assets/json-CnGl9idC.js +6 -0
  148. package/dist/node-host/assets/json5-xULSgPQI.js +3 -0
  149. package/dist/node-host/assets/jsonc-Cu6rqcrJ.js +3 -0
  150. package/dist/node-host/assets/jsonl-Bp0qqr10.js +3 -0
  151. package/dist/node-host/assets/jsonnet-BafgE6cE.js +3 -0
  152. package/dist/node-host/assets/jssm-Dx5A5sBR.js +3 -0
  153. package/dist/node-host/assets/jsx-Dv6553c2.js +6 -0
  154. package/dist/node-host/assets/julia-CnoY-eZu.js +17 -0
  155. package/dist/node-host/assets/just-rCgUmVkD.js +19 -0
  156. package/dist/node-host/assets/kanagawa-dragon-DgDvwi3B.js +4 -0
  157. package/dist/node-host/assets/kanagawa-lotus-BgoQro20.js +4 -0
  158. package/dist/node-host/assets/kanagawa-wave-DgXEowHs.js +4 -0
  159. package/dist/node-host/assets/kdl-DkTyxPcj.js +3 -0
  160. package/dist/node-host/assets/kotlin-BHE8CoV9.js +3 -0
  161. package/dist/node-host/assets/kusto-6FdaWTzR.js +3 -0
  162. package/dist/node-host/assets/laserwave-IxBH_3yW.js +4 -0
  163. package/dist/node-host/assets/latex-DTvJHHg_.js +6 -0
  164. package/dist/node-host/assets/lean-BwOKScIt.js +3 -0
  165. package/dist/node-host/assets/less-BzbdhFUi.js +3 -0
  166. package/dist/node-host/assets/lib-BzDu3tbz.js +17484 -0
  167. package/dist/node-host/assets/light-plus-S8JBx6is.js +4 -0
  168. package/dist/node-host/assets/liquid-praBF2DO.js +15 -0
  169. package/dist/node-host/assets/llvm-ZNG_yAr9.js +3 -0
  170. package/dist/node-host/assets/log-Dad54gsi.js +3 -0
  171. package/dist/node-host/assets/logo-DTXV8SKw.js +3 -0
  172. package/dist/node-host/assets/lru-C0_oUet4.js +134 -0
  173. package/dist/node-host/assets/lua-CiYoSQn2.js +8 -0
  174. package/dist/node-host/assets/luau-DlImmvOM.js +3 -0
  175. package/dist/node-host/assets/main-D0ab5M4V.js +2353 -0
  176. package/dist/node-host/assets/make-B2ukzWs3.js +3 -0
  177. package/dist/node-host/assets/markdown-CkmxmzqY.js +3 -0
  178. package/dist/node-host/assets/marko-Din1W3ot.js +15 -0
  179. package/dist/node-host/assets/material-theme-D1f3HBq-.js +4 -0
  180. package/dist/node-host/assets/material-theme-darker-ExzYhT0j.js +4 -0
  181. package/dist/node-host/assets/material-theme-lighter-D6gH9nnA.js +4 -0
  182. package/dist/node-host/assets/material-theme-ocean-D1w5BPAa.js +4 -0
  183. package/dist/node-host/assets/material-theme-palenight-CkqWmVpF.js +4 -0
  184. package/dist/node-host/assets/matlab-CfRK6IMC.js +3 -0
  185. package/dist/node-host/assets/mdc-DrUS0kOP.js +13 -0
  186. package/dist/node-host/assets/mdx-BK9ZufRc.js +3 -0
  187. package/dist/node-host/assets/mermaid-ItFqCK9s.js +3 -0
  188. package/dist/node-host/assets/min-dark-npsJH98j.js +4 -0
  189. package/dist/node-host/assets/min-light-DUk1XsVt.js +4 -0
  190. package/dist/node-host/assets/mipsasm-EL46Y4Xg.js +3 -0
  191. package/dist/node-host/assets/mojo-CsUSYzsu.js +3 -0
  192. package/dist/node-host/assets/monokai-CfFRWUNl.js +4 -0
  193. package/dist/node-host/assets/moonbit-BuY4M1CG.js +3 -0
  194. package/dist/node-host/assets/move-B-o8dn0N.js +3 -0
  195. package/dist/node-host/assets/narrat-D9rrR0H5.js +3 -0
  196. package/dist/node-host/assets/nextflow-ByPelpfh.js +6 -0
  197. package/dist/node-host/assets/nextflow-groovy-kiH-pxwE.js +3 -0
  198. package/dist/node-host/assets/nginx-CqxQjy7t.js +6 -0
  199. package/dist/node-host/assets/night-owl-BS7V-av_.js +4 -0
  200. package/dist/node-host/assets/night-owl-light-CZtRawYE.js +4 -0
  201. package/dist/node-host/assets/nim-BJfyW_Eo.js +21 -0
  202. package/dist/node-host/assets/nix-NHxlegoK.js +7 -0
  203. package/dist/node-host/assets/node-CaLaDAar.js +783 -0
  204. package/dist/node-host/assets/nord-BFh54Nqz.js +4 -0
  205. package/dist/node-host/assets/nsis-C3tUpeAt.js +3 -0
  206. package/dist/node-host/assets/nushell-Dx3871HW.js +3 -0
  207. package/dist/node-host/assets/objective-c-6dJF64Dt.js +3 -0
  208. package/dist/node-host/assets/objective-cpp-_ooRQ-PY.js +3 -0
  209. package/dist/node-host/assets/ocaml-vm1Y8An6.js +3 -0
  210. package/dist/node-host/assets/odin-vjOJSyfV.js +3 -0
  211. package/dist/node-host/assets/one-dark-pro-zDovGosB.js +4 -0
  212. package/dist/node-host/assets/one-light-gmHK3iK6.js +4 -0
  213. package/dist/node-host/assets/openscad-jn-f1Ocl.js +3 -0
  214. package/dist/node-host/assets/org-kbyZnkNe.js +101 -0
  215. package/dist/node-host/assets/pages-0aWH7z1j.js +578 -0
  216. package/dist/node-host/assets/pascal-D8-gNZ2I.js +3 -0
  217. package/dist/node-host/assets/perl-Ck21ZEIA.js +17 -0
  218. package/dist/node-host/assets/php-BI2xxNig.js +19 -0
  219. package/dist/node-host/assets/pierre-dark-DDWDl8g6.js +4 -0
  220. package/dist/node-host/assets/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +4 -0
  221. package/dist/node-host/assets/pierre-dark-soft-Bb-4-biO.js +4 -0
  222. package/dist/node-host/assets/pierre-dark-tritanopia-CIJISGWF.js +4 -0
  223. package/dist/node-host/assets/pierre-dark-vibrant-8oZzB3gw.js +4 -0
  224. package/dist/node-host/assets/pierre-light-CWhW4NrH.js +4 -0
  225. package/dist/node-host/assets/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +4 -0
  226. package/dist/node-host/assets/pierre-light-soft-BCU6fuhO.js +4 -0
  227. package/dist/node-host/assets/pierre-light-tritanopia-3c8Yx3co.js +4 -0
  228. package/dist/node-host/assets/pierre-light-vibrant-Cwh332o_.js +4 -0
  229. package/dist/node-host/assets/pkl-C7lWzykI.js +3 -0
  230. package/dist/node-host/assets/plastic-DtdaCjub.js +4 -0
  231. package/dist/node-host/assets/plsql-DCNXypXO.js +3 -0
  232. package/dist/node-host/assets/po-IjpR1yHO.js +3 -0
  233. package/dist/node-host/assets/poimandres-Hdda6aHK.js +4 -0
  234. package/dist/node-host/assets/polar-4pN1JrJ8.js +3 -0
  235. package/dist/node-host/assets/postcss-0FnF2XR3.js +5833 -0
  236. package/dist/node-host/assets/postcss-D1gKt4z_.js +3 -0
  237. package/dist/node-host/assets/postcss-import-D5DErX4i.js +445 -0
  238. package/dist/node-host/assets/powerquery-SrvS_NBM.js +3 -0
  239. package/dist/node-host/assets/powershell-DvPkO2jl.js +3 -0
  240. package/dist/node-host/assets/prisma-4G_BaF_i.js +3 -0
  241. package/dist/node-host/assets/project-branches-1zs_0J_y.js +600 -0
  242. package/dist/node-host/assets/project-thread-links-LpUAGcDr.js +241 -0
  243. package/dist/node-host/assets/prolog-Bacii3Ue.js +3 -0
  244. package/dist/node-host/assets/prompt-CH6TK0bC-ZEO69UbU.js +885 -0
  245. package/dist/node-host/assets/proto-ClkOcAW0.js +3 -0
  246. package/dist/node-host/assets/pug-Du-dOfS3.js +13 -0
  247. package/dist/node-host/assets/puppet-CQlPp728.js +3 -0
  248. package/dist/node-host/assets/purescript-CLpaGMbw.js +3 -0
  249. package/dist/node-host/assets/python-BjnOIxPe.js +3 -0
  250. package/dist/node-host/assets/qml-BcFatdsQ.js +6 -0
  251. package/dist/node-host/assets/qmldir-Dz8ttxjf.js +3 -0
  252. package/dist/node-host/assets/qss-Iltvkn1C.js +3 -0
  253. package/dist/node-host/assets/r-DvDYa_8Q.js +6 -0
  254. package/dist/node-host/assets/racket-DRv7j6nv.js +3 -0
  255. package/dist/node-host/assets/raku-DI9yGpeW.js +3 -0
  256. package/dist/node-host/assets/razor-vGjCiVYw.js +11 -0
  257. package/dist/node-host/assets/rbs-D_4FkXDS.js +3 -0
  258. package/dist/node-host/assets/red-VqZFRByZ.js +4 -0
  259. package/dist/node-host/assets/reg-DpJf71oO.js +3 -0
  260. package/dist/node-host/assets/regexp-CE_3vZDh.js +6 -0
  261. package/dist/node-host/assets/rel-BT0iIKKw.js +3 -0
  262. package/dist/node-host/assets/riscv-CvzikGLb.js +3 -0
  263. package/dist/node-host/assets/rolldown-runtime-DktXgydw.js +35 -0
  264. package/dist/node-host/assets/ron-DzAo6FTJ.js +3 -0
  265. package/dist/node-host/assets/rose-pine-DiTkEueR.js +4 -0
  266. package/dist/node-host/assets/rose-pine-dawn-tfo5y2X0.js +4 -0
  267. package/dist/node-host/assets/rose-pine-moon-C0gON9XN.js +4 -0
  268. package/dist/node-host/assets/rosmsg-CyYq6XdT.js +3 -0
  269. package/dist/node-host/assets/rst-BqrTc4by.js +23 -0
  270. package/dist/node-host/assets/ruby-DLXfYriJ.js +31 -0
  271. package/dist/node-host/assets/rust-CaJo2YYS.js +3 -0
  272. package/dist/node-host/assets/sas-DJAJgMrq.js +6 -0
  273. package/dist/node-host/assets/sass-DI2zJwx7.js +3 -0
  274. package/dist/node-host/assets/scala-pMGZAs9j.js +3 -0
  275. package/dist/node-host/assets/scheme-D3A2QBtM.js +3 -0
  276. package/dist/node-host/assets/screen-DQoTOWYR.js +494 -0
  277. package/dist/node-host/assets/scss-n4nz8dJI.js +8 -0
  278. package/dist/node-host/assets/sdbl-CdQg5gu1.js +3 -0
  279. package/dist/node-host/assets/shaderlab-5KHT7nQ3.js +6 -0
  280. package/dist/node-host/assets/shellscript-BfuVOb-a.js +6 -0
  281. package/dist/node-host/assets/shellsession-hT9eQUDu.js +6 -0
  282. package/dist/node-host/assets/slack-dark-v8P_eXr6.js +4 -0
  283. package/dist/node-host/assets/slack-ochin-D8SyEdKz.js +4 -0
  284. package/dist/node-host/assets/smalltalk-D4IpSogw.js +3 -0
  285. package/dist/node-host/assets/smithy-BRyN83Yn.js +3 -0
  286. package/dist/node-host/assets/snazzy-light-BtkQkvXb.js +4 -0
  287. package/dist/node-host/assets/solarized-dark-B8nAdMfM.js +4 -0
  288. package/dist/node-host/assets/solarized-light-B-3F1INj.js +4 -0
  289. package/dist/node-host/assets/solidity-DPVu0wkJ.js +3 -0
  290. package/dist/node-host/assets/soy-Cbnz3v4z.js +6 -0
  291. package/dist/node-host/assets/sparql-cTZV4yOr.js +6 -0
  292. package/dist/node-host/assets/splunk-xP_ZjUH2.js +3 -0
  293. package/dist/node-host/assets/sql-DEvbt_rU.js +6 -0
  294. package/dist/node-host/assets/ssh-config-DXFPABYp.js +3 -0
  295. package/dist/node-host/assets/stata-0wnAnxv2.js +6 -0
  296. package/dist/node-host/assets/stylus-ZZDn1yUO.js +3 -0
  297. package/dist/node-host/assets/surrealql-70--UPGf.js +6 -0
  298. package/dist/node-host/assets/svelte-COI8WXVC.js +15 -0
  299. package/dist/node-host/assets/swift-DWmMn3lF.js +3 -0
  300. package/dist/node-host/assets/synthwave-84-DcsXCF_c.js +4 -0
  301. package/dist/node-host/assets/system-verilog-DW0KSMVO.js +3 -0
  302. package/dist/node-host/assets/systemd-DFbUltlW.js +3 -0
  303. package/dist/node-host/assets/talonscript-CLxaFu-b.js +3 -0
  304. package/dist/node-host/assets/tasks-C0WqnM7Q.js +644 -0
  305. package/dist/node-host/assets/tasks-request-Bwky5ORf.js +114 -0
  306. package/dist/node-host/assets/tasl-_AAbKiWM.js +3 -0
  307. package/dist/node-host/assets/tcl-DLe0Tsfm.js +3 -0
  308. package/dist/node-host/assets/templ-Bd0jzThC.js +13 -0
  309. package/dist/node-host/assets/terraform-v0KN9QQh.js +3 -0
  310. package/dist/node-host/assets/tex-C1Wtngrr.js +8 -0
  311. package/dist/node-host/assets/tokyo-night-Bvpqduda.js +4 -0
  312. package/dist/node-host/assets/toml-B7BHZIqX.js +3 -0
  313. package/dist/node-host/assets/ts-tags-BSGaPI18.js +59 -0
  314. package/dist/node-host/assets/tsv-BorGVq2Z.js +3 -0
  315. package/dist/node-host/assets/tsx-BxnCmyTp.js +6 -0
  316. package/dist/node-host/assets/turtle-BEG5g_eT.js +3 -0
  317. package/dist/node-host/assets/twig-BJG2k0MA.js +19 -0
  318. package/dist/node-host/assets/typescript-Cr5OHcug.js +6 -0
  319. package/dist/node-host/assets/typespec--jp0a8Qj.js +3 -0
  320. package/dist/node-host/assets/typst-BAvHLpwp.js +121 -0
  321. package/dist/node-host/assets/v-DBTjbKF9.js +3 -0
  322. package/dist/node-host/assets/vala-BnnASFsX.js +3 -0
  323. package/dist/node-host/assets/vb-eGVhCUXq.js +3 -0
  324. package/dist/node-host/assets/verilog-Ma7yBE30.js +3 -0
  325. package/dist/node-host/assets/vesper-CfxmMOy3.js +4 -0
  326. package/dist/node-host/assets/vhdl-Co2XFKY7.js +3 -0
  327. package/dist/node-host/assets/viml-BReTXeDA.js +3 -0
  328. package/dist/node-host/assets/vitesse-black-D9-_1mjV.js +4 -0
  329. package/dist/node-host/assets/vitesse-dark-DlSMLlr9.js +4 -0
  330. package/dist/node-host/assets/vitesse-light-KRWWWztf.js +4 -0
  331. package/dist/node-host/assets/vue-C3fWU2fi.js +31 -0
  332. package/dist/node-host/assets/vue-html-DxOM9wex.js +6 -0
  333. package/dist/node-host/assets/vue-vine-OKzSGBlX.js +19 -0
  334. package/dist/node-host/assets/vyper-C6KGx0YU.js +3 -0
  335. package/dist/node-host/assets/wasm-CvHAs-FG.js +7 -0
  336. package/dist/node-host/assets/wasm-gNIKwGlD.js +3 -0
  337. package/dist/node-host/assets/wenyan-BeysbCrW.js +3 -0
  338. package/dist/node-host/assets/wgsl-1s5rV5xS.js +3 -0
  339. package/dist/node-host/assets/wikitext-wjhjmmzD.js +3 -0
  340. package/dist/node-host/assets/wit-CeQiCbz_.js +3 -0
  341. package/dist/node-host/assets/wolfram-CcZPfnLd.js +3 -0
  342. package/dist/node-host/assets/worker-factory-C80HGMWf.js +14 -0
  343. package/dist/node-host/assets/xml-BsBjJrlv.js +8 -0
  344. package/dist/node-host/assets/xsl-BYwWzvT_.js +6 -0
  345. package/dist/node-host/assets/yaml-BRgACZP0.js +6 -0
  346. package/dist/node-host/assets/zenscript-BoijL7rl.js +3 -0
  347. package/dist/node-host/assets/zig-lTQvxhLD.js +3 -0
  348. package/dist/node-host/node-host.js +41511 -0
  349. package/dist/server/assets/{branch-previews-C_TVt_HQ.js → branch-previews-BryeA_kA.js} +112 -3
  350. package/dist/server/assets/{listener-BVbFsnmX.js → listener-oKd5ETMj.js} +3 -3
  351. package/dist/server/assets/{server-DUBjmaBw.js → server-DN5uwE4k.js} +1 -1
  352. package/dist/server/assets/{services-Og5rcF50.js → services-Ber8opFE.js} +2 -2
  353. package/dist/server/capture.js +1 -1
  354. package/dist/server/migration.js +3 -3
  355. package/dist/server/runtime.js +4 -4
  356. package/dist/server/server.js +3 -3
  357. package/dist/types/assets/{config-BzzRLcL-.d.ts → config-Cuauq8xY.d.ts} +24 -1
  358. package/dist/types/assets/contract-BsCQbbxD.d.ts +111 -0
  359. package/dist/types/companion.d.ts +1 -1
  360. package/dist/types/hosted.d.ts +3 -99
  361. package/dist/types/index.d.ts +1 -1
  362. package/dist/types/node-host.d.ts +46 -0
  363. package/dist/types/screen.d.ts +1 -1
  364. package/package.json +6 -2
  365. package/dist/client/assets/workspace-9KxFcfyV.js +0 -2
@@ -0,0 +1,783 @@
1
+ import { i as __toESM, r as __require, t as __commonJSMin } from "./rolldown-runtime-DktXgydw.js";
2
+ //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js
3
+ var require_process = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
+ var isLinux = () => process.platform === "linux";
5
+ var report = null;
6
+ var getReport = () => {
7
+ if (!report) {
8
+ /* istanbul ignore next */
9
+ if (isLinux() && process.report) {
10
+ const orig = process.report.excludeNetwork;
11
+ process.report.excludeNetwork = true;
12
+ report = process.report.getReport();
13
+ process.report.excludeNetwork = orig;
14
+ } else report = {};
15
+ }
16
+ return report;
17
+ };
18
+ module.exports = {
19
+ isLinux,
20
+ getReport
21
+ };
22
+ }));
23
+ //#endregion
24
+ //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/filesystem.js
25
+ var require_filesystem = /* @__PURE__ */ __commonJSMin(((exports, module) => {
26
+ var fs = __require("fs");
27
+ var LDD_PATH = "/usr/bin/ldd";
28
+ var SELF_PATH = "/proc/self/exe";
29
+ var MAX_LENGTH = 2048;
30
+ /**
31
+ * Read the content of a file synchronous
32
+ *
33
+ * @param {string} path
34
+ * @returns {Buffer}
35
+ */
36
+ var readFileSync = (path) => {
37
+ const fd = fs.openSync(path, "r");
38
+ const buffer = Buffer.alloc(MAX_LENGTH);
39
+ const bytesRead = fs.readSync(fd, buffer, 0, MAX_LENGTH, 0);
40
+ fs.close(fd, () => {});
41
+ return buffer.subarray(0, bytesRead);
42
+ };
43
+ /**
44
+ * Read the content of a file
45
+ *
46
+ * @param {string} path
47
+ * @returns {Promise<Buffer>}
48
+ */
49
+ var readFile = (path) => new Promise((resolve, reject) => {
50
+ fs.open(path, "r", (err, fd) => {
51
+ if (err) reject(err);
52
+ else {
53
+ const buffer = Buffer.alloc(MAX_LENGTH);
54
+ fs.read(fd, buffer, 0, MAX_LENGTH, 0, (_, bytesRead) => {
55
+ resolve(buffer.subarray(0, bytesRead));
56
+ fs.close(fd, () => {});
57
+ });
58
+ }
59
+ });
60
+ });
61
+ module.exports = {
62
+ LDD_PATH,
63
+ SELF_PATH,
64
+ readFileSync,
65
+ readFile
66
+ };
67
+ }));
68
+ //#endregion
69
+ //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js
70
+ var require_elf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
71
+ var interpreterPath = (elf) => {
72
+ if (elf.length < 64) return null;
73
+ if (elf.readUInt32BE(0) !== 2135247942) return null;
74
+ if (elf.readUInt8(4) !== 2) return null;
75
+ if (elf.readUInt8(5) !== 1) return null;
76
+ const offset = elf.readUInt32LE(32);
77
+ const size = elf.readUInt16LE(54);
78
+ const count = elf.readUInt16LE(56);
79
+ for (let i = 0; i < count; i++) {
80
+ const headerOffset = offset + i * size;
81
+ if (elf.readUInt32LE(headerOffset) === 3) {
82
+ const fileOffset = elf.readUInt32LE(headerOffset + 8);
83
+ const fileSize = elf.readUInt32LE(headerOffset + 32);
84
+ return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, "");
85
+ }
86
+ }
87
+ return null;
88
+ };
89
+ module.exports = { interpreterPath };
90
+ }));
91
+ //#endregion
92
+ //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js
93
+ var require_detect_libc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
94
+ var childProcess = __require("child_process");
95
+ var { isLinux, getReport } = require_process();
96
+ var { LDD_PATH, SELF_PATH, readFile, readFileSync } = require_filesystem();
97
+ var { interpreterPath } = require_elf();
98
+ var cachedFamilyInterpreter;
99
+ var cachedFamilyFilesystem;
100
+ var cachedVersionFilesystem;
101
+ var command = "getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true";
102
+ var commandOut = "";
103
+ var safeCommand = () => {
104
+ if (!commandOut) return new Promise((resolve) => {
105
+ childProcess.exec(command, (err, out) => {
106
+ commandOut = err ? " " : out;
107
+ resolve(commandOut);
108
+ });
109
+ });
110
+ return commandOut;
111
+ };
112
+ var safeCommandSync = () => {
113
+ if (!commandOut) try {
114
+ commandOut = childProcess.execSync(command, { encoding: "utf8" });
115
+ } catch (_err) {
116
+ commandOut = " ";
117
+ }
118
+ return commandOut;
119
+ };
120
+ /**
121
+ * A String constant containing the value `glibc`.
122
+ * @type {string}
123
+ * @public
124
+ */
125
+ var GLIBC = "glibc";
126
+ /**
127
+ * A Regexp constant to get the GLIBC Version.
128
+ * @type {string}
129
+ */
130
+ var RE_GLIBC_VERSION = /LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i;
131
+ /**
132
+ * A String constant containing the value `musl`.
133
+ * @type {string}
134
+ * @public
135
+ */
136
+ var MUSL = "musl";
137
+ var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
138
+ var familyFromReport = () => {
139
+ const report = getReport();
140
+ if (report.header && report.header.glibcVersionRuntime) return GLIBC;
141
+ if (Array.isArray(report.sharedObjects)) {
142
+ if (report.sharedObjects.some(isFileMusl)) return MUSL;
143
+ }
144
+ return null;
145
+ };
146
+ var familyFromCommand = (out) => {
147
+ const [getconf, ldd1] = out.split(/[\r\n]+/);
148
+ if (getconf && getconf.includes(GLIBC)) return GLIBC;
149
+ if (ldd1 && ldd1.includes(MUSL)) return MUSL;
150
+ return null;
151
+ };
152
+ var familyFromInterpreterPath = (path) => {
153
+ if (path) {
154
+ if (path.includes("/ld-musl-")) return MUSL;
155
+ else if (path.includes("/ld-linux-")) return GLIBC;
156
+ }
157
+ return null;
158
+ };
159
+ var getFamilyFromLddContent = (content) => {
160
+ content = content.toString();
161
+ if (content.includes("musl")) return MUSL;
162
+ if (content.includes("GNU C Library")) return GLIBC;
163
+ return null;
164
+ };
165
+ var familyFromFilesystem = async () => {
166
+ if (cachedFamilyFilesystem !== void 0) return cachedFamilyFilesystem;
167
+ cachedFamilyFilesystem = null;
168
+ try {
169
+ cachedFamilyFilesystem = getFamilyFromLddContent(await readFile(LDD_PATH));
170
+ } catch (e) {}
171
+ return cachedFamilyFilesystem;
172
+ };
173
+ var familyFromFilesystemSync = () => {
174
+ if (cachedFamilyFilesystem !== void 0) return cachedFamilyFilesystem;
175
+ cachedFamilyFilesystem = null;
176
+ try {
177
+ cachedFamilyFilesystem = getFamilyFromLddContent(readFileSync(LDD_PATH));
178
+ } catch (e) {}
179
+ return cachedFamilyFilesystem;
180
+ };
181
+ var familyFromInterpreter = async () => {
182
+ if (cachedFamilyInterpreter !== void 0) return cachedFamilyInterpreter;
183
+ cachedFamilyInterpreter = null;
184
+ try {
185
+ cachedFamilyInterpreter = familyFromInterpreterPath(interpreterPath(await readFile(SELF_PATH)));
186
+ } catch (e) {}
187
+ return cachedFamilyInterpreter;
188
+ };
189
+ var familyFromInterpreterSync = () => {
190
+ if (cachedFamilyInterpreter !== void 0) return cachedFamilyInterpreter;
191
+ cachedFamilyInterpreter = null;
192
+ try {
193
+ cachedFamilyInterpreter = familyFromInterpreterPath(interpreterPath(readFileSync(SELF_PATH)));
194
+ } catch (e) {}
195
+ return cachedFamilyInterpreter;
196
+ };
197
+ /**
198
+ * Resolves with the libc family when it can be determined, `null` otherwise.
199
+ * @returns {Promise<?string>}
200
+ */
201
+ var family = async () => {
202
+ let family = null;
203
+ if (isLinux()) {
204
+ family = await familyFromInterpreter();
205
+ if (!family) {
206
+ family = await familyFromFilesystem();
207
+ if (!family) family = familyFromReport();
208
+ if (!family) family = familyFromCommand(await safeCommand());
209
+ }
210
+ }
211
+ return family;
212
+ };
213
+ /**
214
+ * Returns the libc family when it can be determined, `null` otherwise.
215
+ * @returns {?string}
216
+ */
217
+ var familySync = () => {
218
+ let family = null;
219
+ if (isLinux()) {
220
+ family = familyFromInterpreterSync();
221
+ if (!family) {
222
+ family = familyFromFilesystemSync();
223
+ if (!family) family = familyFromReport();
224
+ if (!family) family = familyFromCommand(safeCommandSync());
225
+ }
226
+ }
227
+ return family;
228
+ };
229
+ /**
230
+ * Resolves `true` only when the platform is Linux and the libc family is not `glibc`.
231
+ * @returns {Promise<boolean>}
232
+ */
233
+ var isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
234
+ /**
235
+ * Returns `true` only when the platform is Linux and the libc family is not `glibc`.
236
+ * @returns {boolean}
237
+ */
238
+ var isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
239
+ var versionFromFilesystem = async () => {
240
+ if (cachedVersionFilesystem !== void 0) return cachedVersionFilesystem;
241
+ cachedVersionFilesystem = null;
242
+ try {
243
+ const versionMatch = (await readFile(LDD_PATH)).match(RE_GLIBC_VERSION);
244
+ if (versionMatch) cachedVersionFilesystem = versionMatch[1];
245
+ } catch (e) {}
246
+ return cachedVersionFilesystem;
247
+ };
248
+ var versionFromFilesystemSync = () => {
249
+ if (cachedVersionFilesystem !== void 0) return cachedVersionFilesystem;
250
+ cachedVersionFilesystem = null;
251
+ try {
252
+ const versionMatch = readFileSync(LDD_PATH).match(RE_GLIBC_VERSION);
253
+ if (versionMatch) cachedVersionFilesystem = versionMatch[1];
254
+ } catch (e) {}
255
+ return cachedVersionFilesystem;
256
+ };
257
+ var versionFromReport = () => {
258
+ const report = getReport();
259
+ if (report.header && report.header.glibcVersionRuntime) return report.header.glibcVersionRuntime;
260
+ return null;
261
+ };
262
+ var versionSuffix = (s) => s.trim().split(/\s+/)[1];
263
+ var versionFromCommand = (out) => {
264
+ const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
265
+ if (getconf && getconf.includes(GLIBC)) return versionSuffix(getconf);
266
+ if (ldd1 && ldd2 && ldd1.includes(MUSL)) return versionSuffix(ldd2);
267
+ return null;
268
+ };
269
+ /**
270
+ * Resolves with the libc version when it can be determined, `null` otherwise.
271
+ * @returns {Promise<?string>}
272
+ */
273
+ var version = async () => {
274
+ let version = null;
275
+ if (isLinux()) {
276
+ version = await versionFromFilesystem();
277
+ if (!version) version = versionFromReport();
278
+ if (!version) version = versionFromCommand(await safeCommand());
279
+ }
280
+ return version;
281
+ };
282
+ /**
283
+ * Returns the libc version when it can be determined, `null` otherwise.
284
+ * @returns {?string}
285
+ */
286
+ var versionSync = () => {
287
+ let version = null;
288
+ if (isLinux()) {
289
+ version = versionFromFilesystemSync();
290
+ if (!version) version = versionFromReport();
291
+ if (!version) version = versionFromCommand(safeCommandSync());
292
+ }
293
+ return version;
294
+ };
295
+ module.exports = {
296
+ GLIBC,
297
+ MUSL,
298
+ family,
299
+ familySync,
300
+ isNonGlibcLinux,
301
+ isNonGlibcLinuxSync,
302
+ version,
303
+ versionSync
304
+ };
305
+ }));
306
+ //#endregion
307
+ //#region ../../node_modules/.pnpm/lightningcss@1.33.0/node_modules/lightningcss/node/browserslistToTargets.js
308
+ var require_browserslistToTargets = /* @__PURE__ */ __commonJSMin(((exports, module) => {
309
+ var BROWSER_MAPPING = {
310
+ and_chr: "chrome",
311
+ and_ff: "firefox",
312
+ ie_mob: "ie",
313
+ op_mob: "opera",
314
+ and_qq: null,
315
+ and_uc: null,
316
+ baidu: null,
317
+ bb: null,
318
+ kaios: null,
319
+ op_mini: null
320
+ };
321
+ function browserslistToTargets(browserslist) {
322
+ let targets = {};
323
+ for (let browser of browserslist) {
324
+ let [name, v] = browser.split(" ");
325
+ if (BROWSER_MAPPING[name] === null) continue;
326
+ let version = parseVersion(v);
327
+ if (version == null) continue;
328
+ if (targets[name] == null || version < targets[name]) targets[name] = version;
329
+ }
330
+ return targets;
331
+ }
332
+ function parseVersion(version) {
333
+ let [major, minor = 0, patch = 0] = version.split("-")[0].split(".").map((v) => parseInt(v, 10));
334
+ if (isNaN(major) || isNaN(minor) || isNaN(patch)) return null;
335
+ return major << 16 | minor << 8 | patch;
336
+ }
337
+ module.exports = browserslistToTargets;
338
+ }));
339
+ //#endregion
340
+ //#region ../../node_modules/.pnpm/lightningcss@1.33.0/node_modules/lightningcss/node/composeVisitors.js
341
+ var require_composeVisitors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
342
+ /** @typedef {import('./index').Visitor} Visitor */
343
+ /** @typedef {import('./index').VisitorFunction} VisitorFunction */
344
+ /**
345
+ * Composes multiple visitor objects into a single one.
346
+ * @param {(Visitor | VisitorFunction)[]} visitors
347
+ * @return {Visitor | VisitorFunction}
348
+ */
349
+ function composeVisitors(visitors) {
350
+ if (visitors.length === 1) return visitors[0];
351
+ if (visitors.some((v) => typeof v === "function")) return (opts) => {
352
+ return composeVisitors(visitors.map((v) => typeof v === "function" ? v(opts) : v));
353
+ };
354
+ /** @type Visitor */
355
+ let res = {};
356
+ composeSimpleVisitors(res, visitors, "StyleSheet");
357
+ composeSimpleVisitors(res, visitors, "StyleSheetExit");
358
+ composeObjectVisitors(res, visitors, "Rule", ruleVisitor, wrapCustomAndUnknownAtRule);
359
+ composeObjectVisitors(res, visitors, "RuleExit", ruleVisitor, wrapCustomAndUnknownAtRule);
360
+ composeObjectVisitors(res, visitors, "Declaration", declarationVisitor, wrapCustomProperty);
361
+ composeObjectVisitors(res, visitors, "DeclarationExit", declarationVisitor, wrapCustomProperty);
362
+ composeSimpleVisitors(res, visitors, "Url");
363
+ composeSimpleVisitors(res, visitors, "Color");
364
+ composeSimpleVisitors(res, visitors, "Image");
365
+ composeSimpleVisitors(res, visitors, "ImageExit");
366
+ composeSimpleVisitors(res, visitors, "Length");
367
+ composeSimpleVisitors(res, visitors, "Angle");
368
+ composeSimpleVisitors(res, visitors, "Ratio");
369
+ composeSimpleVisitors(res, visitors, "Resolution");
370
+ composeSimpleVisitors(res, visitors, "Time");
371
+ composeSimpleVisitors(res, visitors, "CustomIdent");
372
+ composeSimpleVisitors(res, visitors, "DashedIdent");
373
+ composeArrayFunctions(res, visitors, "MediaQuery");
374
+ composeArrayFunctions(res, visitors, "MediaQueryExit");
375
+ composeSimpleVisitors(res, visitors, "SupportsCondition");
376
+ composeSimpleVisitors(res, visitors, "SupportsConditionExit");
377
+ composeArrayFunctions(res, visitors, "Selector");
378
+ composeTokenVisitors(res, visitors, "Token", "token", false);
379
+ composeTokenVisitors(res, visitors, "Function", "function", false);
380
+ composeTokenVisitors(res, visitors, "FunctionExit", "function", true);
381
+ composeTokenVisitors(res, visitors, "Variable", "var", false);
382
+ composeTokenVisitors(res, visitors, "VariableExit", "var", true);
383
+ composeTokenVisitors(res, visitors, "EnvironmentVariable", "env", false);
384
+ composeTokenVisitors(res, visitors, "EnvironmentVariableExit", "env", true);
385
+ return res;
386
+ }
387
+ module.exports = composeVisitors;
388
+ function wrapCustomAndUnknownAtRule(k, f) {
389
+ if (k === "unknown") return ((value) => f({
390
+ type: "unknown",
391
+ value
392
+ }));
393
+ if (k === "custom") return ((value) => f({
394
+ type: "custom",
395
+ value
396
+ }));
397
+ return f;
398
+ }
399
+ function wrapCustomProperty(k, f) {
400
+ return k === "custom" ? ((value) => f({
401
+ property: "custom",
402
+ value
403
+ })) : f;
404
+ }
405
+ /**
406
+ * @param {import('./index').Visitor['Rule']} f
407
+ * @param {import('./ast').Rule} item
408
+ */
409
+ function ruleVisitor(f, item) {
410
+ if (typeof f === "object") {
411
+ if (item.type === "unknown") {
412
+ let v = f.unknown;
413
+ if (typeof v === "object") v = v[item.value.name];
414
+ return v?.(item.value);
415
+ }
416
+ if (item.type === "custom") {
417
+ let v = f.custom;
418
+ if (typeof v === "object") v = v[item.value.name];
419
+ return v?.(item.value);
420
+ }
421
+ return f[item.type]?.(item);
422
+ }
423
+ return f?.(item);
424
+ }
425
+ /**
426
+ * @param {import('./index').Visitor['Declaration']} f
427
+ * @param {import('./ast').Declaration} item
428
+ */
429
+ function declarationVisitor(f, item) {
430
+ if (typeof f === "object") {
431
+ /** @type {string} */
432
+ let name = item.property;
433
+ if (item.property === "unparsed") name = item.value.propertyId.property;
434
+ else if (item.property === "custom") {
435
+ let v = f.custom;
436
+ if (typeof v === "object") v = v[item.value.name];
437
+ return v?.(item.value);
438
+ }
439
+ return f[name]?.(item);
440
+ }
441
+ return f?.(item);
442
+ }
443
+ /**
444
+ *
445
+ * @param {Visitor[]} visitors
446
+ * @param {string} key
447
+ * @returns {[any[], boolean, Set<string>]}
448
+ */
449
+ function extractObjectsOrFunctions(visitors, key) {
450
+ let values = [];
451
+ let hasFunction = false;
452
+ let allKeys = /* @__PURE__ */ new Set();
453
+ for (let visitor of visitors) {
454
+ let v = visitor[key];
455
+ if (v) {
456
+ if (typeof v === "function") hasFunction = true;
457
+ else for (let key in v) allKeys.add(key);
458
+ values.push(v);
459
+ }
460
+ }
461
+ return [
462
+ values,
463
+ hasFunction,
464
+ allKeys
465
+ ];
466
+ }
467
+ /**
468
+ * @template {keyof Visitor} K
469
+ * @param {Visitor} res
470
+ * @param {Visitor[]} visitors
471
+ * @param {K} key
472
+ * @param {(visitor: Visitor[K], item: any) => any | any[] | void} apply
473
+ * @param {(k: string, f: any) => any} wrapKey
474
+ */
475
+ function composeObjectVisitors(res, visitors, key, apply, wrapKey) {
476
+ let [values, hasFunction, allKeys] = extractObjectsOrFunctions(visitors, key);
477
+ if (values.length === 0) return;
478
+ if (values.length === 1) {
479
+ res[key] = values[0];
480
+ return;
481
+ }
482
+ let f = createArrayVisitor(visitors, (visitor, item) => apply(visitor[key], item));
483
+ if (hasFunction) res[key] = f;
484
+ else {
485
+ /** @type {any} */
486
+ let v = {};
487
+ for (let k of allKeys) v[k] = wrapKey(k, f);
488
+ res[key] = v;
489
+ }
490
+ }
491
+ /**
492
+ * @param {Visitor} res
493
+ * @param {Visitor[]} visitors
494
+ * @param {string} key
495
+ * @param {import('./ast').TokenOrValue['type']} type
496
+ * @param {boolean} isExit
497
+ */
498
+ function composeTokenVisitors(res, visitors, key, type, isExit) {
499
+ let [values, hasFunction, allKeys] = extractObjectsOrFunctions(visitors, key);
500
+ if (values.length === 0) return;
501
+ if (values.length === 1) {
502
+ res[key] = values[0];
503
+ return;
504
+ }
505
+ let f = createTokenVisitor(visitors, type, isExit);
506
+ if (hasFunction) res[key] = f;
507
+ else {
508
+ let v = {};
509
+ for (let key of allKeys) v[key] = f;
510
+ res[key] = v;
511
+ }
512
+ }
513
+ /**
514
+ * @param {Visitor[]} visitors
515
+ * @param {import('./ast').TokenOrValue['type']} type
516
+ */
517
+ function createTokenVisitor(visitors, type, isExit) {
518
+ let v = createArrayVisitor(visitors, (visitor, item) => {
519
+ let f;
520
+ switch (item.type) {
521
+ case "token":
522
+ f = visitor.Token;
523
+ if (typeof f === "object") f = f[item.value.type];
524
+ break;
525
+ case "function":
526
+ f = isExit ? visitor.FunctionExit : visitor.Function;
527
+ if (typeof f === "object") f = f[item.value.name];
528
+ break;
529
+ case "var":
530
+ f = isExit ? visitor.VariableExit : visitor.Variable;
531
+ break;
532
+ case "env":
533
+ f = isExit ? visitor.EnvironmentVariableExit : visitor.EnvironmentVariable;
534
+ if (typeof f === "object") {
535
+ let name;
536
+ switch (item.value.name.type) {
537
+ case "ua":
538
+ case "unknown":
539
+ name = item.value.name.value;
540
+ break;
541
+ case "custom": name = item.value.name.ident;
542
+ }
543
+ f = f[name];
544
+ }
545
+ break;
546
+ case "color":
547
+ f = visitor.Color;
548
+ break;
549
+ case "url":
550
+ f = visitor.Url;
551
+ break;
552
+ case "length":
553
+ f = visitor.Length;
554
+ break;
555
+ case "angle":
556
+ f = visitor.Angle;
557
+ break;
558
+ case "time":
559
+ f = visitor.Time;
560
+ break;
561
+ case "resolution":
562
+ f = visitor.Resolution;
563
+ break;
564
+ case "dashed-ident": f = visitor.DashedIdent;
565
+ }
566
+ if (!f) return;
567
+ let res = f(item.value);
568
+ switch (item.type) {
569
+ case "color":
570
+ case "url":
571
+ case "length":
572
+ case "angle":
573
+ case "time":
574
+ case "resolution":
575
+ case "dashed-ident": if (Array.isArray(res)) res = res.map((value) => ({
576
+ type: item.type,
577
+ value
578
+ }));
579
+ else if (res) res = {
580
+ type: item.type,
581
+ value: res
582
+ };
583
+ }
584
+ return res;
585
+ });
586
+ return (value) => v({
587
+ type,
588
+ value
589
+ });
590
+ }
591
+ /**
592
+ * @param {Visitor[]} visitors
593
+ * @param {string} key
594
+ */
595
+ function extractFunctions(visitors, key) {
596
+ let functions = [];
597
+ for (let visitor of visitors) {
598
+ let f = visitor[key];
599
+ if (f) functions.push(f);
600
+ }
601
+ return functions;
602
+ }
603
+ /**
604
+ * @param {Visitor} res
605
+ * @param {Visitor[]} visitors
606
+ * @param {string} key
607
+ */
608
+ function composeSimpleVisitors(res, visitors, key) {
609
+ let functions = extractFunctions(visitors, key);
610
+ if (functions.length === 0) return;
611
+ if (functions.length === 1) {
612
+ res[key] = functions[0];
613
+ return;
614
+ }
615
+ res[key] = (arg) => {
616
+ let mutated = false;
617
+ for (let f of functions) {
618
+ let res = f(arg);
619
+ if (res) {
620
+ arg = res;
621
+ mutated = true;
622
+ }
623
+ }
624
+ return mutated ? arg : void 0;
625
+ };
626
+ }
627
+ /**
628
+ * @param {Visitor} res
629
+ * @param {Visitor[]} visitors
630
+ * @param {string} key
631
+ */
632
+ function composeArrayFunctions(res, visitors, key) {
633
+ let functions = extractFunctions(visitors, key);
634
+ if (functions.length === 0) return;
635
+ if (functions.length === 1) {
636
+ res[key] = functions[0];
637
+ return;
638
+ }
639
+ res[key] = createArrayVisitor(functions, (f, item) => f(item));
640
+ }
641
+ /**
642
+ * @template T
643
+ * @template V
644
+ * @param {T[]} visitors
645
+ * @param {(visitor: T, item: V) => V | V[] | void} apply
646
+ * @returns {(item: V) => V | V[] | void}
647
+ */
648
+ function createArrayVisitor(visitors, apply) {
649
+ let seen = new Bitset(visitors.length);
650
+ return (arg) => {
651
+ let arr = [arg];
652
+ let mutated = false;
653
+ seen.clear();
654
+ for (let i = 0; i < arr.length; i++) for (let v = 0; v < visitors.length && i < arr.length;) {
655
+ if (seen.get(v)) {
656
+ v++;
657
+ continue;
658
+ }
659
+ let item = arr[i];
660
+ let visitor = visitors[v];
661
+ let res = apply(visitor, item);
662
+ if (Array.isArray(res)) {
663
+ if (res.length === 0) arr.splice(i, 1);
664
+ else if (res.length === 1) arr[i] = res[0];
665
+ else arr.splice(i, 1, ...res);
666
+ mutated = true;
667
+ seen.set(v);
668
+ v = 0;
669
+ } else if (res) {
670
+ arr[i] = res;
671
+ mutated = true;
672
+ seen.set(v);
673
+ v = 0;
674
+ } else v++;
675
+ }
676
+ if (!mutated) return;
677
+ return arr.length === 1 ? arr[0] : arr;
678
+ };
679
+ }
680
+ var Bitset = class {
681
+ constructor(maxBits = 32) {
682
+ this.bits = 0;
683
+ this.more = maxBits > 32 ? new Uint32Array(Math.ceil((maxBits - 32) / 32)) : null;
684
+ }
685
+ /** @param {number} bit */
686
+ get(bit) {
687
+ if (bit >= 32 && this.more) {
688
+ let i = Math.floor((bit - 32) / 32);
689
+ let b = bit % 32;
690
+ return Boolean(this.more[i] & 1 << b);
691
+ } else return Boolean(this.bits & 1 << bit);
692
+ }
693
+ /** @param {number} bit */
694
+ set(bit) {
695
+ if (bit >= 32 && this.more) {
696
+ let i = Math.floor((bit - 32) / 32);
697
+ let b = bit % 32;
698
+ this.more[i] |= 1 << b;
699
+ } else this.bits |= 1 << bit;
700
+ }
701
+ clear() {
702
+ this.bits = 0;
703
+ if (this.more) this.more.fill(0);
704
+ }
705
+ };
706
+ }));
707
+ //#endregion
708
+ //#region ../../node_modules/.pnpm/lightningcss@1.33.0/node_modules/lightningcss/node/flags.js
709
+ var require_flags = /* @__PURE__ */ __commonJSMin(((exports) => {
710
+ exports.Features = {
711
+ Nesting: 1,
712
+ NotSelectorList: 2,
713
+ DirSelector: 4,
714
+ LangSelectorList: 8,
715
+ IsSelector: 16,
716
+ TextDecorationThicknessPercent: 32,
717
+ MediaIntervalSyntax: 64,
718
+ MediaRangeSyntax: 128,
719
+ CustomMediaQueries: 256,
720
+ ClampFunction: 512,
721
+ ColorFunction: 1024,
722
+ OklabColors: 2048,
723
+ LabColors: 4096,
724
+ P3Colors: 8192,
725
+ HexAlphaColors: 16384,
726
+ SpaceSeparatedColorNotation: 32768,
727
+ FontFamilySystemUi: 65536,
728
+ DoublePositionGradients: 131072,
729
+ VendorPrefixes: 262144,
730
+ LogicalProperties: 524288,
731
+ LightDark: 1048576,
732
+ Selectors: 31,
733
+ MediaQueries: 448,
734
+ Colors: 1113088
735
+ };
736
+ }));
737
+ var { transform, transformStyleAttribute, bundle, bundleAsync, browserslistToTargets, composeVisitors, Features } = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
738
+ var parts = [process.platform, process.arch];
739
+ if (process.platform === "linux") {
740
+ const { MUSL, familySync } = require_detect_libc();
741
+ if (familySync() === MUSL) parts.push("musl");
742
+ else if (process.arch === "arm") parts.push("gnueabihf");
743
+ else parts.push("gnu");
744
+ } else if (process.platform === "win32") parts.push("msvc");
745
+ var native;
746
+ try {
747
+ native = __require(`lightningcss-${parts.join("-")}`);
748
+ } catch (err) {
749
+ native = __require(`../lightningcss.${parts.join("-")}.node`);
750
+ }
751
+ module.exports.transform = wrap(native.transform);
752
+ module.exports.transformStyleAttribute = wrap(native.transformStyleAttribute);
753
+ module.exports.bundle = wrap(native.bundle);
754
+ module.exports.bundleAsync = wrap(native.bundleAsync);
755
+ module.exports.browserslistToTargets = require_browserslistToTargets();
756
+ module.exports.composeVisitors = require_composeVisitors();
757
+ module.exports.Features = require_flags().Features;
758
+ function wrap(call) {
759
+ return (options) => {
760
+ if (typeof options.visitor === "function") {
761
+ let deps = [];
762
+ options.visitor = options.visitor({ addDependency(dep) {
763
+ deps.push(dep);
764
+ } });
765
+ let result = call(options);
766
+ if (result instanceof Promise) result = result.then((res) => {
767
+ if (deps.length) {
768
+ res.dependencies ??= [];
769
+ res.dependencies.push(...deps);
770
+ }
771
+ return res;
772
+ });
773
+ else if (deps.length) {
774
+ result.dependencies ??= [];
775
+ result.dependencies.push(...deps);
776
+ }
777
+ return result;
778
+ } else return call(options);
779
+ };
780
+ }
781
+ })))(), 1)).default;
782
+ //#endregion
783
+ export { Features, browserslistToTargets, bundle, bundleAsync, composeVisitors, transform, transformStyleAttribute };