Branchwell

Become a Pro / portrait-video · becomeapro.ai / commits / cc42b27c

App source: current code new

written by Branchwell · cc42b27c6451e7eac7ddaf3528d62a0896e2e074

15 files changed

.gitignore added

1+ node_modules/
2+
3+ # Public assets — large video/audio files, not for version control
4+ public/*.mp4
5+ public/*.mp3
6+ public/*.json
7+ public/*.png
8+ public/*.jpg
9+ public/*.webp
10+
11+ # Remotion output / cache
12+ out/
13+ .cache/
14+
15+ # macOS
16+ .DS_Store
17+ ._*

package-lock.json added

1+ {
2+ "name": "airp-portrait-video",
3+ "version": "1.0.0",
4+ "lockfileVersion": 3,
5+ "requires": true,
6+ "packages": {
7+ "": {
8+ "name": "airp-portrait-video",
9+ "version": "1.0.0",
10+ "license": "ISC",
11+ "dependencies": {
12+ "@remotion/captions": "^4.0.424",
13+ "@remotion/cli": "^4.0.424",
14+ "@remotion/google-fonts": "^4.0.424",
15+ "@remotion/transitions": "^4.0.424",
16+ "@types/react": "^19.2.14",
17+ "react": "^19.2.4",
18+ "react-dom": "^19.2.4",
19+ "remotion": "^4.0.424",
20+ "typescript": "^5.9.3"
21+ }
22+ },
23+ "node_modules/@babel/parser": {
24+ "version": "7.24.1",
25+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz",
26+ "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==",
27+ "license": "MIT",
28+ "bin": {
29+ "parser": "bin/babel-parser.js"
30+ },
31+ "engines": {
32+ "node": ">=6.0.0"
33+ }
34+ },
35+ "node_modules/@esbuild/aix-ppc64": {
36+ "version": "0.25.0",
37+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz",
38+ "integrity": "sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==",
39+ "cpu": [
40+ "ppc64"
41+ ],
42+ "license": "MIT",
43+ "optional": true,
44+ "os": [
45+ "aix"
46+ ],
47+ "engines": {
48+ "node": ">=18"
49+ }
50+ },
51+ "node_modules/@esbuild/android-arm": {
52+ "version": "0.25.0",
53+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.0.tgz",
54+ "integrity": "sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==",
55+ "cpu": [
56+ "arm"
57+ ],
58+ "license": "MIT",
59+ "optional": true,
60+ "os": [
61+ "android"
62+ ],
63+ "engines": {
64+ "node": ">=18"
65+ }
66+ },
67+ "node_modules/@esbuild/android-arm64": {
68+ "version": "0.25.0",
69+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz",
70+ "integrity": "sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==",
71+ "cpu": [
72+ "arm64"
73+ ],
74+ "license": "MIT",
75+ "optional": true,
76+ "os": [
77+ "android"
78+ ],
79+ "engines": {
80+ "node": ">=18"
81+ }
82+ },
83+ "node_modules/@esbuild/android-x64": {
84+ "version": "0.25.0",
85+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.0.tgz",
86+ "integrity": "sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==",
87+ "cpu": [
88+ "x64"
89+ ],
90+ "license": "MIT",
91+ "optional": true,
92+ "os": [
93+ "android"
94+ ],
95+ "engines": {
96+ "node": ">=18"
97+ }
98+ },
99+ "node_modules/@esbuild/darwin-arm64": {
100+ "version": "0.25.0",
101+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz",
102+ "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==",
103+ "cpu": [
104+ "arm64"
105+ ],
106+ "license": "MIT",
107+ "optional": true,
108+ "os": [
109+ "darwin"
110+ ],
111+ "engines": {
112+ "node": ">=18"
113+ }
114+ },
115+ "node_modules/@esbuild/darwin-x64": {
116+ "version": "0.25.0",
117+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz",
118+ "integrity": "sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==",
119+ "cpu": [
120+ "x64"
121+ ],
122+ "license": "MIT",
123+ "optional": true,
124+ "os": [
125+ "darwin"
126+ ],
127+ "engines": {
128+ "node": ">=18"
129+ }
130+ },
131+ "node_modules/@esbuild/freebsd-arm64": {
132+ "version": "0.25.0",
133+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz",
134+ "integrity": "sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==",
135+ "cpu": [
136+ "arm64"
137+ ],
138+ "license": "MIT",
139+ "optional": true,
140+ "os": [
141+ "freebsd"
142+ ],
143+ "engines": {
144+ "node": ">=18"
145+ }
146+ },
147+ "node_modules/@esbuild/freebsd-x64": {
148+ "version": "0.25.0",
149+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz",
150+ "integrity": "sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==",
151+ "cpu": [
152+ "x64"
153+ ],
154+ "license": "MIT",
155+ "optional": true,
156+ "os": [
157+ "freebsd"
158+ ],
159+ "engines": {
160+ "node": ">=18"
161+ }
162+ },
163+ "node_modules/@esbuild/linux-arm": {
164+ "version": "0.25.0",
165+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz",
166+ "integrity": "sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==",
167+ "cpu": [
168+ "arm"
169+ ],
170+ "license": "MIT",
171+ "optional": true,
172+ "os": [
173+ "linux"
174+ ],
175+ "engines": {
176+ "node": ">=18"
177+ }
178+ },
179+ "node_modules/@esbuild/linux-arm64": {
180+ "version": "0.25.0",
181+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz",
182+ "integrity": "sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==",
183+ "cpu": [
184+ "arm64"
185+ ],
186+ "license": "MIT",
187+ "optional": true,
188+ "os": [
189+ "linux"
190+ ],
191+ "engines": {
192+ "node": ">=18"
193+ }
194+ },
195+ "node_modules/@esbuild/linux-ia32": {
196+ "version": "0.25.0",
197+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz",
198+ "integrity": "sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==",
199+ "cpu": [
200+ "ia32"
201+ ],
202+ "license": "MIT",
203+ "optional": true,
204+ "os": [
205+ "linux"
206+ ],
207+ "engines": {
208+ "node": ">=18"
209+ }
210+ },
211+ "node_modules/@esbuild/linux-loong64": {
212+ "version": "0.25.0",
213+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz",
214+ "integrity": "sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==",
215+ "cpu": [
216+ "loong64"
217+ ],
218+ "license": "MIT",
219+ "optional": true,
220+ "os": [
221+ "linux"
222+ ],
223+ "engines": {
224+ "node": ">=18"
225+ }
226+ },
227+ "node_modules/@esbuild/linux-mips64el": {
228+ "version": "0.25.0",
229+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz",
230+ "integrity": "sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==",
231+ "cpu": [
232+ "mips64el"
233+ ],
234+ "license": "MIT",
235+ "optional": true,
236+ "os": [
237+ "linux"
238+ ],
239+ "engines": {
240+ "node": ">=18"
241+ }
242+ },
243+ "node_modules/@esbuild/linux-ppc64": {
244+ "version": "0.25.0",
245+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz",
246+ "integrity": "sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==",
247+ "cpu": [
248+ "ppc64"
249+ ],
250+ "license": "MIT",
251+ "optional": true,
252+ "os": [
253+ "linux"
254+ ],
255+ "engines": {
256+ "node": ">=18"
257+ }
258+ },
259+ "node_modules/@esbuild/linux-riscv64": {
260+ "version": "0.25.0",
261+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz",
262+ "integrity": "sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==",
263+ "cpu": [
264+ "riscv64"
265+ ],
266+ "license": "MIT",
267+ "optional": true,
268+ "os": [
269+ "linux"
270+ ],
271+ "engines": {
272+ "node": ">=18"
273+ }
274+ },
275+ "node_modules/@esbuild/linux-s390x": {
276+ "version": "0.25.0",
277+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz",
278+ "integrity": "sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==",
279+ "cpu": [
280+ "s390x"
281+ ],
282+ "license": "MIT",
283+ "optional": true,
284+ "os": [
285+ "linux"
286+ ],
287+ "engines": {
288+ "node": ">=18"
289+ }
290+ },
291+ "node_modules/@esbuild/linux-x64": {
292+ "version": "0.25.0",
293+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz",
294+ "integrity": "sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==",
295+ "cpu": [
296+ "x64"
297+ ],
298+ "license": "MIT",
299+ "optional": true,
300+ "os": [
301+ "linux"
302+ ],
303+ "engines": {
304+ "node": ">=18"
305+ }
306+ },
307+ "node_modules/@esbuild/netbsd-arm64": {
308+ "version": "0.25.0",
309+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz",
310+ "integrity": "sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==",
311+ "cpu": [
312+ "arm64"
313+ ],
314+ "license": "MIT",
315+ "optional": true,
316+ "os": [
317+ "netbsd"
318+ ],
319+ "engines": {
320+ "node": ">=18"
321+ }
322+ },
323+ "node_modules/@esbuild/netbsd-x64": {
324+ "version": "0.25.0",
325+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz",
326+ "integrity": "sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==",
327+ "cpu": [
328+ "x64"
329+ ],
330+ "license": "MIT",
331+ "optional": true,
332+ "os": [
333+ "netbsd"
334+ ],
335+ "engines": {
336+ "node": ">=18"
337+ }
338+ },
339+ "node_modules/@esbuild/openbsd-arm64": {
340+ "version": "0.25.0",
341+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz",
342+ "integrity": "sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==",
343+ "cpu": [
344+ "arm64"
345+ ],
346+ "license": "MIT",
347+ "optional": true,
348+ "os": [
349+ "openbsd"
350+ ],
351+ "engines": {
352+ "node": ">=18"
353+ }
354+ },
355+ "node_modules/@esbuild/openbsd-x64": {
356+ "version": "0.25.0",
357+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz",
358+ "integrity": "sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==",
359+ "cpu": [
360+ "x64"
361+ ],
362+ "license": "MIT",
363+ "optional": true,
364+ "os": [
365+ "openbsd"
366+ ],
367+ "engines": {
368+ "node": ">=18"
369+ }
370+ },
371+ "node_modules/@esbuild/sunos-x64": {
372+ "version": "0.25.0",
373+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz",
374+ "integrity": "sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==",
375+ "cpu": [
376+ "x64"
377+ ],
378+ "license": "MIT",
379+ "optional": true,
380+ "os": [
381+ "sunos"
382+ ],
383+ "engines": {
384+ "node": ">=18"
385+ }
386+ },
387+ "node_modules/@esbuild/win32-arm64": {
388+ "version": "0.25.0",
389+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz",
390+ "integrity": "sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==",
391+ "cpu": [
392+ "arm64"
393+ ],
394+ "license": "MIT",
395+ "optional": true,
396+ "os": [
397+ "win32"
398+ ],
399+ "engines": {
400+ "node": ">=18"
401+ }
402+ },
403+ "node_modules/@esbuild/win32-ia32": {
404+ "version": "0.25.0",
405+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz",
406+ "integrity": "sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==",
407+ "cpu": [
408+ "ia32"
409+ ],
410+ "license": "MIT",
411+ "optional": true,
412+ "os": [
413+ "win32"
414+ ],
415+ "engines": {
416+ "node": ">=18"
417+ }
418+ },
419+ "node_modules/@esbuild/win32-x64": {
420+ "version": "0.25.0",
421+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz",
422+ "integrity": "sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==",
423+ "cpu": [
424+ "x64"
425+ ],
426+ "license": "MIT",
427+ "optional": true,
428+ "os": [
429+ "win32"
430+ ],
431+ "engines": {
432+ "node": ">=18"
433+ }
434+ },
435+ "node_modules/@jridgewell/gen-mapping": {
436+ "version": "0.3.13",
437+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
438+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
439+ "license": "MIT",
440+ "dependencies": {
441+ "@jridgewell/sourcemap-codec": "^1.5.0",
442+ "@jridgewell/trace-mapping": "^0.3.24"
443+ }
444+ },
445+ "node_modules/@jridgewell/resolve-uri": {
446+ "version": "3.1.2",
447+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
448+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
449+ "license": "MIT",
450+ "engines": {
451+ "node": ">=6.0.0"
452+ }
453+ },
454+ "node_modules/@jridgewell/source-map": {
455+ "version": "0.3.11",
456+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz",
457+ "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==",
458+ "license": "MIT",
459+ "dependencies": {
460+ "@jridgewell/gen-mapping": "^0.3.5",
461+ "@jridgewell/trace-mapping": "^0.3.25"
462+ }
463+ },
464+ "node_modules/@jridgewell/sourcemap-codec": {
465+ "version": "1.5.5",
466+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
467+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
468+ "license": "MIT"
469+ },
470+ "node_modules/@jridgewell/trace-mapping": {
471+ "version": "0.3.31",
472+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
473+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
474+ "license": "MIT",
475+ "dependencies": {
476+ "@jridgewell/resolve-uri": "^3.1.0",
477+ "@jridgewell/sourcemap-codec": "^1.4.14"
478+ }
479+ },
480+ "node_modules/@remotion/bundler": {
481+ "version": "4.0.424",
482+ "resolved": "https://registry.npmjs.org/@remotion/bundler/-/bundler-4.0.424.tgz",
483+ "integrity": "sha512-xYmcnEMxJ518Yt3QWE8RLzzSSkSp8OFUE1wB33dgIMdv9zJ5yDE//EcsUy8RFu9WBwAHlQORRoNb7tFOHPWoBw==",
484+ "license": "SEE LICENSE IN LICENSE.md",
485+ "dependencies": {
486+ "@remotion/media-parser": "4.0.424",
487+ "@remotion/studio": "4.0.424",
488+ "@remotion/studio-shared": "4.0.424",
489+ "css-loader": "5.2.7",
490+ "esbuild": "0.25.0",
491+ "react-refresh": "0.9.0",
492+ "remotion": "4.0.424",
493+ "source-map": "0.7.3",
494+ "style-loader": "4.0.0",
495+ "webpack": "5.105.0"
496+ },
497+ "peerDependencies": {
498+ "react": ">=16.8.0",
499+ "react-dom": ">=16.8.0"
500+ }
501+ },
502+ "node_modules/@remotion/captions": {
503+ "version": "4.0.424",
504+ "resolved": "https://registry.npmjs.org/@remotion/captions/-/captions-4.0.424.tgz",
505+ "integrity": "sha512-89naz7lmDyuCP0/gXuym5tFhecF9SZwjeIohcozTUqCdLKTlVvjFTn/Asc1T1p5nrobtfNFW2Hf3zVthFDc9zA==",
506+ "license": "MIT"
507+ },
508+ "node_modules/@remotion/cli": {
509+ "version": "4.0.424",
510+ "resolved": "https://registry.npmjs.org/@remotion/cli/-/cli-4.0.424.tgz",
511+ "integrity": "sha512-nXUa3re2dsGxc3TAwgV6p7ERjRtFXSUXv0yif8z5kXH7gFqIbeAZ0EfJyX+QQ3i6g2/ulTiZd7C/NgOMdvO0ow==",
512+ "license": "SEE LICENSE IN LICENSE.md",
513+ "dependencies": {
514+ "@remotion/bundler": "4.0.424",
515+ "@remotion/media-utils": "4.0.424",
516+ "@remotion/player": "4.0.424",
517+ "@remotion/renderer": "4.0.424",
518+ "@remotion/studio": "4.0.424",
519+ "@remotion/studio-server": "4.0.424",
520+ "@remotion/studio-shared": "4.0.424",
521+ "dotenv": "17.3.1",
522+ "minimist": "1.2.6",
523+ "prompts": "2.4.2",
524+ "remotion": "4.0.424"
525+ },
526+ "bin": {
527+ "remotion": "remotion-cli.js",
528+ "remotionb": "remotionb-cli.js",
529+ "remotiond": "remotiond-cli.js"
530+ },
531+ "peerDependencies": {
532+ "react": ">=16.8.0",
533+ "react-dom": ">=16.8.0"
534+ }
535+ },
536+ "node_modules/@remotion/compositor-darwin-arm64": {
537+ "version": "4.0.424",
538+ "resolved": "https://registry.npmjs.org/@remotion/compositor-darwin-arm64/-/compositor-darwin-arm64-4.0.424.tgz",
539+ "integrity": "sha512-k8qLyToqB+uTdMQY0kHmYInoSh7ddKh/mWdWGsXxtt1IYpdchwawgIMs/a5KFF9jYPOrpUgHEhyCGLg48Mi+ag==",
540+ "cpu": [
541+ "arm64"
542+ ],
543+ "optional": true,
544+ "os": [
545+ "darwin"
546+ ]
547+ },
548+ "node_modules/@remotion/compositor-darwin-x64": {
549+ "version": "4.0.424",
550+ "resolved": "https://registry.npmjs.org/@remotion/compositor-darwin-x64/-/compositor-darwin-x64-4.0.424.tgz",
551+ "integrity": "sha512-IsuV7ZkRMqn5MPP1A2mJZeL5X9M/4Ur0yJAGMITV+s6c2J7OJIkMgHuf9XnUP6R4wJwKhE+5raUaQGLov1e2VQ==",
552+ "cpu": [
553+ "x64"
554+ ],
555+ "optional": true,
556+ "os": [
557+ "darwin"
558+ ]
559+ },
560+ "node_modules/@remotion/compositor-linux-arm64-gnu": {
561+ "version": "4.0.424",
562+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-arm64-gnu/-/compositor-linux-arm64-gnu-4.0.424.tgz",
563+ "integrity": "sha512-piDIl7jAcy10aFi7gzDkL5HEyx2MeY74mUXg8Sg++7V0iR6Vyx8TtPkr71/cs2WoFnHcefbOco/pNnLmxXAMbA==",
564+ "cpu": [
565+ "arm64"
566+ ],
567+ "optional": true,
568+ "os": [
569+ "linux"
570+ ]
571+ },
572+ "node_modules/@remotion/compositor-linux-arm64-musl": {
573+ "version": "4.0.424",
574+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-arm64-musl/-/compositor-linux-arm64-musl-4.0.424.tgz",
575+ "integrity": "sha512-L4cubvTp2J7D8mPXX8TTjZnePSetCzt/CIgyQCIz0JWMP+gbl86IOTE0Z5GtTThdmUjGqZqyZfWTwcFBZIQZuw==",
576+ "cpu": [
577+ "arm64"
578+ ],
579+ "optional": true,
580+ "os": [
581+ "linux"
582+ ]
583+ },
584+ "node_modules/@remotion/compositor-linux-x64-gnu": {
585+ "version": "4.0.424",
586+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-x64-gnu/-/compositor-linux-x64-gnu-4.0.424.tgz",
587+ "integrity": "sha512-XhRJsa4Z43fJmjMiPzt1asTWwNz7+xnwy22/Clx2OdFSnZ66MOvN1M6QHJ2SrZdWZ9UBB1uN9itafUTiUQMVnQ==",
588+ "cpu": [
589+ "x64"
590+ ],
591+ "optional": true,
592+ "os": [
593+ "linux"
594+ ]
595+ },
596+ "node_modules/@remotion/compositor-linux-x64-musl": {
597+ "version": "4.0.424",
598+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-x64-musl/-/compositor-linux-x64-musl-4.0.424.tgz",
599+ "integrity": "sha512-7HOF5S6y4D6iereHk29jvMFQZ733bqsdO8y7uk4IHKbneklUg8Zhv81W7hmcQ2OSH7ADmyV47NEgxkFbsj0A1w==",
600+ "cpu": [
601+ "x64"
602+ ],
603+ "optional": true,
604+ "os": [
605+ "linux"
606+ ]
607+ },
608+ "node_modules/@remotion/compositor-win32-x64-msvc": {
609+ "version": "4.0.424",
610+ "resolved": "https://registry.npmjs.org/@remotion/compositor-win32-x64-msvc/-/compositor-win32-x64-msvc-4.0.424.tgz",
611+ "integrity": "sha512-SJZthkm1z0YJElrdU4tiDj4cSYo+0JdNNMBtXaURu0luFcR19PP4O+m78Obo8F3RpOnU5CnDb14efmbpgS8WEg==",
612+ "cpu": [
613+ "x64"
614+ ],
615+ "optional": true,
616+ "os": [
617+ "win32"
618+ ]
619+ },
620+ "node_modules/@remotion/google-fonts": {
621+ "version": "4.0.424",
622+ "resolved": "https://registry.npmjs.org/@remotion/google-fonts/-/google-fonts-4.0.424.tgz",
623+ "integrity": "sha512-4s0aH6JQimOqDxV22C/our6JV5eGDtxR4BF1RRtuuKf0ovw+rvOKZ2XsySsTVO4NjbSKPwpbVdkwRCg5822w2w==",
624+ "license": "SEE LICENSE IN LICENSE.md",
625+ "dependencies": {
626+ "remotion": "4.0.424"
627+ }
628+ },
629+ "node_modules/@remotion/licensing": {
630+ "version": "4.0.424",
631+ "resolved": "https://registry.npmjs.org/@remotion/licensing/-/licensing-4.0.424.tgz",
632+ "integrity": "sha512-sTILsx6+tCHLgzp3m2nFevf73CL1lgdGdgwH4jMe3kbVtEDj7+Va3QFWLLm3ZMex7IsmiR522pAW0MgvMhUOFg==",
633+ "license": "MIT"
634+ },
635+ "node_modules/@remotion/media-parser": {
636+ "version": "4.0.424",
637+ "resolved": "https://registry.npmjs.org/@remotion/media-parser/-/media-parser-4.0.424.tgz",
638+ "integrity": "sha512-ooEsA8BV0wb65BsxOqE3lsmGuWcE8qfE/e5xjH7KFAlCgrWfdAk3J/Ee/RcqxJ+qz91Izx7xjE6OUqT9hx2XyA==",
639+ "license": "Remotion License https://remotion.dev/license"
640+ },
641+ "node_modules/@remotion/media-utils": {
642+ "version": "4.0.424",
643+ "resolved": "https://registry.npmjs.org/@remotion/media-utils/-/media-utils-4.0.424.tgz",
644+ "integrity": "sha512-XJSTz9A53qCd3ctoDe5efOTR4SbRBVArtwEJw2yQHp+lH+5n2ajeEfrAdcGBbpzsvVngsz0hTzgvcdI8YHBMwA==",
645+ "license": "MIT",
646+ "dependencies": {
647+ "@remotion/media-parser": "4.0.424",
648+ "@remotion/webcodecs": "4.0.424",
649+ "mediabunny": "1.34.4",
650+ "remotion": "4.0.424"
651+ },
652+ "peerDependencies": {
653+ "react": ">=16.8.0",
654+ "react-dom": ">=16.8.0"
655+ }
656+ },
657+ "node_modules/@remotion/paths": {
658+ "version": "4.0.424",
659+ "resolved": "https://registry.npmjs.org/@remotion/paths/-/paths-4.0.424.tgz",
660+ "integrity": "sha512-HtjqJsgdqkHPL0PVjtOpLujf84XtNYpla1yDbuxrFvkbj9B1siEWJOdCtIz04HlvULCd+kdBsL3lpgTnEZjiRg==",
661+ "license": "MIT"
662+ },
663+ "node_modules/@remotion/player": {
664+ "version": "4.0.424",
665+ "resolved": "https://registry.npmjs.org/@remotion/player/-/player-4.0.424.tgz",
666+ "integrity": "sha512-nhEXc6dZMHL13Od7IGcNG/D58IHwCCjPhMioDAG5CCQ/c+LPirkaXGmf5TuIrd933DOWrNUpXuKDUyAOJozPqA==",
667+ "license": "SEE LICENSE IN LICENSE.md",
668+ "dependencies": {
669+ "remotion": "4.0.424"
670+ },
671+ "peerDependencies": {
672+ "react": ">=16.8.0",
673+ "react-dom": ">=16.8.0"
674+ }
675+ },
676+ "node_modules/@remotion/renderer": {
677+ "version": "4.0.424",
678+ "resolved": "https://registry.npmjs.org/@remotion/renderer/-/renderer-4.0.424.tgz",
679+ "integrity": "sha512-57b7ZFYSouTXEA4kKmfyKaooiTw0eQ/A3Th30Jxa4KdQspl+D3z0SaiIzE9yP/pxHoT2qmUntUbjFxPUoHhjyQ==",
680+ "license": "SEE LICENSE IN LICENSE.md",
681+ "dependencies": {
682+ "@remotion/licensing": "4.0.424",
683+ "@remotion/streaming": "4.0.424",
684+ "execa": "5.1.1",
685+ "extract-zip": "2.0.1",
686+ "remotion": "4.0.424",
687+ "source-map": "^0.8.0-beta.0",
688+ "ws": "8.17.1"
689+ },
690+ "optionalDependencies": {
691+ "@remotion/compositor-darwin-arm64": "4.0.424",
692+ "@remotion/compositor-darwin-x64": "4.0.424",
693+ "@remotion/compositor-linux-arm64-gnu": "4.0.424",
694+ "@remotion/compositor-linux-arm64-musl": "4.0.424",
695+ "@remotion/compositor-linux-x64-gnu": "4.0.424",
696+ "@remotion/compositor-linux-x64-musl": "4.0.424",
697+ "@remotion/compositor-win32-x64-msvc": "4.0.424"
698+ },
699+ "peerDependencies": {
700+ "react": ">=16.8.0",
701+ "react-dom": ">=16.8.0"
702+ }
703+ },
704+ "node_modules/@remotion/renderer/node_modules/source-map": {
705+ "version": "0.8.0-beta.0",
706+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz",
707+ "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==",
708+ "deprecated": "The work that was done in this beta branch won't be included in future versions",
709+ "license": "BSD-3-Clause",
710+ "dependencies": {
711+ "whatwg-url": "^7.0.0"
712+ },
713+ "engines": {
714+ "node": ">= 8"
715+ }
716+ },
717+ "node_modules/@remotion/shapes": {
718+ "version": "4.0.424",
719+ "resolved": "https://registry.npmjs.org/@remotion/shapes/-/shapes-4.0.424.tgz",
720+ "integrity": "sha512-Buh2v2N0ekx9J9IWxJ26dYpEHgC3JvJ1OZaCqoZj2JggxmW/qDETBUmD6/mas/lJj3XmI2HkpXd35r+Rntv9KA==",
721+ "license": "MIT",
722+ "dependencies": {
723+ "@remotion/paths": "4.0.424"
724+ },
725+ "peerDependencies": {
726+ "react": ">=16.8.0",
727+ "react-dom": ">=16.8.0"
728+ }
729+ },
730+ "node_modules/@remotion/streaming": {
731+ "version": "4.0.424",
732+ "resolved": "https://registry.npmjs.org/@remotion/streaming/-/streaming-4.0.424.tgz",
733+ "integrity": "sha512-5axS/tXlXRJnEtiMRQCoH4z+lktILThYysJq5G9hYCBrOk8wdPMQ8lsVNC/agBLY6G6lGWMWjF3PGFBskxNlFQ==",
734+ "license": "MIT"
735+ },
736+ "node_modules/@remotion/studio": {
737+ "version": "4.0.424",
738+ "resolved": "https://registry.npmjs.org/@remotion/studio/-/studio-4.0.424.tgz",
739+ "integrity": "sha512-zdko2oC7mtarPlARyM2ULoI9+5l1zigZ2kdKpYOe+LG3QI+8mB5rZC6Ndr962mmuGwbBZnehZyteJKtSp5ihrw==",
740+ "license": "MIT",
741+ "dependencies": {
742+ "@remotion/media-utils": "4.0.424",
743+ "@remotion/player": "4.0.424",
744+ "@remotion/renderer": "4.0.424",
745+ "@remotion/studio-shared": "4.0.424",
746+ "@remotion/web-renderer": "4.0.424",
747+ "@remotion/zod-types": "4.0.424",
748+ "mediabunny": "1.34.4",
749+ "memfs": "3.4.3",
750+ "open": "^8.4.2",
751+ "remotion": "4.0.424",
752+ "semver": "7.5.3",
753+ "source-map": "0.7.3",
754+ "zod": "3.22.3"
755+ },
756+ "peerDependencies": {
757+ "react": ">=16.8.0",
758+ "react-dom": ">=16.8.0"
759+ }
760+ },
761+ "node_modules/@remotion/studio-server": {
762+ "version": "4.0.424",
763+ "resolved": "https://registry.npmjs.org/@remotion/studio-server/-/studio-server-4.0.424.tgz",
764+ "integrity": "sha512-t0Gnaz0fSir+0vWXi49VeXDF5YB5QuiB0cVN859WffPhB7s7CzK7IQgWlT2Ze5ePMY3WWzz11lgEimWgGpkVuA==",
765+ "license": "MIT",
766+ "dependencies": {
767+ "@babel/parser": "7.24.1",
768+ "@remotion/bundler": "4.0.424",
769+ "@remotion/renderer": "4.0.424",
770+ "@remotion/studio-shared": "4.0.424",
771+ "memfs": "3.4.3",
772+ "open": "^8.4.2",
773+ "recast": "0.23.11",
774+ "remotion": "4.0.424",
775+ "semver": "7.5.3",
776+ "source-map": "0.7.3"
777+ }
778+ },
779+ "node_modules/@remotion/studio-shared": {
780+ "version": "4.0.424",
781+ "resolved": "https://registry.npmjs.org/@remotion/studio-shared/-/studio-shared-4.0.424.tgz",
782+ "integrity": "sha512-1vSWV/Fagns9FtFTxozUSh7qylTPjw6glH/hIr5cNwdHO4TEy5gDu+yAiuBBPCLoQMhaCNrThsQYUP4x7AbZ7w==",
783+ "license": "MIT",
784+ "dependencies": {
785+ "remotion": "4.0.424"
786+ }
787+ },
788+ "node_modules/@remotion/transitions": {
789+ "version": "4.0.424",
790+ "resolved": "https://registry.npmjs.org/@remotion/transitions/-/transitions-4.0.424.tgz",
791+ "integrity": "sha512-vvokb6tI0Z1snRODy3TldwobdZ09JueAMNqbzqLa7Bnt79JF1zwyBhW3lqESsB4AzYpNZC0gTfmkxThMwL/xBQ==",
792+ "license": "UNLICENSED",
793+ "dependencies": {
794+ "@remotion/paths": "4.0.424",
795+ "@remotion/shapes": "4.0.424",
796+ "remotion": "4.0.424"
797+ },
798+ "peerDependencies": {
799+ "react": ">=16.8.0",
800+ "react-dom": ">=16.8.0"
801+ }
802+ },
803+ "node_modules/@remotion/web-renderer": {
804+ "version": "4.0.424",
805+ "resolved": "https://registry.npmjs.org/@remotion/web-renderer/-/web-renderer-4.0.424.tgz",
806+ "integrity": "sha512-mHeKokorZgMzi5tzOVBdgRycsw23d9CUyOmkdtXh1gLpGH6c1jBvsN5JZ7jv17pCLhBPlpNtCACGGDWO28rMwQ==",
807+ "license": "UNLICENSED",
808+ "dependencies": {
809+ "@remotion/licensing": "4.0.424",
810+ "mediabunny": "1.34.4",
811+ "remotion": "4.0.424"
812+ },
813+ "peerDependencies": {
814+ "react": ">=18.0.0",
815+ "react-dom": ">=18.0.0"
816+ }
817+ },
818+ "node_modules/@remotion/webcodecs": {
819+ "version": "4.0.424",
820+ "resolved": "https://registry.npmjs.org/@remotion/webcodecs/-/webcodecs-4.0.424.tgz",
821+ "integrity": "sha512-Rgm/cXJY8SfbC4dZL2rv6S9ucNcpAxl0qF2gpXTABbEKduZtPeR3JSpnPC8PG/x5w1zZl+BrH+aDPOf5G1V3HQ==",
822+ "license": "Remotion License (See https://remotion.dev/docs/webcodecs#license)",
823+ "dependencies": {
824+ "@remotion/media-parser": "4.0.424"
825+ }
826+ },
827+ "node_modules/@remotion/zod-types": {
828+ "version": "4.0.424",
829+ "resolved": "https://registry.npmjs.org/@remotion/zod-types/-/zod-types-4.0.424.tgz",
830+ "integrity": "sha512-tQEr18cRKGEJZNOF4bnP2fPEPDkGLYCKT8mReCL0Z8tZu5Noaw77gXaZtydiINm7f2SprjF7vzC+r27F2WBCJA==",
831+ "license": "MIT",
832+ "dependencies": {
833+ "remotion": "4.0.424"
834+ },
835+ "peerDependencies": {
836+ "zod": "3.22.3"
837+ }
838+ },
839+ "node_modules/@types/dom-mediacapture-transform": {
840+ "version": "0.1.11",
841+ "resolved": "https://registry.npmjs.org/@types/dom-mediacapture-transform/-/dom-mediacapture-transform-0.1.11.tgz",
842+ "integrity": "sha512-Y2p+nGf1bF2XMttBnsVPHUWzRRZzqUoJAKmiP10b5umnO6DDrWI0BrGDJy1pOHoOULVmGSfFNkQrAlC5dcj6nQ==",
843+ "license": "MIT",
844+ "dependencies": {
845+ "@types/dom-webcodecs": "*"
846+ }
847+ },
848+ "node_modules/@types/dom-webcodecs": {
849+ "version": "0.1.13",
850+ "resolved": "https://registry.npmjs.org/@types/dom-webcodecs/-/dom-webcodecs-0.1.13.tgz",
851+ "integrity": "sha512-O5hkiFIcjjszPIYyUSyvScyvrBoV3NOEEZx/pMlsu44TKzWNkLVBBxnxJz42in5n3QIolYOcBYFCPZZ0h8SkwQ==",
852+ "license": "MIT"
853+ },
854+ "node_modules/@types/eslint": {
855+ "version": "9.6.1",
856+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
857+ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
858+ "license": "MIT",
859+ "dependencies": {
860+ "@types/estree": "*",
861+ "@types/json-schema": "*"
862+ }
863+ },
864+ "node_modules/@types/eslint-scope": {
865+ "version": "3.7.7",
866+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
867+ "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
868+ "license": "MIT",
869+ "dependencies": {
870+ "@types/eslint": "*",
871+ "@types/estree": "*"
872+ }
873+ },
874+ "node_modules/@types/estree": {
875+ "version": "1.0.8",
876+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
877+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
878+ "license": "MIT"
879+ },
880+ "node_modules/@types/json-schema": {
881+ "version": "7.0.15",
882+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
883+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
884+ "license": "MIT"
885+ },
886+ "node_modules/@types/node": {
887+ "version": "25.2.3",
888+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.2.3.tgz",
889+ "integrity": "sha512-m0jEgYlYz+mDJZ2+F4v8D1AyQb+QzsNqRuI7xg1VQX/KlKS0qT9r1Mo16yo5F/MtifXFgaofIFsdFMox2SxIbQ==",
890+ "license": "MIT",
891+ "dependencies": {
892+ "undici-types": "~7.16.0"
893+ }
894+ },
895+ "node_modules/@types/react": {
896+ "version": "19.2.14",
897+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
898+ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
899+ "license": "MIT",
900+ "dependencies": {
901+ "csstype": "^3.2.2"
902+ }
903+ },
904+ "node_modules/@types/yauzl": {
905+ "version": "2.10.3",
906+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
907+ "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
908+ "license": "MIT",
909+ "optional": true,
910+ "dependencies": {
911+ "@types/node": "*"
912+ }
913+ },
914+ "node_modules/@webassemblyjs/ast": {
915+ "version": "1.14.1",
916+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",
917+ "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==",
918+ "license": "MIT",
919+ "dependencies": {
920+ "@webassemblyjs/helper-numbers": "1.13.2",
921+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2"
922+ }
923+ },
924+ "node_modules/@webassemblyjs/floating-point-hex-parser": {
925+ "version": "1.13.2",
926+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz",
927+ "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==",
928+ "license": "MIT"
929+ },
930+ "node_modules/@webassemblyjs/helper-api-error": {
931+ "version": "1.13.2",
932+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz",
933+ "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==",
934+ "license": "MIT"
935+ },
936+ "node_modules/@webassemblyjs/helper-buffer": {
937+ "version": "1.14.1",
938+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz",
939+ "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==",
940+ "license": "MIT"
941+ },
942+ "node_modules/@webassemblyjs/helper-numbers": {
943+ "version": "1.13.2",
944+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz",
945+ "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==",
946+ "license": "MIT",
947+ "dependencies": {
948+ "@webassemblyjs/floating-point-hex-parser": "1.13.2",
949+ "@webassemblyjs/helper-api-error": "1.13.2",
950+ "@xtuc/long": "4.2.2"
951+ }
952+ },
953+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {
954+ "version": "1.13.2",
955+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz",
956+ "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==",
957+ "license": "MIT"
958+ },
959+ "node_modules/@webassemblyjs/helper-wasm-section": {
960+ "version": "1.14.1",
961+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz",
962+ "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==",
963+ "license": "MIT",
964+ "dependencies": {
965+ "@webassemblyjs/ast": "1.14.1",
966+ "@webassemblyjs/helper-buffer": "1.14.1",
967+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
968+ "@webassemblyjs/wasm-gen": "1.14.1"
969+ }
970+ },
971+ "node_modules/@webassemblyjs/ieee754": {
972+ "version": "1.13.2",
973+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz",
974+ "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==",
975+ "license": "MIT",
976+ "dependencies": {
977+ "@xtuc/ieee754": "^1.2.0"
978+ }
979+ },
980+ "node_modules/@webassemblyjs/leb128": {
981+ "version": "1.13.2",
982+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz",
983+ "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==",
984+ "license": "Apache-2.0",
985+ "dependencies": {
986+ "@xtuc/long": "4.2.2"
987+ }
988+ },
989+ "node_modules/@webassemblyjs/utf8": {
990+ "version": "1.13.2",
991+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz",
992+ "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==",
993+ "license": "MIT"
994+ },
995+ "node_modules/@webassemblyjs/wasm-edit": {
996+ "version": "1.14.1",
997+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz",
998+ "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==",
999+ "license": "MIT",
1000+ "dependencies": {
1001+ "@webassemblyjs/ast": "1.14.1",
1002+ "@webassemblyjs/helper-buffer": "1.14.1",
1003+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
1004+ "@webassemblyjs/helper-wasm-section": "1.14.1",
1005+ "@webassemblyjs/wasm-gen": "1.14.1",
1006+ "@webassemblyjs/wasm-opt": "1.14.1",
1007+ "@webassemblyjs/wasm-parser": "1.14.1",
1008+ "@webassemblyjs/wast-printer": "1.14.1"
1009+ }
1010+ },
1011+ "node_modules/@webassemblyjs/wasm-gen": {
1012+ "version": "1.14.1",
1013+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz",
1014+ "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==",
1015+ "license": "MIT",
1016+ "dependencies": {
1017+ "@webassemblyjs/ast": "1.14.1",
1018+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
1019+ "@webassemblyjs/ieee754": "1.13.2",
1020+ "@webassemblyjs/leb128": "1.13.2",
1021+ "@webassemblyjs/utf8": "1.13.2"
1022+ }
1023+ },
1024+ "node_modules/@webassemblyjs/wasm-opt": {
1025+ "version": "1.14.1",
1026+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz",
1027+ "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==",
1028+ "license": "MIT",
1029+ "dependencies": {
1030+ "@webassemblyjs/ast": "1.14.1",
1031+ "@webassemblyjs/helper-buffer": "1.14.1",
1032+ "@webassemblyjs/wasm-gen": "1.14.1",
1033+ "@webassemblyjs/wasm-parser": "1.14.1"
1034+ }
1035+ },
1036+ "node_modules/@webassemblyjs/wasm-parser": {
1037+ "version": "1.14.1",
1038+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz",
1039+ "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==",
1040+ "license": "MIT",
1041+ "dependencies": {
1042+ "@webassemblyjs/ast": "1.14.1",
1043+ "@webassemblyjs/helper-api-error": "1.13.2",
1044+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
1045+ "@webassemblyjs/ieee754": "1.13.2",
1046+ "@webassemblyjs/leb128": "1.13.2",
1047+ "@webassemblyjs/utf8": "1.13.2"
1048+ }
1049+ },
1050+ "node_modules/@webassemblyjs/wast-printer": {
1051+ "version": "1.14.1",
1052+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz",
1053+ "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==",
1054+ "license": "MIT",
1055+ "dependencies": {
1056+ "@webassemblyjs/ast": "1.14.1",
1057+ "@xtuc/long": "4.2.2"
1058+ }
1059+ },
1060+ "node_modules/@xtuc/ieee754": {
1061+ "version": "1.2.0",
1062+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
1063+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
1064+ "license": "BSD-3-Clause"
1065+ },
1066+ "node_modules/@xtuc/long": {
1067+ "version": "4.2.2",
1068+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
1069+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
1070+ "license": "Apache-2.0"
1071+ },
1072+ "node_modules/acorn": {
1073+ "version": "8.15.0",
1074+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
1075+ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
1076+ "license": "MIT",
1077+ "bin": {
1078+ "acorn": "bin/acorn"
1079+ },
1080+ "engines": {
1081+ "node": ">=0.4.0"
1082+ }
1083+ },
1084+ "node_modules/acorn-import-phases": {
1085+ "version": "1.0.4",
1086+ "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz",
1087+ "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==",
1088+ "license": "MIT",
1089+ "engines": {
1090+ "node": ">=10.13.0"
1091+ },
1092+ "peerDependencies": {
1093+ "acorn": "^8.14.0"
1094+ }
1095+ },
1096+ "node_modules/ajv": {
1097+ "version": "6.12.6",
1098+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
1099+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1100+ "license": "MIT",
1101+ "dependencies": {
1102+ "fast-deep-equal": "^3.1.1",
1103+ "fast-json-stable-stringify": "^2.0.0",
1104+ "json-schema-traverse": "^0.4.1",
1105+ "uri-js": "^4.2.2"
1106+ },
1107+ "funding": {
1108+ "type": "github",
1109+ "url": "https://github.com/sponsors/epoberezkin"
1110+ }
1111+ },
1112+ "node_modules/ajv-formats": {
1113+ "version": "2.1.1",
1114+ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz",
1115+ "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==",
1116+ "license": "MIT",
1117+ "dependencies": {
1118+ "ajv": "^8.0.0"
1119+ },
1120+ "peerDependencies": {
1121+ "ajv": "^8.0.0"
1122+ },
1123+ "peerDependenciesMeta": {
1124+ "ajv": {
1125+ "optional": true
1126+ }
1127+ }
1128+ },
1129+ "node_modules/ajv-formats/node_modules/ajv": {
1130+ "version": "8.18.0",
1131+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
1132+ "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
1133+ "license": "MIT",
1134+ "dependencies": {
1135+ "fast-deep-equal": "^3.1.3",
1136+ "fast-uri": "^3.0.1",
1137+ "json-schema-traverse": "^1.0.0",
1138+ "require-from-string": "^2.0.2"
1139+ },
1140+ "funding": {
1141+ "type": "github",
1142+ "url": "https://github.com/sponsors/epoberezkin"
1143+ }
1144+ },
1145+ "node_modules/ajv-formats/node_modules/json-schema-traverse": {
1146+ "version": "1.0.0",
1147+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
1148+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
1149+ "license": "MIT"
1150+ },
1151+ "node_modules/ajv-keywords": {
1152+ "version": "3.5.2",
1153+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
1154+ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",
1155+ "license": "MIT",
1156+ "peerDependencies": {
1157+ "ajv": "^6.9.1"
1158+ }
1159+ },
1160+ "node_modules/ast-types": {
1161+ "version": "0.16.1",
1162+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz",
1163+ "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==",
1164+ "license": "MIT",
1165+ "dependencies": {
1166+ "tslib": "^2.0.1"
1167+ },
1168+ "engines": {
1169+ "node": ">=4"
1170+ }
1171+ },
1172+ "node_modules/baseline-browser-mapping": {
1173+ "version": "2.9.19",
1174+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz",
1175+ "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==",
1176+ "license": "Apache-2.0",
1177+ "bin": {
1178+ "baseline-browser-mapping": "dist/cli.js"
1179+ }
1180+ },
1181+ "node_modules/big.js": {
1182+ "version": "5.2.2",
1183+ "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
1184+ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
1185+ "license": "MIT",
1186+ "engines": {
1187+ "node": "*"
1188+ }
1189+ },
1190+ "node_modules/browserslist": {
1191+ "version": "4.28.1",
1192+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
1193+ "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
1194+ "funding": [
1195+ {
1196+ "type": "opencollective",
1197+ "url": "https://opencollective.com/browserslist"
1198+ },
1199+ {
1200+ "type": "tidelift",
1201+ "url": "https://tidelift.com/funding/github/npm/browserslist"
1202+ },
1203+ {
1204+ "type": "github",
1205+ "url": "https://github.com/sponsors/ai"
1206+ }
1207+ ],
1208+ "license": "MIT",
1209+ "dependencies": {
1210+ "baseline-browser-mapping": "^2.9.0",
1211+ "caniuse-lite": "^1.0.30001759",
1212+ "electron-to-chromium": "^1.5.263",
1213+ "node-releases": "^2.0.27",
1214+ "update-browserslist-db": "^1.2.0"
1215+ },
1216+ "bin": {
1217+ "browserslist": "cli.js"
1218+ },
1219+ "engines": {
1220+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1221+ }
1222+ },
1223+ "node_modules/buffer-crc32": {
1224+ "version": "0.2.13",
1225+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
1226+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
1227+ "license": "MIT",
1228+ "engines": {
1229+ "node": "*"
1230+ }
1231+ },
1232+ "node_modules/buffer-from": {
1233+ "version": "1.1.2",
1234+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
1235+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
1236+ "license": "MIT"
1237+ },
1238+ "node_modules/caniuse-lite": {
1239+ "version": "1.0.30001770",
1240+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001770.tgz",
1241+ "integrity": "sha512-x/2CLQ1jHENRbHg5PSId2sXq1CIO1CISvwWAj027ltMVG2UNgW+w9oH2+HzgEIRFembL8bUlXtfbBHR1fCg2xw==",
1242+ "funding": [
1243+ {
1244+ "type": "opencollective",
1245+ "url": "https://opencollective.com/browserslist"
1246+ },
1247+ {
1248+ "type": "tidelift",
1249+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1250+ },
1251+ {
1252+ "type": "github",
1253+ "url": "https://github.com/sponsors/ai"
1254+ }
1255+ ],
1256+ "license": "CC-BY-4.0"
1257+ },
1258+ "node_modules/chrome-trace-event": {
1259+ "version": "1.0.4",
1260+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",
1261+ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",
1262+ "license": "MIT",
1263+ "engines": {
1264+ "node": ">=6.0"
1265+ }
1266+ },
1267+ "node_modules/commander": {
1268+ "version": "2.20.3",
1269+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
1270+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
1271+ "license": "MIT"
1272+ },
1273+ "node_modules/cross-spawn": {
1274+ "version": "7.0.6",
1275+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
1276+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
1277+ "license": "MIT",
1278+ "dependencies": {
1279+ "path-key": "^3.1.0",
1280+ "shebang-command": "^2.0.0",
1281+ "which": "^2.0.1"
1282+ },
1283+ "engines": {
1284+ "node": ">= 8"
1285+ }
1286+ },
1287+ "node_modules/css-loader": {
1288+ "version": "5.2.7",
1289+ "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.7.tgz",
1290+ "integrity": "sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg==",
1291+ "license": "MIT",
1292+ "dependencies": {
1293+ "icss-utils": "^5.1.0",
1294+ "loader-utils": "^2.0.0",
1295+ "postcss": "^8.2.15",
1296+ "postcss-modules-extract-imports": "^3.0.0",
1297+ "postcss-modules-local-by-default": "^4.0.0",
1298+ "postcss-modules-scope": "^3.0.0",
1299+ "postcss-modules-values": "^4.0.0",
1300+ "postcss-value-parser": "^4.1.0",
1301+ "schema-utils": "^3.0.0",
1302+ "semver": "^7.3.5"
1303+ },
1304+ "engines": {
1305+ "node": ">= 10.13.0"
1306+ },
1307+ "funding": {
1308+ "type": "opencollective",
1309+ "url": "https://opencollective.com/webpack"
1310+ },
1311+ "peerDependencies": {
1312+ "webpack": "^4.27.0 || ^5.0.0"
1313+ }
1314+ },
1315+ "node_modules/cssesc": {
1316+ "version": "3.0.0",
1317+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
1318+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
1319+ "license": "MIT",
1320+ "bin": {
1321+ "cssesc": "bin/cssesc"
1322+ },
1323+ "engines": {
1324+ "node": ">=4"
1325+ }
1326+ },
1327+ "node_modules/csstype": {
1328+ "version": "3.2.3",
1329+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
1330+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
1331+ "license": "MIT"
1332+ },
1333+ "node_modules/debug": {
1334+ "version": "4.4.3",
1335+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
1336+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
1337+ "license": "MIT",
1338+ "dependencies": {
1339+ "ms": "^2.1.3"
1340+ },
1341+ "engines": {
1342+ "node": ">=6.0"
1343+ },
1344+ "peerDependenciesMeta": {
1345+ "supports-color": {
1346+ "optional": true
1347+ }
1348+ }
1349+ },
1350+ "node_modules/define-lazy-prop": {
1351+ "version": "2.0.0",
1352+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
1353+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
1354+ "license": "MIT",
1355+ "engines": {
1356+ "node": ">=8"
1357+ }
1358+ },
1359+ "node_modules/dotenv": {
1360+ "version": "17.3.1",
1361+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.3.1.tgz",
1362+ "integrity": "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA==",
1363+ "license": "BSD-2-Clause",
1364+ "engines": {
1365+ "node": ">=12"
1366+ },
1367+ "funding": {
1368+ "url": "https://dotenvx.com"
1369+ }
1370+ },
1371+ "node_modules/electron-to-chromium": {
1372+ "version": "1.5.286",
1373+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.286.tgz",
1374+ "integrity": "sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==",
1375+ "license": "ISC"
1376+ },
1377+ "node_modules/emojis-list": {
1378+ "version": "3.0.0",
1379+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
1380+ "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
1381+ "license": "MIT",
1382+ "engines": {
1383+ "node": ">= 4"
1384+ }
1385+ },
1386+ "node_modules/end-of-stream": {
1387+ "version": "1.4.5",
1388+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
1389+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
1390+ "license": "MIT",
1391+ "dependencies": {
1392+ "once": "^1.4.0"
1393+ }
1394+ },
1395+ "node_modules/enhanced-resolve": {
1396+ "version": "5.19.0",
1397+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.19.0.tgz",
1398+ "integrity": "sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==",
1399+ "license": "MIT",
1400+ "dependencies": {
1401+ "graceful-fs": "^4.2.4",
1402+ "tapable": "^2.3.0"
1403+ },
1404+ "engines": {
1405+ "node": ">=10.13.0"
1406+ }
1407+ },
1408+ "node_modules/es-module-lexer": {
1409+ "version": "2.0.0",
1410+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz",
1411+ "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==",
1412+ "license": "MIT"
1413+ },
1414+ "node_modules/esbuild": {
1415+ "version": "0.25.0",
1416+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz",
1417+ "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==",
1418+ "hasInstallScript": true,
1419+ "license": "MIT",
1420+ "bin": {
1421+ "esbuild": "bin/esbuild"
1422+ },
1423+ "engines": {
1424+ "node": ">=18"
1425+ },
1426+ "optionalDependencies": {
1427+ "@esbuild/aix-ppc64": "0.25.0",
1428+ "@esbuild/android-arm": "0.25.0",
1429+ "@esbuild/android-arm64": "0.25.0",
1430+ "@esbuild/android-x64": "0.25.0",
1431+ "@esbuild/darwin-arm64": "0.25.0",
1432+ "@esbuild/darwin-x64": "0.25.0",
1433+ "@esbuild/freebsd-arm64": "0.25.0",
1434+ "@esbuild/freebsd-x64": "0.25.0",
1435+ "@esbuild/linux-arm": "0.25.0",
1436+ "@esbuild/linux-arm64": "0.25.0",
1437+ "@esbuild/linux-ia32": "0.25.0",
1438+ "@esbuild/linux-loong64": "0.25.0",
1439+ "@esbuild/linux-mips64el": "0.25.0",
1440+ "@esbuild/linux-ppc64": "0.25.0",
1441+ "@esbuild/linux-riscv64": "0.25.0",
1442+ "@esbuild/linux-s390x": "0.25.0",
1443+ "@esbuild/linux-x64": "0.25.0",
1444+ "@esbuild/netbsd-arm64": "0.25.0",
1445+ "@esbuild/netbsd-x64": "0.25.0",
1446+ "@esbuild/openbsd-arm64": "0.25.0",
1447+ "@esbuild/openbsd-x64": "0.25.0",
1448+ "@esbuild/sunos-x64": "0.25.0",
1449+ "@esbuild/win32-arm64": "0.25.0",
1450+ "@esbuild/win32-ia32": "0.25.0",
1451+ "@esbuild/win32-x64": "0.25.0"
1452+ }
1453+ },
1454+ "node_modules/escalade": {
1455+ "version": "3.2.0",
1456+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
1457+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
1458+ "license": "MIT",
1459+ "engines": {
1460+ "node": ">=6"
1461+ }
1462+ },
1463+ "node_modules/eslint-scope": {
1464+ "version": "5.1.1",
1465+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
1466+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
1467+ "license": "BSD-2-Clause",
1468+ "dependencies": {
1469+ "esrecurse": "^4.3.0",
1470+ "estraverse": "^4.1.1"
1471+ },
1472+ "engines": {
1473+ "node": ">=8.0.0"
1474+ }
1475+ },
1476+ "node_modules/esprima": {
1477+ "version": "4.0.1",
1478+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
1479+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
1480+ "license": "BSD-2-Clause",
1481+ "bin": {
1482+ "esparse": "bin/esparse.js",
1483+ "esvalidate": "bin/esvalidate.js"
1484+ },
1485+ "engines": {
1486+ "node": ">=4"
1487+ }
1488+ },
1489+ "node_modules/esrecurse": {
1490+ "version": "4.3.0",
1491+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
1492+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1493+ "license": "BSD-2-Clause",
1494+ "dependencies": {
1495+ "estraverse": "^5.2.0"
1496+ },
1497+ "engines": {
1498+ "node": ">=4.0"
1499+ }
1500+ },
1501+ "node_modules/esrecurse/node_modules/estraverse": {

package.json added

1+ {
2+ "name": "airp-portrait-video",
3+ "version": "1.0.0",
4+ "description": "",
5+ "main": "index.js",
6+ "scripts": {
7+ "preview": "npx remotion preview src/index.ts",
8+ "render": "npx remotion render src/index.ts PortraitDaily out/portrait-daily.mp4"
9+ },
10+ "keywords": [],
11+ "author": "",
12+ "license": "ISC",
13+ "dependencies": {
14+ "@remotion/captions": "^4.0.424",
15+ "@remotion/cli": "^4.0.424",
16+ "@remotion/google-fonts": "^4.0.424",
17+ "@remotion/transitions": "^4.0.424",
18+ "@types/react": "^19.2.14",
19+ "react": "^19.2.4",
20+ "react-dom": "^19.2.4",
21+ "remotion": "^4.0.424",
22+ "typescript": "^5.9.3"
23+ }
24+ }

remotion.config.ts added

1+ import { Config } from "@remotion/cli/config";
2+
3+ Config.setVideoImageFormat("jpeg");
4+ Config.setOverwriteOutput(true);

src/PortraitVideo.tsx added

1+ import React from "react";
2+ import { TransitionSeries, linearTiming } from "@remotion/transitions";
3+ import { fade } from "@remotion/transitions/fade";
4+ import { AbsoluteFill, Audio, Sequence, staticFile } from "remotion";
5+ // glitch removed
6+ import { IntroScene } from "./scenes/IntroScene";
7+ import { HeadlineScene } from "./scenes/HeadlineScene";
8+ import { OutroScene } from "./scenes/OutroScene";
9+
10+ export interface Story {
11+ title: string;
12+ category: string;
13+ categoryColor: string;
14+ bgFile: string;
15+ clipFile?: string;
16+ image?: string;
17+ audioFile?: string;
18+ captionsFile?: string;
19+ bullets: string[];
20+ durationInFrames?: number;
21+ }
22+
23+ export interface PortraitVideoProps {
24+ stories: Story[];
25+ date: string;
26+ }
27+
28+ export const PortraitVideo: React.FC<PortraitVideoProps> = ({
29+ stories,
30+ date,
31+ }) => {
32+ const introAudioDurationInFrames = 86;
33+ const outroAudioDurationInFrames = 95;
34+
35+ const renderStory = (story: Story, i: number) => {
36+ const durationInFrames = story.durationInFrames ?? 120;
37+ // Extend TransitionSeries.Sequence to compensate for transition overlap so
38+ // video start aligns with audio start. Last story (→ outro fade8) needs +8f,
39+ // all others (→ black30 + fade20 each side) need +10f.
40+ const isLastStory = i === stories.length - 1;
41+ const seqDuration = durationInFrames + (isLastStory ? 8 : 10);
42+
43+ return (
44+ <TransitionSeries.Sequence durationInFrames={seqDuration}>
45+ <HeadlineScene
46+ title={story.title}
47+ bullets={story.bullets}
48+ category={story.category}
49+ categoryColor={story.categoryColor}
50+ bgFile={story.bgFile}
51+ clipFile={story.clipFile}
52+ image={story.image}
53+ captionsFile={story.captionsFile}
54+ audioStartFrame={0}
55+ index={i}
56+ totalStories={stories.length}
57+ durationInFrames={durationInFrames}
58+ />
59+ </TransitionSeries.Sequence>
60+ );
61+ };
62+
63+ let storyAudioCursor = introAudioDurationInFrames;
64+ const storyAudioSegments = stories.map((story) => {
65+ const durationInFrames = story.durationInFrames ?? 120;
66+ const from = storyAudioCursor;
67+ storyAudioCursor += durationInFrames;
68+ return {
69+ audioFile: story.audioFile,
70+ durationInFrames,
71+ from,
72+ };
73+ });
74+ const outroAudioFrom = storyAudioCursor;
75+
76+ return (
77+ <AbsoluteFill>
78+ <TransitionSeries>
79+ <TransitionSeries.Sequence durationInFrames={introAudioDurationInFrames + 20}>
80+ <IntroScene date={date} bgFile="2026-02-19-portrait-intro-bg-slow.mp4" />
81+ </TransitionSeries.Sequence>
82+
83+ {stories.length > 0 ? (
84+ <React.Fragment>
85+ <TransitionSeries.Transition
86+ presentation={fade({ shouldFadeOutExitingScene: true })}
87+ timing={linearTiming({ durationInFrames: 20 })}
88+ />
89+ {renderStory(stories[0], 0)}
90+ </React.Fragment>
91+ ) : null}
92+
93+ {stories.slice(1).map((story, storyIndex) => {
94+ const i = storyIndex + 1;
95+
96+ return (
97+ <React.Fragment key={i}>
98+ <TransitionSeries.Transition
99+ presentation={fade({ shouldFadeOutExitingScene: true })}
100+ timing={linearTiming({ durationInFrames: 20 })}
101+ />
102+ <TransitionSeries.Sequence durationInFrames={30}>
103+ <AbsoluteFill style={{ background: "#0d1117" }} />
104+ </TransitionSeries.Sequence>
105+ <TransitionSeries.Transition
106+ presentation={fade({ shouldFadeOutExitingScene: true })}
107+ timing={linearTiming({ durationInFrames: 20 })}
108+ />
109+ {renderStory(story, i)}
110+ </React.Fragment>
111+ );
112+ })}
113+
114+ {/* Fade to outro */}
115+ <TransitionSeries.Transition
116+ presentation={fade({ shouldFadeOutExitingScene: true })}
117+ timing={linearTiming({ durationInFrames: 8 })}
118+ />
119+ <TransitionSeries.Sequence durationInFrames={163}>
120+ <OutroScene bgFile="2026-02-19-portrait-outro-bg-slow.mp4" />
121+ </TransitionSeries.Sequence>
122+ </TransitionSeries>
123+
124+ {/* Audio timeline: back-to-back, independent from visual transitions */}
125+ <Sequence from={0}>
126+ <Sequence from={0} durationInFrames={introAudioDurationInFrames}>
127+ <Audio src={staticFile("audio-reels-intro.mp3")} />
128+ </Sequence>
129+ {storyAudioSegments.map((segment, i) => {
130+ if (!segment.audioFile) {
131+ return null;
132+ }
133+
134+ return (
135+ <Sequence
136+ key={`story-audio-${i}`}
137+ from={segment.from}
138+ durationInFrames={segment.durationInFrames}
139+ >
140+ <Audio src={staticFile(segment.audioFile)} />
141+ </Sequence>
142+ );
143+ })}
144+ <Sequence from={outroAudioFrom} durationInFrames={outroAudioDurationInFrames}>
145+ <Audio src={staticFile("audio-reels-outro.mp3")} />
146+ </Sequence>
147+ </Sequence>
148+ </AbsoluteFill>
149+ );
150+ };

