nuxt-ignis 0.5.1 → 0.5.3

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 (1475) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +3 -2
  3. package/.nuxt/app.config.mjs +25 -1
  4. package/.nuxt/components.d.ts +480 -480
  5. package/.nuxt/content/components.ts +185 -208
  6. package/.nuxt/dev/index.mjs +660 -588
  7. package/.nuxt/dev/index.mjs.map +1 -1
  8. package/.nuxt/dist/server/client.manifest.mjs +1 -1
  9. package/.nuxt/dist/server/client.precomputed.mjs +1 -1
  10. package/.nuxt/eslint-typegen.d.ts +22 -1
  11. package/.nuxt/eslint.config.d.mts +3 -3
  12. package/.nuxt/eslint.config.mjs +10 -10
  13. package/.nuxt/image/providers.d.ts +52 -0
  14. package/.nuxt/imports.d.ts +79 -68
  15. package/.nuxt/manifest/latest.json +1 -1
  16. package/.nuxt/manifest/meta/dev.json +1 -1
  17. package/.nuxt/mdc-highlighter.mjs +4 -3
  18. package/.nuxt/mdc-image-component.mjs +1 -1
  19. package/.nuxt/mdc-imports.mjs +2 -2
  20. package/.nuxt/module/nuxt-robots.d.ts +13 -12
  21. package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
  22. package/.nuxt/module/nuxt-site-config.d.ts +8 -8
  23. package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
  24. package/.nuxt/nitro.json +5 -5
  25. package/.nuxt/nuxt.d.ts +11 -12
  26. package/.nuxt/nuxt.json +2 -2
  27. package/.nuxt/nuxt.node.d.ts +12 -11
  28. package/.nuxt/nuxt.shared.d.ts +1 -0
  29. package/.nuxt/tsconfig.app.json +234 -241
  30. package/.nuxt/tsconfig.json +237 -244
  31. package/.nuxt/tsconfig.node.json +133 -132
  32. package/.nuxt/tsconfig.server.json +154 -162
  33. package/.nuxt/tsconfig.shared.json +69 -75
  34. package/.nuxt/types/app.config.d.ts +25 -1
  35. package/.nuxt/types/build.d.ts +1 -2
  36. package/.nuxt/types/components.d.ts +480 -480
  37. package/.nuxt/types/i18n-plugin.d.ts +2 -2
  38. package/.nuxt/types/imports.d.ts +395 -362
  39. package/.nuxt/types/modules.d.ts +24 -46
  40. package/.nuxt/types/nitro-imports.d.ts +390 -390
  41. package/.nuxt/types/nitro-nuxt.d.ts +2 -1
  42. package/.nuxt/types/nitro-routes.d.ts +25 -25
  43. package/.nuxt/types/plugins.d.ts +42 -42
  44. package/.nuxt/types/runtime-config.d.ts +56 -2
  45. package/.nuxt/types/ui.d.ts +3 -2
  46. package/.nuxt/ui/auth-form.ts +20 -0
  47. package/.nuxt/ui/badge.ts +1 -1
  48. package/.nuxt/ui/banner.ts +108 -0
  49. package/.nuxt/ui/blog-post.ts +142 -0
  50. package/.nuxt/ui/blog-posts.ts +9 -0
  51. package/.nuxt/ui/button.ts +1 -1
  52. package/.nuxt/ui/calendar.ts +221 -9
  53. package/.nuxt/ui/changelog-version.ts +41 -0
  54. package/.nuxt/ui/changelog-versions.ts +8 -0
  55. package/.nuxt/ui/chat-message.ts +136 -0
  56. package/.nuxt/ui/chat-messages.ts +14 -0
  57. package/.nuxt/ui/chat-palette.ts +8 -0
  58. package/.nuxt/ui/chat-prompt-submit.ts +5 -0
  59. package/.nuxt/ui/chat-prompt.ts +35 -0
  60. package/.nuxt/ui/checkbox-group.ts +4 -1
  61. package/.nuxt/ui/checkbox.ts +5 -4
  62. package/.nuxt/ui/color-picker.ts +2 -2
  63. package/.nuxt/ui/command-palette.ts +12 -2
  64. package/.nuxt/ui/content/content-navigation.ts +368 -0
  65. package/.nuxt/ui/content/content-search-button.ts +15 -0
  66. package/.nuxt/ui/content/content-search.ts +13 -0
  67. package/.nuxt/ui/content/content-surround.ts +34 -0
  68. package/.nuxt/ui/content/content-toc.ts +155 -0
  69. package/.nuxt/ui/context-menu.ts +3 -1
  70. package/.nuxt/ui/dashboard-group.ts +3 -0
  71. package/.nuxt/ui/dashboard-navbar.ts +21 -0
  72. package/.nuxt/ui/dashboard-panel.ts +17 -0
  73. package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
  74. package/.nuxt/ui/dashboard-search-button.ts +15 -0
  75. package/.nuxt/ui/dashboard-search.ts +13 -0
  76. package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
  77. package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
  78. package/.nuxt/ui/dashboard-sidebar.ts +37 -0
  79. package/.nuxt/ui/dashboard-toolbar.ts +7 -0
  80. package/.nuxt/ui/dropdown-menu.ts +3 -1
  81. package/.nuxt/ui/empty.ts +83 -0
  82. package/.nuxt/ui/error.ts +9 -0
  83. package/.nuxt/ui/footer-columns.ts +28 -0
  84. package/.nuxt/ui/footer.ts +11 -0
  85. package/.nuxt/ui/header.ts +25 -0
  86. package/.nuxt/ui/index.ts +57 -2
  87. package/.nuxt/ui/input-date.ts +343 -0
  88. package/.nuxt/ui/input-menu.ts +13 -3
  89. package/.nuxt/ui/input-number.ts +26 -15
  90. package/.nuxt/ui/input-tags.ts +1 -1
  91. package/.nuxt/ui/input-time.ts +342 -0
  92. package/.nuxt/ui/input.ts +1 -1
  93. package/.nuxt/ui/kbd.ts +1 -1
  94. package/.nuxt/ui/main.ts +3 -0
  95. package/.nuxt/ui/marquee.ts +66 -0
  96. package/.nuxt/ui/modal.ts +36 -5
  97. package/.nuxt/ui/navigation-menu.ts +2 -0
  98. package/.nuxt/ui/page-anchors.ts +30 -0
  99. package/.nuxt/ui/page-aside.ts +10 -0
  100. package/.nuxt/ui/page-body.ts +3 -0
  101. package/.nuxt/ui/page-card.ts +279 -0
  102. package/.nuxt/ui/page-columns.ts +3 -0
  103. package/.nuxt/ui/page-cta.ts +70 -0
  104. package/.nuxt/ui/page-feature.ts +26 -0
  105. package/.nuxt/ui/page-grid.ts +3 -0
  106. package/.nuxt/ui/page-header.ts +18 -0
  107. package/.nuxt/ui/page-hero.ts +44 -0
  108. package/.nuxt/ui/page-links.ts +25 -0
  109. package/.nuxt/ui/page-list.ts +8 -0
  110. package/.nuxt/ui/page-logos.ts +15 -0
  111. package/.nuxt/ui/page-section.ts +84 -0
  112. package/.nuxt/ui/page.ts +32 -0
  113. package/.nuxt/ui/pricing-plan.ts +101 -0
  114. package/.nuxt/ui/pricing-plans.ts +22 -0
  115. package/.nuxt/ui/pricing-table.ts +51 -0
  116. package/.nuxt/ui/prose/a.ts +6 -0
  117. package/.nuxt/ui/prose/accordion-item.ts +3 -0
  118. package/.nuxt/ui/prose/accordion.ts +6 -0
  119. package/.nuxt/ui/prose/badge.ts +3 -0
  120. package/.nuxt/ui/prose/blockquote.ts +3 -0
  121. package/.nuxt/ui/prose/callout.ts +129 -0
  122. package/.nuxt/ui/prose/card-group.ts +3 -0
  123. package/.nuxt/ui/prose/card.ts +119 -0
  124. package/.nuxt/ui/prose/code-collapse.ts +19 -0
  125. package/.nuxt/ui/prose/code-group.ts +13 -0
  126. package/.nuxt/ui/prose/code-icon.ts +66 -0
  127. package/.nuxt/ui/prose/code-preview.ts +14 -0
  128. package/.nuxt/ui/prose/code-tree.ts +28 -0
  129. package/.nuxt/ui/prose/code.ts +27 -0
  130. package/.nuxt/ui/prose/collapsible.ts +12 -0
  131. package/.nuxt/ui/prose/em.ts +3 -0
  132. package/.nuxt/ui/prose/field-group.ts +3 -0
  133. package/.nuxt/ui/prose/field.ts +11 -0
  134. package/.nuxt/ui/prose/h1.ts +6 -0
  135. package/.nuxt/ui/prose/h2.ts +14 -0
  136. package/.nuxt/ui/prose/h3.ts +14 -0
  137. package/.nuxt/ui/prose/h4.ts +6 -0
  138. package/.nuxt/ui/prose/hr.ts +3 -0
  139. package/.nuxt/ui/prose/icon.ts +3 -0
  140. package/.nuxt/ui/prose/img.ts +23 -0
  141. package/.nuxt/ui/prose/index.ts +41 -0
  142. package/.nuxt/ui/prose/kbd.ts +3 -0
  143. package/.nuxt/ui/prose/li.ts +3 -0
  144. package/.nuxt/ui/prose/ol.ts +3 -0
  145. package/.nuxt/ui/prose/p.ts +3 -0
  146. package/.nuxt/ui/prose/pre.ts +17 -0
  147. package/.nuxt/ui/prose/steps.ts +19 -0
  148. package/.nuxt/ui/prose/strong.ts +3 -0
  149. package/.nuxt/ui/prose/table.ts +6 -0
  150. package/.nuxt/ui/prose/tabs-item.ts +3 -0
  151. package/.nuxt/ui/prose/tabs.ts +5 -0
  152. package/.nuxt/ui/prose/tbody.ts +3 -0
  153. package/.nuxt/ui/prose/td.ts +3 -0
  154. package/.nuxt/ui/prose/th.ts +3 -0
  155. package/.nuxt/ui/prose/thead.ts +3 -0
  156. package/.nuxt/ui/prose/tr.ts +3 -0
  157. package/.nuxt/ui/prose/ul.ts +3 -0
  158. package/.nuxt/ui/radio-group.ts +5 -3
  159. package/.nuxt/ui/select-menu.ts +13 -3
  160. package/.nuxt/ui/select.ts +5 -3
  161. package/.nuxt/ui/switch.ts +4 -3
  162. package/.nuxt/ui/table.ts +8 -2
  163. package/.nuxt/ui/textarea.ts +1 -1
  164. package/.nuxt/ui/tree.ts +24 -10
  165. package/.nuxt/ui/user.ts +101 -0
  166. package/.nuxt/ui-image-component.ts +1 -1
  167. package/.nuxt/ui.css +6 -0
  168. package/.output/nitro.json +3 -3
  169. package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-4kZc4IwOXqryLeYzsaTvEKd54SPfeeGKPyDAZei18kw.woff +0 -0
  170. package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-RvZUU2X45U7WIDI083h9MozPZMSPdvOCkgsORsWvPOw.woff +0 -0
  171. package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-mSqNnHyoMtDKNu3z_xDpL0hWMcL0lhabY3Oa0dnS5HM.woff +0 -0
  172. package/.output/public/_ignis-config.json +7 -1
  173. package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
  174. package/.output/public/_nuxt/-z2jk33i.js +1 -0
  175. package/.output/public/_nuxt/3L5yAyVe.js +1 -0
  176. package/.output/public/_nuxt/8nlalpbc.js +1 -0
  177. package/.output/public/_nuxt/As5Zy5cG.js +1 -0
  178. package/.output/public/_nuxt/B-TDuiGE.js +1 -0
  179. package/.output/public/_nuxt/B04mZI32.js +1 -0
  180. package/.output/public/_nuxt/B3zmx-p1.js +1 -0
  181. package/.output/public/_nuxt/B4eQjLRH.js +1 -0
  182. package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
  183. package/.output/public/_nuxt/BB2ULiwb.js +1 -0
  184. package/.output/public/_nuxt/BEvX3xjB.js +1 -0
  185. package/.output/public/_nuxt/BFcGh2xo.js +1 -0
  186. package/.output/public/_nuxt/BFdGKCUO.js +1 -0
  187. package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
  188. package/.output/public/_nuxt/BeRTSVEP.js +1 -0
  189. package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
  190. package/.output/public/_nuxt/BvFz8iHh.js +1 -0
  191. package/.output/public/_nuxt/BwUgVogm.js +1 -0
  192. package/.output/public/_nuxt/C1fHW8CN.js +1 -0
  193. package/.output/public/_nuxt/C1getMtX.js +49 -0
  194. package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
  195. package/.output/public/_nuxt/CExm4AMI.js +1 -0
  196. package/.output/public/_nuxt/CHcd0nHy.js +1 -0
  197. package/.output/public/_nuxt/CTbEZMxa.js +1 -0
  198. package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
  199. package/.output/public/_nuxt/Cna7T5zY.js +1 -0
  200. package/.output/public/_nuxt/CnghUxEk.js +1 -0
  201. package/.output/public/_nuxt/CvJSUdvI.js +1 -0
  202. package/.output/public/_nuxt/CwgBHvd_.js +1 -0
  203. package/.output/public/_nuxt/D1nIr4-J.js +1 -0
  204. package/.output/public/_nuxt/D2atCez-.js +1 -0
  205. package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
  206. package/.output/public/_nuxt/D5duQQkG.js +1 -0
  207. package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
  208. package/.output/public/_nuxt/DB3c8m3K.js +1 -0
  209. package/.output/public/_nuxt/DFP1sKjc.js +1 -0
  210. package/.output/public/_nuxt/DI5_qtj_.js +1 -0
  211. package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
  212. package/.output/public/_nuxt/DN3AlbuD.js +1 -0
  213. package/.output/public/_nuxt/DPDbQA17.js +1 -0
  214. package/.output/public/_nuxt/DSErOj49.js +1 -0
  215. package/.output/public/_nuxt/DXrSmKSt.js +1 -0
  216. package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
  217. package/.output/public/_nuxt/DgCebJqk.js +1 -0
  218. package/.output/public/_nuxt/DhhwMwQM.js +1 -0
  219. package/.output/public/_nuxt/Djhwz52y.js +1 -0
  220. package/.output/public/_nuxt/DnE1KSqg.js +1 -0
  221. package/.output/public/_nuxt/DncFEy6i.js +1 -0
  222. package/.output/public/_nuxt/DpZCZGQO.js +1 -0
  223. package/.output/public/_nuxt/Dx95U2T3.js +1 -0
  224. package/.output/public/_nuxt/FUdAqSn9.js +9 -0
  225. package/.output/public/_nuxt/GvxWNFgu.js +1 -0
  226. package/.output/public/_nuxt/HgKyGH3C.js +1 -0
  227. package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
  228. package/.output/public/_nuxt/LpFrvoF7.js +1 -0
  229. package/.output/public/_nuxt/Pre.HegCCrfd.css +2 -0
  230. package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
  231. package/.output/public/_nuxt/U1_7ggcx.js +1 -0
  232. package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
  233. package/.output/public/_nuxt/ahq42_9S.js +1 -0
  234. package/.output/public/_nuxt/b0AtYQ73.js +1 -0
  235. package/.output/public/_nuxt/builds/latest.json +1 -1
  236. package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
  237. package/.output/public/_nuxt/efC_w6sP.js +1 -0
  238. package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
  239. package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
  240. package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
  241. package/.output/public/_nuxt/ulE7jr93.js +1 -0
  242. package/.output/public/_nuxt/xHyrElgL.js +1 -0
  243. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  244. package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
  245. package/.output/server/chunks/_/nitro.mjs +1221 -1219
  246. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  247. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  248. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
  249. package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
  250. package/.output/server/chunks/raw/headers.mjs.map +1 -1
  251. package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
  252. package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
  253. package/.output/server/chunks/routes/renderer.mjs +27 -2
  254. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  255. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
  256. package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
  257. package/.output/server/chunks/virtual/global-sources.mjs +0 -8
  258. package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
  259. package/.output/server/index.mjs +1 -1
  260. package/.output/server/index.mjs.map +1 -1
  261. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/convertor/create.js +28 -0
  262. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/data-patch.js +6 -0
  263. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/data.js +95 -0
  264. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/SyntaxError.js +12 -0
  265. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/generate.js +131 -0
  266. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/index.js +4 -0
  267. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/parse.js +584 -0
  268. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/tokenizer.js +52 -0
  269. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/walk.js +52 -0
  270. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/create.js +98 -0
  271. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/sourceMap.js +92 -0
  272. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/token-before.js +182 -0
  273. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/index.js +30 -0
  274. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/Lexer.js +453 -0
  275. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/error.js +123 -0
  276. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-an-plus-b.js +238 -0
  277. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-const.js +8 -0
  278. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-urange.js +151 -0
  279. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic.js +598 -0
  280. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/match-graph.js +456 -0
  281. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/match.js +630 -0
  282. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/prepare-tokens.js +50 -0
  283. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/search.js +61 -0
  284. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/structure.js +164 -0
  285. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/trace.js +66 -0
  286. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/SyntaxError.js +65 -0
  287. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/create.js +346 -0
  288. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/sequence.js +43 -0
  289. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/font-face.js +8 -0
  290. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/import.js +39 -0
  291. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/index.js +13 -0
  292. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/media.js +12 -0
  293. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/page.js +12 -0
  294. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/supports.js +80 -0
  295. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/lexer.js +8 -0
  296. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/mix.js +138 -0
  297. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/parser.js +30 -0
  298. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/walker.js +5 -0
  299. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/create.js +53 -0
  300. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/function/expression.js +7 -0
  301. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/function/var.js +39 -0
  302. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/index.js +10 -0
  303. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AnPlusB.js +292 -0
  304. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Atrule.js +100 -0
  305. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AtrulePrelude.js +47 -0
  306. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AttributeSelector.js +147 -0
  307. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Block.js +89 -0
  308. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Brackets.js +35 -0
  309. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/CDC.js +19 -0
  310. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/CDO.js +19 -0
  311. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/ClassSelector.js +24 -0
  312. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Combinator.js +54 -0
  313. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Comment.js +33 -0
  314. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Declaration.js +165 -0
  315. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/DeclarationList.js +49 -0
  316. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Dimension.js +23 -0
  317. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Function.js +41 -0
  318. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Hash.js +23 -0
  319. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/IdSelector.js +26 -0
  320. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Identifier.js +18 -0
  321. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaFeature.js +77 -0
  322. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaQuery.js +60 -0
  323. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaQueryList.js +34 -0
  324. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Nth.js +47 -0
  325. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Number.js +18 -0
  326. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Operator.js +21 -0
  327. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Parentheses.js +34 -0
  328. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Percentage.js +18 -0
  329. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/PseudoClassSelector.js +63 -0
  330. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/PseudoElementSelector.js +64 -0
  331. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Ratio.js +59 -0
  332. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Raw.js +41 -0
  333. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Rule.js +51 -0
  334. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Selector.js +32 -0
  335. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/SelectorList.js +35 -0
  336. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/String.js +19 -0
  337. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/StyleSheet.js +82 -0
  338. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/TypeSelector.js +52 -0
  339. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/UnicodeRange.js +156 -0
  340. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Url.js +52 -0
  341. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Value.js +19 -0
  342. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/WhiteSpace.js +27 -0
  343. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/index-parse.js +40 -0
  344. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/index.js +40 -0
  345. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/pseudo/index.js +48 -0
  346. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/atrulePrelude.js +5 -0
  347. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/default.js +85 -0
  348. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/index.js +3 -0
  349. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/selector.js +90 -0
  350. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/value.js +25 -0
  351. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/OffsetToLocation.js +87 -0
  352. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/TokenStream.js +272 -0
  353. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/adopt-buffer.js +9 -0
  354. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/char-code-definitions.js +207 -0
  355. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/index.js +513 -0
  356. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/names.js +27 -0
  357. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/types.js +28 -0
  358. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/utils.js +254 -0
  359. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/List.js +469 -0
  360. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/clone.js +21 -0
  361. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/create-custom-error.js +14 -0
  362. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/ident.js +101 -0
  363. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/names.js +106 -0
  364. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/string.js +99 -0
  365. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/url.js +108 -0
  366. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/version.js +5 -0
  367. package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/walker/create.js +287 -0
  368. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/convertor/create.js +28 -0
  369. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/data-patch.js +6 -0
  370. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/data.js +118 -0
  371. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/SyntaxError.js +12 -0
  372. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/generate.js +135 -0
  373. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/index.js +4 -0
  374. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/parse.js +552 -0
  375. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/scanner.js +109 -0
  376. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/walk.js +53 -0
  377. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/create.js +97 -0
  378. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/sourceMap.js +92 -0
  379. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/token-before.js +182 -0
  380. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/index.js +30 -0
  381. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/Lexer.js +511 -0
  382. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/error.js +123 -0
  383. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-an-plus-b.js +238 -0
  384. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-const.js +8 -0
  385. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-urange.js +151 -0
  386. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic.js +622 -0
  387. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/match-graph.js +527 -0
  388. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/match.js +630 -0
  389. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/prepare-tokens.js +50 -0
  390. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/search.js +61 -0
  391. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/structure.js +169 -0
  392. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/trace.js +66 -0
  393. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/units.js +27 -0
  394. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/SyntaxError.js +70 -0
  395. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/create.js +350 -0
  396. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/sequence.js +43 -0
  397. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/container.js +28 -0
  398. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/font-face.js +8 -0
  399. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/import.js +104 -0
  400. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/index.js +23 -0
  401. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/layer.js +12 -0
  402. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/media.js +12 -0
  403. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/nest.js +12 -0
  404. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/page.js +12 -0
  405. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/scope.js +12 -0
  406. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/starting-style.js +8 -0
  407. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/supports.js +12 -0
  408. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/lexer.js +10 -0
  409. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/mix.js +123 -0
  410. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/parser.js +45 -0
  411. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/walker.js +5 -0
  412. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/create.js +55 -0
  413. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/function/expression.js +7 -0
  414. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/function/var.js +39 -0
  415. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/index.js +10 -0
  416. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AnPlusB.js +292 -0
  417. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Atrule.js +100 -0
  418. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AtrulePrelude.js +47 -0
  419. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AttributeSelector.js +147 -0
  420. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Block.js +95 -0
  421. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Brackets.js +35 -0
  422. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/CDC.js +19 -0
  423. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/CDO.js +19 -0
  424. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/ClassSelector.js +24 -0
  425. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Combinator.js +54 -0
  426. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Comment.js +33 -0
  427. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Condition.js +123 -0
  428. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Declaration.js +165 -0
  429. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/DeclarationList.js +62 -0
  430. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Dimension.js +23 -0
  431. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Feature.js +103 -0
  432. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/FeatureFunction.js +63 -0
  433. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/FeatureRange.js +133 -0
  434. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Function.js +41 -0
  435. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/GeneralEnclosed.js +66 -0
  436. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Hash.js +23 -0
  437. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/IdSelector.js +26 -0
  438. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Identifier.js +18 -0
  439. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Layer.js +28 -0
  440. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/LayerList.js +36 -0
  441. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/MediaQuery.js +102 -0
  442. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/MediaQueryList.js +34 -0
  443. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/NestingSelector.js +22 -0
  444. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Nth.js +47 -0
  445. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Number.js +18 -0
  446. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Operator.js +21 -0
  447. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Parentheses.js +34 -0
  448. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Percentage.js +18 -0
  449. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/PseudoClassSelector.js +65 -0
  450. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/PseudoElementSelector.js +66 -0
  451. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Ratio.js +68 -0
  452. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Raw.js +41 -0
  453. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Rule.js +51 -0
  454. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Scope.js +66 -0
  455. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Selector.js +31 -0
  456. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/SelectorList.js +35 -0
  457. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/String.js +19 -0
  458. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/StyleSheet.js +82 -0
  459. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/SupportsDeclaration.js +34 -0
  460. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/TypeSelector.js +52 -0
  461. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/UnicodeRange.js +156 -0
  462. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Url.js +52 -0
  463. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Value.js +19 -0
  464. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/WhiteSpace.js +27 -0
  465. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/index-parse.js +49 -0
  466. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/index.js +49 -0
  467. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/pseudo/index.js +56 -0
  468. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/pseudo/lang.js +33 -0
  469. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/atrulePrelude.js +5 -0
  470. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/default.js +85 -0
  471. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/index.js +3 -0
  472. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/selector.js +94 -0
  473. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/value.js +25 -0
  474. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/OffsetToLocation.js +87 -0
  475. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/TokenStream.js +316 -0
  476. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/adopt-buffer.js +9 -0
  477. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/char-code-definitions.js +212 -0
  478. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/index.js +513 -0
  479. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/names.js +28 -0
  480. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/types.js +28 -0
  481. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/utils.js +254 -0
  482. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/List.js +469 -0
  483. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/clone.js +21 -0
  484. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/create-custom-error.js +14 -0
  485. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/ident.js +101 -0
  486. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/names.js +106 -0
  487. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/string.js +99 -0
  488. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/url.js +108 -0
  489. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/version.js +5 -0
  490. package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/walker/create.js +287 -0
  491. package/.output/server/node_modules/.nitro/css-tree@3.1.0/package.json +125 -0
  492. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/decode.js +496 -0
  493. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/decode_codepoint.js +71 -0
  494. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/encode.js +69 -0
  495. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/escape.js +116 -0
  496. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/decode-data-html.js +7 -0
  497. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/decode-data-xml.js +7 -0
  498. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/encode-html.js +10 -0
  499. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/index.js +99 -0
  500. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/package.json +1 -0
  501. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/decode-codepoint.js +77 -0
  502. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/decode.js +568 -0
  503. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
  504. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
  505. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
  506. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
  507. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
  508. package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
  509. package/.output/server/node_modules/@fastify/accept-negotiator/package.json +42 -16
  510. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +292 -0
  511. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +702 -0
  512. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +76 -0
  513. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +40 -0
  514. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +52 -0
  515. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +133 -0
  516. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +20 -0
  517. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +15 -0
  518. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +18 -0
  519. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +18 -0
  520. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +31 -0
  521. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +80 -0
  522. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +102 -0
  523. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +29 -0
  524. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +60 -0
  525. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +50 -0
  526. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +204 -0
  527. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +35 -0
  528. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +134 -0
  529. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +167 -0
  530. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +81 -0
  531. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +94 -0
  532. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +28 -0
  533. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +78 -0
  534. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +68 -0
  535. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +47 -0
  536. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +105 -0
  537. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +38 -0
  538. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +94 -0
  539. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +64 -0
  540. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
  541. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +18 -0
  542. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +58 -0
  543. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +34 -0
  544. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +13 -0
  545. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +126 -0
  546. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +21 -0
  547. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +27 -0
  548. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +38 -0
  549. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +93 -0
  550. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +48 -0
  551. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +24 -0
  552. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +44 -0
  553. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +125 -0
  554. package/.output/server/node_modules/@iconify/utils/lib/index.js +53 -0
  555. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +32 -0
  556. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +28 -0
  557. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +42 -0
  558. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +63 -0
  559. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +27 -0
  560. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +27 -0
  561. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +10 -0
  562. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +115 -0
  563. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +32 -0
  564. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +15 -0
  565. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +10 -0
  566. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +42 -0
  567. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +23 -0
  568. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +69 -0
  569. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +55 -0
  570. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +28 -0
  571. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +8 -0
  572. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +23 -0
  573. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +9 -0
  574. package/.output/server/node_modules/@iconify/utils/package.json +88 -417
  575. package/.output/server/node_modules/@img/colour/color.cjs +1594 -0
  576. package/.output/server/node_modules/@img/colour/index.cjs +1 -0
  577. package/.output/server/node_modules/@img/colour/package.json +45 -0
  578. package/.output/server/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
  579. package/.output/server/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
  580. package/.output/server/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.17.3.dll +0 -0
  581. package/.output/server/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64.node +0 -0
  582. package/.output/server/node_modules/@img/sharp-win32-x64/package.json +39 -0
  583. package/.output/server/node_modules/@img/sharp-win32-x64/versions.json +30 -0
  584. package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
  585. package/.output/server/node_modules/@intlify/core/package.json +3 -3
  586. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
  587. package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
  588. package/.output/server/node_modules/@intlify/h3/dist/index.mjs +5 -1
  589. package/.output/server/node_modules/@intlify/h3/package.json +81 -48
  590. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
  591. package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
  592. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
  593. package/.output/server/node_modules/@intlify/shared/package.json +1 -1
  594. package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
  595. package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
  596. package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
  597. package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
  598. package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
  599. package/.output/server/node_modules/@poppinss/string/package.json +28 -25
  600. package/.output/server/node_modules/@shikijs/core/dist/index.mjs +144 -41
  601. package/.output/server/node_modules/@shikijs/core/package.json +2 -2
  602. package/.output/server/node_modules/@shikijs/engine-javascript/package.json +3 -3
  603. package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +3 -3
  604. package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
  605. package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +1 -1
  606. package/.output/server/node_modules/@shikijs/langs/package.json +6 -3
  607. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
  608. package/.output/server/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
  609. package/.output/server/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
  610. package/.output/server/node_modules/@shikijs/themes/package.json +3 -3
  611. package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +64 -26
  612. package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
  613. package/.output/server/node_modules/@shikijs/types/package.json +1 -1
  614. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +128 -106
  615. package/.output/server/node_modules/@vue/compiler-core/package.json +5 -5
  616. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +54 -54
  617. package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
  618. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +35 -33
  619. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  620. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +64 -18
  621. package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
  622. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +2048 -2010
  623. package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
  624. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +58 -29
  625. package/.output/server/node_modules/@vue/runtime-dom/package.json +5 -5
  626. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
  627. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  628. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
  629. package/.output/server/node_modules/@vue/shared/package.json +1 -1
  630. package/.output/server/node_modules/css-select/lib/esm/attributes.js +222 -0
  631. package/.output/server/node_modules/css-select/lib/esm/compile.js +115 -0
  632. package/.output/server/node_modules/css-select/lib/esm/general.js +144 -0
  633. package/.output/server/node_modules/css-select/lib/esm/index.js +115 -0
  634. package/.output/server/node_modules/css-select/lib/esm/package.json +1 -0
  635. package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
  636. package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
  637. package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
  638. package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
  639. package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
  640. package/.output/server/node_modules/css-select/lib/esm/sort.js +79 -0
  641. package/.output/server/node_modules/csso/lib/clean/Atrule.js +69 -0
  642. package/.output/server/node_modules/csso/lib/clean/Comment.js +3 -0
  643. package/.output/server/node_modules/csso/lib/clean/Declaration.js +14 -0
  644. package/.output/server/node_modules/csso/lib/clean/Raw.js +9 -0
  645. package/.output/server/node_modules/csso/lib/clean/Rule.js +100 -0
  646. package/.output/server/node_modules/csso/lib/clean/TypeSelector.js +19 -0
  647. package/.output/server/node_modules/csso/lib/clean/WhiteSpace.js +3 -0
  648. package/.output/server/node_modules/csso/lib/clean/index.js +28 -0
  649. package/.output/server/node_modules/csso/lib/clean/utils.js +7 -0
  650. package/.output/server/node_modules/csso/lib/compress.js +196 -0
  651. package/.output/server/node_modules/csso/lib/index.js +131 -0
  652. package/.output/server/node_modules/csso/lib/replace/Atrule.js +9 -0
  653. package/.output/server/node_modules/csso/lib/replace/AttributeSelector.js +28 -0
  654. package/.output/server/node_modules/csso/lib/replace/Dimension.js +63 -0
  655. package/.output/server/node_modules/csso/lib/replace/Number.js +40 -0
  656. package/.output/server/node_modules/csso/lib/replace/Percentage.js +37 -0
  657. package/.output/server/node_modules/csso/lib/replace/Url.js +4 -0
  658. package/.output/server/node_modules/csso/lib/replace/Value.js +26 -0
  659. package/.output/server/node_modules/csso/lib/replace/atrule/keyframes.js +21 -0
  660. package/.output/server/node_modules/csso/lib/replace/color.js +498 -0
  661. package/.output/server/node_modules/csso/lib/replace/index.js +32 -0
  662. package/.output/server/node_modules/csso/lib/replace/property/background.js +50 -0
  663. package/.output/server/node_modules/csso/lib/replace/property/border.js +16 -0
  664. package/.output/server/node_modules/csso/lib/replace/property/font-weight.js +22 -0
  665. package/.output/server/node_modules/csso/lib/replace/property/font.js +30 -0
  666. package/.output/server/node_modules/csso/lib/restructure/1-mergeAtrule.js +106 -0
  667. package/.output/server/node_modules/csso/lib/restructure/2-initialMergeRuleset.js +53 -0
  668. package/.output/server/node_modules/csso/lib/restructure/3-disjoinRuleset.js +42 -0
  669. package/.output/server/node_modules/csso/lib/restructure/4-restructShorthand.js +425 -0
  670. package/.output/server/node_modules/csso/lib/restructure/6-restructBlock.js +308 -0
  671. package/.output/server/node_modules/csso/lib/restructure/7-mergeRuleset.js +86 -0
  672. package/.output/server/node_modules/csso/lib/restructure/8-restructRuleset.js +176 -0
  673. package/.output/server/node_modules/csso/lib/restructure/index.js +35 -0
  674. package/.output/server/node_modules/csso/lib/restructure/prepare/createDeclarationIndexer.js +31 -0
  675. package/.output/server/node_modules/csso/lib/restructure/prepare/index.js +41 -0
  676. package/.output/server/node_modules/csso/lib/restructure/prepare/processSelector.js +97 -0
  677. package/.output/server/node_modules/csso/lib/restructure/prepare/specificity.js +131 -0
  678. package/.output/server/node_modules/csso/lib/restructure/utils.js +142 -0
  679. package/.output/server/node_modules/csso/lib/syntax.js +60 -0
  680. package/.output/server/node_modules/csso/lib/usage.js +71 -0
  681. package/.output/server/node_modules/csso/lib/utils.js +2 -0
  682. package/.output/server/node_modules/csso/lib/version.js +5 -0
  683. package/.output/server/node_modules/devalue/index.js +1 -0
  684. package/.output/server/node_modules/devalue/package.json +1 -1
  685. package/.output/server/node_modules/devalue/src/parse.js +5 -1
  686. package/.output/server/node_modules/devalue/src/stringify.js +10 -6
  687. package/.output/server/node_modules/devalue/src/uneval.js +10 -6
  688. package/.output/server/node_modules/devalue/src/utils.js +5 -1
  689. package/.output/server/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
  690. package/.output/server/node_modules/dom-serializer/lib/esm/index.js +190 -0
  691. package/.output/server/node_modules/dom-serializer/lib/esm/package.json +1 -0
  692. package/.output/server/node_modules/domelementtype/lib/esm/index.js +51 -0
  693. package/.output/server/node_modules/domelementtype/lib/esm/package.json +1 -0
  694. package/.output/server/node_modules/domhandler/lib/esm/index.js +146 -0
  695. package/.output/server/node_modules/domhandler/lib/esm/node.js +338 -0
  696. package/.output/server/node_modules/domhandler/lib/esm/package.json +1 -0
  697. package/.output/server/node_modules/domutils/lib/esm/feeds.js +183 -0
  698. package/.output/server/node_modules/domutils/lib/esm/helpers.js +136 -0
  699. package/.output/server/node_modules/domutils/lib/esm/index.js +10 -0
  700. package/.output/server/node_modules/domutils/lib/esm/legacy.js +152 -0
  701. package/.output/server/node_modules/domutils/lib/esm/manipulation.js +134 -0
  702. package/.output/server/node_modules/domutils/lib/esm/package.json +1 -0
  703. package/.output/server/node_modules/domutils/lib/esm/querying.js +142 -0
  704. package/.output/server/node_modules/domutils/lib/esm/stringify.js +81 -0
  705. package/.output/server/node_modules/domutils/lib/esm/traversal.js +112 -0
  706. package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
  707. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +40 -18
  708. package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
  709. package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
  710. package/.output/server/node_modules/ipx/dist/index.mjs +1 -1
  711. package/.output/server/node_modules/ipx/dist/shared/ipx.CXJeaylD.mjs +764 -0
  712. package/.output/server/node_modules/ipx/package.json +29 -30
  713. package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
  714. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +12 -12
  715. package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +17 -13
  716. package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +1 -1
  717. package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +16 -16
  718. package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +1 -1
  719. package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +5 -5
  720. package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +1 -1
  721. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
  722. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +23 -17
  723. package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +13 -9
  724. package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +1 -1
  725. package/.output/server/node_modules/jose/dist/webapi/key/export.js +1 -1
  726. package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +3 -3
  727. package/.output/server/node_modules/jose/dist/webapi/key/import.js +5 -5
  728. package/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js +4 -4
  729. package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +3 -7
  730. package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +11 -0
  731. package/.output/server/node_modules/jose/dist/webapi/lib/cek.js +2 -2
  732. package/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js +2 -2
  733. package/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js +2 -2
  734. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js +2 -2
  735. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +15 -19
  736. package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +2 -6
  737. package/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js +7 -7
  738. package/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +4 -4
  739. package/.output/server/node_modules/jose/dist/webapi/lib/digest.js +2 -2
  740. package/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js +5 -5
  741. package/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js +8 -8
  742. package/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +4 -4
  743. package/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +3 -3
  744. package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +2 -6
  745. package/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js +2 -2
  746. package/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js +6 -14
  747. package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +11 -8
  748. package/.output/server/node_modules/jose/dist/webapi/lib/is_object.js +3 -5
  749. package/.output/server/node_modules/jose/dist/webapi/lib/iv.js +1 -1
  750. package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +2 -2
  751. package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +59 -6
  752. package/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js +2 -2
  753. package/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js +4 -4
  754. package/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js +5 -3
  755. package/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js +1 -1
  756. package/.output/server/node_modules/jose/dist/webapi/lib/sign.js +6 -6
  757. package/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js +2 -2
  758. package/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js +2 -2
  759. package/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js +2 -2
  760. package/.output/server/node_modules/jose/dist/webapi/lib/verify.js +6 -6
  761. package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +1 -1
  762. package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
  763. package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
  764. package/.output/server/node_modules/jose/package.json +1 -1
  765. package/.output/server/node_modules/mdast-util-to-hast/lib/footer.js +2 -4
  766. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +3 -6
  767. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/break.js +3 -7
  768. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/code.js +8 -9
  769. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/delete.js +3 -6
  770. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +3 -6
  771. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +3 -3
  772. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/heading.js +3 -6
  773. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -7
  774. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +3 -5
  775. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image.js +3 -4
  776. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/index.js +5 -1
  777. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +3 -7
  778. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +3 -5
  779. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link.js +3 -4
  780. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +3 -9
  781. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list.js +3 -7
  782. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +3 -6
  783. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/root.js +3 -7
  784. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/strong.js +3 -6
  785. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +3 -6
  786. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +3 -9
  787. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table.js +3 -3
  788. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/text.js +3 -4
  789. package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +3 -6
  790. package/.output/server/node_modules/mdast-util-to-hast/lib/index.js +3 -3
  791. package/.output/server/node_modules/mdast-util-to-hast/lib/revert.js +3 -9
  792. package/.output/server/node_modules/mdast-util-to-hast/lib/state.js +19 -16
  793. package/.output/server/node_modules/mdast-util-to-hast/package.json +2 -1
  794. package/.output/server/node_modules/node-mock-http/package.json +10 -10
  795. package/.output/server/node_modules/nth-check/lib/esm/compile.js +113 -0
  796. package/.output/server/node_modules/nth-check/lib/esm/index.js +63 -0
  797. package/.output/server/node_modules/nth-check/lib/esm/package.json +1 -0
  798. package/.output/server/node_modules/nth-check/lib/esm/parse.js +73 -0
  799. package/.output/server/node_modules/oauth4webapi/build/index.js +41 -30
  800. package/.output/server/node_modules/oauth4webapi/package.json +14 -15
  801. package/.output/server/node_modules/ofetch/dist/node.mjs +3 -3
  802. package/.output/server/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs +349 -0
  803. package/.output/server/node_modules/ofetch/package.json +19 -19
  804. package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +4 -4
  805. package/.output/server/node_modules/oniguruma-to-es/package.json +4 -4
  806. package/.output/server/node_modules/pathe/dist/index.mjs +19 -1
  807. package/.output/server/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +249 -0
  808. package/.output/server/node_modules/pathe/package.json +33 -20
  809. package/.output/server/node_modules/regex/package.json +6 -6
  810. package/.output/server/node_modules/regex/src/atomic.js +6 -3
  811. package/.output/server/node_modules/sax/lib/sax.js +1697 -0
  812. package/.output/server/node_modules/sax/package.json +28 -0
  813. package/.output/server/node_modules/semver/classes/comparator.js +143 -0
  814. package/.output/server/node_modules/semver/classes/range.js +557 -0
  815. package/.output/server/node_modules/semver/functions/cmp.js +54 -0
  816. package/.output/server/node_modules/semver/functions/eq.js +5 -0
  817. package/.output/server/node_modules/semver/functions/gt.js +5 -0
  818. package/.output/server/node_modules/semver/functions/lt.js +5 -0
  819. package/.output/server/node_modules/semver/functions/lte.js +5 -0
  820. package/.output/server/node_modules/semver/functions/neq.js +5 -0
  821. package/.output/server/node_modules/semver/functions/satisfies.js +12 -0
  822. package/.output/server/node_modules/semver/internal/lrucache.js +42 -0
  823. package/.output/server/node_modules/sharp/lib/channel.js +10 -7
  824. package/.output/server/node_modules/sharp/lib/colour.js +42 -31
  825. package/.output/server/node_modules/sharp/lib/composite.js +12 -10
  826. package/.output/server/node_modules/sharp/lib/constructor.js +92 -32
  827. package/.output/server/node_modules/sharp/lib/index.js +4 -4
  828. package/.output/server/node_modules/sharp/lib/input.js +252 -74
  829. package/.output/server/node_modules/sharp/lib/is.js +45 -57
  830. package/.output/server/node_modules/sharp/lib/libvips.js +133 -66
  831. package/.output/server/node_modules/sharp/lib/operation.js +158 -61
  832. package/.output/server/node_modules/sharp/lib/output.js +350 -97
  833. package/.output/server/node_modules/sharp/lib/resize.js +73 -60
  834. package/.output/server/node_modules/sharp/lib/sharp.js +110 -27
  835. package/.output/server/node_modules/sharp/lib/utility.js +47 -43
  836. package/.output/server/node_modules/sharp/package.json +74 -76
  837. package/.output/server/node_modules/shiki/package.json +9 -9
  838. package/.output/server/node_modules/strnum/package.json +1 -1
  839. package/.output/server/node_modules/strnum/strnum.js +1 -1
  840. package/.output/server/node_modules/svgo/lib/builtin.js +116 -56
  841. package/.output/server/node_modules/svgo/lib/parser.js +40 -94
  842. package/.output/server/node_modules/svgo/lib/path.js +45 -63
  843. package/.output/server/node_modules/svgo/lib/stringifier.js +116 -113
  844. package/.output/server/node_modules/svgo/lib/style.js +51 -63
  845. package/.output/server/node_modules/svgo/lib/svgo/css-select-adapter.js +82 -59
  846. package/.output/server/node_modules/svgo/lib/svgo/plugins.js +21 -11
  847. package/.output/server/node_modules/svgo/lib/svgo/tools.js +39 -43
  848. package/.output/server/node_modules/svgo/lib/svgo-node.js +44 -31
  849. package/.output/server/node_modules/svgo/lib/svgo.js +55 -14
  850. package/.output/server/node_modules/svgo/lib/types.js +1 -0
  851. package/.output/server/node_modules/svgo/lib/util/map-nodes-to-parents.js +29 -0
  852. package/.output/server/node_modules/svgo/lib/util/visit.js +36 -0
  853. package/.output/server/node_modules/svgo/lib/version.js +7 -0
  854. package/.output/server/node_modules/svgo/lib/xast.js +32 -66
  855. package/.output/server/node_modules/svgo/package.json +68 -35
  856. package/.output/server/node_modules/svgo/plugins/_collections.js +150 -34
  857. package/.output/server/node_modules/svgo/plugins/_path.js +206 -173
  858. package/.output/server/node_modules/svgo/plugins/_transforms.js +470 -125
  859. package/.output/server/node_modules/svgo/plugins/addAttributesToSVGElement.js +13 -9
  860. package/.output/server/node_modules/svgo/plugins/addClassesToSVGElement.js +16 -8
  861. package/.output/server/node_modules/svgo/plugins/applyTransforms.js +26 -38
  862. package/.output/server/node_modules/svgo/plugins/cleanupAttrs.js +11 -7
  863. package/.output/server/node_modules/svgo/plugins/cleanupEnableBackground.js +12 -13
  864. package/.output/server/node_modules/svgo/plugins/cleanupIds.js +25 -24
  865. package/.output/server/node_modules/svgo/plugins/cleanupListOfValues.js +19 -16
  866. package/.output/server/node_modules/svgo/plugins/cleanupNumericValues.js +19 -18
  867. package/.output/server/node_modules/svgo/plugins/collapseGroups.js +30 -31
  868. package/.output/server/node_modules/svgo/plugins/convertColors.js +51 -17
  869. package/.output/server/node_modules/svgo/plugins/convertEllipseToCircle.js +4 -6
  870. package/.output/server/node_modules/svgo/plugins/convertOneStopGradients.js +13 -24
  871. package/.output/server/node_modules/svgo/plugins/convertPathData.js +323 -261
  872. package/.output/server/node_modules/svgo/plugins/convertShapeToPath.js +22 -29
  873. package/.output/server/node_modules/svgo/plugins/convertStyleToAttrs.js +26 -17
  874. package/.output/server/node_modules/svgo/plugins/convertTransform.js +62 -171
  875. package/.output/server/node_modules/svgo/plugins/inlineStyles.js +33 -30
  876. package/.output/server/node_modules/svgo/plugins/mergePaths.js +36 -15
  877. package/.output/server/node_modules/svgo/plugins/mergeStyles.js +9 -26
  878. package/.output/server/node_modules/svgo/plugins/minifyStyles.js +30 -16
  879. package/.output/server/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +13 -12
  880. package/.output/server/node_modules/svgo/plugins/moveGroupAttrsToElems.js +8 -9
  881. package/.output/server/node_modules/svgo/plugins/prefixIds.js +26 -21
  882. package/.output/server/node_modules/svgo/plugins/preset-default.js +37 -42
  883. package/.output/server/node_modules/svgo/plugins/removeAttributesBySelector.js +5 -7
  884. package/.output/server/node_modules/svgo/plugins/removeAttrs.js +13 -11
  885. package/.output/server/node_modules/svgo/plugins/removeComments.js +9 -6
  886. package/.output/server/node_modules/svgo/plugins/removeDeprecatedAttrs.js +120 -0
  887. package/.output/server/node_modules/svgo/plugins/removeDesc.js +13 -10
  888. package/.output/server/node_modules/svgo/plugins/removeDimensions.js +5 -7
  889. package/.output/server/node_modules/svgo/plugins/removeDoctype.js +5 -7
  890. package/.output/server/node_modules/svgo/plugins/removeEditorsNSData.js +12 -10
  891. package/.output/server/node_modules/svgo/plugins/removeElementsByAttr.js +10 -6
  892. package/.output/server/node_modules/svgo/plugins/removeEmptyAttrs.js +5 -7
  893. package/.output/server/node_modules/svgo/plugins/removeEmptyContainers.js +21 -13
  894. package/.output/server/node_modules/svgo/plugins/removeEmptyText.js +11 -6
  895. package/.output/server/node_modules/svgo/plugins/removeHiddenElems.js +56 -37
  896. package/.output/server/node_modules/svgo/plugins/removeMetadata.js +5 -7
  897. package/.output/server/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +8 -10
  898. package/.output/server/node_modules/svgo/plugins/removeOffCanvasPaths.js +14 -21
  899. package/.output/server/node_modules/svgo/plugins/removeRasterImages.js +5 -7
  900. package/.output/server/node_modules/svgo/plugins/removeScripts.js +63 -0
  901. package/.output/server/node_modules/svgo/plugins/removeStyleElement.js +5 -7
  902. package/.output/server/node_modules/svgo/plugins/removeTitle.js +5 -7
  903. package/.output/server/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +32 -30
  904. package/.output/server/node_modules/svgo/plugins/removeUnusedNS.js +5 -9
  905. package/.output/server/node_modules/svgo/plugins/removeUselessDefs.js +14 -29
  906. package/.output/server/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +17 -11
  907. package/.output/server/node_modules/svgo/plugins/removeViewBox.js +5 -7
  908. package/.output/server/node_modules/svgo/plugins/removeXMLNS.js +4 -6
  909. package/.output/server/node_modules/svgo/plugins/removeXMLProcInst.js +5 -7
  910. package/.output/server/node_modules/svgo/plugins/removeXlink.js +15 -14
  911. package/.output/server/node_modules/svgo/plugins/reusePaths.js +9 -29
  912. package/.output/server/node_modules/svgo/plugins/sortAttrs.js +15 -10
  913. package/.output/server/node_modules/svgo/plugins/sortDefsChildren.js +8 -11
  914. package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
  915. package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
  916. package/.output/server/node_modules/unhead/dist/shared/unhead.CGCfDSEL.mjs +180 -0
  917. package/.output/server/node_modules/unhead/dist/shared/unhead.CYpwL2hc.mjs +194 -0
  918. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  919. package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
  920. package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
  921. package/.output/server/node_modules/unhead/package.json +1 -1
  922. package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
  923. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
  924. package/.output/server/node_modules/vue/package.json +6 -6
  925. package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
  926. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
  927. package/.output/server/node_modules/vue-router/package.json +2 -3
  928. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
  929. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
  930. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
  931. package/.output/server/node_modules/yaml/dist/errors.js +1 -1
  932. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
  933. package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
  934. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
  935. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
  936. package/.output/server/node_modules/yaml/package.json +4 -4
  937. package/.output/server/package.json +50 -62
  938. package/app/components/ignis/IgnisContentFeatures.vue +1 -0
  939. package/bin/set-app-vue.js +1 -1
  940. package/bin/set-css.js +1 -1
  941. package/bin/set-eslint.js +1 -1
  942. package/bin/setup.js +3 -3
  943. package/eslint.config.mjs +7 -4
  944. package/features.ts +13 -0
  945. package/i18n/locales/en.json +1 -0
  946. package/nuxt.config.ts +5 -13
  947. package/package.json +14 -12
  948. package/public/_ignis-config.json +7 -1
  949. package/test/config/social.txt +37 -0
  950. package/test/config.test.ts +9 -0
  951. package/test/features/enable-all.txt +1 -1
  952. package/test/features/social.txt +4 -0
  953. package/test/features.test.ts +10 -0
  954. package/vitest.config.ts +1 -3
  955. package/.nuxt/cache/fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-Ih_Po7WkbhDymI0Y_ntmpz__bZJprHiu7_c5N_X6AAA.woff2 +0 -0
  956. package/.nuxt/cache/fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-TnR4PP30hI5UWldZ0knUBrHkvIoiDWYXwn2v1NtCh80.woff2 +0 -0
  957. package/.nuxt/cache/fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-H99o9_8BZXq7ey5UyS99Wn9zX0V0anvpXEqAqavcJlQ.woff2 +0 -0
  958. package/.nuxt/cache/fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-eYLoSJPWhqR5CE0c8XPABls8kE_7Fc7F2x7Gtfsg_8M.woff2 +0 -0
  959. package/.nuxt/cache/fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-s32Y9TxBLZRr_ebRHQ3l3q1g2j_0tPT879PPSBGrj8A.woff2 +0 -0
  960. package/.nuxt/cache/fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-55rzD39AWoqYSkQOLHuoKZUDVcDSlXRKdaymIN2dXes.woff +0 -0
  961. package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
  962. package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
  963. package/.output/public/_fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-BgCmQXkW3N6talUbQSKexB2sHUT0qGEzmM4uMcnDAbI.woff +0 -0
  964. package/.output/public/_nuxt/1vOq3xiE.js +0 -1
  965. package/.output/public/_nuxt/22rhGZdI.js +0 -1
  966. package/.output/public/_nuxt/9eIdSibD.js +0 -1
  967. package/.output/public/_nuxt/BBmTy930.js +0 -35
  968. package/.output/public/_nuxt/BKe83Cjx.js +0 -1
  969. package/.output/public/_nuxt/Bc5GLloR.js +0 -1
  970. package/.output/public/_nuxt/BdG3SY-u.js +0 -1
  971. package/.output/public/_nuxt/BeyOQpYA.js +0 -1
  972. package/.output/public/_nuxt/BqcXd3MY.js +0 -94
  973. package/.output/public/_nuxt/Bz55A4y1.js +0 -1
  974. package/.output/public/_nuxt/C2ybsIQ4.js +0 -1
  975. package/.output/public/_nuxt/C4U5VOMJ.js +0 -1
  976. package/.output/public/_nuxt/CAJsyjAK.js +0 -1
  977. package/.output/public/_nuxt/CD9aBAuy.js +0 -1
  978. package/.output/public/_nuxt/CHOS7x_d.js +0 -1
  979. package/.output/public/_nuxt/CXhUbdF6.js +0 -1
  980. package/.output/public/_nuxt/CZWScI5k.js +0 -1
  981. package/.output/public/_nuxt/DHd34syF.js +0 -1
  982. package/.output/public/_nuxt/DMbgtwAJ.js +0 -1
  983. package/.output/public/_nuxt/DR8jhnFO.js +0 -1
  984. package/.output/public/_nuxt/DTT0LBLY.js +0 -1
  985. package/.output/public/_nuxt/DWV_uL6G.js +0 -6764
  986. package/.output/public/_nuxt/DdpTKqR-.js +0 -1
  987. package/.output/public/_nuxt/Df_NcBcC.js +0 -1
  988. package/.output/public/_nuxt/DhqOMFXQ.js +0 -1
  989. package/.output/public/_nuxt/Dnp9eFDR.js +0 -1
  990. package/.output/public/_nuxt/DnqMs_6O.js +0 -1
  991. package/.output/public/_nuxt/Dq7g_IfY.js +0 -1
  992. package/.output/public/_nuxt/DsAJWnuW.js +0 -1
  993. package/.output/public/_nuxt/DvVg7vM_.js +0 -1
  994. package/.output/public/_nuxt/DwKqLVGx.js +0 -1
  995. package/.output/public/_nuxt/DxzqnQKF.js +0 -1
  996. package/.output/public/_nuxt/ProsePre.D5orA6B_.css +0 -1
  997. package/.output/public/_nuxt/Y0f1tU-r.js +0 -1
  998. package/.output/public/_nuxt/atySmcu6.js +0 -1
  999. package/.output/public/_nuxt/builds/meta/7bab2b8f-93ee-4f44-a604-8cd2b41eac60.json +0 -1
  1000. package/.output/public/_nuxt/entry.CtpkPzPO.css +0 -1
  1001. package/.output/public/_nuxt/error-404.DzDu4Ean.css +0 -1
  1002. package/.output/public/_nuxt/error-500.BdNqqJx7.css +0 -1
  1003. package/.output/public/_nuxt/q3i45eMH.js +0 -1
  1004. package/.output/public/_nuxt/vueform.CkWb7x1C.css +0 -1
  1005. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/convertor/create.cjs +0 -32
  1006. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data-patch.cjs +0 -7
  1007. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data.cjs +0 -97
  1008. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/SyntaxError.cjs +0 -16
  1009. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/generate.cjs +0 -135
  1010. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/index.cjs +0 -13
  1011. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/parse.cjs +0 -588
  1012. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/tokenizer.cjs +0 -56
  1013. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/walk.cjs +0 -56
  1014. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/create.cjs +0 -103
  1015. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/sourceMap.cjs +0 -96
  1016. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/token-before.cjs +0 -170
  1017. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/index.cjs +0 -63
  1018. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/Lexer.cjs +0 -459
  1019. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/error.cjs +0 -128
  1020. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-an-plus-b.cjs +0 -235
  1021. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-const.cjs +0 -12
  1022. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-urange.cjs +0 -149
  1023. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic.cjs +0 -573
  1024. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match-graph.cjs +0 -459
  1025. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match.cjs +0 -632
  1026. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/prepare-tokens.cjs +0 -54
  1027. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/search.cjs +0 -65
  1028. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/structure.cjs +0 -168
  1029. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/trace.cjs +0 -73
  1030. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/SyntaxError.cjs +0 -69
  1031. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/create.cjs +0 -336
  1032. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/sequence.cjs +0 -47
  1033. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/font-face.cjs +0 -12
  1034. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/import.cjs +0 -37
  1035. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/index.cjs +0 -17
  1036. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/media.cjs +0 -16
  1037. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/page.cjs +0 -16
  1038. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/supports.cjs +0 -77
  1039. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/lexer.cjs +0 -12
  1040. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/mix.cjs +0 -142
  1041. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/parser.cjs +0 -34
  1042. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/walker.cjs +0 -9
  1043. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/create.cjs +0 -56
  1044. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/expression.cjs +0 -11
  1045. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/var.cjs +0 -43
  1046. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/index.cjs +0 -14
  1047. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AnPlusB.cjs +0 -293
  1048. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Atrule.cjs +0 -103
  1049. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AtrulePrelude.cjs +0 -52
  1050. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AttributeSelector.cjs +0 -148
  1051. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Block.cjs +0 -90
  1052. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Brackets.cjs +0 -38
  1053. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDC.cjs +0 -26
  1054. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDO.cjs +0 -26
  1055. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/ClassSelector.cjs +0 -31
  1056. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Combinator.cjs +0 -61
  1057. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Comment.cjs +0 -40
  1058. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Declaration.cjs +0 -166
  1059. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/DeclarationList.cjs +0 -50
  1060. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Dimension.cjs +0 -30
  1061. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Function.cjs +0 -45
  1062. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Hash.cjs +0 -30
  1063. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/IdSelector.cjs +0 -33
  1064. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Identifier.cjs +0 -25
  1065. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaFeature.cjs +0 -76
  1066. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQuery.cjs +0 -61
  1067. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQueryList.cjs +0 -41
  1068. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Nth.cjs +0 -54
  1069. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Number.cjs +0 -25
  1070. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Operator.cjs +0 -28
  1071. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Parentheses.cjs +0 -38
  1072. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Percentage.cjs +0 -25
  1073. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoClassSelector.cjs +0 -65
  1074. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoElementSelector.cjs +0 -67
  1075. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Ratio.cjs +0 -67
  1076. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Raw.cjs +0 -48
  1077. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Rule.cjs +0 -58
  1078. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Selector.cjs +0 -39
  1079. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/SelectorList.cjs +0 -43
  1080. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/String.cjs +0 -26
  1081. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/StyleSheet.cjs +0 -83
  1082. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/TypeSelector.cjs +0 -59
  1083. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/UnicodeRange.cjs +0 -158
  1084. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Url.cjs +0 -54
  1085. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Value.cjs +0 -26
  1086. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/WhiteSpace.cjs +0 -34
  1087. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index-parse.cjs +0 -85
  1088. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index.cjs +0 -85
  1089. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/pseudo/index.cjs +0 -52
  1090. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/atrulePrelude.cjs +0 -9
  1091. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/default.cjs +0 -76
  1092. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/index.cjs +0 -11
  1093. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/selector.cjs +0 -84
  1094. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/value.cjs +0 -29
  1095. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/OffsetToLocation.cjs +0 -91
  1096. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/TokenStream.cjs +0 -264
  1097. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/adopt-buffer.cjs +0 -13
  1098. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/char-code-definitions.cjs +0 -231
  1099. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/index.cjs +0 -554
  1100. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/names.cjs +0 -31
  1101. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/types.cjs +0 -57
  1102. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/utils.cjs +0 -261
  1103. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/List.cjs +0 -473
  1104. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/clone.cjs +0 -25
  1105. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/create-custom-error.cjs +0 -18
  1106. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/ident.cjs +0 -102
  1107. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/names.cjs +0 -113
  1108. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/string.cjs +0 -99
  1109. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/url.cjs +0 -108
  1110. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/version.cjs +0 -5
  1111. package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/walker/create.cjs +0 -291
  1112. package/.output/server/node_modules/.nitro/css-tree@2.2.1/data/patch.json +0 -739
  1113. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/convertor/create.cjs +0 -32
  1114. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data-patch.cjs +0 -7
  1115. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data.cjs +0 -99
  1116. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/SyntaxError.cjs +0 -16
  1117. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/generate.cjs +0 -135
  1118. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/index.cjs +0 -13
  1119. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/parse.cjs +0 -588
  1120. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/tokenizer.cjs +0 -56
  1121. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/walk.cjs +0 -56
  1122. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/create.cjs +0 -103
  1123. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/sourceMap.cjs +0 -96
  1124. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/token-before.cjs +0 -170
  1125. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/index.cjs +0 -63
  1126. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/Lexer.cjs +0 -470
  1127. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/error.cjs +0 -128
  1128. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-an-plus-b.cjs +0 -235
  1129. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-const.cjs +0 -12
  1130. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-urange.cjs +0 -149
  1131. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic.cjs +0 -573
  1132. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match-graph.cjs +0 -459
  1133. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match.cjs +0 -632
  1134. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/prepare-tokens.cjs +0 -54
  1135. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/search.cjs +0 -65
  1136. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/structure.cjs +0 -168
  1137. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/trace.cjs +0 -73
  1138. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/units.cjs +0 -38
  1139. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/SyntaxError.cjs +0 -69
  1140. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/create.cjs +0 -336
  1141. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/sequence.cjs +0 -47
  1142. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/font-face.cjs +0 -12
  1143. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/import.cjs +0 -37
  1144. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/index.cjs +0 -19
  1145. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/media.cjs +0 -16
  1146. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/nest.cjs +0 -16
  1147. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/page.cjs +0 -16
  1148. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/supports.cjs +0 -77
  1149. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/lexer.cjs +0 -12
  1150. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/mix.cjs +0 -119
  1151. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/parser.cjs +0 -34
  1152. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/walker.cjs +0 -9
  1153. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/create.cjs +0 -57
  1154. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/expression.cjs +0 -11
  1155. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/var.cjs +0 -43
  1156. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/index.cjs +0 -14
  1157. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AnPlusB.cjs +0 -293
  1158. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Atrule.cjs +0 -103
  1159. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AtrulePrelude.cjs +0 -52
  1160. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AttributeSelector.cjs +0 -148
  1161. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Block.cjs +0 -96
  1162. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Brackets.cjs +0 -38
  1163. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDC.cjs +0 -26
  1164. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDO.cjs +0 -26
  1165. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/ClassSelector.cjs +0 -31
  1166. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Combinator.cjs +0 -61
  1167. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Comment.cjs +0 -40
  1168. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Declaration.cjs +0 -166
  1169. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/DeclarationList.cjs +0 -62
  1170. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Dimension.cjs +0 -30
  1171. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Function.cjs +0 -45
  1172. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Hash.cjs +0 -30
  1173. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/IdSelector.cjs +0 -33
  1174. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Identifier.cjs +0 -25
  1175. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaFeature.cjs +0 -76
  1176. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQuery.cjs +0 -61
  1177. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQueryList.cjs +0 -41
  1178. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/NestingSelector.cjs +0 -29
  1179. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Nth.cjs +0 -54
  1180. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Number.cjs +0 -25
  1181. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Operator.cjs +0 -28
  1182. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Parentheses.cjs +0 -38
  1183. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Percentage.cjs +0 -25
  1184. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoClassSelector.cjs +0 -65
  1185. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoElementSelector.cjs +0 -67
  1186. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Ratio.cjs +0 -67
  1187. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Raw.cjs +0 -48
  1188. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Rule.cjs +0 -58
  1189. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Selector.cjs +0 -39
  1190. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/SelectorList.cjs +0 -43
  1191. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/String.cjs +0 -26
  1192. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/StyleSheet.cjs +0 -83
  1193. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/TypeSelector.cjs +0 -59
  1194. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/UnicodeRange.cjs +0 -158
  1195. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Url.cjs +0 -54
  1196. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Value.cjs +0 -26
  1197. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/WhiteSpace.cjs +0 -34
  1198. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index-parse.cjs +0 -87
  1199. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index.cjs +0 -87
  1200. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/pseudo/index.cjs +0 -54
  1201. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/atrulePrelude.cjs +0 -9
  1202. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/default.cjs +0 -76
  1203. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/index.cjs +0 -11
  1204. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/selector.cjs +0 -88
  1205. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/value.cjs +0 -29
  1206. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/OffsetToLocation.cjs +0 -91
  1207. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/TokenStream.cjs +0 -264
  1208. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/adopt-buffer.cjs +0 -13
  1209. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/char-code-definitions.cjs +0 -231
  1210. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/index.cjs +0 -554
  1211. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/names.cjs +0 -31
  1212. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/types.cjs +0 -57
  1213. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/utils.cjs +0 -261
  1214. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/List.cjs +0 -473
  1215. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/clone.cjs +0 -25
  1216. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/create-custom-error.cjs +0 -18
  1217. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/ident.cjs +0 -102
  1218. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/names.cjs +0 -113
  1219. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/string.cjs +0 -99
  1220. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/url.cjs +0 -108
  1221. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/version.cjs +0 -5
  1222. package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/walker/create.cjs +0 -291
  1223. package/.output/server/node_modules/.nitro/css-tree@2.3.1/data/patch.json +0 -725
  1224. package/.output/server/node_modules/.nitro/css-tree@2.3.1/package.json +0 -126
  1225. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode.js +0 -536
  1226. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode_codepoint.js +0 -76
  1227. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/encode.js +0 -77
  1228. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/escape.js +0 -122
  1229. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
  1230. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
  1231. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/encode-html.js +0 -12
  1232. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/index.js +0 -126
  1233. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/at-rules.json +0 -620
  1234. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/properties.json +0 -9297
  1235. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/syntaxes.json +0 -794
  1236. package/.output/server/node_modules/.nitro/mdn-data@2.0.28/package.json +0 -38
  1237. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/at-rules.json +0 -620
  1238. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/properties.json +0 -9626
  1239. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/syntaxes.json +0 -866
  1240. package/.output/server/node_modules/.nitro/mdn-data@2.0.30/package.json +0 -38
  1241. package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
  1242. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
  1243. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
  1244. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
  1245. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
  1246. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
  1247. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
  1248. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
  1249. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
  1250. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
  1251. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
  1252. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
  1253. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
  1254. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
  1255. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
  1256. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
  1257. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
  1258. package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
  1259. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
  1260. package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +0 -350
  1261. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +0 -188
  1262. package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +0 -90
  1263. package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +0 -38
  1264. package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +0 -76
  1265. package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +0 -168
  1266. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +0 -22
  1267. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -14
  1268. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +0 -16
  1269. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +0 -22
  1270. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +0 -33
  1271. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +0 -51
  1272. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +0 -84
  1273. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +0 -16
  1274. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +0 -44
  1275. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +0 -58
  1276. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +0 -231
  1277. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +0 -31
  1278. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +0 -164
  1279. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +0 -216
  1280. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +0 -113
  1281. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +0 -104
  1282. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +0 -34
  1283. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +0 -75
  1284. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +0 -97
  1285. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +0 -54
  1286. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +0 -97
  1287. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +0 -45
  1288. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +0 -105
  1289. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +0 -54
  1290. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -24
  1291. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
  1292. package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +0 -53
  1293. package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +0 -23
  1294. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -16
  1295. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +0 -182
  1296. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +0 -22
  1297. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -28
  1298. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +0 -46
  1299. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +0 -66
  1300. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +0 -51
  1301. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -23
  1302. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +0 -62
  1303. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +0 -161
  1304. package/.output/server/node_modules/@iconify/utils/lib/index.mjs +0 -64
  1305. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +0 -50
  1306. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +0 -59
  1307. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +0 -80
  1308. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +0 -92
  1309. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +0 -30
  1310. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +0 -17
  1311. package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +0 -5
  1312. package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +0 -119
  1313. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -30
  1314. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +0 -20
  1315. package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +0 -9
  1316. package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +0 -28
  1317. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +0 -19
  1318. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +0 -83
  1319. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +0 -70
  1320. package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +0 -40
  1321. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +0 -5
  1322. package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +0 -11
  1323. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +0 -8
  1324. package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
  1325. package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
  1326. package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
  1327. package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +0 -2
  1328. package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +0 -2
  1329. package/.output/server/node_modules/@trysound/sax/lib/sax.js +0 -1413
  1330. package/.output/server/node_modules/@trysound/sax/package.json +0 -30
  1331. package/.output/server/node_modules/bytes/index.js +0 -170
  1332. package/.output/server/node_modules/bytes/package.json +0 -42
  1333. package/.output/server/node_modules/color/index.js +0 -496
  1334. package/.output/server/node_modules/color/package.json +0 -47
  1335. package/.output/server/node_modules/color-convert/conversions.js +0 -839
  1336. package/.output/server/node_modules/color-convert/index.js +0 -81
  1337. package/.output/server/node_modules/color-convert/package.json +0 -48
  1338. package/.output/server/node_modules/color-convert/route.js +0 -97
  1339. package/.output/server/node_modules/color-name/index.js +0 -152
  1340. package/.output/server/node_modules/color-name/package.json +0 -28
  1341. package/.output/server/node_modules/color-string/index.js +0 -242
  1342. package/.output/server/node_modules/color-string/package.json +0 -39
  1343. package/.output/server/node_modules/css-select/lib/attributes.js +0 -236
  1344. package/.output/server/node_modules/css-select/lib/compile.js +0 -151
  1345. package/.output/server/node_modules/css-select/lib/general.js +0 -148
  1346. package/.output/server/node_modules/css-select/lib/index.js +0 -154
  1347. package/.output/server/node_modules/css-select/lib/pseudo-selectors/aliases.js +0 -34
  1348. package/.output/server/node_modules/css-select/lib/pseudo-selectors/filters.js +0 -157
  1349. package/.output/server/node_modules/css-select/lib/pseudo-selectors/index.js +0 -46
  1350. package/.output/server/node_modules/css-select/lib/pseudo-selectors/pseudos.js +0 -93
  1351. package/.output/server/node_modules/css-select/lib/pseudo-selectors/subselects.js +0 -112
  1352. package/.output/server/node_modules/css-select/lib/sort.js +0 -84
  1353. package/.output/server/node_modules/csso/cjs/clean/Atrule.cjs +0 -73
  1354. package/.output/server/node_modules/csso/cjs/clean/Comment.cjs +0 -7
  1355. package/.output/server/node_modules/csso/cjs/clean/Declaration.cjs +0 -18
  1356. package/.output/server/node_modules/csso/cjs/clean/Raw.cjs +0 -13
  1357. package/.output/server/node_modules/csso/cjs/clean/Rule.cjs +0 -104
  1358. package/.output/server/node_modules/csso/cjs/clean/TypeSelector.cjs +0 -23
  1359. package/.output/server/node_modules/csso/cjs/clean/WhiteSpace.cjs +0 -7
  1360. package/.output/server/node_modules/csso/cjs/clean/index.cjs +0 -32
  1361. package/.output/server/node_modules/csso/cjs/clean/utils.cjs +0 -12
  1362. package/.output/server/node_modules/csso/cjs/compress.cjs +0 -200
  1363. package/.output/server/node_modules/csso/cjs/index.cjs +0 -127
  1364. package/.output/server/node_modules/csso/cjs/replace/Atrule.cjs +0 -13
  1365. package/.output/server/node_modules/csso/cjs/replace/AttributeSelector.cjs +0 -32
  1366. package/.output/server/node_modules/csso/cjs/replace/Dimension.cjs +0 -67
  1367. package/.output/server/node_modules/csso/cjs/replace/Number.cjs +0 -45
  1368. package/.output/server/node_modules/csso/cjs/replace/Percentage.cjs +0 -41
  1369. package/.output/server/node_modules/csso/cjs/replace/Url.cjs +0 -8
  1370. package/.output/server/node_modules/csso/cjs/replace/Value.cjs +0 -29
  1371. package/.output/server/node_modules/csso/cjs/replace/atrule/keyframes.cjs +0 -25
  1372. package/.output/server/node_modules/csso/cjs/replace/color.cjs +0 -504
  1373. package/.output/server/node_modules/csso/cjs/replace/index.cjs +0 -36
  1374. package/.output/server/node_modules/csso/cjs/replace/property/background.cjs +0 -54
  1375. package/.output/server/node_modules/csso/cjs/replace/property/border.cjs +0 -20
  1376. package/.output/server/node_modules/csso/cjs/replace/property/font-weight.cjs +0 -26
  1377. package/.output/server/node_modules/csso/cjs/replace/property/font.cjs +0 -34
  1378. package/.output/server/node_modules/csso/cjs/restructure/1-mergeAtrule.cjs +0 -109
  1379. package/.output/server/node_modules/csso/cjs/restructure/2-initialMergeRuleset.cjs +0 -51
  1380. package/.output/server/node_modules/csso/cjs/restructure/3-disjoinRuleset.cjs +0 -46
  1381. package/.output/server/node_modules/csso/cjs/restructure/4-restructShorthand.cjs +0 -429
  1382. package/.output/server/node_modules/csso/cjs/restructure/6-restructBlock.cjs +0 -307
  1383. package/.output/server/node_modules/csso/cjs/restructure/7-mergeRuleset.cjs +0 -90
  1384. package/.output/server/node_modules/csso/cjs/restructure/8-restructRuleset.cjs +0 -175
  1385. package/.output/server/node_modules/csso/cjs/restructure/index.cjs +0 -39
  1386. package/.output/server/node_modules/csso/cjs/restructure/prepare/createDeclarationIndexer.cjs +0 -34
  1387. package/.output/server/node_modules/csso/cjs/restructure/prepare/index.cjs +0 -45
  1388. package/.output/server/node_modules/csso/cjs/restructure/prepare/processSelector.cjs +0 -101
  1389. package/.output/server/node_modules/csso/cjs/restructure/prepare/specificity.cjs +0 -133
  1390. package/.output/server/node_modules/csso/cjs/restructure/utils.cjs +0 -151
  1391. package/.output/server/node_modules/csso/cjs/syntax.cjs +0 -60
  1392. package/.output/server/node_modules/csso/cjs/usage.cjs +0 -75
  1393. package/.output/server/node_modules/csso/cjs/utils.cjs +0 -14
  1394. package/.output/server/node_modules/csso/cjs/version.cjs +0 -5
  1395. package/.output/server/node_modules/debug/package.json +0 -64
  1396. package/.output/server/node_modules/debug/src/browser.js +0 -272
  1397. package/.output/server/node_modules/debug/src/common.js +0 -292
  1398. package/.output/server/node_modules/debug/src/index.js +0 -10
  1399. package/.output/server/node_modules/debug/src/node.js +0 -263
  1400. package/.output/server/node_modules/dom-serializer/lib/foreignNames.js +0 -103
  1401. package/.output/server/node_modules/dom-serializer/lib/index.js +0 -229
  1402. package/.output/server/node_modules/domelementtype/lib/index.js +0 -55
  1403. package/.output/server/node_modules/domhandler/lib/index.js +0 -165
  1404. package/.output/server/node_modules/domhandler/lib/node.js +0 -474
  1405. package/.output/server/node_modules/domutils/lib/feeds.js +0 -190
  1406. package/.output/server/node_modules/domutils/lib/helpers.js +0 -142
  1407. package/.output/server/node_modules/domutils/lib/index.js +0 -33
  1408. package/.output/server/node_modules/domutils/lib/legacy.js +0 -168
  1409. package/.output/server/node_modules/domutils/lib/manipulation.js +0 -142
  1410. package/.output/server/node_modules/domutils/lib/querying.js +0 -155
  1411. package/.output/server/node_modules/domutils/lib/stringify.js +0 -91
  1412. package/.output/server/node_modules/domutils/lib/traversal.js +0 -125
  1413. package/.output/server/node_modules/has-flag/index.js +0 -8
  1414. package/.output/server/node_modules/has-flag/package.json +0 -46
  1415. package/.output/server/node_modules/ipx/dist/shared/ipx.e4d5b25d.mjs +0 -761
  1416. package/.output/server/node_modules/is-arrayish/index.js +0 -9
  1417. package/.output/server/node_modules/is-arrayish/package.json +0 -45
  1418. package/.output/server/node_modules/jose/dist/webapi/lib/epoch.js +0 -1
  1419. package/.output/server/node_modules/jose/dist/webapi/lib/secs.js +0 -55
  1420. package/.output/server/node_modules/ms/index.js +0 -162
  1421. package/.output/server/node_modules/ms/package.json +0 -38
  1422. package/.output/server/node_modules/nth-check/lib/compile.js +0 -121
  1423. package/.output/server/node_modules/nth-check/lib/index.js +0 -70
  1424. package/.output/server/node_modules/nth-check/lib/parse.js +0 -77
  1425. package/.output/server/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs +0 -333
  1426. package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +0 -221
  1427. package/.output/server/node_modules/sharp/build/Release/libglib-2.0-0.dll +0 -0
  1428. package/.output/server/node_modules/sharp/build/Release/libgobject-2.0-0.dll +0 -0
  1429. package/.output/server/node_modules/sharp/build/Release/libvips-42.dll +0 -0
  1430. package/.output/server/node_modules/sharp/build/Release/libvips-cpp.dll +0 -0
  1431. package/.output/server/node_modules/sharp/build/Release/sharp-win32-x64.node +0 -0
  1432. package/.output/server/node_modules/sharp/lib/platform.js +0 -30
  1433. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/THIRD-PARTY-NOTICES.md +0 -43
  1434. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/harfbuzz/hb-cplusplus.hh +0 -223
  1435. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/vips/vips8 +0 -60
  1436. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0-0.dll +0 -0
  1437. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0.lib +0 -0
  1438. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0-0.dll +0 -0
  1439. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0.lib +0 -0
  1440. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips-42.dll +0 -0
  1441. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips.lib +0 -0
  1442. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/platform.json +0 -1
  1443. package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/versions.json +0 -31
  1444. package/.output/server/node_modules/simple-swizzle/index.js +0 -29
  1445. package/.output/server/node_modules/simple-swizzle/package.json +0 -36
  1446. package/.output/server/node_modules/supports-color/index.js +0 -135
  1447. package/.output/server/node_modules/supports-color/package.json +0 -53
  1448. package/.output/server/node_modules/svgo/plugins/removeScriptElement.js +0 -70
  1449. package/.output/server/node_modules/truncatise/index.js +0 -188
  1450. package/.output/server/node_modules/truncatise/package.json +0 -36
  1451. package/.output/server/node_modules/unhead/dist/shared/unhead.BpRRHAhY.mjs +0 -194
  1452. package/.output/server/node_modules/unhead/dist/shared/unhead.DH45uomy.mjs +0 -180
  1453. package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +0 -70
  1454. package/.output/server/node_modules/unhead/dist/shared/unhead.Djo8ep_Y.mjs +0 -166
  1455. package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +0 -1218
  1456. /package/.nuxt/ui/{button-group.ts → field-group.ts} +0 -0
  1457. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
  1458. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
  1459. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
  1460. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
  1461. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
  1462. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
  1463. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
  1464. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
  1465. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
  1466. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
  1467. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
  1468. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
  1469. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
  1470. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
  1471. /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
  1472. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
  1473. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
  1474. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
  1475. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-core v3.5.22
