palettecn 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 (460) hide show
  1. package/dist/index.mjs +10 -0
  2. package/dist/web/nitro.json +17 -0
  3. package/dist/web/public/assets/abap-BdvmRIgS.js +1 -0
  4. package/dist/web/public/assets/actionscript-3-et0rQaqm.js +1 -0
  5. package/dist/web/public/assets/ada-DPgrustg.js +1 -0
  6. package/dist/web/public/assets/andromeeda-DJl1yeV_.js +1 -0
  7. package/dist/web/public/assets/angular-html-Dm7s7tSx.js +1 -0
  8. package/dist/web/public/assets/angular-ts-B_ywTULt.js +1 -0
  9. package/dist/web/public/assets/apache-CFpsYX8S.js +1 -0
  10. package/dist/web/public/assets/apex-CN5n6pbI.js +1 -0
  11. package/dist/web/public/assets/apl-Dm11wHHc.js +1 -0
  12. package/dist/web/public/assets/applescript-JrY23hsL.js +1 -0
  13. package/dist/web/public/assets/ara-DR83hn3A.js +1 -0
  14. package/dist/web/public/assets/asciidoc-Dpu9XLB1.js +1 -0
  15. package/dist/web/public/assets/asm-BYI3A31V.js +1 -0
  16. package/dist/web/public/assets/astro-DP1naDCT.js +1 -0
  17. package/dist/web/public/assets/aurora-x-Nav5jnoQ.js +1 -0
  18. package/dist/web/public/assets/awk-BIoTx_w6.js +1 -0
  19. package/dist/web/public/assets/ayu-dark-H5QV5J7K.js +1 -0
  20. package/dist/web/public/assets/ayu-light-BrwTNGnU.js +1 -0
  21. package/dist/web/public/assets/ayu-mirage-Bg6FpF5w.js +1 -0
  22. package/dist/web/public/assets/ballerina-BFvDNd4T.js +1 -0
  23. package/dist/web/public/assets/bat-DtQkx7Ny.js +1 -0
  24. package/dist/web/public/assets/beancount-BIjKALa1.js +1 -0
  25. package/dist/web/public/assets/berry-BPkDN_EZ.js +1 -0
  26. package/dist/web/public/assets/bibtex-Dur2CNW6.js +1 -0
  27. package/dist/web/public/assets/bicep-BMz1bZ7m.js +1 -0
  28. package/dist/web/public/assets/bird2-91rdr9s7.js +1 -0
  29. package/dist/web/public/assets/blade-DD5O596X.js +1 -0
  30. package/dist/web/public/assets/bsl-FmB7U2qd.js +1 -0
  31. package/dist/web/public/assets/bundle-mjs-Bso3xn9x.js +1 -0
  32. package/dist/web/public/assets/c-DqqBLLyl.js +1 -0
  33. package/dist/web/public/assets/c3-CJTbEooS.js +1 -0
  34. package/dist/web/public/assets/cadence-C0GI7BZZ.js +1 -0
  35. package/dist/web/public/assets/cairo-B5JMmIC0.js +1 -0
  36. package/dist/web/public/assets/catppuccin-frappe-D76-cUjK.js +1 -0
  37. package/dist/web/public/assets/catppuccin-latte-DUHNJ_6_.js +1 -0
  38. package/dist/web/public/assets/catppuccin-macchiato-CFhPH2wd.js +1 -0
  39. package/dist/web/public/assets/catppuccin-mocha-BRD0cvUW.js +1 -0
  40. package/dist/web/public/assets/chunk-FRKYWMV7-DUkk3w4h.js +122 -0
  41. package/dist/web/public/assets/clarity-KgUVrNfC.js +1 -0
  42. package/dist/web/public/assets/clojure-BhQuoGIG.js +1 -0
  43. package/dist/web/public/assets/cmake-CA59gUFQ.js +1 -0
  44. package/dist/web/public/assets/cobol-CCFShgGZ.js +1 -0
  45. package/dist/web/public/assets/codeowners-CD36YqjJ.js +1 -0
  46. package/dist/web/public/assets/codeql-CrMosKUt.js +1 -0
  47. package/dist/web/public/assets/coffee-C-Mn3tBT.js +1 -0
  48. package/dist/web/public/assets/common-lisp-DYnOjAFz.js +1 -0
  49. package/dist/web/public/assets/components-DiZ1dSl3.js +77 -0
  50. package/dist/web/public/assets/coq-BaHtq3Qt.js +1 -0
  51. package/dist/web/public/assets/cpp-D8Y73ItU.js +1 -0
  52. package/dist/web/public/assets/crystal-CnXWqbxx.js +1 -0
  53. package/dist/web/public/assets/csharp-D6sghVPa.js +1 -0
  54. package/dist/web/public/assets/css-CUGjdPw_.js +1 -0
  55. package/dist/web/public/assets/csv-DuxyxUAI.js +1 -0
  56. package/dist/web/public/assets/cue-D9NRAX0_.js +1 -0
  57. package/dist/web/public/assets/cypher-HJRdtilF.js +1 -0
  58. package/dist/web/public/assets/d-B4Ont7_X.js +1 -0
  59. package/dist/web/public/assets/dark-plus-DZSBycyp.js +1 -0
  60. package/dist/web/public/assets/dart-Dp4asavE.js +1 -0
  61. package/dist/web/public/assets/dax-DBUubp6S.js +1 -0
  62. package/dist/web/public/assets/desktop-DQ0n6zIQ.js +1 -0
  63. package/dist/web/public/assets/diff-CFHlrffC.js +1 -0
  64. package/dist/web/public/assets/docker-BuefmsF5.js +1 -0
  65. package/dist/web/public/assets/dotenv-BKTsUQ_r.js +1 -0
  66. package/dist/web/public/assets/dracula-MOn9qacs.js +1 -0
  67. package/dist/web/public/assets/dracula-soft-C4r_sC_D.js +1 -0
  68. package/dist/web/public/assets/dream-maker-BNdv5lLS.js +1 -0
  69. package/dist/web/public/assets/edge-C-Mi8Oda.js +1 -0
  70. package/dist/web/public/assets/elixir-CTS5wQtX.js +1 -0
  71. package/dist/web/public/assets/elm-rM310x8D.js +1 -0
  72. package/dist/web/public/assets/emacs-lisp-D9FIGRtM.js +1 -0
  73. package/dist/web/public/assets/erb-oaGjGVGO.js +1 -0
  74. package/dist/web/public/assets/erlang-q4Mkyw3m.js +1 -0
  75. package/dist/web/public/assets/everforest-dark-CNa2QFRn.js +1 -0
  76. package/dist/web/public/assets/everforest-light-DRbUDqJT.js +1 -0
  77. package/dist/web/public/assets/fennel-DpqQTaVZ.js +1 -0
  78. package/dist/web/public/assets/field-1-Ujza0S5j.js +1 -0
  79. package/dist/web/public/assets/fish-hyk5x6Q4.js +1 -0
  80. package/dist/web/public/assets/fluent-DMll-MGX.js +1 -0
  81. package/dist/web/public/assets/fortran-fixed-form-BmdfKovV.js +1 -0
  82. package/dist/web/public/assets/fortran-free-form-MCAifii4.js +1 -0
  83. package/dist/web/public/assets/fsharp-DLlBn9Nl.js +1 -0
  84. package/dist/web/public/assets/gdresource-BzFzBRli.js +1 -0
  85. package/dist/web/public/assets/gdscript-D3R4J0Cv.js +1 -0
  86. package/dist/web/public/assets/gdshader-BAubtqqN.js +1 -0
  87. package/dist/web/public/assets/genie-BnIIX2pC.js +1 -0
  88. package/dist/web/public/assets/gherkin-CL3NUuB1.js +1 -0
  89. package/dist/web/public/assets/git-commit-BYPE8h85.js +1 -0
  90. package/dist/web/public/assets/git-rebase-Bmmgf6eN.js +1 -0
  91. package/dist/web/public/assets/github-dark-default-C6I2oE4c.js +1 -0
  92. package/dist/web/public/assets/github-dark-dimmed-DEqwxg6D.js +1 -0
  93. package/dist/web/public/assets/github-dark-high-contrast-DDt3j0cs.js +1 -0
  94. package/dist/web/public/assets/github-dark-oLN6SDKl.js +1 -0
  95. package/dist/web/public/assets/github-light-DaN-N2Gj.js +1 -0
  96. package/dist/web/public/assets/github-light-default-B3EwMbS7.js +1 -0
  97. package/dist/web/public/assets/github-light-high-contrast-Cl9D0f_e.js +1 -0
  98. package/dist/web/public/assets/gleam-Cvj8QRtQ.js +1 -0
  99. package/dist/web/public/assets/glimmer-js-CahbROb1.js +1 -0
  100. package/dist/web/public/assets/glimmer-ts-JMFYNbot.js +1 -0
  101. package/dist/web/public/assets/global-XWAvxWcA.css +2 -0
  102. package/dist/web/public/assets/glsl-BCuCNM3V.js +1 -0
  103. package/dist/web/public/assets/gn-DxCHSEMl.js +1 -0
  104. package/dist/web/public/assets/gnuplot-CkGXHK7B.js +1 -0
  105. package/dist/web/public/assets/go-B_NLCuTj.js +1 -0
  106. package/dist/web/public/assets/graphql-RXOfHGfI.js +1 -0
  107. package/dist/web/public/assets/groovy-DVge8oRs.js +1 -0
  108. package/dist/web/public/assets/gruvbox-dark-hard-BwZz1yni.js +1 -0
  109. package/dist/web/public/assets/gruvbox-dark-medium-Bqy6jkuO.js +1 -0
  110. package/dist/web/public/assets/gruvbox-dark-soft-DjUvyUfH.js +1 -0
  111. package/dist/web/public/assets/gruvbox-light-hard-BTLmfPdm.js +1 -0
  112. package/dist/web/public/assets/gruvbox-light-medium-DeWqsWs6.js +1 -0
  113. package/dist/web/public/assets/gruvbox-light-soft-BL8ld-1F.js +1 -0
  114. package/dist/web/public/assets/hack-BBQpwyf_.js +1 -0
  115. package/dist/web/public/assets/haml-mWELc9kh.js +1 -0
  116. package/dist/web/public/assets/handlebars-COrUo8cC.js +1 -0
  117. package/dist/web/public/assets/haskell-DRmM8XlQ.js +1 -0
  118. package/dist/web/public/assets/haxe-BEhq8ZEr.js +1 -0
  119. package/dist/web/public/assets/hcl-B5ZIaGS0.js +1 -0
  120. package/dist/web/public/assets/highlighted-body-TPN3WLV5-YJgGFx4e.js +1 -0
  121. package/dist/web/public/assets/hjson-B9uRLqIO.js +1 -0
  122. package/dist/web/public/assets/hlsl-Hv1kKjrS.js +1 -0
  123. package/dist/web/public/assets/horizon-ClXGBjWw.js +1 -0
  124. package/dist/web/public/assets/horizon-bright-CvUCr3ux.js +1 -0
  125. package/dist/web/public/assets/houston-NqkqG60q.js +1 -0
  126. package/dist/web/public/assets/html-cmigv1ou.js +1 -0
  127. package/dist/web/public/assets/html-derivative-B3me0pSu.js +1 -0
  128. package/dist/web/public/assets/http-BojM9cyU.js +1 -0
  129. package/dist/web/public/assets/hurl-BxEmMiGP.js +1 -0
  130. package/dist/web/public/assets/hxml-CoBuVbfs.js +1 -0
  131. package/dist/web/public/assets/hy-CeISYGGU.js +1 -0
  132. package/dist/web/public/assets/imba-xjcDFXUW.js +1 -0
  133. package/dist/web/public/assets/ini-D0ZCSj6e.js +1 -0
  134. package/dist/web/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  135. package/dist/web/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  136. package/dist/web/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  137. package/dist/web/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  138. package/dist/web/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  139. package/dist/web/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  140. package/dist/web/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  141. package/dist/web/public/assets/java-BvheClGI.js +1 -0
  142. package/dist/web/public/assets/javascript-DjlJORDg.js +1 -0
  143. package/dist/web/public/assets/jinja-Bi4sG72X.js +1 -0
  144. package/dist/web/public/assets/jison-BTz5Ik2Y.js +1 -0
  145. package/dist/web/public/assets/json-CiTd40Rg.js +1 -0
  146. package/dist/web/public/assets/json5-FR9EyF7a.js +1 -0
  147. package/dist/web/public/assets/jsonc-CHIeFfsD.js +1 -0
  148. package/dist/web/public/assets/jsonl-B4WQkwTf.js +1 -0
  149. package/dist/web/public/assets/jsonnet-vd-gzGkL.js +1 -0
  150. package/dist/web/public/assets/jssm-C_bj1LkZ.js +1 -0
  151. package/dist/web/public/assets/jsx-Bx-RZMFH.js +1 -0
  152. package/dist/web/public/assets/jsx-runtime-n8k0hwt8.js +1 -0
  153. package/dist/web/public/assets/julia-BKcIfSxk.js +1 -0
  154. package/dist/web/public/assets/just-IkZCagAs.js +1 -0
  155. package/dist/web/public/assets/kanagawa-dragon-B3Cz89vt.js +1 -0
  156. package/dist/web/public/assets/kanagawa-lotus-CRe_W5Ft.js +1 -0
  157. package/dist/web/public/assets/kanagawa-wave-BPqZ5XB7.js +1 -0
  158. package/dist/web/public/assets/kdl-BzL_Ak31.js +1 -0
  159. package/dist/web/public/assets/kotlin-BQQFk6ql.js +1 -0
  160. package/dist/web/public/assets/kusto-vWe6OLKV.js +1 -0
  161. package/dist/web/public/assets/laserwave-CwtvEUcj.js +1 -0
  162. package/dist/web/public/assets/latex-9N90_WFU.js +1 -0
  163. package/dist/web/public/assets/lean-CaqenOqv.js +1 -0
  164. package/dist/web/public/assets/less-CERnPzn6.js +1 -0
  165. package/dist/web/public/assets/light-plus-B9_M_OKq.js +1 -0
  166. package/dist/web/public/assets/liquid-CQLPDP7m.js +1 -0
  167. package/dist/web/public/assets/llvm-BylJXvm7.js +1 -0
  168. package/dist/web/public/assets/log-CBBcNcbO.js +1 -0
  169. package/dist/web/public/assets/logo-r-8Jc8Xk.js +1 -0
  170. package/dist/web/public/assets/lua-BBL6LXKd.js +1 -0
  171. package/dist/web/public/assets/luau-B2g7L-zP.js +1 -0
  172. package/dist/web/public/assets/main-0lKVDR64.css +2 -0
  173. package/dist/web/public/assets/main-CcNf0BOb.js +126 -0
  174. package/dist/web/public/assets/make-DK-HzJ2w.js +1 -0
  175. package/dist/web/public/assets/markdown-FgdsukgR.js +1 -0
  176. package/dist/web/public/assets/marko-CLZwt2N2.js +1 -0
  177. package/dist/web/public/assets/material-theme-DOJ9PS4O.js +1 -0
  178. package/dist/web/public/assets/material-theme-darker-DOurH5jT.js +1 -0
  179. package/dist/web/public/assets/material-theme-lighter-BfPWxCP6.js +1 -0
  180. package/dist/web/public/assets/material-theme-ocean-BcO5PKoq.js +1 -0
  181. package/dist/web/public/assets/material-theme-palenight-ClWQBDDd.js +1 -0
  182. package/dist/web/public/assets/matlab-DwyUVNXd.js +1 -0
  183. package/dist/web/public/assets/mdc-Bo8CRPg4.js +1 -0
  184. package/dist/web/public/assets/mdx-3EBShbsD.js +1 -0
  185. package/dist/web/public/assets/mermaid-ByG2-SLz.js +1 -0
  186. package/dist/web/public/assets/mermaid-O7DHMXV3-COAgR3aM.js +1 -0
  187. package/dist/web/public/assets/min-dark-ClJ2x5pc.js +1 -0
  188. package/dist/web/public/assets/min-light-BsOUz5iE.js +1 -0
  189. package/dist/web/public/assets/mipsasm-BKDtQCf3.js +1 -0
  190. package/dist/web/public/assets/mojo-DmEAK7iv.js +1 -0
  191. package/dist/web/public/assets/monokai-BKc3VADO.js +1 -0
  192. package/dist/web/public/assets/moonbit-Qm8v_cKN.js +1 -0
  193. package/dist/web/public/assets/move-CMectUPk.js +1 -0
  194. package/dist/web/public/assets/narrat-Bdm8NaK8.js +1 -0
  195. package/dist/web/public/assets/nextflow-BpSt05nC.js +1 -0
  196. package/dist/web/public/assets/nextflow-groovy-BZ-bqJ-u.js +1 -0
  197. package/dist/web/public/assets/nginx-ChZL5FWE.js +1 -0
  198. package/dist/web/public/assets/night-owl-CbFc5pXO.js +1 -0
  199. package/dist/web/public/assets/night-owl-light-zYbVCVuz.js +1 -0
  200. package/dist/web/public/assets/nim-5JnPAJWa.js +1 -0
  201. package/dist/web/public/assets/nix-P5P-2qHs.js +1 -0
  202. package/dist/web/public/assets/nord-C7hKGudV.js +1 -0
  203. package/dist/web/public/assets/nushell-DKPnC5RG.js +1 -0
  204. package/dist/web/public/assets/objective-c-BPwXtM0v.js +1 -0
  205. package/dist/web/public/assets/objective-cpp-CWYEdWNG.js +1 -0
  206. package/dist/web/public/assets/ocaml-CL7OJ02v.js +1 -0
  207. package/dist/web/public/assets/odin-Dtay25eA.js +1 -0
  208. package/dist/web/public/assets/one-dark-pro-CrdFNNwF.js +1 -0
  209. package/dist/web/public/assets/one-light-BUiz8X4B.js +1 -0
  210. package/dist/web/public/assets/openscad-WD4sXUUp.js +1 -0
  211. package/dist/web/public/assets/pascal-A6-MZnZ8.js +1 -0
  212. package/dist/web/public/assets/perl-Yq3AfnVV.js +1 -0
  213. package/dist/web/public/assets/php-CCj0foPx.js +1 -0
  214. package/dist/web/public/assets/pkl-cmPbg8fI.js +1 -0
  215. package/dist/web/public/assets/plastic-DtQ_LnDB.js +1 -0
  216. package/dist/web/public/assets/plsql-DwmuVd7q.js +1 -0
  217. package/dist/web/public/assets/po-CkVxkZaj.js +1 -0
  218. package/dist/web/public/assets/poimandres-Dt0xZuaa.js +1 -0
  219. package/dist/web/public/assets/polar-hStNz_W2.js +1 -0
  220. package/dist/web/public/assets/postcss-ZIk0AQ7M.js +1 -0
  221. package/dist/web/public/assets/powerquery-D0gqoHHD.js +1 -0
  222. package/dist/web/public/assets/powershell-DXB5HoVh.js +1 -0
  223. package/dist/web/public/assets/prisma-DmTrfxC0.js +1 -0
  224. package/dist/web/public/assets/prolog-CdoyriEj.js +1 -0
  225. package/dist/web/public/assets/proto-4MrN11dS.js +1 -0
  226. package/dist/web/public/assets/pug-svYJKDOQ.js +1 -0
  227. package/dist/web/public/assets/puppet-MEaLGpAP.js +1 -0
  228. package/dist/web/public/assets/purescript-CPxCorqB.js +1 -0
  229. package/dist/web/public/assets/python-f4fp5z0z.js +1 -0
  230. package/dist/web/public/assets/qml-BzEtWdqI.js +1 -0
  231. package/dist/web/public/assets/qmldir-DCjSceJ_.js +1 -0
  232. package/dist/web/public/assets/qss-BdM02NUc.js +1 -0
  233. package/dist/web/public/assets/r-luosIeJH.js +1 -0
  234. package/dist/web/public/assets/racket-D2tfa8Zc.js +1 -0
  235. package/dist/web/public/assets/raku-KeGPJVZg.js +1 -0
  236. package/dist/web/public/assets/razor-Bokxs4Qx.js +1 -0
  237. package/dist/web/public/assets/red-C0qZ-1lN.js +1 -0
  238. package/dist/web/public/assets/reg-DdnswvOj.js +1 -0
  239. package/dist/web/public/assets/regexp-CYC8h6V9.js +1 -0
  240. package/dist/web/public/assets/rel-RhzEfSRc.js +1 -0
  241. package/dist/web/public/assets/riscv-dS5TzX10.js +1 -0
  242. package/dist/web/public/assets/ron-CQjQSCVp.js +1 -0
  243. package/dist/web/public/assets/rose-pine-C89ViLdr.js +1 -0
  244. package/dist/web/public/assets/rose-pine-dawn-Dq2gf0yi.js +1 -0
  245. package/dist/web/public/assets/rose-pine-moon-CBDvXVs_.js +1 -0
  246. package/dist/web/public/assets/rosmsg-nvjuSIGu.js +1 -0
  247. package/dist/web/public/assets/routes-BXqJCOpL.js +542 -0
  248. package/dist/web/public/assets/rst-1xwvVGf7.js +1 -0
  249. package/dist/web/public/assets/ruby-Blad-eDx.js +1 -0
  250. package/dist/web/public/assets/rust-rV8q_xyI.js +1 -0
  251. package/dist/web/public/assets/sas-DUPWtptg.js +1 -0
  252. package/dist/web/public/assets/sass-CuxdoNN0.js +1 -0
  253. package/dist/web/public/assets/scala-Df4L7N3R.js +1 -0
  254. package/dist/web/public/assets/scheme-DalRmAPH.js +1 -0
  255. package/dist/web/public/assets/scss-CYQ8LEwP.js +1 -0
  256. package/dist/web/public/assets/sdbl-B_TmFnGf.js +1 -0
  257. package/dist/web/public/assets/shaderlab-DYEMDY3e.js +1 -0
  258. package/dist/web/public/assets/shellscript-DjKZ34ac.js +1 -0
  259. package/dist/web/public/assets/shellsession-C3kcnBnh.js +1 -0
  260. package/dist/web/public/assets/slack-dark-ak_jOeLl.js +1 -0
  261. package/dist/web/public/assets/slack-ochin-ByiYhLwu.js +1 -0
  262. package/dist/web/public/assets/smalltalk-DTTnjjZJ.js +1 -0
  263. package/dist/web/public/assets/snazzy-light-BBRYeY60.js +1 -0
  264. package/dist/web/public/assets/solarized-dark-BtoLnWkw.js +1 -0
  265. package/dist/web/public/assets/solarized-light-CtzUA7GI.js +1 -0
  266. package/dist/web/public/assets/solidity-CSIHEQ2t.js +1 -0
  267. package/dist/web/public/assets/soy-BN0uzUAI.js +1 -0
  268. package/dist/web/public/assets/sparql-B6k9tA6Q.js +1 -0
  269. package/dist/web/public/assets/splunk-DkRzN7V_.js +1 -0
  270. package/dist/web/public/assets/sql-Bx-WX28V.js +1 -0
  271. package/dist/web/public/assets/ssh-config-Bqp7ng33.js +1 -0
  272. package/dist/web/public/assets/stata-HAj7doU8.js +1 -0
  273. package/dist/web/public/assets/stylus-CdbCxDLX.js +1 -0
  274. package/dist/web/public/assets/surrealql-BkGf0I3k.js +1 -0
  275. package/dist/web/public/assets/svelte-DtWg6ssL.js +1 -0
  276. package/dist/web/public/assets/swift-yRu2dtgr.js +1 -0
  277. package/dist/web/public/assets/synthwave-84-2WIu6MHX.js +1 -0
  278. package/dist/web/public/assets/system-verilog-GUE_oP1V.js +1 -0
  279. package/dist/web/public/assets/systemd-FLIJAQZV.js +1 -0
  280. package/dist/web/public/assets/talonscript-DTR-8ILs.js +1 -0
  281. package/dist/web/public/assets/tasl-WHNWP-1F.js +1 -0
  282. package/dist/web/public/assets/tcl-BaBXNNp6.js +1 -0
  283. package/dist/web/public/assets/templ-Dc9vj00n.js +1 -0
  284. package/dist/web/public/assets/terraform-uJUFpr8t.js +1 -0
  285. package/dist/web/public/assets/tex-DA3dAz55.js +1 -0
  286. package/dist/web/public/assets/tokyo-night-BbogFqAr.js +1 -0
  287. package/dist/web/public/assets/toml-CyR4Gqq1.js +1 -0
  288. package/dist/web/public/assets/ts-tags-BD1j21LH.js +1 -0
  289. package/dist/web/public/assets/tsv-COLVYI6A.js +1 -0
  290. package/dist/web/public/assets/tsx-CFm2E6uK.js +1 -0
  291. package/dist/web/public/assets/turtle-PQwt4gkb.js +1 -0
  292. package/dist/web/public/assets/twig-DrUXy85s.js +1 -0
  293. package/dist/web/public/assets/typescript-Dy-5sXFx.js +1 -0
  294. package/dist/web/public/assets/typespec-Bb7qHV0g.js +1 -0
  295. package/dist/web/public/assets/typst-Bj_JElGz.js +1 -0
  296. package/dist/web/public/assets/v-BTkrtik4.js +1 -0
  297. package/dist/web/public/assets/vala-AXT1CI9v.js +1 -0
  298. package/dist/web/public/assets/vb-DzTKUgW8.js +1 -0
  299. package/dist/web/public/assets/verilog-aI3j5Xj8.js +1 -0
  300. package/dist/web/public/assets/vesper-BmnwIC_B.js +1 -0
  301. package/dist/web/public/assets/vhdl-4IgBB7vO.js +1 -0
  302. package/dist/web/public/assets/viml-D_XMKSR6.js +1 -0
  303. package/dist/web/public/assets/vitesse-black-DhmxIXiA.js +1 -0
  304. package/dist/web/public/assets/vitesse-dark-dvEH_9qt.js +1 -0
  305. package/dist/web/public/assets/vitesse-light-Ca0W2L1O.js +1 -0
  306. package/dist/web/public/assets/vue-DC_yTvy2.js +1 -0
  307. package/dist/web/public/assets/vue-html-Bp8x4gdt.js +1 -0
  308. package/dist/web/public/assets/vue-vine-ZcUkuUUp.js +1 -0
  309. package/dist/web/public/assets/vyper-Dz2f7-FK.js +1 -0
  310. package/dist/web/public/assets/wasm-CuXPCj65.js +1 -0
  311. package/dist/web/public/assets/wasm-DHkXUMsP.js +1 -0
  312. package/dist/web/public/assets/wenyan-BRAtM0Iv.js +1 -0
  313. package/dist/web/public/assets/wgsl-CMpn9jTa.js +1 -0
  314. package/dist/web/public/assets/wikitext-DRmBVmVA.js +1 -0
  315. package/dist/web/public/assets/wit-Drp_HLqJ.js +1 -0
  316. package/dist/web/public/assets/wolfram-C33umj7M.js +1 -0
  317. package/dist/web/public/assets/xml-BHoOtGbO.js +1 -0
  318. package/dist/web/public/assets/xsl-CN1PlFqm.js +1 -0
  319. package/dist/web/public/assets/yaml-DT0mpn8u.js +1 -0
  320. package/dist/web/public/assets/zenscript-BlYQ_Frf.js +1 -0
  321. package/dist/web/public/assets/zig-Buk7I0y-.js +1 -0
  322. package/dist/web/server/_chunks/ssr-renderer.mjs +15 -0
  323. package/dist/web/server/_libs/@ai-sdk/anthropic+[...].mjs +14021 -0
  324. package/dist/web/server/_libs/@ai-sdk/moonshotai+[...].mjs +898 -0
  325. package/dist/web/server/_libs/@ai-sdk/react+[...].mjs +8969 -0
  326. package/dist/web/server/_libs/@emotion/is-prop-valid+[...].mjs +34 -0
  327. package/dist/web/server/_libs/@floating-ui/core+[...].mjs +698 -0
  328. package/dist/web/server/_libs/@floating-ui/dom+[...].mjs +644 -0
  329. package/dist/web/server/_libs/@floating-ui/react-dom+[...].mjs +475 -0
  330. package/dist/web/server/_libs/@lobehub/icons+[...].mjs +3079 -0
  331. package/dist/web/server/_libs/@radix-ui/react-arrow+[...].mjs +184 -0
  332. package/dist/web/server/_libs/@radix-ui/react-collapsible+[...].mjs +374 -0
  333. package/dist/web/server/_libs/@radix-ui/react-dialog+[...].mjs +1503 -0
  334. package/dist/web/server/_libs/@radix-ui/react-menu+[...].mjs +1236 -0
  335. package/dist/web/server/_libs/@radix-ui/react-select+[...].mjs +1007 -0
  336. package/dist/web/server/_libs/@shikijs/core+[...].mjs +9017 -0
  337. package/dist/web/server/_libs/@shikijs/engine-javascript+[...].mjs +3159 -0
  338. package/dist/web/server/_libs/@streamdown/math+[...].mjs +37559 -0
  339. package/dist/web/server/_libs/@tanstack/react-router+[...].mjs +14074 -0
  340. package/dist/web/server/_libs/_.mjs +3 -0
  341. package/dist/web/server/_libs/_2.mjs +3 -0
  342. package/dist/web/server/_libs/_3.mjs +2 -0
  343. package/dist/web/server/_libs/_4.mjs +2 -0
  344. package/dist/web/server/_libs/ai-sdk__gateway+vercel__oidc.mjs +1255 -0
  345. package/dist/web/server/_libs/ai-sdk__google.mjs +1630 -0
  346. package/dist/web/server/_libs/ai-sdk__openai+zod.mjs +4951 -0
  347. package/dist/web/server/_libs/ai-sdk__provider-utils.mjs +411 -0
  348. package/dist/web/server/_libs/ai-sdk__provider.mjs +222 -0
  349. package/dist/web/server/_libs/bail.mjs +13 -0
  350. package/dist/web/server/_libs/character-entities.mjs +2135 -0
  351. package/dist/web/server/_libs/class-variance-authority+clsx.mjs +69 -0
  352. package/dist/web/server/_libs/color+[...].mjs +2185 -0
  353. package/dist/web/server/_libs/copy-text-to-clipboard.mjs +40 -0
  354. package/dist/web/server/_libs/d3-array.mjs +231 -0
  355. package/dist/web/server/_libs/d3-color.mjs +330 -0
  356. package/dist/web/server/_libs/d3-format.mjs +252 -0
  357. package/dist/web/server/_libs/d3-interpolate.mjs +207 -0
  358. package/dist/web/server/_libs/d3-path.mjs +77 -0
  359. package/dist/web/server/_libs/d3-scale+[...].mjs +1907 -0
  360. package/dist/web/server/_libs/d3-shape.mjs +818 -0
  361. package/dist/web/server/_libs/date-fns.mjs +3012 -0
  362. package/dist/web/server/_libs/date-fns__tz.mjs +249 -0
  363. package/dist/web/server/_libs/decimal.js-light.mjs +884 -0
  364. package/dist/web/server/_libs/decode-named-character-reference+[...].mjs +19 -0
  365. package/dist/web/server/_libs/dexie.mjs +3745 -0
  366. package/dist/web/server/_libs/escape-string-regexp.mjs +7 -0
  367. package/dist/web/server/_libs/estree-util-is-identifier-name.mjs +20 -0
  368. package/dist/web/server/_libs/eventemitter3.mjs +237 -0
  369. package/dist/web/server/_libs/extend.mjs +75 -0
  370. package/dist/web/server/_libs/fast-equals.mjs +423 -0
  371. package/dist/web/server/_libs/framer-motion+[...].mjs +9573 -0
  372. package/dist/web/server/_libs/fuzzysort.mjs +621 -0
  373. package/dist/web/server/_libs/h3+rou3+srvx.mjs +1158 -0
  374. package/dist/web/server/_libs/hast-util-raw+[...].mjs +800 -0
  375. package/dist/web/server/_libs/hast-util-sanitize.mjs +780 -0
  376. package/dist/web/server/_libs/hast-util-to-jsx-runtime+[...].mjs +853 -0
  377. package/dist/web/server/_libs/hookable.mjs +41 -0
  378. package/dist/web/server/_libs/html-url-attributes.mjs +44 -0
  379. package/dist/web/server/_libs/is-plain-obj.mjs +8 -0
  380. package/dist/web/server/_libs/lodash.mjs +4532 -0
  381. package/dist/web/server/_libs/lucide-react.mjs +605 -0
  382. package/dist/web/server/_libs/markdown-table.mjs +289 -0
  383. package/dist/web/server/_libs/marked.mjs +1511 -0
  384. package/dist/web/server/_libs/mdast-util-find-and-replace.mjs +198 -0
  385. package/dist/web/server/_libs/mdast-util-from-markdown+[...].mjs +8121 -0
  386. package/dist/web/server/_libs/mdast-util-gfm+[...].mjs +2060 -0
  387. package/dist/web/server/_libs/mdast-util-to-hast+[...].mjs +1770 -0
  388. package/dist/web/server/_libs/micromark-extension-gfm+[...].mjs +2235 -0
  389. package/dist/web/server/_libs/nanoid.mjs +26 -0
  390. package/dist/web/server/_libs/next-themes.mjs +124 -0
  391. package/dist/web/server/_libs/prop-types.mjs +69 -0
  392. package/dist/web/server/_libs/radix-ui__number.mjs +6 -0
  393. package/dist/web/server/_libs/radix-ui__primitive.mjs +9 -0
  394. package/dist/web/server/_libs/radix-ui__react-collection.mjs +80 -0
  395. package/dist/web/server/_libs/radix-ui__react-direction.mjs +11 -0
  396. package/dist/web/server/_libs/radix-ui__react-label.mjs +23 -0
  397. package/dist/web/server/_libs/radix-ui__react-menubar.mjs +400 -0
  398. package/dist/web/server/_libs/radix-ui__react-popover.mjs +251 -0
  399. package/dist/web/server/_libs/radix-ui__react-progress.mjs +81 -0
  400. package/dist/web/server/_libs/radix-ui__react-scroll-area.mjs +669 -0
  401. package/dist/web/server/_libs/radix-ui__react-separator.mjs +32 -0
  402. package/dist/web/server/_libs/radix-ui__react-slider.mjs +464 -0
  403. package/dist/web/server/_libs/radix-ui__react-switch.mjs +120 -0
  404. package/dist/web/server/_libs/radix-ui__react-tabs.mjs +145 -0
  405. package/dist/web/server/_libs/radix-ui__react-tooltip.mjs +494 -0
  406. package/dist/web/server/_libs/react-day-picker.mjs +3510 -0
  407. package/dist/web/server/_libs/react-is.mjs +48 -0
  408. package/dist/web/server/_libs/react-resizable-panels.mjs +1517 -0
  409. package/dist/web/server/_libs/react-smooth.mjs +1024 -0
  410. package/dist/web/server/_libs/recharts+[...].mjs +12998 -0
  411. package/dist/web/server/_libs/rehype-harden.mjs +210 -0
  412. package/dist/web/server/_libs/rehype-raw.mjs +37 -0
  413. package/dist/web/server/_libs/rehype-sanitize.mjs +27 -0
  414. package/dist/web/server/_libs/remark-gfm.mjs +34 -0
  415. package/dist/web/server/_libs/remark-parse.mjs +37 -0
  416. package/dist/web/server/_libs/remark-rehype.mjs +169 -0
  417. package/dist/web/server/_libs/remend.mjs +544 -0
  418. package/dist/web/server/_libs/scule.mjs +55 -0
  419. package/dist/web/server/_libs/shiki+streamdown__code.mjs +1748 -0
  420. package/dist/web/server/_libs/shiki.mjs +16 -0
  421. package/dist/web/server/_libs/shikijs__engine-oniguruma.mjs +387 -0
  422. package/dist/web/server/_libs/shikijs__langs.mjs +1357 -0
  423. package/dist/web/server/_libs/shikijs__themes.mjs +268 -0
  424. package/dist/web/server/_libs/sonner.mjs +909 -0
  425. package/dist/web/server/_libs/streamdown+[...].mjs +5842 -0
  426. package/dist/web/server/_libs/tanstack__history.mjs +342 -0
  427. package/dist/web/server/_libs/tanstack__query-core.mjs +2073 -0
  428. package/dist/web/server/_libs/tanstack__react-query.mjs +146 -0
  429. package/dist/web/server/_libs/tanstack__router-core.mjs +6 -0
  430. package/dist/web/server/_libs/tanstack__zod-adapter.mjs +16 -0
  431. package/dist/web/server/_libs/ufo.mjs +64 -0
  432. package/dist/web/server/_libs/ungap__structured-clone.mjs +197 -0
  433. package/dist/web/server/_libs/use-stick-to-bottom.mjs +410 -0
  434. package/dist/web/server/_libs/vercel__oidc.mjs +393 -0
  435. package/dist/web/server/_libs/zhipu-ai-provider.mjs +13483 -0
  436. package/dist/web/server/_libs/zustand.mjs +48 -0
  437. package/dist/web/server/_runtime.mjs +35 -0
  438. package/dist/web/server/_ssr/components-BzCiScpA.mjs +1452 -0
  439. package/dist/web/server/_ssr/dist-3Mu7PF0n.mjs +137 -0
  440. package/dist/web/server/_ssr/dist-BRaLXgxZ.mjs +17 -0
  441. package/dist/web/server/_ssr/field-1-agM60DBf.mjs +167 -0
  442. package/dist/web/server/_ssr/get-providers-BoYkp0Of.mjs +40 -0
  443. package/dist/web/server/_ssr/initialize-provider-B6W8V5Eg.mjs +19 -0
  444. package/dist/web/server/_ssr/model-list-CDFjdz2P.mjs +60 -0
  445. package/dist/web/server/_ssr/router-BmmOCtJZ.mjs +168 -0
  446. package/dist/web/server/_ssr/routes-CvlpZK4Q.mjs +2630 -0
  447. package/dist/web/server/_ssr/schemas-DsZ5O3zp.mjs +67 -0
  448. package/dist/web/server/_ssr/send-message-DUT1vRvx.mjs +135 -0
  449. package/dist/web/server/_ssr/ssr.mjs +5253 -0
  450. package/dist/web/server/_ssr/start-rewezkfD.mjs +4 -0
  451. package/dist/web/server/_ssr/submit-key-CcCv6-yy.mjs +62 -0
  452. package/dist/web/server/_ssr/suggestions-B0Uc3p7F.mjs +38 -0
  453. package/dist/web/server/_ssr/use-providers-Bwqg2U3N.mjs +1554 -0
  454. package/dist/web/server/_tanstack-start-manifest_v-BMIvh4y6.mjs +60 -0
  455. package/dist/web/server/index.mjs +2531 -0
  456. package/dist/web/server/node_modules/tslib/modules/index.js +70 -0
  457. package/dist/web/server/node_modules/tslib/modules/package.json +3 -0
  458. package/dist/web/server/node_modules/tslib/package.json +47 -0
  459. package/dist/web/server/node_modules/tslib/tslib.js +484 -0
  460. package/package.json +32 -0