src/Root.tsx added

1+ import React from "react";
2+ import { Composition } from "remotion";
3+ import { PortraitVideo } from "./PortraitVideo";
4+
5+ const STORIES = [
6+ {
7+ title: "Pentagon Nearly Cuts Off Anthropic",
8+ category: "AI SAFETY",
9+ categoryColor: "#FF6B6B",
10+ bgFile: "2026-02-19-portrait-story-1-bg-slow.mp4",
11+ clipFile: "2026-02-19-portrait-story-1-clip-slow.mp4",
12+ audioFile: "audio-reels-story1.mp3",
13+ captionsFile: "captions-story1-remotion.json",
14+ durationInFrames: 191,
15+ bullets: [],
16+ },
17+ {
18+ title: "Grok 4.20 Beta Matches GPT-5",
19+ category: "AI COMPETITION",
20+ categoryColor: "#FFA94D",
21+ bgFile: "2026-02-19-portrait-story-2-bg-slow.mp4",
22+ clipFile: "2026-02-19-portrait-story-2-clip-slow.mp4",
23+ audioFile: "audio-reels-story2.mp3",
24+ captionsFile: "captions-story2-remotion.json",
25+ durationInFrames: 359,
26+ bullets: [],
27+ },
28+ {
29+ title: "Gemini 3.1 Leaks in Dev Communities",
30+ category: "AI AGI",
31+ categoryColor: "#845EF7",
32+ bgFile: "2026-02-19-portrait-story-3-bg-slow.mp4",
33+ clipFile: "2026-02-19-portrait-story-3-clip-slow.mp4",
34+ audioFile: "audio-reels-story3.mp3",
35+ captionsFile: "captions-story3-remotion.json",
36+ durationInFrames: 181,
37+ bullets: [],
38+ },
39+ {
40+ title: "China, Iran, Russia Using Gemini for Cyberattacks",
41+ category: "AI SAFETY",
42+ categoryColor: "#FF6B6B",
43+ bgFile: "2026-02-19-portrait-story-4-bg-slow.mp4",
44+ clipFile: "2026-02-19-portrait-story-4-clip-slow.mp4",
45+ audioFile: "audio-reels-story4.mp3",
46+ captionsFile: "captions-story4-remotion.json",
47+ durationInFrames: 333,
48+ bullets: [],
49+ },
50+ {
51+ title: "Anthropic Bans Third-Party OAuth Tokens",
52+ category: "AI DEVELOPMENT",
53+ categoryColor: "#43ACE9",
54+ bgFile: "2026-02-19-portrait-story-5-bg-slow.mp4",
55+ clipFile: "2026-02-19-portrait-story-5-clip-slow.mp4",
56+ audioFile: "audio-reels-story5.mp3",
57+ captionsFile: "captions-story5-remotion.json",
58+ durationInFrames: 364,
59+ bullets: [],
60+ },
61+ ];
62+
63+ export const Root: React.FC = () => {
64+ return (
65+ <Composition
66+ id="PortraitDaily"
67+ component={PortraitVideo as React.ComponentType}
68+ durationInFrames={1677}
69+ fps={30}
70+ width={1080}
71+ height={1920}
72+ defaultProps={{
73+ stories: STORIES,
74+ date: "February 19, 2026",
75+ }}
76+ />
77+ );
78+ };

