@popcraft/kit 0.9.4 → 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.
- package/dist/chunks/agent-PZZ5QQRY.js +44 -0
- package/dist/chunks/audio-decode-KTJKTOFF.js +53 -0
- package/dist/chunks/audio-import-726KEKSR.js +125 -0
- package/dist/chunks/browser-NTXS6YKF.js +177 -0
- package/dist/chunks/build-IVVISOKI.js +54 -0
- package/dist/chunks/builtin-GBBFUTXV.js +102 -0
- package/dist/chunks/check-template-YEXURAMQ.js +2598 -0
- package/dist/chunks/chunk-22ITGR6R.js +191 -0
- package/dist/chunks/chunk-22IWMXFP.js +45 -0
- package/dist/chunks/chunk-23DWT2DO.js +199 -0
- package/dist/chunks/chunk-24XDFDHC.js +503 -0
- package/dist/chunks/chunk-25CYIY67.js +163 -0
- package/dist/chunks/chunk-26F35WCZ.js +90 -0
- package/dist/chunks/chunk-26Y3WB4W.js +23 -0
- package/dist/chunks/chunk-2A3G3NUN.js +231 -0
- package/dist/chunks/chunk-2A4AQHP3.js +112 -0
- package/dist/chunks/chunk-2C6D3QAQ.js +317 -0
- package/dist/chunks/chunk-2DFEBF4U.js +646 -0
- package/dist/chunks/chunk-2KKM5CF7.js +218 -0
- package/dist/chunks/chunk-2LAMNZYP.js +277 -0
- package/dist/chunks/chunk-2MXU53X7.js +90 -0
- package/dist/chunks/chunk-2NA4FI6E.js +90 -0
- package/dist/chunks/chunk-2O3THYHO.js +112 -0
- package/dist/chunks/chunk-2P7JHZMR.js +23 -0
- package/dist/chunks/chunk-2Q6OBDGK.js +118 -0
- package/dist/chunks/chunk-2QNDMAST.js +274 -0
- package/dist/chunks/chunk-2RDCDKEE.js +83 -0
- package/dist/chunks/chunk-2TIOEJHT.js +399 -0
- package/dist/chunks/chunk-2TWOK5TC.js +33 -0
- package/dist/chunks/chunk-2U554NSX.js +278 -0
- package/dist/chunks/chunk-2VLBLY3X.js +180 -0
- package/dist/chunks/chunk-2VQTSDEP.js +33 -0
- package/dist/chunks/chunk-2VXANZN5.js +23 -0
- package/dist/chunks/chunk-2ZADDXUI.js +104 -0
- package/dist/chunks/chunk-2ZINSLY5.js +53 -0
- package/dist/chunks/chunk-2ZXBU6IZ.js +362 -0
- package/dist/chunks/chunk-3433VQXW.js +126 -0
- package/dist/chunks/chunk-34XZ2ZUW.js +331 -0
- package/dist/chunks/chunk-3AM6JGXC.js +237 -0
- package/dist/chunks/chunk-3AX7VQJO.js +33 -0
- package/dist/chunks/chunk-3BVCSLQ3.js +128 -0
- package/dist/chunks/chunk-3DIO57QW.js +270 -0
- package/dist/chunks/chunk-3GNK22QB.js +118 -0
- package/dist/chunks/chunk-3H24AD4F.js +301 -0
- package/dist/chunks/chunk-3H2SBEMM.js +78 -0
- package/dist/chunks/chunk-3IQXRZMM.js +110 -0
- package/dist/chunks/chunk-3ISBVK5G.js +131 -0
- package/dist/chunks/chunk-3JM5TSEQ.js +110 -0
- package/dist/chunks/chunk-3JNFPNNW.js +36 -0
- package/dist/chunks/chunk-3JTJYWT3.js +152 -0
- package/dist/chunks/chunk-3LNFTCFX.js +161 -0
- package/dist/chunks/chunk-3M35ZQSD.js +298 -0
- package/dist/chunks/chunk-3NFMJ6VJ.js +43 -0
- package/dist/chunks/chunk-3O3TH7VH.js +84 -0
- package/dist/chunks/chunk-3SGJVGN5.js +102 -0
- package/dist/chunks/chunk-3TTVTYFX.js +49 -0
- package/dist/chunks/chunk-3X3CEDEU.js +122 -0
- package/dist/chunks/chunk-3Z5R7PMQ.js +33 -0
- package/dist/chunks/chunk-42ETHU5R.js +130 -0
- package/dist/chunks/chunk-43ZB2E34.js +165 -0
- package/dist/chunks/chunk-477J76HL.js +299 -0
- package/dist/chunks/chunk-4CEYEKIM.js +33 -0
- package/dist/chunks/chunk-4D3R25ZA.js +100 -0
- package/dist/chunks/chunk-4D77YAEY.js +173 -0
- package/dist/chunks/chunk-4ELYBUDE.js +139 -0
- package/dist/chunks/chunk-4G5WTESE.js +327 -0
- package/dist/chunks/chunk-4K2OEAII.js +193 -0
- package/dist/chunks/chunk-4KBIL33J.js +100 -0
- package/dist/chunks/chunk-4L7HGTDD.js +320 -0
- package/dist/chunks/chunk-4LXPL4NG.js +105 -0
- package/dist/chunks/chunk-4NG53U5U.js +178 -0
- package/dist/chunks/chunk-4PI2U5D6.js +159 -0
- package/dist/chunks/chunk-4PLZXWGK.js +23 -0
- package/dist/chunks/chunk-4QCMOYLS.js +23 -0
- package/dist/chunks/chunk-4QYDHWEU.js +23 -0
- package/dist/chunks/chunk-4RUMKOST.js +287 -0
- package/dist/chunks/chunk-4WC6DBJE.js +146 -0
- package/dist/chunks/chunk-4YQMSBI2.js +260 -0
- package/dist/chunks/chunk-4Z5IXTSL.js +153 -0
- package/dist/chunks/chunk-53RDEW4S.js +209 -0
- package/dist/chunks/chunk-553CLMYB.js +182 -0
- package/dist/chunks/chunk-554MRML4.js +82 -0
- package/dist/chunks/chunk-56U2UAP2.js +135 -0
- package/dist/chunks/chunk-57FB3YPX.js +238 -0
- package/dist/chunks/chunk-57FS2OWK.js +204 -0
- package/dist/chunks/chunk-5AJA7UK5.js +162 -0
- package/dist/chunks/chunk-5BAZ43FK.js +242 -0
- package/dist/chunks/chunk-5BF4HOUJ.js +163 -0
- package/dist/chunks/chunk-5BTMHGH6.js +78 -0
- package/dist/chunks/chunk-5CTEGDG7.js +110 -0
- package/dist/chunks/chunk-5DYGP2JP.js +324 -0
- package/dist/chunks/chunk-5ENTGCAH.js +169 -0
- package/dist/chunks/chunk-5G5EKBNG.js +97 -0
- package/dist/chunks/chunk-5IDN2NW4.js +201 -0
- package/dist/chunks/chunk-5JNSBIC5.js +149 -0
- package/dist/chunks/chunk-5L7OOPIG.js +249 -0
- package/dist/chunks/chunk-5QC2GM5M.js +110 -0
- package/dist/chunks/chunk-5QEDOL6U.js +305 -0
- package/dist/chunks/chunk-5QFT4IG6.js +109 -0
- package/dist/chunks/chunk-5UUYB2MG.js +278 -0
- package/dist/chunks/chunk-5WEHPMGR.js +33 -0
- package/dist/chunks/chunk-5ZG7FBH4.js +113 -0
- package/dist/chunks/chunk-5ZHZOS4P.js +23 -0
- package/dist/chunks/chunk-637O6NMB.js +728 -0
- package/dist/chunks/chunk-6467SMO3.js +142 -0
- package/dist/chunks/chunk-65BOF7P5.js +358 -0
- package/dist/chunks/chunk-672ZWC7A.js +362 -0
- package/dist/chunks/chunk-6C4PSCR2.js +197 -0
- package/dist/chunks/chunk-6E4UQIDY.js +33 -0
- package/dist/chunks/chunk-6EHTQ6ZP.js +144 -0
- package/dist/chunks/chunk-6FF6X4MU.js +23 -0
- package/dist/chunks/chunk-6FFFPDG3.js +250 -0
- package/dist/chunks/chunk-6H7GL2MA.js +119 -0
- package/dist/chunks/chunk-6IVQG4I7.js +47 -0
- package/dist/chunks/chunk-6JQPXSWN.js +1307 -0
- package/dist/chunks/chunk-6N3PDPZE.js +181 -0
- package/dist/chunks/chunk-6P6UYSCI.js +92 -0
- package/dist/chunks/chunk-6QNN44IF.js +206 -0
- package/dist/chunks/chunk-6SFCRTZQ.js +180 -0
- package/dist/chunks/chunk-6TZP3J2H.js +147 -0
- package/dist/chunks/chunk-6VQGS5E2.js +52 -0
- package/dist/chunks/chunk-6XWPZ4L7.js +415 -0
- package/dist/chunks/chunk-6YRARWTL.js +23 -0
- package/dist/chunks/chunk-6ZWVTVQX.js +86 -0
- package/dist/chunks/chunk-73AWVEWV.js +39 -0
- package/dist/chunks/chunk-743D3BGQ.js +95 -0
- package/dist/chunks/chunk-74TROAHC.js +130 -0
- package/dist/chunks/chunk-75H7BJYZ.js +98 -0
- package/dist/chunks/chunk-76YEGZHA.js +103 -0
- package/dist/chunks/chunk-77AADTQ6.js +97 -0
- package/dist/chunks/chunk-77LQTG7Q.js +106 -0
- package/dist/chunks/chunk-7BFBX6SQ.js +150 -0
- package/dist/chunks/chunk-7DOYCK23.js +177 -0
- package/dist/chunks/chunk-7EDLK4LA.js +33 -0
- package/dist/chunks/chunk-7FCUB33X.js +123 -0
- package/dist/chunks/chunk-7FKHBID6.js +624 -0
- package/dist/chunks/chunk-7GYGC6NI.js +150 -0
- package/dist/chunks/chunk-7II7HP6D.js +119 -0
- package/dist/chunks/chunk-7KEOYN7P.js +139 -0
- package/dist/chunks/chunk-7MNTTHYL.js +118 -0
- package/dist/chunks/chunk-7PABHPVU.js +195 -0
- package/dist/chunks/chunk-7QSLELC6.js +33 -0
- package/dist/chunks/chunk-7UNRREDN.js +1411 -0
- package/dist/chunks/chunk-7VJVTFRS.js +23 -0
- package/dist/chunks/chunk-7VMHP7VS.js +47 -0
- package/dist/chunks/chunk-7VZP3WXE.js +33 -0
- package/dist/chunks/chunk-7WRSFYVQ.js +36 -0
- package/dist/chunks/chunk-7XQMEDOF.js +121 -0
- package/dist/chunks/chunk-7ZYUXRRN.js +106 -0
- package/dist/chunks/chunk-A4GW2V2K.js +270 -0
- package/dist/chunks/chunk-A4UJ7RIG.js +99 -0
- package/dist/chunks/chunk-A6JWPBTC.js +68 -0
- package/dist/chunks/chunk-AA5ZLRYB.js +50 -0
- package/dist/chunks/chunk-AA6HGOFJ.js +204 -0
- package/dist/chunks/chunk-ABBZIONS.js +119 -0
- package/dist/chunks/chunk-ACMFNGWZ.js +497 -0
- package/dist/chunks/chunk-ACUZGTWY.js +84 -0
- package/dist/chunks/chunk-AFBLGFBF.js +88 -0
- package/dist/chunks/chunk-AK36BRGD.js +117 -0
- package/dist/chunks/chunk-AKFAI2VD.js +197 -0
- package/dist/chunks/chunk-ANBHDKCR.js +201 -0
- package/dist/chunks/chunk-ANXH6CE4.js +166 -0
- package/dist/chunks/chunk-AO7UZPZ4.js +149 -0
- package/dist/chunks/chunk-AOI6OQX6.js +100 -0
- package/dist/chunks/chunk-AQOMYBKY.js +62 -0
- package/dist/chunks/chunk-ATTGYF2P.js +342 -0
- package/dist/chunks/chunk-AUC62T4M.js +104 -0
- package/dist/chunks/chunk-AXN3OTFA.js +96 -0
- package/dist/chunks/chunk-AXUYTELE.js +159 -0
- package/dist/chunks/chunk-B2BLDFNS.js +151 -0
- package/dist/chunks/chunk-B2KE25L4.js +261 -0
- package/dist/chunks/chunk-B44EUAPA.js +1309 -0
- package/dist/chunks/chunk-B4CA7HM4.js +135 -0
- package/dist/chunks/chunk-B73FBADV.js +94 -0
- package/dist/chunks/chunk-B7DFQEVH.js +1393 -0
- package/dist/chunks/chunk-BBO7CYKQ.js +166 -0
- package/dist/chunks/chunk-BCFW57WC.js +140 -0
- package/dist/chunks/chunk-BES3HFXE.js +81 -0
- package/dist/chunks/chunk-BHGZD6OL.js +145 -0
- package/dist/chunks/chunk-BIFEFXMR.js +214 -0
- package/dist/chunks/chunk-BIM2KLDR.js +30 -0
- package/dist/chunks/chunk-BK64FGEM.js +344 -0
- package/dist/chunks/chunk-BKGLE3YR.js +221 -0
- package/dist/chunks/chunk-BL3XZZ6C.js +188 -0
- package/dist/chunks/chunk-BN3YNSKL.js +209 -0
- package/dist/chunks/chunk-BNI33AWG.js +120 -0
- package/dist/chunks/chunk-BQGGX3KH.js +33 -0
- package/dist/chunks/chunk-BRAR534K.js +192 -0
- package/dist/chunks/chunk-BRODOECQ.js +23 -0
- package/dist/chunks/chunk-BRUPYGDF.js +160 -0
- package/dist/chunks/chunk-BSFK6ISY.js +153 -0
- package/dist/chunks/chunk-BV2IWYFE.js +80 -0
- package/dist/chunks/chunk-BW4OL4VF.js +234 -0
- package/dist/chunks/chunk-BWLKMBWN.js +33 -0
- package/dist/chunks/chunk-BWNMEJMS.js +93 -0
- package/dist/chunks/chunk-BXRO5UWX.js +297 -0
- package/dist/chunks/chunk-BYKX3B2T.js +131 -0
- package/dist/chunks/chunk-C26VYAH3.js +81 -0
- package/dist/chunks/chunk-C2G23SMO.js +45 -0
- package/dist/chunks/chunk-C3HDB7ZU.js +114 -0
- package/dist/chunks/chunk-C43B7AIZ.js +117 -0
- package/dist/chunks/chunk-C4FUSCBY.js +106 -0
- package/dist/chunks/chunk-C4NRHLGU.js +172 -0
- package/dist/chunks/chunk-C4O575GB.js +124 -0
- package/dist/chunks/chunk-C53LSUWN.js +106 -0
- package/dist/chunks/chunk-C6BQ2AAX.js +396 -0
- package/dist/chunks/chunk-C6UDW7D4.js +173 -0
- package/dist/chunks/chunk-CA5CBEKJ.js +73 -0
- package/dist/chunks/chunk-CAFV6NTU.js +23 -0
- package/dist/chunks/chunk-CC4XTGUA.js +146 -0
- package/dist/chunks/chunk-CD4SJXUN.js +358 -0
- package/dist/chunks/chunk-CEPANOKF.js +140 -0
- package/dist/chunks/chunk-CFAV5TCI.js +102 -0
- package/dist/chunks/chunk-CFML6GWP.js +326 -0
- package/dist/chunks/chunk-CFN3NSWL.js +202 -0
- package/dist/chunks/chunk-CFYHVKGM.js +149 -0
- package/dist/chunks/chunk-CGP22GYX.js +304 -0
- package/dist/chunks/chunk-CGRPMYXV.js +97 -0
- package/dist/chunks/chunk-CHVGVDSM.js +307 -0
- package/dist/chunks/chunk-CICBT2JN.js +175 -0
- package/dist/chunks/chunk-CKSSR5LC.js +366 -0
- package/dist/chunks/chunk-CKWN24Q5.js +135 -0
- package/dist/chunks/chunk-CNI5Z6CZ.js +97 -0
- package/dist/chunks/chunk-CNWJRXPF.js +263 -0
- package/dist/chunks/chunk-CPRT64GP.js +215 -0
- package/dist/chunks/chunk-CQGLOK55.js +45 -0
- package/dist/chunks/chunk-CQIA2BWR.js +90 -0
- package/dist/chunks/chunk-CSUCVF3J.js +277 -0
- package/dist/chunks/chunk-CTB3VHEA.js +122 -0
- package/dist/chunks/chunk-CTDNPDKM.js +177 -0
- package/dist/chunks/chunk-CWYEOBJK.js +78 -0
- package/dist/chunks/chunk-CYT64XYX.js +574 -0
- package/dist/chunks/chunk-CZ6PXJV7.js +87 -0
- package/dist/chunks/chunk-D3EN5Q64.js +150 -0
- package/dist/chunks/chunk-D5KY47MP.js +161 -0
- package/dist/chunks/chunk-D5OW75WM.js +181 -0
- package/dist/chunks/chunk-D6BVI6JN.js +185 -0
- package/dist/chunks/chunk-D6PMYPIE.js +78 -0
- package/dist/chunks/chunk-D6QUSEJK.js +272 -0
- package/dist/chunks/chunk-DB6J6Y3H.js +33 -0
- package/dist/chunks/chunk-DH3HGEWA.js +147 -0
- package/dist/chunks/chunk-DH5YIKDK.js +123 -0
- package/dist/chunks/chunk-DI2Q4MYJ.js +89 -0
- package/dist/chunks/chunk-DJP63ZNQ.js +113 -0
- package/dist/chunks/chunk-DJSFGH6S.js +172 -0
- package/dist/chunks/chunk-DKPMWPKW.js +154 -0
- package/dist/chunks/chunk-DMUYD2KZ.js +45 -0
- package/dist/chunks/chunk-DMVPWUQK.js +105 -0
- package/dist/chunks/chunk-DNZHWHSP.js +135 -0
- package/dist/chunks/chunk-DO2Z3IY6.js +36 -0
- package/dist/chunks/chunk-DP5FHJL5.js +93 -0
- package/dist/chunks/chunk-DPFAAHKD.js +23 -0
- package/dist/chunks/chunk-DRGYILMS.js +111 -0
- package/dist/chunks/chunk-DTNT4OTU.js +121 -0
- package/dist/chunks/chunk-DULD4YYT.js +71 -0
- package/dist/chunks/chunk-DW5FQ3X4.js +283 -0
- package/dist/chunks/chunk-DXNGCY5M.js +94 -0
- package/dist/chunks/chunk-DYAUQSZD.js +80 -0
- package/dist/chunks/chunk-DYBQYGQH.js +345 -0
- package/dist/chunks/chunk-DZMQFRJO.js +117 -0
- package/dist/chunks/chunk-E344DRPZ.js +74 -0
- package/dist/chunks/chunk-E4JZLDND.js +375 -0
- package/dist/chunks/chunk-E4X6G63L.js +209 -0
- package/dist/chunks/chunk-EAP7ZQQL.js +158 -0
- package/dist/chunks/chunk-EB7MSTLG.js +95 -0
- package/dist/chunks/chunk-EGKZISA2.js +94 -0
- package/dist/chunks/chunk-EHUX3LAF.js +412 -0
- package/dist/chunks/chunk-EIPFQAFB.js +80 -0
- package/dist/chunks/chunk-EIRGAN4S.js +305 -0
- package/dist/chunks/chunk-EJ75MDVG.js +142 -0
- package/dist/chunks/chunk-ELOVRXYI.js +163 -0
- package/dist/chunks/chunk-ENOZC27X.js +158 -0
- package/dist/chunks/chunk-ENVCLJWZ.js +122 -0
- package/dist/chunks/chunk-EOTMAZJ5.js +101 -0
- package/dist/chunks/chunk-EPTG356D.js +200 -0
- package/dist/chunks/chunk-ESYKBMBF.js +77 -0
- package/dist/chunks/chunk-EXIADKTJ.js +33 -0
- package/dist/chunks/chunk-EXL6PGYS.js +80 -0
- package/dist/chunks/chunk-EZEHNQFM.js +135 -0
- package/dist/chunks/chunk-F27BR7XO.js +23 -0
- package/dist/chunks/chunk-F3J7FTSB.js +97 -0
- package/dist/chunks/chunk-F3LMF3HS.js +146 -0
- package/dist/chunks/chunk-F4L7UYF7.js +172 -0
- package/dist/chunks/chunk-F5F4NR4K.js +126 -0
- package/dist/chunks/chunk-F5TNFNHF.js +33 -0
- package/dist/chunks/chunk-F6XOMB3N.js +83 -0
- package/dist/chunks/chunk-FDFJ4XCU.js +210 -0
- package/dist/chunks/chunk-FDHFUEBM.js +23 -0
- package/dist/chunks/chunk-FEDXOUX5.js +82 -0
- package/dist/chunks/chunk-FEI3ULDA.js +1200 -0
- package/dist/chunks/chunk-FER65OGQ.js +192 -0
- package/dist/chunks/chunk-FFNP3NEO.js +136 -0
- package/dist/chunks/chunk-FL3WHL3C.js +23 -0
- package/dist/chunks/chunk-FLJXKOI5.js +462 -0
- package/dist/chunks/chunk-FNLBM53M.js +147 -0
- package/dist/chunks/chunk-FO5MAMXV.js +106 -0
- package/dist/chunks/chunk-FOIR4JHO.js +172 -0
- package/dist/chunks/chunk-FRYHFJNH.js +206 -0
- package/dist/chunks/chunk-FS2A4S64.js +97 -0
- package/dist/chunks/chunk-FSQXLSUE.js +213 -0
- package/dist/chunks/chunk-FSZ4IBPS.js +126 -0
- package/dist/chunks/chunk-FWW4R56A.js +137 -0
- package/dist/chunks/chunk-FYFRBPU5.js +104 -0
- package/dist/chunks/chunk-FYPMLYNL.js +92 -0
- package/dist/chunks/chunk-G22CFJPU.js +114 -0
- package/dist/chunks/chunk-G5TSDOZC.js +167 -0
- package/dist/chunks/chunk-G73F5NUH.js +120 -0
- package/dist/chunks/chunk-G7QAZWLO.js +191 -0
- package/dist/chunks/chunk-GALJOCQI.js +120 -0
- package/dist/chunks/chunk-GCY5YJFF.js +184 -0
- package/dist/chunks/chunk-GFLHLVUV.js +170 -0
- package/dist/chunks/chunk-GG7HA26X.js +50 -0
- package/dist/chunks/chunk-GH4MMA7L.js +183 -0
- package/dist/chunks/chunk-GHJEZXWN.js +914 -0
- package/dist/chunks/chunk-GIBDGZJZ.js +108 -0
- package/dist/chunks/chunk-GIQSOLME.js +157 -0
- package/dist/chunks/chunk-GJQTAAPC.js +83 -0
- package/dist/chunks/chunk-GKG23MFU.js +164 -0
- package/dist/chunks/chunk-GKIN3YJF.js +320 -0
- package/dist/chunks/chunk-GMY4ZNQP.js +198 -0
- package/dist/chunks/chunk-GPGIQB2Y.js +33 -0
- package/dist/chunks/chunk-GPNVV3EO.js +231 -0
- package/dist/chunks/chunk-GQF3MBVU.js +104 -0
- package/dist/chunks/chunk-GQZR7H5Z.js +230 -0
- package/dist/chunks/chunk-GRCMYINZ.js +146 -0
- package/dist/chunks/chunk-GUJIIBWT.js +172 -0
- package/dist/chunks/chunk-GWLMAIYK.js +368 -0
- package/dist/chunks/chunk-GXLFTSDZ.js +266 -0
- package/dist/chunks/chunk-GZ2NYUM2.js +33 -0
- package/dist/chunks/chunk-H34SPBXQ.js +178 -0
- package/dist/chunks/chunk-H4GH4QEU.js +23 -0
- package/dist/chunks/chunk-H4VKQL2B.js +336 -0
- package/dist/chunks/chunk-H6AE4J4N.js +261 -0
- package/dist/chunks/chunk-H6GLGWYE.js +33 -0
- package/dist/chunks/chunk-HANBYFKV.js +358 -0
- package/dist/chunks/chunk-HBR7FVP6.js +147 -0
- package/dist/chunks/chunk-HBVXEIKL.js +116 -0
- package/dist/chunks/chunk-HCWDVVBJ.js +255 -0
- package/dist/chunks/chunk-HD3EGXVU.js +10422 -0
- package/dist/chunks/chunk-HD3RAR72.js +36 -0
- package/dist/chunks/chunk-HFWZUUQ6.js +42 -0
- package/dist/chunks/chunk-HGTSHCVM.js +111 -0
- package/dist/chunks/chunk-HHBO4IGD.js +33 -0
- package/dist/chunks/chunk-HON44DLT.js +36 -0
- package/dist/chunks/chunk-HPJCNGX4.js +156 -0
- package/dist/chunks/chunk-HSZSBVAP.js +194 -0
- package/dist/chunks/chunk-HUJV44BX.js +23 -0
- package/dist/chunks/chunk-HVJAUI5N.js +84 -0
- package/dist/chunks/chunk-HVS2OR4I.js +123 -0
- package/dist/chunks/chunk-HWRYCRDA.js +55 -0
- package/dist/chunks/chunk-HWVDOZER.js +315 -0
- package/dist/chunks/chunk-HZ4YP6JN.js +108 -0
- package/dist/chunks/chunk-HZGUTDQE.js +632 -0
- package/dist/chunks/chunk-I2GFOI7U.js +41 -0
- package/dist/chunks/chunk-I3PZIVVY.js +176 -0
- package/dist/chunks/chunk-I4LWVALU.js +287 -0
- package/dist/chunks/chunk-I4QOYKSD.js +119 -0
- package/dist/chunks/chunk-I6VWYOR5.js +304 -0
- package/dist/chunks/chunk-I7ESIQX5.js +152 -0
- package/dist/chunks/chunk-I7POQT2W.js +260 -0
- package/dist/chunks/chunk-IAMH32M2.js +176 -0
- package/dist/chunks/chunk-ICFBTQAN.js +80 -0
- package/dist/chunks/chunk-IDROEYTT.js +258 -0
- package/dist/chunks/chunk-IEA24K2C.js +23 -0
- package/dist/chunks/chunk-IF6NBNHS.js +109 -0
- package/dist/chunks/chunk-IGATRZLR.js +77 -0
- package/dist/chunks/chunk-IGBPOATP.js +101 -0
- package/dist/chunks/chunk-IGHCMNSU.js +33 -0
- package/dist/chunks/chunk-IHMNTNIX.js +146 -0
- package/dist/chunks/chunk-IIFK22FV.js +120 -0
- package/dist/chunks/chunk-IIMCL46F.js +103 -0
- package/dist/chunks/chunk-IJEHMXOF.js +161 -0
- package/dist/chunks/chunk-IO7HTJFF.js +167 -0
- package/dist/chunks/chunk-IPGZ6ZZI.js +198 -0
- package/dist/chunks/chunk-IR6NBNLB.js +336 -0
- package/dist/chunks/chunk-ITQ4DQJW.js +260 -0
- package/dist/chunks/chunk-IVBYMRRP.js +102 -0
- package/dist/chunks/chunk-J2B6VFGR.js +251 -0
- package/dist/chunks/chunk-J2HUHUYC.js +98 -0
- package/dist/chunks/chunk-J3VG5UIV.js +315 -0
- package/dist/chunks/chunk-J4DRAYI2.js +36 -0
- package/dist/chunks/chunk-J5IT7FGV.js +33 -0
- package/dist/chunks/chunk-J7Q4MSRJ.js +94 -0
- package/dist/chunks/chunk-JCQP6N34.js +160 -0
- package/dist/chunks/chunk-JF475NMK.js +265 -0
- package/dist/chunks/chunk-JG3U253C.js +226 -0
- package/dist/chunks/chunk-JIYVK7WR.js +290 -0
- package/dist/chunks/chunk-JJX22UZB.js +30 -0
- package/dist/chunks/chunk-JKMS4XSE.js +97 -0
- package/dist/chunks/chunk-JMA7HK3D.js +152 -0
- package/dist/chunks/chunk-JMC4KIIA.js +190 -0
- package/dist/chunks/chunk-JOOLJ3AW.js +23 -0
- package/dist/chunks/chunk-JPUVZZHM.js +282 -0
- package/dist/chunks/chunk-JQK2Y655.js +93 -0
- package/dist/chunks/chunk-JRLQH3SB.js +200 -0
- package/dist/chunks/chunk-JSXQBOJC.js +283 -0
- package/dist/chunks/chunk-JTFKJETQ.js +36 -0
- package/dist/chunks/chunk-JWJM7P72.js +237 -0
- package/dist/chunks/chunk-JWNEPZLG.js +86 -0
- package/dist/chunks/chunk-JXV2WYNJ.js +257 -0
- package/dist/chunks/chunk-JYHQO22K.js +30 -0
- package/dist/chunks/chunk-JZ2SSTUB.js +81 -0
- package/dist/chunks/chunk-JZCG333O.js +124 -0
- package/dist/chunks/chunk-K2VINE4L.js +23 -0
- package/dist/chunks/chunk-K42KM4FU.js +226 -0
- package/dist/chunks/chunk-K4BIV4TX.js +172 -0
- package/dist/chunks/chunk-K5K63QVC.js +390 -0
- package/dist/chunks/chunk-K5WCSDMY.js +111 -0
- package/dist/chunks/chunk-K7ALT3JE.js +304 -0
- package/dist/chunks/chunk-KBLSKAC4.js +23 -0
- package/dist/chunks/chunk-KD3XZGQ4.js +95 -0
- package/dist/chunks/chunk-KDGKIQIE.js +112 -0
- package/dist/chunks/chunk-KE2IRN35.js +49 -0
- package/dist/chunks/chunk-KEDR7SAP.js +290 -0
- package/dist/chunks/chunk-KFEVNDVT.js +217 -0
- package/dist/chunks/chunk-KJRODKTU.js +240 -0
- package/dist/chunks/chunk-KLT72OMV.js +197 -0
- package/dist/chunks/chunk-KM3IUUK4.js +151 -0
- package/dist/chunks/chunk-KNKDK7FD.js +104 -0
- package/dist/chunks/chunk-KOY6L5YI.js +98 -0
- package/dist/chunks/chunk-KPNHVIPL.js +23 -0
- package/dist/chunks/chunk-KQBUAHPD.js +23 -0
- package/dist/chunks/chunk-KS7HSHJO.js +139 -0
- package/dist/chunks/chunk-KUIPEC2E.js +168 -0
- package/dist/chunks/chunk-KY276F4F.js +187 -0
- package/dist/chunks/chunk-KY75ABOR.js +170 -0
- package/dist/chunks/chunk-KZIMMIAK.js +103 -0
- package/dist/chunks/chunk-L32NUYTX.js +738 -0
- package/dist/chunks/chunk-L3FFYRSQ.js +351 -0
- package/dist/chunks/chunk-L3K5J4U6.js +441 -0
- package/dist/chunks/chunk-L3WLXTEJ.js +152 -0
- package/dist/chunks/chunk-L526D5IT.js +55 -0
- package/dist/chunks/chunk-L5FPWBSM.js +165 -0
- package/dist/chunks/chunk-L5P5AEHM.js +360 -0
- package/dist/chunks/chunk-L642E22T.js +220 -0
- package/dist/chunks/chunk-L7TDXQIX.js +152 -0
- package/dist/chunks/chunk-L7WRY2JK.js +115 -0
- package/dist/chunks/chunk-LBXIKW2X.js +247 -0
- package/dist/chunks/chunk-LDBYYHFW.js +276 -0
- package/dist/chunks/chunk-LELD6XU2.js +23 -0
- package/dist/chunks/chunk-LFLQODOG.js +42 -0
- package/dist/chunks/chunk-LIOYL7RK.js +33 -0
- package/dist/chunks/chunk-LJN4MXX7.js +38 -0
- package/dist/chunks/chunk-LKGO4CNF.js +44 -0
- package/dist/chunks/chunk-LKMXINKP.js +166 -0
- package/dist/chunks/chunk-LL5CNNZ6.js +85 -0
- package/dist/chunks/chunk-LPLAEB7C.js +525 -0
- package/dist/chunks/chunk-LQ6IJQNE.js +71 -0
- package/dist/chunks/chunk-LQLWCEFS.js +89 -0
- package/dist/chunks/chunk-LQOKBVSX.js +112 -0
- package/dist/chunks/chunk-LRHYMWUI.js +159 -0
- package/dist/chunks/chunk-LUJTP7YZ.js +190 -0
- package/dist/chunks/chunk-LURWQBE6.js +330 -0
- package/dist/chunks/chunk-LWPHSJOF.js +239 -0
- package/dist/chunks/chunk-LXO22HBT.js +104 -0
- package/dist/chunks/chunk-LZIWJ4GQ.js +95 -0
- package/dist/chunks/chunk-M24FJRYP.js +155 -0
- package/dist/chunks/chunk-M5BEH5RO.js +184 -0
- package/dist/chunks/chunk-M6EG4NDI.js +283 -0
- package/dist/chunks/chunk-M76WUNH7.js +45 -0
- package/dist/chunks/chunk-MA5YXLWC.js +54 -0
- package/dist/chunks/chunk-MD75QYE3.js +196 -0
- package/dist/chunks/chunk-ME22UM6U.js +94 -0
- package/dist/chunks/chunk-MF7V32XB.js +41 -0
- package/dist/chunks/chunk-MKIPO2AB.js +46 -0
- package/dist/chunks/chunk-MM3ZAGJU.js +112 -0
- package/dist/chunks/chunk-MMH2HWKX.js +88 -0
- package/dist/chunks/chunk-MNDLTHQ3.js +79 -0
- package/dist/chunks/chunk-MNPPYTVP.js +151 -0
- package/dist/chunks/chunk-MPFPPC7W.js +30 -0
- package/dist/chunks/chunk-MPTPDKMA.js +209 -0
- package/dist/chunks/chunk-MPUXHXWU.js +810 -0
- package/dist/chunks/chunk-MR3DPCG3.js +33 -0
- package/dist/chunks/chunk-MRR6FINZ.js +204 -0
- package/dist/chunks/chunk-MWEJDIZO.js +101 -0
- package/dist/chunks/chunk-N3VMXLHT.js +95 -0
- package/dist/chunks/chunk-N5B3BPW5.js +361 -0
- package/dist/chunks/chunk-NAL4ZPKF.js +98 -0
- package/dist/chunks/chunk-NAWEQWSW.js +151 -0
- package/dist/chunks/chunk-NB3QHOIV.js +198 -0
- package/dist/chunks/chunk-NCRULTBH.js +165 -0
- package/dist/chunks/chunk-NDAFUD4O.js +45 -0
- package/dist/chunks/chunk-NDB6LDFO.js +232 -0
- package/dist/chunks/chunk-NHTL3256.js +235 -0
- package/dist/chunks/chunk-NIMERKTF.js +685 -0
- package/dist/chunks/chunk-NMHWAMOH.js +138 -0
- package/dist/chunks/chunk-NNSIJCZG.js +162 -0
- package/dist/chunks/chunk-NS5FEICL.js +169 -0
- package/dist/chunks/chunk-NSZYKA5C.js +118 -0
- package/dist/chunks/chunk-NUPLW3IL.js +28 -0
- package/dist/chunks/chunk-NWGPCX4V.js +110 -0
- package/dist/chunks/chunk-NWI5PQZP.js +336 -0
- package/dist/chunks/chunk-NZ46BA4D.js +225 -0
- package/dist/chunks/chunk-O22WGAPG.js +45 -0
- package/dist/chunks/chunk-O23R6PQA.js +90 -0
- package/dist/chunks/chunk-O4LEE5K4.js +258 -0
- package/dist/chunks/chunk-O4SQ4ACN.js +65 -0
- package/dist/chunks/chunk-O5T52SY3.js +99 -0
- package/dist/chunks/chunk-O7FDMQLQ.js +262 -0
- package/dist/chunks/chunk-O7NBFRQK.js +261 -0
- package/dist/chunks/chunk-O7ZVJTC3.js +75 -0
- package/dist/chunks/chunk-OAISICAK.js +164 -0
- package/dist/chunks/chunk-OBMQOAWT.js +214 -0
- package/dist/chunks/chunk-ODOXLP4L.js +1469 -0
- package/dist/chunks/chunk-OHCGOCAO.js +88 -0
- package/dist/chunks/chunk-OIEBK7FE.js +155 -0
- package/dist/chunks/chunk-OJXE42BV.js +23 -0
- package/dist/chunks/chunk-OOEZUV4S.js +174 -0
- package/dist/chunks/chunk-OOVGNRNN.js +179 -0
- package/dist/chunks/chunk-OPI6UGQF.js +383 -0
- package/dist/chunks/chunk-OQQGGAQF.js +84 -0
- package/dist/chunks/chunk-OTASQFIM.js +100 -0
- package/dist/chunks/chunk-OUMOGEID.js +142 -0
- package/dist/chunks/chunk-OUVY4L7L.js +97 -0
- package/dist/chunks/chunk-OVCLANKO.js +108 -0
- package/dist/chunks/chunk-OVPUXOR6.js +304 -0
- package/dist/chunks/chunk-OWOPHTPI.js +23 -0
- package/dist/chunks/chunk-OX72EHRV.js +79 -0
- package/dist/chunks/chunk-OXURQEHL.js +84 -0
- package/dist/chunks/chunk-OXZWIVXZ.js +163 -0
- package/dist/chunks/chunk-OZ6DYCJP.js +127 -0
- package/dist/chunks/chunk-OZZLAQ7H.js +224 -0
- package/dist/chunks/chunk-P2MZQAEX.js +240 -0
- package/dist/chunks/chunk-P2RY6NAR.js +166 -0
- package/dist/chunks/chunk-P5MXXXHW.js +92 -0
- package/dist/chunks/chunk-P7ZGXHWQ.js +86 -0
- package/dist/chunks/chunk-PAEKTPMB.js +206 -0
- package/dist/chunks/chunk-PAYCWLLX.js +173 -0
- package/dist/chunks/chunk-PBXL5S3N.js +149 -0
- package/dist/chunks/chunk-PE4R4WBV.js +163 -0
- package/dist/chunks/chunk-PEWZZN3E.js +95 -0
- package/dist/chunks/chunk-PIERA5M4.js +123 -0
- package/dist/chunks/chunk-PIMTYK6K.js +145 -0
- package/dist/chunks/chunk-PJ4DAHS7.js +129 -0
- package/dist/chunks/chunk-PKFIZLUT.js +134 -0
- package/dist/chunks/chunk-PKYVUOWP.js +165 -0
- package/dist/chunks/chunk-PLSFWAYD.js +192 -0
- package/dist/chunks/chunk-PM5QVFW6.js +50 -0
- package/dist/chunks/chunk-PO5YLVO2.js +197 -0
- package/dist/chunks/chunk-PRKMSYSF.js +95 -0
- package/dist/chunks/chunk-PTOQZNMN.js +200 -0
- package/dist/chunks/chunk-PUQUJ3YO.js +175 -0
- package/dist/chunks/chunk-PUXTOGGX.js +192 -0
- package/dist/chunks/chunk-PW3K3NOL.js +23 -0
- package/dist/chunks/chunk-PXGYMDCB.js +217 -0
- package/dist/chunks/chunk-PZJM4GC7.js +256 -0
- package/dist/chunks/chunk-PZJWIW45.js +76 -0
- package/dist/chunks/chunk-PZR7MK6A.js +156 -0
- package/dist/chunks/chunk-Q3EC4H2X.js +382 -0
- package/dist/chunks/chunk-Q4I67YJQ.js +84 -0
- package/dist/chunks/chunk-Q6WR2HPF.js +181 -0
- package/dist/chunks/chunk-Q7PYOR7I.js +195 -0
- package/dist/chunks/chunk-QARJ54UV.js +284 -0
- package/dist/chunks/chunk-QB3HJ36D.js +61 -0
- package/dist/chunks/chunk-QC3AUNMO.js +179 -0
- package/dist/chunks/chunk-QCBPWKZV.js +10167 -0
- package/dist/chunks/chunk-QCEQ7ACE.js +273 -0
- package/dist/chunks/chunk-QFVZLV3D.js +91 -0
- package/dist/chunks/chunk-QIU7NUU5.js +1574 -0
- package/dist/chunks/chunk-QKHYT6II.js +303 -0
- package/dist/chunks/chunk-QKRTDY4P.js +93 -0
- package/dist/chunks/chunk-QLSUGYBL.js +589 -0
- package/dist/chunks/chunk-QMNS7A3Y.js +23 -0
- package/dist/chunks/chunk-QNNYOYRR.js +187 -0
- package/dist/chunks/chunk-QPUTRW7U.js +215 -0
- package/dist/chunks/chunk-QPZ454AI.js +45 -0
- package/dist/chunks/chunk-QQLYPTTF.js +76 -0
- package/dist/chunks/chunk-QS7VPALN.js +48 -0
- package/dist/chunks/chunk-QSGYZGA5.js +558 -0
- package/dist/chunks/chunk-QSRWZTTD.js +420 -0
- package/dist/chunks/chunk-QYFFTFFD.js +174 -0
- package/dist/chunks/chunk-QYZAUMKM.js +115 -0
- package/dist/chunks/chunk-QZR62SZB.js +39 -0
- package/dist/chunks/chunk-R3SE2VVW.js +10157 -0
- package/dist/chunks/chunk-R5JXLH2B.js +1802 -0
- package/dist/chunks/chunk-R5TSQ5FC.js +262 -0
- package/dist/chunks/chunk-R6CVYGDP.js +106 -0
- package/dist/chunks/chunk-R7RT6VHN.js +97 -0
- package/dist/chunks/chunk-RBCUVTHC.js +53 -0
- package/dist/chunks/chunk-RCJ6Z7EC.js +564 -0
- package/dist/chunks/chunk-RFD73RKL.js +127 -0
- package/dist/chunks/chunk-RFXZRIGH.js +106 -0
- package/dist/chunks/chunk-RGHWZ6QZ.js +106 -0
- package/dist/chunks/chunk-RHXXRCIM.js +45 -0
- package/dist/chunks/chunk-RJOH4RJG.js +125 -0
- package/dist/chunks/chunk-RKMXXVUO.js +212 -0
- package/dist/chunks/chunk-RM2A6QRH.js +1136 -0
- package/dist/chunks/chunk-RN74BABP.js +45 -0
- package/dist/chunks/chunk-RNL227FL.js +221 -0
- package/dist/chunks/chunk-RS6VXNEH.js +155 -0
- package/dist/chunks/chunk-RUQVSJPV.js +128 -0
- package/dist/chunks/chunk-RVIMWIPR.js +166 -0
- package/dist/chunks/chunk-RWAI2A3W.js +33 -0
- package/dist/chunks/chunk-RWWHVDUR.js +282 -0
- package/dist/chunks/chunk-RXFFWV4X.js +33 -0
- package/dist/chunks/chunk-RXGHND2E.js +164 -0
- package/dist/chunks/chunk-RYJM4J6V.js +52 -0
- package/dist/chunks/chunk-RZ2K2BWC.js +79 -0
- package/dist/chunks/chunk-S6GWOHC2.js +242 -0
- package/dist/chunks/chunk-S7QGOXCM.js +147 -0
- package/dist/chunks/chunk-SG3RFUCM.js +55 -0
- package/dist/chunks/chunk-SISCL3V5.js +33 -0
- package/dist/chunks/chunk-SNH4E2FI.js +56 -0
- package/dist/chunks/chunk-SOM2JRXY.js +60 -0
- package/dist/chunks/chunk-SOWVKO64.js +45 -0
- package/dist/chunks/chunk-SQDLSNOC.js +172 -0
- package/dist/chunks/chunk-SQQU6TAG.js +100 -0
- package/dist/chunks/chunk-SS2AIUSO.js +179 -0
- package/dist/chunks/chunk-ST7I74U5.js +99 -0
- package/dist/chunks/chunk-SY4N33YF.js +226 -0
- package/dist/chunks/chunk-SYNFIMWS.js +244 -0
- package/dist/chunks/chunk-SYOBWJFQ.js +182 -0
- package/dist/chunks/chunk-SYW5TWC4.js +115 -0
- package/dist/chunks/chunk-T4ZOIWKO.js +23 -0
- package/dist/chunks/chunk-T6P72QA5.js +111 -0
- package/dist/chunks/chunk-TA3SNXZO.js +23 -0
- package/dist/chunks/chunk-TCWTKONJ.js +171 -0
- package/dist/chunks/chunk-TFYEPDYB.js +85 -0
- package/dist/chunks/chunk-THCI3PCY.js +150 -0
- package/dist/chunks/chunk-TIMZ6DDL.js +220 -0
- package/dist/chunks/chunk-TKWIYYIU.js +23 -0
- package/dist/chunks/chunk-TLJ376UU.js +133 -0
- package/dist/chunks/chunk-TQP5JCOT.js +41 -0
- package/dist/chunks/chunk-TRXHIYZH.js +157 -0
- package/dist/chunks/chunk-TTJYD34Y.js +177 -0
- package/dist/chunks/chunk-TUOCRYX4.js +1036 -0
- package/dist/chunks/chunk-TVVJ4S6J.js +777 -0
- package/dist/chunks/chunk-TX26YQB6.js +115 -0
- package/dist/chunks/chunk-TYG2NIDF.js +311 -0
- package/dist/chunks/chunk-U2PSRYWE.js +74 -0
- package/dist/chunks/chunk-U4FWDR62.js +225 -0
- package/dist/chunks/chunk-U4ZZX2KX.js +77 -0
- package/dist/chunks/chunk-UAD7JDJJ.js +33 -0
- package/dist/chunks/chunk-UC24FCJZ.js +156 -0
- package/dist/chunks/chunk-UCFDNJUY.js +108 -0
- package/dist/chunks/chunk-UDLBHWJA.js +81 -0
- package/dist/chunks/chunk-UETM2VRQ.js +138 -0
- package/dist/chunks/chunk-UF2OMZ6Y.js +180 -0
- package/dist/chunks/chunk-UGEEM5YW.js +169 -0
- package/dist/chunks/chunk-UH4WXUWX.js +96 -0
- package/dist/chunks/chunk-UH6OB3P2.js +177 -0
- package/dist/chunks/chunk-UITB4YB7.js +138 -0
- package/dist/chunks/chunk-UKOBDEEL.js +161 -0
- package/dist/chunks/chunk-UO2PORPX.js +133 -0
- package/dist/chunks/chunk-UOROSNXR.js +105 -0
- package/dist/chunks/chunk-UPGTULE5.js +266 -0
- package/dist/chunks/chunk-URHGQ5TH.js +303 -0
- package/dist/chunks/chunk-URLYPMMQ.js +23 -0
- package/dist/chunks/chunk-UUM6KAVE.js +346 -0
- package/dist/chunks/chunk-UY3TUENA.js +23 -0
- package/dist/chunks/chunk-UYFJJGKH.js +178 -0
- package/dist/chunks/chunk-UYZPS4V7.js +101 -0
- package/dist/chunks/chunk-V3J3MBEA.js +45 -0
- package/dist/chunks/chunk-V3SWHIOQ.js +187 -0
- package/dist/chunks/chunk-V447JWM2.js +33 -0
- package/dist/chunks/chunk-V4B7H3HU.js +279 -0
- package/dist/chunks/chunk-V5I44OPJ.js +157 -0
- package/dist/chunks/chunk-V6NBJ7P3.js +152 -0
- package/dist/chunks/chunk-V7BRUH2N.js +60 -0
- package/dist/chunks/chunk-VDV3JQI4.js +333 -0
- package/dist/chunks/chunk-VF22HNCV.js +106 -0
- package/dist/chunks/chunk-VH32XVHF.js +33 -0
- package/dist/chunks/chunk-VIXMHBM2.js +89 -0
- package/dist/chunks/chunk-VJ56KPDC.js +123 -0
- package/dist/chunks/chunk-VJIIPXMV.js +23 -0
- package/dist/chunks/chunk-VKID23FJ.js +391 -0
- package/dist/chunks/chunk-VMZEFRSI.js +141 -0
- package/dist/chunks/chunk-VNJLSYU4.js +1594 -0
- package/dist/chunks/chunk-VNQ6QG3D.js +23 -0
- package/dist/chunks/chunk-VP32DNF3.js +85 -0
- package/dist/chunks/chunk-VP6SL64X.js +150 -0
- package/dist/chunks/chunk-VPKSHDEG.js +81 -0
- package/dist/chunks/chunk-VSL7LHNQ.js +122 -0
- package/dist/chunks/chunk-VT4HXBHU.js +45 -0
- package/dist/chunks/chunk-VT4VN4M5.js +133 -0
- package/dist/chunks/chunk-VTE7TQ26.js +109 -0
- package/dist/chunks/chunk-VVGVJKC3.js +231 -0
- package/dist/chunks/chunk-VVOEMQPQ.js +183 -0
- package/dist/chunks/chunk-VVQPQD6T.js +130 -0
- package/dist/chunks/chunk-VVRROCTR.js +153 -0
- package/dist/chunks/chunk-VVSU6ENJ.js +229 -0
- package/dist/chunks/chunk-VXNKWRCH.js +170 -0
- package/dist/chunks/chunk-VYJ753DM.js +122 -0
- package/dist/chunks/chunk-VZHWP53B.js +105 -0
- package/dist/chunks/chunk-W2X5LDHQ.js +80 -0
- package/dist/chunks/chunk-W5I73Z5B.js +79 -0
- package/dist/chunks/chunk-W6VQ5WXU.js +45 -0
- package/dist/chunks/chunk-W7DJG3M6.js +224 -0
- package/dist/chunks/chunk-WBBOW4MH.js +77 -0
- package/dist/chunks/chunk-WBUJ7J5U.js +255 -0
- package/dist/chunks/chunk-WDYIVJCB.js +90 -0
- package/dist/chunks/chunk-WF3MBLJB.js +70 -0
- package/dist/chunks/chunk-WF5ERVKY.js +72 -0
- package/dist/chunks/chunk-WFUG63ZN.js +105 -0
- package/dist/chunks/chunk-WGQVYZMH.js +250 -0
- package/dist/chunks/chunk-WKJOPJEA.js +110 -0
- package/dist/chunks/chunk-WKMXXVU3.js +23 -0
- package/dist/chunks/chunk-WLUHT6CK.js +626 -0
- package/dist/chunks/chunk-WNCV4CS4.js +228 -0
- package/dist/chunks/chunk-WOCUTHQE.js +224 -0
- package/dist/chunks/chunk-WPMYCJLG.js +97 -0
- package/dist/chunks/chunk-WQQEJ6KP.js +172 -0
- package/dist/chunks/chunk-WQSMESFW.js +117 -0
- package/dist/chunks/chunk-WQSOXZ7Q.js +94 -0
- package/dist/chunks/chunk-WROMQZEF.js +23 -0
- package/dist/chunks/chunk-WRW4IA33.js +23 -0
- package/dist/chunks/chunk-WSUQGOZM.js +215 -0
- package/dist/chunks/chunk-WTCIPXOT.js +1403 -0
- package/dist/chunks/chunk-WTLF5WUM.js +136 -0
- package/dist/chunks/chunk-WTRMLYDR.js +163 -0
- package/dist/chunks/chunk-WUPESOK2.js +198 -0
- package/dist/chunks/chunk-WUXABN7Z.js +154 -0
- package/dist/chunks/chunk-WVMB5FRM.js +156 -0
- package/dist/chunks/chunk-WVNAALRC.js +181 -0
- package/dist/chunks/chunk-WX2MF6K7.js +157 -0
- package/dist/chunks/chunk-X2M7BPJJ.js +41 -0
- package/dist/chunks/chunk-X2Y3XK3A.js +163 -0
- package/dist/chunks/chunk-X4BVYC34.js +93 -0
- package/dist/chunks/chunk-X7HMFGBH.js +171 -0
- package/dist/chunks/chunk-XADPJLKD.js +410 -0
- package/dist/chunks/chunk-XBWXNO3C.js +213 -0
- package/dist/chunks/chunk-XF5R62QM.js +45 -0
- package/dist/chunks/chunk-XGHGPEML.js +378 -0
- package/dist/chunks/chunk-XJPVO7Q2.js +108 -0
- package/dist/chunks/chunk-XJRKYJ6L.js +102 -0
- package/dist/chunks/chunk-XNX2JI4T.js +208 -0
- package/dist/chunks/chunk-XPO557FC.js +84 -0
- package/dist/chunks/chunk-XQCB4O2W.js +170 -0
- package/dist/chunks/chunk-XQK5WO75.js +23 -0
- package/dist/chunks/chunk-XSEIMA6Q.js +298 -0
- package/dist/chunks/chunk-XUNMUMTQ.js +83 -0
- package/dist/chunks/chunk-XXJ3RHVX.js +252 -0
- package/dist/chunks/chunk-Y2QKOGXB.js +80 -0
- package/dist/chunks/chunk-Y4YSEBEA.js +261 -0
- package/dist/chunks/chunk-Y5X25G6K.js +91 -0
- package/dist/chunks/chunk-Y673IJDX.js +85 -0
- package/dist/chunks/chunk-Y6Z6NTAU.js +87 -0
- package/dist/chunks/chunk-Y7BWKPEX.js +102 -0
- package/dist/chunks/chunk-YG43ACM4.js +118 -0
- package/dist/chunks/chunk-YGE4B32Q.js +125 -0
- package/dist/chunks/chunk-YH5IYGYL.js +129 -0
- package/dist/chunks/chunk-YHZWHJIT.js +23 -0
- package/dist/chunks/chunk-YLFFJWEC.js +91 -0
- package/dist/chunks/chunk-YPM7TPN3.js +149 -0
- package/dist/chunks/chunk-YPYZOP7B.js +83 -0
- package/dist/chunks/chunk-YRQMH2LI.js +107 -0
- package/dist/chunks/chunk-YSNRDYTU.js +194 -0
- package/dist/chunks/chunk-YSPNVEDB.js +23 -0
- package/dist/chunks/chunk-YTWWVR6S.js +155 -0
- package/dist/chunks/chunk-YWK5AVS3.js +86 -0
- package/dist/chunks/chunk-YWU43SHP.js +55 -0
- package/dist/chunks/chunk-YXQD2OB3.js +366 -0
- package/dist/chunks/chunk-YZCUJO6U.js +133 -0
- package/dist/chunks/chunk-Z25XVV65.js +196 -0
- package/dist/chunks/chunk-Z4VQHR4Y.js +209 -0
- package/dist/chunks/chunk-Z774COXH.js +190 -0
- package/dist/chunks/chunk-Z7LPFM54.js +222 -0
- package/dist/chunks/chunk-ZAKYITAP.js +363 -0
- package/dist/chunks/chunk-ZC4SSMUK.js +162 -0
- package/dist/chunks/chunk-ZC54AECM.js +293 -0
- package/dist/chunks/chunk-ZEPZGA6G.js +141 -0
- package/dist/chunks/chunk-ZFNZGWLF.js +122 -0
- package/dist/chunks/chunk-ZG2ZEL5N.js +100 -0
- package/dist/chunks/chunk-ZHOE6EMZ.js +78 -0
- package/dist/chunks/chunk-ZJ7W6NPX.js +112 -0
- package/dist/chunks/chunk-ZLDAOXCZ.js +290 -0
- package/dist/chunks/chunk-ZLMUTOK7.js +87 -0
- package/dist/chunks/chunk-ZMFWLXW7.js +145 -0
- package/dist/chunks/chunk-ZPYF2XJD.js +127 -0
- package/dist/chunks/chunk-ZS5QMUFD.js +160 -0
- package/dist/chunks/chunk-ZSCYY2X4.js +33 -0
- package/dist/chunks/chunk-ZU5T3IQT.js +33 -0
- package/dist/chunks/chunk-ZUBTT7MV.js +45 -0
- package/dist/chunks/chunk-ZVNUW4DK.js +189 -0
- package/dist/chunks/chunk-ZWKYQ34B.js +898 -0
- package/dist/chunks/chunk-ZXPAQUQK.js +327 -0
- package/dist/chunks/client-IUMWRX6L.js +31 -0
- package/dist/chunks/client-K3BLMOXG.js +144 -0
- package/dist/chunks/document-library-ZVCAQHRS.js +60 -0
- package/dist/chunks/editor-seams-X5ZTKWKN.js +151 -0
- package/dist/chunks/editor-store-PPIPQTKJ.js +131 -0
- package/dist/chunks/export-W3K23TK4.js +59 -0
- package/dist/chunks/export-watermark-X6QIXTTU.js +138 -0
- package/dist/chunks/eyedropper-BX7ZMDX5.js +341 -0
- package/dist/chunks/fonts-ASFLP45E.js +33 -0
- package/dist/chunks/generate-media-44EEWEZL.js +244 -0
- package/dist/chunks/host-26AGSHNW.js +232 -0
- package/dist/chunks/host-CXAUA23V.js +162 -0
- package/dist/chunks/invariants-ZYXY5C6M.js +58 -0
- package/dist/chunks/json-export-5TTUUTJ4.js +22 -0
- package/dist/chunks/kit-modules-XQNKQOZN.js +18 -0
- package/dist/chunks/libraries-UBEM7IZ6.js +294 -0
- package/dist/chunks/library-previews-7S6RWLQ4.js +197 -0
- package/dist/chunks/live-RSBRAJV7.js +304 -0
- package/dist/chunks/lottie-A3TTBAQJ.js +81 -0
- package/dist/chunks/media-store-UA4L6DVG.js +67 -0
- package/dist/chunks/media-tool-FNNTDBJM.js +322 -0
- package/dist/chunks/new-file-XQSKGSCG.js +121 -0
- package/dist/chunks/pdf-4PTMYTXT.js +1201 -0
- package/dist/chunks/pdf-import-EDERKVCG.js +368 -0
- package/dist/chunks/player-check-UREJJBQJ.js +109 -0
- package/dist/chunks/plugin-ASO7PERK.js +111 -0
- package/dist/chunks/plugin-import-CBVKOX5R.js +644 -0
- package/dist/chunks/presence-YKW3T7WQ.js +119 -0
- package/dist/chunks/preview-media-H4KDFOIC.js +119 -0
- package/dist/chunks/profiles-MLJYEPSD.js +47 -0
- package/dist/chunks/project-K2J2WDCI.js +1544 -0
- package/dist/chunks/publish-site-5DPYIWQZ.js +149 -0
- package/dist/chunks/raster-actions-GX4EIYAX.js +221 -0
- package/dist/chunks/reference-images-2T6IPRFQ.js +54 -0
- package/dist/chunks/resolvers-OCPZIQOD.js +128 -0
- package/dist/chunks/runner-PPVR6GOI.js +1750 -0
- package/dist/chunks/shader-preview-UVFX7SCV.js +516 -0
- package/dist/chunks/shaper-NQIFHPWR.js +62 -0
- package/dist/chunks/store-4HY2SLZ2.js +214 -0
- package/dist/chunks/svg-export-56OYXZY7.js +74 -0
- package/dist/chunks/sync-LAXCYCAR.js +145 -0
- package/dist/chunks/templates-KS5NZXUK.js +180 -0
- package/dist/chunks/theme-store-KHW3AHPK.js +39 -0
- package/dist/chunks/tools-DUMHHZCQ.js +35 -0
- package/dist/chunks/use-T35XBTOD.js +44 -0
- package/dist/chunks/versions-5OA6AFB4.js +303 -0
- package/dist/chunks/video-OP3A4HLC.js +73 -0
- package/dist/chunks/video-poster-6Q7W6CZ7.js +65 -0
- package/dist/index.js +16 -16
- package/dist/lib/engine/text/fallback-fonts.js +5 -5
- package/dist/lib/engine/text/measure.js +6 -6
- package/dist/lib/motion/present.js +9 -9
- package/dist/lib/templates/layout.js +8 -8
- package/dist/lib/templates/text-measurer.js +7 -7
- package/dist/migrations/brand-media.js +10 -10
- package/dist/migrations/hug-content.js +9 -9
- package/dist/migrations/index.js +12 -12
- package/dist/migrations/min-type.js +9 -9
- package/dist/templates/anime/character.js +11 -11
- package/dist/templates/anime/duel.js +14 -14
- package/dist/templates/anime/morning.js +14 -14
- package/dist/templates/anime/rain.js +14 -14
- package/dist/templates/anime/shared.js +12 -12
- package/dist/templates/anime/starlight.js +14 -14
- package/dist/templates/anime/titan.js +14 -14
- package/dist/templates/app/festival-presale-electronic-ticket.js +15 -15
- package/dist/templates/app/festival-presale-family-ticket.js +15 -15
- package/dist/templates/app/festival-presale-folk-ticket.js +15 -15
- package/dist/templates/app/festival-presale-food-ticket.js +15 -15
- package/dist/templates/app/festival-presale-jazz-ticket.js +15 -15
- package/dist/templates/app/festival-presale-street-ticket.js +15 -15
- package/dist/templates/app/music/build.js +10 -10
- package/dist/templates/app/music-grove.js +11 -11
- package/dist/templates/app/music-nightline.js +11 -11
- package/dist/templates/app/music-orbit.js +11 -11
- package/dist/templates/app/music-undertow.js +11 -11
- package/dist/templates/app/onboarding-carousel.js +10 -10
- package/dist/templates/app/saas-store-paywall.js +10 -10
- package/dist/templates/app/splash.js +10 -10
- package/dist/templates/app/success-confetti.js +10 -10
- package/dist/templates/app/tour-tickets-june-ticket.js +10 -10
- package/dist/templates/app/tour-tickets-tide-ticket.js +10 -10
- package/dist/templates/app/tour-tickets-wreck-ticket.js +10 -10
- package/dist/templates/cards/index.js +12 -12
- package/dist/templates/cards/shared.js +10 -10
- package/dist/templates/cards/themes.js +11 -11
- package/dist/templates/data/bars.js +10 -10
- package/dist/templates/data/countdown-story.js +10 -10
- package/dist/templates/data/counters.js +10 -10
- package/dist/templates/data/donut.js +10 -10
- package/dist/templates/data/line.js +10 -10
- package/dist/templates/data/year-in-review.js +10 -10
- package/dist/templates/effects/glass-intro.js +10 -10
- package/dist/templates/effects/glass-promo.js +10 -10
- package/dist/templates/effects/grain-story.js +10 -10
- package/dist/templates/effects/grid-intro.js +10 -10
- package/dist/templates/effects/halftone-story.js +10 -10
- package/dist/templates/effects/mesh-story.js +10 -10
- package/dist/templates/effects/shader-title.js +10 -10
- package/dist/templates/email/april-fools-header.js +12 -12
- package/dist/templates/email/art-deco-invitation.js +11 -11
- package/dist/templates/email/autumn-harvest-header.js +11 -11
- package/dist/templates/email/back-to-school-header.js +11 -11
- package/dist/templates/email/black-friday-coupons-header.js +11 -11
- package/dist/templates/email/black-friday-header.js +11 -11
- package/dist/templates/email/black-friday-neon-header.js +11 -11
- package/dist/templates/email/black-friday-scratch-header.js +11 -11
- package/dist/templates/email/black-friday-ticker-header.js +11 -11
- package/dist/templates/email/broadsheet-weekly-edition-header.js +11 -11
- package/dist/templates/email/claymation-header.js +11 -11
- package/dist/templates/email/countdown-gif.js +11 -11
- package/dist/templates/email/cyberpunk-header.js +11 -11
- package/dist/templates/email/diwali-header.js +11 -11
- package/dist/templates/email/earth-day-header.js +11 -11
- package/dist/templates/email/festival-presale-electronic-header.js +15 -15
- package/dist/templates/email/festival-presale-family-header.js +15 -15
- package/dist/templates/email/festival-presale-folk-header.js +15 -15
- package/dist/templates/email/festival-presale-food-header.js +15 -15
- package/dist/templates/email/festival-presale-jazz-header.js +15 -15
- package/dist/templates/email/festival-presale-street-header.js +15 -15
- package/dist/templates/email/gothic-header.js +11 -11
- package/dist/templates/email/halloween-header.js +11 -11
- package/dist/templates/email/header-launch.js +11 -11
- package/dist/templates/email/header-newsletter.js +11 -11
- package/dist/templates/email/header-sale.js +11 -11
- package/dist/templates/email/lunar-new-year-header.js +11 -11
- package/dist/templates/email/manuscript-chronicle-header.js +11 -11
- package/dist/templates/email/new-year-header.js +11 -11
- package/dist/templates/email/noir-header.js +11 -11
- package/dist/templates/email/psychedelic-header.js +11 -11
- package/dist/templates/email/riso-zine-changelog-header.js +11 -11
- package/dist/templates/email/saas-mail-changelog.js +13 -13
- package/dist/templates/email/saas-mail-day-one.js +12 -12
- package/dist/templates/email/saas-mail-day-three.js +12 -12
- package/dist/templates/email/saas-mail-launch.js +12 -12
- package/dist/templates/email/saas-mail-payment-failed.js +12 -12
- package/dist/templates/email/saas-mail-sign-in-code.js +12 -12
- package/dist/templates/email/saas-mail-trial-ending.js +12 -12
- package/dist/templates/email/saas-mail-waitlist.js +12 -12
- package/dist/templates/email/shared.js +10 -10
- package/dist/templates/email/singles-day-header.js +11 -11
- package/dist/templates/email/solarpunk-header.js +11 -11
- package/dist/templates/email/space-opera-header.js +11 -11
- package/dist/templates/email/spring-bloom-header.js +11 -11
- package/dist/templates/email/style-bento-header.js +11 -11
- package/dist/templates/email/style-brutalist-header.js +11 -11
- package/dist/templates/email/style-dark-header.js +11 -11
- package/dist/templates/email/style-data-header.js +11 -11
- package/dist/templates/email/style-editorial-header.js +11 -11
- package/dist/templates/email/style-glass-header.js +11 -11
- package/dist/templates/email/style-gradient-header.js +11 -11
- package/dist/templates/email/style-maximal-header.js +11 -11
- package/dist/templates/email/style-pastel-header.js +11 -11
- package/dist/templates/email/style-sketch-header.js +11 -11
- package/dist/templates/email/style-swiss-header.js +11 -11
- package/dist/templates/email/style-terminal-header.js +11 -11
- package/dist/templates/email/summer-heatwave-header.js +11 -11
- package/dist/templates/email/tour-tickets-june-header.js +11 -11
- package/dist/templates/email/tour-tickets-tide-header.js +11 -11
- package/dist/templates/email/tour-tickets-wreck-header.js +11 -11
- package/dist/templates/email/transit-map-service-update.js +11 -11
- package/dist/templates/email/ukiyo-e-greeting-header.js +11 -11
- package/dist/templates/email/valentines-header.js +11 -11
- package/dist/templates/email/winter-cosy-header.js +11 -11
- package/dist/templates/email/winter-holidays-header.js +11 -11
- package/dist/templates/fonts.js +7 -7
- package/dist/templates/game/blossom-bash-puzzle.js +11 -11
- package/dist/templates/game/deckbound-roguelike.js +11 -11
- package/dist/templates/game/emberfall-rpg.js +11 -11
- package/dist/templates/game/hearthmoor-farm.js +11 -11
- package/dist/templates/game/index.js +24 -24
- package/dist/templates/game/iron-lotus-fighter.js +11 -11
- package/dist/templates/game/ironroot-rts.js +11 -11
- package/dist/templates/game/mossy-hollow-platformer.js +13 -13
- package/dist/templates/game/neon-apex-racing.js +11 -11
- package/dist/templates/game/platformer.js +12 -12
- package/dist/templates/game/pulse-riot-rhythm.js +11 -11
- package/dist/templates/game/shared.js +10 -10
- package/dist/templates/game/sprout-quest-pixel-platformer.js +13 -13
- package/dist/templates/game/vanta-fps.js +11 -11
- package/dist/templates/index.js +733 -733
- package/dist/templates/kinetic/letters.js +10 -10
- package/dist/templates/kinetic/lines.js +10 -10
- package/dist/templates/kinetic/typewriter.js +10 -10
- package/dist/templates/kinetic/word-swap.js +10 -10
- package/dist/templates/kinetic/words.js +10 -10
- package/dist/templates/kit.js +9 -9
- package/dist/templates/libraries/audio-reactive.js +10 -10
- package/dist/templates/libraries/loaders.js +10 -10
- package/dist/templates/libraries/micro-interactions.js +10 -10
- package/dist/templates/libraries/motion-essentials.js +10 -10
- package/dist/templates/libraries/toasts.js +10 -10
- package/dist/templates/lottie/ai.js +11 -11
- package/dist/templates/lottie/climate.js +11 -11
- package/dist/templates/lottie/commerce.js +11 -11
- package/dist/templates/lottie/education.js +11 -11
- package/dist/templates/lottie/fintech.js +11 -11
- package/dist/templates/lottie/food.js +11 -11
- package/dist/templates/lottie/health.js +11 -11
- package/dist/templates/lottie/index.js +35 -35
- package/dist/templates/lottie/lottie-kit.js +10 -10
- package/dist/templates/lottie/realestate.js +11 -11
- package/dist/templates/lottie/saas-ui-checklist.js +12 -12
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +12 -12
- package/dist/templates/lottie/saas-ui-empty-data.js +12 -12
- package/dist/templates/lottie/saas-ui-empty-search.js +12 -12
- package/dist/templates/lottie/saas-ui-error-retry.js +12 -12
- package/dist/templates/lottie/saas-ui-file-upload.js +12 -12
- package/dist/templates/lottie/saas-ui-streaming-answer.js +12 -12
- package/dist/templates/lottie/saas-ui-sync-connected.js +12 -12
- package/dist/templates/lottie/saas-ui-trial-timeline.js +12 -12
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +12 -12
- package/dist/templates/lottie/saas-ui.js +22 -22
- package/dist/templates/lottie/saas.js +11 -11
- package/dist/templates/lottie/security.js +11 -11
- package/dist/templates/lottie/techniques.js +11 -11
- package/dist/templates/lottie/travel.js +11 -11
- package/dist/templates/motion/ambient-loop.js +10 -10
- package/dist/templates/motion/app-icon-sting.js +10 -10
- package/dist/templates/motion/april-fools-infomercial-reel.js +12 -12
- package/dist/templates/motion/arcade-high-score.js +10 -10
- package/dist/templates/motion/art-deco-grand-opening.js +10 -10
- package/dist/templates/motion/autumn-harvest-year-reel.js +10 -10
- package/dist/templates/motion/back-to-school-timetable-reel.js +10 -10
- package/dist/templates/motion/bauhaus-launch-reel.js +10 -10
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-coupons-last-day.js +10 -10
- package/dist/templates/motion/black-friday-deal-drop.js +10 -10
- package/dist/templates/motion/black-friday-neon-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-neon-last-day.js +10 -10
- package/dist/templates/motion/black-friday-scratch-countdown.js +10 -10
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-scratch-last-day.js +10 -10
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +10 -10
- package/dist/templates/motion/black-friday-ticker-last-call.js +10 -10
- package/dist/templates/motion/blueprint-rev-b-reel.js +10 -10
- package/dist/templates/motion/broadsheet-launch-reel.js +10 -10
- package/dist/templates/motion/broadsheet-milestone-post.js +11 -11
- package/dist/templates/motion/claymation-launch-reel.js +10 -10
- package/dist/templates/motion/comic-book-issue-reel.js +10 -10
- package/dist/templates/motion/countdown.js +10 -10
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +10 -10
- package/dist/templates/motion/departure-board-reel.js +10 -10
- package/dist/templates/motion/diwali-lamps-reel.js +10 -10
- package/dist/templates/motion/earth-day-footprint-reel.js +10 -10
- package/dist/templates/motion/earth-day-pledge-post.js +10 -10
- package/dist/templates/motion/festival-presale-electronic-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-reel.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-tier.js +15 -15
- package/dist/templates/motion/festival-presale-family-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-family-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-family-reel.js +15 -15
- package/dist/templates/motion/festival-presale-family-tier.js +15 -15
- package/dist/templates/motion/festival-presale-folk-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-folk-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-folk-reel.js +15 -15
- package/dist/templates/motion/festival-presale-folk-tier.js +15 -15
- package/dist/templates/motion/festival-presale-food-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-food-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-food-reel.js +15 -15
- package/dist/templates/motion/festival-presale-food-tier.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-reel.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-tier.js +15 -15
- package/dist/templates/motion/festival-presale-street-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-street-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-street-reel.js +15 -15
- package/dist/templates/motion/festival-presale-street-tier.js +15 -15
- package/dist/templates/motion/gothic-launch-reel.js +10 -10
- package/dist/templates/motion/halloween-graveyard-reel.js +10 -10
- package/dist/templates/motion/instagram-promo.js +10 -10
- package/dist/templates/motion/kinetic-headline.js +10 -10
- package/dist/templates/motion/landing-hero/index.js +12 -12
- package/dist/templates/motion/launch-trailer/document.js +733 -733
- package/dist/templates/motion/launch-trailer/index.js +12 -12
- package/dist/templates/motion/launch-trailer/scenes.js +11 -11
- package/dist/templates/motion/logo-reveal.js +10 -10
- package/dist/templates/motion/lower-third.js +10 -10
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +10 -10
- package/dist/templates/motion/machined-trailer.js +12 -12
- package/dist/templates/motion/manuscript-launch-reel.js +10 -10
- package/dist/templates/motion/new-year-ball-drop-reel.js +10 -10
- package/dist/templates/motion/noir-case-reel.js +10 -10
- package/dist/templates/motion/pitch-title.js +10 -10
- package/dist/templates/motion/psychedelic-gig-reel.js +10 -10
- package/dist/templates/motion/riso-zine-launch-reel.js +10 -10
- package/dist/templates/motion/saas-ai-prompt.js +10 -10
- package/dist/templates/motion/saas-before-after.js +10 -10
- package/dist/templates/motion/saas-changelog-drop.js +10 -10
- package/dist/templates/motion/saas-film-webinar-opener.js +10 -10
- package/dist/templates/motion/saas-hook-features.js +10 -10
- package/dist/templates/motion/saas-mrr-milestone.js +10 -10
- package/dist/templates/motion/saas-screen-demo.js +10 -10
- package/dist/templates/motion/saas-store-install-ad.js +11 -11
- package/dist/templates/motion/saas-testimonial.js +10 -10
- package/dist/templates/motion/saas-vs-comparison.js +10 -10
- package/dist/templates/motion/singles-day-flash-post.js +10 -10
- package/dist/templates/motion/singles-day-live-reel.js +10 -10
- package/dist/templates/motion/smooth-loop.js +10 -10
- package/dist/templates/motion/solarpunk-rooftop-reel.js +10 -10
- package/dist/templates/motion/space-opera-countdown-reel.js +10 -10
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +10 -10
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +10 -10
- package/dist/templates/motion/stat-pop.js +10 -10
- package/dist/templates/motion/style-bento-feature-demo.js +10 -10
- package/dist/templates/motion/style-bento-launch-reel.js +10 -10
- package/dist/templates/motion/style-brutalist-feature-demo.js +10 -10
- package/dist/templates/motion/style-brutalist-launch-reel.js +10 -10
- package/dist/templates/motion/style-dark-feature-demo.js +10 -10
- package/dist/templates/motion/style-dark-launch-reel.js +11 -11
- package/dist/templates/motion/style-data-feature-demo.js +10 -10
- package/dist/templates/motion/style-data-launch-reel.js +10 -10
- package/dist/templates/motion/style-editorial-feature-demo.js +10 -10
- package/dist/templates/motion/style-editorial-launch-reel.js +10 -10
- package/dist/templates/motion/style-glass-feature-demo.js +10 -10
- package/dist/templates/motion/style-glass-launch-reel.js +10 -10
- package/dist/templates/motion/style-gradient-feature-demo.js +10 -10
- package/dist/templates/motion/style-gradient-launch-reel.js +10 -10
- package/dist/templates/motion/style-maximal-feature-demo.js +10 -10
- package/dist/templates/motion/style-maximal-launch-reel.js +10 -10
- package/dist/templates/motion/style-pastel-feature-demo.js +10 -10
- package/dist/templates/motion/style-pastel-launch-reel.js +10 -10
- package/dist/templates/motion/style-sketch-feature-demo.js +10 -10
- package/dist/templates/motion/style-sketch-launch-reel.js +10 -10
- package/dist/templates/motion/style-swiss-feature-demo.js +10 -10
- package/dist/templates/motion/style-swiss-launch-reel.js +10 -10
- package/dist/templates/motion/style-terminal-feature-demo.js +10 -10
- package/dist/templates/motion/style-terminal-launch-reel.js +11 -11
- package/dist/templates/motion/summer-heatwave-lido-reel.js +10 -10
- package/dist/templates/motion/template-wall.js +10 -10
- package/dist/templates/motion/title-card-3d.js +10 -10
- package/dist/templates/motion/tour-tickets-june-city.js +10 -10
- package/dist/templates/motion/tour-tickets-june-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-june-final.js +10 -10
- package/dist/templates/motion/tour-tickets-june-reel.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-city.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-final.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-reel.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-city.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-final.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-reel.js +10 -10
- package/dist/templates/motion/transit-map-line-opening.js +10 -10
- package/dist/templates/motion/transit-map-milestone-post.js +10 -10
- package/dist/templates/motion/ukiyo-e-launch-reel.js +10 -10
- package/dist/templates/motion/valentines-breakup-reel.js +10 -10
- package/dist/templates/motion/vaporwave-launch-reel.js +11 -11
- package/dist/templates/motion/winter-cosy-heads-down-post.js +10 -10
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +10 -10
- package/dist/templates/motion/winter-holidays-advent-reel.js +10 -10
- package/dist/templates/motion-qa.js +13 -13
- package/dist/templates/motion3d/app-store-preview.js +11 -11
- package/dist/templates/motion3d/before-after-swing.js +11 -11
- package/dist/templates/motion3d/burger-reveal.js +11 -11
- package/dist/templates/motion3d/coverflow.js +11 -11
- package/dist/templates/motion3d/exploded-ui.js +11 -11
- package/dist/templates/motion3d/feature-flip.js +11 -11
- package/dist/templates/motion3d/kinetic-reveal.js +11 -11
- package/dist/templates/motion3d/laptop-reveal.js +11 -11
- package/dist/templates/motion3d/logo-extrude.js +11 -11
- package/dist/templates/motion3d/parallax-cascade.js +11 -11
- package/dist/templates/motion3d/phone-orbit.js +11 -11
- package/dist/templates/motion3d/pricing-fan.js +11 -11
- package/dist/templates/motion3d/product-turntable.js +11 -11
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +12 -12
- package/dist/templates/motion3d/screen-wall.js +11 -11
- package/dist/templates/motion3d/stage.js +10 -10
- package/dist/templates/motion3d/vertical-promo.js +11 -11
- package/dist/templates/music/edm-drop.js +11 -11
- package/dist/templates/music/festival-lineup.js +11 -11
- package/dist/templates/music/hiphop-lyrics.js +11 -11
- package/dist/templates/music/indie-poster.js +11 -11
- package/dist/templates/music/lofi-loop.js +11 -11
- package/dist/templates/music/podcast-audiogram.js +11 -11
- package/dist/templates/music/shared.js +10 -10
- package/dist/templates/music/synthwave-tunnel.js +11 -11
- package/dist/templates/saas/email-decks-shared.js +11 -11
- package/dist/templates/saas/email-decks.js +23 -23
- package/dist/templates/saas/index.js +197 -197
- package/dist/templates/saas/launch-kit.js +19 -19
- package/dist/templates/saas/launch-video.js +18 -18
- package/dist/templates/saas/lottie-shared.js +11 -11
- package/dist/templates/saas/stores-shared.js +10 -10
- package/dist/templates/saas/stores.js +21 -21
- package/dist/templates/saas/style-bento.js +21 -21
- package/dist/templates/saas/style-brutalist.js +21 -21
- package/dist/templates/saas/style-dark.js +21 -21
- package/dist/templates/saas/style-data.js +21 -21
- package/dist/templates/saas/style-editorial.js +21 -21
- package/dist/templates/saas/style-glass.js +21 -21
- package/dist/templates/saas/style-gradient.js +21 -21
- package/dist/templates/saas/style-maximal.js +21 -21
- package/dist/templates/saas/style-pastel.js +21 -21
- package/dist/templates/saas/style-sketch.js +21 -21
- package/dist/templates/saas/style-swiss.js +21 -21
- package/dist/templates/saas/style-terminal.js +21 -21
- package/dist/templates/saas/video.js +18 -18
- package/dist/templates/saas/web-shared.js +7 -7
- package/dist/templates/saas/web.js +23 -23
- package/dist/templates/scenes/before-after.js +10 -10
- package/dist/templates/scenes/carousel-video.js +11 -11
- package/dist/templates/scenes/saas-film-app-preview.js +11 -11
- package/dist/templates/scenes/saas-film-bright-trailer.js +11 -11
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +11 -11
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +11 -11
- package/dist/templates/scenes/shared.js +10 -10
- package/dist/templates/scenes/story-ad.js +11 -11
- package/dist/templates/scenes/story-bakery.js +11 -11
- package/dist/templates/scenes/story-fitness.js +11 -11
- package/dist/templates/scenes/story-hotel.js +11 -11
- package/dist/templates/scenes/transitions-pack.js +11 -11
- package/dist/templates/scenes/web-scroll.js +11 -11
- package/dist/templates/slides/agenda.js +11 -11
- package/dist/templates/slides/deck.js +10 -10
- package/dist/templates/slides/education.js +11 -11
- package/dist/templates/slides/launch.js +11 -11
- package/dist/templates/slides/layouts.js +11 -11
- package/dist/templates/slides/pitch.js +11 -11
- package/dist/templates/slides/report.js +11 -11
- package/dist/templates/slides/saas-mail-investor-update.js +12 -12
- package/dist/templates/slides/saas-mail-seed-pitch.js +12 -12
- package/dist/templates/slides/sales.js +11 -11
- package/dist/templates/slides/section-divider.js +11 -11
- package/dist/templates/slides/title-card.js +11 -11
- package/dist/templates/slides/training.js +11 -11
- package/dist/templates/slides/webinar.js +11 -11
- package/dist/templates/slideshow/baby.js +12 -12
- package/dist/templates/slideshow/birthday.js +12 -12
- package/dist/templates/slideshow/holiday.js +12 -12
- package/dist/templates/slideshow/home.js +12 -12
- package/dist/templates/slideshow/index.js +19 -19
- package/dist/templates/slideshow/memorial.js +12 -12
- package/dist/templates/slideshow/shared.js +11 -11
- package/dist/templates/slideshow/travel.js +12 -12
- package/dist/templates/slideshow/wedding.js +12 -12
- package/dist/templates/social/april-fools-link-preview.js +12 -12
- package/dist/templates/social/april-fools-price-slash-post.js +12 -12
- package/dist/templates/social/arcade-boss-fight.js +10 -10
- package/dist/templates/social/arcade-level-up.js +10 -10
- package/dist/templates/social/art-deco-link-preview.js +10 -10
- package/dist/templates/social/art-deco-premiere-post.js +10 -10
- package/dist/templates/social/autumn-harvest-link-preview.js +10 -10
- package/dist/templates/social/autumn-harvest-thanks-post.js +10 -10
- package/dist/templates/social/back-to-school-link-preview.js +10 -10
- package/dist/templates/social/back-to-school-report-card-post.js +10 -10
- package/dist/templates/social/bauhaus-drift-post.js +10 -10
- package/dist/templates/social/bauhaus-link-preview.js +10 -10
- package/dist/templates/social/bauhaus-pricing-post.js +10 -10
- package/dist/templates/social/black-friday-ads.js +10 -10
- package/dist/templates/social/black-friday-countdown.js +10 -10
- package/dist/templates/social/black-friday-coupons-ads.js +10 -10
- package/dist/templates/social/black-friday-coupons-countdown.js +10 -10
- package/dist/templates/social/black-friday-neon-ads.js +10 -10
- package/dist/templates/social/black-friday-neon-countdown.js +10 -10
- package/dist/templates/social/black-friday-scratch-ads.js +10 -10
- package/dist/templates/social/black-friday-ticker-ads.js +10 -10
- package/dist/templates/social/black-friday-ticker-countdown.js +10 -10
- package/dist/templates/social/blueprint-dimension-post.js +10 -10
- package/dist/templates/social/blueprint-link-preview.js +10 -10
- package/dist/templates/social/blueprint-parts-list-post.js +10 -10
- package/dist/templates/social/broadsheet-hiring-classifieds.js +10 -10
- package/dist/templates/social/broadsheet-link-preview.js +10 -10
- package/dist/templates/social/claymation-link-preview.js +10 -10
- package/dist/templates/social/claymation-streak-post.js +10 -10
- package/dist/templates/social/comic-book-cover-preview.js +10 -10
- package/dist/templates/social/comic-book-strip-post.js +10 -10
- package/dist/templates/social/cyberpunk-implant-post.js +10 -10
- package/dist/templates/social/cyberpunk-link-preview.js +10 -10
- package/dist/templates/social/departure-board-pass-ad.js +10 -10
- package/dist/templates/social/departure-board-store-set.js +10 -10
- package/dist/templates/social/departure-board-thanks-post.js +10 -10
- package/dist/templates/social/diwali-link-preview.js +10 -10
- package/dist/templates/social/diwali-thanks-post.js +10 -10
- package/dist/templates/social/earth-day-link-preview.js +10 -10
- package/dist/templates/social/festival-presale-electronic-ads.js +15 -15
- package/dist/templates/social/festival-presale-family-ads.js +15 -15
- package/dist/templates/social/festival-presale-folk-ads.js +15 -15
- package/dist/templates/social/festival-presale-food-ads.js +15 -15
- package/dist/templates/social/festival-presale-jazz-ads.js +15 -15
- package/dist/templates/social/festival-presale-street-ads.js +15 -15
- package/dist/templates/social/gothic-feature-post.js +10 -10
- package/dist/templates/social/gothic-link-preview.js +10 -10
- package/dist/templates/social/halloween-link-preview.js +10 -10
- package/dist/templates/social/halloween-offer-post.js +10 -10
- package/dist/templates/social/lunar-new-year-greeting-post.js +10 -10
- package/dist/templates/social/lunar-new-year-link-preview.js +10 -10
- package/dist/templates/social/machined-link-preview.js +12 -12
- package/dist/templates/social/machined-plate-post.js +12 -12
- package/dist/templates/social/manuscript-chapter-post.js +10 -10
- package/dist/templates/social/manuscript-link-preview.js +10 -10
- package/dist/templates/social/new-year-link-preview.js +10 -10
- package/dist/templates/social/new-year-resolutions-post.js +10 -10
- package/dist/templates/social/noir-case-file.js +10 -10
- package/dist/templates/social/noir-feature-post.js +10 -10
- package/dist/templates/social/post-announcement.js +10 -10
- package/dist/templates/social/post-event.js +10 -10
- package/dist/templates/social/post-podcast.js +10 -10
- package/dist/templates/social/post-quote.js +10 -10
- package/dist/templates/social/post-sale.js +10 -10
- package/dist/templates/social/post-stat.js +10 -10
- package/dist/templates/social/post-testimonial.js +10 -10
- package/dist/templates/social/promo-announcement.js +10 -10
- package/dist/templates/social/promo-beat-drop.js +10 -10
- package/dist/templates/social/promo-event.js +10 -10
- package/dist/templates/social/promo-new-product.js +10 -10
- package/dist/templates/social/promo-quote-reveal.js +10 -10
- package/dist/templates/social/promo-sale-drop.js +10 -10
- package/dist/templates/social/promo-tip-list.js +10 -10
- package/dist/templates/social/psychedelic-lineup-post.js +10 -10
- package/dist/templates/social/psychedelic-link-preview.js +10 -10
- package/dist/templates/social/riso-zine-link-preview.js +10 -10
- package/dist/templates/social/riso-zine-mrr-poster.js +10 -10
- package/dist/templates/social/saas-kit-carousel.js +10 -10
- package/dist/templates/social/saas-kit-countdown-post.js +10 -10
- package/dist/templates/social/saas-kit-feature-drop.js +10 -10
- package/dist/templates/social/saas-kit-link-preview.js +10 -10
- package/dist/templates/social/saas-kit-live-post.js +10 -10
- package/dist/templates/social/saas-kit-mrr-card.js +10 -10
- package/dist/templates/social/saas-kit-ph-gallery.js +10 -10
- package/dist/templates/social/saas-kit-ph-thumb.js +10 -10
- package/dist/templates/social/saas-kit-youtube-thumbs.js +10 -10
- package/dist/templates/social/saas-store-b2b-ads.js +11 -11
- package/dist/templates/social/saas-store-caption-set.js +11 -11
- package/dist/templates/social/saas-store-chrome-kit.js +11 -11
- package/dist/templates/social/saas-store-ipad-set.js +11 -11
- package/dist/templates/social/saas-store-panorama.js +12 -12
- package/dist/templates/social/saas-store-play-kit.js +10 -10
- package/dist/templates/social/saas-store-story.js +11 -11
- package/dist/templates/social/singles-day-link-preview.js +10 -10
- package/dist/templates/social/solarpunk-impact-post.js +10 -10
- package/dist/templates/social/solarpunk-link-preview.js +10 -10
- package/dist/templates/social/space-opera-link-preview.js +10 -10
- package/dist/templates/social/space-opera-mission-patch-post.js +10 -10
- package/dist/templates/social/spring-bloom-link-preview.js +10 -10
- package/dist/templates/social/style-bento-announcement.js +10 -10
- package/dist/templates/social/style-bento-link-preview.js +10 -10
- package/dist/templates/social/style-bento-milestone.js +10 -10
- package/dist/templates/social/style-bento-testimonial.js +10 -10
- package/dist/templates/social/style-brutalist-announcement.js +10 -10
- package/dist/templates/social/style-brutalist-link-preview.js +10 -10
- package/dist/templates/social/style-brutalist-milestone.js +10 -10
- package/dist/templates/social/style-brutalist-testimonial.js +10 -10
- package/dist/templates/social/style-dark-announcement.js +10 -10
- package/dist/templates/social/style-dark-link-preview.js +10 -10
- package/dist/templates/social/style-dark-milestone.js +10 -10
- package/dist/templates/social/style-dark-testimonial.js +10 -10
- package/dist/templates/social/style-data-announcement.js +10 -10
- package/dist/templates/social/style-data-link-preview.js +10 -10
- package/dist/templates/social/style-data-milestone.js +10 -10
- package/dist/templates/social/style-data-testimonial.js +10 -10
- package/dist/templates/social/style-editorial-announcement.js +10 -10
- package/dist/templates/social/style-editorial-link-preview.js +10 -10
- package/dist/templates/social/style-editorial-milestone.js +10 -10
- package/dist/templates/social/style-editorial-testimonial.js +10 -10
- package/dist/templates/social/style-glass-announcement.js +10 -10
- package/dist/templates/social/style-glass-link-preview.js +10 -10
- package/dist/templates/social/style-glass-milestone.js +10 -10
- package/dist/templates/social/style-glass-testimonial.js +10 -10
- package/dist/templates/social/style-gradient-announcement.js +10 -10
- package/dist/templates/social/style-gradient-link-preview.js +10 -10
- package/dist/templates/social/style-gradient-milestone.js +10 -10
- package/dist/templates/social/style-gradient-testimonial.js +10 -10
- package/dist/templates/social/style-maximal-announcement.js +10 -10
- package/dist/templates/social/style-maximal-link-preview.js +10 -10
- package/dist/templates/social/style-maximal-milestone.js +10 -10
- package/dist/templates/social/style-maximal-testimonial.js +10 -10
- package/dist/templates/social/style-pastel-announcement.js +10 -10
- package/dist/templates/social/style-pastel-link-preview.js +10 -10
- package/dist/templates/social/style-pastel-milestone.js +10 -10
- package/dist/templates/social/style-pastel-testimonial.js +10 -10
- package/dist/templates/social/style-sketch-announcement.js +10 -10
- package/dist/templates/social/style-sketch-link-preview.js +10 -10
- package/dist/templates/social/style-sketch-milestone.js +10 -10
- package/dist/templates/social/style-sketch-testimonial.js +10 -10
- package/dist/templates/social/style-swiss-announcement.js +10 -10
- package/dist/templates/social/style-swiss-link-preview.js +10 -10
- package/dist/templates/social/style-swiss-milestone.js +10 -10
- package/dist/templates/social/style-swiss-testimonial.js +10 -10
- package/dist/templates/social/style-terminal-announcement.js +10 -10
- package/dist/templates/social/style-terminal-link-preview.js +10 -10
- package/dist/templates/social/style-terminal-milestone.js +10 -10
- package/dist/templates/social/style-terminal-testimonial.js +10 -10
- package/dist/templates/social/summer-heatwave-link-preview.js +10 -10
- package/dist/templates/social/summer-heatwave-lolly-post.js +10 -10
- package/dist/templates/social/tour-tickets-june-ads.js +10 -10
- package/dist/templates/social/tour-tickets-tide-ads.js +10 -10
- package/dist/templates/social/tour-tickets-wreck-ads.js +10 -10
- package/dist/templates/social/transit-map-link-preview.js +10 -10
- package/dist/templates/social/ukiyo-e-link-preview.js +10 -10
- package/dist/templates/social/ukiyo-e-spike-post.js +10 -10
- package/dist/templates/social/valentines-link-preview.js +10 -10
- package/dist/templates/social/valentines-poem-post.js +10 -10
- package/dist/templates/social/vaporwave-feature-drop.js +10 -10
- package/dist/templates/social/vaporwave-link-preview.js +10 -10
- package/dist/templates/social/winter-cosy-link-preview.js +10 -10
- package/dist/templates/social/winter-holidays-link-preview.js +10 -10
- package/dist/templates/social/winter-holidays-thanks-post.js +10 -10
- package/dist/templates/stings/line-reveal.js +10 -10
- package/dist/templates/stings/sting-blur.js +10 -10
- package/dist/templates/stings/sting-pop.js +10 -10
- package/dist/templates/stings/sting-rise.js +10 -10
- package/dist/templates/stings/sting-shimmer.js +10 -10
- package/dist/templates/stings/word-swap.js +10 -10
- package/dist/templates/text/stat-counter.js +10 -10
- package/dist/templates/text/word-quote.js +10 -10
- package/dist/templates/themes/april-fools-shared.js +11 -11
- package/dist/templates/themes/april-fools.js +17 -17
- package/dist/templates/themes/arcade.js +14 -14
- package/dist/templates/themes/art-deco.js +16 -16
- package/dist/templates/themes/autumn-harvest.js +16 -16
- package/dist/templates/themes/back-to-school.js +16 -16
- package/dist/templates/themes/bauhaus.js +15 -15
- package/dist/templates/themes/black-friday-coupons.js +17 -17
- package/dist/templates/themes/black-friday-neon.js +17 -17
- package/dist/templates/themes/black-friday-scratch.js +17 -17
- package/dist/templates/themes/black-friday-ticker.js +17 -17
- package/dist/templates/themes/black-friday.js +16 -16
- package/dist/templates/themes/blueprint.js +15 -15
- package/dist/templates/themes/broadsheet.js +17 -17
- package/dist/templates/themes/claymation.js +16 -16
- package/dist/templates/themes/comic-book.js +14 -14
- package/dist/templates/themes/cyberpunk.js +16 -16
- package/dist/templates/themes/departure-board.js +15 -15
- package/dist/templates/themes/diwali.js +16 -16
- package/dist/templates/themes/earth-day.js +16 -16
- package/dist/templates/themes/festival-presale-electronic-kit.js +14 -14
- package/dist/templates/themes/festival-presale-family-a-shared.js +13 -13
- package/dist/templates/themes/festival-presale-family-a.js +38 -38
- package/dist/templates/themes/festival-presale-family-b-shared.js +13 -13
- package/dist/templates/themes/festival-presale-family-b.js +38 -38
- package/dist/templates/themes/festival-presale-family-kit.js +14 -14
- package/dist/templates/themes/festival-presale-folk-kit.js +14 -14
- package/dist/templates/themes/festival-presale-food-kit.js +14 -14
- package/dist/templates/themes/festival-presale-jazz-kit.js +14 -14
- package/dist/templates/themes/festival-presale-shared.js +8 -8
- package/dist/templates/themes/festival-presale-street-kit.js +14 -14
- package/dist/templates/themes/festival-presale.js +18 -18
- package/dist/templates/themes/gothic.js +16 -16
- package/dist/templates/themes/halloween.js +16 -16
- package/dist/templates/themes/index.js +337 -337
- package/dist/templates/themes/lunar-new-year.js +16 -16
- package/dist/templates/themes/machined-shared.js +11 -11
- package/dist/templates/themes/machined.js +16 -16
- package/dist/templates/themes/manuscript.js +16 -16
- package/dist/templates/themes/new-year.js +16 -16
- package/dist/templates/themes/noir.js +16 -16
- package/dist/templates/themes/psychedelic.js +16 -16
- package/dist/templates/themes/riso-zine.js +16 -16
- package/dist/templates/themes/singles-day.js +16 -16
- package/dist/templates/themes/solarpunk.js +16 -16
- package/dist/templates/themes/space-opera.js +16 -16
- package/dist/templates/themes/spring-bloom.js +16 -16
- package/dist/templates/themes/summer-heatwave.js +16 -16
- package/dist/templates/themes/tour-tickets-page-shared.js +8 -8
- package/dist/templates/themes/tour-tickets.js +37 -37
- package/dist/templates/themes/transit-map.js +16 -16
- package/dist/templates/themes/ukiyo-e.js +16 -16
- package/dist/templates/themes/valentines.js +16 -16
- package/dist/templates/themes/vaporwave.js +15 -15
- package/dist/templates/themes/winter-cosy.js +16 -16
- package/dist/templates/themes/winter-holidays.js +16 -16
- package/dist/templates/video/youtube-chapter.js +10 -10
- package/dist/templates/video/youtube-end-screen.js +10 -10
- package/dist/templates/video/youtube-intro.js +10 -10
- package/dist/templates/video/youtube-subscribe.js +10 -10
- package/dist/templates/web/app-ui.js +11 -11
- package/dist/templates/web/april-fools-landing.js +12 -12
- package/dist/templates/web/arcade-landing.js +10 -10
- package/dist/templates/web/art-deco-landing.js +10 -10
- package/dist/templates/web/autumn-harvest-landing.js +10 -10
- package/dist/templates/web/back-to-school-landing.js +10 -10
- package/dist/templates/web/bauhaus-landing.js +10 -10
- package/dist/templates/web/black-friday-coupons-landing.js +10 -10
- package/dist/templates/web/black-friday-landing.js +10 -10
- package/dist/templates/web/black-friday-neon-landing.js +10 -10
- package/dist/templates/web/black-friday-scratch-landing.js +10 -10
- package/dist/templates/web/black-friday-ticker-landing.js +10 -10
- package/dist/templates/web/blog-post.js +10 -10
- package/dist/templates/web/blueprint-landing.js +10 -10
- package/dist/templates/web/broadsheet-landing.js +10 -10
- package/dist/templates/web/claymation-landing.js +10 -10
- package/dist/templates/web/comic-book-landing.js +10 -10
- package/dist/templates/web/coming-soon-page.js +11 -11
- package/dist/templates/web/coming-soon.js +10 -10
- package/dist/templates/web/contact.js +11 -11
- package/dist/templates/web/cyberpunk-landing.js +10 -10
- package/dist/templates/web/daybreak-app.js +12 -12
- package/dist/templates/web/departure-board-download.js +10 -10
- package/dist/templates/web/diwali-landing.js +10 -10
- package/dist/templates/web/earth-day-landing.js +10 -10
- package/dist/templates/web/festival-presale-electronic.js +12 -12
- package/dist/templates/web/festival-presale-family.js +12 -12
- package/dist/templates/web/festival-presale-folk.js +12 -12
- package/dist/templates/web/festival-presale-food.js +12 -12
- package/dist/templates/web/festival-presale-jazz.js +12 -12
- package/dist/templates/web/festival-presale-street.js +12 -12
- package/dist/templates/web/forms.js +10 -10
- package/dist/templates/web/gothic-landing.js +10 -10
- package/dist/templates/web/halloween-landing.js +10 -10
- package/dist/templates/web/hero-animated.js +10 -10
- package/dist/templates/web/kindling-app.js +12 -12
- package/dist/templates/web/launch-waitlist.js +11 -11
- package/dist/templates/web/lunar-new-year-landing.js +10 -10
- package/dist/templates/web/machined-hero.js +12 -12
- package/dist/templates/web/manuscript-landing.js +10 -10
- package/dist/templates/web/marginalia-app.js +12 -12
- package/dist/templates/web/new-year-landing.js +10 -10
- package/dist/templates/web/noir-landing.js +10 -10
- package/dist/templates/web/page-404.js +10 -10
- package/dist/templates/web/portfolio-architect.js +11 -11
- package/dist/templates/web/portfolio-card-deck.js +11 -11
- package/dist/templates/web/portfolio-case-folio.js +11 -11
- package/dist/templates/web/portfolio-cube-gallery.js +11 -11
- package/dist/templates/web/portfolio-depth-tunnel.js +11 -11
- package/dist/templates/web/portfolio-editorial.js +11 -11
- package/dist/templates/web/portfolio-flip-wall.js +11 -11
- package/dist/templates/web/portfolio-index-list.js +11 -11
- package/dist/templates/web/portfolio-photographer.js +11 -11
- package/dist/templates/web/portfolio-reel-carousel.js +11 -11
- package/dist/templates/web/portfolio-shared.js +10 -10
- package/dist/templates/web/portfolio-sketchbook.js +11 -11
- package/dist/templates/web/portfolio-studio-grid.js +11 -11
- package/dist/templates/web/portfolio.js +10 -10
- package/dist/templates/web/portfolios.js +23 -23
- package/dist/templates/web/potluck-app.js +12 -12
- package/dist/templates/web/pricing-toggle.js +10 -10
- package/dist/templates/web/product-page.js +10 -10
- package/dist/templates/web/psychedelic-landing.js +10 -10
- package/dist/templates/web/riso-zine-landing.js +10 -10
- package/dist/templates/web/rsvp-invite.js +11 -11
- package/dist/templates/web/saas-ai-landing.js +11 -11
- package/dist/templates/web/saas-app-download.js +11 -11
- package/dist/templates/web/saas-case-study.js +11 -11
- package/dist/templates/web/saas-changelog.js +11 -11
- package/dist/templates/web/saas-comparison.js +11 -11
- package/dist/templates/web/saas-data-landing.js +11 -11
- package/dist/templates/web/saas-dev-landing.js +11 -11
- package/dist/templates/web/saas-indie-landing.js +11 -11
- package/dist/templates/web/saas-integrations.js +11 -11
- package/dist/templates/web/saas-security.js +11 -11
- package/dist/templates/web/saas-signup.js +11 -11
- package/dist/templates/web/saas-waitlist.js +11 -11
- package/dist/templates/web/saffron-app.js +12 -12
- package/dist/templates/web/singles-day-landing.js +10 -10
- package/dist/templates/web/solarpunk-landing.js +10 -10
- package/dist/templates/web/space-opera-landing.js +10 -10
- package/dist/templates/web/spring-bloom-landing.js +10 -10
- package/dist/templates/web/style-bento-landing.js +11 -11
- package/dist/templates/web/style-bento-pricing.js +11 -11
- package/dist/templates/web/style-brutalist-landing.js +11 -11
- package/dist/templates/web/style-brutalist-pricing.js +11 -11
- package/dist/templates/web/style-dark-landing.js +11 -11
- package/dist/templates/web/style-dark-pricing.js +11 -11
- package/dist/templates/web/style-data-landing.js +11 -11
- package/dist/templates/web/style-data-pricing.js +11 -11
- package/dist/templates/web/style-editorial-landing.js +11 -11
- package/dist/templates/web/style-editorial-pricing.js +11 -11
- package/dist/templates/web/style-glass-landing.js +11 -11
- package/dist/templates/web/style-glass-pricing.js +11 -11
- package/dist/templates/web/style-gradient-landing.js +11 -11
- package/dist/templates/web/style-gradient-pricing.js +11 -11
- package/dist/templates/web/style-maximal-landing.js +11 -11
- package/dist/templates/web/style-maximal-pricing.js +11 -11
- package/dist/templates/web/style-pastel-landing.js +11 -11
- package/dist/templates/web/style-pastel-pricing.js +11 -11
- package/dist/templates/web/style-sketch-landing.js +11 -11
- package/dist/templates/web/style-sketch-pricing.js +11 -11
- package/dist/templates/web/style-swiss-landing.js +11 -11
- package/dist/templates/web/style-swiss-pricing.js +11 -11
- package/dist/templates/web/style-terminal-landing.js +11 -11
- package/dist/templates/web/style-terminal-pricing.js +11 -11
- package/dist/templates/web/summer-heatwave-landing.js +10 -10
- package/dist/templates/web/tempo-app.js +12 -12
- package/dist/templates/web/tour-tickets-june-landing.js +12 -12
- package/dist/templates/web/tour-tickets-tide-landing.js +12 -12
- package/dist/templates/web/tour-tickets-wreck-landing.js +12 -12
- package/dist/templates/web/transit-map-landing.js +10 -10
- package/dist/templates/web/ukiyo-e-landing.js +10 -10
- package/dist/templates/web/valentines-landing.js +10 -10
- package/dist/templates/web/vaporwave-landing.js +10 -10
- package/dist/templates/web/wayfarer-app.js +12 -12
- package/dist/templates/web/winter-cosy-landing.js +10 -10
- package/dist/templates/web/winter-holidays-landing.js +10 -10
- package/package.json +1 -1
- package/dist/chunks/agent-DST2MAVR.js +0 -44
- package/dist/chunks/audio-decode-ERTXCDTG.js +0 -53
- package/dist/chunks/audio-import-NYI642I7.js +0 -125
- package/dist/chunks/browser-Q5LM4KEC.js +0 -177
- package/dist/chunks/build-OH24MHGP.js +0 -54
- package/dist/chunks/builtin-RX4EA22B.js +0 -102
- package/dist/chunks/check-template-EWPD3JQF.js +0 -2598
- package/dist/chunks/chunk-26V7CBR4.js +0 -179
- package/dist/chunks/chunk-27H2XWXP.js +0 -44
- package/dist/chunks/chunk-2GJTRH4F.js +0 -626
- package/dist/chunks/chunk-2GWEN6KN.js +0 -177
- package/dist/chunks/chunk-2HFSN2KW.js +0 -33
- package/dist/chunks/chunk-2HJMWTLZ.js +0 -183
- package/dist/chunks/chunk-2MMWB3QX.js +0 -182
- package/dist/chunks/chunk-2ONQ7SCG.js +0 -155
- package/dist/chunks/chunk-2QZJHOFA.js +0 -49
- package/dist/chunks/chunk-2UMCIF5N.js +0 -125
- package/dist/chunks/chunk-2WKE5QWG.js +0 -39
- package/dist/chunks/chunk-3275R324.js +0 -45
- package/dist/chunks/chunk-334ISA7O.js +0 -149
- package/dist/chunks/chunk-33HWR54P.js +0 -33
- package/dist/chunks/chunk-34GH73KL.js +0 -287
- package/dist/chunks/chunk-34PXPXCV.js +0 -226
- package/dist/chunks/chunk-35NF5RXK.js +0 -119
- package/dist/chunks/chunk-35NUFALJ.js +0 -145
- package/dist/chunks/chunk-364Z443O.js +0 -564
- package/dist/chunks/chunk-36KSZWEB.js +0 -728
- package/dist/chunks/chunk-3AMBHKVW.js +0 -111
- package/dist/chunks/chunk-3B7V77MP.js +0 -378
- package/dist/chunks/chunk-3BQ2M7RP.js +0 -122
- package/dist/chunks/chunk-3CLEHREY.js +0 -1136
- package/dist/chunks/chunk-3CLWRHKM.js +0 -177
- package/dist/chunks/chunk-3DALLUHH.js +0 -75
- package/dist/chunks/chunk-3EWPCHFM.js +0 -157
- package/dist/chunks/chunk-3FIONDHD.js +0 -412
- package/dist/chunks/chunk-3FT3S6H2.js +0 -97
- package/dist/chunks/chunk-3GS4LREY.js +0 -250
- package/dist/chunks/chunk-3IAAMJKP.js +0 -73
- package/dist/chunks/chunk-3K4SUTTQ.js +0 -23
- package/dist/chunks/chunk-3KEE7SDB.js +0 -1036
- package/dist/chunks/chunk-3KHSITUN.js +0 -178
- package/dist/chunks/chunk-3L6KXXHP.js +0 -36
- package/dist/chunks/chunk-3LGX4QOZ.js +0 -898
- package/dist/chunks/chunk-3OUOWA7J.js +0 -45
- package/dist/chunks/chunk-3T7MR7AN.js +0 -89
- package/dist/chunks/chunk-3YBQ6AUJ.js +0 -574
- package/dist/chunks/chunk-3YTF7SCW.js +0 -261
- package/dist/chunks/chunk-3ZK26PDQ.js +0 -197
- package/dist/chunks/chunk-42VS75LW.js +0 -301
- package/dist/chunks/chunk-4625NTLV.js +0 -97
- package/dist/chunks/chunk-47GPBPFU.js +0 -208
- package/dist/chunks/chunk-47YHWNXD.js +0 -23
- package/dist/chunks/chunk-4CP3TPON.js +0 -131
- package/dist/chunks/chunk-4EDPP5GE.js +0 -80
- package/dist/chunks/chunk-4FIRKRYL.js +0 -272
- package/dist/chunks/chunk-4FMQKODV.js +0 -149
- package/dist/chunks/chunk-4FOW3NJ3.js +0 -135
- package/dist/chunks/chunk-4H4JQ2Q4.js +0 -187
- package/dist/chunks/chunk-4HUPCOR3.js +0 -366
- package/dist/chunks/chunk-4K7TUEKD.js +0 -206
- package/dist/chunks/chunk-4N7SIEFT.js +0 -47
- package/dist/chunks/chunk-4NVR2RRV.js +0 -685
- package/dist/chunks/chunk-4OOO27PP.js +0 -190
- package/dist/chunks/chunk-4QEGRWR3.js +0 -161
- package/dist/chunks/chunk-4SG5VVZC.js +0 -96
- package/dist/chunks/chunk-4TR4NYMX.js +0 -777
- package/dist/chunks/chunk-4VE5KAWS.js +0 -410
- package/dist/chunks/chunk-4VH2UYQT.js +0 -23
- package/dist/chunks/chunk-4WE2GBCI.js +0 -45
- package/dist/chunks/chunk-4YUTVWMW.js +0 -104
- package/dist/chunks/chunk-4YX4V36X.js +0 -162
- package/dist/chunks/chunk-4ZEVF36F.js +0 -60
- package/dist/chunks/chunk-4ZGWPBOL.js +0 -122
- package/dist/chunks/chunk-4ZL5OFMK.js +0 -172
- package/dist/chunks/chunk-52BBRI3K.js +0 -240
- package/dist/chunks/chunk-535MA4OE.js +0 -147
- package/dist/chunks/chunk-54HRZRU6.js +0 -138
- package/dist/chunks/chunk-554R2ZYS.js +0 -105
- package/dist/chunks/chunk-5F3VRTY6.js +0 -53
- package/dist/chunks/chunk-5HRJUZJM.js +0 -77
- package/dist/chunks/chunk-5JDMX7EL.js +0 -117
- package/dist/chunks/chunk-5K2GS3AM.js +0 -84
- package/dist/chunks/chunk-5KCEYY2U.js +0 -171
- package/dist/chunks/chunk-5KLQTDPC.js +0 -497
- package/dist/chunks/chunk-5MB6BQJV.js +0 -68
- package/dist/chunks/chunk-5OSNVWE3.js +0 -220
- package/dist/chunks/chunk-5QXQXGGH.js +0 -100
- package/dist/chunks/chunk-5SBQWDL3.js +0 -111
- package/dist/chunks/chunk-5SQJS6PM.js +0 -217
- package/dist/chunks/chunk-5TMTIZL7.js +0 -225
- package/dist/chunks/chunk-5VW4PKKY.js +0 -33
- package/dist/chunks/chunk-5ZMSE2T6.js +0 -140
- package/dist/chunks/chunk-62RDWA6H.js +0 -363
- package/dist/chunks/chunk-64V6DK2Z.js +0 -137
- package/dist/chunks/chunk-66S5Y6EV.js +0 -33
- package/dist/chunks/chunk-66UH7E3F.js +0 -155
- package/dist/chunks/chunk-6AEXR3ZD.js +0 -70
- package/dist/chunks/chunk-6C7YRMP2.js +0 -33
- package/dist/chunks/chunk-6E3COTYO.js +0 -171
- package/dist/chunks/chunk-6IVCK2VP.js +0 -151
- package/dist/chunks/chunk-6J6BG5VX.js +0 -84
- package/dist/chunks/chunk-6KFR6IPE.js +0 -112
- package/dist/chunks/chunk-6LHWZY6R.js +0 -135
- package/dist/chunks/chunk-6M2TKIAH.js +0 -226
- package/dist/chunks/chunk-6M3IZ6ZD.js +0 -115
- package/dist/chunks/chunk-6M5HIEOE.js +0 -175
- package/dist/chunks/chunk-6N636GXT.js +0 -255
- package/dist/chunks/chunk-6NJ4GO6A.js +0 -160
- package/dist/chunks/chunk-6OVXGI5Y.js +0 -177
- package/dist/chunks/chunk-6SRQPPOB.js +0 -55
- package/dist/chunks/chunk-6T5AK6LD.js +0 -304
- package/dist/chunks/chunk-6THPTTQG.js +0 -232
- package/dist/chunks/chunk-6WQNSA4Z.js +0 -165
- package/dist/chunks/chunk-6X267AJL.js +0 -53
- package/dist/chunks/chunk-6XUZYTUF.js +0 -277
- package/dist/chunks/chunk-6YP2SINQ.js +0 -142
- package/dist/chunks/chunk-73F4R5F7.js +0 -33
- package/dist/chunks/chunk-74L3AXCR.js +0 -151
- package/dist/chunks/chunk-7IPNFWWG.js +0 -320
- package/dist/chunks/chunk-7J365FJ7.js +0 -169
- package/dist/chunks/chunk-7J7QFJUC.js +0 -190
- package/dist/chunks/chunk-7JEYFK4I.js +0 -126
- package/dist/chunks/chunk-7KYIIZRD.js +0 -326
- package/dist/chunks/chunk-7M6HMJGX.js +0 -283
- package/dist/chunks/chunk-7M6QZ6QG.js +0 -118
- package/dist/chunks/chunk-7NJLNPYC.js +0 -41
- package/dist/chunks/chunk-7P7CTQ42.js +0 -212
- package/dist/chunks/chunk-7QRDJ65S.js +0 -83
- package/dist/chunks/chunk-7SPC3MQG.js +0 -23
- package/dist/chunks/chunk-7UMWWA7H.js +0 -113
- package/dist/chunks/chunk-7WGIS7CB.js +0 -242
- package/dist/chunks/chunk-7YGFM4V2.js +0 -270
- package/dist/chunks/chunk-7ZHDTD6A.js +0 -90
- package/dist/chunks/chunk-7ZMWWIAD.js +0 -76
- package/dist/chunks/chunk-7ZRE4YPE.js +0 -84
- package/dist/chunks/chunk-7ZUBYHW7.js +0 -45
- package/dist/chunks/chunk-A2UD564H.js +0 -221
- package/dist/chunks/chunk-A3I6RTBI.js +0 -164
- package/dist/chunks/chunk-A3TF5IDK.js +0 -45
- package/dist/chunks/chunk-A42BNHIB.js +0 -197
- package/dist/chunks/chunk-A4H4HUHD.js +0 -239
- package/dist/chunks/chunk-A4VM63UG.js +0 -156
- package/dist/chunks/chunk-A562AUWX.js +0 -33
- package/dist/chunks/chunk-ACDYNDMM.js +0 -135
- package/dist/chunks/chunk-ACEIRF2I.js +0 -192
- package/dist/chunks/chunk-ADV5WNBG.js +0 -244
- package/dist/chunks/chunk-AETOSCUK.js +0 -33
- package/dist/chunks/chunk-AF7ACTI3.js +0 -525
- package/dist/chunks/chunk-AGUKCBMQ.js +0 -54
- package/dist/chunks/chunk-AHXTHW4S.js +0 -23
- package/dist/chunks/chunk-AK7O3Y4W.js +0 -368
- package/dist/chunks/chunk-AKWA3PUR.js +0 -127
- package/dist/chunks/chunk-AL6PELCN.js +0 -99
- package/dist/chunks/chunk-ALLXWTPX.js +0 -161
- package/dist/chunks/chunk-AMNICXZN.js +0 -145
- package/dist/chunks/chunk-AN3S2GNF.js +0 -127
- package/dist/chunks/chunk-ANINBAXT.js +0 -84
- package/dist/chunks/chunk-ARFVXE3Y.js +0 -103
- package/dist/chunks/chunk-ASQMRRTZ.js +0 -23
- package/dist/chunks/chunk-AWW22RVK.js +0 -152
- package/dist/chunks/chunk-AXZGZACR.js +0 -123
- package/dist/chunks/chunk-AYDFVOO2.js +0 -140
- package/dist/chunks/chunk-AZZN6Q2O.js +0 -105
- package/dist/chunks/chunk-B4HDG2IW.js +0 -1309
- package/dist/chunks/chunk-B4IXZ7O5.js +0 -118
- package/dist/chunks/chunk-B4LHWR3X.js +0 -258
- package/dist/chunks/chunk-B4YF6HJU.js +0 -297
- package/dist/chunks/chunk-B5LEB452.js +0 -41
- package/dist/chunks/chunk-B6HZM7VQ.js +0 -78
- package/dist/chunks/chunk-B7FFB437.js +0 -345
- package/dist/chunks/chunk-BAX6LQML.js +0 -327
- package/dist/chunks/chunk-BCIZUHXK.js +0 -224
- package/dist/chunks/chunk-BDCTNLHN.js +0 -111
- package/dist/chunks/chunk-BDFL5BPW.js +0 -106
- package/dist/chunks/chunk-BENR7GSQ.js +0 -158
- package/dist/chunks/chunk-BEXE4DKA.js +0 -173
- package/dist/chunks/chunk-BFHOJXHL.js +0 -111
- package/dist/chunks/chunk-BI2UWFEH.js +0 -106
- package/dist/chunks/chunk-BJPRCTPH.js +0 -45
- package/dist/chunks/chunk-BLMRI3GM.js +0 -197
- package/dist/chunks/chunk-BNN6TUJR.js +0 -441
- package/dist/chunks/chunk-BPMKM4QF.js +0 -298
- package/dist/chunks/chunk-BQ6O7JCT.js +0 -88
- package/dist/chunks/chunk-BQBERXKA.js +0 -235
- package/dist/chunks/chunk-BTKFCMTX.js +0 -100
- package/dist/chunks/chunk-BXIWUXP4.js +0 -103
- package/dist/chunks/chunk-BZOTZWTU.js +0 -45
- package/dist/chunks/chunk-C6OR2OT3.js +0 -185
- package/dist/chunks/chunk-CADTT7LJ.js +0 -94
- package/dist/chunks/chunk-CDFBCUGH.js +0 -36
- package/dist/chunks/chunk-CGNLGU2P.js +0 -260
- package/dist/chunks/chunk-CMDW4LBV.js +0 -1469
- package/dist/chunks/chunk-CN3YHV2C.js +0 -278
- package/dist/chunks/chunk-CPT7DCHN.js +0 -121
- package/dist/chunks/chunk-CRLLVF6I.js +0 -23
- package/dist/chunks/chunk-CSJRRYSN.js +0 -154
- package/dist/chunks/chunk-CSULIUCN.js +0 -199
- package/dist/chunks/chunk-CTJ5AVIW.js +0 -33
- package/dist/chunks/chunk-CW6U4Q43.js +0 -112
- package/dist/chunks/chunk-CWBRBRAP.js +0 -283
- package/dist/chunks/chunk-CYKH5WFA.js +0 -251
- package/dist/chunks/chunk-CYKNEUK3.js +0 -23
- package/dist/chunks/chunk-CZAQ465B.js +0 -80
- package/dist/chunks/chunk-D2QY5TCF.js +0 -36
- package/dist/chunks/chunk-D4LFCW5J.js +0 -91
- package/dist/chunks/chunk-D5K5CX75.js +0 -163
- package/dist/chunks/chunk-D5T3UA4E.js +0 -180
- package/dist/chunks/chunk-D6CMHR7I.js +0 -108
- package/dist/chunks/chunk-DAPDHPQ7.js +0 -237
- package/dist/chunks/chunk-DEPZXNVC.js +0 -215
- package/dist/chunks/chunk-DH3KBNSU.js +0 -156
- package/dist/chunks/chunk-DH3MDCGY.js +0 -290
- package/dist/chunks/chunk-DJEUTWDG.js +0 -52
- package/dist/chunks/chunk-DM463GS5.js +0 -118
- package/dist/chunks/chunk-DMHXO7B4.js +0 -109
- package/dist/chunks/chunk-DNYCVDRI.js +0 -81
- package/dist/chunks/chunk-DONKJFZJ.js +0 -164
- package/dist/chunks/chunk-DOZHKMBC.js +0 -266
- package/dist/chunks/chunk-DQGREDSJ.js +0 -462
- package/dist/chunks/chunk-DROWORVG.js +0 -174
- package/dist/chunks/chunk-DXQOVG2B.js +0 -155
- package/dist/chunks/chunk-DZE2OO3Z.js +0 -95
- package/dist/chunks/chunk-DZXRTNQT.js +0 -390
- package/dist/chunks/chunk-E6MR2B2F.js +0 -33
- package/dist/chunks/chunk-E7DDALJU.js +0 -78
- package/dist/chunks/chunk-E7ET7KCM.js +0 -157
- package/dist/chunks/chunk-E7MZ5KGZ.js +0 -170
- package/dist/chunks/chunk-EBQ7JUEA.js +0 -237
- package/dist/chunks/chunk-ECCQ22SG.js +0 -135
- package/dist/chunks/chunk-EDWXSQ32.js +0 -45
- package/dist/chunks/chunk-EEFIVH7R.js +0 -342
- package/dist/chunks/chunk-EFAG3FSJ.js +0 -146
- package/dist/chunks/chunk-EI5L6HGS.js +0 -141
- package/dist/chunks/chunk-EJECMJKH.js +0 -165
- package/dist/chunks/chunk-EJJG2S4I.js +0 -97
- package/dist/chunks/chunk-EJKLNWKT.js +0 -136
- package/dist/chunks/chunk-EMJIAA64.js +0 -102
- package/dist/chunks/chunk-ESHHG2SW.js +0 -100
- package/dist/chunks/chunk-EUTHHYVV.js +0 -222
- package/dist/chunks/chunk-EVEHIFUM.js +0 -83
- package/dist/chunks/chunk-EW3GQVJG.js +0 -33
- package/dist/chunks/chunk-EWROGNWP.js +0 -178
- package/dist/chunks/chunk-EYE2KFFH.js +0 -195
- package/dist/chunks/chunk-EYJUVSXW.js +0 -127
- package/dist/chunks/chunk-F2SQCAZ2.js +0 -130
- package/dist/chunks/chunk-F42KPXN5.js +0 -139
- package/dist/chunks/chunk-F4C2NSJ6.js +0 -103
- package/dist/chunks/chunk-F4NU37LP.js +0 -181
- package/dist/chunks/chunk-F4VHWBUL.js +0 -263
- package/dist/chunks/chunk-F6DMROYD.js +0 -89
- package/dist/chunks/chunk-FCUOI5V6.js +0 -84
- package/dist/chunks/chunk-FCVYV4PF.js +0 -162
- package/dist/chunks/chunk-FCWTM2DD.js +0 -117
- package/dist/chunks/chunk-FEZIQWLX.js +0 -209
- package/dist/chunks/chunk-FFGUM7WI.js +0 -258
- package/dist/chunks/chunk-FLM2IJAP.js +0 -80
- package/dist/chunks/chunk-FSZD255I.js +0 -150
- package/dist/chunks/chunk-FX4IVZLZ.js +0 -226
- package/dist/chunks/chunk-FXJK255S.js +0 -93
- package/dist/chunks/chunk-FZ7DWEUH.js +0 -128
- package/dist/chunks/chunk-G6HAEIQ6.js +0 -119
- package/dist/chunks/chunk-GDDDTGM7.js +0 -122
- package/dist/chunks/chunk-GELXPDC5.js +0 -170
- package/dist/chunks/chunk-GHKOQDLO.js +0 -125
- package/dist/chunks/chunk-GIKIGSXN.js +0 -192
- package/dist/chunks/chunk-GIP6VWR5.js +0 -230
- package/dist/chunks/chunk-GJSNTJUP.js +0 -55
- package/dist/chunks/chunk-GLB2BBQK.js +0 -23
- package/dist/chunks/chunk-GLJFDF6L.js +0 -172
- package/dist/chunks/chunk-GNPVL4H5.js +0 -23
- package/dist/chunks/chunk-GO2TFLKH.js +0 -165
- package/dist/chunks/chunk-GOGK3DDX.js +0 -225
- package/dist/chunks/chunk-GUN65ZDU.js +0 -215
- package/dist/chunks/chunk-GVF4CDG2.js +0 -214
- package/dist/chunks/chunk-GZ6N4ZZO.js +0 -94
- package/dist/chunks/chunk-GZWVD5DV.js +0 -61
- package/dist/chunks/chunk-H2ZHH25K.js +0 -166
- package/dist/chunks/chunk-H3OSYOGV.js +0 -23
- package/dist/chunks/chunk-H4IAAFVN.js +0 -123
- package/dist/chunks/chunk-H4VDY4JY.js +0 -23
- package/dist/chunks/chunk-H4ZPCAYN.js +0 -81
- package/dist/chunks/chunk-H5PCYOEB.js +0 -141
- package/dist/chunks/chunk-H5RNKHXB.js +0 -23
- package/dist/chunks/chunk-H65QYHDJ.js +0 -72
- package/dist/chunks/chunk-H6G7Q335.js +0 -97
- package/dist/chunks/chunk-HARHVFGY.js +0 -283
- package/dist/chunks/chunk-HAT2JIBP.js +0 -90
- package/dist/chunks/chunk-HB4YIBD4.js +0 -36
- package/dist/chunks/chunk-HBVM34EB.js +0 -85
- package/dist/chunks/chunk-HCVQOXQD.js +0 -146
- package/dist/chunks/chunk-HE3NOGJI.js +0 -262
- package/dist/chunks/chunk-HFJO2QA2.js +0 -166
- package/dist/chunks/chunk-HHEMVANW.js +0 -361
- package/dist/chunks/chunk-HHGTJML3.js +0 -41
- package/dist/chunks/chunk-HJ6TMD4P.js +0 -119
- package/dist/chunks/chunk-HLNIC3FM.js +0 -90
- package/dist/chunks/chunk-HNJCN3T5.js +0 -108
- package/dist/chunks/chunk-HQRU6AQA.js +0 -110
- package/dist/chunks/chunk-HQYUXMFZ.js +0 -23
- package/dist/chunks/chunk-HQZ5TTQL.js +0 -327
- package/dist/chunks/chunk-HR5NGUH6.js +0 -30
- package/dist/chunks/chunk-HTQIV4KE.js +0 -95
- package/dist/chunks/chunk-HTV76Q5B.js +0 -195
- package/dist/chunks/chunk-HU6MHNUJ.js +0 -184
- package/dist/chunks/chunk-HVNODO63.js +0 -169
- package/dist/chunks/chunk-HZGGUA5N.js +0 -150
- package/dist/chunks/chunk-I5J3CHXK.js +0 -50
- package/dist/chunks/chunk-I5MSRX4V.js +0 -336
- package/dist/chunks/chunk-I5SAEEW6.js +0 -23
- package/dist/chunks/chunk-I5VS4C7X.js +0 -161
- package/dist/chunks/chunk-I652TJYU.js +0 -79
- package/dist/chunks/chunk-IBZEHQH3.js +0 -304
- package/dist/chunks/chunk-IFYADGUN.js +0 -92
- package/dist/chunks/chunk-IFZORS4P.js +0 -315
- package/dist/chunks/chunk-IHBPEFDI.js +0 -152
- package/dist/chunks/chunk-IITO52I3.js +0 -183
- package/dist/chunks/chunk-IJGEUKKY.js +0 -76
- package/dist/chunks/chunk-IKHKATHL.js +0 -150
- package/dist/chunks/chunk-IKRKTSWY.js +0 -124
- package/dist/chunks/chunk-IM4CQVGS.js +0 -56
- package/dist/chunks/chunk-IMFHHRXG.js +0 -112
- package/dist/chunks/chunk-INMUOIYW.js +0 -98
- package/dist/chunks/chunk-IP7JW2NP.js +0 -30
- package/dist/chunks/chunk-IQ7N3YPD.js +0 -90
- package/dist/chunks/chunk-IQD4GFNB.js +0 -176
- package/dist/chunks/chunk-IS3Z32B2.js +0 -133
- package/dist/chunks/chunk-IUBHFDT5.js +0 -80
- package/dist/chunks/chunk-IVBKHRLV.js +0 -157
- package/dist/chunks/chunk-IW6ERVKZ.js +0 -287
- package/dist/chunks/chunk-J2IKUFMI.js +0 -99
- package/dist/chunks/chunk-J2KUJAMR.js +0 -104
- package/dist/chunks/chunk-J5PCXTZB.js +0 -213
- package/dist/chunks/chunk-J5SZDCYR.js +0 -95
- package/dist/chunks/chunk-J63NH5AR.js +0 -23
- package/dist/chunks/chunk-J6NYGCR5.js +0 -101
- package/dist/chunks/chunk-J6TOKUS3.js +0 -104
- package/dist/chunks/chunk-J7IJTLW3.js +0 -190
- package/dist/chunks/chunk-JALL5DEE.js +0 -36
- package/dist/chunks/chunk-JASRRFYT.js +0 -201
- package/dist/chunks/chunk-JCN4K3TE.js +0 -105
- package/dist/chunks/chunk-JDW66DXS.js +0 -177
- package/dist/chunks/chunk-JGA35YJK.js +0 -153
- package/dist/chunks/chunk-JHAAYRVU.js +0 -126
- package/dist/chunks/chunk-JHN2TDHK.js +0 -23
- package/dist/chunks/chunk-JKK66F4Y.js +0 -108
- package/dist/chunks/chunk-JLFMG5ND.js +0 -23
- package/dist/chunks/chunk-JNHAAMP2.js +0 -315
- package/dist/chunks/chunk-JOPO332K.js +0 -133
- package/dist/chunks/chunk-JORCGWIW.js +0 -71
- package/dist/chunks/chunk-JOWWUEME.js +0 -204
- package/dist/chunks/chunk-JPGIPQCF.js +0 -45
- package/dist/chunks/chunk-JPRJSEBM.js +0 -129
- package/dist/chunks/chunk-JQH5HEFG.js +0 -172
- package/dist/chunks/chunk-JQLNJEMF.js +0 -163
- package/dist/chunks/chunk-JS5VMEGE.js +0 -136
- package/dist/chunks/chunk-JTTAAWYL.js +0 -152
- package/dist/chunks/chunk-JUN5Q2CE.js +0 -218
- package/dist/chunks/chunk-JV36IM5I.js +0 -105
- package/dist/chunks/chunk-JVFOLNJF.js +0 -333
- package/dist/chunks/chunk-JXMLF2DL.js +0 -305
- package/dist/chunks/chunk-JZKODUYX.js +0 -167
- package/dist/chunks/chunk-K23MXB4V.js +0 -173
- package/dist/chunks/chunk-K2J3RZ75.js +0 -48
- package/dist/chunks/chunk-K3R24MI3.js +0 -330
- package/dist/chunks/chunk-K53ZAFVJ.js +0 -102
- package/dist/chunks/chunk-K72EAHFX.js +0 -23
- package/dist/chunks/chunk-K7JA7N2C.js +0 -260
- package/dist/chunks/chunk-KC5RCRHT.js +0 -106
- package/dist/chunks/chunk-KC6ET6KW.js +0 -220
- package/dist/chunks/chunk-KCFUA6CG.js +0 -168
- package/dist/chunks/chunk-KCXMEE7B.js +0 -33
- package/dist/chunks/chunk-KHOYAKK7.js +0 -33
- package/dist/chunks/chunk-KHQPT2Q6.js +0 -231
- package/dist/chunks/chunk-KKYSP3TA.js +0 -261
- package/dist/chunks/chunk-KLT3JTXL.js +0 -93
- package/dist/chunks/chunk-KOHA4XGY.js +0 -169
- package/dist/chunks/chunk-KPCAVR65.js +0 -42
- package/dist/chunks/chunk-KQ4H6SK3.js +0 -151
- package/dist/chunks/chunk-KSB226GI.js +0 -279
- package/dist/chunks/chunk-KTFAGEZQ.js +0 -197
- package/dist/chunks/chunk-KXAJAE5T.js +0 -276
- package/dist/chunks/chunk-KZQUCXKO.js +0 -122
- package/dist/chunks/chunk-L2JZWP53.js +0 -262
- package/dist/chunks/chunk-L2QW3HV4.js +0 -242
- package/dist/chunks/chunk-L2YWV4WK.js +0 -120
- package/dist/chunks/chunk-L4IBABZF.js +0 -196
- package/dist/chunks/chunk-L4QTURPL.js +0 -224
- package/dist/chunks/chunk-L6QYL2X5.js +0 -358
- package/dist/chunks/chunk-L6SYZHZR.js +0 -274
- package/dist/chunks/chunk-L7RNX4NJ.js +0 -120
- package/dist/chunks/chunk-LBP6TMII.js +0 -282
- package/dist/chunks/chunk-LBVB2THS.js +0 -191
- package/dist/chunks/chunk-LCGPASX2.js +0 -49
- package/dist/chunks/chunk-LFAQF4D7.js +0 -106
- package/dist/chunks/chunk-LFVWMB6M.js +0 -155
- package/dist/chunks/chunk-LHC5LXOA.js +0 -107
- package/dist/chunks/chunk-LHP5VWSI.js +0 -120
- package/dist/chunks/chunk-LJMJSNZ2.js +0 -81
- package/dist/chunks/chunk-LKMDEK4G.js +0 -209
- package/dist/chunks/chunk-LMEG63OJ.js +0 -415
- package/dist/chunks/chunk-LP447J5M.js +0 -79
- package/dist/chunks/chunk-LSVE7C2T.js +0 -55
- package/dist/chunks/chunk-LTHUEEOA.js +0 -28
- package/dist/chunks/chunk-LUVAPSI4.js +0 -1411
- package/dist/chunks/chunk-LWFKH7TN.js +0 -163
- package/dist/chunks/chunk-LWXBR26Z.js +0 -91
- package/dist/chunks/chunk-LWZJVECH.js +0 -160
- package/dist/chunks/chunk-LXPOUJN6.js +0 -123
- package/dist/chunks/chunk-LYOTLYB7.js +0 -96
- package/dist/chunks/chunk-M2U737YU.js +0 -184
- package/dist/chunks/chunk-M37JD3RX.js +0 -336
- package/dist/chunks/chunk-M5KISZIM.js +0 -104
- package/dist/chunks/chunk-M6KT77WY.js +0 -118
- package/dist/chunks/chunk-M7GVVKYQ.js +0 -85
- package/dist/chunks/chunk-MAC4DAKX.js +0 -93
- package/dist/chunks/chunk-MB3KI7RD.js +0 -252
- package/dist/chunks/chunk-MCY7DENT.js +0 -152
- package/dist/chunks/chunk-MIWLBL52.js +0 -121
- package/dist/chunks/chunk-MJE7ISDH.js +0 -265
- package/dist/chunks/chunk-MKODFOY6.js +0 -85
- package/dist/chunks/chunk-MM6UH6FJ.js +0 -1403
- package/dist/chunks/chunk-MNSVJMGW.js +0 -147
- package/dist/chunks/chunk-MPHL6T4P.js +0 -153
- package/dist/chunks/chunk-MPVDJ75E.js +0 -180
- package/dist/chunks/chunk-MQPB3KIO.js +0 -632
- package/dist/chunks/chunk-MRJPAE2M.js +0 -33
- package/dist/chunks/chunk-MVHO6N4J.js +0 -193
- package/dist/chunks/chunk-MXLT4SYA.js +0 -399
- package/dist/chunks/chunk-MYKLEP2S.js +0 -84
- package/dist/chunks/chunk-MYOPXDFC.js +0 -360
- package/dist/chunks/chunk-MZYW2QZI.js +0 -200
- package/dist/chunks/chunk-N3G5FHAO.js +0 -131
- package/dist/chunks/chunk-N5KYX6NR.js +0 -23
- package/dist/chunks/chunk-N6Y45RRA.js +0 -23
- package/dist/chunks/chunk-N7JJH2JO.js +0 -209
- package/dist/chunks/chunk-N7YCFVZJ.js +0 -80
- package/dist/chunks/chunk-NA63KECB.js +0 -30
- package/dist/chunks/chunk-NARTFMLU.js +0 -23
- package/dist/chunks/chunk-NBCGMOTE.js +0 -149
- package/dist/chunks/chunk-NBFXFPHX.js +0 -42
- package/dist/chunks/chunk-NCYYK6U2.js +0 -23
- package/dist/chunks/chunk-NFO34DS4.js +0 -192
- package/dist/chunks/chunk-NFUTKQTO.js +0 -249
- package/dist/chunks/chunk-NH4U2APC.js +0 -194
- package/dist/chunks/chunk-NHD4LMHL.js +0 -116
- package/dist/chunks/chunk-NHTXFJI4.js +0 -87
- package/dist/chunks/chunk-NIDY5YXA.js +0 -46
- package/dist/chunks/chunk-NITXFPSV.js +0 -159
- package/dist/chunks/chunk-NK2WQLMG.js +0 -198
- package/dist/chunks/chunk-NKRTKTDU.js +0 -78
- package/dist/chunks/chunk-NLGCHNTX.js +0 -173
- package/dist/chunks/chunk-NLGM5XVP.js +0 -77
- package/dist/chunks/chunk-NMF3ITY2.js +0 -101
- package/dist/chunks/chunk-NOHH2WAU.js +0 -98
- package/dist/chunks/chunk-NOHJEKCW.js +0 -122
- package/dist/chunks/chunk-NPNONFTL.js +0 -336
- package/dist/chunks/chunk-NRLDSECK.js +0 -810
- package/dist/chunks/chunk-NUHVSWMN.js +0 -119
- package/dist/chunks/chunk-NURFTGRH.js +0 -33
- package/dist/chunks/chunk-NVUB2GVC.js +0 -1574
- package/dist/chunks/chunk-NWALBA4V.js +0 -298
- package/dist/chunks/chunk-NWFKSYOK.js +0 -200
- package/dist/chunks/chunk-NZNDOGXN.js +0 -303
- package/dist/chunks/chunk-O224VYEJ.js +0 -106
- package/dist/chunks/chunk-O455LSLD.js +0 -83
- package/dist/chunks/chunk-O5Z4BOKY.js +0 -109
- package/dist/chunks/chunk-O7BHDD7C.js +0 -738
- package/dist/chunks/chunk-OA4CHA46.js +0 -179
- package/dist/chunks/chunk-OBKNYS57.js +0 -362
- package/dist/chunks/chunk-OCBOKPYC.js +0 -420
- package/dist/chunks/chunk-ODWGCDVC.js +0 -304
- package/dist/chunks/chunk-OEZ3WDLS.js +0 -138
- package/dist/chunks/chunk-OGNQRAHP.js +0 -234
- package/dist/chunks/chunk-OGRSK4FD.js +0 -43
- package/dist/chunks/chunk-OJ2WCX32.js +0 -62
- package/dist/chunks/chunk-OJ62HTDR.js +0 -194
- package/dist/chunks/chunk-OKH76NLM.js +0 -97
- package/dist/chunks/chunk-OOETI7MD.js +0 -81
- package/dist/chunks/chunk-OPXRRQXU.js +0 -154
- package/dist/chunks/chunk-OQH2DITG.js +0 -114
- package/dist/chunks/chunk-OUOR4CP5.js +0 -149
- package/dist/chunks/chunk-OVX3SAVE.js +0 -282
- package/dist/chunks/chunk-OWEYVP6O.js +0 -124
- package/dist/chunks/chunk-OXLCM7KO.js +0 -146
- package/dist/chunks/chunk-OYNWH3KK.js +0 -33
- package/dist/chunks/chunk-P5BVHWXZ.js +0 -102
- package/dist/chunks/chunk-P5HRCMGY.js +0 -55
- package/dist/chunks/chunk-P6J23O45.js +0 -23
- package/dist/chunks/chunk-P6KNXAZ2.js +0 -98
- package/dist/chunks/chunk-P6SWWCQH.js +0 -166
- package/dist/chunks/chunk-PD445HUZ.js +0 -23
- package/dist/chunks/chunk-PD74SWVX.js +0 -167
- package/dist/chunks/chunk-PDK25BZE.js +0 -117
- package/dist/chunks/chunk-PDKBZR4W.js +0 -33
- package/dist/chunks/chunk-PEH3CEBF.js +0 -23
- package/dist/chunks/chunk-PEOYZYOQ.js +0 -79
- package/dist/chunks/chunk-PFIKFY7J.js +0 -165
- package/dist/chunks/chunk-PHF6PHUO.js +0 -110
- package/dist/chunks/chunk-PIBTRYTC.js +0 -92
- package/dist/chunks/chunk-PJXSKKBN.js +0 -189
- package/dist/chunks/chunk-PNLAWCSN.js +0 -366
- package/dist/chunks/chunk-PNTYKWVT.js +0 -78
- package/dist/chunks/chunk-POWE53KS.js +0 -204
- package/dist/chunks/chunk-POZCO44Y.js +0 -23
- package/dist/chunks/chunk-PQSHAJM2.js +0 -213
- package/dist/chunks/chunk-PQWMEUMI.js +0 -92
- package/dist/chunks/chunk-PR6WLXTH.js +0 -33
- package/dist/chunks/chunk-PTY2YO6R.js +0 -93
- package/dist/chunks/chunk-PU6IM2S7.js +0 -94
- package/dist/chunks/chunk-PVVE5URP.js +0 -201
- package/dist/chunks/chunk-PW7HA2CP.js +0 -163
- package/dist/chunks/chunk-PX2VBNTO.js +0 -331
- package/dist/chunks/chunk-PYPBV6E6.js +0 -163
- package/dist/chunks/chunk-Q2IGELGY.js +0 -215
- package/dist/chunks/chunk-Q34ARHPR.js +0 -110
- package/dist/chunks/chunk-Q5CKFSWW.js +0 -147
- package/dist/chunks/chunk-Q7XPZG6J.js +0 -102
- package/dist/chunks/chunk-QCJ25WLJ.js +0 -114
- package/dist/chunks/chunk-QEK24DY3.js +0 -182
- package/dist/chunks/chunk-QFW26CS2.js +0 -33
- package/dist/chunks/chunk-QIAVJFAF.js +0 -80
- package/dist/chunks/chunk-QKMJXVKE.js +0 -293
- package/dist/chunks/chunk-QMOQL7LT.js +0 -23
- package/dist/chunks/chunk-QNJEHH36.js +0 -109
- package/dist/chunks/chunk-QQI7IOJW.js +0 -83
- package/dist/chunks/chunk-QS4QWS6S.js +0 -1200
- package/dist/chunks/chunk-QTLQ6S5T.js +0 -101
- package/dist/chunks/chunk-QVTM7FJH.js +0 -204
- package/dist/chunks/chunk-QXFDM3YY.js +0 -157
- package/dist/chunks/chunk-QZOWRRQD.js +0 -1802
- package/dist/chunks/chunk-QZXRMP2G.js +0 -324
- package/dist/chunks/chunk-R35VQO62.js +0 -170
- package/dist/chunks/chunk-R4PDX7D3.js +0 -115
- package/dist/chunks/chunk-R6RTYJZ6.js +0 -209
- package/dist/chunks/chunk-R6YHVFT2.js +0 -152
- package/dist/chunks/chunk-R73VFS23.js +0 -23
- package/dist/chunks/chunk-R7D5LSM4.js +0 -358
- package/dist/chunks/chunk-R7SMVAV3.js +0 -284
- package/dist/chunks/chunk-R7XUJF3O.js +0 -33
- package/dist/chunks/chunk-RAOUIF3V.js +0 -105
- package/dist/chunks/chunk-RBDTEYFE.js +0 -100
- package/dist/chunks/chunk-RBITLW7I.js +0 -221
- package/dist/chunks/chunk-RCCKYV3S.js +0 -1307
- package/dist/chunks/chunk-REAXQEMY.js +0 -198
- package/dist/chunks/chunk-RED3CTOW.js +0 -172
- package/dist/chunks/chunk-REL7W7IS.js +0 -200
- package/dist/chunks/chunk-REV5LEYX.js +0 -224
- package/dist/chunks/chunk-REWTEUYN.js +0 -97
- package/dist/chunks/chunk-RH532APG.js +0 -250
- package/dist/chunks/chunk-RJZMS3JB.js +0 -181
- package/dist/chunks/chunk-RLN3C7VD.js +0 -123
- package/dist/chunks/chunk-RNGKQDO2.js +0 -147
- package/dist/chunks/chunk-RQITHIFX.js +0 -346
- package/dist/chunks/chunk-RQYB6MKU.js +0 -88
- package/dist/chunks/chunk-RRH5TN7P.js +0 -261
- package/dist/chunks/chunk-RRPMFNNJ.js +0 -162
- package/dist/chunks/chunk-RS5HZUUS.js +0 -299
- package/dist/chunks/chunk-RTEP2AMR.js +0 -113
- package/dist/chunks/chunk-RTTZKZKG.js +0 -1594
- package/dist/chunks/chunk-RVHIZB2M.js +0 -86
- package/dist/chunks/chunk-RVKPH7O5.js +0 -247
- package/dist/chunks/chunk-RVNE7ISK.js +0 -110
- package/dist/chunks/chunk-RZ5LESK3.js +0 -79
- package/dist/chunks/chunk-S4NQETXP.js +0 -278
- package/dist/chunks/chunk-SCDSH3DR.js +0 -126
- package/dist/chunks/chunk-SCLQGX7F.js +0 -133
- package/dist/chunks/chunk-SDFBUMDD.js +0 -33
- package/dist/chunks/chunk-SDGDUS34.js +0 -383
- package/dist/chunks/chunk-SDOKG25J.js +0 -98
- package/dist/chunks/chunk-SELLWRU6.js +0 -45
- package/dist/chunks/chunk-SEUYHVQE.js +0 -101
- package/dist/chunks/chunk-SINPNW6O.js +0 -45
- package/dist/chunks/chunk-SJR46KOA.js +0 -307
- package/dist/chunks/chunk-SJV33EFE.js +0 -256
- package/dist/chunks/chunk-SK5N6VGP.js +0 -290
- package/dist/chunks/chunk-SKODP6VR.js +0 -261
- package/dist/chunks/chunk-SLV4FOPJ.js +0 -112
- package/dist/chunks/chunk-SM2W6VW4.js +0 -198
- package/dist/chunks/chunk-SOMA4PMO.js +0 -158
- package/dist/chunks/chunk-SRCRTLGD.js +0 -82
- package/dist/chunks/chunk-STFQISTM.js +0 -74
- package/dist/chunks/chunk-SU4J3J76.js +0 -589
- package/dist/chunks/chunk-SUIJ6BNI.js +0 -117
- package/dist/chunks/chunk-SVU62YAP.js +0 -95
- package/dist/chunks/chunk-SX7GDQCE.js +0 -914
- package/dist/chunks/chunk-SYFWR7JC.js +0 -123
- package/dist/chunks/chunk-SYGJJMSE.js +0 -303
- package/dist/chunks/chunk-SZS5XKWE.js +0 -375
- package/dist/chunks/chunk-T2UYP5IR.js +0 -260
- package/dist/chunks/chunk-T3NTNE2Q.js +0 -146
- package/dist/chunks/chunk-T45R373H.js +0 -106
- package/dist/chunks/chunk-T5R7QXJM.js +0 -172
- package/dist/chunks/chunk-TAWSJHGP.js +0 -150
- package/dist/chunks/chunk-TB3BICCM.js +0 -86
- package/dist/chunks/chunk-TBYUYW64.js +0 -23
- package/dist/chunks/chunk-TCFQCBZI.js +0 -172
- package/dist/chunks/chunk-TKTF7WQJ.js +0 -156
- package/dist/chunks/chunk-TN4LQBLF.js +0 -238
- package/dist/chunks/chunk-TO5F6M7S.js +0 -175
- package/dist/chunks/chunk-TPCL3AED.js +0 -85
- package/dist/chunks/chunk-TRCLQIGO.js +0 -100
- package/dist/chunks/chunk-TSECAG2O.js +0 -106
- package/dist/chunks/chunk-TTXYXMS3.js +0 -214
- package/dist/chunks/chunk-TU33PZL7.js +0 -23
- package/dist/chunks/chunk-TUQMFULX.js +0 -181
- package/dist/chunks/chunk-TVTWLD5O.js +0 -94
- package/dist/chunks/chunk-TY545UQJ.js +0 -95
- package/dist/chunks/chunk-TYMLHPJM.js +0 -344
- package/dist/chunks/chunk-TZTEZ3KF.js +0 -52
- package/dist/chunks/chunk-U3DK25MW.js +0 -139
- package/dist/chunks/chunk-U44JLJAY.js +0 -179
- package/dist/chunks/chunk-U4QVJ73K.js +0 -39
- package/dist/chunks/chunk-U4ZWNKZY.js +0 -112
- package/dist/chunks/chunk-U53C2ENY.js +0 -95
- package/dist/chunks/chunk-U7VWZU4V.js +0 -33
- package/dist/chunks/chunk-UDZ5N33T.js +0 -229
- package/dist/chunks/chunk-UG7ZMI5T.js +0 -266
- package/dist/chunks/chunk-UHDLVHSX.js +0 -82
- package/dist/chunks/chunk-UIAMUUTT.js +0 -120
- package/dist/chunks/chunk-UISUQG5B.js +0 -97
- package/dist/chunks/chunk-UJMVUOYX.js +0 -156
- package/dist/chunks/chunk-UKSZPRWK.js +0 -45
- package/dist/chunks/chunk-ULJLXI7I.js +0 -50
- package/dist/chunks/chunk-UMZYKGSX.js +0 -351
- package/dist/chunks/chunk-UNP32M24.js +0 -33
- package/dist/chunks/chunk-UNXSRQH3.js +0 -30
- package/dist/chunks/chunk-UPWPKQYJ.js +0 -33
- package/dist/chunks/chunk-UQ7GSEP6.js +0 -270
- package/dist/chunks/chunk-URC5ZSK4.js +0 -71
- package/dist/chunks/chunk-USPQQIKN.js +0 -273
- package/dist/chunks/chunk-UTSELS2B.js +0 -130
- package/dist/chunks/chunk-UUMXK72T.js +0 -77
- package/dist/chunks/chunk-UUWNOD67.js +0 -170
- package/dist/chunks/chunk-UVBIUWOV.js +0 -163
- package/dist/chunks/chunk-UVOKIWHU.js +0 -180
- package/dist/chunks/chunk-UWKTR6ZC.js +0 -255
- package/dist/chunks/chunk-UXLI3OZF.js +0 -1393
- package/dist/chunks/chunk-UXR4PZ6V.js +0 -106
- package/dist/chunks/chunk-UXURPJLT.js +0 -33
- package/dist/chunks/chunk-UY5W2NGA.js +0 -166
- package/dist/chunks/chunk-UYPNFTXL.js +0 -97
- package/dist/chunks/chunk-UYRI42WD.js +0 -23
- package/dist/chunks/chunk-UZNVMJYG.js +0 -86
- package/dist/chunks/chunk-V2JR2D4G.js +0 -110
- package/dist/chunks/chunk-V3WNX46R.js +0 -115
- package/dist/chunks/chunk-V4AYFA2K.js +0 -217
- package/dist/chunks/chunk-V6PZHU64.js +0 -104
- package/dist/chunks/chunk-VABNS4HO.js +0 -176
- package/dist/chunks/chunk-VABWR3HA.js +0 -65
- package/dist/chunks/chunk-VAR2Z652.js +0 -134
- package/dist/chunks/chunk-VB73TKKX.js +0 -87
- package/dist/chunks/chunk-VCHEXZAP.js +0 -45
- package/dist/chunks/chunk-VCOFM3BL.js +0 -257
- package/dist/chunks/chunk-VDATB52L.js +0 -23
- package/dist/chunks/chunk-VEU6U75S.js +0 -358
- package/dist/chunks/chunk-VF3WCH7O.js +0 -164
- package/dist/chunks/chunk-VFQEF2SN.js +0 -144
- package/dist/chunks/chunk-VGJADHCT.js +0 -138
- package/dist/chunks/chunk-VMSNRKM2.js +0 -178
- package/dist/chunks/chunk-VOS6ODKW.js +0 -33
- package/dist/chunks/chunk-VP3IOV4G.js +0 -108
- package/dist/chunks/chunk-VRCJJUCM.js +0 -23
- package/dist/chunks/chunk-VS7UDWFW.js +0 -90
- package/dist/chunks/chunk-VTA6QZBF.js +0 -142
- package/dist/chunks/chunk-VTQDQOCT.js +0 -160
- package/dist/chunks/chunk-VTTPWPDD.js +0 -305
- package/dist/chunks/chunk-VUHS65NN.js +0 -646
- package/dist/chunks/chunk-VWRD2SVF.js +0 -396
- package/dist/chunks/chunk-VWUB4FXH.js +0 -146
- package/dist/chunks/chunk-VWYWQI5K.js +0 -187
- package/dist/chunks/chunk-VXLOLVE7.js +0 -33
- package/dist/chunks/chunk-VYJ37MIJ.js +0 -89
- package/dist/chunks/chunk-VZ46VYIM.js +0 -90
- package/dist/chunks/chunk-VZ64UJ5G.js +0 -151
- package/dist/chunks/chunk-W27KNDOY.js +0 -181
- package/dist/chunks/chunk-W33VFPBB.js +0 -139
- package/dist/chunks/chunk-W4WFFGIG.js +0 -147
- package/dist/chunks/chunk-W5RDDVB5.js +0 -102
- package/dist/chunks/chunk-W75L5BRL.js +0 -38
- package/dist/chunks/chunk-W7CUKXGO.js +0 -210
- package/dist/chunks/chunk-W7UMEWRO.js +0 -277
- package/dist/chunks/chunk-W7XHLHTH.js +0 -78
- package/dist/chunks/chunk-WB4QCCRD.js +0 -94
- package/dist/chunks/chunk-WFJXVOMF.js +0 -36
- package/dist/chunks/chunk-WFNVT4JW.js +0 -320
- package/dist/chunks/chunk-WHWYHALO.js +0 -41
- package/dist/chunks/chunk-WIEPYSCM.js +0 -94
- package/dist/chunks/chunk-WISZJSZM.js +0 -317
- package/dist/chunks/chunk-WIUO7L3Q.js +0 -99
- package/dist/chunks/chunk-WJ62BVS3.js +0 -118
- package/dist/chunks/chunk-WJRSFYMW.js +0 -95
- package/dist/chunks/chunk-WJSY7YDZ.js +0 -97
- package/dist/chunks/chunk-WKXP6ABH.js +0 -391
- package/dist/chunks/chunk-WL5D62YV.js +0 -159
- package/dist/chunks/chunk-WLM5O5X6.js +0 -187
- package/dist/chunks/chunk-WM23MS2F.js +0 -202
- package/dist/chunks/chunk-WML6KGSW.js +0 -133
- package/dist/chunks/chunk-WOLIH22M.js +0 -60
- package/dist/chunks/chunk-WPD5FCPC.js +0 -74
- package/dist/chunks/chunk-WR5PUOSN.js +0 -86
- package/dist/chunks/chunk-WR5V4XX7.js +0 -33
- package/dist/chunks/chunk-WRPKK55O.js +0 -33
- package/dist/chunks/chunk-WSWCBDT7.js +0 -23
- package/dist/chunks/chunk-WT2B3DPR.js +0 -382
- package/dist/chunks/chunk-WTMTDCDV.js +0 -624
- package/dist/chunks/chunk-WTPHC5RV.js +0 -23
- package/dist/chunks/chunk-WUVZN7IS.js +0 -163
- package/dist/chunks/chunk-WVVCRTGQ.js +0 -228
- package/dist/chunks/chunk-WVVCW5SU.js +0 -108
- package/dist/chunks/chunk-WVZCZBV4.js +0 -311
- package/dist/chunks/chunk-WWUO6PXS.js +0 -129
- package/dist/chunks/chunk-WXODLQSI.js +0 -130
- package/dist/chunks/chunk-X45JJWY2.js +0 -209
- package/dist/chunks/chunk-X5B6XUUZ.js +0 -110
- package/dist/chunks/chunk-X67OVIFV.js +0 -84
- package/dist/chunks/chunk-X7QOU6ZR.js +0 -166
- package/dist/chunks/chunk-X7QSEJPN.js +0 -104
- package/dist/chunks/chunk-XA24D5MO.js +0 -91
- package/dist/chunks/chunk-XC3QD6WV.js +0 -87
- package/dist/chunks/chunk-XCQPTTTI.js +0 -23
- package/dist/chunks/chunk-XD333UFC.js +0 -153
- package/dist/chunks/chunk-XDDAOWM2.js +0 -128
- package/dist/chunks/chunk-XG657IAO.js +0 -290
- package/dist/chunks/chunk-XHTI4VUV.js +0 -23
- package/dist/chunks/chunk-XINPPEZB.js +0 -45
- package/dist/chunks/chunk-XKRDOMFK.js +0 -240
- package/dist/chunks/chunk-XLXXOGRN.js +0 -152
- package/dist/chunks/chunk-XMHHWJIF.js +0 -152
- package/dist/chunks/chunk-XNXW6NK6.js +0 -33
- package/dist/chunks/chunk-XOFUP5KD.js +0 -142
- package/dist/chunks/chunk-XRLL3RXC.js +0 -174
- package/dist/chunks/chunk-XTRXIPJY.js +0 -97
- package/dist/chunks/chunk-XTZAGAX4.js +0 -23
- package/dist/chunks/chunk-XW6O6JP3.js +0 -558
- package/dist/chunks/chunk-XYHRWVQW.js +0 -10422
- package/dist/chunks/chunk-XZIGVNRV.js +0 -93
- package/dist/chunks/chunk-Y37EL4KG.js +0 -188
- package/dist/chunks/chunk-Y3ME5SPI.js +0 -135
- package/dist/chunks/chunk-Y44KTVDU.js +0 -161
- package/dist/chunks/chunk-Y4KPLQJX.js +0 -231
- package/dist/chunks/chunk-Y6MPHLHQ.js +0 -33
- package/dist/chunks/chunk-Y6N6LMOC.js +0 -206
- package/dist/chunks/chunk-YAVRDF36.js +0 -100
- package/dist/chunks/chunk-YE3H2AMG.js +0 -50
- package/dist/chunks/chunk-YH7RKEZ6.js +0 -10158
- package/dist/chunks/chunk-YHJIH5CO.js +0 -36
- package/dist/chunks/chunk-YHZ4JHFE.js +0 -106
- package/dist/chunks/chunk-YJXOG4TS.js +0 -198
- package/dist/chunks/chunk-YKEXK3LE.js +0 -503
- package/dist/chunks/chunk-YLZNLW4M.js +0 -45
- package/dist/chunks/chunk-YNZFORUA.js +0 -115
- package/dist/chunks/chunk-YOO537UT.js +0 -83
- package/dist/chunks/chunk-YPGH75P7.js +0 -45
- package/dist/chunks/chunk-YQMTQP6N.js +0 -304
- package/dist/chunks/chunk-YRQ3A6HT.js +0 -145
- package/dist/chunks/chunk-YSIUKZ4G.js +0 -159
- package/dist/chunks/chunk-YXJSU77I.js +0 -77
- package/dist/chunks/chunk-YZ55GRZY.js +0 -150
- package/dist/chunks/chunk-ZCVJNNC7.js +0 -231
- package/dist/chunks/chunk-ZDHAROF6.js +0 -47
- package/dist/chunks/chunk-ZFV5WDKT.js +0 -206
- package/dist/chunks/chunk-ZI7BWR7C.js +0 -10157
- package/dist/chunks/chunk-ZMLHWFM2.js +0 -81
- package/dist/chunks/chunk-ZMUYYHTU.js +0 -80
- package/dist/chunks/chunk-ZN67BINF.js +0 -23
- package/dist/chunks/chunk-ZOSW56YL.js +0 -23
- package/dist/chunks/chunk-ZOSWG5YI.js +0 -362
- package/dist/chunks/chunk-ZQOZVVVH.js +0 -88
- package/dist/chunks/chunk-ZSSN4F7Z.js +0 -23
- package/dist/chunks/chunk-ZTQXEX4W.js +0 -191
- package/dist/chunks/chunk-ZU7Y2PIY.js +0 -196
- package/dist/chunks/chunk-ZUW2DVZG.js +0 -149
- package/dist/chunks/chunk-ZXNVPBHV.js +0 -122
- package/dist/chunks/chunk-ZY73GWEP.js +0 -172
- package/dist/chunks/chunk-ZZ7P4QX6.js +0 -112
- package/dist/chunks/chunk-ZZR2JG2E.js +0 -192
- package/dist/chunks/client-67F3BIDN.js +0 -31
- package/dist/chunks/client-B47YTPCS.js +0 -144
- package/dist/chunks/document-library-NKTK3SQP.js +0 -60
- package/dist/chunks/editor-seams-CIHXLT3H.js +0 -151
- package/dist/chunks/editor-store-7Y3SJBDZ.js +0 -131
- package/dist/chunks/export-PTHC3KP3.js +0 -59
- package/dist/chunks/export-watermark-PDL2MF7A.js +0 -138
- package/dist/chunks/eyedropper-A3ZSUEJD.js +0 -341
- package/dist/chunks/fonts-F35H5JMV.js +0 -33
- package/dist/chunks/generate-media-N3CIGWNT.js +0 -244
- package/dist/chunks/host-637VKVP4.js +0 -232
- package/dist/chunks/host-LS2Z63MC.js +0 -162
- package/dist/chunks/invariants-5RHUAHAV.js +0 -58
- package/dist/chunks/json-export-VN2SYXUW.js +0 -22
- package/dist/chunks/kit-modules-SKV7XDCZ.js +0 -18
- package/dist/chunks/libraries-EATTWPJU.js +0 -294
- package/dist/chunks/library-previews-F6OKRBR4.js +0 -197
- package/dist/chunks/live-2Z6MBAWT.js +0 -304
- package/dist/chunks/lottie-LF7ZZMNC.js +0 -81
- package/dist/chunks/media-store-OPHWNWZE.js +0 -67
- package/dist/chunks/media-tool-MMNPPMVC.js +0 -322
- package/dist/chunks/new-file-GZIOXOUW.js +0 -121
- package/dist/chunks/pdf-72QM6UA6.js +0 -1201
- package/dist/chunks/pdf-import-ON57UCIA.js +0 -368
- package/dist/chunks/player-check-WBGJNW6T.js +0 -109
- package/dist/chunks/plugin-RNR6QSI7.js +0 -111
- package/dist/chunks/plugin-import-KSUOJS23.js +0 -644
- package/dist/chunks/presence-7IAQQE7M.js +0 -119
- package/dist/chunks/preview-media-YV6BK55I.js +0 -119
- package/dist/chunks/profiles-MB6H3UDK.js +0 -47
- package/dist/chunks/project-FZICXBPA.js +0 -1544
- package/dist/chunks/publish-site-6SZVPXRO.js +0 -149
- package/dist/chunks/raster-actions-I6OCAZ3T.js +0 -221
- package/dist/chunks/reference-images-BEMOAI2M.js +0 -54
- package/dist/chunks/resolvers-R43WTMOW.js +0 -128
- package/dist/chunks/runner-EL3VRXNF.js +0 -1750
- package/dist/chunks/shader-preview-TJTAH2XU.js +0 -516
- package/dist/chunks/shaper-AHCAFZ7C.js +0 -62
- package/dist/chunks/store-S2EVPXKA.js +0 -214
- package/dist/chunks/svg-export-2WT33FNO.js +0 -74
- package/dist/chunks/sync-F67OZYVS.js +0 -145
- package/dist/chunks/templates-3CTU457Y.js +0 -180
- package/dist/chunks/theme-store-R3SASTTT.js +0 -39
- package/dist/chunks/tools-NRNNO374.js +0 -35
- package/dist/chunks/use-7KS3ORG6.js +0 -44
- package/dist/chunks/versions-K56JRWOE.js +0 -303
- package/dist/chunks/video-M6LNBBQ3.js +0 -73
- package/dist/chunks/video-poster-MXQAMZDH.js +0 -65
- /package/dist/chunks/{chunk-N75QJ3WT.js → chunk-NFCWBKE5.js} +0 -0
|
@@ -0,0 +1,1544 @@
|
|
|
1
|
+
import { createRequire as __popcraftRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __popcraftPath } from 'node:url';
|
|
3
|
+
import { dirname as __popcraftDirname } from 'node:path';
|
|
4
|
+
const require = __popcraftRequire(import.meta.url);
|
|
5
|
+
const __filename = __popcraftPath(import.meta.url);
|
|
6
|
+
const __dirname = __popcraftDirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
bytesOf,
|
|
9
|
+
routeFile,
|
|
10
|
+
routeUp
|
|
11
|
+
} from "./chunk-GKKN6XAU.js";
|
|
12
|
+
import {
|
|
13
|
+
componentName,
|
|
14
|
+
escapeHTML,
|
|
15
|
+
fileBase,
|
|
16
|
+
fontsURL,
|
|
17
|
+
serializeHTML,
|
|
18
|
+
serializeReact,
|
|
19
|
+
tokensCSS,
|
|
20
|
+
withoutScreenIslands
|
|
21
|
+
} from "./chunk-JPC2LZBB.js";
|
|
22
|
+
import "./chunk-RA6GHBFC.js";
|
|
23
|
+
import "./chunk-DKH6JXLH.js";
|
|
24
|
+
import {
|
|
25
|
+
hrefOf,
|
|
26
|
+
opensNewTab
|
|
27
|
+
} from "./chunk-ASFIJHFA.js";
|
|
28
|
+
import "./chunk-YVHN3BBS.js";
|
|
29
|
+
import {
|
|
30
|
+
usesSignIn
|
|
31
|
+
} from "./chunk-67DPJP5V.js";
|
|
32
|
+
import "./chunk-DEZZXKHN.js";
|
|
33
|
+
import "./chunk-ZYIEV5KY.js";
|
|
34
|
+
import "./chunk-UAALKHV7.js";
|
|
35
|
+
import "./chunk-2R5T6HNA.js";
|
|
36
|
+
import "./chunk-CNVMJYO7.js";
|
|
37
|
+
import "./chunk-ZFLGCFVP.js";
|
|
38
|
+
import "./chunk-LV7ZSVCF.js";
|
|
39
|
+
import "./chunk-PH57IDNG.js";
|
|
40
|
+
import {
|
|
41
|
+
ITEM_RECORD,
|
|
42
|
+
copyRecord,
|
|
43
|
+
itemText,
|
|
44
|
+
layerId,
|
|
45
|
+
repeatRecords
|
|
46
|
+
} from "./chunk-TCT4MCKS.js";
|
|
47
|
+
import {
|
|
48
|
+
SESSION_COOKIE,
|
|
49
|
+
USER_VARIABLES,
|
|
50
|
+
fieldKey,
|
|
51
|
+
visitorCollections
|
|
52
|
+
} from "./chunk-2SP7UUFO.js";
|
|
53
|
+
import {
|
|
54
|
+
manifest_default
|
|
55
|
+
} from "./chunk-AVWA3JAF.js";
|
|
56
|
+
import {
|
|
57
|
+
GOOGLE_FONTS,
|
|
58
|
+
NON_VARIABLE_FONTS
|
|
59
|
+
} from "./chunk-HVPDMHO7.js";
|
|
60
|
+
import "./chunk-P2PJ5PY4.js";
|
|
61
|
+
import "./chunk-U24JOWWV.js";
|
|
62
|
+
import "./chunk-5RTTDFDM.js";
|
|
63
|
+
import "./chunk-ZQXC6GXI.js";
|
|
64
|
+
import "./chunk-TDMA3WIE.js";
|
|
65
|
+
import "./chunk-YDYTAZUR.js";
|
|
66
|
+
import "./chunk-XE6UTAV2.js";
|
|
67
|
+
import "./chunk-JKVFVSXO.js";
|
|
68
|
+
import "./chunk-OOYKFTI5.js";
|
|
69
|
+
import "./chunk-F4L63S2Q.js";
|
|
70
|
+
import "./chunk-GSQX3MWE.js";
|
|
71
|
+
import "./chunk-IYRPBFFE.js";
|
|
72
|
+
import "./chunk-4UKW7O7U.js";
|
|
73
|
+
import "./chunk-E5TUEZD2.js";
|
|
74
|
+
import "./chunk-WS7JUWBT.js";
|
|
75
|
+
import "./chunk-USZZXYJS.js";
|
|
76
|
+
import {
|
|
77
|
+
init_expressions,
|
|
78
|
+
parseExpression
|
|
79
|
+
} from "./chunk-HAIIZA5H.js";
|
|
80
|
+
import "./chunk-YF5YC35D.js";
|
|
81
|
+
import "./chunk-7ZVYWGNN.js";
|
|
82
|
+
import "./chunk-XXKY76SK.js";
|
|
83
|
+
import "./chunk-C5FJXQIP.js";
|
|
84
|
+
import "./chunk-SKB36KNP.js";
|
|
85
|
+
import "./chunk-QENLA5KR.js";
|
|
86
|
+
import "./chunk-J2PNSAHL.js";
|
|
87
|
+
import "./chunk-4PDJRDX2.js";
|
|
88
|
+
import "./chunk-OU7G75JT.js";
|
|
89
|
+
import "./chunk-G2B3QMLA.js";
|
|
90
|
+
import "./chunk-DIN6V64Y.js";
|
|
91
|
+
import "./chunk-CRBNE574.js";
|
|
92
|
+
import "./chunk-3RFXLFXS.js";
|
|
93
|
+
import {
|
|
94
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
95
|
+
} from "./chunk-RXKBF7JU.js";
|
|
96
|
+
import "./chunk-LJSVREWM.js";
|
|
97
|
+
|
|
98
|
+
// lib/io/web/project/index.ts
|
|
99
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
100
|
+
|
|
101
|
+
// lib/io/web/project/assets.ts
|
|
102
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
103
|
+
var ASSET_DIR = "assets/";
|
|
104
|
+
var EXT = { "image/png": "png", "image/jpeg": "jpg", "image/webp": "webp", "image/gif": "gif", "image/avif": "avif" };
|
|
105
|
+
var DATA = /data:(image\/(?:png|jpeg|webp|gif|avif));base64,([A-Za-z0-9+/=]+)/g;
|
|
106
|
+
var eachNode = (n, fn) => {
|
|
107
|
+
fn(n);
|
|
108
|
+
n.children.forEach((c) => eachNode(c, fn));
|
|
109
|
+
for (const v of Object.values(n.variants ?? {})) eachNode(v, fn);
|
|
110
|
+
};
|
|
111
|
+
function externalizeBitmaps(site) {
|
|
112
|
+
const files = [];
|
|
113
|
+
const names = /* @__PURE__ */ new Map();
|
|
114
|
+
const fileFor = (type, base64) => {
|
|
115
|
+
const hit = names.get(base64);
|
|
116
|
+
if (hit) return hit;
|
|
117
|
+
const name = `${ASSET_DIR}img-${names.size + 1}.${EXT[type]}`;
|
|
118
|
+
names.set(base64, name);
|
|
119
|
+
files.push({ path: name, content: Uint8Array.from(atob(base64), (c) => c.charCodeAt(0)) });
|
|
120
|
+
return name;
|
|
121
|
+
};
|
|
122
|
+
const move = (text) => text.replace(DATA, (_m, type, base64) => fileFor(type, base64));
|
|
123
|
+
for (const page of site.pages) {
|
|
124
|
+
eachNode(page.tree.root, (n) => {
|
|
125
|
+
const a = n.asset;
|
|
126
|
+
if (a?.pngDataUrl) {
|
|
127
|
+
a.src = move(a.pngDataUrl);
|
|
128
|
+
delete a.pngDataUrl;
|
|
129
|
+
}
|
|
130
|
+
for (const k in n.style) if (n.style[k].includes("data:image/")) n.style[k] = move(n.style[k]);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
return files;
|
|
134
|
+
}
|
|
135
|
+
var REF = new RegExp(`(^|['"(])${ASSET_DIR}`, "g");
|
|
136
|
+
function withAssetBase(value, prefix) {
|
|
137
|
+
if (!prefix) return value;
|
|
138
|
+
const at = (text) => text.replace(REF, (_m, lead) => `${lead}${prefix}${ASSET_DIR}`);
|
|
139
|
+
const node = (n) => ({
|
|
140
|
+
...n,
|
|
141
|
+
...n.asset?.src?.startsWith(ASSET_DIR) ? { asset: { ...n.asset, src: prefix + n.asset.src } } : {},
|
|
142
|
+
style: Object.fromEntries(Object.entries(n.style).map(([k, v]) => [k, v.includes(ASSET_DIR) ? at(v) : v])),
|
|
143
|
+
children: n.children.map(node),
|
|
144
|
+
...n.variants ? { variants: Object.fromEntries(Object.entries(n.variants).map(([k, v]) => [k, node(v)])) } : {}
|
|
145
|
+
});
|
|
146
|
+
if ("pages" in value) return { ...value, pages: value.pages.map((p) => ({ ...p, tree: { ...p.tree, root: node(p.tree.root) } })) };
|
|
147
|
+
return node(value);
|
|
148
|
+
}
|
|
149
|
+
var APP_REF = /url\((['"]?)(\/(?!\/)[^'")\s]+)\1\)/g;
|
|
150
|
+
function appAssetPaths(site) {
|
|
151
|
+
const out = /* @__PURE__ */ new Set();
|
|
152
|
+
const own = (p) => p.startsWith(`/${ASSET_DIR}`) || p.startsWith("/_pc/") || p.startsWith("/pc/");
|
|
153
|
+
for (const page of site.pages) eachNode(page.tree.root, (n) => {
|
|
154
|
+
if (n.asset?.src?.startsWith("/") && !n.asset.src.startsWith("//") && !own(n.asset.src)) out.add(n.asset.src.split(/[?#]/)[0]);
|
|
155
|
+
for (const v of Object.values(n.style)) for (const m of v.matchAll(APP_REF)) if (!own(m[2])) out.add(m[2].split(/[?#]/)[0]);
|
|
156
|
+
});
|
|
157
|
+
if (site.islands && Object.keys(site.islands).length) for (const face of manifest_default.faces) out.add(`/fonts/fallback/${face.file}`);
|
|
158
|
+
return [...out].sort();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// lib/io/web/project/build.ts
|
|
162
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
163
|
+
|
|
164
|
+
// lib/io/web/project/static.ts
|
|
165
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
166
|
+
|
|
167
|
+
// lib/site/live.ts
|
|
168
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
169
|
+
var HAS_ITEM = /\{\{\s*item[._]/;
|
|
170
|
+
function asRecords(doc, collectionId, rows) {
|
|
171
|
+
const collection = doc.collections?.[collectionId];
|
|
172
|
+
if (!collection) return [];
|
|
173
|
+
const made = (r) => new Date(r.createdAt).toLocaleDateString(void 0, { weekday: "short", day: "numeric", month: "short" });
|
|
174
|
+
return rows.map((r) => ({ id: r.id, collectionId, createdAt: r.createdAt, ...r.by !== void 0 ? { by: r.by } : {}, ...r.mine !== void 0 ? { mine: r.mine } : {}, values: Object.fromEntries(collection.fields.map((f) => {
|
|
175
|
+
const v = r.values[fieldKey(f.name)];
|
|
176
|
+
return [f.id, (v === null || v === void 0 || v === "") && f.type === "DATE" ? made(r) : v ?? void 0];
|
|
177
|
+
})) }));
|
|
178
|
+
}
|
|
179
|
+
function withVisitorRecords(site, collectionId, rows) {
|
|
180
|
+
const doc = site.program.document;
|
|
181
|
+
const collection = doc.collections?.[collectionId];
|
|
182
|
+
if (!collection) return site;
|
|
183
|
+
const records = asRecords(doc, collectionId, rows);
|
|
184
|
+
const samples = new Set(Object.values(doc.records ?? {}).filter((r) => r.collectionId === collectionId).map((r) => r.id));
|
|
185
|
+
const copyFor = (node, sample, record, above) => {
|
|
186
|
+
const id = node.id.split(`~${sample}`).join(`~${record.id}`);
|
|
187
|
+
const control = doc.nodes[layerId(node.id)]?.control;
|
|
188
|
+
const next = { ...node, id, children: node.children.map((c) => copyFor(c, sample, record, control)) };
|
|
189
|
+
if (next.tag === "button" && next.attrs?.value !== void 0 && control?.value && HAS_ITEM.test(control.value)) next.attrs = { ...next.attrs, value: itemText(control.value, collection, record) };
|
|
190
|
+
const starts = (control ?? above)?.value;
|
|
191
|
+
if (next.input && starts && HAS_ITEM.test(starts)) {
|
|
192
|
+
const value = itemText(starts, collection, record);
|
|
193
|
+
next.input = next.input.tag === "input" ? { ...next.input, attrs: { ...next.input.attrs, value } } : { ...next.input, value };
|
|
194
|
+
}
|
|
195
|
+
const written = doc.nodes[layerId(node.id)]?.characters;
|
|
196
|
+
if (next.text && written && HAS_ITEM.test(written)) {
|
|
197
|
+
next.text = { ...next.text, characters: itemText(written, collection, record) };
|
|
198
|
+
delete next.runs;
|
|
199
|
+
}
|
|
200
|
+
return next;
|
|
201
|
+
};
|
|
202
|
+
const others = Object.fromEntries(Object.entries(doc.records ?? {}).filter(([, r]) => r.collectionId !== collectionId));
|
|
203
|
+
const document = {
|
|
204
|
+
...doc,
|
|
205
|
+
records: { ...others, ...Object.fromEntries(records.map((r) => [r.id, r])) },
|
|
206
|
+
collections: { ...doc.collections, [collectionId]: { ...collection, order: records.map((r) => r.id) } }
|
|
207
|
+
};
|
|
208
|
+
const fill = (node) => {
|
|
209
|
+
const repeat = doc.nodes[layerId(node.id)]?.repeat;
|
|
210
|
+
if (repeat?.collectionId !== collectionId) return { ...node, children: node.children.map(fill) };
|
|
211
|
+
const first = node.children.map((c) => copyRecord(c.id)).find((r) => !!r && samples.has(r));
|
|
212
|
+
if (!first) return node;
|
|
213
|
+
const pattern = node.children.filter((c) => copyRecord(c.id) === first);
|
|
214
|
+
const kept = node.children.filter((c) => {
|
|
215
|
+
const r = copyRecord(c.id);
|
|
216
|
+
return !r || !samples.has(r);
|
|
217
|
+
});
|
|
218
|
+
const shown = repeatRecords(document, repeat);
|
|
219
|
+
return { ...node, children: [...kept, ...shown.flatMap((record) => pattern.map((c) => copyFor(c, first, record)))] };
|
|
220
|
+
};
|
|
221
|
+
return { ...site, pages: site.pages.map((p) => ({ ...p, tree: { ...p.tree, root: fill(p.tree.root) } })), program: { ...site.program, document } };
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// lib/sites/data.ts
|
|
225
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
226
|
+
|
|
227
|
+
// lib/io/web/project/static.ts
|
|
228
|
+
function pageHTML(site, page, lang, lost = false) {
|
|
229
|
+
const up = lost ? "/" : routeUp(page.route);
|
|
230
|
+
const fonts = fontsURL(site.fonts.map((f) => [f.family, f.weights]));
|
|
231
|
+
const rules = [
|
|
232
|
+
"html,body{margin:0;height:100%}#pc-root{min-height:100%;position:relative}*{box-sizing:border-box}",
|
|
233
|
+
...site.tokens ? tokensCSS(site.tokens) : [],
|
|
234
|
+
...page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []
|
|
235
|
+
];
|
|
236
|
+
const body = serializeHTML({ ...page.tree, root: withAssetBase(page.tree.root, up) }, { inline: true, ids: true });
|
|
237
|
+
const unseen = page.access === "signedIn" ? ' style="visibility:hidden"' : "";
|
|
238
|
+
return [
|
|
239
|
+
"<!DOCTYPE html>",
|
|
240
|
+
`<html lang="${escapeHTML(lang)}">`,
|
|
241
|
+
"<head>",
|
|
242
|
+
'<meta charset="utf-8" />',
|
|
243
|
+
'<meta name="viewport" content="width=device-width, initial-scale=1" />',
|
|
244
|
+
`<title>${escapeHTML(page.title)}</title>`,
|
|
245
|
+
...page.description ? [`<meta name="description" content="${escapeHTML(page.description)}" />`] : [],
|
|
246
|
+
...fonts ? [`<link id="pc-fonts" rel="stylesheet" href="${escapeHTML(fonts)}" />`] : [],
|
|
247
|
+
`<style>
|
|
248
|
+
${rules.join("\n")}
|
|
249
|
+
</style>`,
|
|
250
|
+
"</head>",
|
|
251
|
+
"<body>",
|
|
252
|
+
`<div id="pc-root"${unseen}>
|
|
253
|
+
${body}
|
|
254
|
+
</div>`,
|
|
255
|
+
`<script src="${up}pc/site.js" data-site="${up}site.json" data-route="${lost ? "" : escapeHTML(page.route)}" data-start="${escapeHTML(page.id)}"></script>`,
|
|
256
|
+
"</body>",
|
|
257
|
+
"</html>",
|
|
258
|
+
""
|
|
259
|
+
].join("\n");
|
|
260
|
+
}
|
|
261
|
+
function staticSiteFiles(site, scripts, opts = {}) {
|
|
262
|
+
const lang = opts.lang ?? "en";
|
|
263
|
+
const files = externalizeBitmaps(site);
|
|
264
|
+
const taken = /* @__PURE__ */ new Set();
|
|
265
|
+
const still = visitorCollections(site.program.document.collections).reduce((s, c) => withVisitorRecords(s, c.id, []), site);
|
|
266
|
+
for (const page of still.pages) {
|
|
267
|
+
const path = page.notFound ? "404.html" : routeFile(page.route);
|
|
268
|
+
if (taken.has(path)) continue;
|
|
269
|
+
taken.add(path);
|
|
270
|
+
files.push({ path, content: pageHTML(still, page, lang, !!page.notFound) });
|
|
271
|
+
}
|
|
272
|
+
files.push({ path: "site.json", content: JSON.stringify(site) });
|
|
273
|
+
files.push({ path: "pc/site.js", content: scripts.site });
|
|
274
|
+
if (site.islands && scripts.island) files.push({ path: "pc/island.js", content: scripts.island });
|
|
275
|
+
if (site.code && scripts.code) files.push({ path: "pc/code.js", content: scripts.code });
|
|
276
|
+
return files;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// lib/io/web/project/next.ts
|
|
280
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
281
|
+
|
|
282
|
+
// lib/io/web/project/behaviour.ts
|
|
283
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
284
|
+
init_expressions();
|
|
285
|
+
var identFor = (name) => {
|
|
286
|
+
const last = name.split("/").pop().replace(/[^A-Za-z0-9]+(.)?/g, (_m, c) => c ? c.toUpperCase() : "");
|
|
287
|
+
const id = last.charAt(0).toLowerCase() + last.slice(1);
|
|
288
|
+
return /^[A-Za-z_$]/.test(id) && !RESERVED.has(id) ? id : `v${id.charAt(0).toUpperCase()}${id.slice(1)}`;
|
|
289
|
+
};
|
|
290
|
+
var RESERVED = /* @__PURE__ */ new Set(["break", "case", "catch", "class", "const", "continue", "default", "delete", "do", "else", "export", "extends", "false", "finally", "for", "function", "if", "import", "in", "instanceof", "new", "null", "return", "super", "switch", "this", "throw", "true", "try", "typeof", "var", "void", "while", "with", "let", "static", "yield", "await", "set", "v"]);
|
|
291
|
+
var TS_TYPE = { BOOLEAN: "boolean", FLOAT: "number", STRING: "string", COLOR: "string" };
|
|
292
|
+
var DATA_FUNCTIONS = /* @__PURE__ */ new Set(["count", "sum", "distinct", "best", "countSince", "sumSince", "countOn", "streak"]);
|
|
293
|
+
var STYLE_PROPS = {
|
|
294
|
+
opacity: (e) => ["opacity", e],
|
|
295
|
+
width: (e) => ["width", `\`\${${e}}px\``],
|
|
296
|
+
height: (e) => ["height", `\`\${${e}}px\``],
|
|
297
|
+
rotation: (e) => ["rotate", `\`\${${e}}deg\``],
|
|
298
|
+
cornerRadius: (e) => ["borderRadius", `\`\${${e}}px\``]
|
|
299
|
+
};
|
|
300
|
+
function behaviourOf(site) {
|
|
301
|
+
const doc = site.program?.document ?? { nodes: {} };
|
|
302
|
+
const vars = Object.values(doc.variables ?? {});
|
|
303
|
+
const taken = /* @__PURE__ */ new Set();
|
|
304
|
+
const variables = vars.map((v) => {
|
|
305
|
+
let ident = identFor(v.name);
|
|
306
|
+
for (let n = 2; taken.has(ident); n++) ident = `${identFor(v.name)}${n}`;
|
|
307
|
+
taken.add(ident);
|
|
308
|
+
const coll = doc.variableCollections?.[v.variableCollectionId];
|
|
309
|
+
const raw = v.valuesByMode[coll?.defaultModeId ?? Object.keys(v.valuesByMode)[0]];
|
|
310
|
+
const type = TS_TYPE[v.type] ?? "string";
|
|
311
|
+
const initial = type === "boolean" ? String(!!raw) : type === "number" ? String(Number(raw) || 0) : JSON.stringify(typeof raw === "string" ? raw : raw && typeof raw === "object" && "r" in raw ? colorHex(raw) : "");
|
|
312
|
+
return { id: v.id, name: v.name, ident, type, initial };
|
|
313
|
+
});
|
|
314
|
+
const byId = new Map(variables.map((v) => [v.id, v]));
|
|
315
|
+
const byFull = new Map(variables.map((v) => [v.name, v]));
|
|
316
|
+
const short = /* @__PURE__ */ new Map();
|
|
317
|
+
for (const v of variables) {
|
|
318
|
+
const last = v.name.split("/").pop();
|
|
319
|
+
short.set(last, short.has(last) ? null : v);
|
|
320
|
+
}
|
|
321
|
+
const find = (name) => byFull.get(name) ?? short.get(name) ?? void 0;
|
|
322
|
+
const overlays = /* @__PURE__ */ new Set();
|
|
323
|
+
const missingByScreen = /* @__PURE__ */ new Map();
|
|
324
|
+
const screenOf = (id) => {
|
|
325
|
+
let at = id;
|
|
326
|
+
while (at) {
|
|
327
|
+
const n = doc.nodes[at];
|
|
328
|
+
if (!n) return null;
|
|
329
|
+
if (doc.nodes[n.parentId ?? ""]?.type === "PAGE") return at;
|
|
330
|
+
at = n.parentId;
|
|
331
|
+
}
|
|
332
|
+
return null;
|
|
333
|
+
};
|
|
334
|
+
const miss = (nodeId, what) => {
|
|
335
|
+
const s = screenOf(nodeId);
|
|
336
|
+
if (s) (missingByScreen.get(s) ?? missingByScreen.set(s, /* @__PURE__ */ new Set()).get(s)).add(what);
|
|
337
|
+
};
|
|
338
|
+
let inItem = false;
|
|
339
|
+
const within = (webId, f) => {
|
|
340
|
+
const was = inItem;
|
|
341
|
+
inItem = webId.includes(`~${ITEM_RECORD}`);
|
|
342
|
+
try {
|
|
343
|
+
return f();
|
|
344
|
+
} finally {
|
|
345
|
+
inItem = was;
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
const expr = (src, o = {}) => {
|
|
349
|
+
let tree;
|
|
350
|
+
try {
|
|
351
|
+
tree = parseExpression(src, (name) => byFull.has(name));
|
|
352
|
+
} catch {
|
|
353
|
+
return null;
|
|
354
|
+
}
|
|
355
|
+
const go = (n) => {
|
|
356
|
+
switch (n.k) {
|
|
357
|
+
case "lit":
|
|
358
|
+
return JSON.stringify(n.v);
|
|
359
|
+
case "key":
|
|
360
|
+
return o.key ?? '""';
|
|
361
|
+
case "var": {
|
|
362
|
+
const field = inItem ? /^item[._](.+)$/.exec(n.name)?.[1] : void 0;
|
|
363
|
+
if (field) return `itemField(item, ${JSON.stringify(field)})`;
|
|
364
|
+
const v = find(n.name);
|
|
365
|
+
if (!v && inItem) return `itemField(item, ${JSON.stringify(n.name)})`;
|
|
366
|
+
if (!v) {
|
|
367
|
+
if (o.at) miss(o.at, `the value "${n.name}"`);
|
|
368
|
+
return null;
|
|
369
|
+
}
|
|
370
|
+
return `v.${v.ident}`;
|
|
371
|
+
}
|
|
372
|
+
case "un": {
|
|
373
|
+
const a = go(n.a);
|
|
374
|
+
return a === null ? null : n.op === "-" ? `ops.neg(${a})` : `ops.not(${a})`;
|
|
375
|
+
}
|
|
376
|
+
case "if": {
|
|
377
|
+
const c = go(n.c), a = go(n.a), b = go(n.b);
|
|
378
|
+
return c === null || a === null || b === null ? null : `(truthy(${c}) ? ${a} : ${b})`;
|
|
379
|
+
}
|
|
380
|
+
case "call": {
|
|
381
|
+
const args = n.args.map(go);
|
|
382
|
+
if (args.some((a) => a === null)) return null;
|
|
383
|
+
const over = DATA_FUNCTIONS.has(n.fn) && collections.length ? "site.call" : "call";
|
|
384
|
+
return `${over}(${JSON.stringify(n.fn)}${args.map((a) => `, ${a}`).join("")})`;
|
|
385
|
+
}
|
|
386
|
+
case "bin": {
|
|
387
|
+
const a = go(n.a), b = go(n.b);
|
|
388
|
+
if (a === null || b === null) return null;
|
|
389
|
+
if (n.op === "&&") return `(truthy(${a}) ? ${b} : ${a})`;
|
|
390
|
+
if (n.op === "||") return `(truthy(${a}) ? ${a} : ${b})`;
|
|
391
|
+
const op = { "+": "add", "-": "sub", "*": "mul", "/": "div", "%": "mod", "<": "lt", "<=": "le", ">": "gt", ">=": "ge", "==": "eq", "!=": "ne" }[n.op];
|
|
392
|
+
return op ? `ops.${op}(${a}, ${b})` : null;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
return null;
|
|
396
|
+
};
|
|
397
|
+
return go(tree);
|
|
398
|
+
};
|
|
399
|
+
const routeOf = (screenId) => screenId ? site.pages.find((p) => p.id === screenId && !p.record)?.route ?? null : null;
|
|
400
|
+
const setter = (a, key, at) => {
|
|
401
|
+
const v = a.variableId ? byId.get(a.variableId) : void 0;
|
|
402
|
+
if (!v) return null;
|
|
403
|
+
if (a.variableToggle) return `set(${JSON.stringify(v.ident)}, !v.${v.ident})`;
|
|
404
|
+
if (a.variableExpression?.trim()) {
|
|
405
|
+
const e = expr(a.variableExpression, { key, at });
|
|
406
|
+
if (e === null) return null;
|
|
407
|
+
const coerce = v.type === "number" ? `num(${e})` : v.type === "boolean" ? `truthy(${e})` : `exprText(${e})`;
|
|
408
|
+
return `set(${JSON.stringify(v.ident)}, ${coerce})`;
|
|
409
|
+
}
|
|
410
|
+
const raw = a.variableValue;
|
|
411
|
+
const literal = v.type === "number" ? String(Number(raw) || 0) : v.type === "boolean" ? String(raw === true || raw === "true") : JSON.stringify(typeof raw === "string" ? raw : raw == null ? "" : String(raw));
|
|
412
|
+
return `set(${JSON.stringify(v.ident)}, ${literal})`;
|
|
413
|
+
};
|
|
414
|
+
const statements = (a, at, key, changeTo) => {
|
|
415
|
+
switch (a.navigationType) {
|
|
416
|
+
case "NAVIGATE": {
|
|
417
|
+
const r = routeOf(a.destinationId);
|
|
418
|
+
if (r) return [`router.push(${JSON.stringify(r)})`];
|
|
419
|
+
miss(at, "a go to a frame that is not one of the pages");
|
|
420
|
+
return [];
|
|
421
|
+
}
|
|
422
|
+
case "BACK":
|
|
423
|
+
return ["router.back()"];
|
|
424
|
+
case "OPEN_URL": {
|
|
425
|
+
const link = a.link;
|
|
426
|
+
if (!link) return [];
|
|
427
|
+
if (link.kind === "screen") return statements({ ...a, navigationType: "NAVIGATE", destinationId: link.frameId }, at, key);
|
|
428
|
+
if (link.kind === "anchor") return statements({ ...a, navigationType: "SCROLL_TO", destinationId: link.nodeId }, at, key);
|
|
429
|
+
const href = hrefOf(link, doc.nodes);
|
|
430
|
+
return href ? [opensNewTab(link) ? `window.open(${JSON.stringify(href)}, '_blank', 'noopener')` : `window.location.assign(${JSON.stringify(href)})`] : [];
|
|
431
|
+
}
|
|
432
|
+
case "SCROLL_TO":
|
|
433
|
+
return a.destinationId ? [`document.querySelector(${JSON.stringify(`[data-pc-id="${a.destinationId}"]`)})?.scrollIntoView({ behavior: 'smooth' })`] : [];
|
|
434
|
+
case "SET_VARIABLE": {
|
|
435
|
+
const s = setter(a, key, at);
|
|
436
|
+
if (s) return [s];
|
|
437
|
+
miss(at, "a Set variable");
|
|
438
|
+
return [];
|
|
439
|
+
}
|
|
440
|
+
case "CONDITIONAL": {
|
|
441
|
+
const out = [];
|
|
442
|
+
(a.branches ?? []).forEach((b, i) => {
|
|
443
|
+
const body = b.actions.flatMap((x) => statements(x, at, key, changeTo));
|
|
444
|
+
const cond = b.condition?.trim() ? expr(b.condition, { key, at }) : null;
|
|
445
|
+
if (b.condition?.trim() && cond === null) return;
|
|
446
|
+
const head = !b.condition?.trim() ? i ? "else" : "" : `${i ? "else " : ""}if (truthy(${cond}))`;
|
|
447
|
+
out.push(`${head}${head ? " " : ""}{ ${body.join("; ")} }`);
|
|
448
|
+
});
|
|
449
|
+
return out.length ? [out.join(" ")] : [];
|
|
450
|
+
}
|
|
451
|
+
case "OVERLAY":
|
|
452
|
+
case "SWAP": {
|
|
453
|
+
if (!routeOf(a.destinationId)) {
|
|
454
|
+
miss(at, "an overlay of a frame that is not one of the pages");
|
|
455
|
+
return [];
|
|
456
|
+
}
|
|
457
|
+
overlays.add(a.destinationId);
|
|
458
|
+
const bg = a.overlayBackground;
|
|
459
|
+
const opts = [`position: ${JSON.stringify(a.overlayPosition ?? "CENTER")}`, ...bg ? [`dim: ${JSON.stringify(`rgba(${Math.round(bg.color.r * 255)}, ${Math.round(bg.color.g * 255)}, ${Math.round(bg.color.b * 255)}, ${bg.opacity})`)}`] : [], ...a.closeOnOutsideClick ? ["closeOnOutside: true"] : [], ...a.overlayOffset ? [`offset: ${JSON.stringify(a.overlayOffset)}`] : []];
|
|
460
|
+
return [`overlays.${a.navigationType === "SWAP" ? "swap" : "open"}(${JSON.stringify(a.destinationId)}, { ${opts.join(", ")} })`];
|
|
461
|
+
}
|
|
462
|
+
case "CLOSE":
|
|
463
|
+
return ["overlays.close()"];
|
|
464
|
+
case "SET_MODE": {
|
|
465
|
+
const c = site.tokens?.collections.find((x) => x.id === a.collectionId);
|
|
466
|
+
if (!c || !a.modeId) {
|
|
467
|
+
miss(at, "a Set mode");
|
|
468
|
+
return [];
|
|
469
|
+
}
|
|
470
|
+
const classes = c.modes.map((m) => m.id === c.defaultMode ? "" : m.className);
|
|
471
|
+
const to = a.modeId === "__NEXT__" ? "__NEXT__" : c.modes.find((m) => m.id === a.modeId)?.id === c.defaultMode ? "" : c.modes.find((m) => m.id === a.modeId)?.className ?? "";
|
|
472
|
+
return [`switchMode(document.documentElement, ${JSON.stringify(classes)}, ${JSON.stringify(to)})`];
|
|
473
|
+
}
|
|
474
|
+
case "TIMELINE": {
|
|
475
|
+
const t = a.timeline;
|
|
476
|
+
if (!t || t.op === "SCRUB") return [];
|
|
477
|
+
const screen = screenOf(at);
|
|
478
|
+
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
479
|
+
const root = t.target === "INSTANCE" ? hostOf(at) : screen;
|
|
480
|
+
return [`controlTimeline(document.querySelector(${JSON.stringify(`[data-pc-id="${root}"]`)}), ${JSON.stringify(t)}, ${JSON.stringify(markers)})`];
|
|
481
|
+
}
|
|
482
|
+
// On a component itself (a sheet that shows the masters) there is no instance to change: nothing to carry.
|
|
483
|
+
case "CHANGE_TO": {
|
|
484
|
+
const st = changeTo && a.destinationId ? changeTo(a.destinationId, a.targetId) : null;
|
|
485
|
+
if (st) return [st];
|
|
486
|
+
if (doc.nodes[at]?.type !== "COMPONENT" && doc.nodes[at]?.type !== "COMPONENT_SET") miss(at, "a Change to whose instance is not on this page");
|
|
487
|
+
return [];
|
|
488
|
+
}
|
|
489
|
+
default:
|
|
490
|
+
miss(at, { CHANGE_TO: "component variants" }[a.navigationType] ?? a.navigationType);
|
|
491
|
+
return [];
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
const interactionsOf = (id) => doc.nodes[id]?.interactions ?? [];
|
|
495
|
+
const hostOf = (id) => {
|
|
496
|
+
let at = id;
|
|
497
|
+
while (at) {
|
|
498
|
+
if (doc.nodes[at]?.type === "INSTANCE") return at;
|
|
499
|
+
at = doc.nodes[at]?.parentId;
|
|
500
|
+
}
|
|
501
|
+
return id;
|
|
502
|
+
};
|
|
503
|
+
const EVENT = { ON_CLICK: "onClick", MOUSE_ENTER: "onMouseEnter", MOUSE_LEAVE: "onMouseLeave", ON_PRESS: "onPointerDown" };
|
|
504
|
+
const nodeBindings = (id) => {
|
|
505
|
+
const n = doc.nodes[id];
|
|
506
|
+
if (!n) return null;
|
|
507
|
+
const out = { style: {} };
|
|
508
|
+
const take = (prop, e) => {
|
|
509
|
+
if (e === null) return;
|
|
510
|
+
if (prop === "characters") out.text = `exprText(${e})`;
|
|
511
|
+
else if (prop === "visible") out.visible = `truthy(${e})`;
|
|
512
|
+
else if (STYLE_PROPS[prop]) {
|
|
513
|
+
const [k, val] = STYLE_PROPS[prop](`num(${e})`);
|
|
514
|
+
out.style[k] = val;
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
for (const [prop, vid] of Object.entries(n.boundVariables ?? {})) {
|
|
518
|
+
const v = byId.get(vid);
|
|
519
|
+
if (v) take(prop, `v.${v.ident}`);
|
|
520
|
+
}
|
|
521
|
+
for (const [prop, src] of Object.entries(n.boundExpressions ?? {})) take(prop, expr(src, { at: id }));
|
|
522
|
+
return out.text || out.visible || Object.keys(out.style).length ? out : null;
|
|
523
|
+
};
|
|
524
|
+
const controlOf = (id) => doc.nodes[id]?.control;
|
|
525
|
+
const isForm = (id) => controlOf(id)?.kind === "FORM";
|
|
526
|
+
const formIds = Object.keys(doc.nodes ?? {}).filter(isForm);
|
|
527
|
+
const collections = visitorCollections(doc.collections);
|
|
528
|
+
const access = Object.fromEntries(site.pages.filter((p) => p.access && !p.notFound).map((p) => [p.route, p.access]));
|
|
529
|
+
const signIn = usesSignIn({ ...doc, nodes: doc.nodes ?? {} }) || Object.keys(access).length > 0;
|
|
530
|
+
const server = formIds.length || signIn || collections.length ? {
|
|
531
|
+
forms: formIds,
|
|
532
|
+
collections: collections.map((c) => ({ id: c.id, name: c.name, fields: c.fields.map((f) => ({ id: f.id, name: f.name, type: f.type, ...f.options ? { options: f.options } : {} })), ...c.perVisitor ? { perVisitor: true } : {}, ...c.shared ? { shared: true } : {} })),
|
|
533
|
+
signIn,
|
|
534
|
+
user: Object.fromEntries(Object.keys(USER_VARIABLES).map((k) => [k, byFull.get(USER_VARIABLES[k])]).filter(([, v]) => v)),
|
|
535
|
+
counts: collections.flatMap((c) => {
|
|
536
|
+
const v = byFull.get(`data/${fieldKey(c.name)}Count`);
|
|
537
|
+
return v && v.type === "number" ? [{ collection: c.id, variable: v }] : [];
|
|
538
|
+
}),
|
|
539
|
+
access,
|
|
540
|
+
redirect: {
|
|
541
|
+
signedOut: site.pages.find((p) => p.access === "signedOut" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/",
|
|
542
|
+
signedIn: site.pages.find((p) => p.access === "signedIn" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/"
|
|
543
|
+
}
|
|
544
|
+
} : null;
|
|
545
|
+
const under = (rootId) => {
|
|
546
|
+
const out = [];
|
|
547
|
+
const walk = (id) => {
|
|
548
|
+
out.push(id);
|
|
549
|
+
for (const c of doc.nodes[id]?.childIds ?? []) walk(c);
|
|
550
|
+
};
|
|
551
|
+
walk(rootId);
|
|
552
|
+
return out;
|
|
553
|
+
};
|
|
554
|
+
for (const id of Object.keys(doc.nodes ?? {})) for (const ix of interactionsOf(id)) statements(ix.action, id);
|
|
555
|
+
for (const id of formIds) {
|
|
556
|
+
const after = controlOf(id)?.onSubmit;
|
|
557
|
+
if (after) statements(after, id);
|
|
558
|
+
}
|
|
559
|
+
missingByScreen.clear();
|
|
560
|
+
return {
|
|
561
|
+
variables,
|
|
562
|
+
overlays,
|
|
563
|
+
server,
|
|
564
|
+
live: (rootId) => under(layerId(rootId)).some((id) => nodeBindings(id) || interactionsOf(id).length || isForm(id)),
|
|
565
|
+
bindings: (webId) => within(webId, () => nodeBindings(layerId(webId).split("::").pop())),
|
|
566
|
+
events: (webId, o = {}) => within(webId, () => {
|
|
567
|
+
const id = layerId(webId).split("::").pop();
|
|
568
|
+
const out = {};
|
|
569
|
+
const control = controlOf(id);
|
|
570
|
+
if (control?.kind === "FORM") {
|
|
571
|
+
const after = control.onSubmit ? statements(control.onSubmit, id, void 0, o.changeTo) : [];
|
|
572
|
+
const record = copyRecord(webId);
|
|
573
|
+
const form = { id, name: doc.nodes[id]?.name ?? id, ...control.formAction ? { action: control.formAction } : {}, ...control.collectionId ? { collectionId: control.collectionId } : {}, ...record ? { record } : {} };
|
|
574
|
+
out.onSubmit = `async (e) => { e.preventDefault(); if (await site.submit(e.currentTarget, (e.nativeEvent as SubmitEvent).submitter, ${JSON.stringify(form)})) { ${after.join("; ")} } }`;
|
|
575
|
+
}
|
|
576
|
+
const add = (prop, body) => {
|
|
577
|
+
if (body.length) out[prop] = `${out[prop] ? `${out[prop].slice(0, -2)}; ` : `(${body.some((b) => /\be\./.test(b)) ? "e" : ""}) => { `}${body.join("; ")} }`;
|
|
578
|
+
};
|
|
579
|
+
const own = interactionsOf(id).map((ix) => ({ ix, at: id }));
|
|
580
|
+
const fromVariant = o.variant ? interactionsOf(o.variant).map((ix) => ({ ix, at: o.variant })) : [];
|
|
581
|
+
for (const { ix, at } of [...own, ...fromVariant]) {
|
|
582
|
+
const body = statements(ix.action, at, void 0, o.changeTo);
|
|
583
|
+
if (ix.action.navigationType === "CHANGE_TO" && o.variant && o.changeTo && (ix.trigger === "ON_HOVER" || ix.trigger === "ON_PRESS")) {
|
|
584
|
+
const [enter, leave] = ix.trigger === "ON_HOVER" ? ["onMouseEnter", "onMouseLeave"] : ["onPointerDown", "onPointerUp"];
|
|
585
|
+
add(enter, body);
|
|
586
|
+
const back = o.changeTo(o.variant);
|
|
587
|
+
if (back) add(leave, [back]);
|
|
588
|
+
continue;
|
|
589
|
+
}
|
|
590
|
+
if (ix.trigger === "ON_DRAG" || ix.action.navigationType === "ORBIT_3D") {
|
|
591
|
+
const a = ix.action;
|
|
592
|
+
if (a.navigationType === "ORBIT_3D") {
|
|
593
|
+
add("onPointerDown", [`orbitDrag(e.nativeEvent, document.querySelector<HTMLElement>(${JSON.stringify(`[data-pc-id="${a.destinationId ?? at}"]`)}), ${JSON.stringify(a.orbit ?? {})})`]);
|
|
594
|
+
continue;
|
|
595
|
+
}
|
|
596
|
+
if (a.navigationType === "TIMELINE" && a.timeline?.op === "SCRUB") {
|
|
597
|
+
const screen = screenOf(at);
|
|
598
|
+
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
599
|
+
add("onPointerDown", [`scrubTimeline(e.nativeEvent, document.querySelector(${JSON.stringify(`[data-pc-id="${a.timeline.target === "INSTANCE" ? hostOf(at) : screen}"]`)}), ${JSON.stringify(a.timeline)}, ${JSON.stringify(markers)})`]);
|
|
600
|
+
continue;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
const prop = EVENT[ix.trigger];
|
|
604
|
+
if (prop) add(prop, body);
|
|
605
|
+
}
|
|
606
|
+
return out;
|
|
607
|
+
}),
|
|
608
|
+
effects: (screenId) => {
|
|
609
|
+
const out = [];
|
|
610
|
+
for (const id of under(screenId)) for (const ix of interactionsOf(id)) {
|
|
611
|
+
if (ix.trigger === "AFTER_TIMEOUT") {
|
|
612
|
+
const body = statements(ix.action, id);
|
|
613
|
+
if (body.length) out.push(`const t${out.length} = window.setTimeout(() => { ${body.join("; ")} }, ${Math.max(0, ix.triggerDelay ?? 0)}); return () => window.clearTimeout(t${out.length})`);
|
|
614
|
+
}
|
|
615
|
+
if (ix.trigger === "KEY_DOWN") {
|
|
616
|
+
const key = ix.triggerKey;
|
|
617
|
+
const body = statements(ix.action, id, "e.key");
|
|
618
|
+
if (body.length) out.push(`const k${out.length} = (e: KeyboardEvent) => { ${key ? `if (e.key !== ${JSON.stringify(key)}) return; ` : ""}${body.join("; ")} }; window.addEventListener('keydown', k${out.length}); return () => window.removeEventListener('keydown', k${out.length})`);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
return out;
|
|
622
|
+
},
|
|
623
|
+
missing: (rootId) => [...missingByScreen.get(layerId(rootId)) ?? []],
|
|
624
|
+
itemExpression: (src) => within(`~${ITEM_RECORD}`, () => expr(src))
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
function colorHex(c) {
|
|
628
|
+
const h = (x) => Math.round(Math.max(0, Math.min(1, x)) * 255).toString(16).padStart(2, "0");
|
|
629
|
+
return `#${h(c.r)}${h(c.g)}${h(c.b)}${c.a !== void 0 && c.a < 1 ? h(c.a) : ""}`;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// lib/io/web/project/server.ts
|
|
633
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
634
|
+
var lines = (...l) => `${l.filter((x) => typeof x === "string").join("\n")}
|
|
635
|
+
`;
|
|
636
|
+
function as(v, value, from) {
|
|
637
|
+
if (v.type === from) return value;
|
|
638
|
+
if (v.type === "boolean") return `!!${value}`;
|
|
639
|
+
if (v.type === "number") return from === "boolean" ? `(${value} ? 1 : 0)` : `Number(${value}) || 0`;
|
|
640
|
+
return `String(${value})`;
|
|
641
|
+
}
|
|
642
|
+
var setLine = (v, value, from) => v ? `set(${JSON.stringify(v.ident)}, ${as(v, value, from)})` : null;
|
|
643
|
+
function serverFiles(server) {
|
|
644
|
+
const files = [
|
|
645
|
+
{ path: "lib/popcraft-server.ts", content: lines(
|
|
646
|
+
"// The site's own server: the forms it keeps and the lists its visitors keep records in (from the design), its",
|
|
647
|
+
"// database (DATABASE_URL) and its sign-in (SITE_AUTH_URL). app/api/popcraft answers the pages through it.",
|
|
648
|
+
"",
|
|
649
|
+
"import type { Collection } from '@popcraft/runtime'",
|
|
650
|
+
"import { storeFor, type AuthKind, type SiteBackend, type SiteDatabase } from '@popcraft/runtime/server'",
|
|
651
|
+
"import { siteUrl } from '@/lib/site'",
|
|
652
|
+
"",
|
|
653
|
+
`const FORMS = new Set<string>(${JSON.stringify(server.forms)})`,
|
|
654
|
+
`const COLLECTIONS: Record<string, Collection> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.id, c])), null, 2)}`,
|
|
655
|
+
"",
|
|
656
|
+
"let ready: Promise<SiteDatabase> | null = null",
|
|
657
|
+
"",
|
|
658
|
+
"/** The site's database: its two tables are made on first use. */",
|
|
659
|
+
"function database(): Promise<SiteDatabase | null> {",
|
|
660
|
+
" const url = process.env.DATABASE_URL",
|
|
661
|
+
" if (!url) return Promise.resolve(null)",
|
|
662
|
+
" ready ??= (async () => { const db = storeFor(url); await db.ensure(); return db })().catch((e: unknown) => { ready = null; throw e })",
|
|
663
|
+
" return ready",
|
|
664
|
+
"}",
|
|
665
|
+
"",
|
|
666
|
+
"/** The site's sign-in service (Neon Auth or Supabase Auth), told the site's own address. NEON_AUTH_URL is its older name. */",
|
|
667
|
+
"async function auth() {",
|
|
668
|
+
" const authUrl = process.env.SITE_AUTH_URL ?? process.env.NEON_AUTH_URL",
|
|
669
|
+
" if (!authUrl) return null",
|
|
670
|
+
" const kind = (process.env.SITE_AUTH_KIND as AuthKind | undefined) ?? 'neon-auth'",
|
|
671
|
+
" return { kind, authUrl, origin: siteUrl.origin, apiKey: process.env.SITE_AUTH_KEY, adminKey: process.env.SITE_AUTH_ADMIN_KEY }",
|
|
672
|
+
"}",
|
|
673
|
+
"",
|
|
674
|
+
"export const site: SiteBackend = {",
|
|
675
|
+
" database,",
|
|
676
|
+
" auth,",
|
|
677
|
+
" hasForm: id => FORMS.has(id),",
|
|
678
|
+
" collection: id => COLLECTIONS[id],",
|
|
679
|
+
" // Over https in production; `next dev` serves http, where a Secure cookie would not be kept.",
|
|
680
|
+
" secure: process.env.NODE_ENV === 'production',",
|
|
681
|
+
"}"
|
|
682
|
+
) },
|
|
683
|
+
{ path: "app/api/popcraft/[...path]/route.ts", content: lines(
|
|
684
|
+
"// The site's own requests (forms, sign-in, visitors' records), at /_pc/\u2026 (next.config.ts rewrites them here).",
|
|
685
|
+
"",
|
|
686
|
+
"import { siteRequest } from '@popcraft/runtime/server'",
|
|
687
|
+
"import { site } from '@/lib/popcraft-server'",
|
|
688
|
+
"",
|
|
689
|
+
"async function handle(request: Request, { params }: { params: Promise<{ path: string[] }> }): Promise<Response> {",
|
|
690
|
+
" const { path } = await params",
|
|
691
|
+
" return (await siteRequest(request, `_pc/${path.join('/')}`, site)) ?? Response.json({ error: 'Not found' }, { status: 404 })",
|
|
692
|
+
"}",
|
|
693
|
+
"",
|
|
694
|
+
"export { handle as DELETE, handle as GET, handle as POST }"
|
|
695
|
+
) }
|
|
696
|
+
];
|
|
697
|
+
const routes = Object.keys(server.access);
|
|
698
|
+
if (routes.length) files.push({ path: "proxy.ts", content: lines(
|
|
699
|
+
"// Each page for one kind of visitor sends the other kind where it is for them: a signed-in page needs an account,",
|
|
700
|
+
"// a sign-in page is for visitors without one. The session cookie is enough to decide here; the page's provider",
|
|
701
|
+
"// (lib/popcraft.tsx) asks the server who is signed in, and clears a cookie whose session has ended.",
|
|
702
|
+
"",
|
|
703
|
+
"import { NextResponse, type NextRequest } from 'next/server'",
|
|
704
|
+
"",
|
|
705
|
+
`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`,
|
|
706
|
+
`const GO = ${JSON.stringify(server.redirect)}`,
|
|
707
|
+
"",
|
|
708
|
+
"export function proxy(request: NextRequest) {",
|
|
709
|
+
" const need = ACCESS[request.nextUrl.pathname]",
|
|
710
|
+
` const signedIn = request.cookies.has(${JSON.stringify(SESSION_COOKIE)})`,
|
|
711
|
+
" const to = need === 'signedIn' && !signedIn ? GO.signedOut : need === 'signedOut' && signedIn ? GO.signedIn : null",
|
|
712
|
+
" return to && to !== request.nextUrl.pathname ? NextResponse.redirect(new URL(to, request.url)) : NextResponse.next()",
|
|
713
|
+
"}",
|
|
714
|
+
"",
|
|
715
|
+
`export const config = { matcher: ${JSON.stringify(routes)} }`
|
|
716
|
+
) });
|
|
717
|
+
return files;
|
|
718
|
+
}
|
|
719
|
+
function siteProviderSource(server) {
|
|
720
|
+
const u = server.user;
|
|
721
|
+
const guards = Object.keys(server.access).length > 0;
|
|
722
|
+
const sayUser = [setLine(u.signedIn, "!!next", "boolean"), setLine(u.name, "next?.name ?? ''", "string"), setLine(u.email, "next?.email ?? ''", "string")].filter(Boolean);
|
|
723
|
+
const sayError = (value) => setLine(u.error, value, "string");
|
|
724
|
+
return [
|
|
725
|
+
"/** A form as the design made it: what it does on the site's server, and (in a list's copy) whose record it is about. */",
|
|
726
|
+
"export interface SiteForm { id: string; name: string; action?: AuthAction | 'deleteRecord' | 'updateRecord'; collectionId?: string; record?: string }",
|
|
727
|
+
"interface SiteStore {",
|
|
728
|
+
" user: SiteUser | null",
|
|
729
|
+
" /** The visitor's own records, by collection, newest first. */",
|
|
730
|
+
" records: Record<string, SiteRecord[]>",
|
|
731
|
+
" /** An expression function over the visitor's records (`count`, `streak`\u2026), by the collection's name. */",
|
|
732
|
+
" call(fn: string, ...args: ExprValue[]): ExprValue",
|
|
733
|
+
` /** Send a form; true when it worked (then the design's "on submit" runs). */`,
|
|
734
|
+
" submit(form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean>",
|
|
735
|
+
"}",
|
|
736
|
+
"",
|
|
737
|
+
"const client = createSiteClient()",
|
|
738
|
+
`const MINE = ${JSON.stringify(server.collections.map((c) => c.id))}`,
|
|
739
|
+
`/** Each list by the name an expression gives it. */`,
|
|
740
|
+
`const NAMES: Record<string, string> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.name.trim().toLowerCase(), c.id])))}`,
|
|
741
|
+
...guards ? [`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`, `const GO = ${JSON.stringify(server.redirect)}`] : [],
|
|
742
|
+
"const SiteContext = createContext<SiteStore | null>(null)",
|
|
743
|
+
"",
|
|
744
|
+
"/** The visitor: who is signed in (asked of the site's server on load), their records, and the design's variables that say so. */",
|
|
745
|
+
"export function SiteProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
746
|
+
...sayUser.length || server.counts.length || u.error ? [" const { set } = useVariables()"] : [],
|
|
747
|
+
...guards ? [" const router = useRouter()", " const path = usePathname()"] : [],
|
|
748
|
+
" const [user, setUser] = useState<SiteUser | null>(null)",
|
|
749
|
+
...guards ? [" const [known, setKnown] = useState(false)"] : [],
|
|
750
|
+
" const [records, setRecords] = useState<Record<string, SiteRecord[]>>({})",
|
|
751
|
+
" const say = useCallback((next: SiteUser | null) => {",
|
|
752
|
+
" setUser(next)",
|
|
753
|
+
...sayUser.map((l) => ` ${l}`),
|
|
754
|
+
` }, [${sayUser.length ? "set" : ""}])`,
|
|
755
|
+
" const refresh = useCallback(async (who: SiteUser | null) => {",
|
|
756
|
+
" const next: Record<string, SiteRecord[]> = {}",
|
|
757
|
+
" for (const id of MINE) next[id] = who ? await client.records(id) : []",
|
|
758
|
+
" setRecords(next)",
|
|
759
|
+
...server.counts.map((c) => ` ${setLine(c.variable, `next[${JSON.stringify(c.collection)}].length`, "number")}`),
|
|
760
|
+
` }, [${server.counts.length ? "set" : ""}])`,
|
|
761
|
+
` useEffect(() => { void client.who().then(async who => { say(who); ${guards ? "setKnown(true); " : ""}await refresh(who) }) }, [say, refresh])`,
|
|
762
|
+
...guards ? [
|
|
763
|
+
" // A page for the other kind of visitor (a cookie whose session had ended got past proxy.ts): where a visit would land.",
|
|
764
|
+
" useEffect(() => {",
|
|
765
|
+
" if (!known) return",
|
|
766
|
+
" const need = ACCESS[path]",
|
|
767
|
+
" const to = need === 'signedIn' && !user ? GO.signedOut : need === 'signedOut' && user ? GO.signedIn : null",
|
|
768
|
+
" if (to && to !== path) router.replace(to)",
|
|
769
|
+
" }, [known, user, path, router])"
|
|
770
|
+
] : [],
|
|
771
|
+
" const submit = useCallback(async (form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean> => {",
|
|
772
|
+
" const values: Record<string, string> = {}",
|
|
773
|
+
" new FormData(form, submitter).forEach((value, key) => { if (typeof value === 'string') values[key] = value })",
|
|
774
|
+
...sayError("''") ? [` ${sayError("''")}`] : [],
|
|
775
|
+
" try {",
|
|
776
|
+
" if (about.action && about.action !== 'deleteRecord' && about.action !== 'updateRecord') {",
|
|
777
|
+
" const who = await client.act(about.action, values)",
|
|
778
|
+
" say(who)",
|
|
779
|
+
" await refresh(who)",
|
|
780
|
+
" return true",
|
|
781
|
+
" }",
|
|
782
|
+
" // A visitor's own list: a form bound to it adds a record; one inside a copy changes or removes that copy's.",
|
|
783
|
+
" const of = about.record ? MINE.find(id => records[id]?.some(r => r.id === about.record)) : about.collectionId && MINE.includes(about.collectionId) ? about.collectionId : undefined",
|
|
784
|
+
" if (of) {",
|
|
785
|
+
" if (!user) throw new Error('Sign in first.')",
|
|
786
|
+
" if (about.action === 'deleteRecord') await client.remove(of, about.record ?? '')",
|
|
787
|
+
" else if (about.action === 'updateRecord') { const was = records[of]?.find(r => r.id === about.record); if (!was) throw new Error('That is no longer here.'); await client.save(of, { ...was.values, ...values }, about.record) }",
|
|
788
|
+
" else await client.save(of, values)",
|
|
789
|
+
" await refresh(user)",
|
|
790
|
+
" return true",
|
|
791
|
+
" }",
|
|
792
|
+
" // Kept in the site's database when it has one; without one the page carries on all the same.",
|
|
793
|
+
" await client.submit({ id: about.id, name: about.name, values })",
|
|
794
|
+
" return true",
|
|
795
|
+
" } catch (e) {",
|
|
796
|
+
...sayError("e instanceof Error ? e.message : 'That did not work. Try again.'") ? [` ${sayError("e instanceof Error ? e.message : 'That did not work. Try again.'")}`] : [" void e"],
|
|
797
|
+
" return false",
|
|
798
|
+
" }",
|
|
799
|
+
` }, [records, user, say, refresh${u.error ? ", set" : ""}])`,
|
|
800
|
+
' // What `count("Checkins")` and the rest add up: the visitor\'s own records, with when each was made.',
|
|
801
|
+
" const data = useMemo<ExprData>(() => ({",
|
|
802
|
+
" rows: name => {",
|
|
803
|
+
" const id = NAMES[name.trim().toLowerCase()] ?? (MINE.includes(name) ? name : undefined)",
|
|
804
|
+
" return id ? (records[id] ?? []).map(r => ({ values: { id: r.id, by: r.by ?? '', mine: r.mine ?? true, ...r.values }, ...(r.createdAt ? { at: Date.parse(r.createdAt) } : {}) })) : undefined",
|
|
805
|
+
" },",
|
|
806
|
+
" }), [records])",
|
|
807
|
+
" const callData = useCallback((fn: string, ...args: ExprValue[]): ExprValue => {",
|
|
808
|
+
" const f = FUNCTIONS[fn]",
|
|
809
|
+
" if (!f) return 0",
|
|
810
|
+
" try { return f(args, data) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
811
|
+
" }, [data])",
|
|
812
|
+
" const store = useMemo(() => ({ user, records, call: callData, submit }), [user, records, callData, submit])",
|
|
813
|
+
" return <SiteContext value={store}>{children}</SiteContext>",
|
|
814
|
+
"}",
|
|
815
|
+
"",
|
|
816
|
+
"/** A field of a visitor's record, as an expression reads it (`item.note`): its values, and `id`, `by`, `mine` and `age` (days old). */",
|
|
817
|
+
"export function itemField(item: SiteRecord, key: string): ExprValue {",
|
|
818
|
+
" if (key === 'id') return item.id",
|
|
819
|
+
" if (key === 'by') return item.by ?? ''",
|
|
820
|
+
" if (key === 'mine') return item.mine ?? true",
|
|
821
|
+
" if (key === 'age') return item.createdAt ? Math.max(0, dayOf(Date.now()) - dayOf(Date.parse(item.createdAt))) : 0",
|
|
822
|
+
" return item.values[key] ?? ''",
|
|
823
|
+
"}",
|
|
824
|
+
"",
|
|
825
|
+
"/** Two of a visitor's records in a list's order: by a field, numbers as numbers and words as words. */",
|
|
826
|
+
"export function itemCompare(a: SiteRecord, b: SiteRecord, key: string): number {",
|
|
827
|
+
" const x = itemField(a, key), y = itemField(b, key)",
|
|
828
|
+
" return typeof x === 'number' && typeof y === 'number' ? x - y : String(x).localeCompare(String(y), undefined, { numeric: true })",
|
|
829
|
+
"}",
|
|
830
|
+
"",
|
|
831
|
+
"/** A field of a visitor's record as words on the page (a yes-or-no as Yes or No). */",
|
|
832
|
+
"export function itemWords(item: SiteRecord, key: string): string {",
|
|
833
|
+
" const value = itemField(item, key)",
|
|
834
|
+
" return typeof value === 'boolean' ? (value ? 'Yes' : 'No') : String(value)",
|
|
835
|
+
"}",
|
|
836
|
+
"",
|
|
837
|
+
"/** The visitor, their records, and `submit` for a form. */",
|
|
838
|
+
"export function useSite(): SiteStore {",
|
|
839
|
+
" const store = useContext(SiteContext)",
|
|
840
|
+
" if (!store) throw new Error('useSite is used outside SiteProvider (app/layout.tsx)')",
|
|
841
|
+
" return store",
|
|
842
|
+
"}",
|
|
843
|
+
""
|
|
844
|
+
];
|
|
845
|
+
}
|
|
846
|
+
function serverReadme(server) {
|
|
847
|
+
return `## Forms${server.signIn ? ", accounts" : ""} and data
|
|
848
|
+
|
|
849
|
+
The site has a server of its own (\`app/api/popcraft\`, through \`@popcraft/runtime/server\`): it keeps what its forms
|
|
850
|
+
send${server.signIn ? ", signs visitors up and in with the database's own sign-in (Neon Auth or Supabase Auth)" : ""}${server.collections.length ? ", and keeps each visitor's own records" : ""}. Copy \`.env.example\` to
|
|
851
|
+
\`.env.local\` and set:
|
|
852
|
+
|
|
853
|
+
| Variable | What it is |
|
|
854
|
+
| --- | --- |
|
|
855
|
+
| \`DATABASE_URL\` | A Postgres connection string (a Neon or Supabase project's). The site makes its two tables on first use |
|
|
856
|
+
${server.signIn ? "| `SITE_AUTH_KIND` | `neon-auth` or `supabase-auth` |\n| `SITE_AUTH_URL` | The sign-in service: a Neon project's Auth URL (Neon console \u2192 Auth), or `https://<project>.supabase.co/auth/v1`. Add the site's address to its trusted domains / redirect URLs |\n| `SITE_AUTH_KEY` | Supabase only: the project's anon key |\n| `SITE_AUTH_ADMIN_KEY` | Supabase only, optional: the service-role key, so visitors can delete their accounts |\n" : ""}| \`NEXT_PUBLIC_SITE_URL\` | The site's address${server.signIn ? " (the origin the sign-in service is told visitors come from)" : ""} |
|
|
857
|
+
|
|
858
|
+
Without \`DATABASE_URL\` the pages still work: forms are sent and not kept${server.signIn ? ", and nobody can sign in" : ""}.
|
|
859
|
+
|
|
860
|
+
`;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
// lib/io/web/project/islands.ts
|
|
864
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
865
|
+
function islandFiles(site, script) {
|
|
866
|
+
return [
|
|
867
|
+
{ path: "public/pc/island.js", content: script },
|
|
868
|
+
{ path: "public/pc/islands.json", content: JSON.stringify(site.islands ?? {}) },
|
|
869
|
+
{ path: "components/gpu-island.tsx", content: GPU_ISLAND }
|
|
870
|
+
];
|
|
871
|
+
}
|
|
872
|
+
var REACT_IMPORT = "import { useEffect, useRef } from 'react'";
|
|
873
|
+
var GPU_ISLAND = `'use client'
|
|
874
|
+
|
|
875
|
+
// A layer only the GPU draws, drawn live over its picture by PopCraft's renderer (public/pc/island.js), with what it
|
|
876
|
+
// draws from public/pc/islands.json. Both load once, the first time an island is on screen; without WebGPU the
|
|
877
|
+
// picture stays.
|
|
878
|
+
|
|
879
|
+
${REACT_IMPORT}
|
|
880
|
+
|
|
881
|
+
interface IslandHandle { invalidate(): void; destroy(): void }
|
|
882
|
+
interface IslandHost { mount(canvas: HTMLCanvasElement, spec: unknown, clock?: () => number): IslandHandle | null; destroy(): void }
|
|
883
|
+
declare global { var popcraftIsland: { createIslandHost(): Promise<IslandHost | null> } | undefined }
|
|
884
|
+
|
|
885
|
+
let host: Promise<{ host: IslandHost | null; specs: Record<string, unknown> }> | null = null
|
|
886
|
+
function islandHost() {
|
|
887
|
+
host ??= Promise.all([
|
|
888
|
+
new Promise<void>((resolve, reject) => {
|
|
889
|
+
if (globalThis.popcraftIsland) return resolve()
|
|
890
|
+
const script = document.createElement('script')
|
|
891
|
+
script.src = '/pc/island.js'
|
|
892
|
+
script.onload = () => resolve()
|
|
893
|
+
script.onerror = () => reject(new Error('The island renderer did not load'))
|
|
894
|
+
document.head.appendChild(script)
|
|
895
|
+
}).then(() => globalThis.popcraftIsland?.createIslandHost() ?? null),
|
|
896
|
+
fetch('/pc/islands.json').then(r => r.json() as Promise<Record<string, unknown>>),
|
|
897
|
+
]).then(([h, specs]) => ({ host: h, specs })).catch(() => ({ host: null, specs: {} }))
|
|
898
|
+
return host
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/** Island \`id\` (its layer), posed at the time of screen \`screen\`'s timeline. */
|
|
902
|
+
export function GpuIsland({ id, screen }: { id: string; screen: string }) {
|
|
903
|
+
const canvas = useRef<HTMLCanvasElement>(null)
|
|
904
|
+
useEffect(() => {
|
|
905
|
+
const el = canvas.current
|
|
906
|
+
if (!el || typeof navigator === 'undefined' || !('gpu' in navigator)) return
|
|
907
|
+
const parent = el.parentElement
|
|
908
|
+
if (parent && getComputedStyle(parent).position === 'static') parent.style.position = 'relative'
|
|
909
|
+
let handle: IslandHandle | null = null
|
|
910
|
+
let gone = false
|
|
911
|
+
const started = performance.now()
|
|
912
|
+
// The screen's timeline (its CSS animations), else the time since the island appeared.
|
|
913
|
+
const clock = () => {
|
|
914
|
+
const timeline = document.querySelector(\`[data-pc-id="\${screen}"]\`)?.getAnimations({ subtree: true }).find(a => (a as CSSAnimation).animationName?.startsWith('timeline-'))
|
|
915
|
+
return timeline ? Number(timeline.currentTime ?? 0) : performance.now() - started
|
|
916
|
+
}
|
|
917
|
+
const start = () => void islandHost().then(({ host: h, specs }) => {
|
|
918
|
+
if (gone || !h || !specs[id]) return
|
|
919
|
+
handle = h.mount(el, specs[id], clock)
|
|
920
|
+
if (!handle) return
|
|
921
|
+
// The picture under it has done its work: the canvas shows the layer from here.
|
|
922
|
+
for (const child of el.parentElement?.children ?? []) if (child !== el) (child as HTMLElement).style.visibility = 'hidden'
|
|
923
|
+
el.style.display = 'block'
|
|
924
|
+
})
|
|
925
|
+
// Asked for once it is on screen, so a page whose island is far below loads nothing until it is reached.
|
|
926
|
+
const seen = new IntersectionObserver(entries => { if (entries.some(e => e.isIntersecting)) { seen.disconnect(); start() } })
|
|
927
|
+
seen.observe(el.parentElement ?? el)
|
|
928
|
+
return () => { gone = true; seen.disconnect(); handle?.destroy() }
|
|
929
|
+
}, [id, screen])
|
|
930
|
+
return <canvas ref={canvas} aria-hidden="true" style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', display: 'none' }} />
|
|
931
|
+
}
|
|
932
|
+
`;
|
|
933
|
+
|
|
934
|
+
// lib/io/web/project/versions.ts
|
|
935
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
936
|
+
|
|
937
|
+
// packages/runtime/package.json
|
|
938
|
+
var package_default = {
|
|
939
|
+
name: "@popcraft/runtime",
|
|
940
|
+
version: "0.9.6",
|
|
941
|
+
description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
|
|
942
|
+
license: "MIT",
|
|
943
|
+
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
944
|
+
repository: {
|
|
945
|
+
type: "git",
|
|
946
|
+
url: "git+https://github.com/getpopcraft/popcraft-app.git",
|
|
947
|
+
directory: "packages/runtime"
|
|
948
|
+
},
|
|
949
|
+
type: "module",
|
|
950
|
+
sideEffects: false,
|
|
951
|
+
exports: {
|
|
952
|
+
".": {
|
|
953
|
+
types: "./dist/index.d.ts",
|
|
954
|
+
import: "./dist/index.js"
|
|
955
|
+
},
|
|
956
|
+
"./server": {
|
|
957
|
+
types: "./dist/server/index.d.ts",
|
|
958
|
+
import: "./dist/server.js"
|
|
959
|
+
},
|
|
960
|
+
"./package.json": "./package.json"
|
|
961
|
+
},
|
|
962
|
+
files: [
|
|
963
|
+
"dist",
|
|
964
|
+
"CHANGELOG.md",
|
|
965
|
+
"README.md",
|
|
966
|
+
"LICENSE"
|
|
967
|
+
],
|
|
968
|
+
engines: {
|
|
969
|
+
node: ">=20.9.0"
|
|
970
|
+
},
|
|
971
|
+
scripts: {
|
|
972
|
+
build: "node build.mjs",
|
|
973
|
+
typecheck: "tsc --noEmit -p .",
|
|
974
|
+
prepublishOnly: "node build.mjs"
|
|
975
|
+
},
|
|
976
|
+
devDependencies: {
|
|
977
|
+
esbuild: "0.28.2"
|
|
978
|
+
},
|
|
979
|
+
dependencies: {
|
|
980
|
+
"@neondatabase/serverless": "^1.1.0",
|
|
981
|
+
postgres: "^3.4.5"
|
|
982
|
+
}
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
// lib/io/web/project/versions.ts
|
|
986
|
+
var EXPORT_VERSIONS = {
|
|
987
|
+
/** When the versions below were last checked against npm and built. */
|
|
988
|
+
checked: "2026-10-03",
|
|
989
|
+
/** The Node.js an exported Next.js project needs (Next.js's own floor). */
|
|
990
|
+
node: ">=20.9.0",
|
|
991
|
+
packages: {
|
|
992
|
+
next: "16.3.8",
|
|
993
|
+
react: "19.3.0",
|
|
994
|
+
"react-dom": "19.3.0",
|
|
995
|
+
typescript: "6.0.3",
|
|
996
|
+
"@types/node": "24.19.1",
|
|
997
|
+
"@types/react": "19.3.0",
|
|
998
|
+
"@types/react-dom": "19.3.0",
|
|
999
|
+
eslint: "9.39.5",
|
|
1000
|
+
"eslint-config-next": "16.3.8",
|
|
1001
|
+
tailwindcss: "4.3.3",
|
|
1002
|
+
"@tailwindcss/postcss": "4.3.3"
|
|
1003
|
+
}
|
|
1004
|
+
};
|
|
1005
|
+
var RUNTIME_PACKAGE = { name: package_default.name, version: package_default.version };
|
|
1006
|
+
var runtimeRange = () => `>=${RUNTIME_PACKAGE.version} <${Number(RUNTIME_PACKAGE.version.split(".")[0]) + 1}.0.0`;
|
|
1007
|
+
var range = (name) => `^${EXPORT_VERSIONS.packages[name]}`;
|
|
1008
|
+
|
|
1009
|
+
// lib/io/web/project/next.ts
|
|
1010
|
+
var all = (n, out = []) => {
|
|
1011
|
+
out.push(n);
|
|
1012
|
+
n.children.forEach((c) => all(c, out));
|
|
1013
|
+
return out;
|
|
1014
|
+
};
|
|
1015
|
+
function unique(base, taken) {
|
|
1016
|
+
let name = base || "Module";
|
|
1017
|
+
for (let n = 2; taken.has(name); n++) name = `${base}${n}`;
|
|
1018
|
+
taken.add(name);
|
|
1019
|
+
return name;
|
|
1020
|
+
}
|
|
1021
|
+
var jsxProp = (k, v) => typeof v === "string" ? `${k}=${JSON.stringify(v)}` : `${k}={${JSON.stringify(v)}}`;
|
|
1022
|
+
var pageDir = (route) => route === "/" ? "app" : `app${route}`;
|
|
1023
|
+
var json = (v) => `${JSON.stringify(v, null, 2)}
|
|
1024
|
+
`;
|
|
1025
|
+
var googleSet = new Set(GOOGLE_FONTS);
|
|
1026
|
+
function projectFonts(site) {
|
|
1027
|
+
return site.fonts.filter((f) => googleSet.has(f.family)).map((f) => {
|
|
1028
|
+
const slug = f.family.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
1029
|
+
return { family: f.family, ident: f.family.replace(/[^A-Za-z0-9]+/g, "_"), variable: `--font-${slug}`, weights: f.weights, variableFont: !NON_VARIABLE_FONTS.has(f.family) };
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
function nextProjectFiles(site, doc, opts = {}) {
|
|
1033
|
+
const tailwind = opts.styling === "tailwind";
|
|
1034
|
+
const fonts = projectFonts(site);
|
|
1035
|
+
const byFamily = new Map(fonts.map((f) => [f.family, f.variable]));
|
|
1036
|
+
const fontFamily = (value) => value.replace(/"([^"]+)"/, (m, family) => byFamily.has(family) ? `var(${byFamily.get(family)})` : m);
|
|
1037
|
+
const files = externalizeBitmaps(site).map((f) => ({ ...f, path: `public/${f.path}` }));
|
|
1038
|
+
const moduleFile = /* @__PURE__ */ new Map();
|
|
1039
|
+
const taken = /* @__PURE__ */ new Set();
|
|
1040
|
+
const packages = {};
|
|
1041
|
+
for (const id of Object.keys(site.code?.modules ?? {}).sort()) {
|
|
1042
|
+
const m = doc.codeModules?.[id];
|
|
1043
|
+
if (!m) continue;
|
|
1044
|
+
const name2 = unique(componentName(m.name), taken);
|
|
1045
|
+
moduleFile.set(id, name2);
|
|
1046
|
+
Object.assign(packages, m.packages);
|
|
1047
|
+
const source = m.source.endsWith("\n") ? m.source : `${m.source}
|
|
1048
|
+
`;
|
|
1049
|
+
files.push({ path: `components/code/${name2}.tsx`, content: /^\s*['"]use client['"]/.test(source) ? source : `'use client'
|
|
1050
|
+
|
|
1051
|
+
${source}` });
|
|
1052
|
+
}
|
|
1053
|
+
const islands = !!site.islands && Object.keys(site.islands).length > 0 && !!opts.islandScript;
|
|
1054
|
+
if (islands) files.push(...islandFiles(site, opts.islandScript));
|
|
1055
|
+
const behaviour = behaviourOf(site);
|
|
1056
|
+
const media = /* @__PURE__ */ new Set();
|
|
1057
|
+
const routes = [];
|
|
1058
|
+
for (const page of site.pages) {
|
|
1059
|
+
if (routes.includes(page.route) && !page.notFound) continue;
|
|
1060
|
+
if (!page.notFound) routes.push(page.route);
|
|
1061
|
+
for (const rule of page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []) media.add(rule);
|
|
1062
|
+
files.push(...pageFiles(site, page, moduleFile, { tailwind, fontFamily, ownFonts: fonts.length > 0, behaviour, islands }));
|
|
1063
|
+
}
|
|
1064
|
+
const tokens = (site.tokens ? tokensCSS(site.tokens) : []).map(fontFamily);
|
|
1065
|
+
files.push({ path: "app/globals.css", content: [
|
|
1066
|
+
...tailwind ? ['@import "tailwindcss";', ""] : [],
|
|
1067
|
+
"html, body { margin: 0; min-height: 100%; }",
|
|
1068
|
+
"*, *::before, *::after { box-sizing: border-box; }",
|
|
1069
|
+
"img, picture, svg, video { display: block; max-width: 100%; }",
|
|
1070
|
+
...tokens,
|
|
1071
|
+
...[...media].map(fontFamily),
|
|
1072
|
+
""
|
|
1073
|
+
].join("\n") });
|
|
1074
|
+
const overlays = behaviour.overlays.size > 0;
|
|
1075
|
+
const server = behaviour.server;
|
|
1076
|
+
files.push({ path: "app/layout.tsx", content: layoutSource(site, fonts, { variables: behaviour.variables.length > 0 || overlays || !!server, overlays, server: !!server }) });
|
|
1077
|
+
if (overlays) files.push({ path: "components/overlays.tsx", content: overlaysSource(site, behaviour) });
|
|
1078
|
+
files.push({ path: "lib/popcraft.tsx", content: stateSource(behaviour) });
|
|
1079
|
+
if (server) files.push(...serverFiles(server));
|
|
1080
|
+
files.push({ path: "app/sitemap.ts", content: sitemapSource(routes) });
|
|
1081
|
+
files.push({ path: "app/robots.ts", content: robotsSource() });
|
|
1082
|
+
files.push({ path: "lib/site.ts", content: siteSource() });
|
|
1083
|
+
const name = fileBase(site.name).toLowerCase().replace(/[^a-z0-9-]+/g, "-").replace(/^-+|-+$/g, "") || "site";
|
|
1084
|
+
files.push({ path: "package.json", content: json({
|
|
1085
|
+
name,
|
|
1086
|
+
private: true,
|
|
1087
|
+
version: "0.1.0",
|
|
1088
|
+
type: "module",
|
|
1089
|
+
engines: { node: EXPORT_VERSIONS.node },
|
|
1090
|
+
scripts: { dev: "next dev", build: "next build", start: "next start", lint: "eslint .", typecheck: "tsc --noEmit" },
|
|
1091
|
+
dependencies: { next: range("next"), react: range("react"), "react-dom": range("react-dom"), [RUNTIME_PACKAGE.name]: runtimeRange(), ...packages },
|
|
1092
|
+
devDependencies: {
|
|
1093
|
+
"@types/node": range("@types/node"),
|
|
1094
|
+
"@types/react": range("@types/react"),
|
|
1095
|
+
"@types/react-dom": range("@types/react-dom"),
|
|
1096
|
+
eslint: range("eslint"),
|
|
1097
|
+
"eslint-config-next": range("eslint-config-next"),
|
|
1098
|
+
typescript: range("typescript"),
|
|
1099
|
+
...tailwind ? { tailwindcss: range("tailwindcss"), "@tailwindcss/postcss": range("@tailwindcss/postcss") } : {}
|
|
1100
|
+
}
|
|
1101
|
+
}) });
|
|
1102
|
+
files.push({ path: "tsconfig.json", content: json({
|
|
1103
|
+
compilerOptions: {
|
|
1104
|
+
target: "ES2022",
|
|
1105
|
+
lib: ["dom", "dom.iterable", "esnext"],
|
|
1106
|
+
allowJs: false,
|
|
1107
|
+
skipLibCheck: true,
|
|
1108
|
+
strict: true,
|
|
1109
|
+
noEmit: true,
|
|
1110
|
+
esModuleInterop: true,
|
|
1111
|
+
module: "esnext",
|
|
1112
|
+
moduleResolution: "bundler",
|
|
1113
|
+
resolveJsonModule: true,
|
|
1114
|
+
isolatedModules: true,
|
|
1115
|
+
jsx: "react-jsx",
|
|
1116
|
+
incremental: true,
|
|
1117
|
+
plugins: [{ name: "next" }],
|
|
1118
|
+
paths: { "@/*": ["./*"] }
|
|
1119
|
+
},
|
|
1120
|
+
include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
|
|
1121
|
+
exclude: ["node_modules"]
|
|
1122
|
+
}) });
|
|
1123
|
+
files.push({ path: "next.config.ts", content: [
|
|
1124
|
+
"import type { NextConfig } from 'next'",
|
|
1125
|
+
"",
|
|
1126
|
+
"const nextConfig: NextConfig = {",
|
|
1127
|
+
" // The pictures are the project's own, in public/: next/image serves them sized for each screen.",
|
|
1128
|
+
" images: { formats: ['image/avif', 'image/webp'] },",
|
|
1129
|
+
...server ? [
|
|
1130
|
+
" // The pages ask their server at /_pc/\u2026 as a published PopCraft site does; app/api/popcraft answers.",
|
|
1131
|
+
" async rewrites() { return [{ source: '/_pc/:path*', destination: '/api/popcraft/:path*' }] },"
|
|
1132
|
+
] : [],
|
|
1133
|
+
"}",
|
|
1134
|
+
"",
|
|
1135
|
+
"export default nextConfig",
|
|
1136
|
+
""
|
|
1137
|
+
].join("\n") });
|
|
1138
|
+
files.push({ path: "eslint.config.mjs", content: [
|
|
1139
|
+
"import { defineConfig, globalIgnores } from 'eslint/config'",
|
|
1140
|
+
"import nextVitals from 'eslint-config-next/core-web-vitals'",
|
|
1141
|
+
"import nextTs from 'eslint-config-next/typescript'",
|
|
1142
|
+
"",
|
|
1143
|
+
"export default defineConfig([",
|
|
1144
|
+
" ...nextVitals,",
|
|
1145
|
+
" ...nextTs,",
|
|
1146
|
+
` globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts'${islands ? ", 'public/pc/**'" : ""}]),`,
|
|
1147
|
+
"])",
|
|
1148
|
+
""
|
|
1149
|
+
].join("\n") });
|
|
1150
|
+
if (tailwind) files.push({ path: "postcss.config.mjs", content: "const config = { plugins: { '@tailwindcss/postcss': {} } }\n\nexport default config\n" });
|
|
1151
|
+
files.push({ path: ".gitignore", content: ["# dependencies", "/node_modules", "", "# next.js", "/.next/", "/out/", "next-env.d.ts", "*.tsbuildinfo", "", "# env files", ".env*", "!.env.example", "", "# misc", ".DS_Store", "*.pem", "npm-debug.log*", ""].join("\n") });
|
|
1152
|
+
files.push({ path: ".env.example", content: [
|
|
1153
|
+
"# The address the site is served from: used for its sitemap, robots.txt and social previews" + (server?.signIn ? ", and the origin" : ""),
|
|
1154
|
+
...server?.signIn ? ["# its sign-in service is told visitors come from."] : [],
|
|
1155
|
+
"NEXT_PUBLIC_SITE_URL=https://example.com",
|
|
1156
|
+
...server ? ["", "# The Postgres database the site keeps its forms and its visitors' records in (a Neon or Supabase project's connection string).", "# Two tables of its own are made on first use. Unset, forms are not kept and nobody can sign in.", "DATABASE_URL=postgresql://user:password@host/db?sslmode=require"] : [],
|
|
1157
|
+
...server?.signIn ? ["", "# Sign-in: neon-auth (the Neon project's Auth URL, Neon console \u2192 Auth) or supabase-auth", "# (https://<project>.supabase.co/auth/v1 and its anon key). Add NEXT_PUBLIC_SITE_URL to its trusted domains.", "SITE_AUTH_KIND=neon-auth", "SITE_AUTH_URL=https://ep-example.neonauth.us-east-2.aws.neon.build/neondb/auth", "SITE_AUTH_KEY=", "SITE_AUTH_ADMIN_KEY="] : [],
|
|
1158
|
+
""
|
|
1159
|
+
].join("\n") });
|
|
1160
|
+
files.push({ path: "README.md", content: readme(site, { tailwind, fonts, routes, code: moduleFile.size > 0, server }) });
|
|
1161
|
+
return files;
|
|
1162
|
+
}
|
|
1163
|
+
function listSource(r, b) {
|
|
1164
|
+
let out = `(site.records[${JSON.stringify(r.collectionId)}] ?? [])`;
|
|
1165
|
+
const keep = r.filter ? b.itemExpression(r.filter) : null;
|
|
1166
|
+
if (keep) out += `.filter(item => truthy(${keep}))`;
|
|
1167
|
+
if (r.sort) out += `.toSorted((a, b) => itemCompare(a, b, ${JSON.stringify(r.sort.key)})${r.sort.dir === "DESC" ? " * -1" : ""})`;
|
|
1168
|
+
if (r.offset || r.limit) out += `.slice(${r.offset ?? 0}${r.limit ? `, ${(r.offset ?? 0) + r.limit}` : ""})`;
|
|
1169
|
+
return out;
|
|
1170
|
+
}
|
|
1171
|
+
function pageFiles(site, page, moduleFile, o) {
|
|
1172
|
+
const imports = /* @__PURE__ */ new Map();
|
|
1173
|
+
const server = o.behaviour.server;
|
|
1174
|
+
const live = o.behaviour.live(page.tree.root.id) || !!server && all(page.tree.root).some((n) => n.repeat && server.collections.some((c) => c.id === n.repeat.collectionId));
|
|
1175
|
+
const effects = live ? o.behaviour.effects(page.tree.root.id) : [];
|
|
1176
|
+
let usesImage = false;
|
|
1177
|
+
let usesIsland = false;
|
|
1178
|
+
const render = (prelude2) => serializeReact({ ...page.tree, root: withAssetBase(page.tree.root, "/"), ...page.machine ? { stateMachine: page.machine } : {} }, {
|
|
1179
|
+
ids: true,
|
|
1180
|
+
name: "Screen",
|
|
1181
|
+
styling: o.tailwind ? "tailwind" : "inline",
|
|
1182
|
+
fontFamily: o.fontFamily,
|
|
1183
|
+
ownFonts: o.ownFonts,
|
|
1184
|
+
...live ? { behaviour: o.behaviour, prelude: prelude2 } : {},
|
|
1185
|
+
// A GPU island: drawn live over its picture by the renderer the project carries (./islands.ts).
|
|
1186
|
+
...o.islands ? { island: (n) => {
|
|
1187
|
+
usesIsland = true;
|
|
1188
|
+
return `<GpuIsland id=${JSON.stringify(n.id)} screen=${JSON.stringify(page.tree.root.id)} />`;
|
|
1189
|
+
} } : {},
|
|
1190
|
+
// A visitor's own lists are drawn from their records, which the site provider holds.
|
|
1191
|
+
...o.behaviour.server ? { lists: (r) => o.behaviour.server.collections.some((c) => c.id === r.collectionId) ? listSource(r, o.behaviour) : null } : {},
|
|
1192
|
+
image: (p) => {
|
|
1193
|
+
usesImage = true;
|
|
1194
|
+
return `<Image src=${JSON.stringify(p.src)} width={${Math.round(p.width)}} height={${Math.round(p.height)}} alt=${JSON.stringify(p.alt)} sizes="(max-width: ${Math.max(1, Math.round(p.width))}px) 100vw, ${Math.max(1, Math.round(p.width))}px" />`;
|
|
1195
|
+
},
|
|
1196
|
+
code: (node) => {
|
|
1197
|
+
const c = node.code;
|
|
1198
|
+
const file = moduleFile.get(c.module);
|
|
1199
|
+
if (!file) return null;
|
|
1200
|
+
const local = c.export && c.export !== "default" ? c.export : file;
|
|
1201
|
+
imports.set(local, c.export && c.export !== "default" ? `import { ${c.export} } from '@/components/code/${file}'` : `import ${file} from '@/components/code/${file}'`);
|
|
1202
|
+
return `<${local} ${Object.entries(c.props).map(([k, v]) => jsxProp(k, v)).join(" ")} />`;
|
|
1203
|
+
}
|
|
1204
|
+
});
|
|
1205
|
+
const effectLines = effects.map((e) => `useEffect(() => { ${e} }, [])`);
|
|
1206
|
+
const draft = `${render([])}
|
|
1207
|
+
${effectLines.join("\n")}`;
|
|
1208
|
+
const uses = (re) => re.test(draft);
|
|
1209
|
+
const store = [uses(/\bv\./) ? "v" : "", uses(/\bset\(/) ? "set" : ""].filter(Boolean);
|
|
1210
|
+
const prelude = live ? [
|
|
1211
|
+
...uses(/\brouter\./) ? ["const router = useRouter()"] : [],
|
|
1212
|
+
...store.length ? [`const { ${store.join(", ")} } = useVariables()`] : [],
|
|
1213
|
+
...uses(/\boverlays\./) ? ["const overlays = useOverlays()"] : [],
|
|
1214
|
+
...uses(/\bsite\.(submit|records|call)\b/) ? ["const site = useSite()"] : [],
|
|
1215
|
+
...effects.map((e) => {
|
|
1216
|
+
const deps = ["router", "set", "overlays"].filter((d) => new RegExp(`\\b${d}\\b`).test(e));
|
|
1217
|
+
return `useEffect(() => { ${e} }, [${deps.join(", ")}])`;
|
|
1218
|
+
})
|
|
1219
|
+
] : [];
|
|
1220
|
+
const body = live ? render(prelude) : draft.trimEnd();
|
|
1221
|
+
if (live) {
|
|
1222
|
+
if (uses(/\brouter\./)) imports.set("useRouter", "import { useRouter } from 'next/navigation'");
|
|
1223
|
+
const helpers = ["call", "exprText", "itemCompare", "itemField", "itemWords", "num", "ops", "truthy"].filter((h) => new RegExp(`\\b${h}[.(]`).test(body));
|
|
1224
|
+
const named = [...helpers, ...uses(/\boverlays\./) ? ["useOverlays"] : [], ...uses(/\bsite\.(submit|records|call)\b/) ? ["useSite"] : [], ...store.length ? ["useVariables"] : []].sort();
|
|
1225
|
+
if (named.length) imports.set("popcraft", `import { ${named.join(", ")} } from '@/lib/popcraft'`);
|
|
1226
|
+
const page2 = ["controlTimeline", "orbitDrag", "scrubTimeline", "switchMode"].filter((h) => new RegExp(`\\b${h}\\(`).test(body));
|
|
1227
|
+
if (page2.length) imports.set("runtime", `import { ${page2.join(", ")} } from '@popcraft/runtime'`);
|
|
1228
|
+
}
|
|
1229
|
+
if (usesImage) imports.set("Image", "import Image from 'next/image'");
|
|
1230
|
+
if (usesIsland) imports.set("GpuIsland", "import { GpuIsland } from '@/components/gpu-island'");
|
|
1231
|
+
const nodes = all(page.tree.root);
|
|
1232
|
+
const client = live || /\buse(Effect|Ref|State)\b/.test(body);
|
|
1233
|
+
const hooks = [/<Fragment\b/.test(body) ? "Fragment" : "", effects.length ? "useEffect" : "", /\buseState\(/.test(body) ? "useState" : ""].filter((h) => h && !new RegExp(`import \\{[^}]*\\b${h}\\b`).test(body));
|
|
1234
|
+
if (hooks.length) imports.set("react", `import { ${hooks.join(", ")} } from 'react'`);
|
|
1235
|
+
const left = [
|
|
1236
|
+
nodes.some((n) => n.island) && !o.islands ? "layers drawn live on the GPU are pictures here" : "",
|
|
1237
|
+
...o.behaviour.missing(page.tree.root.id)
|
|
1238
|
+
].filter(Boolean);
|
|
1239
|
+
const dir = page.notFound ? "app" : pageDir(page.route);
|
|
1240
|
+
const metadata = [
|
|
1241
|
+
"import type { Metadata } from 'next'",
|
|
1242
|
+
"",
|
|
1243
|
+
`export const metadata: Metadata = {`,
|
|
1244
|
+
` title: ${JSON.stringify(page.title)},`,
|
|
1245
|
+
...page.description ? [` description: ${JSON.stringify(page.description)},`] : [],
|
|
1246
|
+
...page.route !== "/" && !page.notFound ? [` alternates: { canonical: ${JSON.stringify(page.route)} },`] : [],
|
|
1247
|
+
"}"
|
|
1248
|
+
];
|
|
1249
|
+
const screen = [
|
|
1250
|
+
...client ? ["'use client'", ""] : [],
|
|
1251
|
+
...[...imports.values()].sort(),
|
|
1252
|
+
...imports.size ? [""] : [],
|
|
1253
|
+
...left.length ? [`// Exported from PopCraft. Not carried into this page: ${left.join("; ")}. The static export plays them.`, ""] : [],
|
|
1254
|
+
body,
|
|
1255
|
+
""
|
|
1256
|
+
].join("\n");
|
|
1257
|
+
const screenFile = page.notFound ? "not-found-screen.tsx" : "screen.tsx";
|
|
1258
|
+
const pageFile = page.notFound ? "not-found.tsx" : "page.tsx";
|
|
1259
|
+
return [
|
|
1260
|
+
{ path: `${dir}/${screenFile}`, content: screen },
|
|
1261
|
+
{ path: `${dir}/${pageFile}`, content: [
|
|
1262
|
+
...metadata.slice(0, 1),
|
|
1263
|
+
`import { Screen } from './${screenFile.replace(/\.tsx$/, "")}'`,
|
|
1264
|
+
...metadata.slice(1),
|
|
1265
|
+
"",
|
|
1266
|
+
`export default function ${page.notFound ? "NotFound" : "Page"}() {`,
|
|
1267
|
+
" return <Screen />",
|
|
1268
|
+
"}",
|
|
1269
|
+
""
|
|
1270
|
+
].join("\n") }
|
|
1271
|
+
];
|
|
1272
|
+
}
|
|
1273
|
+
function layoutSource(site, fonts, o) {
|
|
1274
|
+
const { variables } = o;
|
|
1275
|
+
const modes = site.tokens?.active ?? [];
|
|
1276
|
+
const loaders = fonts.map((f) => {
|
|
1277
|
+
const name = f.ident.charAt(0).toLowerCase() + f.ident.slice(1).replace(/_/g, "");
|
|
1278
|
+
const weight = f.variableFont ? "" : `, weight: [${f.weights.map((w) => `'${w}'`).join(", ")}]`;
|
|
1279
|
+
return { name, line: `const ${name} = ${f.ident}({ subsets: ['latin'], display: 'swap', variable: '${f.variable}'${weight} })` };
|
|
1280
|
+
});
|
|
1281
|
+
const classes = [...loaders.map((l) => `\${${l.name}.variable}`), ...modes].join(" ");
|
|
1282
|
+
return [
|
|
1283
|
+
"import type { Metadata, Viewport } from 'next'",
|
|
1284
|
+
...fonts.length ? [`import { ${fonts.map((f) => f.ident).sort().join(", ")} } from 'next/font/google'`] : [],
|
|
1285
|
+
"import type { ReactNode } from 'react'",
|
|
1286
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1287
|
+
...o.overlays ? ["import { Overlays } from '@/components/overlays'"] : [],
|
|
1288
|
+
...variables ? [`import { ${o.overlays ? "OverlayProvider, " : ""}${o.server ? "SiteProvider, " : ""}VariablesProvider } from '@/lib/popcraft'`] : [],
|
|
1289
|
+
"import './globals.css'",
|
|
1290
|
+
"",
|
|
1291
|
+
...loaders.length ? ["// The faces the design is set in, served from this site (no request to Google from a visitor's browser).", ...loaders.map((l) => l.line), ""] : [],
|
|
1292
|
+
"export const metadata: Metadata = {",
|
|
1293
|
+
" metadataBase: siteUrl,",
|
|
1294
|
+
` title: { default: ${JSON.stringify(site.name)}, template: ${JSON.stringify(`%s \xB7 ${site.name}`)} },`,
|
|
1295
|
+
` openGraph: { siteName: ${JSON.stringify(site.name)}, type: 'website' },`,
|
|
1296
|
+
"}",
|
|
1297
|
+
"",
|
|
1298
|
+
"export const viewport: Viewport = { width: 'device-width', initialScale: 1 }",
|
|
1299
|
+
"",
|
|
1300
|
+
"export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1301
|
+
" return (",
|
|
1302
|
+
` <html lang="en"${classes ? ` className={\`${classes}\`}` : ""}>`,
|
|
1303
|
+
` <body>${variables ? "<VariablesProvider>" : ""}${o.server ? "<SiteProvider>" : ""}${o.overlays ? "<OverlayProvider>{children}<Overlays /></OverlayProvider>" : "{children}"}${o.server ? "</SiteProvider>" : ""}${variables ? "</VariablesProvider>" : ""}</body>`,
|
|
1304
|
+
" </html>",
|
|
1305
|
+
" )",
|
|
1306
|
+
"}",
|
|
1307
|
+
""
|
|
1308
|
+
].join("\n");
|
|
1309
|
+
}
|
|
1310
|
+
function overlaysSource(site, b) {
|
|
1311
|
+
const screens = [...b.overlays].map((id) => site.pages.find((p) => p.id === id)).filter((p) => !!p);
|
|
1312
|
+
const name = (p) => `${componentName(p.title || p.route) || "Overlay"}Overlay`;
|
|
1313
|
+
const align = { CENTER: ["center", "center"], TOP_LEFT: ["flex-start", "flex-start"], TOP_CENTER: ["center", "flex-start"], TOP_RIGHT: ["flex-end", "flex-start"], BOTTOM_LEFT: ["flex-start", "flex-end"], BOTTOM_CENTER: ["center", "flex-end"], BOTTOM_RIGHT: ["flex-end", "flex-end"], MANUAL: ["flex-start", "flex-start"] };
|
|
1314
|
+
return [
|
|
1315
|
+
"'use client'",
|
|
1316
|
+
"",
|
|
1317
|
+
"// The frames the design opens as overlays (OVERLAY / SWAP), drawn over the page while they are open: each is the",
|
|
1318
|
+
"// same screen its own route shows. Open, swap and close them with useOverlays() from lib/popcraft.",
|
|
1319
|
+
"",
|
|
1320
|
+
"import type { ComponentType } from 'react'",
|
|
1321
|
+
"import { useOverlays } from '@/lib/popcraft'",
|
|
1322
|
+
...screens.map((p) => `import { Screen as ${name(p)} } from '@/${pageDir(p.route)}/screen'`),
|
|
1323
|
+
"",
|
|
1324
|
+
"const SCREENS: Record<string, ComponentType> = {",
|
|
1325
|
+
...screens.map((p) => ` ${JSON.stringify(p.id)}: ${name(p)},`),
|
|
1326
|
+
"}",
|
|
1327
|
+
`const ALIGN: Record<string, [string, string]> = ${JSON.stringify(align)}`,
|
|
1328
|
+
"",
|
|
1329
|
+
"export function Overlays() {",
|
|
1330
|
+
" const { list, close } = useOverlays()",
|
|
1331
|
+
" return list.map(({ id, options }, i) => {",
|
|
1332
|
+
" const Screen = SCREENS[id]",
|
|
1333
|
+
" if (!Screen) return null",
|
|
1334
|
+
" const [justifyContent, alignItems] = ALIGN[options.position ?? 'CENTER']",
|
|
1335
|
+
" return (",
|
|
1336
|
+
' <div key={`${id}-${i}`} role="dialog" aria-modal="true" onClick={e => { if (options.closeOnOutside && e.target === e.currentTarget) close() }}',
|
|
1337
|
+
" style={{ position: 'fixed', inset: 0, zIndex: 1000 + i, display: 'flex', justifyContent, alignItems, background: options.dim ?? 'transparent', padding: options.offset ? `${options.offset.y}px 0 0 ${options.offset.x}px` : undefined }}>",
|
|
1338
|
+
" <Screen />",
|
|
1339
|
+
" </div>",
|
|
1340
|
+
" )",
|
|
1341
|
+
" })",
|
|
1342
|
+
"}",
|
|
1343
|
+
""
|
|
1344
|
+
].join("\n");
|
|
1345
|
+
}
|
|
1346
|
+
function stateSource(b) {
|
|
1347
|
+
return [
|
|
1348
|
+
"'use client'",
|
|
1349
|
+
"",
|
|
1350
|
+
"// The design's variables, as state every page shares (the provider is in app/layout.tsx), and the helpers the",
|
|
1351
|
+
"// screens' expressions call. What an expression means (its operators and functions) is @popcraft/runtime's, so a",
|
|
1352
|
+
"// value comes out here as it does in PopCraft.",
|
|
1353
|
+
"",
|
|
1354
|
+
`import { createContext, useCallback, useContext, ${b.server ? "useEffect, " : ""}useMemo, useState, type ReactNode } from 'react'`,
|
|
1355
|
+
...b.server && Object.keys(b.server.access).length ? ["import { usePathname, useRouter } from 'next/navigation'"] : [],
|
|
1356
|
+
`import { ${b.server ? "createSiteClient, dayOf, " : ""}ExprMissing, FUNCTIONS, exprText, num, ops, truthy, type ExprValue${b.server ? ", type AuthAction, type ExprData, type SiteRecord, type SiteUser" : ""} } from '@popcraft/runtime'`,
|
|
1357
|
+
"",
|
|
1358
|
+
"export { exprText, num, ops, truthy }",
|
|
1359
|
+
"",
|
|
1360
|
+
"export interface Variables {",
|
|
1361
|
+
...b.variables.map((v) => ` /** ${v.name} */
|
|
1362
|
+
${v.ident}: ${v.type}`),
|
|
1363
|
+
"}",
|
|
1364
|
+
"",
|
|
1365
|
+
"export const initialVariables: Variables = {",
|
|
1366
|
+
...b.variables.map((v) => ` ${v.ident}: ${v.initial},`),
|
|
1367
|
+
"}",
|
|
1368
|
+
"",
|
|
1369
|
+
"interface Store {",
|
|
1370
|
+
" v: Variables",
|
|
1371
|
+
" set: <K extends keyof Variables>(name: K, value: Variables[K]) => void",
|
|
1372
|
+
"}",
|
|
1373
|
+
"",
|
|
1374
|
+
"const VariablesContext = createContext<Store | null>(null)",
|
|
1375
|
+
"",
|
|
1376
|
+
"export function VariablesProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1377
|
+
" const [v, setV] = useState(initialVariables)",
|
|
1378
|
+
" const set = useCallback(<K extends keyof Variables>(name: K, value: Variables[K]) => setV(prev => ({ ...prev, [name]: value })), [])",
|
|
1379
|
+
" const store = useMemo(() => ({ v, set }), [v, set])",
|
|
1380
|
+
" return <VariablesContext value={store}>{children}</VariablesContext>",
|
|
1381
|
+
"}",
|
|
1382
|
+
"",
|
|
1383
|
+
"/** The variables, and the way to change one. */",
|
|
1384
|
+
"export function useVariables(): Store {",
|
|
1385
|
+
" const store = useContext(VariablesContext)",
|
|
1386
|
+
" if (!store) throw new Error('useVariables is used outside VariablesProvider (app/layout.tsx)')",
|
|
1387
|
+
" return store",
|
|
1388
|
+
"}",
|
|
1389
|
+
"",
|
|
1390
|
+
"/** Where an overlay sits over the page, and how it closes (OVERLAY / SWAP in the design). */",
|
|
1391
|
+
"export interface OverlayOptions { position?: 'CENTER' | 'TOP_LEFT' | 'TOP_CENTER' | 'TOP_RIGHT' | 'BOTTOM_LEFT' | 'BOTTOM_CENTER' | 'BOTTOM_RIGHT' | 'MANUAL'; dim?: string; closeOnOutside?: boolean; offset?: { x: number; y: number } }",
|
|
1392
|
+
"interface OverlayStore { open: OverlayEntry[]; push(id: string, o?: OverlayOptions): void; swap(id: string, o?: OverlayOptions): void; close(): void }",
|
|
1393
|
+
"export interface OverlayEntry { id: string; options: OverlayOptions }",
|
|
1394
|
+
"",
|
|
1395
|
+
"const OverlayContext = createContext<OverlayStore | null>(null)",
|
|
1396
|
+
"",
|
|
1397
|
+
"/** The overlays open over the page, top last. */",
|
|
1398
|
+
"export function OverlayProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1399
|
+
" const [open, setOpen] = useState<OverlayEntry[]>([])",
|
|
1400
|
+
" const store = useMemo<OverlayStore>(() => ({",
|
|
1401
|
+
" open,",
|
|
1402
|
+
" push: (id, options = {}) => setOpen(prev => [...prev, { id, options }]),",
|
|
1403
|
+
" swap: (id, options = {}) => setOpen(prev => [...prev.slice(0, -1), { id, options }]),",
|
|
1404
|
+
" close: () => setOpen(prev => prev.slice(0, -1)),",
|
|
1405
|
+
" }), [open])",
|
|
1406
|
+
" return <OverlayContext value={store}>{children}</OverlayContext>",
|
|
1407
|
+
"}",
|
|
1408
|
+
"",
|
|
1409
|
+
"/** Open, swap and close overlays: `overlays.open(id, { position, dim, closeOnOutside })`. */",
|
|
1410
|
+
"export function useOverlays() {",
|
|
1411
|
+
" const store = useContext(OverlayContext)",
|
|
1412
|
+
" if (!store) throw new Error('useOverlays is used outside OverlayProvider (app/layout.tsx)')",
|
|
1413
|
+
" return { open: store.push, swap: store.swap, close: store.close, list: store.open }",
|
|
1414
|
+
"}",
|
|
1415
|
+
"",
|
|
1416
|
+
...b.server ? siteProviderSource(b.server) : [],
|
|
1417
|
+
"/** One of the expression functions (`count`, `clamp`, `today`\u2026). One that adds up records that are not here gives 0. */",
|
|
1418
|
+
"export function call(fn: string, ...args: ExprValue[]): ExprValue {",
|
|
1419
|
+
" const f = FUNCTIONS[fn]",
|
|
1420
|
+
" if (!f) return 0",
|
|
1421
|
+
" try { return f(args) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
1422
|
+
"}",
|
|
1423
|
+
""
|
|
1424
|
+
].join("\n");
|
|
1425
|
+
}
|
|
1426
|
+
var siteSource = () => [
|
|
1427
|
+
"// Where the site is served from (NEXT_PUBLIC_SITE_URL, see .env.example): its sitemap, robots.txt and the",
|
|
1428
|
+
"// addresses social previews link to are made from it.",
|
|
1429
|
+
"export const siteUrl = new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'http://localhost:3000')",
|
|
1430
|
+
""
|
|
1431
|
+
].join("\n");
|
|
1432
|
+
var sitemapSource = (routes) => [
|
|
1433
|
+
"import type { MetadataRoute } from 'next'",
|
|
1434
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1435
|
+
"",
|
|
1436
|
+
"export default function sitemap(): MetadataRoute.Sitemap {",
|
|
1437
|
+
` return ${JSON.stringify(routes)}.map(route => ({ url: new URL(route, siteUrl).href, lastModified: new Date() }))`,
|
|
1438
|
+
"}",
|
|
1439
|
+
""
|
|
1440
|
+
].join("\n");
|
|
1441
|
+
var robotsSource = () => [
|
|
1442
|
+
"import type { MetadataRoute } from 'next'",
|
|
1443
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1444
|
+
"",
|
|
1445
|
+
"export default function robots(): MetadataRoute.Robots {",
|
|
1446
|
+
" return { rules: { userAgent: '*', allow: '/' }, sitemap: new URL('/sitemap.xml', siteUrl).href }",
|
|
1447
|
+
"}",
|
|
1448
|
+
""
|
|
1449
|
+
].join("\n");
|
|
1450
|
+
function readme(site, o) {
|
|
1451
|
+
const v = EXPORT_VERSIONS.packages;
|
|
1452
|
+
return `# ${site.name}
|
|
1453
|
+
|
|
1454
|
+
Exported from [PopCraft](https://popcraft.app) as a Next.js ${v.next.split(".")[0]} project (App Router, React ${v.react.split(".")[0]}, TypeScript${o.tailwind ? `, Tailwind CSS ${v.tailwindcss.split(".")[0]}` : ""}).
|
|
1455
|
+
|
|
1456
|
+
## Run it
|
|
1457
|
+
|
|
1458
|
+
You need Node.js ${EXPORT_VERSIONS.node.replace(">=", "")} or newer.
|
|
1459
|
+
|
|
1460
|
+
\`\`\`bash
|
|
1461
|
+
npm install
|
|
1462
|
+
npm run dev
|
|
1463
|
+
\`\`\`
|
|
1464
|
+
|
|
1465
|
+
Then open http://localhost:3000.
|
|
1466
|
+
|
|
1467
|
+
| Command | What it does |
|
|
1468
|
+
| --- | --- |
|
|
1469
|
+
| \`npm run dev\` | Runs the site locally, reloading as you edit |
|
|
1470
|
+
| \`npm run build\` | Builds it for production |
|
|
1471
|
+
| \`npm start\` | Serves the production build |
|
|
1472
|
+
| \`npm run lint\` | Checks the code with ESLint (Next.js's recommended rules) |
|
|
1473
|
+
| \`npm run typecheck\` | Checks the types with TypeScript |
|
|
1474
|
+
|
|
1475
|
+
## What is where
|
|
1476
|
+
|
|
1477
|
+
| Path | What it is |
|
|
1478
|
+
| --- | --- |
|
|
1479
|
+
| \`app/layout.tsx\` | The page around every route: language, fonts, the site's metadata |
|
|
1480
|
+
${o.routes.map((r) => `| \`${pageDir(r)}/page.tsx\` | \`${r}\`: its title and description, and the screen it shows |`).join("\n")}
|
|
1481
|
+
| \`app/**/screen.tsx\` | Each screen as plain TSX: real elements, links and forms. A screen that runs in the browser starts with \`'use client'\` |
|
|
1482
|
+
| \`app/globals.css\` | The design's variables${o.tailwind ? ", Tailwind," : ""} and its breakpoints as media queries |
|
|
1483
|
+
| \`app/sitemap.ts\`, \`app/robots.ts\` | \`/sitemap.xml\` and \`/robots.txt\`, from \`NEXT_PUBLIC_SITE_URL\` |
|
|
1484
|
+
| \`public/\` | The pictures, served through \`next/image\` at the size each screen needs |
|
|
1485
|
+
${o.code ? "| `components/code/` | The file's code components, as their source |\n" : ""}${o.server ? "| `app/api/popcraft/`, `lib/popcraft-server.ts` | The site's own server: forms, sign-in and each visitor's records, answered by `@popcraft/runtime/server` |\n" : ""}${o.server && Object.keys(o.server.access).length ? "| `proxy.ts` | Sends a visitor to the page for them: signed-in pages need an account, sign-in pages are for visitors without one |\n" : ""}
|
|
1486
|
+
${o.fonts.length ? `Fonts (${o.fonts.map((f) => f.family).join(", ")}) load through \`next/font/google\`: they are downloaded at build time and served from the site itself.
|
|
1487
|
+
` : ""}
|
|
1488
|
+
${o.server ? serverReadme(o.server) : ""}## Deploy
|
|
1489
|
+
|
|
1490
|
+
Set \`NEXT_PUBLIC_SITE_URL\` to the site's address (copy \`.env.example\` to \`.env.local\` for local use), then deploy
|
|
1491
|
+
anywhere that runs Next.js: Vercel, a Node server (\`npm run build && npm start\`), or a container.
|
|
1492
|
+
|
|
1493
|
+
## Exporting again
|
|
1494
|
+
|
|
1495
|
+
Exporting from PopCraft again writes these files again. Keep changes you want to survive in files of your own, or
|
|
1496
|
+
treat this project as yours from here on and stop exporting.
|
|
1497
|
+
`;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
// lib/io/web/project/build.ts
|
|
1501
|
+
var runtimeScript = (name) => fetch(`/pc/${name}.js?fresh=${Date.now()}`, { cache: "no-store" }).then((r) => r.ok ? r.text() : null).catch(() => null);
|
|
1502
|
+
async function appAssetFiles(paths, under = "") {
|
|
1503
|
+
const got = await Promise.all(paths.map(async (path) => {
|
|
1504
|
+
const res = await fetch(path).catch(() => null);
|
|
1505
|
+
const file = res?.ok ? { path: `${under}${path.replace(/^\//, "")}`, content: new Uint8Array(await res.arrayBuffer()) } : null;
|
|
1506
|
+
return file;
|
|
1507
|
+
}));
|
|
1508
|
+
return got.filter((f) => f !== null);
|
|
1509
|
+
}
|
|
1510
|
+
async function completeSite(doc, pageId) {
|
|
1511
|
+
const [{ previewSite }, { rendererAssetResolvers }] = await Promise.all([import("./host-26AGSHNW.js"), import("./resolvers-OCPZIQOD.js")]);
|
|
1512
|
+
return previewSite(doc, pageId, rendererAssetResolvers(doc));
|
|
1513
|
+
}
|
|
1514
|
+
var NoSiteRuntime = class extends Error {
|
|
1515
|
+
constructor() {
|
|
1516
|
+
super("The site runtime is not built in this copy of the app.");
|
|
1517
|
+
}
|
|
1518
|
+
};
|
|
1519
|
+
async function nextFilesOf(full, doc, opts = {}) {
|
|
1520
|
+
const site = withoutScreenIslands(full);
|
|
1521
|
+
const islandScript = site.islands && Object.keys(site.islands).length ? await runtimeScript("island") : null;
|
|
1522
|
+
return [...nextProjectFiles(site, doc, { ...opts, islandScript }), ...await appAssetFiles(appAssetPaths(site), "public/")];
|
|
1523
|
+
}
|
|
1524
|
+
async function staticFilesOf(site) {
|
|
1525
|
+
const [siteJs, island, code] = await Promise.all([runtimeScript("site"), site.islands ? runtimeScript("island") : null, site.code ? runtimeScript("code") : null]);
|
|
1526
|
+
if (!siteJs) throw new NoSiteRuntime();
|
|
1527
|
+
return [...staticSiteFiles(site, { site: siteJs, island, code }), ...await appAssetFiles(appAssetPaths(site))];
|
|
1528
|
+
}
|
|
1529
|
+
export {
|
|
1530
|
+
ASSET_DIR,
|
|
1531
|
+
NoSiteRuntime,
|
|
1532
|
+
appAssetFiles,
|
|
1533
|
+
appAssetPaths,
|
|
1534
|
+
bytesOf,
|
|
1535
|
+
completeSite,
|
|
1536
|
+
externalizeBitmaps,
|
|
1537
|
+
nextFilesOf,
|
|
1538
|
+
nextProjectFiles,
|
|
1539
|
+
routeFile,
|
|
1540
|
+
routeUp,
|
|
1541
|
+
staticFilesOf,
|
|
1542
|
+
staticSiteFiles,
|
|
1543
|
+
withAssetBase
|
|
1544
|
+
};
|