@popcraft/kit 2.0.0 → 2.0.1
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-RS3FUOXH.js +44 -0
- package/dist/chunks/audio-import-JTWHVLRE.js +125 -0
- package/dist/chunks/builtin-IVWW5R7O.js +121 -0
- package/dist/chunks/buy-credits-YRM6G2OD.js +80 -0
- package/dist/chunks/check-template-FT3VKHL6.js +2413 -0
- package/dist/chunks/chunk-22BWFKMY.js +109 -0
- package/dist/chunks/chunk-22FGDACV.js +74 -0
- package/dist/chunks/chunk-24OEAFQJ.js +117 -0
- package/dist/chunks/chunk-24PD6B4V.js +728 -0
- package/dist/chunks/chunk-24SN6LOF.js +382 -0
- package/dist/chunks/chunk-2AJZOZ5D.js +23 -0
- package/dist/chunks/chunk-2ASMTZMU.js +204 -0
- package/dist/chunks/chunk-2BOL6THE.js +74 -0
- package/dist/chunks/chunk-2C3JEKPS.js +112 -0
- package/dist/chunks/chunk-2CNW4MQS.js +103 -0
- package/dist/chunks/chunk-2CRDUUM3.js +36 -0
- package/dist/chunks/chunk-2E6TJ7A3.js +142 -0
- package/dist/chunks/chunk-2LKP4EZR.js +235 -0
- package/dist/chunks/chunk-2MAWYJ5S.js +276 -0
- package/dist/chunks/chunk-2O2LN4K2.js +23 -0
- package/dist/chunks/chunk-2OAKI2FI.js +47 -0
- package/dist/chunks/chunk-2OWO4NEH.js +1469 -0
- package/dist/chunks/chunk-2S6OK3TB.js +107 -0
- package/dist/chunks/chunk-2TUXV3RK.js +82 -0
- package/dist/chunks/chunk-2UERBNCY.js +96 -0
- package/dist/chunks/chunk-2WO3MFD6.js +33 -0
- package/dist/chunks/chunk-2XMYX76C.js +176 -0
- package/dist/chunks/chunk-2XQVTF2O.js +91 -0
- package/dist/chunks/chunk-2XUIEQFC.js +49 -0
- package/dist/chunks/chunk-2ZK4BKF3.js +150 -0
- package/dist/chunks/chunk-32KS4X2Z.js +60 -0
- package/dist/chunks/chunk-33RVPW4B.js +82 -0
- package/dist/chunks/chunk-34AB6HR5.js +161 -0
- package/dist/chunks/chunk-34JSDRER.js +361 -0
- package/dist/chunks/chunk-34SD6T2Q.js +23 -0
- package/dist/chunks/chunk-356VY7UL.js +118 -0
- package/dist/chunks/chunk-35A6EGAN.js +266 -0
- package/dist/chunks/chunk-35DPD7LA.js +272 -0
- package/dist/chunks/chunk-36DEAEYS.js +136 -0
- package/dist/chunks/chunk-37LWA7IA.js +154 -0
- package/dist/chunks/chunk-3C5OC2SY.js +282 -0
- package/dist/chunks/chunk-3CDK2SYI.js +149 -0
- package/dist/chunks/chunk-3CNLOXLO.js +140 -0
- package/dist/chunks/chunk-3DN2KWNZ.js +136 -0
- package/dist/chunks/chunk-3HEDPEWF.js +63 -0
- package/dist/chunks/chunk-3HJE2BOM.js +41 -0
- package/dist/chunks/chunk-3HMO67NJ.js +79 -0
- package/dist/chunks/chunk-3KAKAFE4.js +151 -0
- package/dist/chunks/chunk-3KY6CNPK.js +175 -0
- package/dist/chunks/chunk-3LCTLAFL.js +185 -0
- package/dist/chunks/chunk-3LROF4X2.js +331 -0
- package/dist/chunks/chunk-3MPFXCDH.js +251 -0
- package/dist/chunks/chunk-3RAXPWBA.js +85 -0
- package/dist/chunks/chunk-3RF3GGPP.js +90 -0
- package/dist/chunks/chunk-3V4BGAY7.js +119 -0
- package/dist/chunks/chunk-3VN3FYNM.js +110 -0
- package/dist/chunks/chunk-3WDKF6I7.js +226 -0
- package/dist/chunks/chunk-3ZF54K2K.js +98 -0
- package/dist/chunks/chunk-3ZNKHRYZ.js +99 -0
- package/dist/chunks/chunk-42KDQFX7.js +287 -0
- package/dist/chunks/chunk-42Y22JBU.js +157 -0
- package/dist/chunks/chunk-436ISUMQ.js +172 -0
- package/dist/chunks/chunk-43U7OHPI.js +171 -0
- package/dist/chunks/chunk-44TBNYOV.js +258 -0
- package/dist/chunks/chunk-44YCPZLE.js +33 -0
- package/dist/chunks/chunk-45SII4L7.js +23 -0
- package/dist/chunks/chunk-4A6H57DA.js +47 -0
- package/dist/chunks/chunk-4B6ICP7L.js +105 -0
- package/dist/chunks/chunk-4BRFLBFV.js +92 -0
- package/dist/chunks/chunk-4CSOSV4P.js +95 -0
- package/dist/chunks/chunk-4DVCEWMC.js +70 -0
- package/dist/chunks/chunk-4EYL4E5S.js +36 -0
- package/dist/chunks/chunk-4FJU6ZDM.js +103 -0
- package/dist/chunks/chunk-4HXQWLBG.js +279 -0
- package/dist/chunks/chunk-4IWJTV2B.js +23 -0
- package/dist/chunks/chunk-4JSGPHU2.js +152 -0
- package/dist/chunks/chunk-4NQT23CP.js +145 -0
- package/dist/chunks/chunk-4OFYXIFM.js +320 -0
- package/dist/chunks/chunk-4OJ2WBFO.js +70 -0
- package/dist/chunks/chunk-4OKOJ4WN.js +111 -0
- package/dist/chunks/chunk-4OSMFXHS.js +102 -0
- package/dist/chunks/chunk-4PHHUEXE.js +131 -0
- package/dist/chunks/chunk-4RDOD3F6.js +251 -0
- package/dist/chunks/chunk-4RO6EE5C.js +30 -0
- package/dist/chunks/chunk-4TZC4YFW.js +198 -0
- package/dist/chunks/chunk-4V7GLC6B.js +103 -0
- package/dist/chunks/chunk-4VBBAZ5X.js +177 -0
- package/dist/chunks/chunk-4VGRFAZO.js +123 -0
- package/dist/chunks/chunk-4VQPEUUT.js +117 -0
- package/dist/chunks/chunk-4XJERPHI.js +293 -0
- package/dist/chunks/chunk-4XSEGIBR.js +23 -0
- package/dist/chunks/chunk-4ZFGUOSI.js +41 -0
- package/dist/chunks/chunk-54BDAMB4.js +220 -0
- package/dist/chunks/chunk-572H7SO4.js +213 -0
- package/dist/chunks/chunk-57JXRDCB.js +110 -0
- package/dist/chunks/chunk-5B4TBS3J.js +145 -0
- package/dist/chunks/chunk-5EELXM44.js +107 -0
- package/dist/chunks/chunk-5GSFQBXH.js +152 -0
- package/dist/chunks/chunk-5H5XSXBR.js +118 -0
- package/dist/chunks/chunk-5HX3IITE.js +212 -0
- package/dist/chunks/chunk-5JAJXMKF.js +118 -0
- package/dist/chunks/chunk-5NPP4PGG.js +181 -0
- package/dist/chunks/chunk-5OSWJ5IC.js +96 -0
- package/dist/chunks/chunk-5PF2UEP4.js +115 -0
- package/dist/chunks/chunk-5S67HC3J.js +33 -0
- package/dist/chunks/chunk-5SR6IFB6.js +90 -0
- package/dist/chunks/chunk-5TQOUOPK.js +151 -0
- package/dist/chunks/chunk-5WO7TNZS.js +247 -0
- package/dist/chunks/chunk-5WUVN7GM.js +898 -0
- package/dist/chunks/chunk-5YWZWLYL.js +174 -0
- package/dist/chunks/chunk-62452IH2.js +163 -0
- package/dist/chunks/chunk-62SYONAO.js +78 -0
- package/dist/chunks/chunk-62TMYKAA.js +150 -0
- package/dist/chunks/chunk-64MY37WJ.js +48 -0
- package/dist/chunks/chunk-65Z556EW.js +127 -0
- package/dist/chunks/chunk-67CI6Q3R.js +70 -0
- package/dist/chunks/chunk-6BNSODLB.js +97 -0
- package/dist/chunks/chunk-6CNK7JLP.js +155 -0
- package/dist/chunks/chunk-6D3PGN4L.js +198 -0
- package/dist/chunks/chunk-6D5Z63SY.js +69 -0
- package/dist/chunks/chunk-6DIWDU3P.js +156 -0
- package/dist/chunks/chunk-6EU4HURO.js +153 -0
- package/dist/chunks/chunk-6FNBMKZ5.js +133 -0
- package/dist/chunks/chunk-6JW6SXSB.js +265 -0
- package/dist/chunks/chunk-6LXM6NI4.js +117 -0
- package/dist/chunks/chunk-6LYA6YHW.js +80 -0
- package/dist/chunks/chunk-6MGI7TFI.js +115 -0
- package/dist/chunks/chunk-6MHUJ6IO.js +140 -0
- package/dist/chunks/chunk-6OEOJ55R.js +33 -0
- package/dist/chunks/chunk-6PJE2MZU.js +199 -0
- package/dist/chunks/chunk-6PZEHIXD.js +146 -0
- package/dist/chunks/chunk-6RMA5WCZ.js +45 -0
- package/dist/chunks/chunk-6RON35TB.js +222 -0
- package/dist/chunks/chunk-6S3USZAL.js +218 -0
- package/dist/chunks/chunk-6T3TUQ4M.js +70 -0
- package/dist/chunks/chunk-6ULS3X3L.js +23 -0
- package/dist/chunks/chunk-6YC3WGBU.js +399 -0
- package/dist/chunks/chunk-6Z22MN35.js +117 -0
- package/dist/chunks/chunk-6ZKVUAEY.js +23 -0
- package/dist/chunks/chunk-73B5QI3C.js +100 -0
- package/dist/chunks/chunk-75HYVHKR.js +147 -0
- package/dist/chunks/chunk-75KT5KVO.js +33 -0
- package/dist/chunks/chunk-76WPIQKV.js +86 -0
- package/dist/chunks/chunk-77YCS7QL.js +231 -0
- package/dist/chunks/chunk-7CAGPU7B.js +1136 -0
- package/dist/chunks/chunk-7DBJAOZD.js +23 -0
- package/dist/chunks/chunk-7E6XFENB.js +195 -0
- package/dist/chunks/chunk-7EORF6ZG.js +303 -0
- package/dist/chunks/chunk-7FC3HXFN.js +1403 -0
- package/dist/chunks/chunk-7FHTM6PI.js +112 -0
- package/dist/chunks/chunk-7GM6L6KG.js +88 -0
- package/dist/chunks/chunk-7GW4GMES.js +87 -0
- package/dist/chunks/chunk-7HKKWAJS.js +87 -0
- package/dist/chunks/chunk-7HS5CYEH.js +84 -0
- package/dist/chunks/chunk-7I52INC2.js +78 -0
- package/dist/chunks/chunk-7JXY4YZZ.js +182 -0
- package/dist/chunks/chunk-7LR3I7NB.js +163 -0
- package/dist/chunks/chunk-7MUGYRAM.js +304 -0
- package/dist/chunks/chunk-7OQEXDWF.js +237 -0
- package/dist/chunks/chunk-7RUVCWFB.js +100 -0
- package/dist/chunks/chunk-7TNYFX2B.js +161 -0
- package/dist/chunks/chunk-7TXTAF73.js +559 -0
- package/dist/chunks/chunk-7UQ2ZIXX.js +45 -0
- package/dist/chunks/chunk-7VBMMNXJ.js +84 -0
- package/dist/chunks/chunk-7X5YCEJC.js +23 -0
- package/dist/chunks/chunk-7XMSSM5Y.js +147 -0
- package/dist/chunks/chunk-7Y3HLE6K.js +164 -0
- package/dist/chunks/chunk-7ZSXIS7R.js +185 -0
- package/dist/chunks/chunk-7ZUCKFK7.js +53 -0
- package/dist/chunks/chunk-A256CV2X.js +188 -0
- package/dist/chunks/chunk-A3NLNEZO.js +176 -0
- package/dist/chunks/chunk-A4CB47TD.js +284 -0
- package/dist/chunks/chunk-A7FFX52M.js +138 -0
- package/dist/chunks/chunk-A7NJESLP.js +119 -0
- package/dist/chunks/chunk-A7PE2QPN.js +33 -0
- package/dist/chunks/chunk-AAAKGCG4.js +198 -0
- package/dist/chunks/chunk-AATECGFF.js +217 -0
- package/dist/chunks/chunk-ABPNH6SL.js +98 -0
- package/dist/chunks/chunk-ABUZ35BU.js +139 -0
- package/dist/chunks/chunk-AD4ZYMWP.js +209 -0
- package/dist/chunks/chunk-AEE6DIVV.js +33 -0
- package/dist/chunks/chunk-AESWTLV5.js +97 -0
- package/dist/chunks/chunk-AEVRVQWI.js +1574 -0
- package/dist/chunks/chunk-AF5VUFSV.js +172 -0
- package/dist/chunks/chunk-AFIWYYIW.js +150 -0
- package/dist/chunks/chunk-AFLHAPMK.js +97 -0
- package/dist/chunks/chunk-AFV3ZJVT.js +162 -0
- package/dist/chunks/chunk-AHC2I76I.js +124 -0
- package/dist/chunks/chunk-AHYQLTHV.js +84 -0
- package/dist/chunks/chunk-AI5BTY4R.js +52 -0
- package/dist/chunks/chunk-AKUZGOWU.js +242 -0
- package/dist/chunks/chunk-ALK7BGFJ.js +191 -0
- package/dist/chunks/chunk-AM4GQ6UD.js +230 -0
- package/dist/chunks/chunk-ANYSAKHS.js +188 -0
- package/dist/chunks/chunk-ANZYGQGV.js +252 -0
- package/dist/chunks/chunk-AOQJSUZP.js +152 -0
- package/dist/chunks/chunk-AS332QIP.js +266 -0
- package/dist/chunks/chunk-AUPMB6ZM.js +210 -0
- package/dist/chunks/chunk-AWNNQU4L.js +180 -0
- package/dist/chunks/chunk-AXZTAGDM.js +192 -0
- package/dist/chunks/chunk-AYHKZ3YG.js +23 -0
- package/dist/chunks/chunk-B2HXAWRY.js +23 -0
- package/dist/chunks/chunk-B3JS7O54.js +95 -0
- package/dist/chunks/chunk-B3NLN362.js +122 -0
- package/dist/chunks/chunk-B53PVLF5.js +304 -0
- package/dist/chunks/chunk-B7DSPQ6B.js +154 -0
- package/dist/chunks/chunk-B7ZHHTE3.js +122 -0
- package/dist/chunks/chunk-BAEKDKG6.js +225 -0
- package/dist/chunks/chunk-BDD36ZWC.js +119 -0
- package/dist/chunks/chunk-BDMA5C7B.js +28 -0
- package/dist/chunks/chunk-BG6JR5LN.js +208 -0
- package/dist/chunks/chunk-BHFTYES6.js +198 -0
- package/dist/chunks/chunk-BITG2MWN.js +125 -0
- package/dist/chunks/chunk-BJ3YKV7G.js +81 -0
- package/dist/chunks/chunk-BJEMJCZJ.js +1419 -0
- package/dist/chunks/chunk-BKDY2EEP.js +98 -0
- package/dist/chunks/chunk-BLGT7AUD.js +180 -0
- package/dist/chunks/chunk-BNGZXPDQ.js +92 -0
- package/dist/chunks/chunk-BOGDYFBC.js +91 -0
- package/dist/chunks/chunk-BPIGK57H.js +180 -0
- package/dist/chunks/chunk-BPOBG5YN.js +120 -0
- package/dist/chunks/chunk-BQ4BXNF7.js +147 -0
- package/dist/chunks/chunk-BQ6PC34Z.js +100 -0
- package/dist/chunks/chunk-BQD2KWUA.js +108 -0
- package/dist/chunks/chunk-BREXQV4G.js +77 -0
- package/dist/chunks/chunk-BRWJ7CU6.js +198 -0
- package/dist/chunks/chunk-BTESWMFP.js +182 -0
- package/dist/chunks/chunk-BTFVVDM4.js +172 -0
- package/dist/chunks/chunk-BTOEEE4N.js +283 -0
- package/dist/chunks/chunk-BTZOLTUP.js +105 -0
- package/dist/chunks/chunk-BUA2VB4D.js +80 -0
- package/dist/chunks/chunk-BUH7HQMV.js +126 -0
- package/dist/chunks/chunk-BUWEFJWW.js +358 -0
- package/dist/chunks/chunk-BWCHVHDJ.js +87 -0
- package/dist/chunks/chunk-BWGTC4FK.js +90 -0
- package/dist/chunks/chunk-BX3PZC7L.js +100 -0
- package/dist/chunks/chunk-BZ6JZLHW.js +204 -0
- package/dist/chunks/chunk-BZKQQO5F.js +50 -0
- package/dist/chunks/chunk-C2GKMSED.js +93 -0
- package/dist/chunks/chunk-C5W3TT3U.js +53 -0
- package/dist/chunks/chunk-CCPQGD3W.js +23 -0
- package/dist/chunks/chunk-CDEKJ7XN.js +163 -0
- package/dist/chunks/chunk-CDOMVMMP.js +189 -0
- package/dist/chunks/chunk-CHFJUUAV.js +102 -0
- package/dist/chunks/chunk-CJ4N5AD4.js +23 -0
- package/dist/chunks/chunk-CL6VBZSB.js +92 -0
- package/dist/chunks/chunk-CL7AP75Y.js +287 -0
- package/dist/chunks/chunk-CLRN44W3.js +75 -0
- package/dist/chunks/chunk-CO4UTVNZ.js +113 -0
- package/dist/chunks/chunk-COTG4F5F.js +23 -0
- package/dist/chunks/chunk-CR7X2PX5.js +250 -0
- package/dist/chunks/chunk-CUTA7OLD.js +23 -0
- package/dist/chunks/chunk-CV3QR2BP.js +112 -0
- package/dist/chunks/chunk-CW24VQM3.js +23 -0
- package/dist/chunks/chunk-CW3VKWFW.js +60 -0
- package/dist/chunks/chunk-CWWWM3HZ.js +111 -0
- package/dist/chunks/chunk-CXJNSAOF.js +104 -0
- package/dist/chunks/chunk-CZRDPNM2.js +107 -0
- package/dist/chunks/chunk-D2NBF362.js +165 -0
- package/dist/chunks/chunk-D5FBE5PE.js +128 -0
- package/dist/chunks/chunk-D6MBV2UQ.js +100 -0
- package/dist/chunks/chunk-D7IZPPV5.js +114 -0
- package/dist/chunks/chunk-DDHLDNKX.js +277 -0
- package/dist/chunks/chunk-DDNP2A3W.js +155 -0
- package/dist/chunks/chunk-DE3DJHS4.js +140 -0
- package/dist/chunks/chunk-DEPD5ARG.js +226 -0
- package/dist/chunks/chunk-DF5G2P7O.js +95 -0
- package/dist/chunks/chunk-DFQYSOFV.js +94 -0
- package/dist/chunks/chunk-DGPKNOSH.js +23 -0
- package/dist/chunks/chunk-DHWC5GZU.js +153 -0
- package/dist/chunks/chunk-DHXSCSGE.js +41 -0
- package/dist/chunks/chunk-DIJFFNW6.js +153 -0
- package/dist/chunks/chunk-DJVPZTI3.js +270 -0
- package/dist/chunks/chunk-DKAA3PVR.js +45 -0
- package/dist/chunks/chunk-DKYMG7W6.js +80 -0
- package/dist/chunks/chunk-DMFNQELF.js +146 -0
- package/dist/chunks/chunk-DVF7M43L.js +97 -0
- package/dist/chunks/chunk-DW7VRFPR.js +94 -0
- package/dist/chunks/chunk-DWOSB5OG.js +36 -0
- package/dist/chunks/chunk-E3KSQX2C.js +54 -0
- package/dist/chunks/chunk-E3RDUS6J.js +305 -0
- package/dist/chunks/chunk-E547DCJN.js +329 -0
- package/dist/chunks/chunk-E5ERCS7Y.js +125 -0
- package/dist/chunks/chunk-E6BUVGEM.js +173 -0
- package/dist/chunks/chunk-E6WAJNWL.js +135 -0
- package/dist/chunks/chunk-E7WIDHOX.js +83 -0
- package/dist/chunks/chunk-EB6VKLAJ.js +234 -0
- package/dist/chunks/chunk-EBPSOIEX.js +134 -0
- package/dist/chunks/chunk-EC4DPVT5.js +139 -0
- package/dist/chunks/chunk-EDLLCVQF.js +153 -0
- package/dist/chunks/chunk-EEMK2O5N.js +684 -0
- package/dist/chunks/chunk-EEVNQCTV.js +100 -0
- package/dist/chunks/chunk-EFTPHBPV.js +141 -0
- package/dist/chunks/chunk-EFWNIBOC.js +152 -0
- package/dist/chunks/chunk-EG7WNJFZ.js +396 -0
- package/dist/chunks/chunk-EGEGJZ53.js +94 -0
- package/dist/chunks/chunk-EHD3XPWX.js +115 -0
- package/dist/chunks/chunk-EHI3JCQO.js +106 -0
- package/dist/chunks/chunk-EJ4MJX3F.js +95 -0
- package/dist/chunks/chunk-EJITHNSN.js +85 -0
- package/dist/chunks/chunk-EJW3Q7IH.js +209 -0
- package/dist/chunks/chunk-EQZ3DBTP.js +187 -0
- package/dist/chunks/chunk-ERUYVZWN.js +141 -0
- package/dist/chunks/chunk-ERWDZNYG.js +97 -0
- package/dist/chunks/chunk-ERXLK44F.js +57 -0
- package/dist/chunks/chunk-ESIPTDQU.js +221 -0
- package/dist/chunks/chunk-ET3M3L45.js +152 -0
- package/dist/chunks/chunk-EUDE4D7K.js +122 -0
- package/dist/chunks/chunk-EVJF76HM.js +163 -0
- package/dist/chunks/chunk-EYOTZLZU.js +150 -0
- package/dist/chunks/chunk-F2CTKRXI.js +48 -0
- package/dist/chunks/chunk-F2FMQL7K.js +33 -0
- package/dist/chunks/chunk-F4GWLG6D.js +462 -0
- package/dist/chunks/chunk-F5NYLQAB.js +53 -0
- package/dist/chunks/chunk-F6QGWFPB.js +145 -0
- package/dist/chunks/chunk-F6SANZFM.js +55 -0
- package/dist/chunks/chunk-F7X5VOWS.js +889 -0
- package/dist/chunks/chunk-FB5QNWPN.js +33 -0
- package/dist/chunks/chunk-FDWDRAIZ.js +158 -0
- package/dist/chunks/chunk-FETHDXOS.js +45 -0
- package/dist/chunks/chunk-FGT2PR3M.js +100 -0
- package/dist/chunks/chunk-FH6MB4GW.js +55 -0
- package/dist/chunks/chunk-FHHAH4JX.js +124 -0
- package/dist/chunks/chunk-FISVKK6C.js +33 -0
- package/dist/chunks/chunk-FJMFKIN6.js +158 -0
- package/dist/chunks/chunk-FNEIVQDB.js +164 -0
- package/dist/chunks/chunk-FPWANSII.js +95 -0
- package/dist/chunks/chunk-FQ3ODVZY.js +226 -0
- package/dist/chunks/chunk-FQ5YFJMO.js +166 -0
- package/dist/chunks/chunk-FQCAU4XR.js +157 -0
- package/dist/chunks/chunk-FT7OO4HQ.js +215 -0
- package/dist/chunks/chunk-FU36FPDB.js +77 -0
- package/dist/chunks/chunk-FVAHXWIY.js +127 -0
- package/dist/chunks/chunk-G26WBGPJ.js +149 -0
- package/dist/chunks/chunk-G3KOKY6V.js +378 -0
- package/dist/chunks/chunk-G46GUWS5.js +102 -0
- package/dist/chunks/chunk-G47UBPSH.js +155 -0
- package/dist/chunks/chunk-G4DND2YY.js +277 -0
- package/dist/chunks/chunk-G53KOC4Q.js +215 -0
- package/dist/chunks/chunk-G5EPTRRL.js +135 -0
- package/dist/chunks/chunk-GALZ2YLM.js +59 -0
- package/dist/chunks/chunk-GBHX43B5.js +334 -0
- package/dist/chunks/chunk-GCMUSV3X.js +149 -0
- package/dist/chunks/chunk-GDLIUWSE.js +181 -0
- package/dist/chunks/chunk-GDNEYB4A.js +77 -0
- package/dist/chunks/chunk-GHPHZCQG.js +105 -0
- package/dist/chunks/chunk-GICAJHIS.js +169 -0
- package/dist/chunks/chunk-GJPDO7I6.js +93 -0
- package/dist/chunks/chunk-GKQF7EEL.js +78 -0
- package/dist/chunks/chunk-GPKTIBCP.js +1393 -0
- package/dist/chunks/chunk-GPL3HMVB.js +97 -0
- package/dist/chunks/chunk-GRQJ3BOZ.js +96 -0
- package/dist/chunks/chunk-GSIGX663.js +23 -0
- package/dist/chunks/chunk-GSXNGDEE.js +33 -0
- package/dist/chunks/chunk-GTLUBIMV.js +104 -0
- package/dist/chunks/chunk-GUH5OQOI.js +173 -0
- package/dist/chunks/chunk-GWPGCYAL.js +155 -0
- package/dist/chunks/chunk-GYWMZPQ4.js +249 -0
- package/dist/chunks/chunk-H2HYMNZE.js +415 -0
- package/dist/chunks/chunk-H2UZYKHP.js +150 -0
- package/dist/chunks/chunk-H2Z5WIZP.js +225 -0
- package/dist/chunks/chunk-H352XCJB.js +63 -0
- package/dist/chunks/chunk-H4QVCQV6.js +23 -0
- package/dist/chunks/chunk-H4SK5XK2.js +97 -0
- package/dist/chunks/chunk-H5BD6PHR.js +146 -0
- package/dist/chunks/chunk-H6TG42U2.js +263 -0
- package/dist/chunks/chunk-HAEDOXDL.js +105 -0
- package/dist/chunks/chunk-HAHLPZQ7.js +112 -0
- package/dist/chunks/chunk-HBQ7VPU4.js +181 -0
- package/dist/chunks/chunk-HDETFPIN.js +330 -0
- package/dist/chunks/chunk-HG35IBKP.js +200 -0
- package/dist/chunks/chunk-HG3Y5ESR.js +161 -0
- package/dist/chunks/chunk-HH2ZVQRP.js +257 -0
- package/dist/chunks/chunk-HJBDANWK.js +126 -0
- package/dist/chunks/chunk-HJJEKFHW.js +244 -0
- package/dist/chunks/chunk-HJNGDHZV.js +358 -0
- package/dist/chunks/chunk-HLZGX7HB.js +144 -0
- package/dist/chunks/chunk-HMURFIQN.js +108 -0
- package/dist/chunks/chunk-HNRZCIZN.js +80 -0
- package/dist/chunks/chunk-HOGMSTNL.js +61 -0
- package/dist/chunks/chunk-HP2X54EY.js +51 -0
- package/dist/chunks/chunk-HPFYINN3.js +45 -0
- package/dist/chunks/chunk-HQA6OSBL.js +95 -0
- package/dist/chunks/chunk-HQOQPXMB.js +151 -0
- package/dist/chunks/chunk-HSTYJJJN.js +327 -0
- package/dist/chunks/chunk-HSZV7ZER.js +33 -0
- package/dist/chunks/chunk-HUWERBK6.js +196 -0
- package/dist/chunks/chunk-HXAYTOWN.js +45 -0
- package/dist/chunks/chunk-HYJ6EQAR.js +191 -0
- package/dist/chunks/chunk-HYOWCCUC.js +187 -0
- package/dist/chunks/chunk-I3S53MUL.js +23 -0
- package/dist/chunks/chunk-I4K6ISEA.js +123 -0
- package/dist/chunks/chunk-I5AQTS6L.js +33 -0
- package/dist/chunks/chunk-IB65ADPO.js +178 -0
- package/dist/chunks/chunk-IDT2MRKB.js +255 -0
- package/dist/chunks/chunk-IHO37NQ6.js +299 -0
- package/dist/chunks/chunk-IHUMZKMT.js +346 -0
- package/dist/chunks/chunk-II4H4JYF.js +33 -0
- package/dist/chunks/chunk-II52KAJB.js +118 -0
- package/dist/chunks/chunk-IIE24S5U.js +133 -0
- package/dist/chunks/chunk-IJXMVWTS.js +207 -0
- package/dist/chunks/chunk-ILRQOCLP.js +84 -0
- package/dist/chunks/chunk-INIGVJV7.js +104 -0
- package/dist/chunks/chunk-IOGNMJEI.js +145 -0
- package/dist/chunks/chunk-IPJVIWZO.js +92 -0
- package/dist/chunks/chunk-IQE7M6ER.js +320 -0
- package/dist/chunks/chunk-IQY2JUU3.js +55 -0
- package/dist/chunks/chunk-ISQY6SEP.js +146 -0
- package/dist/chunks/chunk-IUNA5S6S.js +23 -0
- package/dist/chunks/chunk-IWJXE4SI.js +192 -0
- package/dist/chunks/chunk-IXGOJYST.js +99 -0
- package/dist/chunks/chunk-J25U5P2Z.js +159 -0
- package/dist/chunks/chunk-J2TTCFAI.js +93 -0
- package/dist/chunks/chunk-J4MREGUV.js +112 -0
- package/dist/chunks/chunk-J57MSR45.js +135 -0
- package/dist/chunks/chunk-J6N4VNCH.js +206 -0
- package/dist/chunks/chunk-J75PNHXX.js +337 -0
- package/dist/chunks/chunk-J7P6VR3W.js +39 -0
- package/dist/chunks/chunk-J7Z6LABN.js +86 -0
- package/dist/chunks/chunk-JCX75KWD.js +165 -0
- package/dist/chunks/chunk-JEBI5VGB.js +33 -0
- package/dist/chunks/chunk-JEIHP4RL.js +81 -0
- package/dist/chunks/chunk-JGH7DVOY.js +159 -0
- package/dist/chunks/chunk-JH55LWXE.js +33 -0
- package/dist/chunks/chunk-JI555FYG.js +391 -0
- package/dist/chunks/chunk-JIFP4ESM.js +95 -0
- package/dist/chunks/chunk-JK5SSLPT.js +351 -0
- package/dist/chunks/chunk-JL7AFOSA.js +261 -0
- package/dist/chunks/chunk-JMLTHAW2.js +110 -0
- package/dist/chunks/chunk-JN7R72GT.js +120 -0
- package/dist/chunks/chunk-JOSZIMMK.js +23 -0
- package/dist/chunks/chunk-JQXLWHNV.js +65 -0
- package/dist/chunks/chunk-JRPCGVKL.js +45 -0
- package/dist/chunks/chunk-JSBHWMPG.js +102 -0
- package/dist/chunks/chunk-JSSK4J34.js +106 -0
- package/dist/chunks/chunk-JVH7ZPJX.js +151 -0
- package/dist/chunks/chunk-JVYKAV2D.js +114 -0
- package/dist/chunks/chunk-JXHR7OEX.js +30 -0
- package/dist/chunks/chunk-JXR3BKFD.js +174 -0
- package/dist/chunks/chunk-K2QQZYQD.js +135 -0
- package/dist/chunks/chunk-K3KF6LLO.js +109 -0
- package/dist/chunks/chunk-K4TYBVPO.js +194 -0
- package/dist/chunks/chunk-K7WB24UF.js +85 -0
- package/dist/chunks/chunk-KB646A4H.js +214 -0
- package/dist/chunks/chunk-KDM3HHI2.js +139 -0
- package/dist/chunks/chunk-KEHUTLNX.js +184 -0
- package/dist/chunks/chunk-KFP3F4UR.js +100 -0
- package/dist/chunks/chunk-KGQIS3LZ.js +152 -0
- package/dist/chunks/chunk-KGR5FYCY.js +80 -0
- package/dist/chunks/chunk-KHHZVJRF.js +89 -0
- package/dist/chunks/chunk-KIPYM566.js +108 -0
- package/dist/chunks/chunk-KIW3SWDM.js +168 -0
- package/dist/chunks/chunk-KKSWHPVU.js +182 -0
- package/dist/chunks/chunk-KLO46IZ2.js +119 -0
- package/dist/chunks/chunk-KN3Y6EZY.js +105 -0
- package/dist/chunks/chunk-KOIBYRH6.js +77 -0
- package/dist/chunks/chunk-KQQ4WQSB.js +133 -0
- package/dist/chunks/chunk-KRJWKISC.js +33 -0
- package/dist/chunks/chunk-KT3SCNRZ.js +84 -0
- package/dist/chunks/chunk-KU5MDYJU.js +72 -0
- package/dist/chunks/chunk-KWH7E6XC.js +125 -0
- package/dist/chunks/chunk-KYDOG7JP.js +93 -0
- package/dist/chunks/chunk-KYUWPD26.js +136 -0
- package/dist/chunks/chunk-L2HZ5QFV.js +122 -0
- package/dist/chunks/chunk-L4LLU4OR.js +77 -0
- package/dist/chunks/chunk-LAD77O5F.js +178 -0
- package/dist/chunks/chunk-LAHAW23S.js +97 -0
- package/dist/chunks/chunk-LC5KOCVW.js +106 -0
- package/dist/chunks/chunk-LCBX65MQ.js +969 -0
- package/dist/chunks/chunk-LD5DK63W.js +23 -0
- package/dist/chunks/chunk-LDPYDVM6.js +140 -0
- package/dist/chunks/chunk-LDQ35LVC.js +33 -0
- package/dist/chunks/chunk-LETCYNV7.js +626 -0
- package/dist/chunks/chunk-LGY7REUL.js +232 -0
- package/dist/chunks/chunk-LHMCKV65.js +66 -0
- package/dist/chunks/chunk-LIIYJFRB.js +204 -0
- package/dist/chunks/chunk-LIQG3BT3.js +130 -0
- package/dist/chunks/chunk-LIQPADZI.js +197 -0
- package/dist/chunks/chunk-LJR5TBRT.js +106 -0
- package/dist/chunks/chunk-LLJD4ZH2.js +170 -0
- package/dist/chunks/chunk-LNBRTXX2.js +512 -0
- package/dist/chunks/chunk-LOGJKLGZ.js +69 -0
- package/dist/chunks/chunk-LOKRB4BK.js +163 -0
- package/dist/chunks/chunk-LOLJ3NQG.js +138 -0
- package/dist/chunks/chunk-LPSWXSC6.js +66 -0
- package/dist/chunks/chunk-LTKGMDDL.js +147 -0
- package/dist/chunks/chunk-LYMQLJQL.js +93 -0
- package/dist/chunks/chunk-LYWO4OVL.js +177 -0
- package/dist/chunks/chunk-M2RHCOEM.js +95 -0
- package/dist/chunks/chunk-M2S4TLGP.js +122 -0
- package/dist/chunks/chunk-M37J5AXF.js +166 -0
- package/dist/chunks/chunk-M3BSKUTQ.js +106 -0
- package/dist/chunks/chunk-M3WSXWQZ.js +23 -0
- package/dist/chunks/chunk-M4KJ3FTU.js +33 -0
- package/dist/chunks/chunk-M7555UMD.js +303 -0
- package/dist/chunks/chunk-MA3ZYAKV.js +103 -0
- package/dist/chunks/chunk-MA56YJ2B.js +422 -0
- package/dist/chunks/chunk-MAC6KUUA.js +23 -0
- package/dist/chunks/chunk-MBLRF6V3.js +142 -0
- package/dist/chunks/chunk-MCM7JM3K.js +68 -0
- package/dist/chunks/chunk-MDGL63M7.js +167 -0
- package/dist/chunks/chunk-MEIELUWQ.js +390 -0
- package/dist/chunks/chunk-MGMQ2KJU.js +292 -0
- package/dist/chunks/chunk-MHYCNNBP.js +317 -0
- package/dist/chunks/chunk-MJO252B2.js +121 -0
- package/dist/chunks/chunk-MJOPADHH.js +45 -0
- package/dist/chunks/chunk-MM3ZOMKJ.js +274 -0
- package/dist/chunks/chunk-MMMTL4S2.js +76 -0
- package/dist/chunks/chunk-MORGT6U3.js +172 -0
- package/dist/chunks/chunk-MQ2CTQPN.js +33 -0
- package/dist/chunks/chunk-MQ6GP7EX.js +120 -0
- package/dist/chunks/chunk-MTGIATR3.js +108 -0
- package/dist/chunks/chunk-MU3HOWKP.js +62 -0
- package/dist/chunks/chunk-MXXAATXX.js +77 -0
- package/dist/chunks/chunk-MYUISXOO.js +260 -0
- package/dist/chunks/chunk-MZIXR6VF.js +161 -0
- package/dist/chunks/chunk-MZL6S2Q6.js +160 -0
- package/dist/chunks/chunk-N3R5EYST.js +170 -0
- package/dist/chunks/chunk-N5E7IOII.js +646 -0
- package/dist/chunks/chunk-N652KEJF.js +33 -0
- package/dist/chunks/chunk-N77LLMN4.js +109 -0
- package/dist/chunks/chunk-N7FGRZH7.js +121 -0
- package/dist/chunks/chunk-N7QELHZD.js +23 -0
- package/dist/chunks/chunk-NADK3ZPZ.js +177 -0
- package/dist/chunks/chunk-NBGUWYGK.js +101 -0
- package/dist/chunks/chunk-NCOD4UFL.js +94 -0
- package/dist/chunks/chunk-NF7MPL4T.js +202 -0
- package/dist/chunks/chunk-NG6VXEEL.js +123 -0
- package/dist/chunks/chunk-NGR3QIJW.js +169 -0
- package/dist/chunks/chunk-NHDOQPUU.js +961 -0
- package/dist/chunks/chunk-NHGVB5WB.js +267 -0
- package/dist/chunks/chunk-NJCJ2GN3.js +84 -0
- package/dist/chunks/chunk-NLBDX563.js +197 -0
- package/dist/chunks/chunk-NLJNFR4D.js +109 -0
- package/dist/chunks/chunk-NLP7LQUA.js +200 -0
- package/dist/chunks/chunk-NLSBRC7R.js +41 -0
- package/dist/chunks/chunk-NOYHKOLE.js +106 -0
- package/dist/chunks/chunk-NP43XRCO.js +33 -0
- package/dist/chunks/chunk-NP7VUGFB.js +89 -0
- package/dist/chunks/chunk-NPZVIDKL.js +53 -0
- package/dist/chunks/chunk-NR3ETE6E.js +133 -0
- package/dist/chunks/chunk-NRBYOTD4.js +38 -0
- package/dist/chunks/chunk-NRNJPO47.js +312 -0
- package/dist/chunks/chunk-NRWQXLBS.js +112 -0
- package/dist/chunks/chunk-NRX7V5RS.js +84 -0
- package/dist/chunks/chunk-NWUOEY3N.js +86 -0
- package/dist/chunks/chunk-NZ6HG3ZK.js +130 -0
- package/dist/chunks/chunk-NZKVA5TS.js +163 -0
- package/dist/chunks/chunk-O2WJE5KA.js +23 -0
- package/dist/chunks/chunk-O2WKZUNJ.js +497 -0
- package/dist/chunks/chunk-O5XBCI4F.js +362 -0
- package/dist/chunks/chunk-O6WIL2TR.js +137 -0
- package/dist/chunks/chunk-OBSU3P4D.js +178 -0
- package/dist/chunks/chunk-OG3HYZLC.js +113 -0
- package/dist/chunks/chunk-OHLHOQJK.js +81 -0
- package/dist/chunks/chunk-OIMOWJFK.js +261 -0
- package/dist/chunks/chunk-OIUVYBZP.js +183 -0
- package/dist/chunks/chunk-OKKXZJBC.js +777 -0
- package/dist/chunks/chunk-OLD3GDSH.js +179 -0
- package/dist/chunks/chunk-OMT3HYIB.js +282 -0
- package/dist/chunks/chunk-ONS4NBZ7.js +48 -0
- package/dist/chunks/chunk-ONWWHEMU.js +181 -0
- package/dist/chunks/chunk-OOT4ZGYE.js +305 -0
- package/dist/chunks/chunk-OPDH6JAE.js +307 -0
- package/dist/chunks/chunk-ORVFMO2O.js +80 -0
- package/dist/chunks/chunk-OSMWZTAJ.js +298 -0
- package/dist/chunks/chunk-OTN6QTDG.js +83 -0
- package/dist/chunks/chunk-OV343S3D.js +179 -0
- package/dist/chunks/chunk-OVGMJABD.js +33 -0
- package/dist/chunks/chunk-OVYJELTT.js +42 -0
- package/dist/chunks/chunk-OXKHXV7J.js +270 -0
- package/dist/chunks/chunk-OYOIIYGW.js +156 -0
- package/dist/chunks/chunk-OYTEIUMU.js +123 -0
- package/dist/chunks/chunk-OZ4NCP2D.js +33 -0
- package/dist/chunks/chunk-P2FUPFA5.js +217 -0
- package/dist/chunks/chunk-P43YJHNK.js +79 -0
- package/dist/chunks/chunk-P4IE7MK5.js +45 -0
- package/dist/chunks/chunk-P567523H.js +191 -0
- package/dist/chunks/chunk-PAO64QZA.js +250 -0
- package/dist/chunks/chunk-PCP4AT2W.js +44 -0
- package/dist/chunks/chunk-PCVYSBS4.js +122 -0
- package/dist/chunks/chunk-PD7POZC3.js +89 -0
- package/dist/chunks/chunk-PDA6U2CD.js +2168 -0
- package/dist/chunks/chunk-PDP4ZKX7.js +255 -0
- package/dist/chunks/chunk-PGU5K5D6.js +194 -0
- package/dist/chunks/chunk-PKOQZHV5.js +23 -0
- package/dist/chunks/chunk-PL5V5SSZ.js +106 -0
- package/dist/chunks/chunk-PMNTFGXM.js +112 -0
- package/dist/chunks/chunk-PN44HK4O.js +170 -0
- package/dist/chunks/chunk-PNCVGLRG.js +168 -0
- package/dist/chunks/chunk-PNGSRART.js +23 -0
- package/dist/chunks/chunk-POXVW3DV.js +74 -0
- package/dist/chunks/chunk-PP2ILW3M.js +156 -0
- package/dist/chunks/chunk-PQALLIVU.js +101 -0
- package/dist/chunks/chunk-PQDTQODZ.js +190 -0
- package/dist/chunks/chunk-PR6GSYWJ.js +327 -0
- package/dist/chunks/chunk-PSFAKL53.js +45 -0
- package/dist/chunks/chunk-PT5NRFFL.js +83 -0
- package/dist/chunks/chunk-PU7TLYYE.js +183 -0
- package/dist/chunks/chunk-PUK6FD7A.js +83 -0
- package/dist/chunks/chunk-PVFGJIK3.js +342 -0
- package/dist/chunks/chunk-PW3WJB2P.js +81 -0
- package/dist/chunks/chunk-PYC7Y6IR.js +108 -0
- package/dist/chunks/chunk-Q2TO6EHO.js +161 -0
- package/dist/chunks/chunk-QCMMEGSQ.js +193 -0
- package/dist/chunks/chunk-QELYSHVC.js +848 -0
- package/dist/chunks/chunk-QFP7YT3C.js +206 -0
- package/dist/chunks/chunk-QGDBR4ME.js +375 -0
- package/dist/chunks/chunk-QIEFKU62.js +326 -0
- package/dist/chunks/chunk-QK2WWDFU.js +54 -0
- package/dist/chunks/chunk-QK5B2HBS.js +307 -0
- package/dist/chunks/chunk-QNGL2YY7.js +147 -0
- package/dist/chunks/chunk-QNH5VED3.js +163 -0
- package/dist/chunks/chunk-QNMAEHPB.js +91 -0
- package/dist/chunks/chunk-QPOFCXUH.js +172 -0
- package/dist/chunks/chunk-QRZV2OBO.js +45 -0
- package/dist/chunks/chunk-QSNKBA5O.js +33 -0
- package/dist/chunks/chunk-QTDG5OH6.js +87 -0
- package/dist/chunks/chunk-QTIJL5SP.js +232 -0
- package/dist/chunks/chunk-QTQNT4A5.js +194 -0
- package/dist/chunks/chunk-QUAV3GFT.js +128 -0
- package/dist/chunks/chunk-QV7GPU45.js +213 -0
- package/dist/chunks/chunk-QVW5TKRW.js +192 -0
- package/dist/chunks/chunk-QXOZSDFP.js +278 -0
- package/dist/chunks/chunk-R6RHMJIV.js +102 -0
- package/dist/chunks/chunk-R7SIFAMQ.js +1834 -0
- package/dist/chunks/chunk-R7UUCQTK.js +187 -0
- package/dist/chunks/chunk-RBHKH3GR.js +199 -0
- package/dist/chunks/chunk-RBODCCN2.js +50 -0
- package/dist/chunks/chunk-RD6OM3UD.js +146 -0
- package/dist/chunks/chunk-RDGZQJ2Q.js +130 -0
- package/dist/chunks/chunk-RDMJAWFN.js +52 -0
- package/dist/chunks/chunk-RG2WRCVL.js +13729 -0
- package/dist/chunks/chunk-RH3QDH23.js +368 -0
- package/dist/chunks/chunk-RH4QOO6B.js +81 -0
- package/dist/chunks/chunk-RHFDKKCY.js +103 -0
- package/dist/chunks/chunk-RHXETOKL.js +238 -0
- package/dist/chunks/chunk-RIUR42EK.js +33 -0
- package/dist/chunks/chunk-RKPX4IXW.js +104 -0
- package/dist/chunks/chunk-RLEVNE4Z.js +65 -0
- package/dist/chunks/chunk-RMAOXSOE.js +174 -0
- package/dist/chunks/chunk-RNHTCMLQ.js +149 -0
- package/dist/chunks/chunk-ROMAKG2E.js +104 -0
- package/dist/chunks/chunk-RUCVOIAV.js +215 -0
- package/dist/chunks/chunk-RVY2BDHJ.js +262 -0
- package/dist/chunks/chunk-S24JVUZ6.js +71 -0
- package/dist/chunks/chunk-S25JSO4I.js +777 -0
- package/dist/chunks/chunk-S2GAPDUX.js +167 -0
- package/dist/chunks/chunk-S32SEM2O.js +94 -0
- package/dist/chunks/chunk-S52F63L3.js +33 -0
- package/dist/chunks/chunk-SAALMHAN.js +78 -0
- package/dist/chunks/chunk-SFGXZQHH.js +122 -0
- package/dist/chunks/chunk-SFRJBBEB.js +184 -0
- package/dist/chunks/chunk-SHMG4674.js +220 -0
- package/dist/chunks/chunk-SIZZ4USN.js +23 -0
- package/dist/chunks/chunk-SKBC5QRP.js +97 -0
- package/dist/chunks/chunk-SL5OW5MG.js +169 -0
- package/dist/chunks/chunk-SLGS6HKX.js +224 -0
- package/dist/chunks/chunk-SMJG2MGE.js +23 -0
- package/dist/chunks/chunk-SNIZSVCC.js +55 -0
- package/dist/chunks/chunk-SPT36YLL.js +36 -0
- package/dist/chunks/chunk-SQAXRHYK.js +123 -0
- package/dist/chunks/chunk-SRASDDYT.js +170 -0
- package/dist/chunks/chunk-STEWM7QO.js +108 -0
- package/dist/chunks/chunk-SV2STDY7.js +131 -0
- package/dist/chunks/chunk-SWM6YBYV.js +361 -0
- package/dist/chunks/chunk-SX7VOT2N.js +152 -0
- package/dist/chunks/chunk-T4B7SBSK.js +85 -0
- package/dist/chunks/chunk-T5CNKOPQ.js +261 -0
- package/dist/chunks/chunk-T5QJJYEC.js +101 -0
- package/dist/chunks/chunk-T6QUY7ML.js +324 -0
- package/dist/chunks/chunk-T7A53G4A.js +248 -0
- package/dist/chunks/chunk-TASTW64R.js +82 -0
- package/dist/chunks/chunk-TAZSGYEF.js +138 -0
- package/dist/chunks/chunk-TCVEFD2V.js +166 -0
- package/dist/chunks/chunk-TDQYYA5V.js +23 -0
- package/dist/chunks/chunk-TF323EOK.js +115 -0
- package/dist/chunks/chunk-TFFUBL3N.js +60 -0
- package/dist/chunks/chunk-THKBYEMN.js +147 -0
- package/dist/chunks/chunk-THZGQSWE.js +23 -0
- package/dist/chunks/chunk-TI7VRB6R.js +33 -0
- package/dist/chunks/chunk-TIKUHYZ3.js +77 -0
- package/dist/chunks/chunk-TIL6LFVN.js +10754 -0
- package/dist/chunks/chunk-TJD2HRUF.js +80 -0
- package/dist/chunks/chunk-TLPYI2NI.js +190 -0
- package/dist/chunks/chunk-TM4MU7TO.js +360 -0
- package/dist/chunks/chunk-TP7IPISR.js +93 -0
- package/dist/chunks/chunk-TQXSOQCP.js +94 -0
- package/dist/chunks/chunk-TRN6LKBZ.js +242 -0
- package/dist/chunks/chunk-TS3ZKPA2.js +131 -0
- package/dist/chunks/chunk-TSZB27DR.js +260 -0
- package/dist/chunks/chunk-TTIKCSEB.js +105 -0
- package/dist/chunks/chunk-TVKRIRV7.js +175 -0
- package/dist/chunks/chunk-TW6NSSXK.js +410 -0
- package/dist/chunks/chunk-TWKL45WS.js +45 -0
- package/dist/chunks/chunk-TWMSBQJM.js +209 -0
- package/dist/chunks/chunk-TWYLXC6K.js +358 -0
- package/dist/chunks/chunk-TX22URYR.js +221 -0
- package/dist/chunks/chunk-TXLM2BMO.js +44 -0
- package/dist/chunks/chunk-TZQA7OE4.js +102 -0
- package/dist/chunks/chunk-U2CUXMI2.js +176 -0
- package/dist/chunks/chunk-U7RB6KDH.js +237 -0
- package/dist/chunks/chunk-UBRDEHN4.js +121 -0
- package/dist/chunks/chunk-UC67CFRN.js +315 -0
- package/dist/chunks/chunk-UCRHXKSH.js +262 -0
- package/dist/chunks/chunk-UF3GUQH5.js +30 -0
- package/dist/chunks/chunk-UFSGE63A.js +273 -0
- package/dist/chunks/chunk-UFZIN5SR.js +36 -0
- package/dist/chunks/chunk-UGSPAT3B.js +197 -0
- package/dist/chunks/chunk-UIPZR5MF.js +344 -0
- package/dist/chunks/chunk-UKPNJFQ3.js +200 -0
- package/dist/chunks/chunk-ULNKEGLN.js +149 -0
- package/dist/chunks/chunk-UNEXZIT4.js +130 -0
- package/dist/chunks/chunk-UNKG3YKJ.js +201 -0
- package/dist/chunks/chunk-UR6GM5BR.js +23 -0
- package/dist/chunks/chunk-UXA6Q2YM.js +135 -0
- package/dist/chunks/chunk-UYZVM67B.js +98 -0
- package/dist/chunks/chunk-V37LUF5O.js +196 -0
- package/dist/chunks/chunk-V4YU4R34.js +228 -0
- package/dist/chunks/chunk-V5SFZSB4.js +239 -0
- package/dist/chunks/chunk-V66Z2LFI.js +224 -0
- package/dist/chunks/chunk-V7KUM3BX.js +171 -0
- package/dist/chunks/chunk-V7WEN5R6.js +79 -0
- package/dist/chunks/chunk-VAC3BEYR.js +77 -0
- package/dist/chunks/chunk-VBSA5JXF.js +290 -0
- package/dist/chunks/chunk-VBXMQVPV.js +94 -0
- package/dist/chunks/chunk-VEC2YS4Y.js +141 -0
- package/dist/chunks/chunk-VFKBU6WS.js +1309 -0
- package/dist/chunks/chunk-VGQFXFFC.js +88 -0
- package/dist/chunks/chunk-VHHVC3E7.js +366 -0
- package/dist/chunks/chunk-VIK5RVZO.js +143 -0
- package/dist/chunks/chunk-VIRE2IJM.js +23 -0
- package/dist/chunks/chunk-VJ4PDTYT.js +139 -0
- package/dist/chunks/chunk-VLFL4ZR7.js +50 -0
- package/dist/chunks/chunk-VLPKE5OM.js +33 -0
- package/dist/chunks/chunk-VMEIJMND.js +304 -0
- package/dist/chunks/chunk-VMXKPZKD.js +23 -0
- package/dist/chunks/chunk-VNVQCXES.js +83 -0
- package/dist/chunks/chunk-VO2G6W4R.js +49 -0
- package/dist/chunks/chunk-VOJ32H27.js +336 -0
- package/dist/chunks/chunk-VQMJYJNV.js +1307 -0
- package/dist/chunks/chunk-VQPABUEC.js +366 -0
- package/dist/chunks/chunk-VQYOV3MN.js +73 -0
- package/dist/chunks/chunk-VRTGUNT2.js +33 -0
- package/dist/chunks/chunk-VVRIX3LG.js +338 -0
- package/dist/chunks/chunk-VYXVXJF4.js +101 -0
- package/dist/chunks/chunk-VZXQIJXG.js +163 -0
- package/dist/chunks/chunk-W23BLXPT.js +78 -0
- package/dist/chunks/chunk-W2R45YDM.js +95 -0
- package/dist/chunks/chunk-W3EIUFJC.js +162 -0
- package/dist/chunks/chunk-W3NYXY5E.js +39 -0
- package/dist/chunks/chunk-W4YVZOAN.js +197 -0
- package/dist/chunks/chunk-W5B6TNG3.js +110 -0
- package/dist/chunks/chunk-W6B4KLZD.js +209 -0
- package/dist/chunks/chunk-W6ZIDU5T.js +99 -0
- package/dist/chunks/chunk-W7WUKI6F.js +75 -0
- package/dist/chunks/chunk-WB7T35FT.js +42 -0
- package/dist/chunks/chunk-WCLTLJZK.js +179 -0
- package/dist/chunks/chunk-WDOTTWO6.js +97 -0
- package/dist/chunks/chunk-WDSVR43E.js +111 -0
- package/dist/chunks/chunk-WE2HKGBH.js +652 -0
- package/dist/chunks/chunk-WEG75LIK.js +90 -0
- package/dist/chunks/chunk-WGH4CVYS.js +685 -0
- package/dist/chunks/chunk-WGQAKKZI.js +46 -0
- package/dist/chunks/chunk-WGVX6PXC.js +71 -0
- package/dist/chunks/chunk-WICLRDQZ.js +166 -0
- package/dist/chunks/chunk-WK62J56K.js +23 -0
- package/dist/chunks/chunk-WKKMXRUV.js +90 -0
- package/dist/chunks/chunk-WLLXSMNK.js +130 -0
- package/dist/chunks/chunk-WMJ4WBPI.js +655 -0
- package/dist/chunks/chunk-WNRSRDWM.js +165 -0
- package/dist/chunks/chunk-WORYGIZT.js +100 -0
- package/dist/chunks/chunk-WPXRIM5R.js +146 -0
- package/dist/chunks/chunk-WQ5B2GAD.js +115 -0
- package/dist/chunks/chunk-WQ74LRJI.js +160 -0
- package/dist/chunks/chunk-WQCDQOTJ.js +156 -0
- package/dist/chunks/chunk-WQOUZC4D.js +210 -0
- package/dist/chunks/chunk-WQQCF6NL.js +172 -0
- package/dist/chunks/chunk-WTKTLHOU.js +301 -0
- package/dist/chunks/chunk-WUTF3422.js +104 -0
- package/dist/chunks/chunk-WVOQOTWX.js +78 -0
- package/dist/chunks/chunk-WXI45JRY.js +165 -0
- package/dist/chunks/chunk-WY5UE33E.js +33 -0
- package/dist/chunks/chunk-X3HFUGD7.js +231 -0
- package/dist/chunks/chunk-X4ULTVQF.js +99 -0
- package/dist/chunks/chunk-X56FL55Q.js +76 -0
- package/dist/chunks/chunk-XBP6DUQY.js +79 -0
- package/dist/chunks/chunk-XBQCEVQW.js +129 -0
- package/dist/chunks/chunk-XCSO7XVS.js +55 -0
- package/dist/chunks/chunk-XDMBBQ44.js +247 -0
- package/dist/chunks/chunk-XDNFB4TS.js +206 -0
- package/dist/chunks/chunk-XF3B74OT.js +130 -0
- package/dist/chunks/chunk-XHG22X5P.js +134 -0
- package/dist/chunks/chunk-XHPPSQT7.js +97 -0
- package/dist/chunks/chunk-XJKYBDAO.js +282 -0
- package/dist/chunks/chunk-XKHIUVJ5.js +159 -0
- package/dist/chunks/chunk-XLCCAI5D.js +23 -0
- package/dist/chunks/chunk-XLHC7NTN.js +92 -0
- package/dist/chunks/chunk-XN325PUR.js +150 -0
- package/dist/chunks/chunk-XNNAHKAM.js +23 -0
- package/dist/chunks/chunk-XODZ6X7X.js +23 -0
- package/dist/chunks/chunk-XP6P2R3O.js +297 -0
- package/dist/chunks/chunk-XP7RQ2JB.js +195 -0
- package/dist/chunks/chunk-XPJSZBHK.js +73 -0
- package/dist/chunks/chunk-XPXPSPRM.js +86 -0
- package/dist/chunks/chunk-XQBS2VBJ.js +91 -0
- package/dist/chunks/chunk-XSCH7XGI.js +23 -0
- package/dist/chunks/chunk-XU3DX7AI.js +10311 -0
- package/dist/chunks/chunk-XVGGUBC4.js +589 -0
- package/dist/chunks/chunk-XXK45HVS.js +137 -0
- package/dist/chunks/chunk-XXSOKSUQ.js +231 -0
- package/dist/chunks/chunk-XZEBPBCM.js +198 -0
- package/dist/chunks/chunk-XZOSIBIM.js +1845 -0
- package/dist/chunks/chunk-XZW24X26.js +141 -0
- package/dist/chunks/chunk-Y3PZN3AX.js +36 -0
- package/dist/chunks/chunk-Y6KOUCGO.js +261 -0
- package/dist/chunks/chunk-Y77EGRF6.js +169 -0
- package/dist/chunks/chunk-Y7KZ5OF5.js +177 -0
- package/dist/chunks/chunk-YBKBHLEY.js +106 -0
- package/dist/chunks/chunk-YBUBOH3P.js +149 -0
- package/dist/chunks/chunk-YDLHRF4U.js +260 -0
- package/dist/chunks/chunk-YDXP4WTW.js +106 -0
- package/dist/chunks/chunk-YEO34X3A.js +160 -0
- package/dist/chunks/chunk-YETU2A7I.js +224 -0
- package/dist/chunks/chunk-YFESMKQQ.js +71 -0
- package/dist/chunks/chunk-YGKTGJM2.js +41 -0
- package/dist/chunks/chunk-YH3SSR6G.js +128 -0
- package/dist/chunks/chunk-YIW5VSFK.js +120 -0
- package/dist/chunks/chunk-YJ6LEU2J.js +78 -0
- package/dist/chunks/chunk-YJEHJEX4.js +47 -0
- package/dist/chunks/chunk-YKIKRJ74.js +84 -0
- package/dist/chunks/chunk-YLGRUDW6.js +166 -0
- package/dist/chunks/chunk-YLWIXBTK.js +118 -0
- package/dist/chunks/chunk-YM6PJXNQ.js +298 -0
- package/dist/chunks/chunk-YNB5QZDP.js +49 -0
- package/dist/chunks/chunk-YQX3IV5C.js +214 -0
- package/dist/chunks/chunk-YVWMVSVP.js +283 -0
- package/dist/chunks/chunk-YXUBN6Z7.js +129 -0
- package/dist/chunks/chunk-YXVXP4MG.js +218 -0
- package/dist/chunks/chunk-YZLW4DFE.js +305 -0
- package/dist/chunks/chunk-Z2HJGR3A.js +209 -0
- package/dist/chunks/chunk-Z65YVTIN.js +30 -0
- package/dist/chunks/chunk-ZBNBRVIV.js +45 -0
- package/dist/chunks/chunk-ZDWEIQIE.js +240 -0
- package/dist/chunks/chunk-ZEKCLU2L.js +88 -0
- package/dist/chunks/chunk-ZFDDNQCQ.js +311 -0
- package/dist/chunks/chunk-ZGQMKX4X.js +36 -0
- package/dist/chunks/chunk-ZHW574NT.js +45 -0
- package/dist/chunks/chunk-ZITOQAQM.js +274 -0
- package/dist/chunks/chunk-ZJ5QPIBV.js +115 -0
- package/dist/chunks/chunk-ZJQK6N6E.js +165 -0
- package/dist/chunks/chunk-ZNQEAZWK.js +36 -0
- package/dist/chunks/chunk-ZOZ3V5DX.js +111 -0
- package/dist/chunks/chunk-ZPBD3O7T.js +91 -0
- package/dist/chunks/chunk-ZQFETLUJ.js +122 -0
- package/dist/chunks/chunk-ZQXUZNCB.js +71 -0
- package/dist/chunks/chunk-ZSSYBVOB.js +164 -0
- package/dist/chunks/chunk-ZT6SX43S.js +115 -0
- package/dist/chunks/chunk-ZTAOLM7L.js +79 -0
- package/dist/chunks/chunk-ZU2G72GQ.js +157 -0
- package/dist/chunks/chunk-ZVNMHMKW.js +195 -0
- package/dist/chunks/chunk-ZXWPGQM2.js +45 -0
- package/dist/chunks/chunk-ZYKXKIJQ.js +157 -0
- package/dist/chunks/chunk-ZZOVEG7Y.js +256 -0
- package/dist/chunks/client-CUSZUCKL.js +168 -0
- package/dist/chunks/client-P2N4HJDI.js +31 -0
- package/dist/chunks/client-URK3YYVX.js +47 -0
- package/dist/chunks/client-actions-BVZPKYVU.js +170 -0
- package/dist/chunks/components-D2X2JWWH.js +78 -0
- package/dist/chunks/dangerous-VLYOJ64W.js +124 -0
- package/dist/chunks/delete-current-file-3O3ZC5TD.js +163 -0
- package/dist/chunks/dispatch-C2VG6SFM.js +21 -0
- package/dist/chunks/editor-seams-FDXTVQME.js +183 -0
- package/dist/chunks/editor-store-U3IBR5IB.js +148 -0
- package/dist/chunks/export-5OCOY5YP.js +67 -0
- package/dist/chunks/export-watermark-7V6Q2WDH.js +157 -0
- package/dist/chunks/eyedropper-E3CPFXF3.js +355 -0
- package/dist/chunks/generate-media-SINWPAL2.js +255 -0
- package/dist/chunks/host-LX5BAIAO.js +184 -0
- package/dist/chunks/host-ZCLOZGK7.js +246 -0
- package/dist/chunks/integrations-4D5N2HJ4.js +125 -0
- package/dist/chunks/libraries-UCNQ7N5Q.js +311 -0
- package/dist/chunks/library-previews-SYFKURM3.js +206 -0
- package/dist/chunks/live-H7TONE3V.js +322 -0
- package/dist/chunks/lottie-WJENERSB.js +91 -0
- package/dist/chunks/media-tool-ZZEYSUGK.js +237 -0
- package/dist/chunks/new-file-BVZJRZQ6.js +140 -0
- package/dist/chunks/next-commerce-5KRQYQY5.js +74 -0
- package/dist/chunks/pdf-LJ4WTABV.js +1218 -0
- package/dist/chunks/player-check-2PQRKOPH.js +119 -0
- package/dist/chunks/plugin-GLJN2F4L.js +131 -0
- package/dist/chunks/plugin-import-O7GNJMV2.js +692 -0
- package/dist/chunks/pptx-ULKYOQQZ.js +307 -0
- package/dist/chunks/presence-UBWVP6PY.js +137 -0
- package/dist/chunks/preview-media-2J6ZTIYU.js +129 -0
- package/dist/chunks/project-TLJSABZU.js +1601 -0
- package/dist/chunks/publish-site-TW46EWEK.js +167 -0
- package/dist/chunks/publish-store-BDAQYXHD.js +100 -0
- package/dist/chunks/raster-actions-HC5OLH3T.js +233 -0
- package/dist/chunks/reference-images-FWIKE3UF.js +62 -0
- package/dist/chunks/registry-IWH5W2YN.js +45 -0
- package/dist/chunks/resolvers-Z3GFIWPW.js +150 -0
- package/dist/chunks/runner-7IOB2RD3.js +3546 -0
- package/dist/chunks/shader-preview-5NMWMVRW.js +1 -1
- package/dist/chunks/store-A7CHGORL.js +235 -0
- package/dist/chunks/storefront-L3R5KFQ4.js +336 -0
- package/dist/chunks/storefront-prepare-NS6G6MMT.js +33 -0
- package/dist/chunks/svg-export-SXF3SN5D.js +84 -0
- package/dist/chunks/sync-SYCWFNRY.js +162 -0
- package/dist/chunks/tabs-VSF6YMCN.js +320 -0
- package/dist/chunks/team-6CKYUXXU.js +47 -0
- package/dist/chunks/team-client-6RLJ7MYM.js +158 -0
- package/dist/chunks/templates-VVC7NNE2.js +183 -0
- package/dist/chunks/tools-QK7JZ2JQ.js +37 -0
- package/dist/chunks/tree-FCCI3I2H.js +83 -0
- package/dist/chunks/ui-commands-IFHCVB6M.js +191 -0
- package/dist/chunks/versions-QKCND6B2.js +320 -0
- package/dist/chunks/video-CBPUIGXR.js +1 -1
- package/dist/chunks/web-E3ZJWOGA.js +186 -0
- package/dist/index.js +8 -7
- package/dist/lib/templates/capabilities.js +5 -4
- package/dist/lib/templates/finish.js +6 -5
- package/dist/migrations/index.js +8 -7
- package/dist/migrations/timeline-facets.js +8 -7
- package/dist/templates/anime/character.js +9 -8
- package/dist/templates/anime/duel.js +11 -10
- package/dist/templates/anime/morning.js +11 -10
- package/dist/templates/anime/rain.js +11 -10
- package/dist/templates/anime/shared.js +10 -9
- package/dist/templates/anime/starlight.js +11 -10
- package/dist/templates/anime/titan.js +11 -10
- package/dist/templates/app/festival-presale-electronic-ticket.js +10 -9
- package/dist/templates/app/festival-presale-family-ticket.js +10 -9
- package/dist/templates/app/festival-presale-folk-ticket.js +10 -9
- package/dist/templates/app/festival-presale-food-ticket.js +10 -9
- package/dist/templates/app/festival-presale-jazz-ticket.js +10 -9
- package/dist/templates/app/festival-presale-street-ticket.js +10 -9
- package/dist/templates/app/music-grove.js +8 -7
- package/dist/templates/app/music-nightline.js +8 -7
- package/dist/templates/app/music-orbit.js +8 -7
- package/dist/templates/app/music-undertow.js +8 -7
- package/dist/templates/app/onboarding-carousel.js +8 -7
- package/dist/templates/app/saas-store-paywall.js +8 -7
- package/dist/templates/app/splash.js +8 -7
- package/dist/templates/app/success-confetti.js +8 -7
- package/dist/templates/app/tour-tickets-june-ticket.js +8 -7
- package/dist/templates/app/tour-tickets-tide-ticket.js +8 -7
- package/dist/templates/app/tour-tickets-wreck-ticket.js +8 -7
- package/dist/templates/build.js +7 -6
- package/dist/templates/cards/index.js +10 -9
- package/dist/templates/cards/shared.js +8 -7
- package/dist/templates/cards/themes.js +9 -8
- package/dist/templates/count.js +5 -4
- package/dist/templates/data/bars.js +8 -7
- package/dist/templates/data/countdown-story.js +8 -7
- package/dist/templates/data/counters.js +8 -7
- package/dist/templates/data/donut.js +8 -7
- package/dist/templates/data/line.js +8 -7
- package/dist/templates/data/year-in-review.js +8 -7
- package/dist/templates/effects/glass-intro.js +8 -7
- package/dist/templates/effects/glass-promo.js +8 -7
- package/dist/templates/effects/grain-story.js +8 -7
- package/dist/templates/effects/grid-intro.js +8 -7
- package/dist/templates/effects/halftone-story.js +8 -7
- package/dist/templates/effects/mesh-story.js +8 -7
- package/dist/templates/effects/shader-title.js +8 -7
- package/dist/templates/email/april-fools-header.js +8 -7
- package/dist/templates/email/art-deco-invitation.js +8 -7
- package/dist/templates/email/autumn-harvest-header.js +8 -7
- package/dist/templates/email/back-to-school-header.js +8 -7
- package/dist/templates/email/black-friday-coupons-header.js +8 -7
- package/dist/templates/email/black-friday-header.js +8 -7
- package/dist/templates/email/black-friday-neon-header.js +8 -7
- package/dist/templates/email/black-friday-scratch-header.js +8 -7
- package/dist/templates/email/black-friday-ticker-header.js +8 -7
- package/dist/templates/email/broadsheet-weekly-edition-header.js +8 -7
- package/dist/templates/email/claymation-header.js +8 -7
- package/dist/templates/email/countdown-gif.js +8 -7
- package/dist/templates/email/cyberpunk-header.js +8 -7
- package/dist/templates/email/diwali-header.js +8 -7
- package/dist/templates/email/earth-day-header.js +8 -7
- package/dist/templates/email/festival-presale-electronic-header.js +10 -9
- package/dist/templates/email/festival-presale-family-header.js +10 -9
- package/dist/templates/email/festival-presale-folk-header.js +10 -9
- package/dist/templates/email/festival-presale-food-header.js +10 -9
- package/dist/templates/email/festival-presale-jazz-header.js +10 -9
- package/dist/templates/email/festival-presale-street-header.js +10 -9
- package/dist/templates/email/gothic-header.js +8 -7
- package/dist/templates/email/halloween-header.js +8 -7
- package/dist/templates/email/header-launch.js +8 -7
- package/dist/templates/email/header-newsletter.js +8 -7
- package/dist/templates/email/header-sale.js +8 -7
- package/dist/templates/email/lunar-new-year-header.js +8 -7
- package/dist/templates/email/manuscript-chronicle-header.js +8 -7
- package/dist/templates/email/new-year-header.js +8 -7
- package/dist/templates/email/noir-header.js +8 -7
- package/dist/templates/email/psychedelic-header.js +8 -7
- package/dist/templates/email/riso-zine-changelog-header.js +8 -7
- package/dist/templates/email/saas-mail-changelog.js +10 -9
- package/dist/templates/email/saas-mail-day-one.js +10 -9
- package/dist/templates/email/saas-mail-day-three.js +10 -9
- package/dist/templates/email/saas-mail-launch.js +10 -9
- package/dist/templates/email/saas-mail-payment-failed.js +10 -9
- package/dist/templates/email/saas-mail-sign-in-code.js +10 -9
- package/dist/templates/email/saas-mail-trial-ending.js +10 -9
- package/dist/templates/email/saas-mail-waitlist.js +10 -9
- package/dist/templates/email/singles-day-header.js +8 -7
- package/dist/templates/email/solarpunk-header.js +8 -7
- package/dist/templates/email/space-opera-header.js +8 -7
- package/dist/templates/email/spring-bloom-header.js +8 -7
- package/dist/templates/email/style-bento-header.js +8 -7
- package/dist/templates/email/style-brutalist-header.js +8 -7
- package/dist/templates/email/style-dark-header.js +8 -7
- package/dist/templates/email/style-data-header.js +8 -7
- package/dist/templates/email/style-editorial-header.js +8 -7
- package/dist/templates/email/style-glass-header.js +8 -7
- package/dist/templates/email/style-gradient-header.js +8 -7
- package/dist/templates/email/style-maximal-header.js +8 -7
- package/dist/templates/email/style-pastel-header.js +8 -7
- package/dist/templates/email/style-sketch-header.js +8 -7
- package/dist/templates/email/style-swiss-header.js +8 -7
- package/dist/templates/email/style-terminal-header.js +8 -7
- package/dist/templates/email/summer-heatwave-header.js +8 -7
- package/dist/templates/email/tour-tickets-june-header.js +8 -7
- package/dist/templates/email/tour-tickets-tide-header.js +8 -7
- package/dist/templates/email/tour-tickets-wreck-header.js +8 -7
- package/dist/templates/email/transit-map-service-update.js +8 -7
- package/dist/templates/email/ukiyo-e-greeting-header.js +8 -7
- package/dist/templates/email/valentines-header.js +8 -7
- package/dist/templates/email/winter-cosy-header.js +8 -7
- package/dist/templates/email/winter-holidays-header.js +8 -7
- package/dist/templates/game/blossom-bash-puzzle.js +8 -7
- package/dist/templates/game/deckbound-roguelike.js +8 -7
- package/dist/templates/game/emberfall-rpg.js +8 -7
- package/dist/templates/game/hearthmoor-farm.js +8 -7
- package/dist/templates/game/index.js +21 -20
- package/dist/templates/game/iron-lotus-fighter.js +8 -7
- package/dist/templates/game/ironroot-rts.js +8 -7
- package/dist/templates/game/mossy-hollow-platformer.js +10 -9
- package/dist/templates/game/neon-apex-racing.js +8 -7
- package/dist/templates/game/platformer.js +9 -8
- package/dist/templates/game/pulse-riot-rhythm.js +8 -7
- package/dist/templates/game/sprout-quest-pixel-platformer.js +10 -9
- package/dist/templates/game/vanta-fps.js +8 -7
- package/dist/templates/index.js +826 -825
- package/dist/templates/kinetic/letters.js +8 -7
- package/dist/templates/kinetic/lines.js +8 -7
- package/dist/templates/kinetic/typewriter.js +8 -7
- package/dist/templates/kinetic/word-swap.js +8 -7
- package/dist/templates/kinetic/words.js +8 -7
- package/dist/templates/libraries/audio-reactive.js +8 -7
- package/dist/templates/libraries/loaders.js +8 -7
- package/dist/templates/libraries/micro-interactions.js +8 -7
- package/dist/templates/libraries/motion-essentials.js +8 -7
- package/dist/templates/libraries/toasts.js +8 -7
- package/dist/templates/lottie/ai.js +9 -8
- package/dist/templates/lottie/climate.js +9 -8
- package/dist/templates/lottie/commerce.js +9 -8
- package/dist/templates/lottie/education.js +9 -8
- package/dist/templates/lottie/fintech.js +9 -8
- package/dist/templates/lottie/food.js +9 -8
- package/dist/templates/lottie/health.js +9 -8
- package/dist/templates/lottie/index.js +33 -32
- package/dist/templates/lottie/lottie-kit.js +8 -7
- package/dist/templates/lottie/realestate.js +9 -8
- package/dist/templates/lottie/saas-ui-checklist.js +10 -9
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +10 -9
- package/dist/templates/lottie/saas-ui-empty-data.js +10 -9
- package/dist/templates/lottie/saas-ui-empty-search.js +10 -9
- package/dist/templates/lottie/saas-ui-error-retry.js +10 -9
- package/dist/templates/lottie/saas-ui-file-upload.js +10 -9
- package/dist/templates/lottie/saas-ui-streaming-answer.js +10 -9
- package/dist/templates/lottie/saas-ui-sync-connected.js +10 -9
- package/dist/templates/lottie/saas-ui-trial-timeline.js +10 -9
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +10 -9
- package/dist/templates/lottie/saas-ui.js +20 -19
- package/dist/templates/lottie/saas.js +9 -8
- package/dist/templates/lottie/security.js +9 -8
- package/dist/templates/lottie/techniques.js +9 -8
- package/dist/templates/lottie/travel.js +9 -8
- package/dist/templates/motion/ai-trailer/index.js +8 -7
- package/dist/templates/motion/ambient-loop.js +8 -7
- package/dist/templates/motion/app-icon-sting.js +8 -7
- package/dist/templates/motion/april-fools-infomercial-reel.js +8 -7
- package/dist/templates/motion/arcade-high-score.js +8 -7
- package/dist/templates/motion/art-deco-grand-opening.js +8 -7
- package/dist/templates/motion/autumn-harvest-year-reel.js +8 -7
- package/dist/templates/motion/back-to-school-timetable-reel.js +8 -7
- package/dist/templates/motion/bauhaus-launch-reel.js +8 -7
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +8 -7
- package/dist/templates/motion/black-friday-coupons-last-day.js +8 -7
- package/dist/templates/motion/black-friday-deal-drop.js +8 -7
- package/dist/templates/motion/black-friday-neon-deal-reel.js +8 -7
- package/dist/templates/motion/black-friday-neon-last-day.js +8 -7
- package/dist/templates/motion/black-friday-scratch-countdown.js +8 -7
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +8 -7
- package/dist/templates/motion/black-friday-scratch-last-day.js +8 -7
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +8 -7
- package/dist/templates/motion/black-friday-ticker-last-call.js +8 -7
- package/dist/templates/motion/blueprint-rev-b-reel.js +8 -7
- package/dist/templates/motion/broadsheet-launch-reel.js +8 -7
- package/dist/templates/motion/broadsheet-milestone-post.js +8 -7
- package/dist/templates/motion/claymation-launch-reel.js +8 -7
- package/dist/templates/motion/comic-book-issue-reel.js +8 -7
- package/dist/templates/motion/countdown.js +8 -7
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +8 -7
- package/dist/templates/motion/departure-board-reel.js +8 -7
- package/dist/templates/motion/diwali-lamps-reel.js +8 -7
- package/dist/templates/motion/earth-day-footprint-reel.js +8 -7
- package/dist/templates/motion/earth-day-pledge-post.js +8 -7
- package/dist/templates/motion/festival-presale-electronic-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-electronic-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-electronic-reel.js +10 -9
- package/dist/templates/motion/festival-presale-electronic-tier.js +10 -9
- package/dist/templates/motion/festival-presale-family-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-family-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-family-reel.js +10 -9
- package/dist/templates/motion/festival-presale-family-tier.js +10 -9
- package/dist/templates/motion/festival-presale-folk-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-folk-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-folk-reel.js +10 -9
- package/dist/templates/motion/festival-presale-folk-tier.js +10 -9
- package/dist/templates/motion/festival-presale-food-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-food-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-food-reel.js +10 -9
- package/dist/templates/motion/festival-presale-food-tier.js +10 -9
- package/dist/templates/motion/festival-presale-jazz-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-jazz-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-jazz-reel.js +10 -9
- package/dist/templates/motion/festival-presale-jazz-tier.js +10 -9
- package/dist/templates/motion/festival-presale-street-countdown.js +10 -9
- package/dist/templates/motion/festival-presale-street-lineup.js +10 -9
- package/dist/templates/motion/festival-presale-street-reel.js +10 -9
- package/dist/templates/motion/festival-presale-street-tier.js +10 -9
- package/dist/templates/motion/gothic-launch-reel.js +8 -7
- package/dist/templates/motion/halloween-graveyard-reel.js +8 -7
- package/dist/templates/motion/instagram-promo.js +8 -7
- package/dist/templates/motion/kinetic-headline.js +8 -7
- package/dist/templates/motion/landing-hero/index.js +10 -9
- package/dist/templates/motion/launch-trailer/document.js +826 -825
- package/dist/templates/motion/launch-trailer/index.js +10 -9
- package/dist/templates/motion/launch-trailer/scenes.js +9 -8
- package/dist/templates/motion/logo-reveal.js +8 -7
- package/dist/templates/motion/lower-third.js +8 -7
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +8 -7
- package/dist/templates/motion/machined-trailer.js +8 -7
- package/dist/templates/motion/manuscript-launch-reel.js +8 -7
- package/dist/templates/motion/new-year-ball-drop-reel.js +8 -7
- package/dist/templates/motion/noir-case-reel.js +8 -7
- package/dist/templates/motion/pitch-title.js +8 -7
- package/dist/templates/motion/psychedelic-gig-reel.js +8 -7
- package/dist/templates/motion/riso-zine-launch-reel.js +8 -7
- package/dist/templates/motion/saas-ai-prompt.js +8 -7
- package/dist/templates/motion/saas-before-after.js +8 -7
- package/dist/templates/motion/saas-changelog-drop.js +8 -7
- package/dist/templates/motion/saas-film-webinar-opener.js +8 -7
- package/dist/templates/motion/saas-hook-features.js +8 -7
- package/dist/templates/motion/saas-mrr-milestone.js +8 -7
- package/dist/templates/motion/saas-screen-demo.js +8 -7
- package/dist/templates/motion/saas-store-install-ad.js +8 -7
- package/dist/templates/motion/saas-testimonial.js +8 -7
- package/dist/templates/motion/saas-vs-comparison.js +8 -7
- package/dist/templates/motion/singles-day-flash-post.js +8 -7
- package/dist/templates/motion/singles-day-live-reel.js +8 -7
- package/dist/templates/motion/smooth-loop.js +8 -7
- package/dist/templates/motion/solarpunk-rooftop-reel.js +8 -7
- package/dist/templates/motion/space-opera-countdown-reel.js +8 -7
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +8 -7
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +8 -7
- package/dist/templates/motion/stat-pop.js +8 -7
- package/dist/templates/motion/style-bento-feature-demo.js +8 -7
- package/dist/templates/motion/style-bento-launch-reel.js +8 -7
- package/dist/templates/motion/style-brutalist-feature-demo.js +8 -7
- package/dist/templates/motion/style-brutalist-launch-reel.js +8 -7
- package/dist/templates/motion/style-dark-feature-demo.js +8 -7
- package/dist/templates/motion/style-dark-launch-reel.js +8 -7
- package/dist/templates/motion/style-data-feature-demo.js +8 -7
- package/dist/templates/motion/style-data-launch-reel.js +8 -7
- package/dist/templates/motion/style-editorial-feature-demo.js +8 -7
- package/dist/templates/motion/style-editorial-launch-reel.js +8 -7
- package/dist/templates/motion/style-glass-feature-demo.js +8 -7
- package/dist/templates/motion/style-glass-launch-reel.js +8 -7
- package/dist/templates/motion/style-gradient-feature-demo.js +8 -7
- package/dist/templates/motion/style-gradient-launch-reel.js +8 -7
- package/dist/templates/motion/style-maximal-beat-cut.js +8 -7
- package/dist/templates/motion/style-maximal-feature-demo.js +8 -7
- package/dist/templates/motion/style-maximal-launch-reel.js +8 -7
- package/dist/templates/motion/style-pastel-feature-demo.js +8 -7
- package/dist/templates/motion/style-pastel-launch-reel.js +8 -7
- package/dist/templates/motion/style-sketch-feature-demo.js +8 -7
- package/dist/templates/motion/style-sketch-launch-reel.js +8 -7
- package/dist/templates/motion/style-swiss-feature-demo.js +8 -7
- package/dist/templates/motion/style-swiss-launch-reel.js +8 -7
- package/dist/templates/motion/style-terminal-feature-demo.js +8 -7
- package/dist/templates/motion/style-terminal-launch-reel.js +8 -7
- package/dist/templates/motion/summer-heatwave-lido-reel.js +8 -7
- package/dist/templates/motion/template-wall.js +8 -7
- package/dist/templates/motion/title-card-3d.js +8 -7
- package/dist/templates/motion/tour-tickets-june-city.js +8 -7
- package/dist/templates/motion/tour-tickets-june-dates.js +8 -7
- package/dist/templates/motion/tour-tickets-june-final.js +8 -7
- package/dist/templates/motion/tour-tickets-june-reel.js +8 -7
- package/dist/templates/motion/tour-tickets-tide-city.js +8 -7
- package/dist/templates/motion/tour-tickets-tide-dates.js +8 -7
- package/dist/templates/motion/tour-tickets-tide-final.js +8 -7
- package/dist/templates/motion/tour-tickets-tide-reel.js +8 -7
- package/dist/templates/motion/tour-tickets-wreck-city.js +8 -7
- package/dist/templates/motion/tour-tickets-wreck-dates.js +8 -7
- package/dist/templates/motion/tour-tickets-wreck-final.js +8 -7
- package/dist/templates/motion/tour-tickets-wreck-reel.js +8 -7
- package/dist/templates/motion/transit-map-line-opening.js +8 -7
- package/dist/templates/motion/transit-map-milestone-post.js +8 -7
- package/dist/templates/motion/ukiyo-e-launch-reel.js +8 -7
- package/dist/templates/motion/valentines-breakup-reel.js +8 -7
- package/dist/templates/motion/vaporwave-launch-reel.js +8 -7
- package/dist/templates/motion/winter-cosy-heads-down-post.js +8 -7
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +8 -7
- package/dist/templates/motion/winter-holidays-advent-reel.js +8 -7
- package/dist/templates/motion3d/app-store-preview.js +8 -7
- package/dist/templates/motion3d/before-after-swing.js +8 -7
- package/dist/templates/motion3d/burger-reveal.js +8 -7
- package/dist/templates/motion3d/coverflow.js +8 -7
- package/dist/templates/motion3d/exploded-ui.js +8 -7
- package/dist/templates/motion3d/feature-flip.js +8 -7
- package/dist/templates/motion3d/kinetic-reveal.js +8 -7
- package/dist/templates/motion3d/laptop-reveal.js +8 -7
- package/dist/templates/motion3d/logo-extrude.js +8 -7
- package/dist/templates/motion3d/parallax-cascade.js +8 -7
- package/dist/templates/motion3d/phone-orbit.js +8 -7
- package/dist/templates/motion3d/pricing-fan.js +8 -7
- package/dist/templates/motion3d/product-turntable.js +8 -7
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +8 -7
- package/dist/templates/motion3d/screen-wall.js +8 -7
- package/dist/templates/motion3d/vertical-promo.js +8 -7
- package/dist/templates/music/edm-drop.js +8 -7
- package/dist/templates/music/festival-lineup.js +8 -7
- package/dist/templates/music/hiphop-lyrics.js +8 -7
- package/dist/templates/music/indie-poster.js +8 -7
- package/dist/templates/music/lofi-loop.js +8 -7
- package/dist/templates/music/podcast-audiogram.js +8 -7
- package/dist/templates/music/synthwave-tunnel.js +8 -7
- package/dist/templates/print/comic-hero-cascade.js +8 -7
- package/dist/templates/print/comic-hero-chase.js +8 -7
- package/dist/templates/print/comic-hero-cover-modern.js +8 -7
- package/dist/templates/print/comic-hero-grid-break.js +8 -7
- package/dist/templates/print/comic-hero-interrogation.js +8 -7
- package/dist/templates/print/comic-hero-issue.js +19 -18
- package/dist/templates/print/comic-hero-manga-action.js +8 -7
- package/dist/templates/print/comic-hero-nested.js +8 -7
- package/dist/templates/print/comic-hero-overlap.js +8 -7
- package/dist/templates/print/comic-hero-parallel.js +8 -7
- package/dist/templates/print/comic-hero-pinup.js +8 -7
- package/dist/templates/print/comic-hero-widescreen.js +8 -7
- package/dist/templates/print/comic-modern-action-slant.js +8 -7
- package/dist/templates/print/comic-modern-cover-pulp.js +8 -7
- package/dist/templates/print/comic-modern-flashback.js +8 -7
- package/dist/templates/print/comic-modern-issue.js +17 -16
- package/dist/templates/print/comic-modern-nine-grid.js +8 -7
- package/dist/templates/print/comic-modern-page-classic.js +8 -7
- package/dist/templates/print/comic-modern-polyptych.js +8 -7
- package/dist/templates/print/comic-modern-radial.js +8 -7
- package/dist/templates/print/comic-modern-splash.js +8 -7
- package/dist/templates/print/comic-modern-spread.js +8 -7
- package/dist/templates/print/everyday-save-the-date.js +8 -7
- package/dist/templates/print/everyday-specials-board.js +8 -7
- package/dist/templates/print/holidays-christmas-church-newsletter.js +8 -7
- package/dist/templates/print/holidays-christmas-eve-invitation.js +8 -7
- package/dist/templates/print/holidays-christmas-gift-tags.js +8 -7
- package/dist/templates/print/holidays-diwali-party-invitation.js +8 -7
- package/dist/templates/print/holidays-easter-activity-sheet.js +8 -7
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +8 -7
- package/dist/templates/print/holidays-eid-dinner-invitation.js +8 -7
- package/dist/templates/print/holidays-eid-gift-tags.js +8 -7
- package/dist/templates/print/holidays-halloween-party-invitation.js +8 -7
- package/dist/templates/print/holidays-halloween-treat-labels.js +8 -7
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +8 -7
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +8 -7
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +8 -7
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +8 -7
- package/dist/templates/print/holidays-new-years-eve-poster.js +8 -7
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +8 -7
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +8 -7
- package/dist/templates/print/holidays-valentines-dinner-menu.js +8 -7
- package/dist/templates/print/knit-christmas-tree-sweater.js +8 -7
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +8 -7
- package/dist/templates/print/knit-snowflake-beanie.js +8 -7
- package/dist/templates/print/printshop-booklet-open-day.js +8 -7
- package/dist/templates/print/printshop-brochure-community.js +8 -7
- package/dist/templates/print/printshop-brochure-dental.js +8 -7
- package/dist/templates/print/printshop-brochure-gym.js +8 -7
- package/dist/templates/print/printshop-brochure-landscaping.js +8 -7
- package/dist/templates/print/printshop-brochure-travel.js +8 -7
- package/dist/templates/print/printshop-card-architect.js +8 -7
- package/dist/templates/print/printshop-card-barber.js +8 -7
- package/dist/templates/print/printshop-card-cafe.js +8 -7
- package/dist/templates/print/printshop-card-developer.js +8 -7
- package/dist/templates/print/printshop-card-florist.js +8 -7
- package/dist/templates/print/printshop-card-lawyer.js +8 -7
- package/dist/templates/print/printshop-card-photographer.js +8 -7
- package/dist/templates/print/printshop-card-plumber.js +8 -7
- package/dist/templates/print/printshop-card-realtor.js +8 -7
- package/dist/templates/print/printshop-card-yoga.js +8 -7
- package/dist/templates/print/printshop-flyer-charity-run.js +8 -7
- package/dist/templates/print/printshop-flyer-farmers-market.js +8 -7
- package/dist/templates/print/printshop-flyer-garage-sale.js +8 -7
- package/dist/templates/print/printshop-flyer-grand-opening.js +8 -7
- package/dist/templates/print/printshop-flyer-lost-pet.js +8 -7
- package/dist/templates/print/printshop-flyer-tutoring.js +8 -7
- package/dist/templates/print/printshop-flyer-yard-work.js +8 -7
- package/dist/templates/print/printshop-poster-live-music.js +8 -7
- package/dist/templates/print/studio-class-timetable-poster.js +8 -7
- package/dist/templates/print/studio-portfolio-booklet.js +8 -7
- package/dist/templates/saas/email-decks-shared.js +9 -8
- package/dist/templates/saas/email-decks.js +20 -19
- package/dist/templates/saas/index.js +191 -190
- package/dist/templates/saas/launch-kit.js +17 -16
- package/dist/templates/saas/launch-video.js +14 -13
- package/dist/templates/saas/lottie-shared.js +9 -8
- package/dist/templates/saas/stores.js +17 -16
- package/dist/templates/saas/style-bento.js +17 -16
- package/dist/templates/saas/style-brutalist.js +17 -16
- package/dist/templates/saas/style-dark.js +17 -16
- package/dist/templates/saas/style-data.js +17 -16
- package/dist/templates/saas/style-editorial.js +17 -16
- package/dist/templates/saas/style-glass.js +17 -16
- package/dist/templates/saas/style-gradient.js +17 -16
- package/dist/templates/saas/style-maximal.js +18 -17
- package/dist/templates/saas/style-pastel.js +17 -16
- package/dist/templates/saas/style-sketch.js +17 -16
- package/dist/templates/saas/style-swiss.js +17 -16
- package/dist/templates/saas/style-terminal.js +17 -16
- package/dist/templates/saas/video.js +16 -15
- package/dist/templates/saas/web.js +20 -19
- package/dist/templates/scenes/before-after.js +8 -7
- package/dist/templates/scenes/carousel-video.js +8 -7
- package/dist/templates/scenes/saas-film-app-preview.js +8 -7
- package/dist/templates/scenes/saas-film-bright-trailer.js +8 -7
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +8 -7
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +8 -7
- package/dist/templates/scenes/story-ad.js +8 -7
- package/dist/templates/scenes/story-bakery.js +8 -7
- package/dist/templates/scenes/story-fitness.js +8 -7
- package/dist/templates/scenes/story-hotel.js +8 -7
- package/dist/templates/scenes/transitions-pack.js +8 -7
- package/dist/templates/scenes/web-scroll.js +8 -7
- package/dist/templates/slides/agenda.js +9 -8
- package/dist/templates/slides/deck.js +8 -7
- package/dist/templates/slides/education.js +9 -8
- package/dist/templates/slides/launch.js +9 -8
- package/dist/templates/slides/layouts.js +9 -8
- package/dist/templates/slides/pitch.js +9 -8
- package/dist/templates/slides/report.js +9 -8
- package/dist/templates/slides/saas-mail-investor-update.js +10 -9
- package/dist/templates/slides/saas-mail-seed-pitch.js +10 -9
- package/dist/templates/slides/sales.js +9 -8
- package/dist/templates/slides/section-divider.js +9 -8
- package/dist/templates/slides/title-card.js +9 -8
- package/dist/templates/slides/training.js +9 -8
- package/dist/templates/slides/webinar.js +9 -8
- package/dist/templates/slideshow/adoption.js +9 -8
- package/dist/templates/slideshow/baby.js +9 -8
- package/dist/templates/slideshow/birthday.js +9 -8
- package/dist/templates/slideshow/graduation.js +9 -8
- package/dist/templates/slideshow/holiday.js +9 -8
- package/dist/templates/slideshow/home.js +9 -8
- package/dist/templates/slideshow/index.js +16 -15
- package/dist/templates/slideshow/lease.js +9 -8
- package/dist/templates/slideshow/memorial.js +9 -8
- package/dist/templates/slideshow/portfolio.js +9 -8
- package/dist/templates/slideshow/product.js +9 -8
- package/dist/templates/slideshow/recipe.js +9 -8
- package/dist/templates/slideshow/shared.js +8 -7
- package/dist/templates/slideshow/team.js +9 -8
- package/dist/templates/slideshow/travel.js +9 -8
- package/dist/templates/slideshow/wedding.js +9 -8
- package/dist/templates/slideshow/year.js +9 -8
- package/dist/templates/social/april-fools-link-preview.js +8 -7
- package/dist/templates/social/april-fools-price-slash-post.js +8 -7
- package/dist/templates/social/arcade-boss-fight.js +8 -7
- package/dist/templates/social/arcade-level-up.js +8 -7
- package/dist/templates/social/art-deco-link-preview.js +8 -7
- package/dist/templates/social/art-deco-premiere-post.js +8 -7
- package/dist/templates/social/autumn-harvest-link-preview.js +8 -7
- package/dist/templates/social/autumn-harvest-thanks-post.js +8 -7
- package/dist/templates/social/back-to-school-link-preview.js +8 -7
- package/dist/templates/social/back-to-school-report-card-post.js +8 -7
- package/dist/templates/social/bauhaus-drift-post.js +8 -7
- package/dist/templates/social/bauhaus-link-preview.js +8 -7
- package/dist/templates/social/bauhaus-pricing-post.js +8 -7
- package/dist/templates/social/black-friday-ads.js +8 -7
- package/dist/templates/social/black-friday-countdown.js +8 -7
- package/dist/templates/social/black-friday-coupons-ads.js +8 -7
- package/dist/templates/social/black-friday-coupons-countdown.js +8 -7
- package/dist/templates/social/black-friday-neon-ads.js +8 -7
- package/dist/templates/social/black-friday-neon-countdown.js +8 -7
- package/dist/templates/social/black-friday-scratch-ads.js +8 -7
- package/dist/templates/social/black-friday-ticker-ads.js +8 -7
- package/dist/templates/social/black-friday-ticker-countdown.js +8 -7
- package/dist/templates/social/blueprint-dimension-post.js +8 -7
- package/dist/templates/social/blueprint-link-preview.js +8 -7
- package/dist/templates/social/blueprint-parts-list-post.js +8 -7
- package/dist/templates/social/broadsheet-hiring-classifieds.js +8 -7
- package/dist/templates/social/broadsheet-link-preview.js +8 -7
- package/dist/templates/social/claymation-link-preview.js +8 -7
- package/dist/templates/social/claymation-streak-post.js +8 -7
- package/dist/templates/social/comic-book-cover-preview.js +8 -7
- package/dist/templates/social/comic-book-strip-post.js +8 -7
- package/dist/templates/social/cyberpunk-implant-post.js +8 -7
- package/dist/templates/social/cyberpunk-link-preview.js +8 -7
- package/dist/templates/social/departure-board-pass-ad.js +8 -7
- package/dist/templates/social/departure-board-store-set.js +8 -7
- package/dist/templates/social/departure-board-thanks-post.js +8 -7
- package/dist/templates/social/diwali-link-preview.js +8 -7
- package/dist/templates/social/diwali-thanks-post.js +8 -7
- package/dist/templates/social/earth-day-link-preview.js +8 -7
- package/dist/templates/social/everyday-save-the-date-post.js +8 -7
- package/dist/templates/social/festival-presale-electronic-ads.js +10 -9
- package/dist/templates/social/festival-presale-family-ads.js +10 -9
- package/dist/templates/social/festival-presale-folk-ads.js +10 -9
- package/dist/templates/social/festival-presale-food-ads.js +10 -9
- package/dist/templates/social/festival-presale-jazz-ads.js +10 -9
- package/dist/templates/social/festival-presale-street-ads.js +10 -9
- package/dist/templates/social/gothic-feature-post.js +8 -7
- package/dist/templates/social/gothic-link-preview.js +8 -7
- package/dist/templates/social/halloween-link-preview.js +8 -7
- package/dist/templates/social/halloween-offer-post.js +8 -7
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +8 -7
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +8 -7
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +8 -7
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +8 -7
- package/dist/templates/social/holidays-valentines-florist-post.js +8 -7
- package/dist/templates/social/lunar-new-year-greeting-post.js +8 -7
- package/dist/templates/social/lunar-new-year-link-preview.js +8 -7
- package/dist/templates/social/machined-link-preview.js +8 -7
- package/dist/templates/social/machined-plate-post.js +8 -7
- package/dist/templates/social/manuscript-chapter-post.js +8 -7
- package/dist/templates/social/manuscript-link-preview.js +8 -7
- package/dist/templates/social/new-year-link-preview.js +8 -7
- package/dist/templates/social/new-year-resolutions-post.js +8 -7
- package/dist/templates/social/noir-case-file.js +8 -7
- package/dist/templates/social/noir-feature-post.js +8 -7
- package/dist/templates/social/post-announcement.js +8 -7
- package/dist/templates/social/post-event.js +8 -7
- package/dist/templates/social/post-podcast.js +8 -7
- package/dist/templates/social/post-quote.js +8 -7
- package/dist/templates/social/post-sale.js +8 -7
- package/dist/templates/social/post-stat.js +8 -7
- package/dist/templates/social/post-testimonial.js +8 -7
- package/dist/templates/social/promo-announcement.js +8 -7
- package/dist/templates/social/promo-beat-drop.js +8 -7
- package/dist/templates/social/promo-event.js +8 -7
- package/dist/templates/social/promo-new-product.js +8 -7
- package/dist/templates/social/promo-quote-reveal.js +8 -7
- package/dist/templates/social/promo-sale-drop.js +8 -7
- package/dist/templates/social/promo-tip-list.js +8 -7
- package/dist/templates/social/psychedelic-lineup-post.js +8 -7
- package/dist/templates/social/psychedelic-link-preview.js +8 -7
- package/dist/templates/social/riso-zine-link-preview.js +8 -7
- package/dist/templates/social/riso-zine-mrr-poster.js +8 -7
- package/dist/templates/social/saas-kit-carousel.js +8 -7
- package/dist/templates/social/saas-kit-countdown-post.js +8 -7
- package/dist/templates/social/saas-kit-feature-drop.js +8 -7
- package/dist/templates/social/saas-kit-link-preview.js +8 -7
- package/dist/templates/social/saas-kit-live-post.js +8 -7
- package/dist/templates/social/saas-kit-mrr-card.js +8 -7
- package/dist/templates/social/saas-kit-ph-gallery.js +8 -7
- package/dist/templates/social/saas-kit-ph-thumb.js +8 -7
- package/dist/templates/social/saas-kit-youtube-thumbs.js +8 -7
- package/dist/templates/social/saas-store-b2b-ads.js +8 -7
- package/dist/templates/social/saas-store-caption-set.js +8 -7
- package/dist/templates/social/saas-store-chrome-kit.js +8 -7
- package/dist/templates/social/saas-store-ipad-set.js +8 -7
- package/dist/templates/social/saas-store-panorama.js +8 -7
- package/dist/templates/social/saas-store-play-kit.js +8 -7
- package/dist/templates/social/saas-store-story.js +8 -7
- package/dist/templates/social/singles-day-link-preview.js +8 -7
- package/dist/templates/social/solarpunk-impact-post.js +8 -7
- package/dist/templates/social/solarpunk-link-preview.js +8 -7
- package/dist/templates/social/space-opera-link-preview.js +8 -7
- package/dist/templates/social/space-opera-mission-patch-post.js +8 -7
- package/dist/templates/social/spring-bloom-link-preview.js +8 -7
- package/dist/templates/social/studio-class-timetable.js +8 -7
- package/dist/templates/social/studio-podcast-cover.js +8 -7
- package/dist/templates/social/style-bento-announcement.js +8 -7
- package/dist/templates/social/style-bento-link-preview.js +8 -7
- package/dist/templates/social/style-bento-milestone.js +8 -7
- package/dist/templates/social/style-bento-testimonial.js +8 -7
- package/dist/templates/social/style-brutalist-announcement.js +8 -7
- package/dist/templates/social/style-brutalist-link-preview.js +8 -7
- package/dist/templates/social/style-brutalist-milestone.js +8 -7
- package/dist/templates/social/style-brutalist-testimonial.js +8 -7
- package/dist/templates/social/style-dark-announcement.js +8 -7
- package/dist/templates/social/style-dark-link-preview.js +8 -7
- package/dist/templates/social/style-dark-milestone.js +8 -7
- package/dist/templates/social/style-dark-testimonial.js +8 -7
- package/dist/templates/social/style-data-announcement.js +8 -7
- package/dist/templates/social/style-data-link-preview.js +8 -7
- package/dist/templates/social/style-data-milestone.js +8 -7
- package/dist/templates/social/style-data-testimonial.js +8 -7
- package/dist/templates/social/style-editorial-announcement.js +8 -7
- package/dist/templates/social/style-editorial-link-preview.js +8 -7
- package/dist/templates/social/style-editorial-milestone.js +8 -7
- package/dist/templates/social/style-editorial-testimonial.js +8 -7
- package/dist/templates/social/style-glass-announcement.js +8 -7
- package/dist/templates/social/style-glass-link-preview.js +8 -7
- package/dist/templates/social/style-glass-milestone.js +8 -7
- package/dist/templates/social/style-glass-testimonial.js +8 -7
- package/dist/templates/social/style-gradient-announcement.js +8 -7
- package/dist/templates/social/style-gradient-link-preview.js +8 -7
- package/dist/templates/social/style-gradient-milestone.js +8 -7
- package/dist/templates/social/style-gradient-testimonial.js +8 -7
- package/dist/templates/social/style-maximal-announcement.js +8 -7
- package/dist/templates/social/style-maximal-link-preview.js +8 -7
- package/dist/templates/social/style-maximal-milestone.js +8 -7
- package/dist/templates/social/style-maximal-testimonial.js +8 -7
- package/dist/templates/social/style-pastel-announcement.js +8 -7
- package/dist/templates/social/style-pastel-link-preview.js +8 -7
- package/dist/templates/social/style-pastel-milestone.js +8 -7
- package/dist/templates/social/style-pastel-testimonial.js +8 -7
- package/dist/templates/social/style-sketch-announcement.js +8 -7
- package/dist/templates/social/style-sketch-link-preview.js +8 -7
- package/dist/templates/social/style-sketch-milestone.js +8 -7
- package/dist/templates/social/style-sketch-testimonial.js +8 -7
- package/dist/templates/social/style-swiss-announcement.js +8 -7
- package/dist/templates/social/style-swiss-link-preview.js +8 -7
- package/dist/templates/social/style-swiss-milestone.js +8 -7
- package/dist/templates/social/style-swiss-testimonial.js +8 -7
- package/dist/templates/social/style-terminal-announcement.js +8 -7
- package/dist/templates/social/style-terminal-link-preview.js +8 -7
- package/dist/templates/social/style-terminal-milestone.js +8 -7
- package/dist/templates/social/style-terminal-testimonial.js +8 -7
- package/dist/templates/social/summer-heatwave-link-preview.js +8 -7
- package/dist/templates/social/summer-heatwave-lolly-post.js +8 -7
- package/dist/templates/social/tour-tickets-june-ads.js +8 -7
- package/dist/templates/social/tour-tickets-tide-ads.js +8 -7
- package/dist/templates/social/tour-tickets-wreck-ads.js +8 -7
- package/dist/templates/social/transit-map-link-preview.js +8 -7
- package/dist/templates/social/ukiyo-e-link-preview.js +8 -7
- package/dist/templates/social/ukiyo-e-spike-post.js +8 -7
- package/dist/templates/social/valentines-link-preview.js +8 -7
- package/dist/templates/social/valentines-poem-post.js +8 -7
- package/dist/templates/social/vaporwave-feature-drop.js +8 -7
- package/dist/templates/social/vaporwave-link-preview.js +8 -7
- package/dist/templates/social/winter-cosy-link-preview.js +8 -7
- package/dist/templates/social/winter-holidays-link-preview.js +8 -7
- package/dist/templates/social/winter-holidays-thanks-post.js +8 -7
- package/dist/templates/stings/line-reveal.js +8 -7
- package/dist/templates/stings/sting-blur.js +8 -7
- package/dist/templates/stings/sting-pop.js +8 -7
- package/dist/templates/stings/sting-rise.js +8 -7
- package/dist/templates/stings/sting-shimmer.js +8 -7
- package/dist/templates/stings/word-swap.js +8 -7
- package/dist/templates/text/stat-counter.js +8 -7
- package/dist/templates/text/word-quote.js +8 -7
- package/dist/templates/themes/april-fools.js +13 -12
- package/dist/templates/themes/arcade.js +12 -11
- package/dist/templates/themes/art-deco.js +13 -12
- package/dist/templates/themes/autumn-harvest.js +13 -12
- package/dist/templates/themes/back-to-school.js +13 -12
- package/dist/templates/themes/bauhaus.js +13 -12
- package/dist/templates/themes/black-friday-coupons.js +14 -13
- package/dist/templates/themes/black-friday-neon.js +14 -13
- package/dist/templates/themes/black-friday-scratch.js +14 -13
- package/dist/templates/themes/black-friday-ticker.js +14 -13
- package/dist/templates/themes/black-friday.js +13 -12
- package/dist/templates/themes/blueprint.js +13 -12
- package/dist/templates/themes/broadsheet.js +14 -13
- package/dist/templates/themes/claymation.js +13 -12
- package/dist/templates/themes/comic-book.js +22 -21
- package/dist/templates/themes/comic-hero.js +20 -19
- package/dist/templates/themes/comic-indie.js +8 -7
- package/dist/templates/themes/cyberpunk.js +13 -12
- package/dist/templates/themes/departure-board.js +13 -12
- package/dist/templates/themes/diwali.js +13 -12
- package/dist/templates/themes/earth-day.js +13 -12
- package/dist/templates/themes/everyday.js +14 -13
- package/dist/templates/themes/festival-presale-electronic-kit.js +9 -8
- package/dist/templates/themes/festival-presale-family-a-shared.js +8 -7
- package/dist/templates/themes/festival-presale-family-a.js +33 -32
- package/dist/templates/themes/festival-presale-family-b-shared.js +8 -7
- package/dist/templates/themes/festival-presale-family-b.js +33 -32
- package/dist/templates/themes/festival-presale-family-kit.js +9 -8
- package/dist/templates/themes/festival-presale-folk-kit.js +9 -8
- package/dist/templates/themes/festival-presale-food-kit.js +9 -8
- package/dist/templates/themes/festival-presale-jazz-kit.js +9 -8
- package/dist/templates/themes/festival-presale-street-kit.js +9 -8
- package/dist/templates/themes/festival-presale.js +14 -13
- package/dist/templates/themes/gothic.js +13 -12
- package/dist/templates/themes/halloween.js +13 -12
- package/dist/templates/themes/holidays.js +34 -33
- package/dist/templates/themes/index.js +426 -425
- package/dist/templates/themes/lunar-new-year.js +13 -12
- package/dist/templates/themes/machined.js +12 -11
- package/dist/templates/themes/manuscript.js +13 -12
- package/dist/templates/themes/memories.js +17 -16
- package/dist/templates/themes/new-year.js +13 -12
- package/dist/templates/themes/noir.js +13 -12
- package/dist/templates/themes/printshop.js +32 -31
- package/dist/templates/themes/psychedelic.js +13 -12
- package/dist/templates/themes/riso-zine.js +13 -12
- package/dist/templates/themes/singles-day.js +13 -12
- package/dist/templates/themes/solarpunk.js +13 -12
- package/dist/templates/themes/space-opera.js +13 -12
- package/dist/templates/themes/spring-bloom.js +13 -12
- package/dist/templates/themes/studio.js +13 -12
- package/dist/templates/themes/summer-heatwave.js +13 -12
- package/dist/templates/themes/tour-tickets.js +32 -31
- package/dist/templates/themes/transit-map.js +13 -12
- package/dist/templates/themes/ukiyo-e.js +13 -12
- package/dist/templates/themes/valentines.js +13 -12
- package/dist/templates/themes/vaporwave.js +12 -11
- package/dist/templates/themes/winter-cosy.js +13 -12
- package/dist/templates/themes/winter-holidays.js +13 -12
- package/dist/templates/video/youtube-chapter.js +8 -7
- package/dist/templates/video/youtube-end-screen.js +8 -7
- package/dist/templates/video/youtube-intro.js +8 -7
- package/dist/templates/video/youtube-subscribe.js +8 -7
- package/dist/templates/web/april-fools-landing.js +8 -7
- package/dist/templates/web/arcade-landing.js +8 -7
- package/dist/templates/web/art-deco-landing.js +8 -7
- package/dist/templates/web/autumn-harvest-landing.js +8 -7
- package/dist/templates/web/back-to-school-landing.js +8 -7
- package/dist/templates/web/bauhaus-landing.js +8 -7
- package/dist/templates/web/black-friday-coupons-landing.js +8 -7
- package/dist/templates/web/black-friday-landing.js +8 -7
- package/dist/templates/web/black-friday-neon-landing.js +8 -7
- package/dist/templates/web/black-friday-scratch-landing.js +8 -7
- package/dist/templates/web/black-friday-ticker-landing.js +8 -7
- package/dist/templates/web/blog-post.js +8 -7
- package/dist/templates/web/blueprint-landing.js +8 -7
- package/dist/templates/web/broadsheet-landing.js +8 -7
- package/dist/templates/web/claymation-landing.js +8 -7
- package/dist/templates/web/comic-book-landing.js +8 -7
- package/dist/templates/web/coming-soon-page.js +8 -7
- package/dist/templates/web/coming-soon.js +8 -7
- package/dist/templates/web/contact.js +8 -7
- package/dist/templates/web/cyberpunk-landing.js +8 -7
- package/dist/templates/web/daybreak-app.js +8 -7
- package/dist/templates/web/departure-board-download.js +8 -7
- package/dist/templates/web/diwali-landing.js +8 -7
- package/dist/templates/web/earth-day-landing.js +8 -7
- package/dist/templates/web/everyday-cafe.js +8 -7
- package/dist/templates/web/everyday-hotel.js +8 -7
- package/dist/templates/web/everyday-wedding.js +8 -7
- package/dist/templates/web/festival-presale-electronic.js +8 -7
- package/dist/templates/web/festival-presale-family.js +8 -7
- package/dist/templates/web/festival-presale-folk.js +8 -7
- package/dist/templates/web/festival-presale-food.js +8 -7
- package/dist/templates/web/festival-presale-jazz.js +8 -7
- package/dist/templates/web/festival-presale-street.js +8 -7
- package/dist/templates/web/gothic-landing.js +8 -7
- package/dist/templates/web/halloween-landing.js +8 -7
- package/dist/templates/web/hero-animated.js +8 -7
- package/dist/templates/web/kindling-app.js +8 -7
- package/dist/templates/web/launch-waitlist.js +8 -7
- package/dist/templates/web/lunar-new-year-landing.js +8 -7
- package/dist/templates/web/machined-hero.js +8 -7
- package/dist/templates/web/manuscript-landing.js +8 -7
- package/dist/templates/web/marginalia-app.js +8 -7
- package/dist/templates/web/new-year-landing.js +8 -7
- package/dist/templates/web/noir-landing.js +8 -7
- package/dist/templates/web/page-404.js +8 -7
- package/dist/templates/web/portfolio-architect.js +8 -7
- package/dist/templates/web/portfolio-card-deck.js +8 -7
- package/dist/templates/web/portfolio-case-folio.js +8 -7
- package/dist/templates/web/portfolio-cube-gallery.js +8 -7
- package/dist/templates/web/portfolio-depth-tunnel.js +8 -7
- package/dist/templates/web/portfolio-editorial.js +8 -7
- package/dist/templates/web/portfolio-flip-wall.js +8 -7
- package/dist/templates/web/portfolio-index-list.js +8 -7
- package/dist/templates/web/portfolio-photographer.js +8 -7
- package/dist/templates/web/portfolio-reel-carousel.js +8 -7
- package/dist/templates/web/portfolio-sketchbook.js +8 -7
- package/dist/templates/web/portfolio-studio-grid.js +8 -7
- package/dist/templates/web/portfolio.js +8 -7
- package/dist/templates/web/portfolios.js +20 -19
- package/dist/templates/web/potluck-app.js +8 -7
- package/dist/templates/web/pricing-toggle.js +8 -7
- package/dist/templates/web/product-page.js +8 -7
- package/dist/templates/web/psychedelic-landing.js +8 -7
- package/dist/templates/web/riso-zine-landing.js +8 -7
- package/dist/templates/web/rsvp-invite.js +8 -7
- package/dist/templates/web/saas-ai-landing.js +8 -7
- package/dist/templates/web/saas-app-download.js +8 -7
- package/dist/templates/web/saas-case-study.js +8 -7
- package/dist/templates/web/saas-changelog.js +8 -7
- package/dist/templates/web/saas-comparison.js +8 -7
- package/dist/templates/web/saas-data-landing.js +8 -7
- package/dist/templates/web/saas-dev-landing.js +8 -7
- package/dist/templates/web/saas-indie-landing.js +8 -7
- package/dist/templates/web/saas-integrations.js +8 -7
- package/dist/templates/web/saas-security.js +8 -7
- package/dist/templates/web/saas-signup.js +8 -7
- package/dist/templates/web/saas-waitlist.js +8 -7
- package/dist/templates/web/saffron-app.js +8 -7
- package/dist/templates/web/shop-bloom.js +8 -7
- package/dist/templates/web/shop-circuit.js +8 -7
- package/dist/templates/web/shop-fieldwork.js +8 -7
- package/dist/templates/web/shop-greenhouse.js +8 -7
- package/dist/templates/web/shop-kiln.js +8 -7
- package/dist/templates/web/shop-marginalia.js +8 -7
- package/dist/templates/web/shop-ode.js +8 -7
- package/dist/templates/web/shop-static.js +8 -7
- package/dist/templates/web/shop-summit.js +8 -7
- package/dist/templates/web/shops.js +17 -16
- package/dist/templates/web/singles-day-landing.js +8 -7
- package/dist/templates/web/solarpunk-landing.js +8 -7
- package/dist/templates/web/space-opera-landing.js +8 -7
- package/dist/templates/web/spring-bloom-landing.js +8 -7
- package/dist/templates/web/studio-careers.js +8 -7
- package/dist/templates/web/style-bento-landing.js +8 -7
- package/dist/templates/web/style-bento-pricing.js +8 -7
- package/dist/templates/web/style-brutalist-landing.js +8 -7
- package/dist/templates/web/style-brutalist-pricing.js +8 -7
- package/dist/templates/web/style-dark-landing.js +8 -7
- package/dist/templates/web/style-dark-pricing.js +8 -7
- package/dist/templates/web/style-data-landing.js +8 -7
- package/dist/templates/web/style-data-pricing.js +8 -7
- package/dist/templates/web/style-editorial-landing.js +8 -7
- package/dist/templates/web/style-editorial-pricing.js +8 -7
- package/dist/templates/web/style-glass-landing.js +8 -7
- package/dist/templates/web/style-glass-pricing.js +8 -7
- package/dist/templates/web/style-gradient-landing.js +8 -7
- package/dist/templates/web/style-gradient-pricing.js +8 -7
- package/dist/templates/web/style-maximal-landing.js +8 -7
- package/dist/templates/web/style-maximal-pricing.js +8 -7
- package/dist/templates/web/style-pastel-landing.js +8 -7
- package/dist/templates/web/style-pastel-pricing.js +8 -7
- package/dist/templates/web/style-sketch-landing.js +8 -7
- package/dist/templates/web/style-sketch-pricing.js +8 -7
- package/dist/templates/web/style-swiss-landing.js +8 -7
- package/dist/templates/web/style-swiss-pricing.js +8 -7
- package/dist/templates/web/style-terminal-landing.js +8 -7
- package/dist/templates/web/style-terminal-pricing.js +8 -7
- package/dist/templates/web/summer-heatwave-landing.js +8 -7
- package/dist/templates/web/tempo-app.js +8 -7
- package/dist/templates/web/tour-tickets-june-landing.js +8 -7
- package/dist/templates/web/tour-tickets-tide-landing.js +8 -7
- package/dist/templates/web/tour-tickets-wreck-landing.js +8 -7
- package/dist/templates/web/transit-map-landing.js +8 -7
- package/dist/templates/web/ukiyo-e-landing.js +8 -7
- package/dist/templates/web/valentines-landing.js +8 -7
- package/dist/templates/web/vaporwave-landing.js +8 -7
- package/dist/templates/web/wayfarer-app.js +8 -7
- package/dist/templates/web/winter-cosy-landing.js +8 -7
- package/dist/templates/web/winter-holidays-landing.js +8 -7
- package/package.json +1 -1
- package/dist/chunks/agent-KQBQGJ3Y.js +0 -44
- package/dist/chunks/audio-import-BMXT43SR.js +0 -125
- package/dist/chunks/builtin-D5JLL76Q.js +0 -120
- package/dist/chunks/buy-credits-V2KBTX4R.js +0 -80
- package/dist/chunks/check-template-UX6DLQYY.js +0 -2412
- package/dist/chunks/chunk-22NE4PUE.js +0 -23
- package/dist/chunks/chunk-22R4VDZW.js +0 -136
- package/dist/chunks/chunk-23W4W6Q6.js +0 -163
- package/dist/chunks/chunk-23WM7XQE.js +0 -231
- package/dist/chunks/chunk-245T27IT.js +0 -208
- package/dist/chunks/chunk-25QYQKPJ.js +0 -152
- package/dist/chunks/chunk-25VWDS4B.js +0 -80
- package/dist/chunks/chunk-26JAMQOZ.js +0 -79
- package/dist/chunks/chunk-26U4TKH5.js +0 -1574
- package/dist/chunks/chunk-26V3D3JM.js +0 -267
- package/dist/chunks/chunk-27IGSBK3.js +0 -150
- package/dist/chunks/chunk-2CX5OSXJ.js +0 -53
- package/dist/chunks/chunk-2CZTOHRM.js +0 -181
- package/dist/chunks/chunk-2EEP6WBT.js +0 -85
- package/dist/chunks/chunk-2GONRVFY.js +0 -165
- package/dist/chunks/chunk-2HDNY5MM.js +0 -200
- package/dist/chunks/chunk-2HOLI3ZX.js +0 -33
- package/dist/chunks/chunk-2HYRVQHB.js +0 -88
- package/dist/chunks/chunk-2I6MCHST.js +0 -163
- package/dist/chunks/chunk-2IXXEAYW.js +0 -282
- package/dist/chunks/chunk-2KTFM6DL.js +0 -276
- package/dist/chunks/chunk-2MM4IZKX.js +0 -99
- package/dist/chunks/chunk-2PIZYCTX.js +0 -195
- package/dist/chunks/chunk-2PPNJHVK.js +0 -110
- package/dist/chunks/chunk-2PWK5MOR.js +0 -157
- package/dist/chunks/chunk-2PXCYVAD.js +0 -177
- package/dist/chunks/chunk-2RZLBYBC.js +0 -23
- package/dist/chunks/chunk-2TNGPEUG.js +0 -65
- package/dist/chunks/chunk-2UVTWAIA.js +0 -54
- package/dist/chunks/chunk-2VYL4WVO.js +0 -75
- package/dist/chunks/chunk-2XAMTFDB.js +0 -242
- package/dist/chunks/chunk-2XZKV7NV.js +0 -141
- package/dist/chunks/chunk-2YWKJKNB.js +0 -261
- package/dist/chunks/chunk-32I23Z35.js +0 -23
- package/dist/chunks/chunk-33LVWMXJ.js +0 -45
- package/dist/chunks/chunk-34BEROVU.js +0 -90
- package/dist/chunks/chunk-36ZX4YRZ.js +0 -78
- package/dist/chunks/chunk-3ABO32BI.js +0 -191
- package/dist/chunks/chunk-3BGGEVB6.js +0 -184
- package/dist/chunks/chunk-3CQ72RAK.js +0 -180
- package/dist/chunks/chunk-3ECVUUAQ.js +0 -131
- package/dist/chunks/chunk-3I4R5PYP.js +0 -192
- package/dist/chunks/chunk-3J56XYSJ.js +0 -159
- package/dist/chunks/chunk-3JF6KVDG.js +0 -330
- package/dist/chunks/chunk-3L5QIJ6E.js +0 -104
- package/dist/chunks/chunk-3MMCZOHP.js +0 -151
- package/dist/chunks/chunk-3N4EAM2O.js +0 -97
- package/dist/chunks/chunk-3NDPRTWG.js +0 -145
- package/dist/chunks/chunk-3NO6XO6M.js +0 -130
- package/dist/chunks/chunk-3O6JQ3CW.js +0 -252
- package/dist/chunks/chunk-3PN6UW5F.js +0 -78
- package/dist/chunks/chunk-3RUO3SM6.js +0 -39
- package/dist/chunks/chunk-3SO5GHK6.js +0 -87
- package/dist/chunks/chunk-3T6XR4LA.js +0 -151
- package/dist/chunks/chunk-3TLJNQJJ.js +0 -150
- package/dist/chunks/chunk-3TNP34ZL.js +0 -52
- package/dist/chunks/chunk-3U3CCON4.js +0 -33
- package/dist/chunks/chunk-3UTJXO3M.js +0 -143
- package/dist/chunks/chunk-3VJMETKW.js +0 -36
- package/dist/chunks/chunk-3WAL5OT5.js +0 -106
- package/dist/chunks/chunk-3XLSBTJE.js +0 -175
- package/dist/chunks/chunk-3XLTRIKC.js +0 -165
- package/dist/chunks/chunk-44ASVBLU.js +0 -79
- package/dist/chunks/chunk-456HSSXX.js +0 -188
- package/dist/chunks/chunk-463I2Z6H.js +0 -217
- package/dist/chunks/chunk-46OTQXQP.js +0 -297
- package/dist/chunks/chunk-4AWWB3UW.js +0 -224
- package/dist/chunks/chunk-4BI6UKXM.js +0 -23
- package/dist/chunks/chunk-4DNRSX5D.js +0 -92
- package/dist/chunks/chunk-4EMSDW6K.js +0 -33
- package/dist/chunks/chunk-4FAWNKGU.js +0 -23
- package/dist/chunks/chunk-4FDGQFXB.js +0 -118
- package/dist/chunks/chunk-4GZMGZRA.js +0 -84
- package/dist/chunks/chunk-4JPAVSW3.js +0 -23
- package/dist/chunks/chunk-4KZYYMWC.js +0 -218
- package/dist/chunks/chunk-4MFLJDUZ.js +0 -298
- package/dist/chunks/chunk-4MLXNY4X.js +0 -30
- package/dist/chunks/chunk-4ONGWJ2A.js +0 -85
- package/dist/chunks/chunk-4OPXT5X2.js +0 -118
- package/dist/chunks/chunk-4QK4M4YU.js +0 -83
- package/dist/chunks/chunk-4T2QPTXX.js +0 -101
- package/dist/chunks/chunk-4VV4YEO5.js +0 -69
- package/dist/chunks/chunk-4XMMF5Y2.js +0 -166
- package/dist/chunks/chunk-4YMTRFKC.js +0 -304
- package/dist/chunks/chunk-52SMGRGF.js +0 -250
- package/dist/chunks/chunk-54MQRPR4.js +0 -41
- package/dist/chunks/chunk-57A5ZRCP.js +0 -247
- package/dist/chunks/chunk-5AB72RRV.js +0 -154
- package/dist/chunks/chunk-5CIQOIZK.js +0 -165
- package/dist/chunks/chunk-5DFKORG3.js +0 -206
- package/dist/chunks/chunk-5DGAUAHP.js +0 -92
- package/dist/chunks/chunk-5DR6ZYFE.js +0 -48
- package/dist/chunks/chunk-5EI3U266.js +0 -106
- package/dist/chunks/chunk-5FC5XQTN.js +0 -358
- package/dist/chunks/chunk-5GHEJMNT.js +0 -161
- package/dist/chunks/chunk-5GJJCCNE.js +0 -140
- package/dist/chunks/chunk-5H6ETYCX.js +0 -93
- package/dist/chunks/chunk-5HBAPJGN.js +0 -107
- package/dist/chunks/chunk-5I6PZIS5.js +0 -113
- package/dist/chunks/chunk-5IMMXLPW.js +0 -139
- package/dist/chunks/chunk-5KOVVFQW.js +0 -213
- package/dist/chunks/chunk-5LULKXLG.js +0 -164
- package/dist/chunks/chunk-5NQ2AKK3.js +0 -97
- package/dist/chunks/chunk-5NSIJKYX.js +0 -97
- package/dist/chunks/chunk-5PYMWWDS.js +0 -95
- package/dist/chunks/chunk-5QAZM34A.js +0 -283
- package/dist/chunks/chunk-5QSG2WBX.js +0 -94
- package/dist/chunks/chunk-5RAML5WO.js +0 -135
- package/dist/chunks/chunk-5VTTNMTH.js +0 -80
- package/dist/chunks/chunk-5WSTPSAS.js +0 -151
- package/dist/chunks/chunk-5XLFJAOL.js +0 -77
- package/dist/chunks/chunk-5Y5K4MX6.js +0 -110
- package/dist/chunks/chunk-6AFYESCC.js +0 -100
- package/dist/chunks/chunk-6AMUOSGD.js +0 -327
- package/dist/chunks/chunk-6BQFNHOL.js +0 -221
- package/dist/chunks/chunk-6BQKAIYG.js +0 -106
- package/dist/chunks/chunk-6BVDE3AK.js +0 -265
- package/dist/chunks/chunk-6EESJYWH.js +0 -100
- package/dist/chunks/chunk-6EOZMFWM.js +0 -123
- package/dist/chunks/chunk-6GRCJEN7.js +0 -23
- package/dist/chunks/chunk-6IUMGDIY.js +0 -248
- package/dist/chunks/chunk-6MXMRFQB.js +0 -100
- package/dist/chunks/chunk-6NKQTNR6.js +0 -45
- package/dist/chunks/chunk-6OG2LHVA.js +0 -155
- package/dist/chunks/chunk-6ONVPRII.js +0 -161
- package/dist/chunks/chunk-6P3IXDZQ.js +0 -23
- package/dist/chunks/chunk-6PE526MY.js +0 -108
- package/dist/chunks/chunk-6PNOVI7F.js +0 -90
- package/dist/chunks/chunk-6POVQI3V.js +0 -70
- package/dist/chunks/chunk-6PQRMNSU.js +0 -60
- package/dist/chunks/chunk-6QJFCXUR.js +0 -155
- package/dist/chunks/chunk-6RQDLFQA.js +0 -36
- package/dist/chunks/chunk-6RXYAGHI.js +0 -23
- package/dist/chunks/chunk-6SXDCE2B.js +0 -30
- package/dist/chunks/chunk-6TZR2AEW.js +0 -131
- package/dist/chunks/chunk-6WF77D2R.js +0 -77
- package/dist/chunks/chunk-6WKRJQRT.js +0 -342
- package/dist/chunks/chunk-723PE5N4.js +0 -33
- package/dist/chunks/chunk-72VDNPH2.js +0 -53
- package/dist/chunks/chunk-733RVQXB.js +0 -91
- package/dist/chunks/chunk-77SFEEFN.js +0 -120
- package/dist/chunks/chunk-7BAAVJAC.js +0 -187
- package/dist/chunks/chunk-7DIN3AXH.js +0 -399
- package/dist/chunks/chunk-7F35W27M.js +0 -50
- package/dist/chunks/chunk-7GMFJZ5P.js +0 -1403
- package/dist/chunks/chunk-7HHZ4ZH4.js +0 -97
- package/dist/chunks/chunk-7KKSXSVW.js +0 -102
- package/dist/chunks/chunk-7NUY57VH.js +0 -174
- package/dist/chunks/chunk-7ODUB3E5.js +0 -75
- package/dist/chunks/chunk-7QHAOIYF.js +0 -338
- package/dist/chunks/chunk-7RYMXKN7.js +0 -150
- package/dist/chunks/chunk-7T4EB3BC.js +0 -122
- package/dist/chunks/chunk-7WN25JCS.js +0 -101
- package/dist/chunks/chunk-7WS7Q3UT.js +0 -87
- package/dist/chunks/chunk-7Z7W65YE.js +0 -160
- package/dist/chunks/chunk-A2KV6RRO.js +0 -163
- package/dist/chunks/chunk-A3BCTI5A.js +0 -94
- package/dist/chunks/chunk-A45GY5XV.js +0 -100
- package/dist/chunks/chunk-A47VCPM5.js +0 -130
- package/dist/chunks/chunk-A63VDSU5.js +0 -175
- package/dist/chunks/chunk-A6C66WJJ.js +0 -47
- package/dist/chunks/chunk-A6IC6R2B.js +0 -178
- package/dist/chunks/chunk-A6VXQBWQ.js +0 -171
- package/dist/chunks/chunk-A7LZ3OVX.js +0 -161
- package/dist/chunks/chunk-ACO4YZPA.js +0 -366
- package/dist/chunks/chunk-AI4D7ZZK.js +0 -222
- package/dist/chunks/chunk-AI7UEXIT.js +0 -180
- package/dist/chunks/chunk-ALA2FCGS.js +0 -164
- package/dist/chunks/chunk-AO5IUQVQ.js +0 -33
- package/dist/chunks/chunk-AQLZ5YSS.js +0 -158
- package/dist/chunks/chunk-AS67NIIH.js +0 -337
- package/dist/chunks/chunk-ASA3COMY.js +0 -173
- package/dist/chunks/chunk-ASBNUECJ.js +0 -278
- package/dist/chunks/chunk-AU3W24K5.js +0 -303
- package/dist/chunks/chunk-AWU5PHO7.js +0 -33
- package/dist/chunks/chunk-AY2ZQFOC.js +0 -187
- package/dist/chunks/chunk-AYJITYEZ.js +0 -181
- package/dist/chunks/chunk-B3UBF6KP.js +0 -232
- package/dist/chunks/chunk-B5MBSYBB.js +0 -46
- package/dist/chunks/chunk-BAAB3FVQ.js +0 -33
- package/dist/chunks/chunk-BCBXDFSH.js +0 -23
- package/dist/chunks/chunk-BCJSYH6M.js +0 -110
- package/dist/chunks/chunk-BDLDFIQU.js +0 -327
- package/dist/chunks/chunk-BE3ZZJI6.js +0 -334
- package/dist/chunks/chunk-BERJKZZ2.js +0 -167
- package/dist/chunks/chunk-BFWKNMTD.js +0 -45
- package/dist/chunks/chunk-BGDGE2DN.js +0 -90
- package/dist/chunks/chunk-BGMGXSXA.js +0 -153
- package/dist/chunks/chunk-BGQX7G6I.js +0 -172
- package/dist/chunks/chunk-BIFCUE42.js +0 -168
- package/dist/chunks/chunk-BIWYI533.js +0 -282
- package/dist/chunks/chunk-BIZVL2PM.js +0 -82
- package/dist/chunks/chunk-BJWTMUAS.js +0 -45
- package/dist/chunks/chunk-BK3Q3FA6.js +0 -168
- package/dist/chunks/chunk-BKXY24WT.js +0 -685
- package/dist/chunks/chunk-BQA2BFVT.js +0 -329
- package/dist/chunks/chunk-BQGLR3XY.js +0 -59
- package/dist/chunks/chunk-BQO3ZRJO.js +0 -166
- package/dist/chunks/chunk-BQQUTVHU.js +0 -10754
- package/dist/chunks/chunk-BQZKDPRW.js +0 -84
- package/dist/chunks/chunk-BRELQTXU.js +0 -71
- package/dist/chunks/chunk-BSLVKEDZ.js +0 -23
- package/dist/chunks/chunk-BTJMS3NE.js +0 -177
- package/dist/chunks/chunk-BV65D4VD.js +0 -81
- package/dist/chunks/chunk-BX4A35BD.js +0 -127
- package/dist/chunks/chunk-BXJCEIFY.js +0 -134
- package/dist/chunks/chunk-BYG37BFU.js +0 -361
- package/dist/chunks/chunk-BYUHMJIX.js +0 -256
- package/dist/chunks/chunk-BYZJ5LWF.js +0 -156
- package/dist/chunks/chunk-BZ3NRXXV.js +0 -961
- package/dist/chunks/chunk-BZKTR4OM.js +0 -135
- package/dist/chunks/chunk-C2QTT5CF.js +0 -142
- package/dist/chunks/chunk-C4PYA6S2.js +0 -33
- package/dist/chunks/chunk-C4QIXUOK.js +0 -176
- package/dist/chunks/chunk-C65XZDAL.js +0 -49
- package/dist/chunks/chunk-C6B55KOD.js +0 -646
- package/dist/chunks/chunk-C6V2QAMT.js +0 -2168
- package/dist/chunks/chunk-CA4GDCRK.js +0 -150
- package/dist/chunks/chunk-CBAYHTJO.js +0 -103
- package/dist/chunks/chunk-CCQ5JWJE.js +0 -197
- package/dist/chunks/chunk-CD2RUGID.js +0 -36
- package/dist/chunks/chunk-CDAIWMDG.js +0 -86
- package/dist/chunks/chunk-CDJ2GDTZ.js +0 -92
- package/dist/chunks/chunk-CEHYLO5R.js +0 -147
- package/dist/chunks/chunk-CEZ4VBOV.js +0 -112
- package/dist/chunks/chunk-CG6O775L.js +0 -155
- package/dist/chunks/chunk-CG6PAQEG.js +0 -655
- package/dist/chunks/chunk-CGCY5ZA3.js +0 -83
- package/dist/chunks/chunk-CIAIH7MU.js +0 -150
- package/dist/chunks/chunk-CJ425M5C.js +0 -87
- package/dist/chunks/chunk-CJUWULU4.js +0 -185
- package/dist/chunks/chunk-CMN4ATF5.js +0 -84
- package/dist/chunks/chunk-CMRA4B7X.js +0 -23
- package/dist/chunks/chunk-CMSPJMQR.js +0 -179
- package/dist/chunks/chunk-COCGCJ6K.js +0 -23
- package/dist/chunks/chunk-CPFHFBDY.js +0 -89
- package/dist/chunks/chunk-CQIGVOLN.js +0 -145
- package/dist/chunks/chunk-CQVLRO4T.js +0 -146
- package/dist/chunks/chunk-CT4UFLEP.js +0 -99
- package/dist/chunks/chunk-CUJVFYCX.js +0 -123
- package/dist/chunks/chunk-CZLAVHSC.js +0 -133
- package/dist/chunks/chunk-D2NKD674.js +0 -57
- package/dist/chunks/chunk-D4V2LVKD.js +0 -361
- package/dist/chunks/chunk-D4XQ3YHA.js +0 -159
- package/dist/chunks/chunk-D5AGZJKY.js +0 -177
- package/dist/chunks/chunk-D6OOFUIJ.js +0 -410
- package/dist/chunks/chunk-D72Y54CX.js +0 -360
- package/dist/chunks/chunk-D76EN52C.js +0 -146
- package/dist/chunks/chunk-D7EF7FJO.js +0 -311
- package/dist/chunks/chunk-D7TZXWVW.js +0 -273
- package/dist/chunks/chunk-DA6HTNAH.js +0 -71
- package/dist/chunks/chunk-DCQVLPZB.js +0 -105
- package/dist/chunks/chunk-DD42W2VA.js +0 -263
- package/dist/chunks/chunk-DDQURHFV.js +0 -128
- package/dist/chunks/chunk-DDXH2UP6.js +0 -126
- package/dist/chunks/chunk-DDZJJBBW.js +0 -23
- package/dist/chunks/chunk-DGJPIZ3A.js +0 -125
- package/dist/chunks/chunk-DH5DPYCH.js +0 -198
- package/dist/chunks/chunk-DHEQGSAP.js +0 -33
- package/dist/chunks/chunk-DJ7F6V7D.js +0 -152
- package/dist/chunks/chunk-DJBTL4FA.js +0 -108
- package/dist/chunks/chunk-DJDLZO56.js +0 -10311
- package/dist/chunks/chunk-DKQWYA4N.js +0 -196
- package/dist/chunks/chunk-DMGMMJ6N.js +0 -170
- package/dist/chunks/chunk-DNBTJFWW.js +0 -105
- package/dist/chunks/chunk-DOCCYVBX.js +0 -170
- package/dist/chunks/chunk-DOCUNLYV.js +0 -1419
- package/dist/chunks/chunk-DPTXE7HK.js +0 -55
- package/dist/chunks/chunk-DRA6SEUY.js +0 -123
- package/dist/chunks/chunk-DRLV7A7Z.js +0 -147
- package/dist/chunks/chunk-DS5XCRN4.js +0 -102
- package/dist/chunks/chunk-DSPFL4XY.js +0 -78
- package/dist/chunks/chunk-DTJVVO7C.js +0 -97
- package/dist/chunks/chunk-DTLIXZJK.js +0 -55
- package/dist/chunks/chunk-DTWVCSEU.js +0 -178
- package/dist/chunks/chunk-DWN3IMD4.js +0 -260
- package/dist/chunks/chunk-DYZZVJ27.js +0 -82
- package/dist/chunks/chunk-E2BLDY7D.js +0 -91
- package/dist/chunks/chunk-E2BSVGKP.js +0 -262
- package/dist/chunks/chunk-E3F2BMSZ.js +0 -104
- package/dist/chunks/chunk-E6XHAD6F.js +0 -153
- package/dist/chunks/chunk-EGY5SMFV.js +0 -179
- package/dist/chunks/chunk-EHDC2QRB.js +0 -213
- package/dist/chunks/chunk-EJVBMHRH.js +0 -178
- package/dist/chunks/chunk-ELRBQPAS.js +0 -261
- package/dist/chunks/chunk-EMMD23HV.js +0 -33
- package/dist/chunks/chunk-ENH2OCGH.js +0 -183
- package/dist/chunks/chunk-EPSXXXWF.js +0 -198
- package/dist/chunks/chunk-EPZME2JV.js +0 -89
- package/dist/chunks/chunk-EQEWJ2EH.js +0 -160
- package/dist/chunks/chunk-ER6C73QO.js +0 -60
- package/dist/chunks/chunk-ESGWHIX4.js +0 -626
- package/dist/chunks/chunk-ESHQCRCA.js +0 -104
- package/dist/chunks/chunk-ESQDCGIV.js +0 -163
- package/dist/chunks/chunk-ET75YWRR.js +0 -207
- package/dist/chunks/chunk-ET7CAEKU.js +0 -84
- package/dist/chunks/chunk-ETIGXM7P.js +0 -140
- package/dist/chunks/chunk-EVBPWL4P.js +0 -124
- package/dist/chunks/chunk-EW4UC465.js +0 -141
- package/dist/chunks/chunk-EWJN637V.js +0 -220
- package/dist/chunks/chunk-EYDHAACH.js +0 -422
- package/dist/chunks/chunk-EYY2FOAY.js +0 -33
- package/dist/chunks/chunk-EZ5QG4D4.js +0 -101
- package/dist/chunks/chunk-EZD47EFT.js +0 -462
- package/dist/chunks/chunk-EZRMDNSA.js +0 -169
- package/dist/chunks/chunk-F2PE4YYI.js +0 -120
- package/dist/chunks/chunk-F2WIXXCI.js +0 -133
- package/dist/chunks/chunk-F4FXXHKT.js +0 -49
- package/dist/chunks/chunk-F4H2JIGL.js +0 -320
- package/dist/chunks/chunk-F4P757EL.js +0 -559
- package/dist/chunks/chunk-F4VMHPVX.js +0 -174
- package/dist/chunks/chunk-F77FP5T4.js +0 -209
- package/dist/chunks/chunk-F7HHUFLG.js +0 -91
- package/dist/chunks/chunk-FFFJ5FD6.js +0 -194
- package/dist/chunks/chunk-FGDZPE66.js +0 -192
- package/dist/chunks/chunk-FIAKOKOQ.js +0 -33
- package/dist/chunks/chunk-FK54QCHP.js +0 -122
- package/dist/chunks/chunk-FKH7PWUX.js +0 -93
- package/dist/chunks/chunk-FKQ7CVTY.js +0 -110
- package/dist/chunks/chunk-FLNTFUB7.js +0 -153
- package/dist/chunks/chunk-FML5MYTE.js +0 -87
- package/dist/chunks/chunk-FMOTIXPX.js +0 -129
- package/dist/chunks/chunk-FNDTDVIG.js +0 -187
- package/dist/chunks/chunk-FOPP3SHI.js +0 -76
- package/dist/chunks/chunk-FQOXCCQ2.js +0 -69
- package/dist/chunks/chunk-FSMFOMSF.js +0 -198
- package/dist/chunks/chunk-FXHGRZCD.js +0 -165
- package/dist/chunks/chunk-FYHULSPL.js +0 -163
- package/dist/chunks/chunk-G2R67YRY.js +0 -78
- package/dist/chunks/chunk-G46NHQHE.js +0 -287
- package/dist/chunks/chunk-G5ZDXWCT.js +0 -147
- package/dist/chunks/chunk-G6MY2GM3.js +0 -969
- package/dist/chunks/chunk-G7QCGH5V.js +0 -497
- package/dist/chunks/chunk-GADDN5S2.js +0 -284
- package/dist/chunks/chunk-GDTRLIOS.js +0 -139
- package/dist/chunks/chunk-GE42ROE4.js +0 -138
- package/dist/chunks/chunk-GEVYHKO4.js +0 -51
- package/dist/chunks/chunk-GFJJ4MEO.js +0 -90
- package/dist/chunks/chunk-GFLVPENS.js +0 -125
- package/dist/chunks/chunk-GFXFTD75.js +0 -33
- package/dist/chunks/chunk-GHD5COBQ.js +0 -889
- package/dist/chunks/chunk-GIEO5Z2H.js +0 -101
- package/dist/chunks/chunk-GIVMJ2NV.js +0 -176
- package/dist/chunks/chunk-GIX3A5UR.js +0 -140
- package/dist/chunks/chunk-GLQG4F36.js +0 -92
- package/dist/chunks/chunk-GONKOURH.js +0 -47
- package/dist/chunks/chunk-GQMJ3XQL.js +0 -191
- package/dist/chunks/chunk-GRUBFIKC.js +0 -28
- package/dist/chunks/chunk-GVRMGZHM.js +0 -152
- package/dist/chunks/chunk-GWS44ZSK.js +0 -279
- package/dist/chunks/chunk-GXL27IJA.js +0 -197
- package/dist/chunks/chunk-GYM4HSF6.js +0 -109
- package/dist/chunks/chunk-HA7MUNVV.js +0 -33
- package/dist/chunks/chunk-HAJ45FXD.js +0 -36
- package/dist/chunks/chunk-HDA6OMDX.js +0 -315
- package/dist/chunks/chunk-HIQ7N4XU.js +0 -103
- package/dist/chunks/chunk-HIXEX5B5.js +0 -163
- package/dist/chunks/chunk-HJ3A2QNE.js +0 -23
- package/dist/chunks/chunk-HJ7UCHMB.js +0 -85
- package/dist/chunks/chunk-HLJVPUN2.js +0 -23
- package/dist/chunks/chunk-HM4PIWA5.js +0 -146
- package/dist/chunks/chunk-HOOUYEHK.js +0 -108
- package/dist/chunks/chunk-HP2F4MRP.js +0 -391
- package/dist/chunks/chunk-HPFFLQA7.js +0 -78
- package/dist/chunks/chunk-HPQ23MS7.js +0 -147
- package/dist/chunks/chunk-HPTKPD5S.js +0 -152
- package/dist/chunks/chunk-HQU4HLJY.js +0 -274
- package/dist/chunks/chunk-HRN5FQ5D.js +0 -111
- package/dist/chunks/chunk-HUI56QE2.js +0 -76
- package/dist/chunks/chunk-HV2CALBC.js +0 -66
- package/dist/chunks/chunk-HVA3PGJ3.js +0 -261
- package/dist/chunks/chunk-HYHMZ7DV.js +0 -136
- package/dist/chunks/chunk-HYKCSFCJ.js +0 -33
- package/dist/chunks/chunk-I25XLNEB.js +0 -390
- package/dist/chunks/chunk-I3SZR45Q.js +0 -1309
- package/dist/chunks/chunk-I3YKNJ4F.js +0 -108
- package/dist/chunks/chunk-I44ZFSBI.js +0 -1002
- package/dist/chunks/chunk-I6PCKBLM.js +0 -23
- package/dist/chunks/chunk-I7XTJKG2.js +0 -204
- package/dist/chunks/chunk-I7YXBRPL.js +0 -326
- package/dist/chunks/chunk-IBFJZ7TP.js +0 -171
- package/dist/chunks/chunk-IBU63LKT.js +0 -301
- package/dist/chunks/chunk-IEJCPWLE.js +0 -206
- package/dist/chunks/chunk-IF6HVQUE.js +0 -161
- package/dist/chunks/chunk-IFVQ6E6H.js +0 -41
- package/dist/chunks/chunk-IGZ7FIYV.js +0 -42
- package/dist/chunks/chunk-IH5HVG5Q.js +0 -94
- package/dist/chunks/chunk-IJ5RQTNA.js +0 -260
- package/dist/chunks/chunk-IKPTHOS3.js +0 -156
- package/dist/chunks/chunk-ILL37BST.js +0 -351
- package/dist/chunks/chunk-ILTV2FXR.js +0 -172
- package/dist/chunks/chunk-IP3WY3ZM.js +0 -249
- package/dist/chunks/chunk-IQ5DVHMP.js +0 -94
- package/dist/chunks/chunk-IQGG3ZZM.js +0 -133
- package/dist/chunks/chunk-IRASARQN.js +0 -120
- package/dist/chunks/chunk-IU2VMNH6.js +0 -107
- package/dist/chunks/chunk-IVJGAUSW.js +0 -378
- package/dist/chunks/chunk-IVKKDMFF.js +0 -130
- package/dist/chunks/chunk-IVVFD3ZJ.js +0 -146
- package/dist/chunks/chunk-IW63LXPU.js +0 -239
- package/dist/chunks/chunk-IXDQZEOC.js +0 -95
- package/dist/chunks/chunk-J2CVR2C4.js +0 -23
- package/dist/chunks/chunk-J2SPVCFA.js +0 -212
- package/dist/chunks/chunk-J47SNU5Q.js +0 -358
- package/dist/chunks/chunk-J5EPG643.js +0 -99
- package/dist/chunks/chunk-J66422LJ.js +0 -122
- package/dist/chunks/chunk-JABRTEOQ.js +0 -23
- package/dist/chunks/chunk-JBWSGNJ4.js +0 -185
- package/dist/chunks/chunk-JCHM4KXS.js +0 -63
- package/dist/chunks/chunk-JFRE2LIT.js +0 -135
- package/dist/chunks/chunk-JHOGXKQT.js +0 -65
- package/dist/chunks/chunk-JK3DVOP2.js +0 -157
- package/dist/chunks/chunk-JL5MFSQZ.js +0 -194
- package/dist/chunks/chunk-JMSEO34Z.js +0 -299
- package/dist/chunks/chunk-JMUNI6YC.js +0 -80
- package/dist/chunks/chunk-JMW5MSIF.js +0 -166
- package/dist/chunks/chunk-JNU3S6XK.js +0 -48
- package/dist/chunks/chunk-JOJ2ITWK.js +0 -77
- package/dist/chunks/chunk-JOMQIK3J.js +0 -23
- package/dist/chunks/chunk-JP4II2C5.js +0 -202
- package/dist/chunks/chunk-JRJCOPWE.js +0 -105
- package/dist/chunks/chunk-JT62KTQX.js +0 -193
- package/dist/chunks/chunk-JTCKAZCF.js +0 -33
- package/dist/chunks/chunk-JUGJNNFA.js +0 -277
- package/dist/chunks/chunk-JV2SAWE2.js +0 -94
- package/dist/chunks/chunk-JVZD25UQ.js +0 -70
- package/dist/chunks/chunk-JYJDMX6P.js +0 -1393
- package/dist/chunks/chunk-JZNC3ESB.js +0 -224
- package/dist/chunks/chunk-K4DX3SKU.js +0 -1469
- package/dist/chunks/chunk-K55IVPAV.js +0 -149
- package/dist/chunks/chunk-K5BCO4W5.js +0 -95
- package/dist/chunks/chunk-K5ILILPQ.js +0 -106
- package/dist/chunks/chunk-K5SVRRCI.js +0 -97
- package/dist/chunks/chunk-K5UM5G7E.js +0 -98
- package/dist/chunks/chunk-K6YLHLUB.js +0 -144
- package/dist/chunks/chunk-K7B5WF6L.js +0 -210
- package/dist/chunks/chunk-KAYEGRGD.js +0 -94
- package/dist/chunks/chunk-KBAR4HVJ.js +0 -45
- package/dist/chunks/chunk-KBT22QH3.js +0 -36
- package/dist/chunks/chunk-KBTZKC5T.js +0 -145
- package/dist/chunks/chunk-KEMZKH6N.js +0 -161
- package/dist/chunks/chunk-KFUQWMEX.js +0 -169
- package/dist/chunks/chunk-KFXHPP2Q.js +0 -84
- package/dist/chunks/chunk-KGHRKLAH.js +0 -149
- package/dist/chunks/chunk-KH2XYHGN.js +0 -237
- package/dist/chunks/chunk-KH32MJEU.js +0 -45
- package/dist/chunks/chunk-KIB547IP.js +0 -192
- package/dist/chunks/chunk-KJESL6AA.js +0 -162
- package/dist/chunks/chunk-KMFNFQU5.js +0 -45
- package/dist/chunks/chunk-KMYLX4HD.js +0 -206
- package/dist/chunks/chunk-KN6MW4AI.js +0 -124
- package/dist/chunks/chunk-KNIXC5BL.js +0 -166
- package/dist/chunks/chunk-KOZZASHF.js +0 -298
- package/dist/chunks/chunk-KQD3JM4U.js +0 -23
- package/dist/chunks/chunk-KQLPEZHJ.js +0 -84
- package/dist/chunks/chunk-KTKH5C52.js +0 -123
- package/dist/chunks/chunk-KTR3DVPZ.js +0 -23
- package/dist/chunks/chunk-KUM23H4R.js +0 -1136
- package/dist/chunks/chunk-KUS25F63.js +0 -108
- package/dist/chunks/chunk-KUT5PN7M.js +0 -118
- package/dist/chunks/chunk-KVJ4HMDM.js +0 -163
- package/dist/chunks/chunk-KVYG7CG4.js +0 -140
- package/dist/chunks/chunk-KWEJKE3B.js +0 -228
- package/dist/chunks/chunk-KX7TDDUQ.js +0 -226
- package/dist/chunks/chunk-KY3SXRIS.js +0 -167
- package/dist/chunks/chunk-KYBV6ZEY.js +0 -23
- package/dist/chunks/chunk-KZGOHN7E.js +0 -50
- package/dist/chunks/chunk-KZXH5E55.js +0 -231
- package/dist/chunks/chunk-L2DG25VC.js +0 -106
- package/dist/chunks/chunk-L4XHLDJW.js +0 -104
- package/dist/chunks/chunk-L54UKDAI.js +0 -220
- package/dist/chunks/chunk-LBPFQLGD.js +0 -48
- package/dist/chunks/chunk-LBQE7WMK.js +0 -255
- package/dist/chunks/chunk-LCGLC5XO.js +0 -36
- package/dist/chunks/chunk-LE2RTMWD.js +0 -240
- package/dist/chunks/chunk-LEZQVO6N.js +0 -23
- package/dist/chunks/chunk-LG6JCSKR.js +0 -589
- package/dist/chunks/chunk-LGQ4SAYO.js +0 -105
- package/dist/chunks/chunk-LI3WOSKQ.js +0 -23
- package/dist/chunks/chunk-LIHWDTWA.js +0 -23
- package/dist/chunks/chunk-LJNEPJ7G.js +0 -247
- package/dist/chunks/chunk-LKVEI4TG.js +0 -100
- package/dist/chunks/chunk-LNDAH4Y5.js +0 -149
- package/dist/chunks/chunk-LO2COKX6.js +0 -290
- package/dist/chunks/chunk-LP4ISJZQ.js +0 -169
- package/dist/chunks/chunk-LPUCXVEC.js +0 -33
- package/dist/chunks/chunk-LQAABJHJ.js +0 -258
- package/dist/chunks/chunk-LQW4WJ4X.js +0 -77
- package/dist/chunks/chunk-LRU2N3NW.js +0 -36
- package/dist/chunks/chunk-LRVQ6VTM.js +0 -146
- package/dist/chunks/chunk-LSW3AJSG.js +0 -198
- package/dist/chunks/chunk-LUY3Q7U3.js +0 -23
- package/dist/chunks/chunk-LVTYDR4O.js +0 -122
- package/dist/chunks/chunk-LWBFXSD7.js +0 -200
- package/dist/chunks/chunk-LXV6KUPD.js +0 -86
- package/dist/chunks/chunk-LY5WGQU5.js +0 -154
- package/dist/chunks/chunk-LY6OQOVQ.js +0 -652
- package/dist/chunks/chunk-M46N34J4.js +0 -23
- package/dist/chunks/chunk-M4ERKOQS.js +0 -95
- package/dist/chunks/chunk-M4MKJOMD.js +0 -41
- package/dist/chunks/chunk-M6RQWVHU.js +0 -272
- package/dist/chunks/chunk-M7VIM2FJ.js +0 -102
- package/dist/chunks/chunk-M7XP3EJR.js +0 -121
- package/dist/chunks/chunk-MBEQLV23.js +0 -109
- package/dist/chunks/chunk-MBKPPQLW.js +0 -215
- package/dist/chunks/chunk-MCZGU56X.js +0 -81
- package/dist/chunks/chunk-MGJ6A4WP.js +0 -251
- package/dist/chunks/chunk-MHMAU3E6.js +0 -159
- package/dist/chunks/chunk-MISUZPUZ.js +0 -23
- package/dist/chunks/chunk-MMSSTV3E.js +0 -170
- package/dist/chunks/chunk-MOFBKUAK.js +0 -44
- package/dist/chunks/chunk-MOFKQVFI.js +0 -250
- package/dist/chunks/chunk-MONAG25N.js +0 -38
- package/dist/chunks/chunk-MOVBSPKX.js +0 -93
- package/dist/chunks/chunk-MR33MQS3.js +0 -71
- package/dist/chunks/chunk-MVDFWBBW.js +0 -81
- package/dist/chunks/chunk-MVXDZT7Y.js +0 -53
- package/dist/chunks/chunk-MW7XEKOU.js +0 -135
- package/dist/chunks/chunk-MWAPUWCM.js +0 -117
- package/dist/chunks/chunk-MZRHC5ZO.js +0 -33
- package/dist/chunks/chunk-N4FFAMM5.js +0 -137
- package/dist/chunks/chunk-N52BNR4N.js +0 -375
- package/dist/chunks/chunk-N77V7NHB.js +0 -45
- package/dist/chunks/chunk-NAYISXPK.js +0 -235
- package/dist/chunks/chunk-NBIELP5B.js +0 -197
- package/dist/chunks/chunk-NCUL257M.js +0 -150
- package/dist/chunks/chunk-NDJ47WZY.js +0 -96
- package/dist/chunks/chunk-NEZRW45W.js +0 -415
- package/dist/chunks/chunk-NHVRLNY3.js +0 -23
- package/dist/chunks/chunk-NIMN7PTL.js +0 -115
- package/dist/chunks/chunk-NJZ3O5DR.js +0 -23
- package/dist/chunks/chunk-NPSAHPTU.js +0 -88
- package/dist/chunks/chunk-NQTCYLN2.js +0 -74
- package/dist/chunks/chunk-NQUP72KL.js +0 -106
- package/dist/chunks/chunk-NRLK4U3I.js +0 -73
- package/dist/chunks/chunk-NRWOXGYT.js +0 -158
- package/dist/chunks/chunk-NSRQND7P.js +0 -266
- package/dist/chunks/chunk-NU5IHG7B.js +0 -215
- package/dist/chunks/chunk-NULGIUAT.js +0 -209
- package/dist/chunks/chunk-NVBQFO4W.js +0 -210
- package/dist/chunks/chunk-NVE4QLD5.js +0 -95
- package/dist/chunks/chunk-NVIUSTOS.js +0 -85
- package/dist/chunks/chunk-NW5TS5S2.js +0 -63
- package/dist/chunks/chunk-NWWGGVAO.js +0 -199
- package/dist/chunks/chunk-NXPEJ57M.js +0 -368
- package/dist/chunks/chunk-NYFT2WUP.js +0 -96
- package/dist/chunks/chunk-NYT2I6YH.js +0 -117
- package/dist/chunks/chunk-O2OUUNME.js +0 -47
- package/dist/chunks/chunk-O3EHQ5M2.js +0 -197
- package/dist/chunks/chunk-O7A5UJ5A.js +0 -152
- package/dist/chunks/chunk-O7ZV34WM.js +0 -224
- package/dist/chunks/chunk-OAWZMFFY.js +0 -209
- package/dist/chunks/chunk-OBMPLA3O.js +0 -127
- package/dist/chunks/chunk-OGMXIJ5B.js +0 -55
- package/dist/chunks/chunk-OGQYDO6Q.js +0 -182
- package/dist/chunks/chunk-OHJ3LNPB.js +0 -78
- package/dist/chunks/chunk-OIVJ6P6U.js +0 -204
- package/dist/chunks/chunk-OJS4DFBC.js +0 -103
- package/dist/chunks/chunk-OJZJO2EH.js +0 -728
- package/dist/chunks/chunk-OKH4PD6T.js +0 -226
- package/dist/chunks/chunk-OLUV3XVZ.js +0 -190
- package/dist/chunks/chunk-ORYQBFQ4.js +0 -102
- package/dist/chunks/chunk-OTHEPQ5U.js +0 -142
- package/dist/chunks/chunk-OVYEFUOG.js +0 -266
- package/dist/chunks/chunk-OX2SVXIX.js +0 -119
- package/dist/chunks/chunk-OY6BJC37.js +0 -115
- package/dist/chunks/chunk-P4MDCFDC.js +0 -147
- package/dist/chunks/chunk-P72VNGKD.js +0 -257
- package/dist/chunks/chunk-P7KJUXQJ.js +0 -95
- package/dist/chunks/chunk-P7ZRGMEI.js +0 -108
- package/dist/chunks/chunk-PA2GKJKU.js +0 -189
- package/dist/chunks/chunk-PDWN4VZH.js +0 -100
- package/dist/chunks/chunk-PE7FAFCN.js +0 -45
- package/dist/chunks/chunk-PGA7ZL3Z.js +0 -23
- package/dist/chunks/chunk-PGR2CSXU.js +0 -111
- package/dist/chunks/chunk-PHVJ4QOH.js +0 -112
- package/dist/chunks/chunk-PLFEXL7M.js +0 -33
- package/dist/chunks/chunk-PLWJHSIG.js +0 -115
- package/dist/chunks/chunk-PMSQQMXL.js +0 -119
- package/dist/chunks/chunk-PMTOLNWK.js +0 -112
- package/dist/chunks/chunk-PNLTFZTX.js +0 -92
- package/dist/chunks/chunk-PNRI2X3N.js +0 -23
- package/dist/chunks/chunk-PO7GBYWP.js +0 -23
- package/dist/chunks/chunk-POEL2ICI.js +0 -115
- package/dist/chunks/chunk-POND6BW5.js +0 -115
- package/dist/chunks/chunk-PPTYZ5MA.js +0 -777
- package/dist/chunks/chunk-PRGKIOID.js +0 -23
- package/dist/chunks/chunk-PRJEBEZH.js +0 -88
- package/dist/chunks/chunk-PRVFVH6C.js +0 -78
- package/dist/chunks/chunk-PTCCXMQ5.js +0 -172
- package/dist/chunks/chunk-PTFC2TB5.js +0 -122
- package/dist/chunks/chunk-PTJVN2A5.js +0 -125
- package/dist/chunks/chunk-PUDID26R.js +0 -270
- package/dist/chunks/chunk-PV7OR2LQ.js +0 -23
- package/dist/chunks/chunk-PVOLMMKT.js +0 -100
- package/dist/chunks/chunk-PZ7R2LFD.js +0 -184
- package/dist/chunks/chunk-PZBYR6AH.js +0 -201
- package/dist/chunks/chunk-PZU2DPCQ.js +0 -23
- package/dist/chunks/chunk-Q2LRBIPL.js +0 -79
- package/dist/chunks/chunk-Q3XZ7YGE.js +0 -122
- package/dist/chunks/chunk-Q4B4PPQJ.js +0 -153
- package/dist/chunks/chunk-Q7HNQAMT.js +0 -83
- package/dist/chunks/chunk-Q7KDPNWQ.js +0 -55
- package/dist/chunks/chunk-Q7PTZNQO.js +0 -331
- package/dist/chunks/chunk-QBYSVNPK.js +0 -195
- package/dist/chunks/chunk-QBYX2QFZ.js +0 -139
- package/dist/chunks/chunk-QBZXJDRX.js +0 -362
- package/dist/chunks/chunk-QCDR26VO.js +0 -70
- package/dist/chunks/chunk-QCKXI5JR.js +0 -128
- package/dist/chunks/chunk-QCXRK4SM.js +0 -149
- package/dist/chunks/chunk-QELTJQ23.js +0 -117
- package/dist/chunks/chunk-QF4LJ5LO.js +0 -74
- package/dist/chunks/chunk-QGTAUIWF.js +0 -251
- package/dist/chunks/chunk-QIJPR37R.js +0 -218
- package/dist/chunks/chunk-QINBXYPG.js +0 -130
- package/dist/chunks/chunk-QJUAULDU.js +0 -39
- package/dist/chunks/chunk-QLN3BBJF.js +0 -128
- package/dist/chunks/chunk-QLZP5EIV.js +0 -181
- package/dist/chunks/chunk-QNQQGYYE.js +0 -238
- package/dist/chunks/chunk-QPN2CZ7Z.js +0 -382
- package/dist/chunks/chunk-QPUUEU2Z.js +0 -98
- package/dist/chunks/chunk-QRFEO2XQ.js +0 -83
- package/dist/chunks/chunk-QRPWXOHA.js +0 -277
- package/dist/chunks/chunk-QSME6P2K.js +0 -122
- package/dist/chunks/chunk-QTWDG5OV.js +0 -106
- package/dist/chunks/chunk-QVF2XBWX.js +0 -105
- package/dist/chunks/chunk-QW3LDBZD.js +0 -90
- package/dist/chunks/chunk-QWER44AV.js +0 -71
- package/dist/chunks/chunk-QY4ZAJB7.js +0 -317
- package/dist/chunks/chunk-QYUONCKP.js +0 -95
- package/dist/chunks/chunk-QZ7JGAZ6.js +0 -181
- package/dist/chunks/chunk-QZEVMA2Q.js +0 -512
- package/dist/chunks/chunk-R27SHKB3.js +0 -141
- package/dist/chunks/chunk-R2JKWFID.js +0 -336
- package/dist/chunks/chunk-R3S7VIDE.js +0 -54
- package/dist/chunks/chunk-R4PNCY34.js +0 -118
- package/dist/chunks/chunk-R4XXOL5D.js +0 -344
- package/dist/chunks/chunk-R72NT5EU.js +0 -134
- package/dist/chunks/chunk-R75EKWTH.js +0 -89
- package/dist/chunks/chunk-RBWD32VC.js +0 -41
- package/dist/chunks/chunk-RBZ7IUQW.js +0 -304
- package/dist/chunks/chunk-RC5NGMOX.js +0 -45
- package/dist/chunks/chunk-RCFN7QEF.js +0 -136
- package/dist/chunks/chunk-RCM4FSIP.js +0 -72
- package/dist/chunks/chunk-REJAEZZW.js +0 -137
- package/dist/chunks/chunk-RHIENAJR.js +0 -174
- package/dist/chunks/chunk-RJBLO27S.js +0 -45
- package/dist/chunks/chunk-RJXRARJQ.js +0 -230
- package/dist/chunks/chunk-RKZSN3T2.js +0 -209
- package/dist/chunks/chunk-RN34DSUJ.js +0 -84
- package/dist/chunks/chunk-RPVENC2N.js +0 -848
- package/dist/chunks/chunk-RQYE6C4Q.js +0 -138
- package/dist/chunks/chunk-RSSTABUO.js +0 -358
- package/dist/chunks/chunk-RUWFJOKH.js +0 -120
- package/dist/chunks/chunk-RV3EY7SY.js +0 -44
- package/dist/chunks/chunk-RVAILPA3.js +0 -114
- package/dist/chunks/chunk-RVAKOFEX.js +0 -191
- package/dist/chunks/chunk-RWMSBYT3.js +0 -100
- package/dist/chunks/chunk-RXFSUOB2.js +0 -66
- package/dist/chunks/chunk-RXYYKFH7.js +0 -91
- package/dist/chunks/chunk-RXZW2VTP.js +0 -93
- package/dist/chunks/chunk-RYR3HGVM.js +0 -33
- package/dist/chunks/chunk-S2AEVMX3.js +0 -45
- package/dist/chunks/chunk-S2PRECQU.js +0 -190
- package/dist/chunks/chunk-S2XKKUVX.js +0 -305
- package/dist/chunks/chunk-S52MXDH4.js +0 -204
- package/dist/chunks/chunk-S65HCM5B.js +0 -33
- package/dist/chunks/chunk-SBF3P7YV.js +0 -121
- package/dist/chunks/chunk-SCBY2WJL.js +0 -156
- package/dist/chunks/chunk-SCSYJXTX.js +0 -172
- package/dist/chunks/chunk-SERNCV6U.js +0 -214
- package/dist/chunks/chunk-SG2KS36L.js +0 -129
- package/dist/chunks/chunk-SHAUFLZS.js +0 -103
- package/dist/chunks/chunk-SJIVHDN5.js +0 -109
- package/dist/chunks/chunk-SJXWFEJL.js +0 -138
- package/dist/chunks/chunk-SLPW6Q6L.js +0 -112
- package/dist/chunks/chunk-SNXRMGGV.js +0 -173
- package/dist/chunks/chunk-SPD3C2VM.js +0 -80
- package/dist/chunks/chunk-SQKK7QKL.js +0 -180
- package/dist/chunks/chunk-SQPA44LC.js +0 -114
- package/dist/chunks/chunk-SUZGNOUD.js +0 -217
- package/dist/chunks/chunk-SVH345JI.js +0 -182
- package/dist/chunks/chunk-SVQ7CPO3.js +0 -94
- package/dist/chunks/chunk-SVTOXKG2.js +0 -169
- package/dist/chunks/chunk-SYEF6ZK7.js +0 -13719
- package/dist/chunks/chunk-SZEOU2PW.js +0 -312
- package/dist/chunks/chunk-T3YWC6UF.js +0 -131
- package/dist/chunks/chunk-T4TEFQMZ.js +0 -33
- package/dist/chunks/chunk-T5UGQRI2.js +0 -49
- package/dist/chunks/chunk-T64SY5V2.js +0 -195
- package/dist/chunks/chunk-T6I477KF.js +0 -200
- package/dist/chunks/chunk-T76EVHO5.js +0 -33
- package/dist/chunks/chunk-TARGVQ2Q.js +0 -126
- package/dist/chunks/chunk-TFIFTJM4.js +0 -152
- package/dist/chunks/chunk-TGUWO6YA.js +0 -23
- package/dist/chunks/chunk-THQSKBIH.js +0 -33
- package/dist/chunks/chunk-TINBNLLN.js +0 -164
- package/dist/chunks/chunk-TJ5E7CG2.js +0 -80
- package/dist/chunks/chunk-TLTF26MB.js +0 -160
- package/dist/chunks/chunk-TMCMCLSI.js +0 -225
- package/dist/chunks/chunk-TMFXBN2E.js +0 -33
- package/dist/chunks/chunk-TONNO3UN.js +0 -45
- package/dist/chunks/chunk-TQVNARAT.js +0 -225
- package/dist/chunks/chunk-TTCCOCRH.js +0 -196
- package/dist/chunks/chunk-TUBAJVP6.js +0 -33
- package/dist/chunks/chunk-TUUSVBOQ.js +0 -112
- package/dist/chunks/chunk-TVMHGFER.js +0 -366
- package/dist/chunks/chunk-TWI36DJS.js +0 -237
- package/dist/chunks/chunk-U4QZCJEG.js +0 -109
- package/dist/chunks/chunk-U5W7MGDZ.js +0 -123
- package/dist/chunks/chunk-U6MKRNO4.js +0 -95
- package/dist/chunks/chunk-UE2UM7MI.js +0 -199
- package/dist/chunks/chunk-UGQ47PP4.js +0 -113
- package/dist/chunks/chunk-UHAIYNKV.js +0 -79
- package/dist/chunks/chunk-UHHGDN5F.js +0 -98
- package/dist/chunks/chunk-UIRU7XHV.js +0 -147
- package/dist/chunks/chunk-UISD7F3P.js +0 -111
- package/dist/chunks/chunk-ULV2HH6S.js +0 -97
- package/dist/chunks/chunk-UN3464DL.js +0 -122
- package/dist/chunks/chunk-UPOUIPDR.js +0 -111
- package/dist/chunks/chunk-UQSA62KS.js +0 -119
- package/dist/chunks/chunk-UQX7ZQUX.js +0 -97
- package/dist/chunks/chunk-URWF2FAB.js +0 -86
- package/dist/chunks/chunk-UTRJJFGE.js +0 -170
- package/dist/chunks/chunk-UTXAXSWP.js +0 -97
- package/dist/chunks/chunk-UW5LPTRZ.js +0 -262
- package/dist/chunks/chunk-UWE37NFW.js +0 -157
- package/dist/chunks/chunk-UWHRHA7I.js +0 -305
- package/dist/chunks/chunk-UZ464MTM.js +0 -102
- package/dist/chunks/chunk-V23XNQRV.js +0 -234
- package/dist/chunks/chunk-V3POGI7I.js +0 -81
- package/dist/chunks/chunk-V4RKNG3E.js +0 -283
- package/dist/chunks/chunk-V4YZHKZR.js +0 -79
- package/dist/chunks/chunk-V5AP2T3R.js +0 -95
- package/dist/chunks/chunk-V5U2JJ36.js +0 -80
- package/dist/chunks/chunk-V7B3W5GX.js +0 -293
- package/dist/chunks/chunk-V7U7A2DM.js +0 -242
- package/dist/chunks/chunk-V7VDJAEP.js +0 -307
- package/dist/chunks/chunk-VAOVKPCW.js +0 -305
- package/dist/chunks/chunk-VB6D3XUP.js +0 -45
- package/dist/chunks/chunk-VCTAQLFP.js +0 -261
- package/dist/chunks/chunk-VCUD5F2D.js +0 -194
- package/dist/chunks/chunk-VJ3ZS2VM.js +0 -684
- package/dist/chunks/chunk-VJD3OFQD.js +0 -179
- package/dist/chunks/chunk-VJWFTKVL.js +0 -182
- package/dist/chunks/chunk-VKB6TGQZ.js +0 -23
- package/dist/chunks/chunk-VNCDGKO4.js +0 -176
- package/dist/chunks/chunk-VOOWPCRH.js +0 -61
- package/dist/chunks/chunk-VOPDA3ML.js +0 -270
- package/dist/chunks/chunk-VOYMURID.js +0 -133
- package/dist/chunks/chunk-VPPELBC3.js +0 -231
- package/dist/chunks/chunk-VPVFT6PB.js +0 -172
- package/dist/chunks/chunk-VT7DN2L3.js +0 -282
- package/dist/chunks/chunk-VTJL5APR.js +0 -130
- package/dist/chunks/chunk-VTQ3TE7H.js +0 -157
- package/dist/chunks/chunk-VWB6GYPD.js +0 -104
- package/dist/chunks/chunk-VWK47IUY.js +0 -82
- package/dist/chunks/chunk-W32BCRVF.js +0 -23
- package/dist/chunks/chunk-W6O3MDOZ.js +0 -30
- package/dist/chunks/chunk-W7Q5ZVZS.js +0 -1845
- package/dist/chunks/chunk-WALPE56T.js +0 -33
- package/dist/chunks/chunk-WBQS25KX.js +0 -83
- package/dist/chunks/chunk-WCFL6BZW.js +0 -77
- package/dist/chunks/chunk-WHON3GOX.js +0 -135
- package/dist/chunks/chunk-WJQSKNSM.js +0 -104
- package/dist/chunks/chunk-WMRYDOG3.js +0 -107
- package/dist/chunks/chunk-WN6EPDTM.js +0 -152
- package/dist/chunks/chunk-WPGUPAFO.js +0 -45
- package/dist/chunks/chunk-WQSDO6OI.js +0 -105
- package/dist/chunks/chunk-WQTJWMWK.js +0 -81
- package/dist/chunks/chunk-WQX3BZKW.js +0 -209
- package/dist/chunks/chunk-WU2DL2QM.js +0 -112
- package/dist/chunks/chunk-WUKK5O6D.js +0 -96
- package/dist/chunks/chunk-WUWFTXXO.js +0 -77
- package/dist/chunks/chunk-WWHW6QPA.js +0 -77
- package/dist/chunks/chunk-X2MIXFAR.js +0 -149
- package/dist/chunks/chunk-X2Q4M27W.js +0 -23
- package/dist/chunks/chunk-X3O4H3MK.js +0 -260
- package/dist/chunks/chunk-X4RK4HFQ.js +0 -166
- package/dist/chunks/chunk-X7EHU5AS.js +0 -103
- package/dist/chunks/chunk-XA7TSRGP.js +0 -324
- package/dist/chunks/chunk-XG6SCVLD.js +0 -33
- package/dist/chunks/chunk-XGJKPNQH.js +0 -73
- package/dist/chunks/chunk-XGLXEQTH.js +0 -198
- package/dist/chunks/chunk-XHPHSSYL.js +0 -33
- package/dist/chunks/chunk-XIYTHHS3.js +0 -84
- package/dist/chunks/chunk-XJ4TDWHS.js +0 -320
- package/dist/chunks/chunk-XJGZ63SS.js +0 -214
- package/dist/chunks/chunk-XKIWYOGH.js +0 -145
- package/dist/chunks/chunk-XLXWTXXG.js +0 -97
- package/dist/chunks/chunk-XMFZQF2M.js +0 -149
- package/dist/chunks/chunk-XNPOY3X5.js +0 -100
- package/dist/chunks/chunk-XOI4SNFV.js +0 -156
- package/dist/chunks/chunk-XQ6JCUCS.js +0 -898
- package/dist/chunks/chunk-XQUEU3JO.js +0 -33
- package/dist/chunks/chunk-XTPIB4EG.js +0 -23
- package/dist/chunks/chunk-XUYWUFVZ.js +0 -117
- package/dist/chunks/chunk-XVPYJHI4.js +0 -141
- package/dist/chunks/chunk-XW2WUI4C.js +0 -177
- package/dist/chunks/chunk-XX6AYOEU.js +0 -226
- package/dist/chunks/chunk-XXLE3IN3.js +0 -118
- package/dist/chunks/chunk-XYPTVLKF.js +0 -155
- package/dist/chunks/chunk-XZ5R6KAR.js +0 -42
- package/dist/chunks/chunk-XZTWY4W2.js +0 -346
- package/dist/chunks/chunk-XZYFXH7S.js +0 -99
- package/dist/chunks/chunk-Y2OX5N6W.js +0 -146
- package/dist/chunks/chunk-Y3LISQUP.js +0 -74
- package/dist/chunks/chunk-Y53ADCL7.js +0 -1832
- package/dist/chunks/chunk-YA2S7L26.js +0 -274
- package/dist/chunks/chunk-YBU7MNXQ.js +0 -115
- package/dist/chunks/chunk-YCSZUXED.js +0 -151
- package/dist/chunks/chunk-YEBHC5M7.js +0 -93
- package/dist/chunks/chunk-YFKVLXF6.js +0 -106
- package/dist/chunks/chunk-YGE2S62M.js +0 -287
- package/dist/chunks/chunk-YH2A3S4M.js +0 -93
- package/dist/chunks/chunk-YHZ7TMFW.js +0 -33
- package/dist/chunks/chunk-YISDPLH6.js +0 -121
- package/dist/chunks/chunk-YJ4TKLUY.js +0 -97
- package/dist/chunks/chunk-YKJZJUBS.js +0 -255
- package/dist/chunks/chunk-YKWGENC5.js +0 -77
- package/dist/chunks/chunk-YLGUBOS2.js +0 -102
- package/dist/chunks/chunk-YLKGFMYC.js +0 -1307
- package/dist/chunks/chunk-YP5B2I5E.js +0 -106
- package/dist/chunks/chunk-YPRYTRAL.js +0 -303
- package/dist/chunks/chunk-YPT6N2KH.js +0 -70
- package/dist/chunks/chunk-YQIQQH76.js +0 -232
- package/dist/chunks/chunk-YSK7NOVB.js +0 -98
- package/dist/chunks/chunk-YSOT5NM7.js +0 -60
- package/dist/chunks/chunk-YTTCM2KX.js +0 -68
- package/dist/chunks/chunk-YUCRY66Q.js +0 -165
- package/dist/chunks/chunk-YV5QNUOR.js +0 -86
- package/dist/chunks/chunk-YWED75OR.js +0 -172
- package/dist/chunks/chunk-YX5ZGTDY.js +0 -52
- package/dist/chunks/chunk-YXMPDT3S.js +0 -183
- package/dist/chunks/chunk-YYZYL5VA.js +0 -62
- package/dist/chunks/chunk-YZKSD4HF.js +0 -162
- package/dist/chunks/chunk-Z2UJDJVI.js +0 -91
- package/dist/chunks/chunk-Z34BMFY2.js +0 -304
- package/dist/chunks/chunk-Z4BMKTO4.js +0 -30
- package/dist/chunks/chunk-Z4OPCSAQ.js +0 -139
- package/dist/chunks/chunk-Z4WDLU5S.js +0 -112
- package/dist/chunks/chunk-Z67OQJAI.js +0 -198
- package/dist/chunks/chunk-ZCZQFX63.js +0 -244
- package/dist/chunks/chunk-ZDLS255M.js +0 -396
- package/dist/chunks/chunk-ZFHOFY37.js +0 -36
- package/dist/chunks/chunk-ZFWJUBZA.js +0 -130
- package/dist/chunks/chunk-ZLHIISEA.js +0 -80
- package/dist/chunks/chunk-ZMJ2CTVD.js +0 -221
- package/dist/chunks/chunk-ZNLBWHQE.js +0 -50
- package/dist/chunks/chunk-ZNWBPLOL.js +0 -307
- package/dist/chunks/chunk-ZO6THKTO.js +0 -188
- package/dist/chunks/chunk-ZOMFXRRG.js +0 -55
- package/dist/chunks/chunk-ZP2ECUPJ.js +0 -215
- package/dist/chunks/chunk-ZPYBP4OB.js +0 -115
- package/dist/chunks/chunk-ZRAJL66X.js +0 -119
- package/dist/chunks/chunk-ZRQCKQSL.js +0 -41
- package/dist/chunks/chunk-ZTXC4KXA.js +0 -53
- package/dist/chunks/chunk-ZYNVRIBY.js +0 -163
- package/dist/chunks/client-3W4VV2XE.js +0 -31
- package/dist/chunks/client-DKZP4BWK.js +0 -168
- package/dist/chunks/client-MPSA5EWK.js +0 -47
- package/dist/chunks/client-actions-BO3AMD66.js +0 -169
- package/dist/chunks/components-OSDTA7I7.js +0 -77
- package/dist/chunks/dangerous-4U2Z26C4.js +0 -123
- package/dist/chunks/delete-current-file-Q2BFZYCS.js +0 -163
- package/dist/chunks/dispatch-GX7NV7RO.js +0 -21
- package/dist/chunks/editor-seams-U53QQCCH.js +0 -182
- package/dist/chunks/editor-store-FHHEEARJ.js +0 -148
- package/dist/chunks/export-M6ET67D6.js +0 -67
- package/dist/chunks/export-watermark-6IDKVIPB.js +0 -157
- package/dist/chunks/eyedropper-OTKV7DZ3.js +0 -355
- package/dist/chunks/generate-media-F2Q7SQPS.js +0 -255
- package/dist/chunks/host-SDWEBWRP.js +0 -245
- package/dist/chunks/host-UEL6ELAC.js +0 -183
- package/dist/chunks/integrations-L5VV2557.js +0 -125
- package/dist/chunks/libraries-5BCCTWQX.js +0 -311
- package/dist/chunks/library-previews-X2G4EEM6.js +0 -206
- package/dist/chunks/live-XKXVFEKG.js +0 -322
- package/dist/chunks/lottie-TF74Y5W6.js +0 -90
- package/dist/chunks/media-tool-JIA5SHSB.js +0 -237
- package/dist/chunks/new-file-C3ZDRELB.js +0 -140
- package/dist/chunks/next-commerce-OL4VHU3F.js +0 -73
- package/dist/chunks/pdf-FXJZTBRT.js +0 -1217
- package/dist/chunks/player-check-ZSEYHYY3.js +0 -118
- package/dist/chunks/plugin-O47UIEDE.js +0 -130
- package/dist/chunks/plugin-import-SQU6UE22.js +0 -691
- package/dist/chunks/pptx-X3E5FDWX.js +0 -307
- package/dist/chunks/presence-HC5M32AR.js +0 -137
- package/dist/chunks/preview-media-4YWOP5NM.js +0 -129
- package/dist/chunks/project-QDESERAH.js +0 -1600
- package/dist/chunks/publish-site-DXJJRDWT.js +0 -167
- package/dist/chunks/publish-store-6QWGFW75.js +0 -99
- package/dist/chunks/raster-actions-TEJBQI3X.js +0 -233
- package/dist/chunks/reference-images-PE6UCTTN.js +0 -62
- package/dist/chunks/resolvers-DQLE7BNX.js +0 -149
- package/dist/chunks/runner-XUURPIZF.js +0 -3545
- package/dist/chunks/store-TOCLA25Q.js +0 -234
- package/dist/chunks/storefront-DAYUB6EH.js +0 -335
- package/dist/chunks/storefront-prepare-UNVOAGBX.js +0 -33
- package/dist/chunks/svg-export-6PEWZGO2.js +0 -83
- package/dist/chunks/sync-XNCTKPXP.js +0 -162
- package/dist/chunks/tabs-SWAOYABZ.js +0 -320
- package/dist/chunks/team-I35OMCFI.js +0 -47
- package/dist/chunks/team-client-U2TRUODW.js +0 -158
- package/dist/chunks/templates-LXICC7QG.js +0 -183
- package/dist/chunks/tools-ZPNFDEWG.js +0 -37
- package/dist/chunks/tree-L3QPVVUF.js +0 -82
- package/dist/chunks/ui-commands-KSTOIZSS.js +0 -190
- package/dist/chunks/versions-WX7FNFNE.js +0 -320
- package/dist/chunks/web-MOALVYPG.js +0 -185
|
@@ -0,0 +1,1601 @@
|
|
|
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-M2XMMRLC.js";
|
|
12
|
+
import {
|
|
13
|
+
EXPORT_VERSIONS,
|
|
14
|
+
RUNTIME_PACKAGE,
|
|
15
|
+
range,
|
|
16
|
+
runtimeRange
|
|
17
|
+
} from "./chunk-W6ZIDU5T.js";
|
|
18
|
+
import {
|
|
19
|
+
ASSET_DIR,
|
|
20
|
+
appAssetPaths,
|
|
21
|
+
externalizeBitmaps,
|
|
22
|
+
withAssetBase
|
|
23
|
+
} from "./chunk-D3A3467T.js";
|
|
24
|
+
import {
|
|
25
|
+
serializeHTML
|
|
26
|
+
} from "./chunk-PQDTQODZ.js";
|
|
27
|
+
import {
|
|
28
|
+
componentName,
|
|
29
|
+
fileBase,
|
|
30
|
+
serializeReact,
|
|
31
|
+
withoutScreenIslands
|
|
32
|
+
} from "./chunk-WE2HKGBH.js";
|
|
33
|
+
import "./chunk-3HJE2BOM.js";
|
|
34
|
+
import "./chunk-WMOX7OES.js";
|
|
35
|
+
import {
|
|
36
|
+
fontFaceRules,
|
|
37
|
+
fontsURL
|
|
38
|
+
} from "./chunk-6KEIENAL.js";
|
|
39
|
+
import {
|
|
40
|
+
escapeHTML,
|
|
41
|
+
mergeDropped,
|
|
42
|
+
tokensCSS
|
|
43
|
+
} from "./chunk-R7SIFAMQ.js";
|
|
44
|
+
import "./chunk-44UEFX4Z.js";
|
|
45
|
+
import {
|
|
46
|
+
hrefOf,
|
|
47
|
+
opensNewTab
|
|
48
|
+
} from "./chunk-EEHWGME6.js";
|
|
49
|
+
import "./chunk-7KVJX66N.js";
|
|
50
|
+
import "./chunk-FZYQFW5T.js";
|
|
51
|
+
import {
|
|
52
|
+
usesSignIn
|
|
53
|
+
} from "./chunk-DE5KWAK5.js";
|
|
54
|
+
import "./chunk-BJEUPCOR.js";
|
|
55
|
+
import "./chunk-Y5DRBM5F.js";
|
|
56
|
+
import "./chunk-MJKZDUX4.js";
|
|
57
|
+
import "./chunk-D3GI6HKP.js";
|
|
58
|
+
import "./chunk-RWHIKQ2L.js";
|
|
59
|
+
import "./chunk-L7WGJ7QG.js";
|
|
60
|
+
import "./chunk-MGMQ2KJU.js";
|
|
61
|
+
import "./chunk-5AHFTM4R.js";
|
|
62
|
+
import "./chunk-XGC2MJQ3.js";
|
|
63
|
+
import "./chunk-S25JSO4I.js";
|
|
64
|
+
import "./chunk-HLPK64GC.js";
|
|
65
|
+
import "./chunk-LGNJXK44.js";
|
|
66
|
+
import "./chunk-UNLBBM3F.js";
|
|
67
|
+
import "./chunk-FM6YGPXM.js";
|
|
68
|
+
import {
|
|
69
|
+
ITEM_RECORD,
|
|
70
|
+
copyRecord,
|
|
71
|
+
itemText,
|
|
72
|
+
layerId,
|
|
73
|
+
repeatRecords
|
|
74
|
+
} from "./chunk-D3OJDBJY.js";
|
|
75
|
+
import {
|
|
76
|
+
SESSION_COOKIE,
|
|
77
|
+
USER_VARIABLES,
|
|
78
|
+
fieldKey,
|
|
79
|
+
visitorCollections
|
|
80
|
+
} from "./chunk-QUOR4SUK.js";
|
|
81
|
+
import "./chunk-AVWA3JAF.js";
|
|
82
|
+
import {
|
|
83
|
+
GOOGLE_FONTS,
|
|
84
|
+
NON_VARIABLE_FONTS
|
|
85
|
+
} from "./chunk-MAY74YBA.js";
|
|
86
|
+
import "./chunk-I2HS3G6L.js";
|
|
87
|
+
import "./chunk-SG2HVQFH.js";
|
|
88
|
+
import "./chunk-J65G3EI7.js";
|
|
89
|
+
import "./chunk-QSMUW5EB.js";
|
|
90
|
+
import "./chunk-TUUV4LPG.js";
|
|
91
|
+
import "./chunk-PYLLKI27.js";
|
|
92
|
+
import "./chunk-DJNLUKOU.js";
|
|
93
|
+
import "./chunk-4S6PGBFE.js";
|
|
94
|
+
import "./chunk-XMFUQRVR.js";
|
|
95
|
+
import "./chunk-ZM2DPCNT.js";
|
|
96
|
+
import {
|
|
97
|
+
getWorldTransform,
|
|
98
|
+
init_scene_graph,
|
|
99
|
+
uprightBounds
|
|
100
|
+
} from "./chunk-XLDMTJQY.js";
|
|
101
|
+
import "./chunk-TI7QDIRR.js";
|
|
102
|
+
import "./chunk-W267QXPV.js";
|
|
103
|
+
import "./chunk-RE7SHU2D.js";
|
|
104
|
+
import "./chunk-MPIYDOEF.js";
|
|
105
|
+
import "./chunk-AJCJBDGI.js";
|
|
106
|
+
import "./chunk-ZDL3FDAT.js";
|
|
107
|
+
import {
|
|
108
|
+
init_expressions2 as init_expressions,
|
|
109
|
+
parseExpression
|
|
110
|
+
} from "./chunk-X6UBPW5N.js";
|
|
111
|
+
import "./chunk-6KJT76UR.js";
|
|
112
|
+
import "./chunk-NZKUQ5FE.js";
|
|
113
|
+
import "./chunk-EZXBEAVI.js";
|
|
114
|
+
import "./chunk-EDXW4XPI.js";
|
|
115
|
+
import "./chunk-2XB63O3T.js";
|
|
116
|
+
import "./chunk-E36SCACU.js";
|
|
117
|
+
import "./chunk-7BWDTEXO.js";
|
|
118
|
+
import "./chunk-VW2FNPYI.js";
|
|
119
|
+
import "./chunk-I62FQ5QU.js";
|
|
120
|
+
import "./chunk-P4XICREO.js";
|
|
121
|
+
import "./chunk-ZPBARJPC.js";
|
|
122
|
+
import "./chunk-PFM3YVVM.js";
|
|
123
|
+
import "./chunk-FEKRQPV3.js";
|
|
124
|
+
import "./chunk-LPSIJ2QE.js";
|
|
125
|
+
import {
|
|
126
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
127
|
+
} from "./chunk-MFWXJURX.js";
|
|
128
|
+
import "./chunk-LJSVREWM.js";
|
|
129
|
+
|
|
130
|
+
// lib/io/web/project/index.ts
|
|
131
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
132
|
+
|
|
133
|
+
// lib/io/web/project/build.ts
|
|
134
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
135
|
+
|
|
136
|
+
// lib/io/web/project/static.ts
|
|
137
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
138
|
+
|
|
139
|
+
// lib/site/live.ts
|
|
140
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
141
|
+
var HAS_ITEM = /\{\{\s*item[._]/;
|
|
142
|
+
function asRecords(doc, collectionId, rows) {
|
|
143
|
+
const collection = doc.collections?.[collectionId];
|
|
144
|
+
if (!collection) return [];
|
|
145
|
+
const made = (r) => new Date(r.createdAt).toLocaleDateString(void 0, { weekday: "short", day: "numeric", month: "short" });
|
|
146
|
+
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) => {
|
|
147
|
+
const v = r.values[fieldKey(f.name)];
|
|
148
|
+
return [f.id, (v === null || v === void 0 || v === "") && f.type === "DATE" ? made(r) : v ?? void 0];
|
|
149
|
+
})) }));
|
|
150
|
+
}
|
|
151
|
+
function withVisitorRecords(site, collectionId, rows) {
|
|
152
|
+
const doc = site.program.document;
|
|
153
|
+
const collection = doc.collections?.[collectionId];
|
|
154
|
+
if (!collection) return site;
|
|
155
|
+
const records = asRecords(doc, collectionId, rows);
|
|
156
|
+
const samples = new Set(Object.values(doc.records ?? {}).filter((r) => r.collectionId === collectionId).map((r) => r.id));
|
|
157
|
+
const copyFor = (node, sample, record, above) => {
|
|
158
|
+
const id = node.id.split(`~${sample}`).join(`~${record.id}`);
|
|
159
|
+
const control = doc.nodes[layerId(node.id)]?.control;
|
|
160
|
+
const next = { ...node, id, children: node.children.map((c) => copyFor(c, sample, record, control)) };
|
|
161
|
+
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) };
|
|
162
|
+
const starts = (control ?? above)?.value;
|
|
163
|
+
if (next.input && starts && HAS_ITEM.test(starts)) {
|
|
164
|
+
const value = itemText(starts, collection, record);
|
|
165
|
+
next.input = next.input.tag === "input" ? { ...next.input, attrs: { ...next.input.attrs, value } } : { ...next.input, value };
|
|
166
|
+
}
|
|
167
|
+
const written = doc.nodes[layerId(node.id)]?.characters;
|
|
168
|
+
if (next.text && written && HAS_ITEM.test(written)) {
|
|
169
|
+
next.text = { ...next.text, characters: itemText(written, collection, record) };
|
|
170
|
+
delete next.runs;
|
|
171
|
+
}
|
|
172
|
+
return next;
|
|
173
|
+
};
|
|
174
|
+
const others = Object.fromEntries(Object.entries(doc.records ?? {}).filter(([, r]) => r.collectionId !== collectionId));
|
|
175
|
+
const document = {
|
|
176
|
+
...doc,
|
|
177
|
+
records: { ...others, ...Object.fromEntries(records.map((r) => [r.id, r])) },
|
|
178
|
+
collections: { ...doc.collections, [collectionId]: { ...collection, order: records.map((r) => r.id) } }
|
|
179
|
+
};
|
|
180
|
+
const fill = (node) => {
|
|
181
|
+
const repeat = doc.nodes[layerId(node.id)]?.repeat;
|
|
182
|
+
if (repeat?.collectionId !== collectionId) return { ...node, children: node.children.map(fill) };
|
|
183
|
+
const first = node.children.map((c) => copyRecord(c.id)).find((r) => !!r && samples.has(r));
|
|
184
|
+
if (!first) return node;
|
|
185
|
+
const pattern = node.children.filter((c) => copyRecord(c.id) === first);
|
|
186
|
+
const kept = node.children.filter((c) => {
|
|
187
|
+
const r = copyRecord(c.id);
|
|
188
|
+
return !r || !samples.has(r);
|
|
189
|
+
});
|
|
190
|
+
const shown = repeatRecords(document, repeat);
|
|
191
|
+
return { ...node, children: [...kept, ...shown.flatMap((record) => pattern.map((c) => copyFor(c, first, record)))] };
|
|
192
|
+
};
|
|
193
|
+
return { ...site, pages: site.pages.map((p) => ({ ...p, tree: { ...p.tree, root: fill(p.tree.root) } })), program: { ...site.program, document } };
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// lib/sites/data.ts
|
|
197
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
198
|
+
|
|
199
|
+
// lib/io/web/share.ts
|
|
200
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
201
|
+
function pageShareImage(site, page) {
|
|
202
|
+
if (page.shareImage) return { path: page.shareImage, width: 1200, height: 630 };
|
|
203
|
+
return site.share ? { path: site.share.image, width: site.share.width, height: site.share.height } : null;
|
|
204
|
+
}
|
|
205
|
+
var at = (origin, path) => `${origin ? origin.replace(/\/+$/, "") : ""}/${path.replace(/^\/+/, "")}`;
|
|
206
|
+
function shareMetaTags(site, page, opts = {}) {
|
|
207
|
+
const meta = (attr, key, value) => `<meta ${attr}="${key}" content="${escapeHTML(value)}" />`;
|
|
208
|
+
const image = pageShareImage(site, page);
|
|
209
|
+
return [
|
|
210
|
+
meta("property", "og:type", "website"),
|
|
211
|
+
meta("property", "og:site_name", site.name),
|
|
212
|
+
meta("property", "og:title", page.title),
|
|
213
|
+
...page.description ? [meta("property", "og:description", page.description)] : [],
|
|
214
|
+
...page.notFound ? [] : [meta("property", "og:url", at(opts.origin, page.route))],
|
|
215
|
+
...image ? [
|
|
216
|
+
meta("property", "og:image", at(opts.origin, image.path)),
|
|
217
|
+
meta("property", "og:image:width", String(image.width)),
|
|
218
|
+
meta("property", "og:image:height", String(image.height)),
|
|
219
|
+
meta("property", "og:image:alt", page.title)
|
|
220
|
+
] : [],
|
|
221
|
+
meta("name", "twitter:card", image ? "summary_large_image" : "summary"),
|
|
222
|
+
meta("name", "twitter:title", page.title),
|
|
223
|
+
...page.description ? [meta("name", "twitter:description", page.description)] : [],
|
|
224
|
+
...image ? [meta("name", "twitter:image", at(opts.origin, image.path))] : []
|
|
225
|
+
];
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// lib/io/web/project/static.ts
|
|
229
|
+
function pageHTML(site, page, lang, lost = false, origin) {
|
|
230
|
+
const up = lost ? "/" : routeUp(page.route);
|
|
231
|
+
const fonts = fontsURL(site.fonts.filter((f) => !site.fontFaces?.some((s) => s.family === f.family)).map((f) => [f.family, f.weights]));
|
|
232
|
+
const rules = [
|
|
233
|
+
"html,body{margin:0;height:100%}#pc-root{min-height:100%;position:relative}*{box-sizing:border-box}",
|
|
234
|
+
// The file's own fonts, shipped in the site's fonts/ folder.
|
|
235
|
+
...fontFaceRules(site.fontFaces?.map((f) => ({ ...f, url: `${up}${f.url}` }))),
|
|
236
|
+
...site.tokens ? tokensCSS(site.tokens) : [],
|
|
237
|
+
...page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []
|
|
238
|
+
];
|
|
239
|
+
const body = serializeHTML({ ...page.tree, root: withAssetBase(page.tree.root, up) }, { inline: true, ids: true });
|
|
240
|
+
const unseen = page.access === "signedIn" ? ' style="visibility:hidden"' : "";
|
|
241
|
+
return [
|
|
242
|
+
"<!DOCTYPE html>",
|
|
243
|
+
`<html lang="${escapeHTML(lang)}">`,
|
|
244
|
+
"<head>",
|
|
245
|
+
'<meta charset="utf-8" />',
|
|
246
|
+
'<meta name="viewport" content="width=device-width, initial-scale=1" />',
|
|
247
|
+
`<title>${escapeHTML(page.title)}</title>`,
|
|
248
|
+
...page.description ? [`<meta name="description" content="${escapeHTML(page.description)}" />`] : [],
|
|
249
|
+
...shareMetaTags(site, page, { origin }),
|
|
250
|
+
...fonts ? [`<link id="pc-fonts" rel="stylesheet" href="${escapeHTML(fonts)}" />`] : [],
|
|
251
|
+
`<style>
|
|
252
|
+
${rules.join("\n")}
|
|
253
|
+
</style>`,
|
|
254
|
+
"</head>",
|
|
255
|
+
"<body>",
|
|
256
|
+
`<div id="pc-root"${unseen}>
|
|
257
|
+
${body}
|
|
258
|
+
</div>`,
|
|
259
|
+
`<script src="${up}pc/site.js" data-site="${up}site.json" data-route="${lost ? "" : escapeHTML(page.route)}" data-start="${escapeHTML(page.id)}"></script>`,
|
|
260
|
+
"</body>",
|
|
261
|
+
"</html>",
|
|
262
|
+
""
|
|
263
|
+
].join("\n");
|
|
264
|
+
}
|
|
265
|
+
function staticSiteFiles(site, scripts, opts = {}) {
|
|
266
|
+
const lang = opts.lang ?? "en";
|
|
267
|
+
const files = externalizeBitmaps(site);
|
|
268
|
+
const taken = /* @__PURE__ */ new Set();
|
|
269
|
+
const still = visitorCollections(site.program.document.collections).reduce((s, c) => withVisitorRecords(s, c.id, []), site);
|
|
270
|
+
for (const page of still.pages) {
|
|
271
|
+
const path = page.notFound ? "404.html" : routeFile(page.route);
|
|
272
|
+
if (taken.has(path)) continue;
|
|
273
|
+
taken.add(path);
|
|
274
|
+
files.push({ path, content: pageHTML(still, page, lang, !!page.notFound, opts.origin) });
|
|
275
|
+
}
|
|
276
|
+
files.push({ path: "site.json", content: JSON.stringify(site) });
|
|
277
|
+
files.push({ path: "pc/site.js", content: scripts.site });
|
|
278
|
+
if (site.islands && scripts.island) files.push({ path: "pc/island.js", content: scripts.island });
|
|
279
|
+
if (site.code && scripts.code) files.push({ path: "pc/code.js", content: scripts.code });
|
|
280
|
+
return files;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// lib/io/web/project/next.ts
|
|
284
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
285
|
+
|
|
286
|
+
// lib/io/web/project/behaviour.ts
|
|
287
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
288
|
+
init_expressions();
|
|
289
|
+
var identFor = (name) => {
|
|
290
|
+
const last = name.split("/").pop().replace(/[^A-Za-z0-9]+(.)?/g, (_m, c) => c ? c.toUpperCase() : "");
|
|
291
|
+
const id = last.charAt(0).toLowerCase() + last.slice(1);
|
|
292
|
+
return /^[A-Za-z_$]/.test(id) && !RESERVED.has(id) ? id : `v${id.charAt(0).toUpperCase()}${id.slice(1)}`;
|
|
293
|
+
};
|
|
294
|
+
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"]);
|
|
295
|
+
var TS_TYPE = { BOOLEAN: "boolean", FLOAT: "number", STRING: "string", COLOR: "string" };
|
|
296
|
+
var DATA_FUNCTIONS = /* @__PURE__ */ new Set(["count", "sum", "distinct", "best", "countSince", "sumSince", "countOn", "streak"]);
|
|
297
|
+
var STYLE_PROPS = {
|
|
298
|
+
opacity: (e) => ["opacity", e],
|
|
299
|
+
width: (e) => ["width", `\`\${${e}}px\``],
|
|
300
|
+
height: (e) => ["height", `\`\${${e}}px\``],
|
|
301
|
+
rotation: (e) => ["rotate", `\`\${${e}}deg\``],
|
|
302
|
+
cornerRadius: (e) => ["borderRadius", `\`\${${e}}px\``]
|
|
303
|
+
};
|
|
304
|
+
function behaviourOf(site) {
|
|
305
|
+
const doc = site.program?.document ?? { nodes: {} };
|
|
306
|
+
const vars = Object.values(doc.variables ?? {});
|
|
307
|
+
const taken = /* @__PURE__ */ new Set();
|
|
308
|
+
const variables = vars.map((v) => {
|
|
309
|
+
let ident = identFor(v.name);
|
|
310
|
+
for (let n = 2; taken.has(ident); n++) ident = `${identFor(v.name)}${n}`;
|
|
311
|
+
taken.add(ident);
|
|
312
|
+
const coll = doc.variableCollections?.[v.variableCollectionId];
|
|
313
|
+
const raw = v.valuesByMode[coll?.defaultModeId ?? Object.keys(v.valuesByMode)[0]];
|
|
314
|
+
const type = TS_TYPE[v.type] ?? "string";
|
|
315
|
+
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) : "");
|
|
316
|
+
return { id: v.id, name: v.name, ident, type, initial };
|
|
317
|
+
});
|
|
318
|
+
const byId = new Map(variables.map((v) => [v.id, v]));
|
|
319
|
+
const byFull = new Map(variables.map((v) => [v.name, v]));
|
|
320
|
+
const short = /* @__PURE__ */ new Map();
|
|
321
|
+
for (const v of variables) {
|
|
322
|
+
const last = v.name.split("/").pop();
|
|
323
|
+
short.set(last, short.has(last) ? null : v);
|
|
324
|
+
}
|
|
325
|
+
const find = (name) => byFull.get(name) ?? short.get(name) ?? void 0;
|
|
326
|
+
const overlays = /* @__PURE__ */ new Set();
|
|
327
|
+
const missingByScreen = /* @__PURE__ */ new Map();
|
|
328
|
+
const screenOf = (id) => {
|
|
329
|
+
let at2 = id;
|
|
330
|
+
while (at2) {
|
|
331
|
+
const n = doc.nodes[at2];
|
|
332
|
+
if (!n) return null;
|
|
333
|
+
if (doc.nodes[n.parentId ?? ""]?.type === "PAGE") return at2;
|
|
334
|
+
at2 = n.parentId;
|
|
335
|
+
}
|
|
336
|
+
return null;
|
|
337
|
+
};
|
|
338
|
+
const miss = (nodeId, what) => {
|
|
339
|
+
const s = screenOf(nodeId);
|
|
340
|
+
if (s) (missingByScreen.get(s) ?? missingByScreen.set(s, /* @__PURE__ */ new Set()).get(s)).add(what);
|
|
341
|
+
};
|
|
342
|
+
let inItem = false;
|
|
343
|
+
const within = (webId, f) => {
|
|
344
|
+
const was = inItem;
|
|
345
|
+
inItem = webId.includes(`~${ITEM_RECORD}`);
|
|
346
|
+
try {
|
|
347
|
+
return f();
|
|
348
|
+
} finally {
|
|
349
|
+
inItem = was;
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
const expr = (src, o = {}) => {
|
|
353
|
+
let tree;
|
|
354
|
+
try {
|
|
355
|
+
tree = parseExpression(src, (name) => byFull.has(name));
|
|
356
|
+
} catch {
|
|
357
|
+
return null;
|
|
358
|
+
}
|
|
359
|
+
const go = (n) => {
|
|
360
|
+
switch (n.k) {
|
|
361
|
+
case "lit":
|
|
362
|
+
return JSON.stringify(n.v);
|
|
363
|
+
case "key":
|
|
364
|
+
return o.key ?? '""';
|
|
365
|
+
// An exported app has no music clock yet: the song position reads as 0.
|
|
366
|
+
case "time":
|
|
367
|
+
return "0";
|
|
368
|
+
case "var": {
|
|
369
|
+
const field = inItem ? /^item[._](.+)$/.exec(n.name)?.[1] : void 0;
|
|
370
|
+
if (field) return `itemField(item, ${JSON.stringify(field)})`;
|
|
371
|
+
const v = find(n.name);
|
|
372
|
+
if (!v && inItem) return `itemField(item, ${JSON.stringify(n.name)})`;
|
|
373
|
+
if (!v) {
|
|
374
|
+
if (o.at) miss(o.at, `the value "${n.name}"`);
|
|
375
|
+
return null;
|
|
376
|
+
}
|
|
377
|
+
return `v.${v.ident}`;
|
|
378
|
+
}
|
|
379
|
+
case "un": {
|
|
380
|
+
const a = go(n.a);
|
|
381
|
+
return a === null ? null : n.op === "-" ? `ops.neg(${a})` : `ops.not(${a})`;
|
|
382
|
+
}
|
|
383
|
+
case "if": {
|
|
384
|
+
const c = go(n.c), a = go(n.a), b = go(n.b);
|
|
385
|
+
return c === null || a === null || b === null ? null : `(truthy(${c}) ? ${a} : ${b})`;
|
|
386
|
+
}
|
|
387
|
+
case "call": {
|
|
388
|
+
const args = n.args.map(go);
|
|
389
|
+
if (args.some((a) => a === null)) return null;
|
|
390
|
+
const over = DATA_FUNCTIONS.has(n.fn) && collections.length ? "site.call" : "call";
|
|
391
|
+
return `${over}(${JSON.stringify(n.fn)}${args.map((a) => `, ${a}`).join("")})`;
|
|
392
|
+
}
|
|
393
|
+
case "bin": {
|
|
394
|
+
const a = go(n.a), b = go(n.b);
|
|
395
|
+
if (a === null || b === null) return null;
|
|
396
|
+
if (n.op === "&&") return `(truthy(${a}) ? ${b} : ${a})`;
|
|
397
|
+
if (n.op === "||") return `(truthy(${a}) ? ${a} : ${b})`;
|
|
398
|
+
const op = { "+": "add", "-": "sub", "*": "mul", "/": "div", "%": "mod", "<": "lt", "<=": "le", ">": "gt", ">=": "ge", "==": "eq", "!=": "ne" }[n.op];
|
|
399
|
+
return op ? `ops.${op}(${a}, ${b})` : null;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return null;
|
|
403
|
+
};
|
|
404
|
+
return go(tree);
|
|
405
|
+
};
|
|
406
|
+
const routeOf = (screenId) => screenId ? site.pages.find((p) => p.id === screenId && !p.record)?.route ?? null : null;
|
|
407
|
+
const setter = (a, key, at2) => {
|
|
408
|
+
const v = a.variableId ? byId.get(a.variableId) : void 0;
|
|
409
|
+
if (!v) return null;
|
|
410
|
+
if (a.variableToggle) return `set(${JSON.stringify(v.ident)}, !v.${v.ident})`;
|
|
411
|
+
if (a.variableExpression?.trim()) {
|
|
412
|
+
const e = expr(a.variableExpression, { key, at: at2 });
|
|
413
|
+
if (e === null) return null;
|
|
414
|
+
const coerce = v.type === "number" ? `num(${e})` : v.type === "boolean" ? `truthy(${e})` : `exprText(${e})`;
|
|
415
|
+
return `set(${JSON.stringify(v.ident)}, ${coerce})`;
|
|
416
|
+
}
|
|
417
|
+
const raw = a.variableValue;
|
|
418
|
+
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));
|
|
419
|
+
return `set(${JSON.stringify(v.ident)}, ${literal})`;
|
|
420
|
+
};
|
|
421
|
+
const statements = (a, at2, key, changeTo) => {
|
|
422
|
+
switch (a.navigationType) {
|
|
423
|
+
case "NAVIGATE": {
|
|
424
|
+
const r = routeOf(a.destinationId);
|
|
425
|
+
if (r) return [`router.push(${JSON.stringify(r)})`];
|
|
426
|
+
miss(at2, "a go to a frame that is not one of the pages");
|
|
427
|
+
return [];
|
|
428
|
+
}
|
|
429
|
+
case "BACK":
|
|
430
|
+
return ["router.back()"];
|
|
431
|
+
case "OPEN_URL": {
|
|
432
|
+
const link = a.link;
|
|
433
|
+
if (!link) return [];
|
|
434
|
+
if (link.kind === "screen") return statements({ ...a, navigationType: "NAVIGATE", destinationId: link.frameId }, at2, key);
|
|
435
|
+
if (link.kind === "anchor") return statements({ ...a, navigationType: "SCROLL_TO", destinationId: link.nodeId }, at2, key);
|
|
436
|
+
const href = hrefOf(link, doc.nodes);
|
|
437
|
+
return href ? [opensNewTab(link) ? `window.open(${JSON.stringify(href)}, '_blank', 'noopener')` : `window.location.assign(${JSON.stringify(href)})`] : [];
|
|
438
|
+
}
|
|
439
|
+
case "SCROLL_TO":
|
|
440
|
+
return a.destinationId ? [`document.querySelector(${JSON.stringify(`[data-pc-id="${a.destinationId}"]`)})?.scrollIntoView({ behavior: 'smooth' })`] : [];
|
|
441
|
+
case "SET_VARIABLE": {
|
|
442
|
+
const s = setter(a, key, at2);
|
|
443
|
+
if (s) return [s];
|
|
444
|
+
miss(at2, "a Set variable");
|
|
445
|
+
return [];
|
|
446
|
+
}
|
|
447
|
+
case "CONDITIONAL": {
|
|
448
|
+
const out = [];
|
|
449
|
+
(a.branches ?? []).forEach((b, i) => {
|
|
450
|
+
const body = b.actions.flatMap((x) => statements(x, at2, key, changeTo));
|
|
451
|
+
const cond = b.condition?.trim() ? expr(b.condition, { key, at: at2 }) : null;
|
|
452
|
+
if (b.condition?.trim() && cond === null) return;
|
|
453
|
+
const head = !b.condition?.trim() ? i ? "else" : "" : `${i ? "else " : ""}if (truthy(${cond}))`;
|
|
454
|
+
out.push(`${head}${head ? " " : ""}{ ${body.join("; ")} }`);
|
|
455
|
+
});
|
|
456
|
+
return out.length ? [out.join(" ")] : [];
|
|
457
|
+
}
|
|
458
|
+
case "OVERLAY":
|
|
459
|
+
case "SWAP": {
|
|
460
|
+
if (!routeOf(a.destinationId)) {
|
|
461
|
+
miss(at2, "an overlay of a frame that is not one of the pages");
|
|
462
|
+
return [];
|
|
463
|
+
}
|
|
464
|
+
overlays.add(a.destinationId);
|
|
465
|
+
const bg = a.overlayBackground;
|
|
466
|
+
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)}`] : []];
|
|
467
|
+
return [`overlays.${a.navigationType === "SWAP" ? "swap" : "open"}(${JSON.stringify(a.destinationId)}, { ${opts.join(", ")} })`];
|
|
468
|
+
}
|
|
469
|
+
case "CLOSE":
|
|
470
|
+
return ["overlays.close()"];
|
|
471
|
+
case "SET_MODE": {
|
|
472
|
+
const c = site.tokens?.collections.find((x) => x.id === a.collectionId);
|
|
473
|
+
if (!c || !a.modeId) {
|
|
474
|
+
miss(at2, "a Set mode");
|
|
475
|
+
return [];
|
|
476
|
+
}
|
|
477
|
+
const classes = c.modes.map((m) => m.id === c.defaultMode ? "" : m.className);
|
|
478
|
+
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 ?? "";
|
|
479
|
+
return [`switchMode(document.documentElement, ${JSON.stringify(classes)}, ${JSON.stringify(to)})`];
|
|
480
|
+
}
|
|
481
|
+
case "TIMELINE": {
|
|
482
|
+
const t = a.timeline;
|
|
483
|
+
if (!t || t.op === "SCRUB") return [];
|
|
484
|
+
const screen = screenOf(at2);
|
|
485
|
+
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
486
|
+
const root = t.target === "INSTANCE" ? hostOf(at2) : screen;
|
|
487
|
+
return [`controlTimeline(document.querySelector(${JSON.stringify(`[data-pc-id="${root}"]`)}), ${JSON.stringify(t)}, ${JSON.stringify(markers)})`];
|
|
488
|
+
}
|
|
489
|
+
// On a component itself (a sheet that shows the masters) there is no instance to change: nothing to carry.
|
|
490
|
+
case "CHANGE_TO": {
|
|
491
|
+
const st = changeTo && a.destinationId ? changeTo(a.destinationId, a.targetId) : null;
|
|
492
|
+
if (st) return [st];
|
|
493
|
+
if (doc.nodes[at2]?.type !== "COMPONENT" && doc.nodes[at2]?.type !== "COMPONENT_SET") miss(at2, "a Change to whose instance is not on this page");
|
|
494
|
+
return [];
|
|
495
|
+
}
|
|
496
|
+
default:
|
|
497
|
+
miss(at2, { CHANGE_TO: "component variants" }[a.navigationType] ?? a.navigationType);
|
|
498
|
+
return [];
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
const interactionsOf = (id) => doc.nodes[id]?.interactions ?? [];
|
|
502
|
+
const hostOf = (id) => {
|
|
503
|
+
let at2 = id;
|
|
504
|
+
while (at2) {
|
|
505
|
+
if (doc.nodes[at2]?.type === "INSTANCE") return at2;
|
|
506
|
+
at2 = doc.nodes[at2]?.parentId;
|
|
507
|
+
}
|
|
508
|
+
return id;
|
|
509
|
+
};
|
|
510
|
+
const EVENT = { ON_CLICK: "onClick", MOUSE_ENTER: "onMouseEnter", MOUSE_LEAVE: "onMouseLeave", ON_PRESS: "onPointerDown" };
|
|
511
|
+
const nodeBindings = (id) => {
|
|
512
|
+
const n = doc.nodes[id];
|
|
513
|
+
if (!n) return null;
|
|
514
|
+
const out = { style: {} };
|
|
515
|
+
const take = (prop, e) => {
|
|
516
|
+
if (e === null) return;
|
|
517
|
+
if (prop === "characters") out.text = `exprText(${e})`;
|
|
518
|
+
else if (prop === "visible") out.visible = `truthy(${e})`;
|
|
519
|
+
else if (STYLE_PROPS[prop]) {
|
|
520
|
+
const [k, val] = STYLE_PROPS[prop](`num(${e})`);
|
|
521
|
+
out.style[k] = val;
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
for (const [prop, vid] of Object.entries(n.boundVariables ?? {})) {
|
|
525
|
+
const v = byId.get(vid);
|
|
526
|
+
if (v) take(prop, `v.${v.ident}`);
|
|
527
|
+
}
|
|
528
|
+
for (const [prop, src] of Object.entries(n.boundExpressions ?? {})) take(prop, expr(src, { at: id }));
|
|
529
|
+
return out.text || out.visible || Object.keys(out.style).length ? out : null;
|
|
530
|
+
};
|
|
531
|
+
const controlOf = (id) => doc.nodes[id]?.control;
|
|
532
|
+
const isForm = (id) => controlOf(id)?.kind === "FORM";
|
|
533
|
+
const formIds = Object.keys(doc.nodes ?? {}).filter(isForm);
|
|
534
|
+
const collections = visitorCollections(doc.collections);
|
|
535
|
+
const access = Object.fromEntries(site.pages.filter((p) => p.access && !p.notFound).map((p) => [p.route, p.access]));
|
|
536
|
+
const signIn = usesSignIn({ ...doc, nodes: doc.nodes ?? {} }) || Object.keys(access).length > 0;
|
|
537
|
+
const server = formIds.length || signIn || collections.length ? {
|
|
538
|
+
forms: formIds,
|
|
539
|
+
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 } : {} })),
|
|
540
|
+
signIn,
|
|
541
|
+
user: Object.fromEntries(Object.keys(USER_VARIABLES).map((k) => [k, byFull.get(USER_VARIABLES[k])]).filter(([, v]) => v)),
|
|
542
|
+
counts: collections.flatMap((c) => {
|
|
543
|
+
const v = byFull.get(`data/${fieldKey(c.name)}Count`);
|
|
544
|
+
return v && v.type === "number" ? [{ collection: c.id, variable: v }] : [];
|
|
545
|
+
}),
|
|
546
|
+
access,
|
|
547
|
+
redirect: {
|
|
548
|
+
signedOut: site.pages.find((p) => p.access === "signedOut" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/",
|
|
549
|
+
signedIn: site.pages.find((p) => p.access === "signedIn" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/"
|
|
550
|
+
}
|
|
551
|
+
} : null;
|
|
552
|
+
const under = (rootId) => {
|
|
553
|
+
const out = [];
|
|
554
|
+
const walk = (id) => {
|
|
555
|
+
out.push(id);
|
|
556
|
+
for (const c of doc.nodes[id]?.childIds ?? []) walk(c);
|
|
557
|
+
};
|
|
558
|
+
walk(rootId);
|
|
559
|
+
return out;
|
|
560
|
+
};
|
|
561
|
+
for (const id of Object.keys(doc.nodes ?? {})) for (const ix of interactionsOf(id)) statements(ix.action, id);
|
|
562
|
+
for (const id of formIds) {
|
|
563
|
+
const after = controlOf(id)?.onSubmit;
|
|
564
|
+
if (after) statements(after, id);
|
|
565
|
+
}
|
|
566
|
+
missingByScreen.clear();
|
|
567
|
+
return {
|
|
568
|
+
variables,
|
|
569
|
+
overlays,
|
|
570
|
+
server,
|
|
571
|
+
live: (rootId) => under(layerId(rootId)).some((id) => nodeBindings(id) || interactionsOf(id).length || isForm(id)),
|
|
572
|
+
bindings: (webId) => within(webId, () => nodeBindings(layerId(webId).split("::").pop())),
|
|
573
|
+
events: (webId, o = {}) => within(webId, () => {
|
|
574
|
+
const id = layerId(webId).split("::").pop();
|
|
575
|
+
const out = {};
|
|
576
|
+
const control = controlOf(id);
|
|
577
|
+
if (control?.kind === "FORM") {
|
|
578
|
+
const after = control.onSubmit ? statements(control.onSubmit, id, void 0, o.changeTo) : [];
|
|
579
|
+
const record = copyRecord(webId);
|
|
580
|
+
const form = { id, name: doc.nodes[id]?.name ?? id, ...control.formAction ? { action: control.formAction } : {}, ...control.collectionId ? { collectionId: control.collectionId } : {}, ...record ? { record } : {} };
|
|
581
|
+
out.onSubmit = `async (e) => { e.preventDefault(); if (await site.submit(e.currentTarget, (e.nativeEvent as SubmitEvent).submitter, ${JSON.stringify(form)})) { ${after.join("; ")} } }`;
|
|
582
|
+
}
|
|
583
|
+
const add = (prop, body) => {
|
|
584
|
+
if (body.length) out[prop] = `${out[prop] ? `${out[prop].slice(0, -2)}; ` : `(${body.some((b) => /\be\./.test(b)) ? "e" : ""}) => { `}${body.join("; ")} }`;
|
|
585
|
+
};
|
|
586
|
+
const own = interactionsOf(id).map((ix) => ({ ix, at: id }));
|
|
587
|
+
const fromVariant = o.variant ? interactionsOf(o.variant).map((ix) => ({ ix, at: o.variant })) : [];
|
|
588
|
+
for (const { ix, at: at2 } of [...own, ...fromVariant]) {
|
|
589
|
+
const body = statements(ix.action, at2, void 0, o.changeTo);
|
|
590
|
+
if (ix.action.navigationType === "CHANGE_TO" && o.variant && o.changeTo && (ix.trigger === "ON_HOVER" || ix.trigger === "ON_PRESS")) {
|
|
591
|
+
const [enter, leave] = ix.trigger === "ON_HOVER" ? ["onMouseEnter", "onMouseLeave"] : ["onPointerDown", "onPointerUp"];
|
|
592
|
+
add(enter, body);
|
|
593
|
+
const back = o.changeTo(o.variant);
|
|
594
|
+
if (back) add(leave, [back]);
|
|
595
|
+
continue;
|
|
596
|
+
}
|
|
597
|
+
if (ix.trigger === "ON_DRAG" || ix.action.navigationType === "ORBIT_3D") {
|
|
598
|
+
const a = ix.action;
|
|
599
|
+
if (a.navigationType === "ORBIT_3D") {
|
|
600
|
+
add("onPointerDown", [`orbitDrag(e.nativeEvent, document.querySelector<HTMLElement>(${JSON.stringify(`[data-pc-id="${a.destinationId ?? at2}"]`)}), ${JSON.stringify(a.orbit ?? {})})`]);
|
|
601
|
+
continue;
|
|
602
|
+
}
|
|
603
|
+
if (a.navigationType === "TIMELINE" && a.timeline?.op === "SCRUB") {
|
|
604
|
+
const screen = screenOf(at2);
|
|
605
|
+
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
606
|
+
add("onPointerDown", [`scrubTimeline(e.nativeEvent, document.querySelector(${JSON.stringify(`[data-pc-id="${a.timeline.target === "INSTANCE" ? hostOf(at2) : screen}"]`)}), ${JSON.stringify(a.timeline)}, ${JSON.stringify(markers)})`]);
|
|
607
|
+
continue;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
const prop = EVENT[ix.trigger];
|
|
611
|
+
if (prop) add(prop, body);
|
|
612
|
+
}
|
|
613
|
+
return out;
|
|
614
|
+
}),
|
|
615
|
+
effects: (screenId) => {
|
|
616
|
+
const out = [];
|
|
617
|
+
for (const id of under(screenId)) for (const ix of interactionsOf(id)) {
|
|
618
|
+
if (ix.trigger === "AFTER_TIMEOUT") {
|
|
619
|
+
const body = statements(ix.action, id);
|
|
620
|
+
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})`);
|
|
621
|
+
}
|
|
622
|
+
if (ix.trigger === "KEY_DOWN") {
|
|
623
|
+
const key = ix.triggerKey;
|
|
624
|
+
const body = statements(ix.action, id, "e.key");
|
|
625
|
+
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})`);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
return out;
|
|
629
|
+
},
|
|
630
|
+
missing: (rootId) => [...missingByScreen.get(layerId(rootId)) ?? []],
|
|
631
|
+
itemExpression: (src) => within(`~${ITEM_RECORD}`, () => expr(src))
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
function colorHex(c) {
|
|
635
|
+
const h = (x) => Math.round(Math.max(0, Math.min(1, x)) * 255).toString(16).padStart(2, "0");
|
|
636
|
+
return `#${h(c.r)}${h(c.g)}${h(c.b)}${c.a !== void 0 && c.a < 1 ? h(c.a) : ""}`;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// lib/io/web/project/server.ts
|
|
640
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
641
|
+
var lines = (...l) => `${l.filter((x) => typeof x === "string").join("\n")}
|
|
642
|
+
`;
|
|
643
|
+
function as(v, value, from) {
|
|
644
|
+
if (v.type === from) return value;
|
|
645
|
+
if (v.type === "boolean") return `!!${value}`;
|
|
646
|
+
if (v.type === "number") return from === "boolean" ? `(${value} ? 1 : 0)` : `Number(${value}) || 0`;
|
|
647
|
+
return `String(${value})`;
|
|
648
|
+
}
|
|
649
|
+
var setLine = (v, value, from) => v ? `set(${JSON.stringify(v.ident)}, ${as(v, value, from)})` : null;
|
|
650
|
+
function serverFiles(server) {
|
|
651
|
+
const files = [
|
|
652
|
+
{ path: "lib/popcraft-server.ts", content: lines(
|
|
653
|
+
"// The site's own server: the forms it keeps and the lists its visitors keep records in (from the design), its",
|
|
654
|
+
"// database (DATABASE_URL) and its sign-in (SITE_AUTH_URL). app/api/popcraft answers the pages through it.",
|
|
655
|
+
"",
|
|
656
|
+
"import type { Collection } from '@popcraft/runtime'",
|
|
657
|
+
"import { storeFor, type AuthKind, type SiteBackend, type SiteDatabase } from '@popcraft/runtime/server'",
|
|
658
|
+
"import { siteUrl } from '@/lib/site'",
|
|
659
|
+
"",
|
|
660
|
+
`const FORMS = new Set<string>(${JSON.stringify(server.forms)})`,
|
|
661
|
+
`const COLLECTIONS: Record<string, Collection> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.id, c])), null, 2)}`,
|
|
662
|
+
"",
|
|
663
|
+
"let ready: Promise<SiteDatabase> | null = null",
|
|
664
|
+
"",
|
|
665
|
+
"/** The site's database: its two tables are made on first use. */",
|
|
666
|
+
"function database(): Promise<SiteDatabase | null> {",
|
|
667
|
+
" const url = process.env.DATABASE_URL",
|
|
668
|
+
" if (!url) return Promise.resolve(null)",
|
|
669
|
+
" ready ??= (async () => { const db = storeFor(url); await db.ensure(); return db })().catch((e: unknown) => { ready = null; throw e })",
|
|
670
|
+
" return ready",
|
|
671
|
+
"}",
|
|
672
|
+
"",
|
|
673
|
+
"/** The site's sign-in service (Neon Auth or Supabase Auth), told the site's own address. NEON_AUTH_URL is its older name. */",
|
|
674
|
+
"async function auth() {",
|
|
675
|
+
" const authUrl = process.env.SITE_AUTH_URL ?? process.env.NEON_AUTH_URL",
|
|
676
|
+
" if (!authUrl) return null",
|
|
677
|
+
" const kind = (process.env.SITE_AUTH_KIND as AuthKind | undefined) ?? 'neon-auth'",
|
|
678
|
+
" return { kind, authUrl, origin: siteUrl.origin, apiKey: process.env.SITE_AUTH_KEY, adminKey: process.env.SITE_AUTH_ADMIN_KEY }",
|
|
679
|
+
"}",
|
|
680
|
+
"",
|
|
681
|
+
"export const site: SiteBackend = {",
|
|
682
|
+
" database,",
|
|
683
|
+
" auth,",
|
|
684
|
+
" hasForm: id => FORMS.has(id),",
|
|
685
|
+
" collection: id => COLLECTIONS[id],",
|
|
686
|
+
" // Over https in production; `next dev` serves http, where a Secure cookie would not be kept.",
|
|
687
|
+
" secure: process.env.NODE_ENV === 'production',",
|
|
688
|
+
"}"
|
|
689
|
+
) },
|
|
690
|
+
{ path: "app/api/popcraft/[...path]/route.ts", content: lines(
|
|
691
|
+
"// The site's own requests (forms, sign-in, visitors' records), at /_pc/\u2026 (next.config.ts rewrites them here).",
|
|
692
|
+
"",
|
|
693
|
+
"import { siteRequest } from '@popcraft/runtime/server'",
|
|
694
|
+
"import { site } from '@/lib/popcraft-server'",
|
|
695
|
+
"",
|
|
696
|
+
"async function handle(request: Request, { params }: { params: Promise<{ path: string[] }> }): Promise<Response> {",
|
|
697
|
+
" const { path } = await params",
|
|
698
|
+
" return (await siteRequest(request, `_pc/${path.join('/')}`, site)) ?? Response.json({ error: 'Not found' }, { status: 404 })",
|
|
699
|
+
"}",
|
|
700
|
+
"",
|
|
701
|
+
"export { handle as DELETE, handle as GET, handle as POST }"
|
|
702
|
+
) }
|
|
703
|
+
];
|
|
704
|
+
const routes = Object.keys(server.access);
|
|
705
|
+
if (routes.length) files.push({ path: "proxy.ts", content: lines(
|
|
706
|
+
"// Each page for one kind of visitor sends the other kind where it is for them: a signed-in page needs an account,",
|
|
707
|
+
"// a sign-in page is for visitors without one. The session cookie is enough to decide here; the page's provider",
|
|
708
|
+
"// (lib/popcraft.tsx) asks the server who is signed in, and clears a cookie whose session has ended.",
|
|
709
|
+
"",
|
|
710
|
+
"import { NextResponse, type NextRequest } from 'next/server'",
|
|
711
|
+
"",
|
|
712
|
+
`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`,
|
|
713
|
+
`const GO = ${JSON.stringify(server.redirect)}`,
|
|
714
|
+
"",
|
|
715
|
+
"export function proxy(request: NextRequest) {",
|
|
716
|
+
" const need = ACCESS[request.nextUrl.pathname]",
|
|
717
|
+
` const signedIn = request.cookies.has(${JSON.stringify(SESSION_COOKIE)})`,
|
|
718
|
+
" const to = need === 'signedIn' && !signedIn ? GO.signedOut : need === 'signedOut' && signedIn ? GO.signedIn : null",
|
|
719
|
+
" return to && to !== request.nextUrl.pathname ? NextResponse.redirect(new URL(to, request.url)) : NextResponse.next()",
|
|
720
|
+
"}",
|
|
721
|
+
"",
|
|
722
|
+
`export const config = { matcher: ${JSON.stringify(routes)} }`
|
|
723
|
+
) });
|
|
724
|
+
return files;
|
|
725
|
+
}
|
|
726
|
+
function siteProviderSource(server) {
|
|
727
|
+
const u = server.user;
|
|
728
|
+
const guards = Object.keys(server.access).length > 0;
|
|
729
|
+
const sayUser = [setLine(u.signedIn, "!!next", "boolean"), setLine(u.name, "next?.name ?? ''", "string"), setLine(u.email, "next?.email ?? ''", "string")].filter(Boolean);
|
|
730
|
+
const sayError = (value) => setLine(u.error, value, "string");
|
|
731
|
+
return [
|
|
732
|
+
"/** 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. */",
|
|
733
|
+
"export interface SiteForm { id: string; name: string; action?: AuthAction | 'deleteRecord' | 'updateRecord'; collectionId?: string; record?: string }",
|
|
734
|
+
"interface SiteStore {",
|
|
735
|
+
" user: SiteUser | null",
|
|
736
|
+
" /** The visitor's own records, by collection, newest first. */",
|
|
737
|
+
" records: Record<string, SiteRecord[]>",
|
|
738
|
+
" /** An expression function over the visitor's records (`count`, `streak`\u2026), by the collection's name. */",
|
|
739
|
+
" call(fn: string, ...args: ExprValue[]): ExprValue",
|
|
740
|
+
` /** Send a form; true when it worked (then the design's "on submit" runs). */`,
|
|
741
|
+
" submit(form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean>",
|
|
742
|
+
"}",
|
|
743
|
+
"",
|
|
744
|
+
"const client = createSiteClient()",
|
|
745
|
+
`const MINE = ${JSON.stringify(server.collections.map((c) => c.id))}`,
|
|
746
|
+
`/** Each list by the name an expression gives it. */`,
|
|
747
|
+
`const NAMES: Record<string, string> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.name.trim().toLowerCase(), c.id])))}`,
|
|
748
|
+
...guards ? [`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`, `const GO = ${JSON.stringify(server.redirect)}`] : [],
|
|
749
|
+
"const SiteContext = createContext<SiteStore | null>(null)",
|
|
750
|
+
"",
|
|
751
|
+
"/** The visitor: who is signed in (asked of the site's server on load), their records, and the design's variables that say so. */",
|
|
752
|
+
"export function SiteProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
753
|
+
...sayUser.length || server.counts.length || u.error ? [" const { set } = useVariables()"] : [],
|
|
754
|
+
...guards ? [" const router = useRouter()", " const path = usePathname()"] : [],
|
|
755
|
+
" const [user, setUser] = useState<SiteUser | null>(null)",
|
|
756
|
+
...guards ? [" const [known, setKnown] = useState(false)"] : [],
|
|
757
|
+
" const [records, setRecords] = useState<Record<string, SiteRecord[]>>({})",
|
|
758
|
+
" const say = useCallback((next: SiteUser | null) => {",
|
|
759
|
+
" setUser(next)",
|
|
760
|
+
...sayUser.map((l) => ` ${l}`),
|
|
761
|
+
` }, [${sayUser.length ? "set" : ""}])`,
|
|
762
|
+
" const refresh = useCallback(async (who: SiteUser | null) => {",
|
|
763
|
+
" const next: Record<string, SiteRecord[]> = {}",
|
|
764
|
+
" for (const id of MINE) next[id] = who ? await client.records(id) : []",
|
|
765
|
+
" setRecords(next)",
|
|
766
|
+
...server.counts.map((c) => ` ${setLine(c.variable, `next[${JSON.stringify(c.collection)}].length`, "number")}`),
|
|
767
|
+
` }, [${server.counts.length ? "set" : ""}])`,
|
|
768
|
+
` useEffect(() => { void client.who().then(async who => { say(who); ${guards ? "setKnown(true); " : ""}await refresh(who) }) }, [say, refresh])`,
|
|
769
|
+
...guards ? [
|
|
770
|
+
" // A page for the other kind of visitor (a cookie whose session had ended got past proxy.ts): where a visit would land.",
|
|
771
|
+
" useEffect(() => {",
|
|
772
|
+
" if (!known) return",
|
|
773
|
+
" const need = ACCESS[path]",
|
|
774
|
+
" const to = need === 'signedIn' && !user ? GO.signedOut : need === 'signedOut' && user ? GO.signedIn : null",
|
|
775
|
+
" if (to && to !== path) router.replace(to)",
|
|
776
|
+
" }, [known, user, path, router])"
|
|
777
|
+
] : [],
|
|
778
|
+
" const submit = useCallback(async (form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean> => {",
|
|
779
|
+
" const values: Record<string, string> = {}",
|
|
780
|
+
" new FormData(form, submitter).forEach((value, key) => { if (typeof value === 'string') values[key] = value })",
|
|
781
|
+
...sayError("''") ? [` ${sayError("''")}`] : [],
|
|
782
|
+
" try {",
|
|
783
|
+
" if (about.action && about.action !== 'deleteRecord' && about.action !== 'updateRecord') {",
|
|
784
|
+
" const who = await client.act(about.action, values)",
|
|
785
|
+
" say(who)",
|
|
786
|
+
" await refresh(who)",
|
|
787
|
+
" return true",
|
|
788
|
+
" }",
|
|
789
|
+
" // A visitor's own list: a form bound to it adds a record; one inside a copy changes or removes that copy's.",
|
|
790
|
+
" const of = about.record ? MINE.find(id => records[id]?.some(r => r.id === about.record)) : about.collectionId && MINE.includes(about.collectionId) ? about.collectionId : undefined",
|
|
791
|
+
" if (of) {",
|
|
792
|
+
" if (!user) throw new Error('Sign in first.')",
|
|
793
|
+
" if (about.action === 'deleteRecord') await client.remove(of, about.record ?? '')",
|
|
794
|
+
" 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) }",
|
|
795
|
+
" else await client.save(of, values)",
|
|
796
|
+
" await refresh(user)",
|
|
797
|
+
" return true",
|
|
798
|
+
" }",
|
|
799
|
+
` // Kept in the site's database. Refused (none attached, or the request failed): the design's "on submit" does not run.`,
|
|
800
|
+
" if (!await client.submit({ id: about.id, name: about.name, values })) throw new Error('That did not go through: nothing was saved. Try again in a moment.')",
|
|
801
|
+
" return true",
|
|
802
|
+
" } catch (e) {",
|
|
803
|
+
...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"],
|
|
804
|
+
" return false",
|
|
805
|
+
" }",
|
|
806
|
+
` }, [records, user, say, refresh${u.error ? ", set" : ""}])`,
|
|
807
|
+
' // What `count("Checkins")` and the rest add up: the visitor\'s own records, with when each was made.',
|
|
808
|
+
" const data = useMemo<ExprData>(() => ({",
|
|
809
|
+
" rows: name => {",
|
|
810
|
+
" const id = NAMES[name.trim().toLowerCase()] ?? (MINE.includes(name) ? name : undefined)",
|
|
811
|
+
" 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",
|
|
812
|
+
" },",
|
|
813
|
+
" }), [records])",
|
|
814
|
+
" const callData = useCallback((fn: string, ...args: ExprValue[]): ExprValue => {",
|
|
815
|
+
" const f = FUNCTIONS[fn]",
|
|
816
|
+
" if (!f) return 0",
|
|
817
|
+
" try { return f(args, data) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
818
|
+
" }, [data])",
|
|
819
|
+
" const store = useMemo(() => ({ user, records, call: callData, submit }), [user, records, callData, submit])",
|
|
820
|
+
" return <SiteContext value={store}>{children}</SiteContext>",
|
|
821
|
+
"}",
|
|
822
|
+
"",
|
|
823
|
+
"/** A field of a visitor's record, as an expression reads it (`item.note`): its values, and `id`, `by`, `mine` and `age` (days old). */",
|
|
824
|
+
"export function itemField(item: SiteRecord, key: string): ExprValue {",
|
|
825
|
+
" if (key === 'id') return item.id",
|
|
826
|
+
" if (key === 'by') return item.by ?? ''",
|
|
827
|
+
" if (key === 'mine') return item.mine ?? true",
|
|
828
|
+
" if (key === 'age') return item.createdAt ? Math.max(0, dayOf(Date.now()) - dayOf(Date.parse(item.createdAt))) : 0",
|
|
829
|
+
" return item.values[key] ?? ''",
|
|
830
|
+
"}",
|
|
831
|
+
"",
|
|
832
|
+
"/** Two of a visitor's records in a list's order: by a field, numbers as numbers and words as words. */",
|
|
833
|
+
"export function itemCompare(a: SiteRecord, b: SiteRecord, key: string): number {",
|
|
834
|
+
" const x = itemField(a, key), y = itemField(b, key)",
|
|
835
|
+
" return typeof x === 'number' && typeof y === 'number' ? x - y : String(x).localeCompare(String(y), undefined, { numeric: true })",
|
|
836
|
+
"}",
|
|
837
|
+
"",
|
|
838
|
+
"/** A field of a visitor's record as words on the page (a yes-or-no as Yes or No). */",
|
|
839
|
+
"export function itemWords(item: SiteRecord, key: string): string {",
|
|
840
|
+
" const value = itemField(item, key)",
|
|
841
|
+
" return typeof value === 'boolean' ? (value ? 'Yes' : 'No') : String(value)",
|
|
842
|
+
"}",
|
|
843
|
+
"",
|
|
844
|
+
"/** The visitor, their records, and `submit` for a form. */",
|
|
845
|
+
"export function useSite(): SiteStore {",
|
|
846
|
+
" const store = useContext(SiteContext)",
|
|
847
|
+
" if (!store) throw new Error('useSite is used outside SiteProvider (app/layout.tsx)')",
|
|
848
|
+
" return store",
|
|
849
|
+
"}",
|
|
850
|
+
""
|
|
851
|
+
];
|
|
852
|
+
}
|
|
853
|
+
function serverReadme(server) {
|
|
854
|
+
return `## Forms${server.signIn ? ", accounts" : ""} and data
|
|
855
|
+
|
|
856
|
+
The site has a server of its own (\`app/api/popcraft\`, through \`@popcraft/runtime/server\`): it keeps what its forms
|
|
857
|
+
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
|
|
858
|
+
\`.env.local\` and set:
|
|
859
|
+
|
|
860
|
+
| Variable | What it is |
|
|
861
|
+
| --- | --- |
|
|
862
|
+
| \`DATABASE_URL\` | A Postgres connection string (a Neon or Supabase project's). The site makes its two tables on first use |
|
|
863
|
+
${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)" : ""} |
|
|
864
|
+
|
|
865
|
+
Without \`DATABASE_URL\` the pages still work: forms are sent and not kept${server.signIn ? ", and nobody can sign in" : ""}.
|
|
866
|
+
|
|
867
|
+
`;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
// lib/io/web/project/islands.ts
|
|
871
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
872
|
+
function islandFiles(site, script) {
|
|
873
|
+
return [
|
|
874
|
+
{ path: "public/pc/island.js", content: script },
|
|
875
|
+
{ path: "public/pc/islands.json", content: JSON.stringify(site.islands ?? {}) },
|
|
876
|
+
{ path: "components/gpu-island.tsx", content: GPU_ISLAND }
|
|
877
|
+
];
|
|
878
|
+
}
|
|
879
|
+
var REACT_IMPORT = "import { useEffect, useRef } from 'react'";
|
|
880
|
+
var GPU_ISLAND = `'use client'
|
|
881
|
+
|
|
882
|
+
// A layer only the GPU draws, drawn live over its picture by PopCraft's renderer (public/pc/island.js), with what it
|
|
883
|
+
// draws from public/pc/islands.json. Both load once, the first time an island is on screen; without WebGPU the
|
|
884
|
+
// picture stays.
|
|
885
|
+
|
|
886
|
+
${REACT_IMPORT}
|
|
887
|
+
|
|
888
|
+
interface IslandHandle { invalidate(): void; destroy(): void }
|
|
889
|
+
interface IslandHost { mount(canvas: HTMLCanvasElement, spec: unknown, clock?: () => number): IslandHandle | null; destroy(): void }
|
|
890
|
+
declare global { var popcraftIsland: { createIslandHost(): Promise<IslandHost | null> } | undefined }
|
|
891
|
+
|
|
892
|
+
let host: Promise<{ host: IslandHost | null; specs: Record<string, unknown> }> | null = null
|
|
893
|
+
function islandHost() {
|
|
894
|
+
host ??= Promise.all([
|
|
895
|
+
new Promise<void>((resolve, reject) => {
|
|
896
|
+
if (globalThis.popcraftIsland) return resolve()
|
|
897
|
+
const script = document.createElement('script')
|
|
898
|
+
script.src = '/pc/island.js'
|
|
899
|
+
script.onload = () => resolve()
|
|
900
|
+
script.onerror = () => reject(new Error('The island renderer did not load'))
|
|
901
|
+
document.head.appendChild(script)
|
|
902
|
+
}).then(() => globalThis.popcraftIsland?.createIslandHost() ?? null),
|
|
903
|
+
fetch('/pc/islands.json').then(r => r.json() as Promise<Record<string, unknown>>),
|
|
904
|
+
]).then(([h, specs]) => ({ host: h, specs })).catch(() => ({ host: null, specs: {} }))
|
|
905
|
+
return host
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/** Island \`id\` (its layer), posed at the time of screen \`screen\`'s timeline. */
|
|
909
|
+
export function GpuIsland({ id, screen }: { id: string; screen: string }) {
|
|
910
|
+
const canvas = useRef<HTMLCanvasElement>(null)
|
|
911
|
+
useEffect(() => {
|
|
912
|
+
const el = canvas.current
|
|
913
|
+
if (!el || typeof navigator === 'undefined' || !('gpu' in navigator)) return
|
|
914
|
+
const parent = el.parentElement
|
|
915
|
+
if (parent && getComputedStyle(parent).position === 'static') parent.style.position = 'relative'
|
|
916
|
+
let handle: IslandHandle | null = null
|
|
917
|
+
let gone = false
|
|
918
|
+
const started = performance.now()
|
|
919
|
+
// The screen's timeline (its CSS animations), else the time since the island appeared.
|
|
920
|
+
const clock = () => {
|
|
921
|
+
const timeline = document.querySelector(\`[data-pc-id="\${screen}"]\`)?.getAnimations({ subtree: true }).find(a => (a as CSSAnimation).animationName?.startsWith('timeline-'))
|
|
922
|
+
return timeline ? Number(timeline.currentTime ?? 0) : performance.now() - started
|
|
923
|
+
}
|
|
924
|
+
const start = () => void islandHost().then(({ host: h, specs }) => {
|
|
925
|
+
if (gone || !h || !specs[id]) return
|
|
926
|
+
handle = h.mount(el, specs[id], clock)
|
|
927
|
+
if (!handle) return
|
|
928
|
+
// The picture under it has done its work: the canvas shows the layer from here.
|
|
929
|
+
for (const child of el.parentElement?.children ?? []) if (child !== el) (child as HTMLElement).style.visibility = 'hidden'
|
|
930
|
+
el.style.display = 'block'
|
|
931
|
+
})
|
|
932
|
+
// Asked for once it is on screen, so a page whose island is far below loads nothing until it is reached.
|
|
933
|
+
const seen = new IntersectionObserver(entries => { if (entries.some(e => e.isIntersecting)) { seen.disconnect(); start() } })
|
|
934
|
+
seen.observe(el.parentElement ?? el)
|
|
935
|
+
return () => { gone = true; seen.disconnect(); handle?.destroy() }
|
|
936
|
+
}, [id, screen])
|
|
937
|
+
return <canvas ref={canvas} aria-hidden="true" style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', display: 'none' }} />
|
|
938
|
+
}
|
|
939
|
+
`;
|
|
940
|
+
|
|
941
|
+
// lib/io/web/project/next.ts
|
|
942
|
+
var all = (n, out = []) => {
|
|
943
|
+
out.push(n);
|
|
944
|
+
n.children.forEach((c) => all(c, out));
|
|
945
|
+
return out;
|
|
946
|
+
};
|
|
947
|
+
function unique(base, taken) {
|
|
948
|
+
let name = base || "Module";
|
|
949
|
+
for (let n = 2; taken.has(name); n++) name = `${base}${n}`;
|
|
950
|
+
taken.add(name);
|
|
951
|
+
return name;
|
|
952
|
+
}
|
|
953
|
+
var jsxProp = (k, v) => typeof v === "string" ? `${k}=${JSON.stringify(v)}` : `${k}={${JSON.stringify(v)}}`;
|
|
954
|
+
var pageDir = (route) => route === "/" ? "app" : `app${route}`;
|
|
955
|
+
var json = (v) => `${JSON.stringify(v, null, 2)}
|
|
956
|
+
`;
|
|
957
|
+
var NEXT_NO_PLAYER = "a Next.js project has no player for it yet; the static site export plays it";
|
|
958
|
+
function nextProjectDropped(site) {
|
|
959
|
+
return mergeDropped(site.dropped, site.pages.flatMap((p) => [
|
|
960
|
+
...p.sound?.length ? [{ feature: "sound", reason: NEXT_NO_PLAYER, nodeId: p.screen ?? p.id }] : [],
|
|
961
|
+
...p.modules?.length ? [{ feature: "behavior modules", reason: NEXT_NO_PLAYER, nodeId: p.screen ?? p.id }] : []
|
|
962
|
+
]));
|
|
963
|
+
}
|
|
964
|
+
var googleSet = new Set(GOOGLE_FONTS);
|
|
965
|
+
function projectFonts(site) {
|
|
966
|
+
return site.fonts.filter((f) => googleSet.has(f.family)).map((f) => {
|
|
967
|
+
const slug = f.family.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
968
|
+
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) };
|
|
969
|
+
});
|
|
970
|
+
}
|
|
971
|
+
function nextProjectFiles(site, doc, opts = {}) {
|
|
972
|
+
opts.report?.push(...nextProjectDropped(site));
|
|
973
|
+
const tailwind = opts.styling === "tailwind";
|
|
974
|
+
const fonts = projectFonts(site);
|
|
975
|
+
const byFamily = new Map(fonts.map((f) => [f.family, f.variable]));
|
|
976
|
+
const fontFamily = (value) => value.replace(/"([^"]+)"/, (m, family) => byFamily.has(family) ? `var(${byFamily.get(family)})` : m);
|
|
977
|
+
const files = externalizeBitmaps(site).map((f) => ({ ...f, path: `public/${f.path}` }));
|
|
978
|
+
const moduleFile = /* @__PURE__ */ new Map();
|
|
979
|
+
const taken = /* @__PURE__ */ new Set();
|
|
980
|
+
const packages = {};
|
|
981
|
+
for (const id of Object.keys(site.code?.modules ?? {}).sort()) {
|
|
982
|
+
const m = doc.codeModules?.[id];
|
|
983
|
+
if (!m) continue;
|
|
984
|
+
const name2 = unique(componentName(m.name), taken);
|
|
985
|
+
moduleFile.set(id, name2);
|
|
986
|
+
Object.assign(packages, m.packages);
|
|
987
|
+
const source = m.source.endsWith("\n") ? m.source : `${m.source}
|
|
988
|
+
`;
|
|
989
|
+
files.push({ path: `components/code/${name2}.tsx`, content: /^\s*['"]use client['"]/.test(source) ? source : `'use client'
|
|
990
|
+
|
|
991
|
+
${source}` });
|
|
992
|
+
}
|
|
993
|
+
const islands = !!site.islands && Object.keys(site.islands).length > 0 && !!opts.islandScript;
|
|
994
|
+
if (islands) files.push(...islandFiles(site, opts.islandScript));
|
|
995
|
+
const behaviour = behaviourOf(site);
|
|
996
|
+
const media = /* @__PURE__ */ new Set();
|
|
997
|
+
const routes = [];
|
|
998
|
+
for (const page of site.pages) {
|
|
999
|
+
if (routes.includes(page.route) && !page.notFound) continue;
|
|
1000
|
+
if (!page.notFound) routes.push(page.route);
|
|
1001
|
+
for (const rule of page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []) media.add(rule);
|
|
1002
|
+
files.push(...pageFiles(site, page, moduleFile, { tailwind, fontFamily, ownFonts: fonts.length > 0, behaviour, islands }));
|
|
1003
|
+
}
|
|
1004
|
+
const tokens = (site.tokens ? tokensCSS(site.tokens) : []).map(fontFamily);
|
|
1005
|
+
files.push({ path: "app/globals.css", content: [
|
|
1006
|
+
...tailwind ? ['@import "tailwindcss";', ""] : [],
|
|
1007
|
+
"html, body { margin: 0; min-height: 100%; }",
|
|
1008
|
+
"*, *::before, *::after { box-sizing: border-box; }",
|
|
1009
|
+
"img, picture, svg, video { display: block; max-width: 100%; }",
|
|
1010
|
+
...tokens,
|
|
1011
|
+
...[...media].map(fontFamily),
|
|
1012
|
+
""
|
|
1013
|
+
].join("\n") });
|
|
1014
|
+
const overlays = behaviour.overlays.size > 0;
|
|
1015
|
+
const server = behaviour.server;
|
|
1016
|
+
files.push({ path: "app/layout.tsx", content: layoutSource(site, fonts, { variables: behaviour.variables.length > 0 || overlays || !!server, overlays, server: !!server }) });
|
|
1017
|
+
if (overlays) files.push({ path: "components/overlays.tsx", content: overlaysSource(site, behaviour) });
|
|
1018
|
+
files.push({ path: "lib/popcraft.tsx", content: stateSource(behaviour) });
|
|
1019
|
+
if (server) files.push(...serverFiles(server));
|
|
1020
|
+
files.push({ path: "app/sitemap.ts", content: sitemapSource(routes) });
|
|
1021
|
+
files.push({ path: "app/robots.ts", content: robotsSource() });
|
|
1022
|
+
files.push({ path: "lib/site.ts", content: siteSource() });
|
|
1023
|
+
const name = fileBase(site.name).toLowerCase().replace(/[^a-z0-9-]+/g, "-").replace(/^-+|-+$/g, "") || "site";
|
|
1024
|
+
files.push({ path: "package.json", content: json({
|
|
1025
|
+
name,
|
|
1026
|
+
private: true,
|
|
1027
|
+
version: "0.1.0",
|
|
1028
|
+
type: "module",
|
|
1029
|
+
engines: { node: EXPORT_VERSIONS.node },
|
|
1030
|
+
scripts: { dev: "next dev", build: "next build", start: "next start", lint: "eslint .", typecheck: "tsc --noEmit" },
|
|
1031
|
+
dependencies: { next: range("next"), react: range("react"), "react-dom": range("react-dom"), [RUNTIME_PACKAGE.name]: runtimeRange(), ...packages },
|
|
1032
|
+
devDependencies: {
|
|
1033
|
+
"@types/node": range("@types/node"),
|
|
1034
|
+
"@types/react": range("@types/react"),
|
|
1035
|
+
"@types/react-dom": range("@types/react-dom"),
|
|
1036
|
+
eslint: range("eslint"),
|
|
1037
|
+
"eslint-config-next": range("eslint-config-next"),
|
|
1038
|
+
typescript: range("typescript"),
|
|
1039
|
+
...tailwind ? { tailwindcss: range("tailwindcss"), "@tailwindcss/postcss": range("@tailwindcss/postcss") } : {}
|
|
1040
|
+
}
|
|
1041
|
+
}) });
|
|
1042
|
+
files.push({ path: "tsconfig.json", content: json({
|
|
1043
|
+
compilerOptions: {
|
|
1044
|
+
target: "ES2022",
|
|
1045
|
+
lib: ["dom", "dom.iterable", "esnext"],
|
|
1046
|
+
allowJs: false,
|
|
1047
|
+
skipLibCheck: true,
|
|
1048
|
+
strict: true,
|
|
1049
|
+
noEmit: true,
|
|
1050
|
+
esModuleInterop: true,
|
|
1051
|
+
module: "esnext",
|
|
1052
|
+
moduleResolution: "bundler",
|
|
1053
|
+
resolveJsonModule: true,
|
|
1054
|
+
isolatedModules: true,
|
|
1055
|
+
jsx: "react-jsx",
|
|
1056
|
+
incremental: true,
|
|
1057
|
+
plugins: [{ name: "next" }],
|
|
1058
|
+
paths: { "@/*": ["./*"] }
|
|
1059
|
+
},
|
|
1060
|
+
include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
|
|
1061
|
+
exclude: ["node_modules"]
|
|
1062
|
+
}) });
|
|
1063
|
+
files.push({ path: "next.config.ts", content: [
|
|
1064
|
+
"import type { NextConfig } from 'next'",
|
|
1065
|
+
"",
|
|
1066
|
+
"const nextConfig: NextConfig = {",
|
|
1067
|
+
" // The pictures are the project's own, in public/: next/image serves them sized for each screen.",
|
|
1068
|
+
" images: { formats: ['image/avif', 'image/webp'] },",
|
|
1069
|
+
...server ? [
|
|
1070
|
+
" // The pages ask their server at /_pc/\u2026 as a published PopCraft site does; app/api/popcraft answers.",
|
|
1071
|
+
" async rewrites() { return [{ source: '/_pc/:path*', destination: '/api/popcraft/:path*' }] },"
|
|
1072
|
+
] : [],
|
|
1073
|
+
"}",
|
|
1074
|
+
"",
|
|
1075
|
+
"export default nextConfig",
|
|
1076
|
+
""
|
|
1077
|
+
].join("\n") });
|
|
1078
|
+
files.push({ path: "eslint.config.mjs", content: [
|
|
1079
|
+
"import { defineConfig, globalIgnores } from 'eslint/config'",
|
|
1080
|
+
"import nextVitals from 'eslint-config-next/core-web-vitals'",
|
|
1081
|
+
"import nextTs from 'eslint-config-next/typescript'",
|
|
1082
|
+
"",
|
|
1083
|
+
"export default defineConfig([",
|
|
1084
|
+
" ...nextVitals,",
|
|
1085
|
+
" ...nextTs,",
|
|
1086
|
+
` globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts'${islands ? ", 'public/pc/**'" : ""}]),`,
|
|
1087
|
+
"])",
|
|
1088
|
+
""
|
|
1089
|
+
].join("\n") });
|
|
1090
|
+
if (tailwind) files.push({ path: "postcss.config.mjs", content: "const config = { plugins: { '@tailwindcss/postcss': {} } }\n\nexport default config\n" });
|
|
1091
|
+
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") });
|
|
1092
|
+
files.push({ path: ".env.example", content: [
|
|
1093
|
+
"# The address the site is served from: used for its sitemap, robots.txt and social previews" + (server?.signIn ? ", and the origin" : ""),
|
|
1094
|
+
...server?.signIn ? ["# its sign-in service is told visitors come from."] : [],
|
|
1095
|
+
"NEXT_PUBLIC_SITE_URL=https://example.com",
|
|
1096
|
+
...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"] : [],
|
|
1097
|
+
...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="] : [],
|
|
1098
|
+
""
|
|
1099
|
+
].join("\n") });
|
|
1100
|
+
files.push({ path: "README.md", content: readme(site, { tailwind, fonts, routes, code: moduleFile.size > 0, server }) });
|
|
1101
|
+
return files;
|
|
1102
|
+
}
|
|
1103
|
+
function listSource(r, b) {
|
|
1104
|
+
let out = `(site.records[${JSON.stringify(r.collectionId)}] ?? [])`;
|
|
1105
|
+
const keep = r.filter ? b.itemExpression(r.filter) : null;
|
|
1106
|
+
if (keep) out += `.filter(item => truthy(${keep}))`;
|
|
1107
|
+
if (r.sort) out += `.toSorted((a, b) => itemCompare(a, b, ${JSON.stringify(r.sort.key)})${r.sort.dir === "DESC" ? " * -1" : ""})`;
|
|
1108
|
+
if (r.offset || r.limit) out += `.slice(${r.offset ?? 0}${r.limit ? `, ${(r.offset ?? 0) + r.limit}` : ""})`;
|
|
1109
|
+
return out;
|
|
1110
|
+
}
|
|
1111
|
+
function pageFiles(site, page, moduleFile, o) {
|
|
1112
|
+
const imports = /* @__PURE__ */ new Map();
|
|
1113
|
+
const server = o.behaviour.server;
|
|
1114
|
+
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));
|
|
1115
|
+
const effects = live ? o.behaviour.effects(page.tree.root.id) : [];
|
|
1116
|
+
let usesImage = false;
|
|
1117
|
+
let usesIsland = false;
|
|
1118
|
+
const render = (prelude2) => serializeReact({ ...page.tree, root: withAssetBase(page.tree.root, "/"), ...page.machine ? { stateMachine: page.machine } : {} }, {
|
|
1119
|
+
ids: true,
|
|
1120
|
+
name: "Screen",
|
|
1121
|
+
styling: o.tailwind ? "tailwind" : "inline",
|
|
1122
|
+
fontFamily: o.fontFamily,
|
|
1123
|
+
ownFonts: o.ownFonts,
|
|
1124
|
+
...live ? { behaviour: o.behaviour, prelude: prelude2 } : {},
|
|
1125
|
+
// A GPU island: drawn live over its picture by the renderer the project carries (./islands.ts).
|
|
1126
|
+
...o.islands ? { island: (n) => {
|
|
1127
|
+
usesIsland = true;
|
|
1128
|
+
return `<GpuIsland id=${JSON.stringify(n.id)} screen=${JSON.stringify(page.tree.root.id)} />`;
|
|
1129
|
+
} } : {},
|
|
1130
|
+
// A visitor's own lists are drawn from their records, which the site provider holds.
|
|
1131
|
+
...o.behaviour.server ? { lists: (r) => o.behaviour.server.collections.some((c) => c.id === r.collectionId) ? listSource(r, o.behaviour) : null } : {},
|
|
1132
|
+
image: (p) => {
|
|
1133
|
+
usesImage = true;
|
|
1134
|
+
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" />`;
|
|
1135
|
+
},
|
|
1136
|
+
code: (node) => {
|
|
1137
|
+
const c = node.code;
|
|
1138
|
+
const file = moduleFile.get(c.module);
|
|
1139
|
+
if (!file) return null;
|
|
1140
|
+
const local = c.export && c.export !== "default" ? c.export : file;
|
|
1141
|
+
imports.set(local, c.export && c.export !== "default" ? `import { ${c.export} } from '@/components/code/${file}'` : `import ${file} from '@/components/code/${file}'`);
|
|
1142
|
+
return `<${local} ${Object.entries(c.props).map(([k, v]) => jsxProp(k, v)).join(" ")} />`;
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
const effectLines = effects.map((e) => `useEffect(() => { ${e} }, [])`);
|
|
1146
|
+
const draft = `${render([])}
|
|
1147
|
+
${effectLines.join("\n")}`;
|
|
1148
|
+
const uses = (re) => re.test(draft);
|
|
1149
|
+
const store = [uses(/\bv\./) ? "v" : "", uses(/\bset\(/) ? "set" : ""].filter(Boolean);
|
|
1150
|
+
const prelude = live ? [
|
|
1151
|
+
...uses(/\brouter\./) ? ["const router = useRouter()"] : [],
|
|
1152
|
+
...store.length ? [`const { ${store.join(", ")} } = useVariables()`] : [],
|
|
1153
|
+
...uses(/\boverlays\./) ? ["const overlays = useOverlays()"] : [],
|
|
1154
|
+
...uses(/\bsite\.(submit|records|call)\b/) ? ["const site = useSite()"] : [],
|
|
1155
|
+
...effects.map((e) => {
|
|
1156
|
+
const deps = ["router", "set", "overlays"].filter((d) => new RegExp(`\\b${d}\\b`).test(e));
|
|
1157
|
+
return `useEffect(() => { ${e} }, [${deps.join(", ")}])`;
|
|
1158
|
+
})
|
|
1159
|
+
] : [];
|
|
1160
|
+
const body = live ? render(prelude) : draft.trimEnd();
|
|
1161
|
+
if (live) {
|
|
1162
|
+
if (uses(/\brouter\./)) imports.set("useRouter", "import { useRouter } from 'next/navigation'");
|
|
1163
|
+
const helpers = ["call", "exprText", "itemCompare", "itemField", "itemWords", "num", "ops", "truthy"].filter((h) => new RegExp(`\\b${h}[.(]`).test(body));
|
|
1164
|
+
const named = [...helpers, ...uses(/\boverlays\./) ? ["useOverlays"] : [], ...uses(/\bsite\.(submit|records|call)\b/) ? ["useSite"] : [], ...store.length ? ["useVariables"] : []].sort();
|
|
1165
|
+
if (named.length) imports.set("popcraft", `import { ${named.join(", ")} } from '@/lib/popcraft'`);
|
|
1166
|
+
const page2 = ["controlTimeline", "orbitDrag", "scrubTimeline", "switchMode"].filter((h) => new RegExp(`\\b${h}\\(`).test(body));
|
|
1167
|
+
if (page2.length) imports.set("runtime", `import { ${page2.join(", ")} } from '@popcraft/runtime'`);
|
|
1168
|
+
}
|
|
1169
|
+
if (usesImage) imports.set("Image", "import Image from 'next/image'");
|
|
1170
|
+
if (usesIsland) imports.set("GpuIsland", "import { GpuIsland } from '@/components/gpu-island'");
|
|
1171
|
+
const nodes = all(page.tree.root);
|
|
1172
|
+
const client = live || /\buse(Effect|Ref|State)\b/.test(body);
|
|
1173
|
+
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));
|
|
1174
|
+
if (hooks.length) imports.set("react", `import { ${hooks.join(", ")} } from 'react'`);
|
|
1175
|
+
const left = [
|
|
1176
|
+
nodes.some((n) => n.island) && !o.islands ? "layers drawn live on the GPU are pictures here" : "",
|
|
1177
|
+
page.sound?.length ? "its sound" : "",
|
|
1178
|
+
page.modules?.length ? `its ${page.modules.map(([id]) => id).join(" and ")} behavior` : "",
|
|
1179
|
+
...o.behaviour.missing(page.tree.root.id)
|
|
1180
|
+
].filter(Boolean);
|
|
1181
|
+
const dir = page.notFound ? "app" : pageDir(page.route);
|
|
1182
|
+
const share = pageShareImage(site, page);
|
|
1183
|
+
const metadata = [
|
|
1184
|
+
"import type { Metadata } from 'next'",
|
|
1185
|
+
"",
|
|
1186
|
+
`export const metadata: Metadata = {`,
|
|
1187
|
+
` title: ${JSON.stringify(page.title)},`,
|
|
1188
|
+
...page.description ? [` description: ${JSON.stringify(page.description)},`] : [],
|
|
1189
|
+
...page.route !== "/" && !page.notFound ? [` alternates: { canonical: ${JSON.stringify(page.route)} },`] : [],
|
|
1190
|
+
// Its share image is in `public/` and named from the root: `metadataBase` (app/layout.tsx) makes it absolute.
|
|
1191
|
+
...share ? [
|
|
1192
|
+
` openGraph: { title: ${JSON.stringify(page.title)}${page.description ? `, description: ${JSON.stringify(page.description)}` : ""}, images: [{ url: ${JSON.stringify(`/${share.path}`)}, width: ${share.width}, height: ${share.height} }] },`,
|
|
1193
|
+
` twitter: { card: 'summary_large_image', title: ${JSON.stringify(page.title)}, images: [${JSON.stringify(`/${share.path}`)}] },`
|
|
1194
|
+
] : [],
|
|
1195
|
+
"}"
|
|
1196
|
+
];
|
|
1197
|
+
const screen = [
|
|
1198
|
+
...client ? ["'use client'", ""] : [],
|
|
1199
|
+
...[...imports.values()].sort(),
|
|
1200
|
+
...imports.size ? [""] : [],
|
|
1201
|
+
...left.length ? [`// Exported from PopCraft. Not carried into this page: ${left.join("; ")}. The static export plays them.`, ""] : [],
|
|
1202
|
+
body,
|
|
1203
|
+
""
|
|
1204
|
+
].join("\n");
|
|
1205
|
+
const screenFile = page.notFound ? "not-found-screen.tsx" : "screen.tsx";
|
|
1206
|
+
const pageFile = page.notFound ? "not-found.tsx" : "page.tsx";
|
|
1207
|
+
return [
|
|
1208
|
+
{ path: `${dir}/${screenFile}`, content: screen },
|
|
1209
|
+
{ path: `${dir}/${pageFile}`, content: [
|
|
1210
|
+
...metadata.slice(0, 1),
|
|
1211
|
+
`import { Screen } from './${screenFile.replace(/\.tsx$/, "")}'`,
|
|
1212
|
+
...metadata.slice(1),
|
|
1213
|
+
"",
|
|
1214
|
+
`export default function ${page.notFound ? "NotFound" : "Page"}() {`,
|
|
1215
|
+
" return <Screen />",
|
|
1216
|
+
"}",
|
|
1217
|
+
""
|
|
1218
|
+
].join("\n") }
|
|
1219
|
+
];
|
|
1220
|
+
}
|
|
1221
|
+
function layoutSource(site, fonts, o) {
|
|
1222
|
+
const { variables } = o;
|
|
1223
|
+
const modes = site.tokens?.active ?? [];
|
|
1224
|
+
const loaders = fonts.map((f) => {
|
|
1225
|
+
const name = f.ident.charAt(0).toLowerCase() + f.ident.slice(1).replace(/_/g, "");
|
|
1226
|
+
const weight = f.variableFont ? "" : `, weight: [${f.weights.map((w) => `'${w}'`).join(", ")}]`;
|
|
1227
|
+
return { name, line: `const ${name} = ${f.ident}({ subsets: ['latin'], display: 'swap', variable: '${f.variable}'${weight} })` };
|
|
1228
|
+
});
|
|
1229
|
+
const classes = [...loaders.map((l) => `\${${l.name}.variable}`), ...modes].join(" ");
|
|
1230
|
+
return [
|
|
1231
|
+
"import type { Metadata, Viewport } from 'next'",
|
|
1232
|
+
...fonts.length ? [`import { ${fonts.map((f) => f.ident).sort().join(", ")} } from 'next/font/google'`] : [],
|
|
1233
|
+
"import type { ReactNode } from 'react'",
|
|
1234
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1235
|
+
...o.overlays ? ["import { Overlays } from '@/components/overlays'"] : [],
|
|
1236
|
+
...variables ? [`import { ${o.overlays ? "OverlayProvider, " : ""}${o.server ? "SiteProvider, " : ""}VariablesProvider } from '@/lib/popcraft'`] : [],
|
|
1237
|
+
"import './globals.css'",
|
|
1238
|
+
"",
|
|
1239
|
+
...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), ""] : [],
|
|
1240
|
+
"export const metadata: Metadata = {",
|
|
1241
|
+
" metadataBase: siteUrl,",
|
|
1242
|
+
` title: { default: ${JSON.stringify(site.name)}, template: ${JSON.stringify(`%s \xB7 ${site.name}`)} },`,
|
|
1243
|
+
` openGraph: { siteName: ${JSON.stringify(site.name)}, type: 'website' },`,
|
|
1244
|
+
"}",
|
|
1245
|
+
"",
|
|
1246
|
+
"export const viewport: Viewport = { width: 'device-width', initialScale: 1 }",
|
|
1247
|
+
"",
|
|
1248
|
+
"export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1249
|
+
" return (",
|
|
1250
|
+
` <html lang="en"${classes ? ` className={\`${classes}\`}` : ""}>`,
|
|
1251
|
+
` <body>${variables ? "<VariablesProvider>" : ""}${o.server ? "<SiteProvider>" : ""}${o.overlays ? "<OverlayProvider>{children}<Overlays /></OverlayProvider>" : "{children}"}${o.server ? "</SiteProvider>" : ""}${variables ? "</VariablesProvider>" : ""}</body>`,
|
|
1252
|
+
" </html>",
|
|
1253
|
+
" )",
|
|
1254
|
+
"}",
|
|
1255
|
+
""
|
|
1256
|
+
].join("\n");
|
|
1257
|
+
}
|
|
1258
|
+
function overlaysSource(site, b) {
|
|
1259
|
+
const screens = [...b.overlays].map((id) => site.pages.find((p) => p.id === id)).filter((p) => !!p);
|
|
1260
|
+
const name = (p) => `${componentName(p.title || p.route) || "Overlay"}Overlay`;
|
|
1261
|
+
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"] };
|
|
1262
|
+
return [
|
|
1263
|
+
"'use client'",
|
|
1264
|
+
"",
|
|
1265
|
+
"// The frames the design opens as overlays (OVERLAY / SWAP), drawn over the page while they are open: each is the",
|
|
1266
|
+
"// same screen its own route shows. Open, swap and close them with useOverlays() from lib/popcraft.",
|
|
1267
|
+
"",
|
|
1268
|
+
"import type { ComponentType } from 'react'",
|
|
1269
|
+
"import { useOverlays } from '@/lib/popcraft'",
|
|
1270
|
+
...screens.map((p) => `import { Screen as ${name(p)} } from '@/${pageDir(p.route)}/screen'`),
|
|
1271
|
+
"",
|
|
1272
|
+
"const SCREENS: Record<string, ComponentType> = {",
|
|
1273
|
+
...screens.map((p) => ` ${JSON.stringify(p.id)}: ${name(p)},`),
|
|
1274
|
+
"}",
|
|
1275
|
+
`const ALIGN: Record<string, [string, string]> = ${JSON.stringify(align)}`,
|
|
1276
|
+
"",
|
|
1277
|
+
"export function Overlays() {",
|
|
1278
|
+
" const { list, close } = useOverlays()",
|
|
1279
|
+
" return list.map(({ id, options }, i) => {",
|
|
1280
|
+
" const Screen = SCREENS[id]",
|
|
1281
|
+
" if (!Screen) return null",
|
|
1282
|
+
" const [justifyContent, alignItems] = ALIGN[options.position ?? 'CENTER']",
|
|
1283
|
+
" return (",
|
|
1284
|
+
' <div key={`${id}-${i}`} role="dialog" aria-modal="true" onClick={e => { if (options.closeOnOutside && e.target === e.currentTarget) close() }}',
|
|
1285
|
+
" 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 }}>",
|
|
1286
|
+
" <Screen />",
|
|
1287
|
+
" </div>",
|
|
1288
|
+
" )",
|
|
1289
|
+
" })",
|
|
1290
|
+
"}",
|
|
1291
|
+
""
|
|
1292
|
+
].join("\n");
|
|
1293
|
+
}
|
|
1294
|
+
function stateSource(b) {
|
|
1295
|
+
return [
|
|
1296
|
+
"'use client'",
|
|
1297
|
+
"",
|
|
1298
|
+
"// The design's variables, as state every page shares (the provider is in app/layout.tsx), and the helpers the",
|
|
1299
|
+
"// screens' expressions call. What an expression means (its operators and functions) is @popcraft/runtime's, so a",
|
|
1300
|
+
"// value comes out here as it does in PopCraft.",
|
|
1301
|
+
"",
|
|
1302
|
+
`import { createContext, useCallback, useContext, ${b.server ? "useEffect, " : ""}useMemo, useState, type ReactNode } from 'react'`,
|
|
1303
|
+
...b.server && Object.keys(b.server.access).length ? ["import { usePathname, useRouter } from 'next/navigation'"] : [],
|
|
1304
|
+
`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'`,
|
|
1305
|
+
"",
|
|
1306
|
+
"export { exprText, num, ops, truthy }",
|
|
1307
|
+
"",
|
|
1308
|
+
"export interface Variables {",
|
|
1309
|
+
...b.variables.map((v) => ` /** ${v.name} */
|
|
1310
|
+
${v.ident}: ${v.type}`),
|
|
1311
|
+
"}",
|
|
1312
|
+
"",
|
|
1313
|
+
"export const initialVariables: Variables = {",
|
|
1314
|
+
...b.variables.map((v) => ` ${v.ident}: ${v.initial},`),
|
|
1315
|
+
"}",
|
|
1316
|
+
"",
|
|
1317
|
+
"interface Store {",
|
|
1318
|
+
" v: Variables",
|
|
1319
|
+
" set: <K extends keyof Variables>(name: K, value: Variables[K]) => void",
|
|
1320
|
+
"}",
|
|
1321
|
+
"",
|
|
1322
|
+
"const VariablesContext = createContext<Store | null>(null)",
|
|
1323
|
+
"",
|
|
1324
|
+
"export function VariablesProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1325
|
+
" const [v, setV] = useState(initialVariables)",
|
|
1326
|
+
" const set = useCallback(<K extends keyof Variables>(name: K, value: Variables[K]) => setV(prev => ({ ...prev, [name]: value })), [])",
|
|
1327
|
+
" const store = useMemo(() => ({ v, set }), [v, set])",
|
|
1328
|
+
" return <VariablesContext value={store}>{children}</VariablesContext>",
|
|
1329
|
+
"}",
|
|
1330
|
+
"",
|
|
1331
|
+
"/** The variables, and the way to change one. */",
|
|
1332
|
+
"export function useVariables(): Store {",
|
|
1333
|
+
" const store = useContext(VariablesContext)",
|
|
1334
|
+
" if (!store) throw new Error('useVariables is used outside VariablesProvider (app/layout.tsx)')",
|
|
1335
|
+
" return store",
|
|
1336
|
+
"}",
|
|
1337
|
+
"",
|
|
1338
|
+
"/** Where an overlay sits over the page, and how it closes (OVERLAY / SWAP in the design). */",
|
|
1339
|
+
"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 } }",
|
|
1340
|
+
"interface OverlayStore { open: OverlayEntry[]; push(id: string, o?: OverlayOptions): void; swap(id: string, o?: OverlayOptions): void; close(): void }",
|
|
1341
|
+
"export interface OverlayEntry { id: string; options: OverlayOptions }",
|
|
1342
|
+
"",
|
|
1343
|
+
"const OverlayContext = createContext<OverlayStore | null>(null)",
|
|
1344
|
+
"",
|
|
1345
|
+
"/** The overlays open over the page, top last. */",
|
|
1346
|
+
"export function OverlayProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1347
|
+
" const [open, setOpen] = useState<OverlayEntry[]>([])",
|
|
1348
|
+
" const store = useMemo<OverlayStore>(() => ({",
|
|
1349
|
+
" open,",
|
|
1350
|
+
" push: (id, options = {}) => setOpen(prev => [...prev, { id, options }]),",
|
|
1351
|
+
" swap: (id, options = {}) => setOpen(prev => [...prev.slice(0, -1), { id, options }]),",
|
|
1352
|
+
" close: () => setOpen(prev => prev.slice(0, -1)),",
|
|
1353
|
+
" }), [open])",
|
|
1354
|
+
" return <OverlayContext value={store}>{children}</OverlayContext>",
|
|
1355
|
+
"}",
|
|
1356
|
+
"",
|
|
1357
|
+
"/** Open, swap and close overlays: `overlays.open(id, { position, dim, closeOnOutside })`. */",
|
|
1358
|
+
"export function useOverlays() {",
|
|
1359
|
+
" const store = useContext(OverlayContext)",
|
|
1360
|
+
" if (!store) throw new Error('useOverlays is used outside OverlayProvider (app/layout.tsx)')",
|
|
1361
|
+
" return { open: store.push, swap: store.swap, close: store.close, list: store.open }",
|
|
1362
|
+
"}",
|
|
1363
|
+
"",
|
|
1364
|
+
...b.server ? siteProviderSource(b.server) : [],
|
|
1365
|
+
"/** One of the expression functions (`count`, `clamp`, `today`\u2026). One that adds up records that are not here gives 0. */",
|
|
1366
|
+
"export function call(fn: string, ...args: ExprValue[]): ExprValue {",
|
|
1367
|
+
" const f = FUNCTIONS[fn]",
|
|
1368
|
+
" if (!f) return 0",
|
|
1369
|
+
" try { return f(args) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
1370
|
+
"}",
|
|
1371
|
+
""
|
|
1372
|
+
].join("\n");
|
|
1373
|
+
}
|
|
1374
|
+
var siteSource = () => [
|
|
1375
|
+
"// Where the site is served from (NEXT_PUBLIC_SITE_URL, see .env.example): its sitemap, robots.txt and the",
|
|
1376
|
+
"// addresses social previews link to are made from it.",
|
|
1377
|
+
"export const siteUrl = new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'http://localhost:3000')",
|
|
1378
|
+
""
|
|
1379
|
+
].join("\n");
|
|
1380
|
+
var sitemapSource = (routes) => [
|
|
1381
|
+
"import type { MetadataRoute } from 'next'",
|
|
1382
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1383
|
+
"",
|
|
1384
|
+
"export default function sitemap(): MetadataRoute.Sitemap {",
|
|
1385
|
+
` return ${JSON.stringify(routes)}.map(route => ({ url: new URL(route, siteUrl).href, lastModified: new Date() }))`,
|
|
1386
|
+
"}",
|
|
1387
|
+
""
|
|
1388
|
+
].join("\n");
|
|
1389
|
+
var robotsSource = () => [
|
|
1390
|
+
"import type { MetadataRoute } from 'next'",
|
|
1391
|
+
"import { siteUrl } from '@/lib/site'",
|
|
1392
|
+
"",
|
|
1393
|
+
"export default function robots(): MetadataRoute.Robots {",
|
|
1394
|
+
" return { rules: { userAgent: '*', allow: '/' }, sitemap: new URL('/sitemap.xml', siteUrl).href }",
|
|
1395
|
+
"}",
|
|
1396
|
+
""
|
|
1397
|
+
].join("\n");
|
|
1398
|
+
function readme(site, o) {
|
|
1399
|
+
const v = EXPORT_VERSIONS.packages;
|
|
1400
|
+
return `# ${site.name}
|
|
1401
|
+
|
|
1402
|
+
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]}` : ""}).
|
|
1403
|
+
|
|
1404
|
+
## Run it
|
|
1405
|
+
|
|
1406
|
+
You need Node.js ${EXPORT_VERSIONS.node.replace(">=", "")} or newer.
|
|
1407
|
+
|
|
1408
|
+
\`\`\`bash
|
|
1409
|
+
npm install
|
|
1410
|
+
npm run dev
|
|
1411
|
+
\`\`\`
|
|
1412
|
+
|
|
1413
|
+
Then open http://localhost:3000.
|
|
1414
|
+
|
|
1415
|
+
| Command | What it does |
|
|
1416
|
+
| --- | --- |
|
|
1417
|
+
| \`npm run dev\` | Runs the site locally, reloading as you edit |
|
|
1418
|
+
| \`npm run build\` | Builds it for production |
|
|
1419
|
+
| \`npm start\` | Serves the production build |
|
|
1420
|
+
| \`npm run lint\` | Checks the code with ESLint (Next.js's recommended rules) |
|
|
1421
|
+
| \`npm run typecheck\` | Checks the types with TypeScript |
|
|
1422
|
+
|
|
1423
|
+
## What is where
|
|
1424
|
+
|
|
1425
|
+
| Path | What it is |
|
|
1426
|
+
| --- | --- |
|
|
1427
|
+
| \`app/layout.tsx\` | The page around every route: language, fonts, the site's metadata |
|
|
1428
|
+
${o.routes.map((r) => `| \`${pageDir(r)}/page.tsx\` | \`${r}\`: its title and description, and the screen it shows |`).join("\n")}
|
|
1429
|
+
| \`app/**/screen.tsx\` | Each screen as plain TSX: real elements, links and forms. A screen that runs in the browser starts with \`'use client'\` |
|
|
1430
|
+
| \`app/globals.css\` | The design's variables${o.tailwind ? ", Tailwind," : ""} and its breakpoints as media queries |
|
|
1431
|
+
| \`app/sitemap.ts\`, \`app/robots.ts\` | \`/sitemap.xml\` and \`/robots.txt\`, from \`NEXT_PUBLIC_SITE_URL\` |
|
|
1432
|
+
| \`public/\` | The pictures, served through \`next/image\` at the size each screen needs |
|
|
1433
|
+
${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" : ""}
|
|
1434
|
+
${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.
|
|
1435
|
+
` : ""}
|
|
1436
|
+
${o.server ? serverReadme(o.server) : ""}## Deploy
|
|
1437
|
+
|
|
1438
|
+
Set \`NEXT_PUBLIC_SITE_URL\` to the site's address (copy \`.env.example\` to \`.env.local\` for local use), then deploy
|
|
1439
|
+
anywhere that runs Next.js: Vercel, a Node server (\`npm run build && npm start\`), or a container.
|
|
1440
|
+
|
|
1441
|
+
## Exporting again
|
|
1442
|
+
|
|
1443
|
+
Exporting from PopCraft again writes these files again. Keep changes you want to survive in files of your own, or
|
|
1444
|
+
treat this project as yours from here on and stop exporting.
|
|
1445
|
+
`;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
// lib/io/web/project/build.ts
|
|
1449
|
+
var runtimeScript = (name) => fetch(`/pc/${name}.js?fresh=${Date.now()}`, { cache: "no-store" }).then((r) => r.ok ? r.text() : null).catch(() => null);
|
|
1450
|
+
async function appAssetFiles(paths, under = "") {
|
|
1451
|
+
const got = await Promise.all(paths.map(async (path) => {
|
|
1452
|
+
const res = await fetch(path).catch(() => null);
|
|
1453
|
+
const file = res?.ok ? { path: `${under}${path.replace(/^\//, "")}`, content: new Uint8Array(await res.arrayBuffer()) } : null;
|
|
1454
|
+
return file;
|
|
1455
|
+
}));
|
|
1456
|
+
return got.filter((f) => f !== null);
|
|
1457
|
+
}
|
|
1458
|
+
async function completeSite(doc, pageId) {
|
|
1459
|
+
const [{ previewSite }, { rendererAssetResolvers }] = await Promise.all([import("./host-ZCLOZGK7.js"), import("./resolvers-Z3GFIWPW.js")]);
|
|
1460
|
+
return previewSite(doc, pageId, rendererAssetResolvers(doc));
|
|
1461
|
+
}
|
|
1462
|
+
var NoSiteRuntime = class extends Error {
|
|
1463
|
+
constructor() {
|
|
1464
|
+
super("The site runtime is not built in this copy of the app.");
|
|
1465
|
+
}
|
|
1466
|
+
};
|
|
1467
|
+
async function nextFilesOf(full, doc, opts = {}) {
|
|
1468
|
+
const site = withoutScreenIslands(full);
|
|
1469
|
+
const islandScript = site.islands && Object.keys(site.islands).length ? await runtimeScript("island") : null;
|
|
1470
|
+
return [...nextProjectFiles(site, doc, { ...opts, islandScript }), ...await appAssetFiles(appAssetPaths(site), "public/")];
|
|
1471
|
+
}
|
|
1472
|
+
async function staticFilesOf(site, opts = {}) {
|
|
1473
|
+
const [siteJs, island, code] = await Promise.all([runtimeScript("site"), site.islands ? runtimeScript("island") : null, site.code ? runtimeScript("code") : null]);
|
|
1474
|
+
if (!siteJs) throw new NoSiteRuntime();
|
|
1475
|
+
const { t } = await import("./runtime-4NEHXP6R.js");
|
|
1476
|
+
site = { ...site, strings: { ...site.strings, formNotSent: t("siteForm.notSent") } };
|
|
1477
|
+
return [...staticSiteFiles(site, { site: siteJs, island, code }, opts), ...await appAssetFiles(appAssetPaths(site))];
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
// lib/io/web/project/share.ts
|
|
1481
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1482
|
+
init_scene_graph();
|
|
1483
|
+
var SHARE_WIDTH = 1200;
|
|
1484
|
+
var SHARE_HEIGHT = 630;
|
|
1485
|
+
var SHARE_MAX_BYTES = 1024 * 1024;
|
|
1486
|
+
var SHARE_DIR = "share/";
|
|
1487
|
+
function shareCrop(w, h) {
|
|
1488
|
+
const ratio = SHARE_WIDTH / SHARE_HEIGHT;
|
|
1489
|
+
if (w / h > ratio) {
|
|
1490
|
+
const cw = h * ratio;
|
|
1491
|
+
return { x: (w - cw) / 2, y: 0, w: cw, h, scale: SHARE_HEIGHT / h };
|
|
1492
|
+
}
|
|
1493
|
+
const ch = w / ratio;
|
|
1494
|
+
return { x: 0, y: 0, w, h: ch, scale: SHARE_WIDTH / w };
|
|
1495
|
+
}
|
|
1496
|
+
function shareFrameOf(doc, site, choice) {
|
|
1497
|
+
if (choice?.kind === "frame" && doc.nodes[choice.frameId]) return choice.frameId;
|
|
1498
|
+
const home = site.pages.find((p) => p.id === site.home) ?? site.pages.find((p) => !p.notFound) ?? site.pages[0];
|
|
1499
|
+
return home ? home.screen ?? home.id : null;
|
|
1500
|
+
}
|
|
1501
|
+
async function drawShareFrame(doc, frameId) {
|
|
1502
|
+
const [{ getActiveRenderer }, { encodeImageData }, { documentForExport }] = await Promise.all([
|
|
1503
|
+
import("./renderer-registry-FKEML3YQ.js"),
|
|
1504
|
+
import("./export-5OCOY5YP.js"),
|
|
1505
|
+
import("./export-fills-B5LBWSRD.js")
|
|
1506
|
+
]);
|
|
1507
|
+
const renderer = getActiveRenderer();
|
|
1508
|
+
const frame = doc.nodes[frameId];
|
|
1509
|
+
if (!renderer || !frame) return null;
|
|
1510
|
+
const shown = documentForExport(doc);
|
|
1511
|
+
const box = uprightBounds(getWorldTransform(shown, frameId), frame.width, frame.height);
|
|
1512
|
+
const crop = shareCrop(box.maxX - box.minX, box.maxY - box.minY);
|
|
1513
|
+
const bounds = { minX: box.minX + crop.x, minY: box.minY + crop.y, maxX: box.minX + crop.x + crop.w, maxY: box.minY + crop.y + crop.h };
|
|
1514
|
+
const pixels = await renderer.exportRegion([shown.nodes[frameId] ?? frame], bounds, crop.scale, shown, shown.styles, void 0, true);
|
|
1515
|
+
if (!pixels) return null;
|
|
1516
|
+
const png = await encodeImageData(pixels, "PNG");
|
|
1517
|
+
if (png && png.size <= SHARE_MAX_BYTES) return { bytes: new Uint8Array(await png.arrayBuffer()), ext: "png" };
|
|
1518
|
+
const jpg = await encodeImageData(pixels, "JPG", 0.85);
|
|
1519
|
+
return jpg ? { bytes: new Uint8Array(await jpg.arrayBuffer()), ext: "jpg" } : null;
|
|
1520
|
+
}
|
|
1521
|
+
var IMAGE_EXT = { "image/png": "png", "image/jpeg": "jpg", "image/webp": "webp", "image/gif": "gif" };
|
|
1522
|
+
async function shareImageFiles(doc, site, under = "") {
|
|
1523
|
+
const files = [];
|
|
1524
|
+
const choice = doc.site?.shareImage;
|
|
1525
|
+
if (choice?.kind === "image") {
|
|
1526
|
+
const { loadMediaBlob } = await import("./media-store-G64UM36P.js");
|
|
1527
|
+
const blob = await loadMediaBlob(choice.src).catch(() => null);
|
|
1528
|
+
const ext = blob && IMAGE_EXT[blob.type];
|
|
1529
|
+
if (blob && ext) {
|
|
1530
|
+
const path = `${SHARE_DIR}og.${ext}`;
|
|
1531
|
+
files.push({ path: under + path, content: new Uint8Array(await blob.arrayBuffer()) });
|
|
1532
|
+
const size = await imageSize(blob);
|
|
1533
|
+
site.share = { image: path, width: size?.width ?? SHARE_WIDTH, height: size?.height ?? SHARE_HEIGHT };
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
if (!site.share) {
|
|
1537
|
+
const frameId = shareFrameOf(doc, site, choice);
|
|
1538
|
+
const drawn = frameId ? await drawShareFrame(doc, frameId) : null;
|
|
1539
|
+
if (drawn) {
|
|
1540
|
+
const path = `${SHARE_DIR}og.${drawn.ext}`;
|
|
1541
|
+
files.push({ path: under + path, content: drawn.bytes });
|
|
1542
|
+
site.share = { image: path, width: SHARE_WIDTH, height: SHARE_HEIGHT };
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
const drawnFor = /* @__PURE__ */ new Map();
|
|
1546
|
+
for (const page of site.pages) {
|
|
1547
|
+
const own = doc.nodes[page.screen ?? page.id]?.route?.shareImage;
|
|
1548
|
+
if (!own || !doc.nodes[own]) continue;
|
|
1549
|
+
if (!drawnFor.has(own)) {
|
|
1550
|
+
const drawn = await drawShareFrame(doc, own);
|
|
1551
|
+
const path2 = drawn ? `${SHARE_DIR}${own.replace(/[^\w-]/g, "_")}.${drawn.ext}` : null;
|
|
1552
|
+
if (drawn && path2) files.push({ path: under + path2, content: drawn.bytes });
|
|
1553
|
+
drawnFor.set(own, path2);
|
|
1554
|
+
}
|
|
1555
|
+
const path = drawnFor.get(own);
|
|
1556
|
+
if (path) page.shareImage = path;
|
|
1557
|
+
}
|
|
1558
|
+
return files;
|
|
1559
|
+
}
|
|
1560
|
+
async function imageSize(blob) {
|
|
1561
|
+
const b = new Uint8Array(await blob.slice(0, 64 * 1024).arrayBuffer());
|
|
1562
|
+
return pictureSize(b);
|
|
1563
|
+
}
|
|
1564
|
+
function pictureSize(b) {
|
|
1565
|
+
const dv = new DataView(b.buffer, b.byteOffset, b.byteLength);
|
|
1566
|
+
if (b.length > 24 && b[0] === 137 && b[1] === 80) return { width: dv.getUint32(16), height: dv.getUint32(20) };
|
|
1567
|
+
if (b[0] === 255 && b[1] === 216) {
|
|
1568
|
+
let i = 2;
|
|
1569
|
+
while (i + 9 < b.length) {
|
|
1570
|
+
if (b[i] !== 255) return null;
|
|
1571
|
+
const marker = b[i + 1];
|
|
1572
|
+
const len = dv.getUint16(i + 2);
|
|
1573
|
+
if (marker >= 192 && marker <= 207 && marker !== 196 && marker !== 200 && marker !== 204) return { height: dv.getUint16(i + 5), width: dv.getUint16(i + 7) };
|
|
1574
|
+
i += 2 + len;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
return null;
|
|
1578
|
+
}
|
|
1579
|
+
export {
|
|
1580
|
+
ASSET_DIR,
|
|
1581
|
+
NoSiteRuntime,
|
|
1582
|
+
SHARE_HEIGHT,
|
|
1583
|
+
SHARE_MAX_BYTES,
|
|
1584
|
+
SHARE_WIDTH,
|
|
1585
|
+
appAssetFiles,
|
|
1586
|
+
appAssetPaths,
|
|
1587
|
+
bytesOf,
|
|
1588
|
+
completeSite,
|
|
1589
|
+
drawShareFrame,
|
|
1590
|
+
externalizeBitmaps,
|
|
1591
|
+
nextFilesOf,
|
|
1592
|
+
nextProjectDropped,
|
|
1593
|
+
nextProjectFiles,
|
|
1594
|
+
routeFile,
|
|
1595
|
+
routeUp,
|
|
1596
|
+
shareCrop,
|
|
1597
|
+
shareImageFiles,
|
|
1598
|
+
staticFilesOf,
|
|
1599
|
+
staticSiteFiles,
|
|
1600
|
+
withAssetBase
|
|
1601
|
+
};
|