src/components/ProgressDots.tsx added

1+ import React from "react";
2+
3+ interface ProgressDotsProps {
4+ total: number;
5+ current: number;
6+ progress: number;
7+ color: string;
8+ }
9+
10+ export const ProgressDots: React.FC<ProgressDotsProps> = ({
11+ total,
12+ current,
13+ progress,
14+ color,
15+ }) => {
16+ const safeProgress = Math.max(0, Math.min(1, progress));
17+ const ringDegrees = safeProgress * 360;
18+
19+ return (
20+ <div
21+ style={{
22+ display: "flex",
23+ gap: 24,
24+ alignItems: "center",
25+ }}
26+ >
27+ {Array.from({ length: total }).map((_, i) => {
28+ const isCurrent = i === current;
29+ const isPast = i < current;
30+
31+ return (
32+ <div
33+ key={i}
34+ style={{
35+ width: 36,
36+ height: 36,
37+ borderRadius: "50%",
38+ position: "relative",
39+ background: isCurrent
40+ ? `conic-gradient(${color} ${ringDegrees}deg, rgba(255,255,255,0.2) ${ringDegrees}deg)`
41+ : isPast
42+ ? color
43+ : "rgba(255,255,255,0.18)",
44+ border: `2px solid ${isCurrent || isPast ? `${color}cc` : "rgba(255,255,255,0.3)"}`,
45+ }}
46+ >
47+ <div
48+ style={{
49+ position: "absolute",
50+ inset: 5,
51+ borderRadius: "50%",
52+ backgroundColor: "rgba(10,10,26,0.9)",
53+ }}
54+ />
55+ </div>
56+ );
57+ })}
58+ </div>
59+ );
60+ };

