@vanillaskyai/video 0.8.8 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/PUBLIC-API.md +5 -8
  3. package/dist/{builtin-server-CUYPIDE7.js → builtin-server-W4PLJUZ5.js} +2 -2
  4. package/dist/{catalog-types-BIhSpOWK.d.ts → catalog-types-WTbLP6Jh.d.ts} +5 -1
  5. package/dist/chapter-title-YRLIQY3V.js +7 -0
  6. package/dist/check-runtime.js +5 -14
  7. package/dist/{chunk-AITKH6QT.js → chunk-2HFO22K2.js} +15 -40
  8. package/dist/chunk-4YM2M62S.js +13 -0
  9. package/dist/chunk-4ZJLPHBV.js +684 -0
  10. package/dist/chunk-77VY4O7A.js +390 -0
  11. package/dist/{chunk-MMUXVA47.js → chunk-7M56IUUX.js} +9 -8
  12. package/dist/chunk-7NZOMTAL.js +63 -0
  13. package/dist/{chunk-2DOLF4QN.js → chunk-AUPC6MDK.js} +12 -14
  14. package/dist/{chunk-352ZZCET.js → chunk-EGVQODKU.js} +2 -2
  15. package/dist/{chunk-2USVB3CY.js → chunk-ELVOT2FQ.js} +284 -177
  16. package/dist/chunk-EWWCQFTI.js +18 -0
  17. package/dist/{chunk-KT3M7KDL.js → chunk-HKUI5BTB.js} +3 -3
  18. package/dist/chunk-IIN5M5HW.js +697 -0
  19. package/dist/{chunk-LMG3GHLL.js → chunk-IQMYK5DX.js} +29 -3
  20. package/dist/{chunk-OWBT45EN.js → chunk-IR44XKBI.js} +1 -1
  21. package/dist/{chunk-MXZSDGZQ.js → chunk-NMFDC2W2.js} +4 -6
  22. package/dist/{chunk-5SLENAJW.js → chunk-PAJ44TFW.js} +1 -2
  23. package/dist/{chunk-L7QGGKJ2.js → chunk-PDQFQIQW.js} +1 -1
  24. package/dist/{chunk-WJ6FLKNC.js → chunk-R3XAOMKP.js} +14 -0
  25. package/dist/{chunk-2OKB27TG.js → chunk-RXTN2CW6.js} +2 -2
  26. package/dist/{chunk-XWWLKRNU.js → chunk-TVIU23OM.js} +38 -49
  27. package/dist/chunk-XX4GXKTX.js +35 -0
  28. package/dist/chunk-Z67Q5KUW.js +16 -0
  29. package/dist/{chunk-3VRMKFM7.js → chunk-ZDJNFA52.js} +11 -24
  30. package/dist/cinema-media-C7OUPNSH.js +12 -0
  31. package/dist/cli.js +18 -9
  32. package/dist/comparison-GNZOR7MF.js +37 -0
  33. package/dist/compose-video-TBFTONUC.js +12 -0
  34. package/dist/editorial-timeline-EMV5335S.js +43 -0
  35. package/dist/{events-BQ6z264n.d.ts → events-B4YCc4vc.d.ts} +1 -1
  36. package/dist/index.d.ts +4 -6
  37. package/dist/index.js +3 -7
  38. package/dist/key-figure-P37VK425.js +30 -0
  39. package/dist/{kit-tQnCPMOM.d.ts → kit-DrRpdn0p.d.ts} +2 -2
  40. package/dist/mobile-message-OF7T62B7.js +50 -0
  41. package/dist/quote-T6WYLN7A.js +33 -0
  42. package/dist/react.d.ts +21 -11
  43. package/dist/react.js +585 -826
  44. package/dist/scene-video-backdrop-PCTARAAJ.js +7 -0
  45. package/dist/server.d.ts +7 -8
  46. package/dist/server.js +179 -84
  47. package/dist/{system-prompt-RRXIWDDD.js → system-prompt-SYRT5DWM.js} +1 -1
  48. package/dist/template-catalog.d.ts +392 -16
  49. package/dist/template-catalog.js +1 -1
  50. package/dist/templates.d.ts +5 -5
  51. package/dist/test.d.ts +3 -3
  52. package/dist/test.js +18 -18
  53. package/dist/text-stream-LD364KBI.js +9 -0
  54. package/dist/{types-DWFO6qca.d.ts → types-CdBmNTGD.d.ts} +1 -1
  55. package/dist/{types-CEh9eUFu.d.ts → types-DdZw4GRQ.d.ts} +17 -48
  56. package/dist/validate-4OUD2CLX.js +10 -0
  57. package/docs/architecture.md +1 -1
  58. package/docs/concepts.md +1 -1
  59. package/docs/custom-templates.md +13 -28
  60. package/docs/customization.md +11 -59
  61. package/docs/getting-started.md +2 -2
  62. package/docs/immersive-interface.md +3 -4
  63. package/docs/maintainers/cinematic-migration.md +38 -0
  64. package/docs/media-and-audio.md +14 -14
  65. package/docs/motion-and-effects.md +6 -14
  66. package/docs/persistence.md +3 -3
  67. package/docs/production.md +11 -9
  68. package/docs/provider-integration.md +9 -16
  69. package/docs/reference/design-system.html +1 -1
  70. package/docs/reference/protocol.md +14 -4
  71. package/docs/testing.md +1 -1
  72. package/package.json +6 -3
  73. package/registry/items/backgrounds.json +1 -1
  74. package/registry/items/chapterTitle.json +80 -0
  75. package/registry/items/cinemaMedia.json +136 -0
  76. package/registry/items/comparison.json +168 -0
  77. package/registry/items/editorialTimeline.json +172 -0
  78. package/registry/items/keyFigure.json +162 -0
  79. package/registry/items/mobileMessage.json +153 -0
  80. package/registry/items/quote.json +161 -0
  81. package/registry/items/template-context.json +1 -1
  82. package/registry/items/theme.json +1 -1
  83. package/starters/video-chat/README.md +24 -26
  84. package/starters/video-chat/package.json +1 -1
  85. package/starters/video-chat/providers/video.ts +6 -5
  86. package/starters/video-chat/stock.ts +35 -151
  87. package/styles/fonts/OFL.txt +93 -0
  88. package/styles/fonts/manifest.json +66 -0
  89. package/styles/fonts/roboto-v51-cyrillic-ext.woff2 +0 -0
  90. package/styles/fonts/roboto-v51-cyrillic.woff2 +0 -0
  91. package/styles/fonts/roboto-v51-greek-ext.woff2 +0 -0
  92. package/styles/fonts/roboto-v51-greek.woff2 +0 -0
  93. package/styles/fonts/roboto-v51-latin-ext.woff2 +0 -0
  94. package/styles/fonts/roboto-v51-latin.woff2 +0 -0
  95. package/styles/fonts/roboto-v51-math.woff2 +0 -0
  96. package/styles/fonts/roboto-v51-symbols.woff2 +0 -0
  97. package/styles/fonts/roboto-v51-vietnamese.woff2 +0 -0
  98. package/styles/fonts/roboto.css +91 -0
  99. package/styles/video-chat.css +30 -22
  100. package/dist/bg-confetti-HITCGLGD.js +0 -89
  101. package/dist/bg-emoji-VU4UZYZN.js +0 -150
  102. package/dist/bg-media-L34PDQXJ.js +0 -106
  103. package/dist/brand-message-FUJ4STFO.js +0 -256
  104. package/dist/chart-bar-EGPHJATL.js +0 -310
  105. package/dist/chart-counter-5FFWQNZO.js +0 -306
  106. package/dist/chart-progress-ring-JMXQLMLC.js +0 -302
  107. package/dist/chunk-4UNKZEAT.js +0 -3575
  108. package/dist/chunk-5CDAM24P.js +0 -31
  109. package/dist/chunk-AOWSXU2K.js +0 -18
  110. package/dist/chunk-CJ7F2CE6.js +0 -104
  111. package/dist/chunk-FRN6WKHA.js +0 -185
  112. package/dist/chunk-G5JPHBX7.js +0 -336
  113. package/dist/chunk-L5BTTCZV.js +0 -97
  114. package/dist/chunk-P22HHFDK.js +0 -43
  115. package/dist/chunk-PP3MCPN4.js +0 -1998
  116. package/dist/chunk-QAAO7OAY.js +0 -19
  117. package/dist/chunk-S7HFLYNN.js +0 -35
  118. package/dist/chunk-W3VDIBGR.js +0 -217
  119. package/dist/chunk-XGRA2MUV.js +0 -242
  120. package/dist/chunk-XTOXFMLM.js +0 -105
  121. package/dist/chunk-YJJC4N4D.js +0 -761
  122. package/dist/compose-video-2NFH4DZY.js +0 -13
  123. package/dist/cta-logo-YR7LYUR5.js +0 -212
  124. package/dist/cta-media-DQJBKUO2.js +0 -221
  125. package/dist/incoming-call-54KQ7O5A.js +0 -323
  126. package/dist/infographic-before-after-ROS52GOW.js +0 -460
  127. package/dist/infographic-feature-list-E7MGUDAN.js +0 -272
  128. package/dist/infographic-problem-solution-3S6NGO5N.js +0 -343
  129. package/dist/infographic-stat-row-SYB7AB7H.js +0 -247
  130. package/dist/infographic-steps-KCE6JWE2.js +0 -406
  131. package/dist/prompt-input-MHX4O42G.js +0 -239
  132. package/dist/reaction-SLEGR3BE.js +0 -122
  133. package/dist/scene-video-backdrop-XFPX4O3I.js +0 -10
  134. package/dist/showcase-code-2HLAVKBM.js +0 -357
  135. package/dist/showcase-phone-Q4HEO4LH.js +0 -278
  136. package/dist/showcase-terminal-DL45LUFG.js +0 -312
  137. package/dist/showcase-web-2QZO73FZ.js +0 -396
  138. package/dist/social-conversation-75SD2637.js +0 -695
  139. package/dist/social-milestone-GEFUQSBF.js +0 -296
  140. package/dist/social-notification-FJ5VHVLK.js +0 -247
  141. package/dist/social-review-stack-KXQCKFRP.js +0 -242
  142. package/dist/social-testimonial-JZ7CHC7S.js +0 -287
  143. package/dist/social-tweet-UCDXM25F.js +0 -298
  144. package/dist/text-stream-54LXABJW.js +0 -10
  145. package/dist/validate-T7GBU2YF.js +0 -8
  146. package/registry/items/barChart.json +0 -245
  147. package/registry/items/beforeAfter.json +0 -180
  148. package/registry/items/bigNumber.json +0 -232
  149. package/registry/items/brandMessage.json +0 -164
  150. package/registry/items/cardList.json +0 -214
  151. package/registry/items/chatMessenger.json +0 -151
  152. package/registry/items/chatWhatsapp.json +0 -151
  153. package/registry/items/codeEditor.json +0 -191
  154. package/registry/items/confetti.json +0 -107
  155. package/registry/items/ctaLogo.json +0 -167
  156. package/registry/items/ctaMedia.json +0 -200
  157. package/registry/items/emojiBurst.json +0 -101
  158. package/registry/items/incomingCall.json +0 -177
  159. package/registry/items/media.json +0 -187
  160. package/registry/items/milestone.json +0 -212
  161. package/registry/items/notification.json +0 -189
  162. package/registry/items/phoneMockup.json +0 -261
  163. package/registry/items/problemSolution.json +0 -193
  164. package/registry/items/progressRing.json +0 -206
  165. package/registry/items/promptInput.json +0 -155
  166. package/registry/items/reaction.json +0 -176
  167. package/registry/items/reviewStack.json +0 -231
  168. package/registry/items/steps.json +0 -215
  169. package/registry/items/terminal.json +0 -219
  170. package/registry/items/testimonial.json +0 -171
  171. package/registry/items/tripleStats.json +0 -235
  172. package/registry/items/tweet.json +0 -210
  173. package/registry/items/webMockup.json +0 -280
