@highstate/designer 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/-gUCin__.js +1 -0
  3. package/.output/public/_nuxt/0cvrggvQ.js +6 -0
  4. package/.output/public/_nuxt/1FBXtL6T.js +1 -0
  5. package/.output/public/_nuxt/25W9uPmb.js +6 -0
  6. package/.output/public/_nuxt/2vEc2rIP.js +1 -0
  7. package/.output/public/_nuxt/32uRPJ4N.js +1 -0
  8. package/.output/public/_nuxt/3e1v2bzS.js +1 -0
  9. package/.output/public/_nuxt/3x3noH9Z.js +1 -0
  10. package/.output/public/_nuxt/4Ik7cdeQ.js +8 -0
  11. package/.output/public/_nuxt/5Rap-vPy.js +6 -0
  12. package/.output/public/_nuxt/5i3qLPDT.js +1 -0
  13. package/.output/public/_nuxt/6nHXG8SA.js +1 -0
  14. package/.output/public/_nuxt/7i6GEmcB.js +1 -0
  15. package/.output/public/_nuxt/8VYUoF4n.js +1 -0
  16. package/.output/public/_nuxt/8iK_SAcF.js +1 -0
  17. package/.output/public/_nuxt/8p8hHNKb.js +6 -0
  18. package/.output/public/_nuxt/B-n0qIwP.js +1 -0
  19. package/.output/public/_nuxt/B03wrqEc.js +6 -0
  20. package/.output/public/_nuxt/B0QpCHAm.js +1 -0
  21. package/.output/public/_nuxt/B0m2ddpp.js +1 -0
  22. package/.output/public/_nuxt/B1yitclQ.js +1 -0
  23. package/.output/public/_nuxt/B2VXiYNb.js +1 -0
  24. package/.output/public/_nuxt/B2yha3tK.js +6 -0
  25. package/.output/public/_nuxt/B5zXfXm9.js +6 -0
  26. package/.output/public/_nuxt/B7mTdjB0.js +1 -0
  27. package/.output/public/_nuxt/B7zkapVa.js +1 -0
  28. package/.output/public/_nuxt/B82-JnRn.js +1 -0
  29. package/.output/public/_nuxt/B9Kps4VT.js +1 -0
  30. package/.output/public/_nuxt/B9QVBjCK.js +1 -0
  31. package/.output/public/_nuxt/B9QZihn4.js +1 -0
  32. package/.output/public/_nuxt/B9Xyijhd.js +6 -0
  33. package/.output/public/_nuxt/BAmeXbWa.js +1 -0
  34. package/.output/public/_nuxt/BAsAT7ku.js +1 -0
  35. package/.output/public/_nuxt/BB0-839A.js +1 -0
  36. package/.output/public/_nuxt/BBdd5e-P.js +6 -0
  37. package/.output/public/_nuxt/BDJi0rE3.js +1 -0
  38. package/.output/public/_nuxt/BEwlwnbL.js +1 -0
  39. package/.output/public/_nuxt/BFG1Mk7z.js +6 -0
  40. package/.output/public/_nuxt/BFKVEqu8.js +1 -0
  41. package/.output/public/_nuxt/BFVdkX1U.js +1 -0
  42. package/.output/public/_nuxt/BFdI9D2b.js +1 -0
  43. package/.output/public/_nuxt/BG8T9Pi3.js +1 -0
  44. package/.output/public/_nuxt/BHrmToEH.js +1 -0
  45. package/.output/public/_nuxt/BHuRbl13.js +1 -0
  46. package/.output/public/_nuxt/BIHI7g3E.js +1 -0
  47. package/.output/public/_nuxt/BIkblFNm.js +1 -0
  48. package/.output/public/_nuxt/BInbHe_J.js +1 -0
  49. package/.output/public/_nuxt/BIzIjuvV.js +1 -0
  50. package/.output/public/_nuxt/BJCLCDEU.js +1 -0
  51. package/.output/public/_nuxt/BKLW6Or0.js +1 -0
  52. package/.output/public/_nuxt/BKe6jfpc.js +1 -0
  53. package/.output/public/_nuxt/BKlk5iyT.js +6 -0
  54. package/.output/public/_nuxt/BLe-5KzV.js +1 -0
  55. package/.output/public/_nuxt/BMWR74SV.js +1 -0
  56. package/.output/public/_nuxt/BNKpk_J-.js +6 -0
  57. package/.output/public/_nuxt/BPQEJVH-.js +1 -0
  58. package/.output/public/_nuxt/BQ8w6xss.js +1 -0
  59. package/.output/public/_nuxt/BR7mELCv.js +1 -0
  60. package/.output/public/_nuxt/BRGHnwaO.js +1 -0
  61. package/.output/public/_nuxt/BRZ36xJF.js +1 -0
  62. package/.output/public/_nuxt/BSkB5QuD.js +6 -0
  63. package/.output/public/_nuxt/BTJTHyun.js +1 -0
  64. package/.output/public/_nuxt/BU0udk1K.js +1 -0
  65. package/.output/public/_nuxt/BUGa-R-r.js +1 -0
  66. package/.output/public/_nuxt/BV7otONQ.js +1 -0
  67. package/.output/public/_nuxt/BVgHyAf_.js +1 -0
  68. package/.output/public/_nuxt/BWvSN4gD.js +1 -0
  69. package/.output/public/_nuxt/BXkSAIEj.js +1 -0
  70. package/.output/public/_nuxt/B_c3zf-v.js +6 -0
  71. package/.output/public/_nuxt/B_fMsGYe.js +6 -0
  72. package/.output/public/_nuxt/B_m7g4N7.js +1 -0
  73. package/.output/public/_nuxt/BaJupSGV.js +6 -0
  74. package/.output/public/_nuxt/BaLxmfj-.js +6 -0
  75. package/.output/public/_nuxt/BauLn-NW.js +1 -0
  76. package/.output/public/_nuxt/BbcW6ACK.js +1 -0
  77. package/.output/public/_nuxt/Bc-MNOVW.js +1 -0
  78. package/.output/public/_nuxt/Bc-ZgV77.js +6 -0
  79. package/.output/public/_nuxt/Bc5W3P_y.js +1 -0
  80. package/.output/public/_nuxt/BcOcwvcX.js +1 -0
  81. package/.output/public/_nuxt/BdBarL6S.js +1 -0
  82. package/.output/public/_nuxt/BdnUsdx6.js +1 -0
  83. package/.output/public/_nuxt/BfB9GJr7.js +1 -0
  84. package/.output/public/_nuxt/BfEKNvv3.js +7 -0
  85. package/.output/public/_nuxt/BfHTSMKl.js +1 -0
  86. package/.output/public/_nuxt/BfjtVDDH.js +1 -0
  87. package/.output/public/_nuxt/BgDCqdQA.js +1 -0
  88. package/.output/public/_nuxt/BgLz8NXr.js +1 -0
  89. package/.output/public/_nuxt/BgWFZNIN.js +1 -0
  90. package/.output/public/_nuxt/Bhzvs7bI.js +6 -0
  91. package/.output/public/_nuxt/Bio4gycK.js +6 -0
  92. package/.output/public/_nuxt/BjMo22yv.js +1 -0
  93. package/.output/public/_nuxt/BkPM1oy1.js +1 -0
  94. package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
  95. package/.output/public/_nuxt/Bl2oy6fF.js +1 -0
  96. package/.output/public/_nuxt/BlI8fBv_.js +1 -0
  97. package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
  98. package/.output/public/_nuxt/BoASPUxF.js +1 -0
  99. package/.output/public/_nuxt/BoFRg7Ot.js +6 -0
  100. package/.output/public/_nuxt/BoKiGodi.js +1 -0
  101. package/.output/public/_nuxt/Bp6g37R7.js +1 -0
  102. package/.output/public/_nuxt/Bp_PLy4w.js +1 -0
  103. package/.output/public/_nuxt/Bqgm2twL.js +6 -0
  104. package/.output/public/_nuxt/BrgZPUOV.js +6 -0
  105. package/.output/public/_nuxt/BsS91CYL.js +1 -0
  106. package/.output/public/_nuxt/BsTHnhdd.js +7 -0
  107. package/.output/public/_nuxt/BthQWCQV.js +1 -0
  108. package/.output/public/_nuxt/Btyk0a-E.js +1 -0
  109. package/.output/public/_nuxt/Buea-lGh.js +1 -0
  110. package/.output/public/_nuxt/Bv2DfwTI.js +1 -0
  111. package/.output/public/_nuxt/BvCpsbMi.js +1 -0
  112. package/.output/public/_nuxt/Bw305WKR.js +1 -0
  113. package/.output/public/_nuxt/Bx8CTVFK.js +1 -0
  114. package/.output/public/_nuxt/BzJJZx-M.js +1 -0
  115. package/.output/public/_nuxt/BzgE5b26.js +1 -0
  116. package/.output/public/_nuxt/C-LNjlSw.js +1 -0
  117. package/.output/public/_nuxt/C-SQnVFl.js +1 -0
  118. package/.output/public/_nuxt/C0HS_06l.js +1 -0
  119. package/.output/public/_nuxt/C151Ov-r.js +1 -0
  120. package/.output/public/_nuxt/C1s3v70Z.js +1 -0
  121. package/.output/public/_nuxt/C2pHKz2C.js +1 -0
  122. package/.output/public/_nuxt/C2t-YnRu.js +1 -0
  123. package/.output/public/_nuxt/C39BiMTA.js +1 -0
  124. package/.output/public/_nuxt/C3B-1QV4.js +1 -0
  125. package/.output/public/_nuxt/C3khCPGq.js +1 -0
  126. package/.output/public/_nuxt/C3mMm8J8.js +1 -0
  127. package/.output/public/_nuxt/C4IJs8-o.js +1 -0
  128. package/.output/public/_nuxt/C5CPwoy2.js +1 -0
  129. package/.output/public/_nuxt/C5DMNY_Y.js +1 -0
  130. package/.output/public/_nuxt/C5WLch3f.js +6 -0
  131. package/.output/public/_nuxt/C8M2exoo.js +1 -0
  132. package/.output/public/_nuxt/C8_cZGvL.js +1 -0
  133. package/.output/public/_nuxt/C8lEn-DE.js +1 -0
  134. package/.output/public/_nuxt/C9-wYoAy.js +1 -0
  135. package/.output/public/_nuxt/C96HV_dC.js +1 -0
  136. package/.output/public/_nuxt/C9lfyjdU.js +1 -0
  137. package/.output/public/_nuxt/C9sg6759.js +1 -0
  138. package/.output/public/_nuxt/C9tS-k6U.js +1 -0
  139. package/.output/public/_nuxt/CBs8Keu3.js +1 -0
  140. package/.output/public/_nuxt/CCLpvtro.js +1 -0
  141. package/.output/public/_nuxt/CCSDG5nI.js +6 -0
  142. package/.output/public/_nuxt/CChMg1-B.js +1 -0
  143. package/.output/public/_nuxt/CCouqEzj.js +1 -0
  144. package/.output/public/_nuxt/CDCQC_zV.js +1 -0
  145. package/.output/public/_nuxt/CDGzqUPQ.js +6 -0
  146. package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
  147. package/.output/public/_nuxt/CDntyWJ8.js +6 -0
  148. package/.output/public/_nuxt/CEizyJ1q.js +1 -0
  149. package/.output/public/_nuxt/CEu0bR-o.js +1 -0
  150. package/.output/public/_nuxt/CF10PKvl.js +1 -0
  151. package/.output/public/_nuxt/CFJys5tQ.js +1 -0
  152. package/.output/public/_nuxt/CFKIUWau.js +6 -0
  153. package/.output/public/_nuxt/CFOPXBzS.js +6 -0
  154. package/.output/public/_nuxt/CFetOo1p.js +1 -0
  155. package/.output/public/_nuxt/CFfumueS.js +1 -0
  156. package/.output/public/_nuxt/CG6Dc4jp.js +1 -0
  157. package/.output/public/_nuxt/CHM0blh-.js +1 -0
  158. package/.output/public/_nuxt/CHadp7IV.js +1 -0
  159. package/.output/public/_nuxt/CJ1eVxFS.js +1 -0
  160. package/.output/public/_nuxt/CK-KhNJq.js +1 -0
  161. package/.output/public/_nuxt/CKfMBS6n.js +1 -0
  162. package/.output/public/_nuxt/CLLBncYj.js +6 -0
  163. package/.output/public/_nuxt/CNgRkp1_.js +1 -0
  164. package/.output/public/_nuxt/COqw26dr.js +1 -0
  165. package/.output/public/_nuxt/COyEY5Pt.js +7 -0
  166. package/.output/public/_nuxt/CPajHgWi.js +6 -0
  167. package/.output/public/_nuxt/CS3Unz2-.js +1 -0
  168. package/.output/public/_nuxt/CSgDAwbP.js +1 -0
  169. package/.output/public/_nuxt/CTRr51gU.js +1 -0
  170. package/.output/public/_nuxt/CVO1_9PV.js +1 -0
  171. package/.output/public/_nuxt/CVTao1yP.js +1 -0
  172. package/.output/public/_nuxt/CVwtpugi.js +6 -0
  173. package/.output/public/_nuxt/CW2Vrioc.js +1 -0
  174. package/.output/public/_nuxt/CX-rkNHf.js +6 -0
  175. package/.output/public/_nuxt/CXOwvkN_.js +6 -0
  176. package/.output/public/_nuxt/CXTBPihj.js +1 -0
  177. package/.output/public/_nuxt/CXtECtnM.js +1 -0
  178. package/.output/public/_nuxt/CYBft37h.js +1 -0
  179. package/.output/public/_nuxt/CYoF9-Z5.js +1 -0
  180. package/.output/public/_nuxt/CYx6PXAq.js +1 -0
  181. package/.output/public/_nuxt/CafNBF8u.js +1 -0
  182. package/.output/public/_nuxt/CbfX1IO0.js +1 -0
  183. package/.output/public/_nuxt/Cc-FHe7z.js +1 -0
  184. package/.output/public/_nuxt/CdQndTaG.js +6 -0
  185. package/.output/public/_nuxt/Ce3n6wWz.js +6 -0
  186. package/.output/public/_nuxt/CeDfCXaY.js +1 -0
  187. package/.output/public/_nuxt/CfQXZHmo.js +1 -0
  188. package/.output/public/_nuxt/Cg7bfA9N.js +6 -0
  189. package/.output/public/_nuxt/Chm2_3hY.js +1 -0
  190. package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
  191. package/.output/public/_nuxt/CkXjmgJE.js +1 -0
  192. package/.output/public/_nuxt/ClSdsI-R.js +1 -0
  193. package/.output/public/_nuxt/Cm8RCLWU.js +1 -0
  194. package/.output/public/_nuxt/Cn55uXmY.js +1 -0
  195. package/.output/public/_nuxt/CnK8MTSM.js +1 -0
  196. package/.output/public/_nuxt/Coaw_UDX.js +6 -0
  197. package/.output/public/_nuxt/Coy0nst6.js +1 -0
  198. package/.output/public/_nuxt/Cp-IABpG.js +1 -0
  199. package/.output/public/_nuxt/Cp1zYvxS.js +6 -0
  200. package/.output/public/_nuxt/CpIb_Oan.js +6 -0
  201. package/.output/public/_nuxt/Cpb6xl2v.js +6 -0
  202. package/.output/public/_nuxt/Cphgjts3.js +6 -0
  203. package/.output/public/_nuxt/Cpx7UCi2.js +1 -0
  204. package/.output/public/_nuxt/Cqtoupvr.js +1 -0
  205. package/.output/public/_nuxt/CquLrc37.js +1 -0
  206. package/.output/public/_nuxt/CrUG655c.js +1 -0
  207. package/.output/public/_nuxt/CrsuDi_R.js +6 -0
  208. package/.output/public/_nuxt/CrtRcjh8.js +1 -0
  209. package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
  210. package/.output/public/_nuxt/CtIj0LFu.js +1 -0
  211. package/.output/public/_nuxt/CtpALBBA.js +1 -0
  212. package/.output/public/_nuxt/CtrldY6v.js +1 -0
  213. package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
  214. package/.output/public/_nuxt/Cv9koXgw.js +1 -0
  215. package/.output/public/_nuxt/CwNk8-XU.js +6 -0
  216. package/.output/public/_nuxt/CwwkfVSR.js +1 -0
  217. package/.output/public/_nuxt/CxGSJlkm.js +1 -0
  218. package/.output/public/_nuxt/CyktbL80.js +1 -0
  219. package/.output/public/_nuxt/CzKuDChf.js +6 -0
  220. package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
  221. package/.output/public/_nuxt/D-6xwGAn.js +6 -0
  222. package/.output/public/_nuxt/D-MeaMDU.js +6 -0
  223. package/.output/public/_nuxt/D08WgyRC.js +1 -0
  224. package/.output/public/_nuxt/D0YGMca9.js +1 -0
  225. package/.output/public/_nuxt/D0r3Knsf.js +1 -0
  226. package/.output/public/_nuxt/D1HCxHaw.js +1 -0
  227. package/.output/public/_nuxt/D3h14YRZ.js +8 -0
  228. package/.output/public/_nuxt/D4h5O-jR.js +1 -0
  229. package/.output/public/_nuxt/D5-asLiD.js +1 -0
  230. package/.output/public/_nuxt/D5C2fndG.js +6 -0
  231. package/.output/public/_nuxt/D5KoaKCx.js +1 -0
  232. package/.output/public/_nuxt/D7oLnXFd.js +1 -0
  233. package/.output/public/_nuxt/D82EKSYY.js +1 -0
  234. package/.output/public/_nuxt/D97Zzqfu.js +1 -0
  235. package/.output/public/_nuxt/DAi9KRSo.js +1 -0
  236. package/.output/public/_nuxt/DC3yV9u3.js +1 -0
  237. package/.output/public/_nuxt/DCIw00iZ.js +1 -0
  238. package/.output/public/_nuxt/DDwshQtU.js +6 -0
  239. package/.output/public/_nuxt/DFFYXpeI.js +1 -0
  240. package/.output/public/_nuxt/DFR6f4Jn.js +1 -0
  241. package/.output/public/_nuxt/DFXneXwc.js +1 -0
  242. package/.output/public/_nuxt/DH0TeGmy.js +1 -0
  243. package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
  244. package/.output/public/_nuxt/DHJKELXO.js +1 -0
  245. package/.output/public/_nuxt/DHaeiCBh.js +6 -0
  246. package/.output/public/_nuxt/DHd_1LBM.js +1 -0
  247. package/.output/public/_nuxt/DJs7a6wl.js +1 -0
  248. package/.output/public/_nuxt/DLb4zeju.js +1 -0
  249. package/.output/public/_nuxt/DLpp9LvF.js +1 -0
  250. package/.output/public/_nuxt/DOiXYxxS.js +1 -0
  251. package/.output/public/_nuxt/DOyVva0m.js +8 -0
  252. package/.output/public/_nuxt/DPjEyH5T.js +1 -0
  253. package/.output/public/_nuxt/DREyJzTe.js +1 -0
  254. package/.output/public/_nuxt/DRg8JJMk.js +1 -0
  255. package/.output/public/_nuxt/DSZPf7rp.js +6 -0
  256. package/.output/public/_nuxt/DTECt2xU.js +6 -0
  257. package/.output/public/_nuxt/DU1UobuO.js +1 -0
  258. package/.output/public/_nuxt/DUszq2jm.js +1 -0
  259. package/.output/public/_nuxt/DUyX-Nai.js +1 -0
  260. package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
  261. package/.output/public/_nuxt/DVZd9B17.js +1 -0
  262. package/.output/public/_nuxt/DVxCFoDh.js +1 -0
  263. package/.output/public/_nuxt/DW9tJLXY.js +1 -0
  264. package/.output/public/_nuxt/DWedfzmr.js +1 -0
  265. package/.output/public/_nuxt/DXbdFlpD.js +1 -0
  266. package/.output/public/_nuxt/DXyYeYxl.js +6 -0
  267. package/.output/public/_nuxt/DYQUnd45.js +303 -0
  268. package/.output/public/_nuxt/D_3VmgUT.js +1 -0
  269. package/.output/public/_nuxt/D_T-aAMc.js +1 -0
  270. package/.output/public/_nuxt/Da4t7zrk.js +1 -0
  271. package/.output/public/_nuxt/Da5cRb03.js +1 -0
  272. package/.output/public/_nuxt/DbnbuKy4.js +1 -0
  273. package/.output/public/_nuxt/DcaNXYhu.js +1 -0
  274. package/.output/public/_nuxt/Dcsh5twl.js +1 -0
  275. package/.output/public/_nuxt/Dd19v3D-.js +1 -0
  276. package/.output/public/_nuxt/Dd3NCNK9.js +6 -0
  277. package/.output/public/_nuxt/Ddv68eIx.js +1 -0
  278. package/.output/public/_nuxt/Des-eS-w.js +1 -0
  279. package/.output/public/_nuxt/Df68jz8_.js +1 -0
  280. package/.output/public/_nuxt/Df6bDoY_.js +1 -0
  281. package/.output/public/_nuxt/DfYh35At.js +1 -0
  282. package/.output/public/_nuxt/DfbSQCnh.js +1 -0
  283. package/.output/public/_nuxt/DfzH4Xui.js +6 -0
  284. package/.output/public/_nuxt/DgWikGMS.js +1 -0
  285. package/.output/public/_nuxt/DgyLZaXg.js +6 -0
  286. package/.output/public/_nuxt/Dkp-fog0.js +9 -0
  287. package/.output/public/_nuxt/DkwncUOv.js +1 -0
  288. package/.output/public/_nuxt/DmN1BIHU.js +1 -0
  289. package/.output/public/_nuxt/DnHyzjbg.js +6 -0
  290. package/.output/public/_nuxt/DnULxvSX.js +1 -0
  291. package/.output/public/_nuxt/Dp7F1VOI.js +9 -0
  292. package/.output/public/_nuxt/DpWJAGvS.js +1 -0
  293. package/.output/public/_nuxt/Dql7v_Bn.js +1 -0
  294. package/.output/public/_nuxt/DqnT6WTg.js +1 -0
  295. package/.output/public/_nuxt/DqwNpetd.js +1 -0
  296. package/.output/public/_nuxt/DrQuvNYM.js +6 -0
  297. package/.output/public/_nuxt/Drc7WvVn.js +6 -0
  298. package/.output/public/_nuxt/DtXx6hVj.js +1 -0
  299. package/.output/public/_nuxt/DwJ7jVG9.js +8 -0
  300. package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
  301. package/.output/public/_nuxt/DyJlTyXw.js +1 -0
  302. package/.output/public/_nuxt/DyP6w7ZV.js +6 -0
  303. package/.output/public/_nuxt/Dykf6cri.js +1 -0
  304. package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
  305. package/.output/public/_nuxt/E_RAAYUa.js +1 -0
  306. package/.output/public/_nuxt/G3-HApOe.js +1 -0
  307. package/.output/public/_nuxt/GXefNOxV.js +1 -0
  308. package/.output/public/_nuxt/Hhtzho9R.js +1 -0
  309. package/.output/public/_nuxt/L9t79GZl.js +1 -0
  310. package/.output/public/_nuxt/LUZpk28X.js +1 -0
  311. package/.output/public/_nuxt/LoOpS6-W.js +1122 -0
  312. package/.output/public/_nuxt/M64VA-8k.js +1 -0
  313. package/.output/public/_nuxt/NleAzG8P.js +1 -0
  314. package/.output/public/_nuxt/Ou6kGHs0.js +6 -0
  315. package/.output/public/_nuxt/P80f7IUj.js +1 -0
  316. package/.output/public/_nuxt/P9Jyl3kd.js +1 -0
  317. package/.output/public/_nuxt/PDBGRe-6.js +1 -0
  318. package/.output/public/_nuxt/Pmp26Uib.js +1 -0
  319. package/.output/public/_nuxt/PoHY5YXO.js +1 -0
  320. package/.output/public/_nuxt/QIJgUcNo.js +1 -0
  321. package/.output/public/_nuxt/QX45V2Sx.js +1 -0
  322. package/.output/public/_nuxt/RUaqLVwG.js +1 -0
  323. package/.output/public/_nuxt/SN78sQLf.js +1 -0
  324. package/.output/public/_nuxt/SpSV0q3Y.js +1 -0
  325. package/.output/public/_nuxt/Tw7wswEv.js +6 -0
  326. package/.output/public/_nuxt/WZprGpd_.js +1 -0
  327. package/.output/public/_nuxt/Wlg0E1_o.js +1 -0
  328. package/.output/public/_nuxt/WwEXBnAl.js +1 -0
  329. package/.output/public/_nuxt/Y7AfTJ_q.js +1 -0
  330. package/.output/public/_nuxt/YKhVXekE.js +6 -0
  331. package/.output/public/_nuxt/YWi4-JPR.js +6 -0
  332. package/.output/public/_nuxt/Z9sDDOrt.js +1 -0
  333. package/.output/public/_nuxt/Zznr-cwX.js +6 -0
  334. package/.output/public/_nuxt/_ykCGR6B.js +1 -0
  335. package/.output/public/_nuxt/afimtvtX.js +1 -0
  336. package/.output/public/_nuxt/bN70gL4F.js +1 -0
  337. package/.output/public/_nuxt/bbDxRicf.js +1 -0
  338. package/.output/public/_nuxt/brDaU2vB.js +1 -0
  339. package/.output/public/_nuxt/builds/latest.json +1 -0
  340. package/.output/public/_nuxt/builds/meta/1b406212-b25a-4e7f-827b-097f816c087b.json +1 -0
  341. package/.output/public/_nuxt/cP9hzipi.js +1 -0
  342. package/.output/public/_nuxt/caUT6aIO.js +1 -0
  343. package/.output/public/_nuxt/codicon.DCmgc-ay.ttf +0 -0
  344. package/.output/public/_nuxt/dUCx_-0o.js +6 -0
  345. package/.output/public/_nuxt/deUWdS0T.js +6 -0
  346. package/.output/public/_nuxt/diaQH6uK.js +1 -0
  347. package/.output/public/_nuxt/dwOrl1Do.js +1 -0
  348. package/.output/public/_nuxt/edge-router-BFNVMcBx.js +4 -0
  349. package/.output/public/_nuxt/editor.worker-B6Jl4jUd.js +12 -0
  350. package/.output/public/_nuxt/enPR0-Fz.js +1 -0
  351. package/.output/public/_nuxt/entry.DXDO6kt2.css +5 -0
  352. package/.output/public/_nuxt/error-404.D7tj2jQK.css +1 -0
  353. package/.output/public/_nuxt/error-500.TOCKLquH.css +1 -0
  354. package/.output/public/_nuxt/fuZLfV_i.js +1 -0
  355. package/.output/public/_nuxt/fve9TYiY.js +1 -0
  356. package/.output/public/_nuxt/gI3nN7Ut.js +1 -0
  357. package/.output/public/_nuxt/graph-layout-CVosnvhn.js +1 -0
  358. package/.output/public/_nuxt/graph-resolver-DGViKqWe.js +8 -0
  359. package/.output/public/_nuxt/gsC4jtYg.js +1 -0
  360. package/.output/public/_nuxt/h0LN4FIn.js +1 -0
  361. package/.output/public/_nuxt/hIfYPPDs.js +1 -0
  362. package/.output/public/_nuxt/hegEt444.js +1 -0
  363. package/.output/public/_nuxt/i9-g7ZhI.js +6 -0
  364. package/.output/public/_nuxt/itr3s8OG.js +1 -0
  365. package/.output/public/_nuxt/kdhEWpvT.js +1 -0
  366. package/.output/public/_nuxt/leinZj1a.js +1 -0
  367. package/.output/public/_nuxt/lrsjGwJC.js +1 -0
  368. package/.output/public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2 +0 -0
  369. package/.output/public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf +0 -0
  370. package/.output/public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff +0 -0
  371. package/.output/public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot +0 -0
  372. package/.output/public/_nuxt/mtNz0_Xw.js +1 -0
  373. package/.output/public/_nuxt/nf6ki56Z.js +6 -0
  374. package/.output/public/_nuxt/nsowKw4B.js +1 -0
  375. package/.output/public/_nuxt/obT3sI9W.js +15 -0
  376. package/.output/public/_nuxt/os-I7NdE.js +1 -0
  377. package/.output/public/_nuxt/pnP8ivHi.js +6 -0
  378. package/.output/public/_nuxt/q-j0iyEw.js +1 -0
  379. package/.output/public/_nuxt/rUNN04Wq.js +6 -0
  380. package/.output/public/_nuxt/ryoHgIpY.js +1 -0
  381. package/.output/public/_nuxt/tGk8EFnU.js +6 -0
  382. package/.output/public/_nuxt/vYowaR43.js +16 -0
  383. package/.output/public/_nuxt/wef_wrfO.js +1 -0
  384. package/.output/public/_nuxt/xqGqC3LV.js +6 -0
  385. package/.output/public/_nuxt/y_XAX2KJ.js +1 -0
  386. package/.output/public/_nuxt/yaml.worker-B8S0iqeR.js +411 -0
  387. package/.output/public/_nuxt/zH8SnKTm.js +1 -0
  388. package/.output/public/favicon.ico +0 -0
  389. package/.output/public/libavoid.wasm +0 -0
  390. package/.output/public/robots.txt +1 -0
  391. package/.output/server/index.mjs +19022 -0
  392. package/.output/server/index.mjs.map +1 -0
  393. package/.output/server/node_modules/@babel/parser/lib/index.js +14246 -0
  394. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  395. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/fetchRequestHandler.mjs +74 -0
  396. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +1 -0
  397. package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/incomingMessageToRequest.mjs +119 -0
  398. package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/index.mjs +2 -0
  399. package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/nodeHTTPRequestHandler.mjs +92 -0
  400. package/.output/server/node_modules/@trpc/server/dist/adapters/node-http/writeResponse.mjs +79 -0
  401. package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +521 -0
  402. package/.output/server/node_modules/@trpc/server/dist/index.mjs +12 -0
  403. package/.output/server/node_modules/@trpc/server/dist/observable/observable.mjs +175 -0
  404. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/createProxy.mjs +73 -0
  405. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/TRPCError.mjs +79 -0
  406. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/formatter.mjs +5 -0
  407. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/getErrorShape.mjs +29 -0
  408. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/abortError.mjs +10 -0
  409. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentType.mjs +229 -0
  410. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/getHTTPStatusCode.mjs +76 -0
  411. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/parseConnectionParams.mjs +39 -0
  412. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs +570 -0
  413. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/initTRPC.mjs +80 -0
  414. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/middleware.mjs +90 -0
  415. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/parser.mjs +52 -0
  416. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedure.mjs +7 -0
  417. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs +198 -0
  418. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rootConfig.mjs +6 -0
  419. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs +278 -0
  420. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/codes.mjs +54 -0
  421. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/parseTRPCMessage.mjs +61 -0
  422. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/jsonl.mjs +603 -0
  423. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/sse.mjs +369 -0
  424. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/tracked.mjs +25 -0
  425. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +165 -0
  426. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +15 -0
  427. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/disposable.mjs +43 -0
  428. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/mergeAsyncIterables.mjs +239 -0
  429. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.mjs +23 -0
  430. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/timerResource.mjs +23 -0
  431. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +127 -0
  432. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/transformer.mjs +101 -0
  433. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/utils.mjs +83 -0
  434. package/.output/server/node_modules/@trpc/server/dist/vendor/standard-schema-v1/error.mjs +26 -0
  435. package/.output/server/node_modules/@trpc/server/dist/vendor/unpromise/unpromise.mjs +289 -0
  436. package/.output/server/node_modules/@trpc/server/package.json +156 -0
  437. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
  438. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  439. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  440. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  441. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
  442. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  443. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
  444. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  445. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
  446. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  447. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
  448. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  449. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  450. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  451. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  452. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  453. package/.output/server/node_modules/devalue/index.js +3 -0
  454. package/.output/server/node_modules/devalue/package.json +34 -0
  455. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  456. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  457. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  458. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  459. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  460. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  461. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  462. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  463. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  464. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  465. package/.output/server/node_modules/entities/package.json +90 -0
  466. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  467. package/.output/server/node_modules/estree-walker/package.json +37 -0
  468. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  469. package/.output/server/node_modules/hookable/package.json +49 -0
  470. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  471. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  472. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  473. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  474. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  475. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  476. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  477. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  478. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  479. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  480. package/.output/server/node_modules/source-map-js/package.json +71 -0
  481. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  482. package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
  483. package/.output/server/node_modules/ufo/package.json +47 -0
  484. package/.output/server/node_modules/unhead/dist/plugins.mjs +94 -0
  485. package/.output/server/node_modules/unhead/dist/server.mjs +220 -0
  486. package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
  487. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  488. package/.output/server/node_modules/unhead/dist/shared/unhead.Cp0iF6eN.mjs +177 -0
  489. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  490. package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
  491. package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
  492. package/.output/server/node_modules/unhead/dist/shared/unhead.Txd0XTIP.mjs +172 -0
  493. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  494. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  495. package/.output/server/node_modules/unhead/package.json +101 -0
  496. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  497. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  498. package/.output/server/node_modules/vue/index.js +7 -0
  499. package/.output/server/node_modules/vue/index.mjs +1 -0
  500. package/.output/server/node_modules/vue/package.json +112 -0
  501. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  502. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  503. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  504. package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
  505. package/.output/server/node_modules/ws/lib/constants.js +18 -0
  506. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  507. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  508. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  509. package/.output/server/node_modules/ws/lib/permessage-deflate.js +514 -0
  510. package/.output/server/node_modules/ws/lib/receiver.js +706 -0
  511. package/.output/server/node_modules/ws/lib/sender.js +602 -0
  512. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  513. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  514. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  515. package/.output/server/node_modules/ws/lib/websocket-server.js +540 -0
  516. package/.output/server/node_modules/ws/lib/websocket.js +1388 -0
  517. package/.output/server/node_modules/ws/package.json +69 -0
  518. package/.output/server/node_modules/ws/wrapper.mjs +8 -0
  519. package/.output/server/node_modules/zod/lib/index.mjs +4405 -0
  520. package/.output/server/node_modules/zod/package.json +122 -0
  521. package/.output/server/package.json +1 -0
  522. package/package.json +4 -4