src/components/TikTokCaptions.tsx added

1+ import React, { useCallback, useEffect, useState } from "react";
2+ import {
3+ Sequence,
4+ staticFile,
5+ useCurrentFrame,
6+ useVideoConfig,
7+ continueRender,
8+ delayRender,
9+ spring,
10+ interpolate,
11+ } from "remotion";
12+ import { createTikTokStyleCaptions } from "@remotion/captions";
13+ import type { Caption } from "@remotion/captions";
14+ import { fontFamily } from "../fonts";
15+
16+ interface TikTokCaptionsProps {
17+ captionsFile: string;
18+ highlightColor?: string;
19+ audioStartFrame?: number;
20+ }
21+
22+ export const TikTokCaptions: React.FC<TikTokCaptionsProps> = ({
23+ captionsFile,
24+ highlightColor = "#43ACE9",
25+ audioStartFrame = 0,
26+ }) => {
27+ const [pages, setPages] = useState<
28+ ReturnType<typeof createTikTokStyleCaptions>["pages"]
29+ >([]);
30+ const [handle] = useState(() => delayRender());
31+ const { fps } = useVideoConfig();
32+ const frame = useCurrentFrame();
33+
34+ const fetchCaptions = useCallback(async () => {
35+ const res = await fetch(staticFile(captionsFile));
36+ const captions: Caption[] = await res.json();
37+ const { pages: rawPages } = createTikTokStyleCaptions({
38+ captions,
39+ combineTokensWithinMilliseconds: 100,
40+ });
41+
42+ // Split pages that would exceed 2 lines - word-aware splitting
43+ const maxWordsPerPage = 4; // ~2 lines worth of words
44+ const splitPages = rawPages.flatMap(page => {
45+ if (!page.tokens || page.tokens.length === 0) return [page];
46+
47+ // If page has 6 or fewer words, keep it as-is
48+ if (page.tokens.length <= maxWordsPerPage) {
49+ return [page];
50+ }
51+
52+ // Split into smaller pages by word count
53+ const result: typeof rawPages = [];
54+ let currentTokens: typeof page.tokens = [];
55+
56+ for (const token of page.tokens) {
57+ if (!token || !token.text) continue;
58+
59+ currentTokens.push(token);
60+
61+ // Create new page when we reach max words
62+ if (currentTokens.length >= maxWordsPerPage) {
63+ const firstToken = currentTokens[0];
64+ const lastToken = currentTokens[currentTokens.length - 1];
65+ if (firstToken && lastToken && firstToken.fromMs !== undefined && lastToken.toMs !== undefined) {
66+ result.push({
67+ tokens: currentTokens,
68+ text: currentTokens.map(t => t.text).join(' '),
69+ startMs: firstToken.fromMs,
70+ durationMs: lastToken.toMs - firstToken.fromMs,
71+ });
72+ }
73+ currentTokens = [];
74+ }
75+ }
76+
77+ // Add remaining tokens
78+ if (currentTokens.length > 0) {
79+ const firstToken = currentTokens[0];
80+ const lastToken = currentTokens[currentTokens.length - 1];
81+ if (firstToken && lastToken && firstToken.fromMs !== undefined && lastToken.toMs !== undefined) {
82+ result.push({
83+ tokens: currentTokens,
84+ text: currentTokens.map(t => t.text).join(' '),
85+ startMs: firstToken.fromMs,
86+ durationMs: lastToken.toMs - firstToken.fromMs,
87+ });
88+ }
89+ }
90+
91+ return result.length > 0 ? result : [page];
92+ });
93+
94+ setPages(splitPages);
95+ continueRender(handle);
96+ }, [captionsFile, handle]);
97+
98+ useEffect(() => {
99+ fetchCaptions();
100+ }, [fetchCaptions]);
101+
102+ return (
103+ <>
104+ {pages.map((page, i) => {
105+ const startFrame = Math.floor((page.startMs / 1000) * fps) + audioStartFrame;
106+ const durationFrames = Math.ceil((page.durationMs / 1000) * fps);
107+
108+ return (
109+ <Sequence key={i} from={startFrame} durationInFrames={durationFrames}>
110+ <div
111+ style={{
112+ position: "absolute",
113+ top: "52%",
114+ left: 0,
115+ right: 0,
116+ display: "flex",
117+ justifyContent: "center",
118+ alignItems: "center",
119+ }}
120+ >
121+ <div
122+ style={{
123+ textAlign: "center",
124+ maxWidth: "78%",
125+ fontFamily,
126+ fontWeight: 900,
127+ fontSize: 68,
128+ lineHeight: 1.3,
129+ textShadow:
130+ "0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5)",
131+ wordWrap: "break-word",
132+ overflowWrap: "break-word",
133+ whiteSpace: "normal",
134+ overflow: "visible",
135+ }}
136+ >
137+ {page.tokens.map((token, j) => {
138+ const wordStartFrame =
139+ Math.floor((token.fromMs / 1000) * fps) + audioStartFrame;
140+ const wordEndFrame =
141+ Math.ceil((token.toMs / 1000) * fps) + audioStartFrame;
142+ const isActive =
143+ frame >= wordStartFrame &&
144+ frame < wordEndFrame;
145+ const activeScale = isActive
146+ ? spring({
147+ frame: frame - wordStartFrame,
148+ fps,
149+ config: { damping: 10, stiffness: 200 },
150+ })
151+ : 0;
152+ const scale = interpolate(activeScale, [0, 1], [1, 1.15]);
153+ return (
154+ <span
155+ key={j}
156+ style={{
157+ color: isActive ? highlightColor : "#ffffff",
158+ WebkitTextStroke: "4px #000000",
159+ paintOrder: "stroke fill",
160+ transform: `scale(${scale})`,
161+ display: "inline-block",
162+ marginRight: j < page.tokens.length - 1 ? "0.3em" : "0",
163+ }}
164+ >
165+ {token.text}
166+ </span>
167+ );
168+ })}
169+ </div>
170+ </div>
171+ </Sequence>
172+ );
173+ })}
174+ </>
175+ );
176+ };

