nuxt-ignis 0.4.0 → 0.5.0-rc.2

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 (1755) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +1 -1
  3. package/.nuxt/app.config.mjs +8 -3
  4. package/.nuxt/components.d.ts +287 -749
  5. package/.nuxt/content/components.ts +118 -116
  6. package/.nuxt/dev/index.mjs +1074 -355
  7. package/.nuxt/dev/index.mjs.map +1 -1
  8. package/.nuxt/dist/server/client.manifest.json +2 -2
  9. package/.nuxt/dist/server/client.manifest.mjs +2 -2
  10. package/.nuxt/eslint-typegen.d.ts +144 -21
  11. package/.nuxt/eslint.config.d.mts +3 -3
  12. package/.nuxt/eslint.config.mjs +11 -11
  13. package/.nuxt/i18n-route-resources.mjs +3 -0
  14. package/.nuxt/imports.d.ts +79 -86
  15. package/.nuxt/manifest/latest.json +1 -1
  16. package/.nuxt/manifest/meta/dev.json +1 -1
  17. package/.nuxt/mdc-highlighter.mjs +1 -1
  18. package/.nuxt/mdc-image-component.mjs +1 -1
  19. package/.nuxt/mdc-imports.mjs +1 -1
  20. package/.nuxt/module/nuxt-robots.d.ts +12 -12
  21. package/.nuxt/module/nuxt-seo-utils.assets.d.ts +1 -1
  22. package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
  23. package/.nuxt/module/nuxt-site-config.d.ts +11 -8
  24. package/.nuxt/module/nuxt-sitemap.d.ts +48 -0
  25. package/.nuxt/nitro.json +5 -5
  26. package/.nuxt/nuxt.d.ts +18 -19
  27. package/.nuxt/nuxt.json +2 -2
  28. package/.nuxt/nuxt.node.d.ts +30 -0
  29. package/.nuxt/nuxt.shared.d.ts +5 -0
  30. package/.nuxt/tsconfig.app.json +483 -0
  31. package/.nuxt/tsconfig.json +310 -301
  32. package/.nuxt/tsconfig.node.json +235 -0
  33. package/.nuxt/tsconfig.server.json +198 -167
  34. package/.nuxt/tsconfig.shared.json +283 -0
  35. package/.nuxt/types/app.config.d.ts +8 -2
  36. package/.nuxt/types/build.d.ts +3 -2
  37. package/.nuxt/types/components.d.ts +309 -0
  38. package/.nuxt/types/i18n-plugin.d.ts +25 -6
  39. package/.nuxt/types/imports.d.ts +710 -714
  40. package/.nuxt/types/modules.d.ts +599 -0
  41. package/.nuxt/types/neon.d.ts +11 -8
  42. package/.nuxt/types/nitro-imports.d.ts +394 -355
  43. package/.nuxt/types/nitro-middleware.d.ts +5 -0
  44. package/.nuxt/types/nitro-nuxt.d.ts +30 -2
  45. package/.nuxt/types/nitro-routes.d.ts +28 -25
  46. package/.nuxt/types/plugins.d.ts +42 -39
  47. package/.nuxt/types/runtime-config.d.ts +1018 -0
  48. package/.nuxt/types/ui.d.ts +3 -3
  49. package/.nuxt/ui/button.ts +42 -42
  50. package/.nuxt/ui/command-palette.ts +2 -1
  51. package/.nuxt/ui/drawer.ts +1 -1
  52. package/.nuxt/ui/file-upload.ts +290 -0
  53. package/.nuxt/ui/index.ts +1 -0
  54. package/.nuxt/ui/input.ts +1 -1
  55. package/.nuxt/ui/kbd.ts +167 -3
  56. package/.nuxt/ui/select.ts +7 -7
  57. package/.nuxt/ui/table.ts +8 -0
  58. package/.nuxt/ui/tabs.ts +4 -2
  59. package/.nuxt/ui/textarea.ts +1 -1
  60. package/.nuxt/ui/toast.ts +8 -15
  61. package/.nuxt/ui/tooltip.ts +1 -1
  62. package/.nuxt/ui-image-component.ts +1 -1
  63. package/.output/nitro.json +15 -0
  64. package/.output/public/__nuxt_content/content/sql_dump.txt +1 -0
  65. package/.output/public/_fonts/31PZhXd_YTCmsoiPQZc-xVtAWAkLogRFRj5mWplmKFE-6WsTw05QKugcwLySGc_b9CIheG8j8LRyo47qPL430Mk.woff2 +0 -0
  66. package/.output/public/_fonts/9FWLUGCSCYLRIRMtCzLrt4Go7DMFXOeN_pyCOJD_44Y-Yh2wNaqrq_e759vVlc3tX81lMwRu9ktkQJX_Svgs-VI.woff2 +0 -0
  67. package/.output/public/_fonts/BQnDL9FFy0Q_jvURlmv87luvmXLSMbSuXsfZv_R2Rkk-y5MVrLtP4J_1al8rz8R-MDaUOMAHckAWCwDrKhw25fY.woff2 +0 -0
  68. package/.output/public/_fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-6h0m1Bf2RaAhaXNIrP4eW5ztakwJFN8JcCXPea_zL8E.woff2 +0 -0
  69. package/.output/public/_fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-8R9ucQ623nsXJTayzizuOYtVntUNPQzR8aWYpk8a8d8.woff2 +0 -0
  70. package/.output/public/_fonts/JSrPAbQHsQEdUrIE5Ts6fIQ2ymsa4i7HhiCpui6ulCc-_AoyGWssOn06OMh3ZY_GddBBPRny4Igxin4fT_1K6F4.woff2 +0 -0
  71. package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
  72. package/.output/public/_fonts/M-60tFLmAJxdPjHsK-2ILWom5zPbu37lb3Qex2waL14-A9y4QcXALPi_RvQsmRsSFUxrT3_J213W4zPFIXetlbw.woff2 +0 -0
  73. package/.output/public/_fonts/T-ozk-QJ_Ck37B2RHPl2i-s_gAGGo7suFgagWoJ8bO4-maDXQ_nEXKAaLHm4Joud3DJR9EVzS7QXWMWK8YOTIcs.woff2 +0 -0
  74. package/.output/public/_fonts/TTYbISAfwy-y4uVGS9AH32sK7b2xJsoCESo64ryf8LU-y87nRMqBGo42rUOW9tWZa06o4oTa0USJrAMMoKDamgs.woff2 +0 -0
  75. package/.output/public/_fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-s6NA3uLuPs0vnwZNhOTJ1g_7NVire0Uvng_2zP6mjNQ.woff2 +0 -0
  76. package/.output/public/_fonts/Y_5DOsLit49q2i2tbcNxnyUen9__GPCX8mwAi03q1aA-pBCjVKDT5tBT3BJckh9uzNkfUWeUIBPz9Y8T55vcj8E.woff2 +0 -0
  77. package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
  78. package/.output/public/_fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-t7L_F0sYO8m44V7ZmFyCOiGNJDIBFFLVfLeLwCIUhsI.woff2 +0 -0
  79. package/.output/public/_fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-4s8awL3_7NCZIzHTaY2tD681prJPuNHGqkbChz7OJeE.woff2 +0 -0
  80. package/.output/public/_fonts/h9PwCjip_BNPVO50hT4v29USWFv6H3ZlYx_IestfqgY-sYfLVuZXl9E1aYbn1S0pAr4zfdQ_WT7iBZhrgQY6N-4.woff2 +0 -0
  81. package/.output/public/_fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-BgCmQXkW3N6talUbQSKexB2sHUT0qGEzmM4uMcnDAbI.woff +0 -0
  82. package/.output/public/_fonts/l00UCz_-QvI_NO8AGcu7ooAcrFDlxYUdxCSCh6gBwd4-vPjTZ3ztgw27A2TnHeCycxPvUtXWEVpG33_97ra6su8.woff2 +0 -0
  83. package/.output/public/_fonts/nuenOq7ZFSZ65QudJO7uQ0sOjDqow2WjfXrQh4S9gEc-uF81rxcswER5srfhzyLfPoGlKNAIt2C_BvkXFOc19rw.woff2 +0 -0
  84. package/.output/public/_fonts/pWMvGwciZ-EfQsfR2ueelhC7Jnt5K-8Px8PjPK0mDII-eT9iD0iZ9WWhTJs6V5GxXr0iaUwx_WxgGGriOiGb81o.woff2 +0 -0
  85. package/.output/public/_fonts/y3mP_zJcojQwJn30TpF_XxDzgeM6Nbk7MaRg1Ne0YcI-lFx13nqMCMgk_S70gRmwEHXlE5BLp1B4W82RpFihpMs.woff2 +0 -0
  86. package/.output/public/_fonts/zr3WxpLd5PmlBr7e4PWGkhZv6XTg70Pi4sCbC-CEV0Q-v2yL98XOiD3FkbiYlYYeAeTSVSkgAckeOp55Q5kHJmU.woff2 +0 -0
  87. package/.output/public/_ignis-config.json +1989 -0
  88. package/.output/public/_nuxt/1soVlS0z.js +1 -0
  89. package/.output/public/_nuxt/B7rsWaa2.js +1 -0
  90. package/.output/public/_nuxt/BFreiu22.js +1 -0
  91. package/.output/public/_nuxt/BLcTglbc.js +1 -0
  92. package/.output/public/_nuxt/Bhd4_yFT.js +1 -0
  93. package/.output/public/_nuxt/Bhpb4lc3.js +1 -0
  94. package/.output/public/_nuxt/Bi2eMDmd.js +1 -0
  95. package/.output/public/_nuxt/Bm30MqE0.js +1 -0
  96. package/.output/public/_nuxt/BqsN2CZp.js +1 -0
  97. package/.output/public/_nuxt/Bs3IGOdt.js +1 -0
  98. package/.output/public/_nuxt/ByaiRTkI.js +1 -0
  99. package/.output/public/_nuxt/C9ePPGPX.js +94 -0
  100. package/.output/public/_nuxt/CA578xwz.js +1 -0
  101. package/.output/public/_nuxt/CDttUXKg.js +1 -0
  102. package/.output/public/_nuxt/CQozUI2A.js +1 -0
  103. package/.output/public/_nuxt/CSN71QT8.js +1 -0
  104. package/.output/public/_nuxt/CqCaqSd2.js +1 -0
  105. package/.output/public/_nuxt/D8v-efI7.js +1 -0
  106. package/.output/public/_nuxt/DBJqMhGy.js +35 -0
  107. package/.output/public/_nuxt/DR4hWRk7.js +1 -0
  108. package/.output/public/_nuxt/DRroQ-Xq.js +1 -0
  109. package/.output/public/_nuxt/DStnBfJS.js +1 -0
  110. package/.output/public/_nuxt/DXTYyv-V.js +1 -0
  111. package/.output/public/_nuxt/DeS1g0YT.js +1 -0
  112. package/.output/public/_nuxt/Deb6R53f.js +1 -0
  113. package/.output/public/_nuxt/DiDHllLr.js +1 -0
  114. package/.output/public/_nuxt/DvwlldUy.js +1 -0
  115. package/.output/public/_nuxt/DyCICqRh.js +1 -0
  116. package/.output/public/_nuxt/DzT4wm3Y.js +1 -0
  117. package/.output/public/_nuxt/E8nje24C.js +1 -0
  118. package/.output/public/_nuxt/ProsePre.D5orA6B_.css +1 -0
  119. package/.output/public/_nuxt/RbPLLy5S.js +1 -0
  120. package/.output/public/_nuxt/aetvq4w9.js +6767 -0
  121. package/.output/public/_nuxt/builds/latest.json +1 -0
  122. package/.output/public/_nuxt/builds/meta/cbc9377a-971e-4db1-b4b1-01807b82ee58.json +1 -0
  123. package/.output/public/_nuxt/entry.whtwWr_z.css +1 -0
  124. package/.output/public/_nuxt/error-404.Cq535Uij.css +1 -0
  125. package/.output/public/_nuxt/error-500.BHm_N15n.css +1 -0
  126. package/.output/public/_nuxt/jpnxxCHq.js +1 -0
  127. package/.output/public/_nuxt/sHsV3x2B.js +1 -0
  128. package/.output/public/_nuxt/sQEqbbg2.js +1 -0
  129. package/.output/public/_nuxt/vueform.ChEauysg.css +1 -0
  130. package/.output/public/favicon.ico +0 -0
  131. package/.output/public/nuxt-ignis.png +0 -0
  132. package/.output/public/nuxt-spec.png +0 -0
  133. package/.output/public/unsplash.jpg +0 -0
  134. package/.output/server/chunks/_/error-500.mjs +10 -0
  135. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  136. package/.output/server/chunks/_/i18n.config.mjs +39 -0
  137. package/.output/server/chunks/_/i18n.config.mjs.map +1 -0
  138. package/.output/server/chunks/_/nitro.mjs +12953 -0
  139. package/.output/server/chunks/_/nitro.mjs.map +1 -0
  140. package/.output/server/chunks/build/client.manifest.mjs +511 -0
  141. package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
  142. package/.output/server/chunks/build/database.compressed.mjs +4 -0
  143. package/.output/server/chunks/build/database.compressed.mjs.map +1 -0
  144. package/.output/server/chunks/raw/headers.mjs +5 -0
  145. package/.output/server/chunks/raw/headers.mjs.map +1 -0
  146. package/.output/server/chunks/routes/api/neonTest.mjs +41 -0
  147. package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -0
  148. package/.output/server/chunks/routes/renderer.mjs +352 -0
  149. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  150. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  151. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  152. package/.output/server/chunks/virtual/child-sources.mjs +4 -0
  153. package/.output/server/chunks/virtual/child-sources.mjs.map +1 -0
  154. package/.output/server/chunks/virtual/global-sources.mjs +48 -0
  155. package/.output/server/chunks/virtual/global-sources.mjs.map +1 -0
  156. package/.output/server/index.mjs +49 -0
  157. package/.output/server/index.mjs.map +1 -0
  158. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/convertor/create.cjs +32 -0
  159. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data-patch.cjs +7 -0
  160. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data.cjs +97 -0
  161. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
  162. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/generate.cjs +135 -0
  163. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/index.cjs +13 -0
  164. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/parse.cjs +588 -0
  165. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/tokenizer.cjs +56 -0
  166. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/walk.cjs +56 -0
  167. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/create.cjs +103 -0
  168. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/sourceMap.cjs +96 -0
  169. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/token-before.cjs +170 -0
  170. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/index.cjs +63 -0
  171. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/Lexer.cjs +459 -0
  172. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/error.cjs +128 -0
  173. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
  174. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-const.cjs +12 -0
  175. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-urange.cjs +149 -0
  176. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic.cjs +573 -0
  177. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match-graph.cjs +459 -0
  178. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match.cjs +632 -0
  179. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/prepare-tokens.cjs +54 -0
  180. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/search.cjs +65 -0
  181. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/structure.cjs +168 -0
  182. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/trace.cjs +73 -0
  183. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/SyntaxError.cjs +69 -0
  184. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/create.cjs +336 -0
  185. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/sequence.cjs +47 -0
  186. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/font-face.cjs +12 -0
  187. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/import.cjs +37 -0
  188. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/index.cjs +17 -0
  189. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/media.cjs +16 -0
  190. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/page.cjs +16 -0
  191. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/supports.cjs +77 -0
  192. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/lexer.cjs +12 -0
  193. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/mix.cjs +142 -0
  194. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/parser.cjs +34 -0
  195. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/walker.cjs +9 -0
  196. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/create.cjs +56 -0
  197. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/expression.cjs +11 -0
  198. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/var.cjs +43 -0
  199. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/index.cjs +14 -0
  200. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AnPlusB.cjs +293 -0
  201. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Atrule.cjs +103 -0
  202. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
  203. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
  204. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Block.cjs +90 -0
  205. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Brackets.cjs +38 -0
  206. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDC.cjs +26 -0
  207. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDO.cjs +26 -0
  208. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/ClassSelector.cjs +31 -0
  209. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Combinator.cjs +61 -0
  210. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Comment.cjs +40 -0
  211. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Declaration.cjs +166 -0
  212. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/DeclarationList.cjs +50 -0
  213. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Dimension.cjs +30 -0
  214. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Function.cjs +45 -0
  215. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Hash.cjs +30 -0
  216. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/IdSelector.cjs +33 -0
  217. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Identifier.cjs +25 -0
  218. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaFeature.cjs +76 -0
  219. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQuery.cjs +61 -0
  220. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
  221. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Nth.cjs +54 -0
  222. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Number.cjs +25 -0
  223. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Operator.cjs +28 -0
  224. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Parentheses.cjs +38 -0
  225. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Percentage.cjs +25 -0
  226. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
  227. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
  228. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Ratio.cjs +67 -0
  229. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Raw.cjs +48 -0
  230. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Rule.cjs +58 -0
  231. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Selector.cjs +39 -0
  232. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/SelectorList.cjs +43 -0
  233. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/String.cjs +26 -0
  234. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/StyleSheet.cjs +83 -0
  235. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/TypeSelector.cjs +59 -0
  236. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
  237. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Url.cjs +54 -0
  238. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Value.cjs +26 -0
  239. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
  240. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index-parse.cjs +85 -0
  241. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index.cjs +85 -0
  242. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/pseudo/index.cjs +52 -0
  243. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
  244. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/default.cjs +76 -0
  245. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/index.cjs +11 -0
  246. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/selector.cjs +84 -0
  247. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/value.cjs +29 -0
  248. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
  249. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/TokenStream.cjs +264 -0
  250. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
  251. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
  252. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/index.cjs +554 -0
  253. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/names.cjs +31 -0
  254. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/types.cjs +57 -0
  255. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/utils.cjs +261 -0
  256. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/List.cjs +473 -0
  257. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/clone.cjs +25 -0
  258. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/create-custom-error.cjs +18 -0
  259. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/ident.cjs +102 -0
  260. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/names.cjs +113 -0
  261. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/string.cjs +99 -0
  262. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/url.cjs +108 -0
  263. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/version.cjs +5 -0
  264. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/walker/create.cjs +291 -0
  265. package/.output/server/node_modules/.nitro/css-tree@2.2.1/data/patch.json +739 -0
  266. package/.output/server/node_modules/.nitro/css-tree@2.2.1/package.json +127 -0
  267. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/convertor/create.cjs +32 -0
  268. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data-patch.cjs +7 -0
  269. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data.cjs +99 -0
  270. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
  271. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/generate.cjs +135 -0
  272. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/index.cjs +13 -0
  273. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/parse.cjs +588 -0
  274. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/tokenizer.cjs +56 -0
  275. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/walk.cjs +56 -0
  276. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/create.cjs +103 -0
  277. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/sourceMap.cjs +96 -0
  278. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/token-before.cjs +170 -0
  279. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/index.cjs +63 -0
  280. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/Lexer.cjs +470 -0
  281. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/error.cjs +128 -0
  282. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
  283. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-const.cjs +12 -0
  284. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-urange.cjs +149 -0
  285. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic.cjs +573 -0
  286. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match-graph.cjs +459 -0
  287. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match.cjs +632 -0
  288. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/prepare-tokens.cjs +54 -0
  289. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/search.cjs +65 -0
  290. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/structure.cjs +168 -0
  291. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/trace.cjs +73 -0
  292. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/units.cjs +38 -0
  293. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/SyntaxError.cjs +69 -0
  294. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/create.cjs +336 -0
  295. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/sequence.cjs +47 -0
  296. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/font-face.cjs +12 -0
  297. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/import.cjs +37 -0
  298. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/index.cjs +19 -0
  299. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/media.cjs +16 -0
  300. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/nest.cjs +16 -0
  301. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/page.cjs +16 -0
  302. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/supports.cjs +77 -0
  303. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/lexer.cjs +12 -0
  304. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/mix.cjs +119 -0
  305. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/parser.cjs +34 -0
  306. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/walker.cjs +9 -0
  307. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/create.cjs +57 -0
  308. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/expression.cjs +11 -0
  309. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/var.cjs +43 -0
  310. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/index.cjs +14 -0
  311. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AnPlusB.cjs +293 -0
  312. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Atrule.cjs +103 -0
  313. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
  314. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
  315. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Block.cjs +96 -0
  316. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Brackets.cjs +38 -0
  317. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDC.cjs +26 -0
  318. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDO.cjs +26 -0
  319. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/ClassSelector.cjs +31 -0
  320. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Combinator.cjs +61 -0
  321. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Comment.cjs +40 -0
  322. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Declaration.cjs +166 -0
  323. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/DeclarationList.cjs +62 -0
  324. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Dimension.cjs +30 -0
  325. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Function.cjs +45 -0
  326. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Hash.cjs +30 -0
  327. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/IdSelector.cjs +33 -0
  328. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Identifier.cjs +25 -0
  329. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaFeature.cjs +76 -0
  330. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQuery.cjs +61 -0
  331. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
  332. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/NestingSelector.cjs +29 -0
  333. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Nth.cjs +54 -0
  334. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Number.cjs +25 -0
  335. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Operator.cjs +28 -0
  336. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Parentheses.cjs +38 -0
  337. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Percentage.cjs +25 -0
  338. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
  339. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
  340. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Ratio.cjs +67 -0
  341. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Raw.cjs +48 -0
  342. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Rule.cjs +58 -0
  343. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Selector.cjs +39 -0
  344. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/SelectorList.cjs +43 -0
  345. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/String.cjs +26 -0
  346. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/StyleSheet.cjs +83 -0
  347. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/TypeSelector.cjs +59 -0
  348. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
  349. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Url.cjs +54 -0
  350. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Value.cjs +26 -0
  351. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
  352. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index-parse.cjs +87 -0
  353. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index.cjs +87 -0
  354. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/pseudo/index.cjs +54 -0
  355. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
  356. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/default.cjs +76 -0
  357. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/index.cjs +11 -0
  358. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/selector.cjs +88 -0
  359. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/value.cjs +29 -0
  360. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
  361. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/TokenStream.cjs +264 -0
  362. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
  363. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
  364. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/index.cjs +554 -0
  365. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/names.cjs +31 -0
  366. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/types.cjs +57 -0
  367. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/utils.cjs +261 -0
  368. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/List.cjs +473 -0
  369. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/clone.cjs +25 -0
  370. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/create-custom-error.cjs +18 -0
  371. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/ident.cjs +102 -0
  372. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/names.cjs +113 -0
  373. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/string.cjs +99 -0
  374. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/url.cjs +108 -0
  375. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/version.cjs +5 -0
  376. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/walker/create.cjs +291 -0
  377. package/.output/server/node_modules/.nitro/css-tree@2.3.1/data/patch.json +725 -0
  378. package/.output/server/node_modules/.nitro/css-tree@2.3.1/package.json +126 -0
  379. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode.js +536 -0
  380. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode_codepoint.js +76 -0
  381. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/encode.js +77 -0
  382. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/escape.js +122 -0
  383. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +9 -0
  384. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +9 -0
  385. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/encode-html.js +12 -0
  386. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/index.js +126 -0
  387. package/.output/server/node_modules/.nitro/entities@4.5.0/package.json +90 -0
  388. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
  389. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
  390. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
  391. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
  392. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
  393. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
  394. package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
  395. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/at-rules.json +620 -0
  396. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/properties.json +9297 -0
  397. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/syntaxes.json +794 -0
  398. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/package.json +38 -0
  399. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/at-rules.json +620 -0
  400. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/properties.json +9626 -0
  401. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/syntaxes.json +866 -0
  402. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/package.json +38 -0
  403. package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +18 -0
  404. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +59 -0
  405. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +68 -0
  406. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +28 -0
  407. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +322 -0
  408. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +7 -0
  409. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +567 -0
  410. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +10 -0
  411. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +8 -0
  412. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +58 -0
  413. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +44 -0
  414. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +25 -0
  415. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +26 -0
  416. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +28 -0
  417. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/types.js +13 -0
  418. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +17 -0
  419. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +9 -0
  420. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +9 -0
  421. package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +93 -0
  422. package/.output/server/node_modules/.nitro/property-information@7.1.0/index.js +17 -0
  423. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/aria.js +61 -0
  424. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/find.js +97 -0
  425. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/hast-to-react.js +30 -0
  426. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/html.js +322 -0
  427. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/normalize.js +12 -0
  428. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/svg.js +567 -0
  429. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-insensitive-transform.js +13 -0
  430. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-sensitive-transform.js +11 -0
  431. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/create.js +69 -0
  432. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/defined-info.js +60 -0
  433. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/info.js +32 -0
  434. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/merge.js +27 -0
  435. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/schema.js +29 -0
  436. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +13 -0
  437. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xlink.js +17 -0
  438. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xml.js +9 -0
  439. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xmlns.js +9 -0
  440. package/.output/server/node_modules/.nitro/property-information@7.1.0/package.json +121 -0
  441. package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +36 -0
  442. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +26 -0
  443. package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +30 -0
  444. package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +202 -0
  445. package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +193 -0
  446. package/.output/server/node_modules/@adonisjs/hash/build/index.js +9 -0
  447. package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +9 -0
  448. package/.output/server/node_modules/@adonisjs/hash/package.json +150 -0
  449. package/.output/server/node_modules/@babel/parser/lib/index.js +14595 -0
  450. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  451. package/.output/server/node_modules/@fastify/accept-negotiator/index.js +170 -0
  452. package/.output/server/node_modules/@fastify/accept-negotiator/package.json +51 -0
  453. package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +350 -0
  454. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +188 -0
  455. package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +90 -0
  456. package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +38 -0
  457. package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +76 -0
  458. package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +168 -0
  459. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +22 -0
  460. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +14 -0
  461. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +16 -0
  462. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +22 -0
  463. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +33 -0
  464. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +51 -0
  465. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +84 -0
  466. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +16 -0
  467. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +44 -0
  468. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +58 -0
  469. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +231 -0
  470. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +31 -0
  471. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +164 -0
  472. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +216 -0
  473. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +113 -0
  474. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +104 -0
  475. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +34 -0
  476. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +75 -0
  477. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +97 -0
  478. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +54 -0
  479. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +97 -0
  480. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +45 -0
  481. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +105 -0
  482. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +54 -0
  483. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +24 -0
  484. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
  485. package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +53 -0
  486. package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +23 -0
  487. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +16 -0
  488. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +182 -0
  489. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +22 -0
  490. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +28 -0
  491. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +46 -0
  492. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +66 -0
  493. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +51 -0
  494. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +23 -0
  495. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +62 -0
  496. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +161 -0
  497. package/.output/server/node_modules/@iconify/utils/lib/index.mjs +64 -0
  498. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +50 -0
  499. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +59 -0
  500. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +80 -0
  501. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +92 -0
  502. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +30 -0
  503. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +17 -0
  504. package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +5 -0
  505. package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +119 -0
  506. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +30 -0
  507. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +20 -0
  508. package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +9 -0
  509. package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +28 -0
  510. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +19 -0
  511. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +83 -0
  512. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +70 -0
  513. package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +40 -0
  514. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +5 -0
  515. package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +11 -0
  516. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +8 -0
  517. package/.output/server/node_modules/@iconify/utils/package.json +447 -0
  518. package/.output/server/node_modules/@intlify/core/dist/core.mjs +31 -0
  519. package/.output/server/node_modules/@intlify/core/package.json +82 -0
  520. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +1886 -0
  521. package/.output/server/node_modules/@intlify/core-base/package.json +80 -0
  522. package/.output/server/node_modules/@intlify/h3/dist/index.mjs +61 -0
  523. package/.output/server/node_modules/@intlify/h3/package.json +89 -0
  524. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1530 -0
  525. package/.output/server/node_modules/@intlify/message-compiler/package.json +79 -0
  526. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +281 -0
  527. package/.output/server/node_modules/@intlify/shared/package.json +69 -0
  528. package/.output/server/node_modules/@intlify/utils/dist/h3.mjs +89 -0
  529. package/.output/server/node_modules/@intlify/utils/dist/index.mjs +121 -0
  530. package/.output/server/node_modules/@intlify/utils/dist/shared/utils.12d9adcd.mjs +133 -0
  531. package/.output/server/node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs +108 -0
  532. package/.output/server/node_modules/@intlify/utils/package.json +129 -0
  533. package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +34 -0
  534. package/.output/server/node_modules/@lukeed/ms/package.json +48 -0
  535. package/.output/server/node_modules/@neondatabase/serverless/index.mjs +1374 -0
  536. package/.output/server/node_modules/@neondatabase/serverless/package.json +115 -0
  537. package/.output/server/node_modules/@phc/format/index.js +229 -0
  538. package/.output/server/node_modules/@phc/format/package.json +60 -0
  539. package/.output/server/node_modules/@poppinss/exception/build/index.js +63 -0
  540. package/.output/server/node_modules/@poppinss/exception/package.json +106 -0
  541. package/.output/server/node_modules/@poppinss/object-builder/build/index.js +49 -0
  542. package/.output/server/node_modules/@poppinss/object-builder/package.json +112 -0
  543. package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +407 -0
  544. package/.output/server/node_modules/@poppinss/string/build/index.js +6 -0
  545. package/.output/server/node_modules/@poppinss/string/package.json +128 -0
  546. package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +17 -0
  547. package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +7 -0
  548. package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +12 -0
  549. package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +7 -0
  550. package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +39 -0
  551. package/.output/server/node_modules/@poppinss/utils/build/index.js +365 -0
  552. package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +39 -0
  553. package/.output/server/node_modules/@poppinss/utils/package.json +153 -0
  554. package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2333 -0
  555. package/.output/server/node_modules/@shikijs/core/package.json +49 -0
  556. package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
  557. package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
  558. package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
  559. package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
  560. package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
  561. package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
  562. package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
  563. package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
  564. package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
  565. package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
  566. package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
  567. package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
  568. package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
  569. package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
  570. package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
  571. package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
  572. package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
  573. package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
  574. package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
  575. package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
  576. package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
  577. package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
  578. package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
  579. package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
  580. package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
  581. package/.output/server/node_modules/@shikijs/langs/package.json +357 -0
  582. package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
  583. package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
  584. package/.output/server/node_modules/@shikijs/themes/package.json +98 -0
  585. package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +744 -0
  586. package/.output/server/node_modules/@shikijs/transformers/package.json +37 -0
  587. package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
  588. package/.output/server/node_modules/@shikijs/types/package.json +36 -0
  589. package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
  590. package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
  591. package/.output/server/node_modules/@sindresorhus/is/dist/index.js +434 -0
  592. package/.output/server/node_modules/@sindresorhus/is/package.json +96 -0
  593. package/.output/server/node_modules/@trysound/sax/lib/sax.js +1413 -0
  594. package/.output/server/node_modules/@trysound/sax/package.json +30 -0
  595. package/.output/server/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
  596. package/.output/server/node_modules/@ungap/structured-clone/esm/index.js +25 -0
  597. package/.output/server/node_modules/@ungap/structured-clone/esm/serialize.js +171 -0
  598. package/.output/server/node_modules/@ungap/structured-clone/esm/types.js +11 -0
  599. package/.output/server/node_modules/@ungap/structured-clone/package.json +54 -0
  600. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6741 -0
  601. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  602. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  603. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  604. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1411 -0
  605. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  606. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  607. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  608. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  609. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  610. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  611. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  612. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  613. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  614. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  615. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  616. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  617. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  618. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  619. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  620. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1807 -0
  621. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  622. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6732 -0
  623. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  624. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1703 -0
  625. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  626. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
  627. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  628. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  629. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  630. package/.output/server/node_modules/bail/index.js +12 -0
  631. package/.output/server/node_modules/bail/package.json +73 -0
  632. package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  633. package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
  634. package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
  635. package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
  636. package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
  637. package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
  638. package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
  639. package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
  640. package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
  641. package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
  642. package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
  643. package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
  644. package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
  645. package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
  646. package/.output/server/node_modules/better-sqlite3/package.json +62 -0
  647. package/.output/server/node_modules/bindings/bindings.js +221 -0
  648. package/.output/server/node_modules/bindings/package.json +28 -0
  649. package/.output/server/node_modules/boolbase/index.js +8 -0
  650. package/.output/server/node_modules/boolbase/package.json +23 -0
  651. package/.output/server/node_modules/bytes/index.js +170 -0
  652. package/.output/server/node_modules/bytes/package.json +42 -0
  653. package/.output/server/node_modules/case-anything/dist/core.js +242 -0
  654. package/.output/server/node_modules/case-anything/dist/index.js +1 -0
  655. package/.output/server/node_modules/case-anything/dist/utils.js +90 -0
  656. package/.output/server/node_modules/case-anything/package.json +61 -0
  657. package/.output/server/node_modules/ccount/index.js +27 -0
  658. package/.output/server/node_modules/ccount/package.json +71 -0
  659. package/.output/server/node_modules/char-regex/index.js +39 -0
  660. package/.output/server/node_modules/char-regex/package.json +44 -0
  661. package/.output/server/node_modules/character-entities/index.js +2132 -0
  662. package/.output/server/node_modules/character-entities/package.json +78 -0
  663. package/.output/server/node_modules/character-entities-html4/index.js +259 -0
  664. package/.output/server/node_modules/character-entities-html4/package.json +79 -0
  665. package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
  666. package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
  667. package/.output/server/node_modules/character-reference-invalid/index.js +35 -0
  668. package/.output/server/node_modules/character-reference-invalid/package.json +83 -0
  669. package/.output/server/node_modules/color/index.js +496 -0
  670. package/.output/server/node_modules/color/package.json +47 -0
  671. package/.output/server/node_modules/color-convert/conversions.js +839 -0
  672. package/.output/server/node_modules/color-convert/index.js +81 -0
  673. package/.output/server/node_modules/color-convert/package.json +48 -0
  674. package/.output/server/node_modules/color-convert/route.js +97 -0
  675. package/.output/server/node_modules/color-name/index.js +152 -0
  676. package/.output/server/node_modules/color-name/package.json +28 -0
  677. package/.output/server/node_modules/color-string/index.js +242 -0
  678. package/.output/server/node_modules/color-string/package.json +39 -0
  679. package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
  680. package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
  681. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  682. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  683. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  684. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  685. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  686. package/.output/server/node_modules/consola/package.json +136 -0
  687. package/.output/server/node_modules/cookie-es/dist/index.mjs +262 -0
  688. package/.output/server/node_modules/cookie-es/package.json +46 -0
  689. package/.output/server/node_modules/css-select/lib/attributes.js +236 -0
  690. package/.output/server/node_modules/css-select/lib/compile.js +151 -0
  691. package/.output/server/node_modules/css-select/lib/general.js +148 -0
  692. package/.output/server/node_modules/css-select/lib/index.js +154 -0
  693. package/.output/server/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
  694. package/.output/server/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
  695. package/.output/server/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
  696. package/.output/server/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
  697. package/.output/server/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
  698. package/.output/server/node_modules/css-select/lib/sort.js +84 -0
  699. package/.output/server/node_modules/css-select/package.json +81 -0
  700. package/.output/server/node_modules/css-what/lib/commonjs/index.js +23 -0
  701. package/.output/server/node_modules/css-what/lib/commonjs/parse.js +425 -0
  702. package/.output/server/node_modules/css-what/lib/commonjs/stringify.js +138 -0
  703. package/.output/server/node_modules/css-what/lib/commonjs/types.js +42 -0
  704. package/.output/server/node_modules/css-what/package.json +59 -0
  705. package/.output/server/node_modules/cssfilter/lib/css.js +110 -0
  706. package/.output/server/node_modules/cssfilter/lib/default.js +398 -0
  707. package/.output/server/node_modules/cssfilter/lib/index.js +32 -0
  708. package/.output/server/node_modules/cssfilter/lib/parser.js +74 -0
  709. package/.output/server/node_modules/cssfilter/lib/util.js +35 -0
  710. package/.output/server/node_modules/cssfilter/package.json +49 -0
  711. package/.output/server/node_modules/csso/cjs/clean/Atrule.cjs +73 -0
  712. package/.output/server/node_modules/csso/cjs/clean/Comment.cjs +7 -0
  713. package/.output/server/node_modules/csso/cjs/clean/Declaration.cjs +18 -0
  714. package/.output/server/node_modules/csso/cjs/clean/Raw.cjs +13 -0
  715. package/.output/server/node_modules/csso/cjs/clean/Rule.cjs +104 -0
  716. package/.output/server/node_modules/csso/cjs/clean/TypeSelector.cjs +23 -0
  717. package/.output/server/node_modules/csso/cjs/clean/WhiteSpace.cjs +7 -0
  718. package/.output/server/node_modules/csso/cjs/clean/index.cjs +32 -0
  719. package/.output/server/node_modules/csso/cjs/clean/utils.cjs +12 -0
  720. package/.output/server/node_modules/csso/cjs/compress.cjs +200 -0
  721. package/.output/server/node_modules/csso/cjs/index.cjs +127 -0
  722. package/.output/server/node_modules/csso/cjs/replace/Atrule.cjs +13 -0
  723. package/.output/server/node_modules/csso/cjs/replace/AttributeSelector.cjs +32 -0
  724. package/.output/server/node_modules/csso/cjs/replace/Dimension.cjs +67 -0
  725. package/.output/server/node_modules/csso/cjs/replace/Number.cjs +45 -0
  726. package/.output/server/node_modules/csso/cjs/replace/Percentage.cjs +41 -0
  727. package/.output/server/node_modules/csso/cjs/replace/Url.cjs +8 -0
  728. package/.output/server/node_modules/csso/cjs/replace/Value.cjs +29 -0
  729. package/.output/server/node_modules/csso/cjs/replace/atrule/keyframes.cjs +25 -0
  730. package/.output/server/node_modules/csso/cjs/replace/color.cjs +504 -0
  731. package/.output/server/node_modules/csso/cjs/replace/index.cjs +36 -0
  732. package/.output/server/node_modules/csso/cjs/replace/property/background.cjs +54 -0
  733. package/.output/server/node_modules/csso/cjs/replace/property/border.cjs +20 -0
  734. package/.output/server/node_modules/csso/cjs/replace/property/font-weight.cjs +26 -0
  735. package/.output/server/node_modules/csso/cjs/replace/property/font.cjs +34 -0
  736. package/.output/server/node_modules/csso/cjs/restructure/1-mergeAtrule.cjs +109 -0
  737. package/.output/server/node_modules/csso/cjs/restructure/2-initialMergeRuleset.cjs +51 -0
  738. package/.output/server/node_modules/csso/cjs/restructure/3-disjoinRuleset.cjs +46 -0
  739. package/.output/server/node_modules/csso/cjs/restructure/4-restructShorthand.cjs +429 -0
  740. package/.output/server/node_modules/csso/cjs/restructure/6-restructBlock.cjs +307 -0
  741. package/.output/server/node_modules/csso/cjs/restructure/7-mergeRuleset.cjs +90 -0
  742. package/.output/server/node_modules/csso/cjs/restructure/8-restructRuleset.cjs +175 -0
  743. package/.output/server/node_modules/csso/cjs/restructure/index.cjs +39 -0
  744. package/.output/server/node_modules/csso/cjs/restructure/prepare/createDeclarationIndexer.cjs +34 -0
  745. package/.output/server/node_modules/csso/cjs/restructure/prepare/index.cjs +45 -0
  746. package/.output/server/node_modules/csso/cjs/restructure/prepare/processSelector.cjs +101 -0
  747. package/.output/server/node_modules/csso/cjs/restructure/prepare/specificity.cjs +133 -0
  748. package/.output/server/node_modules/csso/cjs/restructure/utils.cjs +151 -0
  749. package/.output/server/node_modules/csso/cjs/syntax.cjs +60 -0
  750. package/.output/server/node_modules/csso/cjs/usage.cjs +75 -0
  751. package/.output/server/node_modules/csso/cjs/utils.cjs +14 -0
  752. package/.output/server/node_modules/csso/cjs/version.cjs +5 -0
  753. package/.output/server/node_modules/csso/package.json +82 -0
  754. package/.output/server/node_modules/debug/package.json +64 -0
  755. package/.output/server/node_modules/debug/src/browser.js +272 -0
  756. package/.output/server/node_modules/debug/src/common.js +292 -0
  757. package/.output/server/node_modules/debug/src/index.js +10 -0
  758. package/.output/server/node_modules/debug/src/node.js +263 -0
  759. package/.output/server/node_modules/decode-named-character-reference/index.js +19 -0
  760. package/.output/server/node_modules/decode-named-character-reference/package.json +89 -0
  761. package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
  762. package/.output/server/node_modules/defu/package.json +43 -0
  763. package/.output/server/node_modules/destr/dist/index.mjs +72 -0
  764. package/.output/server/node_modules/destr/package.json +47 -0
  765. package/.output/server/node_modules/detab/index.js +45 -0
  766. package/.output/server/node_modules/detab/package.json +71 -0
  767. package/.output/server/node_modules/detect-libc/lib/detect-libc.js +267 -0
  768. package/.output/server/node_modules/detect-libc/lib/filesystem.js +41 -0
  769. package/.output/server/node_modules/detect-libc/lib/process.js +24 -0
  770. package/.output/server/node_modules/detect-libc/package.json +41 -0
  771. package/.output/server/node_modules/devalue/index.js +3 -0
  772. package/.output/server/node_modules/devalue/package.json +37 -0
  773. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  774. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  775. package/.output/server/node_modules/devalue/src/parse.js +195 -0
  776. package/.output/server/node_modules/devalue/src/stringify.js +261 -0
  777. package/.output/server/node_modules/devalue/src/uneval.js +402 -0
  778. package/.output/server/node_modules/devalue/src/utils.js +114 -0
  779. package/.output/server/node_modules/devlop/lib/default.js +9 -0
  780. package/.output/server/node_modules/devlop/package.json +80 -0
  781. package/.output/server/node_modules/dom-serializer/lib/foreignNames.js +103 -0
  782. package/.output/server/node_modules/dom-serializer/lib/index.js +229 -0
  783. package/.output/server/node_modules/dom-serializer/package.json +69 -0
  784. package/.output/server/node_modules/domelementtype/lib/index.js +55 -0
  785. package/.output/server/node_modules/domelementtype/package.json +54 -0
  786. package/.output/server/node_modules/domhandler/lib/index.js +165 -0
  787. package/.output/server/node_modules/domhandler/lib/node.js +474 -0
  788. package/.output/server/node_modules/domhandler/package.json +73 -0
  789. package/.output/server/node_modules/domutils/lib/feeds.js +190 -0
  790. package/.output/server/node_modules/domutils/lib/helpers.js +142 -0
  791. package/.output/server/node_modules/domutils/lib/index.js +33 -0
  792. package/.output/server/node_modules/domutils/lib/legacy.js +168 -0
  793. package/.output/server/node_modules/domutils/lib/manipulation.js +142 -0
  794. package/.output/server/node_modules/domutils/lib/querying.js +155 -0
  795. package/.output/server/node_modules/domutils/lib/stringify.js +91 -0
  796. package/.output/server/node_modules/domutils/lib/traversal.js +125 -0
  797. package/.output/server/node_modules/domutils/package.json +79 -0
  798. package/.output/server/node_modules/emojilib/emojis.json +9422 -0
  799. package/.output/server/node_modules/emojilib/index.js +5 -0
  800. package/.output/server/node_modules/emojilib/ordered.json +1572 -0
  801. package/.output/server/node_modules/emojilib/package.json +41 -0
  802. package/.output/server/node_modules/emoticon/index.js +480 -0
  803. package/.output/server/node_modules/emoticon/package.json +88 -0
  804. package/.output/server/node_modules/escape-string-regexp/index.js +11 -0
  805. package/.output/server/node_modules/escape-string-regexp/package.json +40 -0
  806. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  807. package/.output/server/node_modules/estree-walker/package.json +37 -0
  808. package/.output/server/node_modules/etag/index.js +131 -0
  809. package/.output/server/node_modules/etag/package.json +47 -0
  810. package/.output/server/node_modules/extend/index.js +117 -0
  811. package/.output/server/node_modules/extend/package.json +42 -0
  812. package/.output/server/node_modules/fast-xml-parser/package.json +90 -0
  813. package/.output/server/node_modules/fast-xml-parser/src/fxp.js +14 -0
  814. package/.output/server/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  815. package/.output/server/node_modules/fast-xml-parser/src/util.js +68 -0
  816. package/.output/server/node_modules/fast-xml-parser/src/validator.js +425 -0
  817. package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +285 -0
  818. package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +134 -0
  819. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +369 -0
  820. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +46 -0
  821. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +606 -0
  822. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
  823. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/node2json.js +119 -0
  824. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
  825. package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
  826. package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
  827. package/.output/server/node_modules/flat/index.js +157 -0
  828. package/.output/server/node_modules/flat/package.json +49 -0
  829. package/.output/server/node_modules/flattie/dist/index.mjs +25 -0
  830. package/.output/server/node_modules/flattie/package.json +48 -0
  831. package/.output/server/node_modules/github-slugger/index.js +77 -0
  832. package/.output/server/node_modules/github-slugger/package.json +71 -0
  833. package/.output/server/node_modules/github-slugger/regex.js +3 -0
  834. package/.output/server/node_modules/h3/dist/index.mjs +2478 -0
  835. package/.output/server/node_modules/h3/package.json +75 -0
  836. package/.output/server/node_modules/has-flag/index.js +8 -0
  837. package/.output/server/node_modules/has-flag/package.json +46 -0
  838. package/.output/server/node_modules/hast-util-embedded/index.js +1 -0
  839. package/.output/server/node_modules/hast-util-embedded/lib/index.js +33 -0
  840. package/.output/server/node_modules/hast-util-embedded/package.json +78 -0
  841. package/.output/server/node_modules/hast-util-format/index.js +2 -0
  842. package/.output/server/node_modules/hast-util-format/lib/index.js +186 -0
  843. package/.output/server/node_modules/hast-util-format/package.json +124 -0
  844. package/.output/server/node_modules/hast-util-from-parse5/index.js +2 -0
  845. package/.output/server/node_modules/hast-util-from-parse5/lib/index.js +337 -0
  846. package/.output/server/node_modules/hast-util-from-parse5/package.json +120 -0
  847. package/.output/server/node_modules/hast-util-has-property/index.js +1 -0
  848. package/.output/server/node_modules/hast-util-has-property/lib/index.js +29 -0
  849. package/.output/server/node_modules/hast-util-has-property/package.json +79 -0
  850. package/.output/server/node_modules/hast-util-is-body-ok-link/index.js +46 -0
  851. package/.output/server/node_modules/hast-util-is-body-ok-link/lib/index.js +38 -0
  852. package/.output/server/node_modules/hast-util-is-body-ok-link/package.json +52 -0
  853. package/.output/server/node_modules/hast-util-is-element/index.js +7 -0
  854. package/.output/server/node_modules/hast-util-is-element/lib/index.js +278 -0
  855. package/.output/server/node_modules/hast-util-is-element/package.json +82 -0
  856. package/.output/server/node_modules/hast-util-minify-whitespace/index.js +69 -0
  857. package/.output/server/node_modules/hast-util-minify-whitespace/lib/block.js +61 -0
  858. package/.output/server/node_modules/hast-util-minify-whitespace/lib/content.js +7 -0
  859. package/.output/server/node_modules/hast-util-minify-whitespace/lib/index.js +377 -0
  860. package/.output/server/node_modules/hast-util-minify-whitespace/lib/skippable.js +20 -0
  861. package/.output/server/node_modules/hast-util-minify-whitespace/package.json +56 -0
  862. package/.output/server/node_modules/hast-util-parse-selector/index.js +1 -0
  863. package/.output/server/node_modules/hast-util-parse-selector/lib/index.js +87 -0
  864. package/.output/server/node_modules/hast-util-parse-selector/package.json +79 -0
  865. package/.output/server/node_modules/hast-util-phrasing/index.js +1 -0
  866. package/.output/server/node_modules/hast-util-phrasing/lib/index.js +78 -0
  867. package/.output/server/node_modules/hast-util-phrasing/package.json +83 -0
  868. package/.output/server/node_modules/hast-util-raw/index.js +2 -0
  869. package/.output/server/node_modules/hast-util-raw/lib/index.js +682 -0
  870. package/.output/server/node_modules/hast-util-raw/package.json +123 -0
  871. package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
  872. package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
  873. package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
  874. package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
  875. package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
  876. package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
  877. package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
  878. package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
  879. package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
  880. package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
  881. package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
  882. package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
  883. package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
  884. package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
  885. package/.output/server/node_modules/hast-util-to-mdast/index.js +13 -0
  886. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/a.js +30 -0
  887. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/base.js +20 -0
  888. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/blockquote.js +20 -0
  889. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/br.js +20 -0
  890. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/code.js +65 -0
  891. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/comment.js +23 -0
  892. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/del.js +23 -0
  893. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/dl.js +144 -0
  894. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/em.js +24 -0
  895. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/heading.js +30 -0
  896. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/hr.js +20 -0
  897. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/iframe.js +35 -0
  898. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/img.js +27 -0
  899. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/index.js +233 -0
  900. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/inline-code.js +22 -0
  901. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/input.js +137 -0
  902. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/li.js +147 -0
  903. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/list.js +47 -0
  904. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/media.js +82 -0
  905. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/p.js +30 -0
  906. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/q.js +43 -0
  907. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/root.js +28 -0
  908. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/select.js +34 -0
  909. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/strong.js +24 -0
  910. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-cell.js +38 -0
  911. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-row.js +29 -0
  912. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table.js +203 -0
  913. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/text.js +20 -0
  914. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/textarea.js +22 -0
  915. package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/wbr.js +20 -0
  916. package/.output/server/node_modules/hast-util-to-mdast/lib/index.js +111 -0
  917. package/.output/server/node_modules/hast-util-to-mdast/lib/state.js +389 -0
  918. package/.output/server/node_modules/hast-util-to-mdast/lib/util/drop-surrounding-breaks.js +23 -0
  919. package/.output/server/node_modules/hast-util-to-mdast/lib/util/find-selected-options.js +90 -0
  920. package/.output/server/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js +25 -0
  921. package/.output/server/node_modules/hast-util-to-mdast/lib/util/wrap.js +223 -0
  922. package/.output/server/node_modules/hast-util-to-mdast/package.json +124 -0
  923. package/.output/server/node_modules/hast-util-to-parse5/index.js +6 -0
  924. package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +338 -0
  925. package/.output/server/node_modules/hast-util-to-parse5/package.json +87 -0
  926. package/.output/server/node_modules/hast-util-to-string/index.js +46 -0
  927. package/.output/server/node_modules/hast-util-to-string/lib/index.js +54 -0
  928. package/.output/server/node_modules/hast-util-to-string/package.json +54 -0
  929. package/.output/server/node_modules/hast-util-to-text/index.js +6 -0
  930. package/.output/server/node_modules/hast-util-to-text/lib/index.js +633 -0
  931. package/.output/server/node_modules/hast-util-to-text/package.json +87 -0
  932. package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
  933. package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
  934. package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
  935. package/.output/server/node_modules/hastscript/index.js +7 -0
  936. package/.output/server/node_modules/hastscript/lib/create-h.js +365 -0
  937. package/.output/server/node_modules/hastscript/lib/index.js +27 -0
  938. package/.output/server/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +46 -0
  939. package/.output/server/node_modules/hastscript/package.json +126 -0
  940. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  941. package/.output/server/node_modules/hookable/package.json +49 -0
  942. package/.output/server/node_modules/html-void-elements/index.js +27 -0
  943. package/.output/server/node_modules/html-void-elements/package.json +79 -0
  944. package/.output/server/node_modules/html-whitespace-sensitive-tag-names/index.js +28 -0
  945. package/.output/server/node_modules/html-whitespace-sensitive-tag-names/lib/index.js +9 -0
  946. package/.output/server/node_modules/html-whitespace-sensitive-tag-names/package.json +48 -0
  947. package/.output/server/node_modules/image-meta/dist/index.mjs +785 -0
  948. package/.output/server/node_modules/image-meta/package.json +46 -0
  949. package/.output/server/node_modules/ipx/dist/index.mjs +52 -0
  950. package/.output/server/node_modules/ipx/dist/shared/ipx.e4d5b25d.mjs +761 -0
  951. package/.output/server/node_modules/ipx/package.json +72 -0
  952. package/.output/server/node_modules/iron-webcrypto/dist/index.js +298 -0
  953. package/.output/server/node_modules/iron-webcrypto/package.json +72 -0
  954. package/.output/server/node_modules/is-absolute-url/index.js +18 -0
  955. package/.output/server/node_modules/is-absolute-url/package.json +37 -0
  956. package/.output/server/node_modules/is-alphabetical/index.js +16 -0
  957. package/.output/server/node_modules/is-alphabetical/package.json +73 -0
  958. package/.output/server/node_modules/is-alphanumerical/index.js +13 -0
  959. package/.output/server/node_modules/is-alphanumerical/package.json +79 -0
  960. package/.output/server/node_modules/is-arrayish/index.js +9 -0
  961. package/.output/server/node_modules/is-arrayish/package.json +45 -0
  962. package/.output/server/node_modules/is-decimal/index.js +13 -0
  963. package/.output/server/node_modules/is-decimal/package.json +73 -0
  964. package/.output/server/node_modules/is-hexadecimal/index.js +17 -0
  965. package/.output/server/node_modules/is-hexadecimal/package.json +73 -0
  966. package/.output/server/node_modules/is-plain-obj/index.js +8 -0
  967. package/.output/server/node_modules/is-plain-obj/package.json +41 -0
  968. package/.output/server/node_modules/jose/dist/webapi/index.js +30 -0
  969. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
  970. package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
  971. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +165 -0
  972. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +165 -0
  973. package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
  974. package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +187 -0
  975. package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
  976. package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
  977. package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +119 -0
  978. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
  979. package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
  980. package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
  981. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +86 -0
  982. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +116 -0
  983. package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +73 -0
  984. package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
  985. package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
  986. package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +108 -0
  987. package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
  988. package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
  989. package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
  990. package/.output/server/node_modules/jose/dist/webapi/key/export.js +11 -0
  991. package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
  992. package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
  993. package/.output/server/node_modules/jose/dist/webapi/key/import.js +57 -0
  994. package/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js +16 -0
  995. package/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
  996. package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +247 -0
  997. package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +22 -0
  998. package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +32 -0
  999. package/.output/server/node_modules/jose/dist/webapi/lib/cek.js +19 -0
  1000. package/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js +7 -0
  1001. package/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js +7 -0
  1002. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js +8 -0
  1003. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +126 -0
  1004. package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +147 -0
  1005. package/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js +106 -0
  1006. package/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +127 -0
  1007. package/.output/server/node_modules/jose/dist/webapi/lib/digest.js +4 -0
  1008. package/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
  1009. package/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js +74 -0
  1010. package/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +92 -0
  1011. package/.output/server/node_modules/jose/dist/webapi/lib/epoch.js +1 -0
  1012. package/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +12 -0
  1013. package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +31 -0
  1014. package/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js +21 -0
  1015. package/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js +14 -0
  1016. package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +14 -0
  1017. package/.output/server/node_modules/jose/dist/webapi/lib/is_object.js +16 -0
  1018. package/.output/server/node_modules/jose/dist/webapi/lib/iv.js +19 -0
  1019. package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +109 -0
  1020. package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +185 -0
  1021. package/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
  1022. package/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js +176 -0
  1023. package/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js +37 -0
  1024. package/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js +1 -0
  1025. package/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
  1026. package/.output/server/node_modules/jose/dist/webapi/lib/secs.js +55 -0
  1027. package/.output/server/node_modules/jose/dist/webapi/lib/sign.js +9 -0
  1028. package/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js +31 -0
  1029. package/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
  1030. package/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
  1031. package/.output/server/node_modules/jose/dist/webapi/lib/verify.js +14 -0
  1032. package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +30 -0
  1033. package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
  1034. package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
  1035. package/.output/server/node_modules/jose/dist/webapi/util/errors.js +99 -0
  1036. package/.output/server/node_modules/jose/package.json +200 -0
  1037. package/.output/server/node_modules/longest-streak/index.js +36 -0
  1038. package/.output/server/node_modules/longest-streak/package.json +73 -0
  1039. package/.output/server/node_modules/lru-cache/dist/esm/index.js +1542 -0
  1040. package/.output/server/node_modules/lru-cache/dist/esm/package.json +3 -0
  1041. package/.output/server/node_modules/lru-cache/package.json +116 -0
  1042. package/.output/server/node_modules/markdown-table/index.js +393 -0
  1043. package/.output/server/node_modules/markdown-table/package.json +77 -0
  1044. package/.output/server/node_modules/mdast-util-find-and-replace/index.js +11 -0
  1045. package/.output/server/node_modules/mdast-util-find-and-replace/lib/index.js +261 -0
  1046. package/.output/server/node_modules/mdast-util-find-and-replace/package.json +85 -0
  1047. package/.output/server/node_modules/mdast-util-from-markdown/index.js +2 -0
  1048. package/.output/server/node_modules/mdast-util-from-markdown/lib/index.js +1177 -0
  1049. package/.output/server/node_modules/mdast-util-from-markdown/package.json +139 -0
  1050. package/.output/server/node_modules/mdast-util-gfm/index.js +2 -0
  1051. package/.output/server/node_modules/mdast-util-gfm/lib/index.js +63 -0
  1052. package/.output/server/node_modules/mdast-util-gfm/package.json +125 -0
  1053. package/.output/server/node_modules/mdast-util-gfm-autolink-literal/index.js +4 -0
  1054. package/.output/server/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +280 -0
  1055. package/.output/server/node_modules/mdast-util-gfm-autolink-literal/package.json +106 -0
  1056. package/.output/server/node_modules/mdast-util-gfm-footnote/index.js +2 -0
  1057. package/.output/server/node_modules/mdast-util-gfm-footnote/lib/index.js +212 -0
  1058. package/.output/server/node_modules/mdast-util-gfm-footnote/package.json +111 -0
  1059. package/.output/server/node_modules/mdast-util-gfm-strikethrough/index.js +5 -0
  1060. package/.output/server/node_modules/mdast-util-gfm-strikethrough/lib/index.js +106 -0
  1061. package/.output/server/node_modules/mdast-util-gfm-strikethrough/package.json +99 -0
  1062. package/.output/server/node_modules/mdast-util-gfm-table/index.js +2 -0
  1063. package/.output/server/node_modules/mdast-util-gfm-table/lib/index.js +300 -0
  1064. package/.output/server/node_modules/mdast-util-gfm-table/package.json +101 -0
  1065. package/.output/server/node_modules/mdast-util-gfm-task-list-item/index.js +4 -0
  1066. package/.output/server/node_modules/mdast-util-gfm-task-list-item/lib/index.js +141 -0
  1067. package/.output/server/node_modules/mdast-util-gfm-task-list-item/package.json +90 -0
  1068. package/.output/server/node_modules/mdast-util-phrasing/index.js +1 -0
  1069. package/.output/server/node_modules/mdast-util-phrasing/lib/index.js +45 -0
  1070. package/.output/server/node_modules/mdast-util-phrasing/package.json +78 -0
  1071. package/.output/server/node_modules/mdast-util-to-hast/index.js +7 -0
  1072. package/.output/server/node_modules/mdast-util-to-hast/lib/footer.js +252 -0
  1073. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +30 -0
  1074. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/break.js +26 -0
  1075. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/code.js +50 -0
  1076. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/delete.js +30 -0
  1077. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +30 -0
  1078. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
  1079. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/heading.js +30 -0
  1080. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/html.js +31 -0
  1081. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +41 -0
  1082. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image.js +36 -0
  1083. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/index.js +64 -0
  1084. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +35 -0
  1085. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +46 -0
  1086. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link.js +37 -0
  1087. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +125 -0
  1088. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list.js +56 -0
  1089. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +30 -0
  1090. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/root.js +26 -0
  1091. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/strong.js +30 -0
  1092. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +32 -0
  1093. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +69 -0
  1094. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
  1095. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/text.js +25 -0
  1096. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +30 -0
  1097. package/.output/server/node_modules/mdast-util-to-hast/lib/index.js +106 -0
  1098. package/.output/server/node_modules/mdast-util-to-hast/lib/revert.js +55 -0
  1099. package/.output/server/node_modules/mdast-util-to-hast/lib/state.js +473 -0
  1100. package/.output/server/node_modules/mdast-util-to-hast/package.json +118 -0
  1101. package/.output/server/node_modules/mdast-util-to-markdown/index.js +3 -0
  1102. package/.output/server/node_modules/mdast-util-to-markdown/lib/configure.js +79 -0
  1103. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +29 -0
  1104. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/break.js +30 -0
  1105. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/code.js +75 -0
  1106. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/definition.js +76 -0
  1107. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +69 -0
  1108. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/heading.js +75 -0
  1109. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/html.js +20 -0
  1110. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +63 -0
  1111. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image.js +82 -0
  1112. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/index.js +45 -0
  1113. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +76 -0
  1114. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +63 -0
  1115. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link.js +114 -0
  1116. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +62 -0
  1117. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list.js +100 -0
  1118. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +20 -0
  1119. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/root.js +23 -0
  1120. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/strong.js +69 -0
  1121. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/text.js +15 -0
  1122. package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +21 -0
  1123. package/.output/server/node_modules/mdast-util-to-markdown/lib/index.js +187 -0
  1124. package/.output/server/node_modules/mdast-util-to-markdown/lib/join.js +39 -0
  1125. package/.output/server/node_modules/mdast-util-to-markdown/lib/unsafe.js +146 -0
  1126. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/association.js +33 -0
  1127. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +21 -0
  1128. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +38 -0
  1129. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +21 -0
  1130. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +21 -0
  1131. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +21 -0
  1132. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +21 -0
  1133. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +21 -0
  1134. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +21 -0
  1135. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +21 -0
  1136. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +21 -0
  1137. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +24 -0
  1138. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +84 -0
  1139. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +125 -0
  1140. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +11 -0
  1141. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +82 -0
  1142. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +22 -0
  1143. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +34 -0
  1144. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +34 -0
  1145. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +35 -0
  1146. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +41 -0
  1147. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/safe.js +174 -0
  1148. package/.output/server/node_modules/mdast-util-to-markdown/lib/util/track.js +55 -0
  1149. package/.output/server/node_modules/mdast-util-to-markdown/package.json +132 -0
  1150. package/.output/server/node_modules/mdast-util-to-string/index.js +5 -0
  1151. package/.output/server/node_modules/mdast-util-to-string/lib/index.js +108 -0
  1152. package/.output/server/node_modules/mdast-util-to-string/package.json +78 -0
  1153. package/.output/server/node_modules/micromark/index.js +60 -0
  1154. package/.output/server/node_modules/micromark/lib/compile.js +1060 -0
  1155. package/.output/server/node_modules/micromark/lib/constructs.js +85 -0
  1156. package/.output/server/node_modules/micromark/lib/create-tokenizer.js +611 -0
  1157. package/.output/server/node_modules/micromark/lib/initialize/content.js +79 -0
  1158. package/.output/server/node_modules/micromark/lib/initialize/document.js +362 -0
  1159. package/.output/server/node_modules/micromark/lib/initialize/flow.js +58 -0
  1160. package/.output/server/node_modules/micromark/lib/initialize/text.js +212 -0
  1161. package/.output/server/node_modules/micromark/lib/parse.js +56 -0
  1162. package/.output/server/node_modules/micromark/lib/postprocess.js +18 -0
  1163. package/.output/server/node_modules/micromark/lib/preprocess.js +115 -0
  1164. package/.output/server/node_modules/micromark/package.json +100 -0
  1165. package/.output/server/node_modules/micromark-core-commonmark/index.js +22 -0
  1166. package/.output/server/node_modules/micromark-core-commonmark/lib/attention.js +241 -0
  1167. package/.output/server/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
  1168. package/.output/server/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
  1169. package/.output/server/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
  1170. package/.output/server/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
  1171. package/.output/server/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
  1172. package/.output/server/node_modules/micromark-core-commonmark/lib/code-fenced.js +460 -0
  1173. package/.output/server/node_modules/micromark-core-commonmark/lib/code-indented.js +177 -0
  1174. package/.output/server/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
  1175. package/.output/server/node_modules/micromark-core-commonmark/lib/content.js +163 -0
  1176. package/.output/server/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
  1177. package/.output/server/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
  1178. package/.output/server/node_modules/micromark-core-commonmark/lib/heading-atx.js +195 -0
  1179. package/.output/server/node_modules/micromark-core-commonmark/lib/html-flow.js +876 -0
  1180. package/.output/server/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
  1181. package/.output/server/node_modules/micromark-core-commonmark/lib/label-end.js +560 -0
  1182. package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-image.js +102 -0
  1183. package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-link.js +55 -0
  1184. package/.output/server/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
  1185. package/.output/server/node_modules/micromark-core-commonmark/lib/list.js +213 -0
  1186. package/.output/server/node_modules/micromark-core-commonmark/lib/setext-underline.js +185 -0
  1187. package/.output/server/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
  1188. package/.output/server/node_modules/micromark-core-commonmark/package.json +74 -0
  1189. package/.output/server/node_modules/micromark-extension-gfm/index.js +69 -0
  1190. package/.output/server/node_modules/micromark-extension-gfm/package.json +107 -0
  1191. package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/index.js +2 -0
  1192. package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +60 -0
  1193. package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +854 -0
  1194. package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/package.json +116 -0
  1195. package/.output/server/node_modules/micromark-extension-gfm-footnote/index.js +3 -0
  1196. package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/html.js +154 -0
  1197. package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +485 -0
  1198. package/.output/server/node_modules/micromark-extension-gfm-footnote/package.json +132 -0
  1199. package/.output/server/node_modules/micromark-extension-gfm-strikethrough/index.js +3 -0
  1200. package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/html.js +26 -0
  1201. package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +142 -0
  1202. package/.output/server/node_modules/micromark-extension-gfm-strikethrough/package.json +129 -0
  1203. package/.output/server/node_modules/micromark-extension-gfm-table/index.js +2 -0
  1204. package/.output/server/node_modules/micromark-extension-gfm-table/lib/edit-map.js +202 -0
  1205. package/.output/server/node_modules/micromark-extension-gfm-table/lib/html.js +130 -0
  1206. package/.output/server/node_modules/micromark-extension-gfm-table/lib/infer.js +52 -0
  1207. package/.output/server/node_modules/micromark-extension-gfm-table/lib/syntax.js +819 -0
  1208. package/.output/server/node_modules/micromark-extension-gfm-table/package.json +128 -0
  1209. package/.output/server/node_modules/micromark-extension-gfm-tagfilter/index.js +1 -0
  1210. package/.output/server/node_modules/micromark-extension-gfm-tagfilter/lib/index.js +51 -0
  1211. package/.output/server/node_modules/micromark-extension-gfm-tagfilter/package.json +82 -0
  1212. package/.output/server/node_modules/micromark-extension-gfm-task-list-item/index.js +2 -0
  1213. package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/html.js +29 -0
  1214. package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +158 -0
  1215. package/.output/server/node_modules/micromark-extension-gfm-task-list-item/package.json +131 -0
  1216. package/.output/server/node_modules/micromark-factory-destination/index.js +206 -0
  1217. package/.output/server/node_modules/micromark-factory-destination/package.json +57 -0
  1218. package/.output/server/node_modules/micromark-factory-label/index.js +148 -0
  1219. package/.output/server/node_modules/micromark-factory-label/package.json +60 -0
  1220. package/.output/server/node_modules/micromark-factory-space/index.js +64 -0
  1221. package/.output/server/node_modules/micromark-factory-space/package.json +55 -0
  1222. package/.output/server/node_modules/micromark-factory-title/index.js +158 -0
  1223. package/.output/server/node_modules/micromark-factory-title/package.json +58 -0
  1224. package/.output/server/node_modules/micromark-factory-whitespace/index.js +44 -0
  1225. package/.output/server/node_modules/micromark-factory-whitespace/package.json +57 -0
  1226. package/.output/server/node_modules/micromark-util-character/index.js +246 -0
  1227. package/.output/server/node_modules/micromark-util-character/package.json +57 -0
  1228. package/.output/server/node_modules/micromark-util-chunked/index.js +81 -0
  1229. package/.output/server/node_modules/micromark-util-chunked/package.json +57 -0
  1230. package/.output/server/node_modules/micromark-util-classify-character/index.js +27 -0
  1231. package/.output/server/node_modules/micromark-util-classify-character/package.json +59 -0
  1232. package/.output/server/node_modules/micromark-util-combine-extensions/index.js +143 -0
  1233. package/.output/server/node_modules/micromark-util-combine-extensions/package.json +52 -0
  1234. package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
  1235. package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
  1236. package/.output/server/node_modules/micromark-util-decode-string/index.js +45 -0
  1237. package/.output/server/node_modules/micromark-util-decode-string/package.json +63 -0
  1238. package/.output/server/node_modules/micromark-util-encode/index.js +33 -0
  1239. package/.output/server/node_modules/micromark-util-encode/package.json +47 -0
  1240. package/.output/server/node_modules/micromark-util-html-tag-name/index.js +93 -0
  1241. package/.output/server/node_modules/micromark-util-html-tag-name/package.json +47 -0
  1242. package/.output/server/node_modules/micromark-util-normalize-identifier/index.js +33 -0
  1243. package/.output/server/node_modules/micromark-util-normalize-identifier/package.json +58 -0
  1244. package/.output/server/node_modules/micromark-util-resolve-all/index.js +32 -0
  1245. package/.output/server/node_modules/micromark-util-resolve-all/package.json +48 -0
  1246. package/.output/server/node_modules/micromark-util-sanitize-uri/index.js +107 -0
  1247. package/.output/server/node_modules/micromark-util-sanitize-uri/package.json +59 -0
  1248. package/.output/server/node_modules/micromark-util-subtokenize/index.js +228 -0
  1249. package/.output/server/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
  1250. package/.output/server/node_modules/micromark-util-subtokenize/package.json +60 -0
  1251. package/.output/server/node_modules/minimark/dist/hast.mjs +39 -0
  1252. package/.output/server/node_modules/minimark/package.json +40 -0
  1253. package/.output/server/node_modules/ms/index.js +162 -0
  1254. package/.output/server/node_modules/ms/package.json +38 -0
  1255. package/.output/server/node_modules/node-emoji/lib/index.js +174 -0
  1256. package/.output/server/node_modules/node-emoji/package.json +118 -0
  1257. package/.output/server/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -0
  1258. package/.output/server/node_modules/node-fetch-native/dist/index.mjs +1 -0
  1259. package/.output/server/node_modules/node-fetch-native/dist/node.mjs +19 -0
  1260. package/.output/server/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +1 -0
  1261. package/.output/server/node_modules/node-fetch-native/package.json +138 -0
  1262. package/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs +1 -0
  1263. package/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs +1 -0
  1264. package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -0
  1265. package/.output/server/node_modules/node-mock-http/package.json +63 -0
  1266. package/.output/server/node_modules/nth-check/lib/compile.js +121 -0
  1267. package/.output/server/node_modules/nth-check/lib/index.js +70 -0
  1268. package/.output/server/node_modules/nth-check/lib/parse.js +77 -0
  1269. package/.output/server/node_modules/nth-check/package.json +78 -0
  1270. package/.output/server/node_modules/oauth4webapi/build/index.js +2492 -0
  1271. package/.output/server/node_modules/oauth4webapi/package.json +105 -0
  1272. package/.output/server/node_modules/ofetch/dist/node.mjs +32 -0
  1273. package/.output/server/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs +333 -0
  1274. package/.output/server/node_modules/ofetch/package.json +96 -0
  1275. package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
  1276. package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
  1277. package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
  1278. package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
  1279. package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
  1280. package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
  1281. package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
  1282. package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
  1283. package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
  1284. package/.output/server/node_modules/openid-client/build/index.js +1310 -0
  1285. package/.output/server/node_modules/openid-client/package.json +122 -0
  1286. package/.output/server/node_modules/parse-entities/index.js +3 -0
  1287. package/.output/server/node_modules/parse-entities/lib/index.js +407 -0
  1288. package/.output/server/node_modules/parse-entities/package.json +91 -0
  1289. package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
  1290. package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
  1291. package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
  1292. package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
  1293. package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
  1294. package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
  1295. package/.output/server/node_modules/parse5/dist/index.js +42 -0
  1296. package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  1297. package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
  1298. package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  1299. package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
  1300. package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  1301. package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  1302. package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  1303. package/.output/server/node_modules/parse5/package.json +50 -0
  1304. package/.output/server/node_modules/pathe/dist/index.mjs +1 -0
  1305. package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
  1306. package/.output/server/node_modules/pathe/package.json +48 -0
  1307. package/.output/server/node_modules/pluralize/package.json +40 -0
  1308. package/.output/server/node_modules/pluralize/pluralize.js +503 -0
  1309. package/.output/server/node_modules/radix3/dist/index.mjs +262 -0
  1310. package/.output/server/node_modules/radix3/package.json +52 -0
  1311. package/.output/server/node_modules/regex/package.json +60 -0
  1312. package/.output/server/node_modules/regex/src/atomic.js +221 -0
  1313. package/.output/server/node_modules/regex/src/internals.js +2 -0
  1314. package/.output/server/node_modules/regex/src/subclass.js +98 -0
  1315. package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
  1316. package/.output/server/node_modules/regex-recursion/package.json +47 -0
  1317. package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
  1318. package/.output/server/node_modules/regex-utilities/package.json +35 -0
  1319. package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
  1320. package/.output/server/node_modules/rehype-external-links/index.js +10 -0
  1321. package/.output/server/node_modules/rehype-external-links/lib/index.js +179 -0
  1322. package/.output/server/node_modules/rehype-external-links/package.json +86 -0
  1323. package/.output/server/node_modules/rehype-minify-whitespace/index.js +47 -0
  1324. package/.output/server/node_modules/rehype-minify-whitespace/lib/index.js +26 -0
  1325. package/.output/server/node_modules/rehype-minify-whitespace/package.json +56 -0
  1326. package/.output/server/node_modules/rehype-raw/index.js +5 -0
  1327. package/.output/server/node_modules/rehype-raw/lib/index.js +36 -0
  1328. package/.output/server/node_modules/rehype-raw/package.json +82 -0
  1329. package/.output/server/node_modules/rehype-sort-attribute-values/index.js +29 -0
  1330. package/.output/server/node_modules/rehype-sort-attribute-values/lib/index.js +130 -0
  1331. package/.output/server/node_modules/rehype-sort-attribute-values/lib/schema.js +15 -0
  1332. package/.output/server/node_modules/rehype-sort-attribute-values/package.json +56 -0
  1333. package/.output/server/node_modules/rehype-sort-attributes/index.js +30 -0
  1334. package/.output/server/node_modules/rehype-sort-attributes/lib/index.js +120 -0
  1335. package/.output/server/node_modules/rehype-sort-attributes/package.json +54 -0
  1336. package/.output/server/node_modules/remark-emoji/index.js +76 -0
  1337. package/.output/server/node_modules/remark-emoji/package.json +85 -0
  1338. package/.output/server/node_modules/remark-gfm/index.js +2 -0
  1339. package/.output/server/node_modules/remark-gfm/lib/index.js +41 -0
  1340. package/.output/server/node_modules/remark-gfm/package.json +125 -0
  1341. package/.output/server/node_modules/remark-mdc/dist/index.mjs +2010 -0
  1342. package/.output/server/node_modules/remark-mdc/package.json +84 -0
  1343. package/.output/server/node_modules/remark-parse/index.js +2 -0
  1344. package/.output/server/node_modules/remark-parse/lib/index.js +43 -0
  1345. package/.output/server/node_modules/remark-parse/package.json +72 -0
  1346. package/.output/server/node_modules/remark-rehype/index.js +10 -0
  1347. package/.output/server/node_modules/remark-rehype/lib/index.js +175 -0
  1348. package/.output/server/node_modules/remark-rehype/package.json +86 -0
  1349. package/.output/server/node_modules/remark-stringify/index.js +2 -0
  1350. package/.output/server/node_modules/remark-stringify/lib/index.js +42 -0
  1351. package/.output/server/node_modules/remark-stringify/package.json +71 -0
  1352. package/.output/server/node_modules/safe-stable-stringify/esm/package.json +4 -0
  1353. package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
  1354. package/.output/server/node_modules/safe-stable-stringify/index.js +625 -0
  1355. package/.output/server/node_modules/safe-stable-stringify/package.json +65 -0
  1356. package/.output/server/node_modules/scule/dist/index.mjs +80 -0
  1357. package/.output/server/node_modules/scule/package.json +43 -0
  1358. package/.output/server/node_modules/secure-json-parse/index.js +126 -0
  1359. package/.output/server/node_modules/secure-json-parse/package.json +75 -0
  1360. package/.output/server/node_modules/semver/classes/semver.js +319 -0
  1361. package/.output/server/node_modules/semver/functions/coerce.js +62 -0
  1362. package/.output/server/node_modules/semver/functions/compare.js +7 -0
  1363. package/.output/server/node_modules/semver/functions/gte.js +5 -0
  1364. package/.output/server/node_modules/semver/functions/parse.js +18 -0
  1365. package/.output/server/node_modules/semver/internal/constants.js +37 -0
  1366. package/.output/server/node_modules/semver/internal/debug.js +11 -0
  1367. package/.output/server/node_modules/semver/internal/identifiers.js +25 -0
  1368. package/.output/server/node_modules/semver/internal/parse-options.js +17 -0
  1369. package/.output/server/node_modules/semver/internal/re.js +223 -0
  1370. package/.output/server/node_modules/semver/package.json +78 -0
  1371. package/.output/server/node_modules/sharp/build/Release/libglib-2.0-0.dll +0 -0
  1372. package/.output/server/node_modules/sharp/build/Release/libgobject-2.0-0.dll +0 -0
  1373. package/.output/server/node_modules/sharp/build/Release/libvips-42.dll +0 -0
  1374. package/.output/server/node_modules/sharp/build/Release/libvips-cpp.dll +0 -0
  1375. package/.output/server/node_modules/sharp/build/Release/sharp-win32-x64.node +0 -0
  1376. package/.output/server/node_modules/sharp/lib/channel.js +174 -0
  1377. package/.output/server/node_modules/sharp/lib/colour.js +184 -0
  1378. package/.output/server/node_modules/sharp/lib/composite.js +210 -0
  1379. package/.output/server/node_modules/sharp/lib/constructor.js +439 -0
  1380. package/.output/server/node_modules/sharp/lib/index.js +16 -0
  1381. package/.output/server/node_modules/sharp/lib/input.js +631 -0
  1382. package/.output/server/node_modules/sharp/lib/is.js +155 -0
  1383. package/.output/server/node_modules/sharp/lib/libvips.js +140 -0
  1384. package/.output/server/node_modules/sharp/lib/operation.js +919 -0
  1385. package/.output/server/node_modules/sharp/lib/output.js +1413 -0
  1386. package/.output/server/node_modules/sharp/lib/platform.js +30 -0
  1387. package/.output/server/node_modules/sharp/lib/resize.js +582 -0
  1388. package/.output/server/node_modules/sharp/lib/sharp.js +38 -0
  1389. package/.output/server/node_modules/sharp/lib/utility.js +287 -0
  1390. package/.output/server/node_modules/sharp/package.json +204 -0
  1391. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/THIRD-PARTY-NOTICES.md +43 -0
  1392. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/harfbuzz/hb-cplusplus.hh +223 -0
  1393. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/vips/vips8 +60 -0
  1394. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0-0.dll +0 -0
  1395. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0.lib +0 -0
  1396. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0-0.dll +0 -0
  1397. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0.lib +0 -0
  1398. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips-42.dll +0 -0
  1399. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips.lib +0 -0
  1400. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/platform.json +1 -0
  1401. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/versions.json +31 -0
  1402. package/.output/server/node_modules/shiki/dist/engine-javascript.mjs +1 -0
  1403. package/.output/server/node_modules/shiki/dist/engine-oniguruma.mjs +1 -0
  1404. package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
  1405. package/.output/server/node_modules/shiki/package.json +70 -0
  1406. package/.output/server/node_modules/simple-swizzle/index.js +29 -0
  1407. package/.output/server/node_modules/simple-swizzle/package.json +36 -0
  1408. package/.output/server/node_modules/skin-tone/index.js +25 -0
  1409. package/.output/server/node_modules/skin-tone/package.json +45 -0
  1410. package/.output/server/node_modules/slugify/package.json +42 -0
  1411. package/.output/server/node_modules/slugify/slugify.js +69 -0
  1412. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  1413. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  1414. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  1415. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  1416. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  1417. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  1418. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  1419. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  1420. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  1421. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  1422. package/.output/server/node_modules/source-map-js/package.json +71 -0
  1423. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  1424. package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
  1425. package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
  1426. package/.output/server/node_modules/sqlstring/index.js +1 -0
  1427. package/.output/server/node_modules/sqlstring/lib/SqlString.js +237 -0
  1428. package/.output/server/node_modules/sqlstring/package.json +47 -0
  1429. package/.output/server/node_modules/stringify-entities/index.js +6 -0
  1430. package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
  1431. package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
  1432. package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
  1433. package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
  1434. package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
  1435. package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
  1436. package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
  1437. package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
  1438. package/.output/server/node_modules/stringify-entities/package.json +86 -0
  1439. package/.output/server/node_modules/strnum/package.json +31 -0
  1440. package/.output/server/node_modules/strnum/strnum.js +129 -0
  1441. package/.output/server/node_modules/supports-color/index.js +135 -0
  1442. package/.output/server/node_modules/supports-color/package.json +53 -0
  1443. package/.output/server/node_modules/svgo/lib/builtin.js +57 -0
  1444. package/.output/server/node_modules/svgo/lib/parser.js +262 -0
  1445. package/.output/server/node_modules/svgo/lib/path.js +380 -0
  1446. package/.output/server/node_modules/svgo/lib/stringifier.js +295 -0
  1447. package/.output/server/node_modules/svgo/lib/style.js +336 -0
  1448. package/.output/server/node_modules/svgo/lib/svgo/css-select-adapter.js +120 -0
  1449. package/.output/server/node_modules/svgo/lib/svgo/plugins.js +61 -0
  1450. package/.output/server/node_modules/svgo/lib/svgo/tools.js +245 -0
  1451. package/.output/server/node_modules/svgo/lib/svgo-node.js +85 -0
  1452. package/.output/server/node_modules/svgo/lib/svgo.js +102 -0
  1453. package/.output/server/node_modules/svgo/lib/xast.js +87 -0
  1454. package/.output/server/node_modules/svgo/package.json +108 -0
  1455. package/.output/server/node_modules/svgo/plugins/_collections.js +2339 -0
  1456. package/.output/server/node_modules/svgo/plugins/_path.js +815 -0
  1457. package/.output/server/node_modules/svgo/plugins/_transforms.js +410 -0
  1458. package/.output/server/node_modules/svgo/plugins/addAttributesToSVGElement.js +82 -0
  1459. package/.output/server/node_modules/svgo/plugins/addClassesToSVGElement.js +82 -0
  1460. package/.output/server/node_modules/svgo/plugins/applyTransforms.js +388 -0
  1461. package/.output/server/node_modules/svgo/plugins/cleanupAttrs.js +49 -0
  1462. package/.output/server/node_modules/svgo/plugins/cleanupEnableBackground.js +165 -0
  1463. package/.output/server/node_modules/svgo/plugins/cleanupIds.js +265 -0
  1464. package/.output/server/node_modules/svgo/plugins/cleanupListOfValues.js +147 -0
  1465. package/.output/server/node_modules/svgo/plugins/cleanupNumericValues.js +106 -0
  1466. package/.output/server/node_modules/svgo/plugins/collapseGroups.js +134 -0
  1467. package/.output/server/node_modules/svgo/plugins/convertColors.js +144 -0
  1468. package/.output/server/node_modules/svgo/plugins/convertEllipseToCircle.js +37 -0
  1469. package/.output/server/node_modules/svgo/plugins/convertOneStopGradients.js +168 -0
  1470. package/.output/server/node_modules/svgo/plugins/convertPathData.js +1284 -0
  1471. package/.output/server/node_modules/svgo/plugins/convertShapeToPath.js +170 -0
  1472. package/.output/server/node_modules/svgo/plugins/convertStyleToAttrs.js +136 -0
  1473. package/.output/server/node_modules/svgo/plugins/convertTransform.js +418 -0
  1474. package/.output/server/node_modules/svgo/plugins/inlineStyles.js +390 -0
  1475. package/.output/server/node_modules/svgo/plugins/mergePaths.js +148 -0
  1476. package/.output/server/node_modules/svgo/plugins/mergeStyles.js +98 -0
  1477. package/.output/server/node_modules/svgo/plugins/minifyStyles.js +141 -0
  1478. package/.output/server/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +128 -0
  1479. package/.output/server/node_modules/svgo/plugins/moveGroupAttrsToElems.js +65 -0
  1480. package/.output/server/node_modules/svgo/plugins/prefixIds.js +268 -0
  1481. package/.output/server/node_modules/svgo/plugins/preset-default.js +82 -0
  1482. package/.output/server/node_modules/svgo/plugins/removeAttributesBySelector.js +97 -0
  1483. package/.output/server/node_modules/svgo/plugins/removeAttrs.js +151 -0
  1484. package/.output/server/node_modules/svgo/plugins/removeComments.js +51 -0
  1485. package/.output/server/node_modules/svgo/plugins/removeDesc.js +39 -0
  1486. package/.output/server/node_modules/svgo/plugins/removeDimensions.js +43 -0
  1487. package/.output/server/node_modules/svgo/plugins/removeDoctype.js +40 -0
  1488. package/.output/server/node_modules/svgo/plugins/removeEditorsNSData.js +64 -0
  1489. package/.output/server/node_modules/svgo/plugins/removeElementsByAttr.js +73 -0
  1490. package/.output/server/node_modules/svgo/plugins/removeEmptyAttrs.js +31 -0
  1491. package/.output/server/node_modules/svgo/plugins/removeEmptyContainers.js +59 -0
  1492. package/.output/server/node_modules/svgo/plugins/removeEmptyText.js +51 -0
  1493. package/.output/server/node_modules/svgo/plugins/removeHiddenElems.js +440 -0
  1494. package/.output/server/node_modules/svgo/plugins/removeMetadata.js +27 -0
  1495. package/.output/server/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +38 -0
  1496. package/.output/server/node_modules/svgo/plugins/removeOffCanvasPaths.js +136 -0
  1497. package/.output/server/node_modules/svgo/plugins/removeRasterImages.js +31 -0
  1498. package/.output/server/node_modules/svgo/plugins/removeScriptElement.js +70 -0
  1499. package/.output/server/node_modules/svgo/plugins/removeStyleElement.js +27 -0
  1500. package/.output/server/node_modules/svgo/plugins/removeTitle.js +27 -0
  1501. package/.output/server/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +212 -0
  1502. package/.output/server/node_modules/svgo/plugins/removeUnusedNS.js +59 -0
  1503. package/.output/server/node_modules/svgo/plugins/removeUselessDefs.js +65 -0
  1504. package/.output/server/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +139 -0
  1505. package/.output/server/node_modules/svgo/plugins/removeViewBox.js +49 -0
  1506. package/.output/server/node_modules/svgo/plugins/removeXMLNS.js +29 -0
  1507. package/.output/server/node_modules/svgo/plugins/removeXMLProcInst.js +28 -0
  1508. package/.output/server/node_modules/svgo/plugins/removeXlink.js +226 -0
  1509. package/.output/server/node_modules/svgo/plugins/reusePaths.js +195 -0
  1510. package/.output/server/node_modules/svgo/plugins/sortAttrs.js +108 -0
  1511. package/.output/server/node_modules/svgo/plugins/sortDefsChildren.js +58 -0
  1512. package/.output/server/node_modules/trim-lines/index.js +69 -0
  1513. package/.output/server/node_modules/trim-lines/package.json +67 -0
  1514. package/.output/server/node_modules/trim-trailing-lines/index.js +23 -0
  1515. package/.output/server/node_modules/trim-trailing-lines/package.json +65 -0
  1516. package/.output/server/node_modules/trough/index.js +9 -0
  1517. package/.output/server/node_modules/trough/lib/index.js +206 -0
  1518. package/.output/server/node_modules/trough/package.json +77 -0
  1519. package/.output/server/node_modules/truncatise/index.js +188 -0
  1520. package/.output/server/node_modules/truncatise/package.json +36 -0
  1521. package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
  1522. package/.output/server/node_modules/ufo/package.json +47 -0
  1523. package/.output/server/node_modules/ultrahtml/dist/index.js +1 -0
  1524. package/.output/server/node_modules/ultrahtml/package.json +79 -0
  1525. package/.output/server/node_modules/uncrypto/dist/crypto.node.mjs +16 -0
  1526. package/.output/server/node_modules/uncrypto/package.json +60 -0
  1527. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  1528. package/.output/server/node_modules/unhead/dist/server.mjs +689 -0
  1529. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  1530. package/.output/server/node_modules/unhead/dist/shared/unhead.BpRRHAhY.mjs +194 -0
  1531. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  1532. package/.output/server/node_modules/unhead/dist/shared/unhead.DH45uomy.mjs +180 -0
  1533. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  1534. package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
  1535. package/.output/server/node_modules/unhead/dist/shared/unhead.Djo8ep_Y.mjs +166 -0
  1536. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  1537. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  1538. package/.output/server/node_modules/unhead/package.json +101 -0
  1539. package/.output/server/node_modules/unicode-emoji-modifier-base/index.js +86 -0
  1540. package/.output/server/node_modules/unicode-emoji-modifier-base/package.json +44 -0
  1541. package/.output/server/node_modules/unified/index.js +2 -0
  1542. package/.output/server/node_modules/unified/lib/callable-instance.js +44 -0
  1543. package/.output/server/node_modules/unified/lib/index.js +1323 -0
  1544. package/.output/server/node_modules/unified/package.json +120 -0
  1545. package/.output/server/node_modules/unist-util-find-after/index.js +1 -0
  1546. package/.output/server/node_modules/unist-util-find-after/lib/index.js +130 -0
  1547. package/.output/server/node_modules/unist-util-find-after/package.json +84 -0
  1548. package/.output/server/node_modules/unist-util-is/index.js +7 -0
  1549. package/.output/server/node_modules/unist-util-is/lib/index.js +291 -0
  1550. package/.output/server/node_modules/unist-util-is/package.json +100 -0
  1551. package/.output/server/node_modules/unist-util-position/index.js +1 -0
  1552. package/.output/server/node_modules/unist-util-position/lib/index.js +95 -0
  1553. package/.output/server/node_modules/unist-util-position/package.json +76 -0
  1554. package/.output/server/node_modules/unist-util-stringify-position/index.js +1 -0
  1555. package/.output/server/node_modules/unist-util-stringify-position/lib/index.js +84 -0
  1556. package/.output/server/node_modules/unist-util-stringify-position/package.json +80 -0
  1557. package/.output/server/node_modules/unist-util-visit/index.js +2 -0
  1558. package/.output/server/node_modules/unist-util-visit/lib/index.js +313 -0
  1559. package/.output/server/node_modules/unist-util-visit/package.json +113 -0
  1560. package/.output/server/node_modules/unist-util-visit-parents/index.js +2 -0
  1561. package/.output/server/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
  1562. package/.output/server/node_modules/unist-util-visit-parents/lib/index.js +398 -0
  1563. package/.output/server/node_modules/unist-util-visit-parents/package.json +101 -0
  1564. package/.output/server/node_modules/vfile/index.js +2 -0
  1565. package/.output/server/node_modules/vfile/lib/index.js +643 -0
  1566. package/.output/server/node_modules/vfile/lib/minpath.js +1 -0
  1567. package/.output/server/node_modules/vfile/lib/minproc.js +1 -0
  1568. package/.output/server/node_modules/vfile/lib/minurl.js +2 -0
  1569. package/.output/server/node_modules/vfile/lib/minurl.shared.js +31 -0
  1570. package/.output/server/node_modules/vfile/package.json +134 -0
  1571. package/.output/server/node_modules/vfile-location/index.js +2 -0
  1572. package/.output/server/node_modules/vfile-location/lib/index.js +93 -0
  1573. package/.output/server/node_modules/vfile-location/package.json +115 -0
  1574. package/.output/server/node_modules/vfile-message/index.js +5 -0
  1575. package/.output/server/node_modules/vfile-message/lib/index.js +314 -0
  1576. package/.output/server/node_modules/vfile-message/package.json +80 -0
  1577. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  1578. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  1579. package/.output/server/node_modules/vue/index.js +7 -0
  1580. package/.output/server/node_modules/vue/index.mjs +1 -0
  1581. package/.output/server/node_modules/vue/package.json +112 -0
  1582. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  1583. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
  1584. package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
  1585. package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +1218 -0
  1586. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
  1587. package/.output/server/node_modules/vue-router/package.json +154 -0
  1588. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  1589. package/.output/server/node_modules/web-namespaces/index.js +13 -0
  1590. package/.output/server/node_modules/web-namespaces/package.json +81 -0
  1591. package/.output/server/node_modules/xss/lib/default.js +461 -0
  1592. package/.output/server/node_modules/xss/lib/index.js +51 -0
  1593. package/.output/server/node_modules/xss/lib/parser.js +257 -0
  1594. package/.output/server/node_modules/xss/lib/util.js +34 -0
  1595. package/.output/server/node_modules/xss/lib/xss.js +232 -0
  1596. package/.output/server/node_modules/xss/package.json +65 -0
  1597. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  1598. package/.output/server/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  1599. package/.output/server/node_modules/yaml/dist/compose/compose-node.js +105 -0
  1600. package/.output/server/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  1601. package/.output/server/node_modules/yaml/dist/compose/composer.js +222 -0
  1602. package/.output/server/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  1603. package/.output/server/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  1604. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  1605. package/.output/server/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  1606. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  1607. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  1608. package/.output/server/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  1609. package/.output/server/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  1610. package/.output/server/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  1611. package/.output/server/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  1612. package/.output/server/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  1613. package/.output/server/node_modules/yaml/dist/doc/Document.js +337 -0
  1614. package/.output/server/node_modules/yaml/dist/doc/anchors.js +76 -0
  1615. package/.output/server/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  1616. package/.output/server/node_modules/yaml/dist/doc/createNode.js +90 -0
  1617. package/.output/server/node_modules/yaml/dist/doc/directives.js +178 -0
  1618. package/.output/server/node_modules/yaml/dist/errors.js +62 -0
  1619. package/.output/server/node_modules/yaml/dist/index.js +50 -0
  1620. package/.output/server/node_modules/yaml/dist/log.js +19 -0
  1621. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +116 -0
  1622. package/.output/server/node_modules/yaml/dist/nodes/Collection.js +151 -0
  1623. package/.output/server/node_modules/yaml/dist/nodes/Node.js +40 -0
  1624. package/.output/server/node_modules/yaml/dist/nodes/Pair.js +39 -0
  1625. package/.output/server/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  1626. package/.output/server/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  1627. package/.output/server/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  1628. package/.output/server/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  1629. package/.output/server/node_modules/yaml/dist/nodes/identity.js +53 -0
  1630. package/.output/server/node_modules/yaml/dist/nodes/toJS.js +39 -0
  1631. package/.output/server/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  1632. package/.output/server/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  1633. package/.output/server/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  1634. package/.output/server/node_modules/yaml/dist/parse/cst.js +112 -0
  1635. package/.output/server/node_modules/yaml/dist/parse/lexer.js +719 -0
  1636. package/.output/server/node_modules/yaml/dist/parse/line-counter.js +41 -0
  1637. package/.output/server/node_modules/yaml/dist/parse/parser.js +972 -0
  1638. package/.output/server/node_modules/yaml/dist/public-api.js +107 -0
  1639. package/.output/server/node_modules/yaml/dist/schema/Schema.js +39 -0
  1640. package/.output/server/node_modules/yaml/dist/schema/common/map.js +19 -0
  1641. package/.output/server/node_modules/yaml/dist/schema/common/null.js +17 -0
  1642. package/.output/server/node_modules/yaml/dist/schema/common/seq.js +19 -0
  1643. package/.output/server/node_modules/yaml/dist/schema/common/string.js +16 -0
  1644. package/.output/server/node_modules/yaml/dist/schema/core/bool.js +21 -0
  1645. package/.output/server/node_modules/yaml/dist/schema/core/float.js +47 -0
  1646. package/.output/server/node_modules/yaml/dist/schema/core/int.js +42 -0
  1647. package/.output/server/node_modules/yaml/dist/schema/core/schema.js +25 -0
  1648. package/.output/server/node_modules/yaml/dist/schema/json/schema.js +64 -0
  1649. package/.output/server/node_modules/yaml/dist/schema/tags.js +99 -0
  1650. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  1651. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  1652. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  1653. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  1654. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  1655. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  1656. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  1657. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  1658. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  1659. package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  1660. package/.output/server/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  1661. package/.output/server/node_modules/yaml/dist/stringify/stringify.js +131 -0
  1662. package/.output/server/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  1663. package/.output/server/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  1664. package/.output/server/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  1665. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  1666. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  1667. package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  1668. package/.output/server/node_modules/yaml/dist/visit.js +236 -0
  1669. package/.output/server/node_modules/yaml/package.json +96 -0
  1670. package/.output/server/node_modules/zwitch/index.js +118 -0
  1671. package/.output/server/node_modules/zwitch/package.json +72 -0
  1672. package/.output/server/package.json +241 -0
  1673. package/README.md +4 -0
  1674. package/{app.vue → app/app.vue} +3 -2
  1675. package/{assets → app/assets}/css/ignis-open-props.css +4 -5
  1676. package/{components → app/components}/CurrentTime.vue +9 -2
  1677. package/{components/ignis/IgnisInfo.vue → app/components/ignis/IgnisContent.vue} +3 -3
  1678. package/{components/ignis/IgnisConfig.vue → app/components/ignis/IgnisContentConfig.vue} +5 -1
  1679. package/app/components/ignis/IgnisContentFeatures.vue +102 -0
  1680. package/{components/ignis/IgnisWelcome.vue → app/components/ignis/IgnisContentWelcome.vue} +3 -3
  1681. package/app/components/ignis/IgnisFooter.vue +24 -0
  1682. package/{composables → app/composables}/useTranslation.ts +2 -2
  1683. package/app/pages/_ignis-config.vue +3 -0
  1684. package/app/pages/_ignis-info.vue +3 -0
  1685. package/app/pages/_ignis-welcome.vue +3 -0
  1686. package/{pages → app/pages}/index.vue +2 -2
  1687. package/app/utils/date.ts +12 -0
  1688. package/{utils → app/utils}/i18n-sources.ts +2 -2
  1689. package/app/utils/validation.ts +25 -0
  1690. package/bin/cli.js +59 -0
  1691. package/bin/set-app-vue.js +18 -0
  1692. package/bin/set-css.js +18 -0
  1693. package/bin/set-eslint.js +16 -0
  1694. package/bin/setup.js +255 -0
  1695. package/content.config.ts +1 -1
  1696. package/eslint.config.mjs +0 -3
  1697. package/features.ts +52 -41
  1698. package/formkit.config.ts +1 -1
  1699. package/i18n/i18n.config.ts +2 -0
  1700. package/nuxt.config.ts +19 -21
  1701. package/package.json +30 -29
  1702. package/public/_ignis-config.json +1894 -3
  1703. package/test/config/css-multiple.txt +30 -24
  1704. package/test/config/css-nuxt-ui.txt +34 -28
  1705. package/test/config/css-open-props.txt +1812 -1763
  1706. package/test/config/css-single.txt +28 -22
  1707. package/test/config/css-tailwind.txt +55 -48
  1708. package/test/config/custom-lang.txt +27 -21
  1709. package/test/config/db-neon.txt +28 -22
  1710. package/test/config/db-supabase.txt +31 -25
  1711. package/test/config/default.txt +27 -21
  1712. package/test/config/equipment-1-composable.txt +33 -27
  1713. package/test/config/equipment-2-plugins.txt +34 -28
  1714. package/test/config/equipment-all.txt +38 -32
  1715. package/test/config/forms-formkit.txt +32 -26
  1716. package/test/config/forms-vueform.txt +28 -22
  1717. package/test/config/i18n.txt +36 -30
  1718. package/test/config/no-default-css.txt +24 -18
  1719. package/test/config/open-props.txt +1811 -1762
  1720. package/test/config/seo-ssr-false.txt +35 -29
  1721. package/test/config/ui-nuxt-ui.txt +33 -27
  1722. package/test/config/ui-tailwind.txt +54 -47
  1723. package/test/features.test.ts +34 -34
  1724. package/tsconfig.json +16 -5
  1725. package/vitest.config.ts +5 -0
  1726. package/vueform.config.ts +2 -0
  1727. package/.nuxt/i18n.options.mjs +0 -165
  1728. package/.nuxt/module/@nuxtjs-sitemap.d.ts +0 -29
  1729. package/.nuxt/nuxt-i18n-logger.mjs +0 -1
  1730. package/.nuxt/types/app-defaults.d.ts +0 -7
  1731. package/.nuxt/types/schema.d.ts +0 -1756
  1732. package/bin/make-eslint.js +0 -55
  1733. package/components/ignis/IgnisFeatureList.vue +0 -111
  1734. package/components/ignis/IgnisFooter.vue +0 -16
  1735. package/pages/_ignis-config.vue +0 -3
  1736. package/pages/_ignis-info.vue +0 -3
  1737. package/server/tsconfig.json +0 -3
  1738. /package/{assets → app/assets}/css/ignis-nuxt-ui.css +0 -0
  1739. /package/{assets → app/assets}/css/ignis-tailwind.css +0 -0
  1740. /package/{assets → app/assets}/css/ignis.css +0 -0
  1741. /package/{components/ignis/IgnisFeature.vue → app/components/ignis/IgnisContentFeaturesDetail.vue} +0 -0
  1742. /package/{components → app/components}/ignis/IgnisHeader.vue +0 -0
  1743. /package/{composables → app/composables}/useValibot.ts +0 -0
  1744. /package/{composables → app/composables}/useZod.ts +0 -0
  1745. /package/{plugins → app/plugins}/errorHandler.ts +0 -0
  1746. /package/{utils → app/utils}/config/content.ts +0 -0
  1747. /package/{utils → app/utils}/config/formkit.ts +0 -0
  1748. /package/{utils → app/utils}/config/vueform.ts +0 -0
  1749. /package/{utils → app/utils}/consola.ts +0 -0
  1750. /package/{utils → app/utils}/content.ts +0 -0
  1751. /package/{utils → app/utils}/formkit.ts +0 -0
  1752. /package/{utils → app/utils}/ignis-types.ts +0 -0
  1753. /package/{utils → app/utils}/pslo-utils.ts +0 -0
  1754. /package/{utils → app/utils}/tailwind.ts +0 -0
  1755. /package/{utils → app/utils}/vueform.ts +0 -0