@@ -0,0 +1,800 @@
1
+ import { _ as htmlVoidElements, d as zwitch, f as html, l as stringify, m as find, p as svg, s as stringify$1 } from "./@shikijs/core+[...].mjs";
2
+ import { C as fromParse5, E as visit, S as TokenType, b as TokenizerMode, w as webNamespaces, x as getTagID, y as Parser } from "./@streamdown/math+[...].mjs";
3
+ import { t as esm_default } from "./ungap__structured-clone.mjs";
4
+ //#region ../../node_modules/.pnpm/hast-util-to-parse5@8.0.1/node_modules/hast-util-to-parse5/lib/index.js
5
+ /**
6
+ * @import {Comment, Doctype, Element, Nodes, RootContent, Root, Text} from 'hast'
7
+ * @import {DefaultTreeAdapterMap, Token} from 'parse5'
8
+ * @import {Schema} from 'property-information'
9
+ */
10
+ /**
11
+ * @typedef {DefaultTreeAdapterMap['document']} Parse5Document
12
+ * @typedef {DefaultTreeAdapterMap['documentFragment']} Parse5Fragment
13
+ * @typedef {DefaultTreeAdapterMap['element']} Parse5Element
14
+ * @typedef {DefaultTreeAdapterMap['node']} Parse5Nodes
15
+ * @typedef {DefaultTreeAdapterMap['documentType']} Parse5Doctype
16
+ * @typedef {DefaultTreeAdapterMap['commentNode']} Parse5Comment
17
+ * @typedef {DefaultTreeAdapterMap['textNode']} Parse5Text
18
+ * @typedef {DefaultTreeAdapterMap['parentNode']} Parse5Parent
19
+ * @typedef {Token.Attribute} Parse5Attribute
20
+ *
21
+ * @typedef Options
22
+ * Configuration.
23
+ * @property {Space | null | undefined} [space='html']
24
+ * Which space the document is in (default: `'html'`).
25
+ *
26
+ * When an `<svg>` element is found in the HTML space, this package already
27
+ * automatically switches to and from the SVG space when entering and exiting
28
+ * it.
29
+ *
30
+ * @typedef {Exclude<Parse5Nodes, Parse5Document | Parse5Fragment>} Parse5Content
31
+ *
32
+ * @typedef {'html' | 'svg'} Space
33
+ */
34
+ /** @type {Options} */
35
+ var emptyOptions = {};
36
+ var own = {}.hasOwnProperty;
37
+ var one = zwitch("type", { handlers: {
38
+ root: root$1,
39
+ element: element$1,
40
+ text: text$1,
41
+ comment: comment$1,
42
+ doctype: doctype$1
43
+ } });
44
+ /**
45
+ * Transform a hast tree to a `parse5` AST.
46
+ *
47
+ * @param {Nodes} tree
48
+ * Tree to transform.
49
+ * @param {Options | null | undefined} [options]
50
+ * Configuration (optional).
51
+ * @returns {Parse5Nodes}
52
+ * `parse5` node.
53
+ */
54
+ function toParse5(tree, options) {
55
+ const space = (options || emptyOptions).space;
56
+ return one(tree, space === "svg" ? svg : html);
57
+ }
58
+ /**
59
+ * @param {Root} node
60
+ * Node (hast) to transform.
61
+ * @param {Schema} schema
62
+ * Current schema.
63
+ * @returns {Parse5Document}
64
+ * Parse5 node.
65
+ */
66
+ function root$1(node, schema) {
67
+ /** @type {Parse5Document} */
68
+ const result = {
69
+ nodeName: "#document",
70
+ mode: (node.data || {}).quirksMode ? "quirks" : "no-quirks",
71
+ childNodes: []
72
+ };
73
+ result.childNodes = all$1(node.children, result, schema);
74
+ patch(node, result);
75
+ return result;
76
+ }
77
+ /**
78
+ * @param {Root} node
79
+ * Node (hast) to transform.
80
+ * @param {Schema} schema
81
+ * Current schema.
82
+ * @returns {Parse5Fragment}
83
+ * Parse5 node.
84
+ */
85
+ function fragment(node, schema) {
86
+ /** @type {Parse5Fragment} */
87
+ const result = {
88
+ nodeName: "#document-fragment",
89
+ childNodes: []
90
+ };
91
+ result.childNodes = all$1(node.children, result, schema);
92
+ patch(node, result);
93
+ return result;
94
+ }
95
+ /**
96
+ * @param {Doctype} node
97
+ * Node (hast) to transform.
98
+ * @returns {Parse5Doctype}
99
+ * Parse5 node.
100
+ */
101
+ function doctype$1(node) {
102
+ /** @type {Parse5Doctype} */
103
+ const result = {
104
+ nodeName: "#documentType",
105
+ name: "html",
106
+ publicId: "",
107
+ systemId: "",
108
+ parentNode: null
109
+ };
110
+ patch(node, result);
111
+ return result;
112
+ }
113
+ /**
114
+ * @param {Text} node
115
+ * Node (hast) to transform.
116
+ * @returns {Parse5Text}
117
+ * Parse5 node.
118
+ */
119
+ function text$1(node) {
120
+ /** @type {Parse5Text} */
121
+ const result = {
122
+ nodeName: "#text",
123
+ value: node.value,
124
+ parentNode: null
125
+ };
126
+ patch(node, result);
127
+ return result;
128
+ }
129
+ /**
130
+ * @param {Comment} node
131
+ * Node (hast) to transform.
132
+ * @returns {Parse5Comment}
133
+ * Parse5 node.
134
+ */
135
+ function comment$1(node) {
136
+ /** @type {Parse5Comment} */
137
+ const result = {
138
+ nodeName: "#comment",
139
+ data: node.value,
140
+ parentNode: null
141
+ };
142
+ patch(node, result);
143
+ return result;
144
+ }
145
+ /**
146
+ * @param {Element} node
147
+ * Node (hast) to transform.
148
+ * @param {Schema} schema
149
+ * Current schema.
150
+ * @returns {Parse5Element}
151
+ * Parse5 node.
152
+ */
153
+ function element$1(node, schema) {
154
+ const parentSchema = schema;
155
+ let currentSchema = parentSchema;
156
+ if (node.type === "element" && node.tagName.toLowerCase() === "svg" && parentSchema.space === "html") currentSchema = svg;
157
+ /** @type {Array<Parse5Attribute>} */
158
+ const attrs = [];
159
+ /** @type {string} */
160
+ let prop;
161
+ if (node.properties) {
162
+ for (prop in node.properties) if (prop !== "children" && own.call(node.properties, prop)) {
163
+ const result = createProperty(currentSchema, prop, node.properties[prop]);
164
+ if (result) attrs.push(result);
165
+ }
166
+ }
167
+ const space = currentSchema.space;
168
+ /** @type {Parse5Element} */
169
+ const result = {
170
+ nodeName: node.tagName,
171
+ tagName: node.tagName,
172
+ attrs,
173
+ namespaceURI: webNamespaces[space],
174
+ childNodes: [],
175
+ parentNode: null
176
+ };
177
+ result.childNodes = all$1(node.children, result, currentSchema);
178
+ patch(node, result);
179
+ if (node.tagName === "template" && node.content) result.content = fragment(node.content, currentSchema);
180
+ return result;
181
+ }
182
+ /**
183
+ * Handle a property.
184
+ *
185
+ * @param {Schema} schema
186
+ * Current schema.
187
+ * @param {string} prop
188
+ * Key.
189
+ * @param {Array<number | string> | boolean | number | string | null | undefined} value
190
+ * hast property value.
191
+ * @returns {Parse5Attribute | undefined}
192
+ * Field for runtime, optional.
193
+ */
194
+ function createProperty(schema, prop, value) {
195
+ const info = find(schema, prop);
196
+ if (value === false || value === null || value === void 0 || typeof value === "number" && Number.isNaN(value) || !value && info.boolean) return;
197
+ if (Array.isArray(value)) value = info.commaSeparated ? stringify(value) : stringify$1(value);
198
+ /** @type {Parse5Attribute} */
199
+ const attribute = {
200
+ name: info.attribute,
201
+ value: value === true ? "" : String(value)
202
+ };
203
+ if (info.space && info.space !== "html" && info.space !== "svg") {
204
+ const index = attribute.name.indexOf(":");
205
+ if (index < 0) attribute.prefix = "";
206
+ else {
207
+ attribute.name = attribute.name.slice(index + 1);
208
+ attribute.prefix = info.attribute.slice(0, index);
209
+ }
210
+ attribute.namespace = webNamespaces[info.space];
211
+ }
212
+ return attribute;
213
+ }
214
+ /**
215
+ * Transform all hast nodes.
216
+ *
217
+ * @param {Array<RootContent>} children
218
+ * List of children.
219
+ * @param {Parse5Parent} parentNode
220
+ * `parse5` parent node.
221
+ * @param {Schema} schema
222
+ * Current schema.
223
+ * @returns {Array<Parse5Content>}
224
+ * Transformed children.
225
+ */
226
+ function all$1(children, parentNode, schema) {
227
+ let index = -1;
228
+ /** @type {Array<Parse5Content>} */
229
+ const results = [];
230
+ if (children) while (++index < children.length) {
231
+ /** @type {Parse5Content} */
232
+ const child = one(children[index], schema);
233
+ child.parentNode = parentNode;
234
+ results.push(child);
235
+ }
236
+ return results;
237
+ }
238
+ /**
239
+ * Add position info from `from` to `to`.
240
+ *
241
+ * @param {Nodes} from
242
+ * hast node.
243
+ * @param {Parse5Nodes} to
244
+ * `parse5` node.
245
+ * @returns {undefined}
246
+ * Nothing.
247
+ */
248
+ function patch(from, to) {
249
+ const position = from.position;
250
+ if (position && position.start && position.end) {
251
+ position.start.offset;
252
+ position.end.offset;
253
+ to.sourceCodeLocation = {
254
+ startLine: position.start.line,
255
+ startCol: position.start.column,
256
+ startOffset: position.start.offset,
257
+ endLine: position.end.line,
258
+ endCol: position.end.column,
259
+ endOffset: position.end.offset
260
+ };
261
+ }
262
+ }
263
+ //#endregion
264
+ //#region ../../node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.js
265
+ /**
266
+ * @typedef {import('unist').Node} Node
267
+ * @typedef {import('unist').Point} Point
268
+ * @typedef {import('unist').Position} Position
269
+ */
270
+ /**
271
+ * @typedef NodeLike
272
+ * @property {string} type
273
+ * @property {PositionLike | null | undefined} [position]
274
+ *
275
+ * @typedef PositionLike
276
+ * @property {PointLike | null | undefined} [start]
277
+ * @property {PointLike | null | undefined} [end]
278
+ *
279
+ * @typedef PointLike
280
+ * @property {number | null | undefined} [line]
281
+ * @property {number | null | undefined} [column]
282
+ * @property {number | null | undefined} [offset]
283
+ */
284
+ /**
285
+ * Get the ending point of `node`.
286
+ *
287
+ * @param node
288
+ * Node.
289
+ * @returns
290
+ * Point.
291
+ */
292
+ var pointEnd = point("end");
293
+ /**
294
+ * Get the starting point of `node`.
295
+ *
296
+ * @param node
297
+ * Node.
298
+ * @returns
299
+ * Point.
300
+ */
301
+ var pointStart = point("start");
302
+ /**
303
+ * Get the positional info of `node`.
304
+ *
305
+ * @param {'end' | 'start'} type
306
+ * Side.
307
+ * @returns
308
+ * Getter.
309
+ */
310
+ function point(type) {
311
+ return point;
312
+ /**
313
+ * Get the point info of `node` at a bound side.
314
+ *
315
+ * @param {Node | NodeLike | null | undefined} [node]
316
+ * @returns {Point | undefined}
317
+ */
318
+ function point(node) {
319
+ const point = node && node.position && node.position[type] || {};
320
+ if (typeof point.line === "number" && point.line > 0 && typeof point.column === "number" && point.column > 0) return {
321
+ line: point.line,
322
+ column: point.column,
323
+ offset: typeof point.offset === "number" && point.offset > -1 ? point.offset : void 0
324
+ };
325
+ }
326
+ }
327
+ /**
328
+ * Get the positional info of `node`.
329
+ *
330
+ * @param {Node | NodeLike | null | undefined} [node]
331
+ * Node.
332
+ * @returns {Position | undefined}
333
+ * Position.
334
+ */
335
+ function position(node) {
336
+ const start = pointStart(node);
337
+ const end = pointEnd(node);
338
+ if (start && end) return {
339
+ start,
340
+ end
341
+ };
342
+ }
343
+ //#endregion
344
+ //#region ../../node_modules/.pnpm/hast-util-raw@9.1.0/node_modules/hast-util-raw/lib/index.js
345
+ /**
346
+ * @import {Options} from 'hast-util-raw'
347
+ * @import {Comment, Doctype, Element, Nodes, RootContent, Root, Text} from 'hast'
348
+ * @import {Raw} from 'mdast-util-to-hast'
349
+ * @import {DefaultTreeAdapterMap, ParserOptions} from 'parse5'
350
+ * @import {Point} from 'unist'
351
+ */
352
+ /**
353
+ * @typedef State
354
+ * Info passed around about the current state.
355
+ * @property {(node: Nodes) => undefined} handle
356
+ * Add a hast node to the parser.
357
+ * @property {Options} options
358
+ * User configuration.
359
+ * @property {Parser<DefaultTreeAdapterMap>} parser
360
+ * Current parser.
361
+ * @property {boolean} stitches
362
+ * Whether there are stitches.
363
+ */
364
+ /**
365
+ * @typedef Stitch
366
+ * Custom comment-like value we pass through parse5, which contains a
367
+ * replacement node that we’ll swap back in afterwards.
368
+ * @property {'comment'} type
369
+ * Node type.
370
+ * @property {{stitch: Nodes}} value
371
+ * Replacement value.
372
+ */
373
+ var gfmTagfilterExpression = /<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi;
374
+ var knownMdxNames = new Set([
375
+ "mdxFlowExpression",
376
+ "mdxJsxFlowElement",
377
+ "mdxJsxTextElement",
378
+ "mdxTextExpression",
379
+ "mdxjsEsm"
380
+ ]);
381
+ /** @type {ParserOptions<DefaultTreeAdapterMap>} */
382
+ var parseOptions = {
383
+ sourceCodeLocationInfo: true,
384
+ scriptingEnabled: false
385
+ };
386
+ /**
387
+ * Pass a hast tree through an HTML parser, which will fix nesting, and turn
388
+ * raw nodes into actual nodes.
389
+ *
390
+ * @param {Nodes} tree
391
+ * Original hast tree to transform.
392
+ * @param {Options | null | undefined} [options]
393
+ * Configuration (optional).
394
+ * @returns {Nodes}
395
+ * Parsed again tree.
396
+ */
397
+ function raw(tree, options) {
398
+ const document = documentMode(tree);
399
+ /** @type {(node: Nodes, state: State) => undefined} */
400
+ const one = zwitch("type", {
401
+ handlers: {
402
+ root,
403
+ element,
404
+ text,
405
+ comment,
406
+ doctype,
407
+ raw: handleRaw
408
+ },
409
+ unknown
410
+ });
411
+ /** @type {State} */
412
+ const state = {
413
+ parser: document ? new Parser(parseOptions) : Parser.getFragmentParser(void 0, parseOptions),
414
+ handle(node) {
415
+ one(node, state);
416
+ },
417
+ stitches: false,
418
+ options: options || {}
419
+ };
420
+ one(tree, state);
421
+ resetTokenizer(state, pointStart());
422
+ const result = fromParse5(document ? state.parser.document : state.parser.getFragment(), { file: state.options.file });
423
+ if (state.stitches) visit(result, "comment", function(node, index, parent) {
424
+ const stitch = node;
425
+ if (stitch.value.stitch && parent && index !== void 0) {
426
+ /** @type {Array<RootContent>} */
427
+ const siblings = parent.children;
428
+ siblings[index] = stitch.value.stitch;
429
+ return index;
430
+ }
431
+ });
432
+ if (result.type === "root" && result.children.length === 1 && result.children[0].type === tree.type) return result.children[0];
433
+ return result;
434
+ }
435
+ /**
436
+ * Transform all nodes
437
+ *
438
+ * @param {Array<RootContent>} nodes
439
+ * hast content.
440
+ * @param {State} state
441
+ * Info passed around about the current state.
442
+ * @returns {undefined}
443
+ * Nothing.
444
+ */
445
+ function all(nodes, state) {
446
+ let index = -1;
447
+ /* istanbul ignore else - invalid nodes, see rehypejs/rehype-raw#7. */
448
+ if (nodes) while (++index < nodes.length) state.handle(nodes[index]);
449
+ }
450
+ /**
451
+ * Transform a root.
452
+ *
453
+ * @param {Root} node
454
+ * hast root node.
455
+ * @param {State} state
456
+ * Info passed around about the current state.
457
+ * @returns {undefined}
458
+ * Nothing.
459
+ */
460
+ function root(node, state) {
461
+ all(node.children, state);
462
+ }
463
+ /**
464
+ * Transform an element.
465
+ *
466
+ * @param {Element} node
467
+ * hast element node.
468
+ * @param {State} state
469
+ * Info passed around about the current state.
470
+ * @returns {undefined}
471
+ * Nothing.
472
+ */
473
+ function element(node, state) {
474
+ startTag(node, state);
475
+ all(node.children, state);
476
+ endTag(node, state);
477
+ }
478
+ /**
479
+ * Transform a text.
480
+ *
481
+ * @param {Text} node
482
+ * hast text node.
483
+ * @param {State} state
484
+ * Info passed around about the current state.
485
+ * @returns {undefined}
486
+ * Nothing.
487
+ */
488
+ function text(node, state) {
489
+ if (state.parser.tokenizer.state > 4) state.parser.tokenizer.state = 0;
490
+ /** @type {Token.CharacterToken} */
491
+ const token = {
492
+ type: TokenType.CHARACTER,
493
+ chars: node.value,
494
+ location: createParse5Location(node)
495
+ };
496
+ resetTokenizer(state, pointStart(node));
497
+ state.parser.currentToken = token;
498
+ state.parser._processToken(state.parser.currentToken);
499
+ }
500
+ /**
501
+ * Transform a doctype.
502
+ *
503
+ * @param {Doctype} node
504
+ * hast doctype node.
505
+ * @param {State} state
506
+ * Info passed around about the current state.
507
+ * @returns {undefined}
508
+ * Nothing.
509
+ */
510
+ function doctype(node, state) {
511
+ /** @type {Token.DoctypeToken} */
512
+ const token = {
513
+ type: TokenType.DOCTYPE,
514
+ name: "html",
515
+ forceQuirks: false,
516
+ publicId: "",
517
+ systemId: "",
518
+ location: createParse5Location(node)
519
+ };
520
+ resetTokenizer(state, pointStart(node));
521
+ state.parser.currentToken = token;
522
+ state.parser._processToken(state.parser.currentToken);
523
+ }
524
+ /**
525
+ * Transform a stitch.
526
+ *
527
+ * @param {Nodes} node
528
+ * unknown node.
529
+ * @param {State} state
530
+ * Info passed around about the current state.
531
+ * @returns {undefined}
532
+ * Nothing.
533
+ */
534
+ function stitch(node, state) {
535
+ state.stitches = true;
536
+ /** @type {Nodes} */
537
+ const clone = cloneWithoutChildren(node);
538
+ if ("children" in node && "children" in clone) clone.children = raw({
539
+ type: "root",
540
+ children: node.children
541
+ }, state.options).children;
542
+ comment({
543
+ type: "comment",
544
+ value: { stitch: clone }
545
+ }, state);
546
+ }
547
+ /**
548
+ * Transform a comment (or stitch).
549
+ *
550
+ * @param {Comment | Stitch} node
551
+ * hast comment node.
552
+ * @param {State} state
553
+ * Info passed around about the current state.
554
+ * @returns {undefined}
555
+ * Nothing.
556
+ */
557
+ function comment(node, state) {
558
+ /** @type {string} */
559
+ const data = node.value;
560
+ /** @type {Token.CommentToken} */
561
+ const token = {
562
+ type: TokenType.COMMENT,
563
+ data,
564
+ location: createParse5Location(node)
565
+ };
566
+ resetTokenizer(state, pointStart(node));
567
+ state.parser.currentToken = token;
568
+ state.parser._processToken(state.parser.currentToken);
569
+ }
570
+ /**
571
+ * Transform a raw node.
572
+ *
573
+ * @param {Raw} node
574
+ * hast raw node.
575
+ * @param {State} state
576
+ * Info passed around about the current state.
577
+ * @returns {undefined}
578
+ * Nothing.
579
+ */
580
+ function handleRaw(node, state) {
581
+ state.parser.tokenizer.preprocessor.html = "";
582
+ state.parser.tokenizer.preprocessor.pos = -1;
583
+ state.parser.tokenizer.preprocessor.lastGapPos = -2;
584
+ state.parser.tokenizer.preprocessor.gapStack = [];
585
+ state.parser.tokenizer.preprocessor.skipNextNewLine = false;
586
+ state.parser.tokenizer.preprocessor.lastChunkWritten = false;
587
+ state.parser.tokenizer.preprocessor.endOfChunkHit = false;
588
+ state.parser.tokenizer.preprocessor.isEol = false;
589
+ setPoint(state, pointStart(node));
590
+ state.parser.tokenizer.write(state.options.tagfilter ? node.value.replace(gfmTagfilterExpression, "&lt;$1$2") : node.value, false);
591
+ state.parser.tokenizer._runParsingLoop();
592
+ /* c8 ignore next 12 -- removed in <https://github.com/inikulin/parse5/pull/897> */
593
+ if (state.parser.tokenizer.state === 72 || state.parser.tokenizer.state === 78) {
594
+ state.parser.tokenizer.preprocessor.lastChunkWritten = true;
595
+ /** @type {number} */
596
+ const cp = state.parser.tokenizer._consume();
597
+ state.parser.tokenizer._callState(cp);
598
+ }
599
+ }
600
+ /**
601
+ * Crash on an unknown node.
602
+ *
603
+ * @param {unknown} node_
604
+ * unknown node.
605
+ * @param {State} state
606
+ * Info passed around about the current state.
607
+ * @returns {undefined}
608
+ * Never.
609
+ */
610
+ function unknown(node_, state) {
611
+ const node = node_;
612
+ if (state.options.passThrough && state.options.passThrough.includes(node.type)) stitch(node, state);
613
+ else {
614
+ let extra = "";
615
+ if (knownMdxNames.has(node.type)) extra = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax";
616
+ throw new Error("Cannot compile `" + node.type + "` node" + extra);
617
+ }
618
+ }
619
+ /**
620
+ * Reset the tokenizer of a parser.
621
+ *
622
+ * @param {State} state
623
+ * Info passed around about the current state.
624
+ * @param {Point | undefined} point
625
+ * Point.
626
+ * @returns {undefined}
627
+ * Nothing.
628
+ */
629
+ function resetTokenizer(state, point) {
630
+ setPoint(state, point);
631
+ /** @type {Token.CharacterToken} */
632
+ const token = state.parser.tokenizer.currentCharacterToken;
633
+ if (token && token.location) {
634
+ token.location.endLine = state.parser.tokenizer.preprocessor.line;
635
+ token.location.endCol = state.parser.tokenizer.preprocessor.col + 1;
636
+ token.location.endOffset = state.parser.tokenizer.preprocessor.offset + 1;
637
+ state.parser.currentToken = token;
638
+ state.parser._processToken(state.parser.currentToken);
639
+ }
640
+ state.parser.tokenizer.paused = false;
641
+ state.parser.tokenizer.inLoop = false;
642
+ state.parser.tokenizer.active = false;
643
+ state.parser.tokenizer.returnState = TokenizerMode.DATA;
644
+ state.parser.tokenizer.charRefCode = -1;
645
+ state.parser.tokenizer.consumedAfterSnapshot = -1;
646
+ state.parser.tokenizer.currentLocation = null;
647
+ state.parser.tokenizer.currentCharacterToken = null;
648
+ state.parser.tokenizer.currentToken = null;
649
+ state.parser.tokenizer.currentAttr = {
650
+ name: "",
651
+ value: ""
652
+ };
653
+ }
654
+ /**
655
+ * Set current location.
656
+ *
657
+ * @param {State} state
658
+ * Info passed around about the current state.
659
+ * @param {Point | undefined} point
660
+ * Point.
661
+ * @returns {undefined}
662
+ * Nothing.
663
+ */
664
+ function setPoint(state, point) {
665
+ if (point && point.offset !== void 0) {
666
+ /** @type {Token.Location} */
667
+ const location = {
668
+ startLine: point.line,
669
+ startCol: point.column,
670
+ startOffset: point.offset,
671
+ endLine: -1,
672
+ endCol: -1,
673
+ endOffset: -1
674
+ };
675
+ state.parser.tokenizer.preprocessor.lineStartPos = -point.column + 1;
676
+ state.parser.tokenizer.preprocessor.droppedBufferSize = point.offset;
677
+ state.parser.tokenizer.preprocessor.line = point.line;
678
+ state.parser.tokenizer.currentLocation = location;
679
+ }
680
+ }
681
+ /**
682
+ * Emit a start tag.
683
+ *
684
+ * @param {Element} node
685
+ * Element.
686
+ * @param {State} state
687
+ * Info passed around about the current state.
688
+ * @returns {undefined}
689
+ * Nothing.
690
+ */
691
+ function startTag(node, state) {
692
+ const tagName = node.tagName.toLowerCase();
693
+ if (state.parser.tokenizer.state === TokenizerMode.PLAINTEXT) return;
694
+ resetTokenizer(state, pointStart(node));
695
+ const current = state.parser.openElements.current;
696
+ let ns = "namespaceURI" in current ? current.namespaceURI : webNamespaces.html;
697
+ if (ns === webNamespaces.html && tagName === "svg") ns = webNamespaces.svg;
698
+ const result = toParse5({
699
+ ...node,
700
+ children: []
701
+ }, { space: ns === webNamespaces.svg ? "svg" : "html" });
702
+ /** @type {Token.TagToken} */
703
+ const tag = {
704
+ type: TokenType.START_TAG,
705
+ tagName,
706
+ tagID: getTagID(tagName),
707
+ selfClosing: false,
708
+ ackSelfClosing: false,
709
+ attrs: "attrs" in result ? result.attrs : [],
710
+ location: createParse5Location(node)
711
+ };
712
+ state.parser.currentToken = tag;
713
+ state.parser._processToken(state.parser.currentToken);
714
+ state.parser.tokenizer.lastStartTagName = tagName;
715
+ }
716
+ /**
717
+ * Emit an end tag.
718
+ *
719
+ * @param {Element} node
720
+ * Element.
721
+ * @param {State} state
722
+ * Info passed around about the current state.
723
+ * @returns {undefined}
724
+ * Nothing.
725
+ */
726
+ function endTag(node, state) {
727
+ const tagName = node.tagName.toLowerCase();
728
+ if (!state.parser.tokenizer.inForeignNode && htmlVoidElements.includes(tagName)) return;
729
+ if (state.parser.tokenizer.state === TokenizerMode.PLAINTEXT) return;
730
+ resetTokenizer(state, pointEnd(node));
731
+ /** @type {Token.TagToken} */
732
+ const tag = {
733
+ type: TokenType.END_TAG,
734
+ tagName,
735
+ tagID: getTagID(tagName),
736
+ selfClosing: false,
737
+ ackSelfClosing: false,
738
+ attrs: [],
739
+ location: createParse5Location(node)
740
+ };
741
+ state.parser.currentToken = tag;
742
+ state.parser._processToken(state.parser.currentToken);
743
+ if (tagName === state.parser.tokenizer.lastStartTagName && (state.parser.tokenizer.state === TokenizerMode.RCDATA || state.parser.tokenizer.state === TokenizerMode.RAWTEXT || state.parser.tokenizer.state === TokenizerMode.SCRIPT_DATA)) state.parser.tokenizer.state = TokenizerMode.DATA;
744
+ }
745
+ /**
746
+ * Check if `node` represents a whole document or a fragment.
747
+ *
748
+ * @param {Nodes} node
749
+ * hast node.
750
+ * @returns {boolean}
751
+ * Whether this represents a whole document or a fragment.
752
+ */
753
+ function documentMode(node) {
754
+ const head = node.type === "root" ? node.children[0] : node;
755
+ return Boolean(head && (head.type === "doctype" || head.type === "element" && head.tagName.toLowerCase() === "html"));
756
+ }
757
+ /**
758
+ * Get a `parse5` location from a node.
759
+ *
760
+ * @param {Nodes | Stitch} node
761
+ * hast node.
762
+ * @returns {Token.Location}
763
+ * `parse5` location.
764
+ */
765
+ function createParse5Location(node) {
766
+ const start = pointStart(node) || {
767
+ line: void 0,
768
+ column: void 0,
769
+ offset: void 0
770
+ };
771
+ const end = pointEnd(node) || {
772
+ line: void 0,
773
+ column: void 0,
774
+ offset: void 0
775
+ };
776
+ return {
777
+ startLine: start.line,
778
+ startCol: start.column,
779
+ startOffset: start.offset,
780
+ endLine: end.line,
781
+ endCol: end.column,
782
+ endOffset: end.offset
783
+ };
784
+ }
785
+ /**
786
+ * @template {Nodes} NodeType
787
+ * Node type.
788
+ * @param {NodeType} node
789
+ * Node to clone.
790
+ * @returns {NodeType}
791
+ * Cloned node, without children.
792
+ */
793
+ function cloneWithoutChildren(node) {
794
+ return "children" in node ? esm_default({
795
+ ...node,
796
+ children: []
797
+ }) : esm_default(node);
798
+ }
799
+ //#endregion
800
+ export { position as i, pointEnd as n, pointStart as r, raw as t };