src/fonts.ts added

1+ import { loadFont } from "@remotion/google-fonts/Montserrat";
2+
3+ export const { fontFamily } = loadFont("normal", {
4+ weights: ["400", "600", "700", "800", "900"],
5+ subsets: ["latin"],
6+ });

src/index.ts added

1+ import { registerRoot } from "remotion";
2+ import { Root } from "./Root";
3+
4+ registerRoot(Root);

src/scenes/HeadlineScene.tsx added

1+ import React from "react";
2+ import {
3+ AbsoluteFill,
4+ Img,
5+ OffthreadVideo,
6+ interpolate,
7+ spring,
8+ staticFile,
9+ useCurrentFrame,
10+ useVideoConfig,
11+ } from "remotion";
12+ import { fontFamily } from "../fonts";
13+ import { TikTokCaptions } from "../components/TikTokCaptions";
14+ import { ProgressDots } from "../components/ProgressDots";
15+
16+ interface HeadlineSceneProps {
17+ title: string;
18+ bullets: string[];
19+ category: string;
20+ categoryColor: string;
21+ bgFile: string;
22+ clipFile?: string;
23+ image?: string;
24+ captionsFile?: string;
25+ audioStartFrame?: number;
26+ index: number;
27+ totalStories: number;
28+ durationInFrames: number;
29+ }
30+
31+ export const HeadlineScene: React.FC<HeadlineSceneProps> = ({
32+ title,
33+ bullets,
34+ category,
35+ categoryColor,
36+ bgFile,
37+ clipFile,
38+ image,
39+ captionsFile,
40+ audioStartFrame,
41+ index,
42+ totalStories,
43+ durationInFrames,
44+ }) => {
45+ const frame = useCurrentFrame();
46+ const { fps } = useVideoConfig();
47+
48+ // Category pill
49+ const categorySpring = spring({
50+ frame,
51+ fps,
52+ config: { damping: 35, mass: 0.6, stiffness: 100 },
53+ durationInFrames: 30,
54+ });
55+
56+ // Story number
57+ const numberSpring = spring({
58+ frame: frame - 5,
59+ fps,
60+ config: { damping: 22, mass: 0.6, stiffness: 100 },
61+ durationInFrames: 30,
62+ });
63+
64+ // Headline
65+ const headlineSpring = spring({
66+ frame: frame - 12,
67+ fps,
68+ config: { damping: 20, mass: 0.7, stiffness: 90 },
69+ durationInFrames: 40,
70+ });
71+
72+ // Accent line under headline
73+ const lineSpring = spring({
74+ frame: frame - 25,
75+ fps,
76+ config: { damping: 25, mass: 0.5, stiffness: 80 },
77+ durationInFrames: 40,
78+ });
79+
80+ // Bullet animations (staggered)
81+ const bulletSprings = bullets.map((_, i) =>
82+ spring({
83+ frame: frame - 35 - i * 10,
84+ fps,
85+ config: { damping: 20, mass: 0.6, stiffness: 90 },
86+ durationInFrames: 35,
87+ })
88+ );
89+
90+ // Image fade in + fast pan movement
91+ const imageOpacity = interpolate(frame, [0, 20], [0, 1], {
92+ extrapolateRight: "clamp",
93+ });
94+ const imageScale = interpolate(frame, [0, durationInFrames], [1.12, 1.04], {
95+ extrapolateRight: "clamp",
96+ });
97+ const imagePanX = interpolate(
98+ frame,
99+ [0, durationInFrames * 0.4, durationInFrames],
100+ [-140, 60, 10],
101+ {
102+ extrapolateRight: "clamp",
103+ }
104+ );
105+ const imagePanY = interpolate(
106+ frame,
107+ [0, durationInFrames * 0.5, durationInFrames],
108+ [-30, 20, -10],
109+ {
110+ extrapolateRight: "clamp",
111+ }
112+ );
113+ const imageRotate = interpolate(frame, [0, durationInFrames], [-1.2, 0.6], {
114+ extrapolateRight: "clamp",
115+ });
116+
117+ const headlineOpacity = headlineSpring;
118+ const lineWidth = interpolate(lineSpring, [0, 1], [0, 300]);
119+ const typedHeadlineLength = Math.min(
120+ title.length,
121+ Math.max(0, Math.floor((frame - 10) * 1.8))
122+ );
123+ const headlineRevealPercent =
124+ title.length === 0 ? 100 : (typedHeadlineLength / title.length) * 100;
125+ const showCursor = typedHeadlineLength < title.length && frame % 12 < 6;
126+ const storyProgress = durationInFrames <= 0 ? 0 : frame / durationInFrames;
127+ return (
128+ <AbsoluteFill style={{ backgroundColor: "#0a0a1a" }}>
129+ {/* ===== TOP HALF: Story clip or image ===== */}
130+ <div
131+ style={{
132+ position: "absolute",
133+ top: 0,
134+ left: 0,
135+ width: "100%",
136+ height: "50%",
137+ overflow: "hidden",
138+ }}
139+ >
140+ {clipFile ? (
141+ <OffthreadVideo
142+ src={staticFile(clipFile)}
143+ volume={0}
144+ style={{
145+ width: "100%",
146+ height: "100%",
147+ objectFit: "cover",
148+ }}
149+ />
150+ ) : image ? (
151+ <Img
152+ src={staticFile(image)}
153+ style={{
154+ width: "100%",
155+ height: "100%",
156+ objectFit: "cover",
157+ opacity: imageOpacity,
158+ transform: `translate(${imagePanX}px, ${imagePanY}px) scale(${imageScale}) rotate(${imageRotate}deg)`,
159+ }}
160+ />
161+ ) : null}
162+
163+ {/* Gradient fade at bottom of top half */}
164+ <div
165+ style={{
166+ position: "absolute",
167+ bottom: 0,
168+ left: 0,
169+ width: "100%",
170+ height: 200,
171+ background:
172+ "linear-gradient(transparent, rgba(10,10,26,0.85))",
173+ pointerEvents: "none",
174+ }}
175+ />
176+ </div>
177+
178+ {/* ===== BOTTOM HALF: Background video + text ===== */}
179+ <div
180+ style={{
181+ position: "absolute",
182+ top: "50%",
183+ left: 0,
184+ width: "100%",
185+ height: "50%",
186+ overflow: "hidden",
187+ }}
188+ >
189+ {/* Background video */}
190+ <OffthreadVideo
191+ src={staticFile(bgFile)}
192+ volume={0}
193+ style={{
194+ position: "absolute",
195+ top: 0,
196+ left: 0,
197+ width: "100%",
198+ height: "100%",
199+ objectFit: "cover",
200+ }}
201+ />
202+
203+ {/* Dark overlay */}
204+ <div
205+ style={{
206+ position: "absolute",
207+ top: 0,
208+ left: 0,
209+ width: "100%",
210+ height: "100%",
211+ backgroundColor: "rgba(5,5,20,0.65)",
212+ }}
213+ />
214+
215+ {/* Gradient fade at top blending from top half */}
216+ <div
217+ style={{
218+ position: "absolute",
219+ top: 0,
220+ left: 0,
221+ width: "100%",
222+ height: 200,
223+ background:
224+ "linear-gradient(rgba(10,10,26,0.85), transparent)",
225+ pointerEvents: "none",
226+ }}
227+ />
228+
229+ {/* Text content */}
230+ <div
231+ style={{
232+ position: "absolute",
233+ top: 0,
234+ left: 0,
235+ width: "100%",
236+ height: "100%",
237+ display: "flex",
238+ flexDirection: "column",
239+ justifyContent: "flex-start",
240+ padding: "0 72px",
241+ paddingTop: 140,
242+ }}
243+ >
244+ {/* Bullets (only when no captions) */}
245+ {!captionsFile &&
246+ bullets.map((bullet, i) => {
247+ const bSpring = bulletSprings[i];
248+ const bY = interpolate(bSpring, [0, 1], [20, 0]);
249+ return (
250+ <div
251+ key={i}
252+ style={{
253+ display: "flex",
254+ alignItems: "flex-start",
255+ gap: 16,
256+ marginBottom: 24,
257+ opacity: bSpring,
258+ transform: `translateY(${bY}px)`,
259+ }}
260+ >
261+ <div
262+ style={{
263+ width: 8,
264+ height: 8,
265+ borderRadius: "50%",
266+ backgroundColor: categoryColor,
267+ marginTop: 12,
268+ flexShrink: 0,
269+ }}
270+ />
271+ <div
272+ style={{
273+ fontFamily,
274+ fontWeight: 500,
275+ fontSize: 28,
276+ color: "rgba(255, 255, 255, 0.85)",
277+ lineHeight: 1.5,
278+ }}
279+ >
280+ {bullet}
281+ </div>
282+ </div>
283+ );
284+ })}
285+ </div>
286+ </div>
287+
288+ {/* TikTok-style captions */}
289+ {captionsFile && (
290+ <TikTokCaptions
291+ captionsFile={captionsFile}
292+ highlightColor={categoryColor}
293+ audioStartFrame={audioStartFrame}
294+ />
295+ )}
296+
297+ {/* Top headline block */}
298+ <div
299+ style={{
300+ position: "absolute",
301+ top: 120,
302+ left: 40,
303+ width: "calc(100% - 80px)",
304+ }}
305+ >
306+ {/* Category pill */}
307+ <div
308+ style={{
309+ opacity: categorySpring,
310+ marginBottom: 20,
311+ alignSelf: "flex-start",
312+ }}
313+ >
314+ <span
315+ style={{
316+ fontFamily,
317+ fontWeight: 700,
318+ fontSize: 36,
319+ color: "#ffffff",
320+ letterSpacing: "0.12em",
321+ background: `${categoryColor}CC`,
322+ border: `2px solid ${categoryColor}`,
323+ borderRadius: 8,
324+ padding: "10px 24px",
325+ display: "inline-block",
326+ }}
327+ >
328+ #{category}
329+ </span>
330+ </div>
331+
332+ {/* Headline */}
333+ <div
334+ style={{
335+ fontFamily,
336+ fontWeight: 800,
337+ fontSize: 52,
338+ color: "#ffffff",
339+ lineHeight: 1.2,
340+ opacity: headlineOpacity,
341+ marginBottom: 20,
342+ WebkitTextStroke: "6px rgba(0,0,0,0.9)",
343+ paintOrder: "stroke fill",
344+ }}
345+ >
346+ <div
347+ style={{
348+ position: "relative",
349+ display: "inline-block",
350+ width: "100%",
351+ }}
352+ >
353+ {/* Reserve final layout immediately to avoid headline reflow */}
354+ <div style={{ visibility: "hidden", whiteSpace: "pre-wrap" }}>{title}</div>
355+ <div
356+ style={{
357+ position: "absolute",
358+ inset: 0,
359+ whiteSpace: "pre-wrap",
360+ clipPath: `inset(0 ${100 - headlineRevealPercent}% 0 0)`,
361+ }}
362+ >
363+ {title}
364+ </div>
365+ {showCursor ? (
366+ <div
367+ style={{
368+ position: "absolute",
369+ top: "0.08em",
370+ bottom: "0.08em",
371+ left: `${headlineRevealPercent}%`,
372+ width: 3,
373+ backgroundColor: "#ffffff",
374+ transform: "translateX(-50%)",
375+ }}
376+ />
377+ ) : null}
378+ </div>
379+ </div>
380+
381+ {/* Accent line */}
382+ <div
383+ style={{
384+ width: lineWidth,
385+ height: 3,
386+ background: `linear-gradient(to right, ${categoryColor}, transparent)`,
387+ marginBottom: 40,
388+ }}
389+ />
390+ </div>
391+
392+ {/* Story number — top left */}
393+ <div
394+ style={{
395+ position: "absolute",
396+ top: 40,
397+ left: 40,
398+ fontFamily,
399+ fontWeight: 700,
400+ fontSize: 36,
401+ color: "#ffffff",
402+ letterSpacing: "0.12em",
403+ opacity: numberSpring,
404+ background: `${categoryColor}CC`,
405+ border: `2px solid ${categoryColor}`,
406+ borderRadius: 8,
407+ padding: "10px 24px",
408+ lineHeight: 1,
409+ display: "inline-block",
410+ }}
411+ >
412+ {String(index + 1).padStart(2, "0")}
413+ </div>
414+
415+ {/* Story progress dots */}
416+ <div
417+ style={{
418+ position: "absolute",
419+ top: 40,
420+ left: "50%",
421+ transform: "translateX(-50%)",
422+ }}
423+ >
424+ <ProgressDots
425+ total={totalStories}
426+ current={index}
427+ progress={storyProgress}
428+ color={categoryColor}
429+ />
430+ </div>
431+ </AbsoluteFill>
432+ );
433+ };

