@kubed.io/cdn 0.0.4 → 0.0.6

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 (430) hide show
  1. package/README.md +11 -0
  2. package/dist/chunks/1c-Cg7z75RR.js +94 -0
  3. package/dist/chunks/1c-Cg7z75RR.js.map +1 -0
  4. package/dist/chunks/abnf-DjOFdYyB.js +59 -0
  5. package/dist/chunks/abnf-DjOFdYyB.js.map +1 -0
  6. package/dist/chunks/accesslog-CT59MCIO.js +72 -0
  7. package/dist/chunks/accesslog-CT59MCIO.js.map +1 -0
  8. package/dist/chunks/actionscript-BF7IWfId.js +85 -0
  9. package/dist/chunks/actionscript-BF7IWfId.js.map +1 -0
  10. package/dist/chunks/ada-BW8u8CRX.js +107 -0
  11. package/dist/chunks/ada-BW8u8CRX.js.map +1 -0
  12. package/dist/chunks/angelscript-2l-XM2Vw.js +91 -0
  13. package/dist/chunks/angelscript-2l-XM2Vw.js.map +1 -0
  14. package/dist/chunks/apache-ClDRwhlj.js +87 -0
  15. package/dist/chunks/apache-ClDRwhlj.js.map +1 -0
  16. package/dist/chunks/applescript-BnCdU8ml.js +57 -0
  17. package/dist/chunks/applescript-BnCdU8ml.js.map +1 -0
  18. package/dist/chunks/arcade-BtIJZuSq.js +157 -0
  19. package/dist/chunks/arcade-BtIJZuSq.js.map +1 -0
  20. package/dist/chunks/arduino-xB3NbW4M.js +272 -0
  21. package/dist/chunks/arduino-xB3NbW4M.js.map +1 -0
  22. package/dist/chunks/armasm-Dg5wPE4N.js +66 -0
  23. package/dist/chunks/armasm-Dg5wPE4N.js.map +1 -0
  24. package/dist/chunks/asciidoc-ZAddoC6x.js +178 -0
  25. package/dist/chunks/asciidoc-ZAddoC6x.js.map +1 -0
  26. package/dist/chunks/aspectj-Dfd0IA-3.js +126 -0
  27. package/dist/chunks/aspectj-Dfd0IA-3.js.map +1 -0
  28. package/dist/chunks/autohotkey-tKEhIrY9.js +55 -0
  29. package/dist/chunks/autohotkey-tKEhIrY9.js.map +1 -0
  30. package/dist/chunks/autoit-BPoYFiDT.js +123 -0
  31. package/dist/chunks/autoit-BPoYFiDT.js.map +1 -0
  32. package/dist/chunks/avrasm-DcwC__J5.js +47 -0
  33. package/dist/chunks/avrasm-DcwC__J5.js.map +1 -0
  34. package/dist/chunks/awk-B0eiS31p.js +56 -0
  35. package/dist/chunks/awk-B0eiS31p.js.map +1 -0
  36. package/dist/chunks/axapta-BZnaEvVa.js +65 -0
  37. package/dist/chunks/axapta-BZnaEvVa.js.map +1 -0
  38. package/dist/chunks/bash-SfqkqXwO.js +171 -0
  39. package/dist/chunks/bash-SfqkqXwO.js.map +1 -0
  40. package/dist/chunks/basic-hK9i76TR.js +44 -0
  41. package/dist/chunks/basic-hK9i76TR.js.map +1 -0
  42. package/dist/chunks/bnf-CT5PE87o.js +28 -0
  43. package/dist/chunks/bnf-CT5PE87o.js.map +1 -0
  44. package/dist/chunks/brainfuck-Cix81oQc.js +41 -0
  45. package/dist/chunks/brainfuck-Cix81oQc.js.map +1 -0
  46. package/dist/chunks/c-DqpMY-rp.js +189 -0
  47. package/dist/chunks/c-DqpMY-rp.js.map +1 -0
  48. package/dist/chunks/cal-C-xic9Tn.js +91 -0
  49. package/dist/chunks/cal-C-xic9Tn.js.map +1 -0
  50. package/dist/chunks/capnproto-Bte6wB8g.js +84 -0
  51. package/dist/chunks/capnproto-Bte6wB8g.js.map +1 -0
  52. package/dist/chunks/ceylon-B5xM3rkd.js +77 -0
  53. package/dist/chunks/ceylon-B5xM3rkd.js.map +1 -0
  54. package/dist/chunks/clean-58wPfVlT.js +24 -0
  55. package/dist/chunks/clean-58wPfVlT.js.map +1 -0
  56. package/dist/chunks/clojure-DnooNAlk.js +114 -0
  57. package/dist/chunks/clojure-DnooNAlk.js.map +1 -0
  58. package/dist/chunks/clojure-repl-BOwc5f8V.js +18 -0
  59. package/dist/chunks/clojure-repl-BOwc5f8V.js.map +1 -0
  60. package/dist/chunks/cmake-CmXecy9B.js +28 -0
  61. package/dist/chunks/cmake-CmXecy9B.js.map +1 -0
  62. package/dist/chunks/coffeescript-BxFWPVxK.js +199 -0
  63. package/dist/chunks/coffeescript-BxFWPVxK.js.map +1 -0
  64. package/dist/chunks/coq-q80xvjL8.js +26 -0
  65. package/dist/chunks/coq-q80xvjL8.js.map +1 -0
  66. package/dist/chunks/core-BSQzrNYA.js +853 -0
  67. package/dist/chunks/core-BSQzrNYA.js.map +1 -0
  68. package/dist/chunks/cos-DiRYB57M.js +78 -0
  69. package/dist/chunks/cos-DiRYB57M.js.map +1 -0
  70. package/dist/chunks/cpp-BvOt3G_R.js +238 -0
  71. package/dist/chunks/cpp-BvOt3G_R.js.map +1 -0
  72. package/dist/chunks/crmsh-h8TY8H79.js +80 -0
  73. package/dist/chunks/crmsh-h8TY8H79.js.map +1 -0
  74. package/dist/chunks/crystal-Cn8iNhTZ.js +247 -0
  75. package/dist/chunks/crystal-Cn8iNhTZ.js.map +1 -0
  76. package/dist/chunks/csharp-BUAiXZio.js +262 -0
  77. package/dist/chunks/csharp-BUAiXZio.js.map +1 -0
  78. package/dist/chunks/csp-BP06y0Ba.js +25 -0
  79. package/dist/chunks/csp-BP06y0Ba.js.map +1 -0
  80. package/dist/chunks/css-CuP2L3Vg.js +147 -0
  81. package/dist/chunks/css-CuP2L3Vg.js.map +1 -0
  82. package/dist/chunks/d-C0cOEHlZ.js +87 -0
  83. package/dist/chunks/d-C0cOEHlZ.js.map +1 -0
  84. package/dist/chunks/dart-DOyn4FWh.js +136 -0
  85. package/dist/chunks/dart-DOyn4FWh.js.map +1 -0
  86. package/dist/chunks/{define-XzEniRJH.js → define-DqUpowD9.js} +3 -3
  87. package/dist/chunks/{define-XzEniRJH.js.map → define-DqUpowD9.js.map} +1 -1
  88. package/dist/chunks/delphi-BL8QbVUL.js +95 -0
  89. package/dist/chunks/delphi-BL8QbVUL.js.map +1 -0
  90. package/dist/chunks/diff-DMbO7OaS.js +41 -0
  91. package/dist/chunks/diff-DMbO7OaS.js.map +1 -0
  92. package/dist/chunks/django-CnvXUSpm.js +44 -0
  93. package/dist/chunks/django-CnvXUSpm.js.map +1 -0
  94. package/dist/chunks/dns-DpaEqlb1.js +73 -0
  95. package/dist/chunks/dns-DpaEqlb1.js.map +1 -0
  96. package/dist/chunks/dockerfile-D9WngOli.js +36 -0
  97. package/dist/chunks/dockerfile-D9WngOli.js.map +1 -0
  98. package/dist/chunks/dos-w6Vxr4_L.js +59 -0
  99. package/dist/chunks/dos-w6Vxr4_L.js.map +1 -0
  100. package/dist/chunks/dsconfig-Dq_NzMQE.js +56 -0
  101. package/dist/chunks/dsconfig-Dq_NzMQE.js.map +1 -0
  102. package/dist/chunks/dts-CpWaLhGr.js +117 -0
  103. package/dist/chunks/dts-CpWaLhGr.js.map +1 -0
  104. package/dist/chunks/dust-C4uDg2L0.js +34 -0
  105. package/dist/chunks/dust-C4uDg2L0.js.map +1 -0
  106. package/dist/chunks/ebnf-ByjV7C32.js +41 -0
  107. package/dist/chunks/ebnf-ByjV7C32.js.map +1 -0
  108. package/dist/chunks/{element-ChNBLJ5X.js → element-CaN9ZVoe.js} +60 -60
  109. package/dist/chunks/element-CaN9ZVoe.js.map +1 -0
  110. package/dist/chunks/elixir-DkdYO0Vr.js +191 -0
  111. package/dist/chunks/elixir-DkdYO0Vr.js.map +1 -0
  112. package/dist/chunks/elm-Clms-iZw.js +101 -0
  113. package/dist/chunks/elm-Clms-iZw.js.map +1 -0
  114. package/dist/chunks/erb-BC3HNNgp.js +18 -0
  115. package/dist/chunks/erb-BC3HNNgp.js.map +1 -0
  116. package/dist/chunks/erlang-Cu0IlQov.js +220 -0
  117. package/dist/chunks/erlang-Cu0IlQov.js.map +1 -0
  118. package/dist/chunks/erlang-repl-5hCt0uhz.js +42 -0
  119. package/dist/chunks/erlang-repl-5hCt0uhz.js.map +1 -0
  120. package/dist/chunks/excel-BIDJpxSu.js +49 -0
  121. package/dist/chunks/excel-BIDJpxSu.js.map +1 -0
  122. package/dist/chunks/fix-C0h50qaq.js +31 -0
  123. package/dist/chunks/fix-C0h50qaq.js.map +1 -0
  124. package/dist/chunks/flix-BCyKzKuw.js +61 -0
  125. package/dist/chunks/flix-BCyKzKuw.js.map +1 -0
  126. package/dist/chunks/fortran-DJ9If3VL.js +55 -0
  127. package/dist/chunks/fortran-DJ9If3VL.js.map +1 -0
  128. package/dist/chunks/freedesktop-DY5X71dr.js +88 -0
  129. package/dist/chunks/freedesktop-DY5X71dr.js.map +1 -0
  130. package/dist/chunks/fsharp-B-zxwYyG.js +243 -0
  131. package/dist/chunks/fsharp-B-zxwYyG.js.map +1 -0
  132. package/dist/chunks/gams-Bk-CWpk3.js +128 -0
  133. package/dist/chunks/gams-Bk-CWpk3.js.map +1 -0
  134. package/dist/chunks/gauss-DoDOans8.js +154 -0
  135. package/dist/chunks/gauss-DoDOans8.js.map +1 -0
  136. package/dist/chunks/gcode-BUHWwtTe.js +123 -0
  137. package/dist/chunks/gcode-BUHWwtTe.js.map +1 -0
  138. package/dist/chunks/gherkin-Wzf9M781.js +70 -0
  139. package/dist/chunks/gherkin-Wzf9M781.js.map +1 -0
  140. package/dist/chunks/glsl-CUb3B_sB.js +27 -0
  141. package/dist/chunks/glsl-CUb3B_sB.js.map +1 -0
  142. package/dist/chunks/gml-BS5lKjIV.js +24 -0
  143. package/dist/chunks/gml-BS5lKjIV.js.map +1 -0
  144. package/dist/chunks/go-BUD6D8kx.js +146 -0
  145. package/dist/chunks/go-BUD6D8kx.js.map +1 -0
  146. package/dist/chunks/golo-CeWwUkIr.js +27 -0
  147. package/dist/chunks/golo-CeWwUkIr.js.map +1 -0
  148. package/dist/chunks/gradle-BoqM74sD.js +20 -0
  149. package/dist/chunks/gradle-BoqM74sD.js.map +1 -0
  150. package/dist/chunks/graphql-j3kf95P9.js +69 -0
  151. package/dist/chunks/graphql-j3kf95P9.js.map +1 -0
  152. package/dist/chunks/groovy-B3DHxrmD.js +129 -0
  153. package/dist/chunks/groovy-B3DHxrmD.js.map +1 -0
  154. package/dist/chunks/haml-CgF67t0s.js +98 -0
  155. package/dist/chunks/haml-CgF67t0s.js.map +1 -0
  156. package/dist/chunks/handlebars-Bp8_IuhA.js +146 -0
  157. package/dist/chunks/handlebars-Bp8_IuhA.js.map +1 -0
  158. package/dist/chunks/haskell-2oFXwht3.js +140 -0
  159. package/dist/chunks/haskell-2oFXwht3.js.map +1 -0
  160. package/dist/chunks/haxe-BWUFK1R1.js +144 -0
  161. package/dist/chunks/haxe-BWUFK1R1.js.map +1 -0
  162. package/dist/chunks/highlight-D54M45bZ.js +328 -0
  163. package/dist/chunks/highlight-D54M45bZ.js.map +1 -0
  164. package/dist/chunks/hsp-YaLnMBmw.js +47 -0
  165. package/dist/chunks/hsp-YaLnMBmw.js.map +1 -0
  166. package/dist/chunks/http-D1Jx4NCy.js +76 -0
  167. package/dist/chunks/http-D1Jx4NCy.js.map +1 -0
  168. package/dist/chunks/hy-W6RLRSst.js +75 -0
  169. package/dist/chunks/hy-W6RLRSst.js.map +1 -0
  170. package/dist/chunks/inform7-Cqmf6Xxi.js +45 -0
  171. package/dist/chunks/inform7-Cqmf6Xxi.js.map +1 -0
  172. package/dist/chunks/ini-C_A9yUHA.js +90 -0
  173. package/dist/chunks/ini-C_A9yUHA.js.map +1 -0
  174. package/dist/chunks/irpf90-CFKe0d2G.js +49 -0
  175. package/dist/chunks/irpf90-CFKe0d2G.js.map +1 -0
  176. package/dist/chunks/isbl-DRZZfDZN.js +98 -0
  177. package/dist/chunks/isbl-DRZZfDZN.js.map +1 -0
  178. package/dist/chunks/java-DH7DXQTB.js +176 -0
  179. package/dist/chunks/java-DH7DXQTB.js.map +1 -0
  180. package/dist/chunks/javascript-D-ispHLP.js +433 -0
  181. package/dist/chunks/javascript-D-ispHLP.js.map +1 -0
  182. package/dist/chunks/jboss-cli-DwoEMfEn.js +48 -0
  183. package/dist/chunks/jboss-cli-DwoEMfEn.js.map +1 -0
  184. package/dist/chunks/json-BrJhaXJI.js +44 -0
  185. package/dist/chunks/json-BrJhaXJI.js.map +1 -0
  186. package/dist/chunks/julia-DUM4uO0n.js +82 -0
  187. package/dist/chunks/julia-DUM4uO0n.js.map +1 -0
  188. package/dist/chunks/julia-repl-DkEOqH-L.js +20 -0
  189. package/dist/chunks/julia-repl-DkEOqH-L.js.map +1 -0
  190. package/dist/chunks/kd-B0BcpOG_.js +2662 -0
  191. package/dist/chunks/kd-B0BcpOG_.js.map +1 -0
  192. package/dist/chunks/kotlin-BvSvL3hH.js +208 -0
  193. package/dist/chunks/kotlin-BvSvL3hH.js.map +1 -0
  194. package/dist/chunks/lasso-BixBtX3R.js +122 -0
  195. package/dist/chunks/lasso-BixBtX3R.js.map +1 -0
  196. package/dist/chunks/latex-BNm-5qSt.js +188 -0
  197. package/dist/chunks/latex-BNm-5qSt.js.map +1 -0
  198. package/dist/chunks/ldif-D2VChYy1.js +26 -0
  199. package/dist/chunks/ldif-D2VChYy1.js.map +1 -0
  200. package/dist/chunks/leaf-DZ17MVc2.js +67 -0
  201. package/dist/chunks/leaf-DZ17MVc2.js.map +1 -0
  202. package/dist/chunks/less-Cj7NvTiz.js +198 -0
  203. package/dist/chunks/less-Cj7NvTiz.js.map +1 -0
  204. package/dist/chunks/lisp-0CHBhNkP.js +105 -0
  205. package/dist/chunks/lisp-0CHBhNkP.js.map +1 -0
  206. package/dist/chunks/livecodeserver-f04_o5o0.js +85 -0
  207. package/dist/chunks/livecodeserver-f04_o5o0.js.map +1 -0
  208. package/dist/chunks/livescript-DnaWcjJC.js +192 -0
  209. package/dist/chunks/livescript-DnaWcjJC.js.map +1 -0
  210. package/dist/chunks/llvm-CD_EQmwW.js +71 -0
  211. package/dist/chunks/llvm-CD_EQmwW.js.map +1 -0
  212. package/dist/chunks/lsl-BjbA45DV.js +56 -0
  213. package/dist/chunks/lsl-BjbA45DV.js.map +1 -0
  214. package/dist/chunks/lua-C8cmPpDf.js +48 -0
  215. package/dist/chunks/lua-C8cmPpDf.js.map +1 -0
  216. package/dist/chunks/makefile-vKf6Crs_.js +59 -0
  217. package/dist/chunks/makefile-vKf6Crs_.js.map +1 -0
  218. package/dist/chunks/markdown-D1MbcAo6.js +180 -0
  219. package/dist/chunks/markdown-D1MbcAo6.js.map +1 -0
  220. package/dist/chunks/marked.esm-BrPimSW6.js +1494 -0
  221. package/dist/chunks/marked.esm-BrPimSW6.js.map +1 -0
  222. package/dist/chunks/mathematica-BAI0dr8P.js +71 -0
  223. package/dist/chunks/mathematica-BAI0dr8P.js.map +1 -0
  224. package/dist/chunks/matlab-tHkexNRr.js +72 -0
  225. package/dist/chunks/matlab-tHkexNRr.js.map +1 -0
  226. package/dist/chunks/maxima-DBb1On73.js +40 -0
  227. package/dist/chunks/maxima-DBb1On73.js.map +1 -0
  228. package/dist/chunks/mel-DQ2XEeJZ.js +26 -0
  229. package/dist/chunks/mel-DQ2XEeJZ.js.map +1 -0
  230. package/dist/chunks/mercury-DB7FwEBk.js +57 -0
  231. package/dist/chunks/mercury-DB7FwEBk.js.map +1 -0
  232. package/dist/chunks/mipsasm-Bnw9lQ6-.js +55 -0
  233. package/dist/chunks/mipsasm-Bnw9lQ6-.js.map +1 -0
  234. package/dist/chunks/mizar-CKEtvqV9.js +12 -0
  235. package/dist/chunks/mizar-CKEtvqV9.js.map +1 -0
  236. package/dist/chunks/mojolicious-FvfVuUnD.js +29 -0
  237. package/dist/chunks/mojolicious-FvfVuUnD.js.map +1 -0
  238. package/dist/chunks/monkey-DaGzblyK.js +73 -0
  239. package/dist/chunks/monkey-DaGzblyK.js.map +1 -0
  240. package/dist/chunks/moonscript-B9xmaKDF.js +99 -0
  241. package/dist/chunks/moonscript-B9xmaKDF.js.map +1 -0
  242. package/dist/chunks/n1ql-h7HuiOG_.js +47 -0
  243. package/dist/chunks/n1ql-h7HuiOG_.js.map +1 -0
  244. package/dist/chunks/nestedtext-z3hOUdBb.js +67 -0
  245. package/dist/chunks/nestedtext-z3hOUdBb.js.map +1 -0
  246. package/dist/chunks/nginx-Cscn9g8k.js +126 -0
  247. package/dist/chunks/nginx-Cscn9g8k.js.map +1 -0
  248. package/dist/chunks/nim-DuEHXsfI.js +57 -0
  249. package/dist/chunks/nim-DuEHXsfI.js.map +1 -0
  250. package/dist/chunks/nix-CK-JoV_w.js +176 -0
  251. package/dist/chunks/nix-CK-JoV_w.js.map +1 -0
  252. package/dist/chunks/node-repl-YPgIlFR4.js +21 -0
  253. package/dist/chunks/node-repl-YPgIlFR4.js.map +1 -0
  254. package/dist/chunks/nsis-C2knGE1f.js +103 -0
  255. package/dist/chunks/nsis-C2knGE1f.js.map +1 -0
  256. package/dist/chunks/objectivec-CUvPbZB7.js +119 -0
  257. package/dist/chunks/objectivec-CUvPbZB7.js.map +1 -0
  258. package/dist/chunks/ocaml-CJnlG7MK.js +54 -0
  259. package/dist/chunks/ocaml-CJnlG7MK.js.map +1 -0
  260. package/dist/chunks/openscad-B7xqzB_t.js +61 -0
  261. package/dist/chunks/openscad-B7xqzB_t.js.map +1 -0
  262. package/dist/chunks/oxygene-y7G7cOvu.js +55 -0
  263. package/dist/chunks/oxygene-y7G7cOvu.js.map +1 -0
  264. package/dist/chunks/parser3-BO1P2QTe.js +42 -0
  265. package/dist/chunks/parser3-BO1P2QTe.js.map +1 -0
  266. package/dist/chunks/perl-CIZiAqA2.js +194 -0
  267. package/dist/chunks/perl-CIZiAqA2.js.map +1 -0
  268. package/dist/chunks/pf-DtIBAeXH.js +32 -0
  269. package/dist/chunks/pf-DtIBAeXH.js.map +1 -0
  270. package/dist/chunks/pgsql-DhvwSgY7.js +193 -0
  271. package/dist/chunks/pgsql-DhvwSgY7.js.map +1 -0
  272. package/dist/chunks/php-Df419x2P.js +302 -0
  273. package/dist/chunks/php-Df419x2P.js.map +1 -0
  274. package/dist/chunks/php-template-NGWDJ4ZL.js +45 -0
  275. package/dist/chunks/php-template-NGWDJ4ZL.js.map +1 -0
  276. package/dist/chunks/plaintext-DI9-6uUK.js +12 -0
  277. package/dist/chunks/plaintext-DI9-6uUK.js.map +1 -0
  278. package/dist/chunks/pony-DWRlzIm6.js +52 -0
  279. package/dist/chunks/pony-DWRlzIm6.js.map +1 -0
  280. package/dist/chunks/powershell-Bi81KJvX.js +190 -0
  281. package/dist/chunks/powershell-Bi81KJvX.js.map +1 -0
  282. package/dist/chunks/processing-NRILzl6W.js +100 -0
  283. package/dist/chunks/processing-NRILzl6W.js.map +1 -0
  284. package/dist/chunks/profile-C5HdUz2O.js +40 -0
  285. package/dist/chunks/profile-C5HdUz2O.js.map +1 -0
  286. package/dist/chunks/prolog-CSxvOOUl.js +56 -0
  287. package/dist/chunks/prolog-CSxvOOUl.js.map +1 -0
  288. package/dist/chunks/properties-DVff9GiD.js +40 -0
  289. package/dist/chunks/properties-DVff9GiD.js.map +1 -0
  290. package/dist/chunks/protobuf-CwPeazJT.js +63 -0
  291. package/dist/chunks/protobuf-CwPeazJT.js.map +1 -0
  292. package/dist/chunks/puppet-wWT6-WaD.js +84 -0
  293. package/dist/chunks/puppet-wWT6-WaD.js.map +1 -0
  294. package/dist/chunks/purebasic-HWZkxa8e.js +44 -0
  295. package/dist/chunks/purebasic-HWZkxa8e.js.map +1 -0
  296. package/dist/chunks/purify.es-C_X9UTsz.js +846 -0
  297. package/dist/chunks/purify.es-C_X9UTsz.js.map +1 -0
  298. package/dist/chunks/python-B3xOtrtl.js +240 -0
  299. package/dist/chunks/python-B3xOtrtl.js.map +1 -0
  300. package/dist/chunks/python-repl-DFMVj5e5.js +21 -0
  301. package/dist/chunks/python-repl-DFMVj5e5.js.map +1 -0
  302. package/dist/chunks/q-DOHmm85f.js +23 -0
  303. package/dist/chunks/q-DOHmm85f.js.map +1 -0
  304. package/dist/chunks/qml-LsukXoE-.js +129 -0
  305. package/dist/chunks/qml-LsukXoE-.js.map +1 -0
  306. package/dist/chunks/r-qBqOPbmv.js +142 -0
  307. package/dist/chunks/r-qBqOPbmv.js.map +1 -0
  308. package/dist/chunks/reasonml-D25FoGuQ.js +80 -0
  309. package/dist/chunks/reasonml-D25FoGuQ.js.map +1 -0
  310. package/dist/chunks/rib-C3T5JisO.js +18 -0
  311. package/dist/chunks/rib-C3T5JisO.js.map +1 -0
  312. package/dist/chunks/roboconf-Ckycnnun.js +55 -0
  313. package/dist/chunks/roboconf-Ckycnnun.js.map +1 -0
  314. package/dist/chunks/routeros-DIBiqeDi.js +104 -0
  315. package/dist/chunks/routeros-DIBiqeDi.js.map +1 -0
  316. package/dist/chunks/rsl-C2V3vKIN.js +61 -0
  317. package/dist/chunks/rsl-C2V3vKIN.js.map +1 -0
  318. package/dist/chunks/ruby-C7c-uCk8.js +264 -0
  319. package/dist/chunks/ruby-C7c-uCk8.js.map +1 -0
  320. package/dist/chunks/ruleslanguage-IlptjHhp.js +28 -0
  321. package/dist/chunks/ruleslanguage-IlptjHhp.js.map +1 -0
  322. package/dist/chunks/rust-D-q21Dm6.js +184 -0
  323. package/dist/chunks/rust-D-q21Dm6.js.map +1 -0
  324. package/dist/chunks/sas-ObguUuPf.js +80 -0
  325. package/dist/chunks/sas-ObguUuPf.js.map +1 -0
  326. package/dist/chunks/scala-DVAYHay6.js +164 -0
  327. package/dist/chunks/scala-DVAYHay6.js.map +1 -0
  328. package/dist/chunks/scheme-DIcGbflN.js +106 -0
  329. package/dist/chunks/scheme-DIcGbflN.js.map +1 -0
  330. package/dist/chunks/scilab-ilneDJJS.js +47 -0
  331. package/dist/chunks/scilab-ilneDJJS.js.map +1 -0
  332. package/dist/chunks/scss-BP8UD0nN.js +157 -0
  333. package/dist/chunks/scss-BP8UD0nN.js.map +1 -0
  334. package/dist/chunks/shell-DBkgOY0Y.js +19 -0
  335. package/dist/chunks/shell-DBkgOY0Y.js.map +1 -0
  336. package/dist/chunks/smali-De20QX07.js +85 -0
  337. package/dist/chunks/smali-De20QX07.js.map +1 -0
  338. package/dist/chunks/smalltalk-DWMPo-qT.js +59 -0
  339. package/dist/chunks/smalltalk-DWMPo-qT.js.map +1 -0
  340. package/dist/chunks/sml-yOrArwoc.js +51 -0
  341. package/dist/chunks/sml-yOrArwoc.js.map +1 -0
  342. package/dist/chunks/sqf-BCN5uwk_.js +78 -0
  343. package/dist/chunks/sqf-BCN5uwk_.js.map +1 -0
  344. package/dist/chunks/sql-CmVzGP4w.js +120 -0
  345. package/dist/chunks/sql-CmVzGP4w.js.map +1 -0
  346. package/dist/chunks/stan-BSt7sG8M.js +142 -0
  347. package/dist/chunks/stan-BSt7sG8M.js.map +1 -0
  348. package/dist/chunks/stata-sbG438-7.js +35 -0
  349. package/dist/chunks/stata-sbG438-7.js.map +1 -0
  350. package/dist/chunks/step21-Cfi2MQDZ.js +55 -0
  351. package/dist/chunks/step21-Cfi2MQDZ.js.map +1 -0
  352. package/dist/chunks/stylus-CiBDFhBN.js +185 -0
  353. package/dist/chunks/stylus-CiBDFhBN.js.map +1 -0
  354. package/dist/chunks/subunit-DWjzVCiA.js +36 -0
  355. package/dist/chunks/subunit-DWjzVCiA.js.map +1 -0
  356. package/dist/chunks/swift-Qo_eIir5.js +577 -0
  357. package/dist/chunks/swift-Qo_eIir5.js.map +1 -0
  358. package/dist/chunks/taggerscript-BvuLYKHz.js +39 -0
  359. package/dist/chunks/taggerscript-BvuLYKHz.js.map +1 -0
  360. package/dist/chunks/tap-uMi8uF_X.js +32 -0
  361. package/dist/chunks/tap-uMi8uF_X.js.map +1 -0
  362. package/dist/chunks/tcl-DMPG3T59.js +46 -0
  363. package/dist/chunks/tcl-DMPG3T59.js.map +1 -0
  364. package/dist/chunks/thrift-DAA8HOe8.js +67 -0
  365. package/dist/chunks/thrift-DAA8HOe8.js.map +1 -0
  366. package/dist/chunks/tp-46SXlDZT.js +87 -0
  367. package/dist/chunks/tp-46SXlDZT.js.map +1 -0
  368. package/dist/chunks/twig-Cf_tZ_wH.js +84 -0
  369. package/dist/chunks/twig-Cf_tZ_wH.js.map +1 -0
  370. package/dist/chunks/typescript-Dc6pBLOZ.js +518 -0
  371. package/dist/chunks/typescript-Dc6pBLOZ.js.map +1 -0
  372. package/dist/chunks/vala-C2GHqzgV.js +41 -0
  373. package/dist/chunks/vala-C2GHqzgV.js.map +1 -0
  374. package/dist/chunks/vbnet-DgQ7B7yi.js +71 -0
  375. package/dist/chunks/vbnet-DgQ7B7yi.js.map +1 -0
  376. package/dist/chunks/vbscript-Bid2w6kd.js +43 -0
  377. package/dist/chunks/vbscript-Bid2w6kd.js.map +1 -0
  378. package/dist/chunks/vbscript-html-DznzJpE3.js +16 -0
  379. package/dist/chunks/vbscript-html-DznzJpE3.js.map +1 -0
  380. package/dist/chunks/verilog-Cfn8vMNy.js +58 -0
  381. package/dist/chunks/verilog-Cfn8vMNy.js.map +1 -0
  382. package/dist/chunks/vhdl-DjBWCsn1.js +48 -0
  383. package/dist/chunks/vhdl-DjBWCsn1.js.map +1 -0
  384. package/dist/chunks/vim-DtRU07HQ.js +56 -0
  385. package/dist/chunks/vim-DtRU07HQ.js.map +1 -0
  386. package/dist/chunks/wasm-CavVFuAK.js +65 -0
  387. package/dist/chunks/wasm-CavVFuAK.js.map +1 -0
  388. package/dist/chunks/wren-BKTRrWxW.js +210 -0
  389. package/dist/chunks/wren-BKTRrWxW.js.map +1 -0
  390. package/dist/chunks/x86asm-D3FT8ZrX.js +66 -0
  391. package/dist/chunks/x86asm-D3FT8ZrX.js.map +1 -0
  392. package/dist/chunks/xl-O8DviBwg.js +85 -0
  393. package/dist/chunks/xl-O8DviBwg.js.map +1 -0
  394. package/dist/chunks/xml-UTtAqziF.js +164 -0
  395. package/dist/chunks/xml-UTtAqziF.js.map +1 -0
  396. package/dist/chunks/xquery-Ybt8-gzE.js +149 -0
  397. package/dist/chunks/xquery-Ybt8-gzE.js.map +1 -0
  398. package/dist/chunks/yaml-DT7UV549.js +146 -0
  399. package/dist/chunks/yaml-DT7UV549.js.map +1 -0
  400. package/dist/chunks/zephir-Dsfqs5td.js +72 -0
  401. package/dist/chunks/zephir-Dsfqs5td.js.map +1 -0
  402. package/dist/github/activity.d.ts +49 -0
  403. package/dist/github/hash.d.ts +8 -0
  404. package/dist/github/index.d.ts +10 -0
  405. package/dist/github/tree.d.ts +26 -0
  406. package/dist/github/urls.d.ts +34 -0
  407. package/dist/github.js +253 -0
  408. package/dist/github.js.map +1 -0
  409. package/dist/k8s.js +6 -6
  410. package/dist/k8s.js.map +1 -1
  411. package/dist/kd/elements/code.d.ts +53 -0
  412. package/dist/kd/elements/markdown.d.ts +55 -0
  413. package/dist/kd/feed.d.ts +31 -0
  414. package/dist/kd/files/explorer.d.ts +88 -0
  415. package/dist/kd/files/file.d.ts +84 -0
  416. package/dist/kd/files/index.d.ts +6 -0
  417. package/dist/kd/files/static.d.ts +12 -0
  418. package/dist/kd/files/types.d.ts +51 -0
  419. package/dist/kd/highlight.d.ts +26 -0
  420. package/dist/kd/index.d.ts +8 -0
  421. package/dist/kd.js +5 -5
  422. package/dist/n8n/config.d.ts +3 -2
  423. package/dist/n8n.js +4 -4
  424. package/dist/n8n.js.map +1 -1
  425. package/dist/openapi.js +4 -4
  426. package/dist/openapi.js.map +1 -1
  427. package/package.json +18 -3
  428. package/dist/chunks/element-ChNBLJ5X.js.map +0 -1
  429. package/dist/chunks/kd-Bbw0GeQ5.js +0 -1149
  430. package/dist/chunks/kd-Bbw0GeQ5.js.map +0 -1
