voxflow 1.14.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -2
- package/bin/voxflow.js +27 -0
- package/dist/index.js +1 -1
- package/dist/remotion-bundle/02a2fb2eb80bc7bf.woff2 +0 -0
- package/dist/remotion-bundle/052ca5351e5e06ba.woff2 +0 -0
- package/dist/remotion-bundle/05853dd28f4019cb.woff2 +0 -0
- package/dist/remotion-bundle/072ead3737f7c0d0.woff2 +0 -0
- package/dist/remotion-bundle/07d4248613c86a2e.woff2 +0 -0
- package/dist/remotion-bundle/0884a5c2d1d2d99b.woff2 +0 -0
- package/dist/remotion-bundle/0b0e185b2752095e.woff2 +0 -0
- package/dist/remotion-bundle/0e66c11bde067d91.woff2 +0 -0
- package/dist/remotion-bundle/0f7794cfba2c5d21.woff2 +0 -0
- package/dist/remotion-bundle/0fdbae5a4365783a.woff2 +0 -0
- package/dist/remotion-bundle/112.bundle.js +11 -0
- package/dist/remotion-bundle/112.bundle.js.map +1 -0
- package/dist/remotion-bundle/113.bundle.js +11 -0
- package/dist/remotion-bundle/113.bundle.js.map +1 -0
- package/dist/remotion-bundle/119cae0c4c16f7ed.woff2 +0 -0
- package/dist/remotion-bundle/14725f649fd1e78c.woff2 +0 -0
- package/dist/remotion-bundle/14abe9e3f95f7888.woff2 +0 -0
- package/dist/remotion-bundle/163.bundle.js +14678 -0
- package/dist/remotion-bundle/163.bundle.js.map +1 -0
- package/dist/remotion-bundle/1808c54072bf6d14.woff2 +0 -0
- package/dist/remotion-bundle/18948bec3e3012fe.woff2 +0 -0
- package/dist/remotion-bundle/1a661c60d0fc84fc.woff2 +0 -0
- package/dist/remotion-bundle/1af94941e1bc7e1e.woff2 +0 -0
- package/dist/remotion-bundle/1bee0219595f606c.woff2 +0 -0
- package/dist/remotion-bundle/1bfd5da7ce9d4ec4.woff2 +0 -0
- package/dist/remotion-bundle/1c158d56f1884f3f.woff2 +0 -0
- package/dist/remotion-bundle/1cf5e88e667610eb.woff2 +0 -0
- package/dist/remotion-bundle/1d431bd10f53c481.woff2 +0 -0
- package/dist/remotion-bundle/1d701a81a7670db2.woff2 +0 -0
- package/dist/remotion-bundle/1da0fecad4240f16.woff2 +0 -0
- package/dist/remotion-bundle/1ed14d3d0c5c63fe.woff2 +0 -0
- package/dist/remotion-bundle/1edfecf40e586f53.woff2 +0 -0
- package/dist/remotion-bundle/1f479711bc34b054.woff +0 -0
- package/dist/remotion-bundle/1f86e54a0ff5fcd1.woff2 +0 -0
- package/dist/remotion-bundle/2043ea87d9aabd11.woff2 +0 -0
- package/dist/remotion-bundle/20563c39ee8a0e40.woff2 +0 -0
- package/dist/remotion-bundle/20c231590fd12c44.woff2 +0 -0
- package/dist/remotion-bundle/20ce61713f754c07.woff2 +0 -0
- package/dist/remotion-bundle/21eb9306fce24bb1.woff2 +0 -0
- package/dist/remotion-bundle/244bf71c0cc851af.woff2 +0 -0
- package/dist/remotion-bundle/274d4cfc02bffbcb.woff2 +0 -0
- package/dist/remotion-bundle/275.bundle.js +21 -0
- package/dist/remotion-bundle/275.bundle.js.map +1 -0
- package/dist/remotion-bundle/2958f540b39513dc.woff2 +0 -0
- package/dist/remotion-bundle/2a168b98fd97722e.woff2 +0 -0
- package/dist/remotion-bundle/2d1f6373937ab55f.woff2 +0 -0
- package/dist/remotion-bundle/2d213ae47ff6daa9.woff2 +0 -0
- package/dist/remotion-bundle/2e4b1f04fcd05047.woff2 +0 -0
- package/dist/remotion-bundle/304170d98f4c4563.woff2 +0 -0
- package/dist/remotion-bundle/30d02e136e7a5642.woff2 +0 -0
- package/dist/remotion-bundle/3135562b52a714cd.woff2 +0 -0
- package/dist/remotion-bundle/313713af2c8144e9.woff2 +0 -0
- package/dist/remotion-bundle/325fa4108d2285b9.woff2 +0 -0
- package/dist/remotion-bundle/338e927ed3345e0c.woff2 +0 -0
- package/dist/remotion-bundle/35fc6b190365bc17.woff2 +0 -0
- package/dist/remotion-bundle/37a51f1122d4efc5.woff2 +0 -0
- package/dist/remotion-bundle/39a4d63e02736f5e.woff2 +0 -0
- package/dist/remotion-bundle/3a00e0d62dfc4171.woff2 +0 -0
- package/dist/remotion-bundle/3a6955e6561affe1.woff2 +0 -0
- package/dist/remotion-bundle/3c573945aef49b89.woff2 +0 -0
- package/dist/remotion-bundle/3cdbfbfa23b516a5.woff2 +0 -0
- package/dist/remotion-bundle/3e42f85a9e64ca8a.woff2 +0 -0
- package/dist/remotion-bundle/3e83eaf1ec859415.woff2 +0 -0
- package/dist/remotion-bundle/3f3c8c90de1250ee.woff2 +0 -0
- package/dist/remotion-bundle/434.bundle.js +205 -0
- package/dist/remotion-bundle/434.bundle.js.map +1 -0
- package/dist/remotion-bundle/44ffc6ca4d781692.woff2 +0 -0
- package/dist/remotion-bundle/4670d9c4580b09eb.woff2 +0 -0
- package/dist/remotion-bundle/479756881b302824.woff2 +0 -0
- package/dist/remotion-bundle/481b82134bfa9c82.woff2 +0 -0
- package/dist/remotion-bundle/48d27029626f4328.woff2 +0 -0
- package/dist/remotion-bundle/49b7b2a30329c511.woff2 +0 -0
- package/dist/remotion-bundle/4c8b25a1a9337045.woff2 +0 -0
- package/dist/remotion-bundle/4cba14788ca9259b.woff2 +0 -0
- package/dist/remotion-bundle/4cd6c589c004a6a7.woff2 +0 -0
- package/dist/remotion-bundle/4cd8d79c1021608d.woff2 +0 -0
- package/dist/remotion-bundle/4d8fa99b3f00f9f0.woff2 +0 -0
- package/dist/remotion-bundle/4e7805a643f86d53.woff2 +0 -0
- package/dist/remotion-bundle/4ff91be454542e3f.woff2 +0 -0
- package/dist/remotion-bundle/504cbcba1f63591b.woff2 +0 -0
- package/dist/remotion-bundle/5202d792e5791d6c.woff2 +0 -0
- package/dist/remotion-bundle/534db5ad4770cc1d.woff2 +0 -0
- package/dist/remotion-bundle/53b9568eb85f866b.woff2 +0 -0
- package/dist/remotion-bundle/543ad386ca171de9.woff2 +0 -0
- package/dist/remotion-bundle/54798e55bbf7976e.woff2 +0 -0
- package/dist/remotion-bundle/580.bundle.js +11 -0
- package/dist/remotion-bundle/580.bundle.js.map +1 -0
- package/dist/remotion-bundle/58d174d1193af6d1.woff2 +0 -0
- package/dist/remotion-bundle/591d29ff3ff53c80.woff2 +0 -0
- package/dist/remotion-bundle/5c28c4f4824383c6.woff2 +0 -0
- package/dist/remotion-bundle/5da9740d2ce894c8.woff2 +0 -0
- package/dist/remotion-bundle/6197735364642360.woff2 +0 -0
- package/dist/remotion-bundle/6265a4335724080f.woff2 +0 -0
- package/dist/remotion-bundle/633f5e4f6394daa7.woff2 +0 -0
- package/dist/remotion-bundle/637d95ace6a69c49.woff2 +0 -0
- package/dist/remotion-bundle/648e04a04dacff8f.woff2 +0 -0
- package/dist/remotion-bundle/64a6e83045a008b2.woff2 +0 -0
- package/dist/remotion-bundle/651.bundle.js +11 -0
- package/dist/remotion-bundle/651.bundle.js.map +1 -0
- package/dist/remotion-bundle/65e2a988c070facc.woff2 +0 -0
- package/dist/remotion-bundle/66a2f6ce5cc69105.woff2 +0 -0
- package/dist/remotion-bundle/690.bundle.js +3479 -0
- package/dist/remotion-bundle/690.bundle.js.map +1 -0
- package/dist/remotion-bundle/690ff55252ca715d.woff2 +0 -0
- package/dist/remotion-bundle/6a01a1cff49314fc.woff2 +0 -0
- package/dist/remotion-bundle/6cbc32670982986c.woff2 +0 -0
- package/dist/remotion-bundle/6d3cc42ae547f454.woff2 +0 -0
- package/dist/remotion-bundle/6d8f4cfa1ddc0830.woff2 +0 -0
- package/dist/remotion-bundle/6e4d7c6ae65e2dc3.woff2 +0 -0
- package/dist/remotion-bundle/6e86418bbcefb2e8.woff2 +0 -0
- package/dist/remotion-bundle/6ee02884b29cf7fb.woff2 +0 -0
- package/dist/remotion-bundle/6f436a74c9e3252c.woff2 +0 -0
- package/dist/remotion-bundle/78c8022f1657618b.woff2 +0 -0
- package/dist/remotion-bundle/7c5444169792bca4.woff2 +0 -0
- package/dist/remotion-bundle/7c86bddd9d997212.woff2 +0 -0
- package/dist/remotion-bundle/7e1284684767f584.woff2 +0 -0
- package/dist/remotion-bundle/7e81c17522d182b2.woff2 +0 -0
- package/dist/remotion-bundle/7eb87be198f7858c.woff2 +0 -0
- package/dist/remotion-bundle/8060c928f948aab5.woff2 +0 -0
- package/dist/remotion-bundle/80bc9dfbea2b35ae.woff2 +0 -0
- package/dist/remotion-bundle/811b83f69963bb48.woff2 +0 -0
- package/dist/remotion-bundle/813.bundle.js +117511 -0
- package/dist/remotion-bundle/813.bundle.js.map +1 -0
- package/dist/remotion-bundle/84df492e349f82e9.woff2 +0 -0
- package/dist/remotion-bundle/8501bfd73eb36f2b.woff2 +0 -0
- package/dist/remotion-bundle/854236a8376093fe.woff2 +0 -0
- package/dist/remotion-bundle/8571d74529082753.woff2 +0 -0
- package/dist/remotion-bundle/860bf44f8e6f4b5d.woff2 +0 -0
- package/dist/remotion-bundle/879.bundle.js +64 -0
- package/dist/remotion-bundle/879.bundle.js.map +1 -0
- package/dist/remotion-bundle/887dd482f848d56f.woff2 +0 -0
- package/dist/remotion-bundle/89b2132e85fbbb5a.woff2 +0 -0
- package/dist/remotion-bundle/8ba60d6c306010c2.woff2 +0 -0
- package/dist/remotion-bundle/8c7c4dadea897806.woff2 +0 -0
- package/dist/remotion-bundle/8c943f9999706f61.woff2 +0 -0
- package/dist/remotion-bundle/8f2a718c90575cc9.woff2 +0 -0
- package/dist/remotion-bundle/906b6edb3e1772c9.woff2 +0 -0
- package/dist/remotion-bundle/930ff9daccdf14eb.woff2 +0 -0
- package/dist/remotion-bundle/934db2f1c403c4d0.woff2 +0 -0
- package/dist/remotion-bundle/938.bundle.js +451 -0
- package/dist/remotion-bundle/938.bundle.js.map +1 -0
- package/dist/remotion-bundle/967.bundle.js +4462 -0
- package/dist/remotion-bundle/967.bundle.js.map +1 -0
- package/dist/remotion-bundle/9684a1093d3c02ce.woff2 +0 -0
- package/dist/remotion-bundle/973dcd0faa6116cc.woff2 +0 -0
- package/dist/remotion-bundle/9745400694e76cd8.woff2 +0 -0
- package/dist/remotion-bundle/999ef957bed3bdca.woff2 +0 -0
- package/dist/remotion-bundle/99a3d67c8b0f43e3.woff2 +0 -0
- package/dist/remotion-bundle/a0586c3e03127283.woff2 +0 -0
- package/dist/remotion-bundle/a0eb654fdae46269.woff2 +0 -0
- package/dist/remotion-bundle/a20e35d3b08f7994.woff2 +0 -0
- package/dist/remotion-bundle/a2dcaced7c8c25ab.woff2 +0 -0
- package/dist/remotion-bundle/a79255a972a2681a.woff2 +0 -0
- package/dist/remotion-bundle/a804b352cb9fec1a.woff2 +0 -0
- package/dist/remotion-bundle/aae7117164e1eabc.woff2 +0 -0
- package/dist/remotion-bundle/affd121385d0442d.woff2 +0 -0
- package/dist/remotion-bundle/b19a6083987ee0d7.woff2 +0 -0
- package/dist/remotion-bundle/b1b2bd04d8637981.woff2 +0 -0
- package/dist/remotion-bundle/b2c07f341486be87.woff2 +0 -0
- package/dist/remotion-bundle/b33d8f82e575c4ce.woff2 +0 -0
- package/dist/remotion-bundle/b366c0bed35ef491.woff2 +0 -0
- package/dist/remotion-bundle/b41e857ec1b85642.woff2 +0 -0
- package/dist/remotion-bundle/b420bb34ccf23e7f.woff2 +0 -0
- package/dist/remotion-bundle/b4f7bf4efb0c0ccf.woff2 +0 -0
- package/dist/remotion-bundle/b60fe5eca03cff93.woff2 +0 -0
- package/dist/remotion-bundle/b6bd31a336e64bce.woff2 +0 -0
- package/dist/remotion-bundle/b6d2befba3dfefeb.woff2 +0 -0
- package/dist/remotion-bundle/b75f39ab06c43bf4.woff2 +0 -0
- package/dist/remotion-bundle/b77880e8c413d4fd.woff2 +0 -0
- package/dist/remotion-bundle/b7e38ec441e4a77a.woff2 +0 -0
- package/dist/remotion-bundle/b83baa383ff0bf2b.woff2 +0 -0
- package/dist/remotion-bundle/b9ad7b6c0a11450a.woff2 +0 -0
- package/dist/remotion-bundle/baf84486e8ae3aaf.woff2 +0 -0
- package/dist/remotion-bundle/bc047b1f6869cffa.woff2 +0 -0
- package/dist/remotion-bundle/bf4f3ac6e93f33aa.woff2 +0 -0
- package/dist/remotion-bundle/bf6835ffec5897a2.woff2 +0 -0
- package/dist/remotion-bundle/bf8885f581eb1724.woff2 +0 -0
- package/dist/remotion-bundle/bundle.js +83376 -0
- package/dist/remotion-bundle/bundle.js.map +1 -0
- package/dist/remotion-bundle/c03f046bccd789d0.woff2 +0 -0
- package/dist/remotion-bundle/c0bb1f8962b73bc3.woff2 +0 -0
- package/dist/remotion-bundle/c1003f9a7db6e1cf.woff2 +0 -0
- package/dist/remotion-bundle/c15d83fb1e199515.woff2 +0 -0
- package/dist/remotion-bundle/c28e7e5d310f73ef.woff2 +0 -0
- package/dist/remotion-bundle/c2b840274db78aea.woff2 +0 -0
- package/dist/remotion-bundle/c3000e3299d4e45f.woff2 +0 -0
- package/dist/remotion-bundle/c83ce886e5288510.woff2 +0 -0
- package/dist/remotion-bundle/c87a5a64d4ac0918.woff2 +0 -0
- package/dist/remotion-bundle/c8a7e0d049e965fa.woff2 +0 -0
- package/dist/remotion-bundle/c949a35d3a3b1faf.woff2 +0 -0
- package/dist/remotion-bundle/c9618c9b9ac2bc78.woff2 +0 -0
- package/dist/remotion-bundle/ca3add3b84152d5b.woff2 +0 -0
- package/dist/remotion-bundle/cad9dd036408d707.woff2 +0 -0
- package/dist/remotion-bundle/cbb24916619df439.woff2 +0 -0
- package/dist/remotion-bundle/cc054f0b5514e177.woff2 +0 -0
- package/dist/remotion-bundle/ccc248ed9312bc71.woff2 +0 -0
- package/dist/remotion-bundle/cd9d623aa07af925.woff2 +0 -0
- package/dist/remotion-bundle/ce2ba7a321bd1247.woff2 +0 -0
- package/dist/remotion-bundle/cf72455f79a29b14.woff2 +0 -0
- package/dist/remotion-bundle/d267cbfefab452ac.woff2 +0 -0
- package/dist/remotion-bundle/d435cff46a64955f.woff +0 -0
- package/dist/remotion-bundle/d494d07f67e363f6.woff2 +0 -0
- package/dist/remotion-bundle/d7aa0cc1fa47bf38.woff2 +0 -0
- package/dist/remotion-bundle/d7c5ca93d885160a.woff2 +0 -0
- package/dist/remotion-bundle/d855d3e252db74e2.woff2 +0 -0
- package/dist/remotion-bundle/d8f13d47f02f82c2.woff2 +0 -0
- package/dist/remotion-bundle/d9567cce2ee11019.woff2 +0 -0
- package/dist/remotion-bundle/db8d4456fc75dd86.woff +0 -0
- package/dist/remotion-bundle/dc274628378c47ee.woff2 +0 -0
- package/dist/remotion-bundle/dc3e06947bb69903.woff2 +0 -0
- package/dist/remotion-bundle/dd67040ac3b6d523.woff2 +0 -0
- package/dist/remotion-bundle/e0b04bd488f953f4.woff2 +0 -0
- package/dist/remotion-bundle/e2a572ff95089370.woff2 +0 -0
- package/dist/remotion-bundle/e2e18a86b1c2b0cc.woff2 +0 -0
- package/dist/remotion-bundle/e3a78ee2fc9c6931.woff2 +0 -0
- package/dist/remotion-bundle/e654c9d547605a9f.woff2 +0 -0
- package/dist/remotion-bundle/e67a3a64c129927c.woff2 +0 -0
- package/dist/remotion-bundle/e6be28b4203cd6ce.woff2 +0 -0
- package/dist/remotion-bundle/e841907ad9b0a191.woff +0 -0
- package/dist/remotion-bundle/e889d1541c69fffa.woff2 +0 -0
- package/dist/remotion-bundle/e88ef8c76373a9e2.woff2 +0 -0
- package/dist/remotion-bundle/e9c72f4bc37defef.woff2 +0 -0
- package/dist/remotion-bundle/e9e35f863403a255.woff2 +0 -0
- package/dist/remotion-bundle/eb23b37b009375da.woff2 +0 -0
- package/dist/remotion-bundle/ee1342b741625721.woff2 +0 -0
- package/dist/remotion-bundle/f07da88543a57ec9.woff2 +0 -0
- package/dist/remotion-bundle/f522982115306f8a.woff2 +0 -0
- package/dist/remotion-bundle/f8449bd864e6d8bc.woff2 +0 -0
- package/dist/remotion-bundle/f906dd5bd95ff9ab.woff2 +0 -0
- package/dist/remotion-bundle/f9e9e9413e3c38bb.woff2 +0 -0
- package/dist/remotion-bundle/fa5a5b16280994a8.woff2 +0 -0
- package/dist/remotion-bundle/favicon.ico +0 -0
- package/dist/remotion-bundle/fb19c0517725599b.woff2 +0 -0
- package/dist/remotion-bundle/fcaf24232f684b9b.woff2 +0 -0
- package/dist/remotion-bundle/fe09e084a3eea8cf.woff2 +0 -0
- package/dist/remotion-bundle/ff38d5317df7345a.woff2 +0 -0
- package/dist/remotion-bundle/ffe7ea1ea08f455a.woff2 +0 -0
- package/dist/remotion-bundle/index.html +49 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaomei/communication/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaomei/communication/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaomei/communication/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaomei/communication/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoxin/career/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoxin/career/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoxin/career/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoxin/career/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoyue/parenting/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoyue/parenting/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoyue/parenting/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/female-kefu-xiaoyue/parenting/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/male-kefu-xiaoxu/time-trap/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/male-kefu-xiaoxu/time-trap/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/male-kefu-xiaoxu/time-trap/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/male-kefu-xiaoxu/time-trap/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/cognition/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/cognition/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/cognition/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/cognition/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/growth/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/growth/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/growth/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/growth/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/parenting/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/parenting/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/parenting/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/parenting/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/soothing/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/soothing/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/soothing/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-A6b7WpG3/soothing/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-R2s4N9qJ/cognition/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-R2s4N9qJ/cognition/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-R2s4N9qJ/cognition/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-female-R2s4N9qJ/cognition/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-Bk7vD3xP/decision/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-Bk7vD3xP/decision/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-Bk7vD3xP/decision/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-Bk7vD3xP/decision/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-W1tH9jVc/manager/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-W1tH9jVc/manager/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-W1tH9jVc/manager/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-W1tH9jVc/manager/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-W1tH9jVc/manager/4.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-s5NqE0rZ/founder/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-s5NqE0rZ/founder/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-s5NqE0rZ/founder/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide/v-male-s5NqE0rZ/founder/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/career-advice/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/career-advice/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/career-advice/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/career-advice/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/career-advice/4.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/founder-lesson/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/founder-lesson/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/founder-lesson/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/founder-lesson/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/founder-lesson/4.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/incident-review/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/incident-review/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/incident-review/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/incident-review/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/incident-review/4.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/learning-loop/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/learning-loop/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/learning-loop/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/learning-loop/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/learning-loop/4.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/meeting-closure/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/meeting-closure/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/meeting-closure/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/meeting-closure/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/product-update/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/product-update/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/product-update/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/product-update/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/research-reading/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/research-reading/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/research-reading/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/research-reading/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/sales-enablement/0.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/sales-enablement/1.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/sales-enablement/2.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/sales-enablement/3.mp3 +0 -0
- package/dist/remotion-bundle/public/paper-slide-experiments/sales-enablement/4.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-0.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-1.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-2.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-3.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-4.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/ai-life/card-5.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-0.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-1.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-2.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-3.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-4.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-5.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/coffee-science/card-6.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-0.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-1.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-2.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-3.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-4.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-5.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/reading-secrets/card-6.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-0.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-1.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-2.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-3.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-4.mp3 +0 -0
- package/dist/remotion-bundle/public/voiceover/remote-work/card-5.mp3 +0 -0
- package/dist/remotion-bundle/source-map-helper.wasm +0 -0
- package/lib/cli.js +270 -0
- package/lib/commands/_registry.js +48 -0
- package/lib/commands/add.js +242 -0
- package/lib/commands/asr/azure-transcribe.js +336 -0
- package/lib/commands/asr/cloud-transcribe.js +384 -0
- package/lib/commands/asr/helpers.js +76 -0
- package/lib/commands/asr/index.js +236 -0
- package/lib/commands/asr/local-transcribe.js +125 -0
- package/lib/commands/asr-jobs.js +257 -0
- package/lib/commands/asr.js +11 -0
- package/lib/commands/auth-cmds.js +358 -0
- package/lib/commands/dub.js +542 -0
- package/lib/commands/explain.js +512 -0
- package/lib/commands/feedback.js +152 -0
- package/lib/commands/image.js +207 -0
- package/lib/commands/mcp-key.js +166 -0
- package/lib/commands/narrate.js +639 -0
- package/lib/commands/picstory-templates.js +276 -0
- package/lib/commands/picstory.js +547 -0
- package/lib/commands/podcast/dialogue.js +109 -0
- package/lib/commands/podcast/generate.js +127 -0
- package/lib/commands/podcast/index.js +561 -0
- package/lib/commands/podcast/synthesize.js +188 -0
- package/lib/commands/podcast.js +11 -0
- package/lib/commands/present.js +519 -0
- package/lib/commands/publish.js +415 -0
- package/lib/commands/skills.js +473 -0
- package/lib/commands/slice-preview.js +266 -0
- package/lib/commands/slice-render.js +282 -0
- package/lib/commands/slice-stage.js +264 -0
- package/lib/commands/slice.js +343 -0
- package/lib/commands/slides/constants.js +108 -0
- package/lib/commands/slides/html-renderer.js +338 -0
- package/lib/commands/slides/index.js +345 -0
- package/lib/commands/slides.js +11 -0
- package/lib/commands/story.js +302 -0
- package/lib/commands/summarize.js +532 -0
- package/lib/commands/synthesize.js +261 -0
- package/lib/commands/translate.js +593 -0
- package/lib/commands/upgrade.js +249 -0
- package/lib/commands/video-translate.js +577 -0
- package/lib/commands/voices.js +292 -0
- package/lib/core/agent-env.js +104 -0
- package/lib/core/args.js +107 -0
- package/lib/core/asr-client.js +448 -0
- package/lib/core/asr-jobs-client.js +126 -0
- package/lib/core/asr-jobs-store.js +105 -0
- package/lib/core/asr-r2-upload.js +181 -0
- package/lib/core/asr-upload.js +132 -0
- package/lib/core/audio-extract.js +150 -0
- package/lib/core/audio.js +219 -0
- package/lib/core/auth.js +880 -0
- package/lib/core/config.js +197 -0
- package/lib/core/feedback.js +64 -0
- package/lib/core/ffmpeg.js +476 -0
- package/lib/core/http.js +188 -0
- package/lib/core/image-client.js +55 -0
- package/lib/core/intent-params.js +11 -0
- package/lib/core/llm-client.js +76 -0
- package/lib/core/logger.js +208 -0
- package/lib/core/mic-recorder.js +182 -0
- package/lib/core/pause-markers.js +94 -0
- package/lib/core/podcast-pacing.js +118 -0
- package/lib/core/spinner.js +33 -0
- package/lib/core/srt.js +394 -0
- package/lib/core/telemetry.js +100 -0
- package/lib/core/timeline.js +92 -0
- package/lib/core/tts-synthesizer.js +70 -0
- package/lib/core/update-check.js +185 -0
- package/lib/core/url-download.js +148 -0
- package/lib/core/whisper-local.js +279 -0
- package/lib/internal/deck-validator.js +488 -0
- package/lib/internal/slice-themes.json +370 -0
- package/lib/stage-core/cloud-render.js +170 -0
- package/lib/stage-core/deck-format.js +133 -0
- package/lib/stage-core/edit-prompt.js +104 -0
- package/lib/stage-core/event-bus.js +31 -0
- package/lib/stage-core/port.js +46 -0
- package/lib/stage-core/server.js +352 -0
- package/lib/stage-core/snapshot-store.js +198 -0
- package/lib/stage-core/watcher.js +106 -0
- package/lib/stage-ui/slice/template.js +1672 -0
- package/package.json +9 -4
- package/skills/.claude-plugin/marketplace.json +22 -0
- package/skills/.claude-plugin/plugin.json +25 -0
- package/skills/LICENSE +21 -0
- package/skills/README.md +120 -0
- package/skills/hub/SKILL.md +317 -0
- package/skills/podcast/SKILL.md +146 -0
- package/skills/slice/SKILL.md +205 -0
- package/skills/slice/agents/openai.yaml +4 -0
- package/skills/slice/references/deck-schema.md +183 -0
- package/skills/slice/references/example-decks.md +108 -0
- package/skills/slice/references/themes.md +172 -0
- package/skills/transcribe/SKILL.md +473 -0
- package/skills/video/SKILL.md +261 -0
- package/skills/voxflow-slice/SKILL.md +271 -0
- package/skills/voxflow-slice/examples/article.md +13 -0
- package/skills/voxflow-slice/examples/expected-deck.json +39 -0
- package/skills/voxflow-slice/examples/validate.mjs +46 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slides command — Constants, templates, and LLM prompts.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
const VALID_THEMES = ['midnight', 'paper', 'ember', 'forest', 'ocean'];
|
|
8
|
+
const VALID_TEMPLATES = ['product', 'report', 'tutorial', 'pitch', 'free'];
|
|
9
|
+
const VALID_MODELS = ['swift', 'balanced', 'pro', 'creative'];
|
|
10
|
+
|
|
11
|
+
const SLIDE_LAYOUTS = [
|
|
12
|
+
'hero', 'title-bullets', 'two-column', 'three-cards',
|
|
13
|
+
'image-left', 'image-right', 'quote', 'timeline', 'stats', 'section',
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
const TEMPLATE_HINTS = {
|
|
17
|
+
product: 'This is a product launch presentation. Focus on value proposition, clear feature benefits, and persuasive metrics. End with a strong call to action.',
|
|
18
|
+
report: 'This is an annual/quarterly report. Use real-looking data, professional tone, clear metrics with year-over-year comparisons. Be factual and concise.',
|
|
19
|
+
tutorial: 'This is a step-by-step tutorial. Number each step clearly, use practical examples, and include actionable tips. Keep instructions concise and easy to follow.',
|
|
20
|
+
pitch: 'This is a startup investor pitch deck. Be compelling with real-looking metrics, clear market sizing (TAM/SAM/SOM), and a persuasive narrative arc. Show traction with specific numbers.',
|
|
21
|
+
free: '',
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const TEMPLATE_STRUCTURES = {
|
|
25
|
+
product: [
|
|
26
|
+
{ layout: 'hero', hint: 'Product name and tagline' },
|
|
27
|
+
{ layout: 'title-bullets', hint: 'Pain points the product solves' },
|
|
28
|
+
{ layout: 'two-column', hint: 'Problem vs Solution comparison' },
|
|
29
|
+
{ layout: 'three-cards', hint: 'Key feature 1, 2, 3' },
|
|
30
|
+
{ layout: 'three-cards', hint: 'More features or benefits' },
|
|
31
|
+
{ layout: 'stats', hint: 'Performance metrics or user stats' },
|
|
32
|
+
{ layout: 'quote', hint: 'Customer testimonial or endorsement' },
|
|
33
|
+
{ layout: 'hero', hint: 'Call to action and next steps' },
|
|
34
|
+
],
|
|
35
|
+
report: [
|
|
36
|
+
{ layout: 'hero', hint: 'Report title, year, organization' },
|
|
37
|
+
{ layout: 'title-bullets', hint: 'Executive summary highlights' },
|
|
38
|
+
{ layout: 'stats', hint: 'Quarterly or annual key metrics' },
|
|
39
|
+
{ layout: 'two-column', hint: 'Achievements and highlights' },
|
|
40
|
+
{ layout: 'title-bullets', hint: 'Challenges and lessons learned' },
|
|
41
|
+
{ layout: 'timeline', hint: 'Key milestones or roadmap' },
|
|
42
|
+
{ layout: 'hero', hint: 'Outlook and closing statement' },
|
|
43
|
+
],
|
|
44
|
+
tutorial: [
|
|
45
|
+
{ layout: 'hero', hint: 'Tutorial title and what you will learn' },
|
|
46
|
+
{ layout: 'title-bullets', hint: 'Overview and prerequisites' },
|
|
47
|
+
{ layout: 'two-column', hint: 'Step 1 with details' },
|
|
48
|
+
{ layout: 'two-column', hint: 'Step 2 with details' },
|
|
49
|
+
{ layout: 'two-column', hint: 'Step 3 with details' },
|
|
50
|
+
{ layout: 'two-column', hint: 'Step 4 with details' },
|
|
51
|
+
{ layout: 'three-cards', hint: 'Pro tips and best practices' },
|
|
52
|
+
{ layout: 'hero', hint: 'Summary and next steps' },
|
|
53
|
+
],
|
|
54
|
+
pitch: [
|
|
55
|
+
{ layout: 'hero', hint: 'Company name, one-line pitch' },
|
|
56
|
+
{ layout: 'title-bullets', hint: 'The problem being solved' },
|
|
57
|
+
{ layout: 'stats', hint: 'Market size and opportunity' },
|
|
58
|
+
{ layout: 'two-column', hint: 'Solution and how it works' },
|
|
59
|
+
{ layout: 'three-cards', hint: 'Business model and revenue streams' },
|
|
60
|
+
{ layout: 'stats', hint: 'Traction and key metrics' },
|
|
61
|
+
{ layout: 'three-cards', hint: 'Team members and expertise' },
|
|
62
|
+
{ layout: 'hero', hint: 'The ask — funding, partnerships, next steps' },
|
|
63
|
+
],
|
|
64
|
+
free: [],
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const SLIDES_SYSTEM_PROMPT = `You are a professional presentation designer creating business-quality slide decks. Generate structured JSON.
|
|
68
|
+
|
|
69
|
+
STRICT RULES:
|
|
70
|
+
1. Output ONLY valid JSON, no markdown fences, no extra text
|
|
71
|
+
2. Each slide must have: id (number), layout (string), content (object), narration (string)
|
|
72
|
+
3. narration: speaker script, 2-3 sentences, natural professional tone
|
|
73
|
+
4. Layout choices: ${SLIDE_LAYOUTS.join(', ')}
|
|
74
|
+
5. NEVER use emoji characters anywhere — not in titles, bullets, headings, or card icons. Use short text labels instead (e.g. "01", "A", "i", or leave icon field empty string "")
|
|
75
|
+
6. Write concise, data-driven text. No vague filler. Every bullet should contain a specific fact, number, or insight.
|
|
76
|
+
7. First slide: "hero". Last slide: "hero" or "section" for closing. Use varied layouts in between — avoid repeating the same layout consecutively.
|
|
77
|
+
8. 8-10 slides total. Prefer stats, timeline, two-column, quote layouts for variety.
|
|
78
|
+
9. For three-cards: set icon to "" (empty string). For stats: use real-looking numbers with units.
|
|
79
|
+
|
|
80
|
+
CONTENT STRUCTURE per layout:
|
|
81
|
+
- hero: { title, subtitle }
|
|
82
|
+
- title-bullets: { title, bullets: string[] } (max 5 bullets)
|
|
83
|
+
- two-column: { title, left: { heading, text }, right: { heading, text } }
|
|
84
|
+
- three-cards: { title, cards: [{ icon: "", heading, text }] } (exactly 3 cards)
|
|
85
|
+
- image-left / image-right: { title, imagePrompt, text }
|
|
86
|
+
- quote: { quote, author, context }
|
|
87
|
+
- timeline: { title, events: [{ year, text }] } (3-5 events)
|
|
88
|
+
- stats: { title, stats: [{ value, label }] } (2-4 stats with realistic numbers)
|
|
89
|
+
- section: { title, subtitle }
|
|
90
|
+
|
|
91
|
+
OUTPUT FORMAT:
|
|
92
|
+
{
|
|
93
|
+
"meta": { "title": "..." },
|
|
94
|
+
"slides": [ ... ]
|
|
95
|
+
}`;
|
|
96
|
+
|
|
97
|
+
const VALID_MODEL_ALIASES = ['swift', 'balanced', 'pro', 'creative'];
|
|
98
|
+
|
|
99
|
+
module.exports = {
|
|
100
|
+
VALID_THEMES,
|
|
101
|
+
VALID_TEMPLATES,
|
|
102
|
+
VALID_MODELS,
|
|
103
|
+
SLIDE_LAYOUTS,
|
|
104
|
+
TEMPLATE_HINTS,
|
|
105
|
+
TEMPLATE_STRUCTURES,
|
|
106
|
+
SLIDES_SYSTEM_PROMPT,
|
|
107
|
+
VALID_MODEL_ALIASES,
|
|
108
|
+
};
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Slides command — HTML layout renderers, theme CSS, and export builder.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
// ─── HTML Escape ────────────────────────────────────────────────────────────
|
|
8
|
+
|
|
9
|
+
function esc(str) {
|
|
10
|
+
if (!str) return '';
|
|
11
|
+
return String(str)
|
|
12
|
+
.replace(/&/g, '&')
|
|
13
|
+
.replace(/</g, '<')
|
|
14
|
+
.replace(/>/g, '>')
|
|
15
|
+
.replace(/"/g, '"')
|
|
16
|
+
.replace(/'/g, ''');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// ─── Layout Renderers ──────────────────────────────────────────────────────
|
|
20
|
+
|
|
21
|
+
const layoutRenderers = {
|
|
22
|
+
|
|
23
|
+
hero(c) {
|
|
24
|
+
return `<div class="slide-page slide-hero">
|
|
25
|
+
<h1>${esc(c.title)}</h1>
|
|
26
|
+
${c.subtitle ? `<div class="slide-subtitle">${esc(c.subtitle)}</div>` : ''}
|
|
27
|
+
</div>`;
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
'title-bullets'(c) {
|
|
31
|
+
const items = (c.bullets || []).map(b => `<li>${esc(b)}</li>`).join('');
|
|
32
|
+
return `<div class="slide-page slide-title-bullets">
|
|
33
|
+
<h2>${esc(c.title)}</h2>
|
|
34
|
+
<ul class="slide-bullets">${items}</ul>
|
|
35
|
+
</div>`;
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
'two-column'(c) {
|
|
39
|
+
return `<div class="slide-page slide-two-column">
|
|
40
|
+
<h2>${esc(c.title)}</h2>
|
|
41
|
+
<div class="slide-columns">
|
|
42
|
+
<div class="slide-col">
|
|
43
|
+
<h3>${esc(c.left?.heading)}</h3>
|
|
44
|
+
<p>${esc(c.left?.text)}</p>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="slide-col">
|
|
47
|
+
<h3>${esc(c.right?.heading)}</h3>
|
|
48
|
+
<p>${esc(c.right?.text)}</p>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>`;
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
'three-cards'(c) {
|
|
55
|
+
const cards = (c.cards || []).map(card => `
|
|
56
|
+
<div class="slide-card">
|
|
57
|
+
${card.icon ? `<div class="slide-card-icon">${esc(card.icon)}</div>` : ''}
|
|
58
|
+
<h3>${esc(card.heading)}</h3>
|
|
59
|
+
<p>${esc(card.text)}</p>
|
|
60
|
+
</div>`).join('');
|
|
61
|
+
return `<div class="slide-page slide-three-cards">
|
|
62
|
+
<h2>${esc(c.title)}</h2>
|
|
63
|
+
<div class="slide-cards-grid">${cards}</div>
|
|
64
|
+
</div>`;
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
'image-left'(c) {
|
|
68
|
+
return `<div class="slide-page slide-image-split left">
|
|
69
|
+
<div class="slide-image-placeholder">IMG</div>
|
|
70
|
+
<div class="slide-image-content">
|
|
71
|
+
<h2>${esc(c.title)}</h2>
|
|
72
|
+
<p>${esc(c.text)}</p>
|
|
73
|
+
</div>
|
|
74
|
+
</div>`;
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
'image-right'(c) {
|
|
78
|
+
return `<div class="slide-page slide-image-split right">
|
|
79
|
+
<div class="slide-image-content">
|
|
80
|
+
<h2>${esc(c.title)}</h2>
|
|
81
|
+
<p>${esc(c.text)}</p>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="slide-image-placeholder">IMG</div>
|
|
84
|
+
</div>`;
|
|
85
|
+
},
|
|
86
|
+
|
|
87
|
+
quote(c) {
|
|
88
|
+
return `<div class="slide-page slide-quote">
|
|
89
|
+
<blockquote>"${esc(c.quote)}"</blockquote>
|
|
90
|
+
<div class="slide-quote-author">— ${esc(c.author)}</div>
|
|
91
|
+
${c.context ? `<div class="slide-quote-context">${esc(c.context)}</div>` : ''}
|
|
92
|
+
</div>`;
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
timeline(c) {
|
|
96
|
+
const events = (c.events || []).map(e => `
|
|
97
|
+
<div class="slide-timeline-event">
|
|
98
|
+
<div class="slide-timeline-year">${esc(e.year)}</div>
|
|
99
|
+
<div class="slide-timeline-text">${esc(e.text)}</div>
|
|
100
|
+
</div>`).join('');
|
|
101
|
+
return `<div class="slide-page slide-timeline">
|
|
102
|
+
<h2>${esc(c.title)}</h2>
|
|
103
|
+
<div class="slide-timeline-track">${events}</div>
|
|
104
|
+
</div>`;
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
stats(c) {
|
|
108
|
+
const items = c.stats || [];
|
|
109
|
+
const cols = Math.min(items.length, 4);
|
|
110
|
+
const statsHtml = items.map(s => `
|
|
111
|
+
<div class="slide-stat">
|
|
112
|
+
<div class="slide-stat-value">${esc(s.value)}</div>
|
|
113
|
+
<div class="slide-stat-label">${esc(s.label)}</div>
|
|
114
|
+
</div>`).join('');
|
|
115
|
+
return `<div class="slide-page slide-stats">
|
|
116
|
+
<h2>${esc(c.title)}</h2>
|
|
117
|
+
<div class="slide-stats-grid" data-cols="${cols}">${statsHtml}</div>
|
|
118
|
+
</div>`;
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
section(c) {
|
|
122
|
+
return `<div class="slide-page slide-section">
|
|
123
|
+
<h2>${esc(c.title)}</h2>
|
|
124
|
+
${c.subtitle ? `<div class="slide-subtitle">${esc(c.subtitle)}</div>` : ''}
|
|
125
|
+
</div>`;
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
function renderSlideHTML(slide) {
|
|
130
|
+
const renderer = layoutRenderers[slide.layout] || layoutRenderers['title-bullets'];
|
|
131
|
+
return renderer(slide.content);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// ─── Theme CSS ─────────────────────────────────────────────────────────────
|
|
135
|
+
|
|
136
|
+
const THEME_CSS = `
|
|
137
|
+
/* Theme presets */
|
|
138
|
+
.slides-style-midnight {
|
|
139
|
+
--slide-bg:#18181b;--slide-bg-alt:#27272a;--slide-accent:#2dd4bf;
|
|
140
|
+
--slide-accent-soft:rgba(45,212,191,0.15);--slide-text:#fafafa;
|
|
141
|
+
--slide-text-secondary:#a1a1aa;--slide-text-muted:#71717a;
|
|
142
|
+
--slide-border:#3f3f46;--slide-card-bg:#27272a;
|
|
143
|
+
--slide-hero-from:#18181b;--slide-hero-via:#1c1c22;--slide-hero-to:#18181b;
|
|
144
|
+
}
|
|
145
|
+
.slides-style-paper {
|
|
146
|
+
--slide-bg:#fafaf9;--slide-bg-alt:#f5f5f4;--slide-accent:#2563eb;
|
|
147
|
+
--slide-accent-soft:rgba(37,99,235,0.1);--slide-text:#1c1917;
|
|
148
|
+
--slide-text-secondary:#57534e;--slide-text-muted:#a8a29e;
|
|
149
|
+
--slide-border:#d6d3d1;--slide-card-bg:#ffffff;
|
|
150
|
+
--slide-hero-from:#f5f5f4;--slide-hero-via:#fafaf9;--slide-hero-to:#f5f5f4;
|
|
151
|
+
}
|
|
152
|
+
.slides-style-ember {
|
|
153
|
+
--slide-bg:#1c1917;--slide-bg-alt:#292524;--slide-accent:#f59e0b;
|
|
154
|
+
--slide-accent-soft:rgba(245,158,11,0.15);--slide-text:#fafaf9;
|
|
155
|
+
--slide-text-secondary:#a8a29e;--slide-text-muted:#78716c;
|
|
156
|
+
--slide-border:#44403c;--slide-card-bg:#292524;
|
|
157
|
+
--slide-hero-from:#1c1917;--slide-hero-via:#231f1b;--slide-hero-to:#1c1917;
|
|
158
|
+
}
|
|
159
|
+
.slides-style-forest {
|
|
160
|
+
--slide-bg:#14231a;--slide-bg-alt:#1a3024;--slide-accent:#4ade80;
|
|
161
|
+
--slide-accent-soft:rgba(74,222,128,0.12);--slide-text:#f0fdf4;
|
|
162
|
+
--slide-text-secondary:#86efac;--slide-text-muted:#4ade80;
|
|
163
|
+
--slide-border:#2d5a3e;--slide-card-bg:#1a3024;
|
|
164
|
+
--slide-hero-from:#14231a;--slide-hero-via:#182b20;--slide-hero-to:#14231a;
|
|
165
|
+
}
|
|
166
|
+
.slides-style-ocean {
|
|
167
|
+
--slide-bg:#0c1929;--slide-bg-alt:#132240;--slide-accent:#38bdf8;
|
|
168
|
+
--slide-accent-soft:rgba(56,189,248,0.12);--slide-text:#f0f9ff;
|
|
169
|
+
--slide-text-secondary:#7dd3fc;--slide-text-muted:#38bdf8;
|
|
170
|
+
--slide-border:#1e3a5f;--slide-card-bg:#132240;
|
|
171
|
+
--slide-hero-from:#0c1929;--slide-hero-via:#0f2035;--slide-hero-to:#0c1929;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Slide container */
|
|
175
|
+
.slides-viewport { width:100vw;height:100vh;position:relative;overflow:hidden; background:var(--slide-bg); }
|
|
176
|
+
.slide-page { position:absolute;inset:0;display:none;color:var(--slide-text); }
|
|
177
|
+
.slide-page.active { display:flex; }
|
|
178
|
+
|
|
179
|
+
.slide-hero { flex-direction:column;align-items:center;justify-content:center;text-align:center;
|
|
180
|
+
background:linear-gradient(135deg,var(--slide-hero-from),var(--slide-hero-via),var(--slide-hero-to));padding:10% 12%; }
|
|
181
|
+
.slide-hero h1 { font-size:clamp(1.8rem,4vw,3.5rem);font-weight:700;line-height:1.2;margin-bottom:0.5em; }
|
|
182
|
+
.slide-hero .slide-subtitle { font-size:clamp(1rem,1.8vw,1.5rem);color:var(--slide-accent); }
|
|
183
|
+
|
|
184
|
+
.slide-title-bullets { flex-direction:column;justify-content:center;padding:8% 10%;background:var(--slide-bg); }
|
|
185
|
+
.slide-title-bullets h2 { font-size:clamp(1.4rem,2.8vw,2.5rem);font-weight:700;margin-bottom:1.5em; }
|
|
186
|
+
.slide-bullets { list-style:none;padding:0;display:flex;flex-direction:column;gap:0.8em; }
|
|
187
|
+
.slide-bullets li { display:flex;align-items:flex-start;gap:0.6em;font-size:clamp(0.9rem,1.4vw,1.25rem);color:var(--slide-text-secondary);line-height:1.5; }
|
|
188
|
+
.slide-bullets li::before { content:'';flex-shrink:0;width:8px;height:8px;margin-top:0.5em;border-radius:50%;background:var(--slide-accent); }
|
|
189
|
+
|
|
190
|
+
.slide-two-column { flex-direction:column;justify-content:center;padding:8%;background:var(--slide-bg); }
|
|
191
|
+
.slide-two-column h2 { font-size:clamp(1.4rem,2.8vw,2.5rem);font-weight:700;margin-bottom:1.2em; }
|
|
192
|
+
.slide-columns { display:grid;grid-template-columns:1fr 1fr;gap:1.5em; }
|
|
193
|
+
.slide-col { background:var(--slide-card-bg);border-radius:12px;padding:1.5em;border:1px solid var(--slide-border); }
|
|
194
|
+
.slide-col h3 { font-size:clamp(0.9rem,1.3vw,1.15rem);font-weight:600;color:var(--slide-accent);margin-bottom:0.6em; }
|
|
195
|
+
.slide-col p { font-size:clamp(0.8rem,1.1vw,1rem);color:var(--slide-text-secondary);line-height:1.6; }
|
|
196
|
+
|
|
197
|
+
.slide-three-cards { flex-direction:column;align-items:center;justify-content:center;padding:6% 8%;background:var(--slide-bg); }
|
|
198
|
+
.slide-three-cards h2 { font-size:clamp(1.4rem,2.8vw,2.5rem);font-weight:700;margin-bottom:1.2em;text-align:center; }
|
|
199
|
+
.slide-cards-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:1.2em;width:100%; }
|
|
200
|
+
.slide-card { background:var(--slide-card-bg);border-radius:12px;padding:1.5em;text-align:center;border:1px solid var(--slide-border); }
|
|
201
|
+
.slide-card-icon { font-size:2em;margin-bottom:0.5em; }
|
|
202
|
+
.slide-card h3 { font-size:clamp(0.85rem,1.2vw,1.1rem);font-weight:600;margin-bottom:0.4em; }
|
|
203
|
+
.slide-card p { font-size:clamp(0.75rem,1vw,0.9rem);color:var(--slide-text-muted);line-height:1.5; }
|
|
204
|
+
|
|
205
|
+
.slide-image-split { background:var(--slide-bg); }
|
|
206
|
+
.slide-image-split.left { flex-direction:row; }
|
|
207
|
+
.slide-image-split.right { flex-direction:row-reverse; }
|
|
208
|
+
.slide-image-placeholder { flex:1;display:flex;align-items:center;justify-content:center;background:var(--slide-bg-alt);font-size:3em;color:var(--slide-text-muted); }
|
|
209
|
+
.slide-image-content { flex:1;display:flex;flex-direction:column;justify-content:center;padding:8%; }
|
|
210
|
+
.slide-image-content h2 { font-size:clamp(1.2rem,2.2vw,2rem);font-weight:700;margin-bottom:0.8em; }
|
|
211
|
+
.slide-image-content p { font-size:clamp(0.85rem,1.2vw,1.1rem);color:var(--slide-text-secondary);line-height:1.7; }
|
|
212
|
+
|
|
213
|
+
.slide-quote { flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10% 12%;background:var(--slide-bg); }
|
|
214
|
+
.slide-quote blockquote { font-size:clamp(1.2rem,2.2vw,2rem);font-weight:300;font-style:italic;line-height:1.6;max-width:80%;margin-bottom:1em; }
|
|
215
|
+
.slide-quote .slide-quote-author { font-size:clamp(0.85rem,1.2vw,1.1rem);color:var(--slide-accent); }
|
|
216
|
+
.slide-quote .slide-quote-context { font-size:clamp(0.75rem,1vw,0.9rem);color:var(--slide-text-muted);margin-top:0.3em; }
|
|
217
|
+
|
|
218
|
+
.slide-timeline { flex-direction:column;justify-content:center;padding:8% 10%;background:var(--slide-bg); }
|
|
219
|
+
.slide-timeline h2 { font-size:clamp(1.4rem,2.8vw,2.5rem);font-weight:700;margin-bottom:1.2em; }
|
|
220
|
+
.slide-timeline-track { position:relative;padding-left:2em;border-left:2px solid var(--slide-accent);display:flex;flex-direction:column;gap:1.2em; }
|
|
221
|
+
.slide-timeline-event { position:relative; }
|
|
222
|
+
.slide-timeline-event::before { content:'';position:absolute;left:calc(-2em - 5px);top:0.35em;width:12px;height:12px;border-radius:50%;background:var(--slide-accent); }
|
|
223
|
+
.slide-timeline-year { font-weight:700;color:var(--slide-accent);font-size:clamp(0.9rem,1.3vw,1.15rem); }
|
|
224
|
+
.slide-timeline-text { color:var(--slide-text-secondary);margin-top:0.2em;font-size:clamp(0.8rem,1.1vw,1rem); }
|
|
225
|
+
|
|
226
|
+
.slide-stats { flex-direction:column;align-items:center;justify-content:center;padding:8% 10%;background:var(--slide-bg); }
|
|
227
|
+
.slide-stats h2 { font-size:clamp(1.4rem,2.8vw,2.5rem);font-weight:700;margin-bottom:1.5em;text-align:center; }
|
|
228
|
+
.slide-stats-grid { display:grid;gap:2em;width:100%; }
|
|
229
|
+
.slide-stats-grid[data-cols="2"] { grid-template-columns:1fr 1fr; }
|
|
230
|
+
.slide-stats-grid[data-cols="3"] { grid-template-columns:1fr 1fr 1fr; }
|
|
231
|
+
.slide-stats-grid[data-cols="4"] { grid-template-columns:1fr 1fr 1fr 1fr; }
|
|
232
|
+
.slide-stat { text-align:center; }
|
|
233
|
+
.slide-stat-value { font-size:clamp(1.8rem,3.5vw,3rem);font-weight:800;color:var(--slide-accent);margin-bottom:0.2em; }
|
|
234
|
+
.slide-stat-label { font-size:clamp(0.8rem,1.1vw,1rem);color:var(--slide-text-muted); }
|
|
235
|
+
|
|
236
|
+
.slide-section { flex-direction:column;align-items:center;justify-content:center;text-align:center;
|
|
237
|
+
background:linear-gradient(135deg,var(--slide-bg-alt),var(--slide-bg));padding:10%; }
|
|
238
|
+
.slide-section h2 { font-size:clamp(1.8rem,3.5vw,3rem);font-weight:700;margin-bottom:0.3em; }
|
|
239
|
+
.slide-section .slide-subtitle { font-size:clamp(0.9rem,1.5vw,1.3rem);color:var(--slide-text-muted); }
|
|
240
|
+
`;
|
|
241
|
+
|
|
242
|
+
// ─── Self-Contained HTML Export ─────────────────────────────────────────────
|
|
243
|
+
|
|
244
|
+
function buildExportHTML(pptData, theme) {
|
|
245
|
+
const slides = pptData.slides || [];
|
|
246
|
+
|
|
247
|
+
const slidesHtml = slides.map((slide, i) => {
|
|
248
|
+
const durationMs = slide.audio?.durationMs || 5000;
|
|
249
|
+
const audioUrl = slide.audio?.dataUri || '';
|
|
250
|
+
const html = renderSlideHTML(slide);
|
|
251
|
+
const match = html.match(/class="slide-page ([^"]*)">([\s\S]*)<\/div>$/);
|
|
252
|
+
const layoutClass = match ? match[1] : '';
|
|
253
|
+
const innerHtml = match ? match[2] : html;
|
|
254
|
+
|
|
255
|
+
return `<section class="slide-page ${layoutClass}"
|
|
256
|
+
data-slide-id="${slide.id}" data-slide-index="${i}"
|
|
257
|
+
data-duration-ms="${durationMs}"
|
|
258
|
+
data-narration="${esc(slide.narration || '')}"
|
|
259
|
+
${audioUrl ? `data-audio-url="${esc(audioUrl)}"` : ''}
|
|
260
|
+
>${innerHtml}</section>`;
|
|
261
|
+
}).join('\n');
|
|
262
|
+
|
|
263
|
+
return `<!DOCTYPE html>
|
|
264
|
+
<html lang="en">
|
|
265
|
+
<head>
|
|
266
|
+
<meta charset="UTF-8">
|
|
267
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
268
|
+
<title>${esc(pptData.meta?.title || 'Presentation')}</title>
|
|
269
|
+
<style>
|
|
270
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
271
|
+
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow: hidden; }
|
|
272
|
+
${THEME_CSS}
|
|
273
|
+
.export-controls {
|
|
274
|
+
position: fixed; bottom: 0; left: 0; right: 0;
|
|
275
|
+
background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
|
|
276
|
+
padding: 10px 24px; display: flex; align-items: center; gap: 14px;
|
|
277
|
+
z-index: 100; border-top: 1px solid rgba(255,255,255,0.1);
|
|
278
|
+
}
|
|
279
|
+
.export-controls button {
|
|
280
|
+
background: none; border: 1px solid rgba(255,255,255,0.25);
|
|
281
|
+
color: #fff; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px;
|
|
282
|
+
}
|
|
283
|
+
.export-controls button:hover { background: rgba(255,255,255,0.1); }
|
|
284
|
+
.export-progress { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; cursor: pointer; }
|
|
285
|
+
.export-progress-fill { height: 100%; background: var(--slide-accent); border-radius: 2px; width: 0%; transition: width 0.1s linear; }
|
|
286
|
+
.export-counter { color: rgba(255,255,255,0.5); font-size: 13px; min-width: 50px; text-align: center; }
|
|
287
|
+
.export-subtitle {
|
|
288
|
+
position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%);
|
|
289
|
+
background: rgba(0,0,0,0.7); color: #fff; padding: 6px 20px; border-radius: 10px;
|
|
290
|
+
font-size: 15px; max-width: 80vw; text-align: center; opacity: 0; transition: opacity 0.3s; z-index: 100;
|
|
291
|
+
}
|
|
292
|
+
.export-subtitle.visible { opacity: 1; }
|
|
293
|
+
</style>
|
|
294
|
+
</head>
|
|
295
|
+
<body>
|
|
296
|
+
<div class="slides-viewport slides-style-${theme}">
|
|
297
|
+
${slidesHtml}
|
|
298
|
+
<div class="export-subtitle" id="subtitle"></div>
|
|
299
|
+
</div>
|
|
300
|
+
<div class="export-controls">
|
|
301
|
+
<button id="btn-prev">◀</button>
|
|
302
|
+
<button id="btn-play">▶ Play</button>
|
|
303
|
+
<button id="btn-next">▶</button>
|
|
304
|
+
<div class="export-progress" id="progress"><div class="export-progress-fill" id="progress-fill"></div></div>
|
|
305
|
+
<div class="export-counter" id="counter">1 / ${slides.length}</div>
|
|
306
|
+
</div>
|
|
307
|
+
<script>
|
|
308
|
+
const pages=document.querySelectorAll('.slide-page'),total=pages.length;
|
|
309
|
+
let idx=0,playing=false,timer=null,audio=null,progTimer=null;
|
|
310
|
+
function show(i){pages.forEach(p=>p.classList.remove('active'));pages[i].classList.add('active');idx=i;
|
|
311
|
+
document.getElementById('counter').textContent=(i+1)+' / '+total;
|
|
312
|
+
const n=pages[i].dataset.narration,s=document.getElementById('subtitle');
|
|
313
|
+
if(n){s.textContent=n;s.classList.add('visible')}else{s.classList.remove('visible')}}
|
|
314
|
+
function prog(r){document.getElementById('progress-fill').style.width=(r*100)+'%'}
|
|
315
|
+
function globalProg(si,sr){let t=0,b=0;pages.forEach((p,i)=>{const d=+p.dataset.durationMs||5000;t+=d;if(i<si)b+=d});
|
|
316
|
+
return(b+(+pages[si].dataset.durationMs||5000)*sr)/t}
|
|
317
|
+
async function playSlide(i){show(i);const d=+pages[i].dataset.durationMs||5000,u=pages[i].dataset.audioUrl;
|
|
318
|
+
if(u){audio=new Audio(u);audio.play().catch(()=>{})}
|
|
319
|
+
const st=Date.now();clearInterval(progTimer);progTimer=setInterval(()=>{prog(globalProg(i,Math.min((Date.now()-st)/d,1)))},50);
|
|
320
|
+
return new Promise(r=>{timer=setTimeout(()=>{clearInterval(progTimer);r()},d)})}
|
|
321
|
+
async function playAll(){playing=true;document.getElementById('btn-play').textContent='\\u23F8 Pause';
|
|
322
|
+
for(let i=idx;i<total;i++){if(!playing)break;await playSlide(i)}stop()}
|
|
323
|
+
function stop(){playing=false;clearTimeout(timer);clearInterval(progTimer);if(audio){audio.pause();audio=null}
|
|
324
|
+
document.getElementById('btn-play').textContent='\\u25B6 Play'}
|
|
325
|
+
document.getElementById('btn-play').onclick=()=>{if(playing)stop();else playAll()};
|
|
326
|
+
document.getElementById('btn-prev').onclick=()=>{stop();show(Math.max(0,idx-1))};
|
|
327
|
+
document.getElementById('btn-next').onclick=()=>{stop();show(Math.min(total-1,idx+1))};
|
|
328
|
+
document.addEventListener('keydown',e=>{if(e.key==='ArrowRight'||e.key===' '){e.preventDefault();stop();show(Math.min(total-1,idx+1))}
|
|
329
|
+
if(e.key==='ArrowLeft'){stop();show(Math.max(0,idx-1))}if(e.key==='Escape')stop()});
|
|
330
|
+
document.getElementById('progress').onclick=e=>{const r=(e.clientX-e.target.getBoundingClientRect().left)/e.target.offsetWidth;
|
|
331
|
+
stop();show(Math.min(total-1,Math.max(0,Math.floor(r*total))))};
|
|
332
|
+
show(0);
|
|
333
|
+
</script>
|
|
334
|
+
</body>
|
|
335
|
+
</html>`;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
module.exports = { buildExportHTML, renderSlideHTML, esc };
|