2
+ * @vue/runtime-core v3.5.26
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -376,7 +376,143 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
376
376
  }
377
377
  }
378
378
 
379
- const TeleportEndKey = Symbol("_vte");
379
+ function provide(key, value) {
380
+ if (currentInstance) {
381
+ let provides = currentInstance.provides;
382
+ const parentProvides = currentInstance.parent && currentInstance.parent.provides;
383
+ if (parentProvides === provides) {
384
+ provides = currentInstance.provides = Object.create(parentProvides);
385
+ }
386
+ provides[key] = value;
387
+ }
388
+ }
389
+ function inject(key, defaultValue, treatDefaultAsFactory = false) {
390
+ const instance = getCurrentInstance();
391
+ if (instance || currentApp) {
392
+ let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
393
+ if (provides && key in provides) {
394
+ return provides[key];
395
+ } else if (arguments.length > 1) {
396
+ return treatDefaultAsFactory && shared.isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
397
+ } else ;
398
+ }
399
+ }
400
+ function hasInjectionContext() {
401
+ return !!(getCurrentInstance() || currentApp);
402
+ }
403
+
404
+ const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
405
+ const useSSRContext = () => {
406
+ {
407
+ const ctx = inject(ssrContextKey);
408
+ return ctx;
409
+ }
410
+ };
411
+
412
+ function watchEffect(effect, options) {
413
+ return doWatch(effect, null, options);
414
+ }
415
+ function watchPostEffect(effect, options) {
416
+ return doWatch(
417
+ effect,
418
+ null,
419
+ { flush: "post" }
420
+ );
421
+ }
422
+ function watchSyncEffect(effect, options) {
423
+ return doWatch(
424
+ effect,
425
+ null,
426
+ { flush: "sync" }
427
+ );
428
+ }
429
+ function watch(source, cb, options) {
430
+ return doWatch(source, cb, options);
431
+ }
432
+ function doWatch(source, cb, options = shared.EMPTY_OBJ) {
433
+ const { immediate, deep, flush, once } = options;
434
+ const baseWatchOptions = shared.extend({}, options);
435
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
436
+ let ssrCleanup;
437
+ if (isInSSRComponentSetup) {
438
+ if (flush === "sync") {
439
+ const ctx = useSSRContext();
440
+ ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
441
+ } else if (!runsImmediately) {
442
+ const watchStopHandle = () => {
443
+ };
444
+ watchStopHandle.stop = shared.NOOP;
445
+ watchStopHandle.resume = shared.NOOP;
446
+ watchStopHandle.pause = shared.NOOP;
447
+ return watchStopHandle;
448
+ }
449
+ }
450
+ const instance = currentInstance;
451
+ baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
452
+ let isPre = false;
453
+ if (flush === "post") {
454
+ baseWatchOptions.scheduler = (job) => {
455
+ queuePostRenderEffect(job, instance && instance.suspense);
456
+ };
457
+ } else if (flush !== "sync") {
458
+ isPre = true;
459
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
460
+ if (isFirstRun) {
461
+ job();
462
+ } else {
463
+ queueJob(job);
464
+ }
465
+ };
466
+ }
467
+ baseWatchOptions.augmentJob = (job) => {
468
+ if (cb) {
469
+ job.flags |= 4;
470
+ }
471
+ if (isPre) {
472
+ job.flags |= 2;
473
+ if (instance) {
474
+ job.id = instance.uid;
475
+ job.i = instance;
476
+ }
477
+ }
478
+ };
479
+ const watchHandle = reactivity.watch(source, cb, baseWatchOptions);
480
+ if (isInSSRComponentSetup) {
481
+ if (ssrCleanup) {
482
+ ssrCleanup.push(watchHandle);
483
+ } else if (runsImmediately) {
484
+ watchHandle();
485
+ }
486
+ }
487
+ return watchHandle;
488
+ }
489
+ function instanceWatch(source, value, options) {
490
+ const publicThis = this.proxy;
491
+ const getter = shared.isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
492
+ let cb;
493
+ if (shared.isFunction(value)) {
494
+ cb = value;
495
+ } else {
496
+ cb = value.handler;
497
+ options = value;
498
+ }
499
+ const reset = setCurrentInstance(this);
500
+ const res = doWatch(getter, cb.bind(publicThis), options);
501
+ reset();
502
+ return res;
503
+ }
504
+ function createPathGetter(ctx, path) {
505
+ const segments = path.split(".");
506
+ return () => {
507
+ let cur = ctx;
508
+ for (let i = 0; i < segments.length && cur; i++) {
509
+ cur = cur[segments[i]];
510
+ }
511
+ return cur;
512
+ };
513
+ }
514
+
515
+ const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
380
516
  const isTeleport = (type) => type.__isTeleport;