@@ -1,239 +0,0 @@
1
- import {
2
- stripPipe
3
- } from "./chunk-S7HFLYNN.js";
4
- import {
5
- SceneBackground,
6
- getMediaBackgroundProps
7
- } from "./chunk-MXZSDGZQ.js";
8
- import "./chunk-FRN6WKHA.js";
9
- import "./chunk-W3VDIBGR.js";
10
- import {
11
- SPRING_BOUNCY,
12
- SPRING_SMOOTH,
13
- interpolate,
14
- spring
15
- } from "./chunk-XTOXFMLM.js";
16
- import "./chunk-224QNWRA.js";
17
- import "./chunk-5CDAM24P.js";
18
- import {
19
- resolveTokens
20
- } from "./chunk-XWWLKRNU.js";
21
-
22
- // src/visual-system/primitives/typography/PromptInputPill.tsx
23
- import { jsx, jsxs } from "react/jsx-runtime";
24
- var CLAMP = {
25
- extrapolateLeft: "clamp",
26
- extrapolateRight: "clamp"
27
- };
28
- var SparklesIcon = ({ size, gradientId }) => /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: [
29
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%", children: [
30
- /* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: "#7C3AED" }),
31
- /* @__PURE__ */ jsx("stop", { offset: "50%", stopColor: "#3B82F6" }),
32
- /* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: "#06B6D4" })
33
- ] }) }),
34
- /* @__PURE__ */ jsx(
35
- "path",
36
- {
37
- d: "M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.73 1.73 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.73 1.73 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.73 1.73 0 0 0 3.407 2.31zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.16 1.16 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.16 1.16 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732z",
38
- fill: `url(#${gradientId})`
39
- }
40
- )
41
- ] });
42
- var PromptInputPill = ({
43
- progress,
44
- sceneDuration,
45
- promptText: rawText,
46
- pillBg = "#FFFFFF",
47
- pillTextColor = "#374151",
48
- width,
49
- height
50
- }) => {
51
- const dim = Math.min(width, height);
52
- const promptText = stripPipe(rawText || "");
53
- const seed = promptText.split("").reduce((acc, c) => acc + c.charCodeAt(0), 0);
54
- const pillHeight = dim * 0.13;
55
- const pillTargetWidth = Math.min(width * 0.86, dim * 0.95);
56
- const pillCircleWidth = pillHeight;
57
- const pillRadius = pillHeight / 2;
58
- const iconSize = pillHeight * 0.46;
59
- const padLeft = pillHeight * 0.3;
60
- const fontSizeDefault = pillHeight * 0.42;
61
- const availableTextWidth = pillTargetWidth - padLeft * 3 - iconSize;
62
- const naturalTextWidth = promptText.length * fontSizeDefault * 0.55 * 1.06;
63
- const shrinkFactor = naturalTextWidth > availableTextWidth ? Math.max(0.45, availableTextWidth / naturalTextWidth) : 1;
64
- const fontSize = fontSizeDefault * shrinkFactor;
65
- const enterSpring = spring(
66
- interpolate(progress, [0, 0.1], [0, 1], CLAMP),
67
- SPRING_BOUNCY
68
- );
69
- const enterScale = 0.7 + 0.3 * enterSpring;
70
- const enterOpacity = interpolate(progress, [0, 0.08], [0, 1], CLAMP);
71
- const widthProgress = spring(
72
- interpolate(progress, [0.1, 0.3], [0, 1], CLAMP),
73
- SPRING_SMOOTH
74
- );
75
- const pillWidth = pillCircleWidth + (pillTargetWidth - pillCircleWidth) * widthProgress;
76
- const typeStart = 0.3;
77
- const typeEnd = 0.68;
78
- const charsRevealed = Math.max(
79
- 0,
80
- Math.floor(
81
- interpolate(progress, [typeStart, typeEnd], [0, promptText.length], CLAMP)
82
- )
83
- );
84
- const visibleText = promptText.slice(0, charsRevealed);
85
- const realT = progress * sceneDuration;
86
- const cursorVisible = progress >= typeStart * 0.9 && Math.sin(realT * Math.PI * 2.4) > 0;
87
- return /* @__PURE__ */ jsx(
88
- "div",
89
- {
90
- style: {
91
- position: "absolute",
92
- top: "50%",
93
- left: "50%",
94
- transform: `translate(-50%, -50%) scale(${enterScale})`,
95
- opacity: enterOpacity
96
- },
97
- children: /* @__PURE__ */ jsxs(
98
- "div",
99
- {
100
- style: {
101
- width: pillWidth,
102
- height: pillHeight,
103
- backgroundColor: pillBg,
104
- borderRadius: pillRadius,
105
- display: "flex",
106
- alignItems: "center",
107
- paddingLeft: padLeft,
108
- paddingRight: padLeft,
109
- // Clip at the pill border — even after the 0.45× shrink floor,
110
- // pathologically long prompts can still exceed the pill width.
111
- // Clipping at the rounded border looks cleaner than letting text
112
- // bleed past the right edge.
113
- overflow: "hidden",
114
- boxShadow: [
115
- `inset 0 ${1 * (dim / 1080)}px 0 rgba(255,255,255,0.85)`,
116
- `0 ${8 * (dim / 1080)}px ${24 * (dim / 1080)}px ${-8 * (dim / 1080)}px rgba(110,80,200,0.10)`,
117
- `0 ${2 * (dim / 1080)}px ${8 * (dim / 1080)}px ${-4 * (dim / 1080)}px rgba(0,0,0,0.05)`
118
- ].join(", "),
119
- whiteSpace: "nowrap"
120
- },
121
- children: [
122
- /* @__PURE__ */ jsx(
123
- "div",
124
- {
125
- style: {
126
- flexShrink: 0,
127
- display: "flex",
128
- alignItems: "center",
129
- justifyContent: "center",
130
- width: iconSize,
131
- height: iconSize
132
- },
133
- children: /* @__PURE__ */ jsx(SparklesIcon, { size: iconSize, gradientId: `prompt-input-grad-${seed}` })
134
- }
135
- ),
136
- /* @__PURE__ */ jsxs(
137
- "div",
138
- {
139
- style: {
140
- marginLeft: padLeft,
141
- fontSize,
142
- lineHeight: 1.4,
143
- color: pillTextColor,
144
- fontWeight: 500,
145
- letterSpacing: -0.5,
146
- minWidth: 0,
147
- display: "flex",
148
- alignItems: "center"
149
- },
150
- children: [
151
- /* @__PURE__ */ jsx("span", { children: visibleText }),
152
- /* @__PURE__ */ jsx(
153
- "span",
154
- {
155
- style: {
156
- display: "inline-block",
157
- width: fontSize * 0.06,
158
- height: fontSize * 0.95,
159
- backgroundColor: pillTextColor,
160
- marginLeft: fontSize * 0.08,
161
- opacity: cursorVisible ? 0.85 : 0,
162
- borderRadius: fontSize * 0.03
163
- }
164
- }
165
- )
166
- ]
167
- }
168
- )
169
- ]
170
- }
171
- )
172
- }
173
- );
174
- };
175
-
176
- // src/visual-system/scene-templates/prompt-input.tsx
177
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
178
- var PromptInputTemplate = ({
179
- variables,
180
- style,
181
- progress,
182
- beatIntensity,
183
- width,
184
- height,
185
- sceneDuration,
186
- isPlaying = true,
187
- backgroundEffect
188
- }) => {
189
- const { font } = resolveTokens(style);
190
- const promptText = stripPipe(String(variables.promptText || "Make a launch video for our app"));
191
- const pillBg = "#FFFFFF";
192
- const pillTextColor = "#374151";
193
- const seed = promptText.split("").reduce((acc, c) => acc + c.charCodeAt(0), 0);
194
- return /* @__PURE__ */ jsxs2(
195
- "div",
196
- {
197
- style: {
198
- width,
199
- height,
200
- position: "relative",
201
- overflow: "hidden",
202
- backgroundColor: "var(--vanillasky-template-surface, #000)",
203
- fontFamily: font
204
- },
205
- children: [
206
- /* @__PURE__ */ jsx2(
207
- SceneBackground,
208
- {
209
- style,
210
- progress,
211
- sceneDuration,
212
- width,
213
- height,
214
- ...getMediaBackgroundProps(variables),
215
- backgroundEffect,
216
- seed,
217
- isPlaying,
218
- beatIntensity
219
- }
220
- ),
221
- /* @__PURE__ */ jsx2(
222
- PromptInputPill,
223
- {
224
- progress,
225
- sceneDuration: sceneDuration ?? 4,
226
- promptText,
227
- pillBg,
228
- pillTextColor,
229
- width,
230
- height
231
- }
232
- )
233
- ]
234
- }
235
- );
236
- };
237
- export {
238
- PromptInputTemplate
239
- };
@@ -1,122 +0,0 @@
1
- import {
2
- SceneBackground
3
- } from "./chunk-MXZSDGZQ.js";
4
- import {
5
- TemplateText
6
- } from "./chunk-YJJC4N4D.js";
7
- import "./chunk-L5BTTCZV.js";
8
- import "./chunk-FRN6WKHA.js";
9
- import "./chunk-W3VDIBGR.js";
10
- import "./chunk-XTOXFMLM.js";
11
- import "./chunk-224QNWRA.js";
12
- import "./chunk-5CDAM24P.js";
13
- import {
14
- resolveTokens
15
- } from "./chunk-XWWLKRNU.js";
16
-
17
- // src/visual-system/scene-templates/reaction.tsx
18
- import { jsx, jsxs } from "react/jsx-runtime";
19
- var REACTION_TAGS = [
20
- "launch",
21
- "productLaunch",
22
- "goLive",
23
- "shipIt",
24
- "wow",
25
- "excited",
26
- "happy",
27
- "success",
28
- "done",
29
- "panic",
30
- "waiting",
31
- "celebration",
32
- "cheers",
33
- "applause",
34
- "highFive",
35
- "teamwork",
36
- "fail",
37
- "confused",
38
- "thinking",
39
- "thanks",
40
- "letsGo",
41
- "manual",
42
- "office",
43
- "meeting",
44
- "deadline",
45
- "coding",
46
- "debugging",
47
- "computer",
48
- "startup",
49
- "presentation",
50
- "sales",
51
- "growth",
52
- "money"
53
- ];
54
- var ReactionTemplate = ({
55
- variables,
56
- style,
57
- progress,
58
- motionProgress = progress,
59
- beatIntensity,
60
- width,
61
- height,
62
- textArchetype,
63
- safeZone,
64
- sceneDuration,
65
- isPlaying = true
66
- }) => {
67
- const { font, foreground } = resolveTokens(style);
68
- const color = foreground;
69
- const mediaUrl = String(variables.mediaUrl || "");
70
- const hasClip = mediaUrl.trim().length > 0;
71
- return /* @__PURE__ */ jsxs("div", { style: { width, height, backgroundColor: "var(--vanillasky-template-surface, #000)", position: "relative", overflow: "hidden", fontFamily: font }, children: [
72
- /* @__PURE__ */ jsx(
73
- SceneBackground,
74
- {
75
- style,
76
- progress,
77
- sceneDuration,
78
- width,
79
- height,
80
- mediaUrl,
81
- mediaType: hasClip ? "video" : "gradient",
82
- mediaPoster: String(variables.mediaPoster || ""),
83
- backgroundEffect: "slow-zoom-in",
84
- seed: String(variables.texts || ""),
85
- isPlaying,
86
- beatIntensity
87
- }
88
- ),
89
- /* @__PURE__ */ jsx(
90
- "div",
91
- {
92
- style: {
93
- position: "absolute",
94
- inset: 0,
95
- background: "linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.08) 45%, rgba(0,0,0,.5))",
96
- pointerEvents: "none"
97
- }
98
- }
99
- ),
100
- /* @__PURE__ */ jsx(
101
- TemplateText,
102
- {
103
- motionProgress,
104
- typeTreatment: resolveTokens(style).preset.type,
105
- archetype: textArchetype || "slam",
106
- text: String(variables.texts || "Still editing manually?"),
107
- progress,
108
- width,
109
- height,
110
- safeZone,
111
- font,
112
- color,
113
- sceneDuration: sceneDuration ?? 3,
114
- beatIntensity
115
- }
116
- )
117
- ] });
118
- };
119
- export {
120
- REACTION_TAGS,
121
- ReactionTemplate
122
- };
@@ -1,10 +0,0 @@
1
- import {
2
- SceneVideoBackdrop
3
- } from "./chunk-FRN6WKHA.js";
4
- import "./chunk-W3VDIBGR.js";
5
- import "./chunk-XTOXFMLM.js";
6
- import "./chunk-5CDAM24P.js";
7
- import "./chunk-XWWLKRNU.js";
8
- export {
9
- SceneVideoBackdrop
10
- };