src/scenes/IntroScene.tsx added

1+ import React from "react";
2+ import {
3+ AbsoluteFill,
4+ Img,
5+ OffthreadVideo,
6+ interpolate,
7+ spring,
8+ staticFile,
9+ useCurrentFrame,
10+ useVideoConfig,
11+ } from "remotion";
12+ import { fontFamily } from "../fonts";
13+
14+ export const IntroScene: React.FC<{
15+ date: string;
16+ bgFile?: string;
17+ }> = ({ date, bgFile }) => {
18+ const frame = useCurrentFrame();
19+ const { fps, durationInFrames } = useVideoConfig();
20+ void durationInFrames;
21+ void date;
22+
23+ // Everything bounces in together, fast
24+ const mainBounce = spring({
25+ frame,
26+ fps,
27+ config: { damping: 10, mass: 0.5, stiffness: 180 },
28+ });
29+ const mainScale = interpolate(mainBounce, [0, 1], [0.5, 1]);
30+
31+ // Corner brackets
32+ const bracketOpacity = interpolate(frame, [0, 10], [0, 0.15], {
33+ extrapolateLeft: "clamp",
34+ extrapolateRight: "clamp",
35+ });
36+ const bracketColor = `rgba(67, 172, 233, ${bracketOpacity})`;
37+
38+ const cornerBracketStyle = (
39+ top: boolean,
40+ left: boolean
41+ ): React.CSSProperties => ({
42+ position: "absolute",
43+ top: top ? 60 : "auto",
44+ bottom: top ? "auto" : 60,
45+ left: left ? 60 : "auto",
46+ right: left ? "auto" : 60,
47+ width: 40,
48+ height: 40,
49+ borderTop: top ? `2px solid ${bracketColor}` : "none",
50+ borderBottom: top ? "none" : `2px solid ${bracketColor}`,
51+ borderLeft: left ? `2px solid ${bracketColor}` : "none",
52+ borderRight: left ? "none" : `2px solid ${bracketColor}`,
53+ });
54+
55+ return (
56+ <AbsoluteFill
57+ style={{
58+ background: "#0d1117",
59+ justifyContent: "center",
60+ alignItems: "center",
61+ }}
62+ >
63+ {/* Full-screen background video */}
64+ {bgFile && (
65+ <OffthreadVideo
66+ src={staticFile(bgFile)}
67+ style={{
68+ position: "absolute",
69+ width: "100%",
70+ height: "100%",
71+ objectFit: "cover",
72+ }}
73+ volume={0}
74+ />
75+ )}
76+ {bgFile && (
77+ <div
78+ style={{
79+ position: "absolute",
80+ inset: 0,
81+ background: "rgba(0, 0, 0, 0.5)",
82+ }}
83+ />
84+ )}
85+
86+ <div style={cornerBracketStyle(true, true)} />
87+ <div style={cornerBracketStyle(true, false)} />
88+ <div style={cornerBracketStyle(false, true)} />
89+ <div style={cornerBracketStyle(false, false)} />
90+
91+ {/* Everything bounces in as one unit */}
92+ <div
93+ style={{
94+ display: "flex",
95+ flexDirection: "column",
96+ alignItems: "center",
97+ opacity: mainBounce,
98+ transform: `scale(${mainScale})`,
99+ }}
100+ >
101+ <Img
102+ src={staticFile("logo.png")}
103+ style={{ width: 240, height: 240, marginBottom: 36 }}
104+ />
105+
106+ <div style={{ display: "flex", alignItems: "center", gap: 20 }}>
107+ <span
108+ style={{
109+ fontFamily,
110+ fontWeight: 900,
111+ fontSize: 84,
112+ color: "#ffffff",
113+ letterSpacing: "0.04em",
114+ }}
115+ >
116+ AI Resource
117+ </span>
118+ <span
119+ style={{
120+ fontFamily,
121+ fontWeight: 800,
122+ fontSize: 42,
123+ color: "#ffffff",
124+ backgroundColor: "#43ACE9",
125+ padding: "8px 24px",
126+ borderRadius: 50,
127+ letterSpacing: "0.06em",
128+ }}
129+ >
130+ PRO
131+ </span>
132+ </div>
133+
134+ <div
135+ style={{
136+ width: 260,
137+ height: 3,
138+ backgroundColor: "#43ACE9",
139+ marginTop: 24,
140+ marginBottom: 24,
141+ }}
142+ />
143+
144+ <div
145+ style={{
146+ fontFamily,
147+ fontWeight: 700,
148+ fontSize: 72,
149+ color: "#43ACE9",
150+ letterSpacing: "0.4em",
151+ }}
152+ >
153+ DAILY
154+ </div>
155+
156+ {/* date hidden */}
157+ </div>
158+ </AbsoluteFill>
159+ );
160+ };