381
517
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
382
518
  const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
@@ -709,8 +845,8 @@ function prepareAnchor(target, vnode, createText, insert) {
709
845
  return targetAnchor;
710
846
  }
711
847
 
712
- const leaveCbKey = Symbol("_leaveCb");
713
- const enterCbKey = Symbol("_enterCb");
848
+ const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
849
+ const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
714
850
  function useTransitionState() {
715
851
  const state = {
716
852
  isMounted: false,
@@ -1456,7 +1592,9 @@ function createHydrationFunctions(rendererInternals) {
1456
1592
  if (clientText[0] === "\n" && (el.tagName === "PRE" || el.tagName === "TEXTAREA")) {
1457
1593
  clientText = clientText.slice(1);
1458
1594
  }
1459
- if (el.textContent !== clientText) {
1595
+ const { textContent } = el;
1596
+ if (textContent !== clientText && // innerHTML normalize \r\n or \r into a single \n in the DOM
1597
+ textContent !== clientText.replace(/\r\n|\r/g, "\n")) {
1460
1598
  if (!isMismatchAllowed(el, 0 /* TEXT */)) {
1461
1599
  logMismatchError();
1462
1600
  }
@@ -1902,7 +2040,10 @@ function defineAsyncComponent(source) {
1902
2040
  error: error.value
1903
2041
  });
1904
2042
  } else if (loadingComponent && !delayed.value) {
1905
- return createVNode(loadingComponent);
2043
+ return createInnerComp(
2044
+ loadingComponent,
2045
+ instance
2046
+ );
1906
2047
  }
1907
2048
  };
1908
2049
  }
@@ -1998,7 +2139,9 @@ const KeepAliveImpl = {
1998
2139
  }
1999
2140
  function pruneCache(filter) {
2000
2141
  cache.forEach((vnode, key) => {
2001
- const name = getComponentName(vnode.type);
2142
+ const name = getComponentName(
2143
+ isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
2144
+ );
2002
2145
  if (name && !filter(name)) {
2003
2146
  pruneCacheEntry(key);
2004
2147
  }
@@ -2217,7 +2360,7 @@ const DIRECTIVES = "directives";
2217
2360
  function resolveComponent(name, maybeSelfReference) {
2218
2361
  return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
2219
2362
  }
2220
- const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
2363
+ const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
2221
2364
  function resolveDynamicComponent(component) {
2222
2365
  if (shared.isString(component)) {
2223
2366
  return resolveAsset(COMPONENTS, component, false) || component;
@@ -2415,7 +2558,6 @@ const PublicInstanceProxyHandlers = {
2415
2558
  return true;
2416
2559
  }
2417
2560
  const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
2418
- let normalizedProps;
2419
2561
  if (key[0] !== "$") {
2420
2562
  const n = accessCache[key];
2421
2563
  if (n !== void 0) {
@@ -2435,11 +2577,7 @@ const PublicInstanceProxyHandlers = {
2435
2577
  } else if (data !== shared.EMPTY_OBJ && shared.hasOwn(data, key)) {
2436
2578
  accessCache[key] = 2 /* DATA */;
2437
2579
  return data[key];
2438
- } else if (
2439
- // only cache other properties when instance has declared (thus stable)
2440
- // props
2441
- (normalizedProps = instance.propsOptions[0]) && shared.hasOwn(normalizedProps, key)
2442
- ) {
2580
+ } else if (shared.hasOwn(props, key)) {
2443
2581
  accessCache[key] = 3 /* PROPS */;
2444
2582
  return props[key];
2445
2583
  } else if (ctx !== shared.EMPTY_OBJ && shared.hasOwn(ctx, key)) {
@@ -2494,10 +2632,10 @@ const PublicInstanceProxyHandlers = {
2494
2632
  return true;
2495
2633
  },
2496
2634
  has({
2497
- _: { data, setupState, accessCache, ctx, appContext, propsOptions, type }
2635
+ _: { data, setupState, accessCache, ctx, appContext, props, type }
2498
2636
  }, key) {
2499
- let normalizedProps, cssModules;
2500
- return !!(accessCache[key] || data !== shared.EMPTY_OBJ && key[0] !== "$" && shared.hasOwn(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && shared.hasOwn(normalizedProps, key) || shared.hasOwn(ctx, key) || shared.hasOwn(publicPropertiesMap, key) || shared.hasOwn(appContext.config.globalProperties, key) || (cssModules = type.__cssModules) && cssModules[key]);
2637
+ let cssModules;
2638
+ return !!(accessCache[key] || data !== shared.EMPTY_OBJ && key[0] !== "$" && shared.hasOwn(data, key) || hasSetupBinding(setupState, key) || shared.hasOwn(props, key) || shared.hasOwn(ctx, key) || shared.hasOwn(publicPropertiesMap, key) || shared.hasOwn(appContext.config.globalProperties, key) || (cssModules = type.__cssModules) && cssModules[key]);
2501
2639
  },
2502
2640
  defineProperty(target, key, descriptor) {
2503
2641
  if (descriptor.get != null) {
@@ -3075,2238 +3213,2130 @@ function createAppAPI(render, hydrate) {
3075
3213
  }
3076
3214
  let currentApp = null;
3077
3215
 
3078
- function provide(key, value) {
3079
- if (!currentInstance) ; else {
3080
- let provides = currentInstance.provides;
3081
- const parentProvides = currentInstance.parent && currentInstance.parent.provides;
3082
- if (parentProvides === provides) {
3083
- provides = currentInstance.provides = Object.create(parentProvides);
3084
- }
3085
- provides[key] = value;
3086
- }
3087
- }
3088
- function inject(key, defaultValue, treatDefaultAsFactory = false) {
3089
- const instance = getCurrentInstance();
3090
- if (instance || currentApp) {
3091
- let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
3092
- if (provides && key in provides) {
3093
- return provides[key];
3094
- } else if (arguments.length > 1) {
3095
- return treatDefaultAsFactory && shared.isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
3096
- } else ;
3097
- }
3098
- }
3099
- function hasInjectionContext() {
3100
- return !!(getCurrentInstance() || currentApp);
3216
+ function useModel(props, name, options = shared.EMPTY_OBJ) {
3217
+ const i = getCurrentInstance();
3218
+ const camelizedName = shared.camelize(name);
3219
+ const hyphenatedName = shared.hyphenate(name);
3220
+ const modifiers = getModelModifiers(props, camelizedName);
3221
+ const res = reactivity.customRef((track, trigger) => {
3222
+ let localValue;
3223
+ let prevSetValue = shared.EMPTY_OBJ;
3224
+ let prevEmittedValue;
3225
+ watchSyncEffect(() => {
3226
+ const propValue = props[camelizedName];
3227
+ if (shared.hasChanged(localValue, propValue)) {
3228
+ localValue = propValue;
3229
+ trigger();
3230
+ }
3231
+ });
3232
+ return {
3233
+ get() {
3234
+ track();
3235
+ return options.get ? options.get(localValue) : localValue;
3236
+ },
3237
+ set(value) {
3238
+ const emittedValue = options.set ? options.set(value) : value;
3239
+ if (!shared.hasChanged(emittedValue, localValue) && !(prevSetValue !== shared.EMPTY_OBJ && shared.hasChanged(value, prevSetValue))) {
3240
+ return;
3241
+ }
3242
+ const rawProps = i.vnode.props;
3243
+ if (!(rawProps && // check if parent has passed v-model
3244
+ (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
3245
+ localValue = value;
3246
+ trigger();
3247
+ }
3248
+ i.emit(`update:${name}`, emittedValue);
3249
+ if (shared.hasChanged(value, emittedValue) && shared.hasChanged(value, prevSetValue) && !shared.hasChanged(emittedValue, prevEmittedValue)) {
3250
+ trigger();
3251
+ }
3252
+ prevSetValue = value;
3253
+ prevEmittedValue = emittedValue;
3254
+ }
3255
+ };
3256
+ });
3257
+ res[Symbol.iterator] = () => {
3258
+ let i2 = 0;
3259
+ return {
3260
+ next() {
3261
+ if (i2 < 2) {
3262
+ return { value: i2++ ? modifiers || shared.EMPTY_OBJ : res, done: false };
3263
+ } else {
3264
+ return { done: true };
3265
+ }
3266
+ }
3267
+ };
3268
+ };
3269
+ return res;
3101
3270
  }
3271
+ const getModelModifiers = (props, modelName) => {
3272
+ return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${shared.camelize(modelName)}Modifiers`] || props[`${shared.hyphenate(modelName)}Modifiers`];
3273
+ };
3102
3274
 
3103
- const internalObjectProto = {};
3104
- const createInternalObject = () => Object.create(internalObjectProto);
3105
- const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
3106
-
3107
- function initProps(instance, rawProps, isStateful, isSSR = false) {
3108
- const props = {};
3109
- const attrs = createInternalObject();
3110
- instance.propsDefaults = /* @__PURE__ */ Object.create(null);
3111
- setFullProps(instance, rawProps, props, attrs);
3112
- for (const key in instance.propsOptions[0]) {
3113
- if (!(key in props)) {
3114
- props[key] = void 0;
3275
+ function emit(instance, event, ...rawArgs) {
3276
+ if (instance.isUnmounted) return;
3277
+ const props = instance.vnode.props || shared.EMPTY_OBJ;
3278
+ let args = rawArgs;
3279
+ const isModelListener = event.startsWith("update:");
3280
+ const modifiers = isModelListener && getModelModifiers(props, event.slice(7));
3281
+ if (modifiers) {
3282
+ if (modifiers.trim) {
3283
+ args = rawArgs.map((a) => shared.isString(a) ? a.trim() : a);
3115
3284
  }
3116
- }
3117
- if (isStateful) {
3118
- instance.props = isSSR ? props : reactivity.shallowReactive(props);
3119
- } else {
3120
- if (!instance.type.props) {
3121
- instance.props = attrs;
3122
- } else {
3123
- instance.props = props;
3285
+ if (modifiers.number) {
3286
+ args = rawArgs.map(shared.looseToNumber);
3124
3287
  }
3125
3288
  }
3126
- instance.attrs = attrs;
3127
- }
3128
- function updateProps(instance, rawProps, rawPrevProps, optimized) {
3129
- const {
3130
- props,
3131
- attrs,
3132
- vnode: { patchFlag }
3133
- } = instance;
3134
- const rawCurrentProps = reactivity.toRaw(props);
3135
- const [options] = instance.propsOptions;
3136
- let hasAttrsChanged = false;
3137
- if (
3138
- // always force full diff in dev
3139
- // - #1942 if hmr is enabled with sfc component
3140
- // - vite#872 non-sfc component used by sfc component
3141
- (optimized || patchFlag > 0) && !(patchFlag & 16)
3142
- ) {
3143
- if (patchFlag & 8) {
3144
- const propsToUpdate = instance.vnode.dynamicProps;
3145
- for (let i = 0; i < propsToUpdate.length; i++) {
3146
- let key = propsToUpdate[i];
3147
- if (isEmitListener(instance.emitsOptions, key)) {
3148
- continue;
3149
- }
3150
- const value = rawProps[key];
3151
- if (options) {
3152
- if (shared.hasOwn(attrs, key)) {
3153
- if (value !== attrs[key]) {
3154
- attrs[key] = value;
3155
- hasAttrsChanged = true;
3156
- }
3157
- } else {
3158
- const camelizedKey = shared.camelize(key);
3159
- props[camelizedKey] = resolvePropValue(
3160
- options,
3161
- rawCurrentProps,
3162
- camelizedKey,
3163
- value,
3164
- instance,
3165
- false
3166
- );
3167
- }
3168
- } else {
3169
- if (value !== attrs[key]) {
3170
- attrs[key] = value;
3171
- hasAttrsChanged = true;
3172
- }
3173
- }
3174
- }
3175
- }
3176
- } else {
3177
- if (setFullProps(instance, rawProps, props, attrs)) {
3178
- hasAttrsChanged = true;
3179
- }
3180
- let kebabKey;
3181
- for (const key in rawCurrentProps) {
3182
- if (!rawProps || // for camelCase
3183
- !shared.hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
3184
- // and converted to camelCase (#955)
3185
- ((kebabKey = shared.hyphenate(key)) === key || !shared.hasOwn(rawProps, kebabKey))) {
3186
- if (options) {
3187
- if (rawPrevProps && // for camelCase
3188
- (rawPrevProps[key] !== void 0 || // for kebab-case
3189
- rawPrevProps[kebabKey] !== void 0)) {
3190
- props[key] = resolvePropValue(
3191
- options,
3192
- rawCurrentProps,
3193
- key,
3194
- void 0,
3195
- instance,
3196
- true
3197
- );
3198
- }
3199
- } else {
3200
- delete props[key];
3201
- }
3202
- }
3203
- }
3204
- if (attrs !== rawCurrentProps) {
3205
- for (const key in attrs) {
3206
- if (!rawProps || !shared.hasOwn(rawProps, key) && true) {
3207
- delete attrs[key];
3208
- hasAttrsChanged = true;
3209
- }
3210
- }
3211
- }
3212
- }
3213
- if (hasAttrsChanged) {
3214
- reactivity.trigger(instance.attrs, "set", "");
3215
- }
3216
- }
3217
- function setFullProps(instance, rawProps, props, attrs) {
3218
- const [options, needCastKeys] = instance.propsOptions;
3219
- let hasAttrsChanged = false;
3220
- let rawCastValues;
3221
- if (rawProps) {
3222
- for (let key in rawProps) {
3223
- if (shared.isReservedProp(key)) {
3224
- continue;
3225
- }
3226
- const value = rawProps[key];
3227
- let camelKey;
3228
- if (options && shared.hasOwn(options, camelKey = shared.camelize(key))) {
3229
- if (!needCastKeys || !needCastKeys.includes(camelKey)) {
3230
- props[camelKey] = value;
3231
- } else {
3232
- (rawCastValues || (rawCastValues = {}))[camelKey] = value;
3233
- }
3234
- } else if (!isEmitListener(instance.emitsOptions, key)) {
3235
- if (!(key in attrs) || value !== attrs[key]) {
3236
- attrs[key] = value;
3237
- hasAttrsChanged = true;
3238
- }
3239
- }
3240
- }
3289
+ let handlerName;
3290
+ let handler = props[handlerName = shared.toHandlerKey(event)] || // also try camelCase event handler (#2249)
3291
+ props[handlerName = shared.toHandlerKey(shared.camelize(event))];
3292
+ if (!handler && isModelListener) {
3293
+ handler = props[handlerName = shared.toHandlerKey(shared.hyphenate(event))];
3241
3294
  }
3242
- if (needCastKeys) {
3243
- const rawCurrentProps = reactivity.toRaw(props);
3244
- const castValues = rawCastValues || shared.EMPTY_OBJ;
3245
- for (let i = 0; i < needCastKeys.length; i++) {
3246
- const key = needCastKeys[i];
3247
- props[key] = resolvePropValue(
3248
- options,
3249
- rawCurrentProps,
3250
- key,
3251
- castValues[key],
3252
- instance,
3253
- !shared.hasOwn(castValues, key)
3254
- );
3255
- }
3295
+ if (handler) {
3296
+ callWithAsyncErrorHandling(
3297
+ handler,
3298
+ instance,
3299
+ 6,
3300
+ args
3301
+ );
3256
3302
  }
3257
- return hasAttrsChanged;
3258
- }
3259
- function resolvePropValue(options, props, key, value, instance, isAbsent) {
3260
- const opt = options[key];
3261
- if (opt != null) {
3262
- const hasDefault = shared.hasOwn(opt, "default");
3263
- if (hasDefault && value === void 0) {
3264
- const defaultValue = opt.default;
3265
- if (opt.type !== Function && !opt.skipFactory && shared.isFunction(defaultValue)) {
3266
- const { propsDefaults } = instance;
3267
- if (key in propsDefaults) {
3268
- value = propsDefaults[key];
3269
- } else {
3270
- const reset = setCurrentInstance(instance);
3271
- value = propsDefaults[key] = defaultValue.call(
3272
- null,
3273
- props
3274
- );
3275
- reset();
3276
- }
3277
- } else {
3278
- value = defaultValue;
3279
- }
3280
- if (instance.ce) {
3281
- instance.ce._setProp(key, value);
3282
- }
3283
- }
3284
- if (opt[0 /* shouldCast */]) {
3285
- if (isAbsent && !hasDefault) {
3286
- value = false;
3287
- } else if (opt[1 /* shouldCastTrue */] && (value === "" || value === shared.hyphenate(key))) {
3288
- value = true;
3289
- }
3303
+ const onceHandler = props[handlerName + `Once`];
3304
+ if (onceHandler) {
3305
+ if (!instance.emitted) {
3306
+ instance.emitted = {};
3307
+ } else if (instance.emitted[handlerName]) {
3308
+ return;
3290
3309
  }
3310
+ instance.emitted[handlerName] = true;
3311
+ callWithAsyncErrorHandling(
3312
+ onceHandler,
3313
+ instance,
3314
+ 6,
3315
+ args
3316
+ );
3291
3317
  }
3292
- return value;
3293
3318
  }
3294
- const mixinPropsCache = /* @__PURE__ */ new WeakMap();
3295
- function normalizePropsOptions(comp, appContext, asMixin = false) {
3296
- const cache = asMixin ? mixinPropsCache : appContext.propsCache;
3319
+ const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
3320
+ function normalizeEmitsOptions(comp, appContext, asMixin = false) {
3321
+ const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
3297
3322
  const cached = cache.get(comp);
3298
- if (cached) {
3323
+ if (cached !== void 0) {
3299
3324
  return cached;
3300
3325
  }
3301
- const raw = comp.props;
3302
- const normalized = {};
3303
- const needCastKeys = [];
3326
+ const raw = comp.emits;
3327
+ let normalized = {};
3304
3328
  let hasExtends = false;
3305
3329
  if (!shared.isFunction(comp)) {
3306
- const extendProps = (raw2) => {
3307
- hasExtends = true;
3308
- const [props, keys] = normalizePropsOptions(raw2, appContext, true);
3309
- shared.extend(normalized, props);
3310
- if (keys) needCastKeys.push(...keys);
3330
+ const extendEmits = (raw2) => {
3331
+ const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
3332
+ if (normalizedFromExtend) {
3333
+ hasExtends = true;
3334
+ shared.extend(normalized, normalizedFromExtend);
3335
+ }
3311
3336
  };
3312
3337
  if (!asMixin && appContext.mixins.length) {
3313
- appContext.mixins.forEach(extendProps);
3338
+ appContext.mixins.forEach(extendEmits);
3314
3339
  }
3315
3340
  if (comp.extends) {
3316
- extendProps(comp.extends);
3341
+ extendEmits(comp.extends);
3317
3342
  }
3318
3343
  if (comp.mixins) {
3319
- comp.mixins.forEach(extendProps);
3344
+ comp.mixins.forEach(extendEmits);
3320
3345
  }
3321
3346
  }
3322
3347
  if (!raw && !hasExtends) {
3323
3348
  if (shared.isObject(comp)) {
3324
- cache.set(comp, shared.EMPTY_ARR);
3349
+ cache.set(comp, null);
3325
3350
  }
3326
- return shared.EMPTY_ARR;
3351
+ return null;
3327
3352
  }
3328
3353
  if (shared.isArray(raw)) {
3329
- for (let i = 0; i < raw.length; i++) {
3330
- const normalizedKey = shared.camelize(raw[i]);
3331
- if (validatePropName(normalizedKey)) {
3332
- normalized[normalizedKey] = shared.EMPTY_OBJ;
3333
- }
3334
- }
3335
- } else if (raw) {
3336
- for (const key in raw) {
3337
- const normalizedKey = shared.camelize(key);
3338
- if (validatePropName(normalizedKey)) {
3339
- const opt = raw[key];
3340
- const prop = normalized[normalizedKey] = shared.isArray(opt) || shared.isFunction(opt) ? { type: opt } : shared.extend({}, opt);
3341
- const propType = prop.type;
3342
- let shouldCast = false;
3343
- let shouldCastTrue = true;
3344
- if (shared.isArray(propType)) {
3345
- for (let index = 0; index < propType.length; ++index) {
3346
- const type = propType[index];
3347
- const typeName = shared.isFunction(type) && type.name;
3348
- if (typeName === "Boolean") {
3349
- shouldCast = true;
3350
- break;
3351
- } else if (typeName === "String") {
3352
- shouldCastTrue = false;
3353
- }
3354
- }
3355
- } else {
3356
- shouldCast = shared.isFunction(propType) && propType.name === "Boolean";
3357
- }
3358
- prop[0 /* shouldCast */] = shouldCast;
3359
- prop[1 /* shouldCastTrue */] = shouldCastTrue;
3360
- if (shouldCast || shared.hasOwn(prop, "default")) {
3361
- needCastKeys.push(normalizedKey);
3362
- }
3363
- }
3364
- }
3354
+ raw.forEach((key) => normalized[key] = null);
3355
+ } else {
3356
+ shared.extend(normalized, raw);
3365
3357
  }
3366
- const res = [normalized, needCastKeys];
3367
3358
  if (shared.isObject(comp)) {
3368
- cache.set(comp, res);
3359
+ cache.set(comp, normalized);
3369
3360
  }
3370
- return res;
3361
+ return normalized;
3371
3362
  }
3372
- function validatePropName(key) {
3373
- if (key[0] !== "$" && !shared.isReservedProp(key)) {
3374
- return true;
3363
+ function isEmitListener(options, key) {
3364
+ if (!options || !shared.isOn(key)) {
3365
+ return false;
3375
3366
  }
3376
- return false;
3367
+ key = key.slice(2).replace(/Once$/, "");
3368
+ return shared.hasOwn(options, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options, shared.hyphenate(key)) || shared.hasOwn(options, key);
3377
3369
  }
3378
3370
 
3379
- const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
3380
- const normalizeSlotValue = (value) => shared.isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
3381
- const normalizeSlot = (key, rawSlot, ctx) => {
3382
- if (rawSlot._n) {
3383
- return rawSlot;
3384
- }
3385
- const normalized = withCtx((...args) => {
3386
- if (false) ;
3387
- return normalizeSlotValue(rawSlot(...args));
3388
- }, ctx);
3389
- normalized._c = false;
3390
- return normalized;
3391
- };
3392
- const normalizeObjectSlots = (rawSlots, slots, instance) => {
3393
- const ctx = rawSlots._ctx;
3394
- for (const key in rawSlots) {
3395
- if (isInternalKey(key)) continue;
3396
- const value = rawSlots[key];
3397
- if (shared.isFunction(value)) {
3398
- slots[key] = normalizeSlot(key, value, ctx);
3399
- } else if (value != null) {
3400
- const normalized = normalizeSlotValue(value);
3401
- slots[key] = () => normalized;
3371
+ function markAttrsAccessed() {
3372
+ }
3373
+ function renderComponentRoot(instance) {
3374
+ const {
3375
+ type: Component,
3376
+ vnode,
3377
+ proxy,
3378
+ withProxy,
3379
+ propsOptions: [propsOptions],
3380
+ slots,
3381
+ attrs,
3382
+ emit,
3383
+ render,
3384
+ renderCache,
3385
+ props,
3386
+ data,
3387
+ setupState,
3388
+ ctx,
3389
+ inheritAttrs
3390
+ } = instance;
3391
+ const prev = setCurrentRenderingInstance(instance);
3392
+ let result;
3393
+ let fallthroughAttrs;
3394
+ try {
3395
+ if (vnode.shapeFlag & 4) {
3396
+ const proxyToUse = withProxy || proxy;
3397
+ const thisProxy = false ? new Proxy(proxyToUse, {
3398
+ get(target, key, receiver) {
3399
+ warn(
3400
+ `Property '${String(
3401
+ key
3402
+ )}' was accessed via 'this'. Avoid using 'this' in templates.`
3403
+ );
3404
+ return Reflect.get(target, key, receiver);
3405
+ }
3406
+ }) : proxyToUse;
3407
+ result = normalizeVNode(
3408
+ render.call(
3409
+ thisProxy,
3410
+ proxyToUse,
3411
+ renderCache,
3412
+ false ? shallowReadonly(props) : props,
3413
+ setupState,
3414
+ data,
3415
+ ctx
3416
+ )
3417
+ );
3418
+ fallthroughAttrs = attrs;
3419
+ } else {
3420
+ const render2 = Component;
3421
+ if (false) ;
3422
+ result = normalizeVNode(
3423
+ render2.length > 1 ? render2(
3424
+ false ? shallowReadonly(props) : props,
3425
+ false ? {
3426
+ get attrs() {
3427
+ markAttrsAccessed();
3428
+ return shallowReadonly(attrs);
3429
+ },
3430
+ slots,
3431
+ emit
3432
+ } : { attrs, slots, emit }
3433
+ ) : render2(
3434
+ false ? shallowReadonly(props) : props,
3435
+ null
3436
+ )
3437
+ );
3438
+ fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
3402
3439
  }
3440
+ } catch (err) {
3441
+ blockStack.length = 0;
3442
+ handleError(err, instance, 1);
3443
+ result = createVNode(Comment);
3403
3444
  }
3404
- };
3405
- const normalizeVNodeSlots = (instance, children) => {
3406
- const normalized = normalizeSlotValue(children);
3407
- instance.slots.default = () => normalized;
3408
- };
3409
- const assignSlots = (slots, children, optimized) => {
3410
- for (const key in children) {
3411
- if (optimized || !isInternalKey(key)) {
3412
- slots[key] = children[key];
3445
+ let root = result;
3446
+ if (fallthroughAttrs && inheritAttrs !== false) {
3447
+ const keys = Object.keys(fallthroughAttrs);
3448
+ const { shapeFlag } = root;
3449
+ if (keys.length) {
3450
+ if (shapeFlag & (1 | 6)) {
3451
+ if (propsOptions && keys.some(shared.isModelListener)) {
3452
+ fallthroughAttrs = filterModelListeners(
3453
+ fallthroughAttrs,
3454
+ propsOptions
3455
+ );
3456
+ }
3457
+ root = cloneVNode(root, fallthroughAttrs, false, true);
3458
+ }
3413
3459
  }
3414
3460
  }
3415
- };
3416
- const initSlots = (instance, children, optimized) => {
3417
- const slots = instance.slots = createInternalObject();
3418
- if (instance.vnode.shapeFlag & 32) {
3419
- const type = children._;
3420
- if (type) {
3421
- assignSlots(slots, children, optimized);
3422
- if (optimized) {
3423
- shared.def(slots, "_", type, true);
3461
+ if (vnode.dirs) {
3462
+ root = cloneVNode(root, null, false, true);
3463
+ root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
3464
+ }
3465
+ if (vnode.transition) {
3466
+ setTransitionHooks(root, vnode.transition);
3467
+ }
3468
+ {
3469
+ result = root;
3470
+ }
3471
+ setCurrentRenderingInstance(prev);
3472
+ return result;
3473
+ }
3474
+ function filterSingleRoot(children, recurse = true) {
3475
+ let singleRoot;
3476
+ for (let i = 0; i < children.length; i++) {
3477
+ const child = children[i];
3478
+ if (isVNode(child)) {
3479
+ if (child.type !== Comment || child.children === "v-if") {
3480
+ if (singleRoot) {
3481
+ return;
3482
+ } else {
3483
+ singleRoot = child;
3484
+ }
3424
3485
  }
3425
3486
  } else {
3426
- normalizeObjectSlots(children, slots);
3487
+ return;
3488
+ }
3489
+ }
3490
+ return singleRoot;
3491
+ }
3492
+ const getFunctionalFallthrough = (attrs) => {
3493
+ let res;
3494
+ for (const key in attrs) {
3495
+ if (key === "class" || key === "style" || shared.isOn(key)) {
3496
+ (res || (res = {}))[key] = attrs[key];
3427
3497
  }
3428
- } else if (children) {
3429
- normalizeVNodeSlots(instance, children);
3430
3498
  }
3499
+ return res;
3431
3500
  };
3432
- const updateSlots = (instance, children, optimized) => {
3433
- const { vnode, slots } = instance;
3434
- let needDeletionCheck = true;
3435
- let deletionComparisonTarget = shared.EMPTY_OBJ;
3436
- if (vnode.shapeFlag & 32) {
3437
- const type = children._;
3438
- if (type) {
3439
- if (optimized && type === 1) {
3440
- needDeletionCheck = false;
3441
- } else {
3442
- assignSlots(slots, children, optimized);
3443
- }
3444
- } else {
3445
- needDeletionCheck = !children.$stable;
3446
- normalizeObjectSlots(children, slots);
3501
+ const filterModelListeners = (attrs, props) => {
3502
+ const res = {};
3503
+ for (const key in attrs) {
3504
+ if (!shared.isModelListener(key) || !(key.slice(9) in props)) {
3505
+ res[key] = attrs[key];
3447
3506
  }
3448
- deletionComparisonTarget = children;
3449
- } else if (children) {
3450
- normalizeVNodeSlots(instance, children);
3451
- deletionComparisonTarget = { default: 1 };
3452
3507
  }
3453
- if (needDeletionCheck) {
3454
- for (const key in slots) {
3455
- if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
3456
- delete slots[key];
3508
+ return res;
3509
+ };
3510
+ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
3511
+ const { props: prevProps, children: prevChildren, component } = prevVNode;
3512
+ const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
3513
+ const emits = component.emitsOptions;
3514
+ if (nextVNode.dirs || nextVNode.transition) {
3515
+ return true;
3516
+ }
3517
+ if (optimized && patchFlag >= 0) {
3518
+ if (patchFlag & 1024) {
3519
+ return true;
3520
+ }
3521
+ if (patchFlag & 16) {
3522
+ if (!prevProps) {
3523
+ return !!nextProps;
3524
+ }
3525
+ return hasPropsChanged(prevProps, nextProps, emits);
3526
+ } else if (patchFlag & 8) {
3527
+ const dynamicProps = nextVNode.dynamicProps;
3528
+ for (let i = 0; i < dynamicProps.length; i++) {
3529
+ const key = dynamicProps[i];
3530
+ if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {
3531
+ return true;
3532
+ }
3533
+ }
3534
+ }
3535
+ } else {
3536
+ if (prevChildren || nextChildren) {
3537
+ if (!nextChildren || !nextChildren.$stable) {
3538
+ return true;
3457
3539
  }
3458
3540
  }
3541
+ if (prevProps === nextProps) {
3542
+ return false;
3543
+ }
3544
+ if (!prevProps) {
3545
+ return !!nextProps;
3546
+ }
3547
+ if (!nextProps) {
3548
+ return true;
3549
+ }
3550
+ return hasPropsChanged(prevProps, nextProps, emits);
3459
3551
  }
3460
- };
3461
-
3462
- const queuePostRenderEffect = queueEffectWithSuspense ;
3463
- function createRenderer(options) {
3464
- return baseCreateRenderer(options);
3465
- }
3466
- function createHydrationRenderer(options) {
3467
- return baseCreateRenderer(options, createHydrationFunctions);
3552
+ return false;
3468
3553
  }
3469
- function baseCreateRenderer(options, createHydrationFns) {
3470
- const target = shared.getGlobalThis();
3471
- target.__VUE__ = true;
3472
- const {
3473
- insert: hostInsert,
3474
- remove: hostRemove,
3475
- patchProp: hostPatchProp,
3476
- createElement: hostCreateElement,
3477
- createText: hostCreateText,
3478
- createComment: hostCreateComment,
3479
- setText: hostSetText,
3480
- setElementText: hostSetElementText,
3481
- parentNode: hostParentNode,
3482
- nextSibling: hostNextSibling,
3483
- setScopeId: hostSetScopeId = shared.NOOP,
3484
- insertStaticContent: hostInsertStaticContent
3485
- } = options;
3486
- const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
3487
- if (n1 === n2) {
3488
- return;
3489
- }
3490
- if (n1 && !isSameVNodeType(n1, n2)) {
3491
- anchor = getNextHostNode(n1);
3492
- unmount(n1, parentComponent, parentSuspense, true);
3493
- n1 = null;
3494
- }
3495
- if (n2.patchFlag === -2) {
3496
- optimized = false;
3497
- n2.dynamicChildren = null;
3498
- }
3499
- const { type, ref, shapeFlag } = n2;
3500
- switch (type) {
3501
- case Text:
3502
- processText(n1, n2, container, anchor);
3503
- break;
3504
- case Comment:
3505
- processCommentNode(n1, n2, container, anchor);
3506
- break;
3507
- case Static:
3508
- if (n1 == null) {
3509
- mountStaticNode(n2, container, anchor, namespace);
3510
- }
3511
- break;
3512
- case Fragment:
3513
- processFragment(
3514
- n1,
3515
- n2,
3516
- container,
3517
- anchor,
3518
- parentComponent,
3519
- parentSuspense,
3520
- namespace,
3521
- slotScopeIds,
3522
- optimized
3523
- );
3524
- break;
3525
- default:
3526
- if (shapeFlag & 1) {
3527
- processElement(
3528
- n1,
3529
- n2,
3530
- container,
3531
- anchor,
3532
- parentComponent,
3533
- parentSuspense,
3534
- namespace,
3535
- slotScopeIds,
3536
- optimized
3537
- );
3538
- } else if (shapeFlag & 6) {
3539
- processComponent(
3540
- n1,
3541
- n2,
3542
- container,
3543
- anchor,
3544
- parentComponent,
3545
- parentSuspense,
3546
- namespace,
3547
- slotScopeIds,
3548
- optimized
3549
- );
3550
- } else if (shapeFlag & 64) {
3551
- type.process(
3552
- n1,
3553
- n2,
3554
- container,
3555
- anchor,
3556
- parentComponent,
3557
- parentSuspense,
3558
- namespace,
3559
- slotScopeIds,
3560
- optimized,
3561
- internals
3562
- );
3563
- } else if (shapeFlag & 128) {
3564
- type.process(
3565
- n1,
3566
- n2,
3567
- container,
3568
- anchor,
3569
- parentComponent,
3570
- parentSuspense,
3571
- namespace,
3572
- slotScopeIds,
3573
- optimized,
3574
- internals
3575
- );
3576
- } else ;
3577
- }
3578
- if (ref != null && parentComponent) {
3579
- setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
3580
- } else if (ref == null && n1 && n1.ref != null) {
3581
- setRef(n1.ref, null, parentSuspense, n1, true);
3554
+ function hasPropsChanged(prevProps, nextProps, emitsOptions) {
3555
+ const nextKeys = Object.keys(nextProps);
3556
+ if (nextKeys.length !== Object.keys(prevProps).length) {
3557
+ return true;
3558
+ }
3559
+ for (let i = 0; i < nextKeys.length; i++) {
3560
+ const key = nextKeys[i];
3561
+ if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {
3562
+ return true;
3582
3563
  }
3583
- };
3584
- const processText = (n1, n2, container, anchor) => {
3585
- if (n1 == null) {
3586
- hostInsert(
3587
- n2.el = hostCreateText(n2.children),
3588
- container,
3589
- anchor
3590
- );
3591
- } else {
3592
- const el = n2.el = n1.el;
3593
- if (n2.children !== n1.children) {
3594
- hostSetText(el, n2.children);
3595
- }
3564
+ }
3565
+ return false;
3566
+ }
3567
+ function updateHOCHostEl({ vnode, parent }, el) {
3568
+ while (parent) {
3569
+ const root = parent.subTree;
3570
+ if (root.suspense && root.suspense.activeBranch === vnode) {
3571
+ root.el = vnode.el;
3596
3572
  }
3597
- };
3598
- const processCommentNode = (n1, n2, container, anchor) => {
3599
- if (n1 == null) {
3600
- hostInsert(
3601
- n2.el = hostCreateComment(n2.children || ""),
3602
- container,
3603
- anchor
3604
- );
3573
+ if (root === vnode) {
3574
+ (vnode = parent.vnode).el = el;
3575
+ parent = parent.parent;
3605
3576
  } else {
3606
- n2.el = n1.el;
3607
- }
3608
- };
3609
- const mountStaticNode = (n2, container, anchor, namespace) => {
3610
- [n2.el, n2.anchor] = hostInsertStaticContent(
3611
- n2.children,
3612
- container,
3613
- anchor,
3614
- namespace,
3615
- n2.el,
3616
- n2.anchor
3617
- );
3618
- };
3619
- const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
3620
- let next;
3621
- while (el && el !== anchor) {
3622
- next = hostNextSibling(el);
3623
- hostInsert(el, container, nextSibling);
3624
- el = next;
3625
- }
3626
- hostInsert(anchor, container, nextSibling);
3627
- };
3628
- const removeStaticNode = ({ el, anchor }) => {
3629
- let next;
3630
- while (el && el !== anchor) {
3631
- next = hostNextSibling(el);
3632
- hostRemove(el);
3633
- el = next;
3577
+ break;
3634
3578
  }
3635
- hostRemove(anchor);
3636
- };
3637
- const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3638
- if (n2.type === "svg") {
3639
- namespace = "svg";
3640
- } else if (n2.type === "math") {
3641
- namespace = "mathml";
3579
+ }
3580
+ }
3581
+
3582
+ const internalObjectProto = {};
3583
+ const createInternalObject = () => Object.create(internalObjectProto);
3584
+ const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
3585
+
3586
+ function initProps(instance, rawProps, isStateful, isSSR = false) {
3587
+ const props = {};
3588
+ const attrs = createInternalObject();
3589
+ instance.propsDefaults = /* @__PURE__ */ Object.create(null);
3590
+ setFullProps(instance, rawProps, props, attrs);
3591
+ for (const key in instance.propsOptions[0]) {
3592
+ if (!(key in props)) {
3593
+ props[key] = void 0;
3642
3594
  }
3643
- if (n1 == null) {
3644
- mountElement(
3645
- n2,
3646
- container,
3647
- anchor,
3648
- parentComponent,
3649
- parentSuspense,
3650
- namespace,
3651
- slotScopeIds,
3652
- optimized
3653
- );
3595
+ }
3596
+ if (isStateful) {
3597
+ instance.props = isSSR ? props : reactivity.shallowReactive(props);
3598
+ } else {
3599
+ if (!instance.type.props) {
3600
+ instance.props = attrs;
3654
3601
  } else {
3655
- patchElement(
3656
- n1,
3657
- n2,
3658
- parentComponent,
3659
- parentSuspense,
3660
- namespace,
3661
- slotScopeIds,
3662
- optimized
3663
- );
3664
- }
3665
- };
3666
- const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3667
- let el;
3668
- let vnodeHook;
3669
- const { props, shapeFlag, transition, dirs } = vnode;
3670
- el = vnode.el = hostCreateElement(
3671
- vnode.type,
3672
- namespace,
3673
- props && props.is,
3674
- props
3675
- );
3676
- if (shapeFlag & 8) {
3677
- hostSetElementText(el, vnode.children);
3678
- } else if (shapeFlag & 16) {
3679
- mountChildren(
3680
- vnode.children,
3681
- el,
3682
- null,
3683
- parentComponent,
3684
- parentSuspense,
3685
- resolveChildrenNamespace(vnode, namespace),
3686
- slotScopeIds,
3687
- optimized
3688
- );
3689
- }
3690
- if (dirs) {
3691
- invokeDirectiveHook(vnode, null, parentComponent, "created");
3602
+ instance.props = props;
3692
3603
  }
3693
- setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
3694
- if (props) {
3695
- for (const key in props) {
3696
- if (key !== "value" && !shared.isReservedProp(key)) {
3697
- hostPatchProp(el, key, null, props[key], namespace, parentComponent);
3604
+ }
3605
+ instance.attrs = attrs;
3606
+ }
3607
+ function updateProps(instance, rawProps, rawPrevProps, optimized) {
3608
+ const {
3609
+ props,
3610
+ attrs,
3611
+ vnode: { patchFlag }
3612
+ } = instance;
3613
+ const rawCurrentProps = reactivity.toRaw(props);
3614
+ const [options] = instance.propsOptions;
3615
+ let hasAttrsChanged = false;
3616
+ if (
3617
+ // always force full diff in dev
3618
+ // - #1942 if hmr is enabled with sfc component
3619
+ // - vite#872 non-sfc component used by sfc component
3620
+ (optimized || patchFlag > 0) && !(patchFlag & 16)
3621
+ ) {
3622
+ if (patchFlag & 8) {
3623
+ const propsToUpdate = instance.vnode.dynamicProps;
3624
+ for (let i = 0; i < propsToUpdate.length; i++) {
3625
+ let key = propsToUpdate[i];
3626
+ if (isEmitListener(instance.emitsOptions, key)) {
3627
+ continue;
3628
+ }
3629
+ const value = rawProps[key];
3630
+ if (options) {
3631
+ if (shared.hasOwn(attrs, key)) {
3632
+ if (value !== attrs[key]) {
3633
+ attrs[key] = value;
3634
+ hasAttrsChanged = true;
3635
+ }
3636
+ } else {
3637
+ const camelizedKey = shared.camelize(key);
3638
+ props[camelizedKey] = resolvePropValue(
3639
+ options,
3640
+ rawCurrentProps,
3641
+ camelizedKey,
3642
+ value,
3643
+ instance,
3644
+ false
3645
+ );
3646
+ }
3647
+ } else {
3648
+ if (value !== attrs[key]) {
3649
+ attrs[key] = value;
3650
+ hasAttrsChanged = true;
3651
+ }
3698
3652
  }
3699
3653
  }
3700
- if ("value" in props) {
3701
- hostPatchProp(el, "value", null, props.value, namespace);
3702
- }
3703
- if (vnodeHook = props.onVnodeBeforeMount) {
3704
- invokeVNodeHook(vnodeHook, parentComponent, vnode);
3705
- }
3706
- }
3707
- if (dirs) {
3708
- invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
3709
- }
3710
- const needCallTransitionHooks = needTransition(parentSuspense, transition);
3711
- if (needCallTransitionHooks) {
3712
- transition.beforeEnter(el);
3713
- }
3714
- hostInsert(el, container, anchor);
3715
- if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
3716
- queuePostRenderEffect(() => {
3717
- vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
3718
- needCallTransitionHooks && transition.enter(el);
3719
- dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
3720
- }, parentSuspense);
3721
- }
3722
- };
3723
- const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
3724
- if (scopeId) {
3725
- hostSetScopeId(el, scopeId);
3726
- }
3727
- if (slotScopeIds) {
3728
- for (let i = 0; i < slotScopeIds.length; i++) {
3729
- hostSetScopeId(el, slotScopeIds[i]);
3730
- }
3731
- }
3732
- if (parentComponent) {
3733
- let subTree = parentComponent.subTree;
3734
- if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
3735
- const parentVNode = parentComponent.vnode;
3736
- setScopeId(
3737
- el,
3738
- parentVNode,
3739
- parentVNode.scopeId,
3740
- parentVNode.slotScopeIds,
3741
- parentComponent.parent
3742
- );
3743
- }
3744
- }
3745
- };
3746
- const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
3747
- for (let i = start; i < children.length; i++) {
3748
- const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);
3749
- patch(
3750
- null,
3751
- child,
3752
- container,
3753
- anchor,
3754
- parentComponent,
3755
- parentSuspense,
3756
- namespace,
3757
- slotScopeIds,
3758
- optimized
3759
- );
3760
- }
3761
- };
3762
- const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3763
- const el = n2.el = n1.el;
3764
- let { patchFlag, dynamicChildren, dirs } = n2;
3765
- patchFlag |= n1.patchFlag & 16;
3766
- const oldProps = n1.props || shared.EMPTY_OBJ;
3767
- const newProps = n2.props || shared.EMPTY_OBJ;
3768
- let vnodeHook;
3769
- parentComponent && toggleRecurse(parentComponent, false);
3770
- if (vnodeHook = newProps.onVnodeBeforeUpdate) {
3771
- invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
3772
- }
3773
- if (dirs) {
3774
- invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
3775
- }
3776
- parentComponent && toggleRecurse(parentComponent, true);
3777
- if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
3778
- hostSetElementText(el, "");
3779
3654
  }
3780
- if (dynamicChildren) {
3781
- patchBlockChildren(
3782
- n1.dynamicChildren,
3783
- dynamicChildren,
3784
- el,
3785
- parentComponent,
3786
- parentSuspense,
3787
- resolveChildrenNamespace(n2, namespace),
3788
- slotScopeIds
3789
- );
3790
- } else if (!optimized) {
3791
- patchChildren(
3792
- n1,
3793
- n2,
3794
- el,
3795
- null,
3796
- parentComponent,
3797
- parentSuspense,
3798
- resolveChildrenNamespace(n2, namespace),
3799
- slotScopeIds,
3800
- false
3801
- );
3655
+ } else {
3656
+ if (setFullProps(instance, rawProps, props, attrs)) {
3657
+ hasAttrsChanged = true;
3802
3658
  }
3803
- if (patchFlag > 0) {
3804
- if (patchFlag & 16) {
3805
- patchProps(el, oldProps, newProps, parentComponent, namespace);
3806
- } else {
3807
- if (patchFlag & 2) {
3808
- if (oldProps.class !== newProps.class) {
3809
- hostPatchProp(el, "class", null, newProps.class, namespace);
3659
+ let kebabKey;
3660
+ for (const key in rawCurrentProps) {
3661
+ if (!rawProps || // for camelCase
3662
+ !shared.hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
3663
+ // and converted to camelCase (#955)
3664
+ ((kebabKey = shared.hyphenate(key)) === key || !shared.hasOwn(rawProps, kebabKey))) {
3665
+ if (options) {
3666
+ if (rawPrevProps && // for camelCase
3667
+ (rawPrevProps[key] !== void 0 || // for kebab-case
3668
+ rawPrevProps[kebabKey] !== void 0)) {
3669
+ props[key] = resolvePropValue(
3670
+ options,
3671
+ rawCurrentProps,
3672
+ key,
3673
+ void 0,
3674
+ instance,
3675
+ true
3676
+ );
3810
3677
  }
3678
+ } else {
3679
+ delete props[key];
3811
3680
  }
3812
- if (patchFlag & 4) {
3813
- hostPatchProp(el, "style", oldProps.style, newProps.style, namespace);
3681
+ }
3682
+ }
3683
+ if (attrs !== rawCurrentProps) {
3684
+ for (const key in attrs) {
3685
+ if (!rawProps || !shared.hasOwn(rawProps, key) && true) {
3686
+ delete attrs[key];
3687
+ hasAttrsChanged = true;
3814
3688
  }
3815
- if (patchFlag & 8) {
3816
- const propsToUpdate = n2.dynamicProps;
3817
- for (let i = 0; i < propsToUpdate.length; i++) {
3818
- const key = propsToUpdate[i];
3819
- const prev = oldProps[key];
3820
- const next = newProps[key];
3821
- if (next !== prev || key === "value") {
3822
- hostPatchProp(el, key, prev, next, namespace, parentComponent);
3823
- }
3824
- }
3689
+ }
3690
+ }
3691
+ }
3692
+ if (hasAttrsChanged) {
3693
+ reactivity.trigger(instance.attrs, "set", "");
3694
+ }
3695
+ }
3696
+ function setFullProps(instance, rawProps, props, attrs) {
3697
+ const [options, needCastKeys] = instance.propsOptions;
3698
+ let hasAttrsChanged = false;
3699
+ let rawCastValues;
3700
+ if (rawProps) {
3701
+ for (let key in rawProps) {
3702
+ if (shared.isReservedProp(key)) {
3703
+ continue;
3704
+ }
3705
+ const value = rawProps[key];
3706
+ let camelKey;
3707
+ if (options && shared.hasOwn(options, camelKey = shared.camelize(key))) {
3708
+ if (!needCastKeys || !needCastKeys.includes(camelKey)) {
3709
+ props[camelKey] = value;
3710
+ } else {
3711
+ (rawCastValues || (rawCastValues = {}))[camelKey] = value;
3712
+ }
3713
+ } else if (!isEmitListener(instance.emitsOptions, key)) {
3714
+ if (!(key in attrs) || value !== attrs[key]) {
3715
+ attrs[key] = value;
3716
+ hasAttrsChanged = true;
3825
3717
  }
3826
3718
  }
3827
- if (patchFlag & 1) {
3828
- if (n1.children !== n2.children) {
3829
- hostSetElementText(el, n2.children);
3719
+ }
3720
+ }
3721
+ if (needCastKeys) {
3722
+ const rawCurrentProps = reactivity.toRaw(props);
3723
+ const castValues = rawCastValues || shared.EMPTY_OBJ;
3724
+ for (let i = 0; i < needCastKeys.length; i++) {
3725
+ const key = needCastKeys[i];
3726
+ props[key] = resolvePropValue(
3727
+ options,
3728
+ rawCurrentProps,
3729
+ key,
3730
+ castValues[key],
3731
+ instance,
3732
+ !shared.hasOwn(castValues, key)
3733
+ );
3734
+ }
3735
+ }
3736
+ return hasAttrsChanged;
3737
+ }
3738
+ function resolvePropValue(options, props, key, value, instance, isAbsent) {
3739
+ const opt = options[key];
3740
+ if (opt != null) {
3741
+ const hasDefault = shared.hasOwn(opt, "default");
3742
+ if (hasDefault && value === void 0) {
3743
+ const defaultValue = opt.default;
3744
+ if (opt.type !== Function && !opt.skipFactory && shared.isFunction(defaultValue)) {
3745
+ const { propsDefaults } = instance;
3746
+ if (key in propsDefaults) {
3747
+ value = propsDefaults[key];
3748
+ } else {
3749
+ const reset = setCurrentInstance(instance);
3750
+ value = propsDefaults[key] = defaultValue.call(
3751
+ null,
3752
+ props
3753
+ );
3754
+ reset();
3830
3755
  }
3756
+ } else {
3757
+ value = defaultValue;
3758
+ }
3759
+ if (instance.ce) {
3760
+ instance.ce._setProp(key, value);
3831
3761
  }
3832
- } else if (!optimized && dynamicChildren == null) {
3833
- patchProps(el, oldProps, newProps, parentComponent, namespace);
3834
3762
  }
3835
- if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
3836
- queuePostRenderEffect(() => {
3837
- vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
3838
- dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
3839
- }, parentSuspense);
3763
+ if (opt[0 /* shouldCast */]) {
3764
+ if (isAbsent && !hasDefault) {
3765
+ value = false;
3766
+ } else if (opt[1 /* shouldCastTrue */] && (value === "" || value === shared.hyphenate(key))) {
3767
+ value = true;
3768
+ }
3840
3769
  }
3841
- };
3842
- const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, namespace, slotScopeIds) => {
3843
- for (let i = 0; i < newChildren.length; i++) {
3844
- const oldVNode = oldChildren[i];
3845
- const newVNode = newChildren[i];
3846
- const container = (
3847
- // oldVNode may be an errored async setup() component inside Suspense
3848
- // which will not have a mounted element
3849
- oldVNode.el && // - In the case of a Fragment, we need to provide the actual parent
3850
- // of the Fragment itself so it can move its children.
3851
- (oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
3852
- // which also requires the correct parent container
3853
- !isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything.
3854
- oldVNode.shapeFlag & (6 | 64 | 128)) ? hostParentNode(oldVNode.el) : (
3855
- // In other cases, the parent container is not actually used so we
3856
- // just pass the block element here to avoid a DOM parentNode call.
3857
- fallbackContainer
3858
- )
3859
- );
3860
- patch(
3861
- oldVNode,
3862
- newVNode,
3863
- container,
3864
- null,
3865
- parentComponent,
3866
- parentSuspense,
3867
- namespace,
3868
- slotScopeIds,
3869
- true
3870
- );
3770
+ }
3771
+ return value;
3772
+ }
3773
+ const mixinPropsCache = /* @__PURE__ */ new WeakMap();
3774
+ function normalizePropsOptions(comp, appContext, asMixin = false) {
3775
+ const cache = asMixin ? mixinPropsCache : appContext.propsCache;
3776
+ const cached = cache.get(comp);
3777
+ if (cached) {
3778
+ return cached;
3779
+ }
3780
+ const raw = comp.props;
3781
+ const normalized = {};
3782
+ const needCastKeys = [];
3783
+ let hasExtends = false;
3784
+ if (!shared.isFunction(comp)) {
3785
+ const extendProps = (raw2) => {
3786
+ hasExtends = true;
3787
+ const [props, keys] = normalizePropsOptions(raw2, appContext, true);
3788
+ shared.extend(normalized, props);
3789
+ if (keys) needCastKeys.push(...keys);
3790
+ };
3791
+ if (!asMixin && appContext.mixins.length) {
3792
+ appContext.mixins.forEach(extendProps);
3871
3793
  }
3872
- };
3873
- const patchProps = (el, oldProps, newProps, parentComponent, namespace) => {
3874
- if (oldProps !== newProps) {
3875
- if (oldProps !== shared.EMPTY_OBJ) {
3876
- for (const key in oldProps) {
3877
- if (!shared.isReservedProp(key) && !(key in newProps)) {
3878
- hostPatchProp(
3879
- el,
3880
- key,
3881
- oldProps[key],
3882
- null,
3883
- namespace,
3884
- parentComponent
3885
- );
3794
+ if (comp.extends) {
3795
+ extendProps(comp.extends);
3796
+ }
3797
+ if (comp.mixins) {
3798
+ comp.mixins.forEach(extendProps);
3799
+ }
3800
+ }
3801
+ if (!raw && !hasExtends) {
3802
+ if (shared.isObject(comp)) {
3803
+ cache.set(comp, shared.EMPTY_ARR);
3804
+ }
3805
+ return shared.EMPTY_ARR;
3806
+ }
3807
+ if (shared.isArray(raw)) {
3808
+ for (let i = 0; i < raw.length; i++) {
3809
+ const normalizedKey = shared.camelize(raw[i]);
3810
+ if (validatePropName(normalizedKey)) {
3811
+ normalized[normalizedKey] = shared.EMPTY_OBJ;
3812
+ }
3813
+ }
3814
+ } else if (raw) {
3815
+ for (const key in raw) {
3816
+ const normalizedKey = shared.camelize(key);
3817
+ if (validatePropName(normalizedKey)) {
3818
+ const opt = raw[key];
3819
+ const prop = normalized[normalizedKey] = shared.isArray(opt) || shared.isFunction(opt) ? { type: opt } : shared.extend({}, opt);
3820
+ const propType = prop.type;
3821
+ let shouldCast = false;
3822
+ let shouldCastTrue = true;
3823
+ if (shared.isArray(propType)) {
3824
+ for (let index = 0; index < propType.length; ++index) {
3825
+ const type = propType[index];
3826
+ const typeName = shared.isFunction(type) && type.name;
3827
+ if (typeName === "Boolean") {
3828
+ shouldCast = true;
3829
+ break;
3830
+ } else if (typeName === "String") {
3831
+ shouldCastTrue = false;
3832
+ }
3886
3833
  }
3834
+ } else {
3835
+ shouldCast = shared.isFunction(propType) && propType.name === "Boolean";
3887
3836
  }
3888
- }
3889
- for (const key in newProps) {
3890
- if (shared.isReservedProp(key)) continue;
3891
- const next = newProps[key];
3892
- const prev = oldProps[key];
3893
- if (next !== prev && key !== "value") {
3894
- hostPatchProp(el, key, prev, next, namespace, parentComponent);
3837
+ prop[0 /* shouldCast */] = shouldCast;
3838
+ prop[1 /* shouldCastTrue */] = shouldCastTrue;
3839
+ if (shouldCast || shared.hasOwn(prop, "default")) {
3840
+ needCastKeys.push(normalizedKey);
3895
3841
  }
3896
3842
  }
3897
- if ("value" in newProps) {
3898
- hostPatchProp(el, "value", oldProps.value, newProps.value, namespace);
3899
- }
3900
3843
  }
3901
- };
3902
- const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3903
- const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
3904
- const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
3905
- let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
3906
- if (fragmentSlotScopeIds) {
3907
- slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
3844
+ }
3845
+ const res = [normalized, needCastKeys];
3846
+ if (shared.isObject(comp)) {
3847
+ cache.set(comp, res);
3848
+ }
3849
+ return res;
3850
+ }
3851
+ function validatePropName(key) {
3852
+ if (key[0] !== "$" && !shared.isReservedProp(key)) {
3853
+ return true;
3854
+ }
3855
+ return false;
3856
+ }
3857
+
3858
+ const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
3859
+ const normalizeSlotValue = (value) => shared.isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
3860
+ const normalizeSlot = (key, rawSlot, ctx) => {
3861
+ if (rawSlot._n) {
3862
+ return rawSlot;
3863
+ }
3864
+ const normalized = withCtx((...args) => {
3865
+ if (false) ;
3866
+ return normalizeSlotValue(rawSlot(...args));
3867
+ }, ctx);
3868
+ normalized._c = false;
3869
+ return normalized;
3870
+ };
3871
+ const normalizeObjectSlots = (rawSlots, slots, instance) => {
3872
+ const ctx = rawSlots._ctx;
3873
+ for (const key in rawSlots) {
3874
+ if (isInternalKey(key)) continue;
3875
+ const value = rawSlots[key];
3876
+ if (shared.isFunction(value)) {
3877
+ slots[key] = normalizeSlot(key, value, ctx);
3878
+ } else if (value != null) {
3879
+ const normalized = normalizeSlotValue(value);
3880
+ slots[key] = () => normalized;
3908
3881
  }
3909
- if (n1 == null) {
3910
- hostInsert(fragmentStartAnchor, container, anchor);
3911
- hostInsert(fragmentEndAnchor, container, anchor);
3912
- mountChildren(
3913
- // #10007
3914
- // such fragment like `<></>` will be compiled into
3915
- // a fragment which doesn't have a children.
3916
- // In this case fallback to an empty array
3917
- n2.children || [],
3918
- container,
3919
- fragmentEndAnchor,
3920
- parentComponent,
3921
- parentSuspense,
3922
- namespace,
3923
- slotScopeIds,
3924
- optimized
3925
- );
3882
+ }
3883
+ };
3884
+ const normalizeVNodeSlots = (instance, children) => {
3885
+ const normalized = normalizeSlotValue(children);
3886
+ instance.slots.default = () => normalized;
3887
+ };
3888
+ const assignSlots = (slots, children, optimized) => {
3889
+ for (const key in children) {
3890
+ if (optimized || !isInternalKey(key)) {
3891
+ slots[key] = children[key];
3892
+ }
3893
+ }
3894
+ };
3895
+ const initSlots = (instance, children, optimized) => {
3896
+ const slots = instance.slots = createInternalObject();
3897
+ if (instance.vnode.shapeFlag & 32) {
3898
+ const type = children._;
3899
+ if (type) {
3900
+ assignSlots(slots, children, optimized);
3901
+ if (optimized) {
3902
+ shared.def(slots, "_", type, true);
3903
+ }
3926
3904
  } else {
3927
- if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
3928
- // of renderSlot() with no valid children
3929
- n1.dynamicChildren) {
3930
- patchBlockChildren(
3931
- n1.dynamicChildren,
3932
- dynamicChildren,
3905
+ normalizeObjectSlots(children, slots);
3906
+ }
3907
+ } else if (children) {
3908
+ normalizeVNodeSlots(instance, children);
3909
+ }
3910
+ };
3911
+ const updateSlots = (instance, children, optimized) => {
3912
+ const { vnode, slots } = instance;
3913
+ let needDeletionCheck = true;
3914
+ let deletionComparisonTarget = shared.EMPTY_OBJ;
3915
+ if (vnode.shapeFlag & 32) {
3916
+ const type = children._;
3917
+ if (type) {
3918
+ if (optimized && type === 1) {
3919
+ needDeletionCheck = false;
3920
+ } else {
3921
+ assignSlots(slots, children, optimized);
3922
+ }
3923
+ } else {
3924
+ needDeletionCheck = !children.$stable;
3925
+ normalizeObjectSlots(children, slots);
3926
+ }
3927
+ deletionComparisonTarget = children;
3928
+ } else if (children) {
3929
+ normalizeVNodeSlots(instance, children);
3930
+ deletionComparisonTarget = { default: 1 };
3931
+ }
3932
+ if (needDeletionCheck) {
3933
+ for (const key in slots) {
3934
+ if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
3935
+ delete slots[key];
3936
+ }
3937
+ }
3938
+ }
3939
+ };
3940
+
3941
+ const queuePostRenderEffect = queueEffectWithSuspense ;
3942
+ function createRenderer(options) {
3943
+ return baseCreateRenderer(options);
3944
+ }
3945
+ function createHydrationRenderer(options) {
3946
+ return baseCreateRenderer(options, createHydrationFunctions);
3947
+ }
3948
+ function baseCreateRenderer(options, createHydrationFns) {
3949
+ const target = shared.getGlobalThis();
3950
+ target.__VUE__ = true;
3951
+ const {
3952
+ insert: hostInsert,
3953
+ remove: hostRemove,
3954
+ patchProp: hostPatchProp,
3955
+ createElement: hostCreateElement,
3956
+ createText: hostCreateText,
3957
+ createComment: hostCreateComment,
3958
+ setText: hostSetText,
3959
+ setElementText: hostSetElementText,
3960
+ parentNode: hostParentNode,
3961
+ nextSibling: hostNextSibling,
3962
+ setScopeId: hostSetScopeId = shared.NOOP,
3963
+ insertStaticContent: hostInsertStaticContent
3964
+ } = options;
3965
+ const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
3966
+ if (n1 === n2) {
3967
+ return;
3968
+ }
3969
+ if (n1 && !isSameVNodeType(n1, n2)) {
3970
+ anchor = getNextHostNode(n1);
3971
+ unmount(n1, parentComponent, parentSuspense, true);
3972
+ n1 = null;
3973
+ }
3974
+ if (n2.patchFlag === -2) {
3975
+ optimized = false;
3976
+ n2.dynamicChildren = null;
3977
+ }
3978
+ const { type, ref, shapeFlag } = n2;
3979
+ switch (type) {
3980
+ case Text:
3981
+ processText(n1, n2, container, anchor);
3982
+ break;
3983
+ case Comment:
3984
+ processCommentNode(n1, n2, container, anchor);
3985
+ break;
3986
+ case Static:
3987
+ if (n1 == null) {
3988
+ mountStaticNode(n2, container, anchor, namespace);
3989
+ }
3990
+ break;
3991
+ case Fragment:
3992
+ processFragment(
3993
+ n1,
3994
+ n2,
3933
3995
  container,
3996
+ anchor,
3934
3997
  parentComponent,
3935
3998
  parentSuspense,
3936
3999
  namespace,
3937
- slotScopeIds
4000
+ slotScopeIds,
4001
+ optimized
3938
4002
  );
3939
- if (
3940
- // #2080 if the stable fragment has a key, it's a <template v-for> that may
3941
- // get moved around. Make sure all root level vnodes inherit el.
3942
- // #2134 or if it's a component root, it may also get moved around
3943
- // as the component is being moved.
3944
- n2.key != null || parentComponent && n2 === parentComponent.subTree
3945
- ) {
3946
- traverseStaticChildren(
4003
+ break;
4004
+ default:
4005
+ if (shapeFlag & 1) {
4006
+ processElement(
3947
4007
  n1,
3948
4008
  n2,
3949
- true
3950
- /* shallow */
4009
+ container,
4010
+ anchor,
4011
+ parentComponent,
4012
+ parentSuspense,
4013
+ namespace,
4014
+ slotScopeIds,
4015
+ optimized
4016
+ );
4017
+ } else if (shapeFlag & 6) {
4018
+ processComponent(
4019
+ n1,
4020
+ n2,
4021
+ container,
4022
+ anchor,
4023
+ parentComponent,
4024
+ parentSuspense,
4025
+ namespace,
4026
+ slotScopeIds,
4027
+ optimized
4028
+ );
4029
+ } else if (shapeFlag & 64) {
4030
+ type.process(
4031
+ n1,
4032
+ n2,
4033
+ container,
4034
+ anchor,
4035
+ parentComponent,
4036
+ parentSuspense,
4037
+ namespace,
4038
+ slotScopeIds,
4039
+ optimized,
4040
+ internals
4041
+ );
4042
+ } else if (shapeFlag & 128) {
4043
+ type.process(
4044
+ n1,
4045
+ n2,
4046
+ container,
4047
+ anchor,
4048
+ parentComponent,
4049
+ parentSuspense,
4050
+ namespace,
4051
+ slotScopeIds,
4052
+ optimized,
4053
+ internals
3951
4054
  );
3952
- }
3953
- } else {
3954
- patchChildren(
3955
- n1,
3956
- n2,
3957
- container,
3958
- fragmentEndAnchor,
3959
- parentComponent,
3960
- parentSuspense,
3961
- namespace,
3962
- slotScopeIds,
3963
- optimized
3964
- );
3965
- }
4055
+ } else ;
4056
+ }
4057
+ if (ref != null && parentComponent) {
4058
+ setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
4059
+ } else if (ref == null && n1 && n1.ref != null) {
4060
+ setRef(n1.ref, null, parentSuspense, n1, true);
3966
4061
  }
3967
4062
  };
3968
- const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3969
- n2.slotScopeIds = slotScopeIds;
4063
+ const processText = (n1, n2, container, anchor) => {
3970
4064
  if (n1 == null) {
3971
- if (n2.shapeFlag & 512) {
3972
- parentComponent.ctx.activate(
3973
- n2,
3974
- container,
3975
- anchor,
3976
- namespace,
3977
- optimized
3978
- );
3979
- } else {
3980
- mountComponent(
3981
- n2,
3982
- container,
3983
- anchor,
3984
- parentComponent,
3985
- parentSuspense,
3986
- namespace,
3987
- optimized
3988
- );
3989
- }
4065
+ hostInsert(
4066
+ n2.el = hostCreateText(n2.children),
4067
+ container,
4068
+ anchor
4069
+ );
3990
4070
  } else {
3991
- updateComponent(n1, n2, optimized);
4071
+ const el = n2.el = n1.el;
4072
+ if (n2.children !== n1.children) {
4073
+ {
4074
+ hostSetText(el, n2.children);
4075
+ }
4076
+ }
3992
4077
  }
3993
4078
  };
3994
- const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, namespace, optimized) => {
3995
- const instance = (initialVNode.component = createComponentInstance(
3996
- initialVNode,
3997
- parentComponent,
3998
- parentSuspense
3999
- ));
4000
- if (isKeepAlive(initialVNode)) {
4001
- instance.ctx.renderer = internals;
4002
- }
4003
- {
4004
- setupComponent(instance, false, optimized);
4005
- }
4006
- if (instance.asyncDep) {
4007
- parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
4008
- if (!initialVNode.el) {
4009
- const placeholder = instance.subTree = createVNode(Comment);
4010
- processCommentNode(null, placeholder, container, anchor);
4011
- initialVNode.placeholder = placeholder.el;
4012
- }
4013
- } else {
4014
- setupRenderEffect(
4015
- instance,
4016
- initialVNode,
4079
+ const processCommentNode = (n1, n2, container, anchor) => {
4080
+ if (n1 == null) {
4081
+ hostInsert(
4082
+ n2.el = hostCreateComment(n2.children || ""),
4017
4083
  container,
4018
- anchor,
4019
- parentSuspense,
4020
- namespace,
4021
- optimized
4084
+ anchor
4022
4085
  );
4023
- }
4024
- };
4025
- const updateComponent = (n1, n2, optimized) => {
4026
- const instance = n2.component = n1.component;
4027
- if (shouldUpdateComponent(n1, n2, optimized)) {
4028
- if (instance.asyncDep && !instance.asyncResolved) {
4029
- updateComponentPreRender(instance, n2, optimized);
4030
- return;
4031
- } else {
4032
- instance.next = n2;
4033
- instance.update();
4034
- }
4035
4086
  } else {
4036
4087
  n2.el = n1.el;
4037
- instance.vnode = n2;
4038
4088
  }
4039
4089
  };
4040
- const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
4041
- const componentUpdateFn = () => {
4042
- if (!instance.isMounted) {
4043
- let vnodeHook;
4044
- const { el, props } = initialVNode;
4045
- const { bm, m, parent, root, type } = instance;
4046
- const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
4047
- toggleRecurse(instance, false);
4048
- if (bm) {
4049
- shared.invokeArrayFns(bm);
4050
- }
4051
- if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeBeforeMount)) {
4052
- invokeVNodeHook(vnodeHook, parent, initialVNode);
4053
- }
4054
- toggleRecurse(instance, true);
4055
- if (el && hydrateNode) {
4056
- const hydrateSubTree = () => {
4057
- instance.subTree = renderComponentRoot(instance);
4058
- hydrateNode(
4059
- el,
4060
- instance.subTree,
4061
- instance,
4062
- parentSuspense,
4063
- null
4064
- );
4065
- };
4066
- if (isAsyncWrapperVNode && type.__asyncHydrate) {
4067
- type.__asyncHydrate(
4068
- el,
4069
- instance,
4070
- hydrateSubTree
4071
- );
4072
- } else {
4073
- hydrateSubTree();
4074
- }
4075
- } else {
4076
- if (root.ce && // @ts-expect-error _def is private
4077
- root.ce._def.shadowRoot !== false) {
4078
- root.ce._injectChildStyle(type);
4079
- }
4080
- const subTree = instance.subTree = renderComponentRoot(instance);
4081
- patch(
4082
- null,
4083
- subTree,
4084
- container,
4085
- anchor,
4086
- instance,
4087
- parentSuspense,
4088
- namespace
4089
- );
4090
- initialVNode.el = subTree.el;
4091
- }
4092
- if (m) {
4093
- queuePostRenderEffect(m, parentSuspense);
4094
- }
4095
- if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
4096
- const scopedInitialVNode = initialVNode;
4097
- queuePostRenderEffect(
4098
- () => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode),
4099
- parentSuspense
4100
- );
4101
- }
4102
- if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {
4103
- instance.a && queuePostRenderEffect(instance.a, parentSuspense);
4104
- }
4105
- instance.isMounted = true;
4106
- initialVNode = container = anchor = null;
4107
- } else {
4108
- let { next, bu, u, parent, vnode } = instance;
4109
- {
4110
- const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
4111
- if (nonHydratedAsyncRoot) {
4112
- if (next) {
4113
- next.el = vnode.el;
4114
- updateComponentPreRender(instance, next, optimized);
4115
- }
4116
- nonHydratedAsyncRoot.asyncDep.then(() => {
4117
- if (!instance.isUnmounted) {
4118
- componentUpdateFn();
4119
- }
4120
- });
4121
- return;
4122
- }
4123
- }
4124
- let originNext = next;
4125
- let vnodeHook;
4126
- toggleRecurse(instance, false);
4127
- if (next) {
4128
- next.el = vnode.el;
4129
- updateComponentPreRender(instance, next, optimized);
4130
- } else {
4131
- next = vnode;
4132
- }
4133
- if (bu) {
4134
- shared.invokeArrayFns(bu);
4135
- }
4136
- if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {
4137
- invokeVNodeHook(vnodeHook, parent, next, vnode);
4138
- }
4139
- toggleRecurse(instance, true);
4140
- const nextTree = renderComponentRoot(instance);
4141
- const prevTree = instance.subTree;
4142
- instance.subTree = nextTree;
4143
- patch(
4144
- prevTree,
4145
- nextTree,
4146
- // parent may have changed if it's in a teleport
4147
- hostParentNode(prevTree.el),
4148
- // anchor may have changed if it's in a fragment
4149
- getNextHostNode(prevTree),
4150
- instance,
4151
- parentSuspense,
4152
- namespace
4153
- );
4154
- next.el = nextTree.el;
4155
- if (originNext === null) {
4156
- updateHOCHostEl(instance, nextTree.el);
4157
- }
4158
- if (u) {
4159
- queuePostRenderEffect(u, parentSuspense);
4160
- }
4161
- if (vnodeHook = next.props && next.props.onVnodeUpdated) {
4162
- queuePostRenderEffect(
4163
- () => invokeVNodeHook(vnodeHook, parent, next, vnode),
4164
- parentSuspense
4165
- );
4166
- }
4167
- }
4168
- };
4169
- instance.scope.on();
4170
- const effect = instance.effect = new reactivity.ReactiveEffect(componentUpdateFn);
4171
- instance.scope.off();
4172
- const update = instance.update = effect.run.bind(effect);
4173
- const job = instance.job = effect.runIfDirty.bind(effect);
4174
- job.i = instance;
4175
- job.id = instance.uid;
4176
- effect.scheduler = () => queueJob(job);
4177
- toggleRecurse(instance, true);
4178
- update();
4090
+ const mountStaticNode = (n2, container, anchor, namespace) => {
4091
+ [n2.el, n2.anchor] = hostInsertStaticContent(
4092
+ n2.children,
4093
+ container,
4094
+ anchor,
4095
+ namespace,
4096
+ n2.el,
4097
+ n2.anchor
4098
+ );
4099
+ };
4100
+ const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
4101
+ let next;
4102
+ while (el && el !== anchor) {
4103
+ next = hostNextSibling(el);
4104
+ hostInsert(el, container, nextSibling);
4105
+ el = next;
4106
+ }
4107
+ hostInsert(anchor, container, nextSibling);
4179
4108
  };
4180
- const updateComponentPreRender = (instance, nextVNode, optimized) => {
4181
- nextVNode.component = instance;
4182
- const prevProps = instance.vnode.props;
4183
- instance.vnode = nextVNode;
4184
- instance.next = null;
4185
- updateProps(instance, nextVNode.props, prevProps, optimized);
4186
- updateSlots(instance, nextVNode.children, optimized);
4187
- reactivity.pauseTracking();
4188
- flushPreFlushCbs(instance);
4189
- reactivity.resetTracking();
4109
+ const removeStaticNode = ({ el, anchor }) => {
4110
+ let next;
4111
+ while (el && el !== anchor) {
4112
+ next = hostNextSibling(el);
4113
+ hostRemove(el);
4114
+ el = next;
4115
+ }
4116
+ hostRemove(anchor);
4190
4117
  };
4191
- const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized = false) => {
4192
- const c1 = n1 && n1.children;
4193
- const prevShapeFlag = n1 ? n1.shapeFlag : 0;
4194
- const c2 = n2.children;
4195
- const { patchFlag, shapeFlag } = n2;
4196
- if (patchFlag > 0) {
4197
- if (patchFlag & 128) {
4198
- patchKeyedChildren(
4199
- c1,
4200
- c2,
4201
- container,
4202
- anchor,
4203
- parentComponent,
4204
- parentSuspense,
4205
- namespace,
4206
- slotScopeIds,
4207
- optimized
4208
- );
4209
- return;
4210
- } else if (patchFlag & 256) {
4211
- patchUnkeyedChildren(
4212
- c1,
4213
- c2,
4214
- container,
4215
- anchor,
4118
+ const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4119
+ if (n2.type === "svg") {
4120
+ namespace = "svg";
4121
+ } else if (n2.type === "math") {
4122
+ namespace = "mathml";
4123
+ }
4124
+ if (n1 == null) {
4125
+ mountElement(
4126
+ n2,
4127
+ container,
4128
+ anchor,
4129
+ parentComponent,
4130
+ parentSuspense,
4131
+ namespace,
4132
+ slotScopeIds,
4133
+ optimized
4134
+ );
4135
+ } else {
4136
+ const customElement = !!(n1.el && n1.el._isVueCE) ? n1.el : null;
4137
+ try {
4138
+ if (customElement) {
4139
+ customElement._beginPatch();
4140
+ }
4141
+ patchElement(
4142
+ n1,
4143
+ n2,
4216
4144
  parentComponent,
4217
4145
  parentSuspense,
4218
4146
  namespace,
4219
4147
  slotScopeIds,
4220
4148
  optimized
4221
4149
  );
4222
- return;
4150
+ } finally {
4151
+ if (customElement) {
4152
+ customElement._endPatch();
4153
+ }
4223
4154
  }
4224
4155
  }
4156
+ };
4157
+ const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4158
+ let el;
4159
+ let vnodeHook;
4160
+ const { props, shapeFlag, transition, dirs } = vnode;
4161
+ el = vnode.el = hostCreateElement(
4162
+ vnode.type,
4163
+ namespace,
4164
+ props && props.is,
4165
+ props
4166
+ );
4225
4167
  if (shapeFlag & 8) {
4226
- if (prevShapeFlag & 16) {
4227
- unmountChildren(c1, parentComponent, parentSuspense);
4168
+ hostSetElementText(el, vnode.children);
4169
+ } else if (shapeFlag & 16) {
4170
+ mountChildren(
4171
+ vnode.children,
4172
+ el,
4173
+ null,
4174
+ parentComponent,
4175
+ parentSuspense,
4176
+ resolveChildrenNamespace(vnode, namespace),
4177
+ slotScopeIds,
4178
+ optimized
4179
+ );
4180
+ }
4181
+ if (dirs) {
4182
+ invokeDirectiveHook(vnode, null, parentComponent, "created");
4183
+ }
4184
+ setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
4185
+ if (props) {
4186
+ for (const key in props) {
4187
+ if (key !== "value" && !shared.isReservedProp(key)) {
4188
+ hostPatchProp(el, key, null, props[key], namespace, parentComponent);
4189
+ }
4228
4190
  }
4229
- if (c2 !== c1) {
4230
- hostSetElementText(container, c2);
4191
+ if ("value" in props) {
4192
+ hostPatchProp(el, "value", null, props.value, namespace);
4231
4193
  }
4232
- } else {
4233
- if (prevShapeFlag & 16) {
4234
- if (shapeFlag & 16) {
4235
- patchKeyedChildren(
4236
- c1,
4237
- c2,
4238
- container,
4239
- anchor,
4240
- parentComponent,
4241
- parentSuspense,
4242
- namespace,
4243
- slotScopeIds,
4244
- optimized
4245
- );
4246
- } else {
4247
- unmountChildren(c1, parentComponent, parentSuspense, true);
4248
- }
4194
+ if (vnodeHook = props.onVnodeBeforeMount) {
4195
+ invokeVNodeHook(vnodeHook, parentComponent, vnode);
4196
+ }
4197
+ }
4198
+ if (dirs) {
4199
+ invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
4200
+ }
4201
+ const needCallTransitionHooks = needTransition(parentSuspense, transition);
4202
+ if (needCallTransitionHooks) {
4203
+ transition.beforeEnter(el);
4204
+ }
4205
+ hostInsert(el, container, anchor);
4206
+ if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
4207
+ queuePostRenderEffect(() => {
4208
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
4209
+ needCallTransitionHooks && transition.enter(el);
4210
+ dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
4211
+ }, parentSuspense);
4212
+ }
4213
+ };
4214
+ const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
4215
+ if (scopeId) {
4216
+ hostSetScopeId(el, scopeId);
4217
+ }
4218
+ if (slotScopeIds) {
4219
+ for (let i = 0; i < slotScopeIds.length; i++) {
4220
+ hostSetScopeId(el, slotScopeIds[i]);
4221
+ }
4222
+ }
4223
+ if (parentComponent) {
4224
+ let subTree = parentComponent.subTree;
4225
+ if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
4226
+ const parentVNode = parentComponent.vnode;
4227
+ setScopeId(
4228
+ el,
4229
+ parentVNode,
4230
+ parentVNode.scopeId,
4231
+ parentVNode.slotScopeIds,
4232
+ parentComponent.parent
4233
+ );
4234
+ }
4235
+ }
4236
+ };
4237
+ const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
4238
+ for (let i = start; i < children.length; i++) {
4239
+ const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);
4240
+ patch(
4241
+ null,
4242
+ child,
4243
+ container,
4244
+ anchor,
4245
+ parentComponent,
4246
+ parentSuspense,
4247
+ namespace,
4248
+ slotScopeIds,
4249
+ optimized
4250
+ );
4251
+ }
4252
+ };
4253
+ const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4254
+ const el = n2.el = n1.el;
4255
+ let { patchFlag, dynamicChildren, dirs } = n2;
4256
+ patchFlag |= n1.patchFlag & 16;
4257
+ const oldProps = n1.props || shared.EMPTY_OBJ;
4258
+ const newProps = n2.props || shared.EMPTY_OBJ;
4259
+ let vnodeHook;
4260
+ parentComponent && toggleRecurse(parentComponent, false);
4261
+ if (vnodeHook = newProps.onVnodeBeforeUpdate) {
4262
+ invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
4263
+ }
4264
+ if (dirs) {
4265
+ invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
4266
+ }
4267
+ parentComponent && toggleRecurse(parentComponent, true);
4268
+ if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
4269
+ hostSetElementText(el, "");
4270
+ }
4271
+ if (dynamicChildren) {
4272
+ patchBlockChildren(
4273
+ n1.dynamicChildren,
4274
+ dynamicChildren,
4275
+ el,
4276
+ parentComponent,
4277
+ parentSuspense,
4278
+ resolveChildrenNamespace(n2, namespace),
4279
+ slotScopeIds
4280
+ );
4281
+ } else if (!optimized) {
4282
+ patchChildren(
4283
+ n1,
4284
+ n2,
4285
+ el,
4286
+ null,
4287
+ parentComponent,
4288
+ parentSuspense,
4289
+ resolveChildrenNamespace(n2, namespace),
4290
+ slotScopeIds,
4291
+ false
4292
+ );
4293
+ }
4294
+ if (patchFlag > 0) {
4295
+ if (patchFlag & 16) {
4296
+ patchProps(el, oldProps, newProps, parentComponent, namespace);
4249
4297
  } else {
4250
- if (prevShapeFlag & 8) {
4251
- hostSetElementText(container, "");
4298
+ if (patchFlag & 2) {
4299
+ if (oldProps.class !== newProps.class) {
4300
+ hostPatchProp(el, "class", null, newProps.class, namespace);
4301
+ }
4252
4302
  }
4253
- if (shapeFlag & 16) {
4254
- mountChildren(
4255
- c2,
4256
- container,
4257
- anchor,
4258
- parentComponent,
4259
- parentSuspense,
4260
- namespace,
4261
- slotScopeIds,
4262
- optimized
4263
- );
4303
+ if (patchFlag & 4) {
4304
+ hostPatchProp(el, "style", oldProps.style, newProps.style, namespace);
4305
+ }
4306
+ if (patchFlag & 8) {
4307
+ const propsToUpdate = n2.dynamicProps;
4308
+ for (let i = 0; i < propsToUpdate.length; i++) {
4309
+ const key = propsToUpdate[i];
4310
+ const prev = oldProps[key];
4311
+ const next = newProps[key];
4312
+ if (next !== prev || key === "value") {
4313
+ hostPatchProp(el, key, prev, next, namespace, parentComponent);
4314
+ }
4315
+ }
4316
+ }
4317
+ }
4318
+ if (patchFlag & 1) {
4319
+ if (n1.children !== n2.children) {
4320
+ hostSetElementText(el, n2.children);
4264
4321
  }
4265
4322
  }
4323
+ } else if (!optimized && dynamicChildren == null) {
4324
+ patchProps(el, oldProps, newProps, parentComponent, namespace);
4325
+ }
4326
+ if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
4327
+ queuePostRenderEffect(() => {
4328
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
4329
+ dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
4330
+ }, parentSuspense);
4266
4331
  }
4267
4332
  };
4268
- const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4269
- c1 = c1 || shared.EMPTY_ARR;
4270
- c2 = c2 || shared.EMPTY_ARR;
4271
- const oldLength = c1.length;
4272
- const newLength = c2.length;
4273
- const commonLength = Math.min(oldLength, newLength);
4274
- let i;
4275
- for (i = 0; i < commonLength; i++) {
4276
- const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4333
+ const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, namespace, slotScopeIds) => {
4334
+ for (let i = 0; i < newChildren.length; i++) {
4335
+ const oldVNode = oldChildren[i];
4336
+ const newVNode = newChildren[i];
4337
+ const container = (
4338
+ // oldVNode may be an errored async setup() component inside Suspense
4339
+ // which will not have a mounted element
4340
+ oldVNode.el && // - In the case of a Fragment, we need to provide the actual parent
4341
+ // of the Fragment itself so it can move its children.
4342
+ (oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
4343
+ // which also requires the correct parent container
4344
+ !isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything.
4345
+ oldVNode.shapeFlag & (6 | 64 | 128)) ? hostParentNode(oldVNode.el) : (
4346
+ // In other cases, the parent container is not actually used so we
4347
+ // just pass the block element here to avoid a DOM parentNode call.
4348
+ fallbackContainer
4349
+ )
4350
+ );
4277
4351
  patch(
4278
- c1[i],
4279
- nextChild,
4352
+ oldVNode,
4353
+ newVNode,
4280
4354
  container,
4281
4355
  null,
4282
4356
  parentComponent,
4283
4357
  parentSuspense,
4284
4358
  namespace,
4285
4359
  slotScopeIds,
4286
- optimized
4360
+ true
4287
4361
  );
4288
4362
  }
4289
- if (oldLength > newLength) {
4290
- unmountChildren(
4291
- c1,
4292
- parentComponent,
4293
- parentSuspense,
4294
- true,
4295
- false,
4296
- commonLength
4297
- );
4298
- } else {
4363
+ };
4364
+ const patchProps = (el, oldProps, newProps, parentComponent, namespace) => {
4365
+ if (oldProps !== newProps) {
4366
+ if (oldProps !== shared.EMPTY_OBJ) {
4367
+ for (const key in oldProps) {
4368
+ if (!shared.isReservedProp(key) && !(key in newProps)) {
4369
+ hostPatchProp(
4370
+ el,
4371
+ key,
4372
+ oldProps[key],
4373
+ null,
4374
+ namespace,
4375
+ parentComponent
4376
+ );
4377
+ }
4378
+ }
4379
+ }
4380
+ for (const key in newProps) {
4381
+ if (shared.isReservedProp(key)) continue;
4382
+ const next = newProps[key];
4383
+ const prev = oldProps[key];
4384
+ if (next !== prev && key !== "value") {
4385
+ hostPatchProp(el, key, prev, next, namespace, parentComponent);
4386
+ }
4387
+ }
4388
+ if ("value" in newProps) {
4389
+ hostPatchProp(el, "value", oldProps.value, newProps.value, namespace);
4390
+ }
4391
+ }
4392
+ };
4393
+ const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4394
+ const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
4395
+ const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
4396
+ let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
4397
+ if (fragmentSlotScopeIds) {
4398
+ slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
4399
+ }
4400
+ if (n1 == null) {
4401
+ hostInsert(fragmentStartAnchor, container, anchor);
4402
+ hostInsert(fragmentEndAnchor, container, anchor);
4299
4403
  mountChildren(
4300
- c2,
4404
+ // #10007
4405
+ // such fragment like `<></>` will be compiled into
4406
+ // a fragment which doesn't have a children.
4407
+ // In this case fallback to an empty array
4408
+ n2.children || [],
4301
4409
  container,
4302
- anchor,
4410
+ fragmentEndAnchor,
4303
4411
  parentComponent,
4304
4412
  parentSuspense,
4305
4413
  namespace,
4306
4414
  slotScopeIds,
4307
- optimized,
4308
- commonLength
4415
+ optimized
4309
4416
  );
4310
- }
4311
- };
4312
- const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4313
- let i = 0;
4314
- const l2 = c2.length;
4315
- let e1 = c1.length - 1;
4316
- let e2 = l2 - 1;
4317
- while (i <= e1 && i <= e2) {
4318
- const n1 = c1[i];
4319
- const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4320
- if (isSameVNodeType(n1, n2)) {
4321
- patch(
4417
+ } else {
4418
+ if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
4419
+ // of renderSlot() with no valid children
4420
+ n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
4421
+ patchBlockChildren(
4422
+ n1.dynamicChildren,
4423
+ dynamicChildren,
4424
+ container,
4425
+ parentComponent,
4426
+ parentSuspense,
4427
+ namespace,
4428
+ slotScopeIds
4429
+ );
4430
+ if (
4431
+ // #2080 if the stable fragment has a key, it's a <template v-for> that may
4432
+ // get moved around. Make sure all root level vnodes inherit el.
4433
+ // #2134 or if it's a component root, it may also get moved around
4434
+ // as the component is being moved.
4435
+ n2.key != null || parentComponent && n2 === parentComponent.subTree
4436
+ ) {
4437
+ traverseStaticChildren(
4438
+ n1,
4439
+ n2,
4440
+ true
4441
+ /* shallow */
4442
+ );
4443
+ }
4444
+ } else {
4445
+ patchChildren(
4322
4446
  n1,
4323
4447
  n2,
4324
4448
  container,
4325
- null,
4449
+ fragmentEndAnchor,
4326
4450
  parentComponent,
4327
4451
  parentSuspense,
4328
4452
  namespace,
4329
4453
  slotScopeIds,
4330
4454
  optimized
4331
4455
  );
4332
- } else {
4333
- break;
4334
4456
  }
4335
- i++;
4336
4457
  }
4337
- while (i <= e1 && i <= e2) {
4338
- const n1 = c1[e1];
4339
- const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
4340
- if (isSameVNodeType(n1, n2)) {
4341
- patch(
4342
- n1,
4458
+ };
4459
+ const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4460
+ n2.slotScopeIds = slotScopeIds;
4461
+ if (n1 == null) {
4462
+ if (n2.shapeFlag & 512) {
4463
+ parentComponent.ctx.activate(
4343
4464
  n2,
4344
4465
  container,
4345
- null,
4466
+ anchor,
4467
+ namespace,
4468
+ optimized
4469
+ );
4470
+ } else {
4471
+ mountComponent(
4472
+ n2,
4473
+ container,
4474
+ anchor,
4346
4475
  parentComponent,
4347
4476
  parentSuspense,
4348
4477
  namespace,
4349
- slotScopeIds,
4350
4478
  optimized
4351
4479
  );
4352
- } else {
4353
- break;
4354
4480
  }
4355
- e1--;
4356
- e2--;
4481
+ } else {
4482
+ updateComponent(n1, n2, optimized);
4357
4483
  }
4358
- if (i > e1) {
4359
- if (i <= e2) {
4360
- const nextPos = e2 + 1;
4361
- const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
4362
- while (i <= e2) {
4363
- patch(
4364
- null,
4365
- c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]),
4366
- container,
4367
- anchor,
4368
- parentComponent,
4369
- parentSuspense,
4370
- namespace,
4371
- slotScopeIds,
4372
- optimized
4373
- );
4374
- i++;
4375
- }
4376
- }
4377
- } else if (i > e2) {
4378
- while (i <= e1) {
4379
- unmount(c1[i], parentComponent, parentSuspense, true);
4380
- i++;
4484
+ };
4485
+ const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, namespace, optimized) => {
4486
+ const instance = (initialVNode.component = createComponentInstance(
4487
+ initialVNode,
4488
+ parentComponent,
4489
+ parentSuspense
4490
+ ));
4491
+ if (isKeepAlive(initialVNode)) {
4492
+ instance.ctx.renderer = internals;
4493
+ }
4494
+ {
4495
+ setupComponent(instance, false, optimized);
4496
+ }
4497
+ if (instance.asyncDep) {
4498
+ parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
4499
+ if (!initialVNode.el) {
4500
+ const placeholder = instance.subTree = createVNode(Comment);
4501
+ processCommentNode(null, placeholder, container, anchor);
4502
+ initialVNode.placeholder = placeholder.el;
4381
4503
  }
4382
4504
  } else {
4383
- const s1 = i;
4384
- const s2 = i;
4385
- const keyToNewIndexMap = /* @__PURE__ */ new Map();
4386
- for (i = s2; i <= e2; i++) {
4387
- const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4388
- if (nextChild.key != null) {
4389
- keyToNewIndexMap.set(nextChild.key, i);
4390
- }
4505
+ setupRenderEffect(
4506
+ instance,
4507
+ initialVNode,
4508
+ container,
4509
+ anchor,
4510
+ parentSuspense,
4511
+ namespace,
4512
+ optimized
4513
+ );
4514
+ }
4515
+ };
4516
+ const updateComponent = (n1, n2, optimized) => {
4517
+ const instance = n2.component = n1.component;
4518
+ if (shouldUpdateComponent(n1, n2, optimized)) {
4519
+ if (instance.asyncDep && !instance.asyncResolved) {
4520
+ updateComponentPreRender(instance, n2, optimized);
4521
+ return;
4522
+ } else {
4523
+ instance.next = n2;
4524
+ instance.update();
4391
4525
  }
4392
- let j;
4393
- let patched = 0;
4394
- const toBePatched = e2 - s2 + 1;
4395
- let moved = false;
4396
- let maxNewIndexSoFar = 0;
4397
- const newIndexToOldIndexMap = new Array(toBePatched);
4398
- for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;
4399
- for (i = s1; i <= e1; i++) {
4400
- const prevChild = c1[i];
4401
- if (patched >= toBePatched) {
4402
- unmount(prevChild, parentComponent, parentSuspense, true);
4403
- continue;
4526
+ } else {
4527
+ n2.el = n1.el;
4528
+ instance.vnode = n2;
4529
+ }
4530
+ };
4531
+ const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
4532
+ const componentUpdateFn = () => {
4533
+ if (!instance.isMounted) {
4534
+ let vnodeHook;
4535
+ const { el, props } = initialVNode;
4536
+ const { bm, m, parent, root, type } = instance;
4537
+ const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
4538
+ toggleRecurse(instance, false);
4539
+ if (bm) {
4540
+ shared.invokeArrayFns(bm);
4404
4541
  }
4405
- let newIndex;
4406
- if (prevChild.key != null) {
4407
- newIndex = keyToNewIndexMap.get(prevChild.key);
4408
- } else {
4409
- for (j = s2; j <= e2; j++) {
4410
- if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {
4411
- newIndex = j;
4412
- break;
4413
- }
4414
- }
4542
+ if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeBeforeMount)) {
4543
+ invokeVNodeHook(vnodeHook, parent, initialVNode);
4415
4544
  }
4416
- if (newIndex === void 0) {
4417
- unmount(prevChild, parentComponent, parentSuspense, true);
4418
- } else {
4419
- newIndexToOldIndexMap[newIndex - s2] = i + 1;
4420
- if (newIndex >= maxNewIndexSoFar) {
4421
- maxNewIndexSoFar = newIndex;
4545
+ toggleRecurse(instance, true);
4546
+ if (el && hydrateNode) {
4547
+ const hydrateSubTree = () => {
4548
+ instance.subTree = renderComponentRoot(instance);
4549
+ hydrateNode(
4550
+ el,
4551
+ instance.subTree,
4552
+ instance,
4553
+ parentSuspense,
4554
+ null
4555
+ );
4556
+ };
4557
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
4558
+ type.__asyncHydrate(
4559
+ el,
4560
+ instance,
4561
+ hydrateSubTree
4562
+ );
4422
4563
  } else {
4423
- moved = true;
4564
+ hydrateSubTree();
4424
4565
  }
4425
- patch(
4426
- prevChild,
4427
- c2[newIndex],
4428
- container,
4429
- null,
4430
- parentComponent,
4431
- parentSuspense,
4432
- namespace,
4433
- slotScopeIds,
4434
- optimized
4435
- );
4436
- patched++;
4437
- }
4438
- }
4439
- const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : shared.EMPTY_ARR;
4440
- j = increasingNewIndexSequence.length - 1;
4441
- for (i = toBePatched - 1; i >= 0; i--) {
4442
- const nextIndex = s2 + i;
4443
- const nextChild = c2[nextIndex];
4444
- const anchorVNode = c2[nextIndex + 1];
4445
- const anchor = nextIndex + 1 < l2 ? (
4446
- // #13559, fallback to el placeholder for unresolved async component
4447
- anchorVNode.el || anchorVNode.placeholder
4448
- ) : parentAnchor;
4449
- if (newIndexToOldIndexMap[i] === 0) {
4566
+ } else {
4567
+ if (root.ce && // @ts-expect-error _def is private
4568
+ root.ce._def.shadowRoot !== false) {
4569
+ root.ce._injectChildStyle(type);
4570
+ }
4571
+ const subTree = instance.subTree = renderComponentRoot(instance);
4450
4572
  patch(
4451
4573
  null,
4452
- nextChild,
4574
+ subTree,
4453
4575
  container,
4454
4576
  anchor,
4455
- parentComponent,
4577
+ instance,
4456
4578
  parentSuspense,
4457
- namespace,
4458
- slotScopeIds,
4459
- optimized
4579
+ namespace
4460
4580
  );
4461
- } else if (moved) {
4462
- if (j < 0 || i !== increasingNewIndexSequence[j]) {
4463
- move(nextChild, container, anchor, 2);
4464
- } else {
4465
- j--;
4466
- }
4581
+ initialVNode.el = subTree.el;
4467
4582
  }
4468
- }
4469
- }
4470
- };
4471
- const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
4472
- const { el, type, transition, children, shapeFlag } = vnode;
4473
- if (shapeFlag & 6) {
4474
- move(vnode.component.subTree, container, anchor, moveType);
4475
- return;
4476
- }
4477
- if (shapeFlag & 128) {
4478
- vnode.suspense.move(container, anchor, moveType);
4479
- return;
4480
- }
4481
- if (shapeFlag & 64) {
4482
- type.move(vnode, container, anchor, internals);
4483
- return;
4484
- }
4485
- if (type === Fragment) {
4486
- hostInsert(el, container, anchor);
4487
- for (let i = 0; i < children.length; i++) {
4488
- move(children[i], container, anchor, moveType);
4489
- }
4490
- hostInsert(vnode.anchor, container, anchor);
4491
- return;
4492
- }
4493
- if (type === Static) {
4494
- moveStaticNode(vnode, container, anchor);
4495
- return;
4496
- }
4497
- const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
4498
- if (needTransition2) {
4499
- if (moveType === 0) {
4500
- transition.beforeEnter(el);
4501
- hostInsert(el, container, anchor);
4502
- queuePostRenderEffect(() => transition.enter(el), parentSuspense);
4583
+ if (m) {
4584
+ queuePostRenderEffect(m, parentSuspense);
4585
+ }
4586
+ if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
4587
+ const scopedInitialVNode = initialVNode;
4588
+ queuePostRenderEffect(
4589
+ () => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode),
4590
+ parentSuspense
4591
+ );
4592
+ }
4593
+ if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {
4594
+ instance.a && queuePostRenderEffect(instance.a, parentSuspense);
4595
+ }
4596
+ instance.isMounted = true;
4597
+ initialVNode = container = anchor = null;
4503
4598
  } else {
4504
- const { leave, delayLeave, afterLeave } = transition;
4505
- const remove2 = () => {
4506
- if (vnode.ctx.isUnmounted) {
4507
- hostRemove(el);
4508
- } else {
4509
- hostInsert(el, container, anchor);
4510
- }
4511
- };
4512
- const performLeave = () => {
4513
- if (el._isLeaving) {
4514
- el[leaveCbKey](
4515
- true
4516
- /* cancelled */
4517
- );
4599
+ let { next, bu, u, parent, vnode } = instance;
4600
+ {
4601
+ const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
4602
+ if (nonHydratedAsyncRoot) {
4603
+ if (next) {
4604
+ next.el = vnode.el;
4605
+ updateComponentPreRender(instance, next, optimized);
4606
+ }
4607
+ nonHydratedAsyncRoot.asyncDep.then(() => {
4608
+ if (!instance.isUnmounted) {
4609
+ componentUpdateFn();
4610
+ }
4611
+ });
4612
+ return;
4518
4613
  }
4519
- leave(el, () => {
4520
- remove2();
4521
- afterLeave && afterLeave();
4522
- });
4523
- };
4524
- if (delayLeave) {
4525
- delayLeave(el, remove2, performLeave);
4614
+ }
4615
+ let originNext = next;
4616
+ let vnodeHook;
4617
+ toggleRecurse(instance, false);
4618
+ if (next) {
4619
+ next.el = vnode.el;
4620
+ updateComponentPreRender(instance, next, optimized);
4526
4621
  } else {
4527
- performLeave();
4622
+ next = vnode;
4623
+ }
4624
+ if (bu) {
4625
+ shared.invokeArrayFns(bu);
4626
+ }
4627
+ if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {
4628
+ invokeVNodeHook(vnodeHook, parent, next, vnode);
4629
+ }
4630
+ toggleRecurse(instance, true);
4631
+ const nextTree = renderComponentRoot(instance);
4632
+ const prevTree = instance.subTree;
4633
+ instance.subTree = nextTree;
4634
+ patch(
4635
+ prevTree,
4636
+ nextTree,
4637
+ // parent may have changed if it's in a teleport
4638
+ hostParentNode(prevTree.el),
4639
+ // anchor may have changed if it's in a fragment
4640
+ getNextHostNode(prevTree),
4641
+ instance,
4642
+ parentSuspense,
4643
+ namespace
4644
+ );
4645
+ next.el = nextTree.el;
4646
+ if (originNext === null) {
4647
+ updateHOCHostEl(instance, nextTree.el);
4648
+ }
4649
+ if (u) {
4650
+ queuePostRenderEffect(u, parentSuspense);
4651
+ }
4652
+ if (vnodeHook = next.props && next.props.onVnodeUpdated) {
4653
+ queuePostRenderEffect(
4654
+ () => invokeVNodeHook(vnodeHook, parent, next, vnode),
4655
+ parentSuspense
4656
+ );
4528
4657
  }
4529
4658
  }
4530
- } else {
4531
- hostInsert(el, container, anchor);
4532
- }
4533
- };
4534
- const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
4535
- const {
4536
- type,
4537
- props,
4538
- ref,
4539
- children,
4540
- dynamicChildren,
4541
- shapeFlag,
4542
- patchFlag,
4543
- dirs,
4544
- cacheIndex
4545
- } = vnode;
4546
- if (patchFlag === -2) {
4547
- optimized = false;
4548
- }
4549
- if (ref != null) {
4550
- reactivity.pauseTracking();
4551
- setRef(ref, null, parentSuspense, vnode, true);
4552
- reactivity.resetTracking();
4553
- }
4554
- if (cacheIndex != null) {
4555
- parentComponent.renderCache[cacheIndex] = void 0;
4556
- }
4557
- if (shapeFlag & 256) {
4558
- parentComponent.ctx.deactivate(vnode);
4559
- return;
4560
- }
4561
- const shouldInvokeDirs = shapeFlag & 1 && dirs;
4562
- const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
4563
- let vnodeHook;
4564
- if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeBeforeUnmount)) {
4565
- invokeVNodeHook(vnodeHook, parentComponent, vnode);
4566
- }
4567
- if (shapeFlag & 6) {
4568
- unmountComponent(vnode.component, parentSuspense, doRemove);
4569
- } else {
4570
- if (shapeFlag & 128) {
4571
- vnode.suspense.unmount(parentSuspense, doRemove);
4572
- return;
4573
- }
4574
- if (shouldInvokeDirs) {
4575
- invokeDirectiveHook(vnode, null, parentComponent, "beforeUnmount");
4576
- }
4577
- if (shapeFlag & 64) {
4578
- vnode.type.remove(
4579
- vnode,
4659
+ };
4660
+ instance.scope.on();
4661
+ const effect = instance.effect = new reactivity.ReactiveEffect(componentUpdateFn);
4662
+ instance.scope.off();
4663
+ const update = instance.update = effect.run.bind(effect);
4664
+ const job = instance.job = effect.runIfDirty.bind(effect);
4665
+ job.i = instance;
4666
+ job.id = instance.uid;
4667
+ effect.scheduler = () => queueJob(job);
4668
+ toggleRecurse(instance, true);
4669
+ update();
4670
+ };
4671
+ const updateComponentPreRender = (instance, nextVNode, optimized) => {
4672
+ nextVNode.component = instance;
4673
+ const prevProps = instance.vnode.props;
4674
+ instance.vnode = nextVNode;
4675
+ instance.next = null;
4676
+ updateProps(instance, nextVNode.props, prevProps, optimized);
4677
+ updateSlots(instance, nextVNode.children, optimized);
4678
+ reactivity.pauseTracking();
4679
+ flushPreFlushCbs(instance);
4680
+ reactivity.resetTracking();
4681
+ };
4682
+ const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized = false) => {
4683
+ const c1 = n1 && n1.children;
4684
+ const prevShapeFlag = n1 ? n1.shapeFlag : 0;
4685
+ const c2 = n2.children;
4686
+ const { patchFlag, shapeFlag } = n2;
4687
+ if (patchFlag > 0) {
4688
+ if (patchFlag & 128) {
4689
+ patchKeyedChildren(
4690
+ c1,
4691
+ c2,
4692
+ container,
4693
+ anchor,
4580
4694
  parentComponent,
4581
4695
  parentSuspense,
4582
- internals,
4583
- doRemove
4696
+ namespace,
4697
+ slotScopeIds,
4698
+ optimized
4584
4699
  );
4585
- } else if (dynamicChildren && // #5154
4586
- // when v-once is used inside a block, setBlockTracking(-1) marks the
4587
- // parent block with hasOnce: true
4588
- // so that it doesn't take the fast path during unmount - otherwise
4589
- // components nested in v-once are never unmounted.
4590
- !dynamicChildren.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
4591
- (type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
4592
- unmountChildren(
4593
- dynamicChildren,
4700
+ return;
4701
+ } else if (patchFlag & 256) {
4702
+ patchUnkeyedChildren(
4703
+ c1,
4704
+ c2,
4705
+ container,
4706
+ anchor,
4594
4707
  parentComponent,
4595
4708
  parentSuspense,
4596
- false,
4597
- true
4709
+ namespace,
4710
+ slotScopeIds,
4711
+ optimized
4598
4712
  );
4599
- } else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {
4600
- unmountChildren(children, parentComponent, parentSuspense);
4601
- }
4602
- if (doRemove) {
4603
- remove(vnode);
4713
+ return;
4604
4714
  }
4605
4715
  }
4606
- if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {
4607
- queuePostRenderEffect(() => {
4608
- vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
4609
- shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
4610
- }, parentSuspense);
4611
- }
4612
- };
4613
- const remove = (vnode) => {
4614
- const { type, el, anchor, transition } = vnode;
4615
- if (type === Fragment) {
4616
- {
4617
- removeFragment(el, anchor);
4716
+ if (shapeFlag & 8) {
4717
+ if (prevShapeFlag & 16) {
4718
+ unmountChildren(c1, parentComponent, parentSuspense);
4618
4719
  }
4619
- return;
4620
- }
4621
- if (type === Static) {
4622
- removeStaticNode(vnode);
4623
- return;
4624
- }
4625
- const performRemove = () => {
4626
- hostRemove(el);
4627
- if (transition && !transition.persisted && transition.afterLeave) {
4628
- transition.afterLeave();
4720
+ if (c2 !== c1) {
4721
+ hostSetElementText(container, c2);
4629
4722
  }
4630
- };
4631
- if (vnode.shapeFlag & 1 && transition && !transition.persisted) {
4632
- const { leave, delayLeave } = transition;
4633
- const performLeave = () => leave(el, performRemove);
4634
- if (delayLeave) {
4635
- delayLeave(vnode.el, performRemove, performLeave);
4723
+ } else {
4724
+ if (prevShapeFlag & 16) {
4725
+ if (shapeFlag & 16) {
4726
+ patchKeyedChildren(
4727
+ c1,
4728
+ c2,
4729
+ container,
4730
+ anchor,
4731
+ parentComponent,
4732
+ parentSuspense,
4733
+ namespace,
4734
+ slotScopeIds,
4735
+ optimized
4736
+ );
4737
+ } else {
4738
+ unmountChildren(c1, parentComponent, parentSuspense, true);
4739
+ }
4636
4740
  } else {
4637
- performLeave();
4741
+ if (prevShapeFlag & 8) {
4742
+ hostSetElementText(container, "");
4743
+ }
4744
+ if (shapeFlag & 16) {
4745
+ mountChildren(
4746
+ c2,
4747
+ container,
4748
+ anchor,
4749
+ parentComponent,
4750
+ parentSuspense,
4751
+ namespace,
4752
+ slotScopeIds,
4753
+ optimized
4754
+ );
4755
+ }
4638
4756
  }
4639
- } else {
4640
- performRemove();
4641
- }
4642
- };
4643
- const removeFragment = (cur, end) => {
4644
- let next;
4645
- while (cur !== end) {
4646
- next = hostNextSibling(cur);
4647
- hostRemove(cur);
4648
- cur = next;
4649
- }
4650
- hostRemove(end);
4651
- };
4652
- const unmountComponent = (instance, parentSuspense, doRemove) => {
4653
- const { bum, scope, job, subTree, um, m, a } = instance;
4654
- invalidateMount(m);
4655
- invalidateMount(a);
4656
- if (bum) {
4657
- shared.invokeArrayFns(bum);
4658
- }
4659
- scope.stop();
4660
- if (job) {
4661
- job.flags |= 8;
4662
- unmount(subTree, instance, parentSuspense, doRemove);
4663
- }
4664
- if (um) {
4665
- queuePostRenderEffect(um, parentSuspense);
4666
- }
4667
- queuePostRenderEffect(() => {
4668
- instance.isUnmounted = true;
4669
- }, parentSuspense);
4670
- };
4671
- const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
4672
- for (let i = start; i < children.length; i++) {
4673
- unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
4674
- }
4675
- };
4676
- const getNextHostNode = (vnode) => {
4677
- if (vnode.shapeFlag & 6) {
4678
- return getNextHostNode(vnode.component.subTree);
4679
4757
  }
4680
- if (vnode.shapeFlag & 128) {
4681
- return vnode.suspense.next();
4682
- }
4683
- const el = hostNextSibling(vnode.anchor || vnode.el);
4684
- const teleportEnd = el && el[TeleportEndKey];
4685
- return teleportEnd ? hostNextSibling(teleportEnd) : el;
4686
4758
  };
4687
- let isFlushing = false;
4688
- const render = (vnode, container, namespace) => {
4689
- if (vnode == null) {
4690
- if (container._vnode) {
4691
- unmount(container._vnode, null, null, true);
4692
- }
4693
- } else {
4759
+ const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4760
+ c1 = c1 || shared.EMPTY_ARR;
4761
+ c2 = c2 || shared.EMPTY_ARR;
4762
+ const oldLength = c1.length;
4763
+ const newLength = c2.length;
4764
+ const commonLength = Math.min(oldLength, newLength);
4765
+ let i;
4766
+ for (i = 0; i < commonLength; i++) {
4767
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4694
4768
  patch(
4695
- container._vnode || null,
4696
- vnode,
4769
+ c1[i],
4770
+ nextChild,
4697
4771
  container,
4698
4772
  null,
4699
- null,
4700
- null,
4701
- namespace
4773
+ parentComponent,
4774
+ parentSuspense,
4775
+ namespace,
4776
+ slotScopeIds,
4777
+ optimized
4778
+ );
4779
+ }
4780
+ if (oldLength > newLength) {
4781
+ unmountChildren(
4782
+ c1,
4783
+ parentComponent,
4784
+ parentSuspense,
4785
+ true,
4786
+ false,
4787
+ commonLength
4788
+ );
4789
+ } else {
4790
+ mountChildren(
4791
+ c2,
4792
+ container,
4793
+ anchor,
4794
+ parentComponent,
4795
+ parentSuspense,
4796
+ namespace,
4797
+ slotScopeIds,
4798
+ optimized,
4799
+ commonLength
4702
4800
  );
4703
4801
  }
4704
- container._vnode = vnode;
4705
- if (!isFlushing) {
4706
- isFlushing = true;
4707
- flushPreFlushCbs();
4708
- flushPostFlushCbs();
4709
- isFlushing = false;
4710
- }
4711
- };
4712
- const internals = {
4713
- p: patch,
4714
- um: unmount,
4715
- m: move,
4716
- r: remove,
4717
- mt: mountComponent,
4718
- mc: mountChildren,
4719
- pc: patchChildren,
4720
- pbc: patchBlockChildren,
4721
- n: getNextHostNode,
4722
- o: options
4723
- };
4724
- let hydrate;
4725
- let hydrateNode;
4726
- if (createHydrationFns) {
4727
- [hydrate, hydrateNode] = createHydrationFns(
4728
- internals
4729
- );
4730
- }
4731
- return {
4732
- render,
4733
- hydrate,
4734
- createApp: createAppAPI(render, hydrate)
4735
4802
  };
4736
- }
4737
- function resolveChildrenNamespace({ type, props }, currentNamespace) {
4738
- return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
4739
- }
4740
- function toggleRecurse({ effect, job }, allowed) {
4741
- if (allowed) {
4742
- effect.flags |= 32;
4743
- job.flags |= 4;
4744
- } else {
4745
- effect.flags &= -33;
4746
- job.flags &= -5;
4747
- }
4748
- }
4749
- function needTransition(parentSuspense, transition) {
4750
- return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted;
4751
- }
4752
- function traverseStaticChildren(n1, n2, shallow = false) {
4753
- const ch1 = n1.children;
4754
- const ch2 = n2.children;
4755
- if (shared.isArray(ch1) && shared.isArray(ch2)) {
4756
- for (let i = 0; i < ch1.length; i++) {
4757
- const c1 = ch1[i];
4758
- let c2 = ch2[i];
4759
- if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
4760
- if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
4761
- c2 = ch2[i] = cloneIfMounted(ch2[i]);
4762
- c2.el = c1.el;
4763
- }
4764
- if (!shallow && c2.patchFlag !== -2)
4765
- traverseStaticChildren(c1, c2);
4766
- }
4767
- if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
4768
- c2.patchFlag !== -1) {
4769
- c2.el = c1.el;
4803
+ const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4804
+ let i = 0;
4805
+ const l2 = c2.length;
4806
+ let e1 = c1.length - 1;
4807
+ let e2 = l2 - 1;
4808
+ while (i <= e1 && i <= e2) {
4809
+ const n1 = c1[i];
4810
+ const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4811
+ if (isSameVNodeType(n1, n2)) {
4812
+ patch(
4813
+ n1,
4814
+ n2,
4815
+ container,
4816
+ null,
4817
+ parentComponent,
4818
+ parentSuspense,
4819
+ namespace,
4820
+ slotScopeIds,
4821
+ optimized
4822
+ );
4823
+ } else {
4824
+ break;
4770
4825
  }
4771
- if (c2.type === Comment && !c2.el) {
4772
- c2.el = c1.el;
4826
+ i++;
4827
+ }
4828
+ while (i <= e1 && i <= e2) {
4829
+ const n1 = c1[e1];
4830
+ const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
4831
+ if (isSameVNodeType(n1, n2)) {
4832
+ patch(
4833
+ n1,
4834
+ n2,
4835
+ container,
4836
+ null,
4837
+ parentComponent,
4838
+ parentSuspense,
4839
+ namespace,
4840
+ slotScopeIds,
4841
+ optimized
4842
+ );
4843
+ } else {
4844
+ break;
4773
4845
  }
4846
+ e1--;
4847
+ e2--;
4774
4848
  }
4775
- }
4776
- }
4777
- function getSequence(arr) {
4778
- const p = arr.slice();
4779
- const result = [0];
4780
- let i, j, u, v, c;
4781
- const len = arr.length;
4782
- for (i = 0; i < len; i++) {
4783
- const arrI = arr[i];
4784
- if (arrI !== 0) {
4785
- j = result[result.length - 1];
4786
- if (arr[j] < arrI) {
4787
- p[i] = j;
4788
- result.push(i);
4789
- continue;
4849
+ if (i > e1) {
4850
+ if (i <= e2) {
4851
+ const nextPos = e2 + 1;
4852
+ const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
4853
+ while (i <= e2) {
4854
+ patch(
4855
+ null,
4856
+ c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]),
4857
+ container,
4858
+ anchor,
4859
+ parentComponent,
4860
+ parentSuspense,
4861
+ namespace,
4862
+ slotScopeIds,
4863
+ optimized
4864
+ );
4865
+ i++;
4866
+ }
4790
4867
  }
4791
- u = 0;
4792
- v = result.length - 1;
4793
- while (u < v) {
4794
- c = u + v >> 1;
4795
- if (arr[result[c]] < arrI) {
4796
- u = c + 1;
4868
+ } else if (i > e2) {
4869
+ while (i <= e1) {
4870
+ unmount(c1[i], parentComponent, parentSuspense, true);
4871
+ i++;
4872
+ }
4873
+ } else {
4874
+ const s1 = i;
4875
+ const s2 = i;
4876
+ const keyToNewIndexMap = /* @__PURE__ */ new Map();
4877
+ for (i = s2; i <= e2; i++) {
4878
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
4879
+ if (nextChild.key != null) {
4880
+ keyToNewIndexMap.set(nextChild.key, i);
4881
+ }
4882
+ }
4883
+ let j;
4884
+ let patched = 0;
4885
+ const toBePatched = e2 - s2 + 1;
4886
+ let moved = false;
4887
+ let maxNewIndexSoFar = 0;
4888
+ const newIndexToOldIndexMap = new Array(toBePatched);
4889
+ for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;
4890
+ for (i = s1; i <= e1; i++) {
4891
+ const prevChild = c1[i];
4892
+ if (patched >= toBePatched) {
4893
+ unmount(prevChild, parentComponent, parentSuspense, true);
4894
+ continue;
4895
+ }
4896
+ let newIndex;
4897
+ if (prevChild.key != null) {
4898
+ newIndex = keyToNewIndexMap.get(prevChild.key);
4797
4899
  } else {
4798
- v = c;
4900
+ for (j = s2; j <= e2; j++) {
4901
+ if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {
4902
+ newIndex = j;
4903
+ break;
4904
+ }
4905
+ }
4906
+ }
4907
+ if (newIndex === void 0) {
4908
+ unmount(prevChild, parentComponent, parentSuspense, true);
4909
+ } else {
4910
+ newIndexToOldIndexMap[newIndex - s2] = i + 1;
4911
+ if (newIndex >= maxNewIndexSoFar) {
4912
+ maxNewIndexSoFar = newIndex;
4913
+ } else {
4914
+ moved = true;
4915
+ }
4916
+ patch(
4917
+ prevChild,
4918
+ c2[newIndex],
4919
+ container,
4920
+ null,
4921
+ parentComponent,
4922
+ parentSuspense,
4923
+ namespace,
4924
+ slotScopeIds,
4925
+ optimized
4926
+ );
4927
+ patched++;
4928
+ }
4929
+ }
4930
+ const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : shared.EMPTY_ARR;
4931
+ j = increasingNewIndexSequence.length - 1;
4932
+ for (i = toBePatched - 1; i >= 0; i--) {
4933
+ const nextIndex = s2 + i;
4934
+ const nextChild = c2[nextIndex];
4935
+ const anchorVNode = c2[nextIndex + 1];
4936
+ const anchor = nextIndex + 1 < l2 ? (
4937
+ // #13559, #14173 fallback to el placeholder for unresolved async component
4938
+ anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
4939
+ ) : parentAnchor;
4940
+ if (newIndexToOldIndexMap[i] === 0) {
4941
+ patch(
4942
+ null,
4943
+ nextChild,
4944
+ container,
4945
+ anchor,
4946
+ parentComponent,
4947
+ parentSuspense,
4948
+ namespace,
4949
+ slotScopeIds,
4950
+ optimized
4951
+ );
4952
+ } else if (moved) {
4953
+ if (j < 0 || i !== increasingNewIndexSequence[j]) {
4954
+ move(nextChild, container, anchor, 2);
4955
+ } else {
4956
+ j--;
4957
+ }
4799
4958
  }
4800
4959
  }
4801
- if (arrI < arr[result[u]]) {
4802
- if (u > 0) {
4803
- p[i] = result[u - 1];
4960
+ }
4961
+ };
4962
+ const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
4963
+ const { el, type, transition, children, shapeFlag } = vnode;
4964
+ if (shapeFlag & 6) {
4965
+ move(vnode.component.subTree, container, anchor, moveType);
4966
+ return;
4967
+ }
4968
+ if (shapeFlag & 128) {
4969
+ vnode.suspense.move(container, anchor, moveType);
4970
+ return;
4971
+ }
4972
+ if (shapeFlag & 64) {
4973
+ type.move(vnode, container, anchor, internals);
4974
+ return;
4975
+ }
4976
+ if (type === Fragment) {
4977
+ hostInsert(el, container, anchor);
4978
+ for (let i = 0; i < children.length; i++) {
4979
+ move(children[i], container, anchor, moveType);
4980
+ }
4981
+ hostInsert(vnode.anchor, container, anchor);
4982
+ return;
4983
+ }
4984
+ if (type === Static) {
4985
+ moveStaticNode(vnode, container, anchor);
4986
+ return;
4987
+ }
4988
+ const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
4989
+ if (needTransition2) {
4990
+ if (moveType === 0) {
4991
+ transition.beforeEnter(el);
4992
+ hostInsert(el, container, anchor);
4993
+ queuePostRenderEffect(() => transition.enter(el), parentSuspense);
4994
+ } else {
4995
+ const { leave, delayLeave, afterLeave } = transition;
4996
+ const remove2 = () => {
4997
+ if (vnode.ctx.isUnmounted) {
4998
+ hostRemove(el);
4999
+ } else {
5000
+ hostInsert(el, container, anchor);
5001
+ }
5002
+ };
5003
+ const performLeave = () => {
5004
+ if (el._isLeaving) {
5005
+ el[leaveCbKey](
5006
+ true
5007
+ /* cancelled */
5008
+ );
5009
+ }
5010
+ leave(el, () => {
5011
+ remove2();
5012
+ afterLeave && afterLeave();
5013
+ });
5014
+ };
5015
+ if (delayLeave) {
5016
+ delayLeave(el, remove2, performLeave);
5017
+ } else {
5018
+ performLeave();
4804
5019
  }
4805
- result[u] = i;
4806
5020
  }
4807
- }
4808
- }
4809
- u = result.length;
4810
- v = result[u - 1];
4811
- while (u-- > 0) {
4812
- result[u] = v;
4813
- v = p[v];
4814
- }
4815
- return result;
4816
- }
4817
- function locateNonHydratedAsyncRoot(instance) {
4818
- const subComponent = instance.subTree.component;
4819
- if (subComponent) {
4820
- if (subComponent.asyncDep && !subComponent.asyncResolved) {
4821
- return subComponent;
4822
5021
  } else {
4823
- return locateNonHydratedAsyncRoot(subComponent);
5022
+ hostInsert(el, container, anchor);
4824
5023
  }
4825
- }
4826
- }
4827
- function invalidateMount(hooks) {
4828
- if (hooks) {
4829
- for (let i = 0; i < hooks.length; i++)
4830
- hooks[i].flags |= 8;
4831
- }
4832
- }
4833
-
4834
- const ssrContextKey = Symbol.for("v-scx");
4835
- const useSSRContext = () => {
4836
- {
4837
- const ctx = inject(ssrContextKey);
4838
- return ctx;
4839
- }
4840
- };
4841
-
4842
- function watchEffect(effect, options) {
4843
- return doWatch(effect, null, options);
4844
- }
4845
- function watchPostEffect(effect, options) {
4846
- return doWatch(
4847
- effect,
4848
- null,
4849
- { flush: "post" }
4850
- );
4851
- }
4852
- function watchSyncEffect(effect, options) {
4853
- return doWatch(
4854
- effect,
4855
- null,
4856
- { flush: "sync" }
4857
- );
4858
- }
4859
- function watch(source, cb, options) {
4860
- return doWatch(source, cb, options);
4861
- }
4862
- function doWatch(source, cb, options = shared.EMPTY_OBJ) {
4863
- const { immediate, deep, flush, once } = options;
4864
- const baseWatchOptions = shared.extend({}, options);
4865
- const runsImmediately = cb && immediate || !cb && flush !== "post";
4866
- let ssrCleanup;
4867
- if (isInSSRComponentSetup) {
4868
- if (flush === "sync") {
4869
- const ctx = useSSRContext();
4870
- ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
4871
- } else if (!runsImmediately) {
4872
- const watchStopHandle = () => {
4873
- };
4874
- watchStopHandle.stop = shared.NOOP;
4875
- watchStopHandle.resume = shared.NOOP;
4876
- watchStopHandle.pause = shared.NOOP;
4877
- return watchStopHandle;
5024
+ };
5025
+ const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
5026
+ const {
5027
+ type,
5028
+ props,
5029
+ ref,
5030
+ children,
5031
+ dynamicChildren,
5032
+ shapeFlag,
5033
+ patchFlag,
5034
+ dirs,
5035
+ cacheIndex
5036
+ } = vnode;
5037
+ if (patchFlag === -2) {
5038
+ optimized = false;
4878
5039
  }
4879
- }
4880
- const instance = currentInstance;
4881
- baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
4882
- let isPre = false;
4883
- if (flush === "post") {
4884
- baseWatchOptions.scheduler = (job) => {
4885
- queuePostRenderEffect(job, instance && instance.suspense);
4886
- };
4887
- } else if (flush !== "sync") {
4888
- isPre = true;
4889
- baseWatchOptions.scheduler = (job, isFirstRun) => {
4890
- if (isFirstRun) {
4891
- job();
4892
- } else {
4893
- queueJob(job);
4894
- }
4895
- };
4896
- }
4897
- baseWatchOptions.augmentJob = (job) => {
4898
- if (cb) {
4899
- job.flags |= 4;
5040
+ if (ref != null) {
5041
+ reactivity.pauseTracking();
5042
+ setRef(ref, null, parentSuspense, vnode, true);
5043
+ reactivity.resetTracking();
4900
5044
  }
4901
- if (isPre) {
4902
- job.flags |= 2;
4903
- if (instance) {
4904
- job.id = instance.uid;
4905
- job.i = instance;
4906
- }
5045
+ if (cacheIndex != null) {
5046
+ parentComponent.renderCache[cacheIndex] = void 0;
4907
5047
  }
4908
- };
4909
- const watchHandle = reactivity.watch(source, cb, baseWatchOptions);
4910
- if (isInSSRComponentSetup) {
4911
- if (ssrCleanup) {
4912
- ssrCleanup.push(watchHandle);
4913
- } else if (runsImmediately) {
4914
- watchHandle();
5048
+ if (shapeFlag & 256) {
5049
+ parentComponent.ctx.deactivate(vnode);
5050
+ return;
4915
5051
  }
4916
- }
4917
- return watchHandle;
4918
- }
4919
- function instanceWatch(source, value, options) {
4920
- const publicThis = this.proxy;
4921
- const getter = shared.isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
4922
- let cb;
4923
- if (shared.isFunction(value)) {
4924
- cb = value;
4925
- } else {
4926
- cb = value.handler;
4927
- options = value;
4928
- }
4929
- const reset = setCurrentInstance(this);
4930
- const res = doWatch(getter, cb.bind(publicThis), options);
4931
- reset();
4932
- return res;
4933
- }
4934
- function createPathGetter(ctx, path) {
4935
- const segments = path.split(".");
4936
- return () => {
4937
- let cur = ctx;
4938
- for (let i = 0; i < segments.length && cur; i++) {
4939
- cur = cur[segments[i]];
5052
+ const shouldInvokeDirs = shapeFlag & 1 && dirs;
5053
+ const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
5054
+ let vnodeHook;
5055
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeBeforeUnmount)) {
5056
+ invokeVNodeHook(vnodeHook, parentComponent, vnode);
4940
5057
  }
4941
- return cur;
4942
- };
4943
- }
4944
-
4945
- function useModel(props, name, options = shared.EMPTY_OBJ) {
4946
- const i = getCurrentInstance();
4947
- const camelizedName = shared.camelize(name);
4948
- const hyphenatedName = shared.hyphenate(name);
4949
- const modifiers = getModelModifiers(props, camelizedName);
4950
- const res = reactivity.customRef((track, trigger) => {
4951
- let localValue;
4952
- let prevSetValue = shared.EMPTY_OBJ;
4953
- let prevEmittedValue;
4954
- watchSyncEffect(() => {
4955
- const propValue = props[camelizedName];
4956
- if (shared.hasChanged(localValue, propValue)) {
4957
- localValue = propValue;
4958
- trigger();
5058
+ if (shapeFlag & 6) {
5059
+ unmountComponent(vnode.component, parentSuspense, doRemove);
5060
+ } else {
5061
+ if (shapeFlag & 128) {
5062
+ vnode.suspense.unmount(parentSuspense, doRemove);
5063
+ return;
4959
5064
  }
4960
- });
4961
- return {
4962
- get() {
4963
- track();
4964
- return options.get ? options.get(localValue) : localValue;
4965
- },
4966
- set(value) {
4967
- const emittedValue = options.set ? options.set(value) : value;
4968
- if (!shared.hasChanged(emittedValue, localValue) && !(prevSetValue !== shared.EMPTY_OBJ && shared.hasChanged(value, prevSetValue))) {
4969
- return;
4970
- }
4971
- const rawProps = i.vnode.props;
4972
- if (!(rawProps && // check if parent has passed v-model
4973
- (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
4974
- localValue = value;
4975
- trigger();
4976
- }
4977
- i.emit(`update:${name}`, emittedValue);
4978
- if (shared.hasChanged(value, emittedValue) && shared.hasChanged(value, prevSetValue) && !shared.hasChanged(emittedValue, prevEmittedValue)) {
4979
- trigger();
4980
- }
4981
- prevSetValue = value;
4982
- prevEmittedValue = emittedValue;
5065
+ if (shouldInvokeDirs) {
5066
+ invokeDirectiveHook(vnode, null, parentComponent, "beforeUnmount");
5067
+ }
5068
+ if (shapeFlag & 64) {
5069
+ vnode.type.remove(
5070
+ vnode,
5071
+ parentComponent,
5072
+ parentSuspense,
5073
+ internals,
5074
+ doRemove
5075
+ );
5076
+ } else if (dynamicChildren && // #5154
5077
+ // when v-once is used inside a block, setBlockTracking(-1) marks the
5078
+ // parent block with hasOnce: true
5079
+ // so that it doesn't take the fast path during unmount - otherwise
5080
+ // components nested in v-once are never unmounted.
5081
+ !dynamicChildren.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
5082
+ (type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
5083
+ unmountChildren(
5084
+ dynamicChildren,
5085
+ parentComponent,
5086
+ parentSuspense,
5087
+ false,
5088
+ true
5089
+ );
5090
+ } else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {
5091
+ unmountChildren(children, parentComponent, parentSuspense);
4983
5092
  }
4984
- };
4985
- });
4986
- res[Symbol.iterator] = () => {
4987
- let i2 = 0;
4988
- return {
4989
- next() {
4990
- if (i2 < 2) {
4991
- return { value: i2++ ? modifiers || shared.EMPTY_OBJ : res, done: false };
4992
- } else {
4993
- return { done: true };
4994
- }
5093
+ if (doRemove) {
5094
+ remove(vnode);
4995
5095
  }
4996
- };
4997
- };
4998
- return res;
4999
- }
5000
- const getModelModifiers = (props, modelName) => {
5001
- return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${shared.camelize(modelName)}Modifiers`] || props[`${shared.hyphenate(modelName)}Modifiers`];
5002
- };
5003
-
5004
- function emit(instance, event, ...rawArgs) {
5005
- if (instance.isUnmounted) return;
5006
- const props = instance.vnode.props || shared.EMPTY_OBJ;
5007
- let args = rawArgs;
5008
- const isModelListener = event.startsWith("update:");
5009
- const modifiers = isModelListener && getModelModifiers(props, event.slice(7));
5010
- if (modifiers) {
5011
- if (modifiers.trim) {
5012
- args = rawArgs.map((a) => shared.isString(a) ? a.trim() : a);
5013
5096
  }
5014
- if (modifiers.number) {
5015
- args = rawArgs.map(shared.looseToNumber);
5097
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {
5098
+ queuePostRenderEffect(() => {
5099
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
5100
+ shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
5101
+ }, parentSuspense);
5016
5102
  }
5017
- }
5018
- let handlerName;
5019
- let handler = props[handlerName = shared.toHandlerKey(event)] || // also try camelCase event handler (#2249)
5020
- props[handlerName = shared.toHandlerKey(shared.camelize(event))];
5021
- if (!handler && isModelListener) {
5022
- handler = props[handlerName = shared.toHandlerKey(shared.hyphenate(event))];
5023
- }
5024
- if (handler) {
5025
- callWithAsyncErrorHandling(
5026
- handler,
5027
- instance,
5028
- 6,
5029
- args
5030
- );
5031
- }
5032
- const onceHandler = props[handlerName + `Once`];
5033
- if (onceHandler) {
5034
- if (!instance.emitted) {
5035
- instance.emitted = {};
5036
- } else if (instance.emitted[handlerName]) {
5103
+ };
5104
+ const remove = (vnode) => {
5105
+ const { type, el, anchor, transition } = vnode;
5106
+ if (type === Fragment) {
5107
+ {
5108
+ removeFragment(el, anchor);
5109
+ }
5037
5110
  return;
5038
5111
  }
5039
- instance.emitted[handlerName] = true;
5040
- callWithAsyncErrorHandling(
5041
- onceHandler,
5042
- instance,
5043
- 6,
5044
- args
5045
- );
5046
- }
5047
- }
5048
- const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
5049
- function normalizeEmitsOptions(comp, appContext, asMixin = false) {
5050
- const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
5051
- const cached = cache.get(comp);
5052
- if (cached !== void 0) {
5053
- return cached;
5054
- }
5055
- const raw = comp.emits;
5056
- let normalized = {};
5057
- let hasExtends = false;
5058
- if (!shared.isFunction(comp)) {
5059
- const extendEmits = (raw2) => {
5060
- const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
5061
- if (normalizedFromExtend) {
5062
- hasExtends = true;
5063
- shared.extend(normalized, normalizedFromExtend);
5112
+ if (type === Static) {
5113
+ removeStaticNode(vnode);
5114
+ return;
5115
+ }
5116
+ const performRemove = () => {
5117
+ hostRemove(el);
5118
+ if (transition && !transition.persisted && transition.afterLeave) {
5119
+ transition.afterLeave();
5064
5120
  }
5065
5121
  };
5066
- if (!asMixin && appContext.mixins.length) {
5067
- appContext.mixins.forEach(extendEmits);
5122
+ if (vnode.shapeFlag & 1 && transition && !transition.persisted) {
5123
+ const { leave, delayLeave } = transition;
5124
+ const performLeave = () => leave(el, performRemove);
5125
+ if (delayLeave) {
5126
+ delayLeave(vnode.el, performRemove, performLeave);
5127
+ } else {
5128
+ performLeave();
5129
+ }
5130
+ } else {
5131
+ performRemove();
5068
5132
  }
5069
- if (comp.extends) {
5070
- extendEmits(comp.extends);
5133
+ };
5134
+ const removeFragment = (cur, end) => {
5135
+ let next;
5136
+ while (cur !== end) {
5137
+ next = hostNextSibling(cur);
5138
+ hostRemove(cur);
5139
+ cur = next;
5071
5140
  }
5072
- if (comp.mixins) {
5073
- comp.mixins.forEach(extendEmits);
5141
+ hostRemove(end);
5142
+ };
5143
+ const unmountComponent = (instance, parentSuspense, doRemove) => {
5144
+ const { bum, scope, job, subTree, um, m, a } = instance;
5145
+ invalidateMount(m);
5146
+ invalidateMount(a);
5147
+ if (bum) {
5148
+ shared.invokeArrayFns(bum);
5074
5149
  }
5075
- }
5076
- if (!raw && !hasExtends) {
5077
- if (shared.isObject(comp)) {
5078
- cache.set(comp, null);
5150
+ scope.stop();
5151
+ if (job) {
5152
+ job.flags |= 8;
5153
+ unmount(subTree, instance, parentSuspense, doRemove);
5079
5154
  }
5080
- return null;
5081
- }
5082
- if (shared.isArray(raw)) {
5083
- raw.forEach((key) => normalized[key] = null);
5084
- } else {
5085
- shared.extend(normalized, raw);
5086
- }
5087
- if (shared.isObject(comp)) {
5088
- cache.set(comp, normalized);
5089
- }
5090
- return normalized;
5091
- }
5092
- function isEmitListener(options, key) {
5093
- if (!options || !shared.isOn(key)) {
5094
- return false;
5095
- }
5096
- key = key.slice(2).replace(/Once$/, "");
5097
- return shared.hasOwn(options, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options, shared.hyphenate(key)) || shared.hasOwn(options, key);
5098
- }
5099
-
5100
- function markAttrsAccessed() {
5101
- }
5102
- function renderComponentRoot(instance) {
5103
- const {
5104
- type: Component,
5105
- vnode,
5106
- proxy,
5107
- withProxy,
5108
- propsOptions: [propsOptions],
5109
- slots,
5110
- attrs,
5111
- emit,
5112
- render,
5113
- renderCache,
5114
- props,
5115
- data,
5116
- setupState,
5117
- ctx,
5118
- inheritAttrs
5119
- } = instance;
5120
- const prev = setCurrentRenderingInstance(instance);
5121
- let result;
5122
- let fallthroughAttrs;
5123
- try {
5124
- if (vnode.shapeFlag & 4) {
5125
- const proxyToUse = withProxy || proxy;
5126
- const thisProxy = false ? new Proxy(proxyToUse, {
5127
- get(target, key, receiver) {
5128
- warn(
5129
- `Property '${String(
5130
- key
5131
- )}' was accessed via 'this'. Avoid using 'this' in templates.`
5132
- );
5133
- return Reflect.get(target, key, receiver);
5134
- }
5135
- }) : proxyToUse;
5136
- result = normalizeVNode(
5137
- render.call(
5138
- thisProxy,
5139
- proxyToUse,
5140
- renderCache,
5141
- false ? shallowReadonly(props) : props,
5142
- setupState,
5143
- data,
5144
- ctx
5145
- )
5146
- );
5147
- fallthroughAttrs = attrs;
5148
- } else {
5149
- const render2 = Component;
5150
- if (false) ;
5151
- result = normalizeVNode(
5152
- render2.length > 1 ? render2(
5153
- false ? shallowReadonly(props) : props,
5154
- false ? {
5155
- get attrs() {
5156
- markAttrsAccessed();
5157
- return shallowReadonly(attrs);
5158
- },
5159
- slots,
5160
- emit
5161
- } : { attrs, slots, emit }
5162
- ) : render2(
5163
- false ? shallowReadonly(props) : props,
5164
- null
5165
- )
5166
- );
5167
- fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
5155
+ if (um) {
5156
+ queuePostRenderEffect(um, parentSuspense);
5157
+ }
5158
+ queuePostRenderEffect(() => {
5159
+ instance.isUnmounted = true;
5160
+ }, parentSuspense);
5161
+ };
5162
+ const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
5163
+ for (let i = start; i < children.length; i++) {
5164
+ unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
5165
+ }
5166
+ };
5167
+ const getNextHostNode = (vnode) => {
5168
+ if (vnode.shapeFlag & 6) {
5169
+ return getNextHostNode(vnode.component.subTree);
5168
5170
  }
5169
- } catch (err) {
5170
- blockStack.length = 0;
5171
- handleError(err, instance, 1);
5172
- result = createVNode(Comment);
5173
- }
5174
- let root = result;
5175
- if (fallthroughAttrs && inheritAttrs !== false) {
5176
- const keys = Object.keys(fallthroughAttrs);
5177
- const { shapeFlag } = root;
5178
- if (keys.length) {
5179
- if (shapeFlag & (1 | 6)) {
5180
- if (propsOptions && keys.some(shared.isModelListener)) {
5181
- fallthroughAttrs = filterModelListeners(
5182
- fallthroughAttrs,
5183
- propsOptions
5184
- );
5185
- }
5186
- root = cloneVNode(root, fallthroughAttrs, false, true);
5171
+ if (vnode.shapeFlag & 128) {
5172
+ return vnode.suspense.next();
5173
+ }
5174
+ const el = hostNextSibling(vnode.anchor || vnode.el);
5175
+ const teleportEnd = el && el[TeleportEndKey];
5176
+ return teleportEnd ? hostNextSibling(teleportEnd) : el;
5177
+ };
5178
+ let isFlushing = false;
5179
+ const render = (vnode, container, namespace) => {
5180
+ let instance;
5181
+ if (vnode == null) {
5182
+ if (container._vnode) {
5183
+ unmount(container._vnode, null, null, true);
5184
+ instance = container._vnode.component;
5187
5185
  }
5186
+ } else {
5187
+ patch(
5188
+ container._vnode || null,
5189
+ vnode,
5190
+ container,
5191
+ null,
5192
+ null,
5193
+ null,
5194
+ namespace
5195
+ );
5188
5196
  }
5197
+ container._vnode = vnode;
5198
+ if (!isFlushing) {
5199
+ isFlushing = true;
5200
+ flushPreFlushCbs(instance);
5201
+ flushPostFlushCbs();
5202
+ isFlushing = false;
5203
+ }
5204
+ };
5205
+ const internals = {
5206
+ p: patch,
5207
+ um: unmount,
5208
+ m: move,
5209
+ r: remove,
5210
+ mt: mountComponent,
5211
+ mc: mountChildren,
5212
+ pc: patchChildren,
5213
+ pbc: patchBlockChildren,
5214
+ n: getNextHostNode,
5215
+ o: options
5216
+ };
5217
+ let hydrate;
5218
+ let hydrateNode;
5219
+ if (createHydrationFns) {
5220
+ [hydrate, hydrateNode] = createHydrationFns(
5221
+ internals
5222
+ );
5189
5223
  }
5190
- if (vnode.dirs) {
5191
- root = cloneVNode(root, null, false, true);
5192
- root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
5193
- }
5194
- if (vnode.transition) {
5195
- setTransitionHooks(root, vnode.transition);
5196
- }
5197
- {
5198
- result = root;
5224
+ return {
5225
+ render,
5226
+ hydrate,
5227
+ createApp: createAppAPI(render, hydrate)
5228
+ };
5229
+ }
5230
+ function resolveChildrenNamespace({ type, props }, currentNamespace) {
5231
+ return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
5232
+ }
5233
+ function toggleRecurse({ effect, job }, allowed) {
5234
+ if (allowed) {
5235
+ effect.flags |= 32;
5236
+ job.flags |= 4;
5237
+ } else {
5238
+ effect.flags &= -33;
5239
+ job.flags &= -5;
5199
5240
  }
5200
- setCurrentRenderingInstance(prev);
5201
- return result;
5202
5241
  }
5203
- function filterSingleRoot(children, recurse = true) {
5204
- let singleRoot;
5205
- for (let i = 0; i < children.length; i++) {
5206
- const child = children[i];
5207
- if (isVNode(child)) {
5208
- if (child.type !== Comment || child.children === "v-if") {
5209
- if (singleRoot) {
5210
- return;
5242
+ function needTransition(parentSuspense, transition) {
5243
+ return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted;
5244
+ }
5245
+ function traverseStaticChildren(n1, n2, shallow = false) {
5246
+ const ch1 = n1.children;
5247
+ const ch2 = n2.children;
5248
+ if (shared.isArray(ch1) && shared.isArray(ch2)) {
5249
+ for (let i = 0; i < ch1.length; i++) {
5250
+ const c1 = ch1[i];
5251
+ let c2 = ch2[i];
5252
+ if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
5253
+ if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
5254
+ c2 = ch2[i] = cloneIfMounted(ch2[i]);
5255
+ c2.el = c1.el;
5256
+ }
5257
+ if (!shallow && c2.patchFlag !== -2)
5258
+ traverseStaticChildren(c1, c2);
5259
+ }
5260
+ if (c2.type === Text) {
5261
+ if (c2.patchFlag !== -1) {
5262
+ c2.el = c1.el;
5211
5263
  } else {
5212
- singleRoot = child;
5264
+ c2.__elIndex = i + // take fragment start anchor into account
5265
+ (n1.type === Fragment ? 1 : 0);
5213
5266
  }
5214
5267
  }
5215
- } else {
5216
- return;
5268
+ if (c2.type === Comment && !c2.el) {
5269
+ c2.el = c1.el;
5270
+ }
5217
5271
  }
5218
5272
  }
5219
- return singleRoot;
5220
5273
  }
5221
- const getFunctionalFallthrough = (attrs) => {
5222
- let res;
5223
- for (const key in attrs) {
5224
- if (key === "class" || key === "style" || shared.isOn(key)) {
5225
- (res || (res = {}))[key] = attrs[key];
5226
- }
5227
- }
5228
- return res;
5229
- };
5230
- const filterModelListeners = (attrs, props) => {
5231
- const res = {};
5232
- for (const key in attrs) {
5233
- if (!shared.isModelListener(key) || !(key.slice(9) in props)) {
5234
- res[key] = attrs[key];
5235
- }
5236
- }
5237
- return res;
5238
- };
5239
- function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
5240
- const { props: prevProps, children: prevChildren, component } = prevVNode;
5241
- const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
5242
- const emits = component.emitsOptions;
5243
- if (nextVNode.dirs || nextVNode.transition) {
5244
- return true;
5245
- }
5246
- if (optimized && patchFlag >= 0) {
5247
- if (patchFlag & 1024) {
5248
- return true;
5249
- }
5250
- if (patchFlag & 16) {
5251
- if (!prevProps) {
5252
- return !!nextProps;
5274
+ function getSequence(arr) {
5275
+ const p = arr.slice();
5276
+ const result = [0];
5277
+ let i, j, u, v, c;
5278
+ const len = arr.length;
5279
+ for (i = 0; i < len; i++) {
5280
+ const arrI = arr[i];
5281
+ if (arrI !== 0) {
5282
+ j = result[result.length - 1];
5283
+ if (arr[j] < arrI) {
5284
+ p[i] = j;
5285
+ result.push(i);
5286
+ continue;
5253
5287
  }
5254
- return hasPropsChanged(prevProps, nextProps, emits);
5255
- } else if (patchFlag & 8) {
5256
- const dynamicProps = nextVNode.dynamicProps;
5257
- for (let i = 0; i < dynamicProps.length; i++) {
5258
- const key = dynamicProps[i];
5259
- if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {
5260
- return true;
5288
+ u = 0;
5289
+ v = result.length - 1;
5290
+ while (u < v) {
5291
+ c = u + v >> 1;
5292
+ if (arr[result[c]] < arrI) {
5293
+ u = c + 1;
5294
+ } else {
5295
+ v = c;
5261
5296
  }
5262
5297
  }
5263
- }
5264
- } else {
5265
- if (prevChildren || nextChildren) {
5266
- if (!nextChildren || !nextChildren.$stable) {
5267
- return true;
5298
+ if (arrI < arr[result[u]]) {
5299
+ if (u > 0) {
5300
+ p[i] = result[u - 1];
5301
+ }
5302
+ result[u] = i;
5268
5303
  }
5269
5304
  }
5270
- if (prevProps === nextProps) {
5271
- return false;
5272
- }
5273
- if (!prevProps) {
5274
- return !!nextProps;
5275
- }
5276
- if (!nextProps) {
5277
- return true;
5278
- }
5279
- return hasPropsChanged(prevProps, nextProps, emits);
5280
5305
  }
5281
- return false;
5282
- }
5283
- function hasPropsChanged(prevProps, nextProps, emitsOptions) {
5284
- const nextKeys = Object.keys(nextProps);
5285
- if (nextKeys.length !== Object.keys(prevProps).length) {
5286
- return true;
5287
- }
5288
- for (let i = 0; i < nextKeys.length; i++) {
5289
- const key = nextKeys[i];
5290
- if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {
5291
- return true;
5292
- }
5306
+ u = result.length;
5307
+ v = result[u - 1];
5308
+ while (u-- > 0) {
5309
+ result[u] = v;
5310
+ v = p[v];
5293
5311
  }
5294
- return false;
5312
+ return result;
5295
5313
  }
5296
- function updateHOCHostEl({ vnode, parent }, el) {
5297
- while (parent) {
5298
- const root = parent.subTree;
5299
- if (root.suspense && root.suspense.activeBranch === vnode) {
5300
- root.el = vnode.el;
5301
- }
5302
- if (root === vnode) {
5303
- (vnode = parent.vnode).el = el;
5304
- parent = parent.parent;
5314
+ function locateNonHydratedAsyncRoot(instance) {
5315
+ const subComponent = instance.subTree.component;
5316
+ if (subComponent) {
5317
+ if (subComponent.asyncDep && !subComponent.asyncResolved) {
5318
+ return subComponent;
5305
5319
  } else {
5306
- break;
5320
+ return locateNonHydratedAsyncRoot(subComponent);
5307
5321
  }
5308
5322
  }
5309
5323
  }
5324
+ function invalidateMount(hooks) {
5325
+ if (hooks) {
5326
+ for (let i = 0; i < hooks.length; i++)
5327
+ hooks[i].flags |= 8;
5328
+ }
5329
+ }
5330
+ function resolveAsyncComponentPlaceholder(anchorVnode) {
5331
+ if (anchorVnode.placeholder) {
5332
+ return anchorVnode.placeholder;
5333
+ }
5334
+ const instance = anchorVnode.component;
5335
+ if (instance) {
5336
+ return resolveAsyncComponentPlaceholder(instance.subTree);
5337
+ }
5338
+ return null;
5339
+ }
5310
5340
 
5311
5341
  const isSuspense = (type) => type.__isSuspense;
5312
5342
  let suspenseId = 0;
@@ -5609,7 +5639,8 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5609
5639
  pendingId,
5610
5640
  effects,
5611
5641
  parentComponent: parentComponent2,
5612
- container: container2
5642
+ container: container2,
5643
+ isInFallback
5613
5644
  } = suspense;
5614
5645
  let delayEnter = false;
5615
5646
  if (suspense.isHydrating) {
@@ -5626,6 +5657,9 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5626
5657
  0
5627
5658
  );
5628
5659
  queuePostFlushCb(effects);
5660
+ if (isInFallback && vnode2.ssFallback) {
5661
+ vnode2.ssFallback.el = null;
5662
+ }
5629
5663
  }
5630
5664
  };
5631
5665
  }
@@ -5634,6 +5668,9 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5634
5668
  anchor = next(activeBranch);
5635
5669
  }
5636
5670
  unmount(activeBranch, parentComponent2, suspense, true);
5671
+ if (!delayEnter && isInFallback && vnode2.ssFallback) {
5672
+ queuePostRenderEffect(() => vnode2.ssFallback.el = null, suspense);
5673
+ }
5637
5674
  }
5638
5675
  if (!delayEnter) {
5639
5676
  move(pendingBranch, container2, anchor, 0);
@@ -5749,6 +5786,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
5749
5786
  optimized2
5750
5787
  );
5751
5788
  if (placeholder) {
5789
+ vnode2.placeholder = null;
5752
5790
  remove(placeholder);
5753
5791
  }
5754
5792
  updateHOCHostEl(instance, vnode2.el);
@@ -5870,10 +5908,10 @@ function isVNodeSuspensible(vnode) {
5870
5908
  return suspensible != null && suspensible !== false;
5871
5909
  }
5872
5910
 
5873
- const Fragment = Symbol.for("v-fgt");
5874
- const Text = Symbol.for("v-txt");
5875
- const Comment = Symbol.for("v-cmt");
5876
- const Static = Symbol.for("v-stc");
5911
+ const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
5912
+ const Text = /* @__PURE__ */ Symbol.for("v-txt");
5913
+ const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
5914
+ const Static = /* @__PURE__ */ Symbol.for("v-stc");
5877
5915
  const blockStack = [];
5878
5916
  let currentBlock = null;
5879
5917
  function openBlock(disableTracking = false) {
@@ -6562,7 +6600,7 @@ function isMemoSame(cached, memo) {
6562
6600
  return true;
6563
6601
  }
6564
6602
 
6565
- const version = "3.5.22";
6603
+ const version = "3.5.26";
6566
6604
  const warn$1 = shared.NOOP;
6567
6605
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
6568
6606
  const devtools = void 0;