@@ -0,0 +1,2710 @@
1
+ import { Preprocessor } from './preprocessor.js';
2
+ import { CODE_POINTS as $, SEQUENCES as $$, REPLACEMENT_CHARACTER, isSurrogate, isUndefinedCodePoint, isControlCodePoint, } from '../common/unicode.js';
3
+ import { TokenType, getTokenAttr, } from '../common/token.js';
4
+ import { htmlDecodeTree, EntityDecoder, DecodingMode } from 'entities/decode';
5
+ import { ERR } from '../common/error-codes.js';
6
+ import { TAG_ID, getTagID } from '../common/html.js';
7
+ //States
8
+ var State;
9
+ (function (State) {
10
+ State[State["DATA"] = 0] = "DATA";
11
+ State[State["RCDATA"] = 1] = "RCDATA";
12
+ State[State["RAWTEXT"] = 2] = "RAWTEXT";
13
+ State[State["SCRIPT_DATA"] = 3] = "SCRIPT_DATA";
14
+ State[State["PLAINTEXT"] = 4] = "PLAINTEXT";
15
+ State[State["TAG_OPEN"] = 5] = "TAG_OPEN";
16
+ State[State["END_TAG_OPEN"] = 6] = "END_TAG_OPEN";
17
+ State[State["TAG_NAME"] = 7] = "TAG_NAME";
18
+ State[State["RCDATA_LESS_THAN_SIGN"] = 8] = "RCDATA_LESS_THAN_SIGN";
19
+ State[State["RCDATA_END_TAG_OPEN"] = 9] = "RCDATA_END_TAG_OPEN";
20
+ State[State["RCDATA_END_TAG_NAME"] = 10] = "RCDATA_END_TAG_NAME";
21
+ State[State["RAWTEXT_LESS_THAN_SIGN"] = 11] = "RAWTEXT_LESS_THAN_SIGN";
22
+ State[State["RAWTEXT_END_TAG_OPEN"] = 12] = "RAWTEXT_END_TAG_OPEN";
23
+ State[State["RAWTEXT_END_TAG_NAME"] = 13] = "RAWTEXT_END_TAG_NAME";
24
+ State[State["SCRIPT_DATA_LESS_THAN_SIGN"] = 14] = "SCRIPT_DATA_LESS_THAN_SIGN";
25
+ State[State["SCRIPT_DATA_END_TAG_OPEN"] = 15] = "SCRIPT_DATA_END_TAG_OPEN";
26
+ State[State["SCRIPT_DATA_END_TAG_NAME"] = 16] = "SCRIPT_DATA_END_TAG_NAME";
27
+ State[State["SCRIPT_DATA_ESCAPE_START"] = 17] = "SCRIPT_DATA_ESCAPE_START";
28
+ State[State["SCRIPT_DATA_ESCAPE_START_DASH"] = 18] = "SCRIPT_DATA_ESCAPE_START_DASH";
29
+ State[State["SCRIPT_DATA_ESCAPED"] = 19] = "SCRIPT_DATA_ESCAPED";
30
+ State[State["SCRIPT_DATA_ESCAPED_DASH"] = 20] = "SCRIPT_DATA_ESCAPED_DASH";
31
+ State[State["SCRIPT_DATA_ESCAPED_DASH_DASH"] = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH";
32
+ State[State["SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN"] = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN";
33
+ State[State["SCRIPT_DATA_ESCAPED_END_TAG_OPEN"] = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN";
34
+ State[State["SCRIPT_DATA_ESCAPED_END_TAG_NAME"] = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME";
35
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPE_START"] = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START";
36
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPED"] = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED";
37
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPED_DASH"] = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH";
38
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH"] = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH";
39
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN"] = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN";
40
+ State[State["SCRIPT_DATA_DOUBLE_ESCAPE_END"] = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END";
41
+ State[State["BEFORE_ATTRIBUTE_NAME"] = 31] = "BEFORE_ATTRIBUTE_NAME";
42
+ State[State["ATTRIBUTE_NAME"] = 32] = "ATTRIBUTE_NAME";
43
+ State[State["AFTER_ATTRIBUTE_NAME"] = 33] = "AFTER_ATTRIBUTE_NAME";
44
+ State[State["BEFORE_ATTRIBUTE_VALUE"] = 34] = "BEFORE_ATTRIBUTE_VALUE";
45
+ State[State["ATTRIBUTE_VALUE_DOUBLE_QUOTED"] = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED";
46
+ State[State["ATTRIBUTE_VALUE_SINGLE_QUOTED"] = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED";
47
+ State[State["ATTRIBUTE_VALUE_UNQUOTED"] = 37] = "ATTRIBUTE_VALUE_UNQUOTED";
48
+ State[State["AFTER_ATTRIBUTE_VALUE_QUOTED"] = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED";
49
+ State[State["SELF_CLOSING_START_TAG"] = 39] = "SELF_CLOSING_START_TAG";
50
+ State[State["BOGUS_COMMENT"] = 40] = "BOGUS_COMMENT";
51
+ State[State["MARKUP_DECLARATION_OPEN"] = 41] = "MARKUP_DECLARATION_OPEN";
52
+ State[State["COMMENT_START"] = 42] = "COMMENT_START";
53
+ State[State["COMMENT_START_DASH"] = 43] = "COMMENT_START_DASH";
54
+ State[State["COMMENT"] = 44] = "COMMENT";
55
+ State[State["COMMENT_LESS_THAN_SIGN"] = 45] = "COMMENT_LESS_THAN_SIGN";
56
+ State[State["COMMENT_LESS_THAN_SIGN_BANG"] = 46] = "COMMENT_LESS_THAN_SIGN_BANG";
57
+ State[State["COMMENT_LESS_THAN_SIGN_BANG_DASH"] = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH";
58
+ State[State["COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH"] = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH";
59
+ State[State["COMMENT_END_DASH"] = 49] = "COMMENT_END_DASH";
60
+ State[State["COMMENT_END"] = 50] = "COMMENT_END";
61
+ State[State["COMMENT_END_BANG"] = 51] = "COMMENT_END_BANG";
62
+ State[State["DOCTYPE"] = 52] = "DOCTYPE";
63
+ State[State["BEFORE_DOCTYPE_NAME"] = 53] = "BEFORE_DOCTYPE_NAME";
64
+ State[State["DOCTYPE_NAME"] = 54] = "DOCTYPE_NAME";
65
+ State[State["AFTER_DOCTYPE_NAME"] = 55] = "AFTER_DOCTYPE_NAME";
66
+ State[State["AFTER_DOCTYPE_PUBLIC_KEYWORD"] = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD";
67
+ State[State["BEFORE_DOCTYPE_PUBLIC_IDENTIFIER"] = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER";
68
+ State[State["DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED"] = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED";
69
+ State[State["DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED"] = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED";
70
+ State[State["AFTER_DOCTYPE_PUBLIC_IDENTIFIER"] = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER";
71
+ State[State["BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS"] = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS";
72
+ State[State["AFTER_DOCTYPE_SYSTEM_KEYWORD"] = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD";
73
+ State[State["BEFORE_DOCTYPE_SYSTEM_IDENTIFIER"] = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER";
74
+ State[State["DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED"] = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED";
75
+ State[State["DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED"] = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED";
76
+ State[State["AFTER_DOCTYPE_SYSTEM_IDENTIFIER"] = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER";
77
+ State[State["BOGUS_DOCTYPE"] = 67] = "BOGUS_DOCTYPE";
78
+ State[State["CDATA_SECTION"] = 68] = "CDATA_SECTION";
79
+ State[State["CDATA_SECTION_BRACKET"] = 69] = "CDATA_SECTION_BRACKET";
80
+ State[State["CDATA_SECTION_END"] = 70] = "CDATA_SECTION_END";
81
+ State[State["CHARACTER_REFERENCE"] = 71] = "CHARACTER_REFERENCE";
82
+ State[State["AMBIGUOUS_AMPERSAND"] = 72] = "AMBIGUOUS_AMPERSAND";
83
+ })(State || (State = {}));
84
+ //Tokenizer initial states for different modes
85
+ export const TokenizerMode = {
86
+ DATA: State.DATA,
87
+ RCDATA: State.RCDATA,
88
+ RAWTEXT: State.RAWTEXT,
89
+ SCRIPT_DATA: State.SCRIPT_DATA,
90
+ PLAINTEXT: State.PLAINTEXT,
91
+ CDATA_SECTION: State.CDATA_SECTION,
92
+ };
93
+ //Utils
94
+ //OPTIMIZATION: these utility functions should not be moved out of this module. V8 Crankshaft will not inline
95
+ //this functions if they will be situated in another module due to context switch.
96
+ //Always perform inlining check before modifying this functions ('node --trace-inlining').
97
+ function isAsciiDigit(cp) {
98
+ return cp >= $.DIGIT_0 && cp <= $.DIGIT_9;
99
+ }
100
+ function isAsciiUpper(cp) {
101
+ return cp >= $.LATIN_CAPITAL_A && cp <= $.LATIN_CAPITAL_Z;
102
+ }
103
+ function isAsciiLower(cp) {
104
+ return cp >= $.LATIN_SMALL_A && cp <= $.LATIN_SMALL_Z;
105
+ }
106
+ function isAsciiLetter(cp) {
107
+ return isAsciiLower(cp) || isAsciiUpper(cp);
108
+ }
109
+ function isAsciiAlphaNumeric(cp) {
110
+ return isAsciiLetter(cp) || isAsciiDigit(cp);
111
+ }
112
+ function toAsciiLower(cp) {
113
+ return cp + 32;
114
+ }
115
+ function isWhitespace(cp) {
116
+ return cp === $.SPACE || cp === $.LINE_FEED || cp === $.TABULATION || cp === $.FORM_FEED;
117
+ }
118
+ function isScriptDataDoubleEscapeSequenceEnd(cp) {
119
+ return isWhitespace(cp) || cp === $.SOLIDUS || cp === $.GREATER_THAN_SIGN;
120
+ }
121
+ function getErrorForNumericCharacterReference(code) {
122
+ if (code === $.NULL) {
123
+ return ERR.nullCharacterReference;
124
+ }
125
+ else if (code > 1114111) {
126
+ return ERR.characterReferenceOutsideUnicodeRange;
127
+ }
128
+ else if (isSurrogate(code)) {
129
+ return ERR.surrogateCharacterReference;
130
+ }
131
+ else if (isUndefinedCodePoint(code)) {
132
+ return ERR.noncharacterCharacterReference;
133
+ }
134
+ else if (isControlCodePoint(code) || code === $.CARRIAGE_RETURN) {
135
+ return ERR.controlCharacterReference;
136
+ }
137
+ return null;
138
+ }
139
+ //Tokenizer
140
+ export class Tokenizer {
141
+ constructor(options, handler) {
142
+ this.options = options;
143
+ this.handler = handler;
144
+ this.paused = false;
145
+ /** Ensures that the parsing loop isn't run multiple times at once. */
146
+ this.inLoop = false;
147
+ /**
148
+ * Indicates that the current adjusted node exists, is not an element in the HTML namespace,
149
+ * and that it is not an integration point for either MathML or HTML.
150
+ *
151
+ * @see {@link https://html.spec.whatwg.org/multipage/parsing.html#tree-construction}
152
+ */
153
+ this.inForeignNode = false;
154
+ this.lastStartTagName = '';
155
+ this.active = false;
156
+ this.state = State.DATA;
157
+ this.returnState = State.DATA;
158
+ this.entityStartPos = 0;
159
+ this.consumedAfterSnapshot = -1;
160
+ this.currentCharacterToken = null;
161
+ this.currentToken = null;
162
+ this.currentAttr = { name: '', value: '' };
163
+ this.preprocessor = new Preprocessor(handler);
164
+ this.currentLocation = this.getCurrentLocation(-1);
165
+ this.entityDecoder = new EntityDecoder(htmlDecodeTree, (cp, consumed) => {
166
+ // Note: Set `pos` _before_ flushing, as flushing might drop
167
+ // the current chunk and invalidate `entityStartPos`.
168
+ this.preprocessor.pos = this.entityStartPos + consumed - 1;
169
+ this._flushCodePointConsumedAsCharacterReference(cp);
170
+ }, handler.onParseError
171
+ ? {
172
+ missingSemicolonAfterCharacterReference: () => {
173
+ this._err(ERR.missingSemicolonAfterCharacterReference, 1);
174
+ },
175
+ absenceOfDigitsInNumericCharacterReference: (consumed) => {
176
+ this._err(ERR.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + consumed);
177
+ },
178
+ validateNumericCharacterReference: (code) => {
179
+ const error = getErrorForNumericCharacterReference(code);
180
+ if (error)
181
+ this._err(error, 1);
182
+ },
183
+ }
184
+ : undefined);
185
+ }
186
+ //Errors
187
+ _err(code, cpOffset = 0) {
188
+ var _a, _b;
189
+ (_b = (_a = this.handler).onParseError) === null || _b === void 0 ? void 0 : _b.call(_a, this.preprocessor.getError(code, cpOffset));
190
+ }
191
+ // NOTE: `offset` may never run across line boundaries.
192
+ getCurrentLocation(offset) {
193
+ if (!this.options.sourceCodeLocationInfo) {
194
+ return null;
195
+ }
196
+ return {
197
+ startLine: this.preprocessor.line,
198
+ startCol: this.preprocessor.col - offset,
199
+ startOffset: this.preprocessor.offset - offset,
200
+ endLine: -1,
201
+ endCol: -1,
202
+ endOffset: -1,
203
+ };
204
+ }
205
+ _runParsingLoop() {
206
+ if (this.inLoop)
207
+ return;
208
+ this.inLoop = true;
209
+ while (this.active && !this.paused) {
210
+ this.consumedAfterSnapshot = 0;
211
+ const cp = this._consume();
212
+ if (!this._ensureHibernation()) {
213
+ this._callState(cp);
214
+ }
215
+ }
216
+ this.inLoop = false;
217
+ }
218
+ //API
219
+ pause() {
220
+ this.paused = true;
221
+ }
222
+ resume(writeCallback) {
223
+ if (!this.paused) {
224
+ throw new Error('Parser was already resumed');
225
+ }
226
+ this.paused = false;
227
+ // Necessary for synchronous resume.
228
+ if (this.inLoop)
229
+ return;
230
+ this._runParsingLoop();
231
+ if (!this.paused) {
232
+ writeCallback === null || writeCallback === void 0 ? void 0 : writeCallback();
233
+ }
234
+ }
235
+ write(chunk, isLastChunk, writeCallback) {
236
+ this.active = true;
237
+ this.preprocessor.write(chunk, isLastChunk);
238
+ this._runParsingLoop();
239
+ if (!this.paused) {
240
+ writeCallback === null || writeCallback === void 0 ? void 0 : writeCallback();
241
+ }
242
+ }
243
+ insertHtmlAtCurrentPos(chunk) {
244
+ this.active = true;
245
+ this.preprocessor.insertHtmlAtCurrentPos(chunk);
246
+ this._runParsingLoop();
247
+ }
248
+ //Hibernation
249
+ _ensureHibernation() {
250
+ if (this.preprocessor.endOfChunkHit) {
251
+ this.preprocessor.retreat(this.consumedAfterSnapshot);
252
+ this.consumedAfterSnapshot = 0;
253
+ this.active = false;
254
+ return true;
255
+ }
256
+ return false;
257
+ }
258
+ //Consumption
259
+ _consume() {
260
+ this.consumedAfterSnapshot++;
261
+ return this.preprocessor.advance();
262
+ }
263
+ _advanceBy(count) {
264
+ this.consumedAfterSnapshot += count;
265
+ for (let i = 0; i < count; i++) {
266
+ this.preprocessor.advance();
267
+ }
268
+ }
269
+ _consumeSequenceIfMatch(pattern, caseSensitive) {
270
+ if (this.preprocessor.startsWith(pattern, caseSensitive)) {
271
+ // We will already have consumed one character before calling this method.
272
+ this._advanceBy(pattern.length - 1);
273
+ return true;
274
+ }
275
+ return false;
276
+ }
277
+ //Token creation
278
+ _createStartTagToken() {
279
+ this.currentToken = {
280
+ type: TokenType.START_TAG,
281
+ tagName: '',
282
+ tagID: TAG_ID.UNKNOWN,
283
+ selfClosing: false,
284
+ ackSelfClosing: false,
285
+ attrs: [],
286
+ location: this.getCurrentLocation(1),
287
+ };
288
+ }
289
+ _createEndTagToken() {
290
+ this.currentToken = {
291
+ type: TokenType.END_TAG,
292
+ tagName: '',
293
+ tagID: TAG_ID.UNKNOWN,
294
+ selfClosing: false,
295
+ ackSelfClosing: false,
296
+ attrs: [],
297
+ location: this.getCurrentLocation(2),
298
+ };
299
+ }
300
+ _createCommentToken(offset) {
301
+ this.currentToken = {
302
+ type: TokenType.COMMENT,
303
+ data: '',
304
+ location: this.getCurrentLocation(offset),
305
+ };
306
+ }
307
+ _createDoctypeToken(initialName) {
308
+ this.currentToken = {
309
+ type: TokenType.DOCTYPE,
310
+ name: initialName,
311
+ forceQuirks: false,
312
+ publicId: null,
313
+ systemId: null,
314
+ location: this.currentLocation,
315
+ };
316
+ }
317
+ _createCharacterToken(type, chars) {
318
+ this.currentCharacterToken = {
319
+ type,
320
+ chars,
321
+ location: this.currentLocation,
322
+ };
323
+ }
324
+ //Tag attributes
325
+ _createAttr(attrNameFirstCh) {
326
+ this.currentAttr = {
327
+ name: attrNameFirstCh,
328
+ value: '',
329
+ };
330
+ this.currentLocation = this.getCurrentLocation(0);
331
+ }
332
+ _leaveAttrName() {
333
+ var _a;
334
+ var _b;
335
+ const token = this.currentToken;
336
+ if (getTokenAttr(token, this.currentAttr.name) === null) {
337
+ token.attrs.push(this.currentAttr);
338
+ if (token.location && this.currentLocation) {
339
+ const attrLocations = ((_a = (_b = token.location).attrs) !== null && _a !== void 0 ? _a : (_b.attrs = Object.create(null)));
340
+ attrLocations[this.currentAttr.name] = this.currentLocation;
341
+ // Set end location
342
+ this._leaveAttrValue();
343
+ }
344
+ }
345
+ else {
346
+ this._err(ERR.duplicateAttribute);
347
+ }
348
+ }
349
+ _leaveAttrValue() {
350
+ if (this.currentLocation) {
351
+ this.currentLocation.endLine = this.preprocessor.line;
352
+ this.currentLocation.endCol = this.preprocessor.col;
353
+ this.currentLocation.endOffset = this.preprocessor.offset;
354
+ }
355
+ }
356
+ //Token emission
357
+ prepareToken(ct) {
358
+ this._emitCurrentCharacterToken(ct.location);
359
+ this.currentToken = null;
360
+ if (ct.location) {
361
+ ct.location.endLine = this.preprocessor.line;
362
+ ct.location.endCol = this.preprocessor.col + 1;
363
+ ct.location.endOffset = this.preprocessor.offset + 1;
364
+ }
365
+ this.currentLocation = this.getCurrentLocation(-1);
366
+ }
367
+ emitCurrentTagToken() {
368
+ const ct = this.currentToken;
369
+ this.prepareToken(ct);
370
+ ct.tagID = getTagID(ct.tagName);
371
+ if (ct.type === TokenType.START_TAG) {
372
+ this.lastStartTagName = ct.tagName;
373
+ this.handler.onStartTag(ct);
374
+ }
375
+ else {
376
+ if (ct.attrs.length > 0) {
377
+ this._err(ERR.endTagWithAttributes);
378
+ }
379
+ if (ct.selfClosing) {
380
+ this._err(ERR.endTagWithTrailingSolidus);
381
+ }
382
+ this.handler.onEndTag(ct);
383
+ }
384
+ this.preprocessor.dropParsedChunk();
385
+ }
386
+ emitCurrentComment(ct) {
387
+ this.prepareToken(ct);
388
+ this.handler.onComment(ct);
389
+ this.preprocessor.dropParsedChunk();
390
+ }
391
+ emitCurrentDoctype(ct) {
392
+ this.prepareToken(ct);
393
+ this.handler.onDoctype(ct);
394
+ this.preprocessor.dropParsedChunk();
395
+ }
396
+ _emitCurrentCharacterToken(nextLocation) {
397
+ if (this.currentCharacterToken) {
398
+ //NOTE: if we have a pending character token, make it's end location equal to the
399
+ //current token's start location.
400
+ if (nextLocation && this.currentCharacterToken.location) {
401
+ this.currentCharacterToken.location.endLine = nextLocation.startLine;
402
+ this.currentCharacterToken.location.endCol = nextLocation.startCol;
403
+ this.currentCharacterToken.location.endOffset = nextLocation.startOffset;
404
+ }
405
+ switch (this.currentCharacterToken.type) {
406
+ case TokenType.CHARACTER: {
407
+ this.handler.onCharacter(this.currentCharacterToken);
408
+ break;
409
+ }
410
+ case TokenType.NULL_CHARACTER: {
411
+ this.handler.onNullCharacter(this.currentCharacterToken);
412
+ break;
413
+ }
414
+ case TokenType.WHITESPACE_CHARACTER: {
415
+ this.handler.onWhitespaceCharacter(this.currentCharacterToken);
416
+ break;
417
+ }
418
+ }
419
+ this.currentCharacterToken = null;
420
+ }
421
+ }
422
+ _emitEOFToken() {
423
+ const location = this.getCurrentLocation(0);
424
+ if (location) {
425
+ location.endLine = location.startLine;
426
+ location.endCol = location.startCol;
427
+ location.endOffset = location.startOffset;
428
+ }
429
+ this._emitCurrentCharacterToken(location);
430
+ this.handler.onEof({ type: TokenType.EOF, location });
431
+ this.active = false;
432
+ }
433
+ //Characters emission
434
+ //OPTIMIZATION: The specification uses only one type of character token (one token per character).
435
+ //This causes a huge memory overhead and a lot of unnecessary parser loops. parse5 uses 3 groups of characters.
436
+ //If we have a sequence of characters that belong to the same group, the parser can process it
437
+ //as a single solid character token.
438
+ //So, there are 3 types of character tokens in parse5:
439
+ //1)TokenType.NULL_CHARACTER - \u0000-character sequences (e.g. '\u0000\u0000\u0000')
440
+ //2)TokenType.WHITESPACE_CHARACTER - any whitespace/new-line character sequences (e.g. '\n \r\t \f')
441
+ //3)TokenType.CHARACTER - any character sequence which don't belong to groups 1 and 2 (e.g. 'abcdef1234@@#$%^')
442
+ _appendCharToCurrentCharacterToken(type, ch) {
443
+ if (this.currentCharacterToken) {
444
+ if (this.currentCharacterToken.type === type) {
445
+ this.currentCharacterToken.chars += ch;
446
+ return;
447
+ }
448
+ else {
449
+ this.currentLocation = this.getCurrentLocation(0);
450
+ this._emitCurrentCharacterToken(this.currentLocation);
451
+ this.preprocessor.dropParsedChunk();
452
+ }
453
+ }
454
+ this._createCharacterToken(type, ch);
455
+ }
456
+ _emitCodePoint(cp) {
457
+ const type = isWhitespace(cp)
458
+ ? TokenType.WHITESPACE_CHARACTER
459
+ : cp === $.NULL
460
+ ? TokenType.NULL_CHARACTER
461
+ : TokenType.CHARACTER;
462
+ this._appendCharToCurrentCharacterToken(type, String.fromCodePoint(cp));
463
+ }
464
+ //NOTE: used when we emit characters explicitly.
465
+ //This is always for non-whitespace and non-null characters, which allows us to avoid additional checks.
466
+ _emitChars(ch) {
467
+ this._appendCharToCurrentCharacterToken(TokenType.CHARACTER, ch);
468
+ }
469
+ // Character reference helpers
470
+ _startCharacterReference() {
471
+ this.returnState = this.state;
472
+ this.state = State.CHARACTER_REFERENCE;
473
+ this.entityStartPos = this.preprocessor.pos;
474
+ this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? DecodingMode.Attribute : DecodingMode.Legacy);
475
+ }
476
+ _isCharacterReferenceInAttribute() {
477
+ return (this.returnState === State.ATTRIBUTE_VALUE_DOUBLE_QUOTED ||
478
+ this.returnState === State.ATTRIBUTE_VALUE_SINGLE_QUOTED ||
479
+ this.returnState === State.ATTRIBUTE_VALUE_UNQUOTED);
480
+ }
481
+ _flushCodePointConsumedAsCharacterReference(cp) {
482
+ if (this._isCharacterReferenceInAttribute()) {
483
+ this.currentAttr.value += String.fromCodePoint(cp);
484
+ }
485
+ else {
486
+ this._emitCodePoint(cp);
487
+ }
488
+ }
489
+ // Calling states this way turns out to be much faster than any other approach.
490
+ _callState(cp) {
491
+ switch (this.state) {
492
+ case State.DATA: {
493
+ this._stateData(cp);
494
+ break;
495
+ }
496
+ case State.RCDATA: {
497
+ this._stateRcdata(cp);
498
+ break;
499
+ }
500
+ case State.RAWTEXT: {
501
+ this._stateRawtext(cp);
502
+ break;
503
+ }
504
+ case State.SCRIPT_DATA: {
505
+ this._stateScriptData(cp);
506
+ break;
507
+ }
508
+ case State.PLAINTEXT: {
509
+ this._statePlaintext(cp);
510
+ break;
511
+ }
512
+ case State.TAG_OPEN: {
513
+ this._stateTagOpen(cp);
514
+ break;
515
+ }
516
+ case State.END_TAG_OPEN: {
517
+ this._stateEndTagOpen(cp);
518
+ break;
519
+ }
520
+ case State.TAG_NAME: {
521
+ this._stateTagName(cp);
522
+ break;
523
+ }
524
+ case State.RCDATA_LESS_THAN_SIGN: {
525
+ this._stateRcdataLessThanSign(cp);
526
+ break;
527
+ }
528
+ case State.RCDATA_END_TAG_OPEN: {
529
+ this._stateRcdataEndTagOpen(cp);
530
+ break;
531
+ }
532
+ case State.RCDATA_END_TAG_NAME: {
533
+ this._stateRcdataEndTagName(cp);
534
+ break;
535
+ }
536
+ case State.RAWTEXT_LESS_THAN_SIGN: {
537
+ this._stateRawtextLessThanSign(cp);
538
+ break;
539
+ }
540
+ case State.RAWTEXT_END_TAG_OPEN: {
541
+ this._stateRawtextEndTagOpen(cp);
542
+ break;
543
+ }
544
+ case State.RAWTEXT_END_TAG_NAME: {
545
+ this._stateRawtextEndTagName(cp);
546
+ break;
547
+ }
548
+ case State.SCRIPT_DATA_LESS_THAN_SIGN: {
549
+ this._stateScriptDataLessThanSign(cp);
550
+ break;
551
+ }
552
+ case State.SCRIPT_DATA_END_TAG_OPEN: {
553
+ this._stateScriptDataEndTagOpen(cp);
554
+ break;
555
+ }
556
+ case State.SCRIPT_DATA_END_TAG_NAME: {
557
+ this._stateScriptDataEndTagName(cp);
558
+ break;
559
+ }
560
+ case State.SCRIPT_DATA_ESCAPE_START: {
561
+ this._stateScriptDataEscapeStart(cp);
562
+ break;
563
+ }
564
+ case State.SCRIPT_DATA_ESCAPE_START_DASH: {
565
+ this._stateScriptDataEscapeStartDash(cp);
566
+ break;
567
+ }
568
+ case State.SCRIPT_DATA_ESCAPED: {
569
+ this._stateScriptDataEscaped(cp);
570
+ break;
571
+ }
572
+ case State.SCRIPT_DATA_ESCAPED_DASH: {
573
+ this._stateScriptDataEscapedDash(cp);
574
+ break;
575
+ }
576
+ case State.SCRIPT_DATA_ESCAPED_DASH_DASH: {
577
+ this._stateScriptDataEscapedDashDash(cp);
578
+ break;
579
+ }
580
+ case State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN: {
581
+ this._stateScriptDataEscapedLessThanSign(cp);
582
+ break;
583
+ }
584
+ case State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN: {
585
+ this._stateScriptDataEscapedEndTagOpen(cp);
586
+ break;
587
+ }
588
+ case State.SCRIPT_DATA_ESCAPED_END_TAG_NAME: {
589
+ this._stateScriptDataEscapedEndTagName(cp);
590
+ break;
591
+ }
592
+ case State.SCRIPT_DATA_DOUBLE_ESCAPE_START: {
593
+ this._stateScriptDataDoubleEscapeStart(cp);
594
+ break;
595
+ }
596
+ case State.SCRIPT_DATA_DOUBLE_ESCAPED: {
597
+ this._stateScriptDataDoubleEscaped(cp);
598
+ break;
599
+ }
600
+ case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH: {
601
+ this._stateScriptDataDoubleEscapedDash(cp);
602
+ break;
603
+ }
604
+ case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH: {
605
+ this._stateScriptDataDoubleEscapedDashDash(cp);
606
+ break;
607
+ }
608
+ case State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN: {
609
+ this._stateScriptDataDoubleEscapedLessThanSign(cp);
610
+ break;
611
+ }
612
+ case State.SCRIPT_DATA_DOUBLE_ESCAPE_END: {
613
+ this._stateScriptDataDoubleEscapeEnd(cp);
614
+ break;
615
+ }
616
+ case State.BEFORE_ATTRIBUTE_NAME: {
617
+ this._stateBeforeAttributeName(cp);
618
+ break;
619
+ }
620
+ case State.ATTRIBUTE_NAME: {
621
+ this._stateAttributeName(cp);
622
+ break;
623
+ }
624
+ case State.AFTER_ATTRIBUTE_NAME: {
625
+ this._stateAfterAttributeName(cp);
626
+ break;
627
+ }
628
+ case State.BEFORE_ATTRIBUTE_VALUE: {
629
+ this._stateBeforeAttributeValue(cp);
630
+ break;
631
+ }
632
+ case State.ATTRIBUTE_VALUE_DOUBLE_QUOTED: {
633
+ this._stateAttributeValueDoubleQuoted(cp);
634
+ break;
635
+ }
636
+ case State.ATTRIBUTE_VALUE_SINGLE_QUOTED: {
637
+ this._stateAttributeValueSingleQuoted(cp);
638
+ break;
639
+ }
640
+ case State.ATTRIBUTE_VALUE_UNQUOTED: {
641
+ this._stateAttributeValueUnquoted(cp);
642
+ break;
643
+ }
644
+ case State.AFTER_ATTRIBUTE_VALUE_QUOTED: {
645
+ this._stateAfterAttributeValueQuoted(cp);
646
+ break;
647
+ }
648
+ case State.SELF_CLOSING_START_TAG: {
649
+ this._stateSelfClosingStartTag(cp);
650
+ break;
651
+ }
652
+ case State.BOGUS_COMMENT: {
653
+ this._stateBogusComment(cp);
654
+ break;
655
+ }
656
+ case State.MARKUP_DECLARATION_OPEN: {
657
+ this._stateMarkupDeclarationOpen(cp);
658
+ break;
659
+ }
660
+ case State.COMMENT_START: {
661
+ this._stateCommentStart(cp);
662
+ break;
663
+ }
664
+ case State.COMMENT_START_DASH: {
665
+ this._stateCommentStartDash(cp);
666
+ break;
667
+ }
668
+ case State.COMMENT: {
669
+ this._stateComment(cp);
670
+ break;
671
+ }
672
+ case State.COMMENT_LESS_THAN_SIGN: {
673
+ this._stateCommentLessThanSign(cp);
674
+ break;
675
+ }
676
+ case State.COMMENT_LESS_THAN_SIGN_BANG: {
677
+ this._stateCommentLessThanSignBang(cp);
678
+ break;
679
+ }
680
+ case State.COMMENT_LESS_THAN_SIGN_BANG_DASH: {
681
+ this._stateCommentLessThanSignBangDash(cp);
682
+ break;
683
+ }
684
+ case State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH: {
685
+ this._stateCommentLessThanSignBangDashDash(cp);
686
+ break;
687
+ }
688
+ case State.COMMENT_END_DASH: {
689
+ this._stateCommentEndDash(cp);
690
+ break;
691
+ }
692
+ case State.COMMENT_END: {
693
+ this._stateCommentEnd(cp);
694
+ break;
695
+ }
696
+ case State.COMMENT_END_BANG: {
697
+ this._stateCommentEndBang(cp);
698
+ break;
699
+ }
700
+ case State.DOCTYPE: {
701
+ this._stateDoctype(cp);
702
+ break;
703
+ }
704
+ case State.BEFORE_DOCTYPE_NAME: {
705
+ this._stateBeforeDoctypeName(cp);
706
+ break;
707
+ }
708
+ case State.DOCTYPE_NAME: {
709
+ this._stateDoctypeName(cp);
710
+ break;
711
+ }
712
+ case State.AFTER_DOCTYPE_NAME: {
713
+ this._stateAfterDoctypeName(cp);
714
+ break;
715
+ }
716
+ case State.AFTER_DOCTYPE_PUBLIC_KEYWORD: {
717
+ this._stateAfterDoctypePublicKeyword(cp);
718
+ break;
719
+ }
720
+ case State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER: {
721
+ this._stateBeforeDoctypePublicIdentifier(cp);
722
+ break;
723
+ }
724
+ case State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED: {
725
+ this._stateDoctypePublicIdentifierDoubleQuoted(cp);
726
+ break;
727
+ }
728
+ case State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED: {
729
+ this._stateDoctypePublicIdentifierSingleQuoted(cp);
730
+ break;
731
+ }
732
+ case State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER: {
733
+ this._stateAfterDoctypePublicIdentifier(cp);
734
+ break;
735
+ }
736
+ case State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS: {
737
+ this._stateBetweenDoctypePublicAndSystemIdentifiers(cp);
738
+ break;
739
+ }
740
+ case State.AFTER_DOCTYPE_SYSTEM_KEYWORD: {
741
+ this._stateAfterDoctypeSystemKeyword(cp);
742
+ break;
743
+ }
744
+ case State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER: {
745
+ this._stateBeforeDoctypeSystemIdentifier(cp);
746
+ break;
747
+ }
748
+ case State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED: {
749
+ this._stateDoctypeSystemIdentifierDoubleQuoted(cp);
750
+ break;
751
+ }
752
+ case State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED: {
753
+ this._stateDoctypeSystemIdentifierSingleQuoted(cp);
754
+ break;
755
+ }
756
+ case State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER: {
757
+ this._stateAfterDoctypeSystemIdentifier(cp);
758
+ break;
759
+ }
760
+ case State.BOGUS_DOCTYPE: {
761
+ this._stateBogusDoctype(cp);
762
+ break;
763
+ }
764
+ case State.CDATA_SECTION: {
765
+ this._stateCdataSection(cp);
766
+ break;
767
+ }
768
+ case State.CDATA_SECTION_BRACKET: {
769
+ this._stateCdataSectionBracket(cp);
770
+ break;
771
+ }
772
+ case State.CDATA_SECTION_END: {
773
+ this._stateCdataSectionEnd(cp);
774
+ break;
775
+ }
776
+ case State.CHARACTER_REFERENCE: {
777
+ this._stateCharacterReference();
778
+ break;
779
+ }
780
+ case State.AMBIGUOUS_AMPERSAND: {
781
+ this._stateAmbiguousAmpersand(cp);
782
+ break;
783
+ }
784
+ default: {
785
+ throw new Error('Unknown state');
786
+ }
787
+ }
788
+ }
789
+ // State machine
790
+ // Data state
791
+ //------------------------------------------------------------------
792
+ _stateData(cp) {
793
+ switch (cp) {
794
+ case $.LESS_THAN_SIGN: {
795
+ this.state = State.TAG_OPEN;
796
+ break;
797
+ }
798
+ case $.AMPERSAND: {
799
+ this._startCharacterReference();
800
+ break;
801
+ }
802
+ case $.NULL: {
803
+ this._err(ERR.unexpectedNullCharacter);
804
+ this._emitCodePoint(cp);
805
+ break;
806
+ }
807
+ case $.EOF: {
808
+ this._emitEOFToken();
809
+ break;
810
+ }
811
+ default: {
812
+ this._emitCodePoint(cp);
813
+ }
814
+ }
815
+ }
816
+ // RCDATA state
817
+ //------------------------------------------------------------------
818
+ _stateRcdata(cp) {
819
+ switch (cp) {
820
+ case $.AMPERSAND: {
821
+ this._startCharacterReference();
822
+ break;
823
+ }
824
+ case $.LESS_THAN_SIGN: {
825
+ this.state = State.RCDATA_LESS_THAN_SIGN;
826
+ break;
827
+ }
828
+ case $.NULL: {
829
+ this._err(ERR.unexpectedNullCharacter);
830
+ this._emitChars(REPLACEMENT_CHARACTER);
831
+ break;
832
+ }
833
+ case $.EOF: {
834
+ this._emitEOFToken();
835
+ break;
836
+ }
837
+ default: {
838
+ this._emitCodePoint(cp);
839
+ }
840
+ }
841
+ }
842
+ // RAWTEXT state
843
+ //------------------------------------------------------------------
844
+ _stateRawtext(cp) {
845
+ switch (cp) {
846
+ case $.LESS_THAN_SIGN: {
847
+ this.state = State.RAWTEXT_LESS_THAN_SIGN;
848
+ break;
849
+ }
850
+ case $.NULL: {
851
+ this._err(ERR.unexpectedNullCharacter);
852
+ this._emitChars(REPLACEMENT_CHARACTER);
853
+ break;
854
+ }
855
+ case $.EOF: {
856
+ this._emitEOFToken();
857
+ break;
858
+ }
859
+ default: {
860
+ this._emitCodePoint(cp);
861
+ }
862
+ }
863
+ }
864
+ // Script data state
865
+ //------------------------------------------------------------------
866
+ _stateScriptData(cp) {
867
+ switch (cp) {
868
+ case $.LESS_THAN_SIGN: {
869
+ this.state = State.SCRIPT_DATA_LESS_THAN_SIGN;
870
+ break;
871
+ }
872
+ case $.NULL: {
873
+ this._err(ERR.unexpectedNullCharacter);
874
+ this._emitChars(REPLACEMENT_CHARACTER);
875
+ break;
876
+ }
877
+ case $.EOF: {
878
+ this._emitEOFToken();
879
+ break;
880
+ }
881
+ default: {
882
+ this._emitCodePoint(cp);
883
+ }
884
+ }
885
+ }
886
+ // PLAINTEXT state
887
+ //------------------------------------------------------------------
888
+ _statePlaintext(cp) {
889
+ switch (cp) {
890
+ case $.NULL: {
891
+ this._err(ERR.unexpectedNullCharacter);
892
+ this._emitChars(REPLACEMENT_CHARACTER);
893
+ break;
894
+ }
895
+ case $.EOF: {
896
+ this._emitEOFToken();
897
+ break;
898
+ }
899
+ default: {
900
+ this._emitCodePoint(cp);
901
+ }
902
+ }
903
+ }
904
+ // Tag open state
905
+ //------------------------------------------------------------------
906
+ _stateTagOpen(cp) {
907
+ if (isAsciiLetter(cp)) {
908
+ this._createStartTagToken();
909
+ this.state = State.TAG_NAME;
910
+ this._stateTagName(cp);
911
+ }
912
+ else
913
+ switch (cp) {
914
+ case $.EXCLAMATION_MARK: {
915
+ this.state = State.MARKUP_DECLARATION_OPEN;
916
+ break;
917
+ }
918
+ case $.SOLIDUS: {
919
+ this.state = State.END_TAG_OPEN;
920
+ break;
921
+ }
922
+ case $.QUESTION_MARK: {
923
+ this._err(ERR.unexpectedQuestionMarkInsteadOfTagName);
924
+ this._createCommentToken(1);
925
+ this.state = State.BOGUS_COMMENT;
926
+ this._stateBogusComment(cp);
927
+ break;
928
+ }
929
+ case $.EOF: {
930
+ this._err(ERR.eofBeforeTagName);
931
+ this._emitChars('<');
932
+ this._emitEOFToken();
933
+ break;
934
+ }
935
+ default: {
936
+ this._err(ERR.invalidFirstCharacterOfTagName);
937
+ this._emitChars('<');
938
+ this.state = State.DATA;
939
+ this._stateData(cp);
940
+ }
941
+ }
942
+ }
943
+ // End tag open state
944
+ //------------------------------------------------------------------
945
+ _stateEndTagOpen(cp) {
946
+ if (isAsciiLetter(cp)) {
947
+ this._createEndTagToken();
948
+ this.state = State.TAG_NAME;
949
+ this._stateTagName(cp);
950
+ }
951
+ else
952
+ switch (cp) {
953
+ case $.GREATER_THAN_SIGN: {
954
+ this._err(ERR.missingEndTagName);
955
+ this.state = State.DATA;
956
+ break;
957
+ }
958
+ case $.EOF: {
959
+ this._err(ERR.eofBeforeTagName);
960
+ this._emitChars('</');
961
+ this._emitEOFToken();
962
+ break;
963
+ }
964
+ default: {
965
+ this._err(ERR.invalidFirstCharacterOfTagName);
966
+ this._createCommentToken(2);
967
+ this.state = State.BOGUS_COMMENT;
968
+ this._stateBogusComment(cp);
969
+ }
970
+ }
971
+ }
972
+ // Tag name state
973
+ //------------------------------------------------------------------
974
+ _stateTagName(cp) {
975
+ const token = this.currentToken;
976
+ switch (cp) {
977
+ case $.SPACE:
978
+ case $.LINE_FEED:
979
+ case $.TABULATION:
980
+ case $.FORM_FEED: {
981
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
982
+ break;
983
+ }
984
+ case $.SOLIDUS: {
985
+ this.state = State.SELF_CLOSING_START_TAG;
986
+ break;
987
+ }
988
+ case $.GREATER_THAN_SIGN: {
989
+ this.state = State.DATA;
990
+ this.emitCurrentTagToken();
991
+ break;
992
+ }
993
+ case $.NULL: {
994
+ this._err(ERR.unexpectedNullCharacter);
995
+ token.tagName += REPLACEMENT_CHARACTER;
996
+ break;
997
+ }
998
+ case $.EOF: {
999
+ this._err(ERR.eofInTag);
1000
+ this._emitEOFToken();
1001
+ break;
1002
+ }
1003
+ default: {
1004
+ token.tagName += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);
1005
+ }
1006
+ }
1007
+ }
1008
+ // RCDATA less-than sign state
1009
+ //------------------------------------------------------------------
1010
+ _stateRcdataLessThanSign(cp) {
1011
+ if (cp === $.SOLIDUS) {
1012
+ this.state = State.RCDATA_END_TAG_OPEN;
1013
+ }
1014
+ else {
1015
+ this._emitChars('<');
1016
+ this.state = State.RCDATA;
1017
+ this._stateRcdata(cp);
1018
+ }
1019
+ }
1020
+ // RCDATA end tag open state
1021
+ //------------------------------------------------------------------
1022
+ _stateRcdataEndTagOpen(cp) {
1023
+ if (isAsciiLetter(cp)) {
1024
+ this.state = State.RCDATA_END_TAG_NAME;
1025
+ this._stateRcdataEndTagName(cp);
1026
+ }
1027
+ else {
1028
+ this._emitChars('</');
1029
+ this.state = State.RCDATA;
1030
+ this._stateRcdata(cp);
1031
+ }
1032
+ }
1033
+ handleSpecialEndTag(_cp) {
1034
+ if (!this.preprocessor.startsWith(this.lastStartTagName, false)) {
1035
+ return !this._ensureHibernation();
1036
+ }
1037
+ this._createEndTagToken();
1038
+ const token = this.currentToken;
1039
+ token.tagName = this.lastStartTagName;
1040
+ const cp = this.preprocessor.peek(this.lastStartTagName.length);
1041
+ switch (cp) {
1042
+ case $.SPACE:
1043
+ case $.LINE_FEED:
1044
+ case $.TABULATION:
1045
+ case $.FORM_FEED: {
1046
+ this._advanceBy(this.lastStartTagName.length);
1047
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
1048
+ return false;
1049
+ }
1050
+ case $.SOLIDUS: {
1051
+ this._advanceBy(this.lastStartTagName.length);
1052
+ this.state = State.SELF_CLOSING_START_TAG;
1053
+ return false;
1054
+ }
1055
+ case $.GREATER_THAN_SIGN: {
1056
+ this._advanceBy(this.lastStartTagName.length);
1057
+ this.emitCurrentTagToken();
1058
+ this.state = State.DATA;
1059
+ return false;
1060
+ }
1061
+ default: {
1062
+ return !this._ensureHibernation();
1063
+ }
1064
+ }
1065
+ }
1066
+ // RCDATA end tag name state
1067
+ //------------------------------------------------------------------
1068
+ _stateRcdataEndTagName(cp) {
1069
+ if (this.handleSpecialEndTag(cp)) {
1070
+ this._emitChars('</');
1071
+ this.state = State.RCDATA;
1072
+ this._stateRcdata(cp);
1073
+ }
1074
+ }
1075
+ // RAWTEXT less-than sign state
1076
+ //------------------------------------------------------------------
1077
+ _stateRawtextLessThanSign(cp) {
1078
+ if (cp === $.SOLIDUS) {
1079
+ this.state = State.RAWTEXT_END_TAG_OPEN;
1080
+ }
1081
+ else {
1082
+ this._emitChars('<');
1083
+ this.state = State.RAWTEXT;
1084
+ this._stateRawtext(cp);
1085
+ }
1086
+ }
1087
+ // RAWTEXT end tag open state
1088
+ //------------------------------------------------------------------
1089
+ _stateRawtextEndTagOpen(cp) {
1090
+ if (isAsciiLetter(cp)) {
1091
+ this.state = State.RAWTEXT_END_TAG_NAME;
1092
+ this._stateRawtextEndTagName(cp);
1093
+ }
1094
+ else {
1095
+ this._emitChars('</');
1096
+ this.state = State.RAWTEXT;
1097
+ this._stateRawtext(cp);
1098
+ }
1099
+ }
1100
+ // RAWTEXT end tag name state
1101
+ //------------------------------------------------------------------
1102
+ _stateRawtextEndTagName(cp) {
1103
+ if (this.handleSpecialEndTag(cp)) {
1104
+ this._emitChars('</');
1105
+ this.state = State.RAWTEXT;
1106
+ this._stateRawtext(cp);
1107
+ }
1108
+ }
1109
+ // Script data less-than sign state
1110
+ //------------------------------------------------------------------
1111
+ _stateScriptDataLessThanSign(cp) {
1112
+ switch (cp) {
1113
+ case $.SOLIDUS: {
1114
+ this.state = State.SCRIPT_DATA_END_TAG_OPEN;
1115
+ break;
1116
+ }
1117
+ case $.EXCLAMATION_MARK: {
1118
+ this.state = State.SCRIPT_DATA_ESCAPE_START;
1119
+ this._emitChars('<!');
1120
+ break;
1121
+ }
1122
+ default: {
1123
+ this._emitChars('<');
1124
+ this.state = State.SCRIPT_DATA;
1125
+ this._stateScriptData(cp);
1126
+ }
1127
+ }
1128
+ }
1129
+ // Script data end tag open state
1130
+ //------------------------------------------------------------------
1131
+ _stateScriptDataEndTagOpen(cp) {
1132
+ if (isAsciiLetter(cp)) {
1133
+ this.state = State.SCRIPT_DATA_END_TAG_NAME;
1134
+ this._stateScriptDataEndTagName(cp);
1135
+ }
1136
+ else {
1137
+ this._emitChars('</');
1138
+ this.state = State.SCRIPT_DATA;
1139
+ this._stateScriptData(cp);
1140
+ }
1141
+ }
1142
+ // Script data end tag name state
1143
+ //------------------------------------------------------------------
1144
+ _stateScriptDataEndTagName(cp) {
1145
+ if (this.handleSpecialEndTag(cp)) {
1146
+ this._emitChars('</');
1147
+ this.state = State.SCRIPT_DATA;
1148
+ this._stateScriptData(cp);
1149
+ }
1150
+ }
1151
+ // Script data escape start state
1152
+ //------------------------------------------------------------------
1153
+ _stateScriptDataEscapeStart(cp) {
1154
+ if (cp === $.HYPHEN_MINUS) {
1155
+ this.state = State.SCRIPT_DATA_ESCAPE_START_DASH;
1156
+ this._emitChars('-');
1157
+ }
1158
+ else {
1159
+ this.state = State.SCRIPT_DATA;
1160
+ this._stateScriptData(cp);
1161
+ }
1162
+ }
1163
+ // Script data escape start dash state
1164
+ //------------------------------------------------------------------
1165
+ _stateScriptDataEscapeStartDash(cp) {
1166
+ if (cp === $.HYPHEN_MINUS) {
1167
+ this.state = State.SCRIPT_DATA_ESCAPED_DASH_DASH;
1168
+ this._emitChars('-');
1169
+ }
1170
+ else {
1171
+ this.state = State.SCRIPT_DATA;
1172
+ this._stateScriptData(cp);
1173
+ }
1174
+ }
1175
+ // Script data escaped state
1176
+ //------------------------------------------------------------------
1177
+ _stateScriptDataEscaped(cp) {
1178
+ switch (cp) {
1179
+ case $.HYPHEN_MINUS: {
1180
+ this.state = State.SCRIPT_DATA_ESCAPED_DASH;
1181
+ this._emitChars('-');
1182
+ break;
1183
+ }
1184
+ case $.LESS_THAN_SIGN: {
1185
+ this.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
1186
+ break;
1187
+ }
1188
+ case $.NULL: {
1189
+ this._err(ERR.unexpectedNullCharacter);
1190
+ this._emitChars(REPLACEMENT_CHARACTER);
1191
+ break;
1192
+ }
1193
+ case $.EOF: {
1194
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1195
+ this._emitEOFToken();
1196
+ break;
1197
+ }
1198
+ default: {
1199
+ this._emitCodePoint(cp);
1200
+ }
1201
+ }
1202
+ }
1203
+ // Script data escaped dash state
1204
+ //------------------------------------------------------------------
1205
+ _stateScriptDataEscapedDash(cp) {
1206
+ switch (cp) {
1207
+ case $.HYPHEN_MINUS: {
1208
+ this.state = State.SCRIPT_DATA_ESCAPED_DASH_DASH;
1209
+ this._emitChars('-');
1210
+ break;
1211
+ }
1212
+ case $.LESS_THAN_SIGN: {
1213
+ this.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
1214
+ break;
1215
+ }
1216
+ case $.NULL: {
1217
+ this._err(ERR.unexpectedNullCharacter);
1218
+ this.state = State.SCRIPT_DATA_ESCAPED;
1219
+ this._emitChars(REPLACEMENT_CHARACTER);
1220
+ break;
1221
+ }
1222
+ case $.EOF: {
1223
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1224
+ this._emitEOFToken();
1225
+ break;
1226
+ }
1227
+ default: {
1228
+ this.state = State.SCRIPT_DATA_ESCAPED;
1229
+ this._emitCodePoint(cp);
1230
+ }
1231
+ }
1232
+ }
1233
+ // Script data escaped dash dash state
1234
+ //------------------------------------------------------------------
1235
+ _stateScriptDataEscapedDashDash(cp) {
1236
+ switch (cp) {
1237
+ case $.HYPHEN_MINUS: {
1238
+ this._emitChars('-');
1239
+ break;
1240
+ }
1241
+ case $.LESS_THAN_SIGN: {
1242
+ this.state = State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
1243
+ break;
1244
+ }
1245
+ case $.GREATER_THAN_SIGN: {
1246
+ this.state = State.SCRIPT_DATA;
1247
+ this._emitChars('>');
1248
+ break;
1249
+ }
1250
+ case $.NULL: {
1251
+ this._err(ERR.unexpectedNullCharacter);
1252
+ this.state = State.SCRIPT_DATA_ESCAPED;
1253
+ this._emitChars(REPLACEMENT_CHARACTER);
1254
+ break;
1255
+ }
1256
+ case $.EOF: {
1257
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1258
+ this._emitEOFToken();
1259
+ break;
1260
+ }
1261
+ default: {
1262
+ this.state = State.SCRIPT_DATA_ESCAPED;
1263
+ this._emitCodePoint(cp);
1264
+ }
1265
+ }
1266
+ }
1267
+ // Script data escaped less-than sign state
1268
+ //------------------------------------------------------------------
1269
+ _stateScriptDataEscapedLessThanSign(cp) {
1270
+ if (cp === $.SOLIDUS) {
1271
+ this.state = State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN;
1272
+ }
1273
+ else if (isAsciiLetter(cp)) {
1274
+ this._emitChars('<');
1275
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPE_START;
1276
+ this._stateScriptDataDoubleEscapeStart(cp);
1277
+ }
1278
+ else {
1279
+ this._emitChars('<');
1280
+ this.state = State.SCRIPT_DATA_ESCAPED;
1281
+ this._stateScriptDataEscaped(cp);
1282
+ }
1283
+ }
1284
+ // Script data escaped end tag open state
1285
+ //------------------------------------------------------------------
1286
+ _stateScriptDataEscapedEndTagOpen(cp) {
1287
+ if (isAsciiLetter(cp)) {
1288
+ this.state = State.SCRIPT_DATA_ESCAPED_END_TAG_NAME;
1289
+ this._stateScriptDataEscapedEndTagName(cp);
1290
+ }
1291
+ else {
1292
+ this._emitChars('</');
1293
+ this.state = State.SCRIPT_DATA_ESCAPED;
1294
+ this._stateScriptDataEscaped(cp);
1295
+ }
1296
+ }
1297
+ // Script data escaped end tag name state
1298
+ //------------------------------------------------------------------
1299
+ _stateScriptDataEscapedEndTagName(cp) {
1300
+ if (this.handleSpecialEndTag(cp)) {
1301
+ this._emitChars('</');
1302
+ this.state = State.SCRIPT_DATA_ESCAPED;
1303
+ this._stateScriptDataEscaped(cp);
1304
+ }
1305
+ }
1306
+ // Script data double escape start state
1307
+ //------------------------------------------------------------------
1308
+ _stateScriptDataDoubleEscapeStart(cp) {
1309
+ if (this.preprocessor.startsWith($$.SCRIPT, false) &&
1310
+ isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek($$.SCRIPT.length))) {
1311
+ this._emitCodePoint(cp);
1312
+ for (let i = 0; i < $$.SCRIPT.length; i++) {
1313
+ this._emitCodePoint(this._consume());
1314
+ }
1315
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1316
+ }
1317
+ else if (!this._ensureHibernation()) {
1318
+ this.state = State.SCRIPT_DATA_ESCAPED;
1319
+ this._stateScriptDataEscaped(cp);
1320
+ }
1321
+ }
1322
+ // Script data double escaped state
1323
+ //------------------------------------------------------------------
1324
+ _stateScriptDataDoubleEscaped(cp) {
1325
+ switch (cp) {
1326
+ case $.HYPHEN_MINUS: {
1327
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH;
1328
+ this._emitChars('-');
1329
+ break;
1330
+ }
1331
+ case $.LESS_THAN_SIGN: {
1332
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;
1333
+ this._emitChars('<');
1334
+ break;
1335
+ }
1336
+ case $.NULL: {
1337
+ this._err(ERR.unexpectedNullCharacter);
1338
+ this._emitChars(REPLACEMENT_CHARACTER);
1339
+ break;
1340
+ }
1341
+ case $.EOF: {
1342
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1343
+ this._emitEOFToken();
1344
+ break;
1345
+ }
1346
+ default: {
1347
+ this._emitCodePoint(cp);
1348
+ }
1349
+ }
1350
+ }
1351
+ // Script data double escaped dash state
1352
+ //------------------------------------------------------------------
1353
+ _stateScriptDataDoubleEscapedDash(cp) {
1354
+ switch (cp) {
1355
+ case $.HYPHEN_MINUS: {
1356
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH;
1357
+ this._emitChars('-');
1358
+ break;
1359
+ }
1360
+ case $.LESS_THAN_SIGN: {
1361
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;
1362
+ this._emitChars('<');
1363
+ break;
1364
+ }
1365
+ case $.NULL: {
1366
+ this._err(ERR.unexpectedNullCharacter);
1367
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1368
+ this._emitChars(REPLACEMENT_CHARACTER);
1369
+ break;
1370
+ }
1371
+ case $.EOF: {
1372
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1373
+ this._emitEOFToken();
1374
+ break;
1375
+ }
1376
+ default: {
1377
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1378
+ this._emitCodePoint(cp);
1379
+ }
1380
+ }
1381
+ }
1382
+ // Script data double escaped dash dash state
1383
+ //------------------------------------------------------------------
1384
+ _stateScriptDataDoubleEscapedDashDash(cp) {
1385
+ switch (cp) {
1386
+ case $.HYPHEN_MINUS: {
1387
+ this._emitChars('-');
1388
+ break;
1389
+ }
1390
+ case $.LESS_THAN_SIGN: {
1391
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;
1392
+ this._emitChars('<');
1393
+ break;
1394
+ }
1395
+ case $.GREATER_THAN_SIGN: {
1396
+ this.state = State.SCRIPT_DATA;
1397
+ this._emitChars('>');
1398
+ break;
1399
+ }
1400
+ case $.NULL: {
1401
+ this._err(ERR.unexpectedNullCharacter);
1402
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1403
+ this._emitChars(REPLACEMENT_CHARACTER);
1404
+ break;
1405
+ }
1406
+ case $.EOF: {
1407
+ this._err(ERR.eofInScriptHtmlCommentLikeText);
1408
+ this._emitEOFToken();
1409
+ break;
1410
+ }
1411
+ default: {
1412
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1413
+ this._emitCodePoint(cp);
1414
+ }
1415
+ }
1416
+ }
1417
+ // Script data double escaped less-than sign state
1418
+ //------------------------------------------------------------------
1419
+ _stateScriptDataDoubleEscapedLessThanSign(cp) {
1420
+ if (cp === $.SOLIDUS) {
1421
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPE_END;
1422
+ this._emitChars('/');
1423
+ }
1424
+ else {
1425
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1426
+ this._stateScriptDataDoubleEscaped(cp);
1427
+ }
1428
+ }
1429
+ // Script data double escape end state
1430
+ //------------------------------------------------------------------
1431
+ _stateScriptDataDoubleEscapeEnd(cp) {
1432
+ if (this.preprocessor.startsWith($$.SCRIPT, false) &&
1433
+ isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek($$.SCRIPT.length))) {
1434
+ this._emitCodePoint(cp);
1435
+ for (let i = 0; i < $$.SCRIPT.length; i++) {
1436
+ this._emitCodePoint(this._consume());
1437
+ }
1438
+ this.state = State.SCRIPT_DATA_ESCAPED;
1439
+ }
1440
+ else if (!this._ensureHibernation()) {
1441
+ this.state = State.SCRIPT_DATA_DOUBLE_ESCAPED;
1442
+ this._stateScriptDataDoubleEscaped(cp);
1443
+ }
1444
+ }
1445
+ // Before attribute name state
1446
+ //------------------------------------------------------------------
1447
+ _stateBeforeAttributeName(cp) {
1448
+ switch (cp) {
1449
+ case $.SPACE:
1450
+ case $.LINE_FEED:
1451
+ case $.TABULATION:
1452
+ case $.FORM_FEED: {
1453
+ // Ignore whitespace
1454
+ break;
1455
+ }
1456
+ case $.SOLIDUS:
1457
+ case $.GREATER_THAN_SIGN:
1458
+ case $.EOF: {
1459
+ this.state = State.AFTER_ATTRIBUTE_NAME;
1460
+ this._stateAfterAttributeName(cp);
1461
+ break;
1462
+ }
1463
+ case $.EQUALS_SIGN: {
1464
+ this._err(ERR.unexpectedEqualsSignBeforeAttributeName);
1465
+ this._createAttr('=');
1466
+ this.state = State.ATTRIBUTE_NAME;
1467
+ break;
1468
+ }
1469
+ default: {
1470
+ this._createAttr('');
1471
+ this.state = State.ATTRIBUTE_NAME;
1472
+ this._stateAttributeName(cp);
1473
+ }
1474
+ }
1475
+ }
1476
+ // Attribute name state
1477
+ //------------------------------------------------------------------
1478
+ _stateAttributeName(cp) {
1479
+ switch (cp) {
1480
+ case $.SPACE:
1481
+ case $.LINE_FEED:
1482
+ case $.TABULATION:
1483
+ case $.FORM_FEED:
1484
+ case $.SOLIDUS:
1485
+ case $.GREATER_THAN_SIGN:
1486
+ case $.EOF: {
1487
+ this._leaveAttrName();
1488
+ this.state = State.AFTER_ATTRIBUTE_NAME;
1489
+ this._stateAfterAttributeName(cp);
1490
+ break;
1491
+ }
1492
+ case $.EQUALS_SIGN: {
1493
+ this._leaveAttrName();
1494
+ this.state = State.BEFORE_ATTRIBUTE_VALUE;
1495
+ break;
1496
+ }
1497
+ case $.QUOTATION_MARK:
1498
+ case $.APOSTROPHE:
1499
+ case $.LESS_THAN_SIGN: {
1500
+ this._err(ERR.unexpectedCharacterInAttributeName);
1501
+ this.currentAttr.name += String.fromCodePoint(cp);
1502
+ break;
1503
+ }
1504
+ case $.NULL: {
1505
+ this._err(ERR.unexpectedNullCharacter);
1506
+ this.currentAttr.name += REPLACEMENT_CHARACTER;
1507
+ break;
1508
+ }
1509
+ default: {
1510
+ this.currentAttr.name += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);
1511
+ }
1512
+ }
1513
+ }
1514
+ // After attribute name state
1515
+ //------------------------------------------------------------------
1516
+ _stateAfterAttributeName(cp) {
1517
+ switch (cp) {
1518
+ case $.SPACE:
1519
+ case $.LINE_FEED:
1520
+ case $.TABULATION:
1521
+ case $.FORM_FEED: {
1522
+ // Ignore whitespace
1523
+ break;
1524
+ }
1525
+ case $.SOLIDUS: {
1526
+ this.state = State.SELF_CLOSING_START_TAG;
1527
+ break;
1528
+ }
1529
+ case $.EQUALS_SIGN: {
1530
+ this.state = State.BEFORE_ATTRIBUTE_VALUE;
1531
+ break;
1532
+ }
1533
+ case $.GREATER_THAN_SIGN: {
1534
+ this.state = State.DATA;
1535
+ this.emitCurrentTagToken();
1536
+ break;
1537
+ }
1538
+ case $.EOF: {
1539
+ this._err(ERR.eofInTag);
1540
+ this._emitEOFToken();
1541
+ break;
1542
+ }
1543
+ default: {
1544
+ this._createAttr('');
1545
+ this.state = State.ATTRIBUTE_NAME;
1546
+ this._stateAttributeName(cp);
1547
+ }
1548
+ }
1549
+ }
1550
+ // Before attribute value state
1551
+ //------------------------------------------------------------------
1552
+ _stateBeforeAttributeValue(cp) {
1553
+ switch (cp) {
1554
+ case $.SPACE:
1555
+ case $.LINE_FEED:
1556
+ case $.TABULATION:
1557
+ case $.FORM_FEED: {
1558
+ // Ignore whitespace
1559
+ break;
1560
+ }
1561
+ case $.QUOTATION_MARK: {
1562
+ this.state = State.ATTRIBUTE_VALUE_DOUBLE_QUOTED;
1563
+ break;
1564
+ }
1565
+ case $.APOSTROPHE: {
1566
+ this.state = State.ATTRIBUTE_VALUE_SINGLE_QUOTED;
1567
+ break;
1568
+ }
1569
+ case $.GREATER_THAN_SIGN: {
1570
+ this._err(ERR.missingAttributeValue);
1571
+ this.state = State.DATA;
1572
+ this.emitCurrentTagToken();
1573
+ break;
1574
+ }
1575
+ default: {
1576
+ this.state = State.ATTRIBUTE_VALUE_UNQUOTED;
1577
+ this._stateAttributeValueUnquoted(cp);
1578
+ }
1579
+ }
1580
+ }
1581
+ // Attribute value (double-quoted) state
1582
+ //------------------------------------------------------------------
1583
+ _stateAttributeValueDoubleQuoted(cp) {
1584
+ switch (cp) {
1585
+ case $.QUOTATION_MARK: {
1586
+ this.state = State.AFTER_ATTRIBUTE_VALUE_QUOTED;
1587
+ break;
1588
+ }
1589
+ case $.AMPERSAND: {
1590
+ this._startCharacterReference();
1591
+ break;
1592
+ }
1593
+ case $.NULL: {
1594
+ this._err(ERR.unexpectedNullCharacter);
1595
+ this.currentAttr.value += REPLACEMENT_CHARACTER;
1596
+ break;
1597
+ }
1598
+ case $.EOF: {
1599
+ this._err(ERR.eofInTag);
1600
+ this._emitEOFToken();
1601
+ break;
1602
+ }
1603
+ default: {
1604
+ this.currentAttr.value += String.fromCodePoint(cp);
1605
+ }
1606
+ }
1607
+ }
1608
+ // Attribute value (single-quoted) state
1609
+ //------------------------------------------------------------------
1610
+ _stateAttributeValueSingleQuoted(cp) {
1611
+ switch (cp) {
1612
+ case $.APOSTROPHE: {
1613
+ this.state = State.AFTER_ATTRIBUTE_VALUE_QUOTED;
1614
+ break;
1615
+ }
1616
+ case $.AMPERSAND: {
1617
+ this._startCharacterReference();
1618
+ break;
1619
+ }
1620
+ case $.NULL: {
1621
+ this._err(ERR.unexpectedNullCharacter);
1622
+ this.currentAttr.value += REPLACEMENT_CHARACTER;
1623
+ break;
1624
+ }
1625
+ case $.EOF: {
1626
+ this._err(ERR.eofInTag);
1627
+ this._emitEOFToken();
1628
+ break;
1629
+ }
1630
+ default: {
1631
+ this.currentAttr.value += String.fromCodePoint(cp);
1632
+ }
1633
+ }
1634
+ }
1635
+ // Attribute value (unquoted) state
1636
+ //------------------------------------------------------------------
1637
+ _stateAttributeValueUnquoted(cp) {
1638
+ switch (cp) {
1639
+ case $.SPACE:
1640
+ case $.LINE_FEED:
1641
+ case $.TABULATION:
1642
+ case $.FORM_FEED: {
1643
+ this._leaveAttrValue();
1644
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
1645
+ break;
1646
+ }
1647
+ case $.AMPERSAND: {
1648
+ this._startCharacterReference();
1649
+ break;
1650
+ }
1651
+ case $.GREATER_THAN_SIGN: {
1652
+ this._leaveAttrValue();
1653
+ this.state = State.DATA;
1654
+ this.emitCurrentTagToken();
1655
+ break;
1656
+ }
1657
+ case $.NULL: {
1658
+ this._err(ERR.unexpectedNullCharacter);
1659
+ this.currentAttr.value += REPLACEMENT_CHARACTER;
1660
+ break;
1661
+ }
1662
+ case $.QUOTATION_MARK:
1663
+ case $.APOSTROPHE:
1664
+ case $.LESS_THAN_SIGN:
1665
+ case $.EQUALS_SIGN:
1666
+ case $.GRAVE_ACCENT: {
1667
+ this._err(ERR.unexpectedCharacterInUnquotedAttributeValue);
1668
+ this.currentAttr.value += String.fromCodePoint(cp);
1669
+ break;
1670
+ }
1671
+ case $.EOF: {
1672
+ this._err(ERR.eofInTag);
1673
+ this._emitEOFToken();
1674
+ break;
1675
+ }
1676
+ default: {
1677
+ this.currentAttr.value += String.fromCodePoint(cp);
1678
+ }
1679
+ }
1680
+ }
1681
+ // After attribute value (quoted) state
1682
+ //------------------------------------------------------------------
1683
+ _stateAfterAttributeValueQuoted(cp) {
1684
+ switch (cp) {
1685
+ case $.SPACE:
1686
+ case $.LINE_FEED:
1687
+ case $.TABULATION:
1688
+ case $.FORM_FEED: {
1689
+ this._leaveAttrValue();
1690
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
1691
+ break;
1692
+ }
1693
+ case $.SOLIDUS: {
1694
+ this._leaveAttrValue();
1695
+ this.state = State.SELF_CLOSING_START_TAG;
1696
+ break;
1697
+ }
1698
+ case $.GREATER_THAN_SIGN: {
1699
+ this._leaveAttrValue();
1700
+ this.state = State.DATA;
1701
+ this.emitCurrentTagToken();
1702
+ break;
1703
+ }
1704
+ case $.EOF: {
1705
+ this._err(ERR.eofInTag);
1706
+ this._emitEOFToken();
1707
+ break;
1708
+ }
1709
+ default: {
1710
+ this._err(ERR.missingWhitespaceBetweenAttributes);
1711
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
1712
+ this._stateBeforeAttributeName(cp);
1713
+ }
1714
+ }
1715
+ }
1716
+ // Self-closing start tag state
1717
+ //------------------------------------------------------------------
1718
+ _stateSelfClosingStartTag(cp) {
1719
+ switch (cp) {
1720
+ case $.GREATER_THAN_SIGN: {
1721
+ const token = this.currentToken;
1722
+ token.selfClosing = true;
1723
+ this.state = State.DATA;
1724
+ this.emitCurrentTagToken();
1725
+ break;
1726
+ }
1727
+ case $.EOF: {
1728
+ this._err(ERR.eofInTag);
1729
+ this._emitEOFToken();
1730
+ break;
1731
+ }
1732
+ default: {
1733
+ this._err(ERR.unexpectedSolidusInTag);
1734
+ this.state = State.BEFORE_ATTRIBUTE_NAME;
1735
+ this._stateBeforeAttributeName(cp);
1736
+ }
1737
+ }
1738
+ }
1739
+ // Bogus comment state
1740
+ //------------------------------------------------------------------
1741
+ _stateBogusComment(cp) {
1742
+ const token = this.currentToken;
1743
+ switch (cp) {
1744
+ case $.GREATER_THAN_SIGN: {
1745
+ this.state = State.DATA;
1746
+ this.emitCurrentComment(token);
1747
+ break;
1748
+ }
1749
+ case $.EOF: {
1750
+ this.emitCurrentComment(token);
1751
+ this._emitEOFToken();
1752
+ break;
1753
+ }
1754
+ case $.NULL: {
1755
+ this._err(ERR.unexpectedNullCharacter);
1756
+ token.data += REPLACEMENT_CHARACTER;
1757
+ break;
1758
+ }
1759
+ default: {
1760
+ token.data += String.fromCodePoint(cp);
1761
+ }
1762
+ }
1763
+ }
1764
+ // Markup declaration open state
1765
+ //------------------------------------------------------------------
1766
+ _stateMarkupDeclarationOpen(cp) {
1767
+ if (this._consumeSequenceIfMatch($$.DASH_DASH, true)) {
1768
+ this._createCommentToken($$.DASH_DASH.length + 1);
1769
+ this.state = State.COMMENT_START;
1770
+ }
1771
+ else if (this._consumeSequenceIfMatch($$.DOCTYPE, false)) {
1772
+ // NOTE: Doctypes tokens are created without fixed offsets. We keep track of the moment a doctype *might* start here.
1773
+ this.currentLocation = this.getCurrentLocation($$.DOCTYPE.length + 1);
1774
+ this.state = State.DOCTYPE;
1775
+ }
1776
+ else if (this._consumeSequenceIfMatch($$.CDATA_START, true)) {
1777
+ if (this.inForeignNode) {
1778
+ this.state = State.CDATA_SECTION;
1779
+ }
1780
+ else {
1781
+ this._err(ERR.cdataInHtmlContent);
1782
+ this._createCommentToken($$.CDATA_START.length + 1);
1783
+ this.currentToken.data = '[CDATA[';
1784
+ this.state = State.BOGUS_COMMENT;
1785
+ }
1786
+ }
1787
+ //NOTE: Sequence lookups can be abrupted by hibernation. In that case, lookup
1788
+ //results are no longer valid and we will need to start over.
1789
+ else if (!this._ensureHibernation()) {
1790
+ this._err(ERR.incorrectlyOpenedComment);
1791
+ this._createCommentToken(2);
1792
+ this.state = State.BOGUS_COMMENT;
1793
+ this._stateBogusComment(cp);
1794
+ }
1795
+ }
1796
+ // Comment start state
1797
+ //------------------------------------------------------------------
1798
+ _stateCommentStart(cp) {
1799
+ switch (cp) {
1800
+ case $.HYPHEN_MINUS: {
1801
+ this.state = State.COMMENT_START_DASH;
1802
+ break;
1803
+ }
1804
+ case $.GREATER_THAN_SIGN: {
1805
+ this._err(ERR.abruptClosingOfEmptyComment);
1806
+ this.state = State.DATA;
1807
+ const token = this.currentToken;
1808
+ this.emitCurrentComment(token);
1809
+ break;
1810
+ }
1811
+ default: {
1812
+ this.state = State.COMMENT;
1813
+ this._stateComment(cp);
1814
+ }
1815
+ }
1816
+ }
1817
+ // Comment start dash state
1818
+ //------------------------------------------------------------------
1819
+ _stateCommentStartDash(cp) {
1820
+ const token = this.currentToken;
1821
+ switch (cp) {
1822
+ case $.HYPHEN_MINUS: {
1823
+ this.state = State.COMMENT_END;
1824
+ break;
1825
+ }
1826
+ case $.GREATER_THAN_SIGN: {
1827
+ this._err(ERR.abruptClosingOfEmptyComment);
1828
+ this.state = State.DATA;
1829
+ this.emitCurrentComment(token);
1830
+ break;
1831
+ }
1832
+ case $.EOF: {
1833
+ this._err(ERR.eofInComment);
1834
+ this.emitCurrentComment(token);
1835
+ this._emitEOFToken();
1836
+ break;
1837
+ }
1838
+ default: {
1839
+ token.data += '-';
1840
+ this.state = State.COMMENT;
1841
+ this._stateComment(cp);
1842
+ }
1843
+ }
1844
+ }
1845
+ // Comment state
1846
+ //------------------------------------------------------------------
1847
+ _stateComment(cp) {
1848
+ const token = this.currentToken;
1849
+ switch (cp) {
1850
+ case $.HYPHEN_MINUS: {
1851
+ this.state = State.COMMENT_END_DASH;
1852
+ break;
1853
+ }
1854
+ case $.LESS_THAN_SIGN: {
1855
+ token.data += '<';
1856
+ this.state = State.COMMENT_LESS_THAN_SIGN;
1857
+ break;
1858
+ }
1859
+ case $.NULL: {
1860
+ this._err(ERR.unexpectedNullCharacter);
1861
+ token.data += REPLACEMENT_CHARACTER;
1862
+ break;
1863
+ }
1864
+ case $.EOF: {
1865
+ this._err(ERR.eofInComment);
1866
+ this.emitCurrentComment(token);
1867
+ this._emitEOFToken();
1868
+ break;
1869
+ }
1870
+ default: {
1871
+ token.data += String.fromCodePoint(cp);
1872
+ }
1873
+ }
1874
+ }
1875
+ // Comment less-than sign state
1876
+ //------------------------------------------------------------------
1877
+ _stateCommentLessThanSign(cp) {
1878
+ const token = this.currentToken;
1879
+ switch (cp) {
1880
+ case $.EXCLAMATION_MARK: {
1881
+ token.data += '!';
1882
+ this.state = State.COMMENT_LESS_THAN_SIGN_BANG;
1883
+ break;
1884
+ }
1885
+ case $.LESS_THAN_SIGN: {
1886
+ token.data += '<';
1887
+ break;
1888
+ }
1889
+ default: {
1890
+ this.state = State.COMMENT;
1891
+ this._stateComment(cp);
1892
+ }
1893
+ }
1894
+ }
1895
+ // Comment less-than sign bang state
1896
+ //------------------------------------------------------------------
1897
+ _stateCommentLessThanSignBang(cp) {
1898
+ if (cp === $.HYPHEN_MINUS) {
1899
+ this.state = State.COMMENT_LESS_THAN_SIGN_BANG_DASH;
1900
+ }
1901
+ else {
1902
+ this.state = State.COMMENT;
1903
+ this._stateComment(cp);
1904
+ }
1905
+ }
1906
+ // Comment less-than sign bang dash state
1907
+ //------------------------------------------------------------------
1908
+ _stateCommentLessThanSignBangDash(cp) {
1909
+ if (cp === $.HYPHEN_MINUS) {
1910
+ this.state = State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH;
1911
+ }
1912
+ else {
1913
+ this.state = State.COMMENT_END_DASH;
1914
+ this._stateCommentEndDash(cp);
1915
+ }
1916
+ }
1917
+ // Comment less-than sign bang dash dash state
1918
+ //------------------------------------------------------------------
1919
+ _stateCommentLessThanSignBangDashDash(cp) {
1920
+ if (cp !== $.GREATER_THAN_SIGN && cp !== $.EOF) {
1921
+ this._err(ERR.nestedComment);
1922
+ }
1923
+ this.state = State.COMMENT_END;
1924
+ this._stateCommentEnd(cp);
1925
+ }
1926
+ // Comment end dash state
1927
+ //------------------------------------------------------------------
1928
+ _stateCommentEndDash(cp) {
1929
+ const token = this.currentToken;
1930
+ switch (cp) {
1931
+ case $.HYPHEN_MINUS: {
1932
+ this.state = State.COMMENT_END;
1933
+ break;
1934
+ }
1935
+ case $.EOF: {
1936
+ this._err(ERR.eofInComment);
1937
+ this.emitCurrentComment(token);
1938
+ this._emitEOFToken();
1939
+ break;
1940
+ }
1941
+ default: {
1942
+ token.data += '-';
1943
+ this.state = State.COMMENT;
1944
+ this._stateComment(cp);
1945
+ }
1946
+ }
1947
+ }
1948
+ // Comment end state
1949
+ //------------------------------------------------------------------
1950
+ _stateCommentEnd(cp) {
1951
+ const token = this.currentToken;
1952
+ switch (cp) {
1953
+ case $.GREATER_THAN_SIGN: {
1954
+ this.state = State.DATA;
1955
+ this.emitCurrentComment(token);
1956
+ break;
1957
+ }
1958
+ case $.EXCLAMATION_MARK: {
1959
+ this.state = State.COMMENT_END_BANG;
1960
+ break;
1961
+ }
1962
+ case $.HYPHEN_MINUS: {
1963
+ token.data += '-';
1964
+ break;
1965
+ }
1966
+ case $.EOF: {
1967
+ this._err(ERR.eofInComment);
1968
+ this.emitCurrentComment(token);
1969
+ this._emitEOFToken();
1970
+ break;
1971
+ }
1972
+ default: {
1973
+ token.data += '--';
1974
+ this.state = State.COMMENT;
1975
+ this._stateComment(cp);
1976
+ }
1977
+ }
1978
+ }
1979
+ // Comment end bang state
1980
+ //------------------------------------------------------------------
1981
+ _stateCommentEndBang(cp) {
1982
+ const token = this.currentToken;
1983
+ switch (cp) {
1984
+ case $.HYPHEN_MINUS: {
1985
+ token.data += '--!';
1986
+ this.state = State.COMMENT_END_DASH;
1987
+ break;
1988
+ }
1989
+ case $.GREATER_THAN_SIGN: {
1990
+ this._err(ERR.incorrectlyClosedComment);
1991
+ this.state = State.DATA;
1992
+ this.emitCurrentComment(token);
1993
+ break;
1994
+ }
1995
+ case $.EOF: {
1996
+ this._err(ERR.eofInComment);
1997
+ this.emitCurrentComment(token);
1998
+ this._emitEOFToken();
1999
+ break;
2000
+ }
2001
+ default: {
2002
+ token.data += '--!';
2003
+ this.state = State.COMMENT;
2004
+ this._stateComment(cp);
2005
+ }
2006
+ }
2007
+ }
2008
+ // DOCTYPE state
2009
+ //------------------------------------------------------------------
2010
+ _stateDoctype(cp) {
2011
+ switch (cp) {
2012
+ case $.SPACE:
2013
+ case $.LINE_FEED:
2014
+ case $.TABULATION:
2015
+ case $.FORM_FEED: {
2016
+ this.state = State.BEFORE_DOCTYPE_NAME;
2017
+ break;
2018
+ }
2019
+ case $.GREATER_THAN_SIGN: {
2020
+ this.state = State.BEFORE_DOCTYPE_NAME;
2021
+ this._stateBeforeDoctypeName(cp);
2022
+ break;
2023
+ }
2024
+ case $.EOF: {
2025
+ this._err(ERR.eofInDoctype);
2026
+ this._createDoctypeToken(null);
2027
+ const token = this.currentToken;
2028
+ token.forceQuirks = true;
2029
+ this.emitCurrentDoctype(token);
2030
+ this._emitEOFToken();
2031
+ break;
2032
+ }
2033
+ default: {
2034
+ this._err(ERR.missingWhitespaceBeforeDoctypeName);
2035
+ this.state = State.BEFORE_DOCTYPE_NAME;
2036
+ this._stateBeforeDoctypeName(cp);
2037
+ }
2038
+ }
2039
+ }
2040
+ // Before DOCTYPE name state
2041
+ //------------------------------------------------------------------
2042
+ _stateBeforeDoctypeName(cp) {
2043
+ if (isAsciiUpper(cp)) {
2044
+ this._createDoctypeToken(String.fromCharCode(toAsciiLower(cp)));
2045
+ this.state = State.DOCTYPE_NAME;
2046
+ }
2047
+ else
2048
+ switch (cp) {
2049
+ case $.SPACE:
2050
+ case $.LINE_FEED:
2051
+ case $.TABULATION:
2052
+ case $.FORM_FEED: {
2053
+ // Ignore whitespace
2054
+ break;
2055
+ }
2056
+ case $.NULL: {
2057
+ this._err(ERR.unexpectedNullCharacter);
2058
+ this._createDoctypeToken(REPLACEMENT_CHARACTER);
2059
+ this.state = State.DOCTYPE_NAME;
2060
+ break;
2061
+ }
2062
+ case $.GREATER_THAN_SIGN: {
2063
+ this._err(ERR.missingDoctypeName);
2064
+ this._createDoctypeToken(null);
2065
+ const token = this.currentToken;
2066
+ token.forceQuirks = true;
2067
+ this.emitCurrentDoctype(token);
2068
+ this.state = State.DATA;
2069
+ break;
2070
+ }
2071
+ case $.EOF: {
2072
+ this._err(ERR.eofInDoctype);
2073
+ this._createDoctypeToken(null);
2074
+ const token = this.currentToken;
2075
+ token.forceQuirks = true;
2076
+ this.emitCurrentDoctype(token);
2077
+ this._emitEOFToken();
2078
+ break;
2079
+ }
2080
+ default: {
2081
+ this._createDoctypeToken(String.fromCodePoint(cp));
2082
+ this.state = State.DOCTYPE_NAME;
2083
+ }
2084
+ }
2085
+ }
2086
+ // DOCTYPE name state
2087
+ //------------------------------------------------------------------
2088
+ _stateDoctypeName(cp) {
2089
+ const token = this.currentToken;
2090
+ switch (cp) {
2091
+ case $.SPACE:
2092
+ case $.LINE_FEED:
2093
+ case $.TABULATION:
2094
+ case $.FORM_FEED: {
2095
+ this.state = State.AFTER_DOCTYPE_NAME;
2096
+ break;
2097
+ }
2098
+ case $.GREATER_THAN_SIGN: {
2099
+ this.state = State.DATA;
2100
+ this.emitCurrentDoctype(token);
2101
+ break;
2102
+ }
2103
+ case $.NULL: {
2104
+ this._err(ERR.unexpectedNullCharacter);
2105
+ token.name += REPLACEMENT_CHARACTER;
2106
+ break;
2107
+ }
2108
+ case $.EOF: {
2109
+ this._err(ERR.eofInDoctype);
2110
+ token.forceQuirks = true;
2111
+ this.emitCurrentDoctype(token);
2112
+ this._emitEOFToken();
2113
+ break;
2114
+ }
2115
+ default: {
2116
+ token.name += String.fromCodePoint(isAsciiUpper(cp) ? toAsciiLower(cp) : cp);
2117
+ }
2118
+ }
2119
+ }
2120
+ // After DOCTYPE name state
2121
+ //------------------------------------------------------------------
2122
+ _stateAfterDoctypeName(cp) {
2123
+ const token = this.currentToken;
2124
+ switch (cp) {
2125
+ case $.SPACE:
2126
+ case $.LINE_FEED:
2127
+ case $.TABULATION:
2128
+ case $.FORM_FEED: {
2129
+ // Ignore whitespace
2130
+ break;
2131
+ }
2132
+ case $.GREATER_THAN_SIGN: {
2133
+ this.state = State.DATA;
2134
+ this.emitCurrentDoctype(token);
2135
+ break;
2136
+ }
2137
+ case $.EOF: {
2138
+ this._err(ERR.eofInDoctype);
2139
+ token.forceQuirks = true;
2140
+ this.emitCurrentDoctype(token);
2141
+ this._emitEOFToken();
2142
+ break;
2143
+ }
2144
+ default: {
2145
+ if (this._consumeSequenceIfMatch($$.PUBLIC, false)) {
2146
+ this.state = State.AFTER_DOCTYPE_PUBLIC_KEYWORD;
2147
+ }
2148
+ else if (this._consumeSequenceIfMatch($$.SYSTEM, false)) {
2149
+ this.state = State.AFTER_DOCTYPE_SYSTEM_KEYWORD;
2150
+ }
2151
+ //NOTE: sequence lookup can be abrupted by hibernation. In that case lookup
2152
+ //results are no longer valid and we will need to start over.
2153
+ else if (!this._ensureHibernation()) {
2154
+ this._err(ERR.invalidCharacterSequenceAfterDoctypeName);
2155
+ token.forceQuirks = true;
2156
+ this.state = State.BOGUS_DOCTYPE;
2157
+ this._stateBogusDoctype(cp);
2158
+ }
2159
+ }
2160
+ }
2161
+ }
2162
+ // After DOCTYPE public keyword state
2163
+ //------------------------------------------------------------------
2164
+ _stateAfterDoctypePublicKeyword(cp) {
2165
+ const token = this.currentToken;
2166
+ switch (cp) {
2167
+ case $.SPACE:
2168
+ case $.LINE_FEED:
2169
+ case $.TABULATION:
2170
+ case $.FORM_FEED: {
2171
+ this.state = State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;
2172
+ break;
2173
+ }
2174
+ case $.QUOTATION_MARK: {
2175
+ this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);
2176
+ token.publicId = '';
2177
+ this.state = State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
2178
+ break;
2179
+ }
2180
+ case $.APOSTROPHE: {
2181
+ this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);
2182
+ token.publicId = '';
2183
+ this.state = State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
2184
+ break;
2185
+ }
2186
+ case $.GREATER_THAN_SIGN: {
2187
+ this._err(ERR.missingDoctypePublicIdentifier);
2188
+ token.forceQuirks = true;
2189
+ this.state = State.DATA;
2190
+ this.emitCurrentDoctype(token);
2191
+ break;
2192
+ }
2193
+ case $.EOF: {
2194
+ this._err(ERR.eofInDoctype);
2195
+ token.forceQuirks = true;
2196
+ this.emitCurrentDoctype(token);
2197
+ this._emitEOFToken();
2198
+ break;
2199
+ }
2200
+ default: {
2201
+ this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);
2202
+ token.forceQuirks = true;
2203
+ this.state = State.BOGUS_DOCTYPE;
2204
+ this._stateBogusDoctype(cp);
2205
+ }
2206
+ }
2207
+ }
2208
+ // Before DOCTYPE public identifier state
2209
+ //------------------------------------------------------------------
2210
+ _stateBeforeDoctypePublicIdentifier(cp) {
2211
+ const token = this.currentToken;
2212
+ switch (cp) {
2213
+ case $.SPACE:
2214
+ case $.LINE_FEED:
2215
+ case $.TABULATION:
2216
+ case $.FORM_FEED: {
2217
+ // Ignore whitespace
2218
+ break;
2219
+ }
2220
+ case $.QUOTATION_MARK: {
2221
+ token.publicId = '';
2222
+ this.state = State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
2223
+ break;
2224
+ }
2225
+ case $.APOSTROPHE: {
2226
+ token.publicId = '';
2227
+ this.state = State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
2228
+ break;
2229
+ }
2230
+ case $.GREATER_THAN_SIGN: {
2231
+ this._err(ERR.missingDoctypePublicIdentifier);
2232
+ token.forceQuirks = true;
2233
+ this.state = State.DATA;
2234
+ this.emitCurrentDoctype(token);
2235
+ break;
2236
+ }
2237
+ case $.EOF: {
2238
+ this._err(ERR.eofInDoctype);
2239
+ token.forceQuirks = true;
2240
+ this.emitCurrentDoctype(token);
2241
+ this._emitEOFToken();
2242
+ break;
2243
+ }
2244
+ default: {
2245
+ this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);
2246
+ token.forceQuirks = true;
2247
+ this.state = State.BOGUS_DOCTYPE;
2248
+ this._stateBogusDoctype(cp);
2249
+ }
2250
+ }
2251
+ }
2252
+ // DOCTYPE public identifier (double-quoted) state
2253
+ //------------------------------------------------------------------
2254
+ _stateDoctypePublicIdentifierDoubleQuoted(cp) {
2255
+ const token = this.currentToken;
2256
+ switch (cp) {
2257
+ case $.QUOTATION_MARK: {
2258
+ this.state = State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
2259
+ break;
2260
+ }
2261
+ case $.NULL: {
2262
+ this._err(ERR.unexpectedNullCharacter);
2263
+ token.publicId += REPLACEMENT_CHARACTER;
2264
+ break;
2265
+ }
2266
+ case $.GREATER_THAN_SIGN: {
2267
+ this._err(ERR.abruptDoctypePublicIdentifier);
2268
+ token.forceQuirks = true;
2269
+ this.emitCurrentDoctype(token);
2270
+ this.state = State.DATA;
2271
+ break;
2272
+ }
2273
+ case $.EOF: {
2274
+ this._err(ERR.eofInDoctype);
2275
+ token.forceQuirks = true;
2276
+ this.emitCurrentDoctype(token);
2277
+ this._emitEOFToken();
2278
+ break;
2279
+ }
2280
+ default: {
2281
+ token.publicId += String.fromCodePoint(cp);
2282
+ }
2283
+ }
2284
+ }
2285
+ // DOCTYPE public identifier (single-quoted) state
2286
+ //------------------------------------------------------------------
2287
+ _stateDoctypePublicIdentifierSingleQuoted(cp) {
2288
+ const token = this.currentToken;
2289
+ switch (cp) {
2290
+ case $.APOSTROPHE: {
2291
+ this.state = State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
2292
+ break;
2293
+ }
2294
+ case $.NULL: {
2295
+ this._err(ERR.unexpectedNullCharacter);
2296
+ token.publicId += REPLACEMENT_CHARACTER;
2297
+ break;
2298
+ }
2299
+ case $.GREATER_THAN_SIGN: {
2300
+ this._err(ERR.abruptDoctypePublicIdentifier);
2301
+ token.forceQuirks = true;
2302
+ this.emitCurrentDoctype(token);
2303
+ this.state = State.DATA;
2304
+ break;
2305
+ }
2306
+ case $.EOF: {
2307
+ this._err(ERR.eofInDoctype);
2308
+ token.forceQuirks = true;
2309
+ this.emitCurrentDoctype(token);
2310
+ this._emitEOFToken();
2311
+ break;
2312
+ }
2313
+ default: {
2314
+ token.publicId += String.fromCodePoint(cp);
2315
+ }
2316
+ }
2317
+ }
2318
+ // After DOCTYPE public identifier state
2319
+ //------------------------------------------------------------------
2320
+ _stateAfterDoctypePublicIdentifier(cp) {
2321
+ const token = this.currentToken;
2322
+ switch (cp) {
2323
+ case $.SPACE:
2324
+ case $.LINE_FEED:
2325
+ case $.TABULATION:
2326
+ case $.FORM_FEED: {
2327
+ this.state = State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;
2328
+ break;
2329
+ }
2330
+ case $.GREATER_THAN_SIGN: {
2331
+ this.state = State.DATA;
2332
+ this.emitCurrentDoctype(token);
2333
+ break;
2334
+ }
2335
+ case $.QUOTATION_MARK: {
2336
+ this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);
2337
+ token.systemId = '';
2338
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
2339
+ break;
2340
+ }
2341
+ case $.APOSTROPHE: {
2342
+ this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);
2343
+ token.systemId = '';
2344
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
2345
+ break;
2346
+ }
2347
+ case $.EOF: {
2348
+ this._err(ERR.eofInDoctype);
2349
+ token.forceQuirks = true;
2350
+ this.emitCurrentDoctype(token);
2351
+ this._emitEOFToken();
2352
+ break;
2353
+ }
2354
+ default: {
2355
+ this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);
2356
+ token.forceQuirks = true;
2357
+ this.state = State.BOGUS_DOCTYPE;
2358
+ this._stateBogusDoctype(cp);
2359
+ }
2360
+ }
2361
+ }
2362
+ // Between DOCTYPE public and system identifiers state
2363
+ //------------------------------------------------------------------
2364
+ _stateBetweenDoctypePublicAndSystemIdentifiers(cp) {
2365
+ const token = this.currentToken;
2366
+ switch (cp) {
2367
+ case $.SPACE:
2368
+ case $.LINE_FEED:
2369
+ case $.TABULATION:
2370
+ case $.FORM_FEED: {
2371
+ // Ignore whitespace
2372
+ break;
2373
+ }
2374
+ case $.GREATER_THAN_SIGN: {
2375
+ this.emitCurrentDoctype(token);
2376
+ this.state = State.DATA;
2377
+ break;
2378
+ }
2379
+ case $.QUOTATION_MARK: {
2380
+ token.systemId = '';
2381
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
2382
+ break;
2383
+ }
2384
+ case $.APOSTROPHE: {
2385
+ token.systemId = '';
2386
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
2387
+ break;
2388
+ }
2389
+ case $.EOF: {
2390
+ this._err(ERR.eofInDoctype);
2391
+ token.forceQuirks = true;
2392
+ this.emitCurrentDoctype(token);
2393
+ this._emitEOFToken();
2394
+ break;
2395
+ }
2396
+ default: {
2397
+ this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);
2398
+ token.forceQuirks = true;
2399
+ this.state = State.BOGUS_DOCTYPE;
2400
+ this._stateBogusDoctype(cp);
2401
+ }
2402
+ }
2403
+ }
2404
+ // After DOCTYPE system keyword state
2405
+ //------------------------------------------------------------------
2406
+ _stateAfterDoctypeSystemKeyword(cp) {
2407
+ const token = this.currentToken;
2408
+ switch (cp) {
2409
+ case $.SPACE:
2410
+ case $.LINE_FEED:
2411
+ case $.TABULATION:
2412
+ case $.FORM_FEED: {
2413
+ this.state = State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;
2414
+ break;
2415
+ }
2416
+ case $.QUOTATION_MARK: {
2417
+ this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);
2418
+ token.systemId = '';
2419
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
2420
+ break;
2421
+ }
2422
+ case $.APOSTROPHE: {
2423
+ this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);
2424
+ token.systemId = '';
2425
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
2426
+ break;
2427
+ }
2428
+ case $.GREATER_THAN_SIGN: {
2429
+ this._err(ERR.missingDoctypeSystemIdentifier);
2430
+ token.forceQuirks = true;
2431
+ this.state = State.DATA;
2432
+ this.emitCurrentDoctype(token);
2433
+ break;
2434
+ }
2435
+ case $.EOF: {
2436
+ this._err(ERR.eofInDoctype);
2437
+ token.forceQuirks = true;
2438
+ this.emitCurrentDoctype(token);
2439
+ this._emitEOFToken();
2440
+ break;
2441
+ }
2442
+ default: {
2443
+ this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);
2444
+ token.forceQuirks = true;
2445
+ this.state = State.BOGUS_DOCTYPE;
2446
+ this._stateBogusDoctype(cp);
2447
+ }
2448
+ }
2449
+ }
2450
+ // Before DOCTYPE system identifier state
2451
+ //------------------------------------------------------------------
2452
+ _stateBeforeDoctypeSystemIdentifier(cp) {
2453
+ const token = this.currentToken;
2454
+ switch (cp) {
2455
+ case $.SPACE:
2456
+ case $.LINE_FEED:
2457
+ case $.TABULATION:
2458
+ case $.FORM_FEED: {
2459
+ // Ignore whitespace
2460
+ break;
2461
+ }
2462
+ case $.QUOTATION_MARK: {
2463
+ token.systemId = '';
2464
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
2465
+ break;
2466
+ }
2467
+ case $.APOSTROPHE: {
2468
+ token.systemId = '';
2469
+ this.state = State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
2470
+ break;
2471
+ }
2472
+ case $.GREATER_THAN_SIGN: {
2473
+ this._err(ERR.missingDoctypeSystemIdentifier);
2474
+ token.forceQuirks = true;
2475
+ this.state = State.DATA;
2476
+ this.emitCurrentDoctype(token);
2477
+ break;
2478
+ }
2479
+ case $.EOF: {
2480
+ this._err(ERR.eofInDoctype);
2481
+ token.forceQuirks = true;
2482
+ this.emitCurrentDoctype(token);
2483
+ this._emitEOFToken();
2484
+ break;
2485
+ }
2486
+ default: {
2487
+ this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);
2488
+ token.forceQuirks = true;
2489
+ this.state = State.BOGUS_DOCTYPE;
2490
+ this._stateBogusDoctype(cp);
2491
+ }
2492
+ }
2493
+ }
2494
+ // DOCTYPE system identifier (double-quoted) state
2495
+ //------------------------------------------------------------------
2496
+ _stateDoctypeSystemIdentifierDoubleQuoted(cp) {
2497
+ const token = this.currentToken;
2498
+ switch (cp) {
2499
+ case $.QUOTATION_MARK: {
2500
+ this.state = State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
2501
+ break;
2502
+ }
2503
+ case $.NULL: {
2504
+ this._err(ERR.unexpectedNullCharacter);
2505
+ token.systemId += REPLACEMENT_CHARACTER;
2506
+ break;
2507
+ }
2508
+ case $.GREATER_THAN_SIGN: {
2509
+ this._err(ERR.abruptDoctypeSystemIdentifier);
2510
+ token.forceQuirks = true;
2511
+ this.emitCurrentDoctype(token);
2512
+ this.state = State.DATA;
2513
+ break;
2514
+ }
2515
+ case $.EOF: {
2516
+ this._err(ERR.eofInDoctype);
2517
+ token.forceQuirks = true;
2518
+ this.emitCurrentDoctype(token);
2519
+ this._emitEOFToken();
2520
+ break;
2521
+ }
2522
+ default: {
2523
+ token.systemId += String.fromCodePoint(cp);
2524
+ }
2525
+ }
2526
+ }
2527
+ // DOCTYPE system identifier (single-quoted) state
2528
+ //------------------------------------------------------------------
2529
+ _stateDoctypeSystemIdentifierSingleQuoted(cp) {
2530
+ const token = this.currentToken;
2531
+ switch (cp) {
2532
+ case $.APOSTROPHE: {
2533
+ this.state = State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
2534
+ break;
2535
+ }
2536
+ case $.NULL: {
2537
+ this._err(ERR.unexpectedNullCharacter);
2538
+ token.systemId += REPLACEMENT_CHARACTER;
2539
+ break;
2540
+ }
2541
+ case $.GREATER_THAN_SIGN: {
2542
+ this._err(ERR.abruptDoctypeSystemIdentifier);
2543
+ token.forceQuirks = true;
2544
+ this.emitCurrentDoctype(token);
2545
+ this.state = State.DATA;
2546
+ break;
2547
+ }
2548
+ case $.EOF: {
2549
+ this._err(ERR.eofInDoctype);
2550
+ token.forceQuirks = true;
2551
+ this.emitCurrentDoctype(token);
2552
+ this._emitEOFToken();
2553
+ break;
2554
+ }
2555
+ default: {
2556
+ token.systemId += String.fromCodePoint(cp);
2557
+ }
2558
+ }
2559
+ }
2560
+ // After DOCTYPE system identifier state
2561
+ //------------------------------------------------------------------
2562
+ _stateAfterDoctypeSystemIdentifier(cp) {
2563
+ const token = this.currentToken;
2564
+ switch (cp) {
2565
+ case $.SPACE:
2566
+ case $.LINE_FEED:
2567
+ case $.TABULATION:
2568
+ case $.FORM_FEED: {
2569
+ // Ignore whitespace
2570
+ break;
2571
+ }
2572
+ case $.GREATER_THAN_SIGN: {
2573
+ this.emitCurrentDoctype(token);
2574
+ this.state = State.DATA;
2575
+ break;
2576
+ }
2577
+ case $.EOF: {
2578
+ this._err(ERR.eofInDoctype);
2579
+ token.forceQuirks = true;
2580
+ this.emitCurrentDoctype(token);
2581
+ this._emitEOFToken();
2582
+ break;
2583
+ }
2584
+ default: {
2585
+ this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier);
2586
+ this.state = State.BOGUS_DOCTYPE;
2587
+ this._stateBogusDoctype(cp);
2588
+ }
2589
+ }
2590
+ }
2591
+ // Bogus DOCTYPE state
2592
+ //------------------------------------------------------------------
2593
+ _stateBogusDoctype(cp) {
2594
+ const token = this.currentToken;
2595
+ switch (cp) {
2596
+ case $.GREATER_THAN_SIGN: {
2597
+ this.emitCurrentDoctype(token);
2598
+ this.state = State.DATA;
2599
+ break;
2600
+ }
2601
+ case $.NULL: {
2602
+ this._err(ERR.unexpectedNullCharacter);
2603
+ break;
2604
+ }
2605
+ case $.EOF: {
2606
+ this.emitCurrentDoctype(token);
2607
+ this._emitEOFToken();
2608
+ break;
2609
+ }
2610
+ default:
2611
+ // Do nothing
2612
+ }
2613
+ }
2614
+ // CDATA section state
2615
+ //------------------------------------------------------------------
2616
+ _stateCdataSection(cp) {
2617
+ switch (cp) {
2618
+ case $.RIGHT_SQUARE_BRACKET: {
2619
+ this.state = State.CDATA_SECTION_BRACKET;
2620
+ break;
2621
+ }
2622
+ case $.EOF: {
2623
+ this._err(ERR.eofInCdata);
2624
+ this._emitEOFToken();
2625
+ break;
2626
+ }
2627
+ default: {
2628
+ this._emitCodePoint(cp);
2629
+ }
2630
+ }
2631
+ }
2632
+ // CDATA section bracket state
2633
+ //------------------------------------------------------------------
2634
+ _stateCdataSectionBracket(cp) {
2635
+ if (cp === $.RIGHT_SQUARE_BRACKET) {
2636
+ this.state = State.CDATA_SECTION_END;
2637
+ }
2638
+ else {
2639
+ this._emitChars(']');
2640
+ this.state = State.CDATA_SECTION;
2641
+ this._stateCdataSection(cp);
2642
+ }
2643
+ }
2644
+ // CDATA section end state
2645
+ //------------------------------------------------------------------
2646
+ _stateCdataSectionEnd(cp) {
2647
+ switch (cp) {
2648
+ case $.GREATER_THAN_SIGN: {
2649
+ this.state = State.DATA;
2650
+ break;
2651
+ }
2652
+ case $.RIGHT_SQUARE_BRACKET: {
2653
+ this._emitChars(']');
2654
+ break;
2655
+ }
2656
+ default: {
2657
+ this._emitChars(']]');
2658
+ this.state = State.CDATA_SECTION;
2659
+ this._stateCdataSection(cp);
2660
+ }
2661
+ }
2662
+ }
2663
+ // Character reference state
2664
+ //------------------------------------------------------------------
2665
+ _stateCharacterReference() {
2666
+ let length = this.entityDecoder.write(this.preprocessor.html, this.preprocessor.pos);
2667
+ if (length < 0) {
2668
+ if (this.preprocessor.lastChunkWritten) {
2669
+ length = this.entityDecoder.end();
2670
+ }
2671
+ else {
2672
+ // Wait for the rest of the entity.
2673
+ this.active = false;
2674
+ // Mark the entire buffer as read.
2675
+ this.preprocessor.pos = this.preprocessor.html.length - 1;
2676
+ this.consumedAfterSnapshot = 0;
2677
+ this.preprocessor.endOfChunkHit = true;
2678
+ return;
2679
+ }
2680
+ }
2681
+ if (length === 0) {
2682
+ // This was not a valid entity. Go back to the beginning, and
2683
+ // figure out what to do.
2684
+ this.preprocessor.pos = this.entityStartPos;
2685
+ this._flushCodePointConsumedAsCharacterReference($.AMPERSAND);
2686
+ this.state =
2687
+ !this._isCharacterReferenceInAttribute() && isAsciiAlphaNumeric(this.preprocessor.peek(1))
2688
+ ? State.AMBIGUOUS_AMPERSAND
2689
+ : this.returnState;
2690
+ }
2691
+ else {
2692
+ // We successfully parsed an entity. Switch to the return state.
2693
+ this.state = this.returnState;
2694
+ }
2695
+ }
2696
+ // Ambiguos ampersand state
2697
+ //------------------------------------------------------------------
2698
+ _stateAmbiguousAmpersand(cp) {
2699
+ if (isAsciiAlphaNumeric(cp)) {
2700
+ this._flushCodePointConsumedAsCharacterReference(cp);
2701
+ }
2702
+ else {
2703
+ if (cp === $.SEMICOLON) {
2704
+ this._err(ERR.unknownNamedCharacterReference);
2705
+ }
2706
+ this.state = this.returnState;
2707
+ this._callState(cp);
2708
+ }
2709
+ }
2710
+ }