@popcraft/kit 2.1.0 → 2.2.0
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-P7HGVCNW.js +44 -0
- package/dist/chunks/builtin-OP2QEWQT.js +121 -0
- package/dist/chunks/buy-credits-GVYXITE4.js +80 -0
- package/dist/chunks/check-template-H6HUSULC.js +2413 -0
- package/dist/chunks/chunk-232JPN6K.js +30 -0
- package/dist/chunks/chunk-236VRFNF.js +80 -0
- package/dist/chunks/chunk-23WZ2JTZ.js +307 -0
- package/dist/chunks/chunk-24QBLXUT.js +33 -0
- package/dist/chunks/chunk-254PZENJ.js +230 -0
- package/dist/chunks/chunk-25BTP5XI.js +134 -0
- package/dist/chunks/chunk-26F45VJK.js +104 -0
- package/dist/chunks/chunk-27CKXG6V.js +173 -0
- package/dist/chunks/chunk-2AG3G42Y.js +95 -0
- package/dist/chunks/chunk-2AWMOQUQ.js +157 -0
- package/dist/chunks/chunk-2E7QKXJ3.js +165 -0
- package/dist/chunks/chunk-2EXFPK42.js +366 -0
- package/dist/chunks/chunk-2JMQABRK.js +81 -0
- package/dist/chunks/chunk-2JPLPDLG.js +90 -0
- package/dist/chunks/chunk-2KQDZAUO.js +185 -0
- package/dist/chunks/chunk-2LXIPCFK.js +23 -0
- package/dist/chunks/chunk-2M6ITBP6.js +55 -0
- package/dist/chunks/chunk-2MKFRDDJ.js +33 -0
- package/dist/chunks/chunk-2MUUP2H2.js +97 -0
- package/dist/chunks/chunk-2NN2C64Q.js +93 -0
- package/dist/chunks/chunk-2P2P5NBM.js +777 -0
- package/dist/chunks/chunk-2RLLO2WI.js +135 -0
- package/dist/chunks/chunk-2SJELAFX.js +101 -0
- package/dist/chunks/chunk-2UB7ARZR.js +366 -0
- package/dist/chunks/chunk-2W3OUES3.js +104 -0
- package/dist/chunks/chunk-2WODX4XD.js +160 -0
- package/dist/chunks/chunk-2XB6SNOJ.js +59 -0
- package/dist/chunks/chunk-2YLTXTWI.js +23 -0
- package/dist/chunks/chunk-2YQRZ6NY.js +151 -0
- package/dist/chunks/chunk-2Z5TIWKN.js +48 -0
- package/dist/chunks/chunk-2ZN7ARWZ.js +250 -0
- package/dist/chunks/chunk-343E2AXU.js +1845 -0
- package/dist/chunks/chunk-34IK3L2Y.js +151 -0
- package/dist/chunks/chunk-37X3DJV7.js +163 -0
- package/dist/chunks/chunk-3A3BT525.js +287 -0
- package/dist/chunks/chunk-3B65XJA3.js +117 -0
- package/dist/chunks/chunk-3BAD36OY.js +78 -0
- package/dist/chunks/chunk-3CXUVMS4.js +154 -0
- package/dist/chunks/chunk-3EDABVEH.js +160 -0
- package/dist/chunks/chunk-3GZXNZP5.js +161 -0
- package/dist/chunks/chunk-3HUM5A67.js +65 -0
- package/dist/chunks/chunk-3JPB7MEH.js +149 -0
- package/dist/chunks/chunk-3JVXPXA4.js +180 -0
- package/dist/chunks/chunk-3K4RKE3I.js +146 -0
- package/dist/chunks/chunk-3K73U5TN.js +141 -0
- package/dist/chunks/chunk-3L3LYVMP.js +214 -0
- package/dist/chunks/chunk-3LPTEW6W.js +41 -0
- package/dist/chunks/chunk-3M3ZUF4B.js +327 -0
- package/dist/chunks/chunk-3OYOBCGJ.js +50 -0
- package/dist/chunks/chunk-3RWBLQWQ.js +378 -0
- package/dist/chunks/chunk-3RXUEBJI.js +52 -0
- package/dist/chunks/chunk-3T4M4ZJV.js +115 -0
- package/dist/chunks/chunk-3V6HHIRE.js +77 -0
- package/dist/chunks/chunk-3VCQLJAV.js +119 -0
- package/dist/chunks/chunk-3WBZA5H6.js +23 -0
- package/dist/chunks/chunk-3X6JBMNH.js +94 -0
- package/dist/chunks/chunk-3XWR2LME.js +96 -0
- package/dist/chunks/chunk-3XYFHJEQ.js +119 -0
- package/dist/chunks/chunk-3YBH6MTN.js +215 -0
- package/dist/chunks/chunk-3ZSSNZCD.js +177 -0
- package/dist/chunks/chunk-433D2YRC.js +120 -0
- package/dist/chunks/chunk-44EUV6SD.js +45 -0
- package/dist/chunks/chunk-45FM5ERK.js +150 -0
- package/dist/chunks/chunk-45ZUNYKO.js +23 -0
- package/dist/chunks/chunk-47BZUIVR.js +261 -0
- package/dist/chunks/chunk-4DDAOMTB.js +41 -0
- package/dist/chunks/chunk-4DEPBCX6.js +260 -0
- package/dist/chunks/chunk-4ECY4ZZB.js +33 -0
- package/dist/chunks/chunk-4EHXL56W.js +152 -0
- package/dist/chunks/chunk-4F2PRH55.js +78 -0
- package/dist/chunks/chunk-4FGSR3AO.js +84 -0
- package/dist/chunks/chunk-4GBJGZ3K.js +49 -0
- package/dist/chunks/chunk-4HBIGS6D.js +248 -0
- package/dist/chunks/chunk-4IIA7CG7.js +53 -0
- package/dist/chunks/chunk-4INRU2WD.js +45 -0
- package/dist/chunks/chunk-4IY2XN3W.js +65 -0
- package/dist/chunks/chunk-4M4HM4EG.js +108 -0
- package/dist/chunks/chunk-4MXDGF4R.js +969 -0
- package/dist/chunks/chunk-4N3RAKVR.js +181 -0
- package/dist/chunks/chunk-4ODJ6OYO.js +112 -0
- package/dist/chunks/chunk-4PA7JP3A.js +33 -0
- package/dist/chunks/chunk-4Q3AZTH4.js +110 -0
- package/dist/chunks/chunk-4QIPSKGK.js +60 -0
- package/dist/chunks/chunk-4QVPSRVQ.js +95 -0
- package/dist/chunks/chunk-4RIAXUQV.js +312 -0
- package/dist/chunks/chunk-4RPYGPF7.js +78 -0
- package/dist/chunks/chunk-4SOJ2SOD.js +93 -0
- package/dist/chunks/chunk-4T44SXRJ.js +13744 -0
- package/dist/chunks/chunk-4VHZUXZB.js +152 -0
- package/dist/chunks/chunk-4VJTVQZL.js +76 -0
- package/dist/chunks/chunk-553ONKEO.js +129 -0
- package/dist/chunks/chunk-55JQ5CMZ.js +117 -0
- package/dist/chunks/chunk-564CGLTJ.js +149 -0
- package/dist/chunks/chunk-57D55SBH.js +368 -0
- package/dist/chunks/chunk-5FTL3SIP.js +23 -0
- package/dist/chunks/chunk-5GSO32LF.js +112 -0
- package/dist/chunks/chunk-5JPHNO4N.js +375 -0
- package/dist/chunks/chunk-5K6BAG3U.js +84 -0
- package/dist/chunks/chunk-5KR3ZJLV.js +42 -0
- package/dist/chunks/chunk-5LJDGR5Q.js +304 -0
- package/dist/chunks/chunk-5M32EYWF.js +97 -0
- package/dist/chunks/chunk-5NSFMPTP.js +23 -0
- package/dist/chunks/chunk-5OUSH5MJ.js +137 -0
- package/dist/chunks/chunk-5RI2JDDG.js +97 -0
- package/dist/chunks/chunk-5RI6QE43.js +118 -0
- package/dist/chunks/chunk-5SZMSXGL.js +87 -0
- package/dist/chunks/chunk-5UD7AZLZ.js +33 -0
- package/dist/chunks/chunk-5VO7AMIQ.js +298 -0
- package/dist/chunks/chunk-5VPKBYAJ.js +84 -0
- package/dist/chunks/chunk-5WA6K27L.js +23 -0
- package/dist/chunks/chunk-5WZDTHUW.js +358 -0
- package/dist/chunks/chunk-5XGDQXS3.js +106 -0
- package/dist/chunks/chunk-62KQFT4J.js +179 -0
- package/dist/chunks/chunk-62XDLAW3.js +303 -0
- package/dist/chunks/chunk-64SY4VEJ.js +204 -0
- package/dist/chunks/chunk-663DZEKI.js +147 -0
- package/dist/chunks/chunk-66EQVVNR.js +150 -0
- package/dist/chunks/chunk-66U3PKET.js +195 -0
- package/dist/chunks/chunk-6F4Z5SKZ.js +178 -0
- package/dist/chunks/chunk-6GGTRQKZ.js +83 -0
- package/dist/chunks/chunk-6H7YLXOA.js +282 -0
- package/dist/chunks/chunk-6IM5GAHO.js +206 -0
- package/dist/chunks/chunk-6J7ACHJY.js +174 -0
- package/dist/chunks/chunk-6LNA56E2.js +55 -0
- package/dist/chunks/chunk-6MEGFLIJ.js +91 -0
- package/dist/chunks/chunk-6MWHL723.js +101 -0
- package/dist/chunks/chunk-6OIZXOCP.js +33 -0
- package/dist/chunks/chunk-6SSTDRHX.js +272 -0
- package/dist/chunks/chunk-6USWM2QK.js +95 -0
- package/dist/chunks/chunk-6X4L3AUZ.js +33 -0
- package/dist/chunks/chunk-6XQAWMJ6.js +112 -0
- package/dist/chunks/chunk-6YBUKPY4.js +160 -0
- package/dist/chunks/chunk-6YLE4LD5.js +121 -0
- package/dist/chunks/chunk-6YUELUON.js +185 -0
- package/dist/chunks/chunk-73KBL7PU.js +336 -0
- package/dist/chunks/chunk-74SHSQ3G.js +256 -0
- package/dist/chunks/chunk-76HKJ5QS.js +249 -0
- package/dist/chunks/chunk-76ODNIHD.js +80 -0
- package/dist/chunks/chunk-76OJD5AJ.js +131 -0
- package/dist/chunks/chunk-76XTGAVB.js +70 -0
- package/dist/chunks/chunk-7BTAAD7P.js +84 -0
- package/dist/chunks/chunk-7BU7M5KC.js +49 -0
- package/dist/chunks/chunk-7CJCJ7Y6.js +225 -0
- package/dist/chunks/chunk-7D4YCHZW.js +172 -0
- package/dist/chunks/chunk-7DP7RWQP.js +172 -0
- package/dist/chunks/chunk-7EMCIFOY.js +163 -0
- package/dist/chunks/chunk-7EZYNIS6.js +320 -0
- package/dist/chunks/chunk-7HB2QKD4.js +284 -0
- package/dist/chunks/chunk-7HLYL2NY.js +122 -0
- package/dist/chunks/chunk-7IAUWAYR.js +23 -0
- package/dist/chunks/chunk-7J6DX5VO.js +157 -0
- package/dist/chunks/chunk-7KFK67RI.js +166 -0
- package/dist/chunks/chunk-7KXL5VKS.js +168 -0
- package/dist/chunks/chunk-7LOI2O7T.js +92 -0
- package/dist/chunks/chunk-7M6ZZ63G.js +136 -0
- package/dist/chunks/chunk-7ME5JJQZ.js +33 -0
- package/dist/chunks/chunk-7QI4OZKV.js +146 -0
- package/dist/chunks/chunk-7QLRGLDX.js +209 -0
- package/dist/chunks/chunk-7UHFQAR2.js +105 -0
- package/dist/chunks/chunk-7V5JY5YF.js +153 -0
- package/dist/chunks/chunk-7XLJZIIH.js +155 -0
- package/dist/chunks/chunk-7XXFXOJJ.js +93 -0
- package/dist/chunks/chunk-7YJQNULZ.js +422 -0
- package/dist/chunks/chunk-7ZH6F3HL.js +195 -0
- package/dist/chunks/chunk-7ZVMLB2S.js +317 -0
- package/dist/chunks/chunk-A53Z5YQK.js +315 -0
- package/dist/chunks/chunk-ACGT5VLK.js +1136 -0
- package/dist/chunks/chunk-AGHBMVXG.js +146 -0
- package/dist/chunks/chunk-AJNO272E.js +169 -0
- package/dist/chunks/chunk-ALZRIFBR.js +161 -0
- package/dist/chunks/chunk-AMEU66HZ.js +97 -0
- package/dist/chunks/chunk-AMIFNIPG.js +55 -0
- package/dist/chunks/chunk-AND5FL2K.js +171 -0
- package/dist/chunks/chunk-ANDBBN46.js +10754 -0
- package/dist/chunks/chunk-ANXQHGF3.js +47 -0
- package/dist/chunks/chunk-AO2UAQTX.js +159 -0
- package/dist/chunks/chunk-AOXKD5EF.js +202 -0
- package/dist/chunks/chunk-AP336WOR.js +110 -0
- package/dist/chunks/chunk-APVN7BVI.js +147 -0
- package/dist/chunks/chunk-AQPM4BFQ.js +45 -0
- package/dist/chunks/chunk-AUCKAFKE.js +149 -0
- package/dist/chunks/chunk-AVNXH6XE.js +108 -0
- package/dist/chunks/chunk-AVRYOM7T.js +50 -0
- package/dist/chunks/chunk-AWZVQM3X.js +305 -0
- package/dist/chunks/chunk-AXQ4RELD.js +86 -0
- package/dist/chunks/chunk-AZ4HQLN2.js +133 -0
- package/dist/chunks/chunk-AZ7Y2BN2.js +235 -0
- package/dist/chunks/chunk-B4JUX4UQ.js +626 -0
- package/dist/chunks/chunk-B5WBQEXS.js +45 -0
- package/dist/chunks/chunk-B7PBO75X.js +171 -0
- package/dist/chunks/chunk-B7Q2RRLB.js +155 -0
- package/dist/chunks/chunk-BBS3FWVS.js +351 -0
- package/dist/chunks/chunk-BBSXHAB6.js +79 -0
- package/dist/chunks/chunk-BCJODA5P.js +123 -0
- package/dist/chunks/chunk-BEMIKCDS.js +183 -0
- package/dist/chunks/chunk-BFRRASKD.js +73 -0
- package/dist/chunks/chunk-BGBKFAEP.js +258 -0
- package/dist/chunks/chunk-BH2AKXBV.js +45 -0
- package/dist/chunks/chunk-BH4ZUMW3.js +231 -0
- package/dist/chunks/chunk-BIVOC77W.js +191 -0
- package/dist/chunks/chunk-BJPZZCMG.js +23 -0
- package/dist/chunks/chunk-BK3CBOBD.js +685 -0
- package/dist/chunks/chunk-BKCI6WDN.js +118 -0
- package/dist/chunks/chunk-BOHNTUCB.js +305 -0
- package/dist/chunks/chunk-BOS4DZM4.js +167 -0
- package/dist/chunks/chunk-BPTR672Y.js +140 -0
- package/dist/chunks/chunk-BQIEIWAT.js +415 -0
- package/dist/chunks/chunk-BRMNHQ3O.js +30 -0
- package/dist/chunks/chunk-BSUFO4EL.js +23 -0
- package/dist/chunks/chunk-BTNIFCOJ.js +156 -0
- package/dist/chunks/chunk-BVGABALZ.js +23 -0
- package/dist/chunks/chunk-BVXSXZJS.js +121 -0
- package/dist/chunks/chunk-BWFSRYDL.js +66 -0
- package/dist/chunks/chunk-BWVTUSCO.js +164 -0
- package/dist/chunks/chunk-BZNM6LZD.js +147 -0
- package/dist/chunks/chunk-C2V2L5U2.js +134 -0
- package/dist/chunks/chunk-C2WWEWTJ.js +346 -0
- package/dist/chunks/chunk-C4EESUZZ.js +1309 -0
- package/dist/chunks/chunk-C6OKNNN4.js +51 -0
- package/dist/chunks/chunk-C6QQQ6EH.js +155 -0
- package/dist/chunks/chunk-CB2Q7LTE.js +100 -0
- package/dist/chunks/chunk-CCJHXHXE.js +41 -0
- package/dist/chunks/chunk-CCLG57SM.js +99 -0
- package/dist/chunks/chunk-CG43LWCM.js +111 -0
- package/dist/chunks/chunk-CH4IHJLG.js +128 -0
- package/dist/chunks/chunk-CHINI7UI.js +119 -0
- package/dist/chunks/chunk-CHIV625L.js +82 -0
- package/dist/chunks/chunk-CILHGZFQ.js +100 -0
- package/dist/chunks/chunk-CINVJP6W.js +301 -0
- package/dist/chunks/chunk-CLGO6SHN.js +110 -0
- package/dist/chunks/chunk-CMLQWKQZ.js +122 -0
- package/dist/chunks/chunk-CPRDN2OI.js +88 -0
- package/dist/chunks/chunk-CQK7XU6S.js +166 -0
- package/dist/chunks/chunk-CTMD42TV.js +135 -0
- package/dist/chunks/chunk-CVWSUCHL.js +60 -0
- package/dist/chunks/chunk-CWOCHKQW.js +114 -0
- package/dist/chunks/chunk-CZAG3JSE.js +103 -0
- package/dist/chunks/chunk-D3HKYVAU.js +231 -0
- package/dist/chunks/chunk-D3IKQQCF.js +70 -0
- package/dist/chunks/chunk-D3YFOMNZ.js +146 -0
- package/dist/chunks/chunk-D4PJM7B5.js +120 -0
- package/dist/chunks/chunk-D4RFDMYE.js +154 -0
- package/dist/chunks/chunk-D5AUTMUO.js +278 -0
- package/dist/chunks/chunk-D5RMPV2W.js +75 -0
- package/dist/chunks/chunk-D7SIOPXR.js +161 -0
- package/dist/chunks/chunk-D7Z6ZQ6F.js +217 -0
- package/dist/chunks/chunk-DB7CHK3N.js +10311 -0
- package/dist/chunks/chunk-DBCMNUWX.js +33 -0
- package/dist/chunks/chunk-DBEREBBV.js +184 -0
- package/dist/chunks/chunk-DBJIDJUL.js +213 -0
- package/dist/chunks/chunk-DC5OVIWB.js +232 -0
- package/dist/chunks/chunk-DCSC3C22.js +105 -0
- package/dist/chunks/chunk-DDPPF7PJ.js +170 -0
- package/dist/chunks/chunk-DDT72U47.js +191 -0
- package/dist/chunks/chunk-DED4WDP4.js +82 -0
- package/dist/chunks/chunk-DFZDC6A3.js +70 -0
- package/dist/chunks/chunk-DJ3WXFYD.js +92 -0
- package/dist/chunks/chunk-DJBRZ6BY.js +239 -0
- package/dist/chunks/chunk-DJZDI75L.js +131 -0
- package/dist/chunks/chunk-DMKBT4V6.js +497 -0
- package/dist/chunks/chunk-DMLMVAAU.js +94 -0
- package/dist/chunks/chunk-DNMCF2Q6.js +71 -0
- package/dist/chunks/chunk-DO6IOBBC.js +231 -0
- package/dist/chunks/chunk-DOJ4VZL6.js +23 -0
- package/dist/chunks/chunk-DOZTKRCA.js +74 -0
- package/dist/chunks/chunk-DQEUUDJ2.js +77 -0
- package/dist/chunks/chunk-DRUOP6C5.js +106 -0
- package/dist/chunks/chunk-DSOGSLRQ.js +23 -0
- package/dist/chunks/chunk-DSZSDJ4R.js +45 -0
- package/dist/chunks/chunk-DUWCIVBJ.js +53 -0
- package/dist/chunks/chunk-DVPBPDE5.js +23 -0
- package/dist/chunks/chunk-DWN5NE2Y.js +138 -0
- package/dist/chunks/chunk-DX5SGTH4.js +97 -0
- package/dist/chunks/chunk-DY3NSYIE.js +79 -0
- package/dist/chunks/chunk-DZYZWHET.js +111 -0
- package/dist/chunks/chunk-E2O3Z26A.js +135 -0
- package/dist/chunks/chunk-E4DHDZJX.js +147 -0
- package/dist/chunks/chunk-E4NXTX3J.js +358 -0
- package/dist/chunks/chunk-E6DS6ZXV.js +98 -0
- package/dist/chunks/chunk-E7MJ2KJ3.js +103 -0
- package/dist/chunks/chunk-EA65JFUM.js +77 -0
- package/dist/chunks/chunk-EACL2MQ6.js +87 -0
- package/dist/chunks/chunk-EE6A5TVL.js +199 -0
- package/dist/chunks/chunk-EEKY53K5.js +190 -0
- package/dist/chunks/chunk-EGNAFJZD.js +107 -0
- package/dist/chunks/chunk-EIEPNBGE.js +122 -0
- package/dist/chunks/chunk-EJI34M56.js +130 -0
- package/dist/chunks/chunk-EK7LWMGO.js +113 -0
- package/dist/chunks/chunk-ELULTHTA.js +133 -0
- package/dist/chunks/chunk-EM66TMTT.js +125 -0
- package/dist/chunks/chunk-EMT2CW3I.js +120 -0
- package/dist/chunks/chunk-EMVSQ7CI.js +94 -0
- package/dist/chunks/chunk-ENXAN7XE.js +156 -0
- package/dist/chunks/chunk-EP2Y2DQC.js +163 -0
- package/dist/chunks/chunk-ERZEKYYH.js +156 -0
- package/dist/chunks/chunk-ES5U6G4M.js +133 -0
- package/dist/chunks/chunk-ESDUFVIK.js +214 -0
- package/dist/chunks/chunk-ETZZQLKJ.js +173 -0
- package/dist/chunks/chunk-EV5YIF6W.js +100 -0
- package/dist/chunks/chunk-EYADU6RF.js +232 -0
- package/dist/chunks/chunk-EZ6XSCEC.js +255 -0
- package/dist/chunks/chunk-F3JHDAZD.js +74 -0
- package/dist/chunks/chunk-F4EXOPKX.js +53 -0
- package/dist/chunks/chunk-F4JQM2YN.js +180 -0
- package/dist/chunks/chunk-F7X7HLCM.js +128 -0
- package/dist/chunks/chunk-FA55CRIQ.js +71 -0
- package/dist/chunks/chunk-FCQZHDKG.js +1393 -0
- package/dist/chunks/chunk-FCT3BNU2.js +33 -0
- package/dist/chunks/chunk-FDH7SAXS.js +97 -0
- package/dist/chunks/chunk-FDU3OEWK.js +139 -0
- package/dist/chunks/chunk-FEW6TQHR.js +106 -0
- package/dist/chunks/chunk-FGKTSLP6.js +261 -0
- package/dist/chunks/chunk-FIDDNY44.js +142 -0
- package/dist/chunks/chunk-FIGCPMPD.js +279 -0
- package/dist/chunks/chunk-FJS77M7O.js +23 -0
- package/dist/chunks/chunk-FPHA46LG.js +125 -0
- package/dist/chunks/chunk-FQCQJ4X6.js +90 -0
- package/dist/chunks/chunk-FQOSX6M3.js +293 -0
- package/dist/chunks/chunk-FROSRXOO.js +165 -0
- package/dist/chunks/chunk-FWYL3DVO.js +164 -0
- package/dist/chunks/chunk-FWZ2MM4M.js +192 -0
- package/dist/chunks/chunk-FXLJ65BX.js +96 -0
- package/dist/chunks/chunk-FZWV3XLC.js +209 -0
- package/dist/chunks/chunk-G3QHCUHD.js +166 -0
- package/dist/chunks/chunk-G4EW4JEB.js +252 -0
- package/dist/chunks/chunk-GB3CW6KJ.js +94 -0
- package/dist/chunks/chunk-GEFNY23G.js +156 -0
- package/dist/chunks/chunk-GFFM7JNX.js +91 -0
- package/dist/chunks/chunk-GHP4JVKZ.js +81 -0
- package/dist/chunks/chunk-GL2O4CFH.js +161 -0
- package/dist/chunks/chunk-GMOQFOUA.js +362 -0
- package/dist/chunks/chunk-GMP2ADQB.js +247 -0
- package/dist/chunks/chunk-GOMIIZ7X.js +225 -0
- package/dist/chunks/chunk-GOY3UUMQ.js +181 -0
- package/dist/chunks/chunk-GP2KYOTR.js +221 -0
- package/dist/chunks/chunk-GQKHH5WV.js +99 -0
- package/dist/chunks/chunk-GQUOFO76.js +240 -0
- package/dist/chunks/chunk-GR6Z7H2W.js +361 -0
- package/dist/chunks/chunk-GRNKV4NB.js +106 -0
- package/dist/chunks/chunk-GS2BMAIN.js +290 -0
- package/dist/chunks/chunk-GTUYVBHO.js +194 -0
- package/dist/chunks/chunk-GVFGE722.js +139 -0
- package/dist/chunks/chunk-GWWBXGJL.js +77 -0
- package/dist/chunks/chunk-GXR3FNUC.js +261 -0
- package/dist/chunks/chunk-GZVTPHEP.js +33 -0
- package/dist/chunks/chunk-H4E7LE4H.js +36 -0
- package/dist/chunks/chunk-H4PYX3BF.js +150 -0
- package/dist/chunks/chunk-H4TOZ5XA.js +23 -0
- package/dist/chunks/chunk-H4YXVXL5.js +187 -0
- package/dist/chunks/chunk-H6MRXGSE.js +92 -0
- package/dist/chunks/chunk-H6U4FULE.js +111 -0
- package/dist/chunks/chunk-H6WLCH5B.js +23 -0
- package/dist/chunks/chunk-HFOQDU5Q.js +33 -0
- package/dist/chunks/chunk-HHBL4SID.js +152 -0
- package/dist/chunks/chunk-HILGW43I.js +175 -0
- package/dist/chunks/chunk-HINLQ5FN.js +77 -0
- package/dist/chunks/chunk-HIQ5FD7H.js +197 -0
- package/dist/chunks/chunk-HM5HH5TI.js +201 -0
- package/dist/chunks/chunk-HS4TY3IN.js +257 -0
- package/dist/chunks/chunk-HSAZMXS2.js +95 -0
- package/dist/chunks/chunk-HUNNJ6ES.js +61 -0
- package/dist/chunks/chunk-HUVOXNJR.js +41 -0
- package/dist/chunks/chunk-HVLMLDRF.js +145 -0
- package/dist/chunks/chunk-HY6S2AIG.js +112 -0
- package/dist/chunks/chunk-HYAJTIZK.js +33 -0
- package/dist/chunks/chunk-HZ26TER2.js +337 -0
- package/dist/chunks/chunk-HZ4ZINRT.js +130 -0
- package/dist/chunks/chunk-HZQBV3B7.js +165 -0
- package/dist/chunks/chunk-I5DDNMWU.js +106 -0
- package/dist/chunks/chunk-IAXDJGOY.js +55 -0
- package/dist/chunks/chunk-ICLUTKAM.js +1469 -0
- package/dist/chunks/chunk-IEVGG3CN.js +106 -0
- package/dist/chunks/chunk-IEXR4RMV.js +81 -0
- package/dist/chunks/chunk-II25EN7C.js +327 -0
- package/dist/chunks/chunk-IJKHCEDP.js +23 -0
- package/dist/chunks/chunk-IJW6NZ7R.js +84 -0
- package/dist/chunks/chunk-IPZKQHV5.js +192 -0
- package/dist/chunks/chunk-IRC7IGY2.js +78 -0
- package/dist/chunks/chunk-IRTVKCPC.js +33 -0
- package/dist/chunks/chunk-IS4V3CH3.js +100 -0
- package/dist/chunks/chunk-IUTJYV2B.js +80 -0
- package/dist/chunks/chunk-IVHLMGCI.js +153 -0
- package/dist/chunks/chunk-IWYN2VSX.js +157 -0
- package/dist/chunks/chunk-IXICLNCX.js +283 -0
- package/dist/chunks/chunk-IYR3JOTM.js +23 -0
- package/dist/chunks/chunk-IZTX3TRV.js +331 -0
- package/dist/chunks/chunk-J2ISIGMW.js +206 -0
- package/dist/chunks/chunk-J2OYBVX2.js +182 -0
- package/dist/chunks/chunk-J33JUOHJ.js +109 -0
- package/dist/chunks/chunk-J3CH5WEW.js +45 -0
- package/dist/chunks/chunk-J3P4VJU6.js +98 -0
- package/dist/chunks/chunk-J5O27P5U.js +215 -0
- package/dist/chunks/chunk-J7CQPIXR.js +33 -0
- package/dist/chunks/chunk-JAPNXFKI.js +144 -0
- package/dist/chunks/chunk-JBMMFKLN.js +118 -0
- package/dist/chunks/chunk-JCHF4BZI.js +39 -0
- package/dist/chunks/chunk-JCOXZDBL.js +396 -0
- package/dist/chunks/chunk-JE6A5KYI.js +188 -0
- package/dist/chunks/chunk-JF622NIZ.js +33 -0
- package/dist/chunks/chunk-JGUP4Y6M.js +188 -0
- package/dist/chunks/chunk-JIDGAP2O.js +208 -0
- package/dist/chunks/chunk-JIKCTH7S.js +150 -0
- package/dist/chunks/chunk-JJH4XNFL.js +53 -0
- package/dist/chunks/chunk-JJICGVJS.js +282 -0
- package/dist/chunks/chunk-JM35MJS6.js +71 -0
- package/dist/chunks/chunk-JNGSPD6Q.js +283 -0
- package/dist/chunks/chunk-JQRG5YJY.js +90 -0
- package/dist/chunks/chunk-JQWHMCFS.js +177 -0
- package/dist/chunks/chunk-JTQOOGOU.js +90 -0
- package/dist/chunks/chunk-JTTD3JF4.js +224 -0
- package/dist/chunks/chunk-JXFAJCMT.js +94 -0
- package/dist/chunks/chunk-K3QXEBAV.js +200 -0
- package/dist/chunks/chunk-K5RZQMN5.js +103 -0
- package/dist/chunks/chunk-K6RI56DF.js +221 -0
- package/dist/chunks/chunk-K7GYFWU5.js +187 -0
- package/dist/chunks/chunk-K7KZ7JR5.js +196 -0
- package/dist/chunks/chunk-KB7B55QF.js +122 -0
- package/dist/chunks/chunk-KBDAOBBV.js +102 -0
- package/dist/chunks/chunk-KEEH6TVP.js +36 -0
- package/dist/chunks/chunk-KFERD2HE.js +122 -0
- package/dist/chunks/chunk-KK3JGDZY.js +898 -0
- package/dist/chunks/chunk-KKDC2EPV.js +143 -0
- package/dist/chunks/chunk-KLETGLJV.js +212 -0
- package/dist/chunks/chunk-KPGJXUHT.js +126 -0
- package/dist/chunks/chunk-KPNHE4SY.js +207 -0
- package/dist/chunks/chunk-KQ46VGI5.js +92 -0
- package/dist/chunks/chunk-KQJ3Y5UD.js +169 -0
- package/dist/chunks/chunk-KR3FQZ6X.js +97 -0
- package/dist/chunks/chunk-KRWX4P5B.js +102 -0
- package/dist/chunks/chunk-KTNYMUWX.js +130 -0
- package/dist/chunks/chunk-KU25J6OH.js +163 -0
- package/dist/chunks/chunk-KVHASP3S.js +140 -0
- package/dist/chunks/chunk-KVSJ4OH6.js +104 -0
- package/dist/chunks/chunk-KWXSHPCE.js +33 -0
- package/dist/chunks/chunk-KX55ZJSE.js +187 -0
- package/dist/chunks/chunk-KXASSF7P.js +124 -0
- package/dist/chunks/chunk-KZOIGDPE.js +49 -0
- package/dist/chunks/chunk-L7IAIQ7O.js +360 -0
- package/dist/chunks/chunk-L7Q2OMHE.js +162 -0
- package/dist/chunks/chunk-LAICVOYN.js +105 -0
- package/dist/chunks/chunk-LAZVB6CO.js +33 -0
- package/dist/chunks/chunk-LD26OUB7.js +85 -0
- package/dist/chunks/chunk-LFOH2U3T.js +139 -0
- package/dist/chunks/chunk-LGHQAN5T.js +100 -0
- package/dist/chunks/chunk-LHP5DYVJ.js +83 -0
- package/dist/chunks/chunk-LIEJFG4E.js +589 -0
- package/dist/chunks/chunk-LITR3HMT.js +131 -0
- package/dist/chunks/chunk-LIUIZ6NP.js +559 -0
- package/dist/chunks/chunk-LIWQUS22.js +23 -0
- package/dist/chunks/chunk-LJ2VUD7X.js +273 -0
- package/dist/chunks/chunk-LJ753BVJ.js +101 -0
- package/dist/chunks/chunk-LKX4IQVL.js +127 -0
- package/dist/chunks/chunk-LLCTZPMT.js +33 -0
- package/dist/chunks/chunk-LLS72RU3.js +242 -0
- package/dist/chunks/chunk-LMI32EL4.js +652 -0
- package/dist/chunks/chunk-LNCNNU5T.js +123 -0
- package/dist/chunks/chunk-LNX7VARO.js +33 -0
- package/dist/chunks/chunk-LQKGG4AD.js +226 -0
- package/dist/chunks/chunk-LRRPKUC4.js +199 -0
- package/dist/chunks/chunk-LU3FXAWS.js +167 -0
- package/dist/chunks/chunk-LUEICVWA.js +33 -0
- package/dist/chunks/chunk-LUGF4T2J.js +102 -0
- package/dist/chunks/chunk-LWA3WWCP.js +210 -0
- package/dist/chunks/chunk-LY2UFM4A.js +78 -0
- package/dist/chunks/chunk-M45MLETT.js +255 -0
- package/dist/chunks/chunk-M4F3HHVB.js +81 -0
- package/dist/chunks/chunk-M5TJ7DQD.js +198 -0
- package/dist/chunks/chunk-M6U54BJD.js +23 -0
- package/dist/chunks/chunk-MA43GPNE.js +263 -0
- package/dist/chunks/chunk-MBCP6QXI.js +1403 -0
- package/dist/chunks/chunk-MCTK4GI2.js +152 -0
- package/dist/chunks/chunk-MD67HL7L.js +23 -0
- package/dist/chunks/chunk-MF25VPWI.js +172 -0
- package/dist/chunks/chunk-MFBV7GLZ.js +66 -0
- package/dist/chunks/chunk-MILBJUCM.js +206 -0
- package/dist/chunks/chunk-MISY6CSG.js +95 -0
- package/dist/chunks/chunk-MK335LLP.js +250 -0
- package/dist/chunks/chunk-MK6EHYKM.js +277 -0
- package/dist/chunks/chunk-MKHERIRB.js +190 -0
- package/dist/chunks/chunk-MKWGQZUS.js +23 -0
- package/dist/chunks/chunk-MLORFEWQ.js +54 -0
- package/dist/chunks/chunk-MLXBTGYX.js +85 -0
- package/dist/chunks/chunk-MQGIAQDS.js +46 -0
- package/dist/chunks/chunk-MUM4K6QV.js +146 -0
- package/dist/chunks/chunk-MUVM2AYN.js +138 -0
- package/dist/chunks/chunk-MWSZ2GSB.js +237 -0
- package/dist/chunks/chunk-MWXGNXJO.js +104 -0
- package/dist/chunks/chunk-MXWI3AMJ.js +247 -0
- package/dist/chunks/chunk-MZK6PFQ3.js +95 -0
- package/dist/chunks/chunk-MZXRFMRG.js +179 -0
- package/dist/chunks/chunk-N3XYJTUB.js +77 -0
- package/dist/chunks/chunk-N4CO5FZ3.js +228 -0
- package/dist/chunks/chunk-N4VB4ZMB.js +298 -0
- package/dist/chunks/chunk-N5VELXBD.js +163 -0
- package/dist/chunks/chunk-N7LJZGSZ.js +106 -0
- package/dist/chunks/chunk-NAHIVTUT.js +655 -0
- package/dist/chunks/chunk-NCTE7257.js +361 -0
- package/dist/chunks/chunk-ND4VUD5P.js +115 -0
- package/dist/chunks/chunk-NEMWI7N4.js +85 -0
- package/dist/chunks/chunk-NESWJC5O.js +130 -0
- package/dist/chunks/chunk-NFRGPSPW.js +262 -0
- package/dist/chunks/chunk-NFTBNLRV.js +115 -0
- package/dist/chunks/chunk-NGHMYAF4.js +238 -0
- package/dist/chunks/chunk-NGUIU3YY.js +270 -0
- package/dist/chunks/chunk-NH6O2MJ7.js +152 -0
- package/dist/chunks/chunk-NIJM36CN.js +33 -0
- package/dist/chunks/chunk-NIUGDI2G.js +260 -0
- package/dist/chunks/chunk-NIVSES62.js +115 -0
- package/dist/chunks/chunk-NKF4VROX.js +107 -0
- package/dist/chunks/chunk-NKYJVU32.js +89 -0
- package/dist/chunks/chunk-NN53ITDU.js +410 -0
- package/dist/chunks/chunk-NNJIRWES.js +88 -0
- package/dist/chunks/chunk-NONVU4DV.js +267 -0
- package/dist/chunks/chunk-NPCKJH7A.js +89 -0
- package/dist/chunks/chunk-NUHH2ASY.js +94 -0
- package/dist/chunks/chunk-NV2KXYJ6.js +176 -0
- package/dist/chunks/chunk-NYTID2GK.js +163 -0
- package/dist/chunks/chunk-NZWOBFWA.js +176 -0
- package/dist/chunks/chunk-O2G4BJSR.js +36 -0
- package/dist/chunks/chunk-O346NN3I.js +244 -0
- package/dist/chunks/chunk-O3KSJKT7.js +262 -0
- package/dist/chunks/chunk-O456EAOJ.js +222 -0
- package/dist/chunks/chunk-O4OVMVWF.js +303 -0
- package/dist/chunks/chunk-O5C5UQ5N.js +108 -0
- package/dist/chunks/chunk-O6GGXAIH.js +146 -0
- package/dist/chunks/chunk-OB7EBP6P.js +90 -0
- package/dist/chunks/chunk-OHK7MJSZ.js +48 -0
- package/dist/chunks/chunk-OIOYOIVX.js +141 -0
- package/dist/chunks/chunk-OJ2MLEIA.js +292 -0
- package/dist/chunks/chunk-OJ2RCAFX.js +83 -0
- package/dist/chunks/chunk-OJTOU7HQ.js +175 -0
- package/dist/chunks/chunk-OLHSUE4L.js +184 -0
- package/dist/chunks/chunk-OMHE5MKX.js +42 -0
- package/dist/chunks/chunk-OMOIKSUL.js +74 -0
- package/dist/chunks/chunk-ONBG65ZT.js +33 -0
- package/dist/chunks/chunk-OQX5DNMO.js +123 -0
- package/dist/chunks/chunk-OR2A4Y3E.js +33 -0
- package/dist/chunks/chunk-OS5R7D7I.js +69 -0
- package/dist/chunks/chunk-OTZ5MCJV.js +191 -0
- package/dist/chunks/chunk-OUWD2UHC.js +163 -0
- package/dist/chunks/chunk-OV3VJPST.js +83 -0
- package/dist/chunks/chunk-OXFJONTX.js +86 -0
- package/dist/chunks/chunk-OXGFMWHZ.js +462 -0
- package/dist/chunks/chunk-OYB5WMIB.js +115 -0
- package/dist/chunks/chunk-OZIWFXTX.js +178 -0
- package/dist/chunks/chunk-P2KOQFYL.js +45 -0
- package/dist/chunks/chunk-P2O53PB5.js +23 -0
- package/dist/chunks/chunk-P434OFXO.js +218 -0
- package/dist/chunks/chunk-P5CB42NR.js +127 -0
- package/dist/chunks/chunk-P5VQIVEE.js +45 -0
- package/dist/chunks/chunk-P6QPLC7J.js +63 -0
- package/dist/chunks/chunk-P6YUPPZ6.js +200 -0
- package/dist/chunks/chunk-P737E5EZ.js +99 -0
- package/dist/chunks/chunk-P7QYPLI5.js +136 -0
- package/dist/chunks/chunk-PCOKFICX.js +159 -0
- package/dist/chunks/chunk-PDETCOJ2.js +182 -0
- package/dist/chunks/chunk-PDTKFBOS.js +118 -0
- package/dist/chunks/chunk-PGDRUNGD.js +45 -0
- package/dist/chunks/chunk-PIROW62E.js +91 -0
- package/dist/chunks/chunk-PIX7TFED.js +282 -0
- package/dist/chunks/chunk-PKM35VMW.js +125 -0
- package/dist/chunks/chunk-PKSPCQDC.js +47 -0
- package/dist/chunks/chunk-PLKPNZZR.js +153 -0
- package/dist/chunks/chunk-PNKSB57L.js +149 -0
- package/dist/chunks/chunk-PQ5MJB5R.js +198 -0
- package/dist/chunks/chunk-PRKNEM43.js +79 -0
- package/dist/chunks/chunk-PSCI6WC4.js +218 -0
- package/dist/chunks/chunk-PSGBCPQX.js +169 -0
- package/dist/chunks/chunk-PTBFHGGV.js +304 -0
- package/dist/chunks/chunk-PUDMMXT5.js +23 -0
- package/dist/chunks/chunk-PVRUET6K.js +177 -0
- package/dist/chunks/chunk-PYEK2IEG.js +197 -0
- package/dist/chunks/chunk-PYTXSGU2.js +128 -0
- package/dist/chunks/chunk-PZ34IMTO.js +217 -0
- package/dist/chunks/chunk-PZILMUNF.js +45 -0
- package/dist/chunks/chunk-Q23EUNUX.js +129 -0
- package/dist/chunks/chunk-Q3TVIDAE.js +45 -0
- package/dist/chunks/chunk-Q6G26NE6.js +115 -0
- package/dist/chunks/chunk-Q6QQ6UWS.js +33 -0
- package/dist/chunks/chunk-Q7NECXOH.js +47 -0
- package/dist/chunks/chunk-QD4AOF36.js +121 -0
- package/dist/chunks/chunk-QD4LPM5S.js +390 -0
- package/dist/chunks/chunk-QE5ONYHF.js +81 -0
- package/dist/chunks/chunk-QETWMTHI.js +1834 -0
- package/dist/chunks/chunk-QF5FA4SS.js +261 -0
- package/dist/chunks/chunk-QFUXNPWE.js +165 -0
- package/dist/chunks/chunk-QILUML7U.js +45 -0
- package/dist/chunks/chunk-QK2FBDKB.js +151 -0
- package/dist/chunks/chunk-QKCIGYH4.js +120 -0
- package/dist/chunks/chunk-QLRX3OHU.js +89 -0
- package/dist/chunks/chunk-QMTOESK2.js +92 -0
- package/dist/chunks/chunk-QNGEKTRF.js +276 -0
- package/dist/chunks/chunk-QNVOXQGE.js +274 -0
- package/dist/chunks/chunk-QOOYE3UI.js +140 -0
- package/dist/chunks/chunk-QPKK6N3T.js +33 -0
- package/dist/chunks/chunk-QPXUJZ6H.js +28 -0
- package/dist/chunks/chunk-QRRRIYJL.js +342 -0
- package/dist/chunks/chunk-QRTDHMOF.js +91 -0
- package/dist/chunks/chunk-QRYL2X7D.js +152 -0
- package/dist/chunks/chunk-QTMLJSEN.js +45 -0
- package/dist/chunks/chunk-QUJG2IRA.js +266 -0
- package/dist/chunks/chunk-QUN6Q563.js +102 -0
- package/dist/chunks/chunk-QV6NLK7B.js +23 -0
- package/dist/chunks/chunk-QWXWAHAV.js +147 -0
- package/dist/chunks/chunk-R47VLQ2W.js +158 -0
- package/dist/chunks/chunk-R6T2HWLA.js +178 -0
- package/dist/chunks/chunk-R7A55SQV.js +251 -0
- package/dist/chunks/chunk-R7CMKFJ5.js +45 -0
- package/dist/chunks/chunk-RBMFM2NL.js +334 -0
- package/dist/chunks/chunk-REGNTUS7.js +117 -0
- package/dist/chunks/chunk-RHDQEWRS.js +80 -0
- package/dist/chunks/chunk-RIQE3H35.js +307 -0
- package/dist/chunks/chunk-RISTF5XZ.js +44 -0
- package/dist/chunks/chunk-RJYYMQ7B.js +287 -0
- package/dist/chunks/chunk-RSHGVTNM.js +38 -0
- package/dist/chunks/chunk-RTN34ALF.js +158 -0
- package/dist/chunks/chunk-RUJHUWFW.js +100 -0
- package/dist/chunks/chunk-RVPM5U7W.js +93 -0
- package/dist/chunks/chunk-RWV2AUGJ.js +176 -0
- package/dist/chunks/chunk-RXHUGE4Q.js +23 -0
- package/dist/chunks/chunk-RXP5QGRN.js +23 -0
- package/dist/chunks/chunk-RZHD6LSK.js +177 -0
- package/dist/chunks/chunk-RZT3BV2C.js +87 -0
- package/dist/chunks/chunk-S2COOTF7.js +169 -0
- package/dist/chunks/chunk-S2N5G3PG.js +105 -0
- package/dist/chunks/chunk-S2Y6XWMM.js +200 -0
- package/dist/chunks/chunk-S3A7ZJWA.js +80 -0
- package/dist/chunks/chunk-S4T4AFL2.js +270 -0
- package/dist/chunks/chunk-S4V3JKVX.js +174 -0
- package/dist/chunks/chunk-S4WT4733.js +153 -0
- package/dist/chunks/chunk-S5QG6CA6.js +150 -0
- package/dist/chunks/chunk-S65YZTEA.js +194 -0
- package/dist/chunks/chunk-S6HDVUGS.js +166 -0
- package/dist/chunks/chunk-S6RFXZCL.js +33 -0
- package/dist/chunks/chunk-S7KJ4F75.js +135 -0
- package/dist/chunks/chunk-SB2WMWUU.js +2168 -0
- package/dist/chunks/chunk-SBDPOIDA.js +150 -0
- package/dist/chunks/chunk-SCFIVDY6.js +137 -0
- package/dist/chunks/chunk-SDAYLYON.js +68 -0
- package/dist/chunks/chunk-SFOOVYFM.js +54 -0
- package/dist/chunks/chunk-SGAINMPP.js +329 -0
- package/dist/chunks/chunk-SK2N6MPC.js +320 -0
- package/dist/chunks/chunk-SUA2I3OK.js +108 -0
- package/dist/chunks/chunk-SVCTCSWK.js +1419 -0
- package/dist/chunks/chunk-SVI5T722.js +168 -0
- package/dist/chunks/chunk-SWPV2B72.js +646 -0
- package/dist/chunks/chunk-SXBDSYJ5.js +23 -0
- package/dist/chunks/chunk-T2AXZEDB.js +220 -0
- package/dist/chunks/chunk-T2UI5BGK.js +159 -0
- package/dist/chunks/chunk-T3BQ3OPN.js +100 -0
- package/dist/chunks/chunk-T47J7UUI.js +23 -0
- package/dist/chunks/chunk-T4IWHWT3.js +237 -0
- package/dist/chunks/chunk-T57KDVBZ.js +813 -0
- package/dist/chunks/chunk-T5EYOUW5.js +126 -0
- package/dist/chunks/chunk-T6T7BR5H.js +86 -0
- package/dist/chunks/chunk-T7HIEXQU.js +192 -0
- package/dist/chunks/chunk-T7HXNLLO.js +110 -0
- package/dist/chunks/chunk-TDSIJP4X.js +76 -0
- package/dist/chunks/chunk-TEWEZCXP.js +234 -0
- package/dist/chunks/chunk-TFDDYXXR.js +179 -0
- package/dist/chunks/chunk-TFURQOKN.js +36 -0
- package/dist/chunks/chunk-TGCLG522.js +358 -0
- package/dist/chunks/chunk-TGRUAEMN.js +71 -0
- package/dist/chunks/chunk-THMSIPJE.js +100 -0
- package/dist/chunks/chunk-THON6ABE.js +109 -0
- package/dist/chunks/chunk-TJBB2465.js +98 -0
- package/dist/chunks/chunk-TJBUKKAQ.js +198 -0
- package/dist/chunks/chunk-TJIXMSHS.js +344 -0
- package/dist/chunks/chunk-TKDE477C.js +33 -0
- package/dist/chunks/chunk-TPFFY23U.js +226 -0
- package/dist/chunks/chunk-TPOATIHU.js +62 -0
- package/dist/chunks/chunk-TQI3A27Y.js +36 -0
- package/dist/chunks/chunk-TR5F4YFK.js +112 -0
- package/dist/chunks/chunk-TRCXXBYA.js +36 -0
- package/dist/chunks/chunk-TRXBGG2O.js +79 -0
- package/dist/chunks/chunk-TU4FXWYL.js +114 -0
- package/dist/chunks/chunk-TUZCYNI5.js +251 -0
- package/dist/chunks/chunk-U2E5CWVR.js +109 -0
- package/dist/chunks/chunk-U2XHFLH5.js +147 -0
- package/dist/chunks/chunk-U34HW2KC.js +124 -0
- package/dist/chunks/chunk-U5L6VZ4I.js +97 -0
- package/dist/chunks/chunk-UAFB7ECL.js +52 -0
- package/dist/chunks/chunk-UB6FXMUR.js +95 -0
- package/dist/chunks/chunk-UDCXMCH6.js +399 -0
- package/dist/chunks/chunk-UDGYSKPP.js +108 -0
- package/dist/chunks/chunk-UDPFQMCY.js +172 -0
- package/dist/chunks/chunk-UEBIOT56.js +157 -0
- package/dist/chunks/chunk-UEDU652O.js +135 -0
- package/dist/chunks/chunk-UEGZZA5M.js +91 -0
- package/dist/chunks/chunk-UFIAFT4T.js +209 -0
- package/dist/chunks/chunk-UHOF4QSF.js +78 -0
- package/dist/chunks/chunk-UHZKFDEG.js +220 -0
- package/dist/chunks/chunk-UJHNBGIO.js +104 -0
- package/dist/chunks/chunk-UJMGZRP6.js +684 -0
- package/dist/chunks/chunk-UMBZTJ7W.js +260 -0
- package/dist/chunks/chunk-UMFRJT35.js +170 -0
- package/dist/chunks/chunk-UMRGUFSF.js +115 -0
- package/dist/chunks/chunk-UNMYF5W3.js +105 -0
- package/dist/chunks/chunk-URD2KX5V.js +133 -0
- package/dist/chunks/chunk-USJBGXTU.js +164 -0
- package/dist/chunks/chunk-USZ66YQA.js +103 -0
- package/dist/chunks/chunk-UT5JJUVQ.js +194 -0
- package/dist/chunks/chunk-UTHLZDPV.js +36 -0
- package/dist/chunks/chunk-UTSV5SGR.js +145 -0
- package/dist/chunks/chunk-UUHOM7FJ.js +213 -0
- package/dist/chunks/chunk-UVAGXV3O.js +136 -0
- package/dist/chunks/chunk-UWE33IML.js +117 -0
- package/dist/chunks/chunk-V2B2EZAX.js +55 -0
- package/dist/chunks/chunk-V2JBXMTY.js +50 -0
- package/dist/chunks/chunk-V3HREQDD.js +151 -0
- package/dist/chunks/chunk-V4QMEREP.js +324 -0
- package/dist/chunks/chunk-V4R4VLSA.js +104 -0
- package/dist/chunks/chunk-VA3JRTZH.js +145 -0
- package/dist/chunks/chunk-VA4G54QR.js +161 -0
- package/dist/chunks/chunk-VAXEY544.js +196 -0
- package/dist/chunks/chunk-VDB7WBZH.js +57 -0
- package/dist/chunks/chunk-VFZH6OY7.js +224 -0
- package/dist/chunks/chunk-VG2C74EU.js +112 -0
- package/dist/chunks/chunk-VGTBYJOB.js +113 -0
- package/dist/chunks/chunk-VH3WJQ7E.js +311 -0
- package/dist/chunks/chunk-VH7L7QPL.js +23 -0
- package/dist/chunks/chunk-VIOIYGLW.js +77 -0
- package/dist/chunks/chunk-VK7W6S3G.js +197 -0
- package/dist/chunks/chunk-VMW3P7IQ.js +100 -0
- package/dist/chunks/chunk-VNG7PDAU.js +209 -0
- package/dist/chunks/chunk-VNKVB7XC.js +119 -0
- package/dist/chunks/chunk-VPM3Z3F5.js +848 -0
- package/dist/chunks/chunk-VPXBJL5D.js +197 -0
- package/dist/chunks/chunk-VQZUKN5I.js +72 -0
- package/dist/chunks/chunk-VT4G2LR3.js +512 -0
- package/dist/chunks/chunk-VTG5WZTR.js +196 -0
- package/dist/chunks/chunk-VTZWDEYX.js +106 -0
- package/dist/chunks/chunk-VU2FJSY7.js +149 -0
- package/dist/chunks/chunk-VU2Y4FWA.js +63 -0
- package/dist/chunks/chunk-VU6QLVLA.js +1307 -0
- package/dist/chunks/chunk-VUQTM6NQ.js +36 -0
- package/dist/chunks/chunk-VVMFTLLI.js +266 -0
- package/dist/chunks/chunk-VWRUXXLB.js +123 -0
- package/dist/chunks/chunk-VWTIZYAP.js +96 -0
- package/dist/chunks/chunk-W2KFYWZG.js +23 -0
- package/dist/chunks/chunk-W4NNVV5O.js +99 -0
- package/dist/chunks/chunk-W5BXYVS5.js +30 -0
- package/dist/chunks/chunk-W6F3N75S.js +122 -0
- package/dist/chunks/chunk-W6XUUX34.js +174 -0
- package/dist/chunks/chunk-WAX7DR6Z.js +163 -0
- package/dist/chunks/chunk-WB6ELFJF.js +39 -0
- package/dist/chunks/chunk-WBP4GZOC.js +141 -0
- package/dist/chunks/chunk-WBUWSKY5.js +48 -0
- package/dist/chunks/chunk-WCHFSAUJ.js +84 -0
- package/dist/chunks/chunk-WDGYIQMP.js +60 -0
- package/dist/chunks/chunk-WEG6KKNW.js +123 -0
- package/dist/chunks/chunk-WEMU7K3A.js +84 -0
- package/dist/chunks/chunk-WHC6IXSA.js +165 -0
- package/dist/chunks/chunk-WHMLU2GF.js +382 -0
- package/dist/chunks/chunk-WHZPKE5Z.js +77 -0
- package/dist/chunks/chunk-WJTAZDXO.js +23 -0
- package/dist/chunks/chunk-WKGJV6C6.js +23 -0
- package/dist/chunks/chunk-WL5WIHJ5.js +183 -0
- package/dist/chunks/chunk-WLTMSKQ7.js +85 -0
- package/dist/chunks/chunk-WMDFQIDT.js +338 -0
- package/dist/chunks/chunk-WPIUKML2.js +111 -0
- package/dist/chunks/chunk-WQ3CQLHS.js +152 -0
- package/dist/chunks/chunk-WQJDPTO2.js +69 -0
- package/dist/chunks/chunk-WRMY2DBM.js +304 -0
- package/dist/chunks/chunk-WSMRKH2W.js +299 -0
- package/dist/chunks/chunk-WTLULNGI.js +140 -0
- package/dist/chunks/chunk-WWVQZ2AJ.js +1574 -0
- package/dist/chunks/chunk-WXO5IHVY.js +193 -0
- package/dist/chunks/chunk-WYX324N7.js +112 -0
- package/dist/chunks/chunk-WZPTTAWY.js +79 -0
- package/dist/chunks/chunk-WZTZZKEZ.js +149 -0
- package/dist/chunks/chunk-X6YOSBZ5.js +139 -0
- package/dist/chunks/chunk-X7XRHC24.js +23 -0
- package/dist/chunks/chunk-XBU35NXR.js +103 -0
- package/dist/chunks/chunk-XBW63WMN.js +189 -0
- package/dist/chunks/chunk-XCJSNC7Y.js +93 -0
- package/dist/chunks/chunk-XEBTT7C3.js +170 -0
- package/dist/chunks/chunk-XFQ2ROXL.js +83 -0
- package/dist/chunks/chunk-XFZVGVD7.js +86 -0
- package/dist/chunks/chunk-XG4NLNDI.js +78 -0
- package/dist/chunks/chunk-XGDLERD6.js +80 -0
- package/dist/chunks/chunk-XH2LIJHE.js +182 -0
- package/dist/chunks/chunk-XHO7AUTU.js +118 -0
- package/dist/chunks/chunk-XI75ZE63.js +82 -0
- package/dist/chunks/chunk-XJ2ZBDGL.js +102 -0
- package/dist/chunks/chunk-XJ62OCLL.js +88 -0
- package/dist/chunks/chunk-XJC7MBAZ.js +391 -0
- package/dist/chunks/chunk-XKDE7RWF.js +181 -0
- package/dist/chunks/chunk-XKWNWA2X.js +330 -0
- package/dist/chunks/chunk-XLBXUDAX.js +145 -0
- package/dist/chunks/chunk-XMXPUYCT.js +97 -0
- package/dist/chunks/chunk-XNG7RNUS.js +107 -0
- package/dist/chunks/chunk-XOQZRSWZ.js +41 -0
- package/dist/chunks/chunk-XPI7EIXP.js +109 -0
- package/dist/chunks/chunk-XRA4WJPB.js +122 -0
- package/dist/chunks/chunk-XRJZ5N6V.js +73 -0
- package/dist/chunks/chunk-XRMKZ736.js +138 -0
- package/dist/chunks/chunk-XSF3ZCDK.js +198 -0
- package/dist/chunks/chunk-XSJN3Q27.js +242 -0
- package/dist/chunks/chunk-XTU5IYCQ.js +33 -0
- package/dist/chunks/chunk-XWCOQH6C.js +101 -0
- package/dist/chunks/chunk-Y35W43D6.js +33 -0
- package/dist/chunks/chunk-Y6CNJEHQ.js +75 -0
- package/dist/chunks/chunk-Y6JKDUMD.js +23 -0
- package/dist/chunks/chunk-Y6MASFMO.js +106 -0
- package/dist/chunks/chunk-Y7WR6DX6.js +84 -0
- package/dist/chunks/chunk-YAQ5CEGU.js +326 -0
- package/dist/chunks/chunk-YAYLX46E.js +210 -0
- package/dist/chunks/chunk-YEKYDL7I.js +170 -0
- package/dist/chunks/chunk-YF7DEARA.js +265 -0
- package/dist/chunks/chunk-YFRIDDST.js +215 -0
- package/dist/chunks/chunk-YH6WAICE.js +23 -0
- package/dist/chunks/chunk-YIF3XPIY.js +23 -0
- package/dist/chunks/chunk-YJR3OXSM.js +80 -0
- package/dist/chunks/chunk-YJZH6FLI.js +97 -0
- package/dist/chunks/chunk-YKCEJMW7.js +961 -0
- package/dist/chunks/chunk-YLR3P4QG.js +204 -0
- package/dist/chunks/chunk-YO4C4RH6.js +172 -0
- package/dist/chunks/chunk-YO4DREYC.js +23 -0
- package/dist/chunks/chunk-YOEG2FRM.js +122 -0
- package/dist/chunks/chunk-YP7TMAFR.js +141 -0
- package/dist/chunks/chunk-YPEUYSTS.js +166 -0
- package/dist/chunks/chunk-YQ7QCFC7.js +94 -0
- package/dist/chunks/chunk-YQIONW6M.js +23 -0
- package/dist/chunks/chunk-YTGESAHQ.js +108 -0
- package/dist/chunks/chunk-YUFSTD2O.js +209 -0
- package/dist/chunks/chunk-YUOP2C4O.js +98 -0
- package/dist/chunks/chunk-YWNTECRB.js +30 -0
- package/dist/chunks/chunk-YWSZKMG7.js +97 -0
- package/dist/chunks/chunk-YXYCRF6Y.js +180 -0
- package/dist/chunks/chunk-YZUQPY6J.js +95 -0
- package/dist/chunks/chunk-Z3MGB55W.js +87 -0
- package/dist/chunks/chunk-Z3ZGWNDW.js +105 -0
- package/dist/chunks/chunk-Z5RTHTOQ.js +33 -0
- package/dist/chunks/chunk-ZA2PVV5T.js +142 -0
- package/dist/chunks/chunk-ZABKVMQD.js +226 -0
- package/dist/chunks/chunk-ZAQWKZDY.js +95 -0
- package/dist/chunks/chunk-ZBBKMGEX.js +130 -0
- package/dist/chunks/chunk-ZBLNKI3K.js +155 -0
- package/dist/chunks/chunk-ZBPDWI4I.js +23 -0
- package/dist/chunks/chunk-ZC2XZTJE.js +162 -0
- package/dist/chunks/chunk-ZCHSEL4O.js +889 -0
- package/dist/chunks/chunk-ZCKUJDTW.js +172 -0
- package/dist/chunks/chunk-ZGXLFVTE.js +198 -0
- package/dist/chunks/chunk-ZHN5E2CT.js +297 -0
- package/dist/chunks/chunk-ZLMS3353.js +181 -0
- package/dist/chunks/chunk-ZNQ6KXXN.js +44 -0
- package/dist/chunks/chunk-ZO22CMZA.js +70 -0
- package/dist/chunks/chunk-ZPAZHPYR.js +130 -0
- package/dist/chunks/chunk-ZRKB5KS4.js +728 -0
- package/dist/chunks/chunk-ZRWZ3WCB.js +102 -0
- package/dist/chunks/chunk-ZSOZ4CCH.js +277 -0
- package/dist/chunks/chunk-ZT5GYT7R.js +93 -0
- package/dist/chunks/chunk-ZWTFS3UU.js +224 -0
- package/dist/chunks/chunk-ZX5HUXUW.js +274 -0
- package/dist/chunks/chunk-ZYOHYK2O.js +204 -0
- package/dist/chunks/chunk-ZYS3VQNF.js +23 -0
- package/dist/chunks/chunk-ZYXVJLUJ.js +305 -0
- package/dist/chunks/client-5MPHAP7J.js +168 -0
- package/dist/chunks/client-TSA4TGQ5.js +47 -0
- package/dist/chunks/client-WCFTZTY2.js +31 -0
- package/dist/chunks/client-actions-CCKVMLJZ.js +170 -0
- package/dist/chunks/components-5P7CUB67.js +78 -0
- package/dist/chunks/dangerous-U5GLX7R3.js +124 -0
- package/dist/chunks/delete-current-file-JKWGH4IU.js +163 -0
- package/dist/chunks/editor-seams-RDIHV43B.js +183 -0
- package/dist/chunks/editor-store-KWONP5ZB.js +148 -0
- package/dist/chunks/export-CPB3VOWI.js +67 -0
- package/dist/chunks/export-watermark-T6CSJ4DR.js +157 -0
- package/dist/chunks/eyedropper-EO4IV2KR.js +355 -0
- package/dist/chunks/generate-media-T7QM2TDD.js +255 -0
- package/dist/chunks/host-BYFDVBSS.js +184 -0
- package/dist/chunks/host-TW6A434C.js +246 -0
- package/dist/chunks/integrations-7BI2Q4JX.js +125 -0
- package/dist/chunks/libraries-IPT76YJS.js +311 -0
- package/dist/chunks/live-GIVKQPCU.js +322 -0
- package/dist/chunks/lottie-DZ2DAK74.js +91 -0
- package/dist/chunks/media-tool-2XRWNH6L.js +237 -0
- package/dist/chunks/new-file-N2L36DKP.js +140 -0
- package/dist/chunks/next-commerce-RMHADXAE.js +74 -0
- package/dist/chunks/pdf-KRFLICBG.js +1218 -0
- package/dist/chunks/player-check-BZACCNI5.js +119 -0
- package/dist/chunks/plugin-W2SRE3A4.js +131 -0
- package/dist/chunks/plugin-import-BWXNXHYC.js +692 -0
- package/dist/chunks/presence-RSPTSAU6.js +137 -0
- package/dist/chunks/project-524HCDOW.js +1601 -0
- package/dist/chunks/publish-site-PKLAWL25.js +167 -0
- package/dist/chunks/publish-store-YOIXMVO2.js +100 -0
- package/dist/chunks/raster-actions-TQNM7AVM.js +233 -0
- package/dist/chunks/reference-images-LMW5RE5H.js +62 -0
- package/dist/chunks/registry-D4UHV32V.js +49 -0
- package/dist/chunks/resolvers-S2CHKOZA.js +150 -0
- package/dist/chunks/runner-Z7CRYDBM.js +3546 -0
- package/dist/chunks/store-3QXOA3HT.js +235 -0
- package/dist/chunks/storefront-TTANJUZ5.js +336 -0
- package/dist/chunks/storefront-prepare-VE2VOSS4.js +33 -0
- package/dist/chunks/svg-export-GYW5LSD3.js +84 -0
- package/dist/chunks/sync-C6IK4KY6.js +162 -0
- package/dist/chunks/tabs-WEUBSQYH.js +320 -0
- package/dist/chunks/team-6BOZI223.js +47 -0
- package/dist/chunks/team-client-KG5XDJA3.js +158 -0
- package/dist/chunks/tools-TU2H4X22.js +37 -0
- package/dist/chunks/tree-KJ5BCFC3.js +83 -0
- package/dist/chunks/ui-commands-B7VEBEFW.js +191 -0
- package/dist/chunks/versions-2HU2MF3F.js +320 -0
- package/dist/chunks/web-36EK3KIL.js +186 -0
- package/dist/index.js +7 -7
- package/dist/lib/templates/capabilities.js +4 -4
- package/dist/lib/templates/finish.js +5 -5
- package/dist/migrations/index.js +7 -7
- package/dist/migrations/timeline-facets.js +7 -7
- package/dist/templates/anime/character.js +8 -8
- package/dist/templates/anime/duel.js +10 -10
- package/dist/templates/anime/morning.js +10 -10
- package/dist/templates/anime/rain.js +10 -10
- package/dist/templates/anime/shared.js +9 -9
- package/dist/templates/anime/starlight.js +10 -10
- package/dist/templates/anime/titan.js +10 -10
- package/dist/templates/app/festival-presale-electronic-ticket.js +9 -9
- package/dist/templates/app/festival-presale-family-ticket.js +9 -9
- package/dist/templates/app/festival-presale-folk-ticket.js +9 -9
- package/dist/templates/app/festival-presale-food-ticket.js +9 -9
- package/dist/templates/app/festival-presale-jazz-ticket.js +9 -9
- package/dist/templates/app/festival-presale-street-ticket.js +9 -9
- package/dist/templates/app/music-grove.js +7 -7
- package/dist/templates/app/music-nightline.js +7 -7
- package/dist/templates/app/music-orbit.js +7 -7
- package/dist/templates/app/music-undertow.js +7 -7
- package/dist/templates/app/onboarding-carousel.js +7 -7
- package/dist/templates/app/saas-store-paywall.js +7 -7
- package/dist/templates/app/splash.js +7 -7
- package/dist/templates/app/success-confetti.js +7 -7
- package/dist/templates/app/tour-tickets-june-ticket.js +7 -7
- package/dist/templates/app/tour-tickets-tide-ticket.js +7 -7
- package/dist/templates/app/tour-tickets-wreck-ticket.js +7 -7
- package/dist/templates/build.js +6 -6
- package/dist/templates/cards/index.js +9 -9
- package/dist/templates/cards/shared.js +7 -7
- package/dist/templates/cards/themes.js +8 -8
- package/dist/templates/count.js +4 -4
- package/dist/templates/data/bars.js +7 -7
- package/dist/templates/data/countdown-story.js +7 -7
- package/dist/templates/data/counters.js +7 -7
- package/dist/templates/data/donut.js +7 -7
- package/dist/templates/data/line.js +7 -7
- package/dist/templates/data/year-in-review.js +7 -7
- package/dist/templates/effects/glass-intro.js +7 -7
- package/dist/templates/effects/glass-promo.js +7 -7
- package/dist/templates/effects/grain-story.js +7 -7
- package/dist/templates/effects/grid-intro.js +7 -7
- package/dist/templates/effects/halftone-story.js +7 -7
- package/dist/templates/effects/mesh-story.js +7 -7
- package/dist/templates/effects/shader-title.js +7 -7
- package/dist/templates/email/april-fools-header.js +7 -7
- package/dist/templates/email/art-deco-invitation.js +7 -7
- package/dist/templates/email/autumn-harvest-header.js +7 -7
- package/dist/templates/email/back-to-school-header.js +7 -7
- package/dist/templates/email/black-friday-coupons-header.js +7 -7
- package/dist/templates/email/black-friday-header.js +7 -7
- package/dist/templates/email/black-friday-neon-header.js +7 -7
- package/dist/templates/email/black-friday-scratch-header.js +7 -7
- package/dist/templates/email/black-friday-ticker-header.js +7 -7
- package/dist/templates/email/broadsheet-weekly-edition-header.js +7 -7
- package/dist/templates/email/claymation-header.js +7 -7
- package/dist/templates/email/countdown-gif.js +7 -7
- package/dist/templates/email/cyberpunk-header.js +7 -7
- package/dist/templates/email/diwali-header.js +7 -7
- package/dist/templates/email/earth-day-header.js +7 -7
- package/dist/templates/email/festival-presale-electronic-header.js +9 -9
- package/dist/templates/email/festival-presale-family-header.js +9 -9
- package/dist/templates/email/festival-presale-folk-header.js +9 -9
- package/dist/templates/email/festival-presale-food-header.js +9 -9
- package/dist/templates/email/festival-presale-jazz-header.js +9 -9
- package/dist/templates/email/festival-presale-street-header.js +9 -9
- package/dist/templates/email/gothic-header.js +7 -7
- package/dist/templates/email/halloween-header.js +7 -7
- package/dist/templates/email/header-launch.js +7 -7
- package/dist/templates/email/header-newsletter.js +7 -7
- package/dist/templates/email/header-sale.js +7 -7
- package/dist/templates/email/lunar-new-year-header.js +7 -7
- package/dist/templates/email/manuscript-chronicle-header.js +7 -7
- package/dist/templates/email/new-year-header.js +7 -7
- package/dist/templates/email/noir-header.js +7 -7
- package/dist/templates/email/psychedelic-header.js +7 -7
- package/dist/templates/email/riso-zine-changelog-header.js +7 -7
- package/dist/templates/email/saas-mail-changelog.js +9 -9
- package/dist/templates/email/saas-mail-day-one.js +9 -9
- package/dist/templates/email/saas-mail-day-three.js +9 -9
- package/dist/templates/email/saas-mail-launch.js +9 -9
- package/dist/templates/email/saas-mail-payment-failed.js +9 -9
- package/dist/templates/email/saas-mail-sign-in-code.js +9 -9
- package/dist/templates/email/saas-mail-trial-ending.js +9 -9
- package/dist/templates/email/saas-mail-waitlist.js +9 -9
- package/dist/templates/email/singles-day-header.js +7 -7
- package/dist/templates/email/solarpunk-header.js +7 -7
- package/dist/templates/email/space-opera-header.js +7 -7
- package/dist/templates/email/spring-bloom-header.js +7 -7
- package/dist/templates/email/style-bento-header.js +7 -7
- package/dist/templates/email/style-brutalist-header.js +7 -7
- package/dist/templates/email/style-dark-header.js +7 -7
- package/dist/templates/email/style-data-header.js +7 -7
- package/dist/templates/email/style-editorial-header.js +7 -7
- package/dist/templates/email/style-glass-header.js +7 -7
- package/dist/templates/email/style-gradient-header.js +7 -7
- package/dist/templates/email/style-maximal-header.js +7 -7
- package/dist/templates/email/style-pastel-header.js +7 -7
- package/dist/templates/email/style-sketch-header.js +7 -7
- package/dist/templates/email/style-swiss-header.js +7 -7
- package/dist/templates/email/style-terminal-header.js +7 -7
- package/dist/templates/email/summer-heatwave-header.js +7 -7
- package/dist/templates/email/tour-tickets-june-header.js +7 -7
- package/dist/templates/email/tour-tickets-tide-header.js +7 -7
- package/dist/templates/email/tour-tickets-wreck-header.js +7 -7
- package/dist/templates/email/transit-map-service-update.js +7 -7
- package/dist/templates/email/ukiyo-e-greeting-header.js +7 -7
- package/dist/templates/email/valentines-header.js +7 -7
- package/dist/templates/email/winter-cosy-header.js +7 -7
- package/dist/templates/email/winter-holidays-header.js +7 -7
- package/dist/templates/game/blossom-bash-puzzle.js +7 -7
- package/dist/templates/game/deckbound-roguelike.js +7 -7
- package/dist/templates/game/emberfall-rpg.js +7 -7
- package/dist/templates/game/hearthmoor-farm.js +7 -7
- package/dist/templates/game/index.js +20 -20
- package/dist/templates/game/iron-lotus-fighter.js +7 -7
- package/dist/templates/game/ironroot-rts.js +7 -7
- package/dist/templates/game/mossy-hollow-platformer.js +9 -9
- package/dist/templates/game/neon-apex-racing.js +7 -7
- package/dist/templates/game/platformer.js +8 -8
- package/dist/templates/game/pulse-riot-rhythm.js +7 -7
- package/dist/templates/game/sprout-quest-pixel-platformer.js +9 -9
- package/dist/templates/game/vanta-fps.js +7 -7
- package/dist/templates/index.js +825 -825
- package/dist/templates/kinetic/letters.js +7 -7
- package/dist/templates/kinetic/lines.js +7 -7
- package/dist/templates/kinetic/typewriter.js +7 -7
- package/dist/templates/kinetic/word-swap.js +7 -7
- package/dist/templates/kinetic/words.js +7 -7
- package/dist/templates/libraries/audio-reactive.js +7 -7
- package/dist/templates/libraries/loaders.js +7 -7
- package/dist/templates/libraries/micro-interactions.js +7 -7
- package/dist/templates/libraries/motion-essentials.js +7 -7
- package/dist/templates/libraries/toasts.js +7 -7
- package/dist/templates/lottie/ai.js +8 -8
- package/dist/templates/lottie/climate.js +8 -8
- package/dist/templates/lottie/commerce.js +8 -8
- package/dist/templates/lottie/education.js +8 -8
- package/dist/templates/lottie/fintech.js +8 -8
- package/dist/templates/lottie/food.js +8 -8
- package/dist/templates/lottie/health.js +8 -8
- package/dist/templates/lottie/index.js +32 -32
- package/dist/templates/lottie/lottie-kit.js +7 -7
- package/dist/templates/lottie/realestate.js +8 -8
- package/dist/templates/lottie/saas-ui-checklist.js +9 -9
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +9 -9
- package/dist/templates/lottie/saas-ui-empty-data.js +9 -9
- package/dist/templates/lottie/saas-ui-empty-search.js +9 -9
- package/dist/templates/lottie/saas-ui-error-retry.js +9 -9
- package/dist/templates/lottie/saas-ui-file-upload.js +9 -9
- package/dist/templates/lottie/saas-ui-streaming-answer.js +9 -9
- package/dist/templates/lottie/saas-ui-sync-connected.js +9 -9
- package/dist/templates/lottie/saas-ui-trial-timeline.js +9 -9
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +9 -9
- package/dist/templates/lottie/saas-ui.js +19 -19
- package/dist/templates/lottie/saas.js +8 -8
- package/dist/templates/lottie/security.js +8 -8
- package/dist/templates/lottie/techniques.js +8 -8
- package/dist/templates/lottie/travel.js +8 -8
- package/dist/templates/motion/ai-trailer/index.js +7 -7
- package/dist/templates/motion/ambient-loop.js +7 -7
- package/dist/templates/motion/app-icon-sting.js +7 -7
- package/dist/templates/motion/april-fools-infomercial-reel.js +7 -7
- package/dist/templates/motion/arcade-high-score.js +7 -7
- package/dist/templates/motion/art-deco-grand-opening.js +7 -7
- package/dist/templates/motion/autumn-harvest-year-reel.js +7 -7
- package/dist/templates/motion/back-to-school-timetable-reel.js +7 -7
- package/dist/templates/motion/bauhaus-launch-reel.js +7 -7
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-coupons-last-day.js +7 -7
- package/dist/templates/motion/black-friday-deal-drop.js +7 -7
- package/dist/templates/motion/black-friday-neon-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-neon-last-day.js +7 -7
- package/dist/templates/motion/black-friday-scratch-countdown.js +7 -7
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-scratch-last-day.js +7 -7
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +7 -7
- package/dist/templates/motion/black-friday-ticker-last-call.js +7 -7
- package/dist/templates/motion/blueprint-rev-b-reel.js +7 -7
- package/dist/templates/motion/broadsheet-launch-reel.js +7 -7
- package/dist/templates/motion/broadsheet-milestone-post.js +7 -7
- package/dist/templates/motion/claymation-launch-reel.js +7 -7
- package/dist/templates/motion/comic-book-issue-reel.js +7 -7
- package/dist/templates/motion/countdown.js +7 -7
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +7 -7
- package/dist/templates/motion/departure-board-reel.js +7 -7
- package/dist/templates/motion/diwali-lamps-reel.js +7 -7
- package/dist/templates/motion/earth-day-footprint-reel.js +7 -7
- package/dist/templates/motion/earth-day-pledge-post.js +7 -7
- package/dist/templates/motion/festival-presale-electronic-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-reel.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-tier.js +9 -9
- package/dist/templates/motion/festival-presale-family-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-family-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-family-reel.js +9 -9
- package/dist/templates/motion/festival-presale-family-tier.js +9 -9
- package/dist/templates/motion/festival-presale-folk-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-folk-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-folk-reel.js +9 -9
- package/dist/templates/motion/festival-presale-folk-tier.js +9 -9
- package/dist/templates/motion/festival-presale-food-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-food-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-food-reel.js +9 -9
- package/dist/templates/motion/festival-presale-food-tier.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-reel.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-tier.js +9 -9
- package/dist/templates/motion/festival-presale-street-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-street-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-street-reel.js +9 -9
- package/dist/templates/motion/festival-presale-street-tier.js +9 -9
- package/dist/templates/motion/gothic-launch-reel.js +7 -7
- package/dist/templates/motion/halloween-graveyard-reel.js +7 -7
- package/dist/templates/motion/instagram-promo.js +7 -7
- package/dist/templates/motion/kinetic-headline.js +7 -7
- package/dist/templates/motion/landing-hero/index.js +9 -9
- package/dist/templates/motion/launch-trailer/document.js +825 -825
- package/dist/templates/motion/launch-trailer/index.js +9 -9
- package/dist/templates/motion/launch-trailer/scenes.js +8 -8
- package/dist/templates/motion/logo-reveal.js +7 -7
- package/dist/templates/motion/lower-third.js +7 -7
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +7 -7
- package/dist/templates/motion/machined-trailer.js +7 -7
- package/dist/templates/motion/manuscript-launch-reel.js +7 -7
- package/dist/templates/motion/new-year-ball-drop-reel.js +7 -7
- package/dist/templates/motion/noir-case-reel.js +7 -7
- package/dist/templates/motion/pitch-title.js +7 -7
- package/dist/templates/motion/psychedelic-gig-reel.js +7 -7
- package/dist/templates/motion/riso-zine-launch-reel.js +7 -7
- package/dist/templates/motion/saas-ai-prompt.js +7 -7
- package/dist/templates/motion/saas-before-after.js +7 -7
- package/dist/templates/motion/saas-changelog-drop.js +7 -7
- package/dist/templates/motion/saas-film-webinar-opener.js +7 -7
- package/dist/templates/motion/saas-hook-features.js +7 -7
- package/dist/templates/motion/saas-mrr-milestone.js +7 -7
- package/dist/templates/motion/saas-screen-demo.js +7 -7
- package/dist/templates/motion/saas-store-install-ad.js +7 -7
- package/dist/templates/motion/saas-testimonial.js +7 -7
- package/dist/templates/motion/saas-vs-comparison.js +7 -7
- package/dist/templates/motion/singles-day-flash-post.js +7 -7
- package/dist/templates/motion/singles-day-live-reel.js +7 -7
- package/dist/templates/motion/smooth-loop.js +7 -7
- package/dist/templates/motion/solarpunk-rooftop-reel.js +7 -7
- package/dist/templates/motion/space-opera-countdown-reel.js +7 -7
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +7 -7
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +7 -7
- package/dist/templates/motion/stat-pop.js +7 -7
- package/dist/templates/motion/style-bento-feature-demo.js +7 -7
- package/dist/templates/motion/style-bento-launch-reel.js +7 -7
- package/dist/templates/motion/style-brutalist-feature-demo.js +7 -7
- package/dist/templates/motion/style-brutalist-launch-reel.js +7 -7
- package/dist/templates/motion/style-dark-feature-demo.js +7 -7
- package/dist/templates/motion/style-dark-launch-reel.js +7 -7
- package/dist/templates/motion/style-data-feature-demo.js +7 -7
- package/dist/templates/motion/style-data-launch-reel.js +7 -7
- package/dist/templates/motion/style-editorial-feature-demo.js +7 -7
- package/dist/templates/motion/style-editorial-launch-reel.js +7 -7
- package/dist/templates/motion/style-glass-feature-demo.js +7 -7
- package/dist/templates/motion/style-glass-launch-reel.js +7 -7
- package/dist/templates/motion/style-gradient-feature-demo.js +7 -7
- package/dist/templates/motion/style-gradient-launch-reel.js +7 -7
- package/dist/templates/motion/style-maximal-beat-cut.js +7 -7
- package/dist/templates/motion/style-maximal-feature-demo.js +7 -7
- package/dist/templates/motion/style-maximal-launch-reel.js +7 -7
- package/dist/templates/motion/style-pastel-feature-demo.js +7 -7
- package/dist/templates/motion/style-pastel-launch-reel.js +7 -7
- package/dist/templates/motion/style-sketch-feature-demo.js +7 -7
- package/dist/templates/motion/style-sketch-launch-reel.js +7 -7
- package/dist/templates/motion/style-swiss-feature-demo.js +7 -7
- package/dist/templates/motion/style-swiss-launch-reel.js +7 -7
- package/dist/templates/motion/style-terminal-feature-demo.js +7 -7
- package/dist/templates/motion/style-terminal-launch-reel.js +7 -7
- package/dist/templates/motion/summer-heatwave-lido-reel.js +7 -7
- package/dist/templates/motion/template-wall.js +7 -7
- package/dist/templates/motion/title-card-3d.js +7 -7
- package/dist/templates/motion/tour-tickets-june-city.js +7 -7
- package/dist/templates/motion/tour-tickets-june-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-june-final.js +7 -7
- package/dist/templates/motion/tour-tickets-june-reel.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-city.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-final.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-reel.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-city.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-final.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-reel.js +7 -7
- package/dist/templates/motion/transit-map-line-opening.js +7 -7
- package/dist/templates/motion/transit-map-milestone-post.js +7 -7
- package/dist/templates/motion/ukiyo-e-launch-reel.js +7 -7
- package/dist/templates/motion/valentines-breakup-reel.js +7 -7
- package/dist/templates/motion/vaporwave-launch-reel.js +7 -7
- package/dist/templates/motion/winter-cosy-heads-down-post.js +7 -7
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +7 -7
- package/dist/templates/motion/winter-holidays-advent-reel.js +7 -7
- package/dist/templates/motion3d/app-store-preview.js +7 -7
- package/dist/templates/motion3d/before-after-swing.js +7 -7
- package/dist/templates/motion3d/burger-reveal.js +7 -7
- package/dist/templates/motion3d/coverflow.js +7 -7
- package/dist/templates/motion3d/exploded-ui.js +7 -7
- package/dist/templates/motion3d/feature-flip.js +7 -7
- package/dist/templates/motion3d/kinetic-reveal.js +7 -7
- package/dist/templates/motion3d/laptop-reveal.js +7 -7
- package/dist/templates/motion3d/logo-extrude.js +7 -7
- package/dist/templates/motion3d/parallax-cascade.js +7 -7
- package/dist/templates/motion3d/phone-orbit.js +7 -7
- package/dist/templates/motion3d/pricing-fan.js +7 -7
- package/dist/templates/motion3d/product-turntable.js +7 -7
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +7 -7
- package/dist/templates/motion3d/screen-wall.js +7 -7
- package/dist/templates/motion3d/vertical-promo.js +7 -7
- package/dist/templates/music/edm-drop.js +7 -7
- package/dist/templates/music/festival-lineup.js +7 -7
- package/dist/templates/music/hiphop-lyrics.js +7 -7
- package/dist/templates/music/indie-poster.js +7 -7
- package/dist/templates/music/lofi-loop.js +7 -7
- package/dist/templates/music/podcast-audiogram.js +7 -7
- package/dist/templates/music/synthwave-tunnel.js +7 -7
- package/dist/templates/print/comic-hero-cascade.js +7 -7
- package/dist/templates/print/comic-hero-chase.js +7 -7
- package/dist/templates/print/comic-hero-cover-modern.js +7 -7
- package/dist/templates/print/comic-hero-grid-break.js +7 -7
- package/dist/templates/print/comic-hero-interrogation.js +7 -7
- package/dist/templates/print/comic-hero-issue.js +18 -18
- package/dist/templates/print/comic-hero-manga-action.js +7 -7
- package/dist/templates/print/comic-hero-nested.js +7 -7
- package/dist/templates/print/comic-hero-overlap.js +7 -7
- package/dist/templates/print/comic-hero-parallel.js +7 -7
- package/dist/templates/print/comic-hero-pinup.js +7 -7
- package/dist/templates/print/comic-hero-widescreen.js +7 -7
- package/dist/templates/print/comic-modern-action-slant.js +7 -7
- package/dist/templates/print/comic-modern-cover-pulp.js +7 -7
- package/dist/templates/print/comic-modern-flashback.js +7 -7
- package/dist/templates/print/comic-modern-issue.js +16 -16
- package/dist/templates/print/comic-modern-nine-grid.js +7 -7
- package/dist/templates/print/comic-modern-page-classic.js +7 -7
- package/dist/templates/print/comic-modern-polyptych.js +7 -7
- package/dist/templates/print/comic-modern-radial.js +7 -7
- package/dist/templates/print/comic-modern-splash.js +7 -7
- package/dist/templates/print/comic-modern-spread.js +7 -7
- package/dist/templates/print/everyday-save-the-date.js +7 -7
- package/dist/templates/print/everyday-specials-board.js +7 -7
- package/dist/templates/print/holidays-christmas-church-newsletter.js +7 -7
- package/dist/templates/print/holidays-christmas-eve-invitation.js +7 -7
- package/dist/templates/print/holidays-christmas-gift-tags.js +7 -7
- package/dist/templates/print/holidays-diwali-party-invitation.js +7 -7
- package/dist/templates/print/holidays-easter-activity-sheet.js +7 -7
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +7 -7
- package/dist/templates/print/holidays-eid-dinner-invitation.js +7 -7
- package/dist/templates/print/holidays-eid-gift-tags.js +7 -7
- package/dist/templates/print/holidays-halloween-party-invitation.js +7 -7
- package/dist/templates/print/holidays-halloween-treat-labels.js +7 -7
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +7 -7
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +7 -7
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +7 -7
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +7 -7
- package/dist/templates/print/holidays-new-years-eve-poster.js +7 -7
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +7 -7
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +7 -7
- package/dist/templates/print/holidays-valentines-dinner-menu.js +7 -7
- package/dist/templates/print/knit-christmas-tree-sweater.js +7 -7
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +7 -7
- package/dist/templates/print/knit-snowflake-beanie.js +7 -7
- package/dist/templates/print/printshop-booklet-open-day.js +7 -7
- package/dist/templates/print/printshop-brochure-community.js +7 -7
- package/dist/templates/print/printshop-brochure-dental.js +7 -7
- package/dist/templates/print/printshop-brochure-gym.js +7 -7
- package/dist/templates/print/printshop-brochure-landscaping.js +7 -7
- package/dist/templates/print/printshop-brochure-travel.js +7 -7
- package/dist/templates/print/printshop-card-architect.js +7 -7
- package/dist/templates/print/printshop-card-barber.js +7 -7
- package/dist/templates/print/printshop-card-cafe.js +7 -7
- package/dist/templates/print/printshop-card-developer.js +7 -7
- package/dist/templates/print/printshop-card-florist.js +7 -7
- package/dist/templates/print/printshop-card-lawyer.js +7 -7
- package/dist/templates/print/printshop-card-photographer.js +7 -7
- package/dist/templates/print/printshop-card-plumber.js +7 -7
- package/dist/templates/print/printshop-card-realtor.js +7 -7
- package/dist/templates/print/printshop-card-yoga.js +7 -7
- package/dist/templates/print/printshop-flyer-charity-run.js +7 -7
- package/dist/templates/print/printshop-flyer-farmers-market.js +7 -7
- package/dist/templates/print/printshop-flyer-garage-sale.js +7 -7
- package/dist/templates/print/printshop-flyer-grand-opening.js +7 -7
- package/dist/templates/print/printshop-flyer-lost-pet.js +7 -7
- package/dist/templates/print/printshop-flyer-tutoring.js +7 -7
- package/dist/templates/print/printshop-flyer-yard-work.js +7 -7
- package/dist/templates/print/printshop-poster-live-music.js +7 -7
- package/dist/templates/print/studio-class-timetable-poster.js +7 -7
- package/dist/templates/print/studio-portfolio-booklet.js +7 -7
- package/dist/templates/saas/email-decks-shared.js +8 -8
- package/dist/templates/saas/email-decks.js +19 -19
- package/dist/templates/saas/index.js +190 -190
- package/dist/templates/saas/launch-kit.js +16 -16
- package/dist/templates/saas/launch-video.js +13 -13
- package/dist/templates/saas/lottie-shared.js +8 -8
- package/dist/templates/saas/stores.js +16 -16
- package/dist/templates/saas/style-bento.js +16 -16
- package/dist/templates/saas/style-brutalist.js +16 -16
- package/dist/templates/saas/style-dark.js +16 -16
- package/dist/templates/saas/style-data.js +16 -16
- package/dist/templates/saas/style-editorial.js +16 -16
- package/dist/templates/saas/style-glass.js +16 -16
- package/dist/templates/saas/style-gradient.js +16 -16
- package/dist/templates/saas/style-maximal.js +17 -17
- package/dist/templates/saas/style-pastel.js +16 -16
- package/dist/templates/saas/style-sketch.js +16 -16
- package/dist/templates/saas/style-swiss.js +16 -16
- package/dist/templates/saas/style-terminal.js +16 -16
- package/dist/templates/saas/video.js +15 -15
- package/dist/templates/saas/web.js +19 -19
- package/dist/templates/scenes/before-after.js +7 -7
- package/dist/templates/scenes/carousel-video.js +7 -7
- package/dist/templates/scenes/saas-film-app-preview.js +7 -7
- package/dist/templates/scenes/saas-film-bright-trailer.js +7 -7
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +7 -7
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +7 -7
- package/dist/templates/scenes/story-ad.js +7 -7
- package/dist/templates/scenes/story-bakery.js +7 -7
- package/dist/templates/scenes/story-fitness.js +7 -7
- package/dist/templates/scenes/story-hotel.js +7 -7
- package/dist/templates/scenes/transitions-pack.js +7 -7
- package/dist/templates/scenes/web-scroll.js +7 -7
- package/dist/templates/slides/agenda.js +8 -8
- package/dist/templates/slides/deck.js +7 -7
- package/dist/templates/slides/education.js +8 -8
- package/dist/templates/slides/launch.js +8 -8
- package/dist/templates/slides/layouts.js +8 -8
- package/dist/templates/slides/pitch.js +8 -8
- package/dist/templates/slides/report.js +8 -8
- package/dist/templates/slides/saas-mail-investor-update.js +9 -9
- package/dist/templates/slides/saas-mail-seed-pitch.js +9 -9
- package/dist/templates/slides/sales.js +8 -8
- package/dist/templates/slides/section-divider.js +8 -8
- package/dist/templates/slides/title-card.js +8 -8
- package/dist/templates/slides/training.js +8 -8
- package/dist/templates/slides/webinar.js +8 -8
- package/dist/templates/slideshow/adoption.js +8 -8
- package/dist/templates/slideshow/baby.js +8 -8
- package/dist/templates/slideshow/birthday.js +8 -8
- package/dist/templates/slideshow/graduation.js +8 -8
- package/dist/templates/slideshow/holiday.js +8 -8
- package/dist/templates/slideshow/home.js +8 -8
- package/dist/templates/slideshow/index.js +15 -15
- package/dist/templates/slideshow/lease.js +8 -8
- package/dist/templates/slideshow/memorial.js +8 -8
- package/dist/templates/slideshow/portfolio.js +8 -8
- package/dist/templates/slideshow/product.js +8 -8
- package/dist/templates/slideshow/recipe.js +8 -8
- package/dist/templates/slideshow/shared.js +7 -7
- package/dist/templates/slideshow/team.js +8 -8
- package/dist/templates/slideshow/travel.js +8 -8
- package/dist/templates/slideshow/wedding.js +8 -8
- package/dist/templates/slideshow/year.js +8 -8
- package/dist/templates/social/april-fools-link-preview.js +7 -7
- package/dist/templates/social/april-fools-price-slash-post.js +7 -7
- package/dist/templates/social/arcade-boss-fight.js +7 -7
- package/dist/templates/social/arcade-level-up.js +7 -7
- package/dist/templates/social/art-deco-link-preview.js +7 -7
- package/dist/templates/social/art-deco-premiere-post.js +7 -7
- package/dist/templates/social/autumn-harvest-link-preview.js +7 -7
- package/dist/templates/social/autumn-harvest-thanks-post.js +7 -7
- package/dist/templates/social/back-to-school-link-preview.js +7 -7
- package/dist/templates/social/back-to-school-report-card-post.js +7 -7
- package/dist/templates/social/bauhaus-drift-post.js +7 -7
- package/dist/templates/social/bauhaus-link-preview.js +7 -7
- package/dist/templates/social/bauhaus-pricing-post.js +7 -7
- package/dist/templates/social/black-friday-ads.js +7 -7
- package/dist/templates/social/black-friday-countdown.js +7 -7
- package/dist/templates/social/black-friday-coupons-ads.js +7 -7
- package/dist/templates/social/black-friday-coupons-countdown.js +7 -7
- package/dist/templates/social/black-friday-neon-ads.js +7 -7
- package/dist/templates/social/black-friday-neon-countdown.js +7 -7
- package/dist/templates/social/black-friday-scratch-ads.js +7 -7
- package/dist/templates/social/black-friday-ticker-ads.js +7 -7
- package/dist/templates/social/black-friday-ticker-countdown.js +7 -7
- package/dist/templates/social/blueprint-dimension-post.js +7 -7
- package/dist/templates/social/blueprint-link-preview.js +7 -7
- package/dist/templates/social/blueprint-parts-list-post.js +7 -7
- package/dist/templates/social/broadsheet-hiring-classifieds.js +7 -7
- package/dist/templates/social/broadsheet-link-preview.js +7 -7
- package/dist/templates/social/claymation-link-preview.js +7 -7
- package/dist/templates/social/claymation-streak-post.js +7 -7
- package/dist/templates/social/comic-book-cover-preview.js +7 -7
- package/dist/templates/social/comic-book-strip-post.js +7 -7
- package/dist/templates/social/cyberpunk-implant-post.js +7 -7
- package/dist/templates/social/cyberpunk-link-preview.js +7 -7
- package/dist/templates/social/departure-board-pass-ad.js +7 -7
- package/dist/templates/social/departure-board-store-set.js +7 -7
- package/dist/templates/social/departure-board-thanks-post.js +7 -7
- package/dist/templates/social/diwali-link-preview.js +7 -7
- package/dist/templates/social/diwali-thanks-post.js +7 -7
- package/dist/templates/social/earth-day-link-preview.js +7 -7
- package/dist/templates/social/everyday-save-the-date-post.js +7 -7
- package/dist/templates/social/festival-presale-electronic-ads.js +9 -9
- package/dist/templates/social/festival-presale-family-ads.js +9 -9
- package/dist/templates/social/festival-presale-folk-ads.js +9 -9
- package/dist/templates/social/festival-presale-food-ads.js +9 -9
- package/dist/templates/social/festival-presale-jazz-ads.js +9 -9
- package/dist/templates/social/festival-presale-street-ads.js +9 -9
- package/dist/templates/social/gothic-feature-post.js +7 -7
- package/dist/templates/social/gothic-link-preview.js +7 -7
- package/dist/templates/social/halloween-link-preview.js +7 -7
- package/dist/templates/social/halloween-offer-post.js +7 -7
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +7 -7
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +7 -7
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +7 -7
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +7 -7
- package/dist/templates/social/holidays-valentines-florist-post.js +7 -7
- package/dist/templates/social/lunar-new-year-greeting-post.js +7 -7
- package/dist/templates/social/lunar-new-year-link-preview.js +7 -7
- package/dist/templates/social/machined-link-preview.js +7 -7
- package/dist/templates/social/machined-plate-post.js +7 -7
- package/dist/templates/social/manuscript-chapter-post.js +7 -7
- package/dist/templates/social/manuscript-link-preview.js +7 -7
- package/dist/templates/social/new-year-link-preview.js +7 -7
- package/dist/templates/social/new-year-resolutions-post.js +7 -7
- package/dist/templates/social/noir-case-file.js +7 -7
- package/dist/templates/social/noir-feature-post.js +7 -7
- package/dist/templates/social/post-announcement.js +7 -7
- package/dist/templates/social/post-event.js +7 -7
- package/dist/templates/social/post-podcast.js +7 -7
- package/dist/templates/social/post-quote.js +7 -7
- package/dist/templates/social/post-sale.js +7 -7
- package/dist/templates/social/post-stat.js +7 -7
- package/dist/templates/social/post-testimonial.js +7 -7
- package/dist/templates/social/promo-announcement.js +7 -7
- package/dist/templates/social/promo-beat-drop.js +7 -7
- package/dist/templates/social/promo-event.js +7 -7
- package/dist/templates/social/promo-new-product.js +7 -7
- package/dist/templates/social/promo-quote-reveal.js +7 -7
- package/dist/templates/social/promo-sale-drop.js +7 -7
- package/dist/templates/social/promo-tip-list.js +7 -7
- package/dist/templates/social/psychedelic-lineup-post.js +7 -7
- package/dist/templates/social/psychedelic-link-preview.js +7 -7
- package/dist/templates/social/riso-zine-link-preview.js +7 -7
- package/dist/templates/social/riso-zine-mrr-poster.js +7 -7
- package/dist/templates/social/saas-kit-carousel.js +7 -7
- package/dist/templates/social/saas-kit-countdown-post.js +7 -7
- package/dist/templates/social/saas-kit-feature-drop.js +7 -7
- package/dist/templates/social/saas-kit-link-preview.js +7 -7
- package/dist/templates/social/saas-kit-live-post.js +7 -7
- package/dist/templates/social/saas-kit-mrr-card.js +7 -7
- package/dist/templates/social/saas-kit-ph-gallery.js +7 -7
- package/dist/templates/social/saas-kit-ph-thumb.js +7 -7
- package/dist/templates/social/saas-kit-youtube-thumbs.js +7 -7
- package/dist/templates/social/saas-store-b2b-ads.js +7 -7
- package/dist/templates/social/saas-store-caption-set.js +7 -7
- package/dist/templates/social/saas-store-chrome-kit.js +7 -7
- package/dist/templates/social/saas-store-ipad-set.js +7 -7
- package/dist/templates/social/saas-store-panorama.js +7 -7
- package/dist/templates/social/saas-store-play-kit.js +7 -7
- package/dist/templates/social/saas-store-story.js +7 -7
- package/dist/templates/social/singles-day-link-preview.js +7 -7
- package/dist/templates/social/solarpunk-impact-post.js +7 -7
- package/dist/templates/social/solarpunk-link-preview.js +7 -7
- package/dist/templates/social/space-opera-link-preview.js +7 -7
- package/dist/templates/social/space-opera-mission-patch-post.js +7 -7
- package/dist/templates/social/spring-bloom-link-preview.js +7 -7
- package/dist/templates/social/studio-class-timetable.js +7 -7
- package/dist/templates/social/studio-podcast-cover.js +7 -7
- package/dist/templates/social/style-bento-announcement.js +7 -7
- package/dist/templates/social/style-bento-link-preview.js +7 -7
- package/dist/templates/social/style-bento-milestone.js +7 -7
- package/dist/templates/social/style-bento-testimonial.js +7 -7
- package/dist/templates/social/style-brutalist-announcement.js +7 -7
- package/dist/templates/social/style-brutalist-link-preview.js +7 -7
- package/dist/templates/social/style-brutalist-milestone.js +7 -7
- package/dist/templates/social/style-brutalist-testimonial.js +7 -7
- package/dist/templates/social/style-dark-announcement.js +7 -7
- package/dist/templates/social/style-dark-link-preview.js +7 -7
- package/dist/templates/social/style-dark-milestone.js +7 -7
- package/dist/templates/social/style-dark-testimonial.js +7 -7
- package/dist/templates/social/style-data-announcement.js +7 -7
- package/dist/templates/social/style-data-link-preview.js +7 -7
- package/dist/templates/social/style-data-milestone.js +7 -7
- package/dist/templates/social/style-data-testimonial.js +7 -7
- package/dist/templates/social/style-editorial-announcement.js +7 -7
- package/dist/templates/social/style-editorial-link-preview.js +7 -7
- package/dist/templates/social/style-editorial-milestone.js +7 -7
- package/dist/templates/social/style-editorial-testimonial.js +7 -7
- package/dist/templates/social/style-glass-announcement.js +7 -7
- package/dist/templates/social/style-glass-link-preview.js +7 -7
- package/dist/templates/social/style-glass-milestone.js +7 -7
- package/dist/templates/social/style-glass-testimonial.js +7 -7
- package/dist/templates/social/style-gradient-announcement.js +7 -7
- package/dist/templates/social/style-gradient-link-preview.js +7 -7
- package/dist/templates/social/style-gradient-milestone.js +7 -7
- package/dist/templates/social/style-gradient-testimonial.js +7 -7
- package/dist/templates/social/style-maximal-announcement.js +7 -7
- package/dist/templates/social/style-maximal-link-preview.js +7 -7
- package/dist/templates/social/style-maximal-milestone.js +7 -7
- package/dist/templates/social/style-maximal-testimonial.js +7 -7
- package/dist/templates/social/style-pastel-announcement.js +7 -7
- package/dist/templates/social/style-pastel-link-preview.js +7 -7
- package/dist/templates/social/style-pastel-milestone.js +7 -7
- package/dist/templates/social/style-pastel-testimonial.js +7 -7
- package/dist/templates/social/style-sketch-announcement.js +7 -7
- package/dist/templates/social/style-sketch-link-preview.js +7 -7
- package/dist/templates/social/style-sketch-milestone.js +7 -7
- package/dist/templates/social/style-sketch-testimonial.js +7 -7
- package/dist/templates/social/style-swiss-announcement.js +7 -7
- package/dist/templates/social/style-swiss-link-preview.js +7 -7
- package/dist/templates/social/style-swiss-milestone.js +7 -7
- package/dist/templates/social/style-swiss-testimonial.js +7 -7
- package/dist/templates/social/style-terminal-announcement.js +7 -7
- package/dist/templates/social/style-terminal-link-preview.js +7 -7
- package/dist/templates/social/style-terminal-milestone.js +7 -7
- package/dist/templates/social/style-terminal-testimonial.js +7 -7
- package/dist/templates/social/summer-heatwave-link-preview.js +7 -7
- package/dist/templates/social/summer-heatwave-lolly-post.js +7 -7
- package/dist/templates/social/tour-tickets-june-ads.js +7 -7
- package/dist/templates/social/tour-tickets-tide-ads.js +7 -7
- package/dist/templates/social/tour-tickets-wreck-ads.js +7 -7
- package/dist/templates/social/transit-map-link-preview.js +7 -7
- package/dist/templates/social/ukiyo-e-link-preview.js +7 -7
- package/dist/templates/social/ukiyo-e-spike-post.js +7 -7
- package/dist/templates/social/valentines-link-preview.js +7 -7
- package/dist/templates/social/valentines-poem-post.js +7 -7
- package/dist/templates/social/vaporwave-feature-drop.js +7 -7
- package/dist/templates/social/vaporwave-link-preview.js +7 -7
- package/dist/templates/social/winter-cosy-link-preview.js +7 -7
- package/dist/templates/social/winter-holidays-link-preview.js +7 -7
- package/dist/templates/social/winter-holidays-thanks-post.js +7 -7
- package/dist/templates/stings/line-reveal.js +7 -7
- package/dist/templates/stings/sting-blur.js +7 -7
- package/dist/templates/stings/sting-pop.js +7 -7
- package/dist/templates/stings/sting-rise.js +7 -7
- package/dist/templates/stings/sting-shimmer.js +7 -7
- package/dist/templates/stings/word-swap.js +7 -7
- package/dist/templates/text/stat-counter.js +7 -7
- package/dist/templates/text/word-quote.js +7 -7
- package/dist/templates/themes/april-fools.js +12 -12
- package/dist/templates/themes/arcade.js +11 -11
- package/dist/templates/themes/art-deco.js +12 -12
- package/dist/templates/themes/autumn-harvest.js +12 -12
- package/dist/templates/themes/back-to-school.js +12 -12
- package/dist/templates/themes/bauhaus.js +12 -12
- package/dist/templates/themes/black-friday-coupons.js +13 -13
- package/dist/templates/themes/black-friday-neon.js +13 -13
- package/dist/templates/themes/black-friday-scratch.js +13 -13
- package/dist/templates/themes/black-friday-ticker.js +13 -13
- package/dist/templates/themes/black-friday.js +12 -12
- package/dist/templates/themes/blueprint.js +12 -12
- package/dist/templates/themes/broadsheet.js +13 -13
- package/dist/templates/themes/claymation.js +12 -12
- package/dist/templates/themes/comic-book.js +21 -21
- package/dist/templates/themes/comic-hero.js +19 -19
- package/dist/templates/themes/comic-indie.js +7 -7
- package/dist/templates/themes/cyberpunk.js +12 -12
- package/dist/templates/themes/departure-board.js +12 -12
- package/dist/templates/themes/diwali.js +12 -12
- package/dist/templates/themes/earth-day.js +12 -12
- package/dist/templates/themes/everyday.js +13 -13
- package/dist/templates/themes/festival-presale-electronic-kit.js +8 -8
- package/dist/templates/themes/festival-presale-family-a-shared.js +7 -7
- package/dist/templates/themes/festival-presale-family-a.js +32 -32
- package/dist/templates/themes/festival-presale-family-b-shared.js +7 -7
- package/dist/templates/themes/festival-presale-family-b.js +32 -32
- package/dist/templates/themes/festival-presale-family-kit.js +8 -8
- package/dist/templates/themes/festival-presale-folk-kit.js +8 -8
- package/dist/templates/themes/festival-presale-food-kit.js +8 -8
- package/dist/templates/themes/festival-presale-jazz-kit.js +8 -8
- package/dist/templates/themes/festival-presale-street-kit.js +8 -8
- package/dist/templates/themes/festival-presale.js +13 -13
- package/dist/templates/themes/gothic.js +12 -12
- package/dist/templates/themes/halloween.js +12 -12
- package/dist/templates/themes/holidays.js +33 -33
- package/dist/templates/themes/index.js +425 -425
- package/dist/templates/themes/lunar-new-year.js +12 -12
- package/dist/templates/themes/machined.js +11 -11
- package/dist/templates/themes/manuscript.js +12 -12
- package/dist/templates/themes/memories.js +16 -16
- package/dist/templates/themes/new-year.js +12 -12
- package/dist/templates/themes/noir.js +12 -12
- package/dist/templates/themes/printshop.js +31 -31
- package/dist/templates/themes/psychedelic.js +12 -12
- package/dist/templates/themes/riso-zine.js +12 -12
- package/dist/templates/themes/singles-day.js +12 -12
- package/dist/templates/themes/solarpunk.js +12 -12
- package/dist/templates/themes/space-opera.js +12 -12
- package/dist/templates/themes/spring-bloom.js +12 -12
- package/dist/templates/themes/studio.js +12 -12
- package/dist/templates/themes/summer-heatwave.js +12 -12
- package/dist/templates/themes/tour-tickets.js +31 -31
- package/dist/templates/themes/transit-map.js +12 -12
- package/dist/templates/themes/ukiyo-e.js +12 -12
- package/dist/templates/themes/valentines.js +12 -12
- package/dist/templates/themes/vaporwave.js +11 -11
- package/dist/templates/themes/winter-cosy.js +12 -12
- package/dist/templates/themes/winter-holidays.js +12 -12
- package/dist/templates/video/youtube-chapter.js +7 -7
- package/dist/templates/video/youtube-end-screen.js +7 -7
- package/dist/templates/video/youtube-intro.js +7 -7
- package/dist/templates/video/youtube-subscribe.js +7 -7
- package/dist/templates/web/april-fools-landing.js +7 -7
- package/dist/templates/web/arcade-landing.js +7 -7
- package/dist/templates/web/art-deco-landing.js +7 -7
- package/dist/templates/web/autumn-harvest-landing.js +7 -7
- package/dist/templates/web/back-to-school-landing.js +7 -7
- package/dist/templates/web/bauhaus-landing.js +7 -7
- package/dist/templates/web/black-friday-coupons-landing.js +7 -7
- package/dist/templates/web/black-friday-landing.js +7 -7
- package/dist/templates/web/black-friday-neon-landing.js +7 -7
- package/dist/templates/web/black-friday-scratch-landing.js +7 -7
- package/dist/templates/web/black-friday-ticker-landing.js +7 -7
- package/dist/templates/web/blog-post.js +7 -7
- package/dist/templates/web/blueprint-landing.js +7 -7
- package/dist/templates/web/broadsheet-landing.js +7 -7
- package/dist/templates/web/claymation-landing.js +7 -7
- package/dist/templates/web/comic-book-landing.js +7 -7
- package/dist/templates/web/coming-soon-page.js +7 -7
- package/dist/templates/web/coming-soon.js +7 -7
- package/dist/templates/web/contact.js +7 -7
- package/dist/templates/web/cyberpunk-landing.js +7 -7
- package/dist/templates/web/daybreak-app.js +7 -7
- package/dist/templates/web/departure-board-download.js +7 -7
- package/dist/templates/web/diwali-landing.js +7 -7
- package/dist/templates/web/earth-day-landing.js +7 -7
- package/dist/templates/web/everyday-cafe.js +7 -7
- package/dist/templates/web/everyday-hotel.js +7 -7
- package/dist/templates/web/everyday-wedding.js +7 -7
- package/dist/templates/web/festival-presale-electronic.js +7 -7
- package/dist/templates/web/festival-presale-family.js +7 -7
- package/dist/templates/web/festival-presale-folk.js +7 -7
- package/dist/templates/web/festival-presale-food.js +7 -7
- package/dist/templates/web/festival-presale-jazz.js +7 -7
- package/dist/templates/web/festival-presale-street.js +7 -7
- package/dist/templates/web/gothic-landing.js +7 -7
- package/dist/templates/web/halloween-landing.js +7 -7
- package/dist/templates/web/hero-animated.js +7 -7
- package/dist/templates/web/kindling-app.js +7 -7
- package/dist/templates/web/launch-waitlist.js +7 -7
- package/dist/templates/web/lunar-new-year-landing.js +7 -7
- package/dist/templates/web/machined-hero.js +7 -7
- package/dist/templates/web/manuscript-landing.js +7 -7
- package/dist/templates/web/marginalia-app.js +7 -7
- package/dist/templates/web/new-year-landing.js +7 -7
- package/dist/templates/web/noir-landing.js +7 -7
- package/dist/templates/web/page-404.js +7 -7
- package/dist/templates/web/portfolio-architect.js +7 -7
- package/dist/templates/web/portfolio-card-deck.js +7 -7
- package/dist/templates/web/portfolio-case-folio.js +7 -7
- package/dist/templates/web/portfolio-cube-gallery.js +7 -7
- package/dist/templates/web/portfolio-depth-tunnel.js +7 -7
- package/dist/templates/web/portfolio-editorial.js +7 -7
- package/dist/templates/web/portfolio-flip-wall.js +7 -7
- package/dist/templates/web/portfolio-index-list.js +7 -7
- package/dist/templates/web/portfolio-photographer.js +7 -7
- package/dist/templates/web/portfolio-reel-carousel.js +7 -7
- package/dist/templates/web/portfolio-sketchbook.js +7 -7
- package/dist/templates/web/portfolio-studio-grid.js +7 -7
- package/dist/templates/web/portfolio.js +7 -7
- package/dist/templates/web/portfolios.js +19 -19
- package/dist/templates/web/potluck-app.js +7 -7
- package/dist/templates/web/pricing-toggle.js +7 -7
- package/dist/templates/web/product-page.js +7 -7
- package/dist/templates/web/psychedelic-landing.js +7 -7
- package/dist/templates/web/riso-zine-landing.js +7 -7
- package/dist/templates/web/rsvp-invite.js +7 -7
- package/dist/templates/web/saas-ai-landing.js +7 -7
- package/dist/templates/web/saas-app-download.js +7 -7
- package/dist/templates/web/saas-case-study.js +7 -7
- package/dist/templates/web/saas-changelog.js +7 -7
- package/dist/templates/web/saas-comparison.js +7 -7
- package/dist/templates/web/saas-data-landing.js +7 -7
- package/dist/templates/web/saas-dev-landing.js +7 -7
- package/dist/templates/web/saas-indie-landing.js +7 -7
- package/dist/templates/web/saas-integrations.js +7 -7
- package/dist/templates/web/saas-security.js +7 -7
- package/dist/templates/web/saas-signup.js +7 -7
- package/dist/templates/web/saas-waitlist.js +7 -7
- package/dist/templates/web/saffron-app.js +7 -7
- package/dist/templates/web/shop-bloom.js +7 -7
- package/dist/templates/web/shop-circuit.js +7 -7
- package/dist/templates/web/shop-fieldwork.js +7 -7
- package/dist/templates/web/shop-greenhouse.js +7 -7
- package/dist/templates/web/shop-kiln.js +7 -7
- package/dist/templates/web/shop-marginalia.js +7 -7
- package/dist/templates/web/shop-ode.js +7 -7
- package/dist/templates/web/shop-static.js +7 -7
- package/dist/templates/web/shop-summit.js +7 -7
- package/dist/templates/web/shops.js +16 -16
- package/dist/templates/web/singles-day-landing.js +7 -7
- package/dist/templates/web/solarpunk-landing.js +7 -7
- package/dist/templates/web/space-opera-landing.js +7 -7
- package/dist/templates/web/spring-bloom-landing.js +7 -7
- package/dist/templates/web/studio-careers.js +7 -7
- package/dist/templates/web/style-bento-landing.js +7 -7
- package/dist/templates/web/style-bento-pricing.js +7 -7
- package/dist/templates/web/style-brutalist-landing.js +7 -7
- package/dist/templates/web/style-brutalist-pricing.js +7 -7
- package/dist/templates/web/style-dark-landing.js +7 -7
- package/dist/templates/web/style-dark-pricing.js +7 -7
- package/dist/templates/web/style-data-landing.js +7 -7
- package/dist/templates/web/style-data-pricing.js +7 -7
- package/dist/templates/web/style-editorial-landing.js +7 -7
- package/dist/templates/web/style-editorial-pricing.js +7 -7
- package/dist/templates/web/style-glass-landing.js +7 -7
- package/dist/templates/web/style-glass-pricing.js +7 -7
- package/dist/templates/web/style-gradient-landing.js +7 -7
- package/dist/templates/web/style-gradient-pricing.js +7 -7
- package/dist/templates/web/style-maximal-landing.js +7 -7
- package/dist/templates/web/style-maximal-pricing.js +7 -7
- package/dist/templates/web/style-pastel-landing.js +7 -7
- package/dist/templates/web/style-pastel-pricing.js +7 -7
- package/dist/templates/web/style-sketch-landing.js +7 -7
- package/dist/templates/web/style-sketch-pricing.js +7 -7
- package/dist/templates/web/style-swiss-landing.js +7 -7
- package/dist/templates/web/style-swiss-pricing.js +7 -7
- package/dist/templates/web/style-terminal-landing.js +7 -7
- package/dist/templates/web/style-terminal-pricing.js +7 -7
- package/dist/templates/web/summer-heatwave-landing.js +7 -7
- package/dist/templates/web/tempo-app.js +7 -7
- package/dist/templates/web/tour-tickets-june-landing.js +7 -7
- package/dist/templates/web/tour-tickets-tide-landing.js +7 -7
- package/dist/templates/web/tour-tickets-wreck-landing.js +7 -7
- package/dist/templates/web/transit-map-landing.js +7 -7
- package/dist/templates/web/ukiyo-e-landing.js +7 -7
- package/dist/templates/web/valentines-landing.js +7 -7
- package/dist/templates/web/vaporwave-landing.js +7 -7
- package/dist/templates/web/wayfarer-app.js +7 -7
- package/dist/templates/web/winter-cosy-landing.js +7 -7
- package/dist/templates/web/winter-holidays-landing.js +7 -7
- package/package.json +1 -1
- package/dist/chunks/agent-L57N62FZ.js +0 -44
- package/dist/chunks/builtin-2KABFNKJ.js +0 -121
- package/dist/chunks/buy-credits-BNT7BUBQ.js +0 -80
- package/dist/chunks/check-template-F2AIQCWR.js +0 -2413
- package/dist/chunks/chunk-23EQT3YT.js +0 -103
- package/dist/chunks/chunk-24YJGWFP.js +0 -63
- package/dist/chunks/chunk-25BU7QKN.js +0 -222
- package/dist/chunks/chunk-27ID6EWM.js +0 -161
- package/dist/chunks/chunk-27WRHBHR.js +0 -1419
- package/dist/chunks/chunk-2B6XFKTD.js +0 -149
- package/dist/chunks/chunk-2C44UWL7.js +0 -98
- package/dist/chunks/chunk-2CVZZQ77.js +0 -177
- package/dist/chunks/chunk-2DDGS4JR.js +0 -168
- package/dist/chunks/chunk-2EP4Y3ZR.js +0 -140
- package/dist/chunks/chunk-2GCXTBVP.js +0 -141
- package/dist/chunks/chunk-2HL4K523.js +0 -190
- package/dist/chunks/chunk-2IVJAP3S.js +0 -86
- package/dist/chunks/chunk-2KJX2AYU.js +0 -358
- package/dist/chunks/chunk-2KOY4OZI.js +0 -213
- package/dist/chunks/chunk-2L5XIM27.js +0 -191
- package/dist/chunks/chunk-2MFR7LZS.js +0 -163
- package/dist/chunks/chunk-2OJKHVID.js +0 -114
- package/dist/chunks/chunk-2OR5VTZJ.js +0 -183
- package/dist/chunks/chunk-2Q72SLND.js +0 -127
- package/dist/chunks/chunk-2QMULBWC.js +0 -118
- package/dist/chunks/chunk-2RWIQ7ZV.js +0 -76
- package/dist/chunks/chunk-2SMQA32Q.js +0 -23
- package/dist/chunks/chunk-2SYNCD3E.js +0 -140
- package/dist/chunks/chunk-2UGQQPVP.js +0 -202
- package/dist/chunks/chunk-2UQV5WBR.js +0 -45
- package/dist/chunks/chunk-2VAC2DIC.js +0 -110
- package/dist/chunks/chunk-2VJCC4DS.js +0 -198
- package/dist/chunks/chunk-2VRFV2SY.js +0 -187
- package/dist/chunks/chunk-2X4WUAUU.js +0 -33
- package/dist/chunks/chunk-2YHYZW5D.js +0 -304
- package/dist/chunks/chunk-3366XKXD.js +0 -23
- package/dist/chunks/chunk-33EGA4M2.js +0 -197
- package/dist/chunks/chunk-36HIL573.js +0 -327
- package/dist/chunks/chunk-36U775DB.js +0 -898
- package/dist/chunks/chunk-37F3TGAY.js +0 -167
- package/dist/chunks/chunk-37FVLRRA.js +0 -238
- package/dist/chunks/chunk-37MI2LBT.js +0 -81
- package/dist/chunks/chunk-3ARWQFIH.js +0 -182
- package/dist/chunks/chunk-3BHDG5Q7.js +0 -33
- package/dist/chunks/chunk-3CYZJBTI.js +0 -112
- package/dist/chunks/chunk-3D5C5SES.js +0 -91
- package/dist/chunks/chunk-3D5XIB6H.js +0 -131
- package/dist/chunks/chunk-3DKCOLDX.js +0 -179
- package/dist/chunks/chunk-3DTE7VN4.js +0 -320
- package/dist/chunks/chunk-3EE54DGX.js +0 -141
- package/dist/chunks/chunk-3F3NSBR4.js +0 -89
- package/dist/chunks/chunk-3F5E3O24.js +0 -23
- package/dist/chunks/chunk-3G7SP7H7.js +0 -270
- package/dist/chunks/chunk-3HK3G7QF.js +0 -59
- package/dist/chunks/chunk-3K5AMEAU.js +0 -106
- package/dist/chunks/chunk-3KKLYFJZ.js +0 -50
- package/dist/chunks/chunk-3MJCYL7Q.js +0 -23
- package/dist/chunks/chunk-3MXJF7OK.js +0 -267
- package/dist/chunks/chunk-3NWJGNLF.js +0 -130
- package/dist/chunks/chunk-3P6TG2F2.js +0 -76
- package/dist/chunks/chunk-3PCGFLHJ.js +0 -115
- package/dist/chunks/chunk-3RMNCSHT.js +0 -23
- package/dist/chunks/chunk-3SAZP7EB.js +0 -140
- package/dist/chunks/chunk-3SEMWQL5.js +0 -81
- package/dist/chunks/chunk-3SF6LQJV.js +0 -242
- package/dist/chunks/chunk-3T7CEZRR.js +0 -283
- package/dist/chunks/chunk-3UE2M3HR.js +0 -172
- package/dist/chunks/chunk-3X2VTCA5.js +0 -111
- package/dist/chunks/chunk-3Z7N3KOX.js +0 -164
- package/dist/chunks/chunk-3ZG47UWM.js +0 -80
- package/dist/chunks/chunk-436356RI.js +0 -23
- package/dist/chunks/chunk-443F72IC.js +0 -115
- package/dist/chunks/chunk-446GLKGT.js +0 -110
- package/dist/chunks/chunk-44YIOHBS.js +0 -85
- package/dist/chunks/chunk-45F34PK5.js +0 -152
- package/dist/chunks/chunk-45L3JX3D.js +0 -162
- package/dist/chunks/chunk-45M5GG4K.js +0 -115
- package/dist/chunks/chunk-466KSVPU.js +0 -344
- package/dist/chunks/chunk-475WW77M.js +0 -232
- package/dist/chunks/chunk-4AHAIPVC.js +0 -137
- package/dist/chunks/chunk-4AMIIAUE.js +0 -298
- package/dist/chunks/chunk-4CDH7TNE.js +0 -213
- package/dist/chunks/chunk-4IKLIYRT.js +0 -188
- package/dist/chunks/chunk-4JIXPNSB.js +0 -145
- package/dist/chunks/chunk-4MDXMSYZ.js +0 -198
- package/dist/chunks/chunk-4NPTFZEN.js +0 -198
- package/dist/chunks/chunk-4PB3IIU3.js +0 -157
- package/dist/chunks/chunk-4PE43UMZ.js +0 -99
- package/dist/chunks/chunk-4RFOITJV.js +0 -165
- package/dist/chunks/chunk-4SQAX77J.js +0 -84
- package/dist/chunks/chunk-4TYEHBHL.js +0 -119
- package/dist/chunks/chunk-4U6ATIBZ.js +0 -183
- package/dist/chunks/chunk-4USWHVCG.js +0 -226
- package/dist/chunks/chunk-4UVCHDLI.js +0 -297
- package/dist/chunks/chunk-4W7WJJ6L.js +0 -190
- package/dist/chunks/chunk-4YAFHVVF.js +0 -150
- package/dist/chunks/chunk-4ZCMXZ33.js +0 -71
- package/dist/chunks/chunk-4ZKRPY3P.js +0 -198
- package/dist/chunks/chunk-527KVYNG.js +0 -151
- package/dist/chunks/chunk-527YLHVJ.js +0 -104
- package/dist/chunks/chunk-52RHQ266.js +0 -54
- package/dist/chunks/chunk-54MWJTPJ.js +0 -311
- package/dist/chunks/chunk-55IAWUQA.js +0 -171
- package/dist/chunks/chunk-55WWHNAA.js +0 -130
- package/dist/chunks/chunk-562WOR75.js +0 -126
- package/dist/chunks/chunk-56ASYOHT.js +0 -292
- package/dist/chunks/chunk-56FBKSQK.js +0 -41
- package/dist/chunks/chunk-56YGNP4E.js +0 -170
- package/dist/chunks/chunk-5DOPCIMH.js +0 -105
- package/dist/chunks/chunk-5F77YUYC.js +0 -169
- package/dist/chunks/chunk-5FZW3SRJ.js +0 -121
- package/dist/chunks/chunk-5H455FPZ.js +0 -141
- package/dist/chunks/chunk-5ILYEJE5.js +0 -728
- package/dist/chunks/chunk-5J447A34.js +0 -83
- package/dist/chunks/chunk-5KEZLKGO.js +0 -149
- package/dist/chunks/chunk-5MOXLB2I.js +0 -33
- package/dist/chunks/chunk-5N5COPEV.js +0 -53
- package/dist/chunks/chunk-5NCB7WW3.js +0 -265
- package/dist/chunks/chunk-5P74WMHY.js +0 -646
- package/dist/chunks/chunk-5RY53E3Y.js +0 -218
- package/dist/chunks/chunk-5WJSZFSJ.js +0 -142
- package/dist/chunks/chunk-5XTNFTBR.js +0 -206
- package/dist/chunks/chunk-62TYHJ6K.js +0 -684
- package/dist/chunks/chunk-62UIS5XR.js +0 -124
- package/dist/chunks/chunk-63BO3FQ7.js +0 -33
- package/dist/chunks/chunk-63HYUX3Q.js +0 -197
- package/dist/chunks/chunk-63VZUML7.js +0 -60
- package/dist/chunks/chunk-6AWMWDWA.js +0 -2168
- package/dist/chunks/chunk-6B4JAY2W.js +0 -33
- package/dist/chunks/chunk-6BE3XWLO.js +0 -100
- package/dist/chunks/chunk-6BNWZYWY.js +0 -23
- package/dist/chunks/chunk-6DR3QBEH.js +0 -77
- package/dist/chunks/chunk-6EARDATI.js +0 -28
- package/dist/chunks/chunk-6ELF5PMH.js +0 -106
- package/dist/chunks/chunk-6FWJPVAL.js +0 -366
- package/dist/chunks/chunk-6GLHCY5B.js +0 -165
- package/dist/chunks/chunk-6GOU57JH.js +0 -146
- package/dist/chunks/chunk-6JUZHOBC.js +0 -209
- package/dist/chunks/chunk-6LBZP5B4.js +0 -178
- package/dist/chunks/chunk-6MBXWZ23.js +0 -197
- package/dist/chunks/chunk-6N345TTB.js +0 -71
- package/dist/chunks/chunk-6NT6TCA6.js +0 -111
- package/dist/chunks/chunk-6NYRYJMU.js +0 -156
- package/dist/chunks/chunk-6P54IKJU.js +0 -108
- package/dist/chunks/chunk-6RLHZ4IX.js +0 -218
- package/dist/chunks/chunk-6SD7WKSA.js +0 -100
- package/dist/chunks/chunk-6SLAJVFR.js +0 -79
- package/dist/chunks/chunk-6SWSXV54.js +0 -33
- package/dist/chunks/chunk-6UFZ2IFU.js +0 -303
- package/dist/chunks/chunk-6UYYTF7R.js +0 -336
- package/dist/chunks/chunk-6WM5IKKK.js +0 -327
- package/dist/chunks/chunk-6YUWJI4V.js +0 -33
- package/dist/chunks/chunk-73G3CA44.js +0 -244
- package/dist/chunks/chunk-73PWNINK.js +0 -90
- package/dist/chunks/chunk-73Q3ANID.js +0 -137
- package/dist/chunks/chunk-74EW7MMH.js +0 -172
- package/dist/chunks/chunk-74XW6H7Q.js +0 -225
- package/dist/chunks/chunk-75JDGJX6.js +0 -164
- package/dist/chunks/chunk-77KO73AY.js +0 -136
- package/dist/chunks/chunk-77TYCDYZ.js +0 -273
- package/dist/chunks/chunk-77X2INRY.js +0 -255
- package/dist/chunks/chunk-7AIQ3766.js +0 -128
- package/dist/chunks/chunk-7AQCLR3T.js +0 -135
- package/dist/chunks/chunk-7EAMVCEY.js +0 -84
- package/dist/chunks/chunk-7EAXOL3J.js +0 -251
- package/dist/chunks/chunk-7F6FNLZJ.js +0 -200
- package/dist/chunks/chunk-7GMBQZEJ.js +0 -77
- package/dist/chunks/chunk-7IJYCN4J.js +0 -261
- package/dist/chunks/chunk-7NDZX6ZP.js +0 -41
- package/dist/chunks/chunk-7PDSQVZ2.js +0 -96
- package/dist/chunks/chunk-7PFCX2T5.js +0 -103
- package/dist/chunks/chunk-7Q2ZZDOJ.js +0 -94
- package/dist/chunks/chunk-7S5T2JOZ.js +0 -777
- package/dist/chunks/chunk-7TENYKN2.js +0 -305
- package/dist/chunks/chunk-7U4EEQ7R.js +0 -155
- package/dist/chunks/chunk-7VACVBGC.js +0 -278
- package/dist/chunks/chunk-7VTT5NMJ.js +0 -396
- package/dist/chunks/chunk-A2II46S3.js +0 -33
- package/dist/chunks/chunk-A2QKWFWA.js +0 -78
- package/dist/chunks/chunk-A54BETHP.js +0 -969
- package/dist/chunks/chunk-A5BC5FHL.js +0 -96
- package/dist/chunks/chunk-A5LFAGGU.js +0 -112
- package/dist/chunks/chunk-A6ALZITN.js +0 -284
- package/dist/chunks/chunk-A6MWA4EO.js +0 -263
- package/dist/chunks/chunk-A772FXBX.js +0 -147
- package/dist/chunks/chunk-A7FEZMUV.js +0 -324
- package/dist/chunks/chunk-ABHM3F53.js +0 -23
- package/dist/chunks/chunk-ABRM2TFM.js +0 -78
- package/dist/chunks/chunk-ADIC4LXZ.js +0 -138
- package/dist/chunks/chunk-AEERKA44.js +0 -261
- package/dist/chunks/chunk-AEOAUONK.js +0 -153
- package/dist/chunks/chunk-AGOWRFCT.js +0 -107
- package/dist/chunks/chunk-AHLGDDI5.js +0 -135
- package/dist/chunks/chunk-AHMLIU6O.js +0 -93
- package/dist/chunks/chunk-AI3TCRSH.js +0 -23
- package/dist/chunks/chunk-AIEH7TPB.js +0 -256
- package/dist/chunks/chunk-AIM5WRA3.js +0 -55
- package/dist/chunks/chunk-AJ5Y7PW7.js +0 -10311
- package/dist/chunks/chunk-AKM6UVKN.js +0 -45
- package/dist/chunks/chunk-AN5MDA7Z.js +0 -119
- package/dist/chunks/chunk-ANHVQ5AI.js +0 -53
- package/dist/chunks/chunk-AQR4BMVD.js +0 -115
- package/dist/chunks/chunk-ARAVVAQR.js +0 -133
- package/dist/chunks/chunk-ARTXYFQO.js +0 -103
- package/dist/chunks/chunk-AS3NVW6H.js +0 -45
- package/dist/chunks/chunk-ASSQJ7Q4.js +0 -152
- package/dist/chunks/chunk-AV35ES3A.js +0 -110
- package/dist/chunks/chunk-AVJGYJOW.js +0 -109
- package/dist/chunks/chunk-AVUXEOUX.js +0 -36
- package/dist/chunks/chunk-AWERCN74.js +0 -305
- package/dist/chunks/chunk-AWXE6VKT.js +0 -247
- package/dist/chunks/chunk-AWYSNGC7.js +0 -103
- package/dist/chunks/chunk-AYK3WKFQ.js +0 -287
- package/dist/chunks/chunk-AZIYKULR.js +0 -68
- package/dist/chunks/chunk-B2MCR5VB.js +0 -135
- package/dist/chunks/chunk-B2NBL65Y.js +0 -152
- package/dist/chunks/chunk-B37W6AQ4.js +0 -166
- package/dist/chunks/chunk-B3JKXKC6.js +0 -80
- package/dist/chunks/chunk-B3VJYWZH.js +0 -23
- package/dist/chunks/chunk-B5LKXJ2W.js +0 -117
- package/dist/chunks/chunk-B76ZVIY3.js +0 -360
- package/dist/chunks/chunk-B7FAPJAV.js +0 -209
- package/dist/chunks/chunk-B7PUQ7RY.js +0 -123
- package/dist/chunks/chunk-BACTZC6M.js +0 -60
- package/dist/chunks/chunk-BAGLKRLU.js +0 -90
- package/dist/chunks/chunk-BB3TFMS7.js +0 -126
- package/dist/chunks/chunk-BBFAXEHY.js +0 -146
- package/dist/chunks/chunk-BDMUDZDZ.js +0 -130
- package/dist/chunks/chunk-BDP4H5PN.js +0 -346
- package/dist/chunks/chunk-BELQNEI6.js +0 -102
- package/dist/chunks/chunk-BGIIAO6O.js +0 -198
- package/dist/chunks/chunk-BKHKQIBY.js +0 -390
- package/dist/chunks/chunk-BKKBPYDK.js +0 -158
- package/dist/chunks/chunk-BMJIDVLE.js +0 -105
- package/dist/chunks/chunk-BMYCZ7N6.js +0 -33
- package/dist/chunks/chunk-BNNSJFHF.js +0 -228
- package/dist/chunks/chunk-BNZ6NX3J.js +0 -283
- package/dist/chunks/chunk-BOFEB3S5.js +0 -72
- package/dist/chunks/chunk-BS3AKYPM.js +0 -84
- package/dist/chunks/chunk-BSAHX5K7.js +0 -155
- package/dist/chunks/chunk-BTNZPBQA.js +0 -45
- package/dist/chunks/chunk-BUSENYGS.js +0 -23
- package/dist/chunks/chunk-BVOADK5F.js +0 -261
- package/dist/chunks/chunk-BVUM3ZHH.js +0 -100
- package/dist/chunks/chunk-BWRADAOB.js +0 -391
- package/dist/chunks/chunk-BXASUM6E.js +0 -23
- package/dist/chunks/chunk-C3U2LD4H.js +0 -192
- package/dist/chunks/chunk-C7CETYDS.js +0 -105
- package/dist/chunks/chunk-C7VSPLVR.js +0 -251
- package/dist/chunks/chunk-CAPB75TX.js +0 -156
- package/dist/chunks/chunk-CAQTHUVN.js +0 -97
- package/dist/chunks/chunk-CBMHGM2Q.js +0 -97
- package/dist/chunks/chunk-CGHFGGLB.js +0 -84
- package/dist/chunks/chunk-CHLT3ZU2.js +0 -118
- package/dist/chunks/chunk-CI2LWHBN.js +0 -182
- package/dist/chunks/chunk-CIRYNUZX.js +0 -171
- package/dist/chunks/chunk-CJIPUYHG.js +0 -23
- package/dist/chunks/chunk-CKCDQQH5.js +0 -97
- package/dist/chunks/chunk-CMELXFQH.js +0 -133
- package/dist/chunks/chunk-CMLGTPBE.js +0 -134
- package/dist/chunks/chunk-CMRWSH5S.js +0 -166
- package/dist/chunks/chunk-CNIZBQOT.js +0 -138
- package/dist/chunks/chunk-COG4JNCC.js +0 -204
- package/dist/chunks/chunk-COPPAUGS.js +0 -220
- package/dist/chunks/chunk-CSKFPM5M.js +0 -106
- package/dist/chunks/chunk-CSU54NQN.js +0 -36
- package/dist/chunks/chunk-CVDA5FBN.js +0 -274
- package/dist/chunks/chunk-CVG3NKLN.js +0 -232
- package/dist/chunks/chunk-CXIW2O2Z.js +0 -77
- package/dist/chunks/chunk-CXIZIYCI.js +0 -169
- package/dist/chunks/chunk-CYAGVOKE.js +0 -87
- package/dist/chunks/chunk-CYBVSKUR.js +0 -74
- package/dist/chunks/chunk-CYNBIOBN.js +0 -53
- package/dist/chunks/chunk-D2CJNWPW.js +0 -200
- package/dist/chunks/chunk-D2GXASDO.js +0 -95
- package/dist/chunks/chunk-D5YFHJST.js +0 -358
- package/dist/chunks/chunk-D6IUY2FJ.js +0 -57
- package/dist/chunks/chunk-DALVFOMJ.js +0 -86
- package/dist/chunks/chunk-DE6LKZM6.js +0 -315
- package/dist/chunks/chunk-DEPTFLN7.js +0 -170
- package/dist/chunks/chunk-DFQJSIOV.js +0 -93
- package/dist/chunks/chunk-DICD6Y3F.js +0 -46
- package/dist/chunks/chunk-DKDMOMTU.js +0 -262
- package/dist/chunks/chunk-DLGXZLSF.js +0 -172
- package/dist/chunks/chunk-DNVFKCEZ.js +0 -23
- package/dist/chunks/chunk-DNW3GK2V.js +0 -131
- package/dist/chunks/chunk-DOVDYQPX.js +0 -266
- package/dist/chunks/chunk-DOW7CALZ.js +0 -262
- package/dist/chunks/chunk-DOYLYIOF.js +0 -123
- package/dist/chunks/chunk-DRJQIBIN.js +0 -33
- package/dist/chunks/chunk-DRSXECDF.js +0 -362
- package/dist/chunks/chunk-DSDKJGZC.js +0 -87
- package/dist/chunks/chunk-DUGRLZJG.js +0 -45
- package/dist/chunks/chunk-DXCI2QR5.js +0 -71
- package/dist/chunks/chunk-DYE425FJ.js +0 -200
- package/dist/chunks/chunk-DYOPC6WI.js +0 -69
- package/dist/chunks/chunk-E3HRYAFV.js +0 -23
- package/dist/chunks/chunk-E3MWW2AV.js +0 -129
- package/dist/chunks/chunk-EBUARYNF.js +0 -99
- package/dist/chunks/chunk-EEDFR6IY.js +0 -242
- package/dist/chunks/chunk-EJKVQYZI.js +0 -84
- package/dist/chunks/chunk-EKYCEBO6.js +0 -260
- package/dist/chunks/chunk-EPSIBYH7.js +0 -97
- package/dist/chunks/chunk-ERTXON23.js +0 -277
- package/dist/chunks/chunk-ESYCK7MX.js +0 -106
- package/dist/chunks/chunk-ETQ4UWBY.js +0 -149
- package/dist/chunks/chunk-ETSV4MHT.js +0 -114
- package/dist/chunks/chunk-EVSQN45Z.js +0 -45
- package/dist/chunks/chunk-EWJNEX67.js +0 -172
- package/dist/chunks/chunk-EXTWUWAV.js +0 -30
- package/dist/chunks/chunk-EZTBQMGZ.js +0 -180
- package/dist/chunks/chunk-F2I2HTKK.js +0 -10754
- package/dist/chunks/chunk-F2ISC4T3.js +0 -100
- package/dist/chunks/chunk-F3RYQDXD.js +0 -177
- package/dist/chunks/chunk-F57LCW67.js +0 -49
- package/dist/chunks/chunk-F7AWOELA.js +0 -51
- package/dist/chunks/chunk-F7RUX4R4.js +0 -135
- package/dist/chunks/chunk-F7VMGDBP.js +0 -36
- package/dist/chunks/chunk-FAIT7PJD.js +0 -33
- package/dist/chunks/chunk-FAV5FMPV.js +0 -33
- package/dist/chunks/chunk-FBEOYADR.js +0 -299
- package/dist/chunks/chunk-FFGPL4GA.js +0 -497
- package/dist/chunks/chunk-FHAOI4AG.js +0 -95
- package/dist/chunks/chunk-FJG7GQ55.js +0 -220
- package/dist/chunks/chunk-FJRX6YVS.js +0 -84
- package/dist/chunks/chunk-FKSUNOG7.js +0 -77
- package/dist/chunks/chunk-FLGPHEYX.js +0 -247
- package/dist/chunks/chunk-FLYTHZWB.js +0 -181
- package/dist/chunks/chunk-FM3YTNFF.js +0 -91
- package/dist/chunks/chunk-FMA3R3ZM.js +0 -112
- package/dist/chunks/chunk-FMGARITO.js +0 -152
- package/dist/chunks/chunk-FNMGU7FR.js +0 -185
- package/dist/chunks/chunk-FOQ2I2J2.js +0 -115
- package/dist/chunks/chunk-FPPSE3T2.js +0 -160
- package/dist/chunks/chunk-FRTQRPOM.js +0 -120
- package/dist/chunks/chunk-FSXH7HDN.js +0 -208
- package/dist/chunks/chunk-FW43K5J3.js +0 -184
- package/dist/chunks/chunk-FYHVJ33S.js +0 -215
- package/dist/chunks/chunk-FZKV6Z4A.js +0 -23
- package/dist/chunks/chunk-G4I3IZBF.js +0 -130
- package/dist/chunks/chunk-GAUENCLM.js +0 -112
- package/dist/chunks/chunk-GBC7GQIK.js +0 -141
- package/dist/chunks/chunk-GCAHASQX.js +0 -94
- package/dist/chunks/chunk-GEL2RQK7.js +0 -150
- package/dist/chunks/chunk-GFOLX7HF.js +0 -147
- package/dist/chunks/chunk-GGRDK46S.js +0 -118
- package/dist/chunks/chunk-GGUNE6OO.js +0 -108
- package/dist/chunks/chunk-GHJTAIBK.js +0 -224
- package/dist/chunks/chunk-GJAKDJH7.js +0 -157
- package/dist/chunks/chunk-GK5JEV7Y.js +0 -45
- package/dist/chunks/chunk-GK5UTF75.js +0 -195
- package/dist/chunks/chunk-GKLT6KVR.js +0 -209
- package/dist/chunks/chunk-GL5OYC77.js +0 -108
- package/dist/chunks/chunk-GLFZOUJS.js +0 -125
- package/dist/chunks/chunk-GPJHX5QY.js +0 -147
- package/dist/chunks/chunk-GXBJNKWN.js +0 -168
- package/dist/chunks/chunk-GXFAKW6Q.js +0 -78
- package/dist/chunks/chunk-GZGIVW67.js +0 -154
- package/dist/chunks/chunk-H3R4M6PS.js +0 -106
- package/dist/chunks/chunk-H4ZU57HZ.js +0 -106
- package/dist/chunks/chunk-H5QFA2U6.js +0 -159
- package/dist/chunks/chunk-H5X4XBUC.js +0 -329
- package/dist/chunks/chunk-HASFO4AV.js +0 -92
- package/dist/chunks/chunk-HCGTMLND.js +0 -144
- package/dist/chunks/chunk-HFBDMBLL.js +0 -73
- package/dist/chunks/chunk-HFOZVQI5.js +0 -97
- package/dist/chunks/chunk-HGN7BFAH.js +0 -99
- package/dist/chunks/chunk-HH4FCRMK.js +0 -79
- package/dist/chunks/chunk-HHEVIBXH.js +0 -266
- package/dist/chunks/chunk-HKLRQJZG.js +0 -85
- package/dist/chunks/chunk-HNSIM3ZI.js +0 -45
- package/dist/chunks/chunk-HNXHUXW4.js +0 -176
- package/dist/chunks/chunk-HOHQLFVP.js +0 -106
- package/dist/chunks/chunk-HP7GXMD5.js +0 -63
- package/dist/chunks/chunk-HPN4EOPF.js +0 -80
- package/dist/chunks/chunk-HQFCHINA.js +0 -23
- package/dist/chunks/chunk-HQUWHYZ4.js +0 -113
- package/dist/chunks/chunk-HRNNQA2M.js +0 -159
- package/dist/chunks/chunk-HTSI5OCD.js +0 -89
- package/dist/chunks/chunk-HUCUBWB5.js +0 -45
- package/dist/chunks/chunk-HVO2CLKU.js +0 -224
- package/dist/chunks/chunk-HW2YJSZE.js +0 -30
- package/dist/chunks/chunk-HWFLDKO6.js +0 -54
- package/dist/chunks/chunk-HXEJXBFU.js +0 -198
- package/dist/chunks/chunk-HZ7WQ3NT.js +0 -155
- package/dist/chunks/chunk-HZWZDRFE.js +0 -86
- package/dist/chunks/chunk-I235BG2Y.js +0 -77
- package/dist/chunks/chunk-I3LCAEMF.js +0 -139
- package/dist/chunks/chunk-I65VNWAA.js +0 -39
- package/dist/chunks/chunk-I6ZVGGEU.js +0 -191
- package/dist/chunks/chunk-I7TNXMFI.js +0 -62
- package/dist/chunks/chunk-I7XEPKV6.js +0 -33
- package/dist/chunks/chunk-IBLTKSLM.js +0 -30
- package/dist/chunks/chunk-ICOSLTTT.js +0 -149
- package/dist/chunks/chunk-ICSQ27FK.js +0 -154
- package/dist/chunks/chunk-IE4QYA2P.js +0 -848
- package/dist/chunks/chunk-IFERMYSH.js +0 -23
- package/dist/chunks/chunk-IFI4EKT2.js +0 -304
- package/dist/chunks/chunk-IIZQW3MK.js +0 -214
- package/dist/chunks/chunk-ILCG7SVE.js +0 -74
- package/dist/chunks/chunk-IO5H2QNX.js +0 -210
- package/dist/chunks/chunk-IQ5562DC.js +0 -102
- package/dist/chunks/chunk-IQ74IY22.js +0 -105
- package/dist/chunks/chunk-IQH3SDBQ.js +0 -66
- package/dist/chunks/chunk-IRUI55KL.js +0 -180
- package/dist/chunks/chunk-ITYEIWQA.js +0 -133
- package/dist/chunks/chunk-IUQBFAFZ.js +0 -100
- package/dist/chunks/chunk-IUSRL6KN.js +0 -276
- package/dist/chunks/chunk-IWIDO62I.js +0 -91
- package/dist/chunks/chunk-IWLP6HLX.js +0 -312
- package/dist/chunks/chunk-IX7S5TYR.js +0 -199
- package/dist/chunks/chunk-J47B3TOF.js +0 -95
- package/dist/chunks/chunk-J6CPQE65.js +0 -181
- package/dist/chunks/chunk-J7AD65WM.js +0 -258
- package/dist/chunks/chunk-J7TVHDFH.js +0 -169
- package/dist/chunks/chunk-JALF2HB6.js +0 -1309
- package/dist/chunks/chunk-JAYL2CDE.js +0 -193
- package/dist/chunks/chunk-JC32ZGA3.js +0 -117
- package/dist/chunks/chunk-JCKJ2VA3.js +0 -156
- package/dist/chunks/chunk-JFVFPYDM.js +0 -153
- package/dist/chunks/chunk-JJGHJPDG.js +0 -83
- package/dist/chunks/chunk-JKJM4YWI.js +0 -47
- package/dist/chunks/chunk-JLR4VIZR.js +0 -23
- package/dist/chunks/chunk-JM7GPEVA.js +0 -42
- package/dist/chunks/chunk-JP4AVA6V.js +0 -87
- package/dist/chunks/chunk-JPPFX73K.js +0 -66
- package/dist/chunks/chunk-JRA3NR3O.js +0 -156
- package/dist/chunks/chunk-JROOJJKI.js +0 -290
- package/dist/chunks/chunk-JSFRELJM.js +0 -195
- package/dist/chunks/chunk-JV32Z3O6.js +0 -261
- package/dist/chunks/chunk-JVDVSHC4.js +0 -93
- package/dist/chunks/chunk-JVMTB34G.js +0 -23
- package/dist/chunks/chunk-JW3QESLW.js +0 -23
- package/dist/chunks/chunk-JWJXYLAO.js +0 -85
- package/dist/chunks/chunk-JWVR2ENG.js +0 -146
- package/dist/chunks/chunk-JZWRNDN3.js +0 -163
- package/dist/chunks/chunk-K256KDZR.js +0 -81
- package/dist/chunks/chunk-K47ZLTWU.js +0 -85
- package/dist/chunks/chunk-K5D6V26P.js +0 -150
- package/dist/chunks/chunk-K7BL7HYE.js +0 -101
- package/dist/chunks/chunk-K7IU4C3L.js +0 -60
- package/dist/chunks/chunk-KALLICLA.js +0 -23
- package/dist/chunks/chunk-KAPR37X3.js +0 -121
- package/dist/chunks/chunk-KB4HZY5J.js +0 -139
- package/dist/chunks/chunk-KBN3WON2.js +0 -41
- package/dist/chunks/chunk-KCQKXKRH.js +0 -70
- package/dist/chunks/chunk-KCUEDG74.js +0 -74
- package/dist/chunks/chunk-KDLFRCNM.js +0 -92
- package/dist/chunks/chunk-KFQMFIK7.js +0 -33
- package/dist/chunks/chunk-KGGMNSOQ.js +0 -107
- package/dist/chunks/chunk-KGLKPAQJ.js +0 -111
- package/dist/chunks/chunk-KHYJ6VBK.js +0 -96
- package/dist/chunks/chunk-KKCEOGOU.js +0 -559
- package/dist/chunks/chunk-KLZ5ANNR.js +0 -143
- package/dist/chunks/chunk-KNJX2DKW.js +0 -44
- package/dist/chunks/chunk-KNZBC77A.js +0 -100
- package/dist/chunks/chunk-KPCIQROU.js +0 -93
- package/dist/chunks/chunk-KPGWERVG.js +0 -23
- package/dist/chunks/chunk-KQPSREFX.js +0 -33
- package/dist/chunks/chunk-KS5CW6OV.js +0 -422
- package/dist/chunks/chunk-KSFMBMCL.js +0 -79
- package/dist/chunks/chunk-KSH7TLY5.js +0 -270
- package/dist/chunks/chunk-KUEURX6J.js +0 -128
- package/dist/chunks/chunk-KVDFKMKA.js +0 -685
- package/dist/chunks/chunk-KWYE2JZM.js +0 -36
- package/dist/chunks/chunk-KX3EQNHD.js +0 -331
- package/dist/chunks/chunk-KXJGE4OO.js +0 -92
- package/dist/chunks/chunk-KZ3RR4BG.js +0 -196
- package/dist/chunks/chunk-KZJFBCDR.js +0 -172
- package/dist/chunks/chunk-L2XSWVGX.js +0 -149
- package/dist/chunks/chunk-L3O4SFYP.js +0 -334
- package/dist/chunks/chunk-L4YCEEHU.js +0 -107
- package/dist/chunks/chunk-L5UOCTLA.js +0 -23
- package/dist/chunks/chunk-L7T35GA3.js +0 -146
- package/dist/chunks/chunk-LBQPLZIV.js +0 -77
- package/dist/chunks/chunk-LD2LMEBC.js +0 -279
- package/dist/chunks/chunk-LD2NJHI6.js +0 -151
- package/dist/chunks/chunk-LDOH5AH3.js +0 -151
- package/dist/chunks/chunk-LF4U3RSY.js +0 -23
- package/dist/chunks/chunk-LGHZF7KF.js +0 -368
- package/dist/chunks/chunk-LH4HB44D.js +0 -45
- package/dist/chunks/chunk-LIZE4A6Y.js +0 -120
- package/dist/chunks/chunk-LK5EF2GV.js +0 -97
- package/dist/chunks/chunk-LKKECKBE.js +0 -252
- package/dist/chunks/chunk-LL6FUGXR.js +0 -1307
- package/dist/chunks/chunk-LO6APKYY.js +0 -79
- package/dist/chunks/chunk-LPLCNB3K.js +0 -48
- package/dist/chunks/chunk-LQY5L6BY.js +0 -36
- package/dist/chunks/chunk-LRE6BP35.js +0 -61
- package/dist/chunks/chunk-LRTAPXXA.js +0 -97
- package/dist/chunks/chunk-LSPX7TNM.js +0 -48
- package/dist/chunks/chunk-LTG46B4G.js +0 -166
- package/dist/chunks/chunk-LUHMDGL6.js +0 -77
- package/dist/chunks/chunk-LULYWIOA.js +0 -41
- package/dist/chunks/chunk-LVURHSP7.js +0 -111
- package/dist/chunks/chunk-LWTSXSJ3.js +0 -176
- package/dist/chunks/chunk-LXP2D7CA.js +0 -224
- package/dist/chunks/chunk-LXRPLSRJ.js +0 -33
- package/dist/chunks/chunk-LYQ2IV4W.js +0 -184
- package/dist/chunks/chunk-M22KU3ZF.js +0 -79
- package/dist/chunks/chunk-M2DMD7J2.js +0 -55
- package/dist/chunks/chunk-MAVOP7BR.js +0 -1393
- package/dist/chunks/chunk-MB7QV3S6.js +0 -226
- package/dist/chunks/chunk-MBORBNFW.js +0 -157
- package/dist/chunks/chunk-MBSCUH7L.js +0 -131
- package/dist/chunks/chunk-MCZUCVKX.js +0 -160
- package/dist/chunks/chunk-MGQMH7VC.js +0 -98
- package/dist/chunks/chunk-MKCPA7KX.js +0 -1469
- package/dist/chunks/chunk-MLRT7JJH.js +0 -133
- package/dist/chunks/chunk-MN2DEX7T.js +0 -130
- package/dist/chunks/chunk-MOOBNQNC.js +0 -150
- package/dist/chunks/chunk-MOSFIK3G.js +0 -1136
- package/dist/chunks/chunk-MQ6VKN7E.js +0 -23
- package/dist/chunks/chunk-MQQDYTNL.js +0 -303
- package/dist/chunks/chunk-MT2UVIWY.js +0 -136
- package/dist/chunks/chunk-MVZPHOQJ.js +0 -124
- package/dist/chunks/chunk-MWN7U25E.js +0 -104
- package/dist/chunks/chunk-MX2O2WQO.js +0 -23
- package/dist/chunks/chunk-MX5USRYA.js +0 -94
- package/dist/chunks/chunk-MYWMQKCM.js +0 -83
- package/dist/chunks/chunk-MZVLPRJI.js +0 -181
- package/dist/chunks/chunk-MZYZLMYW.js +0 -150
- package/dist/chunks/chunk-N3NSL7RL.js +0 -512
- package/dist/chunks/chunk-N4VOVUIO.js +0 -129
- package/dist/chunks/chunk-N52THCKE.js +0 -209
- package/dist/chunks/chunk-N5W7TP7G.js +0 -122
- package/dist/chunks/chunk-N7YEDUCG.js +0 -83
- package/dist/chunks/chunk-NCR76XK7.js +0 -86
- package/dist/chunks/chunk-NEI2DK3F.js +0 -122
- package/dist/chunks/chunk-NFHEFVDH.js +0 -122
- package/dist/chunks/chunk-NH2BXCQC.js +0 -90
- package/dist/chunks/chunk-NIZ2XIJR.js +0 -197
- package/dist/chunks/chunk-NJGM46N6.js +0 -170
- package/dist/chunks/chunk-NK2QYBQN.js +0 -194
- package/dist/chunks/chunk-NKOY3RUR.js +0 -191
- package/dist/chunks/chunk-NMEPZLVP.js +0 -47
- package/dist/chunks/chunk-NO2NAGMK.js +0 -209
- package/dist/chunks/chunk-NOFDCJJO.js +0 -337
- package/dist/chunks/chunk-NTVCHQOC.js +0 -293
- package/dist/chunks/chunk-NUN36SFJ.js +0 -1834
- package/dist/chunks/chunk-NVRA6J7C.js +0 -174
- package/dist/chunks/chunk-NVSCPDTD.js +0 -151
- package/dist/chunks/chunk-NX5F3UG7.js +0 -36
- package/dist/chunks/chunk-O3645Y3R.js +0 -88
- package/dist/chunks/chunk-O3KKTSMP.js +0 -178
- package/dist/chunks/chunk-O3KYW23W.js +0 -70
- package/dist/chunks/chunk-O3TZQ7RP.js +0 -119
- package/dist/chunks/chunk-O5EHLUV7.js +0 -122
- package/dist/chunks/chunk-OBEZO3KR.js +0 -55
- package/dist/chunks/chunk-OCZ6KE5C.js +0 -272
- package/dist/chunks/chunk-OEJNOVWX.js +0 -90
- package/dist/chunks/chunk-OENSTQVK.js +0 -23
- package/dist/chunks/chunk-OF32O4KG.js +0 -45
- package/dist/chunks/chunk-OGI4CBVH.js +0 -150
- package/dist/chunks/chunk-OGWLIR3U.js +0 -80
- package/dist/chunks/chunk-OGWYVANH.js +0 -102
- package/dist/chunks/chunk-OII55UKI.js +0 -226
- package/dist/chunks/chunk-OIU3UN3R.js +0 -104
- package/dist/chunks/chunk-OJJAE7BH.js +0 -98
- package/dist/chunks/chunk-OJNXWYCJ.js +0 -94
- package/dist/chunks/chunk-OJYMDMLY.js +0 -109
- package/dist/chunks/chunk-OKCREPZO.js +0 -179
- package/dist/chunks/chunk-OLG4NXUL.js +0 -155
- package/dist/chunks/chunk-OOADUHA4.js +0 -225
- package/dist/chunks/chunk-OQDIZDTP.js +0 -655
- package/dist/chunks/chunk-OQHXUNQP.js +0 -23
- package/dist/chunks/chunk-ORXCRCAW.js +0 -134
- package/dist/chunks/chunk-OSIV3QKN.js +0 -221
- package/dist/chunks/chunk-OT27PPNK.js +0 -92
- package/dist/chunks/chunk-OU44LR2F.js +0 -42
- package/dist/chunks/chunk-OU4FY5OY.js +0 -257
- package/dist/chunks/chunk-OVWFMMCN.js +0 -136
- package/dist/chunks/chunk-OWO4CC7W.js +0 -320
- package/dist/chunks/chunk-OX5TN2WK.js +0 -164
- package/dist/chunks/chunk-OXMBHTMI.js +0 -93
- package/dist/chunks/chunk-OXQUTBAP.js +0 -78
- package/dist/chunks/chunk-OYSOVYC7.js +0 -889
- package/dist/chunks/chunk-OYVDJGVU.js +0 -589
- package/dist/chunks/chunk-P3KC3MBY.js +0 -149
- package/dist/chunks/chunk-P4PROG2O.js +0 -95
- package/dist/chunks/chunk-P4QCOWSL.js +0 -101
- package/dist/chunks/chunk-P5JHH2TZ.js +0 -94
- package/dist/chunks/chunk-PCG7JS4H.js +0 -23
- package/dist/chunks/chunk-PDQBN3FK.js +0 -103
- package/dist/chunks/chunk-PHCWOHO5.js +0 -287
- package/dist/chunks/chunk-PIUMJL2T.js +0 -125
- package/dist/chunks/chunk-PMQ6LZZP.js +0 -192
- package/dist/chunks/chunk-PNFJKB7J.js +0 -33
- package/dist/chunks/chunk-PNK5JFD2.js +0 -122
- package/dist/chunks/chunk-PPBOR6QN.js +0 -145
- package/dist/chunks/chunk-PSNVRGK3.js +0 -23
- package/dist/chunks/chunk-PSO4LEQJ.js +0 -169
- package/dist/chunks/chunk-PUMNICD5.js +0 -179
- package/dist/chunks/chunk-PVCN5UXN.js +0 -94
- package/dist/chunks/chunk-PVKEEVSE.js +0 -95
- package/dist/chunks/chunk-PW5IIUPA.js +0 -82
- package/dist/chunks/chunk-PZTKJMMA.js +0 -33
- package/dist/chunks/chunk-Q3BHR3JE.js +0 -90
- package/dist/chunks/chunk-Q4MB3XEH.js +0 -231
- package/dist/chunks/chunk-QDKSA73E.js +0 -109
- package/dist/chunks/chunk-QDRLNWV4.js +0 -361
- package/dist/chunks/chunk-QFHK7SXF.js +0 -160
- package/dist/chunks/chunk-QGMNJLHN.js +0 -45
- package/dist/chunks/chunk-QGTR4Q5T.js +0 -65
- package/dist/chunks/chunk-QHJMB64R.js +0 -167
- package/dist/chunks/chunk-QJZ6Q4AN.js +0 -237
- package/dist/chunks/chunk-QKJDNOY5.js +0 -178
- package/dist/chunks/chunk-QLGYTO2J.js +0 -88
- package/dist/chunks/chunk-QMIVI6FX.js +0 -119
- package/dist/chunks/chunk-QMTGZQR2.js +0 -161
- package/dist/chunks/chunk-QMXRX5PA.js +0 -180
- package/dist/chunks/chunk-QNGWZBIA.js +0 -147
- package/dist/chunks/chunk-QNQ5WOXD.js +0 -187
- package/dist/chunks/chunk-QOWKJTJL.js +0 -95
- package/dist/chunks/chunk-QPLOMMMA.js +0 -301
- package/dist/chunks/chunk-QQBKZG4U.js +0 -159
- package/dist/chunks/chunk-QWMTPVAK.js +0 -239
- package/dist/chunks/chunk-QZ43Y2C3.js +0 -108
- package/dist/chunks/chunk-QZ5RSJBP.js +0 -140
- package/dist/chunks/chunk-QZSJTTTL.js +0 -121
- package/dist/chunks/chunk-R26VRQ5K.js +0 -163
- package/dist/chunks/chunk-R3ZKSZEC.js +0 -110
- package/dist/chunks/chunk-R43IQYWX.js +0 -30
- package/dist/chunks/chunk-R62G6PVX.js +0 -128
- package/dist/chunks/chunk-RAW3VIAA.js +0 -189
- package/dist/chunks/chunk-RBSXSQOC.js +0 -152
- package/dist/chunks/chunk-REXO5IA3.js +0 -44
- package/dist/chunks/chunk-RH3QFVUG.js +0 -142
- package/dist/chunks/chunk-RHGA4ZTG.js +0 -120
- package/dist/chunks/chunk-RHUEQEAB.js +0 -97
- package/dist/chunks/chunk-RKN2TBKN.js +0 -122
- package/dist/chunks/chunk-RKP4ORYG.js +0 -33
- package/dist/chunks/chunk-RKQIVE7D.js +0 -145
- package/dist/chunks/chunk-RNCFS36M.js +0 -192
- package/dist/chunks/chunk-RPK2HCAU.js +0 -95
- package/dist/chunks/chunk-RPML6ANX.js +0 -187
- package/dist/chunks/chunk-RRQHIO2L.js +0 -106
- package/dist/chunks/chunk-RS65S54J.js +0 -120
- package/dist/chunks/chunk-RSQR2PPT.js +0 -361
- package/dist/chunks/chunk-RTK7HBLR.js +0 -100
- package/dist/chunks/chunk-RUAU46IK.js +0 -49
- package/dist/chunks/chunk-RVSWU6AR.js +0 -33
- package/dist/chunks/chunk-RW23SLY3.js +0 -1845
- package/dist/chunks/chunk-RWMLOVOC.js +0 -47
- package/dist/chunks/chunk-RX3MTB5T.js +0 -23
- package/dist/chunks/chunk-RZD2UYNQ.js +0 -70
- package/dist/chunks/chunk-S4PDPSAH.js +0 -157
- package/dist/chunks/chunk-S6THITKM.js +0 -146
- package/dist/chunks/chunk-S7W77KFC.js +0 -71
- package/dist/chunks/chunk-SGZJW4E4.js +0 -153
- package/dist/chunks/chunk-SH7M4HGP.js +0 -115
- package/dist/chunks/chunk-SHHJFEBG.js +0 -108
- package/dist/chunks/chunk-SHHYLEBU.js +0 -166
- package/dist/chunks/chunk-SJNGWZIR.js +0 -366
- package/dist/chunks/chunk-SJWHNPI4.js +0 -82
- package/dist/chunks/chunk-SN5ZWWDN.js +0 -118
- package/dist/chunks/chunk-SPIXSUIC.js +0 -118
- package/dist/chunks/chunk-ST7FXDY2.js +0 -36
- package/dist/chunks/chunk-SU2Z5BH3.js +0 -112
- package/dist/chunks/chunk-SWK7F6TT.js +0 -80
- package/dist/chunks/chunk-SX2IYGA4.js +0 -73
- package/dist/chunks/chunk-SXZCNCIR.js +0 -410
- package/dist/chunks/chunk-SZBYVYIB.js +0 -201
- package/dist/chunks/chunk-SZVFDTQJ.js +0 -165
- package/dist/chunks/chunk-T4R3Y4CH.js +0 -161
- package/dist/chunks/chunk-T5JOVCL6.js +0 -78
- package/dist/chunks/chunk-T6IF4UIJ.js +0 -152
- package/dist/chunks/chunk-T6XWJ2RZ.js +0 -45
- package/dist/chunks/chunk-TA5VCADA.js +0 -230
- package/dist/chunks/chunk-TAKQJXGE.js +0 -97
- package/dist/chunks/chunk-TBH64O2A.js +0 -153
- package/dist/chunks/chunk-TBINMUOD.js +0 -105
- package/dist/chunks/chunk-TBQV4FX3.js +0 -234
- package/dist/chunks/chunk-TD6HPWWN.js +0 -23
- package/dist/chunks/chunk-TDA6F3TK.js +0 -212
- package/dist/chunks/chunk-TDBWZARG.js +0 -75
- package/dist/chunks/chunk-TDJS4IJD.js +0 -123
- package/dist/chunks/chunk-TEQ35OXT.js +0 -78
- package/dist/chunks/chunk-TEWUEL6S.js +0 -415
- package/dist/chunks/chunk-THDKLGAW.js +0 -158
- package/dist/chunks/chunk-THHWV7EM.js +0 -65
- package/dist/chunks/chunk-THV7GCMK.js +0 -163
- package/dist/chunks/chunk-THVVDFUM.js +0 -250
- package/dist/chunks/chunk-TKHCSYYH.js +0 -382
- package/dist/chunks/chunk-TMINOQWC.js +0 -177
- package/dist/chunks/chunk-TTBFXIKU.js +0 -92
- package/dist/chunks/chunk-TUOPRWKN.js +0 -152
- package/dist/chunks/chunk-TV6L2CF5.js +0 -91
- package/dist/chunks/chunk-TVRASEFS.js +0 -87
- package/dist/chunks/chunk-TXIQZPXH.js +0 -274
- package/dist/chunks/chunk-TXWKL5SC.js +0 -215
- package/dist/chunks/chunk-TYAKVUUL.js +0 -282
- package/dist/chunks/chunk-TYFUS7OB.js +0 -113
- package/dist/chunks/chunk-U4WZSJKF.js +0 -207
- package/dist/chunks/chunk-U6ZH5J5J.js +0 -147
- package/dist/chunks/chunk-U74WLZ2F.js +0 -101
- package/dist/chunks/chunk-U7DT3T6H.js +0 -248
- package/dist/chunks/chunk-U7Y4WVD5.js +0 -89
- package/dist/chunks/chunk-UCOVS4DT.js +0 -317
- package/dist/chunks/chunk-UCVEN64Q.js +0 -97
- package/dist/chunks/chunk-UEKZLLLH.js +0 -102
- package/dist/chunks/chunk-UHC2NTVT.js +0 -23
- package/dist/chunks/chunk-UJQ6B3FV.js +0 -378
- package/dist/chunks/chunk-UKR2JOIQ.js +0 -104
- package/dist/chunks/chunk-UMMMEHRB.js +0 -206
- package/dist/chunks/chunk-UMNDBPWA.js +0 -214
- package/dist/chunks/chunk-UNS4VVES.js +0 -23
- package/dist/chunks/chunk-UPSWVFSY.js +0 -23
- package/dist/chunks/chunk-UTZFVWV4.js +0 -231
- package/dist/chunks/chunk-UVPJ74YL.js +0 -221
- package/dist/chunks/chunk-UXRRAAKU.js +0 -462
- package/dist/chunks/chunk-UXXUBADB.js +0 -260
- package/dist/chunks/chunk-UYTFYNDU.js +0 -108
- package/dist/chunks/chunk-UYVP644Z.js +0 -163
- package/dist/chunks/chunk-UZR7CDLR.js +0 -338
- package/dist/chunks/chunk-UZZWAOSY.js +0 -91
- package/dist/chunks/chunk-V23O4US5.js +0 -185
- package/dist/chunks/chunk-V27YLG5J.js +0 -23
- package/dist/chunks/chunk-V3ZVAYRP.js +0 -23
- package/dist/chunks/chunk-V42WDFD5.js +0 -84
- package/dist/chunks/chunk-V6OTKUQD.js +0 -250
- package/dist/chunks/chunk-VB2XMI2B.js +0 -81
- package/dist/chunks/chunk-VBAZYASX.js +0 -80
- package/dist/chunks/chunk-VBIT3APV.js +0 -304
- package/dist/chunks/chunk-VBRR5NUY.js +0 -326
- package/dist/chunks/chunk-VBZDZWBB.js +0 -217
- package/dist/chunks/chunk-VCSFQXOX.js +0 -161
- package/dist/chunks/chunk-VD6LEHFW.js +0 -77
- package/dist/chunks/chunk-VDPAWCW2.js +0 -210
- package/dist/chunks/chunk-VEYZM67G.js +0 -135
- package/dist/chunks/chunk-VFJ7WKNC.js +0 -1574
- package/dist/chunks/chunk-VFT4QULV.js +0 -231
- package/dist/chunks/chunk-VGL2HH4E.js +0 -33
- package/dist/chunks/chunk-VGOQQUXW.js +0 -94
- package/dist/chunks/chunk-VGWDYWEW.js +0 -88
- package/dist/chunks/chunk-VHRZIKV2.js +0 -97
- package/dist/chunks/chunk-VHW5GHPL.js +0 -115
- package/dist/chunks/chunk-VIYCQN7F.js +0 -217
- package/dist/chunks/chunk-VJATKHCD.js +0 -105
- package/dist/chunks/chunk-VMRYAFRR.js +0 -127
- package/dist/chunks/chunk-VNGX6NTA.js +0 -182
- package/dist/chunks/chunk-VNUWQ2WI.js +0 -45
- package/dist/chunks/chunk-VPJ52UA4.js +0 -69
- package/dist/chunks/chunk-VPWMP2SF.js +0 -112
- package/dist/chunks/chunk-VQHHBUU6.js +0 -75
- package/dist/chunks/chunk-VS676GID.js +0 -125
- package/dist/chunks/chunk-VSKG3GLG.js +0 -100
- package/dist/chunks/chunk-VSW2J5QS.js +0 -175
- package/dist/chunks/chunk-VU2TX7LO.js +0 -130
- package/dist/chunks/chunk-VUBSMTXJ.js +0 -139
- package/dist/chunks/chunk-VUN3OC32.js +0 -78
- package/dist/chunks/chunk-VZCKVXZ3.js +0 -81
- package/dist/chunks/chunk-W23BM726.js +0 -106
- package/dist/chunks/chunk-W23VYOPH.js +0 -117
- package/dist/chunks/chunk-W2IFYZ6Y.js +0 -52
- package/dist/chunks/chunk-W2XFB3AM.js +0 -102
- package/dist/chunks/chunk-W3DV5ZMS.js +0 -36
- package/dist/chunks/chunk-W3EODMLP.js +0 -277
- package/dist/chunks/chunk-W3Z63YEY.js +0 -204
- package/dist/chunks/chunk-W67D5WL3.js +0 -33
- package/dist/chunks/chunk-W6KLJXE5.js +0 -80
- package/dist/chunks/chunk-W6W5LPDB.js +0 -33
- package/dist/chunks/chunk-W7AV7QI7.js +0 -165
- package/dist/chunks/chunk-WA3B4ET6.js +0 -146
- package/dist/chunks/chunk-WA3GCT5B.js +0 -237
- package/dist/chunks/chunk-WB7JMXBS.js +0 -53
- package/dist/chunks/chunk-WBFUNHEI.js +0 -84
- package/dist/chunks/chunk-WBTVCIG7.js +0 -305
- package/dist/chunks/chunk-WDICQYRM.js +0 -260
- package/dist/chunks/chunk-WF3RIOMX.js +0 -342
- package/dist/chunks/chunk-WH7LOBY5.js +0 -147
- package/dist/chunks/chunk-WIJ3Y76O.js +0 -163
- package/dist/chunks/chunk-WJOAYIP5.js +0 -170
- package/dist/chunks/chunk-WL2IWSCM.js +0 -174
- package/dist/chunks/chunk-WM6NYD4Y.js +0 -23
- package/dist/chunks/chunk-WMOTNYVP.js +0 -351
- package/dist/chunks/chunk-WNEHUIBA.js +0 -33
- package/dist/chunks/chunk-WQTWOI3E.js +0 -652
- package/dist/chunks/chunk-WRXOBHQJ.js +0 -206
- package/dist/chunks/chunk-WS4M4KIF.js +0 -39
- package/dist/chunks/chunk-WSDRTN4W.js +0 -13729
- package/dist/chunks/chunk-WSIJZAZ5.js +0 -215
- package/dist/chunks/chunk-WSSTJ6EA.js +0 -196
- package/dist/chunks/chunk-WT26KVAL.js +0 -38
- package/dist/chunks/chunk-WVPFMNA6.js +0 -181
- package/dist/chunks/chunk-WXQOOIHR.js +0 -109
- package/dist/chunks/chunk-X2EHTRQU.js +0 -1403
- package/dist/chunks/chunk-X3SG5SZL.js +0 -240
- package/dist/chunks/chunk-X4HFSLTU.js +0 -50
- package/dist/chunks/chunk-X7XNAFV3.js +0 -358
- package/dist/chunks/chunk-XAKHPVAA.js +0 -172
- package/dist/chunks/chunk-XE4BNDID.js +0 -282
- package/dist/chunks/chunk-XGIWDMBI.js +0 -235
- package/dist/chunks/chunk-XMFDWT3S.js +0 -122
- package/dist/chunks/chunk-XMK4ZETH.js +0 -194
- package/dist/chunks/chunk-XNDFIFTP.js +0 -174
- package/dist/chunks/chunk-XNNNKCKB.js +0 -162
- package/dist/chunks/chunk-XOEDB3KZ.js +0 -33
- package/dist/chunks/chunk-XOEXOCS5.js +0 -399
- package/dist/chunks/chunk-XQWYFTSF.js +0 -98
- package/dist/chunks/chunk-XRSRN5GF.js +0 -249
- package/dist/chunks/chunk-XSK56WES.js +0 -780
- package/dist/chunks/chunk-XSUWFR6J.js +0 -173
- package/dist/chunks/chunk-XTYRZ42P.js +0 -41
- package/dist/chunks/chunk-XULMSF4D.js +0 -307
- package/dist/chunks/chunk-XUNAXRPO.js +0 -50
- package/dist/chunks/chunk-XUP6QFCU.js +0 -33
- package/dist/chunks/chunk-XVPYBMXF.js +0 -100
- package/dist/chunks/chunk-XX4V47KC.js +0 -95
- package/dist/chunks/chunk-XXDMK5QV.js +0 -626
- package/dist/chunks/chunk-XXRBPM53.js +0 -175
- package/dist/chunks/chunk-XYHCZIAJ.js +0 -145
- package/dist/chunks/chunk-XZPTNWHN.js +0 -199
- package/dist/chunks/chunk-XZTYDNW2.js +0 -123
- package/dist/chunks/chunk-Y3FOUZRH.js +0 -104
- package/dist/chunks/chunk-Y3RZUEJH.js +0 -48
- package/dist/chunks/chunk-Y5MKADWD.js +0 -166
- package/dist/chunks/chunk-Y6OWJM63.js +0 -33
- package/dist/chunks/chunk-YBCMWM2I.js +0 -961
- package/dist/chunks/chunk-YBMDS7RD.js +0 -70
- package/dist/chunks/chunk-YBNAKWDL.js +0 -282
- package/dist/chunks/chunk-YCYIAN4U.js +0 -82
- package/dist/chunks/chunk-YDVSEPBY.js +0 -330
- package/dist/chunks/chunk-YELQOEH7.js +0 -112
- package/dist/chunks/chunk-YKEP7KHF.js +0 -83
- package/dist/chunks/chunk-YL2MU2XU.js +0 -163
- package/dist/chunks/chunk-YLLT5PNG.js +0 -123
- package/dist/chunks/chunk-YNEK7T37.js +0 -298
- package/dist/chunks/chunk-YP2OTLPB.js +0 -307
- package/dist/chunks/chunk-YSBMPYIC.js +0 -255
- package/dist/chunks/chunk-YSL4BGZN.js +0 -138
- package/dist/chunks/chunk-YT2AZWFK.js +0 -33
- package/dist/chunks/chunk-YUXBKQU6.js +0 -194
- package/dist/chunks/chunk-YV64NFOM.js +0 -23
- package/dist/chunks/chunk-YWZFUP2K.js +0 -93
- package/dist/chunks/chunk-YX2FOHHV.js +0 -33
- package/dist/chunks/chunk-YYTEN4JQ.js +0 -173
- package/dist/chunks/chunk-Z2IW5ZIB.js +0 -375
- package/dist/chunks/chunk-Z4NDG6JR.js +0 -55
- package/dist/chunks/chunk-Z55AT36D.js +0 -23
- package/dist/chunks/chunk-Z7CE223A.js +0 -139
- package/dist/chunks/chunk-ZB62QBIP.js +0 -163
- package/dist/chunks/chunk-ZBQMXT34.js +0 -45
- package/dist/chunks/chunk-ZBQQC4XP.js +0 -117
- package/dist/chunks/chunk-ZBTH66LL.js +0 -33
- package/dist/chunks/chunk-ZC5444HF.js +0 -104
- package/dist/chunks/chunk-ZCNTGAMP.js +0 -52
- package/dist/chunks/chunk-ZDFPESWP.js +0 -95
- package/dist/chunks/chunk-ZEEPBJUW.js +0 -161
- package/dist/chunks/chunk-ZEHTZJSX.js +0 -101
- package/dist/chunks/chunk-ZH6HSS7H.js +0 -188
- package/dist/chunks/chunk-ZHGFDO25.js +0 -33
- package/dist/chunks/chunk-ZIY74N2E.js +0 -49
- package/dist/chunks/chunk-ZJ75E3SN.js +0 -176
- package/dist/chunks/chunk-ZKKYBWOE.js +0 -102
- package/dist/chunks/chunk-ZMV3PDIV.js +0 -177
- package/dist/chunks/chunk-ZNHOJ2AI.js +0 -122
- package/dist/chunks/chunk-ZOEOBUVH.js +0 -165
- package/dist/chunks/chunk-ZUDSAO2Y.js +0 -99
- package/dist/chunks/chunk-ZVF4Q7OT.js +0 -23
- package/dist/chunks/chunk-ZXKDRMYH.js +0 -204
- package/dist/chunks/chunk-ZYPXFAHK.js +0 -55
- package/dist/chunks/client-5YHT2LFT.js +0 -168
- package/dist/chunks/client-DKEVJUBO.js +0 -31
- package/dist/chunks/client-X4WV5MUF.js +0 -47
- package/dist/chunks/client-actions-IXHL55EC.js +0 -170
- package/dist/chunks/components-5QFK265X.js +0 -78
- package/dist/chunks/dangerous-K2SPGR2Y.js +0 -124
- package/dist/chunks/delete-current-file-VUJCVLZC.js +0 -163
- package/dist/chunks/editor-seams-T7AHRUWG.js +0 -183
- package/dist/chunks/editor-store-FELQYM2Z.js +0 -148
- package/dist/chunks/export-HJ7D743U.js +0 -67
- package/dist/chunks/export-watermark-PDZ5WGB2.js +0 -157
- package/dist/chunks/eyedropper-WUHURAJV.js +0 -355
- package/dist/chunks/generate-media-5PS3WBKX.js +0 -255
- package/dist/chunks/host-FA73ABKV.js +0 -246
- package/dist/chunks/host-RKIGO4UH.js +0 -184
- package/dist/chunks/integrations-AXQVIGIE.js +0 -125
- package/dist/chunks/libraries-J2I3Q426.js +0 -311
- package/dist/chunks/live-4MA5Q67T.js +0 -322
- package/dist/chunks/lottie-AJJ4NYU4.js +0 -91
- package/dist/chunks/media-tool-OTODQ4YZ.js +0 -237
- package/dist/chunks/new-file-OFQ76B2U.js +0 -140
- package/dist/chunks/next-commerce-LW5SVXCR.js +0 -74
- package/dist/chunks/pdf-ZQCTTGWK.js +0 -1218
- package/dist/chunks/player-check-QABL4BKG.js +0 -119
- package/dist/chunks/plugin-Z53HLVRB.js +0 -131
- package/dist/chunks/plugin-import-SPCL2G2X.js +0 -692
- package/dist/chunks/presence-UQFANQ65.js +0 -137
- package/dist/chunks/project-MXSKNTNS.js +0 -1601
- package/dist/chunks/publish-site-RCPXZPWY.js +0 -167
- package/dist/chunks/publish-store-OAWL33WD.js +0 -100
- package/dist/chunks/raster-actions-KEQBVMDP.js +0 -233
- package/dist/chunks/reference-images-A5FQLE3Y.js +0 -62
- package/dist/chunks/registry-XLH3HYB3.js +0 -45
- package/dist/chunks/resolvers-TGLUTY6W.js +0 -150
- package/dist/chunks/runner-LSNUALXN.js +0 -3546
- package/dist/chunks/store-J7Z2FM3C.js +0 -235
- package/dist/chunks/storefront-PRX55OXX.js +0 -336
- package/dist/chunks/storefront-prepare-LDV2TWWN.js +0 -33
- package/dist/chunks/svg-export-VEVYIEZL.js +0 -84
- package/dist/chunks/sync-MGCVDTZV.js +0 -162
- package/dist/chunks/tabs-75FVDWJL.js +0 -320
- package/dist/chunks/team-ISULSNCM.js +0 -47
- package/dist/chunks/team-client-SVDR5YVA.js +0 -158
- package/dist/chunks/tools-QS6BB4CW.js +0 -37
- package/dist/chunks/tree-HUCRLBOI.js +0 -83
- package/dist/chunks/ui-commands-FC25FUGC.js +0 -191
- package/dist/chunks/versions-XOC7HIXU.js +0 -320
- package/dist/chunks/web-F3DXKSBO.js +0 -186
|
@@ -0,0 +1,1834 @@
|
|
|
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
|
+
strokeBehindFill
|
|
9
|
+
} from "./chunk-44UEFX4Z.js";
|
|
10
|
+
import {
|
|
11
|
+
anchorOf,
|
|
12
|
+
hrefOf,
|
|
13
|
+
maxScaleOf,
|
|
14
|
+
opensNewTab,
|
|
15
|
+
pageScalingOf
|
|
16
|
+
} from "./chunk-EEHWGME6.js";
|
|
17
|
+
import {
|
|
18
|
+
stopsOf
|
|
19
|
+
} from "./chunk-7KVJX66N.js";
|
|
20
|
+
import {
|
|
21
|
+
machineOf,
|
|
22
|
+
machineSpec,
|
|
23
|
+
stateStretch
|
|
24
|
+
} from "./chunk-FZYQFW5T.js";
|
|
25
|
+
import {
|
|
26
|
+
isCommerceAction
|
|
27
|
+
} from "./chunk-BJEUPCOR.js";
|
|
28
|
+
import {
|
|
29
|
+
childrenOf
|
|
30
|
+
} from "./chunk-Y5DRBM5F.js";
|
|
31
|
+
import {
|
|
32
|
+
evaluatePose
|
|
33
|
+
} from "./chunk-MJKZDUX4.js";
|
|
34
|
+
import {
|
|
35
|
+
capability,
|
|
36
|
+
featureName,
|
|
37
|
+
followsVisibility,
|
|
38
|
+
isLive,
|
|
39
|
+
movesItself,
|
|
40
|
+
renderMode
|
|
41
|
+
} from "./chunk-OJ2MLEIA.js";
|
|
42
|
+
import {
|
|
43
|
+
getNativeExtension
|
|
44
|
+
} from "./chunk-XGC2MJQ3.js";
|
|
45
|
+
import {
|
|
46
|
+
screenModules
|
|
47
|
+
} from "./chunk-T57KDVBZ.js";
|
|
48
|
+
import {
|
|
49
|
+
isPixelArt
|
|
50
|
+
} from "./chunk-HLPK64GC.js";
|
|
51
|
+
import {
|
|
52
|
+
breakpointsOf
|
|
53
|
+
} from "./chunk-UNLBBM3F.js";
|
|
54
|
+
import {
|
|
55
|
+
resolveTextNodeStyles
|
|
56
|
+
} from "./chunk-FM6YGPXM.js";
|
|
57
|
+
import {
|
|
58
|
+
ITEM_RECORD,
|
|
59
|
+
exprData,
|
|
60
|
+
hasItemToken,
|
|
61
|
+
itemMark,
|
|
62
|
+
itemMarks,
|
|
63
|
+
itemNode,
|
|
64
|
+
itemScope,
|
|
65
|
+
itemText,
|
|
66
|
+
pinnedRecord,
|
|
67
|
+
recordSlugs,
|
|
68
|
+
repeatRecords,
|
|
69
|
+
templateRecord,
|
|
70
|
+
withData
|
|
71
|
+
} from "./chunk-D3OJDBJY.js";
|
|
72
|
+
import {
|
|
73
|
+
fieldKey
|
|
74
|
+
} from "./chunk-QUOR4SUK.js";
|
|
75
|
+
import {
|
|
76
|
+
colorToHex8
|
|
77
|
+
} from "./chunk-J65G3EI7.js";
|
|
78
|
+
import {
|
|
79
|
+
frameRunsOn,
|
|
80
|
+
frameTimeline,
|
|
81
|
+
hasFrameMotion,
|
|
82
|
+
instancePoseAt,
|
|
83
|
+
isMotionComponent,
|
|
84
|
+
playbackOf,
|
|
85
|
+
timelineDuration
|
|
86
|
+
} from "./chunk-TUUV4LPG.js";
|
|
87
|
+
import {
|
|
88
|
+
init_scene_graph,
|
|
89
|
+
resolveVirtualNode
|
|
90
|
+
} from "./chunk-XLDMTJQY.js";
|
|
91
|
+
import {
|
|
92
|
+
init_instance_layout,
|
|
93
|
+
withInstanceBox
|
|
94
|
+
} from "./chunk-AJCJBDGI.js";
|
|
95
|
+
import {
|
|
96
|
+
init_expressions2 as init_expressions,
|
|
97
|
+
init_variables,
|
|
98
|
+
resolveNodeVariables,
|
|
99
|
+
variablesScope
|
|
100
|
+
} from "./chunk-X6UBPW5N.js";
|
|
101
|
+
import {
|
|
102
|
+
blursOf,
|
|
103
|
+
init_effects,
|
|
104
|
+
shadowsOf
|
|
105
|
+
} from "./chunk-NZKUQ5FE.js";
|
|
106
|
+
import {
|
|
107
|
+
init_scene3d,
|
|
108
|
+
is3DContext,
|
|
109
|
+
passesThrough,
|
|
110
|
+
scene3dOf
|
|
111
|
+
} from "./chunk-VW2FNPYI.js";
|
|
112
|
+
import {
|
|
113
|
+
has3DPlacement,
|
|
114
|
+
init_transform3d,
|
|
115
|
+
zoomPx
|
|
116
|
+
} from "./chunk-P4XICREO.js";
|
|
117
|
+
import {
|
|
118
|
+
init_transform,
|
|
119
|
+
restValue
|
|
120
|
+
} from "./chunk-ZPBARJPC.js";
|
|
121
|
+
import {
|
|
122
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
123
|
+
} from "./chunk-MFWXJURX.js";
|
|
124
|
+
|
|
125
|
+
// lib/io/web/tree.ts
|
|
126
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
127
|
+
init_instance_layout();
|
|
128
|
+
init_variables();
|
|
129
|
+
init_scene3d();
|
|
130
|
+
|
|
131
|
+
// lib/code/props.ts
|
|
132
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
133
|
+
function propName(key) {
|
|
134
|
+
const words = key.split("#")[0].trim().split(/[^A-Za-z0-9]+/).filter(Boolean);
|
|
135
|
+
const name = words.map((w, i) => i === 0 ? w.charAt(0).toLowerCase() + w.slice(1) : w.charAt(0).toUpperCase() + w.slice(1)).join("");
|
|
136
|
+
return /^[A-Za-z_$]/.test(name) ? name : `p${name}`;
|
|
137
|
+
}
|
|
138
|
+
function componentOf(nodes, node) {
|
|
139
|
+
const c = node.type === "COMPONENT" ? node : node.type === "INSTANCE" ? nodes[node.mainComponentId] : void 0;
|
|
140
|
+
return c?.type === "COMPONENT" ? c : void 0;
|
|
141
|
+
}
|
|
142
|
+
function codeOf(nodes, node) {
|
|
143
|
+
if (node.type !== "COMPONENT" && node.type !== "INSTANCE") return null;
|
|
144
|
+
return componentOf(nodes, node)?.code ?? null;
|
|
145
|
+
}
|
|
146
|
+
var value = (v) => typeof v === "string" || typeof v === "number" || typeof v === "boolean" ? v : v && typeof v === "object" && "r" in v ? colorToHex8(v) : void 0;
|
|
147
|
+
function codeProps(nodes, node) {
|
|
148
|
+
const component = componentOf(nodes, node);
|
|
149
|
+
const out = {};
|
|
150
|
+
if (!component) return out;
|
|
151
|
+
const set = component.parentId ? nodes[component.parentId] : void 0;
|
|
152
|
+
const defs = (set?.type === "COMPONENT_SET" ? set.componentPropertyDefinitions : component.componentPropertyDefinitions) ?? {};
|
|
153
|
+
const given = node.type === "INSTANCE" ? node.componentProperties ?? {} : {};
|
|
154
|
+
for (const key of Object.keys(defs).sort()) {
|
|
155
|
+
const v = value(key in given ? given[key] : defs[key].defaultValue);
|
|
156
|
+
if (v !== void 0) out[propName(key)] = v;
|
|
157
|
+
}
|
|
158
|
+
out.width = Math.round(node.width);
|
|
159
|
+
out.height = Math.round(node.height);
|
|
160
|
+
return out;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// lib/document/controls.ts
|
|
164
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
165
|
+
function fieldPart(nodes, id) {
|
|
166
|
+
const n = nodes[id];
|
|
167
|
+
if (!n) return null;
|
|
168
|
+
if (n.type === "TEXT") return id;
|
|
169
|
+
for (const c of n.childIds ?? []) {
|
|
170
|
+
const hit = fieldPart(nodes, c);
|
|
171
|
+
if (hit) return hit;
|
|
172
|
+
}
|
|
173
|
+
return null;
|
|
174
|
+
}
|
|
175
|
+
var cleanName = (raw) => raw.trim().replace(/[^A-Za-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
176
|
+
|
|
177
|
+
// lib/io/web/tree.ts
|
|
178
|
+
init_expressions();
|
|
179
|
+
|
|
180
|
+
// lib/io/web/css.ts
|
|
181
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
182
|
+
init_effects();
|
|
183
|
+
|
|
184
|
+
// lib/io/web/paint.ts
|
|
185
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
186
|
+
var hex2 = (v) => Math.round(v * 255).toString(16).padStart(2, "0");
|
|
187
|
+
var toHex = (c) => `#${hex2(c.r)}${hex2(c.g)}${hex2(c.b)}`.toUpperCase();
|
|
188
|
+
function toRgba(c, a) {
|
|
189
|
+
const alpha = a !== void 0 ? a : c.a;
|
|
190
|
+
const [r, g, b] = [c.r, c.g, c.b].map((v) => Math.round(v * 255));
|
|
191
|
+
return alpha < 1 ? `rgba(${r}, ${g}, ${b}, ${Math.round(alpha * 100) / 100})` : `rgb(${r}, ${g}, ${b})`;
|
|
192
|
+
}
|
|
193
|
+
function gradientAngleDeg(paint) {
|
|
194
|
+
const h = paint.gradientHandlePositions;
|
|
195
|
+
const p0 = h?.[0] ?? { x: 0, y: 0.5 };
|
|
196
|
+
const p1 = h?.[1] ?? { x: 1, y: 0.5 };
|
|
197
|
+
return Math.round(Math.atan2(p1.x - p0.x, -(p1.y - p0.y)) * 180 / Math.PI);
|
|
198
|
+
}
|
|
199
|
+
var gradientStopsCSS = (paint) => (paint.gradientStops ?? []).map((s) => `${toRgba(s.color)} ${Math.round((s.position ?? 0) * 100)}%`).join(", ");
|
|
200
|
+
var IMAGE_FIT = {
|
|
201
|
+
FILL: "center / cover no-repeat",
|
|
202
|
+
CROP: "center / cover no-repeat",
|
|
203
|
+
FIT: "center / contain no-repeat",
|
|
204
|
+
TILE: "top left / auto repeat"
|
|
205
|
+
};
|
|
206
|
+
function paintToBackground(paint, opts = {}) {
|
|
207
|
+
if (paint.type === "SOLID" && paint.color) {
|
|
208
|
+
const alpha = (paint.opacity ?? 1) * paint.color.a;
|
|
209
|
+
return alpha < 1 ? toRgba(paint.color, alpha) : toHex(paint.color);
|
|
210
|
+
}
|
|
211
|
+
if (paint.type === "GRADIENT_LINEAR") return `linear-gradient(${gradientAngleDeg(paint)}deg, ${gradientStopsCSS(paint)})`;
|
|
212
|
+
if (paint.type === "GRADIENT_RADIAL") return `radial-gradient(circle, ${gradientStopsCSS(paint)})`;
|
|
213
|
+
if (paint.type === "GRADIENT_ANGULAR") return `conic-gradient(${gradientStopsCSS(paint)})`;
|
|
214
|
+
if (paint.type === "GRADIENT_DIAMOND") return `radial-gradient(closest-side, ${gradientStopsCSS(paint)})`;
|
|
215
|
+
if (paint.type === "IMAGE") {
|
|
216
|
+
const src = paint.imageUrl || paint.imageHash;
|
|
217
|
+
if (!src) return null;
|
|
218
|
+
return `url('${opts.fullImageUrl || src.length <= 64 ? src : src.slice(0, 64)}') ${IMAGE_FIT[paint.scaleMode ?? "FILL"]}`;
|
|
219
|
+
}
|
|
220
|
+
return null;
|
|
221
|
+
}
|
|
222
|
+
var swiftColor = (c) => {
|
|
223
|
+
const n = (v) => Math.round(v * 1e3) / 1e3;
|
|
224
|
+
return `Color(red: ${n(c.r)}, green: ${n(c.g)}, blue: ${n(c.b)}${(c.a ?? 1) < 1 ? `, opacity: ${Math.round((c.a ?? 1) * 100) / 100}` : ""})`;
|
|
225
|
+
};
|
|
226
|
+
var composeColor = (c) => `Color(0x${[c.a ?? 1, c.r, c.g, c.b].map((v) => Math.round(v * 255).toString(16).padStart(2, "0")).join("").toUpperCase()})`;
|
|
227
|
+
function parseCssColor(css) {
|
|
228
|
+
if (!css) return null;
|
|
229
|
+
const hex = /^#([0-9a-f]{6})$/i.exec(css.trim());
|
|
230
|
+
if (hex) {
|
|
231
|
+
const n = parseInt(hex[1], 16);
|
|
232
|
+
return { r: (n >> 16 & 255) / 255, g: (n >> 8 & 255) / 255, b: (n & 255) / 255, a: 1 };
|
|
233
|
+
}
|
|
234
|
+
const rgb = /^rgba?\(([^)]+)\)$/i.exec(css.trim());
|
|
235
|
+
if (!rgb) return null;
|
|
236
|
+
const parts = rgb[1].split(",").map((v) => Number(v.trim()));
|
|
237
|
+
if (parts.length < 3 || parts.some((v) => Number.isNaN(v))) return null;
|
|
238
|
+
return { r: parts[0] / 255, g: parts[1] / 255, b: parts[2] / 255, a: parts[3] ?? 1 };
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// lib/io/web/css.ts
|
|
242
|
+
init_scene3d();
|
|
243
|
+
init_transform3d();
|
|
244
|
+
init_transform();
|
|
245
|
+
function stylePaints(styleId, styles) {
|
|
246
|
+
const s = styleId ? styles?.[styleId] : void 0;
|
|
247
|
+
return s?.type === "PAINT" ? s.paints ?? [] : null;
|
|
248
|
+
}
|
|
249
|
+
var visibleFills = (node, styles) => (stylePaints(node.fillStyleId, styles) ?? node.fills ?? []).filter((f) => f.visible !== false);
|
|
250
|
+
var round = (v) => Math.round(v * 100) / 100;
|
|
251
|
+
function transformParts(node, dx = 0, dy = 0) {
|
|
252
|
+
return [
|
|
253
|
+
dx + restValue(node, "translateX"),
|
|
254
|
+
dy + restValue(node, "translateY"),
|
|
255
|
+
restValue(node, "z"),
|
|
256
|
+
node.rotation || 0,
|
|
257
|
+
restValue(node, "rotateY"),
|
|
258
|
+
restValue(node, "rotateX"),
|
|
259
|
+
restValue(node, "scaleX") * (node.flipHorizontal ? -1 : 1),
|
|
260
|
+
restValue(node, "scaleY") * (node.flipVertical ? -1 : 1)
|
|
261
|
+
];
|
|
262
|
+
}
|
|
263
|
+
function transformFromParts(p, orbit) {
|
|
264
|
+
const [tx, ty, z, r, ry0, rx0, sx, sy] = p;
|
|
265
|
+
const ry = ry0 + (orbit?.rotateY ?? 0), rx = rx0 + (orbit?.rotateX ?? 0);
|
|
266
|
+
const parts = [];
|
|
267
|
+
if (tx || ty || z) parts.push(z ? `translate3d(${round(tx)}px, ${round(ty)}px, ${round(z)}px)` : `translate(${round(tx)}px, ${round(ty)}px)`);
|
|
268
|
+
if (r) parts.push(`rotate(${round(r)}deg)`);
|
|
269
|
+
if (ry) parts.push(`rotateY(${round(ry)}deg)`);
|
|
270
|
+
if (rx) parts.push(`rotateX(${round(rx)}deg)`);
|
|
271
|
+
if (sx !== 1 || sy !== 1) parts.push(`scale(${round(sx)}, ${round(sy)})`);
|
|
272
|
+
return parts.length ? parts.join(" ") : void 0;
|
|
273
|
+
}
|
|
274
|
+
var transformCss = (node) => transformFromParts(transformParts(node));
|
|
275
|
+
function styleMapFor(node, styles, opts = {}) {
|
|
276
|
+
const scene = node;
|
|
277
|
+
const out = {};
|
|
278
|
+
out.width = `${Math.round(node.width)}px`;
|
|
279
|
+
out.height = `${Math.round(node.height)}px`;
|
|
280
|
+
const transform = transformCss(node);
|
|
281
|
+
if (transform) out.transform = transform;
|
|
282
|
+
const ax = restValue(node, "anchorX"), ay = restValue(node, "anchorY");
|
|
283
|
+
if (transform && (ax !== 0.5 || ay !== 0.5)) out["transform-origin"] = `${round(ax * 100)}% ${round(ay * 100)}%`;
|
|
284
|
+
const scene3d = scene3dOf(node);
|
|
285
|
+
if (scene3d) {
|
|
286
|
+
out.perspective = `${round(zoomPx(scene3d.camera.focalLength, node.width))}px`;
|
|
287
|
+
out["perspective-origin"] = `${round((scene3d.originX ?? 0.5) * 100)}% ${round((scene3d.originY ?? 0.5) * 100)}%`;
|
|
288
|
+
out["transform-style"] = "preserve-3d";
|
|
289
|
+
} else if (has3DPlacement(node) && passesThrough(node)) out["transform-style"] = "preserve-3d";
|
|
290
|
+
if ((node.opacity ?? 1) !== 1) out.opacity = String(round(node.opacity ?? 1));
|
|
291
|
+
const bm = node.blendMode;
|
|
292
|
+
if (bm && bm !== "NORMAL" && bm !== "PASS_THROUGH") out["mix-blend-mode"] = bm.toLowerCase().replace(/_/g, "-");
|
|
293
|
+
const fills = visibleFills(node, styles);
|
|
294
|
+
const own = node.type === "IMAGE" && node.imageUrl ? [{ type: "IMAGE", imageUrl: node.imageUrl, scaleMode: node.scaleMode, visible: true }] : [];
|
|
295
|
+
const painted = [...fills, ...own];
|
|
296
|
+
if (node.type !== "TEXT" && painted.length) {
|
|
297
|
+
const layers = painted.map((f) => paintToBackground(f, opts)).filter((l) => !!l);
|
|
298
|
+
const over = (l) => /^(#|rgb)/.test(l) ? `linear-gradient(${l}, ${l})` : l;
|
|
299
|
+
if (layers.length) out.background = layers.map((l, i) => i === layers.length - 1 ? l : over(l)).join(", ");
|
|
300
|
+
}
|
|
301
|
+
const cr = scene.cornerRadius;
|
|
302
|
+
if (typeof cr === "number" && cr > 0) out["border-radius"] = `${cr}px`;
|
|
303
|
+
else if (Array.isArray(cr) && cr.some((r) => r > 0)) out["border-radius"] = cr.map((r) => `${r}px`).join(" ");
|
|
304
|
+
if (node.type === "ELLIPSE") out["border-radius"] = "50%";
|
|
305
|
+
const stroke = scene.strokes?.find((st) => st.visible !== false);
|
|
306
|
+
if (stroke && node.type === "TEXT") {
|
|
307
|
+
const w = Array.isArray(stroke.width) ? Math.max(...stroke.width) : stroke.width;
|
|
308
|
+
const behind = strokeBehindFill(node) || stroke.alignment === "OUTSIDE";
|
|
309
|
+
if (w > 0 && !(stroke.alignment === "INSIDE" && behind)) {
|
|
310
|
+
out["-webkit-text-stroke"] = `${stroke.alignment === "OUTSIDE" ? w * 2 : w}px ${toRgba({ ...stroke.color, a: (stroke.color.a ?? 1) * (stroke.opacity ?? 1) })}`;
|
|
311
|
+
out["paint-order"] = behind ? "stroke fill" : "normal";
|
|
312
|
+
}
|
|
313
|
+
} else if (stroke) {
|
|
314
|
+
const color = toHex(stroke.color);
|
|
315
|
+
if (Array.isArray(stroke.width)) {
|
|
316
|
+
out["border-style"] = "solid";
|
|
317
|
+
out["border-color"] = color;
|
|
318
|
+
out["border-width"] = stroke.width.map((w) => `${w}px`).join(" ");
|
|
319
|
+
} else if (stroke.alignment === "OUTSIDE") {
|
|
320
|
+
out.outline = `${stroke.width}px solid ${color}`;
|
|
321
|
+
} else {
|
|
322
|
+
out.border = `${stroke.width}px ${stroke.dashPattern?.length ? "dashed" : "solid"} ${color}`;
|
|
323
|
+
if (stroke.alignment === "INSIDE") out["box-sizing"] = "border-box";
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
const shadows = shadowsOf(node, styles).filter((s) => s.visible);
|
|
327
|
+
if (node.type === "TEXT") {
|
|
328
|
+
const drops = shadows.filter((s) => s.type === "DROP_SHADOW");
|
|
329
|
+
if (drops.length) out["text-shadow"] = drops.flatMap(textShadowCss).join(", ");
|
|
330
|
+
} else if (shadows.length) {
|
|
331
|
+
out["box-shadow"] = shadows.map((s) => `${s.type === "INNER_SHADOW" ? "inset " : ""}${s.offset.x}px ${s.offset.y}px ${s.blur}px ${s.spread}px ${toRgba(s.color)}`).join(", ");
|
|
332
|
+
}
|
|
333
|
+
const blurs = blursOf(node, styles);
|
|
334
|
+
const layer = blurs.find((b) => b.type === "LAYER");
|
|
335
|
+
const backdrop = blurs.find((b) => b.type === "BACKGROUND");
|
|
336
|
+
if (layer) out.filter = `blur(${layer.radius}px)`;
|
|
337
|
+
if (backdrop) out["backdrop-filter"] = `blur(${backdrop.radius}px)`;
|
|
338
|
+
if (node.type === "FRAME" || node.type === "COMPONENT" || node.type === "INSTANCE") {
|
|
339
|
+
const f = node;
|
|
340
|
+
Object.assign(out, flexDeclarations(f));
|
|
341
|
+
if (f.clipsContent) out.overflow = "hidden";
|
|
342
|
+
}
|
|
343
|
+
if (node.type === "TEXT") {
|
|
344
|
+
const t = node;
|
|
345
|
+
const tFills = visibleFills(t, styles);
|
|
346
|
+
out.margin = "0";
|
|
347
|
+
if (t.textAutoResize === "WIDTH_AND_HEIGHT") {
|
|
348
|
+
out.width = "max-content";
|
|
349
|
+
out.height = "auto";
|
|
350
|
+
out["white-space"] = "pre";
|
|
351
|
+
} else if (t.textAutoResize === "HEIGHT") out.height = "auto";
|
|
352
|
+
out["font-family"] = `"${t.fontFamily}", system-ui, sans-serif`;
|
|
353
|
+
out["font-size"] = `${t.fontSize}px`;
|
|
354
|
+
out["font-weight"] = String(t.fontWeight);
|
|
355
|
+
if (t.fontStyle === "italic") out["font-style"] = "italic";
|
|
356
|
+
out["line-height"] = t.lineHeight === "AUTO" ? "normal" : `${t.lineHeight}px`;
|
|
357
|
+
if (t.letterSpacing) out["letter-spacing"] = `${t.letterSpacing}px`;
|
|
358
|
+
out["text-align"] = t.textAlign.toLowerCase();
|
|
359
|
+
if (t.textDecoration === "UNDERLINE") out["text-decoration"] = "underline";
|
|
360
|
+
else if (t.textDecoration === "STRIKETHROUGH") out["text-decoration"] = "line-through";
|
|
361
|
+
const tc = t.textCase;
|
|
362
|
+
if (tc === "UPPER") out["text-transform"] = "uppercase";
|
|
363
|
+
else if (tc === "LOWER") out["text-transform"] = "lowercase";
|
|
364
|
+
else if (tc === "TITLE") out["text-transform"] = "capitalize";
|
|
365
|
+
const solid = tFills.find((f) => f.type === "SOLID" && f.color);
|
|
366
|
+
if (solid?.color) out.color = toHex(solid.color);
|
|
367
|
+
const grad = tFills.find((f) => f.type !== "SOLID");
|
|
368
|
+
const g = grad ? paintToBackground(grad) : null;
|
|
369
|
+
if (g) {
|
|
370
|
+
out.background = g;
|
|
371
|
+
out["-webkit-background-clip"] = "text";
|
|
372
|
+
out.color = "transparent";
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
return out;
|
|
376
|
+
}
|
|
377
|
+
function flexDeclarations(f) {
|
|
378
|
+
const out = {};
|
|
379
|
+
if (f.layoutMode !== "HORIZONTAL" && f.layoutMode !== "VERTICAL") return out;
|
|
380
|
+
out.display = "flex";
|
|
381
|
+
out["flex-direction"] = f.layoutMode === "HORIZONTAL" ? "row" : "column";
|
|
382
|
+
const justify = JUSTIFY[f.primaryAxisAlignItems ?? "MIN"];
|
|
383
|
+
const align = ALIGN[f.counterAxisAlignItems ?? "MIN"];
|
|
384
|
+
if (justify !== "flex-start") out["justify-content"] = justify;
|
|
385
|
+
if (align !== "flex-start") out["align-items"] = align;
|
|
386
|
+
out.gap = `${f.itemSpacing ?? 0}px`;
|
|
387
|
+
if (f.padding) {
|
|
388
|
+
out.padding = `${f.padding.top}px ${f.padding.right}px ${f.padding.bottom}px ${f.padding.left}px`;
|
|
389
|
+
if (f.padding.top || f.padding.right || f.padding.bottom || f.padding.left) out["box-sizing"] = "border-box";
|
|
390
|
+
}
|
|
391
|
+
return out;
|
|
392
|
+
}
|
|
393
|
+
var JUSTIFY = { MIN: "flex-start", MAX: "flex-end", CENTER: "center", SPACE_BETWEEN: "space-between" };
|
|
394
|
+
var ALIGN = { MIN: "flex-start", MAX: "flex-end", CENTER: "center", BASELINE: "baseline" };
|
|
395
|
+
var styleMapToCSSText = (m, indent = "") => Object.entries(m).map(([k, v]) => `${indent}${k}: ${v};`).join("\n");
|
|
396
|
+
var styleMapToInline = (m) => Object.entries(m).map(([k, v]) => `${k}:${v}`).join(";");
|
|
397
|
+
var camel = (k) => k.startsWith("--") ? k : (k.startsWith("-") ? k.replace(/^-/, "Webkit").replace(/-webkit-/i, "") : k).replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
398
|
+
var styleMapToJSX = (m) => Object.entries(m).map(([k, v]) => [camel(k), v.replace(/'/g, "\\'")]);
|
|
399
|
+
function textShadowCss(s) {
|
|
400
|
+
const color = toRgba(s.color);
|
|
401
|
+
const r = s.spread || 0;
|
|
402
|
+
if (r <= 0) return [`${s.offset.x}px ${s.offset.y}px ${s.blur}px ${color}`];
|
|
403
|
+
const out = [`${s.offset.x}px ${s.offset.y}px ${s.blur}px ${color}`];
|
|
404
|
+
for (const [ring, n] of [[r / 2, 8], [r, 16]]) {
|
|
405
|
+
for (let i = 0; i < n; i++) {
|
|
406
|
+
const a = i / n * Math.PI * 2;
|
|
407
|
+
out.push(`${round2(s.offset.x + Math.cos(a) * ring)}px ${round2(s.offset.y + Math.sin(a) * ring)}px ${s.blur}px ${color}`);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
return out;
|
|
411
|
+
}
|
|
412
|
+
var round2 = (v) => Math.round(v * 100) / 100;
|
|
413
|
+
|
|
414
|
+
// lib/io/web/expressible.ts
|
|
415
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
416
|
+
function expressibility(node, styles) {
|
|
417
|
+
const c = capability(node, "css", styles);
|
|
418
|
+
return { css: c.reason === "", reason: c.reason, needsRaster: c.verdict === "raster" };
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
// lib/io/web/motion.ts
|
|
422
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
423
|
+
init_scene_graph();
|
|
424
|
+
|
|
425
|
+
// lib/io/web/keyframes.ts
|
|
426
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
427
|
+
var SAMPLE_RATE = 30;
|
|
428
|
+
var round3 = (v) => Math.round(v * 1e3) / 1e3;
|
|
429
|
+
var pct = (k) => Math.round(k * 1e5) / 1e3;
|
|
430
|
+
function transformOf(n, rest) {
|
|
431
|
+
return transformFromParts(transformParts(n, n.x - rest.x, n.y - rest.y)) ?? "none";
|
|
432
|
+
}
|
|
433
|
+
function declarationsOf(node, rest, style) {
|
|
434
|
+
return { ...style(node), transform: transformOf(node, rest), opacity: String(round3(node.visible === false ? 0 : node.opacity ?? 1)) };
|
|
435
|
+
}
|
|
436
|
+
var FIXED = /* @__PURE__ */ new Set(["position", "display", "left", "top", "right", "bottom", "inset", "animation", "animation-play-state", "transform-origin", "transform-style", "box-sizing", "isolation", "z-index"]);
|
|
437
|
+
var NUMBER = /-?\d+(?:\.\d+)?(?:e-?\d+)?/g;
|
|
438
|
+
function vectorOf(style, keys) {
|
|
439
|
+
const text = keys.map((k) => `${k}:${style[k] ?? ""}`).join(";");
|
|
440
|
+
return { shape: text.replace(NUMBER, "#"), v: (text.match(NUMBER) ?? []).map(Number) };
|
|
441
|
+
}
|
|
442
|
+
function thinSamples(times, samples, tol, pinned = []) {
|
|
443
|
+
const n = samples.length;
|
|
444
|
+
if (n <= 2) return samples.map((_, i) => i);
|
|
445
|
+
const keep = /* @__PURE__ */ new Set([0, n - 1, ...pinned]);
|
|
446
|
+
for (let i = 1; i < n; i++) if (samples[i].shape !== samples[i - 1].shape) {
|
|
447
|
+
keep.add(i - 1);
|
|
448
|
+
keep.add(i);
|
|
449
|
+
}
|
|
450
|
+
const sorted = () => [...keep].sort((a, b) => a - b);
|
|
451
|
+
const stack = [];
|
|
452
|
+
const kept = sorted();
|
|
453
|
+
for (let i = 1; i < kept.length; i++) stack.push([kept[i - 1], kept[i]]);
|
|
454
|
+
while (stack.length) {
|
|
455
|
+
const [a, b] = stack.pop();
|
|
456
|
+
if (b - a < 2 || samples[a].shape !== samples[b].shape) continue;
|
|
457
|
+
let worst = -1, at = -1;
|
|
458
|
+
for (let i = a + 1; i < b; i++) {
|
|
459
|
+
const k = (times[i] - times[a]) / (times[b] - times[a] || 1);
|
|
460
|
+
let err = 0;
|
|
461
|
+
samples[i].v.forEach((x, d) => {
|
|
462
|
+
const want = samples[a].v[d] + (samples[b].v[d] - samples[a].v[d]) * k;
|
|
463
|
+
err = Math.max(err, Math.abs(x - want) / tol[d]);
|
|
464
|
+
});
|
|
465
|
+
if (err > worst) {
|
|
466
|
+
worst = err;
|
|
467
|
+
at = i;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
if (worst > 1) {
|
|
471
|
+
keep.add(at);
|
|
472
|
+
stack.push([a, at], [at, b]);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
return sorted();
|
|
476
|
+
}
|
|
477
|
+
function keyframesOf(times, samples, length) {
|
|
478
|
+
const keys = [...new Set(samples.flatMap((s) => Object.keys(s)))].filter((k) => !FIXED.has(k));
|
|
479
|
+
const moving = keys.filter((k) => samples.some((s) => s[k] !== samples[0][k]));
|
|
480
|
+
if (!moving.length) return null;
|
|
481
|
+
const vectors = samples.map((s) => vectorOf(s, moving));
|
|
482
|
+
const dims = Math.max(...vectors.map((v) => v.v.length));
|
|
483
|
+
const range = Array.from({ length: dims }, (_, d) => {
|
|
484
|
+
let lo = Infinity, hi = -Infinity;
|
|
485
|
+
for (const v of vectors) if (d < v.v.length) {
|
|
486
|
+
lo = Math.min(lo, v.v[d]);
|
|
487
|
+
hi = Math.max(hi, v.v[d]);
|
|
488
|
+
}
|
|
489
|
+
return hi > lo ? hi - lo : 0;
|
|
490
|
+
});
|
|
491
|
+
const tol = range.map((r) => Math.max(1e-3, r * 3e-3));
|
|
492
|
+
const same = (a, b) => vectors[a].shape === vectors[b].shape && vectors[a].v.every((x, d) => Math.abs(x - vectors[b].v[d]) <= tol[d]);
|
|
493
|
+
const jumps = /* @__PURE__ */ new Set();
|
|
494
|
+
for (let i = 1; i < samples.length; i++) {
|
|
495
|
+
if (same(i - 1, i)) continue;
|
|
496
|
+
const stillBefore = i >= 2 && same(i - 2, i - 1);
|
|
497
|
+
if (!stillBefore) continue;
|
|
498
|
+
const words = vectors[i].shape !== vectors[i - 1].shape;
|
|
499
|
+
const far = !words && vectors[i].v.some((x, d) => range[d] > 0 && Math.abs(x - vectors[i - 1].v[d]) > range[d] * 0.2);
|
|
500
|
+
if (words || far) jumps.add(i);
|
|
501
|
+
}
|
|
502
|
+
const kept = thinSamples(times, vectors, tol, [...jumps].flatMap((i) => [i - 1, i]));
|
|
503
|
+
return kept.map((i) => {
|
|
504
|
+
const style = {};
|
|
505
|
+
for (const k of moving) if (samples[i][k] !== void 0) style[k] = samples[i][k];
|
|
506
|
+
return { offset: pct(times[i] / (length || 1)), style, ...jumps.has(i + 1) ? { step: true } : {} };
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
// lib/io/web/element.ts
|
|
511
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
512
|
+
var escapeHTML = (s) => s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
513
|
+
function placementStyle(node, isRoot) {
|
|
514
|
+
if (node.place) return { ...node.place, ...node.place.position ? {} : node.layered || node.children.some((c) => c.positioning === "absolute") ? { position: "relative" } : {} };
|
|
515
|
+
const out = {};
|
|
516
|
+
if (node.positioning === "absolute" && !isRoot) {
|
|
517
|
+
out.position = "absolute";
|
|
518
|
+
out.left = `${node.x}px`;
|
|
519
|
+
out.top = `${node.y}px`;
|
|
520
|
+
} else if (node.layered || node.children.some((c) => c.positioning === "absolute") || isRoot) {
|
|
521
|
+
out.position = "relative";
|
|
522
|
+
}
|
|
523
|
+
return out;
|
|
524
|
+
}
|
|
525
|
+
var altFor = (node) => node.alt ?? node.name;
|
|
526
|
+
var roleOf = (node) => {
|
|
527
|
+
const alt = altFor(node);
|
|
528
|
+
return alt === "" ? { hidden: true } : { label: alt };
|
|
529
|
+
};
|
|
530
|
+
var roleAttrs = (role) => "hidden" in role ? ' aria-hidden="true"' : ` role="img" aria-label="${escapeHTML(role.label)}"`;
|
|
531
|
+
var labelSVG = (svg, node) => svg.replace(/^<svg\b/, `<svg${roleAttrs(roleOf(node))}`);
|
|
532
|
+
function imageRole(node) {
|
|
533
|
+
if (node.asset || node.text) return null;
|
|
534
|
+
if (node.type !== "IMAGE" && node.alt === void 0) return null;
|
|
535
|
+
return roleOf(node);
|
|
536
|
+
}
|
|
537
|
+
var imageRoleAttrs = (node) => {
|
|
538
|
+
const role = imageRole(node);
|
|
539
|
+
return role ? roleAttrs(role) : "";
|
|
540
|
+
};
|
|
541
|
+
function pictureOf(node) {
|
|
542
|
+
const a = node.asset;
|
|
543
|
+
if (!a) return null;
|
|
544
|
+
if (a.src) return { kind: "img", src: a.src };
|
|
545
|
+
if (a.svg) return { kind: "svg", svg: a.svg };
|
|
546
|
+
if (a.pngDataUrl) return { kind: "img", src: a.pngDataUrl };
|
|
547
|
+
return { kind: "missing", reason: a.reason, format: a.kind };
|
|
548
|
+
}
|
|
549
|
+
var hiddenAtStart = (spec, node) => {
|
|
550
|
+
const e = spec && node.uid !== void 0 ? spec.e[node.uid] : void 0;
|
|
551
|
+
return !!e && e[1][spec.m[e[0]]] === -1;
|
|
552
|
+
};
|
|
553
|
+
var HIDDEN_AT_START = { opacity: "0", visibility: "hidden", "pointer-events": "none", position: "absolute" };
|
|
554
|
+
var FIELD = { display: "block", border: "0", padding: "0", margin: "0", background: "none", outline: "none", font: "inherit", color: "inherit", "min-width": "0" };
|
|
555
|
+
var HEADING = { margin: "0", "font-size": "inherit", "font-weight": "inherit" };
|
|
556
|
+
var TAG_RESET = {
|
|
557
|
+
a: { display: "block", color: "inherit", "text-decoration": "none" },
|
|
558
|
+
button: { display: "block", border: "0", padding: "0", background: "none", font: "inherit", color: "inherit", "text-align": "inherit", cursor: "pointer" },
|
|
559
|
+
ul: { "list-style": "none", margin: "0", padding: "0" },
|
|
560
|
+
ol: { "list-style": "none", margin: "0", padding: "0" },
|
|
561
|
+
h1: HEADING,
|
|
562
|
+
h2: HEADING,
|
|
563
|
+
h3: HEADING,
|
|
564
|
+
h4: HEADING,
|
|
565
|
+
h5: HEADING,
|
|
566
|
+
h6: HEADING,
|
|
567
|
+
p: { margin: "0" },
|
|
568
|
+
figure: { margin: "0" },
|
|
569
|
+
span: { display: "block" },
|
|
570
|
+
label: { display: "block" },
|
|
571
|
+
form: { margin: "0" },
|
|
572
|
+
input: FIELD,
|
|
573
|
+
textarea: { ...FIELD, resize: "none" },
|
|
574
|
+
select: { ...FIELD, appearance: "none" }
|
|
575
|
+
};
|
|
576
|
+
var MOTION_PLAY_RULE = "[data-motion-play] [data-motion-child] { animation-play-state: running; }";
|
|
577
|
+
var CHECK_STYLE = "position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer";
|
|
578
|
+
function elementOf(node, ctx) {
|
|
579
|
+
const motion = ctx.still ? void 0 : node.motion;
|
|
580
|
+
const spec = ctx.spec ?? null;
|
|
581
|
+
const tag = node.input ? node.input.tag : node.link ? "a" : node.tag ?? (node.text ? "p" : "div");
|
|
582
|
+
const attrs = { ...node.attrs };
|
|
583
|
+
if (node.input) Object.assign(attrs, node.input.attrs);
|
|
584
|
+
if (node.link && !node.input) {
|
|
585
|
+
attrs.href = node.link.href;
|
|
586
|
+
if (node.link.newTab) {
|
|
587
|
+
attrs.target = "_blank";
|
|
588
|
+
attrs.rel = "noopener noreferrer";
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
return {
|
|
592
|
+
tag,
|
|
593
|
+
attrs,
|
|
594
|
+
// A tag's own look (a button's border, a link's underline, a list's bullets) is not the layer's: under its declarations.
|
|
595
|
+
style: { ...node.link || node.tag || node.input ? TAG_RESET[tag] : void 0, ...placementStyle(node, ctx.isRoot), ...node.style, ...motion ? motion.style : {}, ...hiddenAtStart(spec, node) ? HIDDEN_AT_START : {} },
|
|
596
|
+
// A field's words are its placeholder (an attribute), not its content.
|
|
597
|
+
...node.text && !node.input ? { text: node.text.characters } : {},
|
|
598
|
+
...node.text && node.runs && !node.input ? { runs: node.runs } : {},
|
|
599
|
+
...node.input ? { input: node.input } : {},
|
|
600
|
+
...node.html !== void 0 ? { html: node.html } : {},
|
|
601
|
+
...node.check ? { check: node.check } : {},
|
|
602
|
+
picture: pictureOf(node),
|
|
603
|
+
role: imageRole(node),
|
|
604
|
+
...motion ? { keyframes: motion.keyframes } : {},
|
|
605
|
+
...node.motionTrigger ? { motionTrigger: node.motionTrigger } : {},
|
|
606
|
+
...spec && node.uid !== void 0 ? { pc: { uid: node.uid, layer: node.name } } : {},
|
|
607
|
+
...ctx.listened?.has(node.id) ? { sm: node.id } : {}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// lib/io/web/motion.ts
|
|
612
|
+
function instanceWebMotion(doc, instance, style) {
|
|
613
|
+
const comp = instance.mainComponentId;
|
|
614
|
+
if (!comp || !isMotionComponent(doc.nodes, comp)) return null;
|
|
615
|
+
const m = playbackOf(doc.nodes, instance, comp);
|
|
616
|
+
const [a, b] = m.range;
|
|
617
|
+
const len = b - a;
|
|
618
|
+
if (len <= 0) return null;
|
|
619
|
+
const steps = Math.max(1, Math.ceil(len / 1e3 * SAMPLE_RATE));
|
|
620
|
+
const times = Array.from({ length: steps + 1 }, (_, i) => len * i / steps);
|
|
621
|
+
const samples = [];
|
|
622
|
+
for (let i = 0; i <= steps; i++) samples.push(instancePoseAt(doc.nodes, instance.id, a + len * i / steps));
|
|
623
|
+
const ids = /* @__PURE__ */ new Set();
|
|
624
|
+
for (const s of samples) for (const id in s) if (id.includes("::")) ids.add(id);
|
|
625
|
+
const children = /* @__PURE__ */ new Map();
|
|
626
|
+
const tag = instance.id.replace(/[^a-zA-Z0-9]/g, "").slice(-6);
|
|
627
|
+
let n = 0;
|
|
628
|
+
for (const id of ids) {
|
|
629
|
+
const restNode = resolveVirtualNode(doc.nodes, id);
|
|
630
|
+
if (!restNode) continue;
|
|
631
|
+
const frames = keyframesOf(times, samples.map((s) => declarationsOf(s[id] ?? restNode, restNode, style)), len);
|
|
632
|
+
if (!frames) continue;
|
|
633
|
+
children.set(id, {
|
|
634
|
+
name: `motion-${tag}-${n++}`,
|
|
635
|
+
frames,
|
|
636
|
+
durationMs: m.speed > 0 ? Math.round(len / m.speed) : 0,
|
|
637
|
+
delayMs: Math.round(m.start),
|
|
638
|
+
iterations: m.loop === "none" ? 1 : "infinite",
|
|
639
|
+
direction: m.loop === "pingpong" ? "alternate" : "normal",
|
|
640
|
+
fill: m.hold === "first" ? "backwards" : "both"
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
return children.size ? { trigger: m.trigger, children } : null;
|
|
644
|
+
}
|
|
645
|
+
function animationStyle(mo, trigger) {
|
|
646
|
+
const out = { animation: `${mo.name} ${mo.durationMs}ms linear ${mo.delayMs}ms ${mo.iterations} ${mo.direction} ${mo.fill}` };
|
|
647
|
+
if (trigger !== "load") out["animation-play-state"] = "paused";
|
|
648
|
+
return out;
|
|
649
|
+
}
|
|
650
|
+
var keyframesCSS = (mo) => `@keyframes ${mo.name} {
|
|
651
|
+
${mo.frames.map((f) => ` ${f.offset}% { ${Object.entries(f.style).map(([k, v]) => `${k}: ${v};`).join(" ")}${f.step ? " animation-timing-function: step-end;" : ""} }`).join("\n")}
|
|
652
|
+
}`;
|
|
653
|
+
var MOTION_SCRIPT = `(function () {
|
|
654
|
+
var play = function (el) { el.setAttribute('data-motion-play', '') };
|
|
655
|
+
document.querySelectorAll('[data-motion="click"]').forEach(function (el) { el.addEventListener('click', function () { play(el) }) });
|
|
656
|
+
document.querySelectorAll('[data-motion="hover"]').forEach(function (el) { el.addEventListener('mouseenter', function () { play(el) }) });
|
|
657
|
+
var seen = document.querySelectorAll('[data-motion="inView"]');
|
|
658
|
+
if (!('IntersectionObserver' in window)) { seen.forEach(play); return }
|
|
659
|
+
var io = new IntersectionObserver(function (entries) { entries.forEach(function (e) { if (e.isIntersecting) { play(e.target); io.unobserve(e.target) } }) }, { threshold: 0.25 });
|
|
660
|
+
seen.forEach(function (el) { io.observe(el) });
|
|
661
|
+
})();`;
|
|
662
|
+
|
|
663
|
+
// lib/io/web/responsive.ts
|
|
664
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
665
|
+
var px = (v) => `${Math.round(v * 100) / 100}px`;
|
|
666
|
+
var pct2 = (v) => `${Math.round(v * 1e4) / 100}%`;
|
|
667
|
+
var isStack = (f) => f?.layoutMode === "HORIZONTAL" || f?.layoutMode === "VERTICAL";
|
|
668
|
+
var isGrid = (f) => f?.layoutMode === "GRID";
|
|
669
|
+
var laysOut = (f) => isStack(f) || isGrid(f);
|
|
670
|
+
var track = (t) => {
|
|
671
|
+
if (!t || t.sizing === "FILL") return t?.value && /fr$/.test(t.value) ? t.value : "1fr";
|
|
672
|
+
if (t.sizing === "HUG") return "auto";
|
|
673
|
+
return /^[\d.]+$/.test(t.value) ? `${t.value}px` : t.value;
|
|
674
|
+
};
|
|
675
|
+
function containerStyle(f) {
|
|
676
|
+
const out = {};
|
|
677
|
+
if (isStack(f) && f.layoutWrap === "WRAP") {
|
|
678
|
+
out["flex-wrap"] = "wrap";
|
|
679
|
+
const cross = f.counterAxisSpacing ?? f.itemSpacing ?? 0;
|
|
680
|
+
const main = f.itemSpacing ?? 0;
|
|
681
|
+
if (cross !== main) out.gap = f.layoutMode === "HORIZONTAL" ? `${cross}px ${main}px` : `${main}px ${cross}px`;
|
|
682
|
+
out["align-content"] = "flex-start";
|
|
683
|
+
}
|
|
684
|
+
if (isGrid(f)) {
|
|
685
|
+
out.display = "grid";
|
|
686
|
+
const cols = f.layoutGridColumns ?? "AUTO";
|
|
687
|
+
out["grid-template-columns"] = cols === "AUTO" ? `repeat(auto-fill, minmax(${f.layoutGridMinColumnWidth ?? 100}px, 1fr))` : Array.from({ length: Math.max(1, cols) }, (_, i) => track(f.layoutGridColumnSizes?.[i])).join(" ");
|
|
688
|
+
const rows = f.layoutGridRows ?? "AUTO";
|
|
689
|
+
if (rows === "AUTO") out["grid-auto-rows"] = `minmax(${f.layoutGridMinRowHeight ?? 100}px, auto)`;
|
|
690
|
+
else out["grid-template-rows"] = Array.from({ length: Math.max(1, rows) }, (_, i) => track(f.layoutGridRowSizes?.[i])).join(" ");
|
|
691
|
+
const colGap = f.itemSpacing ?? 0, rowGap = f.counterAxisSpacing ?? colGap;
|
|
692
|
+
out.gap = rowGap === colGap ? `${colGap}px` : `${rowGap}px ${colGap}px`;
|
|
693
|
+
if (f.padding) {
|
|
694
|
+
out.padding = `${f.padding.top}px ${f.padding.right}px ${f.padding.bottom}px ${f.padding.left}px`;
|
|
695
|
+
if (f.padding.top || f.padding.right || f.padding.bottom || f.padding.left) out["box-sizing"] = "border-box";
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
const scroll = f.overflowScrolling;
|
|
699
|
+
if (scroll && scroll !== "NONE") {
|
|
700
|
+
out["overflow-x"] = scroll === "HORIZONTAL" || scroll === "BOTH" ? "auto" : "hidden";
|
|
701
|
+
out["overflow-y"] = scroll === "VERTICAL" || scroll === "BOTH" ? "auto" : "hidden";
|
|
702
|
+
}
|
|
703
|
+
return out;
|
|
704
|
+
}
|
|
705
|
+
var limits = (n) => {
|
|
706
|
+
const out = {};
|
|
707
|
+
if (n.minWidth !== void 0) out["min-width"] = px(n.minWidth);
|
|
708
|
+
if (n.maxWidth !== void 0) out["max-width"] = px(n.maxWidth);
|
|
709
|
+
if (n.minHeight !== void 0) out["min-height"] = px(n.minHeight);
|
|
710
|
+
if (n.maxHeight !== void 0) out["max-height"] = px(n.maxHeight);
|
|
711
|
+
return out;
|
|
712
|
+
};
|
|
713
|
+
function flowChild(node, parent) {
|
|
714
|
+
const style = { ...limits(node) };
|
|
715
|
+
const h = node.layoutSizingHorizontal ?? "FIXED", v = node.layoutSizingVertical ?? "FIXED";
|
|
716
|
+
if (isGrid(parent)) {
|
|
717
|
+
if (h !== "FIXED") style.width = h === "FILL" ? null : "fit-content";
|
|
718
|
+
if (v !== "FIXED") style.height = null;
|
|
719
|
+
return { style };
|
|
720
|
+
}
|
|
721
|
+
if (h === "FIXED" && style["max-width"] === void 0) style["max-width"] = "100%";
|
|
722
|
+
const row = parent.layoutMode === "HORIZONTAL";
|
|
723
|
+
const main = row ? h : v, cross = row ? v : h;
|
|
724
|
+
const mainProp = row ? "width" : "height", crossProp = row ? "height" : "width";
|
|
725
|
+
if (main === "FILL") {
|
|
726
|
+
style[mainProp] = null;
|
|
727
|
+
style.flex = "1 1 0";
|
|
728
|
+
if (style[`min-${mainProp}`] === void 0) style[`min-${mainProp}`] = "0";
|
|
729
|
+
} else {
|
|
730
|
+
if (main === "HUG") style[mainProp] = null;
|
|
731
|
+
style["flex-shrink"] = "0";
|
|
732
|
+
}
|
|
733
|
+
if (cross === "FILL") {
|
|
734
|
+
style[crossProp] = null;
|
|
735
|
+
style["align-self"] = "stretch";
|
|
736
|
+
} else {
|
|
737
|
+
if (cross === "HUG") style[crossProp] = null;
|
|
738
|
+
if ((parent.counterAxisAlignItems ?? "MIN") === "MIN") style["align-self"] = "flex-start";
|
|
739
|
+
}
|
|
740
|
+
const ar = node.aspectRatio;
|
|
741
|
+
if (ar && ar > 0 && v !== "FILL") {
|
|
742
|
+
style.height = null;
|
|
743
|
+
style["aspect-ratio"] = String(Math.round(ar * 1e4) / 1e4);
|
|
744
|
+
}
|
|
745
|
+
return { style };
|
|
746
|
+
}
|
|
747
|
+
function constrained(kind, pos, size, parentSize, start, end, sizeProp) {
|
|
748
|
+
const far = parentSize - pos - size;
|
|
749
|
+
switch (kind) {
|
|
750
|
+
case "MAX":
|
|
751
|
+
return { place: { [end]: px(far) }, style: {} };
|
|
752
|
+
case "STRETCH":
|
|
753
|
+
return { place: { [start]: px(pos), [end]: px(far) }, style: { [sizeProp]: null } };
|
|
754
|
+
// Its centre keeps its distance from the parent's centre.
|
|
755
|
+
case "CENTER":
|
|
756
|
+
return { place: { [start]: `calc(50% + ${px(pos - parentSize / 2)})` }, style: {} };
|
|
757
|
+
case "SCALE":
|
|
758
|
+
return parentSize > 0 ? { place: { [start]: pct2(pos / parentSize) }, style: { [sizeProp]: pct2(size / parentSize) } } : { place: { [start]: px(pos) }, style: {} };
|
|
759
|
+
default:
|
|
760
|
+
return { place: { [start]: px(pos) }, style: {} };
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
function placedChild(node, parent, frame = parent) {
|
|
764
|
+
const c = node.constraints ?? { horizontal: "MIN", vertical: "MIN" };
|
|
765
|
+
const x = constrained(c.horizontal, node.x, node.width, frame.width, "left", "right", "width");
|
|
766
|
+
const y = constrained(c.vertical, node.y, node.height, frame.height, "top", "bottom", "height");
|
|
767
|
+
return { style: { ...limits(node), ...x.style, ...y.style }, place: { position: "absolute", ...x.place, ...y.place } };
|
|
768
|
+
}
|
|
769
|
+
function webScaling(node) {
|
|
770
|
+
if (node.type !== "FRAME") return null;
|
|
771
|
+
const f = node;
|
|
772
|
+
const mode = pageScalingOf(f);
|
|
773
|
+
if (mode === "flow") return null;
|
|
774
|
+
const max = maxScaleOf(f);
|
|
775
|
+
return { mode, width: f.width, height: f.height, ...max !== void 0 ? { maxScale: max } : {} };
|
|
776
|
+
}
|
|
777
|
+
function scaleExpression(sc) {
|
|
778
|
+
if (sc.mode === "fixed") return null;
|
|
779
|
+
const w = px(sc.width), h = px(sc.height);
|
|
780
|
+
const ratios = `tan(atan2(100cqw, ${w})), tan(atan2(100cqh, ${h}))`;
|
|
781
|
+
const s = `${sc.mode === "fit" ? "min" : "max"}(${ratios})`;
|
|
782
|
+
return sc.maxScale !== void 0 ? `min(${s}, ${sc.maxScale})` : s;
|
|
783
|
+
}
|
|
784
|
+
var SCALED_PAGE = {
|
|
785
|
+
position: "fixed",
|
|
786
|
+
left: "0",
|
|
787
|
+
top: "0",
|
|
788
|
+
width: "100vw",
|
|
789
|
+
height: "100dvh",
|
|
790
|
+
"min-height": null,
|
|
791
|
+
"max-width": null
|
|
792
|
+
};
|
|
793
|
+
var SCALED_BOX = { "container-type": "size", overflow: "hidden" };
|
|
794
|
+
var SCALED_ROOT = { width: "100%", height: "100%", position: "relative", ...SCALED_BOX };
|
|
795
|
+
var LAYS_OUT = ["display", "flex-direction", "flex-wrap", "gap", "row-gap", "column-gap", "justify-content", "align-items", "align-content", "justify-items", "grid-template-columns", "grid-template-rows", "grid-auto-flow", "grid-auto-rows", "grid-auto-columns", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left"];
|
|
796
|
+
function wrapScaledContent(web, sc) {
|
|
797
|
+
const style = { width: px(sc.width), height: px(sc.height), "transform-origin": "center" };
|
|
798
|
+
const scale = scaleExpression(sc);
|
|
799
|
+
style.transform = `translate(-50%, -50%)${scale ? ` scale(${scale})` : ""}`;
|
|
800
|
+
if (web.style.background) style.background = web.style.background;
|
|
801
|
+
if (web.style["background-color"]) style["background-color"] = web.style["background-color"];
|
|
802
|
+
for (const k of LAYS_OUT) if (k in web.style) {
|
|
803
|
+
style[k] = web.style[k];
|
|
804
|
+
delete web.style[k];
|
|
805
|
+
}
|
|
806
|
+
web.children = [{
|
|
807
|
+
id: `${web.id}/content`,
|
|
808
|
+
name: `${web.name} content`,
|
|
809
|
+
type: "SCALED_CONTENT",
|
|
810
|
+
x: 0,
|
|
811
|
+
y: 0,
|
|
812
|
+
width: Math.round(sc.width),
|
|
813
|
+
height: Math.round(sc.height),
|
|
814
|
+
positioning: "absolute",
|
|
815
|
+
place: { position: "absolute", left: "50%", top: "50%" },
|
|
816
|
+
style,
|
|
817
|
+
alt: "",
|
|
818
|
+
children: web.children
|
|
819
|
+
}];
|
|
820
|
+
}
|
|
821
|
+
function siteLayout(node, parent, layout) {
|
|
822
|
+
const own = node.type === "FRAME" || node.type === "COMPONENT" || node.type === "INSTANCE" ? node : null;
|
|
823
|
+
if (!parent) {
|
|
824
|
+
if (own && webScaling(own)) return { style: { ...SCALED_PAGE, ...SCALED_BOX }, place: { position: "fixed" } };
|
|
825
|
+
const grows = !own || laysOut(own) || own.overflowScrolling === "NONE" || !own.overflowScrolling;
|
|
826
|
+
return { style: { ...limits(node), width: "100%", ...grows ? { height: null, "min-height": `max(${px(node.height)}, 100dvh)` } : {} }, place: { position: "relative" } };
|
|
827
|
+
}
|
|
828
|
+
const s = node;
|
|
829
|
+
const laid = layout && laysOut(layout) && s.layoutPositioning !== "ABSOLUTE" ? flowChild(s, layout) : placedChild(s, parent, parent.type === "INSTANCE" && layout ? layout : parent);
|
|
830
|
+
return own && webScaling(own) ? { ...laid, style: { ...laid.style, ...SCALED_BOX } } : laid;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
// lib/io/web/richtext.ts
|
|
834
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
835
|
+
function runStyle(seg) {
|
|
836
|
+
const out = {};
|
|
837
|
+
if (seg.fontFamily) out["font-family"] = `"${seg.fontFamily}", system-ui, sans-serif`;
|
|
838
|
+
if (seg.fontSize) out["font-size"] = `${seg.fontSize}px`;
|
|
839
|
+
if (seg.fontWeight) out["font-weight"] = String(seg.fontWeight);
|
|
840
|
+
if (seg.fontStyle) out["font-style"] = seg.fontStyle;
|
|
841
|
+
if (seg.lineHeight !== void 0 && seg.lineHeight !== "AUTO") out["line-height"] = `${seg.lineHeight}px`;
|
|
842
|
+
if (seg.textDecoration === "UNDERLINE") out["text-decoration"] = "underline";
|
|
843
|
+
else if (seg.textDecoration === "STRIKETHROUGH") out["text-decoration"] = "line-through";
|
|
844
|
+
else if (seg.textDecoration === "NONE") out["text-decoration"] = "none";
|
|
845
|
+
if (seg.textCase === "UPPER") out["text-transform"] = "uppercase";
|
|
846
|
+
else if (seg.textCase === "LOWER") out["text-transform"] = "lowercase";
|
|
847
|
+
else if (seg.textCase === "TITLE") out["text-transform"] = "capitalize";
|
|
848
|
+
else if (seg.textCase === "ORIGINAL") out["text-transform"] = "none";
|
|
849
|
+
const solid = seg.fills?.find((f) => f.visible !== false && f.type === "SOLID" && f.color);
|
|
850
|
+
if (solid?.color) out.color = toHex(solid.color);
|
|
851
|
+
return out;
|
|
852
|
+
}
|
|
853
|
+
function textRuns(t) {
|
|
854
|
+
const text = t.characters ?? "";
|
|
855
|
+
const segs = [...t.styledSegments ?? []].filter((s) => s.end > s.start).sort((a, b) => a.start - b.start);
|
|
856
|
+
if (!segs.length && !t.link) return void 0;
|
|
857
|
+
const runs = [];
|
|
858
|
+
const push = (from, to, seg) => {
|
|
859
|
+
if (to <= from) return;
|
|
860
|
+
const link = seg?.link ?? t.link;
|
|
861
|
+
runs.push({ text: text.slice(from, to), style: seg ? runStyle(seg) : {}, ...link ? { link } : {} });
|
|
862
|
+
};
|
|
863
|
+
let at = 0;
|
|
864
|
+
for (const s of segs) {
|
|
865
|
+
const start = Math.max(at, Math.min(text.length, s.start)), end = Math.min(text.length, s.end);
|
|
866
|
+
push(at, start);
|
|
867
|
+
push(start, end, s);
|
|
868
|
+
at = Math.max(at, end);
|
|
869
|
+
}
|
|
870
|
+
push(at, text.length);
|
|
871
|
+
return runs;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
// lib/io/web/tokens.ts
|
|
875
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
876
|
+
|
|
877
|
+
// lib/document/dev-mode.ts
|
|
878
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
879
|
+
function codeSyntaxFor(v, platform) {
|
|
880
|
+
const explicit = v.codeSyntax?.[platform];
|
|
881
|
+
if (explicit) return explicit;
|
|
882
|
+
const parts = v.name.split("/").map((p) => p.trim()).filter(Boolean);
|
|
883
|
+
if (platform === "WEB") return `--${parts.join("-").toLowerCase().replace(/[^a-z0-9-]+/g, "-")}`;
|
|
884
|
+
const camel2 = parts.map((p, i) => {
|
|
885
|
+
const w = p.replace(/[^A-Za-z0-9]+/g, " ").trim().split(/\s+/);
|
|
886
|
+
return w.map((x, j) => i === 0 && j === 0 ? x.toLowerCase() : x[0].toUpperCase() + x.slice(1).toLowerCase()).join("");
|
|
887
|
+
}).join("");
|
|
888
|
+
return platform === "iOS" ? `Tokens.${camel2}` : `Tokens.${camel2}`;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
// lib/io/web/tokens.ts
|
|
892
|
+
var slug = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "") || "x";
|
|
893
|
+
var modeClass = (collection, mode) => `pc-${slug(collection.name)}-${slug(mode.name)}`;
|
|
894
|
+
var isColor = (v) => !!v && typeof v === "object" && "r" in v && "g" in v && "b" in v;
|
|
895
|
+
function cssValue(v, value2) {
|
|
896
|
+
if (v.type === "COLOR") return isColor(value2) ? (value2.a ?? 1) < 1 ? toRgba(value2) : toHex(value2) : null;
|
|
897
|
+
if (v.type === "FLOAT") return typeof value2 === "number" && Number.isFinite(value2) ? String(Math.round(value2 * 1e3) / 1e3) : null;
|
|
898
|
+
if (v.type === "STRING") return typeof value2 === "string" ? JSON.stringify(value2) : null;
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
901
|
+
function siteTokens(doc) {
|
|
902
|
+
const collections = Object.values(doc.variableCollections ?? {}).map((c) => ({
|
|
903
|
+
id: c.id,
|
|
904
|
+
name: c.name,
|
|
905
|
+
defaultMode: c.defaultModeId,
|
|
906
|
+
modes: c.modes.map((m) => ({ id: m.id, name: m.name, className: modeClass(c, m) }))
|
|
907
|
+
}));
|
|
908
|
+
const taken = /* @__PURE__ */ new Set();
|
|
909
|
+
const vars = [];
|
|
910
|
+
for (const v of Object.values(doc.variables ?? {}).sort((a, b) => a.name.localeCompare(b.name) || a.id.localeCompare(b.id))) {
|
|
911
|
+
const values = {};
|
|
912
|
+
for (const [mode, value2] of Object.entries(v.valuesByMode ?? {})) {
|
|
913
|
+
const css = cssValue(v, value2);
|
|
914
|
+
if (css !== null) values[mode] = css;
|
|
915
|
+
}
|
|
916
|
+
if (!Object.keys(values).length) continue;
|
|
917
|
+
let name = codeSyntaxFor(v, "WEB");
|
|
918
|
+
if (!name.startsWith("--")) name = `--${slug(name)}`;
|
|
919
|
+
if (taken.has(name)) name = `${name}-${v.id.replace(/[^a-zA-Z0-9]/g, "").slice(-4)}`;
|
|
920
|
+
taken.add(name);
|
|
921
|
+
vars.push({ id: v.id, name, type: v.type, collection: v.variableCollectionId, values });
|
|
922
|
+
}
|
|
923
|
+
const active = Object.entries(doc.activeVariableModes ?? {}).flatMap(([cid, mid]) => {
|
|
924
|
+
const c = collections.find((x) => x.id === cid);
|
|
925
|
+
const m = c && mid !== c.defaultMode ? c.modes.find((x) => x.id === mid) : void 0;
|
|
926
|
+
return m ? [m.className] : [];
|
|
927
|
+
});
|
|
928
|
+
return { collections, vars, active };
|
|
929
|
+
}
|
|
930
|
+
function tokensCSS(tokens) {
|
|
931
|
+
const rules = [];
|
|
932
|
+
const defaults = [];
|
|
933
|
+
const byMode = /* @__PURE__ */ new Map();
|
|
934
|
+
for (const v of tokens.vars) {
|
|
935
|
+
const c = tokens.collections.find((x) => x.id === v.collection);
|
|
936
|
+
const base = v.values[c?.defaultMode ?? ""] ?? Object.values(v.values)[0];
|
|
937
|
+
defaults.push(` ${v.name}: ${base};`);
|
|
938
|
+
if (v.type === "FLOAT") rules.push(`@property ${v.name} { syntax: '<number>'; inherits: true; initial-value: ${base}; }`);
|
|
939
|
+
for (const m of c?.modes ?? []) {
|
|
940
|
+
if (m.id === c.defaultMode || v.values[m.id] === void 0 || v.values[m.id] === base) continue;
|
|
941
|
+
(byMode.get(m.className) ?? byMode.set(m.className, []).get(m.className)).push(` ${v.name}: ${v.values[m.id]};`);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
if (defaults.length) rules.push(`:root {
|
|
945
|
+
${defaults.join("\n")}
|
|
946
|
+
}`);
|
|
947
|
+
for (const [cls, lines] of byMode) rules.push(`.${cls} {
|
|
948
|
+
${lines.join("\n")}
|
|
949
|
+
}`);
|
|
950
|
+
return rules;
|
|
951
|
+
}
|
|
952
|
+
var px2 = (name) => `calc(var(${name}) * 1px)`;
|
|
953
|
+
var NUMBER_PROPS = {
|
|
954
|
+
width: ["width", px2],
|
|
955
|
+
height: ["height", px2],
|
|
956
|
+
opacity: ["opacity", (n) => `var(${n})`],
|
|
957
|
+
cornerRadius: ["border-radius", px2],
|
|
958
|
+
itemSpacing: ["gap", px2],
|
|
959
|
+
fontSize: ["font-size", px2],
|
|
960
|
+
letterSpacing: ["letter-spacing", px2]
|
|
961
|
+
};
|
|
962
|
+
function tokenStyle(raw, style, tokens) {
|
|
963
|
+
const name = (id) => id ? tokens.vars.find((v) => v.id === id)?.name : void 0;
|
|
964
|
+
const out = {};
|
|
965
|
+
const fills = (raw.fills ?? []).filter((f) => f.visible !== false);
|
|
966
|
+
const fill = fills.length === 1 && fills[0].type === "SOLID" && (fills[0].opacity ?? 1) === 1 ? name(fills[0].boundVariables?.color) : void 0;
|
|
967
|
+
if (fill) {
|
|
968
|
+
if (raw.type === "TEXT") {
|
|
969
|
+
if (style.color) out.color = `var(${fill})`;
|
|
970
|
+
} else if (style.background) out.background = `var(${fill})`;
|
|
971
|
+
}
|
|
972
|
+
const stroke = raw.strokes?.[0];
|
|
973
|
+
const strokeVar = name(stroke?.boundVariables?.color);
|
|
974
|
+
if (strokeVar) {
|
|
975
|
+
if (style["border-color"]) out["border-color"] = `var(${strokeVar})`;
|
|
976
|
+
for (const p of ["border", "outline"]) if (style[p]) out[p] = style[p].replace(/(#[0-9A-Fa-f]{3,8}|rgba?\([^)]*\))$/, `var(${strokeVar})`);
|
|
977
|
+
}
|
|
978
|
+
for (const [prop, id] of Object.entries(raw.boundVariables ?? {})) {
|
|
979
|
+
const rule = NUMBER_PROPS[prop];
|
|
980
|
+
const token = tokens.vars.find((v) => v.id === id);
|
|
981
|
+
if (!rule || !token || token.type !== "FLOAT" || style[rule[0]] === void 0) continue;
|
|
982
|
+
out[rule[0]] = rule[1](token.name);
|
|
983
|
+
}
|
|
984
|
+
return out;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
// lib/io/web/timeline.ts
|
|
988
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
989
|
+
init_scene_graph();
|
|
990
|
+
function frameWebMotion(doc, frameId, style) {
|
|
991
|
+
const nodes = doc.nodes;
|
|
992
|
+
const frame = nodes[frameId];
|
|
993
|
+
if (!frame || !hasFrameMotion(nodes, frameId)) return null;
|
|
994
|
+
const len = timelineDuration(nodes, frameId);
|
|
995
|
+
if (!(len > 0)) return null;
|
|
996
|
+
const steps = Math.max(1, Math.ceil(len / 1e3 * SAMPLE_RATE));
|
|
997
|
+
const times = [];
|
|
998
|
+
const poses = [];
|
|
999
|
+
for (let i = 0; i <= steps; i++) {
|
|
1000
|
+
const t = len * i / steps;
|
|
1001
|
+
times.push(t);
|
|
1002
|
+
poses.push(evaluatePose(nodes, { kind: "frame", frameId }, t).nodes);
|
|
1003
|
+
}
|
|
1004
|
+
const ids = /* @__PURE__ */ new Set();
|
|
1005
|
+
for (const p of poses) for (const id in p) if (id !== frameId && p[id] !== nodes[id]) ids.add(id);
|
|
1006
|
+
const loops = frameRunsOn(nodes, frameId);
|
|
1007
|
+
const out = /* @__PURE__ */ new Map();
|
|
1008
|
+
const tag = frameId.replace(/[^a-zA-Z0-9]/g, "").slice(-6);
|
|
1009
|
+
let n = 0;
|
|
1010
|
+
for (const id of ids) {
|
|
1011
|
+
const rest = id.includes("::") ? resolveVirtualNode(nodes, id) : nodes[id];
|
|
1012
|
+
if (!rest || !underFrame(nodes, id, frameId)) continue;
|
|
1013
|
+
const frames = keyframesOf(times, poses.map((p) => declarationsOf(p[id] ?? rest, rest, style)), len);
|
|
1014
|
+
if (!frames) continue;
|
|
1015
|
+
out.set(id, {
|
|
1016
|
+
name: `timeline-${tag}-${n++}`,
|
|
1017
|
+
frames,
|
|
1018
|
+
durationMs: Math.round(len),
|
|
1019
|
+
delayMs: 0,
|
|
1020
|
+
iterations: loops ? "infinite" : 1,
|
|
1021
|
+
direction: "normal",
|
|
1022
|
+
fill: "both"
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
return out.size ? out : null;
|
|
1026
|
+
}
|
|
1027
|
+
function underFrame(nodes, id, frameId) {
|
|
1028
|
+
const real = id.split("::")[0];
|
|
1029
|
+
for (let n = nodes[real]; n; n = n.parentId ? nodes[n.parentId] : void 0) if (n.id === frameId) return true;
|
|
1030
|
+
return false;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
// lib/io/web/behaviors.ts
|
|
1034
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1035
|
+
function siteSoundOf(c) {
|
|
1036
|
+
const keys = c.gain?.muted ? [] : (c.gain?.keys ?? []).filter((k) => typeof k.v === "number");
|
|
1037
|
+
return {
|
|
1038
|
+
src: `media://${c.mediaHash}`,
|
|
1039
|
+
hash: c.mediaHash,
|
|
1040
|
+
start: c.start,
|
|
1041
|
+
in: c.in,
|
|
1042
|
+
out: c.out,
|
|
1043
|
+
...c.loop ? { loop: true } : {},
|
|
1044
|
+
...c.fadeIn ? { fadeIn: c.fadeIn } : {},
|
|
1045
|
+
...c.fadeOut ? { fadeOut: c.fadeOut } : {},
|
|
1046
|
+
// The first key is the level a player that only keeps one uses; the curve is every key, in clip ms.
|
|
1047
|
+
...keys.length ? { gain: keys[0].v } : {},
|
|
1048
|
+
...keys.length > 1 ? { gainKeys: keys.map((k) => ({ t: k.t, v: k.v })) } : {},
|
|
1049
|
+
...c.speed && c.speed !== 1 ? { speed: c.speed } : {}
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
var screenSound = (frame) => (frame?.timeline?.audio ?? []).filter((c) => !c.muted).map(siteSoundOf);
|
|
1053
|
+
var isScreen = (doc, id) => doc.nodes[id]?.type === "FRAME" && doc.nodes[doc.nodes[id].parentId ?? ""]?.type === "PAGE";
|
|
1054
|
+
function screenBehaviors(doc, frameId) {
|
|
1055
|
+
if (!isScreen(doc, frameId)) return null;
|
|
1056
|
+
const frame = doc.nodes[frameId];
|
|
1057
|
+
const out = {};
|
|
1058
|
+
const sound = screenSound(frame);
|
|
1059
|
+
if (sound.length) out.sound = sound;
|
|
1060
|
+
const modules = screenModules(doc, frameId);
|
|
1061
|
+
if (modules.length) out.modules = modules;
|
|
1062
|
+
const length = hasFrameMotion(doc.nodes, frameId) ? timelineDuration(doc.nodes, frameId) : 0;
|
|
1063
|
+
if (length > 0) out.timeline = { duration: length, stops: stopsOf(frameTimeline(doc.nodes, frameId).markers, [0, length]), loops: frameRunsOn(doc.nodes, frameId) };
|
|
1064
|
+
return Object.keys(out).length ? out : null;
|
|
1065
|
+
}
|
|
1066
|
+
var STATIC_REASON = "this export is still: it plays no motion, sound or game";
|
|
1067
|
+
function staticDropped(doc, frameId) {
|
|
1068
|
+
const b = screenBehaviors(doc, frameId);
|
|
1069
|
+
const out = [];
|
|
1070
|
+
if (b?.timeline) out.push({ feature: "timeline", reason: STATIC_REASON, nodeId: frameId });
|
|
1071
|
+
if (doc.nodes[frameId]?.stateMachine) out.push({ feature: "state machine", reason: STATIC_REASON, nodeId: frameId });
|
|
1072
|
+
if (b?.sound) out.push({ feature: "sound", reason: STATIC_REASON, nodeId: frameId });
|
|
1073
|
+
if (b?.modules?.length) out.push({ feature: "behavior modules", reason: STATIC_REASON, nodeId: frameId });
|
|
1074
|
+
return out;
|
|
1075
|
+
}
|
|
1076
|
+
function behaviorsDropped(tree, target, can = {}) {
|
|
1077
|
+
const b = tree.behaviors;
|
|
1078
|
+
if (!b) return [];
|
|
1079
|
+
const id = tree.root.id;
|
|
1080
|
+
const reason = `${target} has no player for it; a published site plays it`;
|
|
1081
|
+
return [
|
|
1082
|
+
...b.timeline && !can.timeline ? [{ feature: "timeline", reason, nodeId: id }] : [],
|
|
1083
|
+
...b.sound && !can.sound ? [{ feature: "sound", reason, nodeId: id }] : [],
|
|
1084
|
+
...b.modules?.length && !can.modules ? [{ feature: "behavior modules", reason, nodeId: id }] : []
|
|
1085
|
+
];
|
|
1086
|
+
}
|
|
1087
|
+
function mergeDropped(...lists) {
|
|
1088
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1089
|
+
const out = [];
|
|
1090
|
+
for (const l of lists) for (const d of l ?? []) {
|
|
1091
|
+
const k = `${d.feature}\0${d.nodeId ?? ""}\0${d.reason}`;
|
|
1092
|
+
if (!seen.has(k)) {
|
|
1093
|
+
seen.add(k);
|
|
1094
|
+
out.push(d);
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
return out;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
// lib/io/web/interactive.ts
|
|
1101
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1102
|
+
init_scene_graph();
|
|
1103
|
+
|
|
1104
|
+
// lib/io/web/state-machine.ts
|
|
1105
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1106
|
+
|
|
1107
|
+
// lib/io/web/machine-runtime.ts
|
|
1108
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1109
|
+
|
|
1110
|
+
// lib/io/web/generated/runtimes.ts
|
|
1111
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1112
|
+
var PROTOTYPE_JS = 'function popcraftMount(root, spec) {\n var els = {}, state = {}, owned = {}, orbit = {}, last = {}, holds = {}, hist = [], timers = [];\n var nodes = [root].concat(Array.prototype.slice.call(root.querySelectorAll("[data-pc]")));\n nodes.forEach(function(el) {\n els[el.getAttribute("data-pc")] = el;\n });\n for (var m in spec.m) state[m] = spec.m[m];\n for (var u in spec.e) (owned[spec.e[u][0]] = owned[spec.e[u][0]] || []).push(u);\n var drags = {}, clicks = {};\n spec.on.forEach(function(o) {\n if (o[3] === "drag") drags[o[0]] = 1;\n if (o[3] === "click" || o[3] === "press") clicks[o[0]] = 1;\n });\n function lookIn(u2, st) {\n var e = spec.e[u2];\n if (!e) return -2;\n var i = e[1][st === void 0 ? state[e[0]] : st];\n return i === void 0 ? -1 : i;\n }\n function tf(f, o) {\n var ry = f[4] + (o ? o.ry : 0), rx = f[5] + (o ? o.rx : 0), p = [];\n if (f[0] || f[1] || f[2]) p.push(f[2] ? "translate3d(" + f[0] + "px, " + f[1] + "px, " + f[2] + "px)" : "translate(" + f[0] + "px, " + f[1] + "px)");\n if (f[3]) p.push("rotate(" + f[3] + "deg)");\n if (ry) p.push("rotateY(" + ry + "deg)");\n if (rx) p.push("rotateX(" + rx + "deg)");\n if (f[6] !== 1 || f[7] !== 1) p.push("scale(" + f[6] + ", " + f[7] + ")");\n return p.length ? p.join(" ") : "none";\n }\n function css(u2, i) {\n var L = spec.L[i], c = L[0];\n if (orbit[u2] && L[2]) c += ";transform:" + tf(L[2], orbit[u2]);\n if (drags[u2]) c += ";touch-action:none;user-select:none;-webkit-user-select:none";\n if (clicks[u2]) c += ";cursor:pointer";\n return c;\n }\n var HIDE = ";opacity:0;visibility:hidden;pointer-events:none;position:absolute";\n function set(u2, ms, ez) {\n var el = els[u2], i = lookIn(u2, void 0);\n if (!el || i === -2) return;\n var tr = ms ? ";transition:all " + ms + "ms " + ez : ";transition:none";\n if (i < 0) {\n el.style.cssText = (last[u2] || "") + HIDE + tr;\n return;\n }\n var c = css(u2, i), text = spec.L[i][1];\n if (text !== null && el.textContent !== text) el.textContent = text;\n if (ms && el.style.visibility === "hidden") {\n el.style.cssText = c + ";opacity:0;transition:none";\n void el.offsetWidth;\n }\n el.style.cssText = c + tr;\n last[u2] = c;\n }\n var ANIM = /(?:^|;)animation:[^;]*/;\n function anim(i) {\n var m2 = i >= 0 ? ANIM.exec(spec.L[i][0]) : null;\n return m2 ? m2[0] : "";\n }\n function go(m2, to, ms, ez, fromHistory) {\n if (!(m2 in state) || state[m2] === to) return;\n var list = owned[m2] || [];\n list.forEach(function(u2) {\n var a = lookIn(u2, void 0), b = lookIn(u2, to), el = els[u2];\n if (!el || a < 0 || !anim(a) || anim(a) === anim(b)) return;\n var cs = getComputedStyle(el);\n el.style.cssText = css(u2, a) + ";animation:none;transition:none;transform:" + cs.transform + ";opacity:" + cs.opacity;\n });\n void root.offsetWidth;\n if (m2 === "flow" && !fromHistory) hist.push(state[m2]);\n state[m2] = to;\n list.forEach(function(u2) {\n set(u2, ms, ez);\n });\n arm();\n }\n function active(u2, trig) {\n return spec.on.filter(function(o) {\n return String(o[0]) === String(u2) && o[3] === trig && state[o[1]] === o[2];\n });\n }\n function run(o, u2) {\n var a = o[4];\n if (a.k === "go") {\n if (a.hold) {\n if (!holds[u2]) holds[u2] = { m: a.m, back: state[a.m], ms: a.ms, ez: a.ez };\n }\n go(a.m, a.to, a.ms, a.ez, false);\n } else if (a.k === "back" && hist.length) {\n go(a.m, hist.pop(), 300, "ease-in-out", true);\n }\n }\n function release(u2) {\n var h = holds[u2];\n if (!h) return;\n delete holds[u2];\n go(h.m, h.back, h.ms, h.ez, true);\n }\n function chain(el) {\n var out = [];\n for (var n = el; n && n !== root.parentNode; n = n.parentNode) {\n var id2 = n.getAttribute && n.getAttribute("data-pc");\n if (id2 !== null && id2 !== void 0) out.push(id2);\n if (n === root) break;\n }\n return out;\n }\n function first(ids, trig) {\n for (var i = 0; i < ids.length; i++) {\n var a = active(ids[i], trig);\n if (a.length) return { u: ids[i], list: a };\n }\n return null;\n }\n function arm() {\n timers.forEach(clearTimeout);\n timers = [];\n spec.on.forEach(function(o) {\n if (o[3] === "timeout" && state[o[1]] === o[2]) timers.push(setTimeout(function() {\n if (state[o[1]] === o[2]) run(o, o[0]);\n }, o[5]));\n });\n }\n var over = [];\n function hover(ids) {\n var left = over.filter(function(u2) {\n return ids.indexOf(u2) < 0;\n }), entered = ids.filter(function(u2) {\n return over.indexOf(u2) < 0;\n });\n over = ids;\n left.forEach(function(u2) {\n release(u2);\n active(u2, "leave").forEach(function(o) {\n run(o, u2);\n });\n });\n entered.slice().reverse().forEach(function(u2) {\n active(u2, "hover").concat(active(u2, "enter")).forEach(function(o) {\n run(o, u2);\n });\n });\n }\n var press = null;\n function onMove(e) {\n if (press) {\n var dx = e.clientX - press.x, dy = e.clientY - press.y;\n if (!press.dragged && Math.abs(dx) + Math.abs(dy) > 5) {\n press.dragged = true;\n var d = first(press.ids, "drag");\n if (d) {\n var du = d.u;\n press.drag = d;\n d.list.forEach(function(o) {\n if (o[4].k !== "orbit") run(o, du);\n });\n }\n if (press.held) {\n release(press.held);\n press.held = null;\n }\n }\n if (press.drag) {\n var k = root.getBoundingClientRect().width / (root.offsetWidth || 1) || 1;\n press.drag.list.forEach(function(o) {\n var a = o[4];\n if (a.k !== "orbit") return;\n var cur = orbit[a.t] || { rx: 0, ry: 0 };\n orbit[a.t] = { rx: cur.rx, ry: cur.ry + (e.clientX - press.lx) / k * a.d };\n if (a.tilt) {\n var tc = orbit[a.tt] || { rx: 0, ry: 0 };\n orbit[a.tt] = { ry: tc.ry, rx: Math.max(a.lo, Math.min(a.hi, tc.rx - (e.clientY - press.ly) / k * a.d)) };\n }\n set(a.t, 0, "linear");\n if (a.tt !== a.t) set(a.tt, 0, "linear");\n });\n press.lx = e.clientX;\n press.ly = e.clientY;\n return;\n }\n }\n hover(chain(e.target));\n }\n function onDown(e) {\n var ids = chain(e.target);\n press = { x: e.clientX, y: e.clientY, lx: e.clientX, ly: e.clientY, ids, dragged: false, drag: null, held: null };\n if (first(ids, "drag") && root.setPointerCapture) {\n try {\n root.setPointerCapture(e.pointerId);\n } catch (err) {\n }\n }\n var p = first(ids, "press");\n if (p) {\n var pu = p.u;\n press.held = pu;\n p.list.forEach(function(o) {\n run(o, pu);\n });\n }\n }\n function onUp(e) {\n var p = press;\n press = null;\n if (!p) return;\n if (p.held) release(p.held);\n if (p.dragged) return;\n var c = first(p.ids, "click");\n if (c) {\n var cu = c.u;\n c.list.forEach(function(o) {\n run(o, cu);\n });\n }\n void e;\n }\n function onLeave() {\n if (!press) hover([]);\n }\n function onKey(e) {\n spec.on.forEach(function(o) {\n if (o[3] === "key" && state[o[1]] === o[2] && (!o[6] || o[6].toLowerCase() === String(e.key).toLowerCase())) run(o, o[0]);\n });\n }\n for (var id in els) set(id, 0, "linear");\n root.addEventListener("pointermove", onMove);\n root.addEventListener("pointerdown", onDown);\n root.addEventListener("pointerup", onUp);\n root.addEventListener("pointercancel", onUp);\n root.addEventListener("pointerleave", onLeave);\n window.addEventListener("keydown", onKey);\n arm();\n return function() {\n timers.forEach(clearTimeout);\n root.removeEventListener("pointermove", onMove);\n root.removeEventListener("pointerdown", onDown);\n root.removeEventListener("pointerup", onUp);\n root.removeEventListener("pointercancel", onUp);\n root.removeEventListener("pointerleave", onLeave);\n window.removeEventListener("keydown", onKey);\n };\n}';
|
|
1113
|
+
var MACHINE_JS = '"use strict";\nvar __popcraftMachine = (() => {\n var __defProp = Object.defineProperty;\n var __defProps = Object.defineProperties;\n var __getOwnPropDesc = Object.getOwnPropertyDescriptor;\n var __getOwnPropDescs = Object.getOwnPropertyDescriptors;\n var __getOwnPropNames = Object.getOwnPropertyNames;\n var __getOwnPropSymbols = Object.getOwnPropertySymbols;\n var __hasOwnProp = Object.prototype.hasOwnProperty;\n var __propIsEnum = Object.prototype.propertyIsEnumerable;\n var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\n var __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n };\n var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\n var __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n };\n var __copyProps = (to, from, except, desc) => {\n if (from && typeof from === "object" || typeof from === "function") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n };\n var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);\n\n // packages/runtime/src/machine.ts\n var machine_exports = {};\n __export(machine_exports, {\n ANY_STATE: () => ANY_STATE,\n evaluateMachineExpr: () => evaluateMachineExpr,\n popcraftMachine: () => popcraftMachine,\n popcraftMachineCore: () => popcraftMachineCore\n });\n\n // packages/runtime/src/expressions.ts\n function nearestNote(notes, t) {\n if (!(notes == null ? void 0 : notes.length)) return -1;\n let lo = 0, hi = notes.length - 1;\n while (hi - lo > 1) {\n const mid = lo + hi >> 1;\n if (notes[mid].t <= t) lo = mid;\n else hi = mid;\n }\n return Math.abs(notes[lo].t - t) <= Math.abs(notes[hi].t - t) ? lo : hi;\n }\n function nearestBeat(beats, t) {\n if (!(beats == null ? void 0 : beats.length)) return -1;\n let lo = 0, hi = beats.length - 1;\n while (hi - lo > 1) {\n const mid = lo + hi >> 1;\n if (beats[mid] <= t) lo = mid;\n else hi = mid;\n }\n return Math.abs(beats[lo] - t) <= Math.abs(beats[hi] - t) ? lo : hi;\n }\n var laneHash = (i) => {\n let h = i + 2654435769 | 0;\n h = Math.imul(h ^ h >>> 16, 2246822507);\n h = Math.imul(h ^ h >>> 13, 3266489909);\n return (h ^ h >>> 16) >>> 0;\n };\n function laneOfBeat(i, lanes) {\n const n = Math.max(1, Math.round(lanes));\n if (n === 1 || i < 0) return 0;\n let lane = laneHash(0) % n;\n for (let j = 1; j <= i; j++) lane = (lane + 1 + laneHash(j) % (n - 1)) % n;\n return lane;\n }\n var ExprMissing = class extends Error {\n };\n var num = (v) => {\n if (typeof v === "number") return Number.isFinite(v) ? v : 0;\n if (typeof v === "boolean") return v ? 1 : 0;\n if (typeof v === "string") {\n const n = Number(v);\n return Number.isFinite(n) ? n : 0;\n }\n return 0;\n };\n var truthy = (v) => typeof v === "string" ? v !== "" && v !== "false" : typeof v === "object" ? true : num(v) !== 0;\n var exprText = (v) => typeof v === "number" ? Number.isInteger(v) ? String(v) : String(Number(v.toFixed(4))) : typeof v === "object" ? "" : String(v);\n var finite = (n) => Number.isFinite(n) ? n : 0;\n var DAY = 864e5;\n var dayOf = (ms) => {\n const d = new Date(ms);\n return Math.floor(new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime() / DAY + 0.5);\n };\n var keyOf = (name) => exprText(name).toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");\n function rowsOf(data, collection, pairs) {\n const rows = data == null ? void 0 : data.rows(exprText(collection));\n if (!rows) throw new ExprMissing(`No collection "${exprText(collection)}"`);\n if (pairs.length < 2) return rows;\n return rows.filter((r) => {\n var _a;\n for (let i = 0; i + 1 < pairs.length; i += 2) if (!same((_a = r.values[keyOf(pairs[i])]) != null ? _a : "", pairs[i + 1])) return false;\n return true;\n });\n }\n var since = (rows, days) => {\n const from = dayOf(Date.now()) - Math.max(0, Math.round(num(days)));\n return rows.filter((r) => r.at === void 0 || dayOf(r.at) >= from);\n };\n var total = (rows, field) => {\n const k = keyOf(field);\n return finite(rows.reduce((t, r) => t + (Number(r.values[k]) || 0), 0));\n };\n var FUNCTIONS = {\n /** How many records: `count("Trips")`, `count("Trips", "status", "Booked")` (each pair is a field and its value). */\n count: (a, data) => rowsOf(data, a[0], a.slice(1)).length,\n /** A number field added up: `sum("Sessions", "minutes")`, `sum("Sessions", "minutes", "kind", "Run")`. */\n sum: (a, data) => total(rowsOf(data, a[0], a.slice(2)), a[1]),\n /** How many different values a field has: `distinct("Dishes", "by")` is how many people are cooking. */\n distinct: (a, data) => {\n const k = keyOf(a[1]);\n return new Set(rowsOf(data, a[0], a.slice(2)).map((r) => {\n var _a;\n return exprText((_a = r.values[k]) != null ? _a : "");\n })).size;\n },\n /** The largest value of a number field: `best("Sessions", "minutes")`. */\n best: (a, data) => {\n const k = keyOf(a[1]);\n return rowsOf(data, a[0], a.slice(2)).reduce((m, r) => Math.max(m, Number(r.values[k]) || 0), 0);\n },\n /** Records made in the last days: `countSince("Sessions", 6)` is this week, `countSince("Checks", 0, "habit", item_id)` today\'s. */\n countSince: (a, data) => since(rowsOf(data, a[0], a.slice(2)), a[1]).length,\n /** Records made on one day, counted back from today: `countOn("Checks", 1, "habit", item_name)` is yesterday\'s. */\n countOn: (a, data) => {\n const day = dayOf(Date.now()) - Math.max(0, Math.round(num(a[1])));\n return rowsOf(data, a[0], a.slice(2)).filter((r) => {\n var _a;\n return dayOf((_a = r.at) != null ? _a : Date.now()) === day;\n }).length;\n },\n /** A number field added up over the last days: `sumSince("Sessions", "minutes", 6)`. */\n sumSince: (a, data) => total(since(rowsOf(data, a[0], a.slice(3)), a[2]), a[1]),\n /** Days in a row with a record, up to today (or yesterday, while today is still open): `streak("Checks", "habit", item_id)`. */\n streak: (a, data) => {\n const days = new Set(rowsOf(data, a[0], a.slice(1)).map((r) => {\n var _a;\n return dayOf((_a = r.at) != null ? _a : Date.now());\n }));\n let d = dayOf(Date.now());\n if (!days.has(d)) d -= 1;\n let n = 0;\n while (days.has(d)) {\n n++;\n d--;\n }\n return n;\n },\n /** Today as words: `today()` \u2192 "Friday 2 October". */\n today: () => (/* @__PURE__ */ new Date()).toLocaleDateString(void 0, { weekday: "long", day: "numeric", month: "long" }),\n min: (a) => Math.min(...a.map(num)),\n max: (a) => Math.max(...a.map(num)),\n clamp: (a) => Math.min(Math.max(num(a[0]), num(a[1])), num(a[2])),\n abs: (a) => Math.abs(num(a[0])),\n sign: (a) => Math.sign(num(a[0])),\n floor: (a) => Math.floor(num(a[0])),\n ceil: (a) => Math.ceil(num(a[0])),\n round: (a) => {\n var _a;\n const d = Math.max(0, Math.min(6, Math.round(num((_a = a[1]) != null ? _a : 0))));\n const f = 10 ** d;\n return Math.round(num(a[0]) * f) / f;\n },\n sqrt: (a) => finite(Math.sqrt(Math.max(0, num(a[0])))),\n pow: (a) => finite(num(a[0]) ** num(a[1])),\n /** Linear blend from a to b by t (0\u20261). */\n mix: (a) => num(a[0]) + (num(a[1]) - num(a[0])) * num(a[2]),\n /** A whole random number from lo to hi inclusive (a crit roll, a loot drop). */\n random: (a) => {\n var _a, _b;\n const lo = Math.ceil(num((_a = a[0]) != null ? _a : 0)), hi = Math.floor(num((_b = a[1]) != null ? _b : 1));\n return lo + Math.floor(Math.random() * (hi - lo + 1));\n },\n /**\n * How far the music is from its nearest beat, ms: negative before it, positive after (`abs(beat()) < 50` is a hit\n * within 50 ms). The beats are the screen\'s (detected from its music); 0 with none.\n */\n beat: (_a, data) => {\n var _a2, _b;\n const i = nearestBeat(data == null ? void 0 : data.beats, (_a2 = data == null ? void 0 : data.time) != null ? _a2 : 0);\n return i < 0 ? 0 : finite(((_b = data == null ? void 0 : data.time) != null ? _b : 0) - data.beats[i]);\n },\n /** Which beat is nearest (0, 1, 2 \u2026): remember it to score each beat once. -1 with no beats. */\n beatIndex: (_a, data) => {\n var _a2;\n return nearestBeat(data == null ? void 0 : data.beats, (_a2 = data == null ? void 0 : data.time) != null ? _a2 : 0);\n },\n /** The lane (0 \u2026 lanes \u2212 1) the nearest beat\'s note falls in: `beatLane(4) == 2` when the third lane\'s key is right. */\n beatLane: (a, data) => {\n var _a, _b;\n return laneOfBeat(nearestBeat(data == null ? void 0 : data.beats, (_a = data == null ? void 0 : data.time) != null ? _a : 0), num((_b = a[0]) != null ? _b : 4));\n },\n /**\n * How far the music is from its nearest note, ms (negative before it): the chart\'s (`timeline.notes`), else the\n * nearest beat\'s, like `beat()`.\n */\n note: (_a, data) => {\n var _a2, _b, _c;\n if (!((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length)) return FUNCTIONS.beat([], data);\n const i = nearestNote(data.notes, (_b = data.time) != null ? _b : 0);\n return finite(((_c = data.time) != null ? _c : 0) - data.notes[i].t);\n },\n /** Which note is nearest (0, 1, 2 \u2026), by the chart, else by the beats: remember it to score each note once. */\n noteIndex: (_a, data) => {\n var _a2, _b, _c;\n return ((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length) ? nearestNote(data.notes, (_b = data.time) != null ? _b : 0) : nearestBeat(data == null ? void 0 : data.beats, (_c = data == null ? void 0 : data.time) != null ? _c : 0);\n },\n /**\n * The lane of the nearest note: the chart\'s, else `beatLane(lanes)` (lanes defaults to 4). `noteLane() == 2` when\n * the third lane\'s key is right.\n */\n noteLane: (a, data) => {\n var _a, _b, _c, _d;\n if (!((_a = data == null ? void 0 : data.notes) == null ? void 0 : _a.length)) return laneOfBeat(nearestBeat(data == null ? void 0 : data.beats, (_b = data == null ? void 0 : data.time) != null ? _b : 0), num((_c = a[0]) != null ? _c : 4));\n return Math.round(num(data.notes[nearestNote(data.notes, (_d = data.time) != null ? _d : 0)].lane));\n },\n /** Note `i`\'s time (ms) by the chart, else beat `i`\'s; -1 when there is no such note. */\n noteAt: (a, data) => {\n var _a, _b;\n const i = Math.round(num((_a = a[0]) != null ? _a : 0));\n if ((_b = data == null ? void 0 : data.notes) == null ? void 0 : _b.length) return i >= 0 && i < data.notes.length ? data.notes[i].t : -1;\n return (data == null ? void 0 : data.beats) && i >= 0 && i < data.beats.length ? data.beats[i] : -1;\n },\n /** How many notes the chart has (else how many beats). */\n noteCount: (_a, data) => {\n var _a2, _b, _c;\n return ((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length) ? data.notes.length : (_c = (_b = data == null ? void 0 : data.beats) == null ? void 0 : _b.length) != null ? _c : 0;\n },\n /** The clock, in ms (a cooldown: `usedAt = now()`, then `now() - usedAt >= 3000`). */\n now: () => Date.now(),\n /** The value as text. */\n text: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "");\n },\n /** A whole number zero-padded to `n` digits: `pad(420, 6)` \u2192 "000420". */\n pad: (a) => {\n var _a;\n const n = Math.round(num(a[0]));\n const s = String(Math.abs(n)).padStart(Math.max(0, Math.min(12, num((_a = a[1]) != null ? _a : 0))), "0");\n return n < 0 ? `-${s}` : s;\n },\n /** A number with exactly `d` decimals: `fixed(12.5, 2)` \u2192 "12.50". */\n fixed: (a) => {\n var _a;\n return num(a[0]).toFixed(Math.max(0, Math.min(6, Math.round(num((_a = a[1]) != null ? _a : 0)))));\n },\n /** A number with thousands separators: `group(12500)` \u2192 "12,500". */\n group: (a) => Math.round(num(a[0])).toLocaleString("en-US"),\n /** Milliseconds (or seconds with `s`) as a clock: `clock(83450)` \u2192 "1:23.45". */\n clock: (a) => {\n const ms = Math.max(0, num(a[0]));\n const m = Math.floor(ms / 6e4), s = Math.floor(ms / 1e3) % 60, cs = Math.floor(ms / 10) % 100;\n return `${m}:${String(s).padStart(2, "0")}.${String(cs).padStart(2, "0")}`;\n },\n /** Text length. */\n len: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "").length;\n },\n upper: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "").toUpperCase();\n }\n };\n var same = (a, b) => typeof a === "string" || typeof b === "string" ? exprText(a) === exprText(b) : typeof a === "object" || typeof b === "object" ? JSON.stringify(a) === JSON.stringify(b) : num(a) === num(b);\n\n // packages/runtime/src/machine.ts\n var ANY_STATE = "*";\n var MAX_STEPS = 16;\n function evaluateMachineExpr(n, get, key) {\n switch (n.k) {\n case "lit":\n return n.v;\n case "key":\n return key != null ? key : "";\n case "time":\n return 0;\n case "var": {\n const v = get(n.name);\n if (v === void 0) throw new Error(`No input "${n.name}"`);\n return v;\n }\n case "un": {\n const a = evaluateMachineExpr(n.a, get, key);\n return n.op === "-" ? -num(a) : !truthy(a);\n }\n case "if":\n return truthy(evaluateMachineExpr(n.c, get, key)) ? evaluateMachineExpr(n.a, get, key) : evaluateMachineExpr(n.b, get, key);\n case "call":\n if (!Object.prototype.hasOwnProperty.call(FUNCTIONS, n.fn)) throw new Error(`No function "${n.fn}"`);\n return FUNCTIONS[n.fn](n.args.map((a) => evaluateMachineExpr(a, get, key)));\n case "bin": {\n if (n.op === "&&") {\n const a2 = evaluateMachineExpr(n.a, get, key);\n return truthy(a2) ? evaluateMachineExpr(n.b, get, key) : a2;\n }\n if (n.op === "||") {\n const a2 = evaluateMachineExpr(n.a, get, key);\n return truthy(a2) ? a2 : evaluateMachineExpr(n.b, get, key);\n }\n const a = evaluateMachineExpr(n.a, get, key), b = evaluateMachineExpr(n.b, get, key);\n switch (n.op) {\n case "+":\n return typeof a === "string" || typeof b === "string" ? exprText(a) + exprText(b) : finite(num(a) + num(b));\n case "-":\n return finite(num(a) - num(b));\n case "*":\n return finite(num(a) * num(b));\n case "/":\n return num(b) === 0 ? 0 : finite(num(a) / num(b));\n case "%": {\n const m = num(b);\n return m === 0 ? 0 : (num(a) % m + m) % m;\n }\n case "<":\n return num(a) < num(b);\n case "<=":\n return num(a) <= num(b);\n case ">":\n return num(a) > num(b);\n case ">=":\n return num(a) >= num(b);\n case "==":\n return same(a, b);\n case "!=":\n return !same(a, b);\n }\n }\n }\n throw new Error("Bad expression");\n }\n var isKey = (type) => type === "keyDown" || type === "keyUp";\n function popcraftMachineCore(spec) {\n const start = (id) => {\n const t = spec.in[id];\n return !t || t[0] === "event" || t[1] === null ? void 0 : t[1];\n };\n const valueOf = (values, id) => Object.prototype.hasOwnProperty.call(values, id) ? values[id] : start(id);\n function holds(g, values, fired) {\n const t = spec.in[g[0]];\n if (!t) return false;\n if (t[0] === "event") return fired.has(g[0]);\n const v = valueOf(values, g[0]), w = g[2];\n switch (g[1]) {\n case "eq":\n return v === w;\n case "neq":\n return v !== w;\n case "gt":\n return typeof v === "number" && typeof w === "number" && v > w;\n case "gte":\n return typeof v === "number" && typeof w === "number" && v >= w;\n case "lt":\n return typeof v === "number" && typeof w === "number" && v < w;\n case "lte":\n return typeof v === "number" && typeof w === "number" && v <= w;\n }\n return false;\n }\n function apply(values, actions, key) {\n const out = __spreadValues({}, values);\n const fired = /* @__PURE__ */ new Set();\n const get = (name) => {\n for (const id in spec.in) if (spec.in[id][2] === name || id === name) {\n const v = spec.in[id][0] === "event" ? void 0 : valueOf(out, id);\n if (v !== void 0) return v;\n }\n return void 0;\n };\n for (const a of actions) {\n const t = spec.in[a[1]];\n if (!t) continue;\n const cur = valueOf(out, a[1]), by = typeof a[2] === "number" ? a[2] : 1;\n switch (a[0]) {\n case "set": {\n if (a.length > 3) {\n let v;\n try {\n v = evaluateMachineExpr(a[3], get, key);\n } catch (e) {\n break;\n }\n if (t[0] === "event") {\n if (truthy(v)) fired.add(a[1]);\n } else out[a[1]] = t[0] === "number" ? finite(num(v)) : t[0] === "boolean" ? truthy(v) : exprText(v);\n } else if (t[0] === "event") fired.add(a[1]);\n else if (a.length > 2 && a[2] !== null && typeof a[2] === typeof cur) out[a[1]] = a[2];\n break;\n }\n case "toggle":\n if (typeof cur === "boolean") out[a[1]] = !cur;\n break;\n case "increment":\n if (typeof cur === "number") out[a[1]] = cur + by;\n break;\n case "decrement":\n if (typeof cur === "number") out[a[1]] = cur - by;\n break;\n case "fire":\n if (t[0] === "event") fired.add(a[1]);\n break;\n case "reset": {\n const s = start(a[1]);\n if (s === void 0) delete out[a[1]];\n else out[a[1]] = s;\n break;\n }\n }\n }\n return { values: out, fired };\n }\n function next(r, fired) {\n const own = spec.t.filter((t) => t[0] === r.state);\n const any = spec.t.filter((t) => t[0] === ANY_STATE && t[1] !== r.state);\n for (const t of own.concat(any)) if (spec.s[t[1]] && t[2].every((g) => holds(g, r.values, fired))) return t;\n return null;\n }\n function enter(r, id) {\n const res = apply(r.values, spec.s[id] ? spec.s[id][4] : []);\n return { run: { state: id, values: res.values }, fired: res.fired };\n }\n function settle(r, fired = /* @__PURE__ */ new Set()) {\n let cur = r, ev = fired;\n for (let i = 0; i < MAX_STEPS; i++) {\n const t = next(cur, ev);\n if (!t) break;\n const n = enter(cur, t[1]);\n cur = t[3] !== void 0 ? __spreadProps(__spreadValues({}, n.run), { via: t[3] }) : n.run;\n ev = n.fired;\n }\n return cur;\n }\n function begin() {\n const first = spec.s[spec.i] ? spec.i : Object.keys(spec.s)[0];\n if (first === void 0) return null;\n const values = {};\n for (const k in spec.in) {\n const s = start(k);\n if (s !== void 0) values[k] = s;\n }\n const e = enter({ state: first, values }, first);\n return settle(e.run, e.fired);\n }\n function hears(l, type, chain, key, root = spec.r) {\n var _a;\n if (l[0] !== type) return false;\n if (type === "complete" || type === "frame") return true;\n if (isKey(type)) return !l[3] || String(l[3]).toLowerCase() === (key != null ? key : "").toLowerCase();\n const at = (_a = l[1]) != null ? _a : root;\n return !at || chain.indexOf(at) >= 0;\n }\n function heard(type, chain = [], key, root) {\n const out = [];\n spec.l.forEach((l, i) => {\n if (hears(l, type, chain, key, root === void 0 ? spec.r : root)) out.push(i);\n });\n return out;\n }\n function run(r, idx, key) {\n if (!idx.length) return r;\n const actions = [];\n for (const i of idx) actions.push(...spec.l[i][2]);\n const res = apply(r.values, actions, key);\n return settle(__spreadProps(__spreadValues({}, r), { values: res.values }), res.fired);\n }\n function dispatch(r, type, chain = [], key, root) {\n return run(r, heard(type, chain, key, root), key);\n }\n function frame(r, from, to) {\n const idx = [];\n spec.l.forEach((l, i) => {\n if (l[0] !== "frame") return;\n const d = l[4];\n if (typeof d !== "number" || (from < d || from === 0 && d <= 0) && d <= to) idx.push(i);\n });\n return run(r, idx);\n }\n function set(r, id, value) {\n const t = spec.in[id];\n if (!t) return r;\n const res = apply(r.values, [t[0] === "event" ? ["fire", id] : ["set", id, value === void 0 ? null : value]]);\n return settle(__spreadProps(__spreadValues({}, r), { values: res.values }), res.fired);\n }\n const ticks = spec.l.some((l) => l[0] === "frame");\n return { begin, dispatch, set, frame, holds, apply, next, settle, heard, hears, ticks };\n }\n function popcraftMachine(root, spec, env) {\n var _a;\n const w = env || ((_a = root.ownerDocument) == null ? void 0 : _a.defaultView) || window;\n const core = popcraftMachineCore(spec);\n let run = core.begin();\n let anims = [], t0 = 0, done = false, raf = 0, over = [], last = -1;\n if (!run) return function() {\n };\n function chain(el) {\n const out = [];\n for (let n = el; n && n !== root.parentNode; n = n.parentNode) {\n const id = n.getAttribute && n.getAttribute("data-sm");\n if (id) out.push(id);\n if (n === root) {\n if (spec.r && out.indexOf(spec.r) < 0) out.push(spec.r);\n break;\n }\n }\n return out;\n }\n function update(r) {\n if (r === run) return;\n const changed = r.state !== run.state;\n run = r;\n if (!changed) return;\n t0 = w.performance.now();\n done = false;\n last = -1;\n root.dispatchEvent(new w.CustomEvent("popcraft:state", { detail: { state: r.state, name: spec.s[r.state] ? spec.s[r.state][5] : r.state, values: r.values } }));\n }\n function tick(now) {\n const s = spec.s[run.state];\n if (s) {\n const a = s[0], b = s[1], played = Math.max(0, now - t0) * s[3];\n let t;\n if (s[2] && b > a) t = a + played % (b - a);\n else {\n t = Math.min(b, a + played);\n if (!done && a + played >= b) {\n done = true;\n update(core.dispatch(run, "complete", []));\n }\n }\n anims.forEach((x) => {\n x.currentTime = t;\n });\n }\n if (core.ticks) {\n const el = Math.max(0, now - t0), from = last < 0 ? 0 : last;\n last = el;\n update(core.frame(run, from, el));\n }\n raf = w.requestAnimationFrame(tick);\n }\n function on(type) {\n return function(e) {\n update(core.dispatch(run, type, chain(e.target)));\n };\n }\n function onMove(e) {\n const ids = chain(e.target);\n const left = over.filter((u) => ids.indexOf(u) < 0), entered = ids.filter((u) => over.indexOf(u) < 0);\n over = ids;\n if (left.length) update(core.dispatch(run, "pointerExit", left));\n if (entered.length) update(core.dispatch(run, "pointerEnter", entered));\n }\n function onLeave() {\n if (over.length) {\n const left = over;\n over = [];\n update(core.dispatch(run, "pointerExit", left));\n }\n }\n function onKey(type) {\n return function(e) {\n const t = e.target;\n if (e.repeat || e.metaKey || e.ctrlKey || t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable)) return;\n const r = core.dispatch(run, type, [], e.key);\n if (r !== run) {\n e.preventDefault();\n update(r);\n }\n };\n }\n const down = on("pointerDown"), up = on("pointerUp"), click = on("click"), keyDown = onKey("keyDown"), keyUp = onKey("keyUp");\n anims = root.getAnimations ? root.getAnimations({ subtree: true }) : [];\n anims.forEach((x) => {\n x.pause();\n });\n t0 = w.performance.now();\n root.addEventListener("pointerdown", down);\n root.addEventListener("pointerup", up);\n root.addEventListener("click", click);\n root.addEventListener("pointermove", onMove);\n root.addEventListener("pointerleave", onLeave);\n w.addEventListener("keydown", keyDown);\n w.addEventListener("keyup", keyUp);\n raf = w.requestAnimationFrame(tick);\n function byName(k) {\n if (spec.in[k]) return k;\n for (const id in spec.in) if (spec.in[id][2] === k) return id;\n return k;\n }\n const api = {\n state: () => run.state,\n values: () => run.values,\n set: (input, value) => {\n update(core.set(run, byName(input), value));\n },\n fire: (input) => {\n update(core.set(run, byName(input), void 0));\n },\n destroy: () => {\n w.cancelAnimationFrame(raf);\n root.removeEventListener("pointerdown", down);\n root.removeEventListener("pointerup", up);\n root.removeEventListener("click", click);\n root.removeEventListener("pointermove", onMove);\n root.removeEventListener("pointerleave", onLeave);\n w.removeEventListener("keydown", keyDown);\n w.removeEventListener("keyup", keyUp);\n }\n };\n root.popcraftMachine = api;\n return api.destroy;\n }\n return __toCommonJS(machine_exports);\n})();\nvar popcraftMachine = __popcraftMachine.popcraftMachine, popcraftMachineCore = __popcraftMachine.popcraftMachineCore;';
|
|
1114
|
+
|
|
1115
|
+
// lib/io/web/state-machine.ts
|
|
1116
|
+
function webStateMachine(doc, frameId) {
|
|
1117
|
+
const sm = machineOf(doc.nodes[frameId]);
|
|
1118
|
+
if (!sm || !doc.nodes[frameId]?.timeline) return null;
|
|
1119
|
+
const timeline = frameTimeline(doc.nodes, frameId);
|
|
1120
|
+
const duration = timelineDuration(doc.nodes, frameId);
|
|
1121
|
+
return machineSpec(sm, (s) => stateStretch(s, timeline, duration), frameId);
|
|
1122
|
+
}
|
|
1123
|
+
var machineLayers = (spec) => new Set((spec?.l ?? []).map((l) => l[1]).filter((id) => !!id));
|
|
1124
|
+
var machineScript = (spec) => `${MACHINE_JS}
|
|
1125
|
+
popcraftMachine(document.querySelector('[data-sm-root]'), ${JSON.stringify(spec)});`;
|
|
1126
|
+
|
|
1127
|
+
// lib/io/web/interactive.ts
|
|
1128
|
+
var FLOW = "flow";
|
|
1129
|
+
var interactionsOf = (n) => n?.interactions ?? [];
|
|
1130
|
+
var realId = (id) => id.includes("::") ? id.slice(id.lastIndexOf("::") + 2) : id;
|
|
1131
|
+
var nodeOf = (doc, id) => doc.nodes[id] ?? (id.includes("::") ? resolveVirtualNode(doc.nodes, id) ?? void 0 : void 0);
|
|
1132
|
+
function subtreeIds(doc, id, out = /* @__PURE__ */ new Set()) {
|
|
1133
|
+
if (out.has(id)) return out;
|
|
1134
|
+
const n = doc.nodes[id];
|
|
1135
|
+
if (!n) return out;
|
|
1136
|
+
out.add(id);
|
|
1137
|
+
if (n.type === "INSTANCE") subtreeIds(doc, n.mainComponentId, out);
|
|
1138
|
+
for (const c of n.childIds ?? []) subtreeIds(doc, c, out);
|
|
1139
|
+
return out;
|
|
1140
|
+
}
|
|
1141
|
+
function flowScreens(doc, startId) {
|
|
1142
|
+
const start = doc.nodes[startId];
|
|
1143
|
+
if (!start || start.type !== "FRAME" || doc.nodes[start.parentId ?? ""]?.type !== "PAGE") return [startId];
|
|
1144
|
+
const out = [startId];
|
|
1145
|
+
for (let i = 0; i < out.length; i++) {
|
|
1146
|
+
for (const id of subtreeIds(doc, out[i])) {
|
|
1147
|
+
for (const ix of interactionsOf(doc.nodes[id])) {
|
|
1148
|
+
const to = ix.action.navigationType === "NAVIGATE" ? ix.action.destinationId : null;
|
|
1149
|
+
const dest = to ? doc.nodes[to] : void 0;
|
|
1150
|
+
if (!dest || out.includes(dest.id) || dest.type !== "FRAME" || doc.nodes[dest.parentId ?? ""]?.type !== "PAGE") continue;
|
|
1151
|
+
if (Math.round(dest.width) !== Math.round(start.width) || Math.round(dest.height) !== Math.round(start.height)) continue;
|
|
1152
|
+
out.push(dest.id);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
return out;
|
|
1157
|
+
}
|
|
1158
|
+
function variantStates(doc, mainId) {
|
|
1159
|
+
const out = [mainId];
|
|
1160
|
+
for (let i = 0; i < out.length; i++) {
|
|
1161
|
+
for (const id of subtreeIds(doc, out[i])) {
|
|
1162
|
+
for (const ix of interactionsOf(doc.nodes[id])) {
|
|
1163
|
+
const to = ix.action.navigationType === "CHANGE_TO" ? ix.action.destinationId : null;
|
|
1164
|
+
if (to && !out.includes(to) && doc.nodes[to]?.type === "COMPONENT") out.push(to);
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
return out;
|
|
1169
|
+
}
|
|
1170
|
+
var stateName = (doc, id) => {
|
|
1171
|
+
const n = doc.nodes[id];
|
|
1172
|
+
const v = n?.variantProperties;
|
|
1173
|
+
return v ? Object.values(v).join(", ") : n?.name ?? id;
|
|
1174
|
+
};
|
|
1175
|
+
var TRIGGERS = {
|
|
1176
|
+
ON_CLICK: "click",
|
|
1177
|
+
ON_HOVER: "hover",
|
|
1178
|
+
ON_PRESS: "press",
|
|
1179
|
+
ON_DRAG: "drag",
|
|
1180
|
+
MOUSE_ENTER: "enter",
|
|
1181
|
+
MOUSE_LEAVE: "leave",
|
|
1182
|
+
AFTER_TIMEOUT: "timeout",
|
|
1183
|
+
KEY_DOWN: "key"
|
|
1184
|
+
};
|
|
1185
|
+
var EASINGS = { EASE_IN: "ease-in", EASE_OUT: "ease-out", EASE_IN_OUT: "ease-in-out", LINEAR: "linear", SPRING: "cubic-bezier(0.34, 1.56, 0.64, 1)" };
|
|
1186
|
+
var glideOf = (t) => !t || t.type === "INSTANT" || t.type === "CUT" ? { ms: 0, easing: "linear" } : { ms: Math.max(0, Math.round(t.duration)), easing: EASINGS[t.easing] ?? "ease-in-out" };
|
|
1187
|
+
function buildState(ctx, doc, id, machine, state, start, variantOf) {
|
|
1188
|
+
const expand = /* @__PURE__ */ new Map();
|
|
1189
|
+
const tree = buildPlainTree(doc, id, ctx.opts, start, { built: (web, _node, at) => {
|
|
1190
|
+
if (web.type === "INSTANCE") expand.set(web, at);
|
|
1191
|
+
} });
|
|
1192
|
+
for (const r of tree.rules ?? []) ctx.rules.add(r);
|
|
1193
|
+
if (tree.truncated) ctx.truncated = true;
|
|
1194
|
+
const ids = /* @__PURE__ */ new Map();
|
|
1195
|
+
const index = (w) => {
|
|
1196
|
+
ids.set(w.id, w);
|
|
1197
|
+
w.children.forEach(index);
|
|
1198
|
+
};
|
|
1199
|
+
index(tree.root);
|
|
1200
|
+
const visit = (w, owner, st, isRoot) => {
|
|
1201
|
+
w.owner = owner;
|
|
1202
|
+
w.looks = { [st]: lookOf(w, isRoot) };
|
|
1203
|
+
if (w.motion) ctx.keyframes.add(w.motion.keyframes);
|
|
1204
|
+
const node = nodeOf(doc, w.id);
|
|
1205
|
+
note(ctx, w, interactionsOf(doc.nodes[realId(w.id)]), owner, st, ids);
|
|
1206
|
+
const at = expand.get(w);
|
|
1207
|
+
const inst = node?.type === "INSTANCE" ? node : void 0;
|
|
1208
|
+
const states = inst && at && ctx.depth < 4 ? variantStates(doc, inst.mainComponentId) : [];
|
|
1209
|
+
if (inst && at && states.length > 1 && w.id !== variantOf) {
|
|
1210
|
+
const m = { id: `m${ctx.machines.length}`, initial: inst.mainComponentId, states: states.map((s) => ({ id: s, name: stateName(doc, s) })) };
|
|
1211
|
+
ctx.machines.push(m);
|
|
1212
|
+
w.machine = m;
|
|
1213
|
+
const perState = [];
|
|
1214
|
+
for (const s of states) {
|
|
1215
|
+
let kids;
|
|
1216
|
+
if (s === inst.mainComponentId) {
|
|
1217
|
+
kids = w.children;
|
|
1218
|
+
kids.forEach((c) => visit(c, m.id, s, false));
|
|
1219
|
+
} else {
|
|
1220
|
+
const shown = { ...doc, nodes: { ...doc.nodes, [inst.id]: { ...inst, mainComponentId: s } } };
|
|
1221
|
+
ctx.depth++;
|
|
1222
|
+
try {
|
|
1223
|
+
kids = buildState(ctx, shown, inst.id, m.id, s, at, inst.id).children;
|
|
1224
|
+
} finally {
|
|
1225
|
+
ctx.depth--;
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
note(ctx, w, interactionsOf(doc.nodes[s]), m.id, s, ids, m.id);
|
|
1229
|
+
perState.push([s, kids]);
|
|
1230
|
+
}
|
|
1231
|
+
w.children = mergeChildren(perState, m.id, m.states.map((s) => s.id), ctx);
|
|
1232
|
+
} else if (w.id === variantOf) {
|
|
1233
|
+
w.children.forEach((c) => visit(c, owner, st, false));
|
|
1234
|
+
} else {
|
|
1235
|
+
if (inst) note(ctx, w, interactionsOf(doc.nodes[inst.mainComponentId]), owner, st, ids);
|
|
1236
|
+
w.children.forEach((c) => visit(c, owner, st, false));
|
|
1237
|
+
}
|
|
1238
|
+
};
|
|
1239
|
+
visit(tree.root, machine, state, !start);
|
|
1240
|
+
return tree.root;
|
|
1241
|
+
}
|
|
1242
|
+
function note(ctx, w, list, machine, state, ids, hostMachine) {
|
|
1243
|
+
if (!list.length) return;
|
|
1244
|
+
const at = ctx.pending.get(w) ?? [];
|
|
1245
|
+
for (const ix of list) at.push({ machine, state, ix, hostMachine: hostMachine ?? (machine !== FLOW ? machine : void 0), ids });
|
|
1246
|
+
ctx.pending.set(w, at);
|
|
1247
|
+
}
|
|
1248
|
+
function lookOf(w, isRoot) {
|
|
1249
|
+
return {
|
|
1250
|
+
style: { ...placementStyle(w, isRoot), ...w.style, ...w.motion?.style ?? {} },
|
|
1251
|
+
...w.text ? { text: w.text.characters } : {},
|
|
1252
|
+
...w.tf ? { tf: w.tf } : {}
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
function keyed(kids) {
|
|
1256
|
+
const seen = /* @__PURE__ */ new Map();
|
|
1257
|
+
return kids.map((k) => {
|
|
1258
|
+
const base = `${k.name}\0${k.type}`;
|
|
1259
|
+
const i = seen.get(base) ?? 0;
|
|
1260
|
+
seen.set(base, i + 1);
|
|
1261
|
+
return [`${base}\0${i}`, k];
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
function mergeChildren(perState, machine, states, ctx) {
|
|
1265
|
+
const order = [];
|
|
1266
|
+
const groups = /* @__PURE__ */ new Map();
|
|
1267
|
+
for (const [state, kids] of perState) {
|
|
1268
|
+
let after = -1;
|
|
1269
|
+
for (const [k, node] of keyed(kids)) {
|
|
1270
|
+
let at = order.indexOf(k);
|
|
1271
|
+
if (at < 0) {
|
|
1272
|
+
order.splice(after + 1, 0, k);
|
|
1273
|
+
at = after + 1;
|
|
1274
|
+
}
|
|
1275
|
+
after = at;
|
|
1276
|
+
(groups.get(k) ?? groups.set(k, []).get(k)).push([state, node]);
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
return order.map((k) => mergeNode(groups.get(k), machine, states, ctx));
|
|
1280
|
+
}
|
|
1281
|
+
function mergeNode(items, machine, states, ctx) {
|
|
1282
|
+
const [, first] = items[0];
|
|
1283
|
+
if (first.owner !== machine) {
|
|
1284
|
+
for (const [, w] of items.slice(1)) alias(ctx, w, first);
|
|
1285
|
+
return first;
|
|
1286
|
+
}
|
|
1287
|
+
const looks = {};
|
|
1288
|
+
for (const s of states) looks[s] = null;
|
|
1289
|
+
for (const [s, w] of items) looks[s] = w.looks?.[s] ?? null;
|
|
1290
|
+
const merged = { ...first, looks };
|
|
1291
|
+
const pend = items.flatMap(([, w]) => ctx.pending.get(w) ?? []);
|
|
1292
|
+
if (pend.length) ctx.pending.set(merged, pend);
|
|
1293
|
+
for (const [, w] of items) if (w !== merged) alias(ctx, w, merged);
|
|
1294
|
+
if (first.machine) {
|
|
1295
|
+
for (const [, w] of items) if (w.machine && w.machine !== first.machine) ctx.renamed.set(w.machine.id, first.machine.id);
|
|
1296
|
+
}
|
|
1297
|
+
merged.children = first.machine ? first.children : mergeChildren(items.map(([s, w]) => [s, w.children]), machine, states, ctx);
|
|
1298
|
+
return merged;
|
|
1299
|
+
}
|
|
1300
|
+
function alias(ctx, from, to) {
|
|
1301
|
+
const a = ctx.alias ??= /* @__PURE__ */ new Map();
|
|
1302
|
+
a.set(from, to);
|
|
1303
|
+
}
|
|
1304
|
+
function mergedOf(ctx, w) {
|
|
1305
|
+
const a = ctx.alias;
|
|
1306
|
+
let cur = w;
|
|
1307
|
+
for (let i = 0; i < 16 && a?.has(cur); i++) cur = a.get(cur);
|
|
1308
|
+
return cur;
|
|
1309
|
+
}
|
|
1310
|
+
function actionOf(ctx, p) {
|
|
1311
|
+
const a = p.ix.action;
|
|
1312
|
+
const glide = glideOf(a.transition);
|
|
1313
|
+
const hold = p.ix.trigger === "ON_HOVER" || p.ix.trigger === "ON_PRESS";
|
|
1314
|
+
switch (a.navigationType) {
|
|
1315
|
+
case "NAVIGATE":
|
|
1316
|
+
return a.destinationId && ctx.screens.has(a.destinationId) ? { kind: "go", machine: FLOW, to: a.destinationId, ...glide, ...hold ? { hold } : {} } : null;
|
|
1317
|
+
case "BACK":
|
|
1318
|
+
return ctx.screens.size > 1 ? { kind: "back", machine: FLOW } : null;
|
|
1319
|
+
case "CHANGE_TO":
|
|
1320
|
+
return p.hostMachine && a.destinationId ? { kind: "go", machine: p.hostMachine, to: a.destinationId, ...glide, ...hold ? { hold } : {} } : null;
|
|
1321
|
+
case "ORBIT_3D": {
|
|
1322
|
+
const o = a.orbit ?? {};
|
|
1323
|
+
const uidOf = (id) => {
|
|
1324
|
+
const w = id ? p.ids.get(id) : void 0;
|
|
1325
|
+
return w ? mergedOf(ctx, w).uid : void 0;
|
|
1326
|
+
};
|
|
1327
|
+
const uid = uidOf(a.destinationId);
|
|
1328
|
+
const tiltUid = uidOf(o.tiltLayerId) ?? uid;
|
|
1329
|
+
return uid === void 0 || tiltUid === void 0 ? null : { kind: "orbit", target: uid, tiltTarget: tiltUid, degreesPerPx: o.degreesPerPx ?? 0.4, tilt: !!o.tilt, tiltRange: o.tiltRange ?? [-30, 30] };
|
|
1330
|
+
}
|
|
1331
|
+
default:
|
|
1332
|
+
return null;
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
function buildWebTree(doc, nodeId, opts = {}) {
|
|
1336
|
+
const tree = buildTree(doc, nodeId, opts);
|
|
1337
|
+
const machine = opts.static || opts.stateMachine === false ? null : webStateMachine(doc, nodeId);
|
|
1338
|
+
return machine ? { ...tree, stateMachine: machine } : tree;
|
|
1339
|
+
}
|
|
1340
|
+
function buildTree(doc, nodeId, opts = {}) {
|
|
1341
|
+
if (opts.static || opts.target === "site") return buildPlainTree(doc, nodeId, opts);
|
|
1342
|
+
const screens = flowScreens(doc, nodeId);
|
|
1343
|
+
const anything = screens.length > 1 || [...subtreeIds(doc, nodeId)].some((id) => interactionsOf(doc.nodes[id]).some((ix) => ix.action.navigationType === "CHANGE_TO" || ix.action.navigationType === "ORBIT_3D"));
|
|
1344
|
+
if (!anything) return buildPlainTree(doc, nodeId, opts);
|
|
1345
|
+
const flow = { id: FLOW, initial: nodeId, states: screens.map((s) => ({ id: s, name: doc.nodes[s]?.name ?? s })) };
|
|
1346
|
+
const ctx = { doc, opts, screens: new Set(screens), machines: [flow], keyframes: /* @__PURE__ */ new Set(), rules: /* @__PURE__ */ new Set(), pending: /* @__PURE__ */ new Map(), depth: 0, renamed: /* @__PURE__ */ new Map() };
|
|
1347
|
+
const roots = screens.map((s) => [s, buildState(ctx, doc, s, FLOW, s)]);
|
|
1348
|
+
const truncated = !!ctx.truncated;
|
|
1349
|
+
const root = mergeNode(roots, FLOW, screens, ctx);
|
|
1350
|
+
let uid = 0;
|
|
1351
|
+
const number = (w) => {
|
|
1352
|
+
w.uid = uid++;
|
|
1353
|
+
w.children.forEach(number);
|
|
1354
|
+
};
|
|
1355
|
+
number(root);
|
|
1356
|
+
const place = (w) => {
|
|
1357
|
+
const pend = ctx.pending.get(w);
|
|
1358
|
+
if (pend) {
|
|
1359
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1360
|
+
const on = [];
|
|
1361
|
+
for (const raw of pend) {
|
|
1362
|
+
const p = { ...raw, machine: ctx.renamed.get(raw.machine) ?? raw.machine, ...raw.hostMachine ? { hostMachine: ctx.renamed.get(raw.hostMachine) ?? raw.hostMachine } : {} };
|
|
1363
|
+
const trigger = TRIGGERS[p.ix.trigger];
|
|
1364
|
+
const action = trigger ? actionOf(ctx, p) : null;
|
|
1365
|
+
if (!trigger || !action) continue;
|
|
1366
|
+
const ix = { machine: p.machine, state: p.state, trigger, ...p.ix.triggerDelay ? { delay: p.ix.triggerDelay } : {}, ...p.ix.triggerKey ? { key: p.ix.triggerKey } : {}, action };
|
|
1367
|
+
const sig = JSON.stringify(ix);
|
|
1368
|
+
if (!seen.has(sig)) {
|
|
1369
|
+
seen.add(sig);
|
|
1370
|
+
on.push(ix);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
if (on.length) w.on = on;
|
|
1374
|
+
}
|
|
1375
|
+
w.children.forEach(place);
|
|
1376
|
+
};
|
|
1377
|
+
place(root);
|
|
1378
|
+
return { root, truncated, ...ctx.rules.size ? { rules: [...ctx.rules].sort() } : {}, interactive: { machines: ctx.machines.filter((m) => !ctx.renamed.has(m.id)), keyframes: [...ctx.keyframes] } };
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
// lib/io/web/tree.ts
|
|
1382
|
+
var DEFAULT_NODE_CAP = 120;
|
|
1383
|
+
var EXPORT_NODE_CAP = 2e4;
|
|
1384
|
+
var PAINTED = ["background", "border", "border-style", "border-color", "border-width", "outline", "border-radius", "box-shadow", "box-sizing", "filter", "backdrop-filter"];
|
|
1385
|
+
var anchorMemo = /* @__PURE__ */ new WeakMap();
|
|
1386
|
+
function anchorTargets(doc) {
|
|
1387
|
+
const hit = anchorMemo.get(doc.nodes);
|
|
1388
|
+
if (hit) return hit;
|
|
1389
|
+
const out = /* @__PURE__ */ new Set();
|
|
1390
|
+
for (const id in doc.nodes) {
|
|
1391
|
+
const n = doc.nodes[id];
|
|
1392
|
+
if (n.semantics?.link?.kind === "anchor") out.add(n.semantics.link.nodeId);
|
|
1393
|
+
for (const ix of n.interactions ?? []) if (ix.action.link?.kind === "anchor" && ix.action.link.nodeId) out.add(ix.action.link.nodeId);
|
|
1394
|
+
}
|
|
1395
|
+
anchorMemo.set(doc.nodes, out);
|
|
1396
|
+
return out;
|
|
1397
|
+
}
|
|
1398
|
+
var SPRITE_MAX_DEPTH = 8;
|
|
1399
|
+
function gpuOnlyInstance(nodes, id, styles) {
|
|
1400
|
+
let leaves = 0;
|
|
1401
|
+
const visit = (nid, depth) => {
|
|
1402
|
+
const n = nodes[nid];
|
|
1403
|
+
if (!n || n.visible === false) return true;
|
|
1404
|
+
if (n.type === "PIXEL_GRID") {
|
|
1405
|
+
leaves++;
|
|
1406
|
+
return true;
|
|
1407
|
+
}
|
|
1408
|
+
if (depth > SPRITE_MAX_DEPTH) return false;
|
|
1409
|
+
const container = n.type === "INSTANCE" || n.type === "COMPONENT" || n.type === "FRAME" || n.type === "GROUP";
|
|
1410
|
+
const main = n.mainComponentId;
|
|
1411
|
+
const kids = n.childIds?.length ? n.childIds : main ? [main] : [];
|
|
1412
|
+
if (container) return kids.every((k) => visit(k, depth + 1));
|
|
1413
|
+
if (n.type === "TEXT") return false;
|
|
1414
|
+
const pictured = !expressibility(n, styles).css;
|
|
1415
|
+
if (pictured) leaves++;
|
|
1416
|
+
return pictured;
|
|
1417
|
+
};
|
|
1418
|
+
return visit(id, 0) && leaves > 0;
|
|
1419
|
+
}
|
|
1420
|
+
function prepared(node, doc) {
|
|
1421
|
+
let n = node;
|
|
1422
|
+
if (n.id.includes("::")) n = withInstanceBox(n, doc.nodes);
|
|
1423
|
+
n = resolveNodeVariables(n, doc.variables, doc.variableCollections, doc.activeVariableModes, exprData(doc));
|
|
1424
|
+
n = resolveTextNodeStyles(n, doc.styles ?? {});
|
|
1425
|
+
return n;
|
|
1426
|
+
}
|
|
1427
|
+
function layoutOf(node, nodes) {
|
|
1428
|
+
if (!node) return null;
|
|
1429
|
+
if (node.type === "INSTANCE") {
|
|
1430
|
+
const mainId = node.mainComponentId;
|
|
1431
|
+
const main = mainId ? nodes[mainId] : void 0;
|
|
1432
|
+
return main ?? null;
|
|
1433
|
+
}
|
|
1434
|
+
if (node.id.includes("::")) {
|
|
1435
|
+
const real = nodes[node.id.split("::").pop()];
|
|
1436
|
+
return real ?? node;
|
|
1437
|
+
}
|
|
1438
|
+
return node;
|
|
1439
|
+
}
|
|
1440
|
+
var isFlex = (f) => f?.layoutMode === "HORIZONTAL" || f?.layoutMode === "VERTICAL";
|
|
1441
|
+
var round4 = (v) => Math.round(v * 1e3) / 1e3;
|
|
1442
|
+
function buildPlainTree(doc, nodeId, opts = {}, start, hooks = {}) {
|
|
1443
|
+
const cap = opts.nodeCap ?? DEFAULT_NODE_CAP;
|
|
1444
|
+
const first = doc.nodes[nodeId] ?? (nodeId.includes("::") ? childLookup(doc, nodeId) : void 0);
|
|
1445
|
+
if (!first) throw new Error(`No node ${nodeId}`);
|
|
1446
|
+
let emitted = 0;
|
|
1447
|
+
let truncated = false;
|
|
1448
|
+
const stilled = [];
|
|
1449
|
+
let folds = 0;
|
|
1450
|
+
const tokens = opts.target === "site" && Object.keys(doc.variables ?? {}).length ? siteTokens(doc) : null;
|
|
1451
|
+
const anchored = anchorTargets(doc);
|
|
1452
|
+
const pageItem = () => {
|
|
1453
|
+
const c = opts.item && doc.collections?.[opts.item.collectionId];
|
|
1454
|
+
if (c && opts.item.recordId === ITEM_RECORD) return { collection: c, record: templateRecord(c), suffix: `~${ITEM_RECORD}` };
|
|
1455
|
+
const r = opts.item && doc.records?.[opts.item.recordId];
|
|
1456
|
+
return c && r ? { collection: c, record: r, suffix: "" } : null;
|
|
1457
|
+
};
|
|
1458
|
+
let item = pageItem();
|
|
1459
|
+
const scopeOf = (it) => itemScope(it.collection, it.record, withData(variablesScope(doc.variables, doc.variableCollections, doc.activeVariableModes), doc));
|
|
1460
|
+
const itemised = (node, raw, it) => itemNode(node, raw, it.collection, it.record, scopeOf(it));
|
|
1461
|
+
const itemLink = (link, it) => {
|
|
1462
|
+
const filled = it && link.kind === "url" ? { ...link, url: itemText(link.url, it.collection, it.record) } : it && (link.kind === "email" || link.kind === "tel") ? { ...link, value: itemText(link.value, it.collection, it.record) } : link;
|
|
1463
|
+
if (filled.kind === "screen") {
|
|
1464
|
+
const dest = doc.nodes[filled.frameId];
|
|
1465
|
+
const base = opts.routes?.[filled.frameId];
|
|
1466
|
+
const of = dest?.route?.collectionId;
|
|
1467
|
+
if (of && base !== void 0) {
|
|
1468
|
+
const slugField = it?.record.id === ITEM_RECORD && it.collection.id === of ? it.collection.fields.find((f) => f.id === it.collection.slugFieldId) ?? it.collection.fields.find((f) => f.type === "SLUG" || f.type === "TEXT") : void 0;
|
|
1469
|
+
if (slugField) return { link: filled, href: `${base === "/" ? "" : base}/${itemMark(fieldKey(slugField.name))}`, screen: filled.frameId };
|
|
1470
|
+
const slugs = recordSlugs(doc, of);
|
|
1471
|
+
const rec = it?.collection.id === of ? it.record.id : slugs.keys().next().value;
|
|
1472
|
+
const slug2 = rec ? slugs.get(rec) : void 0;
|
|
1473
|
+
return slug2 ? { link: filled, href: `${base === "/" ? "" : base}/${slug2}`, screen: `${filled.frameId}~${rec}` } : { link: filled, href: null };
|
|
1474
|
+
}
|
|
1475
|
+
return { link: filled, href: base ?? null, screen: filled.frameId };
|
|
1476
|
+
}
|
|
1477
|
+
if (filled.kind === "url" && it?.record.id === ITEM_RECORD && itemMarks(filled.url)) return { link: filled, href: filled.url.trim() };
|
|
1478
|
+
return { link: filled, href: hrefOf(filled, doc.nodes, opts.routes) };
|
|
1479
|
+
};
|
|
1480
|
+
const fields = /* @__PURE__ */ new Map();
|
|
1481
|
+
const styleOpts = { fullImageUrl: opts.fullImageUrls ?? opts.target === "site" };
|
|
1482
|
+
const stylesOf = (n) => styleMapFor(n, doc.styles, styleOpts);
|
|
1483
|
+
let motion = null;
|
|
1484
|
+
const timeline = !opts.static && !start && first.type === "FRAME" ? frameWebMotion(doc, first.id, (n) => stylesOf(prepared(n, doc))) : null;
|
|
1485
|
+
let nodesNow = doc.nodes;
|
|
1486
|
+
const build = (raw, parent, in3D, fold) => {
|
|
1487
|
+
const pinned = pinnedRecord(doc, raw);
|
|
1488
|
+
const outerItem = item, outerNodes = nodesNow;
|
|
1489
|
+
const pinnedTo = pinned ? doc.collections[pinned.collectionId] : void 0;
|
|
1490
|
+
const holds = raw.type === "INSTANCE" || !!raw.childIds?.length;
|
|
1491
|
+
const slugField = holds && pinnedTo?.schema && opts.listTemplates && opts.target === "site" ? pinnedTo.fields.find((f) => f.id === pinnedTo.slugFieldId) ?? pinnedTo.fields.find((f) => f.type === "SLUG") : void 0;
|
|
1492
|
+
if (pinned && pinnedTo) item = slugField ? { collection: pinnedTo, record: templateRecord(pinnedTo), suffix: item?.suffix ?? "" } : { collection: pinnedTo, record: pinned, suffix: item?.suffix ?? "" };
|
|
1493
|
+
if (item && raw.type === "INSTANCE" && raw.boundExpressions) {
|
|
1494
|
+
const shown = itemised(raw, raw, item);
|
|
1495
|
+
if (shown !== raw) nodesNow = { ...nodesNow, [raw.id]: shown };
|
|
1496
|
+
}
|
|
1497
|
+
try {
|
|
1498
|
+
const web = buildLayer(raw, parent, in3D, fold);
|
|
1499
|
+
if (!web || !pinned || !slugField) return web;
|
|
1500
|
+
const value2 = String(pinned.values[slugField.id] ?? "");
|
|
1501
|
+
return { ...web, children: [], repeat: { collectionId: pinnedTo.id, template: web.children, limit: 1, pick: { key: fieldKey(slugField.name), value: value2 } } };
|
|
1502
|
+
} finally {
|
|
1503
|
+
item = outerItem;
|
|
1504
|
+
nodesNow = outerNodes;
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1507
|
+
const buildLayer = (raw, parent, in3D, fold) => {
|
|
1508
|
+
if (emitted >= cap) {
|
|
1509
|
+
truncated = true;
|
|
1510
|
+
return null;
|
|
1511
|
+
}
|
|
1512
|
+
emitted++;
|
|
1513
|
+
const node = item ? itemised(prepared(raw, doc), raw, item) : prepared(raw, doc);
|
|
1514
|
+
const waits = node.visible === false && parent !== null;
|
|
1515
|
+
if (waits && !(opts.target === "site" && followsVisibility(raw))) return null;
|
|
1516
|
+
const exp = expressibility(node, doc.styles);
|
|
1517
|
+
const f = layoutOf(node, doc.nodes) ?? node;
|
|
1518
|
+
const style = stylesOf(node);
|
|
1519
|
+
if (f !== node && !style.display) Object.assign(style, flexDeclarations(f));
|
|
1520
|
+
const through = in3D && passesThrough(raw, doc.nodes);
|
|
1521
|
+
const own = typeof node.opacity === "number" ? node.opacity : 1;
|
|
1522
|
+
if (through) {
|
|
1523
|
+
style["transform-style"] = "preserve-3d";
|
|
1524
|
+
delete style.opacity;
|
|
1525
|
+
style[foldVar(fold + 1)] = fold ? `calc(var(${foldVar(fold)}) * ${round4(own)})` : String(round4(own));
|
|
1526
|
+
folds = Math.max(folds, fold + 1);
|
|
1527
|
+
} else if (fold) style.opacity = own === 1 ? `var(${foldVar(fold)})` : `calc(var(${foldVar(fold)}) * ${round4(own)})`;
|
|
1528
|
+
if (own === 0) style["pointer-events"] = "none";
|
|
1529
|
+
if (clickable(raw) && !style.cursor) style.cursor = "pointer";
|
|
1530
|
+
const web = {
|
|
1531
|
+
id: item?.suffix ? `${node.id}${item.suffix}` : node.id,
|
|
1532
|
+
name: node.name || node.type,
|
|
1533
|
+
type: node.type,
|
|
1534
|
+
x: Math.round(node.x),
|
|
1535
|
+
y: Math.round(node.y),
|
|
1536
|
+
width: Math.round(node.width),
|
|
1537
|
+
height: Math.round(node.height),
|
|
1538
|
+
// Absolutely-positioned auto-layout children are taken out of the flow, exactly as the canvas does.
|
|
1539
|
+
// A grid's children are in its flow too: its tracks place them.
|
|
1540
|
+
positioning: (isFlex(layoutOf(parent, doc.nodes)) || layoutOf(parent, doc.nodes)?.layoutMode === "GRID") && node.layoutPositioning !== "ABSOLUTE" ? "flow" : "absolute",
|
|
1541
|
+
style,
|
|
1542
|
+
children: []
|
|
1543
|
+
};
|
|
1544
|
+
const scaling = webScaling(node);
|
|
1545
|
+
if (scaling) web.scaling = scaling;
|
|
1546
|
+
if (tokens) Object.assign(style, tokenStyle(raw, style, tokens));
|
|
1547
|
+
if (opts.target === "site") {
|
|
1548
|
+
const lay = siteLayout(node, parent, layoutOf(parent, doc.nodes));
|
|
1549
|
+
for (const [k, v] of Object.entries(lay.style)) {
|
|
1550
|
+
if (v === null) delete style[k];
|
|
1551
|
+
else style[k] = v;
|
|
1552
|
+
}
|
|
1553
|
+
if (laysOut(f) || f.overflowScrolling) Object.assign(style, containerStyle(f));
|
|
1554
|
+
if (node.type === "TEXT") {
|
|
1555
|
+
if (style["white-space"] === "pre") {
|
|
1556
|
+
style["white-space"] = "pre-wrap";
|
|
1557
|
+
style.width = "fit-content";
|
|
1558
|
+
}
|
|
1559
|
+
if (style["max-width"] === void 0) style["max-width"] = "100%";
|
|
1560
|
+
if (style.height && style.height !== "auto") {
|
|
1561
|
+
style["min-height"] = style.height;
|
|
1562
|
+
delete style.height;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
if (lay.place && (parent !== null || !start?.parent)) web.place = lay.place;
|
|
1566
|
+
}
|
|
1567
|
+
if (waits) web.hidden = true;
|
|
1568
|
+
const sem = node.semantics;
|
|
1569
|
+
if (sem) {
|
|
1570
|
+
if (sem.tag && sem.tag !== "div") web.tag = sem.tag;
|
|
1571
|
+
const attrs = {};
|
|
1572
|
+
if (sem.label) attrs["aria-label"] = sem.label;
|
|
1573
|
+
if (sem.hidden) attrs["aria-hidden"] = "true";
|
|
1574
|
+
if (Object.keys(attrs).length) web.attrs = attrs;
|
|
1575
|
+
const to = sem.link ? itemLink(sem.link, item) : null;
|
|
1576
|
+
if (to?.href) web.link = { href: to.href, ...opensNewTab(to.link) ? { newTab: true } : {}, ...to.screen ? { screen: to.screen } : {} };
|
|
1577
|
+
}
|
|
1578
|
+
const control = node.control;
|
|
1579
|
+
if (control) {
|
|
1580
|
+
const named = control.name ? { name: control.name } : {};
|
|
1581
|
+
if (control.kind === "FORM") {
|
|
1582
|
+
web.tag = "form";
|
|
1583
|
+
if (isCommerceAction(control.formAction)) web.action = control.formAction;
|
|
1584
|
+
} else if (control.kind === "BUTTON") {
|
|
1585
|
+
web.tag = "button";
|
|
1586
|
+
web.attrs = { ...web.attrs, type: control.buttonType ?? "submit", ...named, ...control.name && control.value !== void 0 ? { value: item && hasItemToken(control.value) ? itemText(control.value, item.collection, item.record) : control.value } : {} };
|
|
1587
|
+
} else if (control.kind === "CHECKBOX" || control.kind === "RADIO") {
|
|
1588
|
+
web.check = { attrs: { type: control.kind === "RADIO" ? "radio" : "checkbox", ...named, ...control.value !== void 0 ? { value: control.value } : {}, ...control.checked ? { checked: "" } : {}, ...control.required ? { required: "" } : {} }, ...control.variableId ? { variable: control.variableId } : {} };
|
|
1589
|
+
} else fields.set(fieldPart(doc.nodes, raw.id) ?? raw.id, control);
|
|
1590
|
+
}
|
|
1591
|
+
const control0 = fields.get(raw.id);
|
|
1592
|
+
const field = control0 && item && control0.value !== void 0 && hasItemToken(control0.value) ? { ...control0, value: itemText(control0.value, item.collection, item.record) } : control0;
|
|
1593
|
+
if (field) {
|
|
1594
|
+
const tag = field.kind === "TEXTAREA" ? "textarea" : field.kind === "SELECT" ? "select" : "input";
|
|
1595
|
+
const words = node.characters;
|
|
1596
|
+
web.input = {
|
|
1597
|
+
tag,
|
|
1598
|
+
attrs: {
|
|
1599
|
+
...tag === "input" ? { type: field.inputType ?? "text" } : {},
|
|
1600
|
+
...field.name ? { name: field.name } : {},
|
|
1601
|
+
...tag !== "select" && (field.placeholder ?? words) ? { placeholder: field.placeholder ?? words } : {},
|
|
1602
|
+
...field.required ? { required: "" } : {},
|
|
1603
|
+
...tag === "input" && field.value !== void 0 ? { value: field.value } : {},
|
|
1604
|
+
"aria-label": node.semantics?.label ?? field.placeholder ?? field.name ?? web.name
|
|
1605
|
+
},
|
|
1606
|
+
...tag === "select" ? { options: field.options ?? [] } : {},
|
|
1607
|
+
...tag !== "input" && field.value !== void 0 ? { value: field.value } : {},
|
|
1608
|
+
...field.variableId ? { variable: field.variableId } : {}
|
|
1609
|
+
};
|
|
1610
|
+
}
|
|
1611
|
+
if (sem?.anchor || anchored.has(node.id)) web.attrs = { ...web.attrs, id: anchorOf(node) };
|
|
1612
|
+
if (through) web.preserve3d = true;
|
|
1613
|
+
web.tf = transformParts(node);
|
|
1614
|
+
if (typeof node.altText === "string") web.alt = node.altText;
|
|
1615
|
+
if (parent === null) web.positioning = start?.parent ? web.positioning : "flow";
|
|
1616
|
+
if (f.layoutMode === "HORIZONTAL" || f.layoutMode === "VERTICAL") {
|
|
1617
|
+
web.layout = {
|
|
1618
|
+
direction: f.layoutMode === "HORIZONTAL" ? "row" : "column",
|
|
1619
|
+
gap: f.itemSpacing ?? 0,
|
|
1620
|
+
justify: JUSTIFY[f.primaryAxisAlignItems ?? "MIN"],
|
|
1621
|
+
align: ALIGN[f.counterAxisAlignItems ?? "MIN"],
|
|
1622
|
+
padding: f.padding ?? { top: 0, right: 0, bottom: 0, left: 0 }
|
|
1623
|
+
};
|
|
1624
|
+
}
|
|
1625
|
+
if (node.type === "TEXT") {
|
|
1626
|
+
const t = node;
|
|
1627
|
+
const solid = (t.fills ?? []).find((p) => p.visible !== false && p.type === "SOLID" && p.color);
|
|
1628
|
+
web.text = {
|
|
1629
|
+
characters: t.characters ?? "",
|
|
1630
|
+
align: t.textAlign,
|
|
1631
|
+
fontFamily: t.fontFamily,
|
|
1632
|
+
fontSize: t.fontSize,
|
|
1633
|
+
fontWeight: t.fontWeight,
|
|
1634
|
+
italic: t.fontStyle === "italic",
|
|
1635
|
+
...solid?.color ? { color: toHex(solid.color) } : {},
|
|
1636
|
+
...t.letterSpacing ? { letterSpacing: t.letterSpacing } : {},
|
|
1637
|
+
...t.lineHeight !== "AUTO" ? { lineHeight: t.lineHeight } : {}
|
|
1638
|
+
};
|
|
1639
|
+
const runs = textRuns(t);
|
|
1640
|
+
if (runs) web.runs = runs;
|
|
1641
|
+
}
|
|
1642
|
+
const tl = timeline?.get(node.id);
|
|
1643
|
+
const mo = tl ?? motion?.children.get(node.id);
|
|
1644
|
+
if (mo) web.motion = { style: animationStyle(mo, tl ? "load" : motion.trigger), keyframes: keyframesCSS(mo) };
|
|
1645
|
+
const ext = getNativeExtension(raw.type);
|
|
1646
|
+
if (ext?.toWeb) {
|
|
1647
|
+
const said = ext.toWeb(node, { escape: escapeHTML, color: (c) => toRgba({ ...c, a: c.a ?? 1 }) });
|
|
1648
|
+
if (said.tag) web.tag = said.tag;
|
|
1649
|
+
Object.assign(style, said.style);
|
|
1650
|
+
web.html = said.html;
|
|
1651
|
+
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1652
|
+
return web;
|
|
1653
|
+
}
|
|
1654
|
+
const code = opts.target === "site" ? codeOf(doc.nodes, raw) : null;
|
|
1655
|
+
if (code && doc.codeModules?.[code.moduleId]) {
|
|
1656
|
+
for (const k of PAINTED) delete style[k];
|
|
1657
|
+
web.code = { module: code.moduleId, ...code.exportName ? { export: code.exportName } : {}, props: codeProps(doc.nodes, node) };
|
|
1658
|
+
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1659
|
+
return web;
|
|
1660
|
+
}
|
|
1661
|
+
const sprite = opts.target === "site" && raw.type === "INSTANCE" && !raw.id.includes("::") && isLive(doc.nodes, raw.id) && gpuOnlyInstance(doc.nodes, raw.id, doc.styles);
|
|
1662
|
+
if (!exp.css || sprite) {
|
|
1663
|
+
for (const k of PAINTED) delete style[k];
|
|
1664
|
+
web.asset = { kind: opts.assetKind ?? (exp.needsRaster ? "png" : "svg"), reason: exp.reason || (sprite ? "an animated sprite" : ""), ...item?.suffix ? { of: node.id } : {} };
|
|
1665
|
+
if (isPixelArt(doc, raw.id)) style["image-rendering"] = "pixelated";
|
|
1666
|
+
if (sprite || opts.target === "site" && renderMode(node, { styles: doc.styles, live: isLive(doc.nodes, raw.id) }) === "island") web.island = true;
|
|
1667
|
+
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1668
|
+
return web;
|
|
1669
|
+
}
|
|
1670
|
+
const lost = capability(node, "css", doc.styles).dropped.find((f2) => f2.startsWith("paint:"));
|
|
1671
|
+
if (lost && !node.id.includes("::")) {
|
|
1672
|
+
const site = opts.target === "site";
|
|
1673
|
+
style.isolation = "isolate";
|
|
1674
|
+
web.children.push({
|
|
1675
|
+
id: `${node.id}/backdrop${item?.suffix ?? ""}`,
|
|
1676
|
+
name: `${web.name} fill`,
|
|
1677
|
+
type: "BACKDROP",
|
|
1678
|
+
x: 0,
|
|
1679
|
+
y: 0,
|
|
1680
|
+
width: web.width,
|
|
1681
|
+
height: web.height,
|
|
1682
|
+
positioning: "absolute",
|
|
1683
|
+
...site ? { place: { position: "absolute", inset: "0" } } : {},
|
|
1684
|
+
style: { ...site ? {} : { width: `${web.width}px`, height: `${web.height}px` }, "border-radius": "inherit", overflow: "hidden", "z-index": "-1", "pointer-events": "none" },
|
|
1685
|
+
alt: "",
|
|
1686
|
+
asset: { kind: "png", reason: featureName(lost), of: node.id, self: true },
|
|
1687
|
+
...site && movesItself(raw) ? { island: true } : {},
|
|
1688
|
+
children: []
|
|
1689
|
+
});
|
|
1690
|
+
}
|
|
1691
|
+
const outer = motion;
|
|
1692
|
+
if (!motion && node.type === "INSTANCE" && !opts.static) {
|
|
1693
|
+
motion = instanceWebMotion(doc, node, (n) => stylesOf(prepared(n, doc)));
|
|
1694
|
+
if (motion && (motion.trigger !== "load" || opts.target === "site")) web.motionTrigger = motion.trigger;
|
|
1695
|
+
} else if (!motion && node.type === "INSTANCE" && opts.static && instanceWebMotion(doc, node, () => ({}))) {
|
|
1696
|
+
stilled.push({ feature: "motion", reason: STATIC_REASON, nodeId: web.id });
|
|
1697
|
+
}
|
|
1698
|
+
try {
|
|
1699
|
+
if (opts.includeChildren !== false) {
|
|
1700
|
+
const kids3D = in3D ? through : is3DContext(raw) && !raw.id.includes("::");
|
|
1701
|
+
const kidFold = through ? fold + 1 : 0;
|
|
1702
|
+
const repeat = raw.repeat;
|
|
1703
|
+
const collection = repeat && doc.collections?.[repeat.collectionId];
|
|
1704
|
+
if (repeat && collection && opts.target === "site") {
|
|
1705
|
+
const outerItem = item;
|
|
1706
|
+
const under = outerItem ? scopeOf(outerItem) : withData(variablesScope(doc.variables, doc.variableCollections, doc.activeVariableModes), doc);
|
|
1707
|
+
try {
|
|
1708
|
+
for (const record of repeatRecords(doc, repeat, under)) {
|
|
1709
|
+
item = { collection, record, suffix: `${outerItem?.suffix ?? ""}~${record.id}` };
|
|
1710
|
+
for (const child of childrenOf(node, nodesNow)) {
|
|
1711
|
+
const built = build(child, node, kids3D, kidFold);
|
|
1712
|
+
if (built) web.children.push(built);
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
if (collection.perVisitor && !outerItem || collection.schema && opts.listTemplates) {
|
|
1716
|
+
item = { collection, record: templateRecord(collection), suffix: `~${ITEM_RECORD}` };
|
|
1717
|
+
const template = [];
|
|
1718
|
+
for (const child of childrenOf(node, nodesNow)) {
|
|
1719
|
+
const built = build(child, node, kids3D, kidFold);
|
|
1720
|
+
if (built) template.push(built);
|
|
1721
|
+
}
|
|
1722
|
+
const sortField = repeat.sort && collection.fields.find((f2) => f2.id === repeat.sort.fieldId);
|
|
1723
|
+
web.repeat = {
|
|
1724
|
+
collectionId: collection.id,
|
|
1725
|
+
template,
|
|
1726
|
+
...repeat.filter?.trim() ? { filter: repeat.filter } : {},
|
|
1727
|
+
...sortField ? { sort: { key: fieldKey(sortField.name), dir: repeat.sort.dir } } : {},
|
|
1728
|
+
...repeat.offset ? { offset: repeat.offset } : {},
|
|
1729
|
+
...repeat.limit ? { limit: repeat.limit } : {}
|
|
1730
|
+
};
|
|
1731
|
+
}
|
|
1732
|
+
} finally {
|
|
1733
|
+
item = outerItem;
|
|
1734
|
+
}
|
|
1735
|
+
} else for (const child of childrenOf(node, nodesNow)) {
|
|
1736
|
+
const built = build(child, node, kids3D, kidFold);
|
|
1737
|
+
if (built) web.children.push(...opts.target === "site" ? breakpointPictures(doc, child, built) : [built]);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
} finally {
|
|
1741
|
+
motion = outer;
|
|
1742
|
+
}
|
|
1743
|
+
if (web.children.some((c) => c.positioning === "absolute")) {
|
|
1744
|
+
for (const c of web.children) if (c.positioning === "flow") c.layered = true;
|
|
1745
|
+
}
|
|
1746
|
+
if (scaling && opts.target === "site") wrapScaledContent(web, scaling);
|
|
1747
|
+
else if (scaling && opts.scaleRoot && !parent) {
|
|
1748
|
+
Object.assign(web.style, SCALED_ROOT);
|
|
1749
|
+
wrapScaledContent(web, scaling);
|
|
1750
|
+
}
|
|
1751
|
+
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1752
|
+
return web;
|
|
1753
|
+
};
|
|
1754
|
+
const root = build(first, start?.parent ?? null, start?.in3D ?? false, start?.fold ?? 0);
|
|
1755
|
+
if (!root) throw new Error("Node cap of 0");
|
|
1756
|
+
const screen = !start && opts.behaviors !== false && isScreen(doc, nodeId);
|
|
1757
|
+
const behaviors = screen && !opts.static ? screenBehaviors(doc, nodeId) : null;
|
|
1758
|
+
const dropped = mergeDropped(screen && opts.static ? staticDropped(doc, nodeId) : [], stilled);
|
|
1759
|
+
return { root, truncated, ...folds ? { rules: foldRules(folds) } : {}, ...tokens?.vars.length ? { tokens } : {}, ...behaviors ? { behaviors } : {}, ...dropped.length ? { dropped } : {} };
|
|
1760
|
+
}
|
|
1761
|
+
function breakpointPictures(doc, raw, built) {
|
|
1762
|
+
const r = raw.responsive;
|
|
1763
|
+
if (!built.asset || built.island || !r) return [built];
|
|
1764
|
+
const order = breakpointsOf(doc).map((b) => b.id);
|
|
1765
|
+
const redrawn = order.filter((b) => r[b]?.paths);
|
|
1766
|
+
if (!redrawn.length) return [built];
|
|
1767
|
+
const paths = JSON.stringify(raw.paths);
|
|
1768
|
+
const shown = [...redrawn].reverse().find((b) => JSON.stringify(r[b].paths) === paths) ?? null;
|
|
1769
|
+
const hide = (n) => ({ ...n, style: { ...n.style, display: "none" } });
|
|
1770
|
+
return [
|
|
1771
|
+
shown ? hide(built) : built,
|
|
1772
|
+
...redrawn.map((b) => {
|
|
1773
|
+
const alt = { ...built, id: `${built.id}@${b}`, children: [], asset: { kind: built.asset.kind, reason: built.asset.reason, of: built.asset.of ?? built.id, breakpoint: b } };
|
|
1774
|
+
return b === shown ? alt : hide(alt);
|
|
1775
|
+
})
|
|
1776
|
+
];
|
|
1777
|
+
}
|
|
1778
|
+
var foldVar = (depth) => `--pc-f${depth}`;
|
|
1779
|
+
var foldRules = (depth) => Array.from({ length: depth }, (_, i) => `@property ${foldVar(i + 1)} { syntax: '<number>'; inherits: true; initial-value: 1; }`);
|
|
1780
|
+
function childLookup(doc, id) {
|
|
1781
|
+
const at = id.lastIndexOf("::");
|
|
1782
|
+
const host = at > 0 ? id.slice(0, at) : "";
|
|
1783
|
+
const hostNode = doc.nodes[host] ?? (host.includes("::") ? childLookup(doc, host) : void 0);
|
|
1784
|
+
return hostNode ? childrenOf(hostNode, doc.nodes).find((c) => c.id === id) : void 0;
|
|
1785
|
+
}
|
|
1786
|
+
var clickable = (n) => !!n.semantics?.link || (n.interactions ?? []).some((ix) => ix.trigger === "ON_CLICK" || ix.trigger === "ON_PRESS");
|
|
1787
|
+
function flatten(node, out = []) {
|
|
1788
|
+
out.push(node);
|
|
1789
|
+
for (const c of node.children) flatten(c, out);
|
|
1790
|
+
return out;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
export {
|
|
1794
|
+
cleanName,
|
|
1795
|
+
swiftColor,
|
|
1796
|
+
composeColor,
|
|
1797
|
+
parseCssColor,
|
|
1798
|
+
styleMapFor,
|
|
1799
|
+
styleMapToCSSText,
|
|
1800
|
+
styleMapToInline,
|
|
1801
|
+
styleMapToJSX,
|
|
1802
|
+
expressibility,
|
|
1803
|
+
escapeHTML,
|
|
1804
|
+
placementStyle,
|
|
1805
|
+
altFor,
|
|
1806
|
+
labelSVG,
|
|
1807
|
+
imageRoleAttrs,
|
|
1808
|
+
pictureOf,
|
|
1809
|
+
MOTION_PLAY_RULE,
|
|
1810
|
+
CHECK_STYLE,
|
|
1811
|
+
elementOf,
|
|
1812
|
+
MOTION_SCRIPT,
|
|
1813
|
+
modeClass,
|
|
1814
|
+
siteTokens,
|
|
1815
|
+
tokensCSS,
|
|
1816
|
+
screenBehaviors,
|
|
1817
|
+
behaviorsDropped,
|
|
1818
|
+
mergeDropped,
|
|
1819
|
+
PROTOTYPE_JS,
|
|
1820
|
+
webStateMachine,
|
|
1821
|
+
machineLayers,
|
|
1822
|
+
machineScript,
|
|
1823
|
+
variantStates,
|
|
1824
|
+
buildWebTree,
|
|
1825
|
+
DEFAULT_NODE_CAP,
|
|
1826
|
+
EXPORT_NODE_CAP,
|
|
1827
|
+
SPRITE_MAX_DEPTH,
|
|
1828
|
+
prepared,
|
|
1829
|
+
buildPlainTree,
|
|
1830
|
+
breakpointPictures,
|
|
1831
|
+
foldVar,
|
|
1832
|
+
foldRules,
|
|
1833
|
+
flatten
|
|
1834
|
+
};
|