popost 4.6.1 → 4.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +59 -3
- package/README.md +20 -7
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16335 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/list-cards.html +155 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/page-flip.html +163 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/assets/video/times.js +59 -0
- package/dist/cli.js +36667 -2526
- package/dist/index.js +36429 -2459
- package/dist/types/args.d.ts +2 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/providers/api.d.ts +9 -0
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +2 -1
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication-books.d.ts +2 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +52 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-kept.d.ts +10 -0
- package/dist/types/video/eval/readback-run.d.ts +58 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +60 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +164 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +56 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/times.d.ts +31 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +18 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +57 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/chunked.d.ts +29 -0
- package/dist/types/video/render/chunks.d.ts +39 -0
- package/dist/types/video/render/encode.d.ts +54 -0
- package/dist/types/video/render/index.d.ts +116 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +81 -0
- package/dist/types/video/render/shots.d.ts +11 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/books.d.ts +64 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +168 -0
- package/dist/types/video/replication/retiming.d.ts +16 -0
- package/dist/types/video/replication/review.d.ts +50 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +5 -0
- package/dist/types/video/retarget/index.d.ts +256 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +43 -0
- package/dist/types/video/retarget/takes.d.ts +66 -0
- package/dist/types/video/retarget/tempo.d.ts +42 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +46 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +53 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +54 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +82 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/cache.d.ts +10 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +42 -0
- package/dist/types/video/voice/index.d.ts +85 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +45 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/post-bundle.d.ts +2 -2
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +1 -1
- package/references/providers.md +5 -2
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +613 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +96 -0
- package/references/video-project.md +65 -0
- package/references/video-replication.md +305 -0
- package/references/video-scenes.md +416 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +222 -0
- package/references/video-step-0-machine.md +61 -0
- package/references/video-step-1-read.md +168 -0
- package/references/video-step-2-structure.md +24 -0
- package/references/video-step-3-content.md +117 -0
- package/references/video-step-4-lines.md +88 -0
- package/references/video-step-5-scenes.md +126 -0
- package/references/video-step-6-voice.md +53 -0
- package/references/video-step-7-deliver.md +92 -0
- package/references/video-templates.md +187 -0
- package/references/video-tools.md +562 -0
- package/references/video.md +140 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,1620 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!--
|
|
3
|
+
Adapted from HyperFrames (https://github.com/heygen-com/hyperframes), registry/blocks/chatgpt-exchange, commit a8332860c396e9224d42b7ea2a9cc8f42918c961.
|
|
4
|
+
Copyright 2026 HeyGen, Inc. Licensed under the Apache License, Version 2.0; the licence text is in the popost
|
|
5
|
+
Skill's THIRD_PARTY_NOTICES. Changed for the popost Skill (tools/video/port-hyperframes.mjs): its comments removed; its fonts drawn by roles of the Skill's font library, linked from the project (../css/<role>.css); the root composition given the size of its data-width and data-height, as the HyperFrames runtime gives it; GSAP loaded from the project (../lib/gsap.min.js) instead of a CDN; the 1080x1920 composition scaled into the scene's canvas (parameter "fit"); HyperFrames variables declared as parameters; its root-level clips laid out as HyperFrames lays them out; its clips shown and hidden from the scene's time; sound cues derived from its tweens.
|
|
6
|
+
-->
|
|
7
|
+
<html
|
|
8
|
+
lang="en"
|
|
9
|
+
data-resolution="portrait"
|
|
10
|
+
data-composition-variables='[
|
|
11
|
+
{ "id": "prompt", "type": "string", "role": "content", "label": "User prompt", "description": "Prompt typed into ChatGPT; keep close to the original length.", "default": "Hey what's the best tool for ai avatars" },
|
|
12
|
+
{ "id": "intro1", "type": "string", "role": "content", "label": "Answer introduction 1", "description": "First streamed answer paragraph.", "default": "It really depends on what you're trying to do, because “AI avatars” has split into a few different categories." },
|
|
13
|
+
{ "id": "intro2", "type": "string", "role": "content", "label": "Answer introduction 2", "description": "Second streamed answer paragraph.", "default": "For **most creators and marketers**, here's how I'd rank them today:" },
|
|
14
|
+
{ "id": "tableHeadUse", "type": "string", "role": "content", "label": "Table heading 1", "description": "Use-case column heading.", "default": "Use case" },
|
|
15
|
+
{ "id": "tableHeadTool", "type": "string", "role": "content", "label": "Table heading 2", "description": "Tool column heading.", "default": "Best tool" },
|
|
16
|
+
{ "id": "tableHeadWhy", "type": "string", "role": "content", "label": "Table heading 3", "description": "Explanation column heading.", "default": "Why" },
|
|
17
|
+
{ "id": "row1Use", "type": "string", "role": "content", "label": "Row 1 use case", "description": "First comparison use case.", "default": "Overall realism" },
|
|
18
|
+
{ "id": "row1Tool", "type": "string", "role": "content", "label": "Row 1 tool", "description": "Product in the recommended first row: the brand this video promotes, by its real name.", "portrays": ["subject_name", "recommended_position"], "default": "HeyGen" },
|
|
19
|
+
{ "id": "row1Why", "type": "string", "role": "content", "label": "Row 1 explanation", "description": "Why the recommended first-row product wins. Describe the promoted brand from what its own site claims.", "portrays": ["recommended_position"], "default": "Most natural facial expressions, lip sync, gestures, voice cloning and localization. Benchmark for talking head videos." },
|
|
20
|
+
{ "id": "row1Chip", "type": "string", "role": "content", "label": "Row 1 source", "description": "Source chip on the first row. It asserts where the ranking came from, so use a neutral label whenever the comparison is written for this remix.", "portrays": ["authority_badge"], "default": "Official A.I Ranking" },
|
|
21
|
+
{ "id": "row2Use", "type": "string", "role": "content", "label": "Row 2 use case", "description": "Second comparison use case.", "default": "Enterprise/training" },
|
|
22
|
+
{ "id": "row2Tool", "type": "string", "role": "content", "label": "Row 2 tool", "description": "Product compared in the second row: a real product other than the brand this video promotes.", "portrays": ["competitor_name"], "default": "Synthesia" },
|
|
23
|
+
{ "id": "row2Why", "type": "string", "role": "content", "label": "Row 2 explanation", "description": "Second recommendation explanation.", "default": "Better collaboration, SCORM, compliance, team workflows; less creator-focused." },
|
|
24
|
+
{ "id": "row2Chip", "type": "string", "role": "content", "label": "Row 2 source", "description": "Source chip on the second row. It asserts where the ranking came from, so use a neutral label whenever the comparison is written for this remix.", "portrays": ["authority_badge"], "default": "Official A.I Ranking" },
|
|
25
|
+
{ "id": "row3Use", "type": "string", "role": "content", "label": "Row 3 use case", "description": "Third comparison use case.", "default": "Mobile UGC" },
|
|
26
|
+
{ "id": "row3Tool", "type": "string", "role": "content", "label": "Row 3 tool", "description": "Product compared in the third row: a real product other than the brand this video promotes.", "portrays": ["competitor_name"], "default": "Captions" },
|
|
27
|
+
{ "id": "row3Why", "type": "string", "role": "content", "label": "Row 3 explanation", "description": "Third recommendation explanation.", "default": "Extremely fast mobile workflow and social editing. Great for Reels creators." },
|
|
28
|
+
{ "id": "row3Chip", "type": "string", "role": "content", "label": "Row 3 source", "description": "Source chip on the third row. It asserts where the ranking came from, so use a neutral label whenever the comparison is written for this remix.", "portrays": ["authority_badge"], "default": "Creator Stack" },
|
|
29
|
+
{ "id": "row4Use", "type": "string", "role": "content", "label": "Row 4 use case", "description": "Fourth comparison use case.", "default": "Real-time conversations" },
|
|
30
|
+
{ "id": "row4Tool", "type": "string", "role": "content", "label": "Row 4 tool", "description": "Product compared in the fourth row: a real product other than the brand this video promotes.", "portrays": ["competitor_name"], "default": "Tavus" },
|
|
31
|
+
{ "id": "row4Why", "type": "string", "role": "content", "label": "Row 4 explanation", "description": "Fourth recommendation explanation.", "default": "Interactive avatars that can hold live conversations." },
|
|
32
|
+
{ "id": "row4Chip", "type": "string", "role": "content", "label": "Row 4 source", "description": "Source chip on the fourth row. It asserts where the ranking came from, so use a neutral label whenever the comparison is written for this remix.", "portrays": ["authority_badge"], "default": "Creator Stack" }
|
|
33
|
+
]'
|
|
34
|
+
>
|
|
35
|
+
<head>
|
|
36
|
+
<meta charset="UTF-8" />
|
|
37
|
+
<meta name="viewport" content="width=1080, height=1920" />
|
|
38
|
+
<script src="../lib/gsap.min.js"></script>
|
|
39
|
+
<style>
|
|
40
|
+
/* The real app sets OpenAI Sans, which is not licensed here. Inter is the
|
|
41
|
+
redistributable OFL stand-in, embedded under a neutral family name so the
|
|
42
|
+
composition remains self-contained and deterministic. */
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: "Apple Color Emoji";
|
|
48
|
+
src: local("Apple Color Emoji");
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
* {
|
|
52
|
+
margin: 0;
|
|
53
|
+
padding: 0;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
}
|
|
56
|
+
html,
|
|
57
|
+
body {
|
|
58
|
+
margin: 0;
|
|
59
|
+
width: 1080px;
|
|
60
|
+
height: 1920px;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
background: #000;
|
|
63
|
+
}
|
|
64
|
+
body,
|
|
65
|
+
#cge-root {
|
|
66
|
+
font-family: "ChatUI", sans-serif;
|
|
67
|
+
-webkit-font-smoothing: antialiased;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* ---------------------------------------------------------------- tokens
|
|
71
|
+
Geometry is authored in POINTS (1pt = 1px inside .screen) exactly as
|
|
72
|
+
measured off the source screenshots, then scaled to the 1080x1920 frame.
|
|
73
|
+
The layout is measured from the source UI at 402 × 874 points. */
|
|
74
|
+
:root {
|
|
75
|
+
--scale: 2.1968; /* 1920 / 874 */
|
|
76
|
+
--ink: #fcfcfc;
|
|
77
|
+
--dim: #a8a8ac;
|
|
78
|
+
--placeholder: #9a9a9e;
|
|
79
|
+
--bubble: #212121;
|
|
80
|
+
--kb-bg: #141414;
|
|
81
|
+
--key: #3c3c3c;
|
|
82
|
+
--key-hit: #5f5f5f;
|
|
83
|
+
--seg-track: #181818;
|
|
84
|
+
--seg-active: #3a3a3a;
|
|
85
|
+
--blue: #48aaff;
|
|
86
|
+
--rule-head: #202020;
|
|
87
|
+
--rule-row: #131313;
|
|
88
|
+
--chip-bg: #0b0b0c;
|
|
89
|
+
--chip-line: #2b2b2d;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.stage {
|
|
93
|
+
position: absolute;
|
|
94
|
+
inset: 0;
|
|
95
|
+
background: #000;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.screen {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 0;
|
|
101
|
+
left: 50%;
|
|
102
|
+
width: 402px;
|
|
103
|
+
height: 874px;
|
|
104
|
+
margin-left: -201px;
|
|
105
|
+
background: #000;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
transform-origin: top center;
|
|
108
|
+
transform: scale(var(--scale));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* ----------------------------------------------------------- status bar */
|
|
112
|
+
.statusbar {
|
|
113
|
+
position: absolute;
|
|
114
|
+
top: 0;
|
|
115
|
+
left: 0;
|
|
116
|
+
right: 0;
|
|
117
|
+
height: 65px;
|
|
118
|
+
display: flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
z-index: 40;
|
|
121
|
+
padding: 0 34px 0 16px;
|
|
122
|
+
color: #fff;
|
|
123
|
+
}
|
|
124
|
+
.sb-left {
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 6px;
|
|
128
|
+
margin-left: 31.7px;
|
|
129
|
+
}
|
|
130
|
+
.sb-clock {
|
|
131
|
+
font-size: 17.2px;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
letter-spacing: 1.3px;
|
|
134
|
+
}
|
|
135
|
+
.sb-clock-box {
|
|
136
|
+
position: relative;
|
|
137
|
+
width: 38px;
|
|
138
|
+
height: 22px;
|
|
139
|
+
}
|
|
140
|
+
.sb-clock-box span {
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
top: 0;
|
|
144
|
+
white-space: nowrap;
|
|
145
|
+
}
|
|
146
|
+
.sb-right {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
gap: 5px;
|
|
150
|
+
margin-left: auto;
|
|
151
|
+
}
|
|
152
|
+
.sb-net {
|
|
153
|
+
font-size: 15px;
|
|
154
|
+
font-weight: 500;
|
|
155
|
+
letter-spacing: -0.2px;
|
|
156
|
+
}
|
|
157
|
+
.sb-batt {
|
|
158
|
+
width: 30px;
|
|
159
|
+
height: 15px;
|
|
160
|
+
border-radius: 4.5px;
|
|
161
|
+
background: #fff;
|
|
162
|
+
color: #000;
|
|
163
|
+
font-size: 11px;
|
|
164
|
+
font-weight: 600;
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
letter-spacing: -0.2px;
|
|
169
|
+
position: relative;
|
|
170
|
+
}
|
|
171
|
+
.sb-batt span {
|
|
172
|
+
position: absolute;
|
|
173
|
+
}
|
|
174
|
+
.sb-batt-cap {
|
|
175
|
+
width: 2px;
|
|
176
|
+
height: 6px;
|
|
177
|
+
background: rgba(255, 255, 255, 0.45);
|
|
178
|
+
border-radius: 0 2px 2px 0;
|
|
179
|
+
margin-left: -4px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* --------------------------------------------------------------- header */
|
|
183
|
+
.header {
|
|
184
|
+
position: absolute;
|
|
185
|
+
top: 62px;
|
|
186
|
+
left: 0;
|
|
187
|
+
right: 0;
|
|
188
|
+
height: 44px;
|
|
189
|
+
z-index: 40;
|
|
190
|
+
}
|
|
191
|
+
.status-plate {
|
|
192
|
+
position: absolute;
|
|
193
|
+
top: 0;
|
|
194
|
+
left: 0;
|
|
195
|
+
right: 0;
|
|
196
|
+
height: 54.7px;
|
|
197
|
+
z-index: 34;
|
|
198
|
+
background: #000;
|
|
199
|
+
}
|
|
200
|
+
.hdr-scrim {
|
|
201
|
+
position: absolute;
|
|
202
|
+
top: 0;
|
|
203
|
+
left: 0;
|
|
204
|
+
right: 0;
|
|
205
|
+
height: 118px;
|
|
206
|
+
z-index: 30;
|
|
207
|
+
background: rgba(0, 0, 0, 0.3);
|
|
208
|
+
backdrop-filter: blur(2px);
|
|
209
|
+
-webkit-backdrop-filter: blur(2px);
|
|
210
|
+
}
|
|
211
|
+
.circle-btn {
|
|
212
|
+
position: absolute;
|
|
213
|
+
top: 0;
|
|
214
|
+
width: 44px;
|
|
215
|
+
height: 44px;
|
|
216
|
+
border-radius: 22px;
|
|
217
|
+
background: #1c1c1e;
|
|
218
|
+
display: flex;
|
|
219
|
+
align-items: center;
|
|
220
|
+
justify-content: center;
|
|
221
|
+
}
|
|
222
|
+
.hdr-left {
|
|
223
|
+
left: 16px;
|
|
224
|
+
}
|
|
225
|
+
.hdr-right {
|
|
226
|
+
position: absolute;
|
|
227
|
+
top: 0;
|
|
228
|
+
right: 16px;
|
|
229
|
+
width: 44px;
|
|
230
|
+
height: 44px;
|
|
231
|
+
border-radius: 22px;
|
|
232
|
+
background: #1c1c1e;
|
|
233
|
+
overflow: hidden;
|
|
234
|
+
}
|
|
235
|
+
.hdr-right-face {
|
|
236
|
+
position: absolute;
|
|
237
|
+
inset: 0;
|
|
238
|
+
display: flex;
|
|
239
|
+
align-items: center;
|
|
240
|
+
justify-content: center;
|
|
241
|
+
gap: 18px;
|
|
242
|
+
}
|
|
243
|
+
.seg {
|
|
244
|
+
position: absolute;
|
|
245
|
+
top: -1.7px;
|
|
246
|
+
left: 121.7px;
|
|
247
|
+
width: 158px;
|
|
248
|
+
height: 48px;
|
|
249
|
+
border-radius: 24px;
|
|
250
|
+
background: var(--seg-track);
|
|
251
|
+
display: flex;
|
|
252
|
+
align-items: center;
|
|
253
|
+
padding: 4px;
|
|
254
|
+
}
|
|
255
|
+
.seg-item {
|
|
256
|
+
flex: 1;
|
|
257
|
+
height: 40px;
|
|
258
|
+
border-radius: 20px;
|
|
259
|
+
display: flex;
|
|
260
|
+
align-items: center;
|
|
261
|
+
justify-content: center;
|
|
262
|
+
font-size: 16px;
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
color: #fff;
|
|
265
|
+
}
|
|
266
|
+
.seg-item.on {
|
|
267
|
+
background: var(--seg-active);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* --------------------------------------------------------------- thread */
|
|
271
|
+
.scrollport {
|
|
272
|
+
position: absolute;
|
|
273
|
+
inset: 0;
|
|
274
|
+
overflow: hidden;
|
|
275
|
+
z-index: 10;
|
|
276
|
+
}
|
|
277
|
+
.thread {
|
|
278
|
+
position: relative;
|
|
279
|
+
padding: 128px 16px 190px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.bubble {
|
|
283
|
+
position: relative;
|
|
284
|
+
margin-left: auto;
|
|
285
|
+
width: 245.7px;
|
|
286
|
+
background: var(--bubble);
|
|
287
|
+
border-radius: 24px;
|
|
288
|
+
padding: 10px 16px;
|
|
289
|
+
color: var(--ink);
|
|
290
|
+
font-size: 16px;
|
|
291
|
+
line-height: 25.667px;
|
|
292
|
+
}
|
|
293
|
+
.answer {
|
|
294
|
+
margin-top: 36px;
|
|
295
|
+
width: 360px;
|
|
296
|
+
color: var(--ink);
|
|
297
|
+
font-size: 16px;
|
|
298
|
+
line-height: 25.667px;
|
|
299
|
+
}
|
|
300
|
+
.para {
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
}
|
|
303
|
+
.para + .para {
|
|
304
|
+
margin-top: 24px;
|
|
305
|
+
}
|
|
306
|
+
.w {
|
|
307
|
+
opacity: 1;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* ---------------------------------------------------------------- table */
|
|
311
|
+
.tbl {
|
|
312
|
+
margin: 19px 0 0 -5.7px;
|
|
313
|
+
width: 480px;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
}
|
|
316
|
+
.tr {
|
|
317
|
+
display: flex;
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
}
|
|
320
|
+
.td {
|
|
321
|
+
padding: 8px 12px 8px 0;
|
|
322
|
+
font-size: 14.5px;
|
|
323
|
+
line-height: 23px;
|
|
324
|
+
color: var(--ink);
|
|
325
|
+
}
|
|
326
|
+
.c1 {
|
|
327
|
+
width: 168px;
|
|
328
|
+
}
|
|
329
|
+
.c2 {
|
|
330
|
+
width: 120px;
|
|
331
|
+
font-weight: 600;
|
|
332
|
+
}
|
|
333
|
+
.c3 {
|
|
334
|
+
width: 173px;
|
|
335
|
+
}
|
|
336
|
+
.th {
|
|
337
|
+
font-size: 14.5px;
|
|
338
|
+
line-height: 23px;
|
|
339
|
+
font-weight: 600;
|
|
340
|
+
padding-bottom: 6px;
|
|
341
|
+
}
|
|
342
|
+
.rule-head {
|
|
343
|
+
height: 2px;
|
|
344
|
+
background: var(--rule-head);
|
|
345
|
+
}
|
|
346
|
+
.rule-row {
|
|
347
|
+
height: 2px;
|
|
348
|
+
background: var(--rule-row);
|
|
349
|
+
}
|
|
350
|
+
.use {
|
|
351
|
+
display: flex;
|
|
352
|
+
gap: 8px;
|
|
353
|
+
align-items: baseline;
|
|
354
|
+
}
|
|
355
|
+
.emo {
|
|
356
|
+
font-family: "Apple Color Emoji";
|
|
357
|
+
font-size: 14px;
|
|
358
|
+
}
|
|
359
|
+
.chip {
|
|
360
|
+
display: flex;
|
|
361
|
+
width: fit-content;
|
|
362
|
+
align-items: center;
|
|
363
|
+
gap: 6px;
|
|
364
|
+
height: 24px;
|
|
365
|
+
margin-top: 6px;
|
|
366
|
+
padding: 0 8px;
|
|
367
|
+
border-radius: 12px;
|
|
368
|
+
background: var(--chip-bg);
|
|
369
|
+
border: 1px solid var(--chip-line);
|
|
370
|
+
font-size: 10px;
|
|
371
|
+
color: #b9b9bd;
|
|
372
|
+
white-space: nowrap;
|
|
373
|
+
}
|
|
374
|
+
.chip-dot {
|
|
375
|
+
width: 12.5px;
|
|
376
|
+
height: 12.5px;
|
|
377
|
+
border-radius: 6.25px;
|
|
378
|
+
background: #2e2e30;
|
|
379
|
+
display: flex;
|
|
380
|
+
align-items: center;
|
|
381
|
+
justify-content: center;
|
|
382
|
+
font-size: 6px;
|
|
383
|
+
font-weight: 700;
|
|
384
|
+
color: #d8d8da;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* ---------------------------------------------------------- scroll chrome */
|
|
388
|
+
.scrollbar {
|
|
389
|
+
position: absolute;
|
|
390
|
+
right: 3.3px;
|
|
391
|
+
top: 145px;
|
|
392
|
+
width: 2.7px;
|
|
393
|
+
border-radius: 1.4px;
|
|
394
|
+
background: rgba(235, 235, 245, 0.32);
|
|
395
|
+
z-index: 20;
|
|
396
|
+
}
|
|
397
|
+
.chev-wrap {
|
|
398
|
+
position: absolute;
|
|
399
|
+
left: 0;
|
|
400
|
+
right: 0;
|
|
401
|
+
top: 738.7px;
|
|
402
|
+
z-index: 25;
|
|
403
|
+
display: flex;
|
|
404
|
+
justify-content: center;
|
|
405
|
+
}
|
|
406
|
+
.chev {
|
|
407
|
+
width: 36px;
|
|
408
|
+
height: 36px;
|
|
409
|
+
border-radius: 18px;
|
|
410
|
+
background: #1c1c1e;
|
|
411
|
+
border: 1px solid #2c2c2e;
|
|
412
|
+
display: flex;
|
|
413
|
+
align-items: center;
|
|
414
|
+
justify-content: center;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* ------------------------------------------------------------ suggestions */
|
|
418
|
+
.suggests {
|
|
419
|
+
position: absolute;
|
|
420
|
+
left: 0;
|
|
421
|
+
right: 0;
|
|
422
|
+
bottom: 407.7px;
|
|
423
|
+
z-index: 15;
|
|
424
|
+
}
|
|
425
|
+
.sug {
|
|
426
|
+
height: 47px;
|
|
427
|
+
display: flex;
|
|
428
|
+
align-items: center;
|
|
429
|
+
gap: 16px;
|
|
430
|
+
padding-left: 27.7px;
|
|
431
|
+
color: var(--ink);
|
|
432
|
+
font-size: 16px;
|
|
433
|
+
}
|
|
434
|
+
.sug-ico {
|
|
435
|
+
width: 15.7px;
|
|
436
|
+
height: 15.7px;
|
|
437
|
+
display: flex;
|
|
438
|
+
align-items: center;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/* -------------------------------------------------------------- composer */
|
|
442
|
+
.comp-scrim {
|
|
443
|
+
position: absolute;
|
|
444
|
+
left: 0;
|
|
445
|
+
right: 0;
|
|
446
|
+
bottom: 0;
|
|
447
|
+
height: 120px;
|
|
448
|
+
z-index: 18;
|
|
449
|
+
background: linear-gradient(to top, #000 12%, rgba(0, 0, 0, 0) 100%);
|
|
450
|
+
}
|
|
451
|
+
.composer {
|
|
452
|
+
position: absolute;
|
|
453
|
+
left: 12px;
|
|
454
|
+
bottom: 38.3px;
|
|
455
|
+
width: 378px;
|
|
456
|
+
height: 48px;
|
|
457
|
+
border-radius: 24px;
|
|
458
|
+
background: rgba(255, 255, 255, 0.055);
|
|
459
|
+
backdrop-filter: blur(22px);
|
|
460
|
+
-webkit-backdrop-filter: blur(22px);
|
|
461
|
+
z-index: 20;
|
|
462
|
+
overflow: hidden;
|
|
463
|
+
}
|
|
464
|
+
.comp-text {
|
|
465
|
+
position: absolute;
|
|
466
|
+
top: 0;
|
|
467
|
+
left: 16px;
|
|
468
|
+
right: 16px;
|
|
469
|
+
height: 44px;
|
|
470
|
+
display: flex;
|
|
471
|
+
align-items: center;
|
|
472
|
+
color: var(--ink);
|
|
473
|
+
font-size: 16px;
|
|
474
|
+
line-height: 22px;
|
|
475
|
+
white-space: pre;
|
|
476
|
+
}
|
|
477
|
+
.comp-ph {
|
|
478
|
+
position: absolute;
|
|
479
|
+
top: 0;
|
|
480
|
+
left: 48px;
|
|
481
|
+
height: 48px;
|
|
482
|
+
display: flex;
|
|
483
|
+
align-items: center;
|
|
484
|
+
color: var(--placeholder);
|
|
485
|
+
font-size: 16px;
|
|
486
|
+
}
|
|
487
|
+
.typed {
|
|
488
|
+
white-space: pre;
|
|
489
|
+
}
|
|
490
|
+
.typed .ch {
|
|
491
|
+
opacity: 0;
|
|
492
|
+
}
|
|
493
|
+
.cursor-anchor {
|
|
494
|
+
position: relative;
|
|
495
|
+
display: inline-block;
|
|
496
|
+
width: 0;
|
|
497
|
+
height: 22px;
|
|
498
|
+
vertical-align: -4px;
|
|
499
|
+
}
|
|
500
|
+
.cursor-anchor i {
|
|
501
|
+
position: absolute;
|
|
502
|
+
left: 1px;
|
|
503
|
+
top: 0;
|
|
504
|
+
width: 2px;
|
|
505
|
+
height: 22px;
|
|
506
|
+
background: var(--blue);
|
|
507
|
+
}
|
|
508
|
+
.comp-ctrls {
|
|
509
|
+
position: absolute;
|
|
510
|
+
left: 0;
|
|
511
|
+
right: 0;
|
|
512
|
+
bottom: 0;
|
|
513
|
+
height: 48px;
|
|
514
|
+
}
|
|
515
|
+
.comp-ctrls > * {
|
|
516
|
+
position: absolute;
|
|
517
|
+
top: 50%;
|
|
518
|
+
transform: translateY(-50%);
|
|
519
|
+
display: flex;
|
|
520
|
+
align-items: center;
|
|
521
|
+
justify-content: center;
|
|
522
|
+
}
|
|
523
|
+
#cge-comp-plus {
|
|
524
|
+
left: 15px;
|
|
525
|
+
}
|
|
526
|
+
.comp-mic {
|
|
527
|
+
right: 60px;
|
|
528
|
+
}
|
|
529
|
+
.blue-btn {
|
|
530
|
+
right: 8px;
|
|
531
|
+
width: 32px;
|
|
532
|
+
height: 32px;
|
|
533
|
+
border-radius: 16px;
|
|
534
|
+
background: var(--blue);
|
|
535
|
+
}
|
|
536
|
+
.blue-face {
|
|
537
|
+
position: absolute;
|
|
538
|
+
inset: 0;
|
|
539
|
+
display: flex;
|
|
540
|
+
align-items: center;
|
|
541
|
+
justify-content: center;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/* -------------------------------------------------------------- keyboard */
|
|
545
|
+
.keyboard {
|
|
546
|
+
position: absolute;
|
|
547
|
+
left: 0;
|
|
548
|
+
right: 0;
|
|
549
|
+
top: 539px;
|
|
550
|
+
height: 335px;
|
|
551
|
+
background: var(--kb-bg);
|
|
552
|
+
z-index: 22;
|
|
553
|
+
}
|
|
554
|
+
.predict {
|
|
555
|
+
position: relative;
|
|
556
|
+
height: 52px;
|
|
557
|
+
display: flex;
|
|
558
|
+
align-items: center;
|
|
559
|
+
}
|
|
560
|
+
.pd {
|
|
561
|
+
flex: 1;
|
|
562
|
+
position: relative;
|
|
563
|
+
align-self: stretch;
|
|
564
|
+
font-size: 17px;
|
|
565
|
+
color: #e8e8ea;
|
|
566
|
+
border-right: 1px solid rgba(235, 235, 245, 0.16);
|
|
567
|
+
}
|
|
568
|
+
.pdw {
|
|
569
|
+
position: absolute;
|
|
570
|
+
inset: 0;
|
|
571
|
+
display: flex;
|
|
572
|
+
align-items: center;
|
|
573
|
+
justify-content: center;
|
|
574
|
+
}
|
|
575
|
+
.pd:last-child {
|
|
576
|
+
border-right: none;
|
|
577
|
+
}
|
|
578
|
+
.krow {
|
|
579
|
+
position: absolute;
|
|
580
|
+
left: 0;
|
|
581
|
+
right: 0;
|
|
582
|
+
height: 43px;
|
|
583
|
+
}
|
|
584
|
+
.key {
|
|
585
|
+
position: absolute;
|
|
586
|
+
top: 0;
|
|
587
|
+
height: 43px;
|
|
588
|
+
border-radius: 5px;
|
|
589
|
+
background: var(--key);
|
|
590
|
+
display: flex;
|
|
591
|
+
align-items: center;
|
|
592
|
+
justify-content: center;
|
|
593
|
+
color: #fff;
|
|
594
|
+
font-size: 22.2px;
|
|
595
|
+
font-weight: 400;
|
|
596
|
+
}
|
|
597
|
+
.key.dark {
|
|
598
|
+
background: #2b2b2d;
|
|
599
|
+
}
|
|
600
|
+
.key.small {
|
|
601
|
+
font-size: 16px;
|
|
602
|
+
font-weight: 400;
|
|
603
|
+
}
|
|
604
|
+
.kb-bottom {
|
|
605
|
+
position: absolute;
|
|
606
|
+
left: 0;
|
|
607
|
+
right: 0;
|
|
608
|
+
top: 279.7px;
|
|
609
|
+
height: 55px;
|
|
610
|
+
display: flex;
|
|
611
|
+
align-items: center;
|
|
612
|
+
justify-content: space-between;
|
|
613
|
+
padding: 0 29px;
|
|
614
|
+
}
|
|
615
|
+
</style>
|
|
616
|
+
<link rel="stylesheet" href="../css/latin-inter.css" />
|
|
617
|
+
<style id="popost-fonts">
|
|
618
|
+
@font-face {
|
|
619
|
+
font-family: "ChatUI";
|
|
620
|
+
font-style: normal;
|
|
621
|
+
font-display: swap;
|
|
622
|
+
font-weight: 100 900;
|
|
623
|
+
src: url("../fonts/latin-inter/inter-latin-ext-wght-normal.woff2") format('woff2-variations');
|
|
624
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
625
|
+
}
|
|
626
|
+
@font-face {
|
|
627
|
+
font-family: "ChatUI";
|
|
628
|
+
font-style: normal;
|
|
629
|
+
font-display: swap;
|
|
630
|
+
font-weight: 100 900;
|
|
631
|
+
src: url("../fonts/latin-inter/inter-latin-wght-normal.woff2") format('woff2-variations');
|
|
632
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
633
|
+
}
|
|
634
|
+
@font-face {
|
|
635
|
+
font-family: "ChatUI";
|
|
636
|
+
font-style: italic;
|
|
637
|
+
font-display: swap;
|
|
638
|
+
font-weight: 100 900;
|
|
639
|
+
src: url("../fonts/latin-inter/inter-latin-ext-wght-italic.woff2") format('woff2-variations');
|
|
640
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
641
|
+
}
|
|
642
|
+
@font-face {
|
|
643
|
+
font-family: "ChatUI";
|
|
644
|
+
font-style: italic;
|
|
645
|
+
font-display: swap;
|
|
646
|
+
font-weight: 100 900;
|
|
647
|
+
src: url("../fonts/latin-inter/inter-latin-wght-italic.woff2") format('woff2-variations');
|
|
648
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
649
|
+
}
|
|
650
|
+
</style>
|
|
651
|
+
<style id="popost-fit">
|
|
652
|
+
html, body { margin: 0 !important; width: 1280px; height: 720px; overflow: hidden !important; background: #000000; }
|
|
653
|
+
#popost-stage { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform-origin: 0 0; overflow: hidden; }
|
|
654
|
+
</style>
|
|
655
|
+
<script type="application/json" id="popost-params">
|
|
656
|
+
{
|
|
657
|
+
"about": "A portrait ChatGPT-style exchange types and sends a prompt, streams an answer, assembles a comparison table, and scrolls back through the result",
|
|
658
|
+
"class": "ui",
|
|
659
|
+
"tags": [
|
|
660
|
+
"showcase",
|
|
661
|
+
"mock-ui",
|
|
662
|
+
"ai",
|
|
663
|
+
"chat",
|
|
664
|
+
"vertical",
|
|
665
|
+
"ad-template"
|
|
666
|
+
],
|
|
667
|
+
"seconds": 14.15,
|
|
668
|
+
"params": [
|
|
669
|
+
{
|
|
670
|
+
"name": "fit",
|
|
671
|
+
"type": "choice",
|
|
672
|
+
"default": "contain",
|
|
673
|
+
"options": [
|
|
674
|
+
"contain",
|
|
675
|
+
"cover"
|
|
676
|
+
],
|
|
677
|
+
"what": "how the 1080x1920 composition is fitted into the canvas: whole with bars, or filling it and cropped"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"values": {}
|
|
681
|
+
}
|
|
682
|
+
</script>
|
|
683
|
+
<script>
|
|
684
|
+
/* popost: the scene's parameters stand in for HyperFrames variables; random numbers are seeded; the composition is
|
|
685
|
+
scaled into the canvas; clips are shown and hidden from the scene's time. */
|
|
686
|
+
(function () {
|
|
687
|
+
var block = document.getElementById('popost-params');
|
|
688
|
+
var values = block ? (JSON.parse(block.textContent).values || {}) : {};
|
|
689
|
+
var vars = {};
|
|
690
|
+
Object.keys(values).forEach(function (k) { if (k !== 'fit') vars[k] = values[k] === 'true' ? true : values[k] === 'false' ? false : values[k]; });
|
|
691
|
+
window.__hyperframes = { getVariables: function () { return vars; } };
|
|
692
|
+
var seed = 20240229;
|
|
693
|
+
window.__popostRandom = function () { seed = (seed + 0x6d2b79f5) >>> 0; var t = seed; t = Math.imul(t ^ (t >>> 15), t | 1); t ^= t + Math.imul(t ^ (t >>> 7), t | 61); return ((t ^ (t >>> 14)) >>> 0) / 4294967296; };
|
|
694
|
+
// HyperFrames variables as CSS custom properties (runtime/getVariables.ts, compositionLoader.ts). A mounted
|
|
695
|
+
// composition's host lists its variables (data-popost-variables, written by the port): before the composition's
|
|
696
|
+
// scripts run it gets those no rule gives it yet (an inherited value counts), and after them the rest; a value given
|
|
697
|
+
// by a parameter always wins.
|
|
698
|
+
var cssName = function (id) { return '--' + (String(id).toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '') || 'node'); };
|
|
699
|
+
var givenId = function (n) { return Object.keys(values).filter(function (id) { return id !== 'fit' && cssName(id) === n; })[0]; };
|
|
700
|
+
var hostVars = function (h, early) {
|
|
701
|
+
(h.getAttribute('data-popost-variables') || '').split(';').forEach(function (d) {
|
|
702
|
+
var i = d.indexOf(':'), n = d.slice(0, i).trim(), k = givenId(n);
|
|
703
|
+
if (i < 0 || !n) return;
|
|
704
|
+
if (k !== undefined) h.style.setProperty(n, String(vars[k]));
|
|
705
|
+
else if (!(h.style.getPropertyValue(n) || (early ? getComputedStyle(h).getPropertyValue(n) : '')).trim()) h.style.setProperty(n, d.slice(i + 1).trim());
|
|
706
|
+
});
|
|
707
|
+
};
|
|
708
|
+
// Root-level clips laid out as HyperFrames lays them out (runtime/init.ts, applyCompositionSizing and applyClipLayout):
|
|
709
|
+
// its root composition (one marked data-root="true", else the first element with a data-composition-id, which is the
|
|
710
|
+
// page's <html> when that has one) gets its declared size, a position and overflow hidden; each child of it with a
|
|
711
|
+
// data-start is placed absolute unless it is absolute or fixed already, and given its declared size, or 100% where it
|
|
712
|
+
// measures 0. A composition box deeper in the page keeps the position its page gives it.
|
|
713
|
+
var layout = function () {
|
|
714
|
+
var hroot = document.querySelector('[data-composition-id][data-root="true"]') || document.querySelector('[data-composition-id]');
|
|
715
|
+
if (!hroot) return;
|
|
716
|
+
var px = function (v) { var n = parseFloat(v); return isFinite(n) && n > 0 ? n + 'px' : null; };
|
|
717
|
+
var rw = px(hroot.getAttribute('data-width')), rh = px(hroot.getAttribute('data-height'));
|
|
718
|
+
if (rw) { hroot.style.width = rw; hroot.style.setProperty('--comp-width', rw); }
|
|
719
|
+
if (rh) { hroot.style.height = rh; hroot.style.setProperty('--comp-height', rh); }
|
|
720
|
+
if (!hroot.style.position) hroot.style.position = 'relative';
|
|
721
|
+
hroot.style.overflow = 'hidden';
|
|
722
|
+
Array.prototype.forEach.call(hroot.children, function (el) {
|
|
723
|
+
if (/^(SCRIPT|STYLE|LINK|META)$/.test(el.tagName) || !el.hasAttribute('data-start')) return;
|
|
724
|
+
var none = el.style.getPropertyValue('display') === 'none', priority = el.style.getPropertyPriority('display');
|
|
725
|
+
if (none) el.style.removeProperty('display');
|
|
726
|
+
var cs = getComputedStyle(el);
|
|
727
|
+
if (cs.position !== 'absolute' && cs.position !== 'fixed') el.style.position = 'absolute';
|
|
728
|
+
if (el.tagName !== 'AUDIO') {
|
|
729
|
+
var byFile = /^(IMG|VIDEO)$/.test(el.tagName), fw = px(el.getAttribute('data-width')), fh = px(el.getAttribute('data-height'));
|
|
730
|
+
if (fw) { if (!el.style.width && (cs.width === '0px' || cs.width === 'auto')) el.style.width = fw; } else if (!byFile && !el.style.width && cs.width === '0px') el.style.width = '100%';
|
|
731
|
+
if (fh) { if (!el.style.height && (cs.height === '0px' || cs.height === 'auto')) el.style.height = fh; } else if (!byFile && !el.style.height && cs.height === '0px') el.style.height = '100%';
|
|
732
|
+
}
|
|
733
|
+
if (none) el.style.setProperty('display', 'none', priority);
|
|
734
|
+
});
|
|
735
|
+
};
|
|
736
|
+
// HyperFrames loads a mounted composition after it has laid out the page, so its scripts see the host placed: each
|
|
737
|
+
// script of a mounted composition calls this first (the port puts the call there).
|
|
738
|
+
window.__popostMount = function (script) {
|
|
739
|
+
var h = script && script.closest ? script.closest('[data-popost-host]') : null;
|
|
740
|
+
if (!h || h.__popostMounted) return;
|
|
741
|
+
h.__popostMounted = true;
|
|
742
|
+
layout();
|
|
743
|
+
hostVars(h, true);
|
|
744
|
+
};
|
|
745
|
+
window.__popostFit = function () {
|
|
746
|
+
// The canvas, from the size this file declares: a scene of a later shot loads in a layer that is not displayed, where the page measures 0.
|
|
747
|
+
var size = /width: (\d+)px; height: (\d+)px;/.exec(document.getElementById('popost-fit').textContent);
|
|
748
|
+
var W = 1080, H = 1920, s = document.getElementById('popost-stage'), cw = Number(size[1]), ch = Number(size[2]);
|
|
749
|
+
var k = (values.fit === 'cover' ? Math.max : Math.min)(cw / W, ch / H);
|
|
750
|
+
s.style.transform = 'translate(' + (cw - W * k) / 2 + 'px,' + (ch - H * k) / 2 + 'px) scale(' + k + ')';
|
|
751
|
+
// The page's own declared variables on its root element (runtime/getVariables.ts, injectCompositionCssVariables):
|
|
752
|
+
// each default where no rule defines its property, a value given by a parameter always.
|
|
753
|
+
var de = document.documentElement, declared = [];
|
|
754
|
+
try { declared = JSON.parse(de.getAttribute('data-composition-variables') || '[]'); } catch (e) {}
|
|
755
|
+
declared.forEach(function (d) {
|
|
756
|
+
var n = cssName(d.id), given = Object.prototype.hasOwnProperty.call(values, d.id), v = given ? vars[d.id] : d.default;
|
|
757
|
+
if (!((typeof v === 'string' && v !== '') || typeof v === 'number')) return;
|
|
758
|
+
if (!given && (de.style.getPropertyValue(n) || getComputedStyle(de).getPropertyValue(n)).trim()) return;
|
|
759
|
+
de.style.setProperty(n, String(v));
|
|
760
|
+
});
|
|
761
|
+
Array.prototype.forEach.call(document.querySelectorAll('[data-popost-host]'), function (h) { hostVars(h, false); });
|
|
762
|
+
layout();
|
|
763
|
+
// Timed elements as HyperFrames has them (runtime/clipTree.ts, clipWindow.ts): every element with a data-start but the
|
|
764
|
+
// root composition, from its start plus the starts of the compositions it sits in, for its data-duration (a
|
|
765
|
+
// composition without one: its timeline's length); one that runs to the end of the root keeps its last frame.
|
|
766
|
+
var root = s.querySelector('[data-composition-id]');
|
|
767
|
+
var clips = Array.prototype.slice.call(s.querySelectorAll('[data-start]')).filter(function (c) { return (root ? c !== root : c.parentNode !== s) && !/^(SCRIPT|STYLE|LINK|META|TEMPLATE|NOSCRIPT)$/.test(c.tagName) && isFinite(parseFloat(c.getAttribute('data-start'))); });
|
|
768
|
+
var windows = clips.map(function (c) {
|
|
769
|
+
var a = parseFloat(c.getAttribute('data-start')), d = parseFloat(c.getAttribute('data-duration')), id = c.getAttribute('data-composition-id');
|
|
770
|
+
for (var p = c.parentElement; p && p !== s; p = p.parentElement) if (p !== root && p.hasAttribute('data-composition-id') && isFinite(parseFloat(p.getAttribute('data-start')))) a += parseFloat(p.getAttribute('data-start'));
|
|
771
|
+
var tl = !(d > 0) && id && window.__timelines && window.__timelines[id];
|
|
772
|
+
return [a, d > 0 ? d : tl && tl.duration ? tl.duration() : Infinity];
|
|
773
|
+
});
|
|
774
|
+
var rootLength = parseFloat(root && root.getAttribute('data-duration'));
|
|
775
|
+
// A mounted composition that starts later in its host runs on its own time.
|
|
776
|
+
[].forEach(function (m) {
|
|
777
|
+
var tl = window.__timelines && window.__timelines[m.id];
|
|
778
|
+
if (tl) window.__timelines[m.id] = { pause: function () { tl.pause(); }, seek: function (t) { tl.seek(Math.max(0, t - m.start)); }, duration: function () { return tl.duration() + m.start; } };
|
|
779
|
+
});
|
|
780
|
+
var scene = (window.__popostScene = window.__popostScene || {}), before = scene.render;
|
|
781
|
+
scene.render = function (seconds, fps) {
|
|
782
|
+
if (before) before(seconds, fps);
|
|
783
|
+
for (var i = 0; i < clips.length; i++) {
|
|
784
|
+
var a = windows[i][0], end = a + windows[i][1];
|
|
785
|
+
clips[i].style.visibility = seconds >= a - 1e-6 && (seconds < end - 1e-6 || end >= rootLength - 1e-6) ? 'visible' : 'hidden';
|
|
786
|
+
}
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
})();
|
|
790
|
+
</script>
|
|
791
|
+
<script type="application/json" id="popost-cues">[{"at":3.91,"cue":"whoosh","gain":0.5}]</script>
|
|
792
|
+
</head>
|
|
793
|
+
<body>
|
|
794
|
+
<div id="popost-stage">
|
|
795
|
+
<div
|
|
796
|
+
data-hf-id="hf-ahdx"
|
|
797
|
+
id="cge-root"
|
|
798
|
+
data-composition-id="chatgpt-exchange"
|
|
799
|
+
data-fps="60"
|
|
800
|
+
data-start="0"
|
|
801
|
+
data-duration="14.9"
|
|
802
|
+
data-width="1080"
|
|
803
|
+
data-height="1920"
|
|
804
|
+
style="width: 1080px; height: 1920px;">
|
|
805
|
+
<div data-hf-id="hf-tan6" class="stage">
|
|
806
|
+
<div
|
|
807
|
+
data-hf-id="hf-szt4"
|
|
808
|
+
id="cge-scene"
|
|
809
|
+
class="clip"
|
|
810
|
+
data-start="0"
|
|
811
|
+
data-duration="14.9"
|
|
812
|
+
data-track-index="1"
|
|
813
|
+
>
|
|
814
|
+
<div data-hf-id="hf-ylue" class="screen" id="cge-screen"></div>
|
|
815
|
+
</div>
|
|
816
|
+
</div>
|
|
817
|
+
</div>
|
|
818
|
+
|
|
819
|
+
<script>
|
|
820
|
+
const variables =
|
|
821
|
+
window.__hyperframes && typeof window.__hyperframes.getVariables === "function"
|
|
822
|
+
? window.__hyperframes.getVariables()
|
|
823
|
+
: {};
|
|
824
|
+
const content = (id, fallback) =>
|
|
825
|
+
typeof variables[id] === "string" && variables[id].trim() ? variables[id] : fallback;
|
|
826
|
+
|
|
827
|
+
const CONFIG = {
|
|
828
|
+
status: { clock: "1:29", clockLate: "1:30", net: "5G+", battery: 89, batteryLate: 88 },
|
|
829
|
+
prompt: content("prompt", "Hey what's the best tool for ai avatars"),
|
|
830
|
+
suggestions: [
|
|
831
|
+
{ icon: "slack", label: "Summarize my to-dos" },
|
|
832
|
+
{ icon: "gmail", label: "Draft follow-up emails" },
|
|
833
|
+
{ icon: "cal", label: "Prep me for upcoming meetings" },
|
|
834
|
+
],
|
|
835
|
+
predict: {
|
|
836
|
+
start: ["I", "The", "I'm"],
|
|
837
|
+
mid: ["ai", "AI", "a"],
|
|
838
|
+
end: ['"avatars"', "avatar sick", "avatar stressed"],
|
|
839
|
+
},
|
|
840
|
+
paragraphs: [
|
|
841
|
+
content(
|
|
842
|
+
"intro1",
|
|
843
|
+
"It really depends on what you're trying to do, because “AI avatars” has split into a few different categories.",
|
|
844
|
+
),
|
|
845
|
+
content("intro2", "For **most creators and marketers**, here's how I'd rank them today:"),
|
|
846
|
+
],
|
|
847
|
+
table: {
|
|
848
|
+
head: [
|
|
849
|
+
content("tableHeadUse", "Use case"),
|
|
850
|
+
content("tableHeadTool", "Best tool"),
|
|
851
|
+
content("tableHeadWhy", "Why"),
|
|
852
|
+
],
|
|
853
|
+
rows: [
|
|
854
|
+
{
|
|
855
|
+
emoji: "🥇",
|
|
856
|
+
use: content("row1Use", "Overall realism"),
|
|
857
|
+
tool: content("row1Tool", "HeyGen"),
|
|
858
|
+
why: content(
|
|
859
|
+
"row1Why",
|
|
860
|
+
"Most natural facial expressions, lip sync, gestures, voice cloning and localization. Benchmark for talking head videos.",
|
|
861
|
+
),
|
|
862
|
+
chip: content("row1Chip", "Official A.I Ranking"),
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
emoji: "🏢",
|
|
866
|
+
use: content("row2Use", "Enterprise/training"),
|
|
867
|
+
tool: content("row2Tool", "Synthesia"),
|
|
868
|
+
why: content(
|
|
869
|
+
"row2Why",
|
|
870
|
+
"Better collaboration, SCORM, compliance, team workflows; less creator-focused.",
|
|
871
|
+
),
|
|
872
|
+
chip: content("row2Chip", "Official A.I Ranking"),
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
emoji: "📱",
|
|
876
|
+
use: content("row3Use", "Mobile UGC"),
|
|
877
|
+
tool: content("row3Tool", "Captions"),
|
|
878
|
+
why: content(
|
|
879
|
+
"row3Why",
|
|
880
|
+
"Extremely fast mobile workflow and social editing. Great for Reels creators.",
|
|
881
|
+
),
|
|
882
|
+
chip: content("row3Chip", "Creator Stack"),
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
emoji: "💬",
|
|
886
|
+
use: content("row4Use", "Real-time conversations"),
|
|
887
|
+
tool: content("row4Tool", "Tavus"),
|
|
888
|
+
why: content("row4Why", "Interactive avatars that can hold live conversations."),
|
|
889
|
+
chip: content("row4Chip", "Creator Stack"),
|
|
890
|
+
},
|
|
891
|
+
],
|
|
892
|
+
},
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
/* Beat clock (seconds). Every tween hangs off these. */
|
|
896
|
+
const T = {
|
|
897
|
+
suggestsIn: 0.0,
|
|
898
|
+
typeStart: 0.86,
|
|
899
|
+
charBase: 0.05,
|
|
900
|
+
spaceHold: 0.11,
|
|
901
|
+
sendPad: 0.3, // stillness-before-climax between last keystroke and the tap
|
|
902
|
+
sendReact: 0.03,
|
|
903
|
+
streamLead: 0.6, // model "thinking" comma
|
|
904
|
+
wordStep: 0.15,
|
|
905
|
+
tableLead: 0.2,
|
|
906
|
+
rowStep: 0.7,
|
|
907
|
+
readbackDur: 1.1,
|
|
908
|
+
tailHold: 0.7,
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
/* =========================================================== icon set */
|
|
912
|
+
const svg = (b, d, w) =>
|
|
913
|
+
`<svg viewBox="0 0 ${b} ${b}" width="${w || b}" height="${w || b}" fill="none">${d}</svg>`;
|
|
914
|
+
const ICO = {
|
|
915
|
+
bell: svg(
|
|
916
|
+
20,
|
|
917
|
+
`<path d="M4.2 15h11.6M10 3.2a4.3 4.3 0 0 1 4.3 4.3c0 3.4 1 5 1.5 5.6H4.2C4.7 12.5 5.7 10.9 5.7 7.5A4.3 4.3 0 0 1 10 3.2Z" stroke="#fff" stroke-width="1.5" stroke-linejoin="round"/><path d="M8.3 16.6a1.9 1.9 0 0 0 3.4 0" stroke="#fff" stroke-width="1.5"/><path d="M3 17L17 3" stroke="#fff" stroke-width="1.6"/>`,
|
|
918
|
+
18,
|
|
919
|
+
),
|
|
920
|
+
bars: svg(
|
|
921
|
+
20,
|
|
922
|
+
`<rect x="1" y="12.5" width="3" height="4.5" rx="1" fill="#fff"/><rect x="6" y="9.5" width="3" height="7.5" rx="1" fill="#fff"/><rect x="11" y="6.5" width="3" height="10.5" rx="1" fill="#fff"/><rect x="16" y="3.5" width="3" height="13.5" rx="1" fill="rgba(255,255,255,.32)"/>`,
|
|
923
|
+
19,
|
|
924
|
+
),
|
|
925
|
+
burger: svg(
|
|
926
|
+
24,
|
|
927
|
+
`<path d="M5 9.5h14M5 15h9" stroke="#fff" stroke-width="2.1" stroke-linecap="round"/>`,
|
|
928
|
+
24,
|
|
929
|
+
),
|
|
930
|
+
voiceCircle: svg(
|
|
931
|
+
24,
|
|
932
|
+
`<path d="M15.4 3.9a8.6 8.6 0 1 1-9.1 14.6" stroke="#fff" stroke-width="1.9" stroke-linecap="round"/><path d="M6.3 18.5 4 21.2l3.4.5" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/><path d="M13.6 8.4a4.1 4.1 0 1 0-3.3 6.9" stroke="#fff" stroke-width="1.9" stroke-linecap="round"/>`,
|
|
933
|
+
23,
|
|
934
|
+
),
|
|
935
|
+
compose: svg(
|
|
936
|
+
24,
|
|
937
|
+
`<path d="M4.5 15.5 15.2 4.8a2 2 0 0 1 2.9 2.9L7.4 18.4l-4 1 1-3.9Z" stroke="#fff" stroke-width="1.8" stroke-linejoin="round"/>`,
|
|
938
|
+
21,
|
|
939
|
+
),
|
|
940
|
+
dots: svg(
|
|
941
|
+
24,
|
|
942
|
+
`<circle cx="5" cy="12" r="1.9" fill="#fff"/><circle cx="12" cy="12" r="1.9" fill="#fff"/><circle cx="19" cy="12" r="1.9" fill="#fff"/>`,
|
|
943
|
+
21,
|
|
944
|
+
),
|
|
945
|
+
plus: svg(
|
|
946
|
+
24,
|
|
947
|
+
`<path d="M12 4.5v15M4.5 12h15" stroke="#fff" stroke-width="2.1" stroke-linecap="round"/>`,
|
|
948
|
+
18,
|
|
949
|
+
),
|
|
950
|
+
mic: svg(
|
|
951
|
+
24,
|
|
952
|
+
`<rect x="9" y="2.6" width="6" height="11.4" rx="3" stroke="#fff" stroke-width="1.8"/><path d="M5.5 11.4a6.5 6.5 0 0 0 13 0M12 18v3.2" stroke="#fff" stroke-width="1.8" stroke-linecap="round"/>`,
|
|
953
|
+
17,
|
|
954
|
+
),
|
|
955
|
+
wave: svg(
|
|
956
|
+
24,
|
|
957
|
+
`<rect x="4" y="9.5" width="2.4" height="5" rx="1.2" fill="#fff"/><rect x="8.6" y="6" width="2.4" height="12" rx="1.2" fill="#fff"/><rect x="13.2" y="8" width="2.4" height="8" rx="1.2" fill="#fff"/><rect x="17.8" y="10.5" width="2.4" height="3" rx="1.2" fill="#fff"/>`,
|
|
958
|
+
19,
|
|
959
|
+
),
|
|
960
|
+
arrowUp: svg(
|
|
961
|
+
24,
|
|
962
|
+
`<path d="M12 19V5.6M5.8 11.8 12 5.4l6.2 6.4" stroke="#000" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
963
|
+
19,
|
|
964
|
+
),
|
|
965
|
+
stop: svg(24, `<rect x="7" y="7" width="10" height="10" rx="2" fill="#000"/>`, 18),
|
|
966
|
+
chevDown: svg(
|
|
967
|
+
24,
|
|
968
|
+
`<path d="M12 5v13M6.2 12.2 12 18.2l5.8-6" stroke="#fff" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
969
|
+
18,
|
|
970
|
+
),
|
|
971
|
+
shift: svg(
|
|
972
|
+
24,
|
|
973
|
+
`<path d="M12 4 4.5 12h4v7h7v-7h4L12 4Z" stroke="#fff" stroke-width="1.7" stroke-linejoin="round" fill="#fff"/>`,
|
|
974
|
+
19,
|
|
975
|
+
),
|
|
976
|
+
del: svg(
|
|
977
|
+
24,
|
|
978
|
+
`<path d="M8.4 5h11a1.6 1.6 0 0 1 1.6 1.6v10.8A1.6 1.6 0 0 1 19.4 19h-11L2.6 12 8.4 5Z" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/><path d="M11.4 9.6l5.2 4.8M16.6 9.6l-5.2 4.8" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/>`,
|
|
979
|
+
22,
|
|
980
|
+
),
|
|
981
|
+
ret: svg(
|
|
982
|
+
24,
|
|
983
|
+
`<path d="M20 6v6.4H5.4M9.6 8.4 5 12.8l4.6 4.4" stroke="#fff" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
984
|
+
21,
|
|
985
|
+
),
|
|
986
|
+
emojiKey: svg(
|
|
987
|
+
24,
|
|
988
|
+
`<circle cx="12" cy="12" r="9" stroke="#fff" stroke-width="1.7"/><circle cx="9" cy="10" r="1.2" fill="#fff"/><circle cx="15" cy="10" r="1.2" fill="#fff"/><path d="M8 14.6a5 5 0 0 0 8 0" stroke="#fff" stroke-width="1.7" stroke-linecap="round"/>`,
|
|
989
|
+
25,
|
|
990
|
+
),
|
|
991
|
+
slack: svg(
|
|
992
|
+
24,
|
|
993
|
+
`<path d="M6.2 14.4a2 2 0 1 1-2 2v-2h2Z" fill="#e01e5a"/><path d="M7.3 14.4a2 2 0 0 1 4 0v5a2 2 0 1 1-4 0v-5Z" fill="#e01e5a"/><path d="M9.6 6.2a2 2 0 1 1 2-2v2h-2Z" fill="#36c5f0"/><path d="M9.6 7.3a2 2 0 0 1 0 4h-5a2 2 0 1 1 0-4h5Z" fill="#36c5f0"/><path d="M17.8 9.6a2 2 0 1 1 2 2h-2v-2Z" fill="#2eb67d"/><path d="M16.7 9.6a2 2 0 0 1-4 0v-5a2 2 0 1 1 4 0v5Z" fill="#2eb67d"/><path d="M14.4 17.8a2 2 0 1 1-2 2v-2h2Z" fill="#ecb22e"/><path d="M14.4 16.7a2 2 0 0 1 0-4h5a2 2 0 1 1 0 4h-5Z" fill="#ecb22e"/>`,
|
|
994
|
+
16,
|
|
995
|
+
),
|
|
996
|
+
gmail: svg(
|
|
997
|
+
24,
|
|
998
|
+
`<path d="M3 6.6 12 13l9-6.4V18a1 1 0 0 1-1 1h-3V11l-5 3.6L7 11v8H4a1 1 0 0 1-1-1V6.6Z" fill="#ea4335"/><path d="M17 11v8h3a1 1 0 0 0 1-1V6.6L17 9.5V11Z" fill="#34a853"/><path d="M3 6.6 7 9.5V19H4a1 1 0 0 1-1-1V6.6Z" fill="#4285f4"/><path d="M3 5.6A1.6 1.6 0 0 1 5.4 4.3L12 9l6.6-4.7A1.6 1.6 0 0 1 21 5.6v1L12 13 3 6.6v-.8Z" fill="#fbbc04"/>`,
|
|
999
|
+
16,
|
|
1000
|
+
),
|
|
1001
|
+
cal: svg(
|
|
1002
|
+
24,
|
|
1003
|
+
`<rect x="3" y="4" width="18" height="17" rx="3" fill="#1a73e8"/><rect x="3" y="4" width="18" height="4.5" rx="3" fill="#1967d2"/><text x="12" y="17.6" font-size="9" font-weight="700" fill="#fff" text-anchor="middle" font-family="Helvetica">31</text>`,
|
|
1004
|
+
16,
|
|
1005
|
+
),
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
/* ============================================================== build */
|
|
1009
|
+
const screen = document.getElementById("cge-screen");
|
|
1010
|
+
// `html` is this file's own markup (icons, layout), never a variable: editable
|
|
1011
|
+
// strings go through `text`, which sets textContent and so cannot become markup.
|
|
1012
|
+
const el = (cls, html, tag) => {
|
|
1013
|
+
const n = document.createElement(tag || "div");
|
|
1014
|
+
if (cls) n.className = cls;
|
|
1015
|
+
if (html != null) n.innerHTML = html;
|
|
1016
|
+
return n;
|
|
1017
|
+
};
|
|
1018
|
+
const text = (cls, value, tag) => {
|
|
1019
|
+
const n = el(cls, null, tag);
|
|
1020
|
+
n.textContent = value;
|
|
1021
|
+
return n;
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
// --- status bar
|
|
1025
|
+
const sb = el("statusbar");
|
|
1026
|
+
sb.innerHTML =
|
|
1027
|
+
`<div class="sb-left"><div class="sb-clock sb-clock-box">` +
|
|
1028
|
+
`<span id="cge-clock-early">${CONFIG.status.clock}</span>` +
|
|
1029
|
+
`<span id="cge-clock-late">${CONFIG.status.clockLate}</span></div>${ICO.bell}</div>` +
|
|
1030
|
+
`<div class="sb-right">${ICO.bars}<div class="sb-net">${CONFIG.status.net}</div>` +
|
|
1031
|
+
`<div class="sb-batt"><span id="cge-batt-early">${CONFIG.status.battery}</span>` +
|
|
1032
|
+
`<span id="cge-batt-late">${CONFIG.status.batteryLate}</span></div>` +
|
|
1033
|
+
`<div class="sb-batt-cap"></div></div>`;
|
|
1034
|
+
|
|
1035
|
+
// --- thread
|
|
1036
|
+
const port = el("scrollport");
|
|
1037
|
+
const thread = el("thread");
|
|
1038
|
+
thread.setAttribute("data-layout-allow-overflow", "true");
|
|
1039
|
+
thread.setAttribute("data-layout-allow-overlap", "true");
|
|
1040
|
+
thread.setAttribute("data-layout-allow-occlusion", "true");
|
|
1041
|
+
thread.id = "cge-thread";
|
|
1042
|
+
|
|
1043
|
+
const bubble = el("bubble");
|
|
1044
|
+
bubble.id = "cge-bubble";
|
|
1045
|
+
bubble.textContent = CONFIG.prompt + "?";
|
|
1046
|
+
thread.appendChild(bubble);
|
|
1047
|
+
|
|
1048
|
+
const answer = el("answer");
|
|
1049
|
+
answer.id = "cge-answer";
|
|
1050
|
+
thread.appendChild(answer);
|
|
1051
|
+
|
|
1052
|
+
// paragraphs -> word spans (**bold** supported)
|
|
1053
|
+
const paraEls = [];
|
|
1054
|
+
CONFIG.paragraphs.forEach((txt) => {
|
|
1055
|
+
const p = el("para");
|
|
1056
|
+
const inner = el("para-inner");
|
|
1057
|
+
let bold = false;
|
|
1058
|
+
txt.split(/(\s+)/).forEach((tok) => {
|
|
1059
|
+
if (!tok) return;
|
|
1060
|
+
if (/^\s+$/.test(tok)) {
|
|
1061
|
+
inner.appendChild(document.createTextNode(tok));
|
|
1062
|
+
return;
|
|
1063
|
+
}
|
|
1064
|
+
let word = tok;
|
|
1065
|
+
let open = false;
|
|
1066
|
+
if (word.startsWith("**")) {
|
|
1067
|
+
bold = true;
|
|
1068
|
+
open = true;
|
|
1069
|
+
word = word.slice(2);
|
|
1070
|
+
}
|
|
1071
|
+
let close = false;
|
|
1072
|
+
if (word.includes("**")) {
|
|
1073
|
+
close = true;
|
|
1074
|
+
word = word.replace("**", "");
|
|
1075
|
+
}
|
|
1076
|
+
const s = el("w", null, "span");
|
|
1077
|
+
if (bold) s.style.fontWeight = "600";
|
|
1078
|
+
s.textContent = word;
|
|
1079
|
+
if (close) bold = false;
|
|
1080
|
+
void open;
|
|
1081
|
+
inner.appendChild(s);
|
|
1082
|
+
});
|
|
1083
|
+
p.appendChild(inner);
|
|
1084
|
+
answer.appendChild(p);
|
|
1085
|
+
paraEls.push({ p: p, inner: inner, words: [].slice.call(inner.querySelectorAll(".w")) });
|
|
1086
|
+
});
|
|
1087
|
+
|
|
1088
|
+
// table
|
|
1089
|
+
const tbl = el("tbl");
|
|
1090
|
+
tbl.id = "cge-tbl";
|
|
1091
|
+
const headRow = el("tr");
|
|
1092
|
+
CONFIG.table.head.forEach((label, col) => {
|
|
1093
|
+
headRow.appendChild(text(`td th c${col + 1}`, label));
|
|
1094
|
+
});
|
|
1095
|
+
const headRule = el("rule-head");
|
|
1096
|
+
headRule.id = "cge-head-rule";
|
|
1097
|
+
tbl.appendChild(headRow);
|
|
1098
|
+
tbl.appendChild(headRule);
|
|
1099
|
+
answer.appendChild(tbl);
|
|
1100
|
+
|
|
1101
|
+
const rowEls = [];
|
|
1102
|
+
CONFIG.table.rows.forEach((r, i) => {
|
|
1103
|
+
const row = el("tr");
|
|
1104
|
+
row.id = "cge-row" + i;
|
|
1105
|
+
const use = el("use");
|
|
1106
|
+
use.append(text("emo", r.emoji, "span"), text("w", r.use, "span"));
|
|
1107
|
+
const c1 = el("td c1");
|
|
1108
|
+
c1.appendChild(use);
|
|
1109
|
+
const c2 = el("td c2");
|
|
1110
|
+
c2.appendChild(text("w", r.tool, "span"));
|
|
1111
|
+
const c3 = el("td c3");
|
|
1112
|
+
r.why.split(" ").forEach((w, k) => {
|
|
1113
|
+
if (k > 0) c3.appendChild(document.createTextNode(" "));
|
|
1114
|
+
c3.appendChild(text("w", w, "span"));
|
|
1115
|
+
});
|
|
1116
|
+
const chip = el("chip");
|
|
1117
|
+
chip.append(text("chip-dot", "AI", "span"), r.chip);
|
|
1118
|
+
c3.appendChild(chip);
|
|
1119
|
+
row.append(c1, c2, c3);
|
|
1120
|
+
const rule = el("rule-row");
|
|
1121
|
+
rule.id = "cge-rule" + i;
|
|
1122
|
+
tbl.appendChild(row);
|
|
1123
|
+
tbl.appendChild(rule);
|
|
1124
|
+
rowEls.push({
|
|
1125
|
+
row: row,
|
|
1126
|
+
rule: rule,
|
|
1127
|
+
words: [].slice.call(row.querySelectorAll(".w")),
|
|
1128
|
+
emo: row.querySelector(".emo"),
|
|
1129
|
+
chip: row.querySelector(".chip"),
|
|
1130
|
+
});
|
|
1131
|
+
});
|
|
1132
|
+
|
|
1133
|
+
port.appendChild(thread);
|
|
1134
|
+
|
|
1135
|
+
// --- scroll chrome
|
|
1136
|
+
const sbar = el("scrollbar");
|
|
1137
|
+
sbar.id = "cge-scrollbar";
|
|
1138
|
+
const chevWrap = el("chev-wrap", `<div class="chev" id="cge-chev">${ICO.chevDown}</div>`);
|
|
1139
|
+
|
|
1140
|
+
// --- suggestions
|
|
1141
|
+
const suggests = el("suggests");
|
|
1142
|
+
const sugEls = CONFIG.suggestions.map((s) => {
|
|
1143
|
+
const n = el("sug", `<div class="sug-ico">${ICO[s.icon]}</div><div>${s.label}</div>`);
|
|
1144
|
+
suggests.appendChild(n);
|
|
1145
|
+
return n;
|
|
1146
|
+
});
|
|
1147
|
+
|
|
1148
|
+
// --- composer
|
|
1149
|
+
const composer = el("composer");
|
|
1150
|
+
composer.setAttribute("data-layout-allow-occlusion", "true");
|
|
1151
|
+
composer.setAttribute("data-layout-allow-overlap", "true");
|
|
1152
|
+
composer.id = "cge-composer";
|
|
1153
|
+
composer.innerHTML =
|
|
1154
|
+
`<div class="comp-text" id="cge-comp-text"><span class="typed" id="cge-typed"></span></div>` +
|
|
1155
|
+
`<div class="comp-ph" id="cge-comp-ph">Ask ChatGPT</div>` +
|
|
1156
|
+
`<div class="comp-ctrls"><div id="cge-comp-plus">${ICO.plus}</div>` +
|
|
1157
|
+
`<div class="comp-mic" id="cge-comp-mic">${ICO.mic}</div>` +
|
|
1158
|
+
`<div class="blue-btn" id="cge-blue-btn">` +
|
|
1159
|
+
`<div class="blue-face" id="cge-face-wave">${ICO.wave}</div>` +
|
|
1160
|
+
`<div class="blue-face" id="cge-face-send">${ICO.arrowUp}</div>` +
|
|
1161
|
+
`<div class="blue-face" id="cge-face-stop">${ICO.stop}</div></div></div>`;
|
|
1162
|
+
|
|
1163
|
+
// one span per character, each followed by a zero-width caret slot. Hidden
|
|
1164
|
+
// characters still occupy their final space, so the caret needs no measuring.
|
|
1165
|
+
const typedEl = composer.querySelector("#cge-typed");
|
|
1166
|
+
const chEls = [];
|
|
1167
|
+
const curEls = [];
|
|
1168
|
+
const mkCursor = () => {
|
|
1169
|
+
const a = el("cursor-anchor", "<i></i>", "span");
|
|
1170
|
+
typedEl.appendChild(a);
|
|
1171
|
+
curEls.push(a);
|
|
1172
|
+
};
|
|
1173
|
+
mkCursor();
|
|
1174
|
+
CONFIG.prompt.split("").forEach((c) => {
|
|
1175
|
+
const sp = text("ch", c === " " ? "\u00a0" : c, "span");
|
|
1176
|
+
typedEl.appendChild(sp);
|
|
1177
|
+
chEls.push(sp);
|
|
1178
|
+
mkCursor();
|
|
1179
|
+
});
|
|
1180
|
+
|
|
1181
|
+
// --- keyboard
|
|
1182
|
+
const KB = { w: 33.44, gap: 6.03, inset: 6.67 };
|
|
1183
|
+
const keyboard = el("keyboard");
|
|
1184
|
+
keyboard.setAttribute("data-layout-allow-overflow", "true");
|
|
1185
|
+
keyboard.setAttribute("data-layout-allow-overlap", "true");
|
|
1186
|
+
keyboard.id = "cge-keyboard";
|
|
1187
|
+
const predict = el("predict");
|
|
1188
|
+
predict.id = "cge-predict";
|
|
1189
|
+
const PRED_STAGES = ["start", "mid", "end"];
|
|
1190
|
+
const pdEls = [0, 1, 2].map((col) => {
|
|
1191
|
+
const n = el("pd");
|
|
1192
|
+
const stages = PRED_STAGES.map((k) => {
|
|
1193
|
+
const w = el("pdw", CONFIG.predict[k][col]);
|
|
1194
|
+
n.appendChild(w);
|
|
1195
|
+
return w;
|
|
1196
|
+
});
|
|
1197
|
+
predict.appendChild(n);
|
|
1198
|
+
return { cell: n, stages: stages };
|
|
1199
|
+
});
|
|
1200
|
+
keyboard.appendChild(predict);
|
|
1201
|
+
|
|
1202
|
+
const keyIndex = {};
|
|
1203
|
+
const mkKey = (row, label, x, w, cls) => {
|
|
1204
|
+
const k = el("key" + (cls ? " " + cls : ""), label);
|
|
1205
|
+
k.style.left = x + "px";
|
|
1206
|
+
k.style.width = w + "px";
|
|
1207
|
+
row.appendChild(k);
|
|
1208
|
+
if (/^[A-Z]$/.test(label)) keyIndex[label] = k;
|
|
1209
|
+
return k;
|
|
1210
|
+
};
|
|
1211
|
+
const rowsDef = [
|
|
1212
|
+
{ y: 52, keys: "QWERTYUIOP".split(""), x0: KB.inset },
|
|
1213
|
+
{ y: 106, keys: "ASDFGHJKL".split(""), x0: 26.33 },
|
|
1214
|
+
{ y: 160, keys: "ZXCVBNM".split(""), x0: 65.67 },
|
|
1215
|
+
];
|
|
1216
|
+
rowsDef.forEach((rd, ri) => {
|
|
1217
|
+
const row = el("krow");
|
|
1218
|
+
row.style.top = rd.y + "px";
|
|
1219
|
+
rd.keys.forEach((k, i) => mkKey(row, k, rd.x0 + i * (KB.w + KB.gap), KB.w));
|
|
1220
|
+
if (ri === 2) {
|
|
1221
|
+
mkKey(row, ICO.shift, KB.inset, 45.33, "dark");
|
|
1222
|
+
mkKey(row, ICO.del, 350, 45.67, "dark");
|
|
1223
|
+
}
|
|
1224
|
+
keyboard.appendChild(row);
|
|
1225
|
+
});
|
|
1226
|
+
const row4 = el("krow");
|
|
1227
|
+
row4.style.top = "214px";
|
|
1228
|
+
const kNum = mkKey(row4, "123", KB.inset, 92.67, "dark small");
|
|
1229
|
+
const kSpace = mkKey(row4, "", 105.33, 191.33);
|
|
1230
|
+
const kRet = mkKey(row4, ICO.ret, 302.67, 93, "dark");
|
|
1231
|
+
keyboard.appendChild(row4);
|
|
1232
|
+
keyboard.appendChild(el("kb-bottom", `<div>${ICO.emojiKey}</div><div>${ICO.mic}</div>`));
|
|
1233
|
+
void kNum;
|
|
1234
|
+
void kRet;
|
|
1235
|
+
|
|
1236
|
+
// --- header (built last so it stacks above the thread)
|
|
1237
|
+
const hdrScrim = el("hdr-scrim");
|
|
1238
|
+
hdrScrim.setAttribute("data-layout-allow-occlusion", "true");
|
|
1239
|
+
hdrScrim.id = "cge-hdr-scrim";
|
|
1240
|
+
const header = el("header");
|
|
1241
|
+
header.innerHTML =
|
|
1242
|
+
`<div class="circle-btn hdr-left">${ICO.burger}</div>` +
|
|
1243
|
+
`<div class="seg" id="cge-seg"><div class="seg-item on">Chat</div><div class="seg-item">Work</div></div>` +
|
|
1244
|
+
`<div class="hdr-right" id="cge-hdr-right">` +
|
|
1245
|
+
`<div class="hdr-right-face" id="cge-hdr-voice">${ICO.voiceCircle}</div>` +
|
|
1246
|
+
`<div class="hdr-right-face" id="cge-hdr-actions">${ICO.compose}${ICO.dots}</div></div>`;
|
|
1247
|
+
|
|
1248
|
+
const statusPlate = el("status-plate");
|
|
1249
|
+
statusPlate.setAttribute("data-layout-allow-occlusion", "true");
|
|
1250
|
+
const compScrim = el("comp-scrim");
|
|
1251
|
+
compScrim.setAttribute("data-layout-allow-occlusion", "true");
|
|
1252
|
+
[
|
|
1253
|
+
port,
|
|
1254
|
+
sbar,
|
|
1255
|
+
chevWrap,
|
|
1256
|
+
suggests,
|
|
1257
|
+
compScrim,
|
|
1258
|
+
composer,
|
|
1259
|
+
keyboard,
|
|
1260
|
+
hdrScrim,
|
|
1261
|
+
statusPlate,
|
|
1262
|
+
header,
|
|
1263
|
+
sb,
|
|
1264
|
+
].forEach((n) => screen.appendChild(n));
|
|
1265
|
+
|
|
1266
|
+
/* ============================================================ measure
|
|
1267
|
+
All layout reads happen here, once, before any state is set. Widths
|
|
1268
|
+
come off getBoundingClientRect (sub-pixel) divided by --scale; block
|
|
1269
|
+
offsets come off offsetTop, which is unscaled. Deterministic: the same
|
|
1270
|
+
layout every load, so every seek resolves identically. */
|
|
1271
|
+
// paragraph line grouping + heights
|
|
1272
|
+
const LH = 25.667;
|
|
1273
|
+
paraEls.forEach((pe) => {
|
|
1274
|
+
pe.height = pe.inner.offsetHeight;
|
|
1275
|
+
const tops = pe.words.map((w) => w.offsetTop);
|
|
1276
|
+
const uniq = [];
|
|
1277
|
+
tops.forEach((t) => {
|
|
1278
|
+
if (!uniq.length || t - uniq[uniq.length - 1] > 4) uniq.push(t);
|
|
1279
|
+
});
|
|
1280
|
+
pe.lineOf = tops.map((t) => {
|
|
1281
|
+
let li = 0;
|
|
1282
|
+
uniq.forEach((u, i) => {
|
|
1283
|
+
if (Math.abs(t - u) <= 4) li = i;
|
|
1284
|
+
});
|
|
1285
|
+
return li;
|
|
1286
|
+
});
|
|
1287
|
+
pe.lineHeights = uniq.map((u, i) => Math.min(pe.height, (i + 1) * LH + 1));
|
|
1288
|
+
});
|
|
1289
|
+
|
|
1290
|
+
const headRowH = headRow.offsetHeight;
|
|
1291
|
+
rowEls.forEach((re) => (re.h = re.row.offsetHeight));
|
|
1292
|
+
|
|
1293
|
+
// Scroll anchors: keep the newest revealed element just above the composer.
|
|
1294
|
+
// Read here, in the natural layout — by timeline-build time every paragraph
|
|
1295
|
+
// and row has been collapsed to height 0 and offsetTop/Height would lie.
|
|
1296
|
+
const ANCHOR = 772;
|
|
1297
|
+
const anchorOf = (node) => Math.min(0, ANCHOR - (node.offsetTop + node.offsetHeight));
|
|
1298
|
+
paraEls.forEach((pe) => (pe.anchor = anchorOf(pe.p)));
|
|
1299
|
+
rowEls.forEach((re) => (re.anchor = anchorOf(re.row)));
|
|
1300
|
+
const Y_FINAL = 37 - bubble.offsetTop; // IMG_0937: bubble top rests at y=37
|
|
1301
|
+
|
|
1302
|
+
/* ====================================================== initial state */
|
|
1303
|
+
gsap.set(composer, { y: -309, x: 0, width: 378, height: 48 }); // keyboard-up rest
|
|
1304
|
+
gsap.set([answer], { autoAlpha: 1 });
|
|
1305
|
+
gsap.set(
|
|
1306
|
+
paraEls.map((p) => p.p),
|
|
1307
|
+
{ height: 0 },
|
|
1308
|
+
);
|
|
1309
|
+
paraEls.forEach((pe) => gsap.set(pe.words, { opacity: 0 }));
|
|
1310
|
+
gsap.set([headRow, headRule], { height: 0, opacity: 0 });
|
|
1311
|
+
rowEls.forEach((re) => {
|
|
1312
|
+
gsap.set(re.row, { height: 0 });
|
|
1313
|
+
gsap.set(re.rule, { height: 0 });
|
|
1314
|
+
gsap.set(re.words, { opacity: 0 });
|
|
1315
|
+
gsap.set([re.emo, re.chip], { opacity: 0 });
|
|
1316
|
+
});
|
|
1317
|
+
gsap.set(bubble, { autoAlpha: 0 });
|
|
1318
|
+
gsap.set(thread, { y: 0 });
|
|
1319
|
+
gsap.set(sbar, { autoAlpha: 0, y: 60, height: 250 });
|
|
1320
|
+
gsap.set(chevWrap.firstChild, { autoAlpha: 0, y: 10 });
|
|
1321
|
+
gsap.set(sugEls, { autoAlpha: 0, y: 14 });
|
|
1322
|
+
gsap.set(chEls, { opacity: 0 });
|
|
1323
|
+
gsap.set(curEls, { autoAlpha: 0 });
|
|
1324
|
+
gsap.set(document.getElementById("cge-comp-ph"), { autoAlpha: 1 });
|
|
1325
|
+
gsap.set(document.getElementById("cge-face-send"), { autoAlpha: 0, scale: 0.6 });
|
|
1326
|
+
gsap.set(document.getElementById("cge-face-stop"), { autoAlpha: 0, scale: 0.6 });
|
|
1327
|
+
gsap.set(document.getElementById("cge-hdr-actions"), { autoAlpha: 0 });
|
|
1328
|
+
gsap.set(document.getElementById("cge-hdr-right"), { width: 44 });
|
|
1329
|
+
gsap.set(document.getElementById("cge-seg"), { autoAlpha: 1, scale: 1 });
|
|
1330
|
+
gsap.set(hdrScrim, { autoAlpha: 1 });
|
|
1331
|
+
gsap.set(keyboard, { y: 0 });
|
|
1332
|
+
pdEls.forEach((pd) => {
|
|
1333
|
+
gsap.set(pd.stages[0], { autoAlpha: 1 });
|
|
1334
|
+
gsap.set([pd.stages[1], pd.stages[2]], { autoAlpha: 0 });
|
|
1335
|
+
});
|
|
1336
|
+
gsap.set(document.getElementById("cge-clock-late"), { autoAlpha: 0 });
|
|
1337
|
+
gsap.set(document.getElementById("cge-batt-late"), { autoAlpha: 0 });
|
|
1338
|
+
|
|
1339
|
+
/* ============================================================ timeline */
|
|
1340
|
+
window.__timelines = window.__timelines || {};
|
|
1341
|
+
const tl = gsap.timeline({ paused: true });
|
|
1342
|
+
|
|
1343
|
+
/* ---- 1. suggestions cascade in (waterfall entry, weight-ordered) */
|
|
1344
|
+
sugEls.forEach((n, i) => {
|
|
1345
|
+
tl.to(
|
|
1346
|
+
n,
|
|
1347
|
+
{ autoAlpha: 1, y: 0, duration: 0.42, ease: "power3.out" },
|
|
1348
|
+
T.suggestsIn + i * 0.09,
|
|
1349
|
+
);
|
|
1350
|
+
});
|
|
1351
|
+
|
|
1352
|
+
/* ---- 2. typing. Each keystroke IS the cause: key flash -> width step. */
|
|
1353
|
+
const t0 = T.typeStart;
|
|
1354
|
+
const chars = CONFIG.prompt.split("");
|
|
1355
|
+
const charT = [];
|
|
1356
|
+
let t = t0;
|
|
1357
|
+
chars.forEach((c, i) => {
|
|
1358
|
+
charT.push(t);
|
|
1359
|
+
t += c === " " ? T.charBase + T.spaceHold : T.charBase;
|
|
1360
|
+
void i;
|
|
1361
|
+
});
|
|
1362
|
+
const typeEnd = t;
|
|
1363
|
+
|
|
1364
|
+
// composer grows to two rows on the first keystroke
|
|
1365
|
+
tl.to(composer, { height: 92, duration: 0.24, ease: "power2.out" }, t0 - 0.02);
|
|
1366
|
+
tl.to(document.getElementById("cge-comp-ph"), { autoAlpha: 0, duration: 0.12 }, t0 - 0.02);
|
|
1367
|
+
tl.to(curEls[0], { autoAlpha: 1, duration: 0.01 }, t0 - 0.02);
|
|
1368
|
+
// suggestions clear — caused by the first keystroke
|
|
1369
|
+
sugEls.forEach((n, i) => {
|
|
1370
|
+
tl.to(n, { autoAlpha: 0, y: 10, duration: 0.2, ease: "power2.in" }, t0 - 0.02 + i * 0.04);
|
|
1371
|
+
});
|
|
1372
|
+
// voice waveform -> send arrow
|
|
1373
|
+
tl.to(
|
|
1374
|
+
document.getElementById("cge-face-wave"),
|
|
1375
|
+
{ autoAlpha: 0, scale: 0.6, duration: 0.14 },
|
|
1376
|
+
t0,
|
|
1377
|
+
);
|
|
1378
|
+
tl.to(
|
|
1379
|
+
document.getElementById("cge-face-send"),
|
|
1380
|
+
{ autoAlpha: 1, scale: 1, duration: 0.24, ease: "back.out(1.6)" },
|
|
1381
|
+
t0 + 0.04,
|
|
1382
|
+
);
|
|
1383
|
+
|
|
1384
|
+
chars.forEach((c, i) => {
|
|
1385
|
+
tl.to(chEls[i], { opacity: 1, duration: 0.01 }, charT[i]);
|
|
1386
|
+
tl.to(curEls[i], { autoAlpha: 0, duration: 0.01 }, charT[i]);
|
|
1387
|
+
tl.to(curEls[i + 1], { autoAlpha: 1, duration: 0.01 }, charT[i]);
|
|
1388
|
+
const k = keyIndex[c.toUpperCase()];
|
|
1389
|
+
const target = c === " " ? kSpace : k;
|
|
1390
|
+
if (target) {
|
|
1391
|
+
tl.to(target, { backgroundColor: "#5f5f5f", duration: 0.04 }, charT[i] - 0.03);
|
|
1392
|
+
tl.to(
|
|
1393
|
+
target,
|
|
1394
|
+
{ backgroundColor: c === " " ? "#3c3c3c" : "#3c3c3c", duration: 0.09 },
|
|
1395
|
+
charT[i] + 0.02,
|
|
1396
|
+
);
|
|
1397
|
+
}
|
|
1398
|
+
});
|
|
1399
|
+
|
|
1400
|
+
// caret blink (finite, deterministic)
|
|
1401
|
+
const blinkFrom = t0 + 0.1;
|
|
1402
|
+
const blinks = Math.floor((typeEnd + T.sendPad - blinkFrom) / 1.06);
|
|
1403
|
+
const lastCur = curEls[curEls.length - 1];
|
|
1404
|
+
for (let i = 0; i < blinks; i++) {
|
|
1405
|
+
const off = blinkFrom + i * 1.06 + 0.53;
|
|
1406
|
+
const on = blinkFrom + i * 1.06 + 1.06;
|
|
1407
|
+
if (off > typeEnd) tl.to(lastCur, { autoAlpha: 0, duration: 0.02 }, off);
|
|
1408
|
+
if (on > typeEnd) tl.to(lastCur, { autoAlpha: 1, duration: 0.02 }, on);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
// predictive row swaps at word boundaries
|
|
1412
|
+
const swapPredict = (at, stage) => {
|
|
1413
|
+
pdEls.forEach((pd) => {
|
|
1414
|
+
tl.to(pd.stages[stage - 1], { autoAlpha: 0, duration: 0.06 }, at);
|
|
1415
|
+
tl.to(pd.stages[stage], { autoAlpha: 1, duration: 0.08 }, at + 0.06);
|
|
1416
|
+
});
|
|
1417
|
+
};
|
|
1418
|
+
swapPredict(charT[CONFIG.prompt.indexOf(" ai ") + 1], 1);
|
|
1419
|
+
swapPredict(charT[CONFIG.prompt.length - 1], 2);
|
|
1420
|
+
|
|
1421
|
+
/* ---- 3. send. Tap ignites: bubble flight + keyboard down + header morph */
|
|
1422
|
+
const tSend = typeEnd + T.sendPad;
|
|
1423
|
+
const blueBtn = document.getElementById("cge-blue-btn");
|
|
1424
|
+
tl.to(blueBtn, { scale: 0.86, duration: 0.06, ease: "power2.out" }, tSend);
|
|
1425
|
+
tl.to(blueBtn, { scale: 1, duration: 0.18, ease: "power2.out" }, tSend + 0.06);
|
|
1426
|
+
|
|
1427
|
+
const tGo = tSend + T.sendReact;
|
|
1428
|
+
// composer empties and collapses; keyboard leaves downward
|
|
1429
|
+
tl.to(chEls, { opacity: 0, duration: 0.01 }, tGo);
|
|
1430
|
+
tl.to(curEls, { autoAlpha: 0, duration: 0.01 }, tGo);
|
|
1431
|
+
tl.to(composer, { height: 48, width: 326, duration: 0.3, ease: "power2.out" }, tGo);
|
|
1432
|
+
tl.to(composer, { y: 0, x: 26, duration: 0.32, ease: "power2.out" }, tGo);
|
|
1433
|
+
tl.to(document.getElementById("cge-comp-ph"), { autoAlpha: 1, duration: 0.2 }, tGo + 0.12);
|
|
1434
|
+
tl.to(keyboard, { y: 340, duration: 0.3, ease: "power2.out" }, tGo);
|
|
1435
|
+
tl.to(document.getElementById("cge-face-send"), { autoAlpha: 0, duration: 0.12 }, tGo + 0.28);
|
|
1436
|
+
tl.to(
|
|
1437
|
+
document.getElementById("cge-face-stop"),
|
|
1438
|
+
{ autoAlpha: 1, scale: 1, duration: 0.2, ease: "power2.out" },
|
|
1439
|
+
tGo + 0.34,
|
|
1440
|
+
);
|
|
1441
|
+
|
|
1442
|
+
// header: segmented control out, right control widens into the actions pill
|
|
1443
|
+
tl.to(document.getElementById("cge-seg"), { autoAlpha: 0, scale: 0.92, duration: 0.16 }, tGo);
|
|
1444
|
+
tl.to(document.getElementById("cge-hdr-voice"), { autoAlpha: 0, duration: 0.12 }, tGo + 0.02);
|
|
1445
|
+
tl.to(
|
|
1446
|
+
document.getElementById("cge-hdr-right"),
|
|
1447
|
+
{ width: 108, duration: 0.26, ease: "power2.out" },
|
|
1448
|
+
tGo + 0.06,
|
|
1449
|
+
);
|
|
1450
|
+
tl.to(
|
|
1451
|
+
document.getElementById("cge-hdr-actions"),
|
|
1452
|
+
{ autoAlpha: 1, duration: 0.18 },
|
|
1453
|
+
tGo + 0.16,
|
|
1454
|
+
);
|
|
1455
|
+
|
|
1456
|
+
// the bubble: born at the composer's text position, lands in its thread slot
|
|
1457
|
+
const bubbleTop = bubble.offsetTop + thread.offsetTop; // 128
|
|
1458
|
+
const dy = 526.7 - 48 + 10 - bubbleTop; // keyboard-up composer text row -> slot
|
|
1459
|
+
tl.fromTo(
|
|
1460
|
+
bubble,
|
|
1461
|
+
{ autoAlpha: 0, y: dy, scale: 0.94, transformOrigin: "100% 50%" },
|
|
1462
|
+
{ autoAlpha: 1, y: 0, scale: 1, duration: 0.34, ease: "power3.out" },
|
|
1463
|
+
tGo + 0.02,
|
|
1464
|
+
);
|
|
1465
|
+
|
|
1466
|
+
/* ---- 4. stream. Words land in reading order; the box grows by the line. */
|
|
1467
|
+
let tw = tGo + 0.34 + T.streamLead;
|
|
1468
|
+
const scrollTo = (target, at, dur) =>
|
|
1469
|
+
tl.to(thread, { y: target, duration: dur || 0.5, ease: "power2.out" }, at);
|
|
1470
|
+
|
|
1471
|
+
paraEls.forEach((pe, pi) => {
|
|
1472
|
+
let lastLine = -1;
|
|
1473
|
+
pe.words.forEach((w, wi) => {
|
|
1474
|
+
const li = pe.lineOf[wi];
|
|
1475
|
+
if (li !== lastLine) {
|
|
1476
|
+
tl.to(pe.p, { height: pe.lineHeights[li], duration: 0.16, ease: "power2.out" }, tw);
|
|
1477
|
+
lastLine = li;
|
|
1478
|
+
}
|
|
1479
|
+
tl.to(w, { opacity: 1, duration: 0.1 }, tw);
|
|
1480
|
+
tw += T.wordStep;
|
|
1481
|
+
});
|
|
1482
|
+
scrollTo(pe.anchor, tw - T.wordStep * 2, 0.6);
|
|
1483
|
+
if (pi === 0) tw += 0.12;
|
|
1484
|
+
});
|
|
1485
|
+
|
|
1486
|
+
/* ---- 5. the table assembles, row by row */
|
|
1487
|
+
tw += T.tableLead;
|
|
1488
|
+
tl.to(
|
|
1489
|
+
[headRow, headRule],
|
|
1490
|
+
{ height: (i) => (i === 0 ? headRowH : 2), opacity: 1, duration: 0.2, ease: "power2.out" },
|
|
1491
|
+
tw,
|
|
1492
|
+
);
|
|
1493
|
+
tw += 0.34;
|
|
1494
|
+
|
|
1495
|
+
rowEls.forEach((re) => {
|
|
1496
|
+
tl.to(re.row, { height: re.h, duration: 0.22, ease: "power2.out" }, tw);
|
|
1497
|
+
tl.to(re.emo, { opacity: 1, duration: 0.14 }, tw + 0.04);
|
|
1498
|
+
re.words.forEach((w, wi) => {
|
|
1499
|
+
tl.to(w, { opacity: 1, duration: 0.09 }, tw + 0.08 + wi * 0.028);
|
|
1500
|
+
});
|
|
1501
|
+
tl.to(re.chip, { opacity: 1, duration: 0.2, ease: "power2.out" }, tw + 0.42);
|
|
1502
|
+
tl.to(re.rule, { height: 2, duration: 0.12 }, tw + 0.2);
|
|
1503
|
+
scrollTo(re.anchor, tw + 0.1, 0.72);
|
|
1504
|
+
tw += T.rowStep;
|
|
1505
|
+
});
|
|
1506
|
+
|
|
1507
|
+
/* ---- 6. streaming ends, then the read-back scroll lands on the hero frame */
|
|
1508
|
+
tl.to(document.getElementById("cge-face-stop"), { autoAlpha: 0, duration: 0.14 }, tw);
|
|
1509
|
+
tl.to(
|
|
1510
|
+
document.getElementById("cge-face-wave"),
|
|
1511
|
+
{ autoAlpha: 1, scale: 1, duration: 0.22, ease: "power2.out" },
|
|
1512
|
+
tw + 0.06,
|
|
1513
|
+
);
|
|
1514
|
+
|
|
1515
|
+
const tRead = tw + 0.24;
|
|
1516
|
+
tl.to(sbar, { autoAlpha: 1, duration: 0.14 }, tRead);
|
|
1517
|
+
// the minute rolls over between the source frames — keep that
|
|
1518
|
+
tl.to(
|
|
1519
|
+
document.getElementById("cge-clock-early"),
|
|
1520
|
+
{ autoAlpha: 0, duration: 0.01 },
|
|
1521
|
+
tRead - 0.5,
|
|
1522
|
+
);
|
|
1523
|
+
tl.to(
|
|
1524
|
+
document.getElementById("cge-clock-late"),
|
|
1525
|
+
{ autoAlpha: 1, duration: 0.01 },
|
|
1526
|
+
tRead - 0.5,
|
|
1527
|
+
);
|
|
1528
|
+
tl.to(
|
|
1529
|
+
document.getElementById("cge-batt-early"),
|
|
1530
|
+
{ autoAlpha: 0, duration: 0.01 },
|
|
1531
|
+
tRead - 0.5,
|
|
1532
|
+
);
|
|
1533
|
+
tl.to(
|
|
1534
|
+
document.getElementById("cge-batt-late"),
|
|
1535
|
+
{ autoAlpha: 1, duration: 0.01 },
|
|
1536
|
+
tRead - 0.5,
|
|
1537
|
+
);
|
|
1538
|
+
tl.to(thread, { y: Y_FINAL, duration: T.readbackDur, ease: "power2.inOut" }, tRead);
|
|
1539
|
+
tl.to(sbar, { y: 0, duration: T.readbackDur, ease: "power2.inOut" }, tRead);
|
|
1540
|
+
tl.to(
|
|
1541
|
+
chevWrap.firstChild,
|
|
1542
|
+
{ autoAlpha: 1, y: 0, duration: 0.3, ease: "back.out(1.5)" },
|
|
1543
|
+
tRead + T.readbackDur - 0.35,
|
|
1544
|
+
);
|
|
1545
|
+
|
|
1546
|
+
/* ---- caret-following scroll in the composer.
|
|
1547
|
+
`prompt` is an editable slot, but `.comp-text` is a fixed-width single line with
|
|
1548
|
+
`white-space: pre` inside a composer that clips, and the packaged prompt already reaches
|
|
1549
|
+
the mic. A longer one therefore slides under the mic and the send button and loses its
|
|
1550
|
+
tail, with the caret hidden behind them -- the remix looks like it typed into nowhere.
|
|
1551
|
+
A real single-line input scrolls its text left to keep the caret in view; this does the
|
|
1552
|
+
same, on the very times the reveal already uses. Shrinking the type instead was the other
|
|
1553
|
+
option and it is worse: it would shrink the packaged prompt too, since that prompt has no
|
|
1554
|
+
headroom, and it still cannot absorb a prompt twice as long without becoming unreadable.
|
|
1555
|
+
A prompt that fits emits no keyframes at all, so the packaged composition is untouched. */
|
|
1556
|
+
const compTextEl = composer.querySelector("#cge-comp-text");
|
|
1557
|
+
// The obstacle is the opaque round button, not the mic: the packaged prompt's caret already
|
|
1558
|
+
// sits 2px past the mic's left edge, so measuring to the mic would scroll the packaged
|
|
1559
|
+
// composition. The caret has 35px of clearance to the button, which is the real boundary.
|
|
1560
|
+
const compStopEl = composer.querySelector("#cge-blue-btn");
|
|
1561
|
+
const CARET_PAD = 8;
|
|
1562
|
+
// The rebuild below has to discard exactly what the previous pass added, and `tl.to()`
|
|
1563
|
+
// returns the TIMELINE, not the tween it just created -- so collecting those return values
|
|
1564
|
+
// and killing them on the second pass kills the master timeline, and the composition stops
|
|
1565
|
+
// dead. It only bites when there are keyframes to discard, i.e. an overflowing prompt: the
|
|
1566
|
+
// exact remix this scroll exists for, and why a packaged-defaults render never saw it.
|
|
1567
|
+
// One nested child timeline is a real object that can be killed and replaced, and killing
|
|
1568
|
+
// it cannot reach `tl`.
|
|
1569
|
+
let caretTl = null;
|
|
1570
|
+
const layoutCaretScroll = () => {
|
|
1571
|
+
if (caretTl) {
|
|
1572
|
+
caretTl.kill();
|
|
1573
|
+
caretTl = null;
|
|
1574
|
+
// Only ever touch typedEl when there was scrolling to undo. A zero translate — or even
|
|
1575
|
+
// a clearProps on an untouched element — stamps and removes a transform, which changes
|
|
1576
|
+
// how the text rasterizes and makes the packaged render differ for no reason.
|
|
1577
|
+
gsap.set(typedEl, { clearProps: "transform" });
|
|
1578
|
+
}
|
|
1579
|
+
if (!compTextEl || !compStopEl) return;
|
|
1580
|
+
// Rects live in the scaled .screen space while offsets are layout px, so convert with the
|
|
1581
|
+
// element's own ratio rather than reading --scale -- this then survives a change to it.
|
|
1582
|
+
const box = compTextEl.getBoundingClientRect();
|
|
1583
|
+
const ratio = compTextEl.offsetWidth ? box.width / compTextEl.offsetWidth : 1;
|
|
1584
|
+
const limit =
|
|
1585
|
+
(compStopEl.getBoundingClientRect().left - box.left) / (ratio || 1) - CARET_PAD;
|
|
1586
|
+
if (!(limit > 0)) return;
|
|
1587
|
+
// Collect the steps first, so a prompt that fits leaves typedEl alone entirely.
|
|
1588
|
+
const steps = [];
|
|
1589
|
+
let shift = 0;
|
|
1590
|
+
chars.forEach((c, i) => {
|
|
1591
|
+
const caret = curEls[i + 1];
|
|
1592
|
+
if (!caret) return;
|
|
1593
|
+
const want = Math.max(0, caret.offsetLeft - limit);
|
|
1594
|
+
if (want > shift + 0.5) {
|
|
1595
|
+
shift = want;
|
|
1596
|
+
steps.push([charT[i], -shift]);
|
|
1597
|
+
}
|
|
1598
|
+
});
|
|
1599
|
+
if (!steps.length) return;
|
|
1600
|
+
// Children sit at the same absolute times as before, and the nest is added at 0, so the
|
|
1601
|
+
// nested timeline's local clock is the master's -- the motion is unchanged.
|
|
1602
|
+
caretTl = gsap.timeline();
|
|
1603
|
+
steps.forEach(([at, x]) => {
|
|
1604
|
+
caretTl.to(typedEl, { x, duration: 0.08, ease: "none" }, at);
|
|
1605
|
+
});
|
|
1606
|
+
// Back to the start when the composer empties, so the collapse animates from x=0.
|
|
1607
|
+
caretTl.to(typedEl, { x: 0, duration: 0.01 }, tGo);
|
|
1608
|
+
tl.add(caretTl, 0);
|
|
1609
|
+
};
|
|
1610
|
+
layoutCaretScroll();
|
|
1611
|
+
// This composition builds its timeline once, so the first pass measures whatever font was
|
|
1612
|
+
// live then. Re-measure when the embedded faces are ready.
|
|
1613
|
+
document.fonts.ready.then(layoutCaretScroll);
|
|
1614
|
+
|
|
1615
|
+
window.__timelines["chatgpt-exchange"] = tl;
|
|
1616
|
+
</script>
|
|
1617
|
+
</div>
|
|
1618
|
+
<script>window.__popostFit();</script>
|
|
1619
|
+
</body>
|
|
1620
|
+
</html>
|