@@ -0,0 +1,1494 @@
1
+ //#region node_modules/marked/lib/marked.esm.js
2
+ function e() {
3
+ return {
4
+ async: !1,
5
+ breaks: !1,
6
+ extensions: null,
7
+ gfm: !0,
8
+ hooks: null,
9
+ pedantic: !1,
10
+ renderer: null,
11
+ silent: !1,
12
+ tokenizer: null,
13
+ walkTokens: null
14
+ };
15
+ }
16
+ var t = e();
17
+ function n(e) {
18
+ t = e;
19
+ }
20
+ var r = { exec: () => null };
21
+ function i(e) {
22
+ let t = [];
23
+ return (n) => {
24
+ let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
25
+ return i || (i = e(r), t[r] = i), i;
26
+ };
27
+ }
28
+ function a(e, t = "") {
29
+ let n = typeof e == "string" ? e : e.source, r = {
30
+ replace: (e, t) => {
31
+ let i = typeof t == "string" ? t : t.source;
32
+ return i = i.replace(s.caret, "$1"), n = n.replace(e, i), r;
33
+ },
34
+ getRegex: () => new RegExp(n, t)
35
+ };
36
+ return r;
37
+ }
38
+ var o = ((e = "") => {
39
+ try {
40
+ return !!RegExp("(?<=1)(?<!1)" + e);
41
+ } catch {
42
+ return !1;
43
+ }
44
+ })(), s = {
45
+ codeRemoveIndent: /^(?: {0,3}\t| {1,4})/gm,
46
+ outputLinkReplace: /\\([\[\]])/g,
47
+ indentCodeCompensation: /^(\s+)(?:```)/,
48
+ beginningSpace: /^\s+/,
49
+ endingHash: /#$/,
50
+ startingSpaceChar: /^ /,
51
+ endingSpaceChar: / $/,
52
+ endingSpaceTabChar: /[ \t]$/,
53
+ nonSpaceChar: /[^ ]/,
54
+ newLineCharGlobal: /\n/g,
55
+ tabCharGlobal: /\t/g,
56
+ leadingSpaceTab: /^[ \t]+/,
57
+ multipleSpaceGlobal: /\s+/g,
58
+ blankLine: /^[ \t]*$/,
59
+ doubleBlankLine: /\n[ \t]*\n[ \t]*$/,
60
+ blockquoteStart: /^ {0,3}>/,
61
+ blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g,
62
+ blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm,
63
+ listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,
64
+ listIsTask: /^\[[ xX]\] +\S/,
65
+ listReplaceTask: /^\[[ xX]\] +/,
66
+ listTaskCheckbox: /\[[ xX]\]/,
67
+ anyLine: /\n.*\n/,
68
+ hrefBrackets: /^<(.*)>$/,
69
+ tableDelimiter: /[:|]/,
70
+ tableAlignChars: /^\||\| *$/g,
71
+ tableRowBlankLine: /\n[ \t]*$/,
72
+ tableAlignRight: /^ *-+: *$/,
73
+ tableAlignCenter: /^ *:-+: *$/,
74
+ tableAlignLeft: /^ *:-+ *$/,
75
+ startATag: /^<a /i,
76
+ endATag: /^<\/a>/i,
77
+ startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i,
78
+ endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i,
79
+ startAngleBracket: /^</,
80
+ endAngleBracket: />$/,
81
+ pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/,
82
+ unicodeAlphaNumeric: /[\p{L}\p{N}]/u,
83
+ numericCharacterReference: /&#(?:(\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/g,
84
+ escapeTest: /[&<>"']/,
85
+ escapeReplace: /[&<>"']/g,
86
+ escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,
87
+ escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,
88
+ caret: /(^|[^\[])\^/g,
89
+ percentDecode: /%25/g,
90
+ findPipe: /\|/g,
91
+ splitPipe: / \|/,
92
+ slashPipe: /\\\|/g,
93
+ carriageReturn: /\r\n|\r/g,
94
+ spaceLine: /^ +$/gm,
95
+ notSpaceStart: /^\S*/,
96
+ endingNewline: /\n$/,
97
+ listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
98
+ nextBulletRegex: i((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
99
+ hrRegex: i((e) => RegExp(`^ {0,${e}}((?:-[ ]*){3,}|(?:_[ ]*){3,}|(?:\\*[ ]*){3,})(?:\\n+|$)`)),
100
+ fencesBeginRegex: i((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
101
+ headingBeginRegex: i((e) => RegExp(`^ {0,${e}}#`)),
102
+ htmlBeginRegex: i((e) => RegExp(`^ {0,${e}}(?:</?(?:${_})(?: +|$|/?>)|<(?:script|pre|style|textarea|!--))`, "i")),
103
+ blockquoteBeginRegex: i((e) => RegExp(`^ {0,${e}}>`))
104
+ }, c = /^(?:[ \t]*(?:\n|$))+/, l = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, u = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, d = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, f = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, p = / {0,3}(?:[*+-]|\d{1,9}[.)])/, m = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |fences|blockquote|heading|hr|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ee = a(m).replace(/bull/g, p).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/hr/g, / {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), te = a(m).replace(/bull/g, p).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}(?:\s|$)/).replace(/hr/g, / {0,3}(?:(?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), h = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/, ne = /^[^\n]+/, g = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, re = a(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", g).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ie = a(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, p).getRegex(), _ = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", v = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ae = a("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][a-z0-9-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", v).replace("tag", _).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), y = (e) => a(h).replace("hr", d).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", e).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _).getRegex(), oe = y(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), se = y(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/), b = {
105
+ blockquote: a(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", se).getRegex(),
106
+ code: l,
107
+ def: re,
108
+ fences: u,
109
+ heading: f,
110
+ hr: d,
111
+ html: ae,
112
+ lheading: ee,
113
+ list: ie,
114
+ newline: c,
115
+ paragraph: oe,
116
+ table: r,
117
+ text: ne
118
+ }, x = a("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", d).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _).getRegex(), ce = {
119
+ ...b,
120
+ lheading: te,
121
+ table: x,
122
+ paragraph: a(h).replace("hr", d).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", x).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", _).getRegex()
123
+ }, le = {
124
+ ...b,
125
+ html: a("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", v).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
126
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
127
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
128
+ fences: r,
129
+ lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
130
+ paragraph: a(h).replace("hr", d).replace("heading", " *#{1,6} *[^\n]").replace("lheading", ee).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
131
+ }, ue = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, de = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, fe = /^( {2,}|\\)\n(?!\s*$)[ \t]*/, pe = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, S = /[\p{P}\p{S}]/u, C = /[\s\p{P}\p{S}]/u, w = /[^\s\p{P}\p{S}]/u, me = a(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, C).getRegex(), he = /[\p{Pi}\p{Ps}"']/u, T = /(?!~)[\p{P}\p{S}]/u, ge = /(?!~)[\s\p{P}\p{S}]/u, _e = /(?:[^\s\p{P}\p{S}]|~)/u, ve = a(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", o ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), E = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ye = a(E, "u").replace(/punct/g, S).getRegex(), be = a(E, "u").replace(/punct/g, T).getRegex(), xe = a(/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/, "u").replace(/openQuote/g, he).replace(/punct/g, S).getRegex(), D = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Se = a(D, "gu").replace(/notPunctSpace/g, w).replace(/punctSpace/g, C).replace(/punct/g, S).getRegex(), Ce = a(D, "gu").replace(/notPunctSpace/g, _e).replace(/punctSpace/g, ge).replace(/punct/g, T).getRegex(), we = a("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, w).replace(/punctSpace/g, C).replace(/punct/g, S).getRegex(), Te = a("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, w).replace(/punctSpace/g, C).replace(/punct/g, S).getRegex(), Ee = a("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, w).replace(/punctSpace/g, C).replace(/punct/g, S).getRegex(), De = a(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, S).getRegex(), Oe = a("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, w).replace(/punctSpace/g, C).replace(/punct/g, S).getRegex(), ke = a(/\\(punct)/, "gu").replace(/punct/g, S).getRegex(), Ae = a(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je = a(v).replace("(?:-->|$)", "-->").getRegex(), Me = a("^comment|^</[a-zA-Z][a-zA-Z0-9-]*\\s*>|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), O = /\[(?:\\[\s\S]|[^\[\]\\])*\]/, k = a(/(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/).replace("brackets", O).getRegex(), Ne = a(/^!?\[(label)\]\([ \t\n]*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?[ \t\n]*\)/).replace("label", k).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Pe = a(/^!?\[(label)\]\[(ref)\]/).replace("label", k).replace("ref", g).getRegex(), Fe = a(/^!?\[(ref)\](?:\[\])?/).replace("ref", g).getRegex(), A = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\]){1,999}/, Ie = a(/(?:[^\[\]\\`]*(?:\[(?:brackets|\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\]))){0,999}?[^\[\]\\`]*?/).replace("brackets", O).getRegex(), Le = a("reflink|nolink(?!\\()", "g").replace("reflink", a(/^!?\[(label)\]\[(ref)\]/).replace("label", Ie).replace("ref", A).getRegex()).replace("nolink", a(/^!?\[(ref)\](?:\[\])?/).replace("ref", A).getRegex()).getRegex(), j = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Re = a(/(?:mailto:email|xmpp:email(?:\/[A-Za-z0-9@.]+)?)/).replace(/email/g, /[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(), M = {
132
+ _backpedal: r,
133
+ anyPunctuation: ke,
134
+ autolink: Ae,
135
+ blockSkip: ve,
136
+ br: fe,
137
+ code: de,
138
+ del: r,
139
+ delLDelim: r,
140
+ delRDelim: r,
141
+ emStrongLDelim: ye,
142
+ emStrongRDelimAst: Se,
143
+ emStrongRDelimUnd: Te,
144
+ escape: ue,
145
+ link: Ne,
146
+ nolink: Fe,
147
+ punctuation: me,
148
+ reflink: Pe,
149
+ reflinkSearch: Le,
150
+ tag: Me,
151
+ text: pe,
152
+ url: r
153
+ }, ze = {
154
+ ...M,
155
+ emStrongLDelim: xe,
156
+ emStrongRDelimAst: we,
157
+ emStrongRDelimUnd: Ee,
158
+ link: a(/^!?\[(label)\]\((.*?)\)/).replace("label", k).getRegex(),
159
+ reflink: a(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", k).getRegex()
160
+ }, N = {
161
+ ...M,
162
+ emStrongRDelimAst: Ce,
163
+ emStrongLDelim: be,
164
+ delLDelim: De,
165
+ delRDelim: Oe,
166
+ url: a(/^emailProtocol|^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("emailProtocol", Re).replace("protocol", j).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\w-])/).getRegex(),
167
+ _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
168
+ del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
169
+ text: a(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))))/).replace("protocol", j).replace(/emailProtocol/g, /(?:mailto|xmpp):/).getRegex()
170
+ }, Be = {
171
+ ...N,
172
+ br: a(fe).replace("{2,}", "*").getRegex(),
173
+ text: a(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
174
+ }, P = {
175
+ normal: b,
176
+ gfm: ce,
177
+ pedantic: le
178
+ }, F = {
179
+ normal: M,
180
+ gfm: N,
181
+ breaks: Be,
182
+ pedantic: ze
183
+ }, Ve = {
184
+ "&": "&amp;",
185
+ "<": "&lt;",
186
+ ">": "&gt;",
187
+ "\"": "&quot;",
188
+ "'": "&#39;"
189
+ }, I = (e) => Ve[e];
190
+ function L(e, t) {
191
+ if (t) {
192
+ if (s.escapeTest.test(e)) return e.replace(s.escapeReplace, I);
193
+ } else if (s.escapeTestNoEncode.test(e)) return e.replace(s.escapeReplaceNoEncode, I);
194
+ return e;
195
+ }
196
+ function He(e) {
197
+ return e.replace(s.numericCharacterReference, (e, t, n) => {
198
+ let r = t === void 0 ? Number.parseInt(n, 16) : Number.parseInt(t, 10);
199
+ return r === 0 || r > 1114111 || r >= 55296 && r <= 57343 ? "�" : String.fromCodePoint(r);
200
+ });
201
+ }
202
+ function R(e) {
203
+ try {
204
+ e = encodeURI(e).replace(s.percentDecode, "%");
205
+ } catch {
206
+ return null;
207
+ }
208
+ return e;
209
+ }
210
+ function z(e, t) {
211
+ let n = e.replace(s.findPipe, (e, t, n) => {
212
+ let r = !1, i = t;
213
+ for (; --i >= 0 && n[i] === "\\";) r = !r;
214
+ return r ? "|" : " |";
215
+ }).split(s.splitPipe), r = 0;
216
+ if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
217
+ if (n.length > t) n.splice(t);
218
+ else for (; n.length < t;) n.push("");
219
+ }
220
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(s.slashPipe, "|");
221
+ return n;
222
+ }
223
+ function B(e, t, n) {
224
+ let r = e.length;
225
+ if (r === 0) return "";
226
+ let i = 0;
227
+ for (; i < r;) {
228
+ let a = e.charAt(r - i - 1);
229
+ if (a === t && !n) i++;
230
+ else if (a !== t && n) i++;
231
+ else break;
232
+ }
233
+ return e.slice(0, r - i);
234
+ }
235
+ function V(e) {
236
+ let t = e.split("\n"), n = t.length - 1;
237
+ for (; n >= 0 && s.blankLine.test(t[n]);) n--;
238
+ return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
239
+ }
240
+ function H(e) {
241
+ return e.trim().toLowerCase().toUpperCase().toLowerCase();
242
+ }
243
+ function U(e, t) {
244
+ if (e.indexOf(t[0]) === -1 && e.indexOf(t[1]) === -1) return -1;
245
+ let n = 0;
246
+ for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
247
+ else if (e[r] === t[0]) n++;
248
+ else if (e[r] === t[1] && (n--, n < 0)) return r;
249
+ return n > 0 ? -2 : -1;
250
+ }
251
+ function W(e, t = 0) {
252
+ let n = t, r = "";
253
+ for (let t of e) if (t === " ") {
254
+ let e = 4 - n % 4;
255
+ r += " ".repeat(e), n += e;
256
+ } else r += t, n++;
257
+ return r;
258
+ }
259
+ function G(e, t, n, r, i) {
260
+ let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1"), c = e[0].charAt(0) === "!";
261
+ r.state.inLink = !0;
262
+ let l = r.state.linkEmitted, u = r.state.inRawBlock;
263
+ r.state.linkEmitted = !1;
264
+ let d = r.inlineTokens(s), f = r.state.linkEmitted;
265
+ if (r.state.linkEmitted = l, r.state.inLink = !1, !c) {
266
+ if (f) {
267
+ r.state.inRawBlock = u;
268
+ return;
269
+ }
270
+ r.state.linkEmitted = !0;
271
+ }
272
+ return {
273
+ type: c ? "image" : "link",
274
+ raw: n,
275
+ href: a,
276
+ title: o,
277
+ text: s,
278
+ tokens: d
279
+ };
280
+ }
281
+ function Ue(e, t, n) {
282
+ let r = e.match(n.other.indentCodeCompensation);
283
+ if (r === null) return t;
284
+ let i = r[1];
285
+ return t.split("\n").map((e) => {
286
+ let t = e.match(n.other.beginningSpace);
287
+ if (t === null) return e;
288
+ let [r] = t;
289
+ return e.slice(Math.min(r.length, i.length));
290
+ }).join("\n");
291
+ }
292
+ function We(e, t, n, r) {
293
+ if (!t.includes("<")) return !1;
294
+ for (let i = 0; i < t.length; i++) {
295
+ if (t[i] === "\\") {
296
+ i++;
297
+ continue;
298
+ }
299
+ if (t[i] === "`") {
300
+ let e = r.inline.code.exec(t.slice(i));
301
+ if (e) {
302
+ i += e[0].length - 1;
303
+ continue;
304
+ }
305
+ }
306
+ if (t[i] !== "<") continue;
307
+ let a = e.slice(n + i), o = r.inline.tag.exec(a) || r.inline.autolink.exec(a);
308
+ if (o) {
309
+ if (o[0].length > t.length - i) return !0;
310
+ i += o[0].length - 1;
311
+ }
312
+ }
313
+ return !1;
314
+ }
315
+ var K = class {
316
+ options;
317
+ rules;
318
+ lexer;
319
+ constructor(e) {
320
+ this.options = e || t;
321
+ }
322
+ space(e) {
323
+ let t = this.rules.block.newline.exec(e);
324
+ if (t && t[0].length > 0) return {
325
+ type: "space",
326
+ raw: t[0]
327
+ };
328
+ }
329
+ code(e) {
330
+ let t = this.rules.block.code.exec(e);
331
+ if (t) {
332
+ let e = this.options.pedantic ? t[0] : V(t[0]);
333
+ return {
334
+ type: "code",
335
+ raw: e,
336
+ codeBlockStyle: "indented",
337
+ text: e.replace(this.rules.other.codeRemoveIndent, "")
338
+ };
339
+ }
340
+ }
341
+ fences(e) {
342
+ let t = this.rules.block.fences.exec(e);
343
+ if (t) {
344
+ let e = t[0], n = Ue(e, t[3] || "", this.rules);
345
+ return {
346
+ type: "code",
347
+ raw: e,
348
+ lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
349
+ text: n
350
+ };
351
+ }
352
+ }
353
+ heading(e) {
354
+ let t = this.rules.block.heading.exec(e);
355
+ if (t) {
356
+ let e = t[2].trim();
357
+ if (this.rules.other.endingHash.test(e)) {
358
+ let t = B(e, "#");
359
+ (this.options.pedantic || !t || this.rules.other.endingSpaceTabChar.test(t)) && (e = t.trim());
360
+ }
361
+ return {
362
+ type: "heading",
363
+ raw: B(t[0], "\n"),
364
+ depth: t[1].length,
365
+ text: e,
366
+ tokens: this.lexer.inline(e)
367
+ };
368
+ }
369
+ }
370
+ hr(e) {
371
+ let t = this.rules.block.hr.exec(e);
372
+ if (t) return {
373
+ type: "hr",
374
+ raw: B(t[0], "\n")
375
+ };
376
+ }
377
+ blockquote(e) {
378
+ let t = this.rules.block.blockquote.exec(e);
379
+ if (t) {
380
+ let e = B(t[0], "\n").split("\n"), n = "", r = "", i = [];
381
+ for (; e.length > 0;) {
382
+ let t = !1, a = [], o = 0;
383
+ for (; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
384
+ else if (!t) a.push(e[o]);
385
+ else break;
386
+ e = e.slice(o);
387
+ let s = a.join("\n"), c = s.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
388
+ n = n ? `${n}
389
+ ${s}` : s, r = r ? `${r}
390
+ ${c}` : c;
391
+ let l = this.lexer.state.top;
392
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
393
+ let u = i.at(-1);
394
+ if (u?.type === "code") break;
395
+ if (u?.type === "blockquote") {
396
+ let t = u, a = e.join("\n"), o = t.raw + "\n" + a.replace(this.rules.other.blockquoteSetextReplace2, ""), s = this.blockquote(o);
397
+ i[i.length - 1] = s;
398
+ let c = o.substring(s.raw.length).replace(/^\n/, ""), l = c ? c.split("\n").length : 0, d = l ? e.slice(0, -l) : e;
399
+ d.length > 0 && (n = `${n}
400
+ ${d.join("\n")}`), r = r.substring(0, r.length - t.text.length) + s.text;
401
+ break;
402
+ }
403
+ if (u?.type === "list") {
404
+ let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
405
+ i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
406
+ }
407
+ }
408
+ return {
409
+ type: "blockquote",
410
+ raw: n,
411
+ tokens: i,
412
+ text: r
413
+ };
414
+ }
415
+ }
416
+ list(e) {
417
+ let t = this.rules.block.list.exec(e);
418
+ if (t) {
419
+ let n = t[1].trim(), r = n.length > 1, i = {
420
+ type: "list",
421
+ raw: "",
422
+ ordered: r,
423
+ start: r ? +n.slice(0, -1) : "",
424
+ loose: !1,
425
+ items: []
426
+ };
427
+ n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
428
+ let a = this.rules.other.listItemRegex(n), o = !1;
429
+ for (; e;) {
430
+ let n = !1, r = "", s = "";
431
+ if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
432
+ r = t[0], e = e.substring(r.length);
433
+ let c = t[2].split("\n", 1)[0], l = t[1].length, u = this.options.pedantic ? W(c, l) : c.replace(this.rules.other.leadingSpaceTab, (e) => W(e, l)), d = e.split("\n", 1)[0], f = !u.trim(), p = 0;
434
+ if (this.options.pedantic ? (p = 2, s = u.trimStart()) : f ? p = l + 1 : (p = u.search(this.rules.other.nonSpaceChar), p = p > 4 ? 1 : p, s = u.slice(p), p += l), f && this.rules.other.blankLine.test(d) && (r += d + "\n", e = e.substring(d.length + 1), n = !0), !n) {
435
+ let t = this.rules.other.nextBulletRegex(p), n = this.rules.other.hrRegex(p), i = this.rules.other.fencesBeginRegex(p), a = this.rules.other.headingBeginRegex(p), o = this.rules.other.htmlBeginRegex(p), c = this.rules.other.blockquoteBeginRegex(p);
436
+ for (; e;) {
437
+ let l = e.split("\n", 1)[0], m;
438
+ if (d = l, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), m = d) : m = d.replace(this.rules.other.leadingSpaceTab, (e) => e.replace(this.rules.other.tabCharGlobal, " ")), i.test(d) || a.test(d) || o.test(d) || c.test(d) || t.test(d) || n.test(d)) break;
439
+ if (m.search(this.rules.other.nonSpaceChar) >= p || !d.trim()) s += "\n" + m.slice(p);
440
+ else {
441
+ if (f || u.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(u) || a.test(u) || n.test(u)) break;
442
+ s += "\n" + d;
443
+ }
444
+ f = !d.trim(), r += l + "\n", e = e.substring(l.length + 1), u = m.slice(p);
445
+ }
446
+ }
447
+ i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
448
+ type: "list_item",
449
+ raw: r,
450
+ task: !!this.options.gfm && this.rules.other.listIsTask.test(s),
451
+ loose: !1,
452
+ text: s,
453
+ tokens: []
454
+ }), i.raw += r;
455
+ }
456
+ let s = i.items.at(-1);
457
+ if (s) s.raw = s.raw.trimEnd(), s.text = s.text.trimEnd();
458
+ else return;
459
+ i.raw = i.raw.trimEnd();
460
+ for (let e of i.items) if (this.lexer.state.top = !1, e.tokens = this.lexer.blockTokens(e.text, []), !i.loose) {
461
+ let t = e.tokens.filter((e) => e.type === "space");
462
+ i.loose = t.length > 0 && t.some((e) => this.rules.other.anyLine.test(e.raw));
463
+ }
464
+ for (let e of i.items) {
465
+ let t = e.tokens[0];
466
+ if (e.task && (t?.type === "text" || t?.type === "paragraph")) {
467
+ e.text = e.text.replace(this.rules.other.listReplaceTask, ""), t.raw = t.raw.replace(this.rules.other.listReplaceTask, ""), t.text = t.text.replace(this.rules.other.listReplaceTask, "");
468
+ for (let e = this.lexer.inlineQueue.length - 1; e >= 0; e--) if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)) {
469
+ this.lexer.inlineQueue[e].src = this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask, "");
470
+ break;
471
+ }
472
+ let n = this.rules.other.listTaskCheckbox.exec(e.raw);
473
+ if (n) {
474
+ let t = {
475
+ type: "checkbox",
476
+ raw: n[0] + " ",
477
+ checked: n[0] !== "[ ]"
478
+ };
479
+ e.checked = t.checked, i.loose ? e.tokens[0] && ["paragraph", "text"].includes(e.tokens[0].type) && "tokens" in e.tokens[0] && e.tokens[0].tokens ? (e.tokens[0].raw = t.raw + e.tokens[0].raw, e.tokens[0].text = t.raw + e.tokens[0].text, e.tokens[0].tokens.unshift(t)) : e.tokens.unshift({
480
+ type: "paragraph",
481
+ raw: t.raw,
482
+ text: t.raw,
483
+ tokens: [t]
484
+ }) : e.tokens.unshift(t);
485
+ }
486
+ } else e.task &&= !1;
487
+ }
488
+ if (i.loose) for (let e of i.items) {
489
+ e.loose = !0;
490
+ for (let t of e.tokens) t.type === "text" && (t.type = "paragraph");
491
+ }
492
+ return i;
493
+ }
494
+ }
495
+ html(e) {
496
+ let t = this.rules.block.html.exec(e);
497
+ if (t) {
498
+ let e = V(t[0]);
499
+ return {
500
+ type: "html",
501
+ block: !0,
502
+ raw: e,
503
+ pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
504
+ text: e
505
+ };
506
+ }
507
+ }
508
+ def(e) {
509
+ let t = this.rules.block.def.exec(e);
510
+ if (t) {
511
+ if (!this.rules.other.startAngleBracket.test(t[2]) && U(t[2], "()") !== -1) return;
512
+ let e = H(t[1]).replace(this.rules.other.multipleSpaceGlobal, " "), n = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
513
+ return {
514
+ type: "def",
515
+ tag: e,
516
+ raw: B(t[0], "\n"),
517
+ href: n,
518
+ title: r
519
+ };
520
+ }
521
+ }
522
+ table(e) {
523
+ let t = this.rules.block.table.exec(e);
524
+ if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
525
+ let n = z(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
526
+ type: "table",
527
+ raw: B(t[0], "\n"),
528
+ header: [],
529
+ align: [],
530
+ rows: []
531
+ };
532
+ if (n.length === r.length) {
533
+ for (let e of r) this.rules.other.tableAlignRight.test(e) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? a.align.push("left") : a.align.push(null);
534
+ for (let e = 0; e < n.length; e++) a.header.push({
535
+ text: n[e],
536
+ tokens: this.lexer.inline(n[e]),
537
+ header: !0,
538
+ align: a.align[e]
539
+ });
540
+ for (let e of i) a.rows.push(z(e, a.header.length).map((e, t) => ({
541
+ text: e,
542
+ tokens: this.lexer.inline(e),
543
+ header: !1,
544
+ align: a.align[t]
545
+ })));
546
+ return a;
547
+ }
548
+ }
549
+ lheading(e) {
550
+ let t = this.rules.block.lheading.exec(e);
551
+ if (t) {
552
+ let e = t[1].trim();
553
+ return {
554
+ type: "heading",
555
+ raw: B(t[0], "\n"),
556
+ depth: t[2].charAt(0) === "=" ? 1 : 2,
557
+ text: e,
558
+ tokens: this.lexer.inline(e)
559
+ };
560
+ }
561
+ }
562
+ paragraph(e) {
563
+ let t = this.rules.block.paragraph.exec(e);
564
+ if (t) {
565
+ let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
566
+ return {
567
+ type: "paragraph",
568
+ raw: t[0],
569
+ text: e,
570
+ tokens: this.lexer.inline(e)
571
+ };
572
+ }
573
+ }
574
+ text(e) {
575
+ let t = this.rules.block.text.exec(e);
576
+ if (t) return {
577
+ type: "text",
578
+ raw: t[0],
579
+ text: t[0],
580
+ tokens: this.lexer.inline(t[0])
581
+ };
582
+ }
583
+ escape(e) {
584
+ let t = this.rules.inline.escape.exec(e);
585
+ if (t) return {
586
+ type: "escape",
587
+ raw: t[0],
588
+ text: t[1]
589
+ };
590
+ }
591
+ tag(e) {
592
+ let t = this.rules.inline.tag.exec(e);
593
+ if (t) return !this.lexer.state.inLink && this.rules.other.startATag.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
594
+ type: "html",
595
+ raw: t[0],
596
+ inLink: this.lexer.state.inLink,
597
+ inRawBlock: this.lexer.state.inRawBlock,
598
+ block: !1,
599
+ text: t[0]
600
+ };
601
+ }
602
+ link(e) {
603
+ if (this.lexer.state.linkParenPossible === !1) return;
604
+ let t = this.rules.inline.link.exec(e);
605
+ if (t) {
606
+ let n = t[0].charAt(0) === "!" ? 2 : 1;
607
+ if (!this.options.pedantic && We(e, t[1], n, this.rules)) return;
608
+ let r = t[2].trim();
609
+ if (!this.options.pedantic && this.rules.other.startAngleBracket.test(r)) {
610
+ if (!this.rules.other.endAngleBracket.test(r)) return;
611
+ let e = B(r.slice(0, -1), "\\");
612
+ if ((r.length - e.length) % 2 == 0) return;
613
+ } else {
614
+ let e = U(t[2], "()");
615
+ if (e === -2) return;
616
+ if (e > -1) {
617
+ let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
618
+ t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
619
+ }
620
+ }
621
+ let i = t[2], a = "";
622
+ if (this.options.pedantic) {
623
+ let e = this.rules.other.pedanticHrefTitle.exec(i);
624
+ e && (i = e[1], a = e[3]);
625
+ } else a = t[3] ? t[3].slice(1, -1) : "";
626
+ return i = i.trim(), this.rules.other.startAngleBracket.test(i) && (i = this.options.pedantic && !this.rules.other.endAngleBracket.test(r) ? i.slice(1) : i.slice(1, -1)), G(t, {
627
+ href: i && i.replace(this.rules.inline.anyPunctuation, "$1"),
628
+ title: a && a.replace(this.rules.inline.anyPunctuation, "$1")
629
+ }, t[0], this.lexer, this.rules);
630
+ }
631
+ }
632
+ reflink(e, t) {
633
+ let n;
634
+ if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
635
+ let r = n[0].charAt(0) === "!" ? 2 : 1;
636
+ if (!this.options.pedantic && We(e, n[1], r, this.rules)) return;
637
+ let i = t[H((n[2] || n[1]).replace(this.rules.other.multipleSpaceGlobal, " "))];
638
+ if (!i) {
639
+ let e = n[0].charAt(0);
640
+ return {
641
+ type: "text",
642
+ raw: e,
643
+ text: e
644
+ };
645
+ }
646
+ return G(n, i, n[0], this.lexer, this.rules);
647
+ }
648
+ }
649
+ emStrong(e, t, n = "") {
650
+ let r = this.rules.inline.emStrongLDelim.exec(e);
651
+ if (!(!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[3]) || !n || this.rules.inline.punctuation.exec(n))) {
652
+ let i = [...r[0]].length - 1, a, o, s = i, c = 0, l = r[0][0], u = n === l, d = l === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
653
+ for (d.lastIndex = 0, t = t.slice(-1 * e.length + i); (r = d.exec(t)) !== null;) {
654
+ if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a) continue;
655
+ if (o = [...a].length, r[3] || r[4]) {
656
+ s += o;
657
+ continue;
658
+ }
659
+ if (r[5] || r[6]) {
660
+ if (i % 3 && !((i + o) % 3)) {
661
+ c += o;
662
+ continue;
663
+ }
664
+ if (u) break;
665
+ }
666
+ if (s -= o, s > 0) continue;
667
+ o = Math.min(o, o + s + c);
668
+ let t = [...r[0]][0].length, n = e.slice(0, i + r.index + t + o);
669
+ if (Math.min(i, o) % 2) {
670
+ let e = n.slice(1, -1);
671
+ return {
672
+ type: "em",
673
+ raw: n,
674
+ text: e,
675
+ tokens: this.lexer.inlineTokens(e)
676
+ };
677
+ }
678
+ let l = n.slice(2, -2);
679
+ return {
680
+ type: "strong",
681
+ raw: n,
682
+ text: l,
683
+ tokens: this.lexer.inlineTokens(l)
684
+ };
685
+ }
686
+ }
687
+ }
688
+ codespan(e) {
689
+ let t = this.rules.inline.code.exec(e);
690
+ if (t) {
691
+ let e = t[2].replace(this.rules.other.newLineCharGlobal, " "), n = this.rules.other.nonSpaceChar.test(e), r = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
692
+ return n && r && (e = e.substring(1, e.length - 1)), {
693
+ type: "codespan",
694
+ raw: t[0],
695
+ text: e
696
+ };
697
+ }
698
+ }
699
+ br(e) {
700
+ let t = this.rules.inline.br.exec(e);
701
+ if (t) return {
702
+ type: "br",
703
+ raw: t[0]
704
+ };
705
+ }
706
+ del(e, t, n = "") {
707
+ let r = this.rules.inline.delLDelim.exec(e);
708
+ if (r && (!r[1] || !n || this.rules.inline.punctuation.exec(n))) {
709
+ let n = [...r[0]].length - 1, i, a, o = n, s = this.rules.inline.delRDelim;
710
+ for (s.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = s.exec(t)) !== null;) {
711
+ if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i || (a = [...i].length, a !== n)) continue;
712
+ if (r[3] || r[4]) {
713
+ o += a;
714
+ continue;
715
+ }
716
+ if (o -= a, o > 0) continue;
717
+ a = Math.min(a, a + o);
718
+ let t = [...r[0]][0].length, s = e.slice(0, n + r.index + t + a), c = s.slice(n, -n);
719
+ return {
720
+ type: "del",
721
+ raw: s,
722
+ text: c,
723
+ tokens: this.lexer.inlineTokens(c)
724
+ };
725
+ }
726
+ }
727
+ }
728
+ autolink(e) {
729
+ let t = this.rules.inline.autolink.exec(e);
730
+ if (t) {
731
+ let e, n;
732
+ return t[2] === "@" ? (e = t[1], n = "mailto:" + e) : (e = t[1], n = e), {
733
+ type: "link",
734
+ raw: t[0],
735
+ text: e,
736
+ href: n,
737
+ autolink: !0,
738
+ tokens: [{
739
+ type: "text",
740
+ raw: e,
741
+ text: e
742
+ }]
743
+ };
744
+ }
745
+ }
746
+ url(e) {
747
+ let t;
748
+ if (t = this.rules.inline.url.exec(e)) {
749
+ let e, n;
750
+ if (t[2] === "@") e = t[0], n = "mailto:" + e;
751
+ else {
752
+ let r;
753
+ do
754
+ r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
755
+ while (r !== t[0]);
756
+ e = t[0], n = t[1] === "www." ? "http://" + t[0] : t[0];
757
+ }
758
+ return {
759
+ type: "link",
760
+ raw: t[0],
761
+ text: e,
762
+ href: n,
763
+ autolink: !0,
764
+ tokens: [{
765
+ type: "text",
766
+ raw: e,
767
+ text: e
768
+ }]
769
+ };
770
+ }
771
+ }
772
+ inlineText(e) {
773
+ let t = this.rules.inline.text.exec(e);
774
+ if (t) {
775
+ let e = this.lexer.state.inRawBlock;
776
+ return {
777
+ type: "text",
778
+ raw: t[0],
779
+ text: e ? t[0] : He(t[0]),
780
+ escaped: e
781
+ };
782
+ }
783
+ }
784
+ }, q = class e {
785
+ tokens;
786
+ options;
787
+ state;
788
+ inlineQueue;
789
+ tokenizer;
790
+ constructor(e) {
791
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || t, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
792
+ inLink: !1,
793
+ inRawBlock: !1,
794
+ linkEmitted: !1,
795
+ linkParenPossible: !0,
796
+ top: !0
797
+ };
798
+ let n = {
799
+ other: s,
800
+ block: P.normal,
801
+ inline: F.normal
802
+ };
803
+ this.options.pedantic ? (n.block = P.pedantic, n.inline = F.pedantic) : this.options.gfm && (n.block = P.gfm, n.inline = this.options.breaks ? F.breaks : F.gfm), this.tokenizer.rules = n;
804
+ }
805
+ static get rules() {
806
+ return {
807
+ block: P,
808
+ inline: F
809
+ };
810
+ }
811
+ static lex(t, n) {
812
+ return new e(n).lex(t);
813
+ }
814
+ static lexInline(t, n) {
815
+ return new e(n).inlineTokens(t);
816
+ }
817
+ lex(e) {
818
+ e = e.replace(s.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
819
+ for (let e = 0; e < this.inlineQueue.length; e++) {
820
+ let t = this.inlineQueue[e];
821
+ this.inlineTokens(t.src, t.tokens);
822
+ }
823
+ return this.inlineQueue = [], this.tokens;
824
+ }
825
+ blockTokens(e, t = [], n = !1) {
826
+ this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(s.tabCharGlobal, " ").replace(s.spaceLine, ""));
827
+ let r = 1 / 0;
828
+ for (; e;) {
829
+ if (e.length < r) r = e.length;
830
+ else {
831
+ this.infiniteLoopError(e.charCodeAt(0));
832
+ break;
833
+ }
834
+ let i;
835
+ if (this.options.extensions?.block?.some((n) => (i = n.call({ lexer: this }, e, t)) ? (e = e.substring(i.raw.length), t.push(i), !0) : !1)) continue;
836
+ if (i = this.tokenizer.space(e)) {
837
+ e = e.substring(i.raw.length);
838
+ let n = t.at(-1);
839
+ i.raw.length === 1 && n !== void 0 ? n.raw += "\n" : t.push(i);
840
+ continue;
841
+ }
842
+ if (i = this.tokenizer.code(e)) {
843
+ e = e.substring(i.raw.length);
844
+ let n = t.at(-1);
845
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.text, this.inlineQueue.at(-1).src = n.text) : t.push(i);
846
+ continue;
847
+ }
848
+ if ((i = this.tokenizer.fences(e)) || (i = this.tokenizer.heading(e)) || (i = this.tokenizer.hr(e)) || (i = this.tokenizer.blockquote(e)) || (i = this.tokenizer.list(e)) || (i = this.tokenizer.html(e))) {
849
+ e = e.substring(i.raw.length), t.push(i);
850
+ continue;
851
+ }
852
+ if (i = this.tokenizer.def(e)) {
853
+ e = e.substring(i.raw.length);
854
+ let n = t.at(-1);
855
+ n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.raw, this.inlineQueue.at(-1).src = n.text) : this.tokens.links[i.tag] || (this.tokens.links[i.tag] = {
856
+ href: i.href,
857
+ title: i.title
858
+ }, t.push(i));
859
+ continue;
860
+ }
861
+ if ((i = this.tokenizer.table(e)) || (i = this.tokenizer.lheading(e))) {
862
+ e = e.substring(i.raw.length), t.push(i);
863
+ continue;
864
+ }
865
+ let a = e;
866
+ if (this.options.extensions?.startBlock) {
867
+ let t = 1 / 0, n = e.slice(1), r;
868
+ this.options.extensions.startBlock.forEach((e) => {
869
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
870
+ }), t < 1 / 0 && t >= 0 && (a = e.substring(0, t + 1));
871
+ }
872
+ if (this.state.top && (i = this.tokenizer.paragraph(a))) {
873
+ let r = t.at(-1);
874
+ n && r?.type === "paragraph" ? (r.raw += (r.raw.endsWith("\n") ? "" : "\n") + i.raw, r.text += "\n" + i.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = r.text) : t.push(i), n = a.length !== e.length, e = e.substring(i.raw.length);
875
+ } else if (i = this.tokenizer.text(e)) {
876
+ e = e.substring(i.raw.length);
877
+ let n = t.at(-1);
878
+ n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + i.raw, n.text += "\n" + i.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(i);
879
+ } else if (e) {
880
+ this.infiniteLoopError(e.charCodeAt(0));
881
+ break;
882
+ }
883
+ }
884
+ return this.state.top = !0, t;
885
+ }
886
+ inline(e, t = []) {
887
+ return this.inlineQueue.push({
888
+ src: e,
889
+ tokens: t
890
+ }), t;
891
+ }
892
+ linkInText(e) {
893
+ if (!e.includes("[")) return !1;
894
+ let t = this.tokenizer.rules.inline.link;
895
+ for (let n of e.matchAll(this.tokenizer.rules.inline.blockSkip)) if (t.test(n[0]) && e.charAt(n.index - 1) !== "!") return !0;
896
+ for (let t of e.matchAll(this.tokenizer.rules.inline.reflinkSearch)) {
897
+ let e = t[0], n = e.lastIndexOf("[");
898
+ if (e.charAt(0) !== "!" && Object.hasOwn(this.tokens.links, H(e.slice(n + 1, -1))) && !(n > 1 && this.linkInText(e.slice(1, n - 1)))) return !0;
899
+ }
900
+ return !1;
901
+ }
902
+ inlineTokens(e, t = []) {
903
+ this.tokenizer.lexer = this;
904
+ let n = this.state.linkParenPossible;
905
+ this.state.linkParenPossible = n && e.includes(")");
906
+ try {
907
+ return this.#e(e, t);
908
+ } finally {
909
+ this.state.linkParenPossible = n;
910
+ }
911
+ }
912
+ #e(e, t) {
913
+ let n = e;
914
+ if (this.tokens.links && e.includes("[")) {
915
+ let e = this.tokenizer.rules.inline.reflinkSearch, t = (n) => {
916
+ let r = n.lastIndexOf("[");
917
+ if (!Object.hasOwn(this.tokens.links, H(n.slice(r + 1, -1)))) return n;
918
+ if (r > 1 && n.charAt(0) !== "!") {
919
+ let i = n.slice(1, r - 1);
920
+ if (this.linkInText(i)) return "[" + i.replace(e, t) + "][" + "a".repeat(n.length - r - 2) + "]";
921
+ }
922
+ return "[" + "a".repeat(n.length - 2) + "]";
923
+ };
924
+ n = n.replace(e, t);
925
+ }
926
+ n = n.replace(this.tokenizer.rules.inline.anyPunctuation, (e) => "+".repeat(e.length)), n = n.replace(this.tokenizer.rules.inline.blockSkip, (e, t, n) => {
927
+ let r = n ? n.length : 0;
928
+ return e.slice(0, r) + "[" + "a".repeat(e.length - r - 2) + "]";
929
+ }), n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
930
+ let r = !1, i = "", a = 1 / 0;
931
+ for (; e;) {
932
+ if (e.length < a) a = e.length;
933
+ else {
934
+ this.infiniteLoopError(e.charCodeAt(0));
935
+ break;
936
+ }
937
+ r || (i = ""), r = !1;
938
+ let o;
939
+ if (this.options.extensions?.inline?.some((n) => (o = n.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), !0) : !1)) continue;
940
+ if ((o = this.tokenizer.escape(e)) || (o = this.tokenizer.tag(e)) || (o = this.tokenizer.link(e))) {
941
+ e = e.substring(o.raw.length), t.push(o);
942
+ continue;
943
+ }
944
+ if (o = this.tokenizer.reflink(e, this.tokens.links)) {
945
+ e = e.substring(o.raw.length);
946
+ let n = t.at(-1);
947
+ o.type === "text" && n?.type === "text" ? (n.raw += o.raw, n.text += o.text) : t.push(o);
948
+ continue;
949
+ }
950
+ if ((o = this.tokenizer.emStrong(e, n, i)) || (o = this.tokenizer.codespan(e)) || (o = this.tokenizer.br(e)) || (o = this.tokenizer.del(e, n, i)) || (o = this.tokenizer.autolink(e)) || !this.state.inLink && (o = this.tokenizer.url(e))) {
951
+ e = e.substring(o.raw.length), t.push(o);
952
+ continue;
953
+ }
954
+ let s = e;
955
+ if (this.options.extensions?.startInline) {
956
+ let t = 1 / 0, n = e.slice(1), r;
957
+ this.options.extensions.startInline.forEach((e) => {
958
+ r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
959
+ }), t < 1 / 0 && t >= 0 && (s = e.substring(0, t + 1));
960
+ }
961
+ if (o = this.tokenizer.inlineText(s)) {
962
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (i = o.raw.slice(-1)), r = !0;
963
+ let n = t.at(-1);
964
+ n?.type === "text" ? (n.raw += o.raw, n.text += o.text) : t.push(o);
965
+ } else if (e) {
966
+ this.infiniteLoopError(e.charCodeAt(0));
967
+ break;
968
+ }
969
+ }
970
+ return t;
971
+ }
972
+ infiniteLoopError(e) {
973
+ let t = "Infinite loop on byte: " + e;
974
+ if (this.options.silent) console.error(t);
975
+ else throw Error(t);
976
+ }
977
+ }, J = class {
978
+ options;
979
+ parser;
980
+ constructor(e) {
981
+ this.options = e || t;
982
+ }
983
+ space(e) {
984
+ return "";
985
+ }
986
+ code({ text: e, lang: t, escaped: n }) {
987
+ let r = (t || "").match(s.notSpaceStart)?.[0], i = e ? e.replace(s.endingNewline, "") + "\n" : "";
988
+ return r ? "<pre><code class=\"language-" + L(r) + "\">" + (n ? i : L(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : L(i, !0)) + "</code></pre>\n";
989
+ }
990
+ blockquote({ tokens: e }) {
991
+ return `<blockquote>
992
+ ${this.parser.parse(e)}</blockquote>
993
+ `;
994
+ }
995
+ html({ text: e }) {
996
+ return e;
997
+ }
998
+ def(e) {
999
+ return "";
1000
+ }
1001
+ heading({ tokens: e, depth: t }) {
1002
+ return `<h${t}>${this.parser.parseInline(e)}</h${t}>
1003
+ `;
1004
+ }
1005
+ hr(e) {
1006
+ return "<hr>\n";
1007
+ }
1008
+ list(e) {
1009
+ let t = e.ordered, n = e.start, r = "";
1010
+ for (let t = 0; t < e.items.length; t++) {
1011
+ let n = e.items[t];
1012
+ r += this.listitem(n);
1013
+ }
1014
+ let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
1015
+ return "<" + i + a + ">\n" + r + "</" + i + ">\n";
1016
+ }
1017
+ listitem(e) {
1018
+ return `<li>${this.parser.parse(e.tokens)}</li>
1019
+ `;
1020
+ }
1021
+ checkbox({ checked: e }) {
1022
+ return "<input " + (e ? "checked=\"\" " : "") + "disabled=\"\" type=\"checkbox\"> ";
1023
+ }
1024
+ paragraph({ tokens: e }) {
1025
+ return `<p>${this.parser.parseInline(e)}</p>
1026
+ `;
1027
+ }
1028
+ table(e) {
1029
+ let t = "", n = "";
1030
+ for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
1031
+ t += this.tablerow({ text: n });
1032
+ let r = "";
1033
+ for (let t = 0; t < e.rows.length; t++) {
1034
+ let i = e.rows[t];
1035
+ n = "";
1036
+ for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
1037
+ r += this.tablerow({ text: n });
1038
+ }
1039
+ return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
1040
+ }
1041
+ tablerow({ text: e }) {
1042
+ return `<tr>
1043
+ ${e}</tr>
1044
+ `;
1045
+ }
1046
+ tablecell(e) {
1047
+ let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
1048
+ return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>
1049
+ `;
1050
+ }
1051
+ strong({ tokens: e }) {
1052
+ return `<strong>${this.parser.parseInline(e)}</strong>`;
1053
+ }
1054
+ em({ tokens: e }) {
1055
+ return `<em>${this.parser.parseInline(e)}</em>`;
1056
+ }
1057
+ codespan({ text: e }) {
1058
+ return `<code>${L(e, !0)}</code>`;
1059
+ }
1060
+ br(e) {
1061
+ return "<br>";
1062
+ }
1063
+ del({ tokens: e }) {
1064
+ return `<del>${this.parser.parseInline(e)}</del>`;
1065
+ }
1066
+ link({ href: e, title: t, text: n, tokens: r, autolink: i }) {
1067
+ let a = i ? L(n, !0) : this.parser.parseInline(r), o = R(e);
1068
+ if (o === null) return a;
1069
+ e = L(o, i);
1070
+ let s = "<a href=\"" + e + "\"";
1071
+ return t && (s += " title=\"" + L(t) + "\""), s += ">" + a + "</a>", s;
1072
+ }
1073
+ image({ href: e, title: t, text: n, tokens: r }) {
1074
+ r && (n = this.parser.parseInline(r, this.parser.textRenderer));
1075
+ let i = R(e);
1076
+ if (i === null) return L(n);
1077
+ e = i;
1078
+ let a = `<img src="${L(e)}" alt="${L(n)}"`;
1079
+ return t && (a += ` title="${L(t)}"`), a += ">", a;
1080
+ }
1081
+ text(e) {
1082
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : L(e.text);
1083
+ }
1084
+ }, Y = class {
1085
+ strong({ text: e }) {
1086
+ return e;
1087
+ }
1088
+ em({ text: e }) {
1089
+ return e;
1090
+ }
1091
+ codespan({ text: e }) {
1092
+ return e;
1093
+ }
1094
+ del({ text: e }) {
1095
+ return e;
1096
+ }
1097
+ html({ text: e }) {
1098
+ return e;
1099
+ }
1100
+ text({ text: e }) {
1101
+ return e;
1102
+ }
1103
+ link({ text: e }) {
1104
+ return "" + e;
1105
+ }
1106
+ image({ text: e }) {
1107
+ return "" + e;
1108
+ }
1109
+ br() {
1110
+ return "";
1111
+ }
1112
+ checkbox({ raw: e }) {
1113
+ return e;
1114
+ }
1115
+ }, X = class e {
1116
+ options;
1117
+ renderer;
1118
+ textRenderer;
1119
+ constructor(e) {
1120
+ this.options = e || t, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Y();
1121
+ }
1122
+ static parse(t, n) {
1123
+ return new e(n).parse(t);
1124
+ }
1125
+ static parseInline(t, n) {
1126
+ return new e(n).parseInline(t);
1127
+ }
1128
+ parse(e) {
1129
+ this.renderer.parser = this;
1130
+ let t = "";
1131
+ for (let n = 0; n < e.length; n++) {
1132
+ let r = e[n];
1133
+ if (this.options.extensions?.renderers?.[r.type]) {
1134
+ let e = r, n = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1135
+ if (n !== !1 || ![
1136
+ "space",
1137
+ "hr",
1138
+ "heading",
1139
+ "code",
1140
+ "table",
1141
+ "blockquote",
1142
+ "list",
1143
+ "checkbox",
1144
+ "html",
1145
+ "def",
1146
+ "paragraph",
1147
+ "text"
1148
+ ].includes(e.type)) {
1149
+ t += n || "";
1150
+ continue;
1151
+ }
1152
+ }
1153
+ let i = r;
1154
+ switch (i.type) {
1155
+ case "space":
1156
+ t += this.renderer.space(i);
1157
+ break;
1158
+ case "hr":
1159
+ t += this.renderer.hr(i);
1160
+ break;
1161
+ case "heading":
1162
+ t += this.renderer.heading(i);
1163
+ break;
1164
+ case "code":
1165
+ t += this.renderer.code(i);
1166
+ break;
1167
+ case "table":
1168
+ t += this.renderer.table(i);
1169
+ break;
1170
+ case "blockquote":
1171
+ t += this.renderer.blockquote(i);
1172
+ break;
1173
+ case "list":
1174
+ t += this.renderer.list(i);
1175
+ break;
1176
+ case "checkbox":
1177
+ t += this.renderer.checkbox(i);
1178
+ break;
1179
+ case "html":
1180
+ t += this.renderer.html(i);
1181
+ break;
1182
+ case "def":
1183
+ t += this.renderer.def(i);
1184
+ break;
1185
+ case "paragraph":
1186
+ t += this.renderer.paragraph(i);
1187
+ break;
1188
+ case "text":
1189
+ t += this.renderer.text(i);
1190
+ break;
1191
+ default: {
1192
+ let e = "Token with \"" + i.type + "\" type was not found.";
1193
+ if (this.options.silent) return console.error(e), "";
1194
+ throw Error(e);
1195
+ }
1196
+ }
1197
+ }
1198
+ return t;
1199
+ }
1200
+ parseInline(e, t = this.renderer) {
1201
+ this.renderer.parser = this;
1202
+ let n = "";
1203
+ for (let r = 0; r < e.length; r++) {
1204
+ let i = e[r];
1205
+ if (this.options.extensions?.renderers?.[i.type]) {
1206
+ let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
1207
+ if (e !== !1 || ![
1208
+ "escape",
1209
+ "html",
1210
+ "link",
1211
+ "image",
1212
+ "checkbox",
1213
+ "strong",
1214
+ "em",
1215
+ "codespan",
1216
+ "br",
1217
+ "del",
1218
+ "text"
1219
+ ].includes(i.type)) {
1220
+ n += e || "";
1221
+ continue;
1222
+ }
1223
+ }
1224
+ let a = i;
1225
+ switch (a.type) {
1226
+ case "escape":
1227
+ n += t.text(a);
1228
+ break;
1229
+ case "html":
1230
+ n += t.html(a);
1231
+ break;
1232
+ case "link":
1233
+ n += t.link(a);
1234
+ break;
1235
+ case "image":
1236
+ n += t.image(a);
1237
+ break;
1238
+ case "checkbox":
1239
+ n += t.checkbox(a);
1240
+ break;
1241
+ case "strong":
1242
+ n += t.strong(a);
1243
+ break;
1244
+ case "em":
1245
+ n += t.em(a);
1246
+ break;
1247
+ case "codespan":
1248
+ n += t.codespan(a);
1249
+ break;
1250
+ case "br":
1251
+ n += t.br(a);
1252
+ break;
1253
+ case "del":
1254
+ n += t.del(a);
1255
+ break;
1256
+ case "text":
1257
+ n += t.text(a);
1258
+ break;
1259
+ default: {
1260
+ let e = "Token with \"" + a.type + "\" type was not found.";
1261
+ if (this.options.silent) return console.error(e), "";
1262
+ throw Error(e);
1263
+ }
1264
+ }
1265
+ }
1266
+ return n;
1267
+ }
1268
+ }, Z = class {
1269
+ options;
1270
+ block;
1271
+ constructor(e) {
1272
+ this.options = e || t;
1273
+ }
1274
+ static passThroughHooks = /* @__PURE__ */ new Set([
1275
+ "preprocess",
1276
+ "postprocess",
1277
+ "processAllTokens",
1278
+ "emStrongMask"
1279
+ ]);
1280
+ static passThroughHooksRespectAsync = /* @__PURE__ */ new Set([
1281
+ "preprocess",
1282
+ "postprocess",
1283
+ "processAllTokens"
1284
+ ]);
1285
+ preprocess(e) {
1286
+ return e;
1287
+ }
1288
+ postprocess(e) {
1289
+ return e;
1290
+ }
1291
+ processAllTokens(e) {
1292
+ return e;
1293
+ }
1294
+ emStrongMask(e) {
1295
+ return e;
1296
+ }
1297
+ provideLexer(e = this.block) {
1298
+ return e ? q.lex : q.lexInline;
1299
+ }
1300
+ provideParser(e = this.block) {
1301
+ return e ? X.parse : X.parseInline;
1302
+ }
1303
+ }, Ge = class {
1304
+ defaults = e();
1305
+ options = this.setOptions;
1306
+ parse = this.parseMarkdown(!0);
1307
+ parseInline = this.parseMarkdown(!1);
1308
+ Parser = X;
1309
+ Renderer = J;
1310
+ TextRenderer = Y;
1311
+ Lexer = q;
1312
+ Tokenizer = K;
1313
+ Hooks = Z;
1314
+ constructor(...e) {
1315
+ this.use(...e);
1316
+ }
1317
+ walkTokens(e, t) {
1318
+ let n = [];
1319
+ for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
1320
+ case "table": {
1321
+ let e = r;
1322
+ for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
1323
+ for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
1324
+ break;
1325
+ }
1326
+ case "list": {
1327
+ let e = r;
1328
+ n = n.concat(this.walkTokens(e.items, t));
1329
+ break;
1330
+ }
1331
+ default: {
1332
+ let e = r;
1333
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1334
+ let i = e[r].flat(1 / 0);
1335
+ n = n.concat(this.walkTokens(i, t));
1336
+ }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1337
+ }
1338
+ }
1339
+ return n;
1340
+ }
1341
+ use(...e) {
1342
+ let t = this.defaults.extensions || {
1343
+ renderers: {},
1344
+ childTokens: {}
1345
+ };
1346
+ return e.forEach((e) => {
1347
+ let n = { ...e };
1348
+ if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
1349
+ if (!e.name) throw Error("extension name required");
1350
+ if ("renderer" in e) {
1351
+ let n = t.renderers[e.name];
1352
+ n ? t.renderers[e.name] = function(...t) {
1353
+ let r = e.renderer.apply(this, t);
1354
+ return r === !1 && (r = n.apply(this, t)), r;
1355
+ } : t.renderers[e.name] = e.renderer;
1356
+ }
1357
+ if ("tokenizer" in e) {
1358
+ if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1359
+ let n = t[e.level];
1360
+ n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
1361
+ }
1362
+ "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1363
+ }), n.extensions = t), e.renderer) {
1364
+ let t = this.defaults.renderer || new J(this.defaults);
1365
+ for (let n in e.renderer) {
1366
+ if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1367
+ if (["options", "parser"].includes(n)) continue;
1368
+ let r = n, i = e.renderer[r], a = t[r];
1369
+ t[r] = (...e) => {
1370
+ let n = i.apply(t, e);
1371
+ return n === !1 && (n = a.apply(t, e)), n || "";
1372
+ };
1373
+ }
1374
+ n.renderer = t;
1375
+ }
1376
+ if (e.tokenizer) {
1377
+ let t = this.defaults.tokenizer || new K(this.defaults);
1378
+ for (let n in e.tokenizer) {
1379
+ if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1380
+ if ([
1381
+ "options",
1382
+ "rules",
1383
+ "lexer"
1384
+ ].includes(n)) continue;
1385
+ let r = n, i = e.tokenizer[r], a = t[r];
1386
+ t[r] = (...e) => {
1387
+ let n = i.apply(t, e);
1388
+ return n === !1 && (n = a.apply(t, e)), n;
1389
+ };
1390
+ }
1391
+ n.tokenizer = t;
1392
+ }
1393
+ if (e.hooks) {
1394
+ let t = this.defaults.hooks || new Z();
1395
+ for (let n in e.hooks) {
1396
+ if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1397
+ if (["options", "block"].includes(n)) continue;
1398
+ let r = n, i = e.hooks[r], a = t[r];
1399
+ t[r] = Z.passThroughHooks.has(n) ? (e) => {
1400
+ if (this.defaults.async && Z.passThroughHooksRespectAsync.has(n)) return (async () => {
1401
+ let n = await i.call(t, e);
1402
+ return a.call(t, n);
1403
+ })();
1404
+ let r = i.call(t, e);
1405
+ return a.call(t, r);
1406
+ } : (...e) => {
1407
+ if (this.defaults.async) return (async () => {
1408
+ let n = await i.apply(t, e);
1409
+ return n === !1 && (n = await a.apply(t, e)), n;
1410
+ })();
1411
+ let n = i.apply(t, e);
1412
+ return n === !1 && (n = a.apply(t, e)), n;
1413
+ };
1414
+ }
1415
+ n.hooks = t;
1416
+ }
1417
+ if (e.walkTokens) {
1418
+ let t = this.defaults.walkTokens, r = e.walkTokens;
1419
+ n.walkTokens = function(e) {
1420
+ let n = [];
1421
+ return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
1422
+ };
1423
+ }
1424
+ this.defaults = {
1425
+ ...this.defaults,
1426
+ ...n
1427
+ };
1428
+ }), this;
1429
+ }
1430
+ setOptions(e) {
1431
+ return this.defaults = {
1432
+ ...this.defaults,
1433
+ ...e
1434
+ }, this;
1435
+ }
1436
+ lexer(e, t) {
1437
+ return q.lex(e, t ?? this.defaults);
1438
+ }
1439
+ parser(e, t) {
1440
+ return X.parse(e, t ?? this.defaults);
1441
+ }
1442
+ parseMarkdown(e) {
1443
+ return (t, n) => {
1444
+ let r = { ...n }, i = {
1445
+ ...this.defaults,
1446
+ ...r
1447
+ }, a = this.onError(!!i.silent, !!i.async);
1448
+ if (this.defaults.async === !0 && r.async === !1) return a(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
1449
+ if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1450
+ if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
1451
+ if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
1452
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1453
+ i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
1454
+ let o = await (i.hooks ? await i.hooks.provideParser(e) : e ? X.parse : X.parseInline)(a, i);
1455
+ return i.hooks ? await i.hooks.postprocess(o) : o;
1456
+ })().catch(a);
1457
+ try {
1458
+ i.hooks && (t = i.hooks.preprocess(t));
1459
+ let n = (i.hooks ? i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(t, i);
1460
+ i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
1461
+ let r = (i.hooks ? i.hooks.provideParser(e) : e ? X.parse : X.parseInline)(n, i);
1462
+ return i.hooks && (r = i.hooks.postprocess(r)), r;
1463
+ } catch (e) {
1464
+ return a(e);
1465
+ }
1466
+ };
1467
+ }
1468
+ onError(e, t) {
1469
+ return (n) => {
1470
+ if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1471
+ let e = "<p>An error occurred:</p><pre>" + L(n.message + "", !0) + "</pre>";
1472
+ return t ? Promise.resolve(e) : e;
1473
+ }
1474
+ if (t) return Promise.reject(n);
1475
+ throw n;
1476
+ };
1477
+ }
1478
+ }, Q = new Ge();
1479
+ function $(e, t) {
1480
+ return Q.parse(e, t);
1481
+ }
1482
+ $.options = $.setOptions = function(e) {
1483
+ return Q.setOptions(e), $.defaults = Q.defaults, n($.defaults), $;
1484
+ }, $.getDefaults = e, $.defaults = t;
1485
+ function Ke(...e) {
1486
+ return Q.use(...e), $.defaults = Q.defaults, n($.defaults), $;
1487
+ }
1488
+ $.use = Ke, $.walkTokens = function(e, t) {
1489
+ return Q.walkTokens(e, t);
1490
+ }, $.parseInline = Q.parseInline, $.Parser = X, $.parser = X.parse, $.Renderer = J, $.TextRenderer = Y, $.Lexer = q, $.lexer = q.lex, $.Tokenizer = K, $.Hooks = Z, $.parse = $, $.options, $.setOptions, $.walkTokens, $.parseInline, X.parse, q.lex;
1491
+ //#endregion
1492
+ export { Ge as Marked };
1493
+
1494
+ //# sourceMappingURL=marked.esm-BrPimSW6.js.map