@highstate/designer 0.9.28 → 0.9.30

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 (452) hide show
  1. package/.output/nitro.json +3 -3
  2. package/.output/public/_nuxt/-cuf5ozd.js +1 -0
  3. package/.output/public/_nuxt/{CIlENvhW.js → 1foJT8KY.js} +1 -1
  4. package/.output/public/_nuxt/9QMuE4_e.js +1 -0
  5. package/.output/public/_nuxt/9q8hzT4_.js +1 -0
  6. package/.output/public/_nuxt/B-kr6Mxx.js +1 -0
  7. package/.output/public/_nuxt/B39EfOn0.js +1 -0
  8. package/.output/public/_nuxt/B7q8IMeI.js +1 -0
  9. package/.output/public/_nuxt/BBKBnsTe.js +1 -0
  10. package/.output/public/_nuxt/{D84_luhw.js → BDMnUv6-.js} +1 -1
  11. package/.output/public/_nuxt/{99ZxcQMo.js → BK3Hljmt.js} +1 -1
  12. package/.output/public/_nuxt/BKYQyu8j.js +1 -0
  13. package/.output/public/_nuxt/BOaRzPNm.js +1 -0
  14. package/.output/public/_nuxt/BPddPopq.js +1 -0
  15. package/.output/public/_nuxt/BXfGU54c.js +1 -0
  16. package/.output/public/_nuxt/BkMxUTMz.js +1 -0
  17. package/.output/public/_nuxt/Blz0Sm08.js +1 -0
  18. package/.output/public/_nuxt/{SQImb3Xm.js → BmhnSWN5.js} +1 -1
  19. package/.output/public/_nuxt/Bw6EBqF0.js +1 -0
  20. package/.output/public/_nuxt/BxLxKFyQ.js +1 -0
  21. package/.output/public/_nuxt/ByMpwe6u.js +1 -0
  22. package/.output/public/_nuxt/Bz3KLkvx.js +1 -0
  23. package/.output/public/_nuxt/C1wlP-3M.js +1 -0
  24. package/.output/public/_nuxt/C21I50ti.js +1 -0
  25. package/.output/public/_nuxt/C3_kiIzf.js +1 -0
  26. package/.output/public/_nuxt/C5sBcLek.js +2 -0
  27. package/.output/public/_nuxt/{DRIWqbxK.js → C7qPbc4_.js} +78 -78
  28. package/.output/public/_nuxt/C8SfgRr3.js +1 -0
  29. package/.output/public/_nuxt/CFByMTBT.js +1 -0
  30. package/.output/public/_nuxt/CGKQr8UN.js +1 -0
  31. package/.output/public/_nuxt/CIL14epm.js +1 -0
  32. package/.output/public/_nuxt/CJjncXKU.js +1 -0
  33. package/.output/public/_nuxt/CKLtsx29.js +1 -0
  34. package/.output/public/_nuxt/CVisNyay.js +2 -0
  35. package/.output/public/_nuxt/CW-4Mdov.js +1 -0
  36. package/.output/public/_nuxt/C_cDObbA.js +1 -0
  37. package/.output/public/_nuxt/CjQdWgec.js +16 -0
  38. package/.output/public/_nuxt/Ck_SHGtr.js +1 -0
  39. package/.output/public/_nuxt/{PcM58xPJ.js → ClIloWRv.js} +1 -1
  40. package/.output/public/_nuxt/CnDkXYfV.js +1 -0
  41. package/.output/public/_nuxt/CpLTE7AO.js +1 -0
  42. package/.output/public/_nuxt/CpPpKw9J.js +2 -0
  43. package/.output/public/_nuxt/CpSeRQOr.js +1 -0
  44. package/.output/public/_nuxt/CpvQ6GXq.js +1 -0
  45. package/.output/public/_nuxt/CrCcAfvX.js +1 -0
  46. package/.output/public/_nuxt/CwaiBfXS.js +1 -0
  47. package/.output/public/_nuxt/CwpbJbCJ.js +1 -0
  48. package/.output/public/_nuxt/D06L1AXX.js +1 -0
  49. package/.output/public/_nuxt/D2XIPlys.js +1 -0
  50. package/.output/public/_nuxt/D3yMfpjI.js +1 -0
  51. package/.output/public/_nuxt/{OPXSfcRs.js → D59NcB3D.js} +1 -1
  52. package/.output/public/_nuxt/D7lxNUlX.js +1 -0
  53. package/.output/public/_nuxt/DALeoUlC.js +1 -0
  54. package/.output/public/_nuxt/DJ3_xD1J.js +1 -0
  55. package/.output/public/_nuxt/{OkiqR5tE.js → DKFrVLtg.js} +1 -1
  56. package/.output/public/_nuxt/DWIEZWky.js +1 -0
  57. package/.output/public/_nuxt/Da1awfCG.js +1 -0
  58. package/.output/public/_nuxt/Da9q7HwT.js +1 -0
  59. package/.output/public/_nuxt/Df0di3r3.js +1 -0
  60. package/.output/public/_nuxt/DjHUPHRz.js +1 -0
  61. package/.output/public/_nuxt/DtdG4Ruv.js +1 -0
  62. package/.output/public/_nuxt/I7yKl6nV.js +1 -0
  63. package/.output/public/_nuxt/IOMiH8qI.js +1 -0
  64. package/.output/public/_nuxt/J4wdQuQL.js +6 -0
  65. package/.output/public/_nuxt/KAOCxt3F.js +1 -0
  66. package/.output/public/_nuxt/N5YObFtv.js +1 -0
  67. package/.output/public/_nuxt/{iGkzGtMv.js → NHU215No.js} +1 -1
  68. package/.output/public/_nuxt/PZl7tHUC.js +12 -0
  69. package/.output/public/_nuxt/_nAeoBoi.js +1 -0
  70. package/.output/public/_nuxt/bIrSG7NP.js +1 -0
  71. package/.output/public/_nuxt/builds/latest.json +1 -1
  72. package/.output/public/_nuxt/builds/meta/da6fd16a-9671-46b1-92b8-65d18f35dc28.json +1 -0
  73. package/.output/public/_nuxt/cOEvB8MO.js +1 -0
  74. package/.output/public/_nuxt/lPSpUDlM.js +1 -0
  75. package/.output/public/_nuxt/{B9WOzG0F.js → oUH_eVj3.js} +1 -1
  76. package/.output/server/index.mjs +2980 -8091
  77. package/.output/server/index.mjs.map +1 -1
  78. package/.output/server/node_modules/@babel/parser/lib/index.js +5 -1
  79. package/.output/server/node_modules/@babel/parser/package.json +2 -2
  80. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +138 -101
  81. package/.output/server/node_modules/@vue/compiler-core/package.json +4 -4
  82. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +5 -2
  83. package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
  84. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +11 -2
  85. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  86. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +7 -6
  87. package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
  88. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +71 -39
  89. package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
  90. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +45 -21
  91. package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
  92. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
  93. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  94. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +3 -4
  95. package/.output/server/node_modules/@vue/shared/package.json +1 -1
  96. package/.output/server/node_modules/devalue/package.json +14 -11
  97. package/.output/server/node_modules/devalue/src/parse.js +61 -26
  98. package/.output/server/node_modules/devalue/src/stringify.js +48 -19
  99. package/.output/server/node_modules/devalue/src/uneval.js +82 -31
  100. package/.output/server/node_modules/devalue/src/utils.js +1 -0
  101. package/.output/server/node_modules/unhead/dist/server.mjs +523 -53
  102. package/.output/server/node_modules/unhead/package.json +1 -1
  103. package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
  104. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
  105. package/.output/server/node_modules/vue/package.json +6 -6
  106. package/.output/server/package.json +13 -13
  107. package/LICENSE +21 -0
  108. package/package.json +6 -6
  109. package/.output/public/_nuxt/0A0GXgOL.js +0 -13
  110. package/.output/public/_nuxt/1DNp92w6.js +0 -1
  111. package/.output/public/_nuxt/2EtD6e53.js +0 -1
  112. package/.output/public/_nuxt/2UxHyX5q.js +0 -1
  113. package/.output/public/_nuxt/3cnfKD4S.js +0 -1
  114. package/.output/public/_nuxt/3e1v2bzS.js +0 -1
  115. package/.output/public/_nuxt/3oOXtSjj.js +0 -1
  116. package/.output/public/_nuxt/4A_iFExJ.js +0 -1
  117. package/.output/public/_nuxt/5bLW0GMw.js +0 -1
  118. package/.output/public/_nuxt/5i3qLPDT.js +0 -1
  119. package/.output/public/_nuxt/6nHXG8SA.js +0 -1
  120. package/.output/public/_nuxt/85-TOEBH.js +0 -1
  121. package/.output/public/_nuxt/9ZFiTIhr.js +0 -1
  122. package/.output/public/_nuxt/A7e-2UEn.js +0 -1
  123. package/.output/public/_nuxt/B-hkwWGT.js +0 -1
  124. package/.output/public/_nuxt/B0m2ddpp.js +0 -1
  125. package/.output/public/_nuxt/B1dDrJ26.js +0 -1
  126. package/.output/public/_nuxt/B1yitclQ.js +0 -1
  127. package/.output/public/_nuxt/B5ZR69Tn.js +0 -1
  128. package/.output/public/_nuxt/B6aJPvgy.js +0 -1
  129. package/.output/public/_nuxt/B7mTdjB0.js +0 -1
  130. package/.output/public/_nuxt/BA6EPP6_.js +0 -1
  131. package/.output/public/_nuxt/BBGuKPBd.js +0 -1
  132. package/.output/public/_nuxt/BDzgwa52.js +0 -1
  133. package/.output/public/_nuxt/BE2KfCdU.js +0 -1
  134. package/.output/public/_nuxt/BEDo0Tqx.js +0 -1
  135. package/.output/public/_nuxt/BERRCDM3.js +0 -1
  136. package/.output/public/_nuxt/BETggiCN.js +0 -1
  137. package/.output/public/_nuxt/BEwlwnbL.js +0 -1
  138. package/.output/public/_nuxt/BFfxhgS-.js +0 -1
  139. package/.output/public/_nuxt/BGHREFWD.js +0 -1
  140. package/.output/public/_nuxt/BGJmEYvX.js +0 -1
  141. package/.output/public/_nuxt/BHrmToEH.js +0 -1
  142. package/.output/public/_nuxt/BIAuTxu3.js +0 -1
  143. package/.output/public/_nuxt/BIGW1oBm.js +0 -1
  144. package/.output/public/_nuxt/BLtJtn59.js +0 -1
  145. package/.output/public/_nuxt/BLxL40Jp.js +0 -1
  146. package/.output/public/_nuxt/BM1_JUlF.js +0 -1
  147. package/.output/public/_nuxt/BMMyXqK5.js +0 -1
  148. package/.output/public/_nuxt/BMWR74SV.js +0 -1
  149. package/.output/public/_nuxt/BPXmj4pV.js +0 -1
  150. package/.output/public/_nuxt/BPhlklZu.js +0 -2
  151. package/.output/public/_nuxt/BPzJO5Oe.js +0 -1
  152. package/.output/public/_nuxt/BQ8w6xss.js +0 -1
  153. package/.output/public/_nuxt/BQvybpQq.js +0 -1
  154. package/.output/public/_nuxt/BR7mELCv.js +0 -1
  155. package/.output/public/_nuxt/BRHolxvo.js +0 -1
  156. package/.output/public/_nuxt/BRZ36xJF.js +0 -1
  157. package/.output/public/_nuxt/BTJTHyun.js +0 -1
  158. package/.output/public/_nuxt/BU7Cl-8B.js +0 -1
  159. package/.output/public/_nuxt/BUTJmXJD.js +0 -1
  160. package/.output/public/_nuxt/BV7otONQ.js +0 -1
  161. package/.output/public/_nuxt/BVUaIqAu.js +0 -1
  162. package/.output/public/_nuxt/BWvSN4gD.js +0 -1
  163. package/.output/public/_nuxt/BXY8tDGw.js +0 -1
  164. package/.output/public/_nuxt/BXkSAIEj.js +0 -1
  165. package/.output/public/_nuxt/BYuPVq0Z.js +0 -2
  166. package/.output/public/_nuxt/BYunw83y.js +0 -1
  167. package/.output/public/_nuxt/B_HjzqPZ.js +0 -1
  168. package/.output/public/_nuxt/B_m7g4N7.js +0 -1
  169. package/.output/public/_nuxt/BbcW6ACK.js +0 -1
  170. package/.output/public/_nuxt/BcOcwvcX.js +0 -1
  171. package/.output/public/_nuxt/BdImnpbu.js +0 -1
  172. package/.output/public/_nuxt/BdnUsdx6.js +0 -1
  173. package/.output/public/_nuxt/BeH5JGqB.js +0 -1
  174. package/.output/public/_nuxt/BepWV7mh.js +0 -1
  175. package/.output/public/_nuxt/BfHTSMKl.js +0 -1
  176. package/.output/public/_nuxt/BfjtVDDH.js +0 -1
  177. package/.output/public/_nuxt/Bg4sa8Gm.js +0 -1
  178. package/.output/public/_nuxt/BgDCqdQA.js +0 -1
  179. package/.output/public/_nuxt/BhOHFoWU.js +0 -1
  180. package/.output/public/_nuxt/Bk5OV074.js +0 -1
  181. package/.output/public/_nuxt/BkPM1oy1.js +0 -1
  182. package/.output/public/_nuxt/BkioyH1T.js +0 -1
  183. package/.output/public/_nuxt/Bkuqu6BP.js +0 -1
  184. package/.output/public/_nuxt/Bl2oy6fF.js +0 -1
  185. package/.output/public/_nuxt/BmXAJ9_W.js +0 -1
  186. package/.output/public/_nuxt/BmotDGpj.js +0 -1
  187. package/.output/public/_nuxt/BnVrKZ9I.js +0 -1
  188. package/.output/public/_nuxt/Bo68u9VZ.js +0 -1
  189. package/.output/public/_nuxt/BoKiGodi.js +0 -1
  190. package/.output/public/_nuxt/Bp3cYrEr.js +0 -1
  191. package/.output/public/_nuxt/Bp6g37R7.js +0 -1
  192. package/.output/public/_nuxt/BqTXFGrv.js +0 -1
  193. package/.output/public/_nuxt/BqYA7rlc.js +0 -1
  194. package/.output/public/_nuxt/BsS91CYL.js +0 -1
  195. package/.output/public/_nuxt/BspZqrRM.js +0 -1
  196. package/.output/public/_nuxt/BtCnVYZw.js +0 -1
  197. package/.output/public/_nuxt/BtOb2qkB.js +0 -1
  198. package/.output/public/_nuxt/BthQWCQV.js +0 -1
  199. package/.output/public/_nuxt/BtqSS_iP.js +0 -1
  200. package/.output/public/_nuxt/BtsDLbAf.js +0 -1
  201. package/.output/public/_nuxt/Btyk0a-E.js +0 -1
  202. package/.output/public/_nuxt/Buea-lGh.js +0 -1
  203. package/.output/public/_nuxt/BuidTy5i.js +0 -1
  204. package/.output/public/_nuxt/BvAqAH-y.js +0 -1
  205. package/.output/public/_nuxt/Bw305WKR.js +0 -1
  206. package/.output/public/_nuxt/BxfrAKZq.js +0 -1
  207. package/.output/public/_nuxt/By_T3fGc.js +0 -1
  208. package/.output/public/_nuxt/BzH_AkZ7.js +0 -1
  209. package/.output/public/_nuxt/BzJJZx-M.js +0 -1
  210. package/.output/public/_nuxt/C-SQnVFl.js +0 -1
  211. package/.output/public/_nuxt/C0HS_06l.js +0 -1
  212. package/.output/public/_nuxt/C0SJOSAu.js +0 -1
  213. package/.output/public/_nuxt/C0hk2d4L.js +0 -1
  214. package/.output/public/_nuxt/C151Ov-r.js +0 -1
  215. package/.output/public/_nuxt/C26xiV0R.js +0 -1
  216. package/.output/public/_nuxt/C2t-YnRu.js +0 -1
  217. package/.output/public/_nuxt/C39BiMTA.js +0 -1
  218. package/.output/public/_nuxt/C3B-1QV4.js +0 -1
  219. package/.output/public/_nuxt/C3khCPGq.js +0 -1
  220. package/.output/public/_nuxt/C3mMm8J8.js +0 -1
  221. package/.output/public/_nuxt/C4IJs8-o.js +0 -1
  222. package/.output/public/_nuxt/C7Pa37_e.js +0 -1
  223. package/.output/public/_nuxt/C7Pw0Ztw.js +0 -1
  224. package/.output/public/_nuxt/C8-UwF3o.js +0 -1
  225. package/.output/public/_nuxt/C8M2exoo.js +0 -1
  226. package/.output/public/_nuxt/C8j9CRIf.js +0 -1
  227. package/.output/public/_nuxt/C8lEn-DE.js +0 -1
  228. package/.output/public/_nuxt/C8qhTKg5.js +0 -1
  229. package/.output/public/_nuxt/C98Dy4si.js +0 -1
  230. package/.output/public/_nuxt/C9XAeP06.js +0 -1
  231. package/.output/public/_nuxt/C9tS-k6U.js +0 -1
  232. package/.output/public/_nuxt/CA7CTBwS.js +0 -1
  233. package/.output/public/_nuxt/CAid0frd.js +0 -1
  234. package/.output/public/_nuxt/CDVJQ6XC.js +0 -1
  235. package/.output/public/_nuxt/CDx5xZoG.js +0 -1
  236. package/.output/public/_nuxt/CEL-wOlO.js +0 -1
  237. package/.output/public/_nuxt/CEu0bR-o.js +0 -1
  238. package/.output/public/_nuxt/CF10PKvl.js +0 -1
  239. package/.output/public/_nuxt/CG8Ifv2g.js +0 -1
  240. package/.output/public/_nuxt/CGqH5EJj.js +0 -1
  241. package/.output/public/_nuxt/CHLpvVh8.js +0 -1
  242. package/.output/public/_nuxt/CHM0blh-.js +0 -1
  243. package/.output/public/_nuxt/CHadp7IV.js +0 -1
  244. package/.output/public/_nuxt/CHh-QcGE.js +0 -1
  245. package/.output/public/_nuxt/CJc9bBzg.js +0 -1
  246. package/.output/public/_nuxt/CKIfxQSi.js +0 -1
  247. package/.output/public/_nuxt/CLvts2aQ.js +0 -1
  248. package/.output/public/_nuxt/CLxacb5B.js +0 -1
  249. package/.output/public/_nuxt/CMJyR3vc.js +0 -1
  250. package/.output/public/_nuxt/CMzrAZXt.js +0 -1
  251. package/.output/public/_nuxt/CO1LY3CK.js +0 -1
  252. package/.output/public/_nuxt/COEtLSDF.js +0 -1
  253. package/.output/public/_nuxt/COI20M4I.js +0 -1
  254. package/.output/public/_nuxt/COkxafJQ.js +0 -1
  255. package/.output/public/_nuxt/COt5Ahok.js +0 -1
  256. package/.output/public/_nuxt/CPtXGFXV.js +0 -1
  257. package/.output/public/_nuxt/CS3Unz2-.js +0 -1
  258. package/.output/public/_nuxt/CSXwinHm.js +0 -1
  259. package/.output/public/_nuxt/CTIxkRwW.js +0 -1
  260. package/.output/public/_nuxt/CTRr51gU.js +0 -1
  261. package/.output/public/_nuxt/CTUD0bHN.js +0 -1
  262. package/.output/public/_nuxt/CTWiQX6C.js +0 -1
  263. package/.output/public/_nuxt/CU1B2r8a.js +0 -1
  264. package/.output/public/_nuxt/CU27uY9n.js +0 -1
  265. package/.output/public/_nuxt/CVO1_9PV.js +0 -1
  266. package/.output/public/_nuxt/CWqW-TOZ.js +0 -1
  267. package/.output/public/_nuxt/CXtECtnM.js +0 -1
  268. package/.output/public/_nuxt/CYyVNO1X.js +0 -1
  269. package/.output/public/_nuxt/CZlF05X6.js +0 -1
  270. package/.output/public/_nuxt/C_StbyOY.js +0 -1
  271. package/.output/public/_nuxt/CafNBF8u.js +0 -1
  272. package/.output/public/_nuxt/Cb0HU5_O.js +0 -1
  273. package/.output/public/_nuxt/CbFg5uaA.js +0 -1
  274. package/.output/public/_nuxt/CbfX1IO0.js +0 -1
  275. package/.output/public/_nuxt/CcyOm34o.js +0 -1
  276. package/.output/public/_nuxt/CdggvHu8.js +0 -1
  277. package/.output/public/_nuxt/CeAyd5Ju.js +0 -1
  278. package/.output/public/_nuxt/CeZK1NFH.js +0 -1
  279. package/.output/public/_nuxt/CfQXZHmo.js +0 -1
  280. package/.output/public/_nuxt/CfeIJUat.js +0 -1
  281. package/.output/public/_nuxt/CfkAQpL9.js +0 -1
  282. package/.output/public/_nuxt/Cg-RD9OK.js +0 -1
  283. package/.output/public/_nuxt/ChMvpjG-.js +0 -1
  284. package/.output/public/_nuxt/Cj5Yp3dK.js +0 -1
  285. package/.output/public/_nuxt/CkByrt1z.js +0 -1
  286. package/.output/public/_nuxt/CkXjmgJE.js +0 -1
  287. package/.output/public/_nuxt/CktPXq0r.js +0 -1
  288. package/.output/public/_nuxt/ClSk7P53.js +0 -1
  289. package/.output/public/_nuxt/Cmh6b_Ma.js +0 -1
  290. package/.output/public/_nuxt/CmzX9FPi.js +0 -1
  291. package/.output/public/_nuxt/CnK8MTSM.js +0 -1
  292. package/.output/public/_nuxt/CnnmHF94.js +0 -1
  293. package/.output/public/_nuxt/Co6uUVPk.js +0 -1
  294. package/.output/public/_nuxt/CoydYhfv.js +0 -1
  295. package/.output/public/_nuxt/Cp-IABpG.js +0 -1
  296. package/.output/public/_nuxt/Cq5zzVJU.js +0 -1
  297. package/.output/public/_nuxt/CquLrc37.js +0 -1
  298. package/.output/public/_nuxt/CsfeWuGM.js +0 -1
  299. package/.output/public/_nuxt/Csfq5Kiy.js +0 -1
  300. package/.output/public/_nuxt/CtrldY6v.js +0 -1
  301. package/.output/public/_nuxt/Cuk6v7N8.js +0 -1
  302. package/.output/public/_nuxt/Cv9koXgw.js +0 -1
  303. package/.output/public/_nuxt/CxGSJlkm.js +0 -1
  304. package/.output/public/_nuxt/CyktbL80.js +0 -1
  305. package/.output/public/_nuxt/CylS5w8V.js +0 -1
  306. package/.output/public/_nuxt/CzTSHFRz.js +0 -1
  307. package/.output/public/_nuxt/D-2ljcwZ.js +0 -1
  308. package/.output/public/_nuxt/D-D014UQ.js +0 -1
  309. package/.output/public/_nuxt/D-um0cKY.js +0 -1
  310. package/.output/public/_nuxt/D08WgyRC.js +0 -1
  311. package/.output/public/_nuxt/D0YGMca9.js +0 -1
  312. package/.output/public/_nuxt/D0r3Knsf.js +0 -1
  313. package/.output/public/_nuxt/D17OF-Vu.js +0 -1
  314. package/.output/public/_nuxt/D1j8_8rp.js +0 -1
  315. package/.output/public/_nuxt/D1uDOp7C.js +0 -1
  316. package/.output/public/_nuxt/D22FLkUw.js +0 -1
  317. package/.output/public/_nuxt/D2CYqzqI.js +0 -1
  318. package/.output/public/_nuxt/D32k8WzR.js +0 -1
  319. package/.output/public/_nuxt/D3lLCCz7.js +0 -1
  320. package/.output/public/_nuxt/D4h5O-jR.js +0 -1
  321. package/.output/public/_nuxt/D5-asLiD.js +0 -1
  322. package/.output/public/_nuxt/D5KoaKCx.js +0 -1
  323. package/.output/public/_nuxt/D7ScPSBf.js +0 -1
  324. package/.output/public/_nuxt/D7o27uSR.js +0 -1
  325. package/.output/public/_nuxt/D7oLnXFd.js +0 -1
  326. package/.output/public/_nuxt/D82EKSYY.js +0 -1
  327. package/.output/public/_nuxt/D8dnphEi.js +0 -1
  328. package/.output/public/_nuxt/D93ZcfNL.js +0 -1
  329. package/.output/public/_nuxt/D97Zzqfu.js +0 -1
  330. package/.output/public/_nuxt/DACxCIGM.js +0 -1
  331. package/.output/public/_nuxt/DAi9KRSo.js +0 -1
  332. package/.output/public/_nuxt/DFQXde-d.js +0 -1
  333. package/.output/public/_nuxt/DFXneXwc.js +0 -1
  334. package/.output/public/_nuxt/DGztddWO.js +0 -1
  335. package/.output/public/_nuxt/DH5Ifo-i.js +0 -1
  336. package/.output/public/_nuxt/DHCkPAjA.js +0 -1
  337. package/.output/public/_nuxt/DHJKELXO.js +0 -1
  338. package/.output/public/_nuxt/DIqa6h_h.js +0 -1
  339. package/.output/public/_nuxt/DKYwYmdq.js +0 -1
  340. package/.output/public/_nuxt/DKzvysjW.js +0 -1
  341. package/.output/public/_nuxt/DL0toxrH.js +0 -1
  342. package/.output/public/_nuxt/DLaeWeQL.js +0 -1
  343. package/.output/public/_nuxt/DM8c43g1.js +0 -1
  344. package/.output/public/_nuxt/DMDPKkZ0.js +0 -1
  345. package/.output/public/_nuxt/DMzUqQB5.js +0 -1
  346. package/.output/public/_nuxt/DNrj_gVY.js +0 -1
  347. package/.output/public/_nuxt/DPcUKYIF.js +0 -1
  348. package/.output/public/_nuxt/DPfMkruS.js +0 -1
  349. package/.output/public/_nuxt/DQBmSTS-.js +0 -16
  350. package/.output/public/_nuxt/DRg8JJMk.js +0 -1
  351. package/.output/public/_nuxt/DRprw4p4.js +0 -1
  352. package/.output/public/_nuxt/DS1LvVMU.js +0 -1
  353. package/.output/public/_nuxt/DU1UobuO.js +0 -1
  354. package/.output/public/_nuxt/DUSGQflk.js +0 -1
  355. package/.output/public/_nuxt/DUszq2jm.js +0 -1
  356. package/.output/public/_nuxt/DV8OdvyJ.js +0 -1
  357. package/.output/public/_nuxt/DVFEvuxE.js +0 -1
  358. package/.output/public/_nuxt/DVMEJ2y_.js +0 -1
  359. package/.output/public/_nuxt/DVxCFoDh.js +0 -1
  360. package/.output/public/_nuxt/DWedfzmr.js +0 -1
  361. package/.output/public/_nuxt/DWrx1Km3.js +0 -1
  362. package/.output/public/_nuxt/DXbdFlpD.js +0 -1
  363. package/.output/public/_nuxt/DXmwc3jG.js +0 -1
  364. package/.output/public/_nuxt/DXvB9xmW.js +0 -1
  365. package/.output/public/_nuxt/DZbTZHAw.js +0 -1
  366. package/.output/public/_nuxt/DZxFcAj9.js +0 -1
  367. package/.output/public/_nuxt/D_Q5rh1f.js +0 -1
  368. package/.output/public/_nuxt/Da5cRb03.js +0 -1
  369. package/.output/public/_nuxt/DcaNXYhu.js +0 -1
  370. package/.output/public/_nuxt/Dd19v3D-.js +0 -1
  371. package/.output/public/_nuxt/DdkO51Og.js +0 -1
  372. package/.output/public/_nuxt/Ddv68eIx.js +0 -1
  373. package/.output/public/_nuxt/DeWFVDHI.js +0 -1
  374. package/.output/public/_nuxt/Des-eS-w.js +0 -1
  375. package/.output/public/_nuxt/Df68jz8_.js +0 -1
  376. package/.output/public/_nuxt/Df6bDoY_.js +0 -1
  377. package/.output/public/_nuxt/DftyyDEz.js +0 -1
  378. package/.output/public/_nuxt/DiinP2Uv.js +0 -1
  379. package/.output/public/_nuxt/DkFqJrB1.js +0 -1
  380. package/.output/public/_nuxt/DkhsQLT2.js +0 -1
  381. package/.output/public/_nuxt/DkwncUOv.js +0 -1
  382. package/.output/public/_nuxt/DlfHMoPT.js +0 -1
  383. package/.output/public/_nuxt/DljmTZ5-.js +0 -1
  384. package/.output/public/_nuxt/Dn2_MT6a.js +0 -1
  385. package/.output/public/_nuxt/DnULxvSX.js +0 -1
  386. package/.output/public/_nuxt/DoQv6qfi.js +0 -1
  387. package/.output/public/_nuxt/Dpen1YoG.js +0 -1
  388. package/.output/public/_nuxt/DqwNpetd.js +0 -1
  389. package/.output/public/_nuxt/Dr8Zlu6v.js +0 -1
  390. package/.output/public/_nuxt/DrPC2Hc9.js +0 -1
  391. package/.output/public/_nuxt/DrZfEa88.js +0 -1
  392. package/.output/public/_nuxt/Drp5UXmf.js +0 -1
  393. package/.output/public/_nuxt/DsOJ9woJ.js +0 -1
  394. package/.output/public/_nuxt/Dsd8FzMz.js +0 -1
  395. package/.output/public/_nuxt/Dtc2v4kS.js +0 -1
  396. package/.output/public/_nuxt/DuF5lwM0.js +0 -1
  397. package/.output/public/_nuxt/DupVM-Dz.js +0 -1
  398. package/.output/public/_nuxt/Dx-B1_4e.js +0 -1
  399. package/.output/public/_nuxt/DyJlTyXw.js +0 -1
  400. package/.output/public/_nuxt/DyxjwDmM.js +0 -1
  401. package/.output/public/_nuxt/E3gJ1_iC.js +0 -1
  402. package/.output/public/_nuxt/ETK3OkTL.js +0 -1
  403. package/.output/public/_nuxt/HCdEJDFI.js +0 -1
  404. package/.output/public/_nuxt/I3RK9BU8.js +0 -1
  405. package/.output/public/_nuxt/IeuSbFQv.js +0 -1
  406. package/.output/public/_nuxt/IvJ92aGK.js +0 -1
  407. package/.output/public/_nuxt/JhPuU2gP.js +0 -1
  408. package/.output/public/_nuxt/L9t79GZl.js +0 -1
  409. package/.output/public/_nuxt/MYTOULzL.js +0 -1
  410. package/.output/public/_nuxt/Mbdci57d.js +0 -1
  411. package/.output/public/_nuxt/MzD3tlZU.js +0 -1
  412. package/.output/public/_nuxt/N8V-PnMI.js +0 -1
  413. package/.output/public/_nuxt/NleAzG8P.js +0 -1
  414. package/.output/public/_nuxt/P80f7IUj.js +0 -1
  415. package/.output/public/_nuxt/PRrQsqfR.js +0 -1
  416. package/.output/public/_nuxt/Pmp26Uib.js +0 -1
  417. package/.output/public/_nuxt/PoHY5YXO.js +0 -1
  418. package/.output/public/_nuxt/QIJgUcNo.js +0 -1
  419. package/.output/public/_nuxt/T_KrSwvo.js +0 -1
  420. package/.output/public/_nuxt/ToLM6rGN.js +0 -1
  421. package/.output/public/_nuxt/U3xiXqPX.js +0 -6
  422. package/.output/public/_nuxt/U7qkj-Ja.js +0 -1
  423. package/.output/public/_nuxt/UInuXPgp.js +0 -1
  424. package/.output/public/_nuxt/VOosw3JB.js +0 -1
  425. package/.output/public/_nuxt/X9VrNqQs.js +0 -1
  426. package/.output/public/_nuxt/Xi2tawMN.js +0 -1
  427. package/.output/public/_nuxt/Yzrsuije.js +0 -1
  428. package/.output/public/_nuxt/ZF4spYqi.js +0 -2
  429. package/.output/public/_nuxt/ZwEiOJEn.js +0 -1
  430. package/.output/public/_nuxt/_ykCGR6B.js +0 -1
  431. package/.output/public/_nuxt/bCR0ucgS.js +0 -1
  432. package/.output/public/_nuxt/bN70gL4F.js +0 -1
  433. package/.output/public/_nuxt/brDaU2vB.js +0 -1
  434. package/.output/public/_nuxt/builds/meta/02f91e01-bdcc-4edd-9183-319b584648dc.json +0 -1
  435. package/.output/public/_nuxt/dglhsJpM.js +0 -1
  436. package/.output/public/_nuxt/dwOrl1Do.js +0 -1
  437. package/.output/public/_nuxt/eQ3_NmaE.js +0 -1
  438. package/.output/public/_nuxt/f7oK2omx.js +0 -1
  439. package/.output/public/_nuxt/fuZLfV_i.js +0 -1
  440. package/.output/public/_nuxt/fve9TYiY.js +0 -1
  441. package/.output/public/_nuxt/g9-lgVsj.js +0 -1
  442. package/.output/public/_nuxt/gcz8RCvz.js +0 -1
  443. package/.output/public/_nuxt/hegEt444.js +0 -1
  444. package/.output/public/_nuxt/irsrSlf-.js +0 -1
  445. package/.output/public/_nuxt/lXgVvXCa.js +0 -1
  446. package/.output/public/_nuxt/pkIJ47B4.js +0 -1
  447. package/.output/public/_nuxt/q-j0iyEw.js +0 -1
  448. package/.output/public/_nuxt/qliWkHmV.js +0 -1
  449. package/.output/public/_nuxt/svIZi08f.js +0 -1
  450. package/.output/public/_nuxt/uMbE6_td.js +0 -1
  451. package/.output/public/_nuxt/vGWfd6FD.js +0 -1
  452. package/.output/public/_nuxt/yv6CvBhz.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { a as createUnhead } from './shared/unhead.DH45uomy.mjs';
