@highstate/designer 0.9.29 → 0.9.31
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.
- package/.output/nitro.json +3 -3
- package/.output/public/_nuxt/-cuf5ozd.js +1 -0
- package/.output/public/_nuxt/{CIlENvhW.js → 1foJT8KY.js} +1 -1
- package/.output/public/_nuxt/9QMuE4_e.js +1 -0
- package/.output/public/_nuxt/9q8hzT4_.js +1 -0
- package/.output/public/_nuxt/B-kr6Mxx.js +1 -0
- package/.output/public/_nuxt/B39EfOn0.js +1 -0
- package/.output/public/_nuxt/B7q8IMeI.js +1 -0
- package/.output/public/_nuxt/BBKBnsTe.js +1 -0
- package/.output/public/_nuxt/{D84_luhw.js → BDMnUv6-.js} +1 -1
- package/.output/public/_nuxt/{99ZxcQMo.js → BK3Hljmt.js} +1 -1
- package/.output/public/_nuxt/BKYQyu8j.js +1 -0
- package/.output/public/_nuxt/BOaRzPNm.js +1 -0
- package/.output/public/_nuxt/BPddPopq.js +1 -0
- package/.output/public/_nuxt/BXfGU54c.js +1 -0
- package/.output/public/_nuxt/BkMxUTMz.js +1 -0
- package/.output/public/_nuxt/Blz0Sm08.js +1 -0
- package/.output/public/_nuxt/{SQImb3Xm.js → BmhnSWN5.js} +1 -1
- package/.output/public/_nuxt/Bw6EBqF0.js +1 -0
- package/.output/public/_nuxt/BxLxKFyQ.js +1 -0
- package/.output/public/_nuxt/ByMpwe6u.js +1 -0
- package/.output/public/_nuxt/Bz3KLkvx.js +1 -0
- package/.output/public/_nuxt/C1wlP-3M.js +1 -0
- package/.output/public/_nuxt/C21I50ti.js +1 -0
- package/.output/public/_nuxt/C3_kiIzf.js +1 -0
- package/.output/public/_nuxt/C5sBcLek.js +2 -0
- package/.output/public/_nuxt/{DRIWqbxK.js → C7qPbc4_.js} +78 -78
- package/.output/public/_nuxt/C8SfgRr3.js +1 -0
- package/.output/public/_nuxt/CFByMTBT.js +1 -0
- package/.output/public/_nuxt/CGKQr8UN.js +1 -0
- package/.output/public/_nuxt/CIL14epm.js +1 -0
- package/.output/public/_nuxt/CJjncXKU.js +1 -0
- package/.output/public/_nuxt/CKLtsx29.js +1 -0
- package/.output/public/_nuxt/CVisNyay.js +2 -0
- package/.output/public/_nuxt/CW-4Mdov.js +1 -0
- package/.output/public/_nuxt/C_cDObbA.js +1 -0
- package/.output/public/_nuxt/CjQdWgec.js +16 -0
- package/.output/public/_nuxt/Ck_SHGtr.js +1 -0
- package/.output/public/_nuxt/{PcM58xPJ.js → ClIloWRv.js} +1 -1
- package/.output/public/_nuxt/CnDkXYfV.js +1 -0
- package/.output/public/_nuxt/CpLTE7AO.js +1 -0
- package/.output/public/_nuxt/CpPpKw9J.js +2 -0
- package/.output/public/_nuxt/CpSeRQOr.js +1 -0
- package/.output/public/_nuxt/CpvQ6GXq.js +1 -0
- package/.output/public/_nuxt/CrCcAfvX.js +1 -0
- package/.output/public/_nuxt/CwaiBfXS.js +1 -0
- package/.output/public/_nuxt/CwpbJbCJ.js +1 -0
- package/.output/public/_nuxt/D06L1AXX.js +1 -0
- package/.output/public/_nuxt/D2XIPlys.js +1 -0
- package/.output/public/_nuxt/D3yMfpjI.js +1 -0
- package/.output/public/_nuxt/{OPXSfcRs.js → D59NcB3D.js} +1 -1
- package/.output/public/_nuxt/D7lxNUlX.js +1 -0
- package/.output/public/_nuxt/DALeoUlC.js +1 -0
- package/.output/public/_nuxt/DJ3_xD1J.js +1 -0
- package/.output/public/_nuxt/{OkiqR5tE.js → DKFrVLtg.js} +1 -1
- package/.output/public/_nuxt/DWIEZWky.js +1 -0
- package/.output/public/_nuxt/Da1awfCG.js +1 -0
- package/.output/public/_nuxt/Da9q7HwT.js +1 -0
- package/.output/public/_nuxt/Df0di3r3.js +1 -0
- package/.output/public/_nuxt/DjHUPHRz.js +1 -0
- package/.output/public/_nuxt/DtdG4Ruv.js +1 -0
- package/.output/public/_nuxt/I7yKl6nV.js +1 -0
- package/.output/public/_nuxt/IOMiH8qI.js +1 -0
- package/.output/public/_nuxt/J4wdQuQL.js +6 -0
- package/.output/public/_nuxt/KAOCxt3F.js +1 -0
- package/.output/public/_nuxt/N5YObFtv.js +1 -0
- package/.output/public/_nuxt/{iGkzGtMv.js → NHU215No.js} +1 -1
- package/.output/public/_nuxt/PZl7tHUC.js +12 -0
- package/.output/public/_nuxt/_nAeoBoi.js +1 -0
- package/.output/public/_nuxt/bIrSG7NP.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/6fbe10b8-b530-4bbc-8a71-83bb9b2d0e20.json +1 -0
- package/.output/public/_nuxt/cOEvB8MO.js +1 -0
- package/.output/public/_nuxt/lPSpUDlM.js +1 -0
- package/.output/public/_nuxt/{B9WOzG0F.js → oUH_eVj3.js} +1 -1
- package/.output/server/index.mjs +2980 -8091
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +5 -1
- package/.output/server/node_modules/@babel/parser/package.json +2 -2
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +138 -101
- package/.output/server/node_modules/@vue/compiler-core/package.json +4 -4
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +5 -2
- package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +11 -2
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +7 -6
- package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +71 -39
- package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +45 -21
- package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +3 -4
- package/.output/server/node_modules/@vue/shared/package.json +1 -1
- package/.output/server/node_modules/devalue/package.json +14 -11
- package/.output/server/node_modules/devalue/src/parse.js +61 -26
- package/.output/server/node_modules/devalue/src/stringify.js +48 -19
- package/.output/server/node_modules/devalue/src/uneval.js +82 -31
- package/.output/server/node_modules/devalue/src/utils.js +1 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +523 -53
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/vue/package.json +6 -6
- package/.output/server/package.json +13 -13
- package/package.json +6 -6
- package/.output/public/_nuxt/0A0GXgOL.js +0 -13
- package/.output/public/_nuxt/1DNp92w6.js +0 -1
- package/.output/public/_nuxt/2EtD6e53.js +0 -1
- package/.output/public/_nuxt/2UxHyX5q.js +0 -1
- package/.output/public/_nuxt/3cnfKD4S.js +0 -1
- package/.output/public/_nuxt/3e1v2bzS.js +0 -1
- package/.output/public/_nuxt/3oOXtSjj.js +0 -1
- package/.output/public/_nuxt/4A_iFExJ.js +0 -1
- package/.output/public/_nuxt/5bLW0GMw.js +0 -1
- package/.output/public/_nuxt/5i3qLPDT.js +0 -1
- package/.output/public/_nuxt/6nHXG8SA.js +0 -1
- package/.output/public/_nuxt/85-TOEBH.js +0 -1
- package/.output/public/_nuxt/9ZFiTIhr.js +0 -1
- package/.output/public/_nuxt/A7e-2UEn.js +0 -1
- package/.output/public/_nuxt/B-hkwWGT.js +0 -1
- package/.output/public/_nuxt/B0m2ddpp.js +0 -1
- package/.output/public/_nuxt/B1dDrJ26.js +0 -1
- package/.output/public/_nuxt/B1yitclQ.js +0 -1
- package/.output/public/_nuxt/B5ZR69Tn.js +0 -1
- package/.output/public/_nuxt/B6aJPvgy.js +0 -1
- package/.output/public/_nuxt/B7mTdjB0.js +0 -1
- package/.output/public/_nuxt/BA6EPP6_.js +0 -1
- package/.output/public/_nuxt/BBGuKPBd.js +0 -1
- package/.output/public/_nuxt/BDzgwa52.js +0 -1
- package/.output/public/_nuxt/BE2KfCdU.js +0 -1
- package/.output/public/_nuxt/BEDo0Tqx.js +0 -1
- package/.output/public/_nuxt/BERRCDM3.js +0 -1
- package/.output/public/_nuxt/BETggiCN.js +0 -1
- package/.output/public/_nuxt/BEwlwnbL.js +0 -1
- package/.output/public/_nuxt/BFfxhgS-.js +0 -1
- package/.output/public/_nuxt/BGHREFWD.js +0 -1
- package/.output/public/_nuxt/BGJmEYvX.js +0 -1
- package/.output/public/_nuxt/BHrmToEH.js +0 -1
- package/.output/public/_nuxt/BIAuTxu3.js +0 -1
- package/.output/public/_nuxt/BIGW1oBm.js +0 -1
- package/.output/public/_nuxt/BLtJtn59.js +0 -1
- package/.output/public/_nuxt/BLxL40Jp.js +0 -1
- package/.output/public/_nuxt/BM1_JUlF.js +0 -1
- package/.output/public/_nuxt/BMMyXqK5.js +0 -1
- package/.output/public/_nuxt/BMWR74SV.js +0 -1
- package/.output/public/_nuxt/BPXmj4pV.js +0 -1
- package/.output/public/_nuxt/BPhlklZu.js +0 -2
- package/.output/public/_nuxt/BPzJO5Oe.js +0 -1
- package/.output/public/_nuxt/BQ8w6xss.js +0 -1
- package/.output/public/_nuxt/BQvybpQq.js +0 -1
- package/.output/public/_nuxt/BR7mELCv.js +0 -1
- package/.output/public/_nuxt/BRHolxvo.js +0 -1
- package/.output/public/_nuxt/BRZ36xJF.js +0 -1
- package/.output/public/_nuxt/BTJTHyun.js +0 -1
- package/.output/public/_nuxt/BU7Cl-8B.js +0 -1
- package/.output/public/_nuxt/BUTJmXJD.js +0 -1
- package/.output/public/_nuxt/BV7otONQ.js +0 -1
- package/.output/public/_nuxt/BVUaIqAu.js +0 -1
- package/.output/public/_nuxt/BWvSN4gD.js +0 -1
- package/.output/public/_nuxt/BXY8tDGw.js +0 -1
- package/.output/public/_nuxt/BXkSAIEj.js +0 -1
- package/.output/public/_nuxt/BYuPVq0Z.js +0 -2
- package/.output/public/_nuxt/BYunw83y.js +0 -1
- package/.output/public/_nuxt/B_HjzqPZ.js +0 -1
- package/.output/public/_nuxt/B_m7g4N7.js +0 -1
- package/.output/public/_nuxt/BbcW6ACK.js +0 -1
- package/.output/public/_nuxt/BcOcwvcX.js +0 -1
- package/.output/public/_nuxt/BdImnpbu.js +0 -1
- package/.output/public/_nuxt/BdnUsdx6.js +0 -1
- package/.output/public/_nuxt/BeH5JGqB.js +0 -1
- package/.output/public/_nuxt/BepWV7mh.js +0 -1
- package/.output/public/_nuxt/BfHTSMKl.js +0 -1
- package/.output/public/_nuxt/BfjtVDDH.js +0 -1
- package/.output/public/_nuxt/Bg4sa8Gm.js +0 -1
- package/.output/public/_nuxt/BgDCqdQA.js +0 -1
- package/.output/public/_nuxt/BhOHFoWU.js +0 -1
- package/.output/public/_nuxt/Bk5OV074.js +0 -1
- package/.output/public/_nuxt/BkPM1oy1.js +0 -1
- package/.output/public/_nuxt/BkioyH1T.js +0 -1
- package/.output/public/_nuxt/Bkuqu6BP.js +0 -1
- package/.output/public/_nuxt/Bl2oy6fF.js +0 -1
- package/.output/public/_nuxt/BmXAJ9_W.js +0 -1
- package/.output/public/_nuxt/BmotDGpj.js +0 -1
- package/.output/public/_nuxt/BnVrKZ9I.js +0 -1
- package/.output/public/_nuxt/Bo68u9VZ.js +0 -1
- package/.output/public/_nuxt/BoKiGodi.js +0 -1
- package/.output/public/_nuxt/Bp3cYrEr.js +0 -1
- package/.output/public/_nuxt/Bp6g37R7.js +0 -1
- package/.output/public/_nuxt/BqTXFGrv.js +0 -1
- package/.output/public/_nuxt/BqYA7rlc.js +0 -1
- package/.output/public/_nuxt/BsS91CYL.js +0 -1
- package/.output/public/_nuxt/BspZqrRM.js +0 -1
- package/.output/public/_nuxt/BtCnVYZw.js +0 -1
- package/.output/public/_nuxt/BtOb2qkB.js +0 -1
- package/.output/public/_nuxt/BthQWCQV.js +0 -1
- package/.output/public/_nuxt/BtqSS_iP.js +0 -1
- package/.output/public/_nuxt/BtsDLbAf.js +0 -1
- package/.output/public/_nuxt/Btyk0a-E.js +0 -1
- package/.output/public/_nuxt/Buea-lGh.js +0 -1
- package/.output/public/_nuxt/BuidTy5i.js +0 -1
- package/.output/public/_nuxt/BvAqAH-y.js +0 -1
- package/.output/public/_nuxt/Bw305WKR.js +0 -1
- package/.output/public/_nuxt/BxfrAKZq.js +0 -1
- package/.output/public/_nuxt/By_T3fGc.js +0 -1
- package/.output/public/_nuxt/BzH_AkZ7.js +0 -1
- package/.output/public/_nuxt/BzJJZx-M.js +0 -1
- package/.output/public/_nuxt/C-SQnVFl.js +0 -1
- package/.output/public/_nuxt/C0HS_06l.js +0 -1
- package/.output/public/_nuxt/C0SJOSAu.js +0 -1
- package/.output/public/_nuxt/C0hk2d4L.js +0 -1
- package/.output/public/_nuxt/C151Ov-r.js +0 -1
- package/.output/public/_nuxt/C26xiV0R.js +0 -1
- package/.output/public/_nuxt/C2t-YnRu.js +0 -1
- package/.output/public/_nuxt/C39BiMTA.js +0 -1
- package/.output/public/_nuxt/C3B-1QV4.js +0 -1
- package/.output/public/_nuxt/C3khCPGq.js +0 -1
- package/.output/public/_nuxt/C3mMm8J8.js +0 -1
- package/.output/public/_nuxt/C4IJs8-o.js +0 -1
- package/.output/public/_nuxt/C7Pa37_e.js +0 -1
- package/.output/public/_nuxt/C7Pw0Ztw.js +0 -1
- package/.output/public/_nuxt/C8-UwF3o.js +0 -1
- package/.output/public/_nuxt/C8M2exoo.js +0 -1
- package/.output/public/_nuxt/C8j9CRIf.js +0 -1
- package/.output/public/_nuxt/C8lEn-DE.js +0 -1
- package/.output/public/_nuxt/C8qhTKg5.js +0 -1
- package/.output/public/_nuxt/C98Dy4si.js +0 -1
- package/.output/public/_nuxt/C9XAeP06.js +0 -1
- package/.output/public/_nuxt/C9tS-k6U.js +0 -1
- package/.output/public/_nuxt/CA7CTBwS.js +0 -1
- package/.output/public/_nuxt/CAid0frd.js +0 -1
- package/.output/public/_nuxt/CDVJQ6XC.js +0 -1
- package/.output/public/_nuxt/CDx5xZoG.js +0 -1
- package/.output/public/_nuxt/CEL-wOlO.js +0 -1
- package/.output/public/_nuxt/CEu0bR-o.js +0 -1
- package/.output/public/_nuxt/CF10PKvl.js +0 -1
- package/.output/public/_nuxt/CG8Ifv2g.js +0 -1
- package/.output/public/_nuxt/CGqH5EJj.js +0 -1
- package/.output/public/_nuxt/CHLpvVh8.js +0 -1
- package/.output/public/_nuxt/CHM0blh-.js +0 -1
- package/.output/public/_nuxt/CHadp7IV.js +0 -1
- package/.output/public/_nuxt/CHh-QcGE.js +0 -1
- package/.output/public/_nuxt/CJc9bBzg.js +0 -1
- package/.output/public/_nuxt/CKIfxQSi.js +0 -1
- package/.output/public/_nuxt/CLvts2aQ.js +0 -1
- package/.output/public/_nuxt/CLxacb5B.js +0 -1
- package/.output/public/_nuxt/CMJyR3vc.js +0 -1
- package/.output/public/_nuxt/CMzrAZXt.js +0 -1
- package/.output/public/_nuxt/CO1LY3CK.js +0 -1
- package/.output/public/_nuxt/COEtLSDF.js +0 -1
- package/.output/public/_nuxt/COI20M4I.js +0 -1
- package/.output/public/_nuxt/COkxafJQ.js +0 -1
- package/.output/public/_nuxt/COt5Ahok.js +0 -1
- package/.output/public/_nuxt/CPtXGFXV.js +0 -1
- package/.output/public/_nuxt/CS3Unz2-.js +0 -1
- package/.output/public/_nuxt/CSXwinHm.js +0 -1
- package/.output/public/_nuxt/CTIxkRwW.js +0 -1
- package/.output/public/_nuxt/CTRr51gU.js +0 -1
- package/.output/public/_nuxt/CTUD0bHN.js +0 -1
- package/.output/public/_nuxt/CTWiQX6C.js +0 -1
- package/.output/public/_nuxt/CU1B2r8a.js +0 -1
- package/.output/public/_nuxt/CU27uY9n.js +0 -1
- package/.output/public/_nuxt/CVO1_9PV.js +0 -1
- package/.output/public/_nuxt/CWqW-TOZ.js +0 -1
- package/.output/public/_nuxt/CXtECtnM.js +0 -1
- package/.output/public/_nuxt/CYyVNO1X.js +0 -1
- package/.output/public/_nuxt/CZlF05X6.js +0 -1
- package/.output/public/_nuxt/C_StbyOY.js +0 -1
- package/.output/public/_nuxt/CafNBF8u.js +0 -1
- package/.output/public/_nuxt/Cb0HU5_O.js +0 -1
- package/.output/public/_nuxt/CbFg5uaA.js +0 -1
- package/.output/public/_nuxt/CbfX1IO0.js +0 -1
- package/.output/public/_nuxt/CcyOm34o.js +0 -1
- package/.output/public/_nuxt/CdggvHu8.js +0 -1
- package/.output/public/_nuxt/CeAyd5Ju.js +0 -1
- package/.output/public/_nuxt/CeZK1NFH.js +0 -1
- package/.output/public/_nuxt/CfQXZHmo.js +0 -1
- package/.output/public/_nuxt/CfeIJUat.js +0 -1
- package/.output/public/_nuxt/CfkAQpL9.js +0 -1
- package/.output/public/_nuxt/Cg-RD9OK.js +0 -1
- package/.output/public/_nuxt/ChMvpjG-.js +0 -1
- package/.output/public/_nuxt/Cj5Yp3dK.js +0 -1
- package/.output/public/_nuxt/CkByrt1z.js +0 -1
- package/.output/public/_nuxt/CkXjmgJE.js +0 -1
- package/.output/public/_nuxt/CktPXq0r.js +0 -1
- package/.output/public/_nuxt/ClSk7P53.js +0 -1
- package/.output/public/_nuxt/Cmh6b_Ma.js +0 -1
- package/.output/public/_nuxt/CmzX9FPi.js +0 -1
- package/.output/public/_nuxt/CnK8MTSM.js +0 -1
- package/.output/public/_nuxt/CnnmHF94.js +0 -1
- package/.output/public/_nuxt/Co6uUVPk.js +0 -1
- package/.output/public/_nuxt/CoydYhfv.js +0 -1
- package/.output/public/_nuxt/Cp-IABpG.js +0 -1
- package/.output/public/_nuxt/Cq5zzVJU.js +0 -1
- package/.output/public/_nuxt/CquLrc37.js +0 -1
- package/.output/public/_nuxt/CsfeWuGM.js +0 -1
- package/.output/public/_nuxt/Csfq5Kiy.js +0 -1
- package/.output/public/_nuxt/CtrldY6v.js +0 -1
- package/.output/public/_nuxt/Cuk6v7N8.js +0 -1
- package/.output/public/_nuxt/Cv9koXgw.js +0 -1
- package/.output/public/_nuxt/CxGSJlkm.js +0 -1
- package/.output/public/_nuxt/CyktbL80.js +0 -1
- package/.output/public/_nuxt/CylS5w8V.js +0 -1
- package/.output/public/_nuxt/CzTSHFRz.js +0 -1
- package/.output/public/_nuxt/D-2ljcwZ.js +0 -1
- package/.output/public/_nuxt/D-D014UQ.js +0 -1
- package/.output/public/_nuxt/D-um0cKY.js +0 -1
- package/.output/public/_nuxt/D08WgyRC.js +0 -1
- package/.output/public/_nuxt/D0YGMca9.js +0 -1
- package/.output/public/_nuxt/D0r3Knsf.js +0 -1
- package/.output/public/_nuxt/D17OF-Vu.js +0 -1
- package/.output/public/_nuxt/D1j8_8rp.js +0 -1
- package/.output/public/_nuxt/D1uDOp7C.js +0 -1
- package/.output/public/_nuxt/D22FLkUw.js +0 -1
- package/.output/public/_nuxt/D2CYqzqI.js +0 -1
- package/.output/public/_nuxt/D32k8WzR.js +0 -1
- package/.output/public/_nuxt/D3lLCCz7.js +0 -1
- package/.output/public/_nuxt/D4h5O-jR.js +0 -1
- package/.output/public/_nuxt/D5-asLiD.js +0 -1
- package/.output/public/_nuxt/D5KoaKCx.js +0 -1
- package/.output/public/_nuxt/D7ScPSBf.js +0 -1
- package/.output/public/_nuxt/D7o27uSR.js +0 -1
- package/.output/public/_nuxt/D7oLnXFd.js +0 -1
- package/.output/public/_nuxt/D82EKSYY.js +0 -1
- package/.output/public/_nuxt/D8dnphEi.js +0 -1
- package/.output/public/_nuxt/D93ZcfNL.js +0 -1
- package/.output/public/_nuxt/D97Zzqfu.js +0 -1
- package/.output/public/_nuxt/DACxCIGM.js +0 -1
- package/.output/public/_nuxt/DAi9KRSo.js +0 -1
- package/.output/public/_nuxt/DFQXde-d.js +0 -1
- package/.output/public/_nuxt/DFXneXwc.js +0 -1
- package/.output/public/_nuxt/DGztddWO.js +0 -1
- package/.output/public/_nuxt/DH5Ifo-i.js +0 -1
- package/.output/public/_nuxt/DHCkPAjA.js +0 -1
- package/.output/public/_nuxt/DHJKELXO.js +0 -1
- package/.output/public/_nuxt/DIqa6h_h.js +0 -1
- package/.output/public/_nuxt/DKYwYmdq.js +0 -1
- package/.output/public/_nuxt/DKzvysjW.js +0 -1
- package/.output/public/_nuxt/DL0toxrH.js +0 -1
- package/.output/public/_nuxt/DLaeWeQL.js +0 -1
- package/.output/public/_nuxt/DM8c43g1.js +0 -1
- package/.output/public/_nuxt/DMDPKkZ0.js +0 -1
- package/.output/public/_nuxt/DMzUqQB5.js +0 -1
- package/.output/public/_nuxt/DNrj_gVY.js +0 -1
- package/.output/public/_nuxt/DPcUKYIF.js +0 -1
- package/.output/public/_nuxt/DPfMkruS.js +0 -1
- package/.output/public/_nuxt/DQBmSTS-.js +0 -16
- package/.output/public/_nuxt/DRg8JJMk.js +0 -1
- package/.output/public/_nuxt/DRprw4p4.js +0 -1
- package/.output/public/_nuxt/DS1LvVMU.js +0 -1
- package/.output/public/_nuxt/DU1UobuO.js +0 -1
- package/.output/public/_nuxt/DUSGQflk.js +0 -1
- package/.output/public/_nuxt/DUszq2jm.js +0 -1
- package/.output/public/_nuxt/DV8OdvyJ.js +0 -1
- package/.output/public/_nuxt/DVFEvuxE.js +0 -1
- package/.output/public/_nuxt/DVMEJ2y_.js +0 -1
- package/.output/public/_nuxt/DVxCFoDh.js +0 -1
- package/.output/public/_nuxt/DWedfzmr.js +0 -1
- package/.output/public/_nuxt/DWrx1Km3.js +0 -1
- package/.output/public/_nuxt/DXbdFlpD.js +0 -1
- package/.output/public/_nuxt/DXmwc3jG.js +0 -1
- package/.output/public/_nuxt/DXvB9xmW.js +0 -1
- package/.output/public/_nuxt/DZbTZHAw.js +0 -1
- package/.output/public/_nuxt/DZxFcAj9.js +0 -1
- package/.output/public/_nuxt/D_Q5rh1f.js +0 -1
- package/.output/public/_nuxt/Da5cRb03.js +0 -1
- package/.output/public/_nuxt/DcaNXYhu.js +0 -1
- package/.output/public/_nuxt/Dd19v3D-.js +0 -1
- package/.output/public/_nuxt/DdkO51Og.js +0 -1
- package/.output/public/_nuxt/Ddv68eIx.js +0 -1
- package/.output/public/_nuxt/DeWFVDHI.js +0 -1
- package/.output/public/_nuxt/Des-eS-w.js +0 -1
- package/.output/public/_nuxt/Df68jz8_.js +0 -1
- package/.output/public/_nuxt/Df6bDoY_.js +0 -1
- package/.output/public/_nuxt/DftyyDEz.js +0 -1
- package/.output/public/_nuxt/DiinP2Uv.js +0 -1
- package/.output/public/_nuxt/DkFqJrB1.js +0 -1
- package/.output/public/_nuxt/DkhsQLT2.js +0 -1
- package/.output/public/_nuxt/DkwncUOv.js +0 -1
- package/.output/public/_nuxt/DlfHMoPT.js +0 -1
- package/.output/public/_nuxt/DljmTZ5-.js +0 -1
- package/.output/public/_nuxt/Dn2_MT6a.js +0 -1
- package/.output/public/_nuxt/DnULxvSX.js +0 -1
- package/.output/public/_nuxt/DoQv6qfi.js +0 -1
- package/.output/public/_nuxt/Dpen1YoG.js +0 -1
- package/.output/public/_nuxt/DqwNpetd.js +0 -1
- package/.output/public/_nuxt/Dr8Zlu6v.js +0 -1
- package/.output/public/_nuxt/DrPC2Hc9.js +0 -1
- package/.output/public/_nuxt/DrZfEa88.js +0 -1
- package/.output/public/_nuxt/Drp5UXmf.js +0 -1
- package/.output/public/_nuxt/DsOJ9woJ.js +0 -1
- package/.output/public/_nuxt/Dsd8FzMz.js +0 -1
- package/.output/public/_nuxt/Dtc2v4kS.js +0 -1
- package/.output/public/_nuxt/DuF5lwM0.js +0 -1
- package/.output/public/_nuxt/DupVM-Dz.js +0 -1
- package/.output/public/_nuxt/Dx-B1_4e.js +0 -1
- package/.output/public/_nuxt/DyJlTyXw.js +0 -1
- package/.output/public/_nuxt/DyxjwDmM.js +0 -1
- package/.output/public/_nuxt/E3gJ1_iC.js +0 -1
- package/.output/public/_nuxt/ETK3OkTL.js +0 -1
- package/.output/public/_nuxt/HCdEJDFI.js +0 -1
- package/.output/public/_nuxt/I3RK9BU8.js +0 -1
- package/.output/public/_nuxt/IeuSbFQv.js +0 -1
- package/.output/public/_nuxt/IvJ92aGK.js +0 -1
- package/.output/public/_nuxt/JhPuU2gP.js +0 -1
- package/.output/public/_nuxt/L9t79GZl.js +0 -1
- package/.output/public/_nuxt/MYTOULzL.js +0 -1
- package/.output/public/_nuxt/Mbdci57d.js +0 -1
- package/.output/public/_nuxt/MzD3tlZU.js +0 -1
- package/.output/public/_nuxt/N8V-PnMI.js +0 -1
- package/.output/public/_nuxt/NleAzG8P.js +0 -1
- package/.output/public/_nuxt/P80f7IUj.js +0 -1
- package/.output/public/_nuxt/PRrQsqfR.js +0 -1
- package/.output/public/_nuxt/Pmp26Uib.js +0 -1
- package/.output/public/_nuxt/PoHY5YXO.js +0 -1
- package/.output/public/_nuxt/QIJgUcNo.js +0 -1
- package/.output/public/_nuxt/T_KrSwvo.js +0 -1
- package/.output/public/_nuxt/ToLM6rGN.js +0 -1
- package/.output/public/_nuxt/U3xiXqPX.js +0 -6
- package/.output/public/_nuxt/U7qkj-Ja.js +0 -1
- package/.output/public/_nuxt/UInuXPgp.js +0 -1
- package/.output/public/_nuxt/VOosw3JB.js +0 -1
- package/.output/public/_nuxt/X9VrNqQs.js +0 -1
- package/.output/public/_nuxt/Xi2tawMN.js +0 -1
- package/.output/public/_nuxt/Yzrsuije.js +0 -1
- package/.output/public/_nuxt/ZF4spYqi.js +0 -2
- package/.output/public/_nuxt/ZwEiOJEn.js +0 -1
- package/.output/public/_nuxt/_ykCGR6B.js +0 -1
- package/.output/public/_nuxt/bCR0ucgS.js +0 -1
- package/.output/public/_nuxt/bN70gL4F.js +0 -1
- package/.output/public/_nuxt/brDaU2vB.js +0 -1
- package/.output/public/_nuxt/builds/meta/8cc66373-67fe-4d7f-9aba-b552d6e04602.json +0 -1
- package/.output/public/_nuxt/dglhsJpM.js +0 -1
- package/.output/public/_nuxt/dwOrl1Do.js +0 -1
- package/.output/public/_nuxt/eQ3_NmaE.js +0 -1
- package/.output/public/_nuxt/f7oK2omx.js +0 -1
- package/.output/public/_nuxt/fuZLfV_i.js +0 -1
- package/.output/public/_nuxt/fve9TYiY.js +0 -1
- package/.output/public/_nuxt/g9-lgVsj.js +0 -1
- package/.output/public/_nuxt/gcz8RCvz.js +0 -1
- package/.output/public/_nuxt/hegEt444.js +0 -1
- package/.output/public/_nuxt/irsrSlf-.js +0 -1
- package/.output/public/_nuxt/lXgVvXCa.js +0 -1
- package/.output/public/_nuxt/pkIJ47B4.js +0 -1
- package/.output/public/_nuxt/q-j0iyEw.js +0 -1
- package/.output/public/_nuxt/qliWkHmV.js +0 -1
- package/.output/public/_nuxt/svIZi08f.js +0 -1
- package/.output/public/_nuxt/uMbE6_td.js +0 -1
- package/.output/public/_nuxt/vGWfd6FD.js +0 -1
- 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
|
|
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
|
|
71
|
-
const
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
const
|
|
75
|
-
const
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
|
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
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
if (
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
|
|
114
|
-
|
|
485
|
+
copyAccumulatedText();
|
|
486
|
+
addText(html.substring(position, tagEnd));
|
|
115
487
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
216
|
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue",
|
|
3
|
-
"version": "3.5.
|
|
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.
|
|
99
|
-
"@vue/compiler-dom": "3.5.
|
|
100
|
-
"@vue/runtime-dom": "3.5.
|
|
101
|
-
"@vue/compiler-sfc": "3.5.
|
|
102
|
-
"@vue/server-renderer": "3.5.
|
|
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": "*"
|