src/scenes/OutroScene.tsx added

1+ import React from "react";
2+ import {
3+ AbsoluteFill,
4+ Img,
5+ OffthreadVideo,
6+ interpolate,
7+ staticFile,
8+ useCurrentFrame,
9+ useVideoConfig,
10+ } from "remotion";
11+ import { fontFamily } from "../fonts";
12+
13+ export const OutroScene: React.FC<{
14+ bgFile?: string;
15+ }> = ({ bgFile }) => {
16+ const frame = useCurrentFrame();
17+ const { durationInFrames } = useVideoConfig();
18+
19+ // Quick fade-in over first 15 frames, then stay visible
20+ const fadeIn = interpolate(frame, [0, 15], [0, 1], {
21+ extrapolateLeft: "clamp",
22+ extrapolateRight: "clamp",
23+ });
24+ const logoScale = interpolate(frame, [0, 15], [0.9, 1], {
25+ extrapolateLeft: "clamp",
26+ extrapolateRight: "clamp",
27+ });
28+
29+ // Fade everything to black over the last 30 frames
30+ const fadeOut = interpolate(
31+ frame,
32+ [durationInFrames - 30, durationInFrames - 1],
33+ [1, 0],
34+ { extrapolateLeft: "clamp", extrapolateRight: "clamp" }
35+ );
36+ return (
37+ <AbsoluteFill
38+ style={{
39+ background: "#0d1117",
40+ justifyContent: "center",
41+ alignItems: "center",
42+ opacity: fadeOut,
43+ }}
44+ >
45+ {/* Full-screen background video */}
46+ {bgFile && (
47+ <OffthreadVideo
48+ src={staticFile(bgFile)}
49+ style={{
50+ position: "absolute",
51+ width: "100%",
52+ height: "100%",
53+ objectFit: "cover",
54+ }}
55+ volume={0}
56+ />
57+ )}
58+ {bgFile && (
59+ <div
60+ style={{
61+ position: "absolute",
62+ inset: 0,
63+ background: "rgba(0, 0, 0, 0.7)",
64+ }}
65+ />
66+ )}
67+
68+ <div
69+ style={{
70+ position: "relative",
71+ zIndex: 1,
72+ display: "flex",
73+ flexDirection: "column",
74+ alignItems: "center",
75+ gap: 0,
76+ }}
77+ >
78+ {/* Logo image */}
79+ <Img
80+ src={staticFile("logo.png")}
81+ style={{
82+ width: 240,
83+ height: 240,
84+ opacity: fadeIn,
85+ transform: `scale(${logoScale})`,
86+ marginBottom: 24,
87+ }}
88+ />
89+
90+ {/* AI Resource + PRO badge lockup */}
91+ <div
92+ style={{
93+ display: "flex",
94+ alignItems: "center",
95+ gap: 20,
96+ opacity: fadeIn,
97+ transform: `scale(${logoScale})`,
98+ }}
99+ >
100+ <span
101+ style={{
102+ fontFamily,
103+ fontWeight: 900,
104+ fontSize: 84,
105+ color: "#ffffff",
106+ letterSpacing: "0.04em",
107+ }}
108+ >
109+ AI Resource
110+ </span>
111+ <span
112+ style={{
113+ fontFamily,
114+ fontWeight: 800,
115+ fontSize: 42,
116+ color: "#ffffff",
117+ backgroundColor: "#43ACE9",
118+ padding: "8px 24px",
119+ borderRadius: 50,
120+ letterSpacing: "0.06em",
121+ }}
122+ >
123+ PRO
124+ </span>
125+ </div>
126+
127+ {/* Subscribe */}
128+ <div
129+ style={{
130+ display: "flex",
131+ flexDirection: "column",
132+ alignItems: "center",
133+ marginTop: 48,
134+ opacity: fadeIn,
135+ }}
136+ >
137+ <div
138+ style={{
139+ fontFamily,
140+ fontWeight: 700,
141+ fontSize: 42,
142+ color: "#ffffff",
143+ letterSpacing: "0.15em",
144+ }}
145+ >
146+ SUBSCRIBE
147+ </div>
148+ <div
149+ style={{
150+ width: 80,
151+ height: 2,
152+ backgroundColor: "#43ACE9",
153+ marginTop: 8,
154+ }}
155+ />
156+ </div>
157+
158+ {/* Social handles */}
159+ <div
160+ style={{
161+ display: "flex",
162+ gap: 40,
163+ marginTop: 48,
164+ opacity: fadeIn,
165+ }}
166+ >
167+ {["YouTube", "X", "TikTok"].map((platform) => (
168+ <div
169+ key={platform}
170+ style={{
171+ display: "flex",
172+ flexDirection: "column",
173+ alignItems: "center",
174+ gap: 8,
175+ }}
176+ >
177+ <div
178+ style={{
179+ fontFamily,
180+ fontWeight: 400,
181+ fontSize: 30,
182+ color: "rgba(255, 255, 255, 0.4)",
183+ letterSpacing: "0.05em",
184+ }}
185+ >
186+ {platform}
187+ </div>
188+ <div
189+ style={{
190+ fontFamily,
191+ fontWeight: 600,
192+ fontSize: 34,
193+ color: "rgba(255, 255, 255, 0.75)",
194+ }}
195+ >
196+ @airesourcepro
197+ </div>
198+ </div>
199+ ))}
200+ </div>
201+
202+ {/* Tagline */}
203+ <div
204+ style={{
205+ fontFamily,
206+ fontWeight: 400,
207+ fontSize: 34,
208+ color: "rgba(255, 255, 255, 0.4)",
209+ letterSpacing: "0.2em",
210+ marginTop: 56,
211+ opacity: fadeIn,
212+ }}
213+ >
214+ NEW EPISODES DAILY
215+ </div>
216+ </div>
217+ </AbsoluteFill>
218+ );
219+ };