@@ -0,0 +1,1404 @@
1
+ /**
2
+ * @vue/compiler-ssr v3.5.13
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ var compilerDom = require('@vue/compiler-dom');
11
+ var shared = require('@vue/shared');
12
+
13
+ const SSR_INTERPOLATE = Symbol(`ssrInterpolate`);
14
+ const SSR_RENDER_VNODE = Symbol(`ssrRenderVNode`);
15
+ const SSR_RENDER_COMPONENT = Symbol(`ssrRenderComponent`);
16
+ const SSR_RENDER_SLOT = Symbol(`ssrRenderSlot`);
17
+ const SSR_RENDER_SLOT_INNER = Symbol(`ssrRenderSlotInner`);
18
+ const SSR_RENDER_CLASS = Symbol(`ssrRenderClass`);
19
+ const SSR_RENDER_STYLE = Symbol(`ssrRenderStyle`);
20
+ const SSR_RENDER_ATTRS = Symbol(`ssrRenderAttrs`);
21
+ const SSR_RENDER_ATTR = Symbol(`ssrRenderAttr`);
22
+ const SSR_RENDER_DYNAMIC_ATTR = Symbol(`ssrRenderDynamicAttr`);
23
+ const SSR_RENDER_LIST = Symbol(`ssrRenderList`);
24
+ const SSR_INCLUDE_BOOLEAN_ATTR = Symbol(
25
+ `ssrIncludeBooleanAttr`
26
+ );
27
+ const SSR_LOOSE_EQUAL = Symbol(`ssrLooseEqual`);
28
+ const SSR_LOOSE_CONTAIN = Symbol(`ssrLooseContain`);
29
+ const SSR_RENDER_DYNAMIC_MODEL = Symbol(
30
+ `ssrRenderDynamicModel`
31
+ );
32
+ const SSR_GET_DYNAMIC_MODEL_PROPS = Symbol(
33
+ `ssrGetDynamicModelProps`
34
+ );
35
+ const SSR_RENDER_TELEPORT = Symbol(`ssrRenderTeleport`);
36
+ const SSR_RENDER_SUSPENSE = Symbol(`ssrRenderSuspense`);
37
+ const SSR_GET_DIRECTIVE_PROPS = Symbol(`ssrGetDirectiveProps`);
38
+ const ssrHelpers = {
39
+ [SSR_INTERPOLATE]: `ssrInterpolate`,
40
+ [SSR_RENDER_VNODE]: `ssrRenderVNode`,
41
+ [SSR_RENDER_COMPONENT]: `ssrRenderComponent`,
42
+ [SSR_RENDER_SLOT]: `ssrRenderSlot`,
43
+ [SSR_RENDER_SLOT_INNER]: `ssrRenderSlotInner`,
44
+ [SSR_RENDER_CLASS]: `ssrRenderClass`,
45
+ [SSR_RENDER_STYLE]: `ssrRenderStyle`,
46
+ [SSR_RENDER_ATTRS]: `ssrRenderAttrs`,
47
+ [SSR_RENDER_ATTR]: `ssrRenderAttr`,
48
+ [SSR_RENDER_DYNAMIC_ATTR]: `ssrRenderDynamicAttr`,
49
+ [SSR_RENDER_LIST]: `ssrRenderList`,
50
+ [SSR_INCLUDE_BOOLEAN_ATTR]: `ssrIncludeBooleanAttr`,
51
+ [SSR_LOOSE_EQUAL]: `ssrLooseEqual`,
52
+ [SSR_LOOSE_CONTAIN]: `ssrLooseContain`,
53
+ [SSR_RENDER_DYNAMIC_MODEL]: `ssrRenderDynamicModel`,
54
+ [SSR_GET_DYNAMIC_MODEL_PROPS]: `ssrGetDynamicModelProps`,
55
+ [SSR_RENDER_TELEPORT]: `ssrRenderTeleport`,
56
+ [SSR_RENDER_SUSPENSE]: `ssrRenderSuspense`,
57
+ [SSR_GET_DIRECTIVE_PROPS]: `ssrGetDirectiveProps`
58
+ };
59
+ compilerDom.registerRuntimeHelpers(ssrHelpers);
60
+
61
+ const ssrTransformIf = compilerDom.createStructuralDirectiveTransform(
62
+ /^(if|else|else-if)$/,
63
+ compilerDom.processIf
64
+ );
65
+ function ssrProcessIf(node, context, disableNestedFragments = false, disableComment = false) {
66
+ const [rootBranch] = node.branches;
67
+ const ifStatement = compilerDom.createIfStatement(
68
+ rootBranch.condition,
69
+ processIfBranch(rootBranch, context, disableNestedFragments)
70
+ );
71
+ context.pushStatement(ifStatement);
72
+ let currentIf = ifStatement;
73
+ for (let i = 1; i < node.branches.length; i++) {
74
+ const branch = node.branches[i];
75
+ const branchBlockStatement = processIfBranch(
76
+ branch,
77
+ context,
78
+ disableNestedFragments
79
+ );
80
+ if (branch.condition) {
81
+ currentIf = currentIf.alternate = compilerDom.createIfStatement(
82
+ branch.condition,
83
+ branchBlockStatement
84
+ );
85
+ } else {
86
+ currentIf.alternate = branchBlockStatement;
87
+ }
88
+ }
89
+ if (!currentIf.alternate && !disableComment) {
90
+ currentIf.alternate = compilerDom.createBlockStatement([
91
+ compilerDom.createCallExpression(`_push`, ["`<!---->`"])
92
+ ]);
93
+ }
94
+ }
95
+ function processIfBranch(branch, context, disableNestedFragments = false) {
96
+ const { children } = branch;
97
+ const needFragmentWrapper = !disableNestedFragments && (children.length !== 1 || children[0].type !== 1) && // optimize away nested fragments when the only child is a ForNode
98
+ !(children.length === 1 && children[0].type === 11);
99
+ return processChildrenAsStatement(branch, context, needFragmentWrapper);
100
+ }
101
+
102
+ const ssrTransformFor = compilerDom.createStructuralDirectiveTransform("for", compilerDom.processFor);
103
+ function ssrProcessFor(node, context, disableNestedFragments = false) {
104
+ const needFragmentWrapper = !disableNestedFragments && (node.children.length !== 1 || node.children[0].type !== 1);
105
+ const renderLoop = compilerDom.createFunctionExpression(
106
+ compilerDom.createForLoopParams(node.parseResult)
107
+ );
108
+ renderLoop.body = processChildrenAsStatement(
109
+ node,
110
+ context,
111
+ needFragmentWrapper
112
+ );
113
+ if (!disableNestedFragments) {
114
+ context.pushStringPart(`<!--[-->`);
115
+ }
116
+ context.pushStatement(
117
+ compilerDom.createCallExpression(context.helper(SSR_RENDER_LIST), [
118
+ node.source,
119
+ renderLoop
120
+ ])
121
+ );
122
+ if (!disableNestedFragments) {
123
+ context.pushStringPart(`<!--]-->`);
124
+ }
125
+ }
126
+
127
+ const ssrTransformSlotOutlet = (node, context) => {
128
+ if (compilerDom.isSlotOutlet(node)) {
129
+ const { slotName, slotProps } = compilerDom.processSlotOutlet(node, context);
130
+ const args = [
131
+ `_ctx.$slots`,
132
+ slotName,
133
+ slotProps || `{}`,
134
+ // fallback content placeholder. will be replaced in the process phase
135
+ `null`,
136
+ `_push`,
137
+ `_parent`
138
+ ];
139
+ if (context.scopeId && context.slotted !== false) {
140
+ args.push(`"${context.scopeId}-s"`);
141
+ }
142
+ let method = SSR_RENDER_SLOT;
143
+ let parent = context.parent;
144
+ if (parent) {
145
+ const children = parent.children;
146
+ if (parent.type === 10) {
147
+ parent = context.grandParent;
148
+ }
149
+ let componentType;
150
+ if (parent.type === 1 && parent.tagType === 1 && ((componentType = compilerDom.resolveComponentType(parent, context, true)) === compilerDom.TRANSITION || componentType === compilerDom.TRANSITION_GROUP) && children.filter((c) => c.type === 1).length === 1) {
151
+ method = SSR_RENDER_SLOT_INNER;
152
+ if (!(context.scopeId && context.slotted !== false)) {
153
+ args.push("null");
154
+ }
155
+ args.push("true");
156
+ }
157
+ }
158
+ node.ssrCodegenNode = compilerDom.createCallExpression(context.helper(method), args);
159
+ }
160
+ };
161
+ function ssrProcessSlotOutlet(node, context) {
162
+ const renderCall = node.ssrCodegenNode;
163
+ if (node.children.length) {
164
+ const fallbackRenderFn = compilerDom.createFunctionExpression([]);
165
+ fallbackRenderFn.body = processChildrenAsStatement(node, context);
166
+ renderCall.arguments[3] = fallbackRenderFn;
167
+ }
168
+ if (context.withSlotScopeId) {
169
+ const slotScopeId = renderCall.arguments[6];
170
+ renderCall.arguments[6] = slotScopeId ? `${slotScopeId} + _scopeId` : `_scopeId`;
171
+ }
172
+ context.pushStatement(node.ssrCodegenNode);
173
+ }
174
+
175
+ function createSSRCompilerError(code, loc) {
176
+ return compilerDom.createCompilerError(code, loc, SSRErrorMessages);
177
+ }
178
+ const SSRErrorMessages = {
179
+ [65]: `Unsafe attribute name for SSR.`,
180
+ [66]: `Missing the 'to' prop on teleport element.`,
181
+ [67]: `Invalid AST node during SSR transform.`
182
+ };
183
+
184
+ function ssrProcessTeleport(node, context) {
185
+ const targetProp = compilerDom.findProp(node, "to");
186
+ if (!targetProp) {
187
+ context.onError(
188
+ createSSRCompilerError(66, node.loc)
189
+ );
190
+ return;
191
+ }
192
+ let target;
193
+ if (targetProp.type === 6) {
194
+ target = targetProp.value && compilerDom.createSimpleExpression(targetProp.value.content, true);
195
+ } else {
196
+ target = targetProp.exp;
197
+ }
198
+ if (!target) {
199
+ context.onError(
200
+ createSSRCompilerError(
201
+ 66,
202
+ targetProp.loc
203
+ )
204
+ );
205
+ return;
206
+ }
207
+ const disabledProp = compilerDom.findProp(
208
+ node,
209
+ "disabled",
210
+ false,
211
+ true
212
+ /* allow empty */
213
+ );
214
+ const disabled = disabledProp ? disabledProp.type === 6 ? `true` : disabledProp.exp || `false` : `false`;
215
+ const contentRenderFn = compilerDom.createFunctionExpression(
216
+ [`_push`],
217
+ void 0,
218
+ // Body is added later
219
+ true,
220
+ // newline
221
+ false,
222
+ // isSlot
223
+ node.loc
224
+ );
225
+ contentRenderFn.body = processChildrenAsStatement(node, context);
226
+ context.pushStatement(
227
+ compilerDom.createCallExpression(context.helper(SSR_RENDER_TELEPORT), [
228
+ `_push`,
229
+ contentRenderFn,
230
+ target,
231
+ disabled,
232
+ `_parent`
233
+ ])
234
+ );
235
+ }
236
+
237
+ const wipMap$3 = /* @__PURE__ */ new WeakMap();
238
+ function ssrTransformSuspense(node, context) {
239
+ return () => {
240
+ if (node.children.length) {
241
+ const wipEntry = {
242
+ slotsExp: null,
243
+ // to be immediately set
244
+ wipSlots: []
245
+ };
246
+ wipMap$3.set(node, wipEntry);
247
+ wipEntry.slotsExp = compilerDom.buildSlots(
248
+ node,
249
+ context,
250
+ (_props, _vForExp, children, loc) => {
251
+ const fn = compilerDom.createFunctionExpression(
252
+ [],
253
+ void 0,
254
+ // no return, assign body later
255
+ true,
256
+ // newline
257
+ false,
258
+ // suspense slots are not treated as normal slots
259
+ loc
260
+ );
261
+ wipEntry.wipSlots.push({
262
+ fn,
263
+ children
264
+ });
265
+ return fn;
266
+ }
267
+ ).slots;
268
+ }
269
+ };
270
+ }
271
+ function ssrProcessSuspense(node, context) {
272
+ const wipEntry = wipMap$3.get(node);
273
+ if (!wipEntry) {
274
+ return;
275
+ }
276
+ const { slotsExp, wipSlots } = wipEntry;
277
+ for (let i = 0; i < wipSlots.length; i++) {
278
+ const slot = wipSlots[i];
279
+ slot.fn.body = processChildrenAsStatement(slot, context);
280
+ }
281
+ context.pushStatement(
282
+ compilerDom.createCallExpression(context.helper(SSR_RENDER_SUSPENSE), [
283
+ `_push`,
284
+ slotsExp
285
+ ])
286
+ );
287
+ }
288
+
289
+ const rawChildrenMap = /* @__PURE__ */ new WeakMap();
290
+ const ssrTransformElement = (node, context) => {
291
+ if (node.type !== 1 || node.tagType !== 0) {
292
+ return;
293
+ }
294
+ return function ssrPostTransformElement() {
295
+ const openTag = [`<${node.tag}`];
296
+ const needTagForRuntime = node.tag === "textarea" || node.tag.indexOf("-") > 0;
297
+ const hasDynamicVBind = compilerDom.hasDynamicKeyVBind(node);
298
+ const hasCustomDir = node.props.some(
299
+ (p) => p.type === 7 && !shared.isBuiltInDirective(p.name)
300
+ );
301
+ const needMergeProps = hasDynamicVBind || hasCustomDir;
302
+ if (needMergeProps) {
303
+ const { props, directives } = compilerDom.buildProps(
304
+ node,
305
+ context,
306
+ node.props,
307
+ false,
308
+ false,
309
+ true
310
+ );
311
+ if (props || directives.length) {
312
+ const mergedProps = buildSSRProps(props, directives, context);
313
+ const propsExp = compilerDom.createCallExpression(
314
+ context.helper(SSR_RENDER_ATTRS),
315
+ [mergedProps]
316
+ );
317
+ if (node.tag === "textarea") {
318
+ const existingText = node.children[0];
319
+ if (!existingText || existingText.type !== 5) {
320
+ const tempId = `_temp${context.temps++}`;
321
+ propsExp.arguments = [
322
+ compilerDom.createAssignmentExpression(
323
+ compilerDom.createSimpleExpression(tempId, false),
324
+ mergedProps
325
+ )
326
+ ];
327
+ rawChildrenMap.set(
328
+ node,
329
+ compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
330
+ compilerDom.createConditionalExpression(
331
+ compilerDom.createSimpleExpression(`"value" in ${tempId}`, false),
332
+ compilerDom.createSimpleExpression(`${tempId}.value`, false),
333
+ compilerDom.createSimpleExpression(
334
+ existingText ? existingText.content : ``,
335
+ true
336
+ ),
337
+ false
338
+ )
339
+ ])
340
+ );
341
+ }
342
+ } else if (node.tag === "input") {
343
+ const vModel = findVModel(node);
344
+ if (vModel) {
345
+ const tempId = `_temp${context.temps++}`;
346
+ const tempExp = compilerDom.createSimpleExpression(tempId, false);
347
+ propsExp.arguments = [
348
+ compilerDom.createSequenceExpression([
349
+ compilerDom.createAssignmentExpression(tempExp, mergedProps),
350
+ compilerDom.createCallExpression(context.helper(compilerDom.MERGE_PROPS), [
351
+ tempExp,
352
+ compilerDom.createCallExpression(
353
+ context.helper(SSR_GET_DYNAMIC_MODEL_PROPS),
354
+ [
355
+ tempExp,
356
+ // existing props
357
+ vModel.exp
358
+ // model
359
+ ]
360
+ )
361
+ ])
362
+ ])
363
+ ];
364
+ }
365
+ } else if (directives.length && !node.children.length) {
366
+ const vText = compilerDom.findDir(node, "text");
367
+ if (!vText) {
368
+ const tempId = `_temp${context.temps++}`;
369
+ propsExp.arguments = [
370
+ compilerDom.createAssignmentExpression(
371
+ compilerDom.createSimpleExpression(tempId, false),
372
+ mergedProps
373
+ )
374
+ ];
375
+ rawChildrenMap.set(
376
+ node,
377
+ compilerDom.createConditionalExpression(
378
+ compilerDom.createSimpleExpression(`"textContent" in ${tempId}`, false),
379
+ compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
380
+ compilerDom.createSimpleExpression(`${tempId}.textContent`, false)
381
+ ]),
382
+ compilerDom.createSimpleExpression(`${tempId}.innerHTML ?? ''`, false),
383
+ false
384
+ )
385
+ );
386
+ }
387
+ }
388
+ if (needTagForRuntime) {
389
+ propsExp.arguments.push(`"${node.tag}"`);
390
+ }
391
+ openTag.push(propsExp);
392
+ }
393
+ }
394
+ let dynamicClassBinding = void 0;
395
+ let staticClassBinding = void 0;
396
+ let dynamicStyleBinding = void 0;
397
+ for (let i = 0; i < node.props.length; i++) {
398
+ const prop = node.props[i];
399
+ if (node.tag === "input" && isTrueFalseValue(prop)) {
400
+ continue;
401
+ }
402
+ if (prop.type === 7) {
403
+ if (prop.name === "html" && prop.exp) {
404
+ rawChildrenMap.set(
405
+ node,
406
+ compilerDom.createCompoundExpression([`(`, prop.exp, `) ?? ''`])
407
+ );
408
+ } else if (prop.name === "text" && prop.exp) {
409
+ node.children = [compilerDom.createInterpolation(prop.exp, prop.loc)];
410
+ } else if (prop.name === "slot") {
411
+ context.onError(
412
+ compilerDom.createCompilerError(40, prop.loc)
413
+ );
414
+ } else if (isTextareaWithValue(node, prop) && prop.exp) {
415
+ if (!needMergeProps) {
416
+ node.children = [compilerDom.createInterpolation(prop.exp, prop.loc)];
417
+ }
418
+ } else if (!needMergeProps && prop.name !== "on") {
419
+ const directiveTransform = context.directiveTransforms[prop.name];
420
+ if (directiveTransform) {
421
+ const { props, ssrTagParts } = directiveTransform(
422
+ prop,
423
+ node,
424
+ context
425
+ );
426
+ if (ssrTagParts) {
427
+ openTag.push(...ssrTagParts);
428
+ }
429
+ for (let j = 0; j < props.length; j++) {
430
+ const { key, value } = props[j];
431
+ if (compilerDom.isStaticExp(key)) {
432
+ let attrName = key.content;
433
+ if (attrName === "key" || attrName === "ref") {
434
+ continue;
435
+ }
436
+ if (attrName === "class") {
437
+ openTag.push(
438
+ ` class="`,
439
+ dynamicClassBinding = compilerDom.createCallExpression(
440
+ context.helper(SSR_RENDER_CLASS),
441
+ [value]
442
+ ),
443
+ `"`
444
+ );
445
+ } else if (attrName === "style") {
446
+ if (dynamicStyleBinding) {
447
+ mergeCall(dynamicStyleBinding, value);
448
+ } else {
449
+ openTag.push(
450
+ ` style="`,
451
+ dynamicStyleBinding = compilerDom.createCallExpression(
452
+ context.helper(SSR_RENDER_STYLE),
453
+ [value]
454
+ ),
455
+ `"`
456
+ );
457
+ }
458
+ } else {
459
+ attrName = node.tag.indexOf("-") > 0 ? attrName : shared.propsToAttrMap[attrName] || attrName.toLowerCase();
460
+ if (shared.isBooleanAttr(attrName)) {
461
+ openTag.push(
462
+ compilerDom.createConditionalExpression(
463
+ compilerDom.createCallExpression(
464
+ context.helper(SSR_INCLUDE_BOOLEAN_ATTR),
465
+ [value]
466
+ ),
467
+ compilerDom.createSimpleExpression(" " + attrName, true),
468
+ compilerDom.createSimpleExpression("", true),
469
+ false
470
+ )
471
+ );
472
+ } else if (shared.isSSRSafeAttrName(attrName)) {
473
+ openTag.push(
474
+ compilerDom.createCallExpression(context.helper(SSR_RENDER_ATTR), [
475
+ key,
476
+ value
477
+ ])
478
+ );
479
+ } else {
480
+ context.onError(
481
+ createSSRCompilerError(
482
+ 65,
483
+ key.loc
484
+ )
485
+ );
486
+ }
487
+ }
488
+ } else {
489
+ const args = [key, value];
490
+ if (needTagForRuntime) {
491
+ args.push(`"${node.tag}"`);
492
+ }
493
+ openTag.push(
494
+ compilerDom.createCallExpression(
495
+ context.helper(SSR_RENDER_DYNAMIC_ATTR),
496
+ args
497
+ )
498
+ );
499
+ }
500
+ }
501
+ }
502
+ }
503
+ } else {
504
+ const name = prop.name;
505
+ if (node.tag === "textarea" && name === "value" && prop.value) {
506
+ rawChildrenMap.set(node, shared.escapeHtml(prop.value.content));
507
+ } else if (!needMergeProps) {
508
+ if (name === "key" || name === "ref") {
509
+ continue;
510
+ }
511
+ if (name === "class" && prop.value) {
512
+ staticClassBinding = JSON.stringify(prop.value.content);
513
+ }
514
+ openTag.push(
515
+ ` ${prop.name}` + (prop.value ? `="${shared.escapeHtml(prop.value.content)}"` : ``)
516
+ );
517
+ }
518
+ }
519
+ }
520
+ if (dynamicClassBinding && staticClassBinding) {
521
+ mergeCall(dynamicClassBinding, staticClassBinding);
522
+ removeStaticBinding(openTag, "class");
523
+ }
524
+ if (context.scopeId) {
525
+ openTag.push(` ${context.scopeId}`);
526
+ }
527
+ node.ssrCodegenNode = compilerDom.createTemplateLiteral(openTag);
528
+ };
529
+ };
530
+ function buildSSRProps(props, directives, context) {
531
+ let mergePropsArgs = [];
532
+ if (props) {
533
+ if (props.type === 14) {
534
+ mergePropsArgs = props.arguments;
535
+ } else {
536
+ mergePropsArgs.push(props);
537
+ }
538
+ }
539
+ if (directives.length) {
540
+ for (const dir of directives) {
541
+ mergePropsArgs.push(
542
+ compilerDom.createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [
543
+ `_ctx`,
544
+ ...compilerDom.buildDirectiveArgs(dir, context).elements
545
+ ])
546
+ );
547
+ }
548
+ }
549
+ return mergePropsArgs.length > 1 ? compilerDom.createCallExpression(context.helper(compilerDom.MERGE_PROPS), mergePropsArgs) : mergePropsArgs[0];
550
+ }
551
+ function isTrueFalseValue(prop) {
552
+ if (prop.type === 7) {
553
+ return prop.name === "bind" && prop.arg && compilerDom.isStaticExp(prop.arg) && (prop.arg.content === "true-value" || prop.arg.content === "false-value");
554
+ } else {
555
+ return prop.name === "true-value" || prop.name === "false-value";
556
+ }
557
+ }
558
+ function isTextareaWithValue(node, prop) {
559
+ return !!(node.tag === "textarea" && prop.name === "bind" && compilerDom.isStaticArgOf(prop.arg, "value"));
560
+ }
561
+ function mergeCall(call, arg) {
562
+ const existing = call.arguments[0];
563
+ if (existing.type === 17) {
564
+ existing.elements.push(arg);
565
+ } else {
566
+ call.arguments[0] = compilerDom.createArrayExpression([existing, arg]);
567
+ }
568
+ }
569
+ function removeStaticBinding(tag, binding) {
570
+ const regExp = new RegExp(`^ ${binding}=".+"$`);
571
+ const i = tag.findIndex((e) => typeof e === "string" && regExp.test(e));
572
+ if (i > -1) {
573
+ tag.splice(i, 1);
574
+ }
575
+ }
576
+ function findVModel(node) {
577
+ return node.props.find(
578
+ (p) => p.type === 7 && p.name === "model" && p.exp
579
+ );
580
+ }
581
+ function ssrProcessElement(node, context) {
582
+ const isVoidTag = context.options.isVoidTag || shared.NO;
583
+ const elementsToAdd = node.ssrCodegenNode.elements;
584
+ for (let j = 0; j < elementsToAdd.length; j++) {
585
+ context.pushStringPart(elementsToAdd[j]);
586
+ }
587
+ if (context.withSlotScopeId) {
588
+ context.pushStringPart(compilerDom.createSimpleExpression(`_scopeId`, false));
589
+ }
590
+ context.pushStringPart(`>`);
591
+ const rawChildren = rawChildrenMap.get(node);
592
+ if (rawChildren) {
593
+ context.pushStringPart(rawChildren);
594
+ } else if (node.children.length) {
595
+ processChildren(node, context);
596
+ }
597
+ if (!isVoidTag(node.tag)) {
598
+ context.pushStringPart(`</${node.tag}>`);
599
+ }
600
+ }
601
+
602
+ const wipMap$2 = /* @__PURE__ */ new WeakMap();
603
+ function ssrTransformTransitionGroup(node, context) {
604
+ return () => {
605
+ const tag = compilerDom.findProp(node, "tag");
606
+ if (tag) {
607
+ const otherProps = node.props.filter((p) => p !== tag);
608
+ const { props, directives } = compilerDom.buildProps(
609
+ node,
610
+ context,
611
+ otherProps,
612
+ true,
613
+ false,
614
+ true
615
+ );
616
+ let propsExp = null;
617
+ if (props || directives.length) {
618
+ propsExp = compilerDom.createCallExpression(context.helper(SSR_RENDER_ATTRS), [
619
+ buildSSRProps(props, directives, context)
620
+ ]);
621
+ }
622
+ wipMap$2.set(node, {
623
+ tag,
624
+ propsExp,
625
+ scopeId: context.scopeId || null
626
+ });
627
+ }
628
+ };
629
+ }
630
+ function ssrProcessTransitionGroup(node, context) {
631
+ const entry = wipMap$2.get(node);
632
+ if (entry) {
633
+ const { tag, propsExp, scopeId } = entry;
634
+ if (tag.type === 7) {
635
+ context.pushStringPart(`<`);
636
+ context.pushStringPart(tag.exp);
637
+ if (propsExp) {
638
+ context.pushStringPart(propsExp);
639
+ }
640
+ if (scopeId) {
641
+ context.pushStringPart(` ${scopeId}`);
642
+ }
643
+ context.pushStringPart(`>`);
644
+ processChildren(
645
+ node,
646
+ context,
647
+ false,
648
+ /**
649
+ * TransitionGroup has the special runtime behavior of flattening and
650
+ * concatenating all children into a single fragment (in order for them to
651
+ * be patched using the same key map) so we need to account for that here
652
+ * by disabling nested fragment wrappers from being generated.
653
+ */
654
+ true,
655
+ /**
656
+ * TransitionGroup filters out comment children at runtime and thus
657
+ * doesn't expect comments to be present during hydration. We need to
658
+ * account for that by disabling the empty comment that is otherwise
659
+ * rendered for a falsy v-if that has no v-else specified. (#6715)
660
+ */
661
+ true
662
+ );
663
+ context.pushStringPart(`</`);
664
+ context.pushStringPart(tag.exp);
665
+ context.pushStringPart(`>`);
666
+ } else {
667
+ context.pushStringPart(`<${tag.value.content}`);
668
+ if (propsExp) {
669
+ context.pushStringPart(propsExp);
670
+ }
671
+ if (scopeId) {
672
+ context.pushStringPart(` ${scopeId}`);
673
+ }
674
+ context.pushStringPart(`>`);
675
+ processChildren(node, context, false, true, true);
676
+ context.pushStringPart(`</${tag.value.content}>`);
677
+ }
678
+ } else {
679
+ processChildren(node, context, true, true, true);
680
+ }
681
+ }
682
+
683
+ const wipMap$1 = /* @__PURE__ */ new WeakMap();
684
+ function ssrTransformTransition(node, context) {
685
+ return () => {
686
+ const appear = compilerDom.findProp(node, "appear", false, true);
687
+ wipMap$1.set(node, !!appear);
688
+ };
689
+ }
690
+ function ssrProcessTransition(node, context) {
691
+ node.children = node.children.filter((c) => c.type !== 3);
692
+ const appear = wipMap$1.get(node);
693
+ if (appear) {
694
+ context.pushStringPart(`<template>`);
695
+ processChildren(node, context, false, true);
696
+ context.pushStringPart(`</template>`);
697
+ } else {
698
+ processChildren(node, context, false, true);
699
+ }
700
+ }
701
+
702
+ const wipMap = /* @__PURE__ */ new WeakMap();
703
+ const WIP_SLOT = Symbol();
704
+ const componentTypeMap = /* @__PURE__ */ new WeakMap();
705
+ const ssrTransformComponent = (node, context) => {
706
+ if (node.type !== 1 || node.tagType !== 1) {
707
+ return;
708
+ }
709
+ const component = compilerDom.resolveComponentType(
710
+ node,
711
+ context,
712
+ true
713
+ /* ssr */
714
+ );
715
+ const isDynamicComponent = shared.isObject(component) && component.callee === compilerDom.RESOLVE_DYNAMIC_COMPONENT;
716
+ componentTypeMap.set(node, component);
717
+ if (shared.isSymbol(component)) {
718
+ if (component === compilerDom.SUSPENSE) {
719
+ return ssrTransformSuspense(node, context);
720
+ } else if (component === compilerDom.TRANSITION_GROUP) {
721
+ return ssrTransformTransitionGroup(node, context);
722
+ } else if (component === compilerDom.TRANSITION) {
723
+ return ssrTransformTransition(node);
724
+ }
725
+ return;
726
+ }
727
+ const vnodeBranches = [];
728
+ const clonedNode = clone(node);
729
+ return function ssrPostTransformComponent() {
730
+ if (clonedNode.children.length) {
731
+ compilerDom.buildSlots(clonedNode, context, (props, vFor, children) => {
732
+ vnodeBranches.push(
733
+ createVNodeSlotBranch(props, vFor, children, context)
734
+ );
735
+ return compilerDom.createFunctionExpression(void 0);
736
+ });
737
+ }
738
+ let propsExp = `null`;
739
+ if (node.props.length) {
740
+ const { props, directives } = compilerDom.buildProps(
741
+ node,
742
+ context,
743
+ void 0,
744
+ true,
745
+ isDynamicComponent
746
+ );
747
+ if (props || directives.length) {
748
+ propsExp = buildSSRProps(props, directives, context);
749
+ }
750
+ }
751
+ const wipEntries = [];
752
+ wipMap.set(node, wipEntries);
753
+ const buildSSRSlotFn = (props, _vForExp, children, loc) => {
754
+ const param0 = props && compilerDom.stringifyExpression(props) || `_`;
755
+ const fn = compilerDom.createFunctionExpression(
756
+ [param0, `_push`, `_parent`, `_scopeId`],
757
+ void 0,
758
+ // no return, assign body later
759
+ true,
760
+ // newline
761
+ true,
762
+ // isSlot
763
+ loc
764
+ );
765
+ wipEntries.push({
766
+ type: WIP_SLOT,
767
+ fn,
768
+ children,
769
+ // also collect the corresponding vnode branch built earlier
770
+ vnodeBranch: vnodeBranches[wipEntries.length]
771
+ });
772
+ return fn;
773
+ };
774
+ const slots = node.children.length ? compilerDom.buildSlots(node, context, buildSSRSlotFn).slots : `null`;
775
+ if (typeof component !== "string") {
776
+ node.ssrCodegenNode = compilerDom.createCallExpression(
777
+ context.helper(SSR_RENDER_VNODE),
778
+ [
779
+ `_push`,
780
+ compilerDom.createCallExpression(context.helper(compilerDom.CREATE_VNODE), [
781
+ component,
782
+ propsExp,
783
+ slots
784
+ ]),
785
+ `_parent`
786
+ ]
787
+ );
788
+ } else {
789
+ node.ssrCodegenNode = compilerDom.createCallExpression(
790
+ context.helper(SSR_RENDER_COMPONENT),
791
+ [component, propsExp, slots, `_parent`]
792
+ );
793
+ }
794
+ };
795
+ };
796
+ function ssrProcessComponent(node, context, parent) {
797
+ const component = componentTypeMap.get(node);
798
+ if (!node.ssrCodegenNode) {
799
+ if (component === compilerDom.TELEPORT) {
800
+ return ssrProcessTeleport(node, context);
801
+ } else if (component === compilerDom.SUSPENSE) {
802
+ return ssrProcessSuspense(node, context);
803
+ } else if (component === compilerDom.TRANSITION_GROUP) {
804
+ return ssrProcessTransitionGroup(node, context);
805
+ } else {
806
+ if (parent.type === WIP_SLOT) {
807
+ context.pushStringPart(``);
808
+ }
809
+ if (component === compilerDom.TRANSITION) {
810
+ return ssrProcessTransition(node, context);
811
+ }
812
+ processChildren(node, context);
813
+ }
814
+ } else {
815
+ const wipEntries = wipMap.get(node) || [];
816
+ for (let i = 0; i < wipEntries.length; i++) {
817
+ const { fn, vnodeBranch } = wipEntries[i];
818
+ fn.body = compilerDom.createIfStatement(
819
+ compilerDom.createSimpleExpression(`_push`, false),
820
+ processChildrenAsStatement(
821
+ wipEntries[i],
822
+ context,
823
+ false,
824
+ true
825
+ ),
826
+ vnodeBranch
827
+ );
828
+ }
829
+ if (context.withSlotScopeId) {
830
+ node.ssrCodegenNode.arguments.push(`_scopeId`);
831
+ }
832
+ if (typeof component === "string") {
833
+ context.pushStatement(
834
+ compilerDom.createCallExpression(`_push`, [node.ssrCodegenNode])
835
+ );
836
+ } else {
837
+ context.pushStatement(node.ssrCodegenNode);
838
+ }
839
+ }
840
+ }
841
+ const rawOptionsMap = /* @__PURE__ */ new WeakMap();
842
+ const [baseNodeTransforms, baseDirectiveTransforms] = compilerDom.getBaseTransformPreset(true);
843
+ const vnodeNodeTransforms = [...baseNodeTransforms, ...compilerDom.DOMNodeTransforms];
844
+ const vnodeDirectiveTransforms = {
845
+ ...baseDirectiveTransforms,
846
+ ...compilerDom.DOMDirectiveTransforms
847
+ };
848
+ function createVNodeSlotBranch(slotProps, vFor, children, parentContext) {
849
+ const rawOptions = rawOptionsMap.get(parentContext.root);
850
+ const subOptions = {
851
+ ...rawOptions,
852
+ // overwrite with vnode-based transforms
853
+ nodeTransforms: [
854
+ ...vnodeNodeTransforms,
855
+ ...rawOptions.nodeTransforms || []
856
+ ],
857
+ directiveTransforms: {
858
+ ...vnodeDirectiveTransforms,
859
+ ...rawOptions.directiveTransforms || {}
860
+ }
861
+ };
862
+ const wrapperProps = [];
863
+ if (slotProps) {
864
+ wrapperProps.push({
865
+ type: 7,
866
+ name: "slot",
867
+ exp: slotProps,
868
+ arg: void 0,
869
+ modifiers: [],
870
+ loc: compilerDom.locStub
871
+ });
872
+ }
873
+ if (vFor) {
874
+ wrapperProps.push(shared.extend({}, vFor));
875
+ }
876
+ const wrapperNode = {
877
+ type: 1,
878
+ ns: 0,
879
+ tag: "template",
880
+ tagType: 3,
881
+ props: wrapperProps,
882
+ children,
883
+ loc: compilerDom.locStub,
884
+ codegenNode: void 0
885
+ };
886
+ subTransform(wrapperNode, subOptions, parentContext);
887
+ return compilerDom.createReturnStatement(children);
888
+ }
889
+ function subTransform(node, options, parentContext) {
890
+ const childRoot = compilerDom.createRoot([node]);
891
+ const childContext = compilerDom.createTransformContext(childRoot, options);
892
+ childContext.ssr = false;
893
+ childContext.scopes = { ...parentContext.scopes };
894
+ childContext.identifiers = { ...parentContext.identifiers };
895
+ childContext.imports = parentContext.imports;
896
+ compilerDom.traverseNode(childRoot, childContext);
897
+ ["helpers", "components", "directives"].forEach((key) => {
898
+ childContext[key].forEach((value, helperKey) => {
899
+ if (key === "helpers") {
900
+ const parentCount = parentContext.helpers.get(helperKey);
901
+ if (parentCount === void 0) {
902
+ parentContext.helpers.set(helperKey, value);
903
+ } else {
904
+ parentContext.helpers.set(helperKey, value + parentCount);
905
+ }
906
+ } else {
907
+ parentContext[key].add(value);
908
+ }
909
+ });
910
+ });
911
+ }
912
+ function clone(v) {
913
+ if (shared.isArray(v)) {
914
+ return v.map(clone);
915
+ } else if (shared.isPlainObject(v)) {
916
+ const res = {};
917
+ for (const key in v) {
918
+ res[key] = clone(v[key]);
919
+ }
920
+ return res;
921
+ } else {
922
+ return v;
923
+ }
924
+ }
925
+
926
+ function ssrCodegenTransform(ast, options) {
927
+ const context = createSSRTransformContext(ast, options);
928
+ if (options.ssrCssVars) {
929
+ const cssContext = compilerDom.createTransformContext(compilerDom.createRoot([]), options);
930
+ const varsExp = compilerDom.processExpression(
931
+ compilerDom.createSimpleExpression(options.ssrCssVars, false),
932
+ cssContext
933
+ );
934
+ context.body.push(
935
+ compilerDom.createCompoundExpression([`const _cssVars = { style: `, varsExp, `}`])
936
+ );
937
+ Array.from(cssContext.helpers.keys()).forEach((helper) => {
938
+ ast.helpers.add(helper);
939
+ });
940
+ }
941
+ const isFragment = ast.children.length > 1 && ast.children.some((c) => !compilerDom.isText(c));
942
+ processChildren(ast, context, isFragment);
943
+ ast.codegenNode = compilerDom.createBlockStatement(context.body);
944
+ ast.ssrHelpers = Array.from(
945
+ /* @__PURE__ */ new Set([
946
+ ...Array.from(ast.helpers).filter((h) => h in ssrHelpers),
947
+ ...context.helpers
948
+ ])
949
+ );
950
+ ast.helpers = new Set(Array.from(ast.helpers).filter((h) => !(h in ssrHelpers)));
951
+ }
952
+ function createSSRTransformContext(root, options, helpers = /* @__PURE__ */ new Set(), withSlotScopeId = false) {
953
+ const body = [];
954
+ let currentString = null;
955
+ return {
956
+ root,
957
+ options,
958
+ body,
959
+ helpers,
960
+ withSlotScopeId,
961
+ onError: options.onError || ((e) => {
962
+ throw e;
963
+ }),
964
+ helper(name) {
965
+ helpers.add(name);
966
+ return name;
967
+ },
968
+ pushStringPart(part) {
969
+ if (!currentString) {
970
+ const currentCall = compilerDom.createCallExpression(`_push`);
971
+ body.push(currentCall);
972
+ currentString = compilerDom.createTemplateLiteral([]);
973
+ currentCall.arguments.push(currentString);
974
+ }
975
+ const bufferedElements = currentString.elements;
976
+ const lastItem = bufferedElements[bufferedElements.length - 1];
977
+ if (shared.isString(part) && shared.isString(lastItem)) {
978
+ bufferedElements[bufferedElements.length - 1] += part;
979
+ } else {
980
+ bufferedElements.push(part);
981
+ }
982
+ },
983
+ pushStatement(statement) {
984
+ currentString = null;
985
+ body.push(statement);
986
+ }
987
+ };
988
+ }
989
+ function createChildContext(parent, withSlotScopeId = parent.withSlotScopeId) {
990
+ return createSSRTransformContext(
991
+ parent.root,
992
+ parent.options,
993
+ parent.helpers,
994
+ withSlotScopeId
995
+ );
996
+ }
997
+ function processChildren(parent, context, asFragment = false, disableNestedFragments = false, disableComment = false) {
998
+ if (asFragment) {
999
+ context.pushStringPart(`<!--[-->`);
1000
+ }
1001
+ const { children } = parent;
1002
+ for (let i = 0; i < children.length; i++) {
1003
+ const child = children[i];
1004
+ switch (child.type) {
1005
+ case 1:
1006
+ switch (child.tagType) {
1007
+ case 0:
1008
+ ssrProcessElement(child, context);
1009
+ break;
1010
+ case 1:
1011
+ ssrProcessComponent(child, context, parent);
1012
+ break;
1013
+ case 2:
1014
+ ssrProcessSlotOutlet(child, context);
1015
+ break;
1016
+ case 3:
1017
+ break;
1018
+ default:
1019
+ context.onError(
1020
+ createSSRCompilerError(
1021
+ 67,
1022
+ child.loc
1023
+ )
1024
+ );
1025
+ const exhaustiveCheck2 = child;
1026
+ return exhaustiveCheck2;
1027
+ }
1028
+ break;
1029
+ case 2:
1030
+ context.pushStringPart(shared.escapeHtml(child.content));
1031
+ break;
1032
+ case 3:
1033
+ if (!disableComment) {
1034
+ context.pushStringPart(`<!--${child.content}-->`);
1035
+ }
1036
+ break;
1037
+ case 5:
1038
+ context.pushStringPart(
1039
+ compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
1040
+ child.content
1041
+ ])
1042
+ );
1043
+ break;
1044
+ case 9:
1045
+ ssrProcessIf(child, context, disableNestedFragments, disableComment);
1046
+ break;
1047
+ case 11:
1048
+ ssrProcessFor(child, context, disableNestedFragments);
1049
+ break;
1050
+ case 10:
1051
+ break;
1052
+ case 12:
1053
+ case 8:
1054
+ break;
1055
+ default:
1056
+ context.onError(
1057
+ createSSRCompilerError(
1058
+ 67,
1059
+ child.loc
1060
+ )
1061
+ );
1062
+ const exhaustiveCheck = child;
1063
+ return exhaustiveCheck;
1064
+ }
1065
+ }
1066
+ if (asFragment) {
1067
+ context.pushStringPart(`<!--]-->`);
1068
+ }
1069
+ }
1070
+ function processChildrenAsStatement(parent, parentContext, asFragment = false, withSlotScopeId = parentContext.withSlotScopeId) {
1071
+ const childContext = createChildContext(parentContext, withSlotScopeId);
1072
+ processChildren(parent, childContext, asFragment);
1073
+ return compilerDom.createBlockStatement(childContext.body);
1074
+ }
1075
+
1076
+ const ssrTransformModel = (dir, node, context) => {
1077
+ const model = dir.exp;
1078
+ function checkDuplicatedValue() {
1079
+ const value = compilerDom.findProp(node, "value");
1080
+ if (value) {
1081
+ context.onError(
1082
+ compilerDom.createDOMCompilerError(
1083
+ 60,
1084
+ value.loc
1085
+ )
1086
+ );
1087
+ }
1088
+ }
1089
+ function processOption(plainNode) {
1090
+ if (plainNode.tag === "option") {
1091
+ if (plainNode.props.findIndex((p) => p.name === "selected") === -1) {
1092
+ const value = findValueBinding(plainNode);
1093
+ plainNode.ssrCodegenNode.elements.push(
1094
+ compilerDom.createConditionalExpression(
1095
+ compilerDom.createCallExpression(context.helper(SSR_INCLUDE_BOOLEAN_ATTR), [
1096
+ compilerDom.createConditionalExpression(
1097
+ compilerDom.createCallExpression(`Array.isArray`, [model]),
1098
+ compilerDom.createCallExpression(context.helper(SSR_LOOSE_CONTAIN), [
1099
+ model,
1100
+ value
1101
+ ]),
1102
+ compilerDom.createCallExpression(context.helper(SSR_LOOSE_EQUAL), [
1103
+ model,
1104
+ value
1105
+ ])
1106
+ )
1107
+ ]),
1108
+ compilerDom.createSimpleExpression(" selected", true),
1109
+ compilerDom.createSimpleExpression("", true),
1110
+ false
1111
+ )
1112
+ );
1113
+ }
1114
+ } else if (plainNode.tag === "optgroup") {
1115
+ plainNode.children.forEach(
1116
+ (option) => processOption(option)
1117
+ );
1118
+ }
1119
+ }
1120
+ if (node.tagType === 0) {
1121
+ const res = { props: [] };
1122
+ const defaultProps = [
1123
+ // default value binding for text type inputs
1124
+ compilerDom.createObjectProperty(`value`, model)
1125
+ ];
1126
+ if (node.tag === "input") {
1127
+ const type = compilerDom.findProp(node, "type");
1128
+ if (type) {
1129
+ const value = findValueBinding(node);
1130
+ if (type.type === 7) {
1131
+ res.ssrTagParts = [
1132
+ compilerDom.createCallExpression(context.helper(SSR_RENDER_DYNAMIC_MODEL), [
1133
+ type.exp,
1134
+ model,
1135
+ value
1136
+ ])
1137
+ ];
1138
+ } else if (type.value) {
1139
+ switch (type.value.content) {
1140
+ case "radio":
1141
+ res.props = [
1142
+ compilerDom.createObjectProperty(
1143
+ `checked`,
1144
+ compilerDom.createCallExpression(context.helper(SSR_LOOSE_EQUAL), [
1145
+ model,
1146
+ value
1147
+ ])
1148
+ )
1149
+ ];
1150
+ break;
1151
+ case "checkbox":
1152
+ const trueValueBinding = compilerDom.findProp(node, "true-value");
1153
+ if (trueValueBinding) {
1154
+ const trueValue = trueValueBinding.type === 6 ? JSON.stringify(trueValueBinding.value.content) : trueValueBinding.exp;
1155
+ res.props = [
1156
+ compilerDom.createObjectProperty(
1157
+ `checked`,
1158
+ compilerDom.createCallExpression(context.helper(SSR_LOOSE_EQUAL), [
1159
+ model,
1160
+ trueValue
1161
+ ])
1162
+ )
1163
+ ];
1164
+ } else {
1165
+ res.props = [
1166
+ compilerDom.createObjectProperty(
1167
+ `checked`,
1168
+ compilerDom.createConditionalExpression(
1169
+ compilerDom.createCallExpression(`Array.isArray`, [model]),
1170
+ compilerDom.createCallExpression(context.helper(SSR_LOOSE_CONTAIN), [
1171
+ model,
1172
+ value
1173
+ ]),
1174
+ model
1175
+ )
1176
+ )
1177
+ ];
1178
+ }
1179
+ break;
1180
+ case "file":
1181
+ context.onError(
1182
+ compilerDom.createDOMCompilerError(
1183
+ 59,
1184
+ dir.loc
1185
+ )
1186
+ );
1187
+ break;
1188
+ default:
1189
+ checkDuplicatedValue();
1190
+ res.props = defaultProps;
1191
+ break;
1192
+ }
1193
+ }
1194
+ } else if (compilerDom.hasDynamicKeyVBind(node)) ; else {
1195
+ checkDuplicatedValue();
1196
+ res.props = defaultProps;
1197
+ }
1198
+ } else if (node.tag === "textarea") {
1199
+ checkDuplicatedValue();
1200
+ node.children = [compilerDom.createInterpolation(model, model.loc)];
1201
+ } else if (node.tag === "select") {
1202
+ const processChildren = (children) => {
1203
+ children.forEach((child) => {
1204
+ if (child.type === 1) {
1205
+ processOption(child);
1206
+ } else if (child.type === 11) {
1207
+ processChildren(child.children);
1208
+ } else if (child.type === 9) {
1209
+ child.branches.forEach((b) => processChildren(b.children));
1210
+ }
1211
+ });
1212
+ };
1213
+ processChildren(node.children);
1214
+ } else {
1215
+ context.onError(
1216
+ compilerDom.createDOMCompilerError(
1217
+ 57,
1218
+ dir.loc
1219
+ )
1220
+ );
1221
+ }
1222
+ return res;
1223
+ } else {
1224
+ return compilerDom.transformModel(dir, node, context);
1225
+ }
1226
+ };
1227
+ function findValueBinding(node) {
1228
+ const valueBinding = compilerDom.findProp(node, "value");
1229
+ return valueBinding ? valueBinding.type === 7 ? valueBinding.exp : compilerDom.createSimpleExpression(valueBinding.value.content, true) : compilerDom.createSimpleExpression(`null`, false);
1230
+ }
1231
+
1232
+ const ssrTransformShow = (dir, node, context) => {
1233
+ if (!dir.exp) {
1234
+ context.onError(
1235
+ compilerDom.createDOMCompilerError(61)
1236
+ );
1237
+ }
1238
+ return {
1239
+ props: [
1240
+ compilerDom.createObjectProperty(
1241
+ `style`,
1242
+ compilerDom.createConditionalExpression(
1243
+ dir.exp,
1244
+ compilerDom.createSimpleExpression(`null`, false),
1245
+ compilerDom.createObjectExpression([
1246
+ compilerDom.createObjectProperty(
1247
+ `display`,
1248
+ compilerDom.createSimpleExpression(`none`, true)
1249
+ )
1250
+ ]),
1251
+ false
1252
+ )
1253
+ )
1254
+ ]
1255
+ };
1256
+ };
1257
+
1258
+ const filterChild = (node) => node.children.filter((n) => n.type !== 3);
1259
+ const hasSingleChild = (node) => filterChild(node).length === 1;
1260
+ const ssrInjectFallthroughAttrs = (node, context) => {
1261
+ if (node.type === 0) {
1262
+ context.identifiers._attrs = 1;
1263
+ }
1264
+ if (node.type === 1 && node.tagType === 1 && (node.tag === "transition" || node.tag === "Transition" || node.tag === "KeepAlive" || node.tag === "keep-alive")) {
1265
+ const rootChildren = filterChild(context.root);
1266
+ if (rootChildren.length === 1 && rootChildren[0] === node) {
1267
+ if (hasSingleChild(node)) {
1268
+ injectFallthroughAttrs(node.children[0]);
1269
+ }
1270
+ return;
1271
+ }
1272
+ }
1273
+ const parent = context.parent;
1274
+ if (!parent || parent.type !== 0) {
1275
+ return;
1276
+ }
1277
+ if (node.type === 10 && hasSingleChild(node)) {
1278
+ let hasEncounteredIf = false;
1279
+ for (const c of filterChild(parent)) {
1280
+ if (c.type === 9 || c.type === 1 && compilerDom.findDir(c, "if")) {
1281
+ if (hasEncounteredIf) return;
1282
+ hasEncounteredIf = true;
1283
+ } else if (
1284
+ // node before v-if
1285
+ !hasEncounteredIf || // non else nodes
1286
+ !(c.type === 1 && compilerDom.findDir(c, /else/, true))
1287
+ ) {
1288
+ return;
1289
+ }
1290
+ }
1291
+ injectFallthroughAttrs(node.children[0]);
1292
+ } else if (hasSingleChild(parent)) {
1293
+ injectFallthroughAttrs(node);
1294
+ }
1295
+ };
1296
+ function injectFallthroughAttrs(node) {
1297
+ if (node.type === 1 && (node.tagType === 0 || node.tagType === 1) && !compilerDom.findDir(node, "for")) {
1298
+ node.props.push({
1299
+ type: 7,
1300
+ name: "bind",
1301
+ arg: void 0,
1302
+ exp: compilerDom.createSimpleExpression(`_attrs`, false),
1303
+ modifiers: [],
1304
+ loc: compilerDom.locStub
1305
+ });
1306
+ }
1307
+ }
1308
+
1309
+ const ssrInjectCssVars = (node, context) => {
1310
+ if (!context.ssrCssVars) {
1311
+ return;
1312
+ }
1313
+ if (node.type === 0) {
1314
+ context.identifiers._cssVars = 1;
1315
+ }
1316
+ const parent = context.parent;
1317
+ if (!parent || parent.type !== 0) {
1318
+ return;
1319
+ }
1320
+ if (node.type === 10) {
1321
+ for (const child of node.children) {
1322
+ injectCssVars(child);
1323
+ }
1324
+ } else {
1325
+ injectCssVars(node);
1326
+ }
1327
+ };
1328
+ function injectCssVars(node) {
1329
+ if (node.type === 1 && (node.tagType === 0 || node.tagType === 1) && !compilerDom.findDir(node, "for")) {
1330
+ if (node.tag === "suspense" || node.tag === "Suspense") {
1331
+ for (const child of node.children) {
1332
+ if (child.type === 1 && child.tagType === 3) {
1333
+ child.children.forEach(injectCssVars);
1334
+ } else {
1335
+ injectCssVars(child);
1336
+ }
1337
+ }
1338
+ } else {
1339
+ node.props.push({
1340
+ type: 7,
1341
+ name: "bind",
1342
+ arg: void 0,
1343
+ exp: compilerDom.createSimpleExpression(`_cssVars`, false),
1344
+ modifiers: [],
1345
+ loc: compilerDom.locStub
1346
+ });
1347
+ }
1348
+ }
1349
+ }
1350
+
1351
+ function compile(source, options = {}) {
1352
+ options = {
1353
+ ...options,
1354
+ ...compilerDom.parserOptions,
1355
+ ssr: true,
1356
+ inSSR: true,
1357
+ scopeId: options.mode === "function" ? null : options.scopeId,
1358
+ // always prefix since compiler-ssr doesn't have size concern
1359
+ prefixIdentifiers: true,
1360
+ // disable optimizations that are unnecessary for ssr
1361
+ cacheHandlers: false,
1362
+ hoistStatic: false
1363
+ };
1364
+ const ast = typeof source === "string" ? compilerDom.baseParse(source, options) : source;
1365
+ rawOptionsMap.set(ast, options);
1366
+ compilerDom.transform(ast, {
1367
+ ...options,
1368
+ hoistStatic: false,
1369
+ nodeTransforms: [
1370
+ ssrTransformIf,
1371
+ ssrTransformFor,
1372
+ compilerDom.trackVForSlotScopes,
1373
+ compilerDom.transformExpression,
1374
+ ssrTransformSlotOutlet,
1375
+ ssrInjectFallthroughAttrs,
1376
+ ssrInjectCssVars,
1377
+ ssrTransformElement,
1378
+ ssrTransformComponent,
1379
+ compilerDom.trackSlotScopes,
1380
+ compilerDom.transformStyle,
1381
+ ...options.nodeTransforms || []
1382
+ // user transforms
1383
+ ],
1384
+ directiveTransforms: {
1385
+ // reusing core v-bind
1386
+ bind: compilerDom.transformBind,
1387
+ on: compilerDom.transformOn,
1388
+ // model and show have dedicated SSR handling
1389
+ model: ssrTransformModel,
1390
+ show: ssrTransformShow,
1391
+ // the following are ignored during SSR
1392
+ // on: noopDirectiveTransform,
1393
+ cloak: compilerDom.noopDirectiveTransform,
1394
+ once: compilerDom.noopDirectiveTransform,
1395
+ memo: compilerDom.noopDirectiveTransform,
1396
+ ...options.directiveTransforms || {}
1397
+ // user transforms
1398
+ }
1399
+ });
1400
+ ssrCodegenTransform(ast, options);
1401
+ return compilerDom.generate(ast, options);
1402
+ }
1403
+
1404
+ exports.compile = compile;