@popcraft/kit 0.8.3 → 0.8.4
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-ESZR75MM.js +44 -0
- package/dist/chunks/audio-decode-A5X4WHPF.js +53 -0
- package/dist/chunks/audio-import-Z5TFLS5K.js +125 -0
- package/dist/chunks/browser-CUAXOZF3.js +177 -0
- package/dist/chunks/build-VRQFI2BT.js +54 -0
- package/dist/chunks/builtin-5U6HC6LW.js +102 -0
- package/dist/chunks/check-template-TGRMBX7T.js +2549 -0
- package/dist/chunks/chunk-22CILMQ6.js +247 -0
- package/dist/chunks/chunk-234ZLGAM.js +36 -0
- package/dist/chunks/chunk-25RSTBMN.js +77 -0
- package/dist/chunks/chunk-2B6XSQEC.js +45 -0
- package/dist/chunks/chunk-2CWNPT67.js +1594 -0
- package/dist/chunks/chunk-2EEE6HUE.js +28 -0
- package/dist/chunks/chunk-2FOLQCLZ.js +420 -0
- package/dist/chunks/chunk-2GFJQ37R.js +81 -0
- package/dist/chunks/chunk-2GZAMDHN.js +152 -0
- package/dist/chunks/chunk-2HPDYQCL.js +170 -0
- package/dist/chunks/chunk-2J2ZXN4H.js +50 -0
- package/dist/chunks/chunk-2J3Q752J.js +33 -0
- package/dist/chunks/chunk-2J5M3WPK.js +284 -0
- package/dist/chunks/chunk-2KGZUBYC.js +23 -0
- package/dist/chunks/chunk-2MKYGOYU.js +564 -0
- package/dist/chunks/chunk-2MZFCA4J.js +33 -0
- package/dist/chunks/chunk-2N5GERVI.js +261 -0
- package/dist/chunks/chunk-2NO5LELQ.js +52 -0
- package/dist/chunks/chunk-2OAJIV4O.js +252 -0
- package/dist/chunks/chunk-2OYH7UGG.js +251 -0
- package/dist/chunks/chunk-2Q4THRFR.js +189 -0
- package/dist/chunks/chunk-2RZAJNO2.js +187 -0
- package/dist/chunks/chunk-2T3RKQ5M.js +303 -0
- package/dist/chunks/chunk-2VGDP5WW.js +41 -0
- package/dist/chunks/chunk-2WHY3CLL.js +23 -0
- package/dist/chunks/chunk-2XCLXBOG.js +160 -0
- package/dist/chunks/chunk-33DVHCMS.js +265 -0
- package/dist/chunks/chunk-33VRQ5VX.js +94 -0
- package/dist/chunks/chunk-34MJUZ3P.js +91 -0
- package/dist/chunks/chunk-3574XGZM.js +33 -0
- package/dist/chunks/chunk-37DSPJWO.js +164 -0
- package/dist/chunks/chunk-37FDY4MC.js +81 -0
- package/dist/chunks/chunk-3BLECARL.js +225 -0
- package/dist/chunks/chunk-3C3UHJPK.js +237 -0
- package/dist/chunks/chunk-3FDW7QKG.js +226 -0
- package/dist/chunks/chunk-3G3CFWCY.js +777 -0
- package/dist/chunks/chunk-3HI2UGF5.js +631 -0
- package/dist/chunks/chunk-3KPMCBSL.js +30 -0
- package/dist/chunks/chunk-3KXQ2BKT.js +152 -0
- package/dist/chunks/chunk-3LBGYCN7.js +210 -0
- package/dist/chunks/chunk-3LEGZUIT.js +327 -0
- package/dist/chunks/chunk-3NC627CM.js +23 -0
- package/dist/chunks/chunk-3NV3PLAJ.js +84 -0
- package/dist/chunks/chunk-3THOJVUJ.js +193 -0
- package/dist/chunks/chunk-3TRLON7T.js +141 -0
- package/dist/chunks/chunk-3UPWHDYN.js +914 -0
- package/dist/chunks/chunk-3XT7LYWF.js +207 -0
- package/dist/chunks/chunk-42CPTHNW.js +89 -0
- package/dist/chunks/chunk-43YP3JFU.js +115 -0
- package/dist/chunks/chunk-47LHANO7.js +362 -0
- package/dist/chunks/chunk-4BVWKZFW.js +23 -0
- package/dist/chunks/chunk-4CRWZSLL.js +330 -0
- package/dist/chunks/chunk-4CSHG67P.js +151 -0
- package/dist/chunks/chunk-4DJT745R.js +45 -0
- package/dist/chunks/chunk-4DP4SR6F.js +109 -0
- package/dist/chunks/chunk-4F4W3PQJ.js +23 -0
- package/dist/chunks/chunk-4FHBO775.js +104 -0
- package/dist/chunks/chunk-4GGYCUFK.js +106 -0
- package/dist/chunks/chunk-4IF7UIWR.js +55 -0
- package/dist/chunks/chunk-4IJCCRI2.js +84 -0
- package/dist/chunks/chunk-4IMPL7IH.js +136 -0
- package/dist/chunks/chunk-4KQO6OR5.js +33 -0
- package/dist/chunks/chunk-4LMKKOJF.js +327 -0
- package/dist/chunks/chunk-4MIDE22P.js +217 -0
- package/dist/chunks/chunk-4OAVYL63.js +157 -0
- package/dist/chunks/chunk-4Q7GQSXD.js +1393 -0
- package/dist/chunks/chunk-4R4AWKEK.js +144 -0
- package/dist/chunks/chunk-4UGS7YLX.js +293 -0
- package/dist/chunks/chunk-4XPAKAGG.js +298 -0
- package/dist/chunks/chunk-4XUP3ROX.js +165 -0
- package/dist/chunks/chunk-4Y3DA7LZ.js +121 -0
- package/dist/chunks/chunk-4Z2TVPGL.js +43 -0
- package/dist/chunks/chunk-4ZPEIC4X.js +23 -0
- package/dist/chunks/chunk-52SMESGH.js +104 -0
- package/dist/chunks/chunk-53O4ZHLG.js +80 -0
- package/dist/chunks/chunk-56QAW2WO.js +270 -0
- package/dist/chunks/chunk-56TCPBSH.js +200 -0
- package/dist/chunks/chunk-5AIXVBS5.js +212 -0
- package/dist/chunks/chunk-5BKI7MUU.js +126 -0
- package/dist/chunks/chunk-5DDQ3DHX.js +33 -0
- package/dist/chunks/chunk-5DM3OCUN.js +190 -0
- package/dist/chunks/chunk-5EJQEDYD.js +164 -0
- package/dist/chunks/chunk-5EKOJ55S.js +111 -0
- package/dist/chunks/chunk-5GTJTOGF.js +90 -0
- package/dist/chunks/chunk-5I2DFGMD.js +97 -0
- package/dist/chunks/chunk-5JXII5BT.js +109 -0
- package/dist/chunks/chunk-5KRFD5QP.js +164 -0
- package/dist/chunks/chunk-5M6FXIEI.js +317 -0
- package/dist/chunks/chunk-5N3THFI5.js +157 -0
- package/dist/chunks/chunk-5N63YR4U.js +110 -0
- package/dist/chunks/chunk-5ODBFFF7.js +85 -0
- package/dist/chunks/chunk-5ORC3WWZ.js +10422 -0
- package/dist/chunks/chunk-5Q72ORSN.js +462 -0
- package/dist/chunks/chunk-5QS4ARVV.js +180 -0
- package/dist/chunks/chunk-5QVW6RZY.js +299 -0
- package/dist/chunks/chunk-5ULQIRZE.js +152 -0
- package/dist/chunks/chunk-5UZ4UFZM.js +197 -0
- package/dist/chunks/chunk-5VEK3MYJ.js +1307 -0
- package/dist/chunks/chunk-5XWXCRJY.js +177 -0
- package/dist/chunks/chunk-5YT7PBSO.js +197 -0
- package/dist/chunks/chunk-62I7LIXG.js +231 -0
- package/dist/chunks/chunk-62KD5E3S.js +23 -0
- package/dist/chunks/chunk-65JPPBCA.js +174 -0
- package/dist/chunks/chunk-65OZMELD.js +152 -0
- package/dist/chunks/chunk-65V3QRZO.js +33 -0
- package/dist/chunks/chunk-676FJM3X.js +95 -0
- package/dist/chunks/chunk-6D3QF5MO.js +140 -0
- package/dist/chunks/chunk-6DNG7DQB.js +85 -0
- package/dist/chunks/chunk-6EN5FFKI.js +215 -0
- package/dist/chunks/chunk-6IDHW2QU.js +342 -0
- package/dist/chunks/chunk-6IPF3X2Q.js +82 -0
- package/dist/chunks/chunk-6JB3CNUM.js +166 -0
- package/dist/chunks/chunk-6LPGLSN7.js +33 -0
- package/dist/chunks/chunk-6MLJIOFA.js +192 -0
- package/dist/chunks/chunk-6N4TKF4Y.js +93 -0
- package/dist/chunks/chunk-6NJUUBPY.js +92 -0
- package/dist/chunks/chunk-6PX3UDR6.js +378 -0
- package/dist/chunks/chunk-6Q46VYPK.js +226 -0
- package/dist/chunks/chunk-6QIXD4OU.js +83 -0
- package/dist/chunks/chunk-6QSIRESU.js +78 -0
- package/dist/chunks/chunk-6SRA5XUF.js +99 -0
- package/dist/chunks/chunk-6T3S5Z2A.js +134 -0
- package/dist/chunks/chunk-6U3B5GC4.js +33 -0
- package/dist/chunks/chunk-6UL65QGE.js +56 -0
- package/dist/chunks/chunk-6VPI47ON.js +50 -0
- package/dist/chunks/chunk-6X6LVBVY.js +95 -0
- package/dist/chunks/chunk-6XLOKDCK.js +198 -0
- package/dist/chunks/chunk-6XM4OBQE.js +190 -0
- package/dist/chunks/chunk-6YW6ANY2.js +195 -0
- package/dist/chunks/chunk-6Z7LV3G7.js +119 -0
- package/dist/chunks/chunk-6ZMNYET4.js +97 -0
- package/dist/chunks/chunk-6ZUIRGCE.js +97 -0
- package/dist/chunks/chunk-73A4C3TX.js +154 -0
- package/dist/chunks/chunk-73KFBPKI.js +23 -0
- package/dist/chunks/chunk-73WS6VNH.js +178 -0
- package/dist/chunks/chunk-74DZSTYF.js +177 -0
- package/dist/chunks/chunk-74MWYZD6.js +79 -0
- package/dist/chunks/chunk-74QHKLWH.js +42 -0
- package/dist/chunks/chunk-75TZHZHN.js +351 -0
- package/dist/chunks/chunk-75ZCXPQB.js +95 -0
- package/dist/chunks/chunk-7AVUXMMU.js +160 -0
- package/dist/chunks/chunk-7CCTUPC7.js +23 -0
- package/dist/chunks/chunk-7CEVUUPQ.js +33 -0
- package/dist/chunks/chunk-7DARDPIJ.js +41 -0
- package/dist/chunks/chunk-7EYALTPY.js +118 -0
- package/dist/chunks/chunk-7F6HSRDL.js +161 -0
- package/dist/chunks/chunk-7H2DYMWI.js +23 -0
- package/dist/chunks/chunk-7ICOERW3.js +82 -0
- package/dist/chunks/chunk-7IE42L2B.js +239 -0
- package/dist/chunks/chunk-7IXDK62F.js +415 -0
- package/dist/chunks/chunk-7J522TME.js +77 -0
- package/dist/chunks/chunk-7J7ZS4LQ.js +99 -0
- package/dist/chunks/chunk-7JU7CEXM.js +161 -0
- package/dist/chunks/chunk-7KM54JWA.js +192 -0
- package/dist/chunks/chunk-7KS646QP.js +118 -0
- package/dist/chunks/chunk-7N3M73NF.js +117 -0
- package/dist/chunks/chunk-7ONJNODD.js +149 -0
- package/dist/chunks/chunk-7QQ2URCO.js +76 -0
- package/dist/chunks/chunk-7QZY3DGM.js +150 -0
- package/dist/chunks/chunk-7R4PJKNR.js +103 -0
- package/dist/chunks/chunk-7UASJJLR.js +274 -0
- package/dist/chunks/chunk-7UYTN4XA.js +33 -0
- package/dist/chunks/chunk-7Y3T3PIH.js +108 -0
- package/dist/chunks/chunk-7Y4RPXQG.js +266 -0
- package/dist/chunks/chunk-A2J2RDB7.js +113 -0
- package/dist/chunks/chunk-A5D7HO53.js +152 -0
- package/dist/chunks/chunk-A67KWYF2.js +128 -0
- package/dist/chunks/chunk-A7EG4QBP.js +106 -0
- package/dist/chunks/chunk-AAZWRART.js +375 -0
- package/dist/chunks/chunk-ADXYIWF3.js +55 -0
- package/dist/chunks/chunk-AHHT7CQA.js +49 -0
- package/dist/chunks/chunk-AIJQCJZC.js +172 -0
- package/dist/chunks/chunk-AKIA36M6.js +358 -0
- package/dist/chunks/chunk-AO6C72QM.js +196 -0
- package/dist/chunks/chunk-AOMAXPWZ.js +898 -0
- package/dist/chunks/chunk-ARE2NEEI.js +169 -0
- package/dist/chunks/chunk-AUIFKQI3.js +250 -0
- package/dist/chunks/chunk-AUXFZMOB.js +153 -0
- package/dist/chunks/chunk-AW7C3BVU.js +23 -0
- package/dist/chunks/chunk-AYCMZ67V.js +23 -0
- package/dist/chunks/chunk-AYTQJLHT.js +84 -0
- package/dist/chunks/chunk-B3K6TS4B.js +177 -0
- package/dist/chunks/chunk-B4K4SX62.js +95 -0
- package/dist/chunks/chunk-B56G5VAK.js +33 -0
- package/dist/chunks/chunk-B5HHLMSA.js +77 -0
- package/dist/chunks/chunk-B6BQA6KA.js +272 -0
- package/dist/chunks/chunk-B6G7PCU7.js +100 -0
- package/dist/chunks/chunk-BBSJVIHT.js +117 -0
- package/dist/chunks/chunk-BCVQSF2B.js +738 -0
- package/dist/chunks/chunk-BDBBM5A4.js +84 -0
- package/dist/chunks/chunk-BDQZUJJ7.js +311 -0
- package/dist/chunks/chunk-BEZXCDH7.js +97 -0
- package/dist/chunks/chunk-BFB2QAHL.js +1134 -0
- package/dist/chunks/chunk-BFOL3AFA.js +113 -0
- package/dist/chunks/chunk-BG6EAXPR.js +139 -0
- package/dist/chunks/chunk-BHHVI6HR.js +33 -0
- package/dist/chunks/chunk-BHWDTQD7.js +135 -0
- package/dist/chunks/chunk-BJS6G7QA.js +183 -0
- package/dist/chunks/chunk-BLBQISVT.js +194 -0
- package/dist/chunks/chunk-BLEXK6VW.js +107 -0
- package/dist/chunks/chunk-BPFMRUWM.js +84 -0
- package/dist/chunks/chunk-BPNF5JTN.js +23 -0
- package/dist/chunks/chunk-BSOZJ6YJ.js +135 -0
- package/dist/chunks/chunk-BSTOBBXN.js +277 -0
- package/dist/chunks/chunk-BT7DK3SP.js +179 -0
- package/dist/chunks/chunk-BTCQLBKJ.js +150 -0
- package/dist/chunks/chunk-BULHJMLL.js +525 -0
- package/dist/chunks/chunk-BWEVPFCF.js +44 -0
- package/dist/chunks/chunk-BWHVU47Y.js +172 -0
- package/dist/chunks/chunk-BXROS6VN.js +298 -0
- package/dist/chunks/chunk-BZKDWRAD.js +23 -0
- package/dist/chunks/chunk-C2AOC7OC.js +111 -0
- package/dist/chunks/chunk-C2LY3HCZ.js +23 -0
- package/dist/chunks/chunk-C2NQHD6X.js +125 -0
- package/dist/chunks/chunk-C34MY57Z.js +220 -0
- package/dist/chunks/chunk-C4GW7F7P.js +90 -0
- package/dist/chunks/chunk-CAESQXAR.js +187 -0
- package/dist/chunks/chunk-CCCV4I4A.js +167 -0
- package/dist/chunks/chunk-CCXOUMDO.js +231 -0
- package/dist/chunks/chunk-CDJYWWM4.js +33 -0
- package/dist/chunks/chunk-CDKYZTI5.js +94 -0
- package/dist/chunks/chunk-CFZQOHPL.js +115 -0
- package/dist/chunks/chunk-CJC373OG.js +98 -0
- package/dist/chunks/chunk-CJK6CL5N.js +110 -0
- package/dist/chunks/chunk-CKOA322H.js +181 -0
- package/dist/chunks/chunk-CL6FP37I.js +197 -0
- package/dist/chunks/chunk-CLKDXHDV.js +78 -0
- package/dist/chunks/chunk-CRI35SSQ.js +23 -0
- package/dist/chunks/chunk-CU6RJGDO.js +45 -0
- package/dist/chunks/chunk-CVZUV2JN.js +68 -0
- package/dist/chunks/chunk-CWDW4UMB.js +84 -0
- package/dist/chunks/chunk-CWQM2AJU.js +62 -0
- package/dist/chunks/chunk-CWSTLIJR.js +53 -0
- package/dist/chunks/chunk-CWYMGDOG.js +163 -0
- package/dist/chunks/chunk-CX3DUTDW.js +105 -0
- package/dist/chunks/chunk-CXAH3FE6.js +221 -0
- package/dist/chunks/chunk-CZK4MDHS.js +100 -0
- package/dist/chunks/chunk-CZTOLFDN.js +103 -0
- package/dist/chunks/chunk-D3OGJ3CC.js +331 -0
- package/dist/chunks/chunk-D3VFWQO5.js +258 -0
- package/dist/chunks/chunk-D3YYMQ2P.js +200 -0
- package/dist/chunks/chunk-D5TEGLAT.js +260 -0
- package/dist/chunks/chunk-D7SZ2EP7.js +282 -0
- package/dist/chunks/chunk-DBXASUHT.js +166 -0
- package/dist/chunks/chunk-DCGSTVZZ.js +23 -0
- package/dist/chunks/chunk-DCVBR4CG.js +124 -0
- package/dist/chunks/chunk-DD57EGPT.js +229 -0
- package/dist/chunks/chunk-DDNBC4OU.js +98 -0
- package/dist/chunks/chunk-DIBDHF4Z.js +270 -0
- package/dist/chunks/chunk-DJAV2F7V.js +141 -0
- package/dist/chunks/chunk-DL2TA6YY.js +106 -0
- package/dist/chunks/chunk-DLVQ2XVC.js +173 -0
- package/dist/chunks/chunk-DNPOMNYN.js +23 -0
- package/dist/chunks/chunk-DNY7QIUM.js +79 -0
- package/dist/chunks/chunk-DO3OQVUM.js +33 -0
- package/dist/chunks/chunk-DPIPWJA2.js +102 -0
- package/dist/chunks/chunk-DTWFINR7.js +33 -0
- package/dist/chunks/chunk-DWTJOCQC.js +305 -0
- package/dist/chunks/chunk-DWZK4OST.js +112 -0
- package/dist/chunks/chunk-DXHMK44T.js +166 -0
- package/dist/chunks/chunk-DXVJB24V.js +23 -0
- package/dist/chunks/chunk-DZCCNYZX.js +161 -0
- package/dist/chunks/chunk-E4ZCTNEX.js +123 -0
- package/dist/chunks/chunk-E6KIJG65.js +225 -0
- package/dist/chunks/chunk-E6LXMTS5.js +154 -0
- package/dist/chunks/chunk-E6PVAUKY.js +156 -0
- package/dist/chunks/chunk-EC5AI7XK.js +204 -0
- package/dist/chunks/chunk-EC5KBID2.js +38 -0
- package/dist/chunks/chunk-ED5AT7VM.js +191 -0
- package/dist/chunks/chunk-EDZ3CUKY.js +206 -0
- package/dist/chunks/chunk-EGUVSOUS.js +98 -0
- package/dist/chunks/chunk-EH2XVG25.js +191 -0
- package/dist/chunks/chunk-EHQUXTGI.js +151 -0
- package/dist/chunks/chunk-EJAMKGBG.js +184 -0
- package/dist/chunks/chunk-EKR37SSE.js +45 -0
- package/dist/chunks/chunk-EKRPUCUA.js +287 -0
- package/dist/chunks/chunk-EL77VZIO.js +283 -0
- package/dist/chunks/chunk-ENKK5OB5.js +336 -0
- package/dist/chunks/chunk-EP4XVJMD.js +129 -0
- package/dist/chunks/chunk-EPA6FOC4.js +187 -0
- package/dist/chunks/chunk-ERO3BDZK.js +96 -0
- package/dist/chunks/chunk-ERVQCRZM.js +87 -0
- package/dist/chunks/chunk-EUZTVI2K.js +278 -0
- package/dist/chunks/chunk-EWHSYPQJ.js +50 -0
- package/dist/chunks/chunk-EWMCFCC6.js +89 -0
- package/dist/chunks/chunk-EZ4XZK2X.js +45 -0
- package/dist/chunks/chunk-F3UYGX4T.js +129 -0
- package/dist/chunks/chunk-F5R456QZ.js +36 -0
- package/dist/chunks/chunk-F5UCAQ62.js +178 -0
- package/dist/chunks/chunk-F7ALSH6J.js +574 -0
- package/dist/chunks/chunk-FB7LX25E.js +110 -0
- package/dist/chunks/chunk-FBZLBDPS.js +344 -0
- package/dist/chunks/chunk-FCPO5TNL.js +1574 -0
- package/dist/chunks/chunk-FGDWBN65.js +159 -0
- package/dist/chunks/chunk-FHZXLWWZ.js +157 -0
- package/dist/chunks/chunk-FJJ4ECJY.js +95 -0
- package/dist/chunks/chunk-FM5ANQ4H.js +333 -0
- package/dist/chunks/chunk-FNQ6CTQA.js +102 -0
- package/dist/chunks/chunk-FUDR4VND.js +168 -0
- package/dist/chunks/chunk-FVOYSREY.js +192 -0
- package/dist/chunks/chunk-FW34RW6D.js +80 -0
- package/dist/chunks/chunk-G2Z5NMUG.js +108 -0
- package/dist/chunks/chunk-G3X7YRRC.js +23 -0
- package/dist/chunks/chunk-G4535253.js +45 -0
- package/dist/chunks/chunk-G64IO6FV.js +30 -0
- package/dist/chunks/chunk-G7XF6ZUK.js +60 -0
- package/dist/chunks/chunk-GAHZRE4E.js +33 -0
- package/dist/chunks/chunk-GD6AAP65.js +122 -0
- package/dist/chunks/chunk-GGILLSGF.js +105 -0
- package/dist/chunks/chunk-GHFAIYEK.js +80 -0
- package/dist/chunks/chunk-GISQALXJ.js +145 -0
- package/dist/chunks/chunk-GLR363MO.js +104 -0
- package/dist/chunks/chunk-GMH2H7AU.js +383 -0
- package/dist/chunks/chunk-GN5CSWR3.js +146 -0
- package/dist/chunks/chunk-GPPNLX5G.js +138 -0
- package/dist/chunks/chunk-GQKZ5TJQ.js +198 -0
- package/dist/chunks/chunk-GRNT4QGP.js +30 -0
- package/dist/chunks/chunk-GSS4XXFB.js +162 -0
- package/dist/chunks/chunk-GSZGDEDX.js +214 -0
- package/dist/chunks/chunk-GTLAQR5B.js +115 -0
- package/dist/chunks/chunk-GU5B2FU2.js +33 -0
- package/dist/chunks/chunk-GUX3BNBD.js +137 -0
- package/dist/chunks/chunk-GWCAXUDP.js +810 -0
- package/dist/chunks/chunk-GYP6GJNM.js +120 -0
- package/dist/chunks/chunk-H2Y3ATXR.js +10158 -0
- package/dist/chunks/chunk-H3DTP4G3.js +100 -0
- package/dist/chunks/chunk-H56W44TS.js +101 -0
- package/dist/chunks/chunk-H5UJYMIC.js +45 -0
- package/dist/chunks/chunk-H76UFF2F.js +48 -0
- package/dist/chunks/chunk-HAWXDZH5.js +97 -0
- package/dist/chunks/chunk-HDYTIUOW.js +190 -0
- package/dist/chunks/chunk-HFP3JW5O.js +224 -0
- package/dist/chunks/chunk-HJZMOPPX.js +36 -0
- package/dist/chunks/chunk-HKYR4ZWQ.js +224 -0
- package/dist/chunks/chunk-HKZI5QNE.js +194 -0
- package/dist/chunks/chunk-HLCJMBJQ.js +36 -0
- package/dist/chunks/chunk-HO6CQGAL.js +121 -0
- package/dist/chunks/chunk-HOXYFKVN.js +158 -0
- package/dist/chunks/chunk-HQDSMGXL.js +126 -0
- package/dist/chunks/chunk-HTIS3PW4.js +95 -0
- package/dist/chunks/chunk-HTOWR2EM.js +33 -0
- package/dist/chunks/chunk-HU3M33GD.js +231 -0
- package/dist/chunks/chunk-HUPNAAR7.js +130 -0
- package/dist/chunks/chunk-HUWM5NOX.js +159 -0
- package/dist/chunks/chunk-HV35H52R.js +1469 -0
- package/dist/chunks/chunk-HZIVZXSS.js +86 -0
- package/dist/chunks/chunk-I26IIRWB.js +105 -0
- package/dist/chunks/chunk-I2LRH3ZY.js +238 -0
- package/dist/chunks/chunk-I2QRI2NX.js +115 -0
- package/dist/chunks/chunk-I4FQZ3NA.js +120 -0
- package/dist/chunks/chunk-IENI7GAW.js +206 -0
- package/dist/chunks/chunk-IEYO2J7S.js +122 -0
- package/dist/chunks/chunk-IFV4MB45.js +23 -0
- package/dist/chunks/chunk-IG6CKAD5.js +23 -0
- package/dist/chunks/chunk-IICFOWGO.js +52 -0
- package/dist/chunks/chunk-IIGXDSFZ.js +149 -0
- package/dist/chunks/chunk-IJDGFT7Q.js +41 -0
- package/dist/chunks/chunk-IJGN7QGT.js +255 -0
- package/dist/chunks/chunk-ILJ6VMKB.js +249 -0
- package/dist/chunks/chunk-ILSYLTIE.js +23 -0
- package/dist/chunks/chunk-IMHMVHHH.js +181 -0
- package/dist/chunks/chunk-IO4PKE6F.js +97 -0
- package/dist/chunks/chunk-IOIJ5CPF.js +503 -0
- package/dist/chunks/chunk-IRVDYSV5.js +71 -0
- package/dist/chunks/chunk-ISJKBDYL.js +304 -0
- package/dist/chunks/chunk-ITWQOWW7.js +774 -0
- package/dist/chunks/chunk-IWB7CC4B.js +97 -0
- package/dist/chunks/chunk-IYZYT2GB.js +101 -0
- package/dist/chunks/chunk-J2FIYCKL.js +123 -0
- package/dist/chunks/chunk-J3HCEUCT.js +279 -0
- package/dist/chunks/chunk-J5GZK7HP.js +167 -0
- package/dist/chunks/chunk-JDTKFY72.js +180 -0
- package/dist/chunks/chunk-JFUD6XF4.js +336 -0
- package/dist/chunks/chunk-JJFBPQHA.js +273 -0
- package/dist/chunks/chunk-JKAX7KWH.js +119 -0
- package/dist/chunks/chunk-JOHOBXLV.js +90 -0
- package/dist/chunks/chunk-JRF2NYTN.js +396 -0
- package/dist/chunks/chunk-JRHUUZXO.js +146 -0
- package/dist/chunks/chunk-JRVCZGWY.js +23 -0
- package/dist/chunks/chunk-JWIT2IOF.js +91 -0
- package/dist/chunks/chunk-JWLQUQT7.js +124 -0
- package/dist/chunks/chunk-JXGVL3KA.js +183 -0
- package/dist/chunks/chunk-JXSPRQE3.js +204 -0
- package/dist/chunks/chunk-JZZAX4EB.js +150 -0
- package/dist/chunks/chunk-K2JG5KC2.js +33 -0
- package/dist/chunks/chunk-K34UU33I.js +153 -0
- package/dist/chunks/chunk-K53X3N72.js +163 -0
- package/dist/chunks/chunk-K6BV3K2B.js +156 -0
- package/dist/chunks/chunk-K6CF4HEK.js +103 -0
- package/dist/chunks/chunk-K7AXTSWM.js +123 -0
- package/dist/chunks/chunk-K7WSDNL4.js +102 -0
- package/dist/chunks/chunk-KCVZOEC3.js +23 -0
- package/dist/chunks/chunk-KF5OS3I3.js +336 -0
- package/dist/chunks/chunk-KFEB44CB.js +78 -0
- package/dist/chunks/chunk-KFUIR4BK.js +81 -0
- package/dist/chunks/chunk-KGGOVWZD.js +261 -0
- package/dist/chunks/chunk-KGIHNSJR.js +93 -0
- package/dist/chunks/chunk-KGR3MVTG.js +101 -0
- package/dist/chunks/chunk-KHFDYFJF.js +79 -0
- package/dist/chunks/chunk-KHZPARQP.js +182 -0
- package/dist/chunks/chunk-KIYOJ26U.js +138 -0
- package/dist/chunks/chunk-KKCMEYTE.js +83 -0
- package/dist/chunks/chunk-KKMKPLCZ.js +624 -0
- package/dist/chunks/chunk-KL5REBEO.js +153 -0
- package/dist/chunks/chunk-KMRZ5ZI2.js +412 -0
- package/dist/chunks/chunk-KN4LAON5.js +166 -0
- package/dist/chunks/chunk-KOKEN37W.js +80 -0
- package/dist/chunks/chunk-KQQZJTOT.js +155 -0
- package/dist/chunks/chunk-KRK75HHL.js +228 -0
- package/dist/chunks/chunk-KTQXGQT4.js +46 -0
- package/dist/chunks/chunk-KU4RE7G6.js +366 -0
- package/dist/chunks/chunk-KVFZQ7IK.js +326 -0
- package/dist/chunks/chunk-KWYTMRHN.js +155 -0
- package/dist/chunks/chunk-KZKU7DBD.js +23 -0
- package/dist/chunks/chunk-KZQQUM2T.js +80 -0
- package/dist/chunks/chunk-L2ZEN6KS.js +104 -0
- package/dist/chunks/chunk-L6Q4KU22.js +97 -0
- package/dist/chunks/chunk-L7CJ4PM6.js +84 -0
- package/dist/chunks/chunk-LAWJCXEH.js +237 -0
- package/dist/chunks/chunk-LBK2TYUF.js +638 -0
- package/dist/chunks/chunk-LBPPHWNC.js +345 -0
- package/dist/chunks/chunk-LBTXKGZG.js +116 -0
- package/dist/chunks/chunk-LCMM2BEJ.js +93 -0
- package/dist/chunks/chunk-LGDKENZX.js +78 -0
- package/dist/chunks/chunk-LGSDFNH3.js +360 -0
- package/dist/chunks/chunk-LIHO6JLE.js +108 -0
- package/dist/chunks/chunk-LJYJKEN7.js +399 -0
- package/dist/chunks/chunk-LNF5QX4J.js +161 -0
- package/dist/chunks/chunk-LNK2T57V.js +208 -0
- package/dist/chunks/chunk-LPGSKTHI.js +30 -0
- package/dist/chunks/chunk-LRO6MMQ2.js +206 -0
- package/dist/chunks/chunk-LUQCJZSQ.js +23 -0
- package/dist/chunks/chunk-LVG7PFBL.js +110 -0
- package/dist/chunks/chunk-LXATWIRL.js +33 -0
- package/dist/chunks/chunk-LZ4TULSB.js +163 -0
- package/dist/chunks/chunk-M37EWNWU.js +102 -0
- package/dist/chunks/chunk-M3LGT62M.js +128 -0
- package/dist/chunks/chunk-M56I6CZ4.js +42 -0
- package/dist/chunks/chunk-M5VFVW5E.js +114 -0
- package/dist/chunks/chunk-M6AMO3N7.js +198 -0
- package/dist/chunks/chunk-M7VQ65B5.js +140 -0
- package/dist/chunks/chunk-MA6NTSGE.js +74 -0
- package/dist/chunks/chunk-MD5TBZZ3.js +209 -0
- package/dist/chunks/chunk-MDOEIULN.js +175 -0
- package/dist/chunks/chunk-MEFBMS7W.js +1411 -0
- package/dist/chunks/chunk-MFCS26G6.js +23 -0
- package/dist/chunks/chunk-MGSD67PN.js +123 -0
- package/dist/chunks/chunk-MI2N4GZG.js +171 -0
- package/dist/chunks/chunk-MI3DHCC4.js +165 -0
- package/dist/chunks/chunk-MJAPLEIO.js +172 -0
- package/dist/chunks/chunk-ML7FJZ7R.js +23 -0
- package/dist/chunks/chunk-MMIMGFUL.js +176 -0
- package/dist/chunks/chunk-MNIZXFVL.js +214 -0
- package/dist/chunks/chunk-MNS62D4L.js +266 -0
- package/dist/chunks/chunk-MOUVC6TY.js +358 -0
- package/dist/chunks/chunk-MRK2AJEA.js +195 -0
- package/dist/chunks/chunk-MRVFLRX6.js +81 -0
- package/dist/chunks/chunk-MSE24SWS.js +81 -0
- package/dist/chunks/chunk-MSFI5SDD.js +320 -0
- package/dist/chunks/chunk-MSON2B6N.js +346 -0
- package/dist/chunks/chunk-MVONSUBP.js +202 -0
- package/dist/chunks/chunk-MW5AVK5M.js +122 -0
- package/dist/chunks/chunk-MXPYXZQN.js +307 -0
- package/dist/chunks/chunk-MYGYXFO7.js +155 -0
- package/dist/chunks/chunk-MZN7S3VA.js +91 -0
- package/dist/chunks/chunk-N26U5K36.js +99 -0
- package/dist/chunks/chunk-N5JD6K66.js +152 -0
- package/dist/chunks/chunk-N5QEBD6D.js +73 -0
- package/dist/chunks/chunk-N5RJVN52.js +106 -0
- package/dist/chunks/chunk-N6RQTYHJ.js +218 -0
- package/dist/chunks/chunk-N6XDHK52.js +192 -0
- package/dist/chunks/chunk-N7GNXZVM.js +147 -0
- package/dist/chunks/chunk-N7WVOMFH.js +184 -0
- package/dist/chunks/chunk-NBFWUKUP.js +283 -0
- package/dist/chunks/chunk-NBSECREY.js +86 -0
- package/dist/chunks/chunk-NCMPDWMW.js +94 -0
- package/dist/chunks/chunk-NEICBAOZ.js +23 -0
- package/dist/chunks/chunk-NFEV276G.js +255 -0
- package/dist/chunks/chunk-NGTUSJGU.js +54 -0
- package/dist/chunks/chunk-NIXBMRBK.js +33 -0
- package/dist/chunks/chunk-NJPALJS7.js +127 -0
- package/dist/chunks/chunk-NKCWR6QW.js +47 -0
- package/dist/chunks/chunk-NKOGB7EX.js +217 -0
- package/dist/chunks/chunk-NM4VWF5F.js +262 -0
- package/dist/chunks/chunk-NMQZDS4Y.js +150 -0
- package/dist/chunks/chunk-NNIU7NIK.js +33 -0
- package/dist/chunks/chunk-NNIZQPD7.js +74 -0
- package/dist/chunks/chunk-NQ4E5DDG.js +127 -0
- package/dist/chunks/chunk-NQKXPS6U.js +83 -0
- package/dist/chunks/chunk-NQWLKGXR.js +169 -0
- package/dist/chunks/chunk-NSDPFGPN.js +1403 -0
- package/dist/chunks/chunk-NSEQRKUE.js +142 -0
- package/dist/chunks/chunk-NSROFSLX.js +45 -0
- package/dist/chunks/chunk-O2X7ZSHX.js +23 -0
- package/dist/chunks/chunk-O2YXN7FB.js +86 -0
- package/dist/chunks/chunk-O3L6KU2K.js +45 -0
- package/dist/chunks/chunk-O3TQMTPF.js +162 -0
- package/dist/chunks/chunk-O4ZQNK7X.js +33 -0
- package/dist/chunks/chunk-O5TNOBX2.js +497 -0
- package/dist/chunks/chunk-O66REVNA.js +172 -0
- package/dist/chunks/chunk-O6YGOLQI.js +102 -0
- package/dist/chunks/chunk-OANJQD6J.js +215 -0
- package/dist/chunks/chunk-ODF4FIJN.js +290 -0
- package/dist/chunks/chunk-ODVHTRY7.js +93 -0
- package/dist/chunks/chunk-OE3VPSSD.js +390 -0
- package/dist/chunks/chunk-OF3UVMAP.js +232 -0
- package/dist/chunks/chunk-OJXFSVZ7.js +131 -0
- package/dist/chunks/chunk-OKN3D6K6.js +261 -0
- package/dist/chunks/chunk-OLWLCHD4.js +149 -0
- package/dist/chunks/chunk-OMGDFBFZ.js +94 -0
- package/dist/chunks/chunk-OMNI5NLF.js +324 -0
- package/dist/chunks/chunk-OOAH32I4.js +49 -0
- package/dist/chunks/chunk-OPC7VZ5K.js +304 -0
- package/dist/chunks/chunk-OPNOIDWT.js +162 -0
- package/dist/chunks/chunk-ORGY7AHB.js +261 -0
- package/dist/chunks/chunk-OSI7T6N4.js +112 -0
- package/dist/chunks/chunk-OW5NX4BK.js +188 -0
- package/dist/chunks/chunk-OWJ3EYUE.js +358 -0
- package/dist/chunks/chunk-OYQ3U322.js +130 -0
- package/dist/chunks/chunk-OZEEMI3D.js +257 -0
- package/dist/chunks/chunk-OZOGZ5TL.js +176 -0
- package/dist/chunks/chunk-OZWGECWO.js +391 -0
- package/dist/chunks/chunk-P37GVJQI.js +45 -0
- package/dist/chunks/chunk-P4RYBBHX.js +1309 -0
- package/dist/chunks/chunk-P66XL7H6.js +626 -0
- package/dist/chunks/chunk-P67PDCOY.js +92 -0
- package/dist/chunks/chunk-P7KGDIGX.js +39 -0
- package/dist/chunks/chunk-PAKYOLWQ.js +172 -0
- package/dist/chunks/chunk-PAZE4G2R.js +85 -0
- package/dist/chunks/chunk-PCXYM3TA.js +209 -0
- package/dist/chunks/chunk-PCZWZWX3.js +122 -0
- package/dist/chunks/chunk-PD56BFF3.js +36 -0
- package/dist/chunks/chunk-PDUHBETB.js +260 -0
- package/dist/chunks/chunk-PEJVSYGG.js +163 -0
- package/dist/chunks/chunk-PGI6BFKJ.js +88 -0
- package/dist/chunks/chunk-PGT7FSHK.js +197 -0
- package/dist/chunks/chunk-PGW4DXN5.js +45 -0
- package/dist/chunks/chunk-PI5ET2YB.js +88 -0
- package/dist/chunks/chunk-PJAQ6YSF.js +109 -0
- package/dist/chunks/chunk-PKKZ6IPU.js +112 -0
- package/dist/chunks/chunk-PLQIGPUM.js +175 -0
- package/dist/chunks/chunk-PMUDAMYX.js +120 -0
- package/dist/chunks/chunk-PO4666ZY.js +180 -0
- package/dist/chunks/chunk-PODYNNGK.js +130 -0
- package/dist/chunks/chunk-POKOMCBS.js +226 -0
- package/dist/chunks/chunk-POT7JYPO.js +70 -0
- package/dist/chunks/chunk-PQBYWFNN.js +112 -0
- package/dist/chunks/chunk-PQIU25AM.js +234 -0
- package/dist/chunks/chunk-PVOT6FLJ.js +172 -0
- package/dist/chunks/chunk-PWSDKZMJ.js +242 -0
- package/dist/chunks/chunk-PXLHH6AW.js +33 -0
- package/dist/chunks/chunk-PYXTH3H5.js +135 -0
- package/dist/chunks/chunk-PZTYEV7W.js +170 -0
- package/dist/chunks/chunk-PZYUCKQK.js +185 -0
- package/dist/chunks/chunk-Q3YMX2GG.js +87 -0
- package/dist/chunks/chunk-QA3ABQ6T.js +230 -0
- package/dist/chunks/chunk-QATQE7YP.js +60 -0
- package/dist/chunks/chunk-QBCFQONS.js +33 -0
- package/dist/chunks/chunk-QBQS2FB5.js +90 -0
- package/dist/chunks/chunk-QD5DJJH2.js +179 -0
- package/dist/chunks/chunk-QE2EGZQX.js +45 -0
- package/dist/chunks/chunk-QEKU2VHW.js +173 -0
- package/dist/chunks/chunk-QES5JG4I.js +111 -0
- package/dist/chunks/chunk-QEVNQGC2.js +276 -0
- package/dist/chunks/chunk-QFE24AUK.js +92 -0
- package/dist/chunks/chunk-QGEDHS5W.js +147 -0
- package/dist/chunks/chunk-QHSLY3I7.js +78 -0
- package/dist/chunks/chunk-QI6HJQV2.js +97 -0
- package/dist/chunks/chunk-QKPAGQQ6.js +118 -0
- package/dist/chunks/chunk-QKV3GX5H.js +156 -0
- package/dist/chunks/chunk-QMLUZTLU.js +135 -0
- package/dist/chunks/chunk-QN3RENVL.js +209 -0
- package/dist/chunks/chunk-QNRSTGCX.js +151 -0
- package/dist/chunks/chunk-QPYNWSQ7.js +149 -0
- package/dist/chunks/chunk-QQ24DFV6.js +98 -0
- package/dist/chunks/chunk-QQ4WUMXA.js +200 -0
- package/dist/chunks/chunk-QQJMB7EX.js +221 -0
- package/dist/chunks/chunk-QR6ACHDE.js +119 -0
- package/dist/chunks/chunk-QRPV3H7K.js +213 -0
- package/dist/chunks/chunk-QTTXK5F5.js +287 -0
- package/dist/chunks/chunk-QX5LPHS6.js +174 -0
- package/dist/chunks/chunk-QYHJRT5R.js +80 -0
- package/dist/chunks/chunk-QYP4A5J4.js +93 -0
- package/dist/chunks/chunk-QYR2DEAR.js +170 -0
- package/dist/chunks/chunk-R44OPUCV.js +106 -0
- package/dist/chunks/chunk-R57ITWEM.js +213 -0
- package/dist/chunks/chunk-R6BGUAOA.js +33 -0
- package/dist/chunks/chunk-R6W7UZHE.js +172 -0
- package/dist/chunks/chunk-RA3U5R5W.js +79 -0
- package/dist/chunks/chunk-RAJUIJVM.js +122 -0
- package/dist/chunks/chunk-RCQWKKQG.js +155 -0
- package/dist/chunks/chunk-REGSXV55.js +120 -0
- package/dist/chunks/chunk-RGNXG7CB.js +305 -0
- package/dist/chunks/chunk-RHLVPMFX.js +277 -0
- package/dist/chunks/chunk-RHMNYVAL.js +126 -0
- package/dist/chunks/chunk-RI4BI4LO.js +244 -0
- package/dist/chunks/chunk-RJIZG4LS.js +41 -0
- package/dist/chunks/chunk-RLIUUFOO.js +260 -0
- package/dist/chunks/chunk-RMVXEPE2.js +366 -0
- package/dist/chunks/chunk-RNFFJCNR.js +146 -0
- package/dist/chunks/chunk-ROYA4IXP.js +304 -0
- package/dist/chunks/chunk-RQHWQE4D.js +165 -0
- package/dist/chunks/chunk-RRXKLFNQ.js +111 -0
- package/dist/chunks/chunk-RUUYLLMF.js +152 -0
- package/dist/chunks/chunk-RVE2UFGQ.js +150 -0
- package/dist/chunks/chunk-RX4CJNPG.js +173 -0
- package/dist/chunks/chunk-RYYLXT2E.js +301 -0
- package/dist/chunks/chunk-S3LAMHQN.js +315 -0
- package/dist/chunks/chunk-S3YTVDCE.js +83 -0
- package/dist/chunks/chunk-S4YRJNVU.js +118 -0
- package/dist/chunks/chunk-S54EKPXN.js +139 -0
- package/dist/chunks/chunk-S5QRRCBC.js +170 -0
- package/dist/chunks/chunk-S72WNCMK.js +117 -0
- package/dist/chunks/chunk-SDNFCIUM.js +39 -0
- package/dist/chunks/chunk-SDRNSLPG.js +256 -0
- package/dist/chunks/chunk-SEQCRPJ4.js +106 -0
- package/dist/chunks/chunk-SFCVP6JR.js +47 -0
- package/dist/chunks/chunk-SFFKS2XF.js +215 -0
- package/dist/chunks/chunk-SGLKD2XU.js +220 -0
- package/dist/chunks/chunk-SHVONOB2.js +320 -0
- package/dist/chunks/chunk-SI2ZG462.js +95 -0
- package/dist/chunks/chunk-SJNAPLFH.js +36 -0
- package/dist/chunks/chunk-SKOO5UJW.js +282 -0
- package/dist/chunks/chunk-SNFXXV6O.js +55 -0
- package/dist/chunks/chunk-SPT6HPU4.js +201 -0
- package/dist/chunks/chunk-SQB7QNMI.js +23 -0
- package/dist/chunks/chunk-SRNPPHZJ.js +441 -0
- package/dist/chunks/chunk-ST2ZNYPM.js +146 -0
- package/dist/chunks/chunk-ST3RVMOO.js +114 -0
- package/dist/chunks/chunk-SU623XNK.js +94 -0
- package/dist/chunks/chunk-SZKPTZZA.js +362 -0
- package/dist/chunks/chunk-T6IFUTPU.js +104 -0
- package/dist/chunks/chunk-T7WMSSCI.js +159 -0
- package/dist/chunks/chunk-T7YXD5SW.js +171 -0
- package/dist/chunks/chunk-TC6QWDQL.js +283 -0
- package/dist/chunks/chunk-TCQCGYJO.js +133 -0
- package/dist/chunks/chunk-TEXDJGFE.js +105 -0
- package/dist/chunks/chunk-TH4PCHFG.js +133 -0
- package/dist/chunks/chunk-THCQZNIX.js +122 -0
- package/dist/chunks/chunk-TIY7PO3R.js +33 -0
- package/dist/chunks/chunk-TJLLVLAR.js +304 -0
- package/dist/chunks/chunk-TKY6NYXF.js +86 -0
- package/dist/chunks/chunk-TLC5HJLY.js +142 -0
- package/dist/chunks/chunk-TO6QKGGL.js +33 -0
- package/dist/chunks/chunk-TT2LJFQV.js +182 -0
- package/dist/chunks/chunk-TTOABXRZ.js +146 -0
- package/dist/chunks/chunk-TVTZUG37.js +131 -0
- package/dist/chunks/chunk-TWQYJYCK.js +163 -0
- package/dist/chunks/chunk-U2A6K3FT.js +158 -0
- package/dist/chunks/chunk-U54NYQOW.js +97 -0
- package/dist/chunks/chunk-UAJXGCJM.js +363 -0
- package/dist/chunks/chunk-UEHJAEWG.js +87 -0
- package/dist/chunks/chunk-UFM5YFLA.js +256 -0
- package/dist/chunks/chunk-UGLJKR7D.js +368 -0
- package/dist/chunks/chunk-UIHUTZ7V.js +197 -0
- package/dist/chunks/chunk-UM2RM3OQ.js +382 -0
- package/dist/chunks/chunk-UMI4CLJ2.js +94 -0
- package/dist/chunks/chunk-UWFIIS7D.js +149 -0
- package/dist/chunks/chunk-UYL5P4PP.js +110 -0
- package/dist/chunks/chunk-UYROHQSF.js +169 -0
- package/dist/chunks/chunk-V2GNQMHO.js +303 -0
- package/dist/chunks/chunk-V3CSUZTH.js +105 -0
- package/dist/chunks/chunk-V6EFUQC6.js +110 -0
- package/dist/chunks/chunk-V7WURT6W.js +209 -0
- package/dist/chunks/chunk-V7YXKVU2.js +1036 -0
- package/dist/chunks/chunk-VBVKZMYP.js +179 -0
- package/dist/chunks/chunk-VCOREQ5M.js +235 -0
- package/dist/chunks/chunk-VCVTK3AB.js +240 -0
- package/dist/chunks/chunk-VD24VZFC.js +145 -0
- package/dist/chunks/chunk-VEDRWIQH.js +106 -0
- package/dist/chunks/chunk-VFF23ZYI.js +133 -0
- package/dist/chunks/chunk-VGI3WDSJ.js +589 -0
- package/dist/chunks/chunk-VHYYRJYH.js +127 -0
- package/dist/chunks/chunk-VIIR3WET.js +1136 -0
- package/dist/chunks/chunk-VJW2ZISE.js +89 -0
- package/dist/chunks/chunk-VKUJRGOR.js +90 -0
- package/dist/chunks/chunk-VMAOMJ3G.js +263 -0
- package/dist/chunks/chunk-VRINJFCP.js +72 -0
- package/dist/chunks/chunk-VVJJAPLC.js +36 -0
- package/dist/chunks/chunk-VWPNWNG7.js +222 -0
- package/dist/chunks/chunk-VXT5I3LE.js +198 -0
- package/dist/chunks/chunk-VYVLJSO5.js +100 -0
- package/dist/chunks/chunk-W2KZ2AG4.js +108 -0
- package/dist/chunks/chunk-W3XMG4MI.js +178 -0
- package/dist/chunks/chunk-W7Y32NYD.js +90 -0
- package/dist/chunks/chunk-WCKJAJD5.js +242 -0
- package/dist/chunks/chunk-WEVY6UGP.js +181 -0
- package/dist/chunks/chunk-WFWVHGKD.js +410 -0
- package/dist/chunks/chunk-WI2S3LAP.js +85 -0
- package/dist/chunks/chunk-WIKPOQDN.js +136 -0
- package/dist/chunks/chunk-WKTPOVLV.js +55 -0
- package/dist/chunks/chunk-WL2CJOJ7.js +125 -0
- package/dist/chunks/chunk-WPEGB5ZF.js +23 -0
- package/dist/chunks/chunk-WSY5FVCL.js +61 -0
- package/dist/chunks/chunk-WU3BVSS7.js +75 -0
- package/dist/chunks/chunk-WVLTNK3H.js +250 -0
- package/dist/chunks/chunk-WWHVMTIN.js +181 -0
- package/dist/chunks/chunk-X4R3ABVS.js +546 -0
- package/dist/chunks/chunk-X4XLHJ2H.js +147 -0
- package/dist/chunks/chunk-X57HSRCA.js +123 -0
- package/dist/chunks/chunk-XGZWP3EA.js +23 -0
- package/dist/chunks/chunk-XH5WKPK3.js +151 -0
- package/dist/chunks/chunk-XI33WZWB.js +201 -0
- package/dist/chunks/chunk-XJBHIYBT.js +96 -0
- package/dist/chunks/chunk-XJSF2O6T.js +139 -0
- package/dist/chunks/chunk-XMVBAW55.js +23 -0
- package/dist/chunks/chunk-XNTN6ZPA.js +23 -0
- package/dist/chunks/chunk-XPIOAPRE.js +45 -0
- package/dist/chunks/chunk-XRV6IYCZ.js +23 -0
- package/dist/chunks/chunk-XTDOUOAQ.js +23 -0
- package/dist/chunks/chunk-XTNG7G4Q.js +45 -0
- package/dist/chunks/chunk-XV7E6OOF.js +53 -0
- package/dist/chunks/chunk-XXTGNJPO.js +108 -0
- package/dist/chunks/chunk-XZB5ZRYO.js +156 -0
- package/dist/chunks/chunk-Y47P6DJF.js +80 -0
- package/dist/chunks/chunk-Y5C5HS4M.js +10153 -0
- package/dist/chunks/chunk-Y5JI5D6W.js +290 -0
- package/dist/chunks/chunk-Y5VZVGEA.js +33 -0
- package/dist/chunks/chunk-Y6O5GNLP.js +118 -0
- package/dist/chunks/chunk-Y7CF5J74.js +65 -0
- package/dist/chunks/chunk-Y7CSHNSN.js +119 -0
- package/dist/chunks/chunk-YAIIKFWR.js +163 -0
- package/dist/chunks/chunk-YBG72LF4.js +23 -0
- package/dist/chunks/chunk-YFTL4GEI.js +1802 -0
- package/dist/chunks/chunk-YI2U5MHF.js +23 -0
- package/dist/chunks/chunk-YJLY4GLF.js +106 -0
- package/dist/chunks/chunk-YK4RIFLW.js +23 -0
- package/dist/chunks/chunk-YLQRYO57.js +315 -0
- package/dist/chunks/chunk-YLRGRNCP.js +166 -0
- package/dist/chunks/chunk-YLSODFAM.js +138 -0
- package/dist/chunks/chunk-YMRIFROA.js +361 -0
- package/dist/chunks/chunk-YNPV7OBR.js +106 -0
- package/dist/chunks/chunk-YO7L6SIY.js +113 -0
- package/dist/chunks/chunk-YPNSTXM3.js +33 -0
- package/dist/chunks/chunk-YQ46CUDM.js +160 -0
- package/dist/chunks/chunk-YRGB7H56.js +177 -0
- package/dist/chunks/chunk-YS3B6FUV.js +101 -0
- package/dist/chunks/chunk-YTSJ2ZLP.js +117 -0
- package/dist/chunks/chunk-YW6HEDT3.js +145 -0
- package/dist/chunks/chunk-YWNLMWJK.js +83 -0
- package/dist/chunks/chunk-YYLF5B5S.js +262 -0
- package/dist/chunks/chunk-YYMVNFHC.js +112 -0
- package/dist/chunks/chunk-Z2B55ZWU.js +163 -0
- package/dist/chunks/chunk-Z2NBVXMA.js +23 -0
- package/dist/chunks/chunk-Z63TGVUB.js +104 -0
- package/dist/chunks/chunk-Z7G7OTQY.js +77 -0
- package/dist/chunks/chunk-ZAPU4VUW.js +278 -0
- package/dist/chunks/chunk-ZC73B44U.js +100 -0
- package/dist/chunks/chunk-ZDHVHDIT.js +147 -0
- package/dist/chunks/chunk-ZE3QPNUA.js +728 -0
- package/dist/chunks/chunk-ZG2THYST.js +112 -0
- package/dist/chunks/chunk-ZGPGJ3SA.js +297 -0
- package/dist/chunks/chunk-ZJHV4SDX.js +33 -0
- package/dist/chunks/chunk-ZJJVXKK7.js +165 -0
- package/dist/chunks/chunk-ZLZSPG3O.js +76 -0
- package/dist/chunks/chunk-ZNC77GS7.js +133 -0
- package/dist/chunks/chunk-ZNR6OZH2.js +224 -0
- package/dist/chunks/chunk-ZOMX463S.js +196 -0
- package/dist/chunks/chunk-ZPEU7VOG.js +204 -0
- package/dist/chunks/chunk-ZPIYZ74N.js +147 -0
- package/dist/chunks/chunk-ZRMMWOIP.js +209 -0
- package/dist/chunks/chunk-ZRSLNPMQ.js +71 -0
- package/dist/chunks/chunk-ZTOTTLJ6.js +100 -0
- package/dist/chunks/chunk-ZWELDI7A.js +135 -0
- package/dist/chunks/chunk-ZWMF22QL.js +45 -0
- package/dist/chunks/chunk-ZXD2VYXK.js +45 -0
- package/dist/chunks/client-EU4GT7MF.js +31 -0
- package/dist/chunks/client-KD4URVEA.js +144 -0
- package/dist/chunks/document-library-DSQXBZKO.js +60 -0
- package/dist/chunks/editor-seams-5ZBV5WDW.js +151 -0
- package/dist/chunks/editor-store-66UBZPJT.js +131 -0
- package/dist/chunks/export-A4YFSRXX.js +59 -0
- package/dist/chunks/eyedropper-GEMWAPHM.js +341 -0
- package/dist/chunks/fonts-L7WGULPX.js +33 -0
- package/dist/chunks/generate-media-LKLM75DA.js +244 -0
- package/dist/chunks/host-5ZGZN7WT.js +162 -0
- package/dist/chunks/host-EYUOM2DJ.js +232 -0
- package/dist/chunks/invariants-CFDREZDF.js +58 -0
- package/dist/chunks/json-export-RHVN75Z6.js +22 -0
- package/dist/chunks/kit-modules-SQIXVERI.js +18 -0
- package/dist/chunks/libraries-DM33EDPK.js +294 -0
- package/dist/chunks/library-previews-DLGJJO35.js +196 -0
- package/dist/chunks/live-QQNGGG4V.js +304 -0
- package/dist/chunks/lottie-VIVL5K4Q.js +81 -0
- package/dist/chunks/media-store-UHCNGKKI.js +67 -0
- package/dist/chunks/media-tool-5L5AHGMD.js +322 -0
- package/dist/chunks/new-file-OL5HW6NR.js +121 -0
- package/dist/chunks/pdf-IWY2LZQN.js +1201 -0
- package/dist/chunks/pdf-import-TDVYTNR6.js +368 -0
- package/dist/chunks/player-check-U2PSFM4V.js +108 -0
- package/dist/chunks/plugin-RXLJ4F5N.js +111 -0
- package/dist/chunks/plugin-import-PY6QYZ5Q.js +644 -0
- package/dist/chunks/presence-CFCH6LEO.js +119 -0
- package/dist/chunks/preview-media-GVNBTDNL.js +118 -0
- package/dist/chunks/profiles-7HPULEA7.js +47 -0
- package/dist/chunks/project-JULOJD3Y.js +1544 -0
- package/dist/chunks/publish-site-D2GMHLTK.js +149 -0
- package/dist/chunks/raster-actions-6OZ5OUJI.js +221 -0
- package/dist/chunks/reference-images-3RJMCLSL.js +54 -0
- package/dist/chunks/resolvers-CUA5YA2F.js +128 -0
- package/dist/chunks/runner-JKQGTZQZ.js +1750 -0
- package/dist/chunks/shader-preview-HVJ6NNAK.js +515 -0
- package/dist/chunks/shaper-YNWBNKFA.js +62 -0
- package/dist/chunks/store-WDG3K3SO.js +214 -0
- package/dist/chunks/svg-export-2NUU3G4S.js +74 -0
- package/dist/chunks/sync-AEEVKZHS.js +145 -0
- package/dist/chunks/templates-2CQRYVGV.js +180 -0
- package/dist/chunks/theme-store-KOF25JU2.js +39 -0
- package/dist/chunks/tools-C64M35X3.js +35 -0
- package/dist/chunks/use-7CE356Q7.js +44 -0
- package/dist/chunks/versions-I37GH4TJ.js +303 -0
- package/dist/chunks/video-BNMPZJ7M.js +72 -0
- package/dist/chunks/video-poster-ZSADINZI.js +65 -0
- package/dist/index.js +16 -16
- package/dist/lib/engine/text/fallback-fonts.js +5 -5
- package/dist/lib/engine/text/measure.js +6 -6
- package/dist/lib/motion/present.js +9 -9
- package/dist/lib/templates/layout.js +8 -8
- package/dist/lib/templates/text-measurer.js +7 -7
- package/dist/migrations/brand-media.js +10 -10
- package/dist/migrations/hug-content.js +9 -9
- package/dist/migrations/index.js +12 -12
- package/dist/migrations/min-type.js +9 -9
- package/dist/templates/anime/character.js +11 -11
- package/dist/templates/anime/duel.js +14 -14
- package/dist/templates/anime/morning.js +14 -14
- package/dist/templates/anime/rain.js +14 -14
- package/dist/templates/anime/shared.js +12 -12
- package/dist/templates/anime/starlight.js +14 -14
- package/dist/templates/anime/titan.js +14 -14
- package/dist/templates/app/festival-presale-electronic-ticket.js +15 -15
- package/dist/templates/app/festival-presale-family-ticket.js +15 -15
- package/dist/templates/app/festival-presale-folk-ticket.js +15 -15
- package/dist/templates/app/festival-presale-food-ticket.js +15 -15
- package/dist/templates/app/festival-presale-jazz-ticket.js +15 -15
- package/dist/templates/app/festival-presale-street-ticket.js +15 -15
- package/dist/templates/app/music/build.js +10 -10
- package/dist/templates/app/music-grove.js +11 -11
- package/dist/templates/app/music-nightline.js +11 -11
- package/dist/templates/app/music-orbit.js +11 -11
- package/dist/templates/app/music-undertow.js +11 -11
- package/dist/templates/app/onboarding-carousel.js +10 -10
- package/dist/templates/app/saas-store-paywall.js +10 -10
- package/dist/templates/app/splash.js +10 -10
- package/dist/templates/app/success-confetti.js +10 -10
- package/dist/templates/app/tour-tickets-june-ticket.js +10 -10
- package/dist/templates/app/tour-tickets-tide-ticket.js +10 -10
- package/dist/templates/app/tour-tickets-wreck-ticket.js +10 -10
- package/dist/templates/cards/index.js +12 -12
- package/dist/templates/cards/shared.js +10 -10
- package/dist/templates/cards/themes.js +11 -11
- package/dist/templates/data/bars.js +10 -10
- package/dist/templates/data/countdown-story.js +10 -10
- package/dist/templates/data/counters.js +10 -10
- package/dist/templates/data/donut.js +10 -10
- package/dist/templates/data/line.js +10 -10
- package/dist/templates/data/year-in-review.js +10 -10
- package/dist/templates/effects/glass-intro.js +10 -10
- package/dist/templates/effects/glass-promo.js +10 -10
- package/dist/templates/effects/grain-story.js +10 -10
- package/dist/templates/effects/grid-intro.js +10 -10
- package/dist/templates/effects/halftone-story.js +10 -10
- package/dist/templates/effects/mesh-story.js +10 -10
- package/dist/templates/effects/shader-title.js +10 -10
- package/dist/templates/email/april-fools-header.js +12 -12
- package/dist/templates/email/art-deco-invitation.js +11 -11
- package/dist/templates/email/autumn-harvest-header.js +11 -11
- package/dist/templates/email/back-to-school-header.js +11 -11
- package/dist/templates/email/black-friday-coupons-header.js +11 -11
- package/dist/templates/email/black-friday-header.js +11 -11
- package/dist/templates/email/black-friday-neon-header.js +11 -11
- package/dist/templates/email/black-friday-scratch-header.js +11 -11
- package/dist/templates/email/black-friday-ticker-header.js +11 -11
- package/dist/templates/email/broadsheet-weekly-edition-header.js +11 -11
- package/dist/templates/email/claymation-header.js +11 -11
- package/dist/templates/email/countdown-gif.js +11 -11
- package/dist/templates/email/cyberpunk-header.js +11 -11
- package/dist/templates/email/diwali-header.js +11 -11
- package/dist/templates/email/earth-day-header.js +11 -11
- package/dist/templates/email/festival-presale-electronic-header.js +15 -15
- package/dist/templates/email/festival-presale-family-header.js +15 -15
- package/dist/templates/email/festival-presale-folk-header.js +15 -15
- package/dist/templates/email/festival-presale-food-header.js +15 -15
- package/dist/templates/email/festival-presale-jazz-header.js +15 -15
- package/dist/templates/email/festival-presale-street-header.js +15 -15
- package/dist/templates/email/gothic-header.js +11 -11
- package/dist/templates/email/halloween-header.js +11 -11
- package/dist/templates/email/header-launch.js +11 -11
- package/dist/templates/email/header-newsletter.js +11 -11
- package/dist/templates/email/header-sale.js +11 -11
- package/dist/templates/email/lunar-new-year-header.js +11 -11
- package/dist/templates/email/manuscript-chronicle-header.js +11 -11
- package/dist/templates/email/new-year-header.js +11 -11
- package/dist/templates/email/noir-header.js +11 -11
- package/dist/templates/email/psychedelic-header.js +11 -11
- package/dist/templates/email/riso-zine-changelog-header.js +11 -11
- package/dist/templates/email/saas-mail-changelog.js +13 -13
- package/dist/templates/email/saas-mail-day-one.js +12 -12
- package/dist/templates/email/saas-mail-day-three.js +12 -12
- package/dist/templates/email/saas-mail-launch.js +12 -12
- package/dist/templates/email/saas-mail-payment-failed.js +12 -12
- package/dist/templates/email/saas-mail-sign-in-code.js +12 -12
- package/dist/templates/email/saas-mail-trial-ending.js +12 -12
- package/dist/templates/email/saas-mail-waitlist.js +12 -12
- package/dist/templates/email/shared.js +10 -10
- package/dist/templates/email/singles-day-header.js +11 -11
- package/dist/templates/email/solarpunk-header.js +11 -11
- package/dist/templates/email/space-opera-header.js +11 -11
- package/dist/templates/email/spring-bloom-header.js +11 -11
- package/dist/templates/email/style-bento-header.js +11 -11
- package/dist/templates/email/style-brutalist-header.js +11 -11
- package/dist/templates/email/style-dark-header.js +11 -11
- package/dist/templates/email/style-data-header.js +11 -11
- package/dist/templates/email/style-editorial-header.js +11 -11
- package/dist/templates/email/style-glass-header.js +11 -11
- package/dist/templates/email/style-gradient-header.js +11 -11
- package/dist/templates/email/style-maximal-header.js +11 -11
- package/dist/templates/email/style-pastel-header.js +11 -11
- package/dist/templates/email/style-sketch-header.js +11 -11
- package/dist/templates/email/style-swiss-header.js +11 -11
- package/dist/templates/email/style-terminal-header.js +11 -11
- package/dist/templates/email/summer-heatwave-header.js +11 -11
- package/dist/templates/email/tour-tickets-june-header.js +11 -11
- package/dist/templates/email/tour-tickets-tide-header.js +11 -11
- package/dist/templates/email/tour-tickets-wreck-header.js +11 -11
- package/dist/templates/email/transit-map-service-update.js +11 -11
- package/dist/templates/email/ukiyo-e-greeting-header.js +11 -11
- package/dist/templates/email/valentines-header.js +11 -11
- package/dist/templates/email/winter-cosy-header.js +11 -11
- package/dist/templates/email/winter-holidays-header.js +11 -11
- package/dist/templates/fonts.js +7 -7
- package/dist/templates/game/blossom-bash-puzzle.js +11 -11
- package/dist/templates/game/deckbound-roguelike.js +11 -11
- package/dist/templates/game/emberfall-rpg.js +11 -11
- package/dist/templates/game/hearthmoor-farm.js +11 -11
- package/dist/templates/game/index.js +22 -22
- package/dist/templates/game/iron-lotus-fighter.js +11 -11
- package/dist/templates/game/ironroot-rts.js +11 -11
- package/dist/templates/game/mossy-hollow-platformer.js +12 -12
- package/dist/templates/game/neon-apex-racing.js +11 -11
- package/dist/templates/game/pulse-riot-rhythm.js +11 -11
- package/dist/templates/game/shared.js +10 -10
- package/dist/templates/game/vanta-fps.js +11 -11
- package/dist/templates/index.js +730 -730
- package/dist/templates/kinetic/letters.js +10 -10
- package/dist/templates/kinetic/lines.js +10 -10
- package/dist/templates/kinetic/typewriter.js +10 -10
- package/dist/templates/kinetic/word-swap.js +10 -10
- package/dist/templates/kinetic/words.js +10 -10
- package/dist/templates/kit.js +9 -9
- package/dist/templates/libraries/audio-reactive.js +10 -10
- package/dist/templates/libraries/loaders.js +10 -10
- package/dist/templates/libraries/micro-interactions.js +10 -10
- package/dist/templates/libraries/motion-essentials.js +10 -10
- package/dist/templates/libraries/toasts.js +10 -10
- package/dist/templates/lottie/ai.js +11 -11
- package/dist/templates/lottie/climate.js +11 -11
- package/dist/templates/lottie/commerce.js +11 -11
- package/dist/templates/lottie/education.js +11 -11
- package/dist/templates/lottie/fintech.js +11 -11
- package/dist/templates/lottie/food.js +11 -11
- package/dist/templates/lottie/health.js +11 -11
- package/dist/templates/lottie/index.js +35 -35
- package/dist/templates/lottie/lottie-kit.js +10 -10
- package/dist/templates/lottie/realestate.js +11 -11
- package/dist/templates/lottie/saas-ui-checklist.js +12 -12
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +12 -12
- package/dist/templates/lottie/saas-ui-empty-data.js +12 -12
- package/dist/templates/lottie/saas-ui-empty-search.js +12 -12
- package/dist/templates/lottie/saas-ui-error-retry.js +12 -12
- package/dist/templates/lottie/saas-ui-file-upload.js +12 -12
- package/dist/templates/lottie/saas-ui-streaming-answer.js +12 -12
- package/dist/templates/lottie/saas-ui-sync-connected.js +12 -12
- package/dist/templates/lottie/saas-ui-trial-timeline.js +12 -12
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +12 -12
- package/dist/templates/lottie/saas-ui.js +22 -22
- package/dist/templates/lottie/saas.js +11 -11
- package/dist/templates/lottie/security.js +11 -11
- package/dist/templates/lottie/techniques.js +11 -11
- package/dist/templates/lottie/travel.js +11 -11
- package/dist/templates/motion/ambient-loop.js +10 -10
- package/dist/templates/motion/app-icon-sting.js +10 -10
- package/dist/templates/motion/april-fools-infomercial-reel.js +12 -12
- package/dist/templates/motion/arcade-high-score.js +10 -10
- package/dist/templates/motion/art-deco-grand-opening.js +10 -10
- package/dist/templates/motion/autumn-harvest-year-reel.js +10 -10
- package/dist/templates/motion/back-to-school-timetable-reel.js +10 -10
- package/dist/templates/motion/bauhaus-launch-reel.js +10 -10
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-coupons-last-day.js +10 -10
- package/dist/templates/motion/black-friday-deal-drop.js +10 -10
- package/dist/templates/motion/black-friday-neon-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-neon-last-day.js +10 -10
- package/dist/templates/motion/black-friday-scratch-countdown.js +10 -10
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +10 -10
- package/dist/templates/motion/black-friday-scratch-last-day.js +10 -10
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +10 -10
- package/dist/templates/motion/black-friday-ticker-last-call.js +10 -10
- package/dist/templates/motion/blueprint-rev-b-reel.js +10 -10
- package/dist/templates/motion/broadsheet-launch-reel.js +10 -10
- package/dist/templates/motion/broadsheet-milestone-post.js +11 -11
- package/dist/templates/motion/claymation-launch-reel.js +10 -10
- package/dist/templates/motion/comic-book-issue-reel.js +10 -10
- package/dist/templates/motion/countdown.js +10 -10
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +10 -10
- package/dist/templates/motion/departure-board-reel.js +10 -10
- package/dist/templates/motion/diwali-lamps-reel.js +10 -10
- package/dist/templates/motion/earth-day-footprint-reel.js +10 -10
- package/dist/templates/motion/earth-day-pledge-post.js +10 -10
- package/dist/templates/motion/festival-presale-electronic-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-reel.js +15 -15
- package/dist/templates/motion/festival-presale-electronic-tier.js +15 -15
- package/dist/templates/motion/festival-presale-family-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-family-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-family-reel.js +15 -15
- package/dist/templates/motion/festival-presale-family-tier.js +15 -15
- package/dist/templates/motion/festival-presale-folk-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-folk-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-folk-reel.js +15 -15
- package/dist/templates/motion/festival-presale-folk-tier.js +15 -15
- package/dist/templates/motion/festival-presale-food-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-food-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-food-reel.js +15 -15
- package/dist/templates/motion/festival-presale-food-tier.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-reel.js +15 -15
- package/dist/templates/motion/festival-presale-jazz-tier.js +15 -15
- package/dist/templates/motion/festival-presale-street-countdown.js +15 -15
- package/dist/templates/motion/festival-presale-street-lineup.js +15 -15
- package/dist/templates/motion/festival-presale-street-reel.js +15 -15
- package/dist/templates/motion/festival-presale-street-tier.js +15 -15
- package/dist/templates/motion/gothic-launch-reel.js +10 -10
- package/dist/templates/motion/halloween-graveyard-reel.js +10 -10
- package/dist/templates/motion/instagram-promo.js +10 -10
- package/dist/templates/motion/kinetic-headline.js +10 -10
- package/dist/templates/motion/launch-trailer/document.js +730 -730
- package/dist/templates/motion/launch-trailer/index.js +12 -12
- package/dist/templates/motion/launch-trailer/scenes.js +11 -11
- package/dist/templates/motion/logo-reveal.js +10 -10
- package/dist/templates/motion/lower-third.js +10 -10
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +10 -10
- package/dist/templates/motion/machined-trailer.js +12 -12
- package/dist/templates/motion/manuscript-launch-reel.js +10 -10
- package/dist/templates/motion/new-year-ball-drop-reel.js +10 -10
- package/dist/templates/motion/noir-case-reel.js +10 -10
- package/dist/templates/motion/pitch-title.js +10 -10
- package/dist/templates/motion/psychedelic-gig-reel.js +10 -10
- package/dist/templates/motion/riso-zine-launch-reel.js +10 -10
- package/dist/templates/motion/saas-ai-prompt.js +10 -10
- package/dist/templates/motion/saas-before-after.js +10 -10
- package/dist/templates/motion/saas-changelog-drop.js +10 -10
- package/dist/templates/motion/saas-film-webinar-opener.js +10 -10
- package/dist/templates/motion/saas-hook-features.js +10 -10
- package/dist/templates/motion/saas-mrr-milestone.js +10 -10
- package/dist/templates/motion/saas-screen-demo.js +10 -10
- package/dist/templates/motion/saas-store-install-ad.js +11 -11
- package/dist/templates/motion/saas-testimonial.js +10 -10
- package/dist/templates/motion/saas-vs-comparison.js +10 -10
- package/dist/templates/motion/singles-day-flash-post.js +10 -10
- package/dist/templates/motion/singles-day-live-reel.js +10 -10
- package/dist/templates/motion/smooth-loop.js +10 -10
- package/dist/templates/motion/solarpunk-rooftop-reel.js +10 -10
- package/dist/templates/motion/space-opera-countdown-reel.js +10 -10
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +10 -10
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +10 -10
- package/dist/templates/motion/stat-pop.js +10 -10
- package/dist/templates/motion/style-bento-feature-demo.js +10 -10
- package/dist/templates/motion/style-bento-launch-reel.js +10 -10
- package/dist/templates/motion/style-brutalist-feature-demo.js +10 -10
- package/dist/templates/motion/style-brutalist-launch-reel.js +10 -10
- package/dist/templates/motion/style-dark-feature-demo.js +10 -10
- package/dist/templates/motion/style-dark-launch-reel.js +11 -11
- package/dist/templates/motion/style-data-feature-demo.js +10 -10
- package/dist/templates/motion/style-data-launch-reel.js +10 -10
- package/dist/templates/motion/style-editorial-feature-demo.js +10 -10
- package/dist/templates/motion/style-editorial-launch-reel.js +10 -10
- package/dist/templates/motion/style-glass-feature-demo.js +10 -10
- package/dist/templates/motion/style-glass-launch-reel.js +10 -10
- package/dist/templates/motion/style-gradient-feature-demo.js +10 -10
- package/dist/templates/motion/style-gradient-launch-reel.js +10 -10
- package/dist/templates/motion/style-maximal-feature-demo.js +10 -10
- package/dist/templates/motion/style-maximal-launch-reel.js +10 -10
- package/dist/templates/motion/style-pastel-feature-demo.js +10 -10
- package/dist/templates/motion/style-pastel-launch-reel.js +10 -10
- package/dist/templates/motion/style-sketch-feature-demo.js +10 -10
- package/dist/templates/motion/style-sketch-launch-reel.js +10 -10
- package/dist/templates/motion/style-swiss-feature-demo.js +10 -10
- package/dist/templates/motion/style-swiss-launch-reel.js +10 -10
- package/dist/templates/motion/style-terminal-feature-demo.js +10 -10
- package/dist/templates/motion/style-terminal-launch-reel.js +11 -11
- package/dist/templates/motion/summer-heatwave-lido-reel.js +10 -10
- package/dist/templates/motion/template-wall.js +10 -10
- package/dist/templates/motion/title-card-3d.js +10 -10
- package/dist/templates/motion/tour-tickets-june-city.js +10 -10
- package/dist/templates/motion/tour-tickets-june-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-june-final.js +10 -10
- package/dist/templates/motion/tour-tickets-june-reel.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-city.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-final.js +10 -10
- package/dist/templates/motion/tour-tickets-tide-reel.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-city.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-dates.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-final.js +10 -10
- package/dist/templates/motion/tour-tickets-wreck-reel.js +10 -10
- package/dist/templates/motion/transit-map-line-opening.js +10 -10
- package/dist/templates/motion/transit-map-milestone-post.js +10 -10
- package/dist/templates/motion/ukiyo-e-launch-reel.js +10 -10
- package/dist/templates/motion/valentines-breakup-reel.js +10 -10
- package/dist/templates/motion/vaporwave-launch-reel.js +11 -11
- package/dist/templates/motion/winter-cosy-heads-down-post.js +10 -10
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +10 -10
- package/dist/templates/motion/winter-holidays-advent-reel.js +10 -10
- package/dist/templates/motion-qa.js +13 -13
- package/dist/templates/motion3d/app-store-preview.js +11 -11
- package/dist/templates/motion3d/before-after-swing.js +11 -11
- package/dist/templates/motion3d/burger-reveal.js +11 -11
- package/dist/templates/motion3d/coverflow.js +11 -11
- package/dist/templates/motion3d/exploded-ui.js +11 -11
- package/dist/templates/motion3d/feature-flip.js +11 -11
- package/dist/templates/motion3d/kinetic-reveal.js +11 -11
- package/dist/templates/motion3d/laptop-reveal.js +11 -11
- package/dist/templates/motion3d/logo-extrude.js +11 -11
- package/dist/templates/motion3d/parallax-cascade.js +11 -11
- package/dist/templates/motion3d/phone-orbit.js +11 -11
- package/dist/templates/motion3d/pricing-fan.js +11 -11
- package/dist/templates/motion3d/product-turntable.js +11 -11
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +12 -12
- package/dist/templates/motion3d/screen-wall.js +11 -11
- package/dist/templates/motion3d/stage.js +10 -10
- package/dist/templates/motion3d/vertical-promo.js +11 -11
- package/dist/templates/music/edm-drop.js +11 -11
- package/dist/templates/music/festival-lineup.js +11 -11
- package/dist/templates/music/hiphop-lyrics.js +11 -11
- package/dist/templates/music/indie-poster.js +11 -11
- package/dist/templates/music/lofi-loop.js +11 -11
- package/dist/templates/music/podcast-audiogram.js +11 -11
- package/dist/templates/music/shared.js +10 -10
- package/dist/templates/music/synthwave-tunnel.js +11 -11
- package/dist/templates/saas/email-decks-shared.js +11 -11
- package/dist/templates/saas/email-decks.js +23 -23
- package/dist/templates/saas/index.js +197 -197
- package/dist/templates/saas/launch-kit.js +19 -19
- package/dist/templates/saas/launch-video.js +18 -18
- package/dist/templates/saas/lottie-shared.js +11 -11
- package/dist/templates/saas/stores-shared.js +10 -10
- package/dist/templates/saas/stores.js +21 -21
- package/dist/templates/saas/style-bento.js +21 -21
- package/dist/templates/saas/style-brutalist.js +21 -21
- package/dist/templates/saas/style-dark.js +21 -21
- package/dist/templates/saas/style-data.js +21 -21
- package/dist/templates/saas/style-editorial.js +21 -21
- package/dist/templates/saas/style-glass.js +21 -21
- package/dist/templates/saas/style-gradient.js +21 -21
- package/dist/templates/saas/style-maximal.js +21 -21
- package/dist/templates/saas/style-pastel.js +21 -21
- package/dist/templates/saas/style-sketch.js +21 -21
- package/dist/templates/saas/style-swiss.js +21 -21
- package/dist/templates/saas/style-terminal.js +21 -21
- package/dist/templates/saas/video.js +18 -18
- package/dist/templates/saas/web-shared.js +7 -7
- package/dist/templates/saas/web.js +23 -23
- package/dist/templates/scenes/before-after.js +10 -10
- package/dist/templates/scenes/carousel-video.js +11 -11
- package/dist/templates/scenes/saas-film-app-preview.js +11 -11
- package/dist/templates/scenes/saas-film-bright-trailer.js +11 -11
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +11 -11
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +11 -11
- package/dist/templates/scenes/shared.js +10 -10
- package/dist/templates/scenes/story-ad.js +11 -11
- package/dist/templates/scenes/story-bakery.js +11 -11
- package/dist/templates/scenes/story-fitness.js +11 -11
- package/dist/templates/scenes/story-hotel.js +11 -11
- package/dist/templates/scenes/transitions-pack.js +11 -11
- package/dist/templates/scenes/web-scroll.js +11 -11
- package/dist/templates/slides/agenda.js +11 -11
- package/dist/templates/slides/deck.js +10 -10
- package/dist/templates/slides/education.js +11 -11
- package/dist/templates/slides/launch.js +11 -11
- package/dist/templates/slides/layouts.js +11 -11
- package/dist/templates/slides/pitch.js +11 -11
- package/dist/templates/slides/report.js +11 -11
- package/dist/templates/slides/saas-mail-investor-update.js +12 -12
- package/dist/templates/slides/saas-mail-seed-pitch.js +12 -12
- package/dist/templates/slides/sales.js +11 -11
- package/dist/templates/slides/section-divider.js +11 -11
- package/dist/templates/slides/title-card.js +11 -11
- package/dist/templates/slides/training.js +11 -11
- package/dist/templates/slides/webinar.js +11 -11
- package/dist/templates/slideshow/baby.js +12 -12
- package/dist/templates/slideshow/birthday.js +12 -12
- package/dist/templates/slideshow/holiday.js +12 -12
- package/dist/templates/slideshow/home.js +12 -12
- package/dist/templates/slideshow/index.js +19 -19
- package/dist/templates/slideshow/memorial.js +12 -12
- package/dist/templates/slideshow/shared.js +11 -11
- package/dist/templates/slideshow/travel.js +12 -12
- package/dist/templates/slideshow/wedding.js +12 -12
- package/dist/templates/social/april-fools-link-preview.js +12 -12
- package/dist/templates/social/april-fools-price-slash-post.js +12 -12
- package/dist/templates/social/arcade-boss-fight.js +10 -10
- package/dist/templates/social/arcade-level-up.js +10 -10
- package/dist/templates/social/art-deco-link-preview.js +10 -10
- package/dist/templates/social/art-deco-premiere-post.js +10 -10
- package/dist/templates/social/autumn-harvest-link-preview.js +10 -10
- package/dist/templates/social/autumn-harvest-thanks-post.js +10 -10
- package/dist/templates/social/back-to-school-link-preview.js +10 -10
- package/dist/templates/social/back-to-school-report-card-post.js +10 -10
- package/dist/templates/social/bauhaus-drift-post.js +10 -10
- package/dist/templates/social/bauhaus-link-preview.js +10 -10
- package/dist/templates/social/bauhaus-pricing-post.js +10 -10
- package/dist/templates/social/black-friday-ads.js +10 -10
- package/dist/templates/social/black-friday-countdown.js +10 -10
- package/dist/templates/social/black-friday-coupons-ads.js +10 -10
- package/dist/templates/social/black-friday-coupons-countdown.js +10 -10
- package/dist/templates/social/black-friday-neon-ads.js +10 -10
- package/dist/templates/social/black-friday-neon-countdown.js +10 -10
- package/dist/templates/social/black-friday-scratch-ads.js +10 -10
- package/dist/templates/social/black-friday-ticker-ads.js +10 -10
- package/dist/templates/social/black-friday-ticker-countdown.js +10 -10
- package/dist/templates/social/blueprint-dimension-post.js +10 -10
- package/dist/templates/social/blueprint-link-preview.js +10 -10
- package/dist/templates/social/blueprint-parts-list-post.js +10 -10
- package/dist/templates/social/broadsheet-hiring-classifieds.js +10 -10
- package/dist/templates/social/broadsheet-link-preview.js +10 -10
- package/dist/templates/social/claymation-link-preview.js +10 -10
- package/dist/templates/social/claymation-streak-post.js +10 -10
- package/dist/templates/social/comic-book-cover-preview.js +10 -10
- package/dist/templates/social/comic-book-strip-post.js +10 -10
- package/dist/templates/social/cyberpunk-implant-post.js +10 -10
- package/dist/templates/social/cyberpunk-link-preview.js +10 -10
- package/dist/templates/social/departure-board-pass-ad.js +10 -10
- package/dist/templates/social/departure-board-store-set.js +10 -10
- package/dist/templates/social/departure-board-thanks-post.js +10 -10
- package/dist/templates/social/diwali-link-preview.js +10 -10
- package/dist/templates/social/diwali-thanks-post.js +10 -10
- package/dist/templates/social/earth-day-link-preview.js +10 -10
- package/dist/templates/social/festival-presale-electronic-ads.js +15 -15
- package/dist/templates/social/festival-presale-family-ads.js +15 -15
- package/dist/templates/social/festival-presale-folk-ads.js +15 -15
- package/dist/templates/social/festival-presale-food-ads.js +15 -15
- package/dist/templates/social/festival-presale-jazz-ads.js +15 -15
- package/dist/templates/social/festival-presale-street-ads.js +15 -15
- package/dist/templates/social/gothic-feature-post.js +10 -10
- package/dist/templates/social/gothic-link-preview.js +10 -10
- package/dist/templates/social/halloween-link-preview.js +10 -10
- package/dist/templates/social/halloween-offer-post.js +10 -10
- package/dist/templates/social/lunar-new-year-greeting-post.js +10 -10
- package/dist/templates/social/lunar-new-year-link-preview.js +10 -10
- package/dist/templates/social/machined-link-preview.js +12 -12
- package/dist/templates/social/machined-plate-post.js +12 -12
- package/dist/templates/social/manuscript-chapter-post.js +10 -10
- package/dist/templates/social/manuscript-link-preview.js +10 -10
- package/dist/templates/social/new-year-link-preview.js +10 -10
- package/dist/templates/social/new-year-resolutions-post.js +10 -10
- package/dist/templates/social/noir-case-file.js +10 -10
- package/dist/templates/social/noir-feature-post.js +10 -10
- package/dist/templates/social/post-announcement.js +10 -10
- package/dist/templates/social/post-event.js +10 -10
- package/dist/templates/social/post-podcast.js +10 -10
- package/dist/templates/social/post-quote.js +10 -10
- package/dist/templates/social/post-sale.js +10 -10
- package/dist/templates/social/post-stat.js +10 -10
- package/dist/templates/social/post-testimonial.js +10 -10
- package/dist/templates/social/promo-announcement.js +10 -10
- package/dist/templates/social/promo-beat-drop.js +10 -10
- package/dist/templates/social/promo-event.js +10 -10
- package/dist/templates/social/promo-new-product.js +10 -10
- package/dist/templates/social/promo-quote-reveal.js +10 -10
- package/dist/templates/social/promo-sale-drop.js +10 -10
- package/dist/templates/social/promo-tip-list.js +10 -10
- package/dist/templates/social/psychedelic-lineup-post.js +10 -10
- package/dist/templates/social/psychedelic-link-preview.js +10 -10
- package/dist/templates/social/riso-zine-link-preview.js +10 -10
- package/dist/templates/social/riso-zine-mrr-poster.js +10 -10
- package/dist/templates/social/saas-kit-carousel.js +10 -10
- package/dist/templates/social/saas-kit-countdown-post.js +10 -10
- package/dist/templates/social/saas-kit-feature-drop.js +10 -10
- package/dist/templates/social/saas-kit-link-preview.js +10 -10
- package/dist/templates/social/saas-kit-live-post.js +10 -10
- package/dist/templates/social/saas-kit-mrr-card.js +10 -10
- package/dist/templates/social/saas-kit-ph-gallery.js +10 -10
- package/dist/templates/social/saas-kit-ph-thumb.js +10 -10
- package/dist/templates/social/saas-kit-youtube-thumbs.js +10 -10
- package/dist/templates/social/saas-store-b2b-ads.js +11 -11
- package/dist/templates/social/saas-store-caption-set.js +11 -11
- package/dist/templates/social/saas-store-chrome-kit.js +11 -11
- package/dist/templates/social/saas-store-ipad-set.js +11 -11
- package/dist/templates/social/saas-store-panorama.js +12 -12
- package/dist/templates/social/saas-store-play-kit.js +10 -10
- package/dist/templates/social/saas-store-story.js +11 -11
- package/dist/templates/social/singles-day-link-preview.js +10 -10
- package/dist/templates/social/solarpunk-impact-post.js +10 -10
- package/dist/templates/social/solarpunk-link-preview.js +10 -10
- package/dist/templates/social/space-opera-link-preview.js +10 -10
- package/dist/templates/social/space-opera-mission-patch-post.js +10 -10
- package/dist/templates/social/spring-bloom-link-preview.js +10 -10
- package/dist/templates/social/style-bento-announcement.js +10 -10
- package/dist/templates/social/style-bento-link-preview.js +10 -10
- package/dist/templates/social/style-bento-milestone.js +10 -10
- package/dist/templates/social/style-bento-testimonial.js +10 -10
- package/dist/templates/social/style-brutalist-announcement.js +10 -10
- package/dist/templates/social/style-brutalist-link-preview.js +10 -10
- package/dist/templates/social/style-brutalist-milestone.js +10 -10
- package/dist/templates/social/style-brutalist-testimonial.js +10 -10
- package/dist/templates/social/style-dark-announcement.js +10 -10
- package/dist/templates/social/style-dark-link-preview.js +10 -10
- package/dist/templates/social/style-dark-milestone.js +10 -10
- package/dist/templates/social/style-dark-testimonial.js +10 -10
- package/dist/templates/social/style-data-announcement.js +10 -10
- package/dist/templates/social/style-data-link-preview.js +10 -10
- package/dist/templates/social/style-data-milestone.js +10 -10
- package/dist/templates/social/style-data-testimonial.js +10 -10
- package/dist/templates/social/style-editorial-announcement.js +10 -10
- package/dist/templates/social/style-editorial-link-preview.js +10 -10
- package/dist/templates/social/style-editorial-milestone.js +10 -10
- package/dist/templates/social/style-editorial-testimonial.js +10 -10
- package/dist/templates/social/style-glass-announcement.js +10 -10
- package/dist/templates/social/style-glass-link-preview.js +10 -10
- package/dist/templates/social/style-glass-milestone.js +10 -10
- package/dist/templates/social/style-glass-testimonial.js +10 -10
- package/dist/templates/social/style-gradient-announcement.js +10 -10
- package/dist/templates/social/style-gradient-link-preview.js +10 -10
- package/dist/templates/social/style-gradient-milestone.js +10 -10
- package/dist/templates/social/style-gradient-testimonial.js +10 -10
- package/dist/templates/social/style-maximal-announcement.js +10 -10
- package/dist/templates/social/style-maximal-link-preview.js +10 -10
- package/dist/templates/social/style-maximal-milestone.js +10 -10
- package/dist/templates/social/style-maximal-testimonial.js +10 -10
- package/dist/templates/social/style-pastel-announcement.js +10 -10
- package/dist/templates/social/style-pastel-link-preview.js +10 -10
- package/dist/templates/social/style-pastel-milestone.js +10 -10
- package/dist/templates/social/style-pastel-testimonial.js +10 -10
- package/dist/templates/social/style-sketch-announcement.js +10 -10
- package/dist/templates/social/style-sketch-link-preview.js +10 -10
- package/dist/templates/social/style-sketch-milestone.js +10 -10
- package/dist/templates/social/style-sketch-testimonial.js +10 -10
- package/dist/templates/social/style-swiss-announcement.js +10 -10
- package/dist/templates/social/style-swiss-link-preview.js +10 -10
- package/dist/templates/social/style-swiss-milestone.js +10 -10
- package/dist/templates/social/style-swiss-testimonial.js +10 -10
- package/dist/templates/social/style-terminal-announcement.js +10 -10
- package/dist/templates/social/style-terminal-link-preview.js +10 -10
- package/dist/templates/social/style-terminal-milestone.js +10 -10
- package/dist/templates/social/style-terminal-testimonial.js +10 -10
- package/dist/templates/social/summer-heatwave-link-preview.js +10 -10
- package/dist/templates/social/summer-heatwave-lolly-post.js +10 -10
- package/dist/templates/social/tour-tickets-june-ads.js +10 -10
- package/dist/templates/social/tour-tickets-tide-ads.js +10 -10
- package/dist/templates/social/tour-tickets-wreck-ads.js +10 -10
- package/dist/templates/social/transit-map-link-preview.js +10 -10
- package/dist/templates/social/ukiyo-e-link-preview.js +10 -10
- package/dist/templates/social/ukiyo-e-spike-post.js +10 -10
- package/dist/templates/social/valentines-link-preview.js +10 -10
- package/dist/templates/social/valentines-poem-post.js +10 -10
- package/dist/templates/social/vaporwave-feature-drop.js +10 -10
- package/dist/templates/social/vaporwave-link-preview.js +10 -10
- package/dist/templates/social/winter-cosy-link-preview.js +10 -10
- package/dist/templates/social/winter-holidays-link-preview.js +10 -10
- package/dist/templates/social/winter-holidays-thanks-post.js +10 -10
- package/dist/templates/stings/line-reveal.js +10 -10
- package/dist/templates/stings/sting-blur.js +10 -10
- package/dist/templates/stings/sting-pop.js +10 -10
- package/dist/templates/stings/sting-rise.js +10 -10
- package/dist/templates/stings/sting-shimmer.js +10 -10
- package/dist/templates/stings/word-swap.js +10 -10
- package/dist/templates/text/stat-counter.js +10 -10
- package/dist/templates/text/word-quote.js +10 -10
- package/dist/templates/themes/april-fools-shared.js +11 -11
- package/dist/templates/themes/april-fools.js +17 -17
- package/dist/templates/themes/arcade.js +14 -14
- package/dist/templates/themes/art-deco.js +16 -16
- package/dist/templates/themes/autumn-harvest.js +16 -16
- package/dist/templates/themes/back-to-school.js +16 -16
- package/dist/templates/themes/bauhaus.js +15 -15
- package/dist/templates/themes/black-friday-coupons.js +17 -17
- package/dist/templates/themes/black-friday-neon.js +17 -17
- package/dist/templates/themes/black-friday-scratch.js +17 -17
- package/dist/templates/themes/black-friday-ticker.js +17 -17
- package/dist/templates/themes/black-friday.js +16 -16
- package/dist/templates/themes/blueprint.js +15 -15
- package/dist/templates/themes/broadsheet.js +17 -17
- package/dist/templates/themes/claymation.js +16 -16
- package/dist/templates/themes/comic-book.js +14 -14
- package/dist/templates/themes/cyberpunk.js +16 -16
- package/dist/templates/themes/departure-board.js +15 -15
- package/dist/templates/themes/diwali.js +16 -16
- package/dist/templates/themes/earth-day.js +16 -16
- package/dist/templates/themes/festival-presale-electronic-kit.js +14 -14
- package/dist/templates/themes/festival-presale-family-a-shared.js +13 -13
- package/dist/templates/themes/festival-presale-family-a.js +38 -38
- package/dist/templates/themes/festival-presale-family-b-shared.js +13 -13
- package/dist/templates/themes/festival-presale-family-b.js +38 -38
- package/dist/templates/themes/festival-presale-family-kit.js +14 -14
- package/dist/templates/themes/festival-presale-folk-kit.js +14 -14
- package/dist/templates/themes/festival-presale-food-kit.js +14 -14
- package/dist/templates/themes/festival-presale-jazz-kit.js +14 -14
- package/dist/templates/themes/festival-presale-shared.js +8 -8
- package/dist/templates/themes/festival-presale-street-kit.js +14 -14
- package/dist/templates/themes/festival-presale.js +18 -18
- package/dist/templates/themes/gothic.js +16 -16
- package/dist/templates/themes/halloween.js +16 -16
- package/dist/templates/themes/index.js +337 -337
- package/dist/templates/themes/lunar-new-year.js +16 -16
- package/dist/templates/themes/machined-shared.js +11 -11
- package/dist/templates/themes/machined.js +16 -16
- package/dist/templates/themes/manuscript.js +16 -16
- package/dist/templates/themes/new-year.js +16 -16
- package/dist/templates/themes/noir.js +16 -16
- package/dist/templates/themes/psychedelic.js +16 -16
- package/dist/templates/themes/riso-zine.js +16 -16
- package/dist/templates/themes/singles-day.js +16 -16
- package/dist/templates/themes/solarpunk.js +16 -16
- package/dist/templates/themes/space-opera.js +16 -16
- package/dist/templates/themes/spring-bloom.js +16 -16
- package/dist/templates/themes/summer-heatwave.js +16 -16
- package/dist/templates/themes/tour-tickets-page-shared.js +8 -8
- package/dist/templates/themes/tour-tickets.js +37 -37
- package/dist/templates/themes/transit-map.js +16 -16
- package/dist/templates/themes/ukiyo-e.js +16 -16
- package/dist/templates/themes/valentines.js +16 -16
- package/dist/templates/themes/vaporwave.js +15 -15
- package/dist/templates/themes/winter-cosy.js +16 -16
- package/dist/templates/themes/winter-holidays.js +16 -16
- package/dist/templates/video/youtube-chapter.js +10 -10
- package/dist/templates/video/youtube-end-screen.js +10 -10
- package/dist/templates/video/youtube-intro.js +10 -10
- package/dist/templates/video/youtube-subscribe.js +10 -10
- package/dist/templates/web/app-ui.js +11 -11
- package/dist/templates/web/april-fools-landing.js +12 -12
- package/dist/templates/web/arcade-landing.js +10 -10
- package/dist/templates/web/art-deco-landing.js +10 -10
- package/dist/templates/web/autumn-harvest-landing.js +10 -10
- package/dist/templates/web/back-to-school-landing.js +10 -10
- package/dist/templates/web/bauhaus-landing.js +10 -10
- package/dist/templates/web/black-friday-coupons-landing.js +10 -10
- package/dist/templates/web/black-friday-landing.js +10 -10
- package/dist/templates/web/black-friday-neon-landing.js +10 -10
- package/dist/templates/web/black-friday-scratch-landing.js +10 -10
- package/dist/templates/web/black-friday-ticker-landing.js +10 -10
- package/dist/templates/web/blog-post.js +10 -10
- package/dist/templates/web/blueprint-landing.js +10 -10
- package/dist/templates/web/broadsheet-landing.js +10 -10
- package/dist/templates/web/claymation-landing.js +10 -10
- package/dist/templates/web/comic-book-landing.js +10 -10
- package/dist/templates/web/coming-soon-page.js +11 -11
- package/dist/templates/web/coming-soon.js +10 -10
- package/dist/templates/web/contact.js +11 -11
- package/dist/templates/web/cyberpunk-landing.js +10 -10
- package/dist/templates/web/daybreak-app.js +12 -12
- package/dist/templates/web/departure-board-download.js +10 -10
- package/dist/templates/web/diwali-landing.js +10 -10
- package/dist/templates/web/earth-day-landing.js +10 -10
- package/dist/templates/web/festival-presale-electronic.js +12 -12
- package/dist/templates/web/festival-presale-family.js +12 -12
- package/dist/templates/web/festival-presale-folk.js +12 -12
- package/dist/templates/web/festival-presale-food.js +12 -12
- package/dist/templates/web/festival-presale-jazz.js +12 -12
- package/dist/templates/web/festival-presale-street.js +12 -12
- package/dist/templates/web/forms.js +10 -10
- package/dist/templates/web/gothic-landing.js +10 -10
- package/dist/templates/web/halloween-landing.js +10 -10
- package/dist/templates/web/hero-animated.js +10 -10
- package/dist/templates/web/kindling-app.js +12 -12
- package/dist/templates/web/launch-waitlist.js +11 -11
- package/dist/templates/web/lunar-new-year-landing.js +10 -10
- package/dist/templates/web/machined-hero.js +12 -12
- package/dist/templates/web/manuscript-landing.js +10 -10
- package/dist/templates/web/marginalia-app.js +12 -12
- package/dist/templates/web/new-year-landing.js +10 -10
- package/dist/templates/web/noir-landing.js +10 -10
- package/dist/templates/web/page-404.js +10 -10
- package/dist/templates/web/portfolio-architect.js +11 -11
- package/dist/templates/web/portfolio-card-deck.js +11 -11
- package/dist/templates/web/portfolio-case-folio.js +11 -11
- package/dist/templates/web/portfolio-cube-gallery.js +11 -11
- package/dist/templates/web/portfolio-depth-tunnel.js +11 -11
- package/dist/templates/web/portfolio-editorial.js +11 -11
- package/dist/templates/web/portfolio-flip-wall.js +11 -11
- package/dist/templates/web/portfolio-index-list.js +11 -11
- package/dist/templates/web/portfolio-photographer.js +11 -11
- package/dist/templates/web/portfolio-reel-carousel.js +11 -11
- package/dist/templates/web/portfolio-shared.js +10 -10
- package/dist/templates/web/portfolio-sketchbook.js +11 -11
- package/dist/templates/web/portfolio-studio-grid.js +11 -11
- package/dist/templates/web/portfolio.js +10 -10
- package/dist/templates/web/portfolios.js +23 -23
- package/dist/templates/web/potluck-app.js +12 -12
- package/dist/templates/web/pricing-toggle.js +10 -10
- package/dist/templates/web/product-page.js +10 -10
- package/dist/templates/web/psychedelic-landing.js +10 -10
- package/dist/templates/web/riso-zine-landing.js +10 -10
- package/dist/templates/web/rsvp-invite.js +11 -11
- package/dist/templates/web/saas-ai-landing.js +11 -11
- package/dist/templates/web/saas-app-download.js +11 -11
- package/dist/templates/web/saas-case-study.js +11 -11
- package/dist/templates/web/saas-changelog.js +11 -11
- package/dist/templates/web/saas-comparison.js +11 -11
- package/dist/templates/web/saas-data-landing.js +11 -11
- package/dist/templates/web/saas-dev-landing.js +11 -11
- package/dist/templates/web/saas-indie-landing.js +11 -11
- package/dist/templates/web/saas-integrations.js +11 -11
- package/dist/templates/web/saas-security.js +11 -11
- package/dist/templates/web/saas-signup.js +11 -11
- package/dist/templates/web/saas-waitlist.js +11 -11
- package/dist/templates/web/saffron-app.js +12 -12
- package/dist/templates/web/singles-day-landing.js +10 -10
- package/dist/templates/web/solarpunk-landing.js +10 -10
- package/dist/templates/web/space-opera-landing.js +10 -10
- package/dist/templates/web/spring-bloom-landing.js +10 -10
- package/dist/templates/web/style-bento-landing.js +11 -11
- package/dist/templates/web/style-bento-pricing.js +11 -11
- package/dist/templates/web/style-brutalist-landing.js +11 -11
- package/dist/templates/web/style-brutalist-pricing.js +11 -11
- package/dist/templates/web/style-dark-landing.js +11 -11
- package/dist/templates/web/style-dark-pricing.js +11 -11
- package/dist/templates/web/style-data-landing.js +11 -11
- package/dist/templates/web/style-data-pricing.js +11 -11
- package/dist/templates/web/style-editorial-landing.js +11 -11
- package/dist/templates/web/style-editorial-pricing.js +11 -11
- package/dist/templates/web/style-glass-landing.js +11 -11
- package/dist/templates/web/style-glass-pricing.js +11 -11
- package/dist/templates/web/style-gradient-landing.js +11 -11
- package/dist/templates/web/style-gradient-pricing.js +11 -11
- package/dist/templates/web/style-maximal-landing.js +11 -11
- package/dist/templates/web/style-maximal-pricing.js +11 -11
- package/dist/templates/web/style-pastel-landing.js +11 -11
- package/dist/templates/web/style-pastel-pricing.js +11 -11
- package/dist/templates/web/style-sketch-landing.js +11 -11
- package/dist/templates/web/style-sketch-pricing.js +11 -11
- package/dist/templates/web/style-swiss-landing.js +11 -11
- package/dist/templates/web/style-swiss-pricing.js +11 -11
- package/dist/templates/web/style-terminal-landing.js +11 -11
- package/dist/templates/web/style-terminal-pricing.js +11 -11
- package/dist/templates/web/summer-heatwave-landing.js +10 -10
- package/dist/templates/web/tempo-app.js +12 -12
- package/dist/templates/web/tour-tickets-june-landing.js +12 -12
- package/dist/templates/web/tour-tickets-tide-landing.js +12 -12
- package/dist/templates/web/tour-tickets-wreck-landing.js +12 -12
- package/dist/templates/web/transit-map-landing.js +10 -10
- package/dist/templates/web/ukiyo-e-landing.js +10 -10
- package/dist/templates/web/valentines-landing.js +10 -10
- package/dist/templates/web/vaporwave-landing.js +10 -10
- package/dist/templates/web/wayfarer-app.js +12 -12
- package/dist/templates/web/winter-cosy-landing.js +10 -10
- package/dist/templates/web/winter-holidays-landing.js +10 -10
- package/package.json +1 -1
- package/dist/chunks/agent-PXQOO5OB.js +0 -44
- package/dist/chunks/audio-decode-IBIHGELI.js +0 -53
- package/dist/chunks/audio-import-BSNEAEDF.js +0 -125
- package/dist/chunks/browser-K7SSYFES.js +0 -177
- package/dist/chunks/build-2REERYS6.js +0 -54
- package/dist/chunks/builtin-XITF2G72.js +0 -102
- package/dist/chunks/check-template-K5ZIWFKX.js +0 -2549
- package/dist/chunks/chunk-22TOB446.js +0 -60
- package/dist/chunks/chunk-24GVIZRB.js +0 -23
- package/dist/chunks/chunk-25QXRLMH.js +0 -106
- package/dist/chunks/chunk-2D6NCUEC.js +0 -97
- package/dist/chunks/chunk-2GJXPYUG.js +0 -182
- package/dist/chunks/chunk-2HKILU6L.js +0 -170
- package/dist/chunks/chunk-2HTZFLPO.js +0 -33
- package/dist/chunks/chunk-2LVZVKWN.js +0 -315
- package/dist/chunks/chunk-2M4K3USS.js +0 -221
- package/dist/chunks/chunk-2M7KDWGG.js +0 -112
- package/dist/chunks/chunk-2MQPIED2.js +0 -108
- package/dist/chunks/chunk-2P7ETFI5.js +0 -42
- package/dist/chunks/chunk-2PSFJRU4.js +0 -225
- package/dist/chunks/chunk-2QS26G4G.js +0 -81
- package/dist/chunks/chunk-2RAHG6FQ.js +0 -78
- package/dist/chunks/chunk-2SBQWYSE.js +0 -45
- package/dist/chunks/chunk-2UA5OMDB.js +0 -226
- package/dist/chunks/chunk-2VNFJ2PR.js +0 -80
- package/dist/chunks/chunk-2VOJTGXN.js +0 -30
- package/dist/chunks/chunk-2VXSGSKP.js +0 -33
- package/dist/chunks/chunk-2WKGRNGM.js +0 -114
- package/dist/chunks/chunk-2XASGDVT.js +0 -152
- package/dist/chunks/chunk-333TNQPN.js +0 -82
- package/dist/chunks/chunk-36YWMZKQ.js +0 -146
- package/dist/chunks/chunk-37IQM4QP.js +0 -125
- package/dist/chunks/chunk-3AO42KH2.js +0 -119
- package/dist/chunks/chunk-3BZJNFX5.js +0 -255
- package/dist/chunks/chunk-3D2XQJOO.js +0 -33
- package/dist/chunks/chunk-3F4D4YMZ.js +0 -53
- package/dist/chunks/chunk-3FDZLIK7.js +0 -95
- package/dist/chunks/chunk-3IC6IIPD.js +0 -111
- package/dist/chunks/chunk-3IE4HKYA.js +0 -164
- package/dist/chunks/chunk-3IHBL4BJ.js +0 -123
- package/dist/chunks/chunk-3J62MFIN.js +0 -303
- package/dist/chunks/chunk-3KPK2BIT.js +0 -80
- package/dist/chunks/chunk-3L2Q6VI2.js +0 -60
- package/dist/chunks/chunk-3LLG62WY.js +0 -105
- package/dist/chunks/chunk-3OC4RQOK.js +0 -303
- package/dist/chunks/chunk-3ORXNBWK.js +0 -265
- package/dist/chunks/chunk-3OTNAF3V.js +0 -171
- package/dist/chunks/chunk-3RVYFWCA.js +0 -87
- package/dist/chunks/chunk-3VVHLWRL.js +0 -239
- package/dist/chunks/chunk-3XQ2CAEL.js +0 -187
- package/dist/chunks/chunk-3YBU56K4.js +0 -311
- package/dist/chunks/chunk-3ZOEO7J7.js +0 -283
- package/dist/chunks/chunk-42PSDHMM.js +0 -278
- package/dist/chunks/chunk-44KXFPTT.js +0 -165
- package/dist/chunks/chunk-44RYHKT6.js +0 -184
- package/dist/chunks/chunk-452ENOX6.js +0 -183
- package/dist/chunks/chunk-45NXYBU3.js +0 -242
- package/dist/chunks/chunk-46QFG7PZ.js +0 -81
- package/dist/chunks/chunk-47BBRUUQ.js +0 -150
- package/dist/chunks/chunk-47F34UV4.js +0 -106
- package/dist/chunks/chunk-47SQ7AXQ.js +0 -97
- package/dist/chunks/chunk-4BE7TNSM.js +0 -45
- package/dist/chunks/chunk-4BT7KMMJ.js +0 -45
- package/dist/chunks/chunk-4C4D4MHX.js +0 -224
- package/dist/chunks/chunk-4DUAQA2N.js +0 -249
- package/dist/chunks/chunk-4GEQFPBP.js +0 -45
- package/dist/chunks/chunk-4IZXBU47.js +0 -130
- package/dist/chunks/chunk-4K5TTOHF.js +0 -172
- package/dist/chunks/chunk-4KKOLPV6.js +0 -197
- package/dist/chunks/chunk-4LE2XPRC.js +0 -81
- package/dist/chunks/chunk-4NMXQTMK.js +0 -70
- package/dist/chunks/chunk-4RQZLOTG.js +0 -152
- package/dist/chunks/chunk-4RTTCEAL.js +0 -30
- package/dist/chunks/chunk-4SDDDEOB.js +0 -210
- package/dist/chunks/chunk-4TBZ2TN7.js +0 -120
- package/dist/chunks/chunk-4V7HOPYM.js +0 -327
- package/dist/chunks/chunk-4WEERUAE.js +0 -172
- package/dist/chunks/chunk-4WHKNY4I.js +0 -122
- package/dist/chunks/chunk-4WLNLUN5.js +0 -110
- package/dist/chunks/chunk-53T4E6LC.js +0 -163
- package/dist/chunks/chunk-53TNNYLX.js +0 -197
- package/dist/chunks/chunk-543CCD3S.js +0 -209
- package/dist/chunks/chunk-55HCWRNS.js +0 -83
- package/dist/chunks/chunk-575WIPXO.js +0 -97
- package/dist/chunks/chunk-57X2K33B.js +0 -224
- package/dist/chunks/chunk-5DM5BHTY.js +0 -206
- package/dist/chunks/chunk-5DOWBAJD.js +0 -358
- package/dist/chunks/chunk-5EAVPVQD.js +0 -178
- package/dist/chunks/chunk-5FSDBEOA.js +0 -139
- package/dist/chunks/chunk-5H3BHIXT.js +0 -112
- package/dist/chunks/chunk-5HB4JVRN.js +0 -107
- package/dist/chunks/chunk-5HI4SNM3.js +0 -23
- package/dist/chunks/chunk-5J356PVM.js +0 -155
- package/dist/chunks/chunk-5JVOHHKH.js +0 -156
- package/dist/chunks/chunk-5KTCPVOV.js +0 -77
- package/dist/chunks/chunk-5N5PS6YV.js +0 -135
- package/dist/chunks/chunk-5NDMPAJB.js +0 -209
- package/dist/chunks/chunk-5NLGYVLG.js +0 -23
- package/dist/chunks/chunk-5NLNNY4L.js +0 -345
- package/dist/chunks/chunk-5Q3RODK4.js +0 -157
- package/dist/chunks/chunk-5VGXDT2M.js +0 -80
- package/dist/chunks/chunk-5VPS54RD.js +0 -135
- package/dist/chunks/chunk-5WNEWZU2.js +0 -48
- package/dist/chunks/chunk-5XQMCH4R.js +0 -198
- package/dist/chunks/chunk-5YBLP3IF.js +0 -158
- package/dist/chunks/chunk-5ZMPP7VR.js +0 -304
- package/dist/chunks/chunk-622MTIKZ.js +0 -165
- package/dist/chunks/chunk-63J54ZVV.js +0 -45
- package/dist/chunks/chunk-63YB34OW.js +0 -36
- package/dist/chunks/chunk-644BXSOQ.js +0 -183
- package/dist/chunks/chunk-66TRKEVT.js +0 -87
- package/dist/chunks/chunk-6AK2JVEP.js +0 -157
- package/dist/chunks/chunk-6C5SLYCU.js +0 -169
- package/dist/chunks/chunk-6CUKGA3W.js +0 -101
- package/dist/chunks/chunk-6DVJSPJV.js +0 -89
- package/dist/chunks/chunk-6EPOQAQC.js +0 -105
- package/dist/chunks/chunk-6EVQAPL4.js +0 -100
- package/dist/chunks/chunk-6EVVNEDP.js +0 -23
- package/dist/chunks/chunk-6FAN25GV.js +0 -304
- package/dist/chunks/chunk-6FTICSAK.js +0 -179
- package/dist/chunks/chunk-6KVUAS5S.js +0 -23
- package/dist/chunks/chunk-6SMIZ6NM.js +0 -95
- package/dist/chunks/chunk-6T3CSVES.js +0 -351
- package/dist/chunks/chunk-6T427S5M.js +0 -215
- package/dist/chunks/chunk-6U5DE7BW.js +0 -112
- package/dist/chunks/chunk-6UJCCUN5.js +0 -140
- package/dist/chunks/chunk-6VYMHTXS.js +0 -113
- package/dist/chunks/chunk-6YWSIRPU.js +0 -166
- package/dist/chunks/chunk-6ZLQU4UH.js +0 -54
- package/dist/chunks/chunk-73FJK5DH.js +0 -77
- package/dist/chunks/chunk-7AB5NT72.js +0 -260
- package/dist/chunks/chunk-7AKXV3RY.js +0 -23
- package/dist/chunks/chunk-7B4L7MIH.js +0 -914
- package/dist/chunks/chunk-7BUWPB7O.js +0 -462
- package/dist/chunks/chunk-7CPNMNRC.js +0 -105
- package/dist/chunks/chunk-7CYIEF7T.js +0 -23
- package/dist/chunks/chunk-7HCO6HMQ.js +0 -23
- package/dist/chunks/chunk-7HZWLDUJ.js +0 -124
- package/dist/chunks/chunk-7IUHOJMB.js +0 -131
- package/dist/chunks/chunk-7J2DG6MI.js +0 -33
- package/dist/chunks/chunk-7KDYGF7M.js +0 -176
- package/dist/chunks/chunk-7ODGUZME.js +0 -118
- package/dist/chunks/chunk-7OXFE4I4.js +0 -78
- package/dist/chunks/chunk-7P27EEKI.js +0 -194
- package/dist/chunks/chunk-7QLX4FWO.js +0 -103
- package/dist/chunks/chunk-7RF2WFWP.js +0 -1403
- package/dist/chunks/chunk-7TAEPGDU.js +0 -368
- package/dist/chunks/chunk-7UJMX2KR.js +0 -174
- package/dist/chunks/chunk-7WFNPLYW.js +0 -151
- package/dist/chunks/chunk-7XBZSFGP.js +0 -149
- package/dist/chunks/chunk-7XY5C2UD.js +0 -95
- package/dist/chunks/chunk-7Y46QQ3X.js +0 -177
- package/dist/chunks/chunk-7ZYATW5H.js +0 -23
- package/dist/chunks/chunk-7ZZ5NXFF.js +0 -187
- package/dist/chunks/chunk-A2F4VWMY.js +0 -33
- package/dist/chunks/chunk-A2WYFMII.js +0 -102
- package/dist/chunks/chunk-A3HK7HJI.js +0 -193
- package/dist/chunks/chunk-A5XOVFER.js +0 -574
- package/dist/chunks/chunk-A6S46WMF.js +0 -84
- package/dist/chunks/chunk-A6ZV55CI.js +0 -250
- package/dist/chunks/chunk-AAJ32K5L.js +0 -503
- package/dist/chunks/chunk-AAJLLJ7A.js +0 -79
- package/dist/chunks/chunk-ABAMYLWG.js +0 -80
- package/dist/chunks/chunk-ACBLRHNP.js +0 -33
- package/dist/chunks/chunk-AFZQJSH4.js +0 -115
- package/dist/chunks/chunk-AH3XVUHJ.js +0 -252
- package/dist/chunks/chunk-AIO3SFQF.js +0 -45
- package/dist/chunks/chunk-AJWRX5QR.js +0 -173
- package/dist/chunks/chunk-AK7ENLJ3.js +0 -170
- package/dist/chunks/chunk-ALNCEZ3J.js +0 -94
- package/dist/chunks/chunk-AMCLYCZZ.js +0 -56
- package/dist/chunks/chunk-ANSCFBS5.js +0 -198
- package/dist/chunks/chunk-APOSFLAY.js +0 -23
- package/dist/chunks/chunk-ARBYVKKR.js +0 -45
- package/dist/chunks/chunk-ASFWADTQ.js +0 -283
- package/dist/chunks/chunk-ATFE2DHU.js +0 -10422
- package/dist/chunks/chunk-AUES5BAZ.js +0 -110
- package/dist/chunks/chunk-AVEJ4WHO.js +0 -181
- package/dist/chunks/chunk-AWYAZYKB.js +0 -396
- package/dist/chunks/chunk-B2ZX4R3Y.js +0 -119
- package/dist/chunks/chunk-B3ICP7OT.js +0 -140
- package/dist/chunks/chunk-B4AVC54E.js +0 -80
- package/dist/chunks/chunk-B5IOVWDR.js +0 -83
- package/dist/chunks/chunk-B63FOZ2M.js +0 -165
- package/dist/chunks/chunk-BA6DE43I.js +0 -1411
- package/dist/chunks/chunk-BBU2E6K7.js +0 -366
- package/dist/chunks/chunk-BG4BA5N4.js +0 -375
- package/dist/chunks/chunk-BGU6NSK2.js +0 -155
- package/dist/chunks/chunk-BIELPAKW.js +0 -94
- package/dist/chunks/chunk-BIPZQT67.js +0 -262
- package/dist/chunks/chunk-BIXAYF5C.js +0 -201
- package/dist/chunks/chunk-BK7IBLGD.js +0 -23
- package/dist/chunks/chunk-BL25QT7O.js +0 -247
- package/dist/chunks/chunk-BOVUYIZM.js +0 -235
- package/dist/chunks/chunk-BP3QA5CU.js +0 -194
- package/dist/chunks/chunk-BPP7ZW2N.js +0 -112
- package/dist/chunks/chunk-BQ2WXM37.js +0 -111
- package/dist/chunks/chunk-BQMAHKHR.js +0 -171
- package/dist/chunks/chunk-BSPOXBQ2.js +0 -41
- package/dist/chunks/chunk-BUFLJ6QA.js +0 -33
- package/dist/chunks/chunk-BVCBMZW7.js +0 -91
- package/dist/chunks/chunk-BWREO2ZT.js +0 -55
- package/dist/chunks/chunk-BZ2QTRGR.js +0 -120
- package/dist/chunks/chunk-BZ44RWLS.js +0 -177
- package/dist/chunks/chunk-BZYQTW7X.js +0 -53
- package/dist/chunks/chunk-C4M2BNL7.js +0 -102
- package/dist/chunks/chunk-C6YWLIOA.js +0 -46
- package/dist/chunks/chunk-CFNTG4HQ.js +0 -155
- package/dist/chunks/chunk-CFVGUXY5.js +0 -156
- package/dist/chunks/chunk-CHDLFGAA.js +0 -156
- package/dist/chunks/chunk-CHL42LPZ.js +0 -169
- package/dist/chunks/chunk-CHXZVUU3.js +0 -65
- package/dist/chunks/chunk-CHYXR2SD.js +0 -626
- package/dist/chunks/chunk-CKAHODH4.js +0 -212
- package/dist/chunks/chunk-CND6ED2U.js +0 -100
- package/dist/chunks/chunk-COC67IEW.js +0 -192
- package/dist/chunks/chunk-CRZL2T4J.js +0 -83
- package/dist/chunks/chunk-CTNPA3LW.js +0 -110
- package/dist/chunks/chunk-CVF26A6U.js +0 -102
- package/dist/chunks/chunk-CWE475TG.js +0 -172
- package/dist/chunks/chunk-CWY55LC2.js +0 -33
- package/dist/chunks/chunk-CYRRLRIK.js +0 -190
- package/dist/chunks/chunk-D23SNHGN.js +0 -297
- package/dist/chunks/chunk-D3CUCSFW.js +0 -262
- package/dist/chunks/chunk-D5N5ZBHQ.js +0 -95
- package/dist/chunks/chunk-D5QMMPBE.js +0 -191
- package/dist/chunks/chunk-D6BVM76N.js +0 -33
- package/dist/chunks/chunk-D6ROT2IQ.js +0 -33
- package/dist/chunks/chunk-D7UVR7T3.js +0 -97
- package/dist/chunks/chunk-DC5PSSQL.js +0 -109
- package/dist/chunks/chunk-DFHFHA3C.js +0 -274
- package/dist/chunks/chunk-DGQO2LJ4.js +0 -71
- package/dist/chunks/chunk-DHEXMOGP.js +0 -91
- package/dist/chunks/chunk-DJDK2EJM.js +0 -415
- package/dist/chunks/chunk-DK6BF3WC.js +0 -84
- package/dist/chunks/chunk-DOA3ZINS.js +0 -76
- package/dist/chunks/chunk-DQM7MVNJ.js +0 -358
- package/dist/chunks/chunk-DQML577F.js +0 -122
- package/dist/chunks/chunk-DRYQ2TBQ.js +0 -166
- package/dist/chunks/chunk-DSCUBZTK.js +0 -23
- package/dist/chunks/chunk-DTUUHELV.js +0 -147
- package/dist/chunks/chunk-DXIEKLNO.js +0 -126
- package/dist/chunks/chunk-DYJMV5UC.js +0 -123
- package/dist/chunks/chunk-DYNGEIRA.js +0 -124
- package/dist/chunks/chunk-E3TN73HM.js +0 -360
- package/dist/chunks/chunk-E4SB2AZU.js +0 -204
- package/dist/chunks/chunk-EA2TCFBK.js +0 -222
- package/dist/chunks/chunk-EALLV32T.js +0 -315
- package/dist/chunks/chunk-EDFWFTH4.js +0 -181
- package/dist/chunks/chunk-EELV72LD.js +0 -362
- package/dist/chunks/chunk-EEN2VO6A.js +0 -92
- package/dist/chunks/chunk-EFH2DAJB.js +0 -163
- package/dist/chunks/chunk-EGKJ5Z35.js +0 -270
- package/dist/chunks/chunk-EGZFZKKW.js +0 -172
- package/dist/chunks/chunk-EHVIQMFG.js +0 -127
- package/dist/chunks/chunk-EJ2DV3OF.js +0 -162
- package/dist/chunks/chunk-EKYCET2J.js +0 -94
- package/dist/chunks/chunk-EOFMZ5AL.js +0 -153
- package/dist/chunks/chunk-EOV5OA7N.js +0 -114
- package/dist/chunks/chunk-ETVOAFQI.js +0 -23
- package/dist/chunks/chunk-EW7ZBJPC.js +0 -102
- package/dist/chunks/chunk-EXMM5EFR.js +0 -93
- package/dist/chunks/chunk-F545APHS.js +0 -150
- package/dist/chunks/chunk-F6BMNCXH.js +0 -87
- package/dist/chunks/chunk-FEQJDPIN.js +0 -184
- package/dist/chunks/chunk-FFSO6JSR.js +0 -197
- package/dist/chunks/chunk-FFZH3LZJ.js +0 -172
- package/dist/chunks/chunk-FIPSYBMQ.js +0 -36
- package/dist/chunks/chunk-FIZ272U5.js +0 -123
- package/dist/chunks/chunk-FMRYBQYN.js +0 -97
- package/dist/chunks/chunk-FMUR4YLB.js +0 -151
- package/dist/chunks/chunk-FNBANVK7.js +0 -176
- package/dist/chunks/chunk-FOT6JXLD.js +0 -104
- package/dist/chunks/chunk-FQIU5MVR.js +0 -215
- package/dist/chunks/chunk-FRNIQRJB.js +0 -50
- package/dist/chunks/chunk-FSIXZ6AW.js +0 -105
- package/dist/chunks/chunk-G47X2DGO.js +0 -1136
- package/dist/chunks/chunk-G4QDDHJ5.js +0 -412
- package/dist/chunks/chunk-G4UDFZDR.js +0 -631
- package/dist/chunks/chunk-G5XV3ZZ5.js +0 -330
- package/dist/chunks/chunk-G6FK4DSE.js +0 -144
- package/dist/chunks/chunk-G7KIMFQ6.js +0 -106
- package/dist/chunks/chunk-GAGHIRPY.js +0 -342
- package/dist/chunks/chunk-GAVQKIE3.js +0 -23
- package/dist/chunks/chunk-GBDEZB6F.js +0 -104
- package/dist/chunks/chunk-GCMVDOOU.js +0 -157
- package/dist/chunks/chunk-GD2HWFS5.js +0 -30
- package/dist/chunks/chunk-GEULKKPH.js +0 -282
- package/dist/chunks/chunk-GHEJAWBW.js +0 -104
- package/dist/chunks/chunk-GI64ZJ3E.js +0 -230
- package/dist/chunks/chunk-GIA3JO5I.js +0 -195
- package/dist/chunks/chunk-GLUUJHAM.js +0 -278
- package/dist/chunks/chunk-GMHK2MOU.js +0 -23
- package/dist/chunks/chunk-GPIVNMTJ.js +0 -810
- package/dist/chunks/chunk-GUPZBSRY.js +0 -129
- package/dist/chunks/chunk-GVDYLADJ.js +0 -33
- package/dist/chunks/chunk-GVN4HM2M.js +0 -99
- package/dist/chunks/chunk-GXWLEOCX.js +0 -23
- package/dist/chunks/chunk-GYLXPHUL.js +0 -147
- package/dist/chunks/chunk-H22TM4T4.js +0 -88
- package/dist/chunks/chunk-H2FO5NBZ.js +0 -152
- package/dist/chunks/chunk-H3SXE3YT.js +0 -150
- package/dist/chunks/chunk-H4R7IZPX.js +0 -78
- package/dist/chunks/chunk-H5ASBJGJ.js +0 -118
- package/dist/chunks/chunk-H5B4T5AT.js +0 -139
- package/dist/chunks/chunk-H74B2GDT.js +0 -81
- package/dist/chunks/chunk-HCFKXRUA.js +0 -23
- package/dist/chunks/chunk-HCXYL62J.js +0 -106
- package/dist/chunks/chunk-HCXZNHQU.js +0 -83
- package/dist/chunks/chunk-HEFDCRAC.js +0 -161
- package/dist/chunks/chunk-HEGW4X6Y.js +0 -36
- package/dist/chunks/chunk-HGLYCBXX.js +0 -287
- package/dist/chunks/chunk-HINGSY7P.js +0 -55
- package/dist/chunks/chunk-HJOH3BOZ.js +0 -141
- package/dist/chunks/chunk-HK7HHZA5.js +0 -178
- package/dist/chunks/chunk-HKN4GBFO.js +0 -117
- package/dist/chunks/chunk-HL6TPSH5.js +0 -110
- package/dist/chunks/chunk-HLSQADQS.js +0 -135
- package/dist/chunks/chunk-HP5JRHMN.js +0 -164
- package/dist/chunks/chunk-HPG4X6UX.js +0 -97
- package/dist/chunks/chunk-HQ7K6M2I.js +0 -33
- package/dist/chunks/chunk-HRED5WAW.js +0 -181
- package/dist/chunks/chunk-HTUPREBA.js +0 -82
- package/dist/chunks/chunk-HUSYQHJF.js +0 -23
- package/dist/chunks/chunk-HYNLRN2V.js +0 -190
- package/dist/chunks/chunk-HZ7RO3VJ.js +0 -98
- package/dist/chunks/chunk-I2JKO4S5.js +0 -525
- package/dist/chunks/chunk-I4M7L7VM.js +0 -45
- package/dist/chunks/chunk-I5TNUEJV.js +0 -777
- package/dist/chunks/chunk-I74BA7FG.js +0 -250
- package/dist/chunks/chunk-IBM3VGQX.js +0 -145
- package/dist/chunks/chunk-IEFZ4LBB.js +0 -33
- package/dist/chunks/chunk-IGLPFRYM.js +0 -93
- package/dist/chunks/chunk-IIXTZTSO.js +0 -122
- package/dist/chunks/chunk-IMNB4UJ6.js +0 -23
- package/dist/chunks/chunk-IMSQZGNZ.js +0 -226
- package/dist/chunks/chunk-IP5TLUIH.js +0 -161
- package/dist/chunks/chunk-IPY7M3DU.js +0 -123
- package/dist/chunks/chunk-IRCGEEUL.js +0 -126
- package/dist/chunks/chunk-ITR7LC4H.js +0 -226
- package/dist/chunks/chunk-ITSGBYHU.js +0 -293
- package/dist/chunks/chunk-IUF5JLHN.js +0 -197
- package/dist/chunks/chunk-IVYJ4E4Q.js +0 -121
- package/dist/chunks/chunk-IXJLYOHE.js +0 -33
- package/dist/chunks/chunk-IZB732DK.js +0 -105
- package/dist/chunks/chunk-IZOWJGHV.js +0 -336
- package/dist/chunks/chunk-J2Z5J4AT.js +0 -179
- package/dist/chunks/chunk-J3KJC4NN.js +0 -10153
- package/dist/chunks/chunk-J4D3HBZG.js +0 -91
- package/dist/chunks/chunk-J4RNHAXT.js +0 -145
- package/dist/chunks/chunk-J55DPJRK.js +0 -108
- package/dist/chunks/chunk-J64VUAR2.js +0 -284
- package/dist/chunks/chunk-J7JC6AMQ.js +0 -320
- package/dist/chunks/chunk-JACKY4R7.js +0 -61
- package/dist/chunks/chunk-JB3DZI64.js +0 -378
- package/dist/chunks/chunk-JCEAXCIA.js +0 -44
- package/dist/chunks/chunk-JDDUCZQ5.js +0 -305
- package/dist/chunks/chunk-JEMOBNIP.js +0 -255
- package/dist/chunks/chunk-JEYPHD54.js +0 -127
- package/dist/chunks/chunk-JF3ZOOOP.js +0 -150
- package/dist/chunks/chunk-JGUHIFDA.js +0 -84
- package/dist/chunks/chunk-JIFB53CS.js +0 -81
- package/dist/chunks/chunk-JINU2PUT.js +0 -80
- package/dist/chunks/chunk-JKEH3R73.js +0 -257
- package/dist/chunks/chunk-JL6H7NKG.js +0 -201
- package/dist/chunks/chunk-JO25D2G4.js +0 -92
- package/dist/chunks/chunk-JOJFRREY.js +0 -172
- package/dist/chunks/chunk-JQL4QW7N.js +0 -213
- package/dist/chunks/chunk-JR4PBWD3.js +0 -23
- package/dist/chunks/chunk-JSINMXFK.js +0 -33
- package/dist/chunks/chunk-JSKTVMXD.js +0 -237
- package/dist/chunks/chunk-JSXJE5UZ.js +0 -102
- package/dist/chunks/chunk-JV4QWSOH.js +0 -160
- package/dist/chunks/chunk-JW6LPGKZ.js +0 -33
- package/dist/chunks/chunk-JWNRGC7R.js +0 -331
- package/dist/chunks/chunk-K2VI6GP7.js +0 -33
- package/dist/chunks/chunk-K5QVKZOP.js +0 -317
- package/dist/chunks/chunk-K5VBT37G.js +0 -298
- package/dist/chunks/chunk-K62I3ZDN.js +0 -135
- package/dist/chunks/chunk-K6LYC57K.js +0 -39
- package/dist/chunks/chunk-K6NKRRTN.js +0 -113
- package/dist/chunks/chunk-K7ED4L7C.js +0 -90
- package/dist/chunks/chunk-KEPSBWJQ.js +0 -273
- package/dist/chunks/chunk-KGZJUR3A.js +0 -1134
- package/dist/chunks/chunk-KH5ACWBS.js +0 -276
- package/dist/chunks/chunk-KHVHYQRZ.js +0 -290
- package/dist/chunks/chunk-KI7MAP4G.js +0 -86
- package/dist/chunks/chunk-KIXRJ4EL.js +0 -164
- package/dist/chunks/chunk-KLJZU24Q.js +0 -146
- package/dist/chunks/chunk-KM2HE5NK.js +0 -180
- package/dist/chunks/chunk-KNWFCL7D.js +0 -88
- package/dist/chunks/chunk-KNZ6DGMW.js +0 -153
- package/dist/chunks/chunk-KOMCFM7G.js +0 -136
- package/dist/chunks/chunk-KPVZQAHE.js +0 -162
- package/dist/chunks/chunk-KQISRLRG.js +0 -122
- package/dist/chunks/chunk-KRN4YWDU.js +0 -52
- package/dist/chunks/chunk-KS73RECQ.js +0 -214
- package/dist/chunks/chunk-KTAEJ443.js +0 -147
- package/dist/chunks/chunk-KVEMNFII.js +0 -327
- package/dist/chunks/chunk-KVPAFMLM.js +0 -277
- package/dist/chunks/chunk-KYBP26C2.js +0 -23
- package/dist/chunks/chunk-KZP6ZI7U.js +0 -129
- package/dist/chunks/chunk-L45XXIRE.js +0 -49
- package/dist/chunks/chunk-L5DIQEQX.js +0 -68
- package/dist/chunks/chunk-LDDZEYSB.js +0 -79
- package/dist/chunks/chunk-LDNJWUCI.js +0 -232
- package/dist/chunks/chunk-LDUW36DC.js +0 -209
- package/dist/chunks/chunk-LHPDODJ3.js +0 -135
- package/dist/chunks/chunk-LJCLML6O.js +0 -163
- package/dist/chunks/chunk-LJQPSOO5.js +0 -23
- package/dist/chunks/chunk-LK5KYR3E.js +0 -234
- package/dist/chunks/chunk-LLBJQOZZ.js +0 -92
- package/dist/chunks/chunk-LP6KG3S5.js +0 -228
- package/dist/chunks/chunk-LPZKSY2K.js +0 -23
- package/dist/chunks/chunk-LR6KD234.js +0 -188
- package/dist/chunks/chunk-LTMQABI2.js +0 -108
- package/dist/chunks/chunk-LW63VXKX.js +0 -78
- package/dist/chunks/chunk-LWWENV4Y.js +0 -564
- package/dist/chunks/chunk-LXIUMWWR.js +0 -390
- package/dist/chunks/chunk-LYFG7R2Z.js +0 -204
- package/dist/chunks/chunk-LYSPOZWH.js +0 -301
- package/dist/chunks/chunk-LZT2WEOR.js +0 -23
- package/dist/chunks/chunk-M4B5YHYU.js +0 -90
- package/dist/chunks/chunk-M4ZJ3T3V.js +0 -23
- package/dist/chunks/chunk-M6CD22GQ.js +0 -225
- package/dist/chunks/chunk-M6WSVXRM.js +0 -624
- package/dist/chunks/chunk-M7DGK5J2.js +0 -138
- package/dist/chunks/chunk-MALSFFFR.js +0 -33
- package/dist/chunks/chunk-MBKXEWQT.js +0 -336
- package/dist/chunks/chunk-MBPAAOH3.js +0 -33
- package/dist/chunks/chunk-MBWJ7BFQ.js +0 -152
- package/dist/chunks/chunk-MCH73XJK.js +0 -221
- package/dist/chunks/chunk-MDYRMIM2.js +0 -118
- package/dist/chunks/chunk-MEQ3ITLY.js +0 -84
- package/dist/chunks/chunk-MESLFUUE.js +0 -209
- package/dist/chunks/chunk-MFBITEJN.js +0 -120
- package/dist/chunks/chunk-MKB6I5OL.js +0 -167
- package/dist/chunks/chunk-MKHKOAXQ.js +0 -33
- package/dist/chunks/chunk-MLFX4YJZ.js +0 -206
- package/dist/chunks/chunk-MNOFBNJY.js +0 -23
- package/dist/chunks/chunk-MOBDD33G.js +0 -128
- package/dist/chunks/chunk-MRAPC2EM.js +0 -23
- package/dist/chunks/chunk-MRRP3B3J.js +0 -298
- package/dist/chunks/chunk-MRS5TJG4.js +0 -166
- package/dist/chunks/chunk-MTPNSGVB.js +0 -45
- package/dist/chunks/chunk-MUHZEHAO.js +0 -112
- package/dist/chunks/chunk-MUMR3ES5.js +0 -261
- package/dist/chunks/chunk-MUNIZFVL.js +0 -33
- package/dist/chunks/chunk-MVLGP6VR.js +0 -77
- package/dist/chunks/chunk-MW3EICB5.js +0 -106
- package/dist/chunks/chunk-MW3ZGWMI.js +0 -1802
- package/dist/chunks/chunk-MZB4VDTI.js +0 -78
- package/dist/chunks/chunk-MZLRY7TE.js +0 -134
- package/dist/chunks/chunk-N3OEG7P5.js +0 -279
- package/dist/chunks/chunk-N5D6DI5V.js +0 -174
- package/dist/chunks/chunk-N6IRTQQH.js +0 -95
- package/dist/chunks/chunk-NC64WULA.js +0 -163
- package/dist/chunks/chunk-NCRNNLPI.js +0 -86
- package/dist/chunks/chunk-NHCLGNMJ.js +0 -147
- package/dist/chunks/chunk-NHDHZ33Q.js +0 -73
- package/dist/chunks/chunk-NICHWX2F.js +0 -100
- package/dist/chunks/chunk-NJ6C4HH2.js +0 -244
- package/dist/chunks/chunk-NMXE67FJ.js +0 -152
- package/dist/chunks/chunk-NO4UB2EY.js +0 -79
- package/dist/chunks/chunk-NPF5NFLE.js +0 -191
- package/dist/chunks/chunk-NRAK2YLM.js +0 -137
- package/dist/chunks/chunk-NVGJJRH5.js +0 -217
- package/dist/chunks/chunk-NVRFBQP6.js +0 -85
- package/dist/chunks/chunk-NVYAO3JO.js +0 -177
- package/dist/chunks/chunk-NW7RV247.js +0 -287
- package/dist/chunks/chunk-NX5SZL3A.js +0 -266
- package/dist/chunks/chunk-NXAKNX2E.js +0 -99
- package/dist/chunks/chunk-NXDDGIDN.js +0 -138
- package/dist/chunks/chunk-NYBWG376.js +0 -89
- package/dist/chunks/chunk-O2RPB5XF.js +0 -126
- package/dist/chunks/chunk-O4HYKIC2.js +0 -85
- package/dist/chunks/chunk-OCRGVEZS.js +0 -256
- package/dist/chunks/chunk-OCSLOCGE.js +0 -23
- package/dist/chunks/chunk-OFXLIQAK.js +0 -305
- package/dist/chunks/chunk-OI2SULY7.js +0 -33
- package/dist/chunks/chunk-OIZKJJXE.js +0 -149
- package/dist/chunks/chunk-OJ7UTPJM.js +0 -231
- package/dist/chunks/chunk-OJUZV4TZ.js +0 -224
- package/dist/chunks/chunk-ONALLWZH.js +0 -103
- package/dist/chunks/chunk-OO6R62JI.js +0 -149
- package/dist/chunks/chunk-OOEUTSIX.js +0 -84
- package/dist/chunks/chunk-OOI2L6PA.js +0 -33
- package/dist/chunks/chunk-OPXRW4V4.js +0 -238
- package/dist/chunks/chunk-OSLAEMXU.js +0 -258
- package/dist/chunks/chunk-OSN4YOO5.js +0 -358
- package/dist/chunks/chunk-OXSGCF6B.js +0 -94
- package/dist/chunks/chunk-P4TFT6RQ.js +0 -240
- package/dist/chunks/chunk-P53IMLX3.js +0 -47
- package/dist/chunks/chunk-P5L4HLYC.js +0 -282
- package/dist/chunks/chunk-P66FMAJ6.js +0 -50
- package/dist/chunks/chunk-PCQ73V4R.js +0 -45
- package/dist/chunks/chunk-PD7DBRTM.js +0 -133
- package/dist/chunks/chunk-PEY6YWM2.js +0 -155
- package/dist/chunks/chunk-PF3AVJQF.js +0 -84
- package/dist/chunks/chunk-PGDSMSF4.js +0 -167
- package/dist/chunks/chunk-PHSUMRHC.js +0 -100
- package/dist/chunks/chunk-PJTHY5OM.js +0 -420
- package/dist/chunks/chunk-PKMPXT66.js +0 -200
- package/dist/chunks/chunk-PL7SPGZ7.js +0 -101
- package/dist/chunks/chunk-PMVRRKLB.js +0 -23
- package/dist/chunks/chunk-PRZWL2NJ.js +0 -192
- package/dist/chunks/chunk-PSQCXRDP.js +0 -283
- package/dist/chunks/chunk-PU2GA7KC.js +0 -149
- package/dist/chunks/chunk-PUCLRS36.js +0 -111
- package/dist/chunks/chunk-PWXVYCNO.js +0 -98
- package/dist/chunks/chunk-PXB4NAYQ.js +0 -96
- package/dist/chunks/chunk-PXZ56LAL.js +0 -172
- package/dist/chunks/chunk-Q2LSO3MQ.js +0 -160
- package/dist/chunks/chunk-Q3SDIFVW.js +0 -127
- package/dist/chunks/chunk-Q5MIDDKG.js +0 -261
- package/dist/chunks/chunk-Q744SNCX.js +0 -23
- package/dist/chunks/chunk-Q7FDOAZ3.js +0 -158
- package/dist/chunks/chunk-QAJJMQMN.js +0 -23
- package/dist/chunks/chunk-QBB6662I.js +0 -146
- package/dist/chunks/chunk-QBSO6YS6.js +0 -196
- package/dist/chunks/chunk-QG6OQTYZ.js +0 -84
- package/dist/chunks/chunk-QHGQDBGZ.js +0 -231
- package/dist/chunks/chunk-QHK752Q2.js +0 -85
- package/dist/chunks/chunk-QIFM7YT3.js +0 -23
- package/dist/chunks/chunk-QIXHKMVM.js +0 -96
- package/dist/chunks/chunk-QJ3JGNBE.js +0 -260
- package/dist/chunks/chunk-QJUUEEHG.js +0 -115
- package/dist/chunks/chunk-QKKTD3VZ.js +0 -187
- package/dist/chunks/chunk-QNDMLYSN.js +0 -74
- package/dist/chunks/chunk-QOTLX2II.js +0 -170
- package/dist/chunks/chunk-QPRUFRJX.js +0 -23
- package/dist/chunks/chunk-QSBLPAWR.js +0 -55
- package/dist/chunks/chunk-QSJSCMGW.js +0 -101
- package/dist/chunks/chunk-QTEHWFXN.js +0 -209
- package/dist/chunks/chunk-QTXDWOX4.js +0 -133
- package/dist/chunks/chunk-QUH5LBNH.js +0 -117
- package/dist/chunks/chunk-QW3EV6J3.js +0 -304
- package/dist/chunks/chunk-QWAKIP3W.js +0 -366
- package/dist/chunks/chunk-QX6JFUO4.js +0 -130
- package/dist/chunks/chunk-QXPC526J.js +0 -33
- package/dist/chunks/chunk-QXSI777H.js +0 -75
- package/dist/chunks/chunk-R4LRDOW2.js +0 -198
- package/dist/chunks/chunk-R63TSQZL.js +0 -272
- package/dist/chunks/chunk-R6CMSXFC.js +0 -97
- package/dist/chunks/chunk-R7LS46JH.js +0 -383
- package/dist/chunks/chunk-R7OSXC2O.js +0 -86
- package/dist/chunks/chunk-RBCZ2NNN.js +0 -79
- package/dist/chunks/chunk-RC4Q3YYE.js +0 -106
- package/dist/chunks/chunk-RESQZUCJ.js +0 -101
- package/dist/chunks/chunk-RFKDZSN3.js +0 -175
- package/dist/chunks/chunk-RGONBKG2.js +0 -175
- package/dist/chunks/chunk-RJ5MONJK.js +0 -49
- package/dist/chunks/chunk-RJYRTV7H.js +0 -162
- package/dist/chunks/chunk-RK34BG43.js +0 -161
- package/dist/chunks/chunk-RK7KMFEA.js +0 -23
- package/dist/chunks/chunk-RKW3UMBO.js +0 -333
- package/dist/chunks/chunk-RML6B5XV.js +0 -154
- package/dist/chunks/chunk-RMNYBBTA.js +0 -170
- package/dist/chunks/chunk-RMPS2BEQ.js +0 -346
- package/dist/chunks/chunk-ROIZLIYC.js +0 -97
- package/dist/chunks/chunk-RSCRGOM2.js +0 -180
- package/dist/chunks/chunk-RSQYQGAG.js +0 -237
- package/dist/chunks/chunk-RXGKHXNX.js +0 -142
- package/dist/chunks/chunk-RXXVRFHD.js +0 -90
- package/dist/chunks/chunk-RY2YVZLV.js +0 -128
- package/dist/chunks/chunk-S4ZQNHVD.js +0 -336
- package/dist/chunks/chunk-S5UCSDMV.js +0 -178
- package/dist/chunks/chunk-S6AALZVE.js +0 -94
- package/dist/chunks/chunk-S6YQKHFU.js +0 -151
- package/dist/chunks/chunk-S7VWEHF5.js +0 -197
- package/dist/chunks/chunk-SBQVPJDK.js +0 -71
- package/dist/chunks/chunk-SCZDUW2Y.js +0 -251
- package/dist/chunks/chunk-SDHXKIA6.js +0 -38
- package/dist/chunks/chunk-SEOBWZRN.js +0 -90
- package/dist/chunks/chunk-SEY4GM3K.js +0 -90
- package/dist/chunks/chunk-SFKMLNES.js +0 -263
- package/dist/chunks/chunk-SFNPABHZ.js +0 -220
- package/dist/chunks/chunk-SHZV6CEW.js +0 -42
- package/dist/chunks/chunk-SI3L2NAA.js +0 -160
- package/dist/chunks/chunk-SIEMDMRM.js +0 -120
- package/dist/chunks/chunk-SKE2NVNT.js +0 -41
- package/dist/chunks/chunk-SNHOFK5U.js +0 -324
- package/dist/chunks/chunk-SSANA57B.js +0 -1469
- package/dist/chunks/chunk-SXKWSQMG.js +0 -173
- package/dist/chunks/chunk-SZLF3NPW.js +0 -76
- package/dist/chunks/chunk-T2L43ZHM.js +0 -399
- package/dist/chunks/chunk-T3BBCS3Y.js +0 -277
- package/dist/chunks/chunk-T4LR2OIO.js +0 -33
- package/dist/chunks/chunk-T54DVU5T.js +0 -115
- package/dist/chunks/chunk-T6TQC3JL.js +0 -153
- package/dist/chunks/chunk-TBRNTYOX.js +0 -122
- package/dist/chunks/chunk-TFPHW7F4.js +0 -77
- package/dist/chunks/chunk-TFQI3JN6.js +0 -33
- package/dist/chunks/chunk-TFUPKAZL.js +0 -190
- package/dist/chunks/chunk-TG6XPSRV.js +0 -1307
- package/dist/chunks/chunk-TGBBMV2B.js +0 -45
- package/dist/chunks/chunk-TGM4RVES.js +0 -180
- package/dist/chunks/chunk-TI3XDNKX.js +0 -23
- package/dist/chunks/chunk-TKBNZQUM.js +0 -43
- package/dist/chunks/chunk-TLGIX5T3.js +0 -104
- package/dist/chunks/chunk-TMIX4VQX.js +0 -200
- package/dist/chunks/chunk-TN5IJVZG.js +0 -23
- package/dist/chunks/chunk-TR5GU36B.js +0 -133
- package/dist/chunks/chunk-TRMAHVB2.js +0 -117
- package/dist/chunks/chunk-TUKK5M23.js +0 -169
- package/dist/chunks/chunk-TUW5NGAW.js +0 -145
- package/dist/chunks/chunk-TUWZQQTV.js +0 -89
- package/dist/chunks/chunk-TWW7EEXK.js +0 -104
- package/dist/chunks/chunk-TXDWD2FP.js +0 -85
- package/dist/chunks/chunk-TZTWKEFJ.js +0 -39
- package/dist/chunks/chunk-TZZOCPKN.js +0 -202
- package/dist/chunks/chunk-U2AFCTY2.js +0 -218
- package/dist/chunks/chunk-U4I63BQR.js +0 -198
- package/dist/chunks/chunk-U4UBFK2K.js +0 -125
- package/dist/chunks/chunk-U5QYNE2V.js +0 -90
- package/dist/chunks/chunk-U5R3OMOL.js +0 -115
- package/dist/chunks/chunk-U5ZFEUBG.js +0 -217
- package/dist/chunks/chunk-UA5A7XPV.js +0 -23
- package/dist/chunks/chunk-UD55TR34.js +0 -93
- package/dist/chunks/chunk-UDLONUXV.js +0 -266
- package/dist/chunks/chunk-UE3HMW77.js +0 -147
- package/dist/chunks/chunk-UEMAISR2.js +0 -62
- package/dist/chunks/chunk-UFBWQVT7.js +0 -33
- package/dist/chunks/chunk-UGHGTBGK.js +0 -139
- package/dist/chunks/chunk-UGJC2BZR.js +0 -497
- package/dist/chunks/chunk-UHDRM7CX.js +0 -163
- package/dist/chunks/chunk-UJWRK53M.js +0 -10158
- package/dist/chunks/chunk-ULVGZHLB.js +0 -206
- package/dist/chunks/chunk-UPR5CVQ4.js +0 -166
- package/dist/chunks/chunk-UPSNTG3W.js +0 -728
- package/dist/chunks/chunk-URDA5ETG.js +0 -110
- package/dist/chunks/chunk-URQKJ7CK.js +0 -142
- package/dist/chunks/chunk-USXZH23J.js +0 -261
- package/dist/chunks/chunk-UT24T4LC.js +0 -391
- package/dist/chunks/chunk-UTFW4NPF.js +0 -261
- package/dist/chunks/chunk-UVPIPYOP.js +0 -36
- package/dist/chunks/chunk-UW2UUOQY.js +0 -93
- package/dist/chunks/chunk-UWQLDL3M.js +0 -93
- package/dist/chunks/chunk-UWVL3OYQ.js +0 -104
- package/dist/chunks/chunk-UWYM2OLB.js +0 -220
- package/dist/chunks/chunk-UX6XC76J.js +0 -109
- package/dist/chunks/chunk-UYFNI246.js +0 -168
- package/dist/chunks/chunk-UZCOKLXX.js +0 -204
- package/dist/chunks/chunk-V36JCFWW.js +0 -382
- package/dist/chunks/chunk-V3LAGBV3.js +0 -130
- package/dist/chunks/chunk-V4DGG6EU.js +0 -45
- package/dist/chunks/chunk-V4PEHE3K.js +0 -74
- package/dist/chunks/chunk-V4R3XE5L.js +0 -86
- package/dist/chunks/chunk-V7POMEXH.js +0 -41
- package/dist/chunks/chunk-VAW247EQ.js +0 -95
- package/dist/chunks/chunk-VBI2GAYY.js +0 -195
- package/dist/chunks/chunk-VEXAJBZ4.js +0 -207
- package/dist/chunks/chunk-VGTIIWGQ.js +0 -106
- package/dist/chunks/chunk-VHSISJN3.js +0 -150
- package/dist/chunks/chunk-VIYCAH7D.js +0 -166
- package/dist/chunks/chunk-VJN3ROZL.js +0 -50
- package/dist/chunks/chunk-VMUGZUIO.js +0 -23
- package/dist/chunks/chunk-VNNTTU6C.js +0 -23
- package/dist/chunks/chunk-VQWH6HO3.js +0 -106
- package/dist/chunks/chunk-VRCRUYS5.js +0 -113
- package/dist/chunks/chunk-VT5NKK53.js +0 -410
- package/dist/chunks/chunk-VTEKQXVY.js +0 -156
- package/dist/chunks/chunk-VTIVQH2Q.js +0 -33
- package/dist/chunks/chunk-VUL4MYMS.js +0 -45
- package/dist/chunks/chunk-VVJ52VZ4.js +0 -152
- package/dist/chunks/chunk-VWQDM6NF.js +0 -1574
- package/dist/chunks/chunk-VXOQAHDU.js +0 -1036
- package/dist/chunks/chunk-VXWL2TRV.js +0 -196
- package/dist/chunks/chunk-VYTT3AP5.js +0 -213
- package/dist/chunks/chunk-W2TZTS2A.js +0 -111
- package/dist/chunks/chunk-W33MZPVU.js +0 -80
- package/dist/chunks/chunk-W3NWNX7W.js +0 -208
- package/dist/chunks/chunk-W3UQNVJY.js +0 -116
- package/dist/chunks/chunk-W5RKJXJJ.js +0 -320
- package/dist/chunks/chunk-W7HPSUTM.js +0 -260
- package/dist/chunks/chunk-WAVI334U.js +0 -1393
- package/dist/chunks/chunk-WBJ6V6VP.js +0 -638
- package/dist/chunks/chunk-WDJHTJV5.js +0 -23
- package/dist/chunks/chunk-WDQLXOX2.js +0 -774
- package/dist/chunks/chunk-WFUK5P5O.js +0 -229
- package/dist/chunks/chunk-WFV7GPPX.js +0 -33
- package/dist/chunks/chunk-WJXNV7MB.js +0 -33
- package/dist/chunks/chunk-WLDISHRL.js +0 -149
- package/dist/chunks/chunk-WMUVRURV.js +0 -270
- package/dist/chunks/chunk-WMV42SZG.js +0 -546
- package/dist/chunks/chunk-WQ7OUZ3M.js +0 -441
- package/dist/chunks/chunk-WQPCAEBB.js +0 -98
- package/dist/chunks/chunk-WRLRYFQY.js +0 -141
- package/dist/chunks/chunk-WT6PD6KS.js +0 -28
- package/dist/chunks/chunk-WTDR6UBG.js +0 -163
- package/dist/chunks/chunk-WWW4YT5X.js +0 -106
- package/dist/chunks/chunk-WYKAS7FV.js +0 -123
- package/dist/chunks/chunk-X376NMZC.js +0 -185
- package/dist/chunks/chunk-X67CS7Y2.js +0 -1594
- package/dist/chunks/chunk-X6AUUTGT.js +0 -118
- package/dist/chunks/chunk-X7EDCD5U.js +0 -33
- package/dist/chunks/chunk-X7EEXOGR.js +0 -45
- package/dist/chunks/chunk-XB6PSDAI.js +0 -898
- package/dist/chunks/chunk-XCO4QLL2.js +0 -151
- package/dist/chunks/chunk-XCW5EU6H.js +0 -362
- package/dist/chunks/chunk-XFRC3KAW.js +0 -344
- package/dist/chunks/chunk-XGWOZAPL.js +0 -1309
- package/dist/chunks/chunk-XIKOYZ7M.js +0 -118
- package/dist/chunks/chunk-XJ6PSF4C.js +0 -192
- package/dist/chunks/chunk-XKEBONYU.js +0 -361
- package/dist/chunks/chunk-XL225LHT.js +0 -133
- package/dist/chunks/chunk-XLKLILD3.js +0 -99
- package/dist/chunks/chunk-XOERPM2G.js +0 -215
- package/dist/chunks/chunk-XOGIHATH.js +0 -110
- package/dist/chunks/chunk-XOUUUWKA.js +0 -307
- package/dist/chunks/chunk-XPPFSMZN.js +0 -122
- package/dist/chunks/chunk-XR276HXG.js +0 -117
- package/dist/chunks/chunk-XRIMCASR.js +0 -97
- package/dist/chunks/chunk-XSQIBVKU.js +0 -200
- package/dist/chunks/chunk-XV267JQK.js +0 -214
- package/dist/chunks/chunk-XVBXAVIW.js +0 -103
- package/dist/chunks/chunk-XYELX6AY.js +0 -189
- package/dist/chunks/chunk-Y35SGHCI.js +0 -159
- package/dist/chunks/chunk-Y65UTKWC.js +0 -97
- package/dist/chunks/chunk-Y72JRBHH.js +0 -72
- package/dist/chunks/chunk-YAG5PF32.js +0 -299
- package/dist/chunks/chunk-YFICGO5P.js +0 -121
- package/dist/chunks/chunk-YFW2YG5V.js +0 -159
- package/dist/chunks/chunk-YGL6RY2O.js +0 -163
- package/dist/chunks/chunk-YHSBKXX4.js +0 -83
- package/dist/chunks/chunk-YIHPWR4B.js +0 -104
- package/dist/chunks/chunk-YILTUEWN.js +0 -45
- package/dist/chunks/chunk-YIYRMV5D.js +0 -181
- package/dist/chunks/chunk-YIZMFVOL.js +0 -146
- package/dist/chunks/chunk-YJUHRDR2.js +0 -108
- package/dist/chunks/chunk-YKFHJZ3G.js +0 -192
- package/dist/chunks/chunk-YKVCH3PC.js +0 -179
- package/dist/chunks/chunk-YKYHDYSZ.js +0 -138
- package/dist/chunks/chunk-YLGD52RE.js +0 -182
- package/dist/chunks/chunk-YLTB766W.js +0 -304
- package/dist/chunks/chunk-YMVZX73D.js +0 -131
- package/dist/chunks/chunk-YNBFFASV.js +0 -161
- package/dist/chunks/chunk-YNSORY2L.js +0 -36
- package/dist/chunks/chunk-YNYCQJVE.js +0 -112
- package/dist/chunks/chunk-YNYSVNK7.js +0 -363
- package/dist/chunks/chunk-YP7SPTWJ.js +0 -109
- package/dist/chunks/chunk-YPSXGNOW.js +0 -136
- package/dist/chunks/chunk-YQJWAAZ2.js +0 -45
- package/dist/chunks/chunk-YRXCYRZE.js +0 -55
- package/dist/chunks/chunk-YTMJZ5KJ.js +0 -242
- package/dist/chunks/chunk-YTNICL7F.js +0 -100
- package/dist/chunks/chunk-YTS7F5PG.js +0 -119
- package/dist/chunks/chunk-YXX3SGLK.js +0 -290
- package/dist/chunks/chunk-YZE6O4KZ.js +0 -94
- package/dist/chunks/chunk-YZIFM43I.js +0 -154
- package/dist/chunks/chunk-YZXFUBVT.js +0 -30
- package/dist/chunks/chunk-Z3JDOUAC.js +0 -23
- package/dist/chunks/chunk-Z7YY2SQ3.js +0 -146
- package/dist/chunks/chunk-ZAF5HKO6.js +0 -108
- package/dist/chunks/chunk-ZAURBHOP.js +0 -47
- package/dist/chunks/chunk-ZFKH65ZJ.js +0 -119
- package/dist/chunks/chunk-ZFXKOKWP.js +0 -159
- package/dist/chunks/chunk-ZG5P4CU3.js +0 -52
- package/dist/chunks/chunk-ZGJCJ6VW.js +0 -36
- package/dist/chunks/chunk-ZGSQIFMM.js +0 -326
- package/dist/chunks/chunk-ZH3CM6YR.js +0 -589
- package/dist/chunks/chunk-ZIOA46WZ.js +0 -98
- package/dist/chunks/chunk-ZLDQVKFS.js +0 -165
- package/dist/chunks/chunk-ZOCAMOWL.js +0 -23
- package/dist/chunks/chunk-ZPCGTCZK.js +0 -177
- package/dist/chunks/chunk-ZPNPV3VF.js +0 -256
- package/dist/chunks/chunk-ZQ7WF73B.js +0 -100
- package/dist/chunks/chunk-ZQOPH6WM.js +0 -95
- package/dist/chunks/chunk-ZQWT4EUW.js +0 -738
- package/dist/chunks/chunk-ZRWVVPLF.js +0 -173
- package/dist/chunks/chunk-ZV4BR5YL.js +0 -41
- package/dist/chunks/chunk-ZVRLIXNP.js +0 -36
- package/dist/chunks/chunk-ZVYU7CFH.js +0 -231
- package/dist/chunks/client-RDEK7KQB.js +0 -31
- package/dist/chunks/client-TXBNCVEJ.js +0 -144
- package/dist/chunks/document-library-WOA2GD4A.js +0 -60
- package/dist/chunks/editor-seams-H457B6C5.js +0 -151
- package/dist/chunks/editor-store-YOZQMNAG.js +0 -131
- package/dist/chunks/export-WAMJLQLP.js +0 -59
- package/dist/chunks/eyedropper-ZZUSNF3M.js +0 -341
- package/dist/chunks/fonts-OHNDEQY7.js +0 -33
- package/dist/chunks/generate-media-QN4V6A6G.js +0 -244
- package/dist/chunks/host-2WSEZEC4.js +0 -232
- package/dist/chunks/host-6SN6DQMM.js +0 -162
- package/dist/chunks/invariants-KH7IP43Y.js +0 -58
- package/dist/chunks/json-export-4HQ6TAED.js +0 -22
- package/dist/chunks/kit-modules-DOPDTPXP.js +0 -18
- package/dist/chunks/libraries-ITZR7SBA.js +0 -294
- package/dist/chunks/library-previews-MR4AKKB3.js +0 -196
- package/dist/chunks/live-KP6WF5XQ.js +0 -304
- package/dist/chunks/lottie-L5VP6HAH.js +0 -81
- package/dist/chunks/media-store-NZ5PEDFP.js +0 -67
- package/dist/chunks/media-tool-GLZ2M65X.js +0 -322
- package/dist/chunks/new-file-Q4X65RKG.js +0 -121
- package/dist/chunks/pdf-6L6QTJQK.js +0 -1201
- package/dist/chunks/pdf-import-RQXLHJX3.js +0 -368
- package/dist/chunks/player-check-776TSM66.js +0 -108
- package/dist/chunks/plugin-OY6TLJQK.js +0 -111
- package/dist/chunks/plugin-import-D2AVK7SI.js +0 -644
- package/dist/chunks/presence-SPNPQ6S3.js +0 -119
- package/dist/chunks/preview-media-G4NKJERI.js +0 -118
- package/dist/chunks/profiles-6OQKDPK5.js +0 -47
- package/dist/chunks/project-JPNZIFO2.js +0 -1544
- package/dist/chunks/publish-site-7JCPS7OV.js +0 -149
- package/dist/chunks/raster-actions-HAS2FS2K.js +0 -221
- package/dist/chunks/reference-images-PPUYCNNS.js +0 -54
- package/dist/chunks/resolvers-OH5YD6V7.js +0 -128
- package/dist/chunks/runner-EINBYN6S.js +0 -1750
- package/dist/chunks/shader-preview-P2BJNX7H.js +0 -515
- package/dist/chunks/shaper-YYWIUM2X.js +0 -62
- package/dist/chunks/store-Q2BCRSKH.js +0 -214
- package/dist/chunks/svg-export-BEI7DZCC.js +0 -74
- package/dist/chunks/sync-VGFERAPA.js +0 -145
- package/dist/chunks/templates-TD2E65R4.js +0 -180
- package/dist/chunks/theme-store-IMCRB3MW.js +0 -39
- package/dist/chunks/tools-3ECE2VQB.js +0 -35
- package/dist/chunks/use-GQO3WJXM.js +0 -44
- package/dist/chunks/versions-SD67BJTS.js +0 -303
- package/dist/chunks/video-7JWE2LM7.js +0 -72
- package/dist/chunks/video-poster-MYIW5KEH.js +0 -65
- /package/dist/chunks/{chunk-24IN63HZ.js → chunk-2RQNWBWP.js} +0 -0
|
@@ -1,1544 +0,0 @@
|
|
|
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-TWYPUUCX.js";
|
|
12
|
-
import {
|
|
13
|
-
componentName,
|
|
14
|
-
escapeHTML,
|
|
15
|
-
fileBase,
|
|
16
|
-
fontsURL,
|
|
17
|
-
serializeHTML,
|
|
18
|
-
serializeReact,
|
|
19
|
-
tokensCSS,
|
|
20
|
-
withoutScreenIslands
|
|
21
|
-
} from "./chunk-3S3DKPRB.js";
|
|
22
|
-
import "./chunk-56ZEHCXE.js";
|
|
23
|
-
import "./chunk-RBSH6ULC.js";
|
|
24
|
-
import {
|
|
25
|
-
hrefOf,
|
|
26
|
-
opensNewTab
|
|
27
|
-
} from "./chunk-2N4GEDVH.js";
|
|
28
|
-
import "./chunk-2KNH6GHZ.js";
|
|
29
|
-
import {
|
|
30
|
-
usesSignIn
|
|
31
|
-
} from "./chunk-CWPGY66F.js";
|
|
32
|
-
import "./chunk-GMTELA2X.js";
|
|
33
|
-
import "./chunk-KUYZCKKG.js";
|
|
34
|
-
import "./chunk-RCXEWLK4.js";
|
|
35
|
-
import "./chunk-5MV6UT73.js";
|
|
36
|
-
import "./chunk-Z5W633QZ.js";
|
|
37
|
-
import "./chunk-QTXG3P6E.js";
|
|
38
|
-
import "./chunk-KSTPZPHR.js";
|
|
39
|
-
import "./chunk-UWFKBSEA.js";
|
|
40
|
-
import {
|
|
41
|
-
ITEM_RECORD,
|
|
42
|
-
copyRecord,
|
|
43
|
-
itemText,
|
|
44
|
-
layerId,
|
|
45
|
-
repeatRecords
|
|
46
|
-
} from "./chunk-7T2LGKW3.js";
|
|
47
|
-
import {
|
|
48
|
-
SESSION_COOKIE,
|
|
49
|
-
USER_VARIABLES,
|
|
50
|
-
fieldKey,
|
|
51
|
-
visitorCollections
|
|
52
|
-
} from "./chunk-3Q7CE6UV.js";
|
|
53
|
-
import {
|
|
54
|
-
manifest_default
|
|
55
|
-
} from "./chunk-AVWA3JAF.js";
|
|
56
|
-
import {
|
|
57
|
-
GOOGLE_FONTS,
|
|
58
|
-
NON_VARIABLE_FONTS
|
|
59
|
-
} from "./chunk-YNO3QLYA.js";
|
|
60
|
-
import "./chunk-G6PLJOZD.js";
|
|
61
|
-
import "./chunk-X4DVNQI3.js";
|
|
62
|
-
import "./chunk-5ZLWYERB.js";
|
|
63
|
-
import "./chunk-OZYVSHLG.js";
|
|
64
|
-
import "./chunk-7KUBG4OK.js";
|
|
65
|
-
import "./chunk-GFJSGDIQ.js";
|
|
66
|
-
import "./chunk-3HE7GOUI.js";
|
|
67
|
-
import "./chunk-C5LXC6FP.js";
|
|
68
|
-
import "./chunk-IQSICDD6.js";
|
|
69
|
-
import "./chunk-SUSSVJC3.js";
|
|
70
|
-
import "./chunk-6NEGHQ5E.js";
|
|
71
|
-
import "./chunk-ZWQWNYFU.js";
|
|
72
|
-
import "./chunk-7XMQXO63.js";
|
|
73
|
-
import "./chunk-AZHQOV5R.js";
|
|
74
|
-
import "./chunk-RFDUWXPM.js";
|
|
75
|
-
import "./chunk-D4HKQYKG.js";
|
|
76
|
-
import {
|
|
77
|
-
init_expressions,
|
|
78
|
-
parseExpression
|
|
79
|
-
} from "./chunk-OKVNWDZ4.js";
|
|
80
|
-
import "./chunk-KNV6GFRJ.js";
|
|
81
|
-
import "./chunk-N5LXY3IK.js";
|
|
82
|
-
import "./chunk-U36DD7HV.js";
|
|
83
|
-
import "./chunk-XS2Q4PLU.js";
|
|
84
|
-
import "./chunk-H63VBO2B.js";
|
|
85
|
-
import "./chunk-NZORNNKA.js";
|
|
86
|
-
import "./chunk-K6M5VPOB.js";
|
|
87
|
-
import "./chunk-N6FQP7G2.js";
|
|
88
|
-
import "./chunk-XRWGH5DU.js";
|
|
89
|
-
import "./chunk-CJKMAR5E.js";
|
|
90
|
-
import "./chunk-GMIB3NGU.js";
|
|
91
|
-
import "./chunk-XJK23Q4W.js";
|
|
92
|
-
import "./chunk-CLEJFPDI.js";
|
|
93
|
-
import {
|
|
94
|
-
init_define_POPCRAFT_COMPONENT_IDS
|
|
95
|
-
} from "./chunk-ZOK5FKD3.js";
|
|
96
|
-
import "./chunk-LJSVREWM.js";
|
|
97
|
-
|
|
98
|
-
// lib/io/web/project/index.ts
|
|
99
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
100
|
-
|
|
101
|
-
// lib/io/web/project/assets.ts
|
|
102
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
103
|
-
var ASSET_DIR = "assets/";
|
|
104
|
-
var EXT = { "image/png": "png", "image/jpeg": "jpg", "image/webp": "webp", "image/gif": "gif", "image/avif": "avif" };
|
|
105
|
-
var DATA = /data:(image\/(?:png|jpeg|webp|gif|avif));base64,([A-Za-z0-9+/=]+)/g;
|
|
106
|
-
var eachNode = (n, fn) => {
|
|
107
|
-
fn(n);
|
|
108
|
-
n.children.forEach((c) => eachNode(c, fn));
|
|
109
|
-
for (const v of Object.values(n.variants ?? {})) eachNode(v, fn);
|
|
110
|
-
};
|
|
111
|
-
function externalizeBitmaps(site) {
|
|
112
|
-
const files = [];
|
|
113
|
-
const names = /* @__PURE__ */ new Map();
|
|
114
|
-
const fileFor = (type, base64) => {
|
|
115
|
-
const hit = names.get(base64);
|
|
116
|
-
if (hit) return hit;
|
|
117
|
-
const name = `${ASSET_DIR}img-${names.size + 1}.${EXT[type]}`;
|
|
118
|
-
names.set(base64, name);
|
|
119
|
-
files.push({ path: name, content: Uint8Array.from(atob(base64), (c) => c.charCodeAt(0)) });
|
|
120
|
-
return name;
|
|
121
|
-
};
|
|
122
|
-
const move = (text) => text.replace(DATA, (_m, type, base64) => fileFor(type, base64));
|
|
123
|
-
for (const page of site.pages) {
|
|
124
|
-
eachNode(page.tree.root, (n) => {
|
|
125
|
-
const a = n.asset;
|
|
126
|
-
if (a?.pngDataUrl) {
|
|
127
|
-
a.src = move(a.pngDataUrl);
|
|
128
|
-
delete a.pngDataUrl;
|
|
129
|
-
}
|
|
130
|
-
for (const k in n.style) if (n.style[k].includes("data:image/")) n.style[k] = move(n.style[k]);
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
return files;
|
|
134
|
-
}
|
|
135
|
-
var REF = new RegExp(`(^|['"(])${ASSET_DIR}`, "g");
|
|
136
|
-
function withAssetBase(value, prefix) {
|
|
137
|
-
if (!prefix) return value;
|
|
138
|
-
const at = (text) => text.replace(REF, (_m, lead) => `${lead}${prefix}${ASSET_DIR}`);
|
|
139
|
-
const node = (n) => ({
|
|
140
|
-
...n,
|
|
141
|
-
...n.asset?.src?.startsWith(ASSET_DIR) ? { asset: { ...n.asset, src: prefix + n.asset.src } } : {},
|
|
142
|
-
style: Object.fromEntries(Object.entries(n.style).map(([k, v]) => [k, v.includes(ASSET_DIR) ? at(v) : v])),
|
|
143
|
-
children: n.children.map(node),
|
|
144
|
-
...n.variants ? { variants: Object.fromEntries(Object.entries(n.variants).map(([k, v]) => [k, node(v)])) } : {}
|
|
145
|
-
});
|
|
146
|
-
if ("pages" in value) return { ...value, pages: value.pages.map((p) => ({ ...p, tree: { ...p.tree, root: node(p.tree.root) } })) };
|
|
147
|
-
return node(value);
|
|
148
|
-
}
|
|
149
|
-
var APP_REF = /url\((['"]?)(\/(?!\/)[^'")\s]+)\1\)/g;
|
|
150
|
-
function appAssetPaths(site) {
|
|
151
|
-
const out = /* @__PURE__ */ new Set();
|
|
152
|
-
const own = (p) => p.startsWith(`/${ASSET_DIR}`) || p.startsWith("/_pc/") || p.startsWith("/pc/");
|
|
153
|
-
for (const page of site.pages) eachNode(page.tree.root, (n) => {
|
|
154
|
-
if (n.asset?.src?.startsWith("/") && !n.asset.src.startsWith("//") && !own(n.asset.src)) out.add(n.asset.src.split(/[?#]/)[0]);
|
|
155
|
-
for (const v of Object.values(n.style)) for (const m of v.matchAll(APP_REF)) if (!own(m[2])) out.add(m[2].split(/[?#]/)[0]);
|
|
156
|
-
});
|
|
157
|
-
if (site.islands && Object.keys(site.islands).length) for (const face of manifest_default.faces) out.add(`/fonts/fallback/${face.file}`);
|
|
158
|
-
return [...out].sort();
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// lib/io/web/project/build.ts
|
|
162
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
163
|
-
|
|
164
|
-
// lib/io/web/project/static.ts
|
|
165
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
166
|
-
|
|
167
|
-
// lib/site/live.ts
|
|
168
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
169
|
-
var HAS_ITEM = /\{\{\s*item[._]/;
|
|
170
|
-
function asRecords(doc, collectionId, rows) {
|
|
171
|
-
const collection = doc.collections?.[collectionId];
|
|
172
|
-
if (!collection) return [];
|
|
173
|
-
const made = (r) => new Date(r.createdAt).toLocaleDateString(void 0, { weekday: "short", day: "numeric", month: "short" });
|
|
174
|
-
return rows.map((r) => ({ id: r.id, collectionId, createdAt: r.createdAt, ...r.by !== void 0 ? { by: r.by } : {}, ...r.mine !== void 0 ? { mine: r.mine } : {}, values: Object.fromEntries(collection.fields.map((f) => {
|
|
175
|
-
const v = r.values[fieldKey(f.name)];
|
|
176
|
-
return [f.id, (v === null || v === void 0 || v === "") && f.type === "DATE" ? made(r) : v ?? void 0];
|
|
177
|
-
})) }));
|
|
178
|
-
}
|
|
179
|
-
function withVisitorRecords(site, collectionId, rows) {
|
|
180
|
-
const doc = site.program.document;
|
|
181
|
-
const collection = doc.collections?.[collectionId];
|
|
182
|
-
if (!collection) return site;
|
|
183
|
-
const records = asRecords(doc, collectionId, rows);
|
|
184
|
-
const samples = new Set(Object.values(doc.records ?? {}).filter((r) => r.collectionId === collectionId).map((r) => r.id));
|
|
185
|
-
const copyFor = (node, sample, record, above) => {
|
|
186
|
-
const id = node.id.split(`~${sample}`).join(`~${record.id}`);
|
|
187
|
-
const control = doc.nodes[layerId(node.id)]?.control;
|
|
188
|
-
const next = { ...node, id, children: node.children.map((c) => copyFor(c, sample, record, control)) };
|
|
189
|
-
if (next.tag === "button" && next.attrs?.value !== void 0 && control?.value && HAS_ITEM.test(control.value)) next.attrs = { ...next.attrs, value: itemText(control.value, collection, record) };
|
|
190
|
-
const starts = (control ?? above)?.value;
|
|
191
|
-
if (next.input && starts && HAS_ITEM.test(starts)) {
|
|
192
|
-
const value = itemText(starts, collection, record);
|
|
193
|
-
next.input = next.input.tag === "input" ? { ...next.input, attrs: { ...next.input.attrs, value } } : { ...next.input, value };
|
|
194
|
-
}
|
|
195
|
-
const written = doc.nodes[layerId(node.id)]?.characters;
|
|
196
|
-
if (next.text && written && HAS_ITEM.test(written)) {
|
|
197
|
-
next.text = { ...next.text, characters: itemText(written, collection, record) };
|
|
198
|
-
delete next.runs;
|
|
199
|
-
}
|
|
200
|
-
return next;
|
|
201
|
-
};
|
|
202
|
-
const others = Object.fromEntries(Object.entries(doc.records ?? {}).filter(([, r]) => r.collectionId !== collectionId));
|
|
203
|
-
const document = {
|
|
204
|
-
...doc,
|
|
205
|
-
records: { ...others, ...Object.fromEntries(records.map((r) => [r.id, r])) },
|
|
206
|
-
collections: { ...doc.collections, [collectionId]: { ...collection, order: records.map((r) => r.id) } }
|
|
207
|
-
};
|
|
208
|
-
const fill = (node) => {
|
|
209
|
-
const repeat = doc.nodes[layerId(node.id)]?.repeat;
|
|
210
|
-
if (repeat?.collectionId !== collectionId) return { ...node, children: node.children.map(fill) };
|
|
211
|
-
const first = node.children.map((c) => copyRecord(c.id)).find((r) => !!r && samples.has(r));
|
|
212
|
-
if (!first) return node;
|
|
213
|
-
const pattern = node.children.filter((c) => copyRecord(c.id) === first);
|
|
214
|
-
const kept = node.children.filter((c) => {
|
|
215
|
-
const r = copyRecord(c.id);
|
|
216
|
-
return !r || !samples.has(r);
|
|
217
|
-
});
|
|
218
|
-
const shown = repeatRecords(document, repeat);
|
|
219
|
-
return { ...node, children: [...kept, ...shown.flatMap((record) => pattern.map((c) => copyFor(c, first, record)))] };
|
|
220
|
-
};
|
|
221
|
-
return { ...site, pages: site.pages.map((p) => ({ ...p, tree: { ...p.tree, root: fill(p.tree.root) } })), program: { ...site.program, document } };
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
// lib/sites/data.ts
|
|
225
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
226
|
-
|
|
227
|
-
// lib/io/web/project/static.ts
|
|
228
|
-
function pageHTML(site, page, lang, lost = false) {
|
|
229
|
-
const up = lost ? "/" : routeUp(page.route);
|
|
230
|
-
const fonts = fontsURL(site.fonts.map((f) => [f.family, f.weights]));
|
|
231
|
-
const rules = [
|
|
232
|
-
"html,body{margin:0;height:100%}#pc-root{min-height:100%;position:relative}*{box-sizing:border-box}",
|
|
233
|
-
...site.tokens ? tokensCSS(site.tokens) : [],
|
|
234
|
-
...page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []
|
|
235
|
-
];
|
|
236
|
-
const body = serializeHTML({ ...page.tree, root: withAssetBase(page.tree.root, up) }, { inline: true, ids: true });
|
|
237
|
-
const unseen = page.access === "signedIn" ? ' style="visibility:hidden"' : "";
|
|
238
|
-
return [
|
|
239
|
-
"<!DOCTYPE html>",
|
|
240
|
-
`<html lang="${escapeHTML(lang)}">`,
|
|
241
|
-
"<head>",
|
|
242
|
-
'<meta charset="utf-8" />',
|
|
243
|
-
'<meta name="viewport" content="width=device-width, initial-scale=1" />',
|
|
244
|
-
`<title>${escapeHTML(page.title)}</title>`,
|
|
245
|
-
...page.description ? [`<meta name="description" content="${escapeHTML(page.description)}" />`] : [],
|
|
246
|
-
...fonts ? [`<link id="pc-fonts" rel="stylesheet" href="${escapeHTML(fonts)}" />`] : [],
|
|
247
|
-
`<style>
|
|
248
|
-
${rules.join("\n")}
|
|
249
|
-
</style>`,
|
|
250
|
-
"</head>",
|
|
251
|
-
"<body>",
|
|
252
|
-
`<div id="pc-root"${unseen}>
|
|
253
|
-
${body}
|
|
254
|
-
</div>`,
|
|
255
|
-
`<script src="${up}pc/site.js" data-site="${up}site.json" data-route="${lost ? "" : escapeHTML(page.route)}" data-start="${escapeHTML(page.id)}"></script>`,
|
|
256
|
-
"</body>",
|
|
257
|
-
"</html>",
|
|
258
|
-
""
|
|
259
|
-
].join("\n");
|
|
260
|
-
}
|
|
261
|
-
function staticSiteFiles(site, scripts, opts = {}) {
|
|
262
|
-
const lang = opts.lang ?? "en";
|
|
263
|
-
const files = externalizeBitmaps(site);
|
|
264
|
-
const taken = /* @__PURE__ */ new Set();
|
|
265
|
-
const still = visitorCollections(site.program.document.collections).reduce((s, c) => withVisitorRecords(s, c.id, []), site);
|
|
266
|
-
for (const page of still.pages) {
|
|
267
|
-
const path = page.notFound ? "404.html" : routeFile(page.route);
|
|
268
|
-
if (taken.has(path)) continue;
|
|
269
|
-
taken.add(path);
|
|
270
|
-
files.push({ path, content: pageHTML(still, page, lang, !!page.notFound) });
|
|
271
|
-
}
|
|
272
|
-
files.push({ path: "site.json", content: JSON.stringify(site) });
|
|
273
|
-
files.push({ path: "pc/site.js", content: scripts.site });
|
|
274
|
-
if (site.islands && scripts.island) files.push({ path: "pc/island.js", content: scripts.island });
|
|
275
|
-
if (site.code && scripts.code) files.push({ path: "pc/code.js", content: scripts.code });
|
|
276
|
-
return files;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// lib/io/web/project/next.ts
|
|
280
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
281
|
-
|
|
282
|
-
// lib/io/web/project/behaviour.ts
|
|
283
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
284
|
-
init_expressions();
|
|
285
|
-
var identFor = (name) => {
|
|
286
|
-
const last = name.split("/").pop().replace(/[^A-Za-z0-9]+(.)?/g, (_m, c) => c ? c.toUpperCase() : "");
|
|
287
|
-
const id = last.charAt(0).toLowerCase() + last.slice(1);
|
|
288
|
-
return /^[A-Za-z_$]/.test(id) && !RESERVED.has(id) ? id : `v${id.charAt(0).toUpperCase()}${id.slice(1)}`;
|
|
289
|
-
};
|
|
290
|
-
var RESERVED = /* @__PURE__ */ new Set(["break", "case", "catch", "class", "const", "continue", "default", "delete", "do", "else", "export", "extends", "false", "finally", "for", "function", "if", "import", "in", "instanceof", "new", "null", "return", "super", "switch", "this", "throw", "true", "try", "typeof", "var", "void", "while", "with", "let", "static", "yield", "await", "set", "v"]);
|
|
291
|
-
var TS_TYPE = { BOOLEAN: "boolean", FLOAT: "number", STRING: "string", COLOR: "string" };
|
|
292
|
-
var DATA_FUNCTIONS = /* @__PURE__ */ new Set(["count", "sum", "distinct", "best", "countSince", "sumSince", "countOn", "streak"]);
|
|
293
|
-
var STYLE_PROPS = {
|
|
294
|
-
opacity: (e) => ["opacity", e],
|
|
295
|
-
width: (e) => ["width", `\`\${${e}}px\``],
|
|
296
|
-
height: (e) => ["height", `\`\${${e}}px\``],
|
|
297
|
-
rotation: (e) => ["rotate", `\`\${${e}}deg\``],
|
|
298
|
-
cornerRadius: (e) => ["borderRadius", `\`\${${e}}px\``]
|
|
299
|
-
};
|
|
300
|
-
function behaviourOf(site) {
|
|
301
|
-
const doc = site.program?.document ?? { nodes: {} };
|
|
302
|
-
const vars = Object.values(doc.variables ?? {});
|
|
303
|
-
const taken = /* @__PURE__ */ new Set();
|
|
304
|
-
const variables = vars.map((v) => {
|
|
305
|
-
let ident = identFor(v.name);
|
|
306
|
-
for (let n = 2; taken.has(ident); n++) ident = `${identFor(v.name)}${n}`;
|
|
307
|
-
taken.add(ident);
|
|
308
|
-
const coll = doc.variableCollections?.[v.variableCollectionId];
|
|
309
|
-
const raw = v.valuesByMode[coll?.defaultModeId ?? Object.keys(v.valuesByMode)[0]];
|
|
310
|
-
const type = TS_TYPE[v.type] ?? "string";
|
|
311
|
-
const initial = type === "boolean" ? String(!!raw) : type === "number" ? String(Number(raw) || 0) : JSON.stringify(typeof raw === "string" ? raw : raw && typeof raw === "object" && "r" in raw ? colorHex(raw) : "");
|
|
312
|
-
return { id: v.id, name: v.name, ident, type, initial };
|
|
313
|
-
});
|
|
314
|
-
const byId = new Map(variables.map((v) => [v.id, v]));
|
|
315
|
-
const byFull = new Map(variables.map((v) => [v.name, v]));
|
|
316
|
-
const short = /* @__PURE__ */ new Map();
|
|
317
|
-
for (const v of variables) {
|
|
318
|
-
const last = v.name.split("/").pop();
|
|
319
|
-
short.set(last, short.has(last) ? null : v);
|
|
320
|
-
}
|
|
321
|
-
const find = (name) => byFull.get(name) ?? short.get(name) ?? void 0;
|
|
322
|
-
const overlays = /* @__PURE__ */ new Set();
|
|
323
|
-
const missingByScreen = /* @__PURE__ */ new Map();
|
|
324
|
-
const screenOf = (id) => {
|
|
325
|
-
let at = id;
|
|
326
|
-
while (at) {
|
|
327
|
-
const n = doc.nodes[at];
|
|
328
|
-
if (!n) return null;
|
|
329
|
-
if (doc.nodes[n.parentId ?? ""]?.type === "PAGE") return at;
|
|
330
|
-
at = n.parentId;
|
|
331
|
-
}
|
|
332
|
-
return null;
|
|
333
|
-
};
|
|
334
|
-
const miss = (nodeId, what) => {
|
|
335
|
-
const s = screenOf(nodeId);
|
|
336
|
-
if (s) (missingByScreen.get(s) ?? missingByScreen.set(s, /* @__PURE__ */ new Set()).get(s)).add(what);
|
|
337
|
-
};
|
|
338
|
-
let inItem = false;
|
|
339
|
-
const within = (webId, f) => {
|
|
340
|
-
const was = inItem;
|
|
341
|
-
inItem = webId.includes(`~${ITEM_RECORD}`);
|
|
342
|
-
try {
|
|
343
|
-
return f();
|
|
344
|
-
} finally {
|
|
345
|
-
inItem = was;
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
const expr = (src, o = {}) => {
|
|
349
|
-
let tree;
|
|
350
|
-
try {
|
|
351
|
-
tree = parseExpression(src, (name) => byFull.has(name));
|
|
352
|
-
} catch {
|
|
353
|
-
return null;
|
|
354
|
-
}
|
|
355
|
-
const go = (n) => {
|
|
356
|
-
switch (n.k) {
|
|
357
|
-
case "lit":
|
|
358
|
-
return JSON.stringify(n.v);
|
|
359
|
-
case "key":
|
|
360
|
-
return o.key ?? '""';
|
|
361
|
-
case "var": {
|
|
362
|
-
const field = inItem ? /^item[._](.+)$/.exec(n.name)?.[1] : void 0;
|
|
363
|
-
if (field) return `itemField(item, ${JSON.stringify(field)})`;
|
|
364
|
-
const v = find(n.name);
|
|
365
|
-
if (!v && inItem) return `itemField(item, ${JSON.stringify(n.name)})`;
|
|
366
|
-
if (!v) {
|
|
367
|
-
if (o.at) miss(o.at, `the value "${n.name}"`);
|
|
368
|
-
return null;
|
|
369
|
-
}
|
|
370
|
-
return `v.${v.ident}`;
|
|
371
|
-
}
|
|
372
|
-
case "un": {
|
|
373
|
-
const a = go(n.a);
|
|
374
|
-
return a === null ? null : n.op === "-" ? `ops.neg(${a})` : `ops.not(${a})`;
|
|
375
|
-
}
|
|
376
|
-
case "if": {
|
|
377
|
-
const c = go(n.c), a = go(n.a), b = go(n.b);
|
|
378
|
-
return c === null || a === null || b === null ? null : `(truthy(${c}) ? ${a} : ${b})`;
|
|
379
|
-
}
|
|
380
|
-
case "call": {
|
|
381
|
-
const args = n.args.map(go);
|
|
382
|
-
if (args.some((a) => a === null)) return null;
|
|
383
|
-
const over = DATA_FUNCTIONS.has(n.fn) && collections.length ? "site.call" : "call";
|
|
384
|
-
return `${over}(${JSON.stringify(n.fn)}${args.map((a) => `, ${a}`).join("")})`;
|
|
385
|
-
}
|
|
386
|
-
case "bin": {
|
|
387
|
-
const a = go(n.a), b = go(n.b);
|
|
388
|
-
if (a === null || b === null) return null;
|
|
389
|
-
if (n.op === "&&") return `(truthy(${a}) ? ${b} : ${a})`;
|
|
390
|
-
if (n.op === "||") return `(truthy(${a}) ? ${a} : ${b})`;
|
|
391
|
-
const op = { "+": "add", "-": "sub", "*": "mul", "/": "div", "%": "mod", "<": "lt", "<=": "le", ">": "gt", ">=": "ge", "==": "eq", "!=": "ne" }[n.op];
|
|
392
|
-
return op ? `ops.${op}(${a}, ${b})` : null;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
return null;
|
|
396
|
-
};
|
|
397
|
-
return go(tree);
|
|
398
|
-
};
|
|
399
|
-
const routeOf = (screenId) => screenId ? site.pages.find((p) => p.id === screenId && !p.record)?.route ?? null : null;
|
|
400
|
-
const setter = (a, key, at) => {
|
|
401
|
-
const v = a.variableId ? byId.get(a.variableId) : void 0;
|
|
402
|
-
if (!v) return null;
|
|
403
|
-
if (a.variableToggle) return `set(${JSON.stringify(v.ident)}, !v.${v.ident})`;
|
|
404
|
-
if (a.variableExpression?.trim()) {
|
|
405
|
-
const e = expr(a.variableExpression, { key, at });
|
|
406
|
-
if (e === null) return null;
|
|
407
|
-
const coerce = v.type === "number" ? `num(${e})` : v.type === "boolean" ? `truthy(${e})` : `exprText(${e})`;
|
|
408
|
-
return `set(${JSON.stringify(v.ident)}, ${coerce})`;
|
|
409
|
-
}
|
|
410
|
-
const raw = a.variableValue;
|
|
411
|
-
const literal = v.type === "number" ? String(Number(raw) || 0) : v.type === "boolean" ? String(raw === true || raw === "true") : JSON.stringify(typeof raw === "string" ? raw : raw == null ? "" : String(raw));
|
|
412
|
-
return `set(${JSON.stringify(v.ident)}, ${literal})`;
|
|
413
|
-
};
|
|
414
|
-
const statements = (a, at, key, changeTo) => {
|
|
415
|
-
switch (a.navigationType) {
|
|
416
|
-
case "NAVIGATE": {
|
|
417
|
-
const r = routeOf(a.destinationId);
|
|
418
|
-
if (r) return [`router.push(${JSON.stringify(r)})`];
|
|
419
|
-
miss(at, "a go to a frame that is not one of the pages");
|
|
420
|
-
return [];
|
|
421
|
-
}
|
|
422
|
-
case "BACK":
|
|
423
|
-
return ["router.back()"];
|
|
424
|
-
case "OPEN_URL": {
|
|
425
|
-
const link = a.link;
|
|
426
|
-
if (!link) return [];
|
|
427
|
-
if (link.kind === "screen") return statements({ ...a, navigationType: "NAVIGATE", destinationId: link.frameId }, at, key);
|
|
428
|
-
if (link.kind === "anchor") return statements({ ...a, navigationType: "SCROLL_TO", destinationId: link.nodeId }, at, key);
|
|
429
|
-
const href = hrefOf(link, doc.nodes);
|
|
430
|
-
return href ? [opensNewTab(link) ? `window.open(${JSON.stringify(href)}, '_blank', 'noopener')` : `window.location.assign(${JSON.stringify(href)})`] : [];
|
|
431
|
-
}
|
|
432
|
-
case "SCROLL_TO":
|
|
433
|
-
return a.destinationId ? [`document.querySelector(${JSON.stringify(`[data-pc-id="${a.destinationId}"]`)})?.scrollIntoView({ behavior: 'smooth' })`] : [];
|
|
434
|
-
case "SET_VARIABLE": {
|
|
435
|
-
const s = setter(a, key, at);
|
|
436
|
-
if (s) return [s];
|
|
437
|
-
miss(at, "a Set variable");
|
|
438
|
-
return [];
|
|
439
|
-
}
|
|
440
|
-
case "CONDITIONAL": {
|
|
441
|
-
const out = [];
|
|
442
|
-
(a.branches ?? []).forEach((b, i) => {
|
|
443
|
-
const body = b.actions.flatMap((x) => statements(x, at, key, changeTo));
|
|
444
|
-
const cond = b.condition?.trim() ? expr(b.condition, { key, at }) : null;
|
|
445
|
-
if (b.condition?.trim() && cond === null) return;
|
|
446
|
-
const head = !b.condition?.trim() ? i ? "else" : "" : `${i ? "else " : ""}if (truthy(${cond}))`;
|
|
447
|
-
out.push(`${head}${head ? " " : ""}{ ${body.join("; ")} }`);
|
|
448
|
-
});
|
|
449
|
-
return out.length ? [out.join(" ")] : [];
|
|
450
|
-
}
|
|
451
|
-
case "OVERLAY":
|
|
452
|
-
case "SWAP": {
|
|
453
|
-
if (!routeOf(a.destinationId)) {
|
|
454
|
-
miss(at, "an overlay of a frame that is not one of the pages");
|
|
455
|
-
return [];
|
|
456
|
-
}
|
|
457
|
-
overlays.add(a.destinationId);
|
|
458
|
-
const bg = a.overlayBackground;
|
|
459
|
-
const opts = [`position: ${JSON.stringify(a.overlayPosition ?? "CENTER")}`, ...bg ? [`dim: ${JSON.stringify(`rgba(${Math.round(bg.color.r * 255)}, ${Math.round(bg.color.g * 255)}, ${Math.round(bg.color.b * 255)}, ${bg.opacity})`)}`] : [], ...a.closeOnOutsideClick ? ["closeOnOutside: true"] : [], ...a.overlayOffset ? [`offset: ${JSON.stringify(a.overlayOffset)}`] : []];
|
|
460
|
-
return [`overlays.${a.navigationType === "SWAP" ? "swap" : "open"}(${JSON.stringify(a.destinationId)}, { ${opts.join(", ")} })`];
|
|
461
|
-
}
|
|
462
|
-
case "CLOSE":
|
|
463
|
-
return ["overlays.close()"];
|
|
464
|
-
case "SET_MODE": {
|
|
465
|
-
const c = site.tokens?.collections.find((x) => x.id === a.collectionId);
|
|
466
|
-
if (!c || !a.modeId) {
|
|
467
|
-
miss(at, "a Set mode");
|
|
468
|
-
return [];
|
|
469
|
-
}
|
|
470
|
-
const classes = c.modes.map((m) => m.id === c.defaultMode ? "" : m.className);
|
|
471
|
-
const to = a.modeId === "__NEXT__" ? "__NEXT__" : c.modes.find((m) => m.id === a.modeId)?.id === c.defaultMode ? "" : c.modes.find((m) => m.id === a.modeId)?.className ?? "";
|
|
472
|
-
return [`switchMode(document.documentElement, ${JSON.stringify(classes)}, ${JSON.stringify(to)})`];
|
|
473
|
-
}
|
|
474
|
-
case "TIMELINE": {
|
|
475
|
-
const t = a.timeline;
|
|
476
|
-
if (!t || t.op === "SCRUB") return [];
|
|
477
|
-
const screen = screenOf(at);
|
|
478
|
-
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
479
|
-
const root = t.target === "INSTANCE" ? hostOf(at) : screen;
|
|
480
|
-
return [`controlTimeline(document.querySelector(${JSON.stringify(`[data-pc-id="${root}"]`)}), ${JSON.stringify(t)}, ${JSON.stringify(markers)})`];
|
|
481
|
-
}
|
|
482
|
-
// On a component itself (a sheet that shows the masters) there is no instance to change: nothing to carry.
|
|
483
|
-
case "CHANGE_TO": {
|
|
484
|
-
const st = changeTo && a.destinationId ? changeTo(a.destinationId, a.targetId) : null;
|
|
485
|
-
if (st) return [st];
|
|
486
|
-
if (doc.nodes[at]?.type !== "COMPONENT" && doc.nodes[at]?.type !== "COMPONENT_SET") miss(at, "a Change to whose instance is not on this page");
|
|
487
|
-
return [];
|
|
488
|
-
}
|
|
489
|
-
default:
|
|
490
|
-
miss(at, { CHANGE_TO: "component variants" }[a.navigationType] ?? a.navigationType);
|
|
491
|
-
return [];
|
|
492
|
-
}
|
|
493
|
-
};
|
|
494
|
-
const interactionsOf = (id) => doc.nodes[id]?.interactions ?? [];
|
|
495
|
-
const hostOf = (id) => {
|
|
496
|
-
let at = id;
|
|
497
|
-
while (at) {
|
|
498
|
-
if (doc.nodes[at]?.type === "INSTANCE") return at;
|
|
499
|
-
at = doc.nodes[at]?.parentId;
|
|
500
|
-
}
|
|
501
|
-
return id;
|
|
502
|
-
};
|
|
503
|
-
const EVENT = { ON_CLICK: "onClick", MOUSE_ENTER: "onMouseEnter", MOUSE_LEAVE: "onMouseLeave", ON_PRESS: "onPointerDown" };
|
|
504
|
-
const nodeBindings = (id) => {
|
|
505
|
-
const n = doc.nodes[id];
|
|
506
|
-
if (!n) return null;
|
|
507
|
-
const out = { style: {} };
|
|
508
|
-
const take = (prop, e) => {
|
|
509
|
-
if (e === null) return;
|
|
510
|
-
if (prop === "characters") out.text = `exprText(${e})`;
|
|
511
|
-
else if (prop === "visible") out.visible = `truthy(${e})`;
|
|
512
|
-
else if (STYLE_PROPS[prop]) {
|
|
513
|
-
const [k, val] = STYLE_PROPS[prop](`num(${e})`);
|
|
514
|
-
out.style[k] = val;
|
|
515
|
-
}
|
|
516
|
-
};
|
|
517
|
-
for (const [prop, vid] of Object.entries(n.boundVariables ?? {})) {
|
|
518
|
-
const v = byId.get(vid);
|
|
519
|
-
if (v) take(prop, `v.${v.ident}`);
|
|
520
|
-
}
|
|
521
|
-
for (const [prop, src] of Object.entries(n.boundExpressions ?? {})) take(prop, expr(src, { at: id }));
|
|
522
|
-
return out.text || out.visible || Object.keys(out.style).length ? out : null;
|
|
523
|
-
};
|
|
524
|
-
const controlOf = (id) => doc.nodes[id]?.control;
|
|
525
|
-
const isForm = (id) => controlOf(id)?.kind === "FORM";
|
|
526
|
-
const formIds = Object.keys(doc.nodes ?? {}).filter(isForm);
|
|
527
|
-
const collections = visitorCollections(doc.collections);
|
|
528
|
-
const access = Object.fromEntries(site.pages.filter((p) => p.access && !p.notFound).map((p) => [p.route, p.access]));
|
|
529
|
-
const signIn = usesSignIn({ ...doc, nodes: doc.nodes ?? {} }) || Object.keys(access).length > 0;
|
|
530
|
-
const server = formIds.length || signIn || collections.length ? {
|
|
531
|
-
forms: formIds,
|
|
532
|
-
collections: collections.map((c) => ({ id: c.id, name: c.name, fields: c.fields.map((f) => ({ id: f.id, name: f.name, type: f.type, ...f.options ? { options: f.options } : {} })), ...c.perVisitor ? { perVisitor: true } : {}, ...c.shared ? { shared: true } : {} })),
|
|
533
|
-
signIn,
|
|
534
|
-
user: Object.fromEntries(Object.keys(USER_VARIABLES).map((k) => [k, byFull.get(USER_VARIABLES[k])]).filter(([, v]) => v)),
|
|
535
|
-
counts: collections.flatMap((c) => {
|
|
536
|
-
const v = byFull.get(`data/${fieldKey(c.name)}Count`);
|
|
537
|
-
return v && v.type === "number" ? [{ collection: c.id, variable: v }] : [];
|
|
538
|
-
}),
|
|
539
|
-
access,
|
|
540
|
-
redirect: {
|
|
541
|
-
signedOut: site.pages.find((p) => p.access === "signedOut" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/",
|
|
542
|
-
signedIn: site.pages.find((p) => p.access === "signedIn" && !p.notFound)?.route ?? site.pages.find((p) => !p.access && !p.notFound)?.route ?? "/"
|
|
543
|
-
}
|
|
544
|
-
} : null;
|
|
545
|
-
const under = (rootId) => {
|
|
546
|
-
const out = [];
|
|
547
|
-
const walk = (id) => {
|
|
548
|
-
out.push(id);
|
|
549
|
-
for (const c of doc.nodes[id]?.childIds ?? []) walk(c);
|
|
550
|
-
};
|
|
551
|
-
walk(rootId);
|
|
552
|
-
return out;
|
|
553
|
-
};
|
|
554
|
-
for (const id of Object.keys(doc.nodes ?? {})) for (const ix of interactionsOf(id)) statements(ix.action, id);
|
|
555
|
-
for (const id of formIds) {
|
|
556
|
-
const after = controlOf(id)?.onSubmit;
|
|
557
|
-
if (after) statements(after, id);
|
|
558
|
-
}
|
|
559
|
-
missingByScreen.clear();
|
|
560
|
-
return {
|
|
561
|
-
variables,
|
|
562
|
-
overlays,
|
|
563
|
-
server,
|
|
564
|
-
live: (rootId) => under(layerId(rootId)).some((id) => nodeBindings(id) || interactionsOf(id).length || isForm(id)),
|
|
565
|
-
bindings: (webId) => within(webId, () => nodeBindings(layerId(webId).split("::").pop())),
|
|
566
|
-
events: (webId, o = {}) => within(webId, () => {
|
|
567
|
-
const id = layerId(webId).split("::").pop();
|
|
568
|
-
const out = {};
|
|
569
|
-
const control = controlOf(id);
|
|
570
|
-
if (control?.kind === "FORM") {
|
|
571
|
-
const after = control.onSubmit ? statements(control.onSubmit, id, void 0, o.changeTo) : [];
|
|
572
|
-
const record = copyRecord(webId);
|
|
573
|
-
const form = { id, name: doc.nodes[id]?.name ?? id, ...control.formAction ? { action: control.formAction } : {}, ...control.collectionId ? { collectionId: control.collectionId } : {}, ...record ? { record } : {} };
|
|
574
|
-
out.onSubmit = `async (e) => { e.preventDefault(); if (await site.submit(e.currentTarget, (e.nativeEvent as SubmitEvent).submitter, ${JSON.stringify(form)})) { ${after.join("; ")} } }`;
|
|
575
|
-
}
|
|
576
|
-
const add = (prop, body) => {
|
|
577
|
-
if (body.length) out[prop] = `${out[prop] ? `${out[prop].slice(0, -2)}; ` : `(${body.some((b) => /\be\./.test(b)) ? "e" : ""}) => { `}${body.join("; ")} }`;
|
|
578
|
-
};
|
|
579
|
-
const own = interactionsOf(id).map((ix) => ({ ix, at: id }));
|
|
580
|
-
const fromVariant = o.variant ? interactionsOf(o.variant).map((ix) => ({ ix, at: o.variant })) : [];
|
|
581
|
-
for (const { ix, at } of [...own, ...fromVariant]) {
|
|
582
|
-
const body = statements(ix.action, at, void 0, o.changeTo);
|
|
583
|
-
if (ix.action.navigationType === "CHANGE_TO" && o.variant && o.changeTo && (ix.trigger === "ON_HOVER" || ix.trigger === "ON_PRESS")) {
|
|
584
|
-
const [enter, leave] = ix.trigger === "ON_HOVER" ? ["onMouseEnter", "onMouseLeave"] : ["onPointerDown", "onPointerUp"];
|
|
585
|
-
add(enter, body);
|
|
586
|
-
const back = o.changeTo(o.variant);
|
|
587
|
-
if (back) add(leave, [back]);
|
|
588
|
-
continue;
|
|
589
|
-
}
|
|
590
|
-
if (ix.trigger === "ON_DRAG" || ix.action.navigationType === "ORBIT_3D") {
|
|
591
|
-
const a = ix.action;
|
|
592
|
-
if (a.navigationType === "ORBIT_3D") {
|
|
593
|
-
add("onPointerDown", [`orbitDrag(e.nativeEvent, document.querySelector<HTMLElement>(${JSON.stringify(`[data-pc-id="${a.destinationId ?? at}"]`)}), ${JSON.stringify(a.orbit ?? {})})`]);
|
|
594
|
-
continue;
|
|
595
|
-
}
|
|
596
|
-
if (a.navigationType === "TIMELINE" && a.timeline?.op === "SCRUB") {
|
|
597
|
-
const screen = screenOf(at);
|
|
598
|
-
const markers = site.pages.find((p) => p.id === screen)?.timeline?.stops ?? [];
|
|
599
|
-
add("onPointerDown", [`scrubTimeline(e.nativeEvent, document.querySelector(${JSON.stringify(`[data-pc-id="${a.timeline.target === "INSTANCE" ? hostOf(at) : screen}"]`)}), ${JSON.stringify(a.timeline)}, ${JSON.stringify(markers)})`]);
|
|
600
|
-
continue;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
const prop = EVENT[ix.trigger];
|
|
604
|
-
if (prop) add(prop, body);
|
|
605
|
-
}
|
|
606
|
-
return out;
|
|
607
|
-
}),
|
|
608
|
-
effects: (screenId) => {
|
|
609
|
-
const out = [];
|
|
610
|
-
for (const id of under(screenId)) for (const ix of interactionsOf(id)) {
|
|
611
|
-
if (ix.trigger === "AFTER_TIMEOUT") {
|
|
612
|
-
const body = statements(ix.action, id);
|
|
613
|
-
if (body.length) out.push(`const t${out.length} = window.setTimeout(() => { ${body.join("; ")} }, ${Math.max(0, ix.triggerDelay ?? 0)}); return () => window.clearTimeout(t${out.length})`);
|
|
614
|
-
}
|
|
615
|
-
if (ix.trigger === "KEY_DOWN") {
|
|
616
|
-
const key = ix.triggerKey;
|
|
617
|
-
const body = statements(ix.action, id, "e.key");
|
|
618
|
-
if (body.length) out.push(`const k${out.length} = (e: KeyboardEvent) => { ${key ? `if (e.key !== ${JSON.stringify(key)}) return; ` : ""}${body.join("; ")} }; window.addEventListener('keydown', k${out.length}); return () => window.removeEventListener('keydown', k${out.length})`);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
return out;
|
|
622
|
-
},
|
|
623
|
-
missing: (rootId) => [...missingByScreen.get(layerId(rootId)) ?? []],
|
|
624
|
-
itemExpression: (src) => within(`~${ITEM_RECORD}`, () => expr(src))
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
function colorHex(c) {
|
|
628
|
-
const h = (x) => Math.round(Math.max(0, Math.min(1, x)) * 255).toString(16).padStart(2, "0");
|
|
629
|
-
return `#${h(c.r)}${h(c.g)}${h(c.b)}${c.a !== void 0 && c.a < 1 ? h(c.a) : ""}`;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
// lib/io/web/project/server.ts
|
|
633
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
634
|
-
var lines = (...l) => `${l.filter((x) => typeof x === "string").join("\n")}
|
|
635
|
-
`;
|
|
636
|
-
function as(v, value, from) {
|
|
637
|
-
if (v.type === from) return value;
|
|
638
|
-
if (v.type === "boolean") return `!!${value}`;
|
|
639
|
-
if (v.type === "number") return from === "boolean" ? `(${value} ? 1 : 0)` : `Number(${value}) || 0`;
|
|
640
|
-
return `String(${value})`;
|
|
641
|
-
}
|
|
642
|
-
var setLine = (v, value, from) => v ? `set(${JSON.stringify(v.ident)}, ${as(v, value, from)})` : null;
|
|
643
|
-
function serverFiles(server) {
|
|
644
|
-
const files = [
|
|
645
|
-
{ path: "lib/popcraft-server.ts", content: lines(
|
|
646
|
-
"// The site's own server: the forms it keeps and the lists its visitors keep records in (from the design), its",
|
|
647
|
-
"// database (DATABASE_URL) and its sign-in (SITE_AUTH_URL). app/api/popcraft answers the pages through it.",
|
|
648
|
-
"",
|
|
649
|
-
"import type { Collection } from '@popcraft/runtime'",
|
|
650
|
-
"import { storeFor, type AuthKind, type SiteBackend, type SiteDatabase } from '@popcraft/runtime/server'",
|
|
651
|
-
"import { siteUrl } from '@/lib/site'",
|
|
652
|
-
"",
|
|
653
|
-
`const FORMS = new Set<string>(${JSON.stringify(server.forms)})`,
|
|
654
|
-
`const COLLECTIONS: Record<string, Collection> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.id, c])), null, 2)}`,
|
|
655
|
-
"",
|
|
656
|
-
"let ready: Promise<SiteDatabase> | null = null",
|
|
657
|
-
"",
|
|
658
|
-
"/** The site's database: its two tables are made on first use. */",
|
|
659
|
-
"function database(): Promise<SiteDatabase | null> {",
|
|
660
|
-
" const url = process.env.DATABASE_URL",
|
|
661
|
-
" if (!url) return Promise.resolve(null)",
|
|
662
|
-
" ready ??= (async () => { const db = storeFor(url); await db.ensure(); return db })().catch((e: unknown) => { ready = null; throw e })",
|
|
663
|
-
" return ready",
|
|
664
|
-
"}",
|
|
665
|
-
"",
|
|
666
|
-
"/** The site's sign-in service (Neon Auth or Supabase Auth), told the site's own address. NEON_AUTH_URL is its older name. */",
|
|
667
|
-
"async function auth() {",
|
|
668
|
-
" const authUrl = process.env.SITE_AUTH_URL ?? process.env.NEON_AUTH_URL",
|
|
669
|
-
" if (!authUrl) return null",
|
|
670
|
-
" const kind = (process.env.SITE_AUTH_KIND as AuthKind | undefined) ?? 'neon-auth'",
|
|
671
|
-
" return { kind, authUrl, origin: siteUrl.origin, apiKey: process.env.SITE_AUTH_KEY, adminKey: process.env.SITE_AUTH_ADMIN_KEY }",
|
|
672
|
-
"}",
|
|
673
|
-
"",
|
|
674
|
-
"export const site: SiteBackend = {",
|
|
675
|
-
" database,",
|
|
676
|
-
" auth,",
|
|
677
|
-
" hasForm: id => FORMS.has(id),",
|
|
678
|
-
" collection: id => COLLECTIONS[id],",
|
|
679
|
-
" // Over https in production; `next dev` serves http, where a Secure cookie would not be kept.",
|
|
680
|
-
" secure: process.env.NODE_ENV === 'production',",
|
|
681
|
-
"}"
|
|
682
|
-
) },
|
|
683
|
-
{ path: "app/api/popcraft/[...path]/route.ts", content: lines(
|
|
684
|
-
"// The site's own requests (forms, sign-in, visitors' records), at /_pc/\u2026 (next.config.ts rewrites them here).",
|
|
685
|
-
"",
|
|
686
|
-
"import { siteRequest } from '@popcraft/runtime/server'",
|
|
687
|
-
"import { site } from '@/lib/popcraft-server'",
|
|
688
|
-
"",
|
|
689
|
-
"async function handle(request: Request, { params }: { params: Promise<{ path: string[] }> }): Promise<Response> {",
|
|
690
|
-
" const { path } = await params",
|
|
691
|
-
" return (await siteRequest(request, `_pc/${path.join('/')}`, site)) ?? Response.json({ error: 'Not found' }, { status: 404 })",
|
|
692
|
-
"}",
|
|
693
|
-
"",
|
|
694
|
-
"export { handle as DELETE, handle as GET, handle as POST }"
|
|
695
|
-
) }
|
|
696
|
-
];
|
|
697
|
-
const routes = Object.keys(server.access);
|
|
698
|
-
if (routes.length) files.push({ path: "proxy.ts", content: lines(
|
|
699
|
-
"// Each page for one kind of visitor sends the other kind where it is for them: a signed-in page needs an account,",
|
|
700
|
-
"// a sign-in page is for visitors without one. The session cookie is enough to decide here; the page's provider",
|
|
701
|
-
"// (lib/popcraft.tsx) asks the server who is signed in, and clears a cookie whose session has ended.",
|
|
702
|
-
"",
|
|
703
|
-
"import { NextResponse, type NextRequest } from 'next/server'",
|
|
704
|
-
"",
|
|
705
|
-
`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`,
|
|
706
|
-
`const GO = ${JSON.stringify(server.redirect)}`,
|
|
707
|
-
"",
|
|
708
|
-
"export function proxy(request: NextRequest) {",
|
|
709
|
-
" const need = ACCESS[request.nextUrl.pathname]",
|
|
710
|
-
` const signedIn = request.cookies.has(${JSON.stringify(SESSION_COOKIE)})`,
|
|
711
|
-
" const to = need === 'signedIn' && !signedIn ? GO.signedOut : need === 'signedOut' && signedIn ? GO.signedIn : null",
|
|
712
|
-
" return to && to !== request.nextUrl.pathname ? NextResponse.redirect(new URL(to, request.url)) : NextResponse.next()",
|
|
713
|
-
"}",
|
|
714
|
-
"",
|
|
715
|
-
`export const config = { matcher: ${JSON.stringify(routes)} }`
|
|
716
|
-
) });
|
|
717
|
-
return files;
|
|
718
|
-
}
|
|
719
|
-
function siteProviderSource(server) {
|
|
720
|
-
const u = server.user;
|
|
721
|
-
const guards = Object.keys(server.access).length > 0;
|
|
722
|
-
const sayUser = [setLine(u.signedIn, "!!next", "boolean"), setLine(u.name, "next?.name ?? ''", "string"), setLine(u.email, "next?.email ?? ''", "string")].filter(Boolean);
|
|
723
|
-
const sayError = (value) => setLine(u.error, value, "string");
|
|
724
|
-
return [
|
|
725
|
-
"/** A form as the design made it: what it does on the site's server, and (in a list's copy) whose record it is about. */",
|
|
726
|
-
"export interface SiteForm { id: string; name: string; action?: AuthAction | 'deleteRecord' | 'updateRecord'; collectionId?: string; record?: string }",
|
|
727
|
-
"interface SiteStore {",
|
|
728
|
-
" user: SiteUser | null",
|
|
729
|
-
" /** The visitor's own records, by collection, newest first. */",
|
|
730
|
-
" records: Record<string, SiteRecord[]>",
|
|
731
|
-
" /** An expression function over the visitor's records (`count`, `streak`\u2026), by the collection's name. */",
|
|
732
|
-
" call(fn: string, ...args: ExprValue[]): ExprValue",
|
|
733
|
-
` /** Send a form; true when it worked (then the design's "on submit" runs). */`,
|
|
734
|
-
" submit(form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean>",
|
|
735
|
-
"}",
|
|
736
|
-
"",
|
|
737
|
-
"const client = createSiteClient()",
|
|
738
|
-
`const MINE = ${JSON.stringify(server.collections.map((c) => c.id))}`,
|
|
739
|
-
`/** Each list by the name an expression gives it. */`,
|
|
740
|
-
`const NAMES: Record<string, string> = ${JSON.stringify(Object.fromEntries(server.collections.map((c) => [c.name.trim().toLowerCase(), c.id])))}`,
|
|
741
|
-
...guards ? [`const ACCESS: Record<string, 'signedIn' | 'signedOut'> = ${JSON.stringify(server.access)}`, `const GO = ${JSON.stringify(server.redirect)}`] : [],
|
|
742
|
-
"const SiteContext = createContext<SiteStore | null>(null)",
|
|
743
|
-
"",
|
|
744
|
-
"/** The visitor: who is signed in (asked of the site's server on load), their records, and the design's variables that say so. */",
|
|
745
|
-
"export function SiteProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
746
|
-
...sayUser.length || server.counts.length || u.error ? [" const { set } = useVariables()"] : [],
|
|
747
|
-
...guards ? [" const router = useRouter()", " const path = usePathname()"] : [],
|
|
748
|
-
" const [user, setUser] = useState<SiteUser | null>(null)",
|
|
749
|
-
...guards ? [" const [known, setKnown] = useState(false)"] : [],
|
|
750
|
-
" const [records, setRecords] = useState<Record<string, SiteRecord[]>>({})",
|
|
751
|
-
" const say = useCallback((next: SiteUser | null) => {",
|
|
752
|
-
" setUser(next)",
|
|
753
|
-
...sayUser.map((l) => ` ${l}`),
|
|
754
|
-
` }, [${sayUser.length ? "set" : ""}])`,
|
|
755
|
-
" const refresh = useCallback(async (who: SiteUser | null) => {",
|
|
756
|
-
" const next: Record<string, SiteRecord[]> = {}",
|
|
757
|
-
" for (const id of MINE) next[id] = who ? await client.records(id) : []",
|
|
758
|
-
" setRecords(next)",
|
|
759
|
-
...server.counts.map((c) => ` ${setLine(c.variable, `next[${JSON.stringify(c.collection)}].length`, "number")}`),
|
|
760
|
-
` }, [${server.counts.length ? "set" : ""}])`,
|
|
761
|
-
` useEffect(() => { void client.who().then(async who => { say(who); ${guards ? "setKnown(true); " : ""}await refresh(who) }) }, [say, refresh])`,
|
|
762
|
-
...guards ? [
|
|
763
|
-
" // A page for the other kind of visitor (a cookie whose session had ended got past proxy.ts): where a visit would land.",
|
|
764
|
-
" useEffect(() => {",
|
|
765
|
-
" if (!known) return",
|
|
766
|
-
" const need = ACCESS[path]",
|
|
767
|
-
" const to = need === 'signedIn' && !user ? GO.signedOut : need === 'signedOut' && user ? GO.signedIn : null",
|
|
768
|
-
" if (to && to !== path) router.replace(to)",
|
|
769
|
-
" }, [known, user, path, router])"
|
|
770
|
-
] : [],
|
|
771
|
-
" const submit = useCallback(async (form: HTMLFormElement, submitter: HTMLElement | null, about: SiteForm): Promise<boolean> => {",
|
|
772
|
-
" const values: Record<string, string> = {}",
|
|
773
|
-
" new FormData(form, submitter).forEach((value, key) => { if (typeof value === 'string') values[key] = value })",
|
|
774
|
-
...sayError("''") ? [` ${sayError("''")}`] : [],
|
|
775
|
-
" try {",
|
|
776
|
-
" if (about.action && about.action !== 'deleteRecord' && about.action !== 'updateRecord') {",
|
|
777
|
-
" const who = await client.act(about.action, values)",
|
|
778
|
-
" say(who)",
|
|
779
|
-
" await refresh(who)",
|
|
780
|
-
" return true",
|
|
781
|
-
" }",
|
|
782
|
-
" // A visitor's own list: a form bound to it adds a record; one inside a copy changes or removes that copy's.",
|
|
783
|
-
" const of = about.record ? MINE.find(id => records[id]?.some(r => r.id === about.record)) : about.collectionId && MINE.includes(about.collectionId) ? about.collectionId : undefined",
|
|
784
|
-
" if (of) {",
|
|
785
|
-
" if (!user) throw new Error('Sign in first.')",
|
|
786
|
-
" if (about.action === 'deleteRecord') await client.remove(of, about.record ?? '')",
|
|
787
|
-
" else if (about.action === 'updateRecord') { const was = records[of]?.find(r => r.id === about.record); if (!was) throw new Error('That is no longer here.'); await client.save(of, { ...was.values, ...values }, about.record) }",
|
|
788
|
-
" else await client.save(of, values)",
|
|
789
|
-
" await refresh(user)",
|
|
790
|
-
" return true",
|
|
791
|
-
" }",
|
|
792
|
-
" // Kept in the site's database when it has one; without one the page carries on all the same.",
|
|
793
|
-
" await client.submit({ id: about.id, name: about.name, values })",
|
|
794
|
-
" return true",
|
|
795
|
-
" } catch (e) {",
|
|
796
|
-
...sayError("e instanceof Error ? e.message : 'That did not work. Try again.'") ? [` ${sayError("e instanceof Error ? e.message : 'That did not work. Try again.'")}`] : [" void e"],
|
|
797
|
-
" return false",
|
|
798
|
-
" }",
|
|
799
|
-
` }, [records, user, say, refresh${u.error ? ", set" : ""}])`,
|
|
800
|
-
' // What `count("Checkins")` and the rest add up: the visitor\'s own records, with when each was made.',
|
|
801
|
-
" const data = useMemo<ExprData>(() => ({",
|
|
802
|
-
" rows: name => {",
|
|
803
|
-
" const id = NAMES[name.trim().toLowerCase()] ?? (MINE.includes(name) ? name : undefined)",
|
|
804
|
-
" return id ? (records[id] ?? []).map(r => ({ values: { id: r.id, by: r.by ?? '', mine: r.mine ?? true, ...r.values }, ...(r.createdAt ? { at: Date.parse(r.createdAt) } : {}) })) : undefined",
|
|
805
|
-
" },",
|
|
806
|
-
" }), [records])",
|
|
807
|
-
" const callData = useCallback((fn: string, ...args: ExprValue[]): ExprValue => {",
|
|
808
|
-
" const f = FUNCTIONS[fn]",
|
|
809
|
-
" if (!f) return 0",
|
|
810
|
-
" try { return f(args, data) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
811
|
-
" }, [data])",
|
|
812
|
-
" const store = useMemo(() => ({ user, records, call: callData, submit }), [user, records, callData, submit])",
|
|
813
|
-
" return <SiteContext value={store}>{children}</SiteContext>",
|
|
814
|
-
"}",
|
|
815
|
-
"",
|
|
816
|
-
"/** A field of a visitor's record, as an expression reads it (`item.note`): its values, and `id`, `by`, `mine` and `age` (days old). */",
|
|
817
|
-
"export function itemField(item: SiteRecord, key: string): ExprValue {",
|
|
818
|
-
" if (key === 'id') return item.id",
|
|
819
|
-
" if (key === 'by') return item.by ?? ''",
|
|
820
|
-
" if (key === 'mine') return item.mine ?? true",
|
|
821
|
-
" if (key === 'age') return item.createdAt ? Math.max(0, dayOf(Date.now()) - dayOf(Date.parse(item.createdAt))) : 0",
|
|
822
|
-
" return item.values[key] ?? ''",
|
|
823
|
-
"}",
|
|
824
|
-
"",
|
|
825
|
-
"/** Two of a visitor's records in a list's order: by a field, numbers as numbers and words as words. */",
|
|
826
|
-
"export function itemCompare(a: SiteRecord, b: SiteRecord, key: string): number {",
|
|
827
|
-
" const x = itemField(a, key), y = itemField(b, key)",
|
|
828
|
-
" return typeof x === 'number' && typeof y === 'number' ? x - y : String(x).localeCompare(String(y), undefined, { numeric: true })",
|
|
829
|
-
"}",
|
|
830
|
-
"",
|
|
831
|
-
"/** A field of a visitor's record as words on the page (a yes-or-no as Yes or No). */",
|
|
832
|
-
"export function itemWords(item: SiteRecord, key: string): string {",
|
|
833
|
-
" const value = itemField(item, key)",
|
|
834
|
-
" return typeof value === 'boolean' ? (value ? 'Yes' : 'No') : String(value)",
|
|
835
|
-
"}",
|
|
836
|
-
"",
|
|
837
|
-
"/** The visitor, their records, and `submit` for a form. */",
|
|
838
|
-
"export function useSite(): SiteStore {",
|
|
839
|
-
" const store = useContext(SiteContext)",
|
|
840
|
-
" if (!store) throw new Error('useSite is used outside SiteProvider (app/layout.tsx)')",
|
|
841
|
-
" return store",
|
|
842
|
-
"}",
|
|
843
|
-
""
|
|
844
|
-
];
|
|
845
|
-
}
|
|
846
|
-
function serverReadme(server) {
|
|
847
|
-
return `## Forms${server.signIn ? ", accounts" : ""} and data
|
|
848
|
-
|
|
849
|
-
The site has a server of its own (\`app/api/popcraft\`, through \`@popcraft/runtime/server\`): it keeps what its forms
|
|
850
|
-
send${server.signIn ? ", signs visitors up and in with the database's own sign-in (Neon Auth or Supabase Auth)" : ""}${server.collections.length ? ", and keeps each visitor's own records" : ""}. Copy \`.env.example\` to
|
|
851
|
-
\`.env.local\` and set:
|
|
852
|
-
|
|
853
|
-
| Variable | What it is |
|
|
854
|
-
| --- | --- |
|
|
855
|
-
| \`DATABASE_URL\` | A Postgres connection string (a Neon or Supabase project's). The site makes its two tables on first use |
|
|
856
|
-
${server.signIn ? "| `SITE_AUTH_KIND` | `neon-auth` or `supabase-auth` |\n| `SITE_AUTH_URL` | The sign-in service: a Neon project's Auth URL (Neon console \u2192 Auth), or `https://<project>.supabase.co/auth/v1`. Add the site's address to its trusted domains / redirect URLs |\n| `SITE_AUTH_KEY` | Supabase only: the project's anon key |\n| `SITE_AUTH_ADMIN_KEY` | Supabase only, optional: the service-role key, so visitors can delete their accounts |\n" : ""}| \`NEXT_PUBLIC_SITE_URL\` | The site's address${server.signIn ? " (the origin the sign-in service is told visitors come from)" : ""} |
|
|
857
|
-
|
|
858
|
-
Without \`DATABASE_URL\` the pages still work: forms are sent and not kept${server.signIn ? ", and nobody can sign in" : ""}.
|
|
859
|
-
|
|
860
|
-
`;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
// lib/io/web/project/islands.ts
|
|
864
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
865
|
-
function islandFiles(site, script) {
|
|
866
|
-
return [
|
|
867
|
-
{ path: "public/pc/island.js", content: script },
|
|
868
|
-
{ path: "public/pc/islands.json", content: JSON.stringify(site.islands ?? {}) },
|
|
869
|
-
{ path: "components/gpu-island.tsx", content: GPU_ISLAND }
|
|
870
|
-
];
|
|
871
|
-
}
|
|
872
|
-
var REACT_IMPORT = "import { useEffect, useRef } from 'react'";
|
|
873
|
-
var GPU_ISLAND = `'use client'
|
|
874
|
-
|
|
875
|
-
// A layer only the GPU draws, drawn live over its picture by PopCraft's renderer (public/pc/island.js), with what it
|
|
876
|
-
// draws from public/pc/islands.json. Both load once, the first time an island is on screen; without WebGPU the
|
|
877
|
-
// picture stays.
|
|
878
|
-
|
|
879
|
-
${REACT_IMPORT}
|
|
880
|
-
|
|
881
|
-
interface IslandHandle { invalidate(): void; destroy(): void }
|
|
882
|
-
interface IslandHost { mount(canvas: HTMLCanvasElement, spec: unknown, clock?: () => number): IslandHandle | null; destroy(): void }
|
|
883
|
-
declare global { var popcraftIsland: { createIslandHost(): Promise<IslandHost | null> } | undefined }
|
|
884
|
-
|
|
885
|
-
let host: Promise<{ host: IslandHost | null; specs: Record<string, unknown> }> | null = null
|
|
886
|
-
function islandHost() {
|
|
887
|
-
host ??= Promise.all([
|
|
888
|
-
new Promise<void>((resolve, reject) => {
|
|
889
|
-
if (globalThis.popcraftIsland) return resolve()
|
|
890
|
-
const script = document.createElement('script')
|
|
891
|
-
script.src = '/pc/island.js'
|
|
892
|
-
script.onload = () => resolve()
|
|
893
|
-
script.onerror = () => reject(new Error('The island renderer did not load'))
|
|
894
|
-
document.head.appendChild(script)
|
|
895
|
-
}).then(() => globalThis.popcraftIsland?.createIslandHost() ?? null),
|
|
896
|
-
fetch('/pc/islands.json').then(r => r.json() as Promise<Record<string, unknown>>),
|
|
897
|
-
]).then(([h, specs]) => ({ host: h, specs })).catch(() => ({ host: null, specs: {} }))
|
|
898
|
-
return host
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/** Island \`id\` (its layer), posed at the time of screen \`screen\`'s timeline. */
|
|
902
|
-
export function GpuIsland({ id, screen }: { id: string; screen: string }) {
|
|
903
|
-
const canvas = useRef<HTMLCanvasElement>(null)
|
|
904
|
-
useEffect(() => {
|
|
905
|
-
const el = canvas.current
|
|
906
|
-
if (!el || typeof navigator === 'undefined' || !('gpu' in navigator)) return
|
|
907
|
-
const parent = el.parentElement
|
|
908
|
-
if (parent && getComputedStyle(parent).position === 'static') parent.style.position = 'relative'
|
|
909
|
-
let handle: IslandHandle | null = null
|
|
910
|
-
let gone = false
|
|
911
|
-
const started = performance.now()
|
|
912
|
-
// The screen's timeline (its CSS animations), else the time since the island appeared.
|
|
913
|
-
const clock = () => {
|
|
914
|
-
const timeline = document.querySelector(\`[data-pc-id="\${screen}"]\`)?.getAnimations({ subtree: true }).find(a => (a as CSSAnimation).animationName?.startsWith('timeline-'))
|
|
915
|
-
return timeline ? Number(timeline.currentTime ?? 0) : performance.now() - started
|
|
916
|
-
}
|
|
917
|
-
const start = () => void islandHost().then(({ host: h, specs }) => {
|
|
918
|
-
if (gone || !h || !specs[id]) return
|
|
919
|
-
handle = h.mount(el, specs[id], clock)
|
|
920
|
-
if (!handle) return
|
|
921
|
-
// The picture under it has done its work: the canvas shows the layer from here.
|
|
922
|
-
for (const child of el.parentElement?.children ?? []) if (child !== el) (child as HTMLElement).style.visibility = 'hidden'
|
|
923
|
-
el.style.display = 'block'
|
|
924
|
-
})
|
|
925
|
-
// Asked for once it is on screen, so a page whose island is far below loads nothing until it is reached.
|
|
926
|
-
const seen = new IntersectionObserver(entries => { if (entries.some(e => e.isIntersecting)) { seen.disconnect(); start() } })
|
|
927
|
-
seen.observe(el.parentElement ?? el)
|
|
928
|
-
return () => { gone = true; seen.disconnect(); handle?.destroy() }
|
|
929
|
-
}, [id, screen])
|
|
930
|
-
return <canvas ref={canvas} aria-hidden="true" style={{ position: 'absolute', inset: 0, width: '100%', height: '100%', display: 'none' }} />
|
|
931
|
-
}
|
|
932
|
-
`;
|
|
933
|
-
|
|
934
|
-
// lib/io/web/project/versions.ts
|
|
935
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
936
|
-
|
|
937
|
-
// packages/runtime/package.json
|
|
938
|
-
var package_default = {
|
|
939
|
-
name: "@popcraft/runtime",
|
|
940
|
-
version: "0.8.3",
|
|
941
|
-
description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
|
|
942
|
-
license: "MIT",
|
|
943
|
-
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
944
|
-
repository: {
|
|
945
|
-
type: "git",
|
|
946
|
-
url: "git+https://github.com/getpopcraft/popcraft-app.git",
|
|
947
|
-
directory: "packages/runtime"
|
|
948
|
-
},
|
|
949
|
-
type: "module",
|
|
950
|
-
sideEffects: false,
|
|
951
|
-
exports: {
|
|
952
|
-
".": {
|
|
953
|
-
types: "./dist/index.d.ts",
|
|
954
|
-
import: "./dist/index.js"
|
|
955
|
-
},
|
|
956
|
-
"./server": {
|
|
957
|
-
types: "./dist/server/index.d.ts",
|
|
958
|
-
import: "./dist/server.js"
|
|
959
|
-
},
|
|
960
|
-
"./package.json": "./package.json"
|
|
961
|
-
},
|
|
962
|
-
files: [
|
|
963
|
-
"dist",
|
|
964
|
-
"CHANGELOG.md",
|
|
965
|
-
"README.md",
|
|
966
|
-
"LICENSE"
|
|
967
|
-
],
|
|
968
|
-
engines: {
|
|
969
|
-
node: ">=20.9.0"
|
|
970
|
-
},
|
|
971
|
-
scripts: {
|
|
972
|
-
build: "node build.mjs",
|
|
973
|
-
typecheck: "tsc --noEmit -p .",
|
|
974
|
-
prepublishOnly: "node build.mjs"
|
|
975
|
-
},
|
|
976
|
-
devDependencies: {
|
|
977
|
-
esbuild: "0.28.2"
|
|
978
|
-
},
|
|
979
|
-
dependencies: {
|
|
980
|
-
"@neondatabase/serverless": "^1.1.0",
|
|
981
|
-
postgres: "^3.4.5"
|
|
982
|
-
}
|
|
983
|
-
};
|
|
984
|
-
|
|
985
|
-
// lib/io/web/project/versions.ts
|
|
986
|
-
var EXPORT_VERSIONS = {
|
|
987
|
-
/** When the versions below were last checked against npm and built. */
|
|
988
|
-
checked: "2026-10-03",
|
|
989
|
-
/** The Node.js an exported Next.js project needs (Next.js's own floor). */
|
|
990
|
-
node: ">=20.9.0",
|
|
991
|
-
packages: {
|
|
992
|
-
next: "16.3.8",
|
|
993
|
-
react: "19.3.0",
|
|
994
|
-
"react-dom": "19.3.0",
|
|
995
|
-
typescript: "6.0.3",
|
|
996
|
-
"@types/node": "24.19.1",
|
|
997
|
-
"@types/react": "19.3.0",
|
|
998
|
-
"@types/react-dom": "19.3.0",
|
|
999
|
-
eslint: "9.39.5",
|
|
1000
|
-
"eslint-config-next": "16.3.8",
|
|
1001
|
-
tailwindcss: "4.3.3",
|
|
1002
|
-
"@tailwindcss/postcss": "4.3.3"
|
|
1003
|
-
}
|
|
1004
|
-
};
|
|
1005
|
-
var RUNTIME_PACKAGE = { name: package_default.name, version: package_default.version };
|
|
1006
|
-
var runtimeRange = () => `>=${RUNTIME_PACKAGE.version} <${Number(RUNTIME_PACKAGE.version.split(".")[0]) + 1}.0.0`;
|
|
1007
|
-
var range = (name) => `^${EXPORT_VERSIONS.packages[name]}`;
|
|
1008
|
-
|
|
1009
|
-
// lib/io/web/project/next.ts
|
|
1010
|
-
var all = (n, out = []) => {
|
|
1011
|
-
out.push(n);
|
|
1012
|
-
n.children.forEach((c) => all(c, out));
|
|
1013
|
-
return out;
|
|
1014
|
-
};
|
|
1015
|
-
function unique(base, taken) {
|
|
1016
|
-
let name = base || "Module";
|
|
1017
|
-
for (let n = 2; taken.has(name); n++) name = `${base}${n}`;
|
|
1018
|
-
taken.add(name);
|
|
1019
|
-
return name;
|
|
1020
|
-
}
|
|
1021
|
-
var jsxProp = (k, v) => typeof v === "string" ? `${k}=${JSON.stringify(v)}` : `${k}={${JSON.stringify(v)}}`;
|
|
1022
|
-
var pageDir = (route) => route === "/" ? "app" : `app${route}`;
|
|
1023
|
-
var json = (v) => `${JSON.stringify(v, null, 2)}
|
|
1024
|
-
`;
|
|
1025
|
-
var googleSet = new Set(GOOGLE_FONTS);
|
|
1026
|
-
function projectFonts(site) {
|
|
1027
|
-
return site.fonts.filter((f) => googleSet.has(f.family)).map((f) => {
|
|
1028
|
-
const slug = f.family.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
1029
|
-
return { family: f.family, ident: f.family.replace(/[^A-Za-z0-9]+/g, "_"), variable: `--font-${slug}`, weights: f.weights, variableFont: !NON_VARIABLE_FONTS.has(f.family) };
|
|
1030
|
-
});
|
|
1031
|
-
}
|
|
1032
|
-
function nextProjectFiles(site, doc, opts = {}) {
|
|
1033
|
-
const tailwind = opts.styling === "tailwind";
|
|
1034
|
-
const fonts = projectFonts(site);
|
|
1035
|
-
const byFamily = new Map(fonts.map((f) => [f.family, f.variable]));
|
|
1036
|
-
const fontFamily = (value) => value.replace(/"([^"]+)"/, (m, family) => byFamily.has(family) ? `var(${byFamily.get(family)})` : m);
|
|
1037
|
-
const files = externalizeBitmaps(site).map((f) => ({ ...f, path: `public/${f.path}` }));
|
|
1038
|
-
const moduleFile = /* @__PURE__ */ new Map();
|
|
1039
|
-
const taken = /* @__PURE__ */ new Set();
|
|
1040
|
-
const packages = {};
|
|
1041
|
-
for (const id of Object.keys(site.code?.modules ?? {}).sort()) {
|
|
1042
|
-
const m = doc.codeModules?.[id];
|
|
1043
|
-
if (!m) continue;
|
|
1044
|
-
const name2 = unique(componentName(m.name), taken);
|
|
1045
|
-
moduleFile.set(id, name2);
|
|
1046
|
-
Object.assign(packages, m.packages);
|
|
1047
|
-
const source = m.source.endsWith("\n") ? m.source : `${m.source}
|
|
1048
|
-
`;
|
|
1049
|
-
files.push({ path: `components/code/${name2}.tsx`, content: /^\s*['"]use client['"]/.test(source) ? source : `'use client'
|
|
1050
|
-
|
|
1051
|
-
${source}` });
|
|
1052
|
-
}
|
|
1053
|
-
const islands = !!site.islands && Object.keys(site.islands).length > 0 && !!opts.islandScript;
|
|
1054
|
-
if (islands) files.push(...islandFiles(site, opts.islandScript));
|
|
1055
|
-
const behaviour = behaviourOf(site);
|
|
1056
|
-
const media = /* @__PURE__ */ new Set();
|
|
1057
|
-
const routes = [];
|
|
1058
|
-
for (const page of site.pages) {
|
|
1059
|
-
if (routes.includes(page.route) && !page.notFound) continue;
|
|
1060
|
-
if (!page.notFound) routes.push(page.route);
|
|
1061
|
-
for (const rule of page.media ?? site.pages.find((p) => p.screen && p.screen === page.screen && p.media)?.media ?? []) media.add(rule);
|
|
1062
|
-
files.push(...pageFiles(site, page, moduleFile, { tailwind, fontFamily, ownFonts: fonts.length > 0, behaviour, islands }));
|
|
1063
|
-
}
|
|
1064
|
-
const tokens = (site.tokens ? tokensCSS(site.tokens) : []).map(fontFamily);
|
|
1065
|
-
files.push({ path: "app/globals.css", content: [
|
|
1066
|
-
...tailwind ? ['@import "tailwindcss";', ""] : [],
|
|
1067
|
-
"html, body { margin: 0; min-height: 100%; }",
|
|
1068
|
-
"*, *::before, *::after { box-sizing: border-box; }",
|
|
1069
|
-
"img, picture, svg, video { display: block; max-width: 100%; }",
|
|
1070
|
-
...tokens,
|
|
1071
|
-
...[...media].map(fontFamily),
|
|
1072
|
-
""
|
|
1073
|
-
].join("\n") });
|
|
1074
|
-
const overlays = behaviour.overlays.size > 0;
|
|
1075
|
-
const server = behaviour.server;
|
|
1076
|
-
files.push({ path: "app/layout.tsx", content: layoutSource(site, fonts, { variables: behaviour.variables.length > 0 || overlays || !!server, overlays, server: !!server }) });
|
|
1077
|
-
if (overlays) files.push({ path: "components/overlays.tsx", content: overlaysSource(site, behaviour) });
|
|
1078
|
-
files.push({ path: "lib/popcraft.tsx", content: stateSource(behaviour) });
|
|
1079
|
-
if (server) files.push(...serverFiles(server));
|
|
1080
|
-
files.push({ path: "app/sitemap.ts", content: sitemapSource(routes) });
|
|
1081
|
-
files.push({ path: "app/robots.ts", content: robotsSource() });
|
|
1082
|
-
files.push({ path: "lib/site.ts", content: siteSource() });
|
|
1083
|
-
const name = fileBase(site.name).toLowerCase().replace(/[^a-z0-9-]+/g, "-").replace(/^-+|-+$/g, "") || "site";
|
|
1084
|
-
files.push({ path: "package.json", content: json({
|
|
1085
|
-
name,
|
|
1086
|
-
private: true,
|
|
1087
|
-
version: "0.1.0",
|
|
1088
|
-
type: "module",
|
|
1089
|
-
engines: { node: EXPORT_VERSIONS.node },
|
|
1090
|
-
scripts: { dev: "next dev", build: "next build", start: "next start", lint: "eslint .", typecheck: "tsc --noEmit" },
|
|
1091
|
-
dependencies: { next: range("next"), react: range("react"), "react-dom": range("react-dom"), [RUNTIME_PACKAGE.name]: runtimeRange(), ...packages },
|
|
1092
|
-
devDependencies: {
|
|
1093
|
-
"@types/node": range("@types/node"),
|
|
1094
|
-
"@types/react": range("@types/react"),
|
|
1095
|
-
"@types/react-dom": range("@types/react-dom"),
|
|
1096
|
-
eslint: range("eslint"),
|
|
1097
|
-
"eslint-config-next": range("eslint-config-next"),
|
|
1098
|
-
typescript: range("typescript"),
|
|
1099
|
-
...tailwind ? { tailwindcss: range("tailwindcss"), "@tailwindcss/postcss": range("@tailwindcss/postcss") } : {}
|
|
1100
|
-
}
|
|
1101
|
-
}) });
|
|
1102
|
-
files.push({ path: "tsconfig.json", content: json({
|
|
1103
|
-
compilerOptions: {
|
|
1104
|
-
target: "ES2022",
|
|
1105
|
-
lib: ["dom", "dom.iterable", "esnext"],
|
|
1106
|
-
allowJs: false,
|
|
1107
|
-
skipLibCheck: true,
|
|
1108
|
-
strict: true,
|
|
1109
|
-
noEmit: true,
|
|
1110
|
-
esModuleInterop: true,
|
|
1111
|
-
module: "esnext",
|
|
1112
|
-
moduleResolution: "bundler",
|
|
1113
|
-
resolveJsonModule: true,
|
|
1114
|
-
isolatedModules: true,
|
|
1115
|
-
jsx: "react-jsx",
|
|
1116
|
-
incremental: true,
|
|
1117
|
-
plugins: [{ name: "next" }],
|
|
1118
|
-
paths: { "@/*": ["./*"] }
|
|
1119
|
-
},
|
|
1120
|
-
include: ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
|
|
1121
|
-
exclude: ["node_modules"]
|
|
1122
|
-
}) });
|
|
1123
|
-
files.push({ path: "next.config.ts", content: [
|
|
1124
|
-
"import type { NextConfig } from 'next'",
|
|
1125
|
-
"",
|
|
1126
|
-
"const nextConfig: NextConfig = {",
|
|
1127
|
-
" // The pictures are the project's own, in public/: next/image serves them sized for each screen.",
|
|
1128
|
-
" images: { formats: ['image/avif', 'image/webp'] },",
|
|
1129
|
-
...server ? [
|
|
1130
|
-
" // The pages ask their server at /_pc/\u2026 as a published PopCraft site does; app/api/popcraft answers.",
|
|
1131
|
-
" async rewrites() { return [{ source: '/_pc/:path*', destination: '/api/popcraft/:path*' }] },"
|
|
1132
|
-
] : [],
|
|
1133
|
-
"}",
|
|
1134
|
-
"",
|
|
1135
|
-
"export default nextConfig",
|
|
1136
|
-
""
|
|
1137
|
-
].join("\n") });
|
|
1138
|
-
files.push({ path: "eslint.config.mjs", content: [
|
|
1139
|
-
"import { defineConfig, globalIgnores } from 'eslint/config'",
|
|
1140
|
-
"import nextVitals from 'eslint-config-next/core-web-vitals'",
|
|
1141
|
-
"import nextTs from 'eslint-config-next/typescript'",
|
|
1142
|
-
"",
|
|
1143
|
-
"export default defineConfig([",
|
|
1144
|
-
" ...nextVitals,",
|
|
1145
|
-
" ...nextTs,",
|
|
1146
|
-
` globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts'${islands ? ", 'public/pc/**'" : ""}]),`,
|
|
1147
|
-
"])",
|
|
1148
|
-
""
|
|
1149
|
-
].join("\n") });
|
|
1150
|
-
if (tailwind) files.push({ path: "postcss.config.mjs", content: "const config = { plugins: { '@tailwindcss/postcss': {} } }\n\nexport default config\n" });
|
|
1151
|
-
files.push({ path: ".gitignore", content: ["# dependencies", "/node_modules", "", "# next.js", "/.next/", "/out/", "next-env.d.ts", "*.tsbuildinfo", "", "# env files", ".env*", "!.env.example", "", "# misc", ".DS_Store", "*.pem", "npm-debug.log*", ""].join("\n") });
|
|
1152
|
-
files.push({ path: ".env.example", content: [
|
|
1153
|
-
"# The address the site is served from: used for its sitemap, robots.txt and social previews" + (server?.signIn ? ", and the origin" : ""),
|
|
1154
|
-
...server?.signIn ? ["# its sign-in service is told visitors come from."] : [],
|
|
1155
|
-
"NEXT_PUBLIC_SITE_URL=https://example.com",
|
|
1156
|
-
...server ? ["", "# The Postgres database the site keeps its forms and its visitors' records in (a Neon or Supabase project's connection string).", "# Two tables of its own are made on first use. Unset, forms are not kept and nobody can sign in.", "DATABASE_URL=postgresql://user:password@host/db?sslmode=require"] : [],
|
|
1157
|
-
...server?.signIn ? ["", "# Sign-in: neon-auth (the Neon project's Auth URL, Neon console \u2192 Auth) or supabase-auth", "# (https://<project>.supabase.co/auth/v1 and its anon key). Add NEXT_PUBLIC_SITE_URL to its trusted domains.", "SITE_AUTH_KIND=neon-auth", "SITE_AUTH_URL=https://ep-example.neonauth.us-east-2.aws.neon.build/neondb/auth", "SITE_AUTH_KEY=", "SITE_AUTH_ADMIN_KEY="] : [],
|
|
1158
|
-
""
|
|
1159
|
-
].join("\n") });
|
|
1160
|
-
files.push({ path: "README.md", content: readme(site, { tailwind, fonts, routes, code: moduleFile.size > 0, server }) });
|
|
1161
|
-
return files;
|
|
1162
|
-
}
|
|
1163
|
-
function listSource(r, b) {
|
|
1164
|
-
let out = `(site.records[${JSON.stringify(r.collectionId)}] ?? [])`;
|
|
1165
|
-
const keep = r.filter ? b.itemExpression(r.filter) : null;
|
|
1166
|
-
if (keep) out += `.filter(item => truthy(${keep}))`;
|
|
1167
|
-
if (r.sort) out += `.toSorted((a, b) => itemCompare(a, b, ${JSON.stringify(r.sort.key)})${r.sort.dir === "DESC" ? " * -1" : ""})`;
|
|
1168
|
-
if (r.offset || r.limit) out += `.slice(${r.offset ?? 0}${r.limit ? `, ${(r.offset ?? 0) + r.limit}` : ""})`;
|
|
1169
|
-
return out;
|
|
1170
|
-
}
|
|
1171
|
-
function pageFiles(site, page, moduleFile, o) {
|
|
1172
|
-
const imports = /* @__PURE__ */ new Map();
|
|
1173
|
-
const server = o.behaviour.server;
|
|
1174
|
-
const live = o.behaviour.live(page.tree.root.id) || !!server && all(page.tree.root).some((n) => n.repeat && server.collections.some((c) => c.id === n.repeat.collectionId));
|
|
1175
|
-
const effects = live ? o.behaviour.effects(page.tree.root.id) : [];
|
|
1176
|
-
let usesImage = false;
|
|
1177
|
-
let usesIsland = false;
|
|
1178
|
-
const render = (prelude2) => serializeReact({ ...page.tree, root: withAssetBase(page.tree.root, "/"), ...page.machine ? { stateMachine: page.machine } : {} }, {
|
|
1179
|
-
ids: true,
|
|
1180
|
-
name: "Screen",
|
|
1181
|
-
styling: o.tailwind ? "tailwind" : "inline",
|
|
1182
|
-
fontFamily: o.fontFamily,
|
|
1183
|
-
ownFonts: o.ownFonts,
|
|
1184
|
-
...live ? { behaviour: o.behaviour, prelude: prelude2 } : {},
|
|
1185
|
-
// A GPU island: drawn live over its picture by the renderer the project carries (./islands.ts).
|
|
1186
|
-
...o.islands ? { island: (n) => {
|
|
1187
|
-
usesIsland = true;
|
|
1188
|
-
return `<GpuIsland id=${JSON.stringify(n.id)} screen=${JSON.stringify(page.tree.root.id)} />`;
|
|
1189
|
-
} } : {},
|
|
1190
|
-
// A visitor's own lists are drawn from their records, which the site provider holds.
|
|
1191
|
-
...o.behaviour.server ? { lists: (r) => o.behaviour.server.collections.some((c) => c.id === r.collectionId) ? listSource(r, o.behaviour) : null } : {},
|
|
1192
|
-
image: (p) => {
|
|
1193
|
-
usesImage = true;
|
|
1194
|
-
return `<Image src=${JSON.stringify(p.src)} width={${Math.round(p.width)}} height={${Math.round(p.height)}} alt=${JSON.stringify(p.alt)} sizes="(max-width: ${Math.max(1, Math.round(p.width))}px) 100vw, ${Math.max(1, Math.round(p.width))}px" />`;
|
|
1195
|
-
},
|
|
1196
|
-
code: (node) => {
|
|
1197
|
-
const c = node.code;
|
|
1198
|
-
const file = moduleFile.get(c.module);
|
|
1199
|
-
if (!file) return null;
|
|
1200
|
-
const local = c.export && c.export !== "default" ? c.export : file;
|
|
1201
|
-
imports.set(local, c.export && c.export !== "default" ? `import { ${c.export} } from '@/components/code/${file}'` : `import ${file} from '@/components/code/${file}'`);
|
|
1202
|
-
return `<${local} ${Object.entries(c.props).map(([k, v]) => jsxProp(k, v)).join(" ")} />`;
|
|
1203
|
-
}
|
|
1204
|
-
});
|
|
1205
|
-
const effectLines = effects.map((e) => `useEffect(() => { ${e} }, [])`);
|
|
1206
|
-
const draft = `${render([])}
|
|
1207
|
-
${effectLines.join("\n")}`;
|
|
1208
|
-
const uses = (re) => re.test(draft);
|
|
1209
|
-
const store = [uses(/\bv\./) ? "v" : "", uses(/\bset\(/) ? "set" : ""].filter(Boolean);
|
|
1210
|
-
const prelude = live ? [
|
|
1211
|
-
...uses(/\brouter\./) ? ["const router = useRouter()"] : [],
|
|
1212
|
-
...store.length ? [`const { ${store.join(", ")} } = useVariables()`] : [],
|
|
1213
|
-
...uses(/\boverlays\./) ? ["const overlays = useOverlays()"] : [],
|
|
1214
|
-
...uses(/\bsite\.(submit|records|call)\b/) ? ["const site = useSite()"] : [],
|
|
1215
|
-
...effects.map((e) => {
|
|
1216
|
-
const deps = ["router", "set", "overlays"].filter((d) => new RegExp(`\\b${d}\\b`).test(e));
|
|
1217
|
-
return `useEffect(() => { ${e} }, [${deps.join(", ")}])`;
|
|
1218
|
-
})
|
|
1219
|
-
] : [];
|
|
1220
|
-
const body = live ? render(prelude) : draft.trimEnd();
|
|
1221
|
-
if (live) {
|
|
1222
|
-
if (uses(/\brouter\./)) imports.set("useRouter", "import { useRouter } from 'next/navigation'");
|
|
1223
|
-
const helpers = ["call", "exprText", "itemCompare", "itemField", "itemWords", "num", "ops", "truthy"].filter((h) => new RegExp(`\\b${h}[.(]`).test(body));
|
|
1224
|
-
const named = [...helpers, ...uses(/\boverlays\./) ? ["useOverlays"] : [], ...uses(/\bsite\.(submit|records|call)\b/) ? ["useSite"] : [], ...store.length ? ["useVariables"] : []].sort();
|
|
1225
|
-
if (named.length) imports.set("popcraft", `import { ${named.join(", ")} } from '@/lib/popcraft'`);
|
|
1226
|
-
const page2 = ["controlTimeline", "orbitDrag", "scrubTimeline", "switchMode"].filter((h) => new RegExp(`\\b${h}\\(`).test(body));
|
|
1227
|
-
if (page2.length) imports.set("runtime", `import { ${page2.join(", ")} } from '@popcraft/runtime'`);
|
|
1228
|
-
}
|
|
1229
|
-
if (usesImage) imports.set("Image", "import Image from 'next/image'");
|
|
1230
|
-
if (usesIsland) imports.set("GpuIsland", "import { GpuIsland } from '@/components/gpu-island'");
|
|
1231
|
-
const nodes = all(page.tree.root);
|
|
1232
|
-
const client = live || /\buse(Effect|Ref|State)\b/.test(body);
|
|
1233
|
-
const hooks = [/<Fragment\b/.test(body) ? "Fragment" : "", effects.length ? "useEffect" : "", /\buseState\(/.test(body) ? "useState" : ""].filter((h) => h && !new RegExp(`import \\{[^}]*\\b${h}\\b`).test(body));
|
|
1234
|
-
if (hooks.length) imports.set("react", `import { ${hooks.join(", ")} } from 'react'`);
|
|
1235
|
-
const left = [
|
|
1236
|
-
nodes.some((n) => n.island) && !o.islands ? "layers drawn live on the GPU are pictures here" : "",
|
|
1237
|
-
...o.behaviour.missing(page.tree.root.id)
|
|
1238
|
-
].filter(Boolean);
|
|
1239
|
-
const dir = page.notFound ? "app" : pageDir(page.route);
|
|
1240
|
-
const metadata = [
|
|
1241
|
-
"import type { Metadata } from 'next'",
|
|
1242
|
-
"",
|
|
1243
|
-
`export const metadata: Metadata = {`,
|
|
1244
|
-
` title: ${JSON.stringify(page.title)},`,
|
|
1245
|
-
...page.description ? [` description: ${JSON.stringify(page.description)},`] : [],
|
|
1246
|
-
...page.route !== "/" && !page.notFound ? [` alternates: { canonical: ${JSON.stringify(page.route)} },`] : [],
|
|
1247
|
-
"}"
|
|
1248
|
-
];
|
|
1249
|
-
const screen = [
|
|
1250
|
-
...client ? ["'use client'", ""] : [],
|
|
1251
|
-
...[...imports.values()].sort(),
|
|
1252
|
-
...imports.size ? [""] : [],
|
|
1253
|
-
...left.length ? [`// Exported from PopCraft. Not carried into this page: ${left.join("; ")}. The static export plays them.`, ""] : [],
|
|
1254
|
-
body,
|
|
1255
|
-
""
|
|
1256
|
-
].join("\n");
|
|
1257
|
-
const screenFile = page.notFound ? "not-found-screen.tsx" : "screen.tsx";
|
|
1258
|
-
const pageFile = page.notFound ? "not-found.tsx" : "page.tsx";
|
|
1259
|
-
return [
|
|
1260
|
-
{ path: `${dir}/${screenFile}`, content: screen },
|
|
1261
|
-
{ path: `${dir}/${pageFile}`, content: [
|
|
1262
|
-
...metadata.slice(0, 1),
|
|
1263
|
-
`import { Screen } from './${screenFile.replace(/\.tsx$/, "")}'`,
|
|
1264
|
-
...metadata.slice(1),
|
|
1265
|
-
"",
|
|
1266
|
-
`export default function ${page.notFound ? "NotFound" : "Page"}() {`,
|
|
1267
|
-
" return <Screen />",
|
|
1268
|
-
"}",
|
|
1269
|
-
""
|
|
1270
|
-
].join("\n") }
|
|
1271
|
-
];
|
|
1272
|
-
}
|
|
1273
|
-
function layoutSource(site, fonts, o) {
|
|
1274
|
-
const { variables } = o;
|
|
1275
|
-
const modes = site.tokens?.active ?? [];
|
|
1276
|
-
const loaders = fonts.map((f) => {
|
|
1277
|
-
const name = f.ident.charAt(0).toLowerCase() + f.ident.slice(1).replace(/_/g, "");
|
|
1278
|
-
const weight = f.variableFont ? "" : `, weight: [${f.weights.map((w) => `'${w}'`).join(", ")}]`;
|
|
1279
|
-
return { name, line: `const ${name} = ${f.ident}({ subsets: ['latin'], display: 'swap', variable: '${f.variable}'${weight} })` };
|
|
1280
|
-
});
|
|
1281
|
-
const classes = [...loaders.map((l) => `\${${l.name}.variable}`), ...modes].join(" ");
|
|
1282
|
-
return [
|
|
1283
|
-
"import type { Metadata, Viewport } from 'next'",
|
|
1284
|
-
...fonts.length ? [`import { ${fonts.map((f) => f.ident).sort().join(", ")} } from 'next/font/google'`] : [],
|
|
1285
|
-
"import type { ReactNode } from 'react'",
|
|
1286
|
-
"import { siteUrl } from '@/lib/site'",
|
|
1287
|
-
...o.overlays ? ["import { Overlays } from '@/components/overlays'"] : [],
|
|
1288
|
-
...variables ? [`import { ${o.overlays ? "OverlayProvider, " : ""}${o.server ? "SiteProvider, " : ""}VariablesProvider } from '@/lib/popcraft'`] : [],
|
|
1289
|
-
"import './globals.css'",
|
|
1290
|
-
"",
|
|
1291
|
-
...loaders.length ? ["// The faces the design is set in, served from this site (no request to Google from a visitor's browser).", ...loaders.map((l) => l.line), ""] : [],
|
|
1292
|
-
"export const metadata: Metadata = {",
|
|
1293
|
-
" metadataBase: siteUrl,",
|
|
1294
|
-
` title: { default: ${JSON.stringify(site.name)}, template: ${JSON.stringify(`%s \xB7 ${site.name}`)} },`,
|
|
1295
|
-
` openGraph: { siteName: ${JSON.stringify(site.name)}, type: 'website' },`,
|
|
1296
|
-
"}",
|
|
1297
|
-
"",
|
|
1298
|
-
"export const viewport: Viewport = { width: 'device-width', initialScale: 1 }",
|
|
1299
|
-
"",
|
|
1300
|
-
"export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1301
|
-
" return (",
|
|
1302
|
-
` <html lang="en"${classes ? ` className={\`${classes}\`}` : ""}>`,
|
|
1303
|
-
` <body>${variables ? "<VariablesProvider>" : ""}${o.server ? "<SiteProvider>" : ""}${o.overlays ? "<OverlayProvider>{children}<Overlays /></OverlayProvider>" : "{children}"}${o.server ? "</SiteProvider>" : ""}${variables ? "</VariablesProvider>" : ""}</body>`,
|
|
1304
|
-
" </html>",
|
|
1305
|
-
" )",
|
|
1306
|
-
"}",
|
|
1307
|
-
""
|
|
1308
|
-
].join("\n");
|
|
1309
|
-
}
|
|
1310
|
-
function overlaysSource(site, b) {
|
|
1311
|
-
const screens = [...b.overlays].map((id) => site.pages.find((p) => p.id === id)).filter((p) => !!p);
|
|
1312
|
-
const name = (p) => `${componentName(p.title || p.route) || "Overlay"}Overlay`;
|
|
1313
|
-
const align = { CENTER: ["center", "center"], TOP_LEFT: ["flex-start", "flex-start"], TOP_CENTER: ["center", "flex-start"], TOP_RIGHT: ["flex-end", "flex-start"], BOTTOM_LEFT: ["flex-start", "flex-end"], BOTTOM_CENTER: ["center", "flex-end"], BOTTOM_RIGHT: ["flex-end", "flex-end"], MANUAL: ["flex-start", "flex-start"] };
|
|
1314
|
-
return [
|
|
1315
|
-
"'use client'",
|
|
1316
|
-
"",
|
|
1317
|
-
"// The frames the design opens as overlays (OVERLAY / SWAP), drawn over the page while they are open: each is the",
|
|
1318
|
-
"// same screen its own route shows. Open, swap and close them with useOverlays() from lib/popcraft.",
|
|
1319
|
-
"",
|
|
1320
|
-
"import type { ComponentType } from 'react'",
|
|
1321
|
-
"import { useOverlays } from '@/lib/popcraft'",
|
|
1322
|
-
...screens.map((p) => `import { Screen as ${name(p)} } from '@/${pageDir(p.route)}/screen'`),
|
|
1323
|
-
"",
|
|
1324
|
-
"const SCREENS: Record<string, ComponentType> = {",
|
|
1325
|
-
...screens.map((p) => ` ${JSON.stringify(p.id)}: ${name(p)},`),
|
|
1326
|
-
"}",
|
|
1327
|
-
`const ALIGN: Record<string, [string, string]> = ${JSON.stringify(align)}`,
|
|
1328
|
-
"",
|
|
1329
|
-
"export function Overlays() {",
|
|
1330
|
-
" const { list, close } = useOverlays()",
|
|
1331
|
-
" return list.map(({ id, options }, i) => {",
|
|
1332
|
-
" const Screen = SCREENS[id]",
|
|
1333
|
-
" if (!Screen) return null",
|
|
1334
|
-
" const [justifyContent, alignItems] = ALIGN[options.position ?? 'CENTER']",
|
|
1335
|
-
" return (",
|
|
1336
|
-
' <div key={`${id}-${i}`} role="dialog" aria-modal="true" onClick={e => { if (options.closeOnOutside && e.target === e.currentTarget) close() }}',
|
|
1337
|
-
" style={{ position: 'fixed', inset: 0, zIndex: 1000 + i, display: 'flex', justifyContent, alignItems, background: options.dim ?? 'transparent', padding: options.offset ? `${options.offset.y}px 0 0 ${options.offset.x}px` : undefined }}>",
|
|
1338
|
-
" <Screen />",
|
|
1339
|
-
" </div>",
|
|
1340
|
-
" )",
|
|
1341
|
-
" })",
|
|
1342
|
-
"}",
|
|
1343
|
-
""
|
|
1344
|
-
].join("\n");
|
|
1345
|
-
}
|
|
1346
|
-
function stateSource(b) {
|
|
1347
|
-
return [
|
|
1348
|
-
"'use client'",
|
|
1349
|
-
"",
|
|
1350
|
-
"// The design's variables, as state every page shares (the provider is in app/layout.tsx), and the helpers the",
|
|
1351
|
-
"// screens' expressions call. What an expression means (its operators and functions) is @popcraft/runtime's, so a",
|
|
1352
|
-
"// value comes out here as it does in PopCraft.",
|
|
1353
|
-
"",
|
|
1354
|
-
`import { createContext, useCallback, useContext, ${b.server ? "useEffect, " : ""}useMemo, useState, type ReactNode } from 'react'`,
|
|
1355
|
-
...b.server && Object.keys(b.server.access).length ? ["import { usePathname, useRouter } from 'next/navigation'"] : [],
|
|
1356
|
-
`import { ${b.server ? "createSiteClient, dayOf, " : ""}ExprMissing, FUNCTIONS, exprText, num, ops, truthy, type ExprValue${b.server ? ", type AuthAction, type ExprData, type SiteRecord, type SiteUser" : ""} } from '@popcraft/runtime'`,
|
|
1357
|
-
"",
|
|
1358
|
-
"export { exprText, num, ops, truthy }",
|
|
1359
|
-
"",
|
|
1360
|
-
"export interface Variables {",
|
|
1361
|
-
...b.variables.map((v) => ` /** ${v.name} */
|
|
1362
|
-
${v.ident}: ${v.type}`),
|
|
1363
|
-
"}",
|
|
1364
|
-
"",
|
|
1365
|
-
"export const initialVariables: Variables = {",
|
|
1366
|
-
...b.variables.map((v) => ` ${v.ident}: ${v.initial},`),
|
|
1367
|
-
"}",
|
|
1368
|
-
"",
|
|
1369
|
-
"interface Store {",
|
|
1370
|
-
" v: Variables",
|
|
1371
|
-
" set: <K extends keyof Variables>(name: K, value: Variables[K]) => void",
|
|
1372
|
-
"}",
|
|
1373
|
-
"",
|
|
1374
|
-
"const VariablesContext = createContext<Store | null>(null)",
|
|
1375
|
-
"",
|
|
1376
|
-
"export function VariablesProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1377
|
-
" const [v, setV] = useState(initialVariables)",
|
|
1378
|
-
" const set = useCallback(<K extends keyof Variables>(name: K, value: Variables[K]) => setV(prev => ({ ...prev, [name]: value })), [])",
|
|
1379
|
-
" const store = useMemo(() => ({ v, set }), [v, set])",
|
|
1380
|
-
" return <VariablesContext value={store}>{children}</VariablesContext>",
|
|
1381
|
-
"}",
|
|
1382
|
-
"",
|
|
1383
|
-
"/** The variables, and the way to change one. */",
|
|
1384
|
-
"export function useVariables(): Store {",
|
|
1385
|
-
" const store = useContext(VariablesContext)",
|
|
1386
|
-
" if (!store) throw new Error('useVariables is used outside VariablesProvider (app/layout.tsx)')",
|
|
1387
|
-
" return store",
|
|
1388
|
-
"}",
|
|
1389
|
-
"",
|
|
1390
|
-
"/** Where an overlay sits over the page, and how it closes (OVERLAY / SWAP in the design). */",
|
|
1391
|
-
"export interface OverlayOptions { position?: 'CENTER' | 'TOP_LEFT' | 'TOP_CENTER' | 'TOP_RIGHT' | 'BOTTOM_LEFT' | 'BOTTOM_CENTER' | 'BOTTOM_RIGHT' | 'MANUAL'; dim?: string; closeOnOutside?: boolean; offset?: { x: number; y: number } }",
|
|
1392
|
-
"interface OverlayStore { open: OverlayEntry[]; push(id: string, o?: OverlayOptions): void; swap(id: string, o?: OverlayOptions): void; close(): void }",
|
|
1393
|
-
"export interface OverlayEntry { id: string; options: OverlayOptions }",
|
|
1394
|
-
"",
|
|
1395
|
-
"const OverlayContext = createContext<OverlayStore | null>(null)",
|
|
1396
|
-
"",
|
|
1397
|
-
"/** The overlays open over the page, top last. */",
|
|
1398
|
-
"export function OverlayProvider({ children }: Readonly<{ children: ReactNode }>) {",
|
|
1399
|
-
" const [open, setOpen] = useState<OverlayEntry[]>([])",
|
|
1400
|
-
" const store = useMemo<OverlayStore>(() => ({",
|
|
1401
|
-
" open,",
|
|
1402
|
-
" push: (id, options = {}) => setOpen(prev => [...prev, { id, options }]),",
|
|
1403
|
-
" swap: (id, options = {}) => setOpen(prev => [...prev.slice(0, -1), { id, options }]),",
|
|
1404
|
-
" close: () => setOpen(prev => prev.slice(0, -1)),",
|
|
1405
|
-
" }), [open])",
|
|
1406
|
-
" return <OverlayContext value={store}>{children}</OverlayContext>",
|
|
1407
|
-
"}",
|
|
1408
|
-
"",
|
|
1409
|
-
"/** Open, swap and close overlays: `overlays.open(id, { position, dim, closeOnOutside })`. */",
|
|
1410
|
-
"export function useOverlays() {",
|
|
1411
|
-
" const store = useContext(OverlayContext)",
|
|
1412
|
-
" if (!store) throw new Error('useOverlays is used outside OverlayProvider (app/layout.tsx)')",
|
|
1413
|
-
" return { open: store.push, swap: store.swap, close: store.close, list: store.open }",
|
|
1414
|
-
"}",
|
|
1415
|
-
"",
|
|
1416
|
-
...b.server ? siteProviderSource(b.server) : [],
|
|
1417
|
-
"/** One of the expression functions (`count`, `clamp`, `today`\u2026). One that adds up records that are not here gives 0. */",
|
|
1418
|
-
"export function call(fn: string, ...args: ExprValue[]): ExprValue {",
|
|
1419
|
-
" const f = FUNCTIONS[fn]",
|
|
1420
|
-
" if (!f) return 0",
|
|
1421
|
-
" try { return f(args) } catch (e) { if (e instanceof ExprMissing) return 0; throw e }",
|
|
1422
|
-
"}",
|
|
1423
|
-
""
|
|
1424
|
-
].join("\n");
|
|
1425
|
-
}
|
|
1426
|
-
var siteSource = () => [
|
|
1427
|
-
"// Where the site is served from (NEXT_PUBLIC_SITE_URL, see .env.example): its sitemap, robots.txt and the",
|
|
1428
|
-
"// addresses social previews link to are made from it.",
|
|
1429
|
-
"export const siteUrl = new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'http://localhost:3000')",
|
|
1430
|
-
""
|
|
1431
|
-
].join("\n");
|
|
1432
|
-
var sitemapSource = (routes) => [
|
|
1433
|
-
"import type { MetadataRoute } from 'next'",
|
|
1434
|
-
"import { siteUrl } from '@/lib/site'",
|
|
1435
|
-
"",
|
|
1436
|
-
"export default function sitemap(): MetadataRoute.Sitemap {",
|
|
1437
|
-
` return ${JSON.stringify(routes)}.map(route => ({ url: new URL(route, siteUrl).href, lastModified: new Date() }))`,
|
|
1438
|
-
"}",
|
|
1439
|
-
""
|
|
1440
|
-
].join("\n");
|
|
1441
|
-
var robotsSource = () => [
|
|
1442
|
-
"import type { MetadataRoute } from 'next'",
|
|
1443
|
-
"import { siteUrl } from '@/lib/site'",
|
|
1444
|
-
"",
|
|
1445
|
-
"export default function robots(): MetadataRoute.Robots {",
|
|
1446
|
-
" return { rules: { userAgent: '*', allow: '/' }, sitemap: new URL('/sitemap.xml', siteUrl).href }",
|
|
1447
|
-
"}",
|
|
1448
|
-
""
|
|
1449
|
-
].join("\n");
|
|
1450
|
-
function readme(site, o) {
|
|
1451
|
-
const v = EXPORT_VERSIONS.packages;
|
|
1452
|
-
return `# ${site.name}
|
|
1453
|
-
|
|
1454
|
-
Exported from [PopCraft](https://popcraft.app) as a Next.js ${v.next.split(".")[0]} project (App Router, React ${v.react.split(".")[0]}, TypeScript${o.tailwind ? `, Tailwind CSS ${v.tailwindcss.split(".")[0]}` : ""}).
|
|
1455
|
-
|
|
1456
|
-
## Run it
|
|
1457
|
-
|
|
1458
|
-
You need Node.js ${EXPORT_VERSIONS.node.replace(">=", "")} or newer.
|
|
1459
|
-
|
|
1460
|
-
\`\`\`bash
|
|
1461
|
-
npm install
|
|
1462
|
-
npm run dev
|
|
1463
|
-
\`\`\`
|
|
1464
|
-
|
|
1465
|
-
Then open http://localhost:3000.
|
|
1466
|
-
|
|
1467
|
-
| Command | What it does |
|
|
1468
|
-
| --- | --- |
|
|
1469
|
-
| \`npm run dev\` | Runs the site locally, reloading as you edit |
|
|
1470
|
-
| \`npm run build\` | Builds it for production |
|
|
1471
|
-
| \`npm start\` | Serves the production build |
|
|
1472
|
-
| \`npm run lint\` | Checks the code with ESLint (Next.js's recommended rules) |
|
|
1473
|
-
| \`npm run typecheck\` | Checks the types with TypeScript |
|
|
1474
|
-
|
|
1475
|
-
## What is where
|
|
1476
|
-
|
|
1477
|
-
| Path | What it is |
|
|
1478
|
-
| --- | --- |
|
|
1479
|
-
| \`app/layout.tsx\` | The page around every route: language, fonts, the site's metadata |
|
|
1480
|
-
${o.routes.map((r) => `| \`${pageDir(r)}/page.tsx\` | \`${r}\`: its title and description, and the screen it shows |`).join("\n")}
|
|
1481
|
-
| \`app/**/screen.tsx\` | Each screen as plain TSX: real elements, links and forms. A screen that runs in the browser starts with \`'use client'\` |
|
|
1482
|
-
| \`app/globals.css\` | The design's variables${o.tailwind ? ", Tailwind," : ""} and its breakpoints as media queries |
|
|
1483
|
-
| \`app/sitemap.ts\`, \`app/robots.ts\` | \`/sitemap.xml\` and \`/robots.txt\`, from \`NEXT_PUBLIC_SITE_URL\` |
|
|
1484
|
-
| \`public/\` | The pictures, served through \`next/image\` at the size each screen needs |
|
|
1485
|
-
${o.code ? "| `components/code/` | The file's code components, as their source |\n" : ""}${o.server ? "| `app/api/popcraft/`, `lib/popcraft-server.ts` | The site's own server: forms, sign-in and each visitor's records, answered by `@popcraft/runtime/server` |\n" : ""}${o.server && Object.keys(o.server.access).length ? "| `proxy.ts` | Sends a visitor to the page for them: signed-in pages need an account, sign-in pages are for visitors without one |\n" : ""}
|
|
1486
|
-
${o.fonts.length ? `Fonts (${o.fonts.map((f) => f.family).join(", ")}) load through \`next/font/google\`: they are downloaded at build time and served from the site itself.
|
|
1487
|
-
` : ""}
|
|
1488
|
-
${o.server ? serverReadme(o.server) : ""}## Deploy
|
|
1489
|
-
|
|
1490
|
-
Set \`NEXT_PUBLIC_SITE_URL\` to the site's address (copy \`.env.example\` to \`.env.local\` for local use), then deploy
|
|
1491
|
-
anywhere that runs Next.js: Vercel, a Node server (\`npm run build && npm start\`), or a container.
|
|
1492
|
-
|
|
1493
|
-
## Exporting again
|
|
1494
|
-
|
|
1495
|
-
Exporting from PopCraft again writes these files again. Keep changes you want to survive in files of your own, or
|
|
1496
|
-
treat this project as yours from here on and stop exporting.
|
|
1497
|
-
`;
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
// lib/io/web/project/build.ts
|
|
1501
|
-
var runtimeScript = (name) => fetch(`/pc/${name}.js?fresh=${Date.now()}`, { cache: "no-store" }).then((r) => r.ok ? r.text() : null).catch(() => null);
|
|
1502
|
-
async function appAssetFiles(paths, under = "") {
|
|
1503
|
-
const got = await Promise.all(paths.map(async (path) => {
|
|
1504
|
-
const res = await fetch(path).catch(() => null);
|
|
1505
|
-
const file = res?.ok ? { path: `${under}${path.replace(/^\//, "")}`, content: new Uint8Array(await res.arrayBuffer()) } : null;
|
|
1506
|
-
return file;
|
|
1507
|
-
}));
|
|
1508
|
-
return got.filter((f) => f !== null);
|
|
1509
|
-
}
|
|
1510
|
-
async function completeSite(doc, pageId) {
|
|
1511
|
-
const [{ previewSite }, { rendererAssetResolvers }] = await Promise.all([import("./host-2WSEZEC4.js"), import("./resolvers-OH5YD6V7.js")]);
|
|
1512
|
-
return previewSite(doc, pageId, rendererAssetResolvers(doc));
|
|
1513
|
-
}
|
|
1514
|
-
var NoSiteRuntime = class extends Error {
|
|
1515
|
-
constructor() {
|
|
1516
|
-
super("The site runtime is not built in this copy of the app.");
|
|
1517
|
-
}
|
|
1518
|
-
};
|
|
1519
|
-
async function nextFilesOf(full, doc, opts = {}) {
|
|
1520
|
-
const site = withoutScreenIslands(full);
|
|
1521
|
-
const islandScript = site.islands && Object.keys(site.islands).length ? await runtimeScript("island") : null;
|
|
1522
|
-
return [...nextProjectFiles(site, doc, { ...opts, islandScript }), ...await appAssetFiles(appAssetPaths(site), "public/")];
|
|
1523
|
-
}
|
|
1524
|
-
async function staticFilesOf(site) {
|
|
1525
|
-
const [siteJs, island, code] = await Promise.all([runtimeScript("site"), site.islands ? runtimeScript("island") : null, site.code ? runtimeScript("code") : null]);
|
|
1526
|
-
if (!siteJs) throw new NoSiteRuntime();
|
|
1527
|
-
return [...staticSiteFiles(site, { site: siteJs, island, code }), ...await appAssetFiles(appAssetPaths(site))];
|
|
1528
|
-
}
|
|
1529
|
-
export {
|
|
1530
|
-
ASSET_DIR,
|
|
1531
|
-
NoSiteRuntime,
|
|
1532
|
-
appAssetFiles,
|
|
1533
|
-
appAssetPaths,
|
|
1534
|
-
bytesOf,
|
|
1535
|
-
completeSite,
|
|
1536
|
-
externalizeBitmaps,
|
|
1537
|
-
nextFilesOf,
|
|
1538
|
-
nextProjectFiles,
|
|
1539
|
-
routeFile,
|
|
1540
|
-
routeUp,
|
|
1541
|
-
staticFilesOf,
|
|
1542
|
-
staticSiteFiles,
|
|
1543
|
-
withAssetBase
|
|
1544
|
-
};
|