src/transitions/GlitchTransition.tsx added

1+ import React from 'react';
2+ import { AbsoluteFill, interpolate } from 'remotion';
3+ import type { TransitionPresentation, TransitionPresentationComponentProps } from '@remotion/transitions';
4+
5+ const GlitchPresenter: React.FC<TransitionPresentationComponentProps<Record<string, never>>> = ({
6+ children,
7+ presentationDirection,
8+ presentationProgress,
9+ }) => {
10+ const isExiting = presentationDirection === 'exiting';
11+
12+ // Subtle intensity — quick spike in the middle
13+ const intensity = interpolate(presentationProgress, [0, 0.35, 0.5, 0.65, 1], [0, 0, 1, 0, 0], {
14+ extrapolateLeft: 'clamp',
15+ extrapolateRight: 'clamp',
16+ });
17+
18+ // Very subtle RGB shift (max 5px)
19+ const rgbShift = intensity * 5;
20+
21+ // Gentle slice displacement (max 8px, only 3 slices)
22+ const sliceOffset = intensity * 8;
23+
24+ // Crossfade opacity
25+ const opacity = isExiting
26+ ? interpolate(presentationProgress, [0, 1], [1, 0], { extrapolateRight: 'clamp' })
27+ : interpolate(presentationProgress, [0, 1], [0, 1], { extrapolateRight: 'clamp' });
28+
29+ // Only 3 slices for a subtle effect
30+ const slices = Array.from({ length: 3 }, (_, i) => {
31+ const yStart = (i / 3) * 100;
32+ const yEnd = ((i + 1) / 3) * 100;
33+ const xShift = (i === 1 ? 1 : -1) * sliceOffset * intensity;
34+ return { yStart, yEnd, xShift };
35+ });
36+
37+ // No glitch visible — just crossfade
38+ if (intensity < 0.05) {
39+ return (
40+ <AbsoluteFill style={{ opacity }}>
41+ {children}
42+ </AbsoluteFill>
43+ );
44+ }
45+
46+ return (
47+ <AbsoluteFill>
48+ {/* Sliced content — subtle horizontal shift on middle third only */}
49+ {slices.map((slice, i) => (
50+ <div
51+ key={i}
52+ style={{
53+ position: 'absolute',
54+ left: 0,
55+ width: '100%',
56+ top: `${slice.yStart}%`,
57+ height: `${slice.yEnd - slice.yStart}%`,
58+ overflow: 'hidden',
59+ transform: `translateX(${slice.xShift}px)`,
60+ opacity,
61+ }}
62+ >
63+ <div style={{
64+ position: 'absolute',
65+ top: `-${slice.yStart}%`,
66+ left: 0,
67+ width: '100%',
68+ height: `${100 / ((slice.yEnd - slice.yStart) / 100)}%`,
69+ }}>
70+ {children}
71+ </div>
72+ </div>
73+ ))}
74+
75+ {/* Very subtle RGB fringe — barely visible */}
76+ <AbsoluteFill style={{
77+ opacity: intensity * 0.12,
78+ transform: `translateX(-${rgbShift}px)`,
79+ mixBlendMode: 'screen',
80+ }}>
81+ <div style={{
82+ position: 'absolute',
83+ top: 0, left: 0, width: '100%', height: '100%',
84+ background: `rgba(255, 50, 50, ${intensity * 0.08})`,
85+ }} />
86+ </AbsoluteFill>
87+
88+ <AbsoluteFill style={{
89+ opacity: intensity * 0.12,
90+ transform: `translateX(${rgbShift}px)`,
91+ mixBlendMode: 'screen',
92+ }}>
93+ <div style={{
94+ position: 'absolute',
95+ top: 0, left: 0, width: '100%', height: '100%',
96+ background: `rgba(50, 100, 255, ${intensity * 0.08})`,
97+ }} />
98+ </AbsoluteFill>
99+ </AbsoluteFill>
100+ );
101+ };
102+
103+ export const glitch = (): TransitionPresentation<Record<string, never>> => {
104+ return {
105+ component: GlitchPresenter,
106+ props: {},
107+ };
108+ };

tsconfig.json added

1+ {
2+ "compilerOptions": {
3+ "target": "ES2022",
4+ "module": "ES2022",
5+ "moduleResolution": "bundler",
6+ "jsx": "react-jsx",
7+ "strict": true,
8+ "esModuleInterop": true,
9+ "skipLibCheck": true,
10+ "forceConsistentCasingInFileNames": true,
11+ "outDir": "./dist"
12+ },
13+ "include": ["src/**/*"]
14+ }

Browse files at this commit