2
- import { T as TagsWithInnerContent, S as SelfClosingTags$1 } from './shared/unhead.yem5I2v_.mjs';
2
+ import { T as TagsWithInnerContent, S as SelfClosingTags } from './shared/unhead.yem5I2v_.mjs';
3
3
  import 'hookable';
4
4
  import './shared/unhead.BpRRHAhY.mjs';
5
5
  import './shared/unhead.DZbvapt-.mjs';
@@ -67,55 +67,521 @@ function createHead(options = {}) {
67
67
  return unhead;
68
68
  }
69
69
 
70
- const Attrs = /(\w+-?\w+)(?:=["']([^"']*)["'])?/g;
71
- const HtmlTag = /<html[^>]*>/;
72
- const BodyTag = /<body[^>]*>/;
73
- const HeadContent = /<head[^>]*>(.*?)<\/head>/s;
74
- const SelfClosingTags = /<(meta|link|base)[^>]*>/g;
75
- const ClosingTags = /<(title|script|style)[^>]*>[\s\S]*?<\/\1>/g;
76
- const NewLines = /(\n\s*)+/g;
77
- function extractAttributes(tag) {
78
- const inner = tag.match(/<([^>]*)>/)?.[1].split(" ").slice(1).join(" ");
79
- if (!inner)
80
- return {};
81
- const attrs = inner.match(Attrs);
82
- return attrs?.reduce((acc, attr) => {
83
- const sep = attr.indexOf("=");
84
- const key = sep > 0 ? attr.slice(0, sep) : attr;
85
- const val = sep > 0 ? attr.slice(sep + 1).slice(1, -1) : true;
86
- return { ...acc, [key]: val };
87
- }, {}) || {};
70
+ const TAG_HTML = 0;
71
+ const TAG_HEAD = 1;
72
+ const TAG_TITLE = 4;
73
+ const TAG_META = 5;
74
+ const TAG_BODY = 44;
75
+ const TAG_SCRIPT = 52;
76
+ const TAG_STYLE = 53;
77
+ const TAG_LINK = 54;
78
+ const TAG_BASE = 56;
79
+ const TagIdMap = {
80
+ html: TAG_HTML,
81
+ head: TAG_HEAD,
82
+ title: TAG_TITLE,
83
+ meta: TAG_META,
84
+ body: TAG_BODY,
85
+ script: TAG_SCRIPT,
86
+ style: TAG_STYLE,
87
+ link: TAG_LINK,
88
+ base: TAG_BASE
89
+ };
90
+
91
+ const LT_CHAR = 60;
92
+ const GT_CHAR = 62;
93
+ const SLASH_CHAR = 47;
94
+ const EQUALS_CHAR = 61;
95
+ const QUOTE_CHAR = 34;
96
+ const APOS_CHAR = 39;
97
+ const EXCLAMATION_CHAR = 33;
98
+ const BACKSLASH_CHAR = 92;
99
+ const DASH_CHAR = 45;
100
+ const SPACE_CHAR = 32;
101
+ const TAB_CHAR = 9;
102
+ const NEWLINE_CHAR = 10;
103
+ const CARRIAGE_RETURN_CHAR = 13;
104
+ const EMPTY_ATTRIBUTES = Object.freeze({});
105
+ function isWhitespace(charCode) {
106
+ return charCode === SPACE_CHAR || charCode === TAB_CHAR || charCode === NEWLINE_CHAR || charCode === CARRIAGE_RETURN_CHAR;
88
107
  }
89
- function extractUnheadInputFromHtml(html) {
108
+ function processCommentOrDoctype(htmlChunk, position) {
109
+ let i = position;
110
+ const chunkLength = htmlChunk.length;
111
+ if (i + 3 < chunkLength && htmlChunk.charCodeAt(i + 2) === DASH_CHAR && htmlChunk.charCodeAt(i + 3) === DASH_CHAR) {
112
+ i += 4;
113
+ while (i < chunkLength - 2) {
114
+ if (htmlChunk.charCodeAt(i) === DASH_CHAR && htmlChunk.charCodeAt(i + 1) === DASH_CHAR && htmlChunk.charCodeAt(i + 2) === GT_CHAR) {
115
+ i += 3;
116
+ return {
117
+ complete: true,
118
+ newPosition: i,
119
+ remainingText: ""
120
+ };
121
+ }
122
+ i++;
123
+ }
124
+ return {
125
+ complete: false,
126
+ newPosition: position,
127
+ remainingText: htmlChunk.substring(position)
128
+ };
129
+ } else {
130
+ i += 2;
131
+ while (i < chunkLength) {
132
+ if (htmlChunk.charCodeAt(i) === GT_CHAR) {
133
+ i++;
134
+ return {
135
+ complete: true,
136
+ newPosition: i,
137
+ remainingText: ""
138
+ };
139
+ }
140
+ i++;
141
+ }
142
+ return {
143
+ complete: false,
144
+ newPosition: i,
145
+ remainingText: htmlChunk.substring(position, i)
146
+ };
147
+ }
148
+ }
149
+ function parseAttributes(attrStr) {
150
+ if (!attrStr)
151
+ return EMPTY_ATTRIBUTES;
152
+ const result = {};
153
+ const len = attrStr.length;
154
+ let i = 0;
155
+ const WHITESPACE = 0;
156
+ const NAME = 1;
157
+ const AFTER_NAME = 2;
158
+ const BEFORE_VALUE = 3;
159
+ const QUOTED_VALUE = 4;
160
+ const UNQUOTED_VALUE = 5;
161
+ let state = WHITESPACE;
162
+ let nameStart = 0;
163
+ let nameEnd = 0;
164
+ let valueStart = 0;
165
+ let quoteChar = 0;
166
+ let name = "";
167
+ while (i < len) {
168
+ const charCode = attrStr.charCodeAt(i);
169
+ const isSpace = isWhitespace(charCode);
170
+ switch (state) {
171
+ case WHITESPACE:
172
+ if (!isSpace) {
173
+ state = NAME;
174
+ nameStart = i;
175
+ nameEnd = 0;
176
+ }
177
+ break;
178
+ case NAME:
179
+ if (charCode === EQUALS_CHAR || isSpace) {
180
+ nameEnd = i;
181
+ name = attrStr.substring(nameStart, nameEnd).toLowerCase();
182
+ state = charCode === EQUALS_CHAR ? BEFORE_VALUE : AFTER_NAME;
183
+ }
184
+ break;
185
+ case AFTER_NAME:
186
+ if (charCode === EQUALS_CHAR) {
187
+ state = BEFORE_VALUE;
188
+ } else if (!isSpace) {
189
+ result[name] = "";
190
+ state = NAME;
191
+ nameStart = i;
192
+ nameEnd = 0;
193
+ }
194
+ break;
195
+ case BEFORE_VALUE:
196
+ if (charCode === QUOTE_CHAR || charCode === APOS_CHAR) {
197
+ quoteChar = charCode;
198
+ state = QUOTED_VALUE;
199
+ valueStart = i + 1;
200
+ } else if (!isSpace) {
201
+ state = UNQUOTED_VALUE;
202
+ valueStart = i;
203
+ }
204
+ break;
205
+ case QUOTED_VALUE:
206
+ if (charCode === BACKSLASH_CHAR && i + 1 < len) {
207
+ i++;
208
+ } else if (charCode === quoteChar) {
209
+ result[name] = attrStr.substring(valueStart, i);
210
+ state = WHITESPACE;
211
+ }
212
+ break;
213
+ case UNQUOTED_VALUE:
214
+ if (isSpace || charCode === GT_CHAR) {
215
+ result[name] = attrStr.substring(valueStart, i);
216
+ state = WHITESPACE;
217
+ }
218
+ break;
219
+ }
220
+ i++;
221
+ }
222
+ if (state === QUOTED_VALUE || state === UNQUOTED_VALUE) {
223
+ if (name) {
224
+ result[name] = attrStr.substring(valueStart, i);
225
+ }
226
+ } else if (state === NAME || state === AFTER_NAME || state === BEFORE_VALUE) {
227
+ nameEnd = nameEnd || i;
228
+ const currentName = attrStr.substring(nameStart, nameEnd).toLowerCase();
229
+ if (currentName) {
230
+ result[currentName] = "";
231
+ }
232
+ }
233
+ return result;
234
+ }
235
+ function parseHtmlForIndexes(html) {
236
+ const indexes = {
237
+ htmlTagStart: html.indexOf("<html"),
238
+ htmlTagEnd: -1,
239
+ headTagEnd: html.indexOf("</head>"),
240
+ bodyTagStart: html.indexOf("<body"),
241
+ bodyTagEnd: -1,
242
+ bodyCloseTagStart: html.indexOf("</body>")
243
+ };
244
+ if (indexes.htmlTagStart >= 0) {
245
+ const htmlTagEndPos = html.indexOf(">", indexes.htmlTagStart);
246
+ if (htmlTagEndPos >= 0) {
247
+ indexes.htmlTagEnd = htmlTagEndPos + 1;
248
+ }
249
+ }
250
+ if (indexes.bodyTagStart >= 0) {
251
+ const bodyTagEndPos = html.indexOf(">", indexes.bodyTagStart);
252
+ if (bodyTagEndPos >= 0) {
253
+ indexes.bodyTagEnd = bodyTagEndPos + 1;
254
+ }
255
+ }
256
+ return { html, input: {}, indexes };
257
+ }
258
+ function parseHtmlForUnheadExtraction(html) {
90
259
  const input = {};
91
- input.htmlAttrs = extractAttributes(html.match(HtmlTag)?.[0] || "");
92
- html = html.replace(HtmlTag, "<html>");
93
- input.bodyAttrs = extractAttributes(html.match(BodyTag)?.[0] || "");
94
- html = html.replace(BodyTag, "<body>");
95
- const innerHead = html.match(HeadContent)?.[1] || "";
96
- innerHead.match(SelfClosingTags)?.forEach((s) => {
97
- html = html.replace(s, "");
98
- const tag = s.split(" ")[0].slice(1);
99
- input[tag] = input[tag] || [];
100
- input[tag].push(extractAttributes(s));
101
- });
102
- innerHead.match(ClosingTags)?.map((tag) => tag.trim()).filter(Boolean).forEach((tag) => {
103
- html = html.replace(tag, "");
104
- const type = tag.match(/<([a-z-]+)/)?.[1];
105
- const res = extractAttributes(tag);
106
- const innerContent = tag.match(/>([\s\S]*)</)?.[1];
107
- if (innerContent) {
108
- res[type !== "script" ? "textContent" : "innerHTML"] = innerContent;
109
- }
110
- if (type === "title") {
111
- input.title = res;
260
+ const htmlParts = [];
261
+ let position = 0;
262
+ let inHead = false;
263
+ let foundBodyStart = false;
264
+ let lastCopyPosition = 0;
265
+ let currentOutputLength = 0;
266
+ const indexes = {
267
+ htmlTagStart: -1,
268
+ htmlTagEnd: -1,
269
+ headTagEnd: -1,
270
+ bodyTagStart: -1,
271
+ bodyTagEnd: -1,
272
+ bodyCloseTagStart: -1
273
+ };
274
+ const headElementsToExtract = /* @__PURE__ */ new Set([TAG_TITLE, TAG_META, TAG_LINK, TAG_SCRIPT, TAG_STYLE, TAG_BASE]);
275
+ function copyAccumulatedText() {
276
+ if (lastCopyPosition < position) {
277
+ const textToAdd = html.substring(lastCopyPosition, position);
278
+ htmlParts.push(textToAdd);
279
+ currentOutputLength += textToAdd.length;
280
+ lastCopyPosition = position;
281
+ }
282
+ }
283
+ function addText(text) {
284
+ htmlParts.push(text);
285
+ currentOutputLength += text.length;
286
+ }
287
+ while (position < html.length && !foundBodyStart) {
288
+ const currentCharCode = html.charCodeAt(position);
289
+ if (currentCharCode !== LT_CHAR) {
290
+ position++;
291
+ continue;
292
+ }
293
+ if (position + 1 >= html.length) {
294
+ copyAccumulatedText();
295
+ addText(html[position]);
296
+ break;
297
+ }
298
+ const nextCharCode = html.charCodeAt(position + 1);
299
+ if (nextCharCode === EXCLAMATION_CHAR) {
300
+ const result = processCommentOrDoctype(html, position);
301
+ if (result.complete) {
302
+ copyAccumulatedText();
303
+ addText(html.substring(position, result.newPosition));
304
+ position = result.newPosition;
305
+ lastCopyPosition = position;
306
+ } else {
307
+ copyAccumulatedText();
308
+ addText(html.substring(position));
309
+ break;
310
+ }
311
+ continue;
312
+ }
313
+ if (nextCharCode === SLASH_CHAR) {
314
+ let tagEnd2 = position + 2;
315
+ while (tagEnd2 < html.length && html.charCodeAt(tagEnd2) !== GT_CHAR) {
316
+ tagEnd2++;
317
+ }
318
+ if (tagEnd2 >= html.length) {
319
+ copyAccumulatedText();
320
+ addText(html.substring(position));
321
+ break;
322
+ }
323
+ const tagName2 = html.substring(position + 2, tagEnd2).toLowerCase().trim();
324
+ const tagId2 = TagIdMap[tagName2] ?? -1;
325
+ if (tagId2 === TAG_HEAD) {
326
+ inHead = false;
327
+ copyAccumulatedText();
328
+ const headCloseStart = currentOutputLength;
329
+ addText(html.substring(position, tagEnd2 + 1));
330
+ indexes.headTagEnd = headCloseStart;
331
+ } else {
332
+ copyAccumulatedText();
333
+ addText(html.substring(position, tagEnd2 + 1));
334
+ }
335
+ position = tagEnd2 + 1;
336
+ lastCopyPosition = position;
337
+ continue;
338
+ }
339
+ const tagStart = position + 1;
340
+ let tagNameEnd = tagStart;
341
+ while (tagNameEnd < html.length) {
342
+ const c = html.charCodeAt(tagNameEnd);
343
+ if (isWhitespace(c) || c === SLASH_CHAR || c === GT_CHAR) {
344
+ break;
345
+ }
346
+ tagNameEnd++;
347
+ }
348
+ if (tagNameEnd >= html.length) {
349
+ copyAccumulatedText();
350
+ addText(html.substring(position));
351
+ break;
352
+ }
353
+ const tagName = html.substring(tagStart, tagNameEnd).toLowerCase();
354
+ const tagId = TagIdMap[tagName] ?? -1;
355
+ let tagEnd = tagNameEnd;
356
+ let inQuote = false;
357
+ let quoteChar = 0;
358
+ let foundEnd = false;
359
+ let isSelfClosing = false;
360
+ while (tagEnd < html.length && !foundEnd) {
361
+ const c = html.charCodeAt(tagEnd);
362
+ if (inQuote) {
363
+ if (c === quoteChar) {
364
+ inQuote = false;
365
+ }
366
+ } else if (c === QUOTE_CHAR || c === APOS_CHAR) {
367
+ inQuote = true;
368
+ quoteChar = c;
369
+ } else if (c === SLASH_CHAR && tagEnd + 1 < html.length && html.charCodeAt(tagEnd + 1) === GT_CHAR) {
370
+ isSelfClosing = true;
371
+ tagEnd += 2;
372
+ foundEnd = true;
373
+ continue;
374
+ } else if (c === GT_CHAR) {
375
+ tagEnd++;
376
+ foundEnd = true;
377
+ continue;
378
+ }
379
+ tagEnd++;
380
+ }
381
+ if (!foundEnd) {
382
+ copyAccumulatedText();
383
+ addText(html.substring(position));
384
+ break;
385
+ }
386
+ const attributesStr = html.substring(tagNameEnd, tagEnd - (isSelfClosing ? 2 : 1)).trim();
387
+ const attributes = parseAttributes(attributesStr);
388
+ if (tagId === TAG_HTML) {
389
+ copyAccumulatedText();
390
+ indexes.htmlTagStart = currentOutputLength;
391
+ if (Object.keys(attributes).length > 0) {
392
+ input.htmlAttrs = attributes;
393
+ addText(`<${tagName}>`);
394
+ } else {
395
+ addText(html.substring(position, tagEnd));
396
+ }
397
+ indexes.htmlTagEnd = currentOutputLength;
398
+ } else if (tagId === TAG_BODY) {
399
+ copyAccumulatedText();
400
+ indexes.bodyTagStart = currentOutputLength;
401
+ if (Object.keys(attributes).length > 0) {
402
+ input.bodyAttrs = attributes;
403
+ addText(`<${tagName}>`);
404
+ } else {
405
+ addText(html.substring(position, tagEnd));
406
+ }
407
+ indexes.bodyTagEnd = currentOutputLength;
408
+ foundBodyStart = true;
409
+ position = tagEnd;
410
+ lastCopyPosition = position;
411
+ break;
412
+ } else if (tagId === TAG_HEAD) {
413
+ inHead = true;
414
+ copyAccumulatedText();
415
+ addText(html.substring(position, tagEnd));
416
+ } else if (inHead && headElementsToExtract.has(tagId)) {
417
+ if (tagId === TAG_TITLE) {
418
+ if (!isSelfClosing) {
419
+ const titleEnd = findClosingTag(html, tagEnd, tagName);
420
+ if (titleEnd !== -1) {
421
+ const titleContent = html.substring(tagEnd, titleEnd).trim();
422
+ if (titleContent && !input.title) {
423
+ input.title = titleContent;
424
+ }
425
+ position = findTagEnd(html, titleEnd, tagName);
426
+ lastCopyPosition = position;
427
+ continue;
428
+ }
429
+ }
430
+ } else if (tagId === TAG_SCRIPT) {
431
+ const scriptAttrs = { ...attributes };
432
+ if (!isSelfClosing) {
433
+ const scriptEnd = findClosingTag(html, tagEnd, tagName);
434
+ if (scriptEnd !== -1) {
435
+ const scriptContent = html.substring(tagEnd, scriptEnd);
436
+ scriptAttrs.innerHTML = scriptContent || "";
437
+ position = findTagEnd(html, scriptEnd, tagName);
438
+ } else {
439
+ scriptAttrs.innerHTML = "";
440
+ position = tagEnd;
441
+ }
442
+ } else {
443
+ scriptAttrs.innerHTML = "";
444
+ position = tagEnd;
445
+ }
446
+ lastCopyPosition = position;
447
+ (input.script ||= []).push(scriptAttrs);
448
+ continue;
449
+ } else if (tagId === TAG_STYLE) {
450
+ const styleAttrs = { ...attributes };
451
+ if (!isSelfClosing) {
452
+ const styleEnd = findClosingTag(html, tagEnd, tagName);
453
+ if (styleEnd !== -1) {
454
+ const styleContent = html.substring(tagEnd, styleEnd);
455
+ styleAttrs.textContent = styleContent || "";
456
+ position = findTagEnd(html, styleEnd, tagName);
457
+ } else {
458
+ styleAttrs.textContent = "";
459
+ position = tagEnd;
460
+ }
461
+ } else {
462
+ styleAttrs.textContent = "";
463
+ position = tagEnd;
464
+ }
465
+ lastCopyPosition = position;
466
+ (input.style ||= []).push(styleAttrs);
467
+ continue;
468
+ } else if (tagId === TAG_META) {
469
+ (input.meta ||= []).push(attributes);
470
+ position = tagEnd;
471
+ lastCopyPosition = position;
472
+ continue;
473
+ } else if (tagId === TAG_LINK) {
474
+ (input.link ||= []).push(attributes);
475
+ position = tagEnd;
476
+ lastCopyPosition = position;
477
+ continue;
478
+ } else if (tagId === TAG_BASE && !input.base) {
479
+ input.base = attributes;
480
+ position = tagEnd;
481
+ lastCopyPosition = position;
482
+ continue;
483
+ }
112
484
  } else {
113
- input[type] = input[type] || [];
114
- input[type].push(res);
485
+ copyAccumulatedText();
486
+ addText(html.substring(position, tagEnd));
115
487
  }
116
- });
117
- html = html.replace(NewLines, "\n");
118
- return { html, input };
488
+ position = tagEnd;
489
+ lastCopyPosition = position;
490
+ }
491
+ const remainingHtml = html.substring(position);
492
+ const bodyCloseIndex = remainingHtml.indexOf("</body>");
493
+ if (bodyCloseIndex !== -1) {
494
+ indexes.bodyCloseTagStart = currentOutputLength + bodyCloseIndex;
495
+ }
496
+ copyAccumulatedText();
497
+ addText(remainingHtml);
498
+ return { html: htmlParts.join(""), input, indexes };
499
+ }
500
+ function findClosingTag(html, startPos, tagName) {
501
+ const tagId = TagIdMap[tagName];
502
+ const isScriptOrStyle = tagId === TAG_SCRIPT || tagId === TAG_STYLE;
503
+ if (!isScriptOrStyle) {
504
+ const closingTag2 = `</${tagName}`;
505
+ const index = html.indexOf(closingTag2, startPos);
506
+ return index === -1 ? -1 : index;
507
+ }
508
+ const closingTag = `</${tagName}`;
509
+ let pos = startPos;
510
+ let inSingleQuote = false;
511
+ let inDoubleQuote = false;
512
+ let inBacktick = false;
513
+ let lastCharWasBackslash = false;
514
+ while (pos < html.length) {
515
+ const currentCharCode = html.charCodeAt(pos);
516
+ if (!lastCharWasBackslash) {
517
+ if (currentCharCode === APOS_CHAR && !inDoubleQuote && !inBacktick) {
518
+ inSingleQuote = !inSingleQuote;
519
+ } else if (currentCharCode === QUOTE_CHAR && !inSingleQuote && !inBacktick) {
520
+ inDoubleQuote = !inDoubleQuote;
521
+ } else if (currentCharCode === 96 && !inSingleQuote && !inDoubleQuote) {
522
+ inBacktick = !inBacktick;
523
+ }
524
+ }
525
+ lastCharWasBackslash = currentCharCode === BACKSLASH_CHAR && !lastCharWasBackslash;
526
+ const inQuotes = inSingleQuote || inDoubleQuote || inBacktick;
527
+ if (!inQuotes && html.startsWith(closingTag, pos)) {
528
+ const afterTagPos = pos + closingTag.length;
529
+ if (afterTagPos >= html.length) {
530
+ return pos;
531
+ }
532
+ const nextChar = html.charCodeAt(afterTagPos);
533
+ if (nextChar === GT_CHAR || isWhitespace(nextChar)) {
534
+ return pos;
535
+ }
536
+ }
537
+ pos++;
538
+ }
539
+ return -1;
540
+ }
541
+ function findTagEnd(html, closingTagStart, tagName) {
542
+ let pos = closingTagStart + tagName.length + 2;
543
+ while (pos < html.length && html.charCodeAt(pos) !== GT_CHAR) {
544
+ pos++;
545
+ }
546
+ return pos < html.length ? pos + 1 : pos;
547
+ }
548
+ function applyHeadToHtml(template, headHtml) {
549
+ const { html, indexes } = template;
550
+ const parts = [];
551
+ let lastIndex = 0;
552
+ if (indexes.htmlTagStart >= 0) {
553
+ parts.push(html.substring(lastIndex, indexes.htmlTagStart));
554
+ parts.push(`<html${headHtml.htmlAttrs}>`);
555
+ lastIndex = indexes.htmlTagEnd;
556
+ }
557
+ if (indexes.headTagEnd >= 0) {
558
+ parts.push(html.substring(lastIndex, indexes.headTagEnd));
559
+ parts.push(headHtml.headTags);
560
+ parts.push("</head>");
561
+ lastIndex = indexes.headTagEnd + 7;
562
+ }
563
+ if (indexes.bodyTagStart >= 0) {
564
+ parts.push(html.substring(lastIndex, indexes.bodyTagStart));
565
+ if (headHtml.bodyTagsOpen) {
566
+ parts.push(`<body${headHtml.bodyAttrs}>
567
+ ${headHtml.bodyTagsOpen}`);
568
+ } else {
569
+ parts.push(`<body${headHtml.bodyAttrs}>`);
570
+ }
571
+ lastIndex = indexes.bodyTagEnd;
572
+ }
573
+ if (indexes.bodyCloseTagStart >= 0) {
574
+ parts.push(html.substring(lastIndex, indexes.bodyCloseTagStart));
575
+ parts.push(headHtml.bodyTags);
576
+ parts.push(html.substring(indexes.bodyCloseTagStart));
577
+ } else {
578
+ parts.push(html.substring(lastIndex));
579
+ }
580
+ return parts.join("");
581
+ }
582
+
583
+ function extractUnheadInputFromHtml(html) {
584
+ return parseHtmlForUnheadExtraction(html);
119
585
  }
120
586
 
121
587
  function encodeAttribute(value) {
@@ -161,10 +627,10 @@ function tagToString(tag) {
161
627
  const attrs = propsToString(tag.props);
162
628
  const openTag = `<${tag.tag}${attrs}>`;
163
629
  if (!TagsWithInnerContent.has(tag.tag))
164
- return SelfClosingTags$1.has(tag.tag) ? openTag : `${openTag}</${tag.tag}>`;
630
+ return SelfClosingTags.has(tag.tag) ? openTag : `${openTag}</${tag.tag}>`;
165
631
  let content = String(tag.textContent || tag.innerHTML || "");
166
632
  content = tag.tag === "title" ? escapeHtml(content) : content.replace(new RegExp(`</${tag.tag}`, "gi"), `<\\/${tag.tag}`);
167
- return SelfClosingTags$1.has(tag.tag) ? openTag : `${openTag}${content}</${tag.tag}>`;
633
+ return SelfClosingTags.has(tag.tag) ? openTag : `${openTag}${content}</${tag.tag}>`;
168
634
  }
169
635
 
170
636
  function ssrRenderTags(tags, options) {
@@ -209,11 +675,15 @@ async function renderSSRHead(head, options) {
209
675
  }
210
676
 
211
677
  async function transformHtmlTemplate(head, html, options) {
212
- const { html: parsedHtml, input } = extractUnheadInputFromHtml(html);
213
- head.push(input, { _index: 0 });
678
+ const template = parseHtmlForUnheadExtraction(html);
679
+ head.push(template.input, { _index: 0 });
680
+ const headHtml = await renderSSRHead(head, options);
681
+ return applyHeadToHtml(template, headHtml);
682
+ }
683
+ async function transformHtmlTemplateRaw(head, html, options) {
214
684
  const headHtml = await renderSSRHead(head, options);
215
- return parsedHtml.replace("<html>", `<html${headHtml.htmlAttrs}>`).replace("<body>", `<body>${headHtml.bodyTagsOpen ? `
216
- ${headHtml.bodyTagsOpen}` : ``}`).replace("<body>", `<body${headHtml.bodyAttrs}>`).replace("</head>", `${headHtml.headTags}</head>`).replace("</body>", `${headHtml.bodyTags}</body>`);
685
+ const template = parseHtmlForIndexes(html);
686
+ return applyHeadToHtml(template, headHtml);
217
687
  }
218
688
 
219
- export { createHead, escapeHtml, extractUnheadInputFromHtml, propsToString, renderSSRHead, ssrRenderTags, tagToString, transformHtmlTemplate };
689
+ export { createHead, escapeHtml, extractUnheadInputFromHtml, propsToString, renderSSRHead, ssrRenderTags, tagToString, transformHtmlTemplate, transformHtmlTemplateRaw };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unhead",
3
3
  "type": "module",
4
- "version": "2.0.14",
4
+ "version": "2.0.17",
5
5
  "description": "Full-stack <head> manager built for any framework.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.20
2
+ * vue v3.5.22
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.5.20
2
+ * vue v3.5.22
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue",
3
- "version": "3.5.20",
3
+ "version": "3.5.22",
4
4
  "description": "The progressive JavaScript framework for building modern web UI.",
5
5
  "main": "index.js",
6
6
  "module": "dist/vue.runtime.esm-bundler.js",
@@ -95,11 +95,11 @@
95
95
  },
96
96
  "homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
97
97
  "dependencies": {
98
- "@vue/shared": "3.5.20",
99
- "@vue/compiler-dom": "3.5.20",
100
- "@vue/runtime-dom": "3.5.20",
101
- "@vue/compiler-sfc": "3.5.20",
102
- "@vue/server-renderer": "3.5.20"
98
+ "@vue/shared": "3.5.22",
99
+ "@vue/compiler-dom": "3.5.22",
100
+ "@vue/runtime-dom": "3.5.22",
101
+ "@vue/compiler-sfc": "3.5.22",
102
+ "@vue/server-renderer": "3.5.22"
103
103
  },
104
104
  "peerDependencies": {
105
105
  "typescript": "*"