The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
feat(studio): simplify Motion MVP editing and polish interactions
xiaoche-hub233eb8851641
diff --git a/README.md b/README.mdindex 92532b08..585bb447 100644--- a/README.md+++ b/README.md@@ -54,7 +54,7 @@ These frames come from the bundled [Hyperframes examples](template-library/NOTIC> Keep the opening and the pace of the reveal. Use our logo and the product screenshots in this repo. Hold the second screen long enough to read the new headline. Give me the editable project and an MP4.-The gallery's **one-click recreate** action copies the selected reference and instructions for your Agent. A bundled or Prism template opens directly; external footage needs analysis and reconstruction. In Studio you can change the text, timing, layout and assets, or ask your Agent to make the same edit. Imported footage stays a clip.+The gallery's **one-click recreate** action copies the selected reference and instructions for your Agent. A bundled or Prism template opens directly; external footage needs analysis and reconstruction. The MVP Studio keeps text, color, position/size, asset import, timeline edits, preview and export, plus contextual Ask Agent. Advanced editing and generation remain available to the Agent. Imported footage stays a clip.diff --git a/docs/design-system.md b/docs/design-system.mdindex 84341ed5..750ec2b1 100644--- a/docs/design-system.md+++ b/docs/design-system.md@@ -17,6 +17,10 @@## 视觉规范+Functional editor icons use Remix Icon 4.9.1, matching the [reference icon catalog](https://open-design-system-leon.leon-wcl.chatgpt.site/#/icons). Original vector paths are bundled in `web/design-system/icons.svg`, with the upstream license and notice beside it. `studio/src/icons/RemixIcons.tsx` provides the shared React interface and legacy-name mappings; `MotionIcon` uses the same sprite. Controls default to line icons; play/pause and explicit filled states retain distinct glyphs. Brand artwork and timeline drawing geometry remain separate. MVP side-panel tabs and the preview title use text without icons. A tab strip with only one panel shows a plain heading without a selected underline. Selected tabs use the strong neutral text token, semibold weight and a 2px neutral underline. Enabled toolbar toggles use the same strong text on an inset neutral background; inactive and disabled controls retain separate contrast levels.++The sidebar uses the official horizontal OpenDesign logo from the reference system's Brand page. Original dark and light SVGs live in `web/design-system/opendesign-{dark,light}.svg`, selected by the editor theme; the logo is not assembled from a library icon and interface text.+| 用途 | 浅色 | 深色 || --- | --- | --- || 工作区 | `#ffffff` | `#202020` |diff --git a/docs/editor-fork.md b/docs/editor-fork.mdindex cf8d2d62..359691a5 100644--- a/docs/editor-fork.md+++ b/docs/editor-fork.md@@ -6,21 +6,21 @@## 功能与集成边界-原版组件负责 Compositions、Assets、Code、Catalog、Preview、Design、Layers、Renders、Variables 和 Blur。素材上传与预览、跨工程素材、画布编辑、音视频属性、关键帧、缓动、时间轴、保存、撤销与 WebMCP 沿用上游实现。布局继续由原生 Dock 管理拖动、分组、缩放、关闭、最大化和按工程持久化,不按屏宽强制合并面板。+The Motion host now exposes an MVP editor. `StudioHost.mvpEditor` gates product entry points without deleting native editing, source, history or MCP services. The root route resolves the active project before mounting `ArtifactViewer`; home, conversation and browser-tab components are not mounted. `WorkspaceFrame` lists searchable projects, waits for pending saves before switching, and opens the project drawer on demand, including embedded views.-OpenDesign 的 `WorkspaceFrame` 放在原生 App 外,负责通用导航和会话列表;`MotionSessionFrame` 将会话与浏览器顶格并列。完整原生 App(包括工程顶栏)放在浏览器 Artifact Tab 内;原生 `AppFrame` 仅向外层注册保存与写入门禁,不再用 `EditorFrame` 组织会话。浏览器关闭、恢复不会重挂载编辑器;跨工程则等待保存并整页重建,避免复用原生全局状态。全局工具(Agent、模型设置、主题、语言)位于侧栏,导航折叠在会话顶部;无全局面包屑顶栏。工程工具包括工程名、保存、模板、历史、预览、布局和导出。会话名与工程名分开。详见 [会话与 Artifact 浏览器](project-workspace.md)。+The visible panels are Compositions, Assets, Catalog, Preview, Design, Layers, Renders and Timeline. `Dock.Root` uses fixed positions and `motion.mvp.dock.v1` preferences; resizing dividers and restoring their sizes remain supported. Panel close/move/reset controls and layout presets are hidden. Preview alone supports temporary expansion within the editor. The allowed-panel list also rejects programmatic reopening of excluded panels.-「预览」是常驻恢复入口:关闭后显示「打开预览」,重新打开回到两侧面板之间,时间轴回到整行底部。恢复时也会退出其他面板的最大化状态。「布局」菜单可以切换所有面板、应用代码创作/专注预览预设或恢复默认布局;这些操作直接调用同一 Dock,不建立第二套布局状态。+The header retains rename, transient save/error status, templates, undo/redo and native export. Save status is not a history action and disappears when idle. The sidebar footer keeps theme/language. Integration/model setup, Capture, Inspector toggle, version history and preview/slideshow controls are hidden. Existing native history and Agent version APIs remain unchanged.-「历史」与项目旁的保存状态均可打开「版本历史」面板。该面板使用原生 `/api/projects/:id/history` 列表、checkpoint、pin 和 restore;支持查看修改文件、筛选保留版本、保留当前版本和恢复历史版本。保存状态读取原生待保存队列;恢复前等待保存并 checkpoint,恢复后重新加载编辑会话。恢复本身产生一条新记录,原来的修改仍在历史中,可继续通过原生撤销/重做操作。渲染或写入冲突期间禁用版本写操作。+The inspector retains text, font, size, color, three alignments, solid fill, opacity, geometry and Ask Agent. Advanced animation/style controls, recording, rotation, variables and blur are hidden. Opening an authored project must not remove its existing animations, gradients, effects or styles. Canvas selection, drag, resize, crop, text editing and context actions remain; canvas snapping stays enabled without guide/grid controls.-「版本历史」Tab 是本地新增的 UI,所调用的历史、撤销/重做、保留与恢复服务来自 Hyperframes;没有另建版本数据存储。+Timeline editing, snapping, zoom/Fit, imports, track visibility, clip clipboard/delete/split and clip/range Ask Agent remain. Generation/image replacement, advanced clip tools, lower undo/redo, keyframes, linked/ripple controls and beats are hidden; thumbnails stay enabled. Keyboard editing and native save/reload guards remain in place.The sidebar language menu offers English, Simplified Chinese, Japanese, Korean, German, French, Russian, Spanish, Brazilian Portuguese, Italian and Turkish. The first launch still defaults to Simplified Chinese; `motion.studio.locale` stores the preference in browser localStorage and synchronizes it between same-origin windows. Unsupported or removed preferences fall back to Chinese. `studio/src/i18n/messages.ts` owns the supported languages, English message keys, dictionaries, interpolation and locale-aware plural forms; `I18n.tsx` provides the React context and Intl date/number formatting. Missing messages fall back to the English source.-Localization covers editor labels, tooltips, placeholders, empty/error states and the embedded MCP/template dialog. The DOM fragment updates bound labels in place, preserving the selected client, searches and live media. Switching language does not remount the editor, change Dock layout, modify property values or translate authored text, project/template titles, source paths and protocol identifiers. Property sections receive English source titles and translate them only for display, so duplicate translations cannot change their internal IDs. README/Skill/installer translations, third-party template descriptions, copied Agent instructions and long connection guides are outside this interface change. New locale dictionaries include machine-translated text; automated key/placeholder checks do not replace native-speaker review.+Localization covers editor labels, tooltips, placeholders, empty/error states and the embedded MCP/template dialog. The DOM fragment updates bound labels in place, preserving the selected client, searches and live media. Switching language does not remount the editor, change Dock layout, modify property values or translate authored text, project/template titles, source paths and protocol identifiers. Property sections receive English source titles and translate them only for display, so duplicate translations cannot change their internal IDs. README/Skill/installer translations, third-party template descriptions, copied Agent instructions and long connection guides are outside this interface change. MVP audit additions live in `mvp-zh-CN.json` and currently cover Chinese/English; the other nine locales retain English fallback for these additions, while their shared vocabulary remains intact. New locale dictionaries include machine-translated text; automated key/placeholder checks do not replace native-speaker review.-顶栏 Export、合成列表 Render 和 Renders 面板均使用原版渲染队列,保留格式、分辨率、帧率、质量、取消、进度、历史、预览与下载。一期插件 `motion_export_request` 仍提供独立的后台快照渲染,供 Agent 使用;不会替代界面的原生导出。+Header Export and the Renders panel continue using the native render queue, retaining MP4/MOV/WebM, resolution, frame rate, quality, cancellation, progress, render history and download. Composition-row render actions and GPU controls are hidden. 一期插件 `motion_export_request` 仍提供独立的后台快照渲染,供 Agent 使用;不会替代界面的原生导出。品牌宿主隐藏上游桌面下载推广与反馈邀约,相关上游组件仍保留在源码中。Studio 的原生暗色/浅色偏好由 `hf-studio-ui-preferences` 管理;`data-theme="paper"` 为浅色,无属性为暗色。设计系统变量映射到这一机制,不再使用第二套编辑器主题状态。@@ -30,22 +30,22 @@ Localization covers editor labels, tooltips, placeholders, empty/error states an先用 [产品架构](product/architecture.md#职责分层与依赖方向) 判断需求归属;多模态入口、原图修改和后续属性面板接入遵循 [素材生成设计](product/media-generation-design.md)。该设计记录用户意图、候选采用、原生历史与过期目标的边界,本页维护实现位置。-模型设置位于侧栏,嵌入视图保留顶栏入口;空时间轴、时间轴工具栏和素材面板共用 `MediaGatewayProvider`。生成面板读取已选时段,提供模态/模型/参数与任务结果,显式放置才调用原生 `useTimelineAssetDropOps`,沿用撤销与保存。上下文绑定会在工程/合成切换及卸载时失效。素材菜单增加可见入口、预览和下载,其他操作继续使用原生文件服务。模型协议与限制见 [模型网关](model-gateway.md)。+Model configuration and media generation are hidden in the MVP editor. `MediaGatewayProvider` remains mounted for native import and contextual Agent workflows; the Gateway backend and external Agent tools are unchanged. Asset context menus expose rename/delete; drag-to-timeline and uploads keep their native paths.-`TimelineMediaBar` 订阅原生片段选择、已完成的范围选择和标尺点击,在实际目标旁显示描述/生成/修改入口;原有范围 Agent 弹框通过「交给 Agent」继续使用。图片修改传 `referenceAsset`,结果选择后通过 `handleDomAttributeBatchCommit` 只改 `src`,在文件队列内的 `validateContent` 检查修改前的原始引用,保留原生历史、时长与动画。`prepareContent` 用于服务端已执行 patch 后的后处理,不能用作修改前验证。不要绕过该提交链整页重写 HTML,也不要在工程切换后恢复旧选区。+`TimelineMediaBar` keeps selected-clip, ruler and Shift-range context. Both prompt submission and Ask Agent open `EditPopover` with the selected time range and prompt; they do not invoke media generation. The legacy generation and image replacement implementation is retained for non-MVP hosts. Existing source writes, revision checks and native history must not be bypassed.`MediaRequest.anchor` 保存触发元素或时间轴虚拟锚点。`useMediaPopoverPosition` 共用实际浮层尺寸、滚动监听与 `ResizeObserver`:优先放在目标上方,空间不足时翻转或限制高度,保持 8px 间距与 12px 视口边距,不再轮询整个时间轴顶部。片段锚点读取可见片段的位置;范围/标尺锚点换算缩放与滚动后的坐标。空态引导在生成面板打开时隐藏且不可聚焦,保留布局以跟随按钮位置;文件拖入仍显示拖放反馈。是否切换到真实轨道继续由原生元素列表决定,不维护另一个“已插入”标记;关闭面板后仍为空或撤销至空轨道时恢复引导。| 需求 | 入口 || --- | --- |-| 首页与共享会话列表 | `studio/src/motion/MotionApp.tsx`、`MotionHome.tsx`、`WorkspaceFrame.tsx`、`workspace.css` |-| 工程保存门禁、MCP 与模板入口 | `studio/src/motion/MotionStudioHost.tsx`、`WorkspaceFrame.tsx`、`useWorkspace.ts` |-| 网页浏览器 | `browser.ts`、`shared/browser.ts`、`studio/src/motion/WebBrowser.tsx`;见 [浏览器架构](browser-runtime.md) |-| 创作会话、需求持久化、编辑器分栏 | `studio/src/motion/MotionSessionFrame.tsx`、`ProjectConversation.tsx`、`artifactBrowser.ts`、`shared/session.ts`、`shared/conversation.ts` |-| 首页分类模板与精确复刻 | `studio/src/motion/HomeTemplates.tsx` |+| Direct editor route and project sidebar | `studio/src/motion/MotionApp.tsx`、`MotionHome.tsx`、`WorkspaceFrame.tsx`、`workspace.css` |+| Save guards and template entry | `studio/src/motion/MotionStudioHost.tsx`、`WorkspaceFrame.tsx`、`useWorkspace.ts` |+| Retained browser runtime (hidden in MVP) | `browser.ts`、`shared/browser.ts`、`studio/src/motion/WebBrowser.tsx`;见 [浏览器架构](browser-runtime.md) |+| Retained session/conversation modules (hidden in MVP) | `studio/src/motion/MotionSessionFrame.tsx`、`ProjectConversation.tsx`、`artifactBrowser.ts`、`shared/session.ts`、`shared/conversation.ts` |+| Legacy home template UI (hidden in MVP) | `studio/src/motion/HomeTemplates.tsx` || 宿主插槽 | `studio/src/motion/StudioHost.tsx`、`studio/src/components/StudioHeader.tsx` || 模型设置、生成面板、时间轴桥接 | `studio/src/motion/ModelSettings.tsx`、`MediaGenerator.tsx`、`MediaGatewayContext.tsx`、`MotionTimelineMedia.tsx` |-| 时间轴就地生成与图片修改 | `studio/src/motion/TimelineMediaBar.tsx`、`timelineMediaSelection.ts`;挂载于 `Timeline.tsx` 的原生 Provider 内;定位共用 `mediaPopoverPosition.ts`、`useMediaPopoverPosition.ts` |+| Timeline Ask Agent and legacy media actions | `studio/src/motion/TimelineMediaBar.tsx`、`timelineMediaSelection.ts`;挂载于 `Timeline.tsx` 的原生 Provider 内;定位共用 `mediaPopoverPosition.ts`、`useMediaPopoverPosition.ts` || 共享生成合约与服务 | `shared/gateway.ts`、`gateway/`、`server.ts`、`mcp.ts` || 原生 Capture、Inspector、Export | `studio/src/components/StudioHeader.tsx` || 模板画廊、视频预览、出处与热度 | `web/template-gallery.ts`、`web/template-gallery.css`、`template-catalog.ts` |@@ -54,8 +54,8 @@ Localization covers editor labels, tooltips, placeholders, empty/error states an| 设计变量 | `web/design-system/tokens.json`,执行 `npm run design:tokens` || 编辑器主题 | `studio/src/motion/theme.css` || Dock 与面板注册 | `studio/src/components/dock/` |-| 顶部预览恢复与布局预设 | `studio/src/motion/MotionLayoutControls.tsx` |-| 版本历史面板与原生历史 API | `studio/src/motion/MotionHistoryPanel.tsx` |+| Legacy preview/layout presets (hidden in MVP) | `studio/src/motion/MotionLayoutControls.tsx` |+| Hidden history panel and retained native history API | `studio/src/motion/MotionHistoryPanel.tsx` || Editor language resources, formatting and language menu | `studio/src/i18n/` || 时间轴、片段、关键帧 | `studio/src/player/` || 画布、属性与动画编辑 | `studio/src/components/editor/` |@@ -95,8 +95,8 @@ npm run package:plugin`npm test` 覆盖原生 API/MCP 双向编辑、revision 冲突、路径隔离、上传、媒体 Range、SSE、工程切换、模板与真实音视频渲染。Registry 迁移测试保证自定义配置不被覆盖。宿主顶栏测试保证 Export 继续走原版回调,渲染中禁止替换当前工程。-布局回归测试覆盖关闭预览后刷新重开、全部面板关闭、最大化恢复与布局预设。历史集成测试使用真实服务验证保留版本在重启后仍存在,恢复不删除后续记录,并可撤销恢复。面板测试覆盖保存失败与原生恢复拒绝,确保失败时不重新加载或替换工程。+MVP regressions cover fixed panels, excluded-panel guards, divider persistence, embedded sidebar state and hidden controls alongside retained edits/exports. Legacy Dock regressions still cover free layouts outside the MVP host. 历史集成测试使用真实服务验证保留版本在重启后仍存在,恢复不删除后续记录,并可撤销恢复。面板测试覆盖保存失败与原生恢复拒绝,确保失败时不重新加载或替换工程。-侧栏 Agent 和编辑器模板入口使用同一个弹框,提供 Codex、Claude Code、DeepSeek Harness 和通用 stdio 客户端的配置与指南。配置中的数据目录、Node 路径和端口来自当前运行服务;ChatGPT 云端接入尚无远程端点。一期目录发现由 Studio 或指引链接提供,`motion_create_project` 的 template 类型只复制实际内置原生模板;旧目录/详情/应用 handler 仅作内部兼容,不能按一期 Tool 调用。外部参考由 Agent 分析后写入可编辑原生源文件。数据、封面与热度的维护见 [模板目录](template-catalog.md)。+The editor template modal reuses the gallery controller but hides integration sections. The standalone integration page retains Codex, Claude Code, DeepSeek Harness and stdio configuration/guides. 配置中的数据目录、Node 路径和端口来自当前运行服务;ChatGPT 云端接入尚无远程端点。一期目录发现由 Studio 或指引链接提供,`motion_create_project` 的 template 类型只复制实际内置原生模板;旧目录/详情/应用 handler 仅作内部兼容,不能按一期 Tool 调用。外部参考由 Agent 分析后写入可编辑原生源文件。数据、封面与热度的维护见 [模板目录](template-catalog.md)。Language regression tests cover all eleven preferences, unavailable storage, same-origin synchronization, interpolation, plural forms and complete dictionary keys. DOM tests check stable section IDs, native property values and label updates without recreating editor inputs, preview iframes or the connection gallery. Real-browser checks remain separate from native-speaker translation and cross-platform acceptance.diff --git a/docs/product/architecture.md b/docs/product/architecture.mdindex 8a10039b..694daacb 100644--- a/docs/product/architecture.md+++ b/docs/product/architecture.md@@ -2,21 +2,29 @@本文描述仓库根目录的独立 Motion 运行时;它与 OD 主应用的会话、账号和部署整合尚未包含在本次源码迁移中。参见[迁移边界](../repository-migration.md)。-更新:2026-11-05。实现基线:0.6.2;状态:下文标记为“当前”的能力已在仓库实现。公开范围为本机创作、编辑、MCP 和独立安装分发。+Updated: 2026-11-09. 实现基线:0.6.2;状态:下文标记为“当前”的能力已在仓库实现。公开范围为本机创作、编辑、MCP 和独立安装分发。## 产品定位与目标-OpenDesign 的底层组织是通用 Agent 会话:会话拥有模式、需求与多个 Artifact,模式选择模板目录和 skill,Artifact Viewer 负责打开可编辑产物。完整与嵌入视图使用同一产物;`embed=1` 可只显示 Viewer,供 Codex 等宿主打开。当前一期只有 Motion 模式,制作与导出仍使用原生 Hyperframes。其他模式是已确认方向,未作为可执行模式上线。+The MVP opens directly into the Motion editor with a searchable project sidebar, including `embed=1`. Home, conversation, browser tabs and integration/model settings are not exposed in this editor. Users can create a blank project from the sidebar, create through the external Agent workflow, or use the editor's template library. The underlying session, mode and Artifact model is retained, with Motion as the only executable mode and Hyperframes owning editing and export.会话的 Agent 推理与工具编排由用户已有的 MCP 客户端执行;本地网页保存需求、接收调用方写回的真实回复、管理产物与继续编辑,不包含内置聊天 Agent 运行器。自有 Agent、Codex 和其他 MCP 客户端共用先创建会话、后生成产物的生命周期。-Model Gateway 是共用的素材生成服务,可由 Motion Viewer 或 MCP 调用本地 Codex 与云供应商;它不接管会话编排。创作模式、媒体模态与供应商模型分别定义产物、素材类型和执行能力,详见[会话架构的分层说明](../session-architecture.md#会话编排与媒体生成的分层)。+Model Gateway remains a shared media-generation backend for MCP, using local Codex and cloud providers. Generation entry points are hidden in the MVP editor; the Gateway does not orchestrate conversations. 创作模式、媒体模态与供应商模型分别定义产物、素材类型和执行能力,详见[会话架构的分层说明](../session-architecture.md#会话编排与媒体生成的分层)。已确认的体验原则:- Agent 与用户操作同一份工程,修改能在工作室继续编辑。-- 全部页面共享左侧会话列表,一个会话可拥有多个工程。左侧会话和右侧浏览器顶格并列,工程工具与编辑器完整从属于浏览器 Tab;两侧可独立收起、恢复。移除全局顶栏,设置收纳在侧栏;列表可从会话顶部完全折叠,隐藏会话时由浏览器顶部恢复。-- MCP 接入、模板发现、预览和复制指令在一个弹框里完成,保留编辑器上下文。+- The project sidebar opens as a modal drawer over the editor at every viewport size. It starts closed, leaves the editor dimensions unchanged, and closes via its button, outside click or Escape. The header toggle remains mounted for focus restoration; theme and language switching live in the drawer footer. Project rows show names without dates; the heading offers a New project button instead of a count. Creation uses the existing save and revision guards before opening the blank project.+- Preview zoom percentage and Fit sit in the MVP preview header, outside the picture; fullscreen retains the in-view controls.+- The composition list marks the live preview target, including the full video. The MVP omits the duplicate preview breadcrumb; composition switching and existing return shortcuts remain available.+- The editor header keeps the OpenDesign logo, drawer toggle and template library on the left, centers the editable project name, and places undo/redo and export on the right. Transient save/error status remains available. The template modal preserves previews and author/source links, without integration setup sections.+- The asset panel shows only the current project, with compact search/import controls, type filters, and a dedicated scrollable list. Usage filtering is omitted; used assets still sort first within each type. The global cache view remains in source but has no editor entry in the MVP.+- Panel positions are fixed. Divider resizing and per-project size persistence remain; panel movement, closing and layout presets are absent. Preview alone can temporarily expand within the editor workspace, keeping the host chat visible and the player mounted. Its header button or Escape restores the previous layout and playback position; expansion is not persisted across reloads.+- MVP controls share a locally bundled Remix Icon 4.9.1 set with the reference design system. Side-panel tabs remain text-only; brand artwork and timeline geometry are separate from control icons.+- Timeline clips omit a title that duplicates the track header, giving its space to the preview. Distinct clip names, accessible labels, status badges and track visibility controls remain available.+- The MVP omits the standalone timeline title strip to give its space to tracks, retaining the tool row and ruler.+- The MVP shows Select and Split as adjacent timeline tools. Split at playhead remains available by keyboard shortcut, without a duplicate toolbar button. Tooltips add a short explanation for less familiar controls while simple actions retain a name-only hint.- 模板先展示真实成片效果;作者、出处、内容种类和有来源的热度帮助选择。- 交给 Agent 的复刻指令保持简短;详细配置、模板 ID 和流程由参数化指引链接承载。- 导出成功需要真实产物与验证证据;技术检查与画面、声音、播放器检查分别记录。@@ -42,11 +50,12 @@ Model Gateway 是共用的素材生成服务,可由 Motion Viewer 或 MCP 调## 核心用户流程-1. 用户在首页切到 Motion 模式,选择 Motion 模板并提交需求创建会话;也可直接新建空白创作,或打开左侧已有会话。内置模板复制为该会话的工程,外部参考由 Agent 制作。-2. 需要 Agent 时选择 Codex、Claude Code、DeepSeek Harness 或通用 stdio 客户端。接入配置绑定当前工作区;Agent 验证工具和数据目录,读取当前工程与制作规范。 安装后先介绍能力、邀请并等待选择;接受首次体验即确认 `product-promo` 示例内容、独立 20 秒工程、MP4 导出及右侧可编辑页面。Agent 不再问素材/模板/导出确认,实际打开宿主面板,等待并验证成片。Successful first-run delivery uses one completion sentence, the playable MP4 and an LLM-generated contextual invitation to the user's next video, following the [first-run defaults](../../skills/motion-production/references/templates.md#first-run-experience-defaults); the editable project stays open on the right. 宿主没有面板能力时明确提供链接作为降级,不能冒称已打开;实际行为按客户端验证。-3. 用户在会话补充需求并复制给外部 Agent。一期 Agent 用 `motion_get_project` 读取明确工程及其 sessionId、需求、来源与版本,按本轮意图选择入口或直接继续已选范围;编辑前校验工程归属。For original creation, reference-video recreation and editable-template production, the Agent automatically calls `motion_open_preview({projectId})` after the requested HTML is saved and visibly opens its exact `previewUrl` in the host browser, before export or delivery; no extra user request is required. The shared [editable preview handoff](../../skills/motion-production/references/native.md#editable-preview-handoff) defines readiness, host checks and capability limitations. Continued content edits, including motion-production work, confirm the same project is visible before writing, reopen a closed tab as needed, reuse an existing tab and inspect the latest visible content after saving; explicit background requests suppress opening/focusing the editor. 旧 design_* handler 仅留内部兼容。+1. The user creates a blank project or opens an existing one from the sidebar, asks an external Agent to create a project, or chooses a template in the editor. Bundled templates create independent project copies; external references require Agent reconstruction.+2. The Agent uses the existing MCP integration and verifies the selected project, revision and workflow. Integration setup remains available outside the MVP editor.+3. `motion_open_preview({projectId})` opens the project directly. Project switching waits for pending saves and reloads the document to release the previous edit session. Opening a bookmark warms only its scoped native context without switching other editor tabs. Rendering and write conflicts continue to block unsafe switches.+ The existing [first-run defaults](../../skills/motion-production/references/templates.md#first-run-experience-defaults) and [editable preview handoff](../../skills/motion-production/references/native.md#editable-preview-handoff) still govern Agent delivery. Original creation, recreation and template production open the saved project before export; continued edits reuse its visible editor unless the user requests background work. First-run delivery retains the playable MP4 and contextual follow-up.4. Agent 根据本轮目标直接选择 Skill:motion-director 负责原创、局部/整体叙事动作声音重新设计和创作审片;motion-template-to-video 负责已有模板出片;motion-recreate 负责参考作品重建(已接入实际流程、独立参考与测量脚本);motion-video-to-template 负责可复用模板生产;motion-production 承接既定决定下的工程操作、预览、技术检查、排错和导出。共享规则同源引用,已有 production/start 保留导航,无需前置总路由。项目来源与画面锁定不固定入口;保持项和已完成操作继续有效。-5. Agent 导入素材或通过 Model Gateway 生成图片/视频/音频,完成后写入原生工程。用户在右侧浏览器 Tab 的 Motion Artifact Viewer 预览与编辑,可从空时间轴、素材面板或时间轴选区生成并放入指定时段;选中图片可交给 Codex 参考修改,确认后只替换素材引用并保留原生撤销。也可新增同会话的另一个工程,关闭浏览器继续会话、收起会话沉浸浏览。发生 revision 冲突时重新读取并合并。 按共享 context 补齐缺少的正文并先返回模型再执行;修改按共享 edit 核对保持项、相邻关系与后续延续。+5. The Agent imports or generates media through the existing backend. In the editor, the user imports assets, edits text/solid color/opacity/geometry, previews, and edits clips on the timeline. Element, clip and time-range prompts still provide Ask Agent. Generation, image replacement, advanced style/animation controls, code and version-history panels are hidden without rewriting existing source content or removing Agent capabilities.6. 完成画面、文案、声音检查后,按用户要求导出固定 revision 的快照,等待真实产物并验证。后续需求应注明改变了哪一步、影响哪些角色,以及用户能观察到的完成条件。@@ -85,12 +94,12 @@ Model Gateway 是共用的素材生成服务,可由 Motion Viewer 或 MCP 调| 能力 | 负责模块 | 当前边界 || --- | --- | --- |-| 首页与项目会话 | `MotionApp.tsx`、`WorkspaceFrame.tsx`、`MotionHome.tsx`、`useWorkspace.ts`(位于 `studio/src/motion/`) | 根地址显示首页,左侧会话共享工程目录;切换前保存、切换后整页重建;详见 [项目专题](../project-workspace.md) |-| 项目创作会话 | `MotionSessionFrame.tsx`、`ProjectConversation.tsx`、`shared/session.ts` | 独立会话身份、模式、需求与多个产物;`artifactBrowser.ts` 管理 Tabs / 面板恢复;会话 Agent 执行由外部客户端负责 |-| 会话内网页浏览 | `browser.ts`、`WebBrowser.tsx`、`shared/browser.ts` | 独立 Chromium,支持真实网址、输入、历史与刷新;按会话隔离,详见 [浏览器运行架构](../browser-runtime.md) |+| MVP editor and project navigation | `MotionApp.tsx`、`WorkspaceFrame.tsx`、`MotionHome.tsx`、`useWorkspace.ts`(位于 `studio/src/motion/`) | Root and project URLs open the editor directly. The sidebar lists projects; switching retains native save guards. Home/session UI modules remain unmounted. |+| 项目创作会话 | `MotionSessionFrame.tsx`、`ProjectConversation.tsx`、`shared/session.ts` | Session identities, requirements and artifacts remain backend data. Conversation and Artifact browser UI are not mounted in the MVP. |+| 会话内网页浏览 | `browser.ts`、`WebBrowser.tsx`、`shared/browser.ts` | Retained browser runtime; no webpage/browser-tab entry in the MVP editor. See [browser runtime](../browser-runtime.md). || 编辑器与工作区交互 | `studio/src/`,尤其 `studio/src/motion/` | 完整 Hyperframes 0.9.7 Studio 前端源码;宿主通过插槽适配品牌和入口,预览使用独立 iframe |-| 面板与布局恢复 | `studio/src/components/dock/`、`MotionLayoutControls.tsx` | 原生 Dock 持久化;常驻预览入口、面板开关及布局预设 |-| 撤销、版本保留与恢复 | `MotionHistoryPanel.tsx`、原生历史 API | 顶栏/时间轴撤销重做;新增历史 UI 复用原生存储,恢复保留后续记录 |+| 面板与布局恢复 | `studio/src/components/dock/`、`MotionLayoutControls.tsx` | MVP allows only preview, timeline, compositions, assets, catalog, design, layers and renders. Fixed positions, resizable dividers, separate per-project `motion.mvp.dock.v1` preferences. |+| 撤销、版本保留与恢复 | `MotionHistoryPanel.tsx`、原生历史 API | Header undo/redo remains. Timeline history buttons and version-history UI are hidden; native history and MCP restore continue to preserve later records. || Editor interface language | `studio/src/i18n/`、`web/i18n.ts` | Eleven languages, Chinese by default; editor and embedded dialog labels update without remounting. Authored content, copied Agent instructions and long guides retain their source language; native-speaker review remains separate. || 多 Agent 薄适配器 | `scripts/export-adapters.ts`、`shared/integration.ts` | Codex、Claude、DSH、WorkBuddy Connector 共用外置运行时;本机生成,WorkBuddy 桌面待验收,详见 [适配器](../agent-adapters.md) || MCP 接入与指引 | `mcp.ts`、`mcp-tools.ts`、`shared/integration.ts`、`web/connect.*` | 本机 stdio;macOS 业务由共享后台执行,ChatGPT 云端远程 MCP 尚未提供 |@@ -99,7 +108,7 @@ Model Gateway 是共用的素材生成服务,可由 Motion Viewer 或 MCP 调| 空白工程与模板副本 | `workspace.ts`、`template-library.ts`、`template-library/` | 新建空白原生工程或创建模板独立副本,保留之前工程 || 封面、来源与热度 | `web/catalog/`、`scripts/*template*.ts` | 本地资源/快照;热度不代表实时查询 || 工程状态与素材 | `workspace.ts` | 本地目录、内容 revision、当前工程选择与插件写入锁 |-| 模型路由与素材生成 | `gateway/`、`shared/gateway.ts`、`studio/src/motion/Media*` | 本地 Codex 生图、Atlas/fal 适配器、BYOK、目录与持久化任务;Studio 和 MCP 共用 |+| 模型路由与素材生成 | `gateway/`、`shared/gateway.ts`、`studio/src/motion/Media*` | Local Codex, Atlas/fal, BYOK and persisted media tasks remain shared backend capabilities; the MVP hides model configuration and generation UI. || 产品服务与代理 | `server.ts`、`editor-server.ts` | 通用会话 API `/design-api/`、兼容 `/motion-api/`,原生 API `/api/` || 引擎与生命周期 | `hyperframes.ts`、`preview.ts`、`editor-runtime.ts`、`shared/owned-studio.mjs` | 锁定 Hyperframes;macOS 共享后台与 Studio 守卫,校验身份/版本/目录并管理崩溃清理 || 导出与质量验证 | `server.ts`、`scripts/verify-export.ts`、制作 skills | 独立快照、后台渲染、技术验证;视觉审阅另行完成 |@@ -110,13 +119,12 @@ Model Gateway 是共用的素材生成服务,可由 Motion Viewer 或 MCP 调```mermaidflowchart LR- User[用户] --> Studio[OpenDesign 会话工作区]- Studio --> Session[会话 / 模式 / 模板 / skill]- Session --> Browser[Artifact 浏览器 Tabs]- Browser --> Viewer[Motion 工程编辑器]+ User[用户] --> Studio[Motion MVP editor and project sidebar]+ Studio --> Viewer[Native project editing]+ Studio --> Session[Internal session and artifact ownership]User --> Host[Codex / Claude Code / DeepSeek Harness]Host --> MCP[本机 stdio MCP]- Studio --> Hub[MCP 与模板统一弹框]+ Studio --> Hub[Template library]Hub --> Catalog[模板 / 封面 / 原帖热度快照]Hub --> Guide[短指令与参数化指引]Guide --> Host@@ -152,7 +160,7 @@ flowchart LR- **工程真源:** HTML、CSS、JS、媒体和 Studio manifest 位于各自工程目录。新会话 ID、产物 ID 和工程 ID 分离;`projects.json` 原子保存两个索引、产物归属和当前选择。旧工程按原 ID 兼容为会话,需求继续在 `sessions/<sessionId>.json`,通过会话 HTTP 接口及一期 `motion_get_project` 暴露(旧 design_get_session 为内部兼容),独立于视频内容 revision。Agent 每次写入前读取当前工程与 revision。一个原生服务进程按 projectId 分发多个工程;页面固定自己的工程,其他会话的打开操作不会替换它。工程状态请求也携带 projectId;未知工程和冲突身份拒绝处理。- **历史真源:** Studio 原生历史服务记录版本、checkpoint、pin 与 restore,宿主只呈现 UI,不另建版本库。恢复前等待保存并创建 checkpoint,完成后重新加载编辑会话;后续历史保留,恢复操作可以撤销。-- **界面状态:** 浏览器 Tabs、左右面板与宽度按会话保存;关闭 Tab 不删除产物。原生 Dock 按工程保存,主题沿用 Studio 偏好;语言单独保存为 `motion.studio.locale`,均不写入影片源文件。+- **UI state:** The MVP project drawer has transient open state; fixed Dock sizes persist per project under a separate key, so old free-layout preferences cannot reopen excluded panels. Theme and `motion.studio.locale` remain independent of project source files. Legacy browser preferences are retained but unused by the MVP route.- **参考数据:** 模板原始目录、封面和热度快照与用户工程分开。热度按模板 ID、视频地址和原帖身份匹配;同源片段不累加查看量。- **导出输入:** 后台任务使用不可变快照并记录期望规格;后续编辑不改变该任务的本地输入。远程媒体需要稳定复现时先导入本地。- **后台与编辑器启动:** 仅导出启动后台服务,不初始化或补写当前工程;冷启动套模板直接创建选中的模板工程。Studio starts when the Agent calls preview for an existing project, including the automatic handoff after production HTML is ready; the existing background service is reused. 健康检查区分服务 `ready` 与 `editorReady`,不靠自动替换 expectedRevision 消除冲突。diff --git a/studio/src/components/DesktopGuideCard.tsx b/studio/src/components/DesktopGuideCard.tsxindex 956888f1..5fd9a43d 100644--- a/studio/src/components/DesktopGuideCard.tsx+++ b/studio/src/components/DesktopGuideCard.tsx@@ -1,5 +1,5 @@import { useI18n } from "../i18n/I18n";-import { ArrowSquareOut, Check, Copy } from "@phosphor-icons/react";+import { ArrowSquareOut, Check, Copy } from "../icons/RemixIcons";import { useEffect, useState, type ReactNode } from "react";import { copyTextToClipboard } from "../utils/clipboard";import { FrameyGlyph, type FrameyMood } from "./FrameyGlyph";diff --git a/studio/src/components/EditorShell.tsx b/studio/src/components/EditorShell.tsxindex 3435064e..d18927f7 100644--- a/studio/src/components/EditorShell.tsx+++ b/studio/src/components/EditorShell.tsx@@ -1,3 +1,4 @@+import { MVP_PANEL_IDS } from "./dock/panelRegistry";import { useI18n } from "../i18n/I18n";import { memo, useCallback, type ReactNode } from "react";import { matchesKey } from "../player/components/studioShortcuts";@@ -319,7 +320,13 @@ function EditorShellBody({{/* Renders nothing; exposes Studio's state to an agentic browser. Mountedhere rather than in App because it needs the DomEdit contexts. */}<StudioAgentTools />- <Dock.Root projectId={projectId} dockWidth={dockWidth}>+ <Dock.Root+ projectId={projectId}+ dockWidth={dockWidth}+ panels={host?.mvpEditor ? MVP_PANEL_IDS : undefined}+ storageKey={host?.mvpEditor ? "motion.mvp.dock.v1" : undefined}+ fixedLayout={host?.mvpEditor}+ ><Dock.Panel id="preview"><div className="relative flex h-full w-full min-w-0 flex-col"><PreviewPanediff --git a/studio/src/components/ExternalFileConflictBanner.tsx b/studio/src/components/ExternalFileConflictBanner.tsxindex 8f1410ba..606e1bdc 100644--- a/studio/src/components/ExternalFileConflictBanner.tsx+++ b/studio/src/components/ExternalFileConflictBanner.tsx@@ -62,9 +62,9 @@ function ConflictReview({{ title: "File on disk", content: external, suffix: "external" },{ title: "Unsaved Studio version", content: studio, suffix: "studio" },].map((side) => (- <section key={side.suffix} aria-label={side.title}>+ <section key={side.suffix} aria-label={t(side.title)}><div className="mb-2 flex items-center justify-between gap-2">- <h3 className="text-sm font-medium">{side.title}</h3>+ <h3 className="text-sm font-medium">{t(side.title)}</h3><div className="flex gap-2"><buttontype="button"diff --git a/studio/src/components/LinkedSelectionToggle.tsx b/studio/src/components/LinkedSelectionToggle.tsxindex 3bca36b6..3ef55d42 100644--- a/studio/src/components/LinkedSelectionToggle.tsx+++ b/studio/src/components/LinkedSelectionToggle.tsx@@ -1,7 +1,7 @@import { useI18n } from "../i18n/I18n";import { useCallback, useState } from "react";import { createPortal } from "react-dom";-import { LinkSimple } from "@phosphor-icons/react";+import { LinkSimple } from "../icons/RemixIcons";import { useContextMenuDismiss } from "../hooks/useContextMenuDismiss";import { useMenuKeyboardNav } from "../player/components/menuKeyboardNav";import { useLinkedClipPreferences } from "../utils/linkedClipPreferences";diff --git a/studio/src/components/LintModal.tsx b/studio/src/components/LintModal.tsxindex 3917d28b..bab59308 100644--- a/studio/src/components/LintModal.tsx+++ b/studio/src/components/LintModal.tsx@@ -1,6 +1,6 @@import { useI18n } from "../i18n/I18n";import { useRef, useState } from "react";-import { XIcon, WarningIcon, CheckCircleIcon, CaretRightIcon } from "@phosphor-icons/react";+import { XIcon, WarningIcon, CheckCircleIcon, CaretRightIcon } from "../icons/RemixIcons";import { copyTextToClipboard } from "../utils/clipboard";import { useDialogBehavior } from "./ui/useDialogBehavior";diff --git a/studio/src/components/StudioHeader.tsx b/studio/src/components/StudioHeader.tsxindex c853894f..7d82ef41 100644--- a/studio/src/components/StudioHeader.tsx+++ b/studio/src/components/StudioHeader.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../icons/RemixIcons";import { useI18n } from "../i18n/I18n";import { Fragment, memo, useContext, type MouseEvent } from "react";import { Camera } from "../icons/SystemIcons";@@ -59,21 +60,23 @@ export const StudioHeader = memo(function StudioHeader({return (<HeaderFrame>- <div className={cn("flex items-center justify-between h-10 px-3 bg-surface border-b border-border-strong shrink-0", host && "motion-studio-header")}>+ <div className={cn("flex items-center justify-between h-10 px-3 bg-surface shrink-0", !host?.mvpEditor && "border-b border-border-strong", host && "motion-studio-header", host?.mvpEditor && "motion-studio-header-centered")}>{/* Left: logo + project name */}<div className="flex items-center gap-3">{host?.brand ?? <HyperframesLogo />}- <span className="text-text-5 select-none" aria-hidden="true">+ {host?.mvpEditor && host.headerActions}+ {!host?.mvpEditor && <><span className="text-text-5 select-none" aria-hidden="true">|</span>- <span className="text-step-11 font-medium text-text-1">{host?.projectLabel ?? projectId}</span>+ <span className="text-step-11 font-medium text-text-1">{host?.projectLabel ?? projectId}</span></>}</div>+ {host?.mvpEditor && <div className="motion-header-project">{host.projectLabel ?? projectId}</div>}{/* Right: toolbar buttons */}<div className="flex items-center gap-3">- {host?.headerActions}+ {!host?.mvpEditor && host?.headerActions}{host?.historyActions}{host?.previewAction}- <div className="flex h-ctl items-center divide-x divide-border-strong overflow-hidden rounded-md border border-border-strong bg-bg-2">+ {!host?.mvpEditor && <div className="flex h-ctl items-center divide-x divide-border-strong overflow-hidden rounded-md border border-border-strong bg-bg-2"><Tooltip label={capturing ? t("Capturing frame…") : t("Capture current frame")} side="bottom">{/* A real download link, so it wears Button's recipe rather than beingone: `download` on an <a> is what saves the frame, and no <button>@@ -105,26 +108,7 @@ export const StudioHeader = memo(function StudioHeader({aria-label={capturing ? t("Capturing frame") : t("Capture current frame")}>{capturing ? (- <svg- className="animate-spin motion-reduce:animate-none h-3.5 w-3.5"- viewBox="0 0 24 24"- fill="none"- aria-hidden="true"- >- <circle- className="opacity-25"- cx="12"- cy="12"- r="10"- stroke="currentColor"- strokeWidth="4"- />- <path- className="opacity-75"- fill="currentColor"- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"- />- </svg>+ <RemixIcon name="loader-4-line" size={14} className="animate-spin motion-reduce:animate-none" />) : (<Camera size={14} />)}@@ -157,7 +141,7 @@ export const StudioHeader = memo(function StudioHeader({>{t("Inspector")}</Button></Tooltip>- </div>+ </div>}{showThemeToggle && host?.themeToggle !== false && <ThemeToggle />}{host?.languageMenu}{host?.windowMenu ?? <Dock.WindowMenu />}diff --git a/studio/src/components/StudioLeftPanels.tsx b/studio/src/components/StudioLeftPanels.tsxindex a0c348ef..96632bc2 100644--- a/studio/src/components/StudioLeftPanels.tsx+++ b/studio/src/components/StudioLeftPanels.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../motion/StudioHost";import { useI18n } from "../i18n/I18n";import { memo, useCallback, type ReactNode } from "react";import { SourceEditor } from "./editor/SourceEditor";@@ -49,6 +50,7 @@ export const StudioLeftPanels = memo(function StudioLeftPanels({onAddAssetToTimeline,onAddCompositionToTimeline,}: StudioLeftPanelsProps) {+ const mvp = useMvpEditor();const { projectId, renderQueue, waitForPendingDomEditSaves } = useStudioShellContext();const {compositions,@@ -85,7 +87,7 @@ export const StudioLeftPanels = memo(function StudioLeftPanels({const importFiles = async (files: FileList, dir?: string) => {await handleImportFiles(files, dir);};- const lintButton = (+ const lintButton = mvp ? null : (<SidebarLintButtononLint={onLint}linting={linting}@@ -101,10 +103,9 @@ export const StudioLeftPanels = memo(function StudioLeftPanels({<CompositionsPanelprojectId={projectId}compositions={compositions}- activeComposition={editingFile?.path ?? null}onSelect={onSelectComposition}- onAddToTimeline={onAddCompositionToTimeline}- onRenderComposition={handleRenderComposition}+ onAddToTimeline={mvp ? undefined : onAddCompositionToTimeline}+ onRenderComposition={mvp ? undefined : handleRenderComposition}isRendering={renderQueue.isRendering}lintFindingsByFile={lintFindingsByFile}/>@@ -174,6 +175,7 @@ function CodeBody({onChange: (content: string) => void;}) {const { t } = useI18n();+ const mvp = useMvpEditor();if (!editingFile) {return (<div className="flex items-center justify-center h-full text-neutral-600 text-sm">diff --git a/studio/src/components/StudioToast.tsx b/studio/src/components/StudioToast.tsxindex cc3ff382..8588f847 100644--- a/studio/src/components/StudioToast.tsx+++ b/studio/src/components/StudioToast.tsx@@ -1,4 +1,6 @@+import { RemixIcon } from "../icons/RemixIcons";import { useI18n } from "../i18n/I18n";+import { systemMessage } from "../i18n/systemMessages";interface StudioToastProps {message: string;tone?: "error" | "info";@@ -21,7 +23,7 @@ export function StudioToast({ message, tone, leaving, onDismiss }: StudioToastPr<spanclassName={`min-w-0 wrap-break-word leading-5 ${isError ? "text-danger-ink" : "text-text-0"}`}>- {message}+ {systemMessage(message, t)}</span>{onDismiss && (<button@@ -30,16 +32,7 @@ export function StudioToast({ message, tone, leaving, onDismiss }: StudioToastPrclassName="flex h-5 w-5 shrink-0 items-center justify-center rounded-md text-neutral-500 transition-colors hover:bg-hover hover:text-neutral-300"aria-label={t("Dismiss")}>- <svg- width="10"- height="10"- viewBox="0 0 10 10"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- >- <path d="M2 2l6 6M8 2l-6 6" />- </svg>+ <RemixIcon name="close-line" size={14} /></button>)}</div>diff --git a/studio/src/components/ThemeToggle.tsx b/studio/src/components/ThemeToggle.tsxindex b8bf5d21..58e1e894 100644--- a/studio/src/components/ThemeToggle.tsx+++ b/studio/src/components/ThemeToggle.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../icons/RemixIcons";import { createContext } from "react";import { useI18n } from '../i18n/I18n';import { setStudioTheme, useShownStudioTheme } from "../utils/studioTheme";@@ -78,21 +79,9 @@ export function ThemeToggle() {aria-label={label}icon={isDark ? (- <svg {...iconProps}>- <circle cx="12" cy="12" r="5" />- <line x1="12" y1="1" x2="12" y2="3" />- <line x1="12" y1="21" x2="12" y2="23" />- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />- <line x1="1" y1="12" x2="3" y2="12" />- <line x1="21" y1="12" x2="23" y2="12" />- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />- </svg>+ <RemixIcon name="sun-line" {...iconProps} />) : (- <svg {...iconProps}>- <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" />- </svg>+ <RemixIcon name="moon-line" {...iconProps} />)}/>diff --git a/studio/src/components/TimelineToolPicker.mvp.test.tsx b/studio/src/components/TimelineToolPicker.mvp.test.tsxnew file mode 100644index 00000000..fb331163--- /dev/null+++ b/studio/src/components/TimelineToolPicker.mvp.test.tsx@@ -0,0 +1,34 @@+// @vitest-environment happy-dom+import React, { act } from "react";+import { afterEach, expect, it } from "vitest";+import { StudioHostContext } from "../motion/StudioHost";+import { I18nProvider } from "../i18n/I18n";+import { usePlayerStore } from "../player";+import { cleanupMounted, mountHost } from "./ui/mountHost.testHelpers";+import { TimelineToolPicker } from "./TimelineToolPicker";++afterEach(() => {+ cleanupMounted();+ usePlayerStore.setState({ activeTool: "select" });+});++it.each(["zh-CN", "en"] as const)("exposes both tools and keeps selection in sync in %s", (locale) => {+ usePlayerStore.setState({ activeTool: "select" });+ const host = mountHost(+ <I18nProvider initialLocale={locale}>+ <StudioHostContext.Provider value={{ mvpEditor: true }}>+ <TimelineToolPicker />+ </StudioHostContext.Provider>+ </I18nProvider>,+ );+ const buttons = [...host.querySelectorAll("button")];+ expect(buttons.map((button) => button.getAttribute("aria-label"))).toEqual(+ locale === "zh-CN" ? ["选择", "分割"] : ["Select", "Split"],+ );+ expect(host.querySelector('[aria-haspopup="menu"]')).toBeNull();+ act(() => buttons[1].click());+ expect(usePlayerStore.getState().activeTool).toBe("razor");+ expect(buttons.map((button) => button.getAttribute("aria-pressed"))).toEqual(["false", "true"]);+ act(() => usePlayerStore.getState().setActiveTool("select"));+ expect(buttons.map((button) => button.getAttribute("aria-pressed"))).toEqual(["true", "false"]);+});diff --git a/studio/src/components/TimelineToolPicker.tsx b/studio/src/components/TimelineToolPicker.tsxindex 68bfe3a1..a49ba6eb 100644--- a/studio/src/components/TimelineToolPicker.tsx+++ b/studio/src/components/TimelineToolPicker.tsx@@ -1,18 +1,18 @@+import { RemixIcon } from "../icons/RemixIcons";import { useI18n } from "../i18n/I18n";+import { useMvpEditor } from "../motion/StudioHost";import type { ReactNode } from "react";-import { ArrowLineLeft, ArrowLineRight, CaretDown } from "@phosphor-icons/react";+import { ArrowLineLeft, ArrowLineRight, CaretDown } from "../icons/RemixIcons";import { usePlayerStore } from "../player";import { Scissors } from "../icons/SystemIcons";-import { Menu, MenuItem } from "./ui";+import { Menu, MenuItem, Tooltip } from "./ui";import { cn } from "./ui/cn";-import { flatIdle } from "./timelineToolbarStyles";+import { flatActive, flatIdle } from "./timelineToolbarStyles";import { keyHint, useStudioKeys } from "../player/components/studioShortcuts";function SelectIcon() {return (- <svg width="16" height="16" viewBox="0 0 12 12" fill="currentColor" aria-hidden="true">- <path d="M2 0.5L10 6L6.5 6.5L8.5 11L6.5 11.5L4.5 7L2 9Z" />- </svg>+ <RemixIcon name="cursor-line" size={16} />);}@@ -24,9 +24,10 @@ interface ToolRow {run: () => void;}-/** One button for the active timeline tool; its menu switches tools or selects clips around the playhead. */+/** The MVP exposes its two tools directly; the full editor retains the tool menu. */export function TimelineToolPicker({ showSelectAroundPlayhead = true }) {const { t } = useI18n();+ const mvp = useMvpEditor();const activeTool = usePlayerStore((s) => s.activeTool);const keys = useStudioKeys();const store = () => usePlayerStore.getState();@@ -46,6 +47,31 @@ export function TimelineToolPicker({ showSelectAroundPlayhead = true }) {run: () => store().setActiveTool("razor"),},];+ if (mvp) {+ return (+ <div role="group" aria-label={t("Timeline tools")} className="flex items-center gap-0.5">+ {rows.map((row) => (+ <Tooltip+ key={row.label}+ label={`${t(row.label)} (${row.shortcut})`}+ description={row.label === "Split"+ ? t("Click a clip where you want to split it. Switch back to Select to move or select clips.")+ : undefined}+ >+ <button+ type="button"+ aria-label={t(row.label)}+ aria-pressed={row.active}+ className={row.active ? flatActive : flatIdle}+ onClick={row.run}+ >+ {row.icon}+ </button>+ </Tooltip>+ ))}+ </div>+ );+ }if (showSelectAroundPlayhead) {rows.push({diff --git a/studio/src/components/TimelineToolbar.test.tsx b/studio/src/components/TimelineToolbar.test.tsxindex c3dffce9..8ff36bde 100644--- a/studio/src/components/TimelineToolbar.test.tsx+++ b/studio/src/components/TimelineToolbar.test.tsx@@ -429,20 +429,22 @@ describe("TimelineToolbar Fit", () => {act(() => unregister());});- it("shows Fit as a named icon and says whether fit is on", () => {+ it("fits the timeline with an ordinary named icon button", () => {const { host, root } = renderToolbar();const fit = () => host.querySelector('button[aria-label="Fit timeline to width"]');expect(fit()?.textContent).toBe("");expect(fit()?.querySelector("svg")).not.toBeNull();act(() => fit()?.dispatchEvent(new MouseEvent("click", { bubbles: true })));- expect(fit()?.getAttribute("aria-pressed")).toBe("true");+ expect(usePlayerStore.getState().zoomMode).toBe("fit");+ expect(fit()?.hasAttribute("aria-pressed")).toBe(false);act(() =>host.querySelector('button[aria-label="Zoom in"]')?.dispatchEvent(new MouseEvent("click", { bubbles: true })),);act(() => vi.advanceTimersToNextFrame());- expect(fit()?.getAttribute("aria-pressed")).toBe("false");+ expect(usePlayerStore.getState().zoomMode).toBe("manual");+ expect(fit()?.hasAttribute("aria-pressed")).toBe(false);act(() => root.unmount());});diff --git a/studio/src/components/TimelineToolbar.tsx b/studio/src/components/TimelineToolbar.tsxindex 4ae43e65..97fa7d76 100644--- a/studio/src/components/TimelineToolbar.tsx+++ b/studio/src/components/TimelineToolbar.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../icons/RemixIcons";+import { useMvpEditor } from "../motion/StudioHost";import { useI18n } from "../i18n/I18n";import { memo, useEffect, useRef, type ReactNode } from "react";import {@@ -7,7 +9,7 @@ import {Magnet,MagnifyingGlassMinus,MagnifyingGlassPlus,-} from "@phosphor-icons/react";+} from "../icons/RemixIcons";import {useEnableKeyframes,isPlayheadWithinTween,@@ -38,6 +40,7 @@ import type { DomEditSelection } from "./editor/domEditingTypes";import { canSplitElement } from "../utils/timelineElementSplit";import { useAudioMetersVisible } from "../utils/audioMeterVisibility";import { LinkedSelectionToggle } from "./LinkedSelectionToggle";+import { useLinkedClipPreferences } from "../utils/linkedClipPreferences";import { useProjectHasAudio } from "../utils/audioMeterMath";import { canAddBeatAt, addBeatAtCompositionTime } from "../utils/beatEditActions";import { isTypingTarget } from "../utils/typingTarget";@@ -162,6 +165,11 @@ export const TimelineToolbar = memo(function TimelineToolbar({rightActions,}: TimelineToolbarProps) {const { t } = useI18n();+ const mvp = useMvpEditor();+ showHistory = showHistory && !mvp;+ showSelectAroundPlayhead = showSelectAroundPlayhead && !mvp;+ showAddBeat = showAddBeat && !mvp;+ showKeyframes = showKeyframes && !mvp;const keys = useStudioKeys();const kf = keyHint("addKeyframe", keys);const timelineSnapEnabled = usePlayerStore((s) => s.timelineSnapEnabled);@@ -211,6 +219,14 @@ export const TimelineToolbar = memo(function TimelineToolbar({if (!showKeyframes) setAutoKeyframeEnabled(false);}, [showKeyframes, setAutoKeyframeEnabled]);+ useEffect(() => {+ if (!mvp) return;+ const store = usePlayerStore.getState();+ store.setThumbnailMode("adaptive");+ store.setRippleEditEnabled(false);+ useLinkedClipPreferences.getState().setLinkedSelection(false);+ }, [mvp]);+// "N" toggles timeline snapping (industry convention: Resolve/FCP).// Skip when typing in an input/contenteditable.useEffect(() => {@@ -225,20 +241,21 @@ export const TimelineToolbar = memo(function TimelineToolbar({}, []);return (- <div className="border-b border-neutral-800/60">+ <div className="motion-timeline-toolbar border-b border-neutral-800/60"><div className="flex items-center justify-between px-2 py-0.5"><div className="flex items-center gap-0.5">{showHistory && <TimelineHistoryButtons {...history} />}<TimelineToolPicker showSelectAroundPlayhead={showSelectAroundPlayhead} />{/* Divider: tool-mode | editing-actions */}<div aria-hidden="true" className="mx-1 h-4 w-px bg-neutral-800" />- <LinkedSelectionToggle />+ {!mvp && <LinkedSelectionToggle />}<Tooltiplabel={timelineSnapEnabled? t("Snapping on ({value0})", { value0: keyHint("timelineSnap", keys) }): t("Snapping off ({value0})", { value0: keyHint("timelineSnap", keys) })}+ description={t("When enabled, dragged clips snap to nearby clip edges and the playhead for easier alignment.")}><buttontype="button"@@ -250,7 +267,7 @@ export const TimelineToolbar = memo(function TimelineToolbar({<Magnet size={16} weight="bold" aria-hidden="true" /></button></Tooltip>- <Tooltip+{!mvp && <> <Tooltiplabel={rippleEditEnabled? t("Ripple on: keeps the main track gapless")@@ -266,7 +283,7 @@ export const TimelineToolbar = memo(function TimelineToolbar({><RippleEditIcon size={16} /></button>- </Tooltip>+ </Tooltip> </>}{projectHasAudio && (<Tooltip label={audioMetersVisible ? t("Hide audio meters") : t("Show audio meters")}><button@@ -384,7 +401,7 @@ export const TimelineToolbar = memo(function TimelineToolbar({</Tooltip></>)}- {onSplitElement &&+ {!mvp && onSplitElement &&(() => {// Render the button unconditionally (disabled when unusable):// mounting/unmounting mid-task shifts the neighboring controls.@@ -415,22 +432,7 @@ export const TimelineToolbar = memo(function TimelineToolbar({className={canSplit ? flatIdle : flatDisabled}>{/* "][" split glyph: two outward-facing brackets with a center gap */}- <svg- width="16"- height="16"- viewBox="0 0 16 16"- fill="none"- stroke="currentColor"- strokeWidth="1.6"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- {/* Right bracket of left half: ] */}- <path d="M5 3 L7 3 L7 13 L5 13" />- {/* Left bracket of right half: [ */}- <path d="M11 3 L9 3 L9 13 L11 13" />- </svg>+ <RemixIcon name="scissors-cut-line" size={16} /></button></Tooltip>);@@ -480,7 +482,7 @@ export const TimelineToolbar = memo(function TimelineToolbar({</div><div className="flex items-center gap-0.5">{rightActions}- <Tooltip+{!mvp && <> <Tooltiplabel={thumbnailsVisible? t("Hide thumbnails: labels only")@@ -504,12 +506,13 @@ export const TimelineToolbar = memo(function TimelineToolbar({><Image size={16} aria-hidden="true" /></button>- </Tooltip>+ </Tooltip> </>}<Tooltip- label={+ label={t("Zoom to selected clips ({value0})", { value0: keyHint("zoomSelection", keys) })}+ description={canZoomSelection- ? t("Zoom to selected clips ({value0})", { value0: keyHint("zoomSelection", keys) })- : t("Select a clip to zoom the timeline")+ ? t("Adjust the timeline view to fit the selected clips, making detailed edits easier.")+ : t("First select one or more clips in the timeline, then use this to fit them into view.")}><button@@ -524,21 +527,24 @@ export const TimelineToolbar = memo(function TimelineToolbar({<FrameCorners size={16} aria-hidden="true" /></button></Tooltip>- <Tooltip label={t("Fit timeline to width")}>+ <Tooltip+ label={t("Fit timeline to width")}+ description={t("Show the full timeline in the available width. This only changes the view, not the video duration.")}+ ><buttontype="button"onClick={() => setZoomMode("fit")}aria-label={t("Fit timeline to width")}- aria-pressed={zoomMode === "fit"}- className={`h-7 px-2 rounded-md text-[11px] font-medium transition-colors ${- zoomMode === "fit"- ? "bg-studio-accent/10 text-accent-ink"- : "text-neutral-400 hover:bg-hover hover:text-neutral-200"- }`}+ className={flatIdle}><ArrowsOutLineHorizontal size={16} aria-hidden="true" /></button></Tooltip>+ <div+ role="group"+ aria-label={t("Timeline zoom")}+ className={mvp ? "motion-timeline-zoom mx-3 flex shrink-0 items-center gap-0" : "contents"}+ ><Tooltip label={t("Zoom out")}><buttontype="button"@@ -576,13 +582,14 @@ export const TimelineToolbar = memo(function TimelineToolbar({<MagnifyingGlassPlus size={16} aria-hidden="true" /></button></Tooltip>- {/* Numeric zoom readout (main-parity): "Fit" in fit mode, N% in manual. */}- <span+ </div>+ {/* The compact MVP keeps zoom controls without a numeric readout. */}+ {!mvp && <spanclassName="ml-1 w-[38px] text-right font-mono text-[11px] tabular-nums text-neutral-500 select-none"aria-label={t("Timeline zoom level")}>{showsFit ? t("Fit") : `${displayedTimelineZoomPercent}%`}- </span>+ </span>}</div></div></div>diff --git a/studio/src/components/dock/Dock.test.tsx b/studio/src/components/dock/Dock.test.tsxindex b135c979..ba6843c9 100644--- a/studio/src/components/dock/Dock.test.tsx+++ b/studio/src/components/dock/Dock.test.tsx@@ -7,9 +7,10 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import * as dockLayout from "./dockLayout";import { I18nProvider, useI18n } from "../../i18n/I18n";import { Dock } from "./Dock";+import { StudioHostContext } from "../../motion/StudioHost";import { parseDockLayout } from "./dockLayoutSchema";import { useDockLayoutStore } from "./dockLayoutStore";-import { PANEL_IDS } from "./panelRegistry";+import { MVP_PANEL_IDS, PANEL_IDS } from "./panelRegistry";import { readStudioUiPreferences } from "../../utils/studioUiPreferences";import { applyMotionLayout, MotionPreviewButton } from "../../motion/MotionLayoutControls";@@ -434,7 +435,7 @@ it('changes native dock titles live without recreating panels, preview or layoutexpect(api.getPanel('preview')!.title).toBe('Preview');switchLanguage();expect(api.getPanel('preview')!.title).toBe('预览');- expect(api.getPanel('compositions')!.title).toBe('合成');+ expect(api.getPanel('compositions')!.title).toBe('片段');expect(api.getPanel('preview')!.group.id).toBe(groupId);expect(JSON.stringify(api.toJSON().grid)).toBe(grid);expect(host.querySelector('iframe')).toBe(preview);@@ -445,3 +446,72 @@ it('changes native dock titles live without recreating panels, preview or layoutexpect(api.getPanel('preview')!.title).toBe('Preview');expect(host.querySelector('iframe')).toBe(preview);});++it("keeps the MVP panels fixed, rejects hidden panels, and restores divider sizes", () => {+ mount("p1", {}, { panels: MVP_PANEL_IDS, fixedLayout: true, storageKey: "motion.mvp.dock.v1" });+ const store = useDockLayoutStore.getState();+ expect(store.openPanels).toEqual(new Set(MVP_PANEL_IDS));+ act(() => {+ store.closePanel("preview");+ store.closePanel("assets");+ store.activatePanel("code");+ dockApi!.getPanel("compositions")!.api.setSize({ width: 320 });+ vi.advanceTimersByTime(1000);+ });+ expect(useDockLayoutStore.getState().openPanels).toEqual(new Set(MVP_PANEL_IDS));+ expect(dockApi!.getPanel("timeline")!.group.header.hidden).toBe(true);+ expect(dockApi!.getPanel("preview")!.group.header.hidden).toBe(false);+ const saved = dockApi!.toJSON();+ expect(saved.panels.code).toBeUndefined();+ act(() => root?.unmount());+ root = null;+ mount("p1", {}, { panels: MVP_PANEL_IDS, fixedLayout: true, storageKey: "motion.mvp.dock.v1" });+ expect(dockApi!.toJSON().grid).toEqual(saved.grid);+ expect(dockApi!.getPanel("timeline")!.group.header.hidden).toBe(true);+ expect(useDockLayoutStore.getState().openPanels).toEqual(new Set(MVP_PANEL_IDS));+});+++it("expands only the MVP preview and restores layout without remounting the player", () => {+ const host = document.createElement("div");+ document.body.append(host);+ root = createRoot(host);+ act(() => root?.render(+ <I18nProvider initialLocale="en"><StudioHostContext.Provider value={{ mvpEditor: true }}>+ <Dock.Root projectId="p1" panels={MVP_PANEL_IDS} fixedLayout storageKey="motion.mvp.dock.v1">+ {MVP_PANEL_IDS.map(id => <Dock.Panel key={id} id={id}>+ {id === "preview" ? <iframe title="Preview player" /> : <div>{id}</div>}+ </Dock.Panel>)}+ </Dock.Root>+ </StudioHostContext.Provider></I18nProvider>,+ ));+ const api = dockApi!;+ act(() => {+ api.getPanel("compositions")!.api.setSize({ width: 310 });+ api.getPanel("renders")!.api.setActive();+ vi.advanceTimersByTime(1000);+ });+ const grid = api.toJSON().grid;+ const player = host.querySelector("iframe");+ const click = (label: string) => act(() => host.querySelector<HTMLButtonElement>(`[aria-label="${label}"]`)!.click());+ click("Expand preview");+ expect(api.getPanel("preview")!.group.api.isMaximized()).toBe(true);+ expect(host.querySelector("iframe")).toBe(player);+ expect(document.fullscreenElement).toBeFalsy();+ act(() => vi.advanceTimersByTime(1000));+ expect(readStudioUiPreferences(undefined, "p1", "motion.mvp.dock.v1").dockLayout?.grid).toEqual(grid);+ click("Restore preview");+ expect(api.hasMaximizedGroup()).toBe(false);+ expect(api.toJSON().grid).toEqual(grid);+ expect(host.querySelector("iframe")).toBe(player);+ click("Expand preview");+ const exitComposition = vi.fn();+ window.addEventListener("keydown", exitComposition);+ act(() => window.dispatchEvent(new KeyboardEvent("keydown", { key: "Escape", bubbles: true, cancelable: true })));+ window.removeEventListener("keydown", exitComposition);+ expect(exitComposition).not.toHaveBeenCalled();+ expect(api.hasMaximizedGroup()).toBe(false);+ expect(api.toJSON().grid).toEqual(grid);+ expect(host.querySelector("iframe")).toBe(player);+ expect(document.activeElement).toBe(host.querySelector('[aria-label="Expand preview"]'));+});diff --git a/studio/src/components/dock/Dock.tsx b/studio/src/components/dock/Dock.tsxindex b7664cc6..471d3617 100644--- a/studio/src/components/dock/Dock.tsx+++ b/studio/src/components/dock/Dock.tsx@@ -18,6 +18,7 @@ import {import { readStudioUiPreferences, writeStudioUiPreferences } from "../../utils/studioUiPreferences";import { installDockAccessibility } from "./dockAccessibility";import { DockStripActions } from "./DockStripActions";+import { DockHeaderSlotsProvider } from "./DockHeaderSlots";import { DockTab } from "./DockTab";import { installTabFill } from "./dockTabFill";import { addRegisteredPanel, applySideMinimums, buildEditLayout, defaultSideWidths } from "./dockLayout";@@ -91,11 +92,12 @@ interface DockOptions {panels: readonly PanelId[];storageKey?: string | undefined;dockWidth: () => number;+ fixedLayout?: boolean;}function createController(api: DockviewApi, options: DockOptions): DockController {const open = (id: PanelId) => {- if (api.getPanel(id)) return;+ if (!options.panels.includes(id) || api.getPanel(id)) return;if (id === "preview") {// The timeline spans the whole workspace. Anchoring above it creates a new// row; anchor to a side column to put a closed preview back in the centre.@@ -159,15 +161,20 @@ function createController(api: DockviewApi, options: DockOptions): DockControllepanel?.api.setActive();},close: (id) => {+ if (options.fixedLayout) return;const panel = api.getPanel(id);if (panel) api.removePanel(panel);},setTitle: (id, title) => api.getPanel(id)?.api.setTitle(title),setGroupVisible: (id, visible) => {const group = api.getPanel(id)?.group;- if (group && group.api.isVisible !== visible) group.api.setVisible(visible);+ if ((!options.fixedLayout || visible) && group && group.api.isVisible !== visible) group.api.setVisible(visible);+ },+ reset: () => {+ buildEditLayout(api, options.dockWidth(), options.panels);+ const timeline = api.getPanel("timeline");+ if (options.fixedLayout && timeline) timeline.group.header.hidden = true;},- reset: () => buildEditLayout(api, options.dockWidth(), options.panels),};}@@ -176,7 +183,9 @@ function restoreOrBuild(api: DockviewApi, projectId: string | null, options: Docconst stored = parseDockLayout(dockLayout, options.panels);if (stored) {try {+ // Expanded preview is a temporary viewing mode, not a saved workspace layout.api.fromJSON(stored);+ if (options.fixedLayout && api.hasMaximizedGroup()) api.exitMaximizedGroup();return;} catch {/* a layout the schema accepted but dockview cannot load: start over */@@ -191,15 +200,20 @@ function Root({projectId,panels = PANEL_IDS,storageKey,+ fixedLayout = false,dockWidth = windowWidth,children,}: {projectId: string | null;panels?: readonly PanelId[];storageKey?: string;+ fixedLayout?: boolean;dockWidth?: () => number;children: ReactNode;}) {+ const { t } = useI18n();+ const translateRef = useRef(t);+ translateRef.current = t;const [slots, setSlots] = useState<Slots>({});const registerSlot = useCallback((id: PanelId, element: HTMLElement | null) => {setSlots((prev) => {@@ -217,11 +231,13 @@ function Root({const onReady = useCallback(({ api }: DockviewReadyEvent) => {disposeRef.current();- const options = { panels, storageKey, dockWidth };+ const options = { panels, storageKey, dockWidth, fixedLayout };restoreOrBuild(api, projectId, options);+ const timeline = api.getPanel("timeline");+ if (fixedLayout && timeline) timeline.group.header.hidden = true;applySideMinimums(api, dockWidth());const root = api.groups[0]?.element.closest<HTMLElement>(".hf-dock");- const disposeAccessibility = root ? installDockAccessibility(api, root) : () => {};+ const disposeAccessibility = root ? installDockAccessibility(api, root, (message) => translateRef.current(message)) : () => {};const disposeTabFill = root ? installTabFill(api, root) : () => {};// Sides size against dockWidth, the window by default; the dock's own box lags a resize.const resizeObserver = new ResizeObserver(() => applySideMinimums(api, dockWidth()));@@ -236,6 +252,7 @@ function Root({const persist = () => {clearTimeout(timer);timer = setTimeout(() => {+ if (fixedLayout && api.hasMaximizedGroup()) return;writeStudioUiPreferences({ dockLayout: api.toJSON() }, undefined, projectId, storageKey);}, PERSIST_DEBOUNCE_MS);};@@ -257,6 +274,7 @@ function Root({api.onDidRemovePanel(onDockChange),api.onDidActivePanelChange(onDockChange),api.onDidLayoutChange(onDockChange),+ api.onDidMaximizedGroupChange(onDockChange),];disposeRef.current = () => {clearTimeout(timer);@@ -267,24 +285,33 @@ function Root({useDockLayoutStore.getState().detach();};},- [projectId, panels, storageKey, dockWidth],+ [projectId, panels, storageKey, dockWidth, fixedLayout],);return (- <SlotsContext.Provider value={{ slots, registerSlot }}>- <DockviewReact- key={projectId ?? ""}- className="hf-dock flex-1 min-h-0"- components={COMPONENTS}- defaultTabComponent={DockTab}- rightHeaderActionsComponent={DockStripActions}- defaultRenderer="always"- disableFloatingGroups- disableTabsOverflowList- onReady={onReady}- />- {children}- </SlotsContext.Provider>+ <DockHeaderSlotsProvider>+ <SlotsContext.Provider value={{ slots, registerSlot }}>+ <DockviewReact+ key={projectId ?? ""}+ className="hf-dock flex-1 min-h-0"+ components={COMPONENTS}+ defaultTabComponent={DockTab}+ rightHeaderActionsComponent={DockStripActions}+ defaultRenderer="always"+ disableDnd={fixedLayout}+ disableFloatingGroups+ disableTabsOverflowList+ messages={{+ panelOpened: title => t('{title} opened', { title: t(title) }),+ panelClosed: title => t('{title} closed', { title: t(title) }),+ groupMaximized: title => t('{title} maximized', { title: t(title) }),+ groupRestored: title => t('{title} restored', { title: t(title) }),+ }}+ onReady={onReady}+ />+ {children}+ </SlotsContext.Provider>+ </DockHeaderSlotsProvider>);}diff --git a/studio/src/components/dock/DockHeaderSlots.tsx b/studio/src/components/dock/DockHeaderSlots.tsxnew file mode 100644index 00000000..b84ecfd0--- /dev/null+++ b/studio/src/components/dock/DockHeaderSlots.tsx@@ -0,0 +1,33 @@+import { createContext, useCallback, useContext, useState, type ReactNode } from "react";+import type { PanelId } from "./panelRegistry";++type HeaderSlots = Partial<Record<PanelId, HTMLElement>>;+const HeaderContext = createContext<{+ slots: HeaderSlots;+ register: (id: PanelId, node: HTMLElement | null) => void;+} | null>(null);++/** Portals keep panel-owned controls and state together across Dockview's separate roots. */+export function DockHeaderSlotsProvider({ children }: { children: ReactNode }) {+ const [slots, setSlots] = useState<HeaderSlots>({});+ const register = useCallback((id: PanelId, node: HTMLElement | null) => {+ setSlots((previous) => {+ if (previous[id] === (node ?? undefined)) return previous;+ const next = { ...previous };+ if (node) next[id] = node;+ else delete next[id];+ return next;+ });+ }, []);+ return <HeaderContext.Provider value={{ slots, register }}>{children}</HeaderContext.Provider>;+}++export function DockHeaderSlot({ id }: { id: PanelId }) {+ const register = useContext(HeaderContext)?.register;+ const ref = useCallback((node: HTMLDivElement | null) => register?.(id, node), [id, register]);+ return <div ref={ref} data-panel-header-controls={id} className="flex items-center h-full" />;+}++export function useDockHeaderSlot(id: PanelId) {+ return useContext(HeaderContext)?.slots[id] ?? null;+}diff --git a/studio/src/components/dock/DockStripActions.tsx b/studio/src/components/dock/DockStripActions.tsxindex d676ff01..389b7b47 100644--- a/studio/src/components/dock/DockStripActions.tsx+++ b/studio/src/components/dock/DockStripActions.tsx@@ -1,8 +1,10 @@+import { DockHeaderSlot } from "./DockHeaderSlots";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";-import { useCallback, useSyncExternalStore } from "react";-import { CornersIn, CornersOut, DotsThree, X } from "@phosphor-icons/react";+import { useCallback, useEffect, useRef, useSyncExternalStore } from "react";+import { CornersIn, CornersOut, DotsThree, X } from "../../icons/RemixIcons";import type { IDockviewHeaderActionsProps } from "dockview-react";-import { IconButton, Menu, MenuCheckboxItem, MenuItem, MenuSeparator } from "../ui";+import { IconButton, Menu, MenuCheckboxItem, MenuItem, MenuSeparator, Tooltip } from "../ui";import { useDockLayoutStore } from "./dockLayoutStore";import { PANEL_DEFINITIONS, isPanelId, panelsInZone } from "./panelRegistry";@@ -14,6 +16,7 @@ export function DockStripActions({isGroupActive,}: IDockviewHeaderActionsProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const subscribe = useCallback((onChange: () => void) => {const subscription = containerApi.onDidMaximizedGroupChange(onChange);@@ -25,6 +28,39 @@ export function DockStripActions({const openPanels = useDockLayoutStore((state) => state.openPanels);const togglePanel = useDockLayoutStore((state) => state.togglePanel);const resetLayout = useDockLayoutStore((state) => state.resetLayout);+ const previewGroup = panels.some((panel) => panel.id === "preview");+ const expandButton = useRef<HTMLButtonElement>(null);+ useEffect(() => {+ if (!mvp || !previewGroup || !maximized) return;+ const restore = (event: KeyboardEvent) => {+ if (event.key !== "Escape" || event.defaultPrevented || document.fullscreenElement) return;+ if (document.querySelector('[role="dialog"], [role="menu"], [role="listbox"]')) return;+ event.preventDefault();+ event.stopImmediatePropagation();+ api.exitMaximized();+ expandButton.current?.focus({ preventScroll: true });+ };+ window.addEventListener("keydown", restore, true);+ return () => window.removeEventListener("keydown", restore, true);+ }, [api, mvp, previewGroup, maximized]);+ if (mvp) return previewGroup ? (+ <div className="flex items-center h-full gap-1 pr-1">+ <DockHeaderSlot id="preview" />+ <Tooltip+ label={t(maximized ? "Restore preview" : "Expand preview")}+ description={t(maximized ? "Return to the editor layout. You can also press Esc." : "Enlarge the preview within this workspace, keeping your chat visible.")}+ >+ <IconButton+ ref={expandButton}+ size="sm"+ aria-label={t(maximized ? "Restore preview" : "Expand preview")}+ aria-expanded={maximized}+ icon={maximized ? <CornersIn size={16} /> : <CornersOut size={16} />}+ onClick={() => (maximized ? api.exitMaximized() : api.maximize())}+ />+ </Tooltip>+ </div>+ ) : null;if (!isGroupActive) return null;const first = panels.find((panel) => isPanelId(panel.id))?.id;diff --git a/studio/src/components/dock/DockTab.tsx b/studio/src/components/dock/DockTab.tsxindex 57cae2f3..c1890a3c 100644--- a/studio/src/components/dock/DockTab.tsx+++ b/studio/src/components/dock/DockTab.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useCallback, useSyncExternalStore } from "react";import { useI18n } from '../../i18n/I18n';import {@@ -16,9 +17,9 @@ import {Stack,X,type Icon,-} from "@phosphor-icons/react";+} from "../../icons/RemixIcons";import type { IDockviewPanelHeaderProps } from "dockview-react";-import { isPanelId, type PanelId } from "./panelRegistry";+import { isPanelId, PANEL_DEFINITIONS, type PanelId } from "./panelRegistry";const TAB_ICONS: Record<PanelId, Icon> = {preview: Monitor,@@ -39,9 +40,11 @@ const TAB_ICONS: Record<PanelId, Icon> = {/*** A dock tab. dock.css shows the type icon and close glyph on the shown tab only, keyed on* dockview's own tab class, so they swap in the frame the tab changes rather than a render later.+ * MVP side panels and the preview use text-only titles.*/export function DockTab({ api }: IDockviewPanelHeaderProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const subscribe = useCallback((onChange: () => void) => {const subscription = api.onDidTitleChange(onChange);@@ -50,25 +53,29 @@ export function DockTab({ api }: IDockviewPanelHeaderProps) {[api],);const title = useSyncExternalStore(subscribe, () => api.title ?? "");- const TypeIcon = isPanelId(api.id) ? TAB_ICONS[api.id] : null;+ const TypeIcon = isPanelId(api.id) && (!mvp || (PANEL_DEFINITIONS[api.id].zone === "center" && api.id !== "preview"))+ ? TAB_ICONS[api.id]+ : null;return (- <div className="hf-dock-tab">+ <div className="hf-dock-tab" data-panel-zone={isPanelId(api.id) ? PANEL_DEFINITIONS[api.id].zone : undefined}>{TypeIcon ? <TypeIcon className="hf-dock-tab-icon" size={14} aria-hidden /> : null}<span className="hf-dock-tab-label">{title}</span>{/* Same shape as dockview's own close control: a tab cannot hold a focusable button. */}- <div- role="button"- tabIndex={-1}- aria-label={t('Close {title}', { title })}- className="hf-dock-tab-close"- onPointerDown={(event) => event.stopPropagation()}- onClick={(event) => {- event.stopPropagation();- api.close();- }}- >- <X size={12} aria-hidden />- </div>+ {!mvp && (+ <div+ role="button"+ tabIndex={-1}+ aria-label={t('Close {title}', { title })}+ className="hf-dock-tab-close"+ onPointerDown={(event) => event.stopPropagation()}+ onClick={(event) => {+ event.stopPropagation();+ api.close();+ }}+ >+ <X size={12} aria-hidden />+ </div>+ )}</div>);}diff --git a/studio/src/components/dock/dockAccessibility.ts b/studio/src/components/dock/dockAccessibility.tsindex 31160e61..37f166ae 100644--- a/studio/src/components/dock/dockAccessibility.ts+++ b/studio/src/components/dock/dockAccessibility.ts@@ -13,13 +13,13 @@ function splitAxis(sash: HTMLElement): Axis {}/** Dockview draws sashes as bare divs; make each one a focusable separator. */-function decorateSashes(root: HTMLElement) {+function decorateSashes(root: HTMLElement, t: (message: string) => string) {for (const sash of root.querySelectorAll<HTMLElement>(".dv-sash")) {const axis = splitAxis(sash);sash.tabIndex = 0;sash.setAttribute("role", "separator");sash.setAttribute("aria-orientation", axis === "horizontal" ? "vertical" : "horizontal");- sash.setAttribute("aria-label", axis === "horizontal" ? "Resize columns" : "Resize rows");+ sash.setAttribute("aria-label", t(axis === "horizontal" ? "Resize columns" : "Resize rows"));}}@@ -75,8 +75,8 @@ function onTabKeyDown(event: KeyboardEvent, tab: HTMLElement, api: DockviewApi)}/** Keyboard and ARIA support dockview 8.3 lacks for sashes and tab arrows. Returns a disposer. */-export function installDockAccessibility(api: DockviewApi, root: HTMLElement): () => void {- const decorate = () => decorateSashes(root);+export function installDockAccessibility(api: DockviewApi, root: HTMLElement, t: (message: string) => string = message => message): () => void {+ const decorate = () => decorateSashes(root, t);decorate();const subscriptions = [api.onDidLayoutChange(decorate),diff --git a/studio/src/components/dock/panelRegistry.ts b/studio/src/components/dock/panelRegistry.tsindex a04ab959..332bf607 100644--- a/studio/src/components/dock/panelRegistry.ts+++ b/studio/src/components/dock/panelRegistry.ts@@ -17,6 +17,9 @@ export const PANEL_IDS = [] as const;export type PanelId = (typeof PANEL_IDS)[number];+export const MVP_PANEL_IDS: readonly PanelId[] = [+ "preview", "timeline", "compositions", "assets", "catalog", "design", "layers", "renders",+];export type PanelZone = "left" | "center" | "right";export interface PanelDefinition {diff --git a/studio/src/components/editor/BlockParamsPanel.test.tsx b/studio/src/components/editor/BlockParamsPanel.test.tsxindex c3874d87..c12f1c60 100644--- a/studio/src/components/editor/BlockParamsPanel.test.tsx+++ b/studio/src/components/editor/BlockParamsPanel.test.tsx@@ -8,6 +8,7 @@ import { FileManagerProvider } from "../../contexts/FileManagerContext";import type { useFileManager } from "../../hooks/useFileManager";import { StudioPlaybackProvider, type StudioPlaybackValue } from "../../contexts/StudioContext";import { BlockParamsPanel } from "./BlockParamsPanel";+import { I18nProvider, useI18n, type Locale } from "../../i18n/I18n";(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;@@ -50,23 +51,31 @@ afterEach(() => {vi.clearAllTimers();});-function renderPanel(fileManager: ReturnType<typeof makeFileManager>["value"]) {+function LanguageSwitch() {+ const { setLocale } = useI18n();+ return <button onClick={() => setLocale("en")}>Switch language</button>;+}++function renderPanel(fileManager: ReturnType<typeof makeFileManager>["value"], locale: Locale = "en", params = PARAMS) {const host = document.createElement("div");document.body.append(host);root = createRoot(host);act(() => {root?.render(+ <I18nProvider initialLocale={locale}>+ <LanguageSwitch /><StudioPlaybackProvider value={playbackValue}><FileManagerProvider value={fileManager}><BlockParamsPanelblockName="vfx-demo"blockTitle="VFX Demo"- params={PARAMS}+ params={params}compositionPath="compositions/vfx-demo.html"onClose={vi.fn()}/></FileManagerProvider>- </StudioPlaybackProvider>,+ </StudioPlaybackProvider>+ </I18nProvider>,);});}@@ -93,6 +102,28 @@ async function flushCommit() {}describe("BlockParamsPanel commit safety", () => {+ it("localizes labels and options without changing values, titles or the mounted controls", () => {+ const fm = makeFileManager({ value: "" });+ renderPanel(fm.value, "zh-CN", [+ { key: "hue", label: "Nebula hue", type: "number", default: "210" },+ { key: "movement", label: "Movement", type: "select", default: "glide", options: [+ { label: "Glide (smooth)", value: "glide" },+ { label: "Step (snap at corners)", value: "step" },+ ] },+ ]);+ const range = document.querySelector('input[type="range"]')!;+ const select = document.querySelector("select")!;+ expect(range.getAttribute("aria-label")).toBe("星云色相");+ expect(select.options[0].textContent).toBe("平滑滑动");+ expect(select.value).toBe("glide");+ expect(document.body.textContent).toContain("VFX Demo");+ act(() => document.querySelector<HTMLButtonElement>("button")!.click());+ expect(document.querySelector('input[type="range"]')).toBe(range);+ expect(range.getAttribute("aria-label")).toBe("Nebula hue");+ expect(select.options[0].textContent).toBe("Glide (smooth)");+ expect(select.value).toBe("glide");+ expect(fm.writeProjectFile).not.toHaveBeenCalled();+ });it("refuses a multi-occurrence value and never mutates the unrelated sibling", async () => {// The param's default (#0c0c0c) also appears on an UNRELATED element. The// panel has no way to tell which occurrence belongs to the param, so itdiff --git a/studio/src/components/editor/BlockParamsPanel.tsx b/studio/src/components/editor/BlockParamsPanel.tsxindex 1456ea6b..f5df44fa 100644--- a/studio/src/components/editor/BlockParamsPanel.tsx+++ b/studio/src/components/editor/BlockParamsPanel.tsx@@ -1,4 +1,5 @@import { useI18n } from "../../i18n/I18n";+import { systemMessage } from "../../i18n/systemMessages";import { memo, useCallback, useEffect, useRef, useState } from "react";import type { BlockParam } from "@hyperframes/core/registry";import { useFileManagerContextOptional } from "../../contexts/FileManagerContext";@@ -194,7 +195,7 @@ export const BlockParamsPanel = memo(function BlockParamsPanel({)}{commitState.tone === "error" && (<div className="text-[10px] text-danger-ink" role="alert">- {commitState.message}+ {commitState.message && systemMessage(commitState.message, t)}</div>)}</div>@@ -216,7 +217,7 @@ function ParamControl({const { t } = useI18n();return (<div className="space-y-1">- <label className="text-[10px] font-medium text-neutral-400">{param.label}</label>+ <label className="text-[10px] font-medium text-neutral-400">{t(param.label)}</label>{param.type === "color" && (<div className="flex items-center gap-2">@@ -224,7 +225,7 @@ function ParamControl({type="color"value={value}disabled={disabled}- aria-label={t("{value0} color", { value0: param.label })}+ aria-label={t("{value0} color", { value0: t(param.label) })}onChange={(e) => onChange(e.target.value)}className="w-7 h-7 rounded-sm border border-neutral-700 bg-transparent cursor-pointer disabled:cursor-not-allowed disabled:opacity-50"/>@@ -232,7 +233,7 @@ function ParamControl({type="text"value={value}disabled={disabled}- aria-label={t("{value0} value", { value0: param.label })}+ aria-label={t("{value0} value", { value0: t(param.label) })}onChange={(e) => onChange(e.target.value)}className="flex-1 bg-neutral-900 border border-neutral-800 rounded-sm px-2 py-1 text-[10px] text-neutral-200 font-mono focus:outline-hidden focus:border-neutral-700 disabled:cursor-not-allowed disabled:opacity-50"/>@@ -248,7 +249,7 @@ function ParamControl({step={param.step ?? 1}value={value}disabled={disabled}- aria-label={param.label}+ aria-label={t(param.label)}onChange={(e) => onChange(e.target.value)}className="flex-1 disabled:cursor-not-allowed disabled:opacity-50"/>@@ -261,7 +262,7 @@ function ParamControl({type="text"value={value}disabled={disabled}- aria-label={param.label}+ aria-label={t(param.label)}onChange={(e) => onChange(e.target.value)}className="w-full bg-neutral-900 border border-neutral-800 rounded-sm px-2 py-1 text-[10px] text-neutral-200 focus:outline-hidden focus:border-neutral-700 disabled:cursor-not-allowed disabled:opacity-50"/>@@ -271,13 +272,13 @@ function ParamControl({<selectvalue={value}disabled={disabled}- aria-label={param.label}+ aria-label={t(param.label)}onChange={(e) => onChange(e.target.value)}className="w-full bg-neutral-900 border border-neutral-800 rounded-sm px-2 py-1 text-[10px] text-neutral-200 focus:outline-hidden focus:border-neutral-700 disabled:cursor-not-allowed disabled:opacity-50">{param.options.map((opt) => (<option key={opt.value} value={opt.value}>- {opt.label}+ {t(opt.label)}</option>))}</select>diff --git a/studio/src/components/editor/DomEditCropHandles.tsx b/studio/src/components/editor/DomEditCropHandles.tsxindex 2c4e3fe3..689500ca 100644--- a/studio/src/components/editor/DomEditCropHandles.tsx+++ b/studio/src/components/editor/DomEditCropHandles.tsx@@ -359,7 +359,7 @@ export function DomEditCropHandles({<buttonkey={edge}type="button"- aria-label={t("Crop {edge}", { edge: edge })}+ aria-label={t("Crop {edge}", { edge: t(edge) })}title={t("Crop")}data-dom-edit-crop-handle="true"className="pointer-events-auto absolute flex items-center justify-center border-0 bg-transparent p-0"diff --git a/studio/src/components/editor/DomEditOverlay.tsx b/studio/src/components/editor/DomEditOverlay.tsxindex b772904e..9d49d8e4 100644--- a/studio/src/components/editor/DomEditOverlay.tsx+++ b/studio/src/components/editor/DomEditOverlay.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import type { DomSelectionResult } from "../../hooks/useDomSelectionTypes";import type { RotationCommit } from "./rotationDraft";@@ -156,6 +157,7 @@ export const DomEditOverlay = memo(function DomEditOverlay({onDeleteSelection,onApplyZIndex,}: DomEditOverlayProps) {+ const mvp = useMvpEditor();const { t } = useI18n();const readOnly = usePreviewReadOnly();const hostInput = canvasInput === "host";@@ -376,7 +378,7 @@ export const DomEditOverlay = memo(function DomEditOverlay({// fallow-ignore-next-line complexityconst handleOverlayPointerDown = (event: React.PointerEvent<HTMLDivElement>) => {if (!allowCanvasMovement || hostInput || event.button !== 0) return;- if (event.shiftKey) {+ if (!mvp && event.shiftKey) {const shiftIframe = iframeRef.current;const candidate = resolveShiftClickCandidate({cached: hoverSelectionRef.current,@@ -418,7 +420,7 @@ export const DomEditOverlay = memo(function DomEditOverlay({// an element IS under the pointer — starting a marquee here would swallow// the selection mousedown and the click would silently select nothing.// Confirm emptiness with a fresh SYNCHRONOUS hit-test before committing.- if (!hoverSelectionRef.current && onMarqueeSelectRef.current && compRect.width > 0) {+ if (!mvp && !hoverSelectionRef.current && onMarqueeSelectRef.current && compRect.width > 0) {const iframe = iframeRef.current;const freshTarget = iframe? getPreviewTargetFromPointer(diff --git a/studio/src/components/editor/DomEditSelectionChrome.tsx b/studio/src/components/editor/DomEditSelectionChrome.tsxindex 19ae566c..bba193fa 100644--- a/studio/src/components/editor/DomEditSelectionChrome.tsx+++ b/studio/src/components/editor/DomEditSelectionChrome.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import type { RefObject } from "react";import { type DomEditSelection } from "./domEditing";import {@@ -169,6 +170,7 @@ export function DomEditSelectionChrome({onBoxClick,inlineText,}: DomEditSelectionChromeProps) {+ const mvp = useMvpEditor();// While the text is being edited the chrome is a mark, not a control. The// overlay above the preview already stands aside for the caret, but// `pointer-events: none` on a parent does not disable a child that asks for@@ -189,7 +191,7 @@ export function DomEditSelectionChrome({transform: overlayRect.angle ? `rotate(${overlayRect.angle}deg)` : undefined,}}>- {canManipulate && !editing && selection.capabilities.canApplyManualRotation && (+ {!mvp && canManipulate && !editing && selection.capabilities.canApplyManualRotation && (<DomEditRotateHandleoverlayRect={overlayRect}cropOutlineInsetPx={cropOutlineInsetPx}diff --git a/studio/src/components/editor/FileTree.tsx b/studio/src/components/editor/FileTree.tsxindex cd90d892..a787b417 100644--- a/studio/src/components/editor/FileTree.tsx+++ b/studio/src/components/editor/FileTree.tsx@@ -1,6 +1,6 @@import { useI18n } from "../../i18n/I18n";import { memo, useState, useCallback, useMemo, useRef } from "react";-import { Plus, FolderSimplePlus } from "@phosphor-icons/react";+import { Plus, FolderSimplePlus } from "../../icons/RemixIcons";import {buildTree,sortChildren,diff --git a/studio/src/components/editor/FileTreeIcons.tsx b/studio/src/components/editor/FileTreeIcons.tsxindex abb5a099..41ac0c9c 100644--- a/studio/src/components/editor/FileTreeIcons.tsx+++ b/studio/src/components/editor/FileTreeIcons.tsx@@ -16,7 +16,7 @@ import {Waveform,TextAa,Image as PhImage,-} from "@phosphor-icons/react";+} from "../../icons/RemixIcons";const SZ = 14;const W = "duotone" as const;diff --git a/studio/src/components/editor/FileTreeNodes.tsx b/studio/src/components/editor/FileTreeNodes.tsxindex 26c5be86..408cf1ca 100644--- a/studio/src/components/editor/FileTreeNodes.tsx+++ b/studio/src/components/editor/FileTreeNodes.tsx@@ -7,7 +7,7 @@ import {FilePlus,FolderSimplePlus,FolderSimple,-} from "@phosphor-icons/react";+} from "../../icons/RemixIcons";import { ChevronDown, ChevronRight } from "../../icons/SystemIcons";import {FileIcon,diff --git a/studio/src/components/editor/InlineTextToolbar.tsx b/studio/src/components/editor/InlineTextToolbar.tsxindex 07a2cb28..1f2f198d 100644--- a/studio/src/components/editor/InlineTextToolbar.tsx+++ b/studio/src/components/editor/InlineTextToolbar.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useCallback, useEffect, useState } from "react";import { createPortal } from "react-dom";@@ -47,6 +48,7 @@ export function InlineTextToolbar({iframe: HTMLIFrameElement | null;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const [placement, setPlacement] = useState<ToolbarPlacement | null>(null);const refresh = useCallback(() => {@@ -133,20 +135,24 @@ export function InlineTextToolbar({onChange={(event) => apply({ color: event.target.value })}/></label>- <ToolbarToggle- label={t("Bold")}- glyph="B"- bold- on={isBold(styles["font-weight"])}- onToggle={(on) => apply({ "font-weight": on ? "700" : null })}- />- <ToolbarToggle- label={t("Italic")}- glyph="I"- italic- on={styles["font-style"] === "italic"}- onToggle={(on) => apply({ "font-style": on ? "italic" : null })}- />+ {!mvp && (+ <ToolbarToggle+ label={t("Bold")}+ glyph="B"+ bold+ on={isBold(styles["font-weight"])}+ onToggle={(on) => apply({ "font-weight": on ? "700" : null })}+ />+ )}+ {!mvp && (+ <ToolbarToggle+ label={t("Italic")}+ glyph="I"+ italic+ on={styles["font-style"] === "italic"}+ onToggle={(on) => apply({ "font-style": on ? "italic" : null })}+ />+ )}<ToolbarTogglelabel={t("Underline")}glyph="U"diff --git a/studio/src/components/editor/InspectorHeaderActions.tsx b/studio/src/components/editor/InspectorHeaderActions.tsxindex 9c2ae934..5b5b26bc 100644--- a/studio/src/components/editor/InspectorHeaderActions.tsx+++ b/studio/src/components/editor/InspectorHeaderActions.tsx@@ -1,5 +1,5 @@import { useI18n } from '../../i18n/I18n';-import { Eye, EyeSlash } from "@phosphor-icons/react";+import { Eye, EyeSlash } from "../../icons/RemixIcons";import { X } from "../../icons/SystemIcons";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";import type { DomEditSelection } from "./domEditingTypes";diff --git a/studio/src/components/editor/LayersPanel.tsx b/studio/src/components/editor/LayersPanel.tsxindex 4ea91704..476b752e 100644--- a/studio/src/components/editor/LayersPanel.tsx+++ b/studio/src/components/editor/LayersPanel.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { useLivePreviewIframe } from "../../player/store/previewIframeStore";import { onPreviewContentReplaced } from "../../player/sceneSwap";@@ -492,7 +493,7 @@ export const LayersPanel = memo(function LayersPanel({ host }: { host?: LayersPa: "text-panel-text-2 hover:bg-panel-hover/40 hover:text-panel-text-1"} ${dragKey ? "cursor-grabbing" : "cursor-pointer"}`}style={{ paddingLeft: 8 + layer.depth * CHILD_INDENT }}- title={hint}+ title={hint ? t(hint) : undefined}>{hasChildren ? (<button@@ -502,20 +503,12 @@ export const LayersPanel = memo(function LayersPanel({ host }: { host?: LayersPaaria-label={isCollapsed ? t("Expand children") : t("Collapse children")}className="relative flex h-4 w-4 shrink-0 items-center justify-center rounded-sm text-neutral-500 hover:text-neutral-300 before:absolute before:-inset-1.5 before:content-['']">- <svg- width="8"- height="8"- viewBox="0 0 8 8"- fill="currentColor"- className={`transition-transform ${isCollapsed ? "" : "rotate-90"}`}- >- <path d="M2 1l4 3-4 3z" />- </svg>+ <RemixIcon name="arrow-right-s-line" size={12} className={`transition-transform ${isCollapsed ? "" : "rotate-90"}`} /></button>) : null}<spandata-layer-kind={kind}- title={hint ? `${kindName} · ${hint}` : kindName}+ title={hint ? `${t(kindName)} · ${t(hint)}` : t(kindName)}className={`flex h-5 w-5 shrink-0 items-center justify-center rounded ${selected? "bg-panel-accent/18 text-accent-ink"diff --git a/studio/src/components/editor/PreviewOverlayProvider.tsx b/studio/src/components/editor/PreviewOverlayProvider.tsxindex 45a2c10b..ff480034 100644--- a/studio/src/components/editor/PreviewOverlayProvider.tsx+++ b/studio/src/components/editor/PreviewOverlayProvider.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { createContext, useContext, useRef, useState, type ReactNode, type RefObject } from "react";import {usePreviewCompositionRect,@@ -47,6 +48,7 @@ export interface PreviewOverlayProviderProps {}export function PreviewOverlayProvider({ iframe, children }: PreviewOverlayProviderProps) {+ const mvp = useMvpEditor();const overlayRef = useRef<HTMLDivElement | null>(null);const [snapPrefs, setSnapPrefs] = useState(readSnapPrefs);const rulerVisible = usePreviewGuidesStore((state) => state.rulerVisible);@@ -58,7 +60,7 @@ export function PreviewOverlayProvider({ iframe, children }: PreviewOverlayProviconst compositionRect = usePreviewCompositionRect(overlayRef, resolvedIframe);const contextValue: PreviewOverlayContextValue = {- state: { snapPrefs, rulerVisible, safeMarginsVisible, iframeRef, compositionRect },+ state: { snapPrefs: mvp ? { ...snapPrefs, snapEnabled: true, gridVisible: false, snapToGrid: false } : snapPrefs, rulerVisible: !mvp && rulerVisible, safeMarginsVisible: !mvp && safeMarginsVisible, iframeRef, compositionRect },actions: {setSnapPrefs: (patch) => {writeStudioUiPreferences(patch);diff --git a/studio/src/components/editor/PromotableControl.tsx b/studio/src/components/editor/PromotableControl.tsxindex e34d3656..aa1643e2 100644--- a/studio/src/components/editor/PromotableControl.tsx+++ b/studio/src/components/editor/PromotableControl.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";/*** Wraps a Design-panel property control with the promote-to-variable gesture.@@ -39,6 +40,7 @@ export function PromotableControl({children: (args: RenderArgs) => React.ReactNode;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const promote = useVariablePromoteChannel(channel);// A binding attribute (`data-var-*` / `var(--id)`) pointing at a declaration@@ -78,6 +80,8 @@ export function PromotableControl({: { bound: false },);+ if (mvp) return <>{rendered}</>;+return (<div className={`relative ${bound ? "rounded-lg ring-1 ring-studio-accent/40" : ""}`}>{rendered}diff --git a/studio/src/components/editor/PropertyPanel.tsx b/studio/src/components/editor/PropertyPanel.tsxindex 82ea0218..a2626e49 100644--- a/studio/src/components/editor/PropertyPanel.tsx+++ b/studio/src/components/editor/PropertyPanel.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { scopedElementKey } from "../../hooks/gsapKeyframeCacheHelpers";import { memo, useMemo, useRef, useState } from "react";@@ -58,6 +59,7 @@ export {// fallow-ignore-next-line complexityexport const PropertyPanel = memo(function PropertyPanel(props: PropertyPanelProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const {projectId,assets,@@ -173,7 +175,7 @@ export const PropertyPanel = memo(function PropertyPanel(props: PropertyPanelProif (!element) {return (<PropertyPanelEmptyState- flat={STUDIO_FLAT_INSPECTOR_ENABLED}+ flat={mvp || STUDIO_FLAT_INSPECTOR_ENABLED}multiSelectCount={multiSelectCount}multiSelectedElements={multiSelectedElements}onGroupSelection={onGroupSelection}@@ -252,7 +254,7 @@ export const PropertyPanel = memo(function PropertyPanel(props: PropertyPanelPro});};- if (STUDIO_FLAT_INSPECTOR_ENABLED) {+ if (mvp || STUDIO_FLAT_INSPECTOR_ENABLED) {// Forward the raw props (handlers, ids, assets, recording, fonts, etc.) and// the values the legacy path already computed above (so they aren't derived// twice). PropertyPanelFlat owns the one-open group state.diff --git a/studio/src/components/editor/PropertyPanelEmptyState.tsx b/studio/src/components/editor/PropertyPanelEmptyState.tsxindex 136f977f..a228706e 100644--- a/studio/src/components/editor/PropertyPanelEmptyState.tsx+++ b/studio/src/components/editor/PropertyPanelEmptyState.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { Eye, Layers } from "../../icons/SystemIcons";import type { DomEditSelection } from "./domEditingTypes";@@ -6,24 +8,17 @@ import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";function FlatEmptyState() {const { t } = useI18n();+ const mvp = useMvpEditor();return (<div className="flex h-full flex-col items-center justify-center gap-2.5 px-8 py-10 text-center"><span className="flex h-11 w-11 items-center justify-center rounded-xl border border-panel-border-input bg-panel-input text-panel-text-3">- <svg- width="20"- height="20"- viewBox="0 0 20 20"- fill="none"- stroke="currentColor"- strokeWidth="1.4"- >- <path d="M4 3l6 14 2-6 6-2z" strokeLinejoin="round" />- </svg>+ <RemixIcon name="cursor-line" size={20} /></span><div className="text-[13px] font-semibold text-panel-text-0">{t("Nothing selected")}</div><div className="max-w-[250px] text-[11px] leading-normal text-panel-text-3">- {t("Click any element on the canvas to edit it, or drag to select several.")}</div>+ {t(mvp ? "Click any element on the canvas to edit it." : "Click any element on the canvas to edit it, or drag to select several.")}</div><div className="mt-2 flex w-full flex-col gap-1.5">+ {!mvp && <><span className="flex items-center justify-between rounded-lg border border-panel-border bg-panel-bg px-3 py-2"><span className="flex items-center gap-2 text-[11px] text-panel-text-2"><span className="text-danger-ink">●</span>@@ -32,9 +27,10 @@ function FlatEmptyState() {R</span></span>+ </>}<span className="flex items-center justify-between rounded-lg border border-panel-border bg-panel-bg px-3 py-2"><span className="flex items-center gap-2 text-[11px] text-panel-text-2">- <span className="text-accent-ink">✦</span>+ <RemixIcon name="sparkling-line" size={14} className="text-accent-ink" />{t("Describe a change to the agent")}</span><span className="rounded-sm border border-panel-border-input px-[5px] py-px font-mono text-[9px] text-panel-text-5">⌘K@@ -92,16 +88,7 @@ function FlatMultiSelectState({onClick={onClearSelection}className="flex h-[26px] w-[26px] shrink-0 items-center justify-center text-panel-text-3">- <svg- width="13"- height="13"- viewBox="0 0 16 16"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- >- <path d="M3 3l10 10M13 3L3 13" />- </svg>+ <RemixIcon name="close-line" size={14} /></button></div><div className="flex flex-col gap-1">diff --git a/studio/src/components/editor/PropertyPanelFlat.tsx b/studio/src/components/editor/PropertyPanelFlat.tsxindex a23fbfa0..d648ac70 100644--- a/studio/src/components/editor/PropertyPanelFlat.tsx+++ b/studio/src/components/editor/PropertyPanelFlat.tsx@@ -1,3 +1,5 @@+import { HF_COLOR_GRADING_PRESETS } from "@hyperframes/core/color-grading";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { scopedElementKey } from "../../hooks/gsapKeyframeCacheHelpers";import { useEffect, useMemo, useRef, useState } from "react";@@ -133,6 +135,7 @@ export function PropertyPanelFlat({...forwardedProps}: PropertyPanelFlatProps) {const { t } = useI18n();+ const mvp = useMvpEditor();// PropertyPanel keys this component by selection, so the default is per element.const [openGroupId, setOpenGroupId] = useState<string>(() =>isTextEditableSelection(element)@@ -345,7 +348,7 @@ export function PropertyPanelFlat({groups.push({id: "style",title: "Style",- summary: `fill ${styles["background-image"] && styles["background-image"] !== "none" ? "image/gradient" : styles["background-color"] ? "set" : "none"} · ${opacityPct}%`,+ summary: t("Fill: {fill} · {opacity}%", { fill: t(styles["background-image"] && styles["background-image"] !== "none" ? "Image/gradient" : styles["background-color"] ? "Solid" : "None"), opacity: opacityPct }),content: (<FlatStyleSectionprojectId={projectId}@@ -403,7 +406,7 @@ export function PropertyPanelFlat({),});}- if (showMotionGroup) {+ if (!mvp && showMotionGroup) {groups.push({id: "motion",...motionSectionLabel({@@ -427,12 +430,12 @@ export function PropertyPanelFlat({),});}- if (sections.colorGrading) {+ if (!mvp && sections.colorGrading) {groups.push({id: "grade",title: "Grade",accessory: <FlatColorGradingAccessory state={colorGradingController} />,- summary: `${colorGradingController.grading.preset ?? "neutral"} · ${Math.round(colorGradingController.grading.intensity * 100)}%`,+ summary: `${t(HF_COLOR_GRADING_PRESETS.find(preset => preset.id === colorGradingController.grading.preset)?.label ?? "Neutral")} · ${Math.round(colorGradingController.grading.intensity * 100)}%`,content: (<FlatColorGradingSectiongrading={colorGradingController.grading}@@ -461,7 +464,7 @@ export function PropertyPanelFlat({id: "effects",title: "Effects",accessory: <FlatEffectsAccessory {...effectsProps} />,- summary: activeEffects ? `${activeEffects} active` : "none",+ summary: activeEffects ? t("{count} active effects", { count: activeEffects }) : t("None"),content: (<FlatEffectsSection{...effectsProps}@@ -477,7 +480,7 @@ export function PropertyPanelFlat({groups.push({id: "overlays",title: "Overlays",- summary: "add layer",+ summary: t("Add layer"),content: (<FlatOverlaysSectiononAddOverlay={(blockName) =>@@ -495,7 +498,7 @@ export function PropertyPanelFlat({groups.push({id: "audio-fx",title: "Audio FX",- summary: audioFxSummary(element, audioGroupLabel),+ summary: audioFxSummary(element, audioGroupLabel, t),content: (<AudioFxGroupelement={element}@@ -510,7 +513,7 @@ export function PropertyPanelFlat({groups.push({id: "media",title: "Media",- summary: element.tagName,+ summary: t(element.tagName === "img" ? "Image" : element.tagName === "video" ? "Video" : "Audio"),content: (<FlatMediaSection{...forwardedProps}@@ -535,26 +538,39 @@ export function PropertyPanelFlat({return (<DesignPanelInputProvider ui="flat"><div className="flex h-full min-h-0 flex-col overflow-hidden bg-panel-bg text-panel-text-1">- <DesignPanelInputProvider section="header">- <PropertyPanelFlatHeader- name={element.label}- meta={`${sourceLabel} · ${element.tagName}`}- elementKind={elementKind}- hidden={hiddenNow}- asMute={audioSelection}- onToggleHidden={toggleHidden}- copied={clipboardCopied}- onCopy={onCopyElementInfo}- onClear={onClearSelection}- onUngroup={onUngroup}- showUngroup={Boolean(onUngroup && element.dataAttributes["hf-group"] != null)}- />- </DesignPanelInputProvider>+ {!mvp && (+ <DesignPanelInputProvider section="header">+ <PropertyPanelFlatHeader+ name={element.label}+ meta={`${sourceLabel} · ${element.tagName}`}+ elementKind={elementKind}+ hidden={hiddenNow}+ asMute={audioSelection}+ onToggleHidden={toggleHidden}+ copied={clipboardCopied}+ onCopy={onCopyElementInfo}+ onClear={onClearSelection}+ onUngroup={onUngroup}+ showUngroup={Boolean(onUngroup && element.dataAttributes["hf-group"] != null)}+ />+ </DesignPanelInputProvider>+ )}<divref={panelBodyRef}data-flat-panel-body="true"className="flex min-h-0 flex-1 flex-col overflow-y-auto">+ {mvp ? groups.map((group) => (+ <DesignPanelInputProvider key={group.id} section={slugifyDesignInput(group.title)}>+ <section data-flat-group-open="true" className="shrink-0 border-b border-panel-hairline">+ <div className="flex items-center justify-between px-4 py-3">+ <h3 className="text-[12px] font-semibold text-panel-text-0">{t(group.title)}</h3>+ {group.accessory}+ </div>+ <div className="px-4 pb-4">{group.content}</div>+ </section>+ </DesignPanelInputProvider>+ )) : <>{beforeOpen.map(renderClosedGroup)}{openGroup && (<DesignPanelInputProvider section={slugifyDesignInput(openGroup.title)}>@@ -567,7 +583,7 @@ export function PropertyPanelFlat({animateEntrance={justToggledIds.includes(openGroup.id)}/><div- className={`${justToggledIds.includes(openGroup.id) ? "hf-flat-group-enter " : ""}min-h-0 flex-1 overflow-y-auto border-b border-panel-hairline bg-panel-bg-inset px-4 py-3 shadow-[inset_0_2px_4px_-1px_rgba(0,0,0,0.5)]`}+ className={`${justToggledIds.includes(openGroup.id) ? "hf-flat-group-enter " : ""}min-h-0 flex-1 overflow-y-auto border-b border-panel-hairline px-4 py-3 ${mvp ? "bg-panel-bg" : "bg-panel-bg-inset shadow-[inset_0_2px_4px_-1px_rgba(0,0,0,0.5)]"}`}>{openGroup.content}</div>@@ -575,6 +591,7 @@ export function PropertyPanelFlat({</DesignPanelInputProvider>)}{afterOpen.map(renderClosedGroup)}+ </>}</div><DesignPanelInputProvider section="footer"><PropertyPanelFlatFooterdiff --git a/studio/src/components/editor/PropertyPanelFlatFooter.tsx b/studio/src/components/editor/PropertyPanelFlatFooter.tsxindex d828088d..8862945e 100644--- a/studio/src/components/editor/PropertyPanelFlatFooter.tsx+++ b/studio/src/components/editor/PropertyPanelFlatFooter.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";import { keyHint, useStudioKeys } from "../../player/components/studioShortcuts";@@ -14,6 +16,7 @@ export function PropertyPanelFlatFooter({onToggleRecording?: () => void;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const track = useTrackDesignInput();const recording = recordingState === "recording";const recordKey = keyHint("record", useStudioKeys());@@ -39,17 +42,9 @@ export function PropertyPanelFlatFooter({disabled={!onAskAgent}className="flex items-center gap-[7px] text-[11px] font-medium text-panel-text-2 disabled:cursor-not-allowed">- <svg- width="13"- height="13"- viewBox="0 0 16 16"- fill="currentColor"- className="text-accent-ink"- >- <path d="M8 1l1.4 4.6L14 7l-4.6 1.4L8 13l-1.4-4.6L2 7l4.6-1.4z" />- </svg>+ <RemixIcon name="sparkling-line" size={14} className="text-accent-ink" />{t("Ask agent about this element")}</button>- {onToggleRecording && (+ {!mvp && onToggleRecording && (<buttontype="button"data-flat-footer-record="true"diff --git a/studio/src/components/editor/PropertyPanelFlatHeader.tsx b/studio/src/components/editor/PropertyPanelFlatHeader.tsxindex 46908ae0..1ef66592 100644--- a/studio/src/components/editor/PropertyPanelFlatHeader.tsx+++ b/studio/src/components/editor/PropertyPanelFlatHeader.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { HiddenToggleIcon, hiddenToggleVerb } from "../../player/components/hiddenToggle";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";@@ -40,7 +41,7 @@ export function PropertyPanelFlatHeader({const { t } = useI18n();const track = useTrackDesignInput();const Icon = ICON_BY_KIND[elementKind];- const visibilityLabel = t("{value0} element", { value0: hiddenToggleVerb(asMute, hidden) });+ const visibilityLabel = t("{value0} element", { value0: t(hiddenToggleVerb(asMute, hidden)) });return (<div className="flex items-center gap-2.5 border-b border-panel-hairline px-4 py-3">@@ -64,17 +65,7 @@ export function PropertyPanelFlatHeader({onUngroup?.();}}>- <svg- width="13"- height="13"- viewBox="0 0 16 16"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- >- <rect x="1.5" y="1.5" width="7" height="7" rx="1" />- <rect x="7.5" y="7.5" width="7" height="7" rx="1" />- </svg>+ <RemixIcon name="shape-2-line" size={14} /></button>)}{onToggleHidden && (diff --git a/studio/src/components/editor/SnapToolbar.tsx b/studio/src/components/editor/SnapToolbar.tsxindex d0b59e88..93c94790 100644--- a/studio/src/components/editor/SnapToolbar.tsx+++ b/studio/src/components/editor/SnapToolbar.tsx@@ -1,7 +1,7 @@import { useI18n } from "../../i18n/I18n";import { trackPreviewFeatureUsed } from "../../utils/previewFeatureUsage";import { memo, useCallback, useEffect, useRef, useState } from "react";-import { MagnetStraight, GridFour, Path, Ruler, FrameCorners } from "@phosphor-icons/react";+import { MagnetStraight, GridFour, Path, Ruler, FrameCorners } from "../../icons/RemixIcons";import { usePlayerStore } from "../../player/store/playerStore";import { usePreviewOverlayContext } from "./PreviewOverlayProvider";import { ownsPlainKeys } from "../../utils/typingTarget";diff --git a/studio/src/components/editor/audioFxSignalPath.test.ts b/studio/src/components/editor/audioFxSignalPath.test.tsindex 407a318b..bc91dd2b 100644--- a/studio/src/components/editor/audioFxSignalPath.test.ts+++ b/studio/src/components/editor/audioFxSignalPath.test.ts@@ -48,3 +48,10 @@ describe("audioFxSignalPath", () => {).toMatchObject({ inLabel: "nothing yet", subject: "group" });});});++it('translates routing sentences while preserving authored track and group names', async () => {+ const { translate } = await import('../../i18n/I18n');+ const t = (m: string, v?: Record<string, string | number>) => translate('zh-CN', m, v);+ expect(audioFxSignalPath('audio', 'vo-1', [group({ label: 'Preview' })], t)).toMatchObject({ inLabel: '当前音轨', outLabel: '输出到 Preview' });+ expect(audioFxSignalPath('hf-audio-group', 'voiceover', [group()], t)).toMatchObject({ inLabel: '合并 vo-1 和 vo-2', outLabel: '输出到混音' });+});diff --git a/studio/src/components/editor/audioFxSignalPath.ts b/studio/src/components/editor/audioFxSignalPath.tsindex 43bc54a4..7ea84474 100644--- a/studio/src/components/editor/audioFxSignalPath.ts+++ b/studio/src/components/editor/audioFxSignalPath.ts@@ -15,6 +15,7 @@* names the group it feeds, "so the routing is readable from either end".*/+import type { Translate } from "../../i18n/I18n";import type { HfAudioGroup } from "@hyperframes/core/audio-groups";export interface AudioFxSignalPath {@@ -38,15 +39,16 @@ export const CLIP_SIGNAL_PATH: AudioFxSignalPath = {* from the selection. Pure so the labels can be asserted without a DOM.*//** "a", "a and b", "a, b and c" — how the designs read a member list aloud. */-function joinNatural(items: readonly string[]): string {+function joinNatural(items: readonly string[], t: Translate): string {if (items.length <= 1) return items[0] ?? "";- return `${items.slice(0, -1).join(", ")} and ${items[items.length - 1]}`;+ return t("{names} and {last}", { names: items.slice(0, -1).join(", "), last: items[items.length - 1] });}export function audioFxSignalPath(tag: string | undefined,elementId: string | undefined,groups: readonly HfAudioGroup[],+ t: Translate = (message, values = {}) => message.replace(/\{(\w+)\}/g, (match, key) => String(values[key] ?? match)),): AudioFxSignalPath {if (tag === "hf-audio-group") {const group = groups.find((g) => g.id === elementId);@@ -59,13 +61,13 @@ export function audioFxSignalPath(// comma list. The trailing "together" is the point: it says the group is// ONE signal hearing both, which is the thing two separate copies of a// chain cannot do, and it says it without "sum" or "bus".- inLabel: members.length > 0 ? `${joinNatural(members)}, together` : "nothing yet",- outLabel: "to mix",+ inLabel: members.length > 0 ? t("{members}, together", { members: joinNatural(members, t) }) : t("nothing yet"),+ outLabel: t("to mix"),subject: "group",};}const owner = elementId ? groups.find((g) => g.memberIds.includes(elementId)) : undefined;// "into Voiceover", not "to" — a member feeds the group, and the design uses// the preposition that says so.- return owner ? { ...CLIP_SIGNAL_PATH, outLabel: `into ${owner.label}` } : CLIP_SIGNAL_PATH;+ return { ...CLIP_SIGNAL_PATH, inLabel: t("this track"), outLabel: owner ? t("into {name}", { name: owner.label }) : t("to mix") };}diff --git a/studio/src/components/editor/audioFxSummary.ts b/studio/src/components/editor/audioFxSummary.tsindex 7bf1a3cf..a866e4ed 100644--- a/studio/src/components/editor/audioFxSummary.ts+++ b/studio/src/components/editor/audioFxSummary.ts@@ -7,6 +7,7 @@* grouping exists to prevent — that they are seven things to manage.*/+import { translate, type Translate } from "../../i18n/I18n";import { HF_AUDIO_FX_DATA_KEY, parseAudioFxChain } from "@hyperframes/core/audio-fx";import type { DomEditSelection } from "./domEditingTypes";@@ -27,22 +28,22 @@ function countEnabledNodes(raw: string | undefined): { handBuilt: number; carve:}}-export function audioFxSummary(element: DomEditSelection, groupLabel?: string): string {+export function audioFxSummary(element: DomEditSelection, groupLabel?: string, t: Translate = (message, values) => translate("en", message, values)): string {// A clip inside a group reads "in Voiceover" — the designs use this line to// answer "where does this go?" before the author opens anything, which is// the same job the rack's OUT does from the other end. It outranks the effect// count: a member with no effects of its own is still IN the group, and that// is the more useful thing to say about it.- if (groupLabel) return `in ${groupLabel}`;+ if (groupLabel) return t("in {group}", { group: groupLabel });const counts = countEnabledNodes(element.dataAttributes?.[HF_AUDIO_FX_DATA_KEY]);- if (!counts) return "unreadable";+ if (!counts) return t("unreadable");const parts: string[] = [];if (counts.handBuilt > 0) {- parts.push(`${counts.handBuilt} effect${counts.handBuilt === 1 ? "" : "s"}`);+ parts.push(t(counts.handBuilt === 1 ? "{count} effect" : "{count} effects", { count: counts.handBuilt }));}// One name for the module however many filters are behind it. Named when the// carve is switched on at all, because the control is in this section whether or// not it has compiled to anything yet.- if (counts.carve > 0 || element.dataAttributes?.["fx-carve"]) parts.push("carve");- return parts.length > 0 ? parts.join(" + ") : "none";+ if (counts.carve > 0 || element.dataAttributes?.["fx-carve"]) parts.push(t("carve"));+ return parts.length > 0 ? parts.join(" + ") : t("none");}diff --git a/studio/src/components/editor/domEditing.test.ts b/studio/src/components/editor/domEditing.test.tsindex 7b3889a5..a067d7dc 100644--- a/studio/src/components/editor/domEditing.test.ts+++ b/studio/src/components/editor/domEditing.test.ts@@ -816,6 +816,40 @@ describe("resolveDomEditSelection", () => {expect(selection?.textFields[0]?.value).toBe("Headline with trailing space ");});+ it.each([+ "background: #123456", "background-image: linear-gradient(red, blue)",+ "border: 1px solid black",+ ])("does not expose text controls on an empty graphic: %s", async (style) => {+ const document = createDocument(`<div id="graphic" class="clip" style="${style}"></div>`);+ const selection = await resolveDomEditSelection(document.getElementById("graphic")!, {+ activeCompositionPath: null, isMasterView: false,+ });+ expect(selection).not.toBeNull();+ expect(selection!.textFields).toEqual([]);+ expect(isTextEditableSelection(selection!)).toBe(false);+ });++ it("keeps painted text editable after clearing its content", async () => {+ const document = createDocument('<div id="copy" class="clip" style="background: red">Copy</div>');+ const element = document.getElementById("copy")!;+ const options = { activeCompositionPath: null, isMasterView: false };+ expect(isTextEditableSelection((await resolveDomEditSelection(element, options))!)).toBe(true);+ element.textContent = "";+ expect(isTextEditableSelection((await resolveDomEditSelection(element, options))!)).toBe(true);+ });++ it.each([+ '<p id="copy" style="background: red"></p>',+ '<div id="copy" data-hf-text-key="copy" style="background: red"></div>',+ '<div id="copy" style="background: red; font-size: 24px"></div>',+ ])("preserves empty semantic or explicitly authored text: %s", async (markup) => {+ const document = createDocument(markup);+ const selection = await resolveDomEditSelection(document.getElementById("copy")!, {+ activeCompositionPath: null, isMasterView: false,+ });+ expect(isTextEditableSelection(selection!)).toBe(true);+ });+it("keeps an emptied text layer editable so users can type into it again", async () => {const document = createDocument(`<div id="card" class="clip" style="position: absolute;"></div>diff --git a/studio/src/components/editor/domEditingDom.ts b/studio/src/components/editor/domEditingDom.tsindex 2b69b77f..d47e1dbc 100644--- a/studio/src/components/editor/domEditingDom.ts+++ b/studio/src/components/editor/domEditingDom.ts@@ -30,8 +30,33 @@ export function isTextBearingTag(tagName: string): boolean {return ["div", "span", "p", "strong", "h1", "h2", "h3", "h4", "h5", "h6"].includes(tagName);}+// Remember text-bearing nodes while editing so clearing copy does not remove+// its controls. Weak references release this metadata with the preview document.+const knownTextLeaves = new WeakSet<HTMLElement>();+export function isEditableTextLeaf(el: HTMLElement): boolean {- return isTextBearingTag(el.tagName.toLowerCase()) && el.children.length === 0;+ const tag = el.tagName.toLowerCase();+ if (!isTextBearingTag(tag) || el.children.length !== 0) return false;+ if (el.textContent?.trim()) {+ knownTextLeaves.add(el);+ return true;+ }+ if (tag !== "div" || el.hasAttribute("data-hf-text-key") || knownTextLeaves.has(el)) return true;+ // An empty painted div is a graphic, not an empty text field. Semantic text+ // tags and explicitly authored typography retain their editing affordance.+ if (["font", "font-family", "font-size", "font-weight", "text-align"].some(+ (property) => el.style.getPropertyValue(property),+ )) return true;+ const style = el.ownerDocument.defaultView?.getComputedStyle(el);+ if (!style) return true;+ const color = style.backgroundColor;+ const hasFill = Boolean(color && color !== "transparent" && !/rgba\([^)]*,\s*0(?:\.0+)?\s*\)/.test(color));+ const hasImage = Boolean(style.backgroundImage && style.backgroundImage !== "none");+ const hasBorder = ["Top", "Right", "Bottom", "Left"].some((side) =>+ Number.parseFloat(style.getPropertyValue(`border-${side.toLowerCase()}-width`)) > 0 &&+ !["none", "hidden", ""].includes(style.getPropertyValue(`border-${side.toLowerCase()}-style`)),+ );+ return !hasFill && !hasImage && !hasBorder;}/** Does this node render AT ALL, ignoring what it inherits? Sole owner of thediff --git a/studio/src/components/editor/propertyPanelAudioFxGroup.tsx b/studio/src/components/editor/propertyPanelAudioFxGroup.tsxindex 93439868..77914cb6 100644--- a/studio/src/components/editor/propertyPanelAudioFxGroup.tsx+++ b/studio/src/components/editor/propertyPanelAudioFxGroup.tsx@@ -1,3 +1,4 @@+import { useI18n } from "../../i18n/I18n";/*** The audio FX panel's bridge to the element/attribute world.*@@ -275,6 +276,7 @@ export function AudioFxGroup({// clip that had just been grouped. `syncStoredGroupAttribute` and// `updateElement` both replace the array, so its identity is the cheap signal// that membership may have moved.+ const { t } = useI18n();const storeElements = usePlayerStore((s) => s.elements);const signalPath = useMemo(() => {const doc = element.element?.ownerDocument;@@ -282,9 +284,10 @@ export function AudioFxGroup({element.tagName?.toLowerCase(),element.id ?? undefined,doc ? resolveAudioGroups(doc) : [],+ t,);// eslint-disable-next-line react-hooks/exhaustive-deps- }, [element, storeElements]);+ }, [element, storeElements, t]);// A bus has no span of its own, so resolve the live members. The// `storeElements` subscription above rerenders this panel when membershipdiff --git a/studio/src/components/editor/propertyPanelColorCurveGraph.tsx b/studio/src/components/editor/propertyPanelColorCurveGraph.tsxindex 3a05b978..6a9fcfd9 100644--- a/studio/src/components/editor/propertyPanelColorCurveGraph.tsx+++ b/studio/src/components/editor/propertyPanelColorCurveGraph.tsx@@ -426,7 +426,7 @@ export function CurveGraph({<svgviewBox={`0 0 ${GRAPH_SIZE} ${GRAPH_SIZE}`}role="application"- aria-label={t("{value0} curve", { value0: tab.label })}+ aria-label={t("{value0} curve", { value0: t(tab.label) })}aria-keyshortcuts="Enter Space ArrowLeft ArrowRight ArrowUp ArrowDown PageUp PageDown Home End Delete"tabIndex={disabled ? -1 : 0}data-color-curve-graph={tab.key}diff --git a/studio/src/components/editor/propertyPanelColorCurves.tsx b/studio/src/components/editor/propertyPanelColorCurves.tsxindex 0a82ace0..8f1032e4 100644--- a/studio/src/components/editor/propertyPanelColorCurves.tsx+++ b/studio/src/components/editor/propertyPanelColorCurves.tsx@@ -108,7 +108,7 @@ export function ColorCurves({: "border-transparent text-panel-text-4 hover:text-panel-text-2"}`}>- {candidate.label}+ {t(candidate.label)}</button>))}</div>@@ -171,8 +171,8 @@ export function ColorCurves({)}<buttontype="button"- aria-label={t("Reset {value0} curve", { value0: tab.label })}- title={t("Reset {value0} curve", { value0: tab.label })}+ aria-label={t("Reset {value0} curve", { value0: t(tab.label) })}+ title={t("Reset {value0} curve", { value0: t(tab.label) })}disabled={disabled}onClick={resetActive}className="pb-0.5 text-panel-text-4 hover:text-panel-text-1 disabled:opacity-40"diff --git a/studio/src/components/editor/propertyPanelColorGradingSection.tsx b/studio/src/components/editor/propertyPanelColorGradingSection.tsxindex c1bc2df9..556db82e 100644--- a/studio/src/components/editor/propertyPanelColorGradingSection.tsx+++ b/studio/src/components/editor/propertyPanelColorGradingSection.tsx@@ -13,6 +13,7 @@ import {import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";function StatusPill({ status }: { status: RuntimeColorGradingStatus }) {+ const { t } = useI18n();const dotClass =status.state === "active"? "bg-accent"@@ -24,10 +25,10 @@ function StatusPill({ status }: { status: RuntimeColorGradingStatus }) {return (<divclassName="flex min-w-0 items-center gap-1.5 rounded-sm bg-panel-input px-2 py-1 text-[10px] font-medium text-panel-text-3"- title={status.message}+ title={t(status.message)}><span className={`h-1.5 w-1.5 shrink-0 rounded-full ${dotClass}`} />- <span className="truncate">{status.message}</span>+ <span className="truncate">{t(status.message)}</span></div>);}diff --git a/studio/src/components/editor/propertyPanelColorScopes.tsx b/studio/src/components/editor/propertyPanelColorScopes.tsxindex 2632097e..75f5abf3 100644--- a/studio/src/components/editor/propertyPanelColorScopes.tsx+++ b/studio/src/components/editor/propertyPanelColorScopes.tsx@@ -241,7 +241,7 @@ export function PropertyPanelColorScopes({: "border-transparent text-panel-text-4 hover:text-panel-text-2"}`}>- {candidate.label}+ {t(candidate.label)}</button>))}</div>diff --git a/studio/src/components/editor/propertyPanelCommitField.tsx b/studio/src/components/editor/propertyPanelCommitField.tsxindex 8933a827..d7020c0f 100644--- a/studio/src/components/editor/propertyPanelCommitField.tsx+++ b/studio/src/components/editor/propertyPanelCommitField.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { useEffect, useRef, useState } from "react";import { adjustNumericToken, parseNumericToken } from "./propertyPanelHelpers";@@ -13,6 +14,7 @@ export function CommitField({value,disabled,liveCommit,+ stepper,align = "left",onPreview,onCommit,@@ -20,6 +22,7 @@ export function CommitField({value: string;disabled?: boolean;liveCommit?: boolean;+ stepper?: boolean;align?: "left" | "right";onPreview?: (nextValue: string) => void;onCommit: (nextValue: string) => void | Promise<unknown>;@@ -182,7 +185,7 @@ export function CommitField({};}, [disabled]);- return (+ const input = (<inputref={inputRef}type="text"@@ -220,4 +223,31 @@ export function CommitField({}`}/>);+ if (!stepper) return input;+ return (+ <span className="flex items-center gap-1">+ {input}+ <span className="flex shrink-0 flex-col">+ {([1, -1] as const).map((direction) => (+ <button+ key={direction}+ type="button"+ aria-label={t(direction === 1 ? "Increase" : "Decrease")}+ disabled={disabled || !parseNumericToken(draft)}+ onMouseDown={(event) => event.preventDefault()}+ onClick={(event) => {+ const next = adjustNumericToken(draftRef.current, direction, event);+ if (!next) return;+ settleGesture();+ dirtyRef.current = false;+ commitDraft(next);+ }}+ className="rounded-sm text-panel-text-3 hover:bg-panel-border-input/50 hover:text-panel-text-0 disabled:opacity-40"+ >+ <RemixIcon name="arrow-down-s-line" className={direction === 1 ? "rotate-180" : undefined} size={12} />+ </button>+ ))}+ </span>+ </span>+ );}diff --git a/studio/src/components/editor/propertyPanelFlatColorGradingAccessory.tsx b/studio/src/components/editor/propertyPanelFlatColorGradingAccessory.tsxindex 57df07b4..6db93b50 100644--- a/studio/src/components/editor/propertyPanelFlatColorGradingAccessory.tsx+++ b/studio/src/components/editor/propertyPanelFlatColorGradingAccessory.tsx@@ -80,17 +80,17 @@ export function FlatColorGradingAccessory({><Compare size={12} /></button>- <span className="flex min-w-0 items-center gap-1" title={runtimeStatus.message}>+ <span className="flex min-w-0 items-center gap-1" title={t(runtimeStatus.message)}><spandata-flat-grade-status-dot="true"- title={runtimeStatus.message}+ title={t(runtimeStatus.message)}className={`h-[5px] w-[5px] shrink-0 rounded-full ${STATUS_DOT_CLASS[runtimeStatus.state]}`}/><spandata-flat-grade-status-message="true"className="max-w-[84px] truncate text-[9px] text-panel-text-4">- {runtimeStatus.message}+ {t(runtimeStatus.message)}</span></span><buttondiff --git a/studio/src/components/editor/propertyPanelFlatColorGradingSection.tsx b/studio/src/components/editor/propertyPanelFlatColorGradingSection.tsxindex 99856b66..aac75f4f 100644--- a/studio/src/components/editor/propertyPanelFlatColorGradingSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatColorGradingSection.tsx@@ -217,7 +217,7 @@ export function FlatColorGradingSection({)}<div data-flat-grade-preset-group="presets" className={FLAT_PREVIEW_GRID}>{HF_COLOR_GRADING_GRADE_PRESETS.map((preset) => {- const label = preset.label;+ const label = t(preset.label);const selected = grading.preset === preset.id;const preview = presetPreviews.images[preset.id];return (@@ -232,7 +232,8 @@ export function FlatColorGradingSection({resolve: () => resolvePreset(preset.id),onPreview: onPreviewColorGrading,onCommit: onCommitColorGrading,- onTrack: (name) => track("button", `Apply ${name}`),+ onTrack: () => track("button", `Apply ${preset.label}`),+ t,})}className={`min-w-0 overflow-hidden border text-left text-[10px] transition-colors ${selecteddiff --git a/studio/src/components/editor/propertyPanelFlatEffectsSection.tsx b/studio/src/components/editor/propertyPanelFlatEffectsSection.tsxindex 78196300..795ccca9 100644--- a/studio/src/components/editor/propertyPanelFlatEffectsSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatEffectsSection.tsx@@ -158,7 +158,7 @@ export function FlatEffectsSection({<buttonkey={preset.id}type="button"- title={`${preset.group}: ${preset.label}`}+ title={`${t(preset.group)}: ${t(preset.label)}`}data-flat-effects-palette-preset={preset.id}aria-pressed={selected}onClick={() => {@@ -176,7 +176,7 @@ export function FlatEffectsSection({<span key={color} className="flex-1" style={{ backgroundColor: color }} />))}</span>- <span className="block truncate text-[8px] text-panel-text-3">{preset.label}</span>+ <span className="block truncate text-[8px] text-panel-text-3">{t(preset.label)}</span></button>);})}@@ -277,7 +277,7 @@ export function FlatEffectsSection({: "border-panel-hairline bg-panel-bg-soft text-panel-text-3 hover:border-panel-border-input hover:text-panel-text-1"}`}>- <span>{effect.label}</span>+ <span>{t(effect.label)}</span><span className="text-[9px] text-panel-text-5">{selected ? t("Editing") : t("Active")}</span>@@ -294,12 +294,12 @@ export function FlatEffectsSection({><div className="flex min-h-[26px] items-center justify-between gap-2"><span className="text-[11px] font-medium text-panel-text-1">- {selectedEffect.label}+ {t(selectedEffect.label)}</span><span className="flex items-center gap-2"><buttontype="button"- title={t("Reset {value0}", { value0: selectedEffect.label })}+ title={t("Reset {value0}", { value0: t(selectedEffect.label) })}onClick={() => applyEffect(selectedEffect)}className="text-panel-text-4 hover:text-panel-text-1">@@ -307,7 +307,7 @@ export function FlatEffectsSection({</button><buttontype="button"- title={t("Remove {value0}", { value0: selectedEffect.label })}+ title={t("Remove {value0}", { value0: t(selectedEffect.label) })}onClick={() => removeEffect(selectedEffect)}className="text-panel-text-4 hover:text-danger-ink">@@ -379,7 +379,7 @@ export function FlatEffectsSection({: "text-panel-text-4 hover:text-panel-text-1"}`}>- {group.label}+ {t(group.label)}</button>))}</div>@@ -406,6 +406,7 @@ export function FlatEffectsSection({onPreview: onPreviewColorGrading,onCommit: onCommitColorGrading,onTrack: (name) => track("button", `Apply ${name}`),+ t,})}className={`min-w-0 overflow-hidden border text-left text-[10px] transition-colors ${selected@@ -434,7 +435,7 @@ export function FlatEffectsSection({/>)}</span>- <span className="block truncate px-2 py-1.5">{preset.label}</span>+ <span className="block truncate px-2 py-1.5">{t(preset.label)}</span></button>);})}@@ -447,7 +448,7 @@ export function FlatEffectsSection({type="button"data-flat-effect-option={effect.key}aria-pressed={active}- title={t("Preview {value0}", { value0: effect.label })}+ title={t("Preview {value0}", { value0: t(effect.label) })}onPointerEnter={() =>onPreviewColorGrading(resolveEffect(effect), {animatedPreview: { kind: "effects", id: effect.key },@@ -490,7 +491,7 @@ export function FlatEffectsSection({/>)}</span>- <span className="block truncate px-2 py-1.5">{effect.label}</span>+ <span className="block truncate px-2 py-1.5">{t(effect.label)}</span></button>);})}diff --git a/studio/src/components/editor/propertyPanelFlatLayoutSection.tsx b/studio/src/components/editor/propertyPanelFlatLayoutSection.tsxindex 0eb7eaac..353e7aa9 100644--- a/studio/src/components/editor/propertyPanelFlatLayoutSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatLayoutSection.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";import { FlatRow, FlatSegmentedRow, FlatSelectRow } from "./propertyPanelFlatPrimitives";@@ -70,7 +71,8 @@ function KeyframeGutter({| "onConvertToKeyframes">) {const track = useTrackDesignInput();- if (!gsapAnimId) return null;+ const mvp = useMvpEditor();+ if (mvp || !gsapAnimId) return null;const hasKeyframesOnProp = Boolean(navKeyframes?.some((kf) => property in kf.properties));return (<span data-flat-kf-gutter="true" style={{ opacity: hasKeyframesOnProp ? 1 : 0.3 }}>@@ -122,6 +124,7 @@ export function LayoutGeometryRows({onConvertToKeyframes,}: GeometryRowsProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const readOnlyPreview = usePreviewReadOnly();const readOnlyPreviewReason = usePreviewReadOnlyReason();const readOnlyTooltip = readOnlyPreview ? readOnlyPreviewReason : undefined;@@ -174,15 +177,17 @@ export function LayoutGeometryRows({onCommit={(next) => commitManualSize("height", next)}suffix={<KeyframeGutter property="height" displayValue={displayH} {...gutterProps} />}/>- <FlatRow- label={t("Angle")}- value={`${displayR}°`}- tier="default"- disabled={manualRotationEditingDisabled}- tooltip={readOnlyTooltip}- onCommit={(next) => commitManualRotation(next.replace("°", ""))}- suffix={<KeyframeGutter property="rotation" displayValue={displayR} {...gutterProps} />}- />+ {!mvp && (+ <FlatRow+ label={t("Angle")}+ value={`${displayR}°`}+ tier="default"+ disabled={manualRotationEditingDisabled}+ tooltip={readOnlyTooltip}+ onCommit={(next) => commitManualRotation(next.replace("°", ""))}+ suffix={<KeyframeGutter property="rotation" displayValue={displayR} {...gutterProps} />}+ />+ )}</>);}@@ -195,6 +200,7 @@ export function LayoutZIndexRow({onSetStyle: (prop: string, value: string) => void | Promise<unknown>;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const zIndex = String(parseInt(styles["z-index"] || "auto", 10) || 0);return (<FlatRow@@ -216,6 +222,7 @@ export function LayoutFlexBlock({disabled: boolean;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const isFlex = styles.display === "flex" || styles.display === "inline-flex";if (!isFlex) return null;const direction = styles["flex-direction"] || "row";@@ -309,6 +316,7 @@ export function LayoutTransform3DBlock({onLivePreviewProps?: (element: DomEditSelection, props: Record<string, number>) => void;}) {const { t } = useI18n();+ const mvp = useMvpEditor();return (<div className="border-t border-panel-hairline pt-2.5"><div className="mb-[3px] text-[9px] font-semibold uppercase tracking-[0.12em] text-panel-text-5">@@ -368,9 +376,11 @@ export function FlatLayoutSection({onLivePreviewProps,...geometry}: FlatLayoutSectionProps) {+ const mvp = useMvpEditor();return (<div className="space-y-1.5"><LayoutGeometryRows element={element} {...geometry} />+ {!mvp && <><LayoutZIndexRow styles={styles} onSetStyle={onSetStyle} /><LayoutFlexBlock styles={styles} onSetStyle={onSetStyle} disabled={disabled} /><LayoutTransform3DBlock@@ -389,6 +399,7 @@ export function FlatLayoutSection({onConvertToKeyframes={geometry.onConvertToKeyframes}onLivePreviewProps={onLivePreviewProps}/>+ </>}</div>);}diff --git a/studio/src/components/editor/propertyPanelFlatMediaSection.tsx b/studio/src/components/editor/propertyPanelFlatMediaSection.tsxindex 05f5758f..529fc648 100644--- a/studio/src/components/editor/propertyPanelFlatMediaSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatMediaSection.tsx@@ -435,7 +435,7 @@ function MediaFadeSliders({return (<FlatSliderkey={edge}- label={t("Fade {edge}", { edge: edge })}+ label={t(edge === "in" ? "Fade in" : "Fade out")}value={Math.round(seconds * 100)}min={0}max={Math.round(edgeMax * 100)}diff --git a/studio/src/components/editor/propertyPanelFlatOverlaysSection.tsx b/studio/src/components/editor/propertyPanelFlatOverlaysSection.tsxindex b9c30bee..c341b4f8 100644--- a/studio/src/components/editor/propertyPanelFlatOverlaysSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatOverlaysSection.tsx@@ -58,9 +58,9 @@ export function FlatOverlaysSection({key={overlay.name}type="button"data-flat-overlay={overlay.name}- aria-label={t("Add {value0}", { value0: overlay.title })}+ aria-label={t("Add {value0}", { value0: t(overlay.title) })}disabled={busy}- title={overlay.description}+ title={t(overlay.description)}onPointerEnter={() => setPreviewing(overlay.name)}onPointerLeave={() => setPreviewing(null)}onFocus={() => setPreviewing(overlay.name)}@@ -101,7 +101,7 @@ export function FlatOverlaysSection({/></span><span className="block truncate px-2 py-1.5 text-[10px] text-panel-text-2">- {adding === overlay.name ? t("Adding…") : overlay.title}+ {adding === overlay.name ? t("Adding…") : t(overlay.title)}</span></button>))}diff --git a/studio/src/components/editor/propertyPanelFlatPrimitives.test.tsx b/studio/src/components/editor/propertyPanelFlatPrimitives.test.tsxindex c8999c8a..f1ec5c14 100644--- a/studio/src/components/editor/propertyPanelFlatPrimitives.test.tsx+++ b/studio/src/components/editor/propertyPanelFlatPrimitives.test.tsx@@ -28,6 +28,20 @@ function renderInto(node: React.ReactElement) {}describe("FlatRow", () => {+ it("steps the current numeric draft while preserving its unit", async () => {+ const onCommit = vi.fn();+ const { host, root } = renderInto(+ <FlatRow label="Size" value="27px" tier="default" boxed stepper onCommit={onCommit} />,+ );+ const buttons = host.querySelectorAll<HTMLButtonElement>("button");+ await act(async () => buttons[0].click());+ await act(async () => buttons[0].click());+ await act(async () => buttons[1].click());+ expect(onCommit.mock.calls.map(([value]) => value)).toEqual(["28px", "29px", "28px"]);+ expect(host.querySelector("input")?.value).toBe("28px");+ act(() => root.unmount());+ });+it("renders the default tier with no reset button", () => {const { host, root } = renderInto(<FlatRow label="Weight" value="400 · Regular" tier="default" onCommit={vi.fn()} />,diff --git a/studio/src/components/editor/propertyPanelFlatPrimitives.tsx b/studio/src/components/editor/propertyPanelFlatPrimitives.tsxindex c1bc4f70..15dcec3f 100644--- a/studio/src/components/editor/propertyPanelFlatPrimitives.tsx+++ b/studio/src/components/editor/propertyPanelFlatPrimitives.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { type ReactNode, useEffect, useRef, useState } from "react";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";@@ -23,6 +24,8 @@ export function FlatRow({disabled,tooltip,liveCommit,+ boxed,+ stepper,suffix,dropdown,onPreview,@@ -36,6 +39,8 @@ export function FlatRow({/** Shown as a title attribute, e.g. why the row is disabled. */tooltip?: string;liveCommit?: boolean;+ boxed?: boolean;+ stepper?: boolean;suffix?: ReactNode;/** Renders a trailing 10px caret-down, for select-backed rows. */dropdown?: boolean;@@ -51,10 +56,11 @@ export function FlatRow({<span className="flex min-w-0 shrink-0 items-center gap-1.5"><spandata-flat-row-value="true"- className={`min-w-0 border-b pb-px font-mono text-[11px] ${VALUE_TIER_VALUE_CLASS[tier]} ${- tier === "explicitCustom"+ className={`min-w-0 font-mono text-[11px] ${VALUE_TIER_VALUE_CLASS[tier]} ${boxed+ ? "w-24 rounded-md bg-panel-bg-inset px-2 py-1 focus-within:ring-1 focus-within:ring-panel-accent/30"+ : `border-b pb-px ${tier === "explicitCustom"? "border-panel-accent/30 group-hover:border-panel-accent/70"- : "border-panel-border-input/50 group-hover:border-panel-border-input"+ : "border-panel-border-input/50 group-hover:border-panel-border-input"}`}`}><CommitField@@ -62,6 +68,7 @@ export function FlatRow({disabled={disabled}liveCommit={liveCommit}align="right"+ stepper={stepper}onPreview={onPreview}onCommit={(nextValue) => {track("metric", label);@@ -85,15 +92,7 @@ export function FlatRow({</button>)}{dropdown && (- <svg- width="10"- height="10"- viewBox="0 0 10 10"- fill="currentColor"- className="shrink-0 text-panel-text-5"- >- <path d="M2 3l3 4 3-4z" />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} className="shrink-0 text-panel-text-5" />)}</span></div>@@ -121,12 +120,14 @@ export function FlatSegmentedRow({/** Index (0-based) after which to render a 12px spacer — for combined rows* like Text's "Case · Style", which pack two independent option groups. */spacerAfterIndex,+ filled,onChange,}: {label: string;options: FlatSegmentOption[];disabled?: boolean;spacerAfterIndex?: number;+ filled?: boolean;onChange: (nextKey: string) => void;}) {const { t } = useI18n();@@ -148,9 +149,11 @@ export function FlatSegmentedRow({onChange(option.key);}}className={`px-1.5 py-1 text-[11px] transition-colors disabled:cursor-not-allowed ${- option.active- ? "border-b-2 border-panel-accent text-panel-text-0"- : "border-b-2 border-transparent text-panel-text-4 hover:text-panel-text-2"+ filled+ ? `rounded-md ${option.active ? "bg-panel-bg-inset font-semibold text-panel-text-0" : "text-panel-text-4 hover:bg-panel-bg-inset hover:text-panel-text-2"}`+ : option.active+ ? "border-b-2 border-panel-accent text-panel-text-0"+ : "border-b-2 border-transparent text-panel-text-4 hover:text-panel-text-2"}`}>{typeof option.node === "string" ? t(option.node) : option.node}@@ -214,15 +217,7 @@ export function FlatGroupHeader({</span>)}</span>- <svg- width="12"- height="12"- viewBox="0 0 12 12"- fill="currentColor"- className="shrink-0 text-panel-text-5"- >- <path d="M4 2l4 4-4 4z" />- </svg>+ <RemixIcon name="arrow-right-s-line" size={14} className="shrink-0 text-panel-text-5" /></button>);}@@ -235,9 +230,7 @@ export function FlatGroupHeader({<span className="flex items-center gap-2.5 text-panel-text-5">{accessory}<button type="button" onClick={onToggleOpen} title={t("Collapse")} className="text-panel-text-3">- <svg width="12" height="12" viewBox="0 0 12 12" fill="currentColor">- <path d="M2 4l4 4 4-4z" />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} /></button></span></div>diff --git a/studio/src/components/editor/propertyPanelFlatSelectRow.tsx b/studio/src/components/editor/propertyPanelFlatSelectRow.tsxindex c7cdc94c..3d95fee4 100644--- a/studio/src/components/editor/propertyPanelFlatSelectRow.tsx+++ b/studio/src/components/editor/propertyPanelFlatSelectRow.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { RotateCcw } from "../../icons/SystemIcons";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";@@ -78,15 +79,7 @@ export function FlatSelectRow({</option>))}</select>- <svg- width="10"- height="10"- viewBox="0 0 10 10"- fill="currentColor"- className="shrink-0 text-panel-text-5"- >- <path d="M2 3l3 4 3-4z" />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} className="shrink-0 text-panel-text-5" /></label>{tier === "explicitCustom" && onReset && (<buttondiff --git a/studio/src/components/editor/propertyPanelFlatStyleSections.test.tsx b/studio/src/components/editor/propertyPanelFlatStyleSections.test.tsxindex a664e34b..fe7e0c36 100644--- a/studio/src/components/editor/propertyPanelFlatStyleSections.test.tsx+++ b/studio/src/components/editor/propertyPanelFlatStyleSections.test.tsx@@ -1,5 +1,6 @@// @vitest-environment happy-dom+import { StudioHostContext } from "../../motion/StudioHost";import React, { act } from "react";import { createRoot } from "react-dom/client";import { afterEach, describe, expect, it, vi } from "vitest";@@ -48,6 +49,7 @@ function renderSection(styles: Record<string, string> = {},overrides: Partial<DomEditSelection> = {},gsapBorderRadius: { tl: number; tr: number; br: number; bl: number } | null = null,+ mvpEditor = false,) {const host = document.createElement("div");document.body.append(host);@@ -57,7 +59,7 @@ function renderSection(const mergedStyles = { "background-color": "#0D0C09", "border-width": "0px", ...styles };act(() => {root.render(- <FlatStyleSection+ <StudioHostContext.Provider value={{ mvpEditor }}><FlatStyleSectionprojectId="proj-1"element={element}styles={mergedStyles}@@ -65,7 +67,7 @@ function renderSection(onSetStyle={onSetStyle}onSetHtmlAttribute={vi.fn()}gsapBorderRadius={gsapBorderRadius}- />,+ /></StudioHostContext.Provider>,);});return { host, root, onSetStyle };@@ -616,3 +618,54 @@ describe("FlatStyleSection — Opacity", () => {act(() => root.unmount());});});++it("MVP exposes only solid color and opacity, leaving authored effects untouched", () => {+ const styles = { "background-image": "linear-gradient(90deg, #000, #fff)", "box-shadow": "2px 2px 4px #000", "border-radius": "20px", filter: "blur(2px)" };+ const before = JSON.stringify(styles);+ const { host, root, onSetStyle } = renderSection(styles, {}, null, true);+ expect(host.textContent).toContain("Fill color");+ expect(host.textContent).toContain("Opacity");+ for (const label of ["Gradient", "Stroke", "Radius", "Shadow", "Blend", "Blur", "Mask"]) expect(host.textContent).not.toContain(label);+ expect(onSetStyle).not.toHaveBeenCalled();+ expect(JSON.stringify(styles)).toBe(before);+ act(() => root.unmount());+});++describe("MVP solid fill", () => {+ function openFill(host: HTMLElement) {+ act(() => host.querySelector<HTMLButtonElement>('[data-flat-color-trigger="true"]')!.click());+ return document.querySelector<HTMLInputElement>('input[spellcheck="false"]')!;+ }++ it.each(["linear-gradient(90deg, #000, #fff)", "none"])(+ "commits a pure color as one edit over %s, without touching other effects",+ (backgroundImage) => {+ const { host, root, onSetStyle } = renderSection({+ "background-image": backgroundImage,+ "border-radius": "20px",+ "box-shadow": "2px 2px 4px #000",+ }, {}, null, true);+ const input = openFill(host);+ act(() => setInputValue(input, "#FF0000"));+ expect(onSetStyle).not.toHaveBeenCalled();+ act(() => input.dispatchEvent(new Event("focusout", { bubbles: true })));+ expect(onSetStyle).toHaveBeenCalledExactlyOnceWith({+ "background-color": "rgb(255, 0, 0)",+ "background-image": "none",+ });+ act(() => root.unmount());+ },+ );++ it("keeps the gradient when opening or cancelling the color picker", () => {+ const { host, root, onSetStyle } = renderSection({+ "background-image": "linear-gradient(90deg, #000, #fff)",+ }, {}, null, true);+ const input = openFill(host);+ expect(onSetStyle).not.toHaveBeenCalled();+ act(() => setInputValue(input, "#FF0000"));+ act(() => document.dispatchEvent(new KeyboardEvent("keydown", { key: "Escape" })));+ expect(onSetStyle).not.toHaveBeenCalled();+ act(() => root.unmount());+ });+});diff --git a/studio/src/components/editor/propertyPanelFlatStyleSections.tsx b/studio/src/components/editor/propertyPanelFlatStyleSections.tsxindex bae2a4c6..ea1bbf0d 100644--- a/studio/src/components/editor/propertyPanelFlatStyleSections.tsx+++ b/studio/src/components/editor/propertyPanelFlatStyleSections.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";// fallow-ignore-file code-duplicationimport { useEffect, useState } from "react";@@ -475,13 +476,21 @@ export function FlatStyleSection({element: DomEditSelection;styles: Record<string, string>;assets: string[];- onSetStyle: (prop: string, value: string) => void | Promise<unknown>;+ onSetStyle: (prop: string | Record<string, string>, value?: string) => void | Promise<unknown>;onSetHtmlAttribute: (attr: string, value: string | null) => void | Promise<void>;onPreviewStyle?: (prop: string, value: string) => void;onImportAssets?: (files: FileList) => Promise<string[]>;gsapBorderRadius?: { tl: number; tr: number; br: number; bl: number } | null;}) {+ const { t } = useI18n();+ const mvp = useMvpEditor();const styleEditingDisabled = !element.capabilities.canEditStyles;+ if (mvp) return <div className="space-y-1.5">+ <ColorField flat label={t("Fill color")} value={styles["background-color"] ?? "transparent"}+ disabled={styleEditingDisabled} onPreview={next => onPreviewStyle?.("background-color", next)}+ onCommit={next => onSetStyle({ "background-color": next, "background-image": "none" })} />+ <FlatOpacitySlider styles={styles} disabled={styleEditingDisabled} onSetStyle={onSetStyle} />+ </div>;return (<div className="space-y-1.5"><FlatFillFieldsdiff --git a/studio/src/components/editor/propertyPanelFlatTextSection.test.tsx b/studio/src/components/editor/propertyPanelFlatTextSection.test.tsxindex 20411520..b9d9fe66 100644--- a/studio/src/components/editor/propertyPanelFlatTextSection.test.tsx+++ b/studio/src/components/editor/propertyPanelFlatTextSection.test.tsx@@ -1,5 +1,6 @@// @vitest-environment happy-dom+import { StudioHostContext } from "../../motion/StudioHost";import React, { act, useState } from "react";import { createRoot } from "react-dom/client";import { compile } from "tailwindcss";@@ -521,3 +522,25 @@ describe("FlatTextSection — multi-field", () => {act(() => root.unmount());});});++it("MVP keeps text, font, size, color and three alignments without changing advanced text styles", () => {+ const onSetTextFieldStyle = vi.fn();+ const element = makeSingleFieldElement({ inlineStyles: { "font-weight": "700", "font-style": "italic", "line-height": "1.4" } });+ const before = JSON.stringify(element.textFields);+ const { host, root } = renderInto(+ <StudioHostContext.Provider value={{ mvpEditor: true }}>+ <FlatTextSection element={element} styles={{}} fontAssets={[]}+ onSetText={vi.fn()} onSetTextFieldStyle={onSetTextFieldStyle}+ onAddTextField={vi.fn()} onRemoveTextField={vi.fn()} />+ </StudioHostContext.Provider>,+ );+ for (const label of ["Font", "Size", "Color"]) expect(host.textContent).toContain(label);+ for (const label of ["Weight", "Case · Style", "Tracking", "Leading"]) expect(host.textContent).not.toContain(label);+ const align = segmentedRowButtons(host, "Align");+ expect(align).toHaveLength(3);+ expect(onSetTextFieldStyle).not.toHaveBeenCalled();+ act(() => align.find(button => button.textContent === "C")!.click());+ expect(onSetTextFieldStyle).toHaveBeenCalledWith("a", "text-align", "center");+ expect(JSON.stringify(element.textFields)).toBe(before);+ act(() => root.unmount());+});diff --git a/studio/src/components/editor/propertyPanelFlatTextSection.tsx b/studio/src/components/editor/propertyPanelFlatTextSection.tsxindex 214f082f..66008192 100644--- a/studio/src/components/editor/propertyPanelFlatTextSection.tsx+++ b/studio/src/components/editor/propertyPanelFlatTextSection.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import type { PropertyPanelProps } from "./propertyPanelTypes";import { useEffect, useState } from "react";@@ -62,6 +64,7 @@ function FlatTextFieldEditor({autoFocus?: boolean;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const track = useTrackDesignInput();const weight = getTextStyleValue(field, styles, "font-weight", "400");const weightOptions = detectAvailableWeights(@@ -77,6 +80,7 @@ function FlatTextFieldEditor({{({ value, onCommit }) => (<TextAreaFieldflat+ boxed={mvp}label={t("Content")}value={value ?? field.value}autoFocus={autoFocus}@@ -102,12 +106,15 @@ function FlatTextFieldEditor({</PromotableControl><FlatRowlabel={t("Size")}+ boxed={mvp}+ stepper={mvp}value={field.computedStyles["font-size"] || styles["font-size"] || "16px"}tier={resolveValueTier(field.inlineStyles["font-size"], styles["font-size"] || "16px")}liveCommitonPreview={(next) => onPreviewTextFieldStyle?.(field.key, "font-size", next)}onCommit={(next) => onSetTextFieldStyle(field.key, "font-size", next)}/>+ {!mvp && <><div className="flex min-h-[30px] items-center justify-between"><spanclassName={@@ -135,15 +142,7 @@ function FlatTextFieldEditor({),)}</select>- <svg- width="10"- height="10"- viewBox="0 0 10 10"- fill="currentColor"- className="shrink-0 text-panel-text-5"- >- <path d="M2 3l3 4 3-4z" />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} className="shrink-0 text-panel-text-5" /></label></div><FlatRow@@ -172,9 +171,11 @@ function FlatTextFieldEditor({}onReset={() => onSetTextFieldStyle(field.key, "line-height", "")}/>+ </>}<FlatSegmentedRow+ filled={mvp}label={t("Align")}- options={ALIGN_OPTIONS.map((option) => ({+ options={ALIGN_OPTIONS.filter(option => !mvp || option.key !== "justify").map((option) => ({key: option.key,node: option.node,label: option.label,@@ -195,27 +196,29 @@ function FlatTextFieldEditor({onSetTextFieldStyle(field.key, "text-align", next);}}/>- <FlatSegmentedRow- label={t("Case · Style")}- options={[- ...CASE_OPTIONS.map((option) => ({- key: option.key,- node: option.node,- label: option.label,- active: textTransform === option.key,- })),- { key: "normal", node: "A", label: "upright", active: fontStyle === "normal" },- { key: "italic", node: "A", label: "italic", active: fontStyle === "italic" },- ]}- spacerAfterIndex={2}- onChange={(next) => {- if (next === "normal" || next === "italic") {- onSetTextFieldStyle(field.key, "font-style", next);- } else {- onSetTextFieldStyle(field.key, "text-transform", next);- }- }}- />+ {!mvp && (+ <FlatSegmentedRow+ label={t("Case · Style")}+ options={[+ ...CASE_OPTIONS.map((option) => ({+ key: option.key,+ node: option.node,+ label: option.label,+ active: textTransform === option.key,+ })),+ { key: "normal", node: "A", label: "upright", active: fontStyle === "normal" },+ { key: "italic", node: "A", label: "italic", active: fontStyle === "italic" },+ ]}+ spacerAfterIndex={2}+ onChange={(next) => {+ if (next === "normal" || next === "italic") {+ onSetTextFieldStyle(field.key, "font-style", next);+ } else {+ onSetTextFieldStyle(field.key, "text-transform", next);+ }+ }}+ />+ )}<PromotableControlchannel={{ kind: "style", prop: "color" }}enabled={field.source === "self"}diff --git a/studio/src/components/editor/propertyPanelFont.test.tsx b/studio/src/components/editor/propertyPanelFont.test.tsxindex bff75ca8..f6e1eb9f 100644--- a/studio/src/components/editor/propertyPanelFont.test.tsx+++ b/studio/src/components/editor/propertyPanelFont.test.tsx@@ -68,7 +68,9 @@ describe("FontFamilyField font list", () => {await act(async () => trigger?.click());await act(async () => new Promise((resolve) => setTimeout(resolve, 10)));expect(sortFontOptions).toHaveBeenCalled();- expect(host.textContent).toContain("Roboto Slab");+ expect(document.body.textContent).toContain("Roboto Slab");+ expect(host.querySelector('[role="combobox"]')).toBeNull();+ expect(document.body.querySelector('[role="combobox"]')).not.toBeNull();expect(document.head.querySelector('link[href*="fonts.googleapis.com"]')).toBeNull();} finally {act(() => root.unmount());@@ -122,7 +124,7 @@ describe("FontFamilyField session font lists", () => {await act(async () => vi.advanceTimersByTimeAsync(500));expect(t.uniqueFontFamilies).toHaveBeenCalledTimes(1);await act(async () => t.toggle());- expect(t.host.textContent).toContain("Roboto Slab");+ expect(document.body.textContent).toContain("Roboto Slab");} finally {stopLoop();t.done();@@ -142,7 +144,7 @@ describe("FontFamilyField session font lists", () => {await act(async () => t.toggle());await act(async () => new Promise((resolve) => setTimeout(resolve, 10)));expect(fetch).toHaveBeenCalledTimes(4);- expect(t.host.textContent).toContain("Roboto Slab");+ expect(document.body.textContent).toContain("Roboto Slab");} finally {t.done();}diff --git a/studio/src/components/editor/propertyPanelFont.tsx b/studio/src/components/editor/propertyPanelFont.tsxindex d6fdd6a2..d851a006 100644--- a/studio/src/components/editor/propertyPanelFont.tsx+++ b/studio/src/components/editor/propertyPanelFont.tsx@@ -1,3 +1,7 @@+import { SearchInput } from "../ui/SearchInput";+import { useMvpEditor } from "../../motion/StudioHost";+import { Popover } from "../ui/Popover";+import type { ReactElement } from "react";import { useI18n } from "../../i18n/I18n";import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";import {@@ -196,9 +200,9 @@ export function FontFamilyField({onCommit: (nextValue: string) => void;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const track = useTrackDesignInput();const currentFamily = primaryFontFamily(value);- const containerRef = useRef<HTMLDivElement | null>(null);const inputRef = useRef<HTMLInputElement | null>(null);const fontInputRef = useRef<HTMLInputElement | null>(null);const [open, setOpen] = useState(false);@@ -212,27 +216,12 @@ export function FontFamilyField({const [fontNotice, setFontNotice] = useState<string | null>(null);const canQueryLocalFonts =typeof window !== "undefined" && typeof window.queryLocalFonts === "function";+ const showLocalFontsButton = !mvp && canQueryLocalFonts;const commitFontFamily = (nextValue: string) => {if (nextValue !== value) track("select", "Font family");onCommit(nextValue);};- useEffect(() => {- if (!open) return;- const handlePointerDown = (event: PointerEvent) => {- const target = event.target;- if (!(target instanceof Node)) return;- if (!containerRef.current?.contains(target)) setOpen(false);- };- document.addEventListener("pointerdown", handlePointerDown);- return () => document.removeEventListener("pointerdown", handlePointerDown);- }, [open]);-- useEffect(() => {- if (!open) return;- requestAnimationFrame(() => inputRef.current?.focus());- }, [open]);-useEffect(() => {if (open) loadFontLists();}, [open]);@@ -411,11 +400,11 @@ export function FontFamilyField({};const dropdown = open && (- <div className="absolute left-0 right-0 top-[calc(100%+6px)] z-50 overflow-hidden rounded-xl border border-neutral-700 bg-neutral-950 shadow-2xl">- <div className="grid grid-cols-[minmax(0,1fr)_auto_auto] gap-2 border-b border-neutral-800 p-2">- <input+ <div className="flex max-h-[min(360px,var(--available-height))] min-h-0 flex-col">+ <div className={`grid shrink-0 ${showLocalFontsButton ? "grid-cols-[minmax(0,1fr)_auto_auto]" : "grid-cols-[minmax(0,1fr)_auto]"} gap-2 border-b border-neutral-800 p-2`}>+ <SearchInputref={inputRef}- type="text"+ aria-label={t("Search fonts")}value={query}disabled={disabled}placeholder={lists.loaded ? t("Search fonts") : t("Loading Google Fonts...")}@@ -452,9 +441,9 @@ export function FontFamilyField({role="combobox"aria-expanded={open}aria-autocomplete="list"- className="min-w-0 rounded-lg border border-neutral-800 bg-neutral-900 px-2.5 py-2 text-[11px] font-medium text-neutral-100 outline-hidden placeholder:text-neutral-600 focus:border-neutral-600"+ className="min-w-0"/>- {canQueryLocalFonts && (+ {showLocalFontsButton && (<buttontype="button"disabled={disabled || loadingLocalFonts}@@ -491,7 +480,7 @@ export function FontFamilyField({{fontNotice}</div>)}- <div className="max-h-64 overflow-y-auto p-1">+ <div className="min-h-0 flex-1 overflow-y-auto overscroll-contain p-1">{filteredOptions.length === 0 ? (<div className="px-2 py-3 text-[11px] text-neutral-500">{t("No fonts found.")}</div>) : (@@ -510,7 +499,7 @@ export function FontFamilyField({}`}><span className="flex min-w-0 items-center gap-1.5">- <span className="truncate font-medium" style={{ fontFamily: `"${option.family}"` }}>+ <span title={option.family} className="truncate font-medium" style={{ fontFamily: `"${option.family}"` }}>{option.family}</span>{renderAliasFor(option.family) && (@@ -520,7 +509,7 @@ export function FontFamilyField({)}</span><span className="shrink-0 text-[9px] uppercase tracking-[0.14em] text-neutral-600">- {option.source}+ {t(option.source)}</span></button>))@@ -529,15 +518,28 @@ export function FontFamilyField({</div>);+ const renderPicker = (trigger: ReactElement) => (+ <Popover+ open={open}+ onOpenChange={setOpen}+ trigger={trigger}+ align="end"+ aria-label={t("Font family")}+ initialFocus={inputRef}+ className="w-64 max-w-[calc(100vw-16px)] overflow-hidden p-0"+ >+ {dropdown}+ </Popover>+ );+if (flat) {return (- <div ref={containerRef} className="relative flex min-h-[30px] items-center justify-between">+ <div className="relative flex min-h-[30px] items-center justify-between"><span className="text-[11px] text-panel-text-2">{t("Font")}</span>- <button+ {renderPicker(<buttontype="button"data-flat-font-trigger="true"disabled={disabled}- onClick={() => setOpen((next) => !next)}className="flex items-center gap-1.5 disabled:cursor-not-allowed"><span@@ -555,19 +557,17 @@ export function FontFamilyField({><path d="M2 3l3 4 3-4z" /></svg>- </button>- {dropdown}+ </button>)}</div>);}return (- <div ref={containerRef} className="relative grid min-w-0 gap-1.5">+ <div className="relative grid min-w-0 gap-1.5"><span className={LABEL}>{t("Font family")}</span>- <button+ {renderPicker(<buttontype="button"disabled={disabled}- onClick={() => setOpen((next) => !next)}className={`${FIELD} flex h-10 items-center justify-between gap-3 text-left hover:border-neutral-700 disabled:cursor-not-allowed`}><span@@ -578,8 +578,7 @@ export function FontFamilyField({</span><span className="shrink-0 text-[10px] uppercase tracking-[0.14em] text-neutral-600">{t("Font")}</span>- </button>- {dropdown}+ </button>)}</div>);}diff --git a/studio/src/components/editor/propertyPanelFxAddMenu.tsx b/studio/src/components/editor/propertyPanelFxAddMenu.tsxindex 07133143..43b8d9aa 100644--- a/studio/src/components/editor/propertyPanelFxAddMenu.tsx+++ b/studio/src/components/editor/propertyPanelFxAddMenu.tsx@@ -163,7 +163,7 @@ export function FxAddMenu({{GROUPED.map(({ group, defs, jobs }) => (<div key={group} className="hf-fx-add-group flex flex-wrap items-center gap-1"><span className="hf-fx-add-group-label w-full font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- {GROUP_LABEL[group]}+ {t(GROUP_LABEL[group])}</span>{jobs.map((job) => (<button@@ -173,7 +173,7 @@ export function FxAddMenu({// that looked special would read as a preset rather than as the// thing the author is about to add.className="hf-fx-add-item rounded-[3px] bg-panel-surface px-1.5 py-0.5 text-[10px] text-panel-text-1 hover:text-panel-text-0"- title={job.does}+ title={t(job.does)}onClick={() => onJob(job)}onMouseEnter={() => {onAuditionLevel?.(false);@@ -181,7 +181,7 @@ export function FxAddMenu({}}onFocus={() => audition((base) => withJob(base, job))}>- {job.label}+ {t(job.label)}</button>))}{defs.map((d) => (@@ -194,7 +194,7 @@ export function FxAddMenu({// "Remove Rumble" appears. The registry's own description stays// as the tooltip beside the plain one: the mechanism is taught// here rather than withheld.- title={EFFECT_COPY[d.id] ? `${EFFECT_COPY[d.id]?.does} (${d.label})` : d.description}+ title={EFFECT_COPY[d.id] ? `${t(EFFECT_COPY[d.id]?.does ?? "")} (${t(d.label)})` : t(d.description)}onClick={() => onEffect(d.id)}// Cancels the levelling audition as well as starting its own.// The shelf's leave handler only fires on the way OUT of the@@ -208,7 +208,7 @@ export function FxAddMenu({}}onFocus={() => audition((base) => withEffect(base, d.id))}>- {EFFECT_COPY[d.id]?.title ?? d.label}+ {t(EFFECT_COPY[d.id]?.title ?? d.label)}</button>))}</div>diff --git a/studio/src/components/editor/propertyPanelFxBandRuler.tsx b/studio/src/components/editor/propertyPanelFxBandRuler.tsxindex 69757506..4931b305 100644--- a/studio/src/components/editor/propertyPanelFxBandRuler.tsx+++ b/studio/src/components/editor/propertyPanelFxBandRuler.tsx@@ -16,6 +16,7 @@* 2–20 kHz, and a linear ruler would crush six of the seven bands into a corner.*/+import { useI18n } from "../../i18n/I18n";import { audioBandAt, BANDS } from "@hyperframes/core/audio-fx-copy";const LOW = BANDS[0]?.from ?? 20;@@ -36,6 +37,7 @@ export interface FxBandRulerProps {}export function FxBandRuler({ band, at }: FxBandRulerProps) {+ const { t } = useI18n();const here = audioBandAt(at);if (!here) return null;const [from, to] = band;@@ -49,7 +51,7 @@ export function FxBandRuler({ band, at }: FxBandRulerProps) {return (<spankey={range.name}- title={`${range.name}: ${range.says}`}+ title={`${t(range.name)}: ${t(range.says)}`}className={range.name === here.name? "hf-fx-ruler-band bg-panel-accent"@@ -65,7 +67,7 @@ export function FxBandRuler({ band, at }: FxBandRulerProps) {})}</div><p className="hf-fx-ruler-label truncate pt-0.5 text-[9px] text-panel-text-2">- <span className="hf-fx-ruler-name text-panel-text-1">{here.name}</span>: {here.says}+ <span className="hf-fx-ruler-name text-panel-text-1">{t(here.name)}</span>: {t(here.says)}</p></div>);diff --git a/studio/src/components/editor/propertyPanelFxCarveModule.tsx b/studio/src/components/editor/propertyPanelFxCarveModule.tsxindex a775c202..1a6fd152 100644--- a/studio/src/components/editor/propertyPanelFxCarveModule.tsx+++ b/studio/src/components/editor/propertyPanelFxCarveModule.tsx@@ -1,4 +1,4 @@-import { useI18n } from "../../i18n/I18n";+import { useI18n, type Translate } from "../../i18n/I18n";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";/*** The voiceover carve, as one module in the FX rack.@@ -31,10 +31,10 @@ export interface AudioTrackOption {}/** What one effect inside the module is called: its own name, plus the band. */-function carveMemberName(node: HfAudioFxNode): string {+function carveMemberName(node: HfAudioFxNode, t: Translate): string {const def = getAudioFxDef(node.type);const freq = node.params?.["frequency"];- const label = def?.label ?? node.type;+ const label = t(def?.label ?? node.type);return typeof freq === "number" ? `${label} ${formatHz(freq)}` : label;}@@ -79,13 +79,14 @@ function FxCarveMember({automatedTargets?: ReadonlySet<string>;liveAutomationValues?: ReadonlyMap<string, number>;}) {+ const { t } = useI18n();const def = getAudioFxDef(node.type);if (!def) return null;const params = node.params ?? defaultAudioFxParams(node.type);return (<div className="hf-fx-carve-member flex flex-col gap-0.5 py-1 pl-3 pr-1.5"><span className="hf-fx-carve-member-name truncate font-mono text-[9px] text-panel-text-1">- {carveMemberName(node)}+ {carveMemberName(node, t)}</span><div className="flex flex-wrap gap-x-3 gap-y-0.5">{def.params.map((param) => {@@ -103,7 +104,7 @@ function FxCarveMember({{...(automated ? { "data-automated": "" } : {})}{...(driven ? { "data-automation-live": "" } : {})}>- <span className="text-panel-text-2">{param.label}</span>+ <span className="text-panel-text-2">{t(param.label)}</span><spanclassName="tabular-nums text-panel-text-1"style={{ minWidth: `${paramValueWidthCh(param)}ch` }}@@ -170,7 +171,7 @@ export function FxCarveModule({const on = carve.enabled;const trackInput = useTrackDesignInput();const soleVoice = soleCarveVoice(sourceOptions, carve.sources);- const summary = carveSummary({ nodes, carve, analysing });+ const summary = carveSummary({ nodes, carve, analysing }, t);// The carve's own colour, used three ways: the module's left edge, the title,// and the wash behind it. A preset gets a title treatment because it is a// character; the carve gets one because it is the only module in the rack@@ -313,18 +314,18 @@ function carveSummary(input: {nodes: HfAudioFxNode[];carve: HfCarveSettings;analysing?: boolean;-}): string {+}, t: Translate): string {const { nodes, carve, analysing } = input;- if (!carve.enabled) return "off";- if (analysing) return "analysing…";+ if (!carve.enabled) return t("off");+ if (analysing) return t("analysing…");const bands = nodes.filter((n) => n.type === "peaking").length;- if (bands === 0) return carve.sources.length > 0 ? "no analysis yet" : "pick a voice";+ if (bands === 0) return carve.sources.length > 0 ? t("no analysis yet") : t("pick a voice");return [- `${bands} band${bands === 1 ? "" : "s"}`,- ...(nodes.some((n) => n.type === "gain") ? ["level"] : []),+ t(bands === 1 ? "{count} band" : "{count} bands", { count: bands }),+ ...(nodes.some((n) => n.type === "gain") ? [t("level")] : []),// Worth saying when it is more than one: the cuts follow whoever is// speaking, and that is not obvious from a band count.- ...(carve.sources.length > 1 ? [`${carve.sources.length} voices`] : []),+ ...(carve.sources.length > 1 ? [t("{count} voices", { count: carve.sources.length })] : []),].join(" + ");}diff --git a/studio/src/components/editor/propertyPanelFxControls.tsx b/studio/src/components/editor/propertyPanelFxControls.tsxindex b8ab8735..cc4012b5 100644--- a/studio/src/components/editor/propertyPanelFxControls.tsx+++ b/studio/src/components/editor/propertyPanelFxControls.tsx@@ -1,3 +1,4 @@+import { systemMessage } from "../../i18n/systemMessages";import { useI18n } from "../../i18n/I18n";/*** Controls for one effect, generated from its registry entry.@@ -96,7 +97,7 @@ export function AutomationToggle({: "border-panel-border-input text-panel-text-2 hover:text-panel-text-0"}`}aria-pressed={automated}- aria-label={automated ? t("Remove {label} automation", { label: label }) : t("Automate {label}", { label: label })}+ aria-label={automated ? t("Remove {label} automation", { label: t(label) }) : t("Automate {label}", { label: t(label) })}onClick={() => (automated ? onRemoveAutomation?.(paramKey) : onAutomate?.(paramKey))}>A@@ -116,6 +117,7 @@ export function FxParamRow({onAutomate,onRemoveAutomation,}: ParamRowProps) {+ const { t } = useI18n();// While dragging, the slider is driven locally. Waiting for the value to come// back through the element attribute makes the control feel laggy and fights// the pointer.@@ -189,16 +191,16 @@ export function FxParamRow({if (param.kind === "enum") {return (- <label className="hf-fx-row flex min-h-6 items-center gap-2" title={param.hint}>+ <label className="hf-fx-row flex min-h-6 items-center gap-2" title={param.hint ? systemMessage(param.hint, t) : undefined}>{/* Wraps rather than truncating. These names are whole questions — "Howbig the space is" — so 86px of truncation left "How big the sp…", andthree rows of that read as the same word four times. A title onlyanswers it on hover, one row at a time; wrapping answers it for thewhole column at rest. `wrap-break-word` so a long single token breaks- instead of widening the column. The row keeps `title={param.hint}`:+ instead of widening the column. The row keeps a localized `title` for the hint:the name and the explanation are different questions. */}<span className="hf-fx-label w-[86px] shrink-0 wrap-break-word text-[10px] leading-tight text-panel-text-2">- {param.label}+ {t(param.label)}</span><selectclassName="hf-fx-select min-w-0 flex-1 rounded-[3px] bg-panel-surface px-1 py-0.5 font-mono text-[10px] text-panel-text-0"@@ -212,7 +214,7 @@ export function FxParamRow({>{param.options.map((o) => (<option key={o.value} value={o.value}>- {o.label}+ {t(o.label)}</option>))}</select>@@ -233,7 +235,7 @@ export function FxParamRow({return (<labelclassName={`hf-fx-row flex min-h-6 items-center gap-2${automated ? " hf-fx-row-automated" : ""}`}- title={param.hint}+ title={param.hint ? systemMessage(param.hint, t) : undefined}data-automated={automated ? "" : undefined}>{/* See the enum row above for why the name wraps instead of truncating. */}@@ -242,7 +244,7 @@ export function FxParamRow({automated ? "text-accent-ink" : "text-panel-text-2"}`}>- {param.label}+ {t(param.label)}</span><inputclassName="hf-fx-slider h-1 min-w-0 flex-1 accent-panel-accent"@@ -252,7 +254,7 @@ export function FxParamRow({step={(param.max - param.min) / 1000}value={toSlider(param, current)}disabled={locked}- aria-label={param.label}+ aria-label={t(param.label)}onPointerDown={() => setDragging(true)}onChange={(e) => handleNumber(fromSlider(param, Number(e.target.value)))}onPointerUp={commit}diff --git a/studio/src/components/editor/propertyPanelFxEqModule.tsx b/studio/src/components/editor/propertyPanelFxEqModule.tsxindex 9a8c0136..93749f76 100644--- a/studio/src/components/editor/propertyPanelFxEqModule.tsx+++ b/studio/src/components/editor/propertyPanelFxEqModule.tsx@@ -59,6 +59,7 @@ function Fader({* on the first move and the fader snaps out from under the pointer. Same* split the rack's other controls already make.*/+ const { t } = useI18n();const [local, setLocal] = useState(band.gain);const [dragging, setDragging] = useState(false);useEffect(() => {@@ -104,7 +105,7 @@ function Fader({step={0.5}value={value}disabled={disabled}- aria-label={`${band.name} ${shown(value)} dB`}+ aria-label={`${t(band.name)} ${shown(value)} dB`}onChange={(e) => move(Number(e.target.value))}onPointerUp={settle}onKeyUp={settle}@@ -112,7 +113,7 @@ function Fader({/></div><span className="hf-fx-eq-name w-full truncate text-center font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- {band.name}+ {t(band.name)}</span><spanclassName={`hf-fx-eq-value font-mono text-[9px] tabular-nums ${@@ -158,7 +159,7 @@ export function FxEqModule({onClick={onToggleOpen}>{t("Tone")}</button>- <span className="font-mono text-[9px] text-panel-text-2">{t('{count}-band', { count: bands.length })}</span>+ <span className="font-mono text-[9px] text-panel-text-2">{t("{count}-band", { count: bands.length })}</span><buttontype="button"className="hf-fx-remove px-1 text-[11px] text-panel-text-2 hover:text-danger-ink"diff --git a/studio/src/components/editor/propertyPanelFxNodeOpenBody.tsx b/studio/src/components/editor/propertyPanelFxNodeOpenBody.tsxindex 4351fd62..7a65ed7a 100644--- a/studio/src/components/editor/propertyPanelFxNodeOpenBody.tsx+++ b/studio/src/components/editor/propertyPanelFxNodeOpenBody.tsx@@ -56,6 +56,7 @@ function FxNodeDerivedKnob({onUpdate(index: number, patch: Partial<HfAudioFxNode>): void;trackKind?: string;}) {+ const { t } = useI18n();const trackInput = useTrackDesignInput();if (!derived) return null;return (@@ -75,8 +76,8 @@ function FxNodeDerivedKnob({</div>{profile ? (<p className="hf-fx-node-ends flex justify-between gap-2 px-1.5 pb-1 text-[9px] text-panel-text-2">- <span className="truncate">{profile.ends.low}</span>- <span className="truncate text-right">{profile.ends.high}</span>+ <span className="truncate">{t(profile.ends.low)}</span>+ <span className="truncate text-right">{t(profile.ends.high)}</span></p>) : null}</>@@ -113,6 +114,7 @@ function FxNodePrimaryKnob({disabled?: boolean;bypassed: boolean;}) {+ const { t } = useI18n();if (!primary) return null;return (<>@@ -134,8 +136,8 @@ function FxNodePrimaryKnob({the question they actually have. */}{copy?.primaryEnds ? (<p className="hf-fx-node-ends flex justify-between gap-2 px-1.5 pb-1 text-[9px] text-panel-text-2">- <span className="truncate">{copy.primaryEnds.low}</span>- <span className="truncate text-right">{copy.primaryEnds.high}</span>+ <span className="truncate">{t(copy.primaryEnds.low)}</span>+ <span className="truncate text-right">{t(copy.primaryEnds.high)}</span></p>) : null}{/* Where it is working, in the words the rack shares. Only for a module@@ -201,7 +203,7 @@ export function FxNodeOpenBody({{/* What it is for, before what it is made of. */}{copy?.does ? (<p className="hf-fx-node-does border-t border-panel-border-input px-1.5 py-1 text-[10px] text-panel-text-2">- {copy.does}+ {t(copy.does)}</p>) : null}{!details ? (@@ -247,11 +249,11 @@ export function FxNodeOpenBody({onClick={onToggleDetails}><span aria-hidden="true">{details ? "▾" : "▸"}</span>- {t("Details:")}{" "}{registryDef.label}+ {t("Details:")}{" "}{t(registryDef.label)}</button>) : (<p className="hf-fx-node-mechanism border-t border-panel-border-input px-1.5 pt-1 font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- {t("Details:")}{" "}{registryDef.label}+ {t("Details:")}{" "}{t(registryDef.label)}</p>)}{details || !oneKnob ? (diff --git a/studio/src/components/editor/propertyPanelFxNodeRow.tsx b/studio/src/components/editor/propertyPanelFxNodeRow.tsxindex d55c33e4..fc625f9b 100644--- a/studio/src/components/editor/propertyPanelFxNodeRow.tsx+++ b/studio/src/components/editor/propertyPanelFxNodeRow.tsx@@ -1,3 +1,4 @@+import { systemMessage } from "../../i18n/systemMessages";import { useI18n } from "../../i18n/I18n";import { useTrackDesignInput } from "../../contexts/DesignPanelInputContext";/**@@ -249,6 +250,7 @@ export function FxNodeRow({onPreview,trackKind,}: FxNodeRowProps) {+ const { t } = useI18n();const trackInput = useTrackDesignInput();const registryDef = getAudioFxDef(node.type);const def = useMemo(() => (registryDef ? plainDef(registryDef) : null), [registryDef]);@@ -300,7 +302,7 @@ export function FxNodeRow({// most specific truth available: a chain that cuts mud and then lifts// clarity must not show the same name twice. Then the plain name, and// the registry's only if an effect somehow has no copy.- label={node.label ?? EFFECT_COPY[node.type]?.title ?? registryDef.label}+ label={node.label && !node.fromPreset ? node.label : t(node.label ?? EFFECT_COPY[node.type]?.title ?? registryDef.label)}open={open}bypassed={bypassed}first={index === 0}@@ -318,9 +320,9 @@ export function FxNodeRow({{summary ? (<pclassName="hf-fx-node-summary truncate px-1.5 pb-1 text-[10px] text-panel-text-2"- title={summary}+ title={systemMessage(summary, t)}>- {summary}+ {systemMessage(summary, t)}</p>) : null}{open ? (diff --git a/studio/src/components/editor/propertyPanelFxPresetMenu.tsx b/studio/src/components/editor/propertyPanelFxPresetMenu.tsxindex 8c441eef..62767f01 100644--- a/studio/src/components/editor/propertyPanelFxPresetMenu.tsx+++ b/studio/src/components/editor/propertyPanelFxPresetMenu.tsx@@ -106,7 +106,7 @@ export function FxPresetMenu({{families.map((family) => (<div key={family} className="hf-fx-preset-group space-y-0.5"><span className="hf-fx-preset-group-label block font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- {FAMILY_LABEL[family]}+ {t(FAMILY_LABEL[family])}</span>{audioFxPresetsByFamily(family).map((preset) => (<button@@ -117,7 +117,7 @@ export function FxPresetMenu({// The description says what it does; the count is doing real work// — it tells the author a preset IS a chain they can open and// edit, rather than an opaque setting they cannot follow.- title={t("{description} ({count} effects)", { description: preset.description, count: preset.nodes.length })}+ title={t("{description} ({count} effects)", { description: t(preset.description), count: preset.nodes.length })}onClick={() => onPick(preset.id)}onMouseEnter={() => {reportAudition(preset.id);@@ -131,7 +131,7 @@ export function FxPresetMenu({}}><span className="hf-fx-preset-problem block truncate text-[10px]">- {PRESET_PROBLEM[preset.id] ?? preset.description}+ {t(PRESET_PROBLEM[preset.id] ?? preset.description)}</span>{/* "Clean Voice · 5 effects" — the count is on the row in thedesigns, not hidden in a tooltip. It is doing real work there:@@ -140,7 +140,7 @@ export function FxPresetMenu({its own span so `.hf-fx-preset-name` stays the NAME — severaltests read it as the preset's identity. */}<span className="block truncate font-mono text-[9px] text-panel-text-2">- <span className="hf-fx-preset-name">{preset.label}</span>+ <span className="hf-fx-preset-name">{t(preset.label)}</span><span className="hf-fx-preset-count">{" · "}{t("{count} effects", { count: preset.nodes.length })}diff --git a/studio/src/components/editor/propertyPanelFxPresetRun.tsx b/studio/src/components/editor/propertyPanelFxPresetRun.tsxindex 065695d1..b1ce202d 100644--- a/studio/src/components/editor/propertyPanelFxPresetRun.tsx+++ b/studio/src/components/editor/propertyPanelFxPresetRun.tsx@@ -162,14 +162,14 @@ export function FxPresetRun({}}aria-expanded={!collapsed}title={- collapsed ? t("Show what {value0} contains", { value0: preset.label }) : t("Hide {value0}'s effects", { value0: preset.label })+ collapsed ? t("Show what {value0} contains", { value0: t(preset.label) }) : t("Hide {value0}'s effects", { value0: t(preset.label) })}onClick={onToggleCollapse}><span className="hf-fx-preset-run-caret pr-1 font-mono opacity-60" aria-hidden="true">{collapsed ? "▸" : "▾"}</span>- {preset.label}+ {t(preset.label)}{/* Collapsed, the count is what says the preset is still a chainrather than one opaque effect. */}{collapsed ? (@@ -185,7 +185,7 @@ export function FxPresetRun({type="button"className="hf-fx-preset-run-toggle rounded-[3px] border border-panel-border-input px-1.5 py-0.5 font-mono text-[9px] text-panel-text-2 hover:text-panel-text-0 disabled:opacity-40"aria-pressed={runOn}- title={runOn ? t("Switch {value0} off", { value0: preset.label }) : t("Switch {value0} back on", { value0: preset.label })}+ title={runOn ? t("Switch {value0} off", { value0: t(preset.label) }) : t("Switch {value0} back on", { value0: t(preset.label) })}disabled={disabled}onClick={() => {onSetAmount(runOn ? 0 : 1);@@ -197,7 +197,7 @@ export function FxPresetRun({<buttontype="button"className="hf-fx-preset-run-remove px-1 font-mono text-[11px] text-panel-text-2 hover:text-danger-ink disabled:opacity-40"- title={t("Remove {value0}", { value0: preset.label })}+ title={t("Remove {value0}", { value0: t(preset.label) })}disabled={disabled}onClick={onRemoveRun}>diff --git a/studio/src/components/editor/propertyPanelFxRackChain.tsx b/studio/src/components/editor/propertyPanelFxRackChain.tsxindex 885c7027..c9ad1270 100644--- a/studio/src/components/editor/propertyPanelFxRackChain.tsx+++ b/studio/src/components/editor/propertyPanelFxRackChain.tsx@@ -117,8 +117,8 @@ export function FxRackChain({them the order reads as a list, which is the one reading that makes"move up" look cosmetic — it is the most consequential control here. */}<p className="hf-fx-term flex items-baseline gap-1.5 px-1.5 font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- <span className="hf-fx-term-cap text-panel-text-1">{t("In")}</span>- <span>{signalPath.inLabel}</span>+ <span className="hf-fx-term-cap text-panel-text-1">{t("Input")}</span>+ <span>{t(signalPath.inLabel)}</span></p>{/* Carve leads the rack, which is also where its effects sit in the signalpath — corrective work before anything the author added. Present@@ -159,8 +159,8 @@ export function FxRackChain({{handBuiltCount === 0 && eqIds.length === 0 ? (<p className="hf-fx-empty py-1 text-[11px] text-panel-text-2">{showCarve- ? t("No other effects on this {value0}.", { value0: signalPath.subject })- : t("No effects on this {value0}.", { value0: signalPath.subject })}+ ? t("No other effects on this {value0}.", { value0: t(signalPath.subject) })+ : t("No effects on this {value0}.", { value0: t(signalPath.subject) })}</p>) : (runs.map((run) => {@@ -203,8 +203,8 @@ export function FxRackChain({}))}<p className="hf-fx-term hf-fx-term-out flex items-baseline gap-1.5 px-1.5 font-mono text-[9px] uppercase tracking-wide text-panel-text-2">- <span className="hf-fx-term-cap text-panel-text-1">{t("Out")}</span>- <span>{signalPath.outLabel}</span>+ <span className="hf-fx-term-cap text-panel-text-1">{t("Output")}</span>+ <span>{t(signalPath.outLabel)}</span></p></div>);diff --git a/studio/src/components/editor/propertyPanelInputCoverage.test.tsx b/studio/src/components/editor/propertyPanelInputCoverage.test.tsxindex a1837e42..51a0026d 100644--- a/studio/src/components/editor/propertyPanelInputCoverage.test.tsx+++ b/studio/src/components/editor/propertyPanelInputCoverage.test.tsx@@ -385,7 +385,7 @@ describe.each(["classic", "flat"] as const)("shared %s input telemetry", (ui) =>ui === "flat" ? '[data-flat-font-trigger="true"]' : "button",);act(() => trigger?.dispatchEvent(new MouseEvent("click", { bubbles: true })));- const option = Array.from(host.querySelectorAll<HTMLButtonElement>("button")).find((button) =>+ const option = Array.from(document.body.querySelectorAll<HTMLButtonElement>("button")).find((button) =>button.textContent?.includes("sans-serif"),);if (!option) throw new Error("expected sans-serif font option");diff --git a/studio/src/components/editor/propertyPanelPresetPreview.ts b/studio/src/components/editor/propertyPanelPresetPreview.tsindex 601e25ef..25d64dad 100644--- a/studio/src/components/editor/propertyPanelPresetPreview.ts+++ b/studio/src/components/editor/propertyPanelPresetPreview.ts@@ -1,3 +1,4 @@+import { translate, type Translate } from "../../i18n/I18n";import type { NormalizedHfColorGrading } from "@hyperframes/core/color-grading";import type { ColorGradingPreviewOptions } from "./useColorGradingController";@@ -8,6 +9,7 @@ export function presetPreviewHandlers({onPreview,onCommit,onTrack,+ t = (message, values) => translate("en", message, values),}: {id: string;label: string;@@ -18,9 +20,10 @@ export function presetPreviewHandlers({) => void;onCommit: (grading: NormalizedHfColorGrading) => void;onTrack: (label: string) => void;+ t?: Translate;}) {return {- title: `Preview ${label}`,+ title: t("Preview {value0}", { value0: t(label) }),onPointerEnter: () =>onPreview(resolve(), {animatedPreview: { kind: "presets" as const, id },diff --git a/studio/src/components/editor/propertyPanelPrimitives.tsx b/studio/src/components/editor/propertyPanelPrimitives.tsxindex eb0443ce..1cd70e0f 100644--- a/studio/src/components/editor/propertyPanelPrimitives.tsx+++ b/studio/src/components/editor/propertyPanelPrimitives.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { useCallback, useEffect, useRef, useState, type ReactNode } from "react";import {@@ -304,17 +305,7 @@ export function Section({const { t } = useI18n();const [collapsed, setCollapsed] = useState(defaultCollapsed);const collapseIcon = (- <svg- width="10"- height="10"- viewBox="0 0 10 10"- fill="currentColor"- className={`shrink-0 text-panel-text-5 transition-transform duration-150 ${- collapsed ? "-rotate-90" : ""- }`}- >- <path d="M2 3l3 4 3-4z" />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} className={`shrink-0 text-panel-text-5 transition-transform duration-150 ${collapsed ? "-rotate-90" : ""}`} />);const section = slugifyPanelSectionTitle(title);diff --git a/studio/src/components/editor/propertyPanelSections.tsx b/studio/src/components/editor/propertyPanelSections.tsxindex d9e9c838..aafa2c60 100644--- a/studio/src/components/editor/propertyPanelSections.tsx+++ b/studio/src/components/editor/propertyPanelSections.tsx@@ -67,6 +67,7 @@ export function TextAreaField({disabled,autoFocus,flat,+ boxed,onCommit,}: {label: string;@@ -74,6 +75,7 @@ export function TextAreaField({disabled?: boolean;autoFocus?: boolean;flat?: boolean;+ boxed?: boolean;onCommit: (nextValue: string) => void;}) {const { t } = useI18n();@@ -137,7 +139,9 @@ export function TextAreaField({if (flat) {return (- <div className="border-l-2 border-panel-border-input py-0.5 pl-[10px]">+ <div className={boxed+ ? "rounded-md bg-panel-bg-inset px-3 py-2 focus-within:ring-1 focus-within:ring-panel-accent/30"+ : "border-l-2 border-panel-border-input py-0.5 pl-[10px]"}><div className="mb-[3px] text-[9px] font-semibold uppercase tracking-[0.12em] text-panel-text-5">{t(label)}</div>diff --git a/studio/src/components/editor/propertyPanelTypes.ts b/studio/src/components/editor/propertyPanelTypes.tsindex 7dab3a81..4d680084 100644--- a/studio/src/components/editor/propertyPanelTypes.ts+++ b/studio/src/components/editor/propertyPanelTypes.ts@@ -45,7 +45,8 @@ export interface PropertyPanelProps {copiedAgentPrompt: boolean;onClearSelection: () => void;onUngroup?: () => void;- onSetStyle: (prop: string, value: string) => void | Promise<unknown>;+ /** A style map is persisted atomically as one undoable edit. */+ onSetStyle: (prop: string | Record<string, string>, value?: string) => void | Promise<unknown>;onPreviewStyle?: (prop: string, value: string) => void;onSetAttribute: (attr: string, value: string) => void | Promise<void>;/** Commits several data-* attributes on the SAME element in ONE atomicdiff --git a/studio/src/components/editor/useLayerRevealOverride.test.ts b/studio/src/components/editor/useLayerRevealOverride.test.tsindex 080ce0af..d6da06e1 100644--- a/studio/src/components/editor/useLayerRevealOverride.test.ts+++ b/studio/src/components/editor/useLayerRevealOverride.test.ts@@ -110,6 +110,38 @@ describe("useLayerRevealOverride — delayed reveal ownership", () => {document.body.innerHTML = "";});+ it("ignores a reveal requested by a layer-selection continuation after its panel unmounts", async () => {+ const host = document.createElement("div");+ const background = makeEl("0", "absolute");+ document.body.appendChild(host);+ const root = createRoot(host);+ let scheduleReveal!: (element: HTMLElement, delayMs: number) => void;+ function Harness() {+ ({ scheduleReveal } = useLayerRevealOverride({+ isPlaying: false,+ selectedElement: background,+ }));+ return null;+ }+ act(() => root.render(React.createElement(Harness)));+ // Selecting a layer opens Properties and unmounts Layers while seekToLayer+ // is awaited. The old handler resumes after the hook's cleanup has run.+ let finishSeek!: () => void;+ const seek = new Promise<void>((resolve) => {+ finishSeek = resolve;+ });+ const selection = seek.then(() => scheduleReveal(background, 150));+ act(() => root.unmount());+ await act(async () => {+ finishSeek();+ await selection;+ });+ act(() => vi.advanceTimersByTime(150));+ expect(background.style.zIndex).toBe("0");+ expect(background.hasAttribute(LAYER_REVEAL_PRIOR_Z_ATTR)).toBe(false);+ expect(vi.getTimerCount()).toBe(0);+ });+it("cancels a pending reveal when selection changes or playback begins", () => {const host = document.createElement("div");const selected = makeEl("2", "absolute");diff --git a/studio/src/components/editor/useLayerRevealOverride.ts b/studio/src/components/editor/useLayerRevealOverride.tsindex bdd917e3..e73034ef 100644--- a/studio/src/components/editor/useLayerRevealOverride.ts+++ b/studio/src/components/editor/useLayerRevealOverride.ts@@ -313,6 +313,7 @@ export function useLayerRevealOverride({scheduleReveal: (element: HTMLElement, delayMs: number) => void;} {const stateRef = useRef<RevealState | null>(null);+ const mountedRef = useRef(false);const pendingRevealRef = useRef<{ timer: number; element: HTMLElement } | null>(null);const currentRef = useRef({ isPlaying, selectedElement });currentRef.current = { isPlaying, selectedElement };@@ -351,10 +352,15 @@ export function useLayerRevealOverride({(element: HTMLElement, delayMs: number) => {cancelScheduledReveal();const current = currentRef.current;- if (current.isPlaying) return;+ if (!mountedRef.current || current.isPlaying) return;const attemptReveal = () => {const latest = currentRef.current;- if (latest.isPlaying || latest.selectedElement !== element || !element.isConnected) {+ if (+ !mountedRef.current ||+ latest.isPlaying ||+ latest.selectedElement !== element ||+ !element.isConnected+ ) {pendingRevealRef.current = null;return;}@@ -382,14 +388,17 @@ export function useLayerRevealOverride({if (isPlaying || (base && selectedElement !== base)) restoreReveal();}, [cancelScheduledReveal, isPlaying, restoreReveal, selectedElement]);- // Unmount: never leave a timer or override behind.- useEffect(- () => () => {+ // Selecting a layer can open Properties and unmount this panel while its+ // async seek is pending. Reject the old handler when it resumes after cleanup;+ // merely clearing existing timers cannot cancel work not yet scheduled.+ useEffect(() => {+ mountedRef.current = true;+ return () => {+ mountedRef.current = false;cancelScheduledReveal();restoreReveal();- },- [cancelScheduledReveal, restoreReveal],- );+ };+ }, [cancelScheduledReveal, restoreReveal]);return { scheduleReveal };}diff --git a/studio/src/components/nle/AssetPreviewOverlay.tsx b/studio/src/components/nle/AssetPreviewOverlay.tsxindex 7c6e90c0..b3104e79 100644--- a/studio/src/components/nle/AssetPreviewOverlay.tsx+++ b/studio/src/components/nle/AssetPreviewOverlay.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";/*** CapCut-style asset preview overlay rendered inside PreviewPane.@@ -64,19 +65,7 @@ function AssetPreviewMedia({}return (<div className="flex flex-col items-center gap-3 px-6 py-4">- <svg- width="40"- height="40"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- className="text-neutral-500"- >- <path d="M9 18V5l12-2v13" strokeLinecap="round" strokeLinejoin="round" />- <circle cx="6" cy="18" r="3" />- <circle cx="18" cy="16" r="3" />- </svg>+ <RemixIcon name="music-2-line" size={40} /><audio src={serveUrl} controls className="w-64" /></div>);@@ -151,18 +140,7 @@ export function AssetPreviewOverlay() {}}aria-label={t("Close preview")}>- <svg- width="12"- height="12"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth="2.5"- fill="none"- strokeLinecap="round"- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>+ <RemixIcon name="close-line" size={14} /></button><AssetPreviewMedia kind={resolveAssetKind(previewAsset)} serveUrl={serveUrl} name={name} />diff --git a/studio/src/components/nle/CompositionBreadcrumb.tsx b/studio/src/components/nle/CompositionBreadcrumb.tsxindex fb661f32..181bef7c 100644--- a/studio/src/components/nle/CompositionBreadcrumb.tsx+++ b/studio/src/components/nle/CompositionBreadcrumb.tsx@@ -1,5 +1,5 @@import { useI18n } from "../../i18n/I18n";-import { ArrowLeft, CaretRight } from "@phosphor-icons/react";+import { ArrowLeft, CaretRight } from "../../icons/RemixIcons";import { trackStudioEvent } from "../../utils/studioTelemetry";export interface CompositionLevel {diff --git a/studio/src/components/nle/NLEPreview.test.ts b/studio/src/components/nle/NLEPreview.test.tsindex 102206d9..8e7ed9bc 100644--- a/studio/src/components/nle/NLEPreview.test.ts+++ b/studio/src/components/nle/NLEPreview.test.ts@@ -89,9 +89,11 @@ function renderPreview(box = { width: 800, height: 600 },fillBox,compositionSizeHint,+ zoomControlsTarget,}: {box?: { width: number; height: number };fillBox?: boolean;+ zoomControlsTarget?: HTMLElement;compositionSizeHint?: { width: number; height: number };} = {},) {@@ -115,6 +117,7 @@ function renderPreview(setShadowIframeNode: () => {},resetPreviewSlots: () => {},fillBox,+ zoomControlsTarget,compositionSizeHint,}),);@@ -323,7 +326,7 @@ describe("NLEPreview", () => {);});act(() => vi.advanceTimersByTime(300));- expect(chip(view)?.textContent).toBe("Panned·Fit");+ expect(chip(view)?.textContent).toBe("PannedFit");view.cleanup();});@@ -343,6 +346,30 @@ describe("NLEPreview", () => {view.cleanup();});+ it("keeps zoom and Fit in the panel header without a canvas readout", () => {+ const header = document.createElement("div");+ document.body.append(header);+ const view = renderPreview(undefined, { zoomControlsTarget: header });+ const fit = () => header.querySelector<HTMLButtonElement>('[data-testid="preview-zoom-fit"]')!;+ expect(header.textContent).toBe("100%");+ expect(fit()).toBeNull();+ expect(chip(view)).toBeNull();+ expect(view.host.querySelector('[aria-live="polite"]')).toBeNull();++ pinchIn(view, 10);+ act(() => vi.advanceTimersByTime(3000));+ expect(header.textContent).toMatch(/^2\d\d%Fit$/);+ expect(fit().disabled).toBe(false);+ expect(chip(view)).toBeNull();+ act(() => fit().click());+ act(() => vi.advanceTimersByTime(300));+ expect(view.stage.style.transform).toContain("scale(1)");+ expect(fit()).toBeNull();+ view.cleanup();+ expect(header.textContent).toBe("");+ header.remove();+ });+it("opens at Fit even when an older Studio saved a zoom", () => {localStorage.setItem("hf-studio-ui-preferences",@@ -375,7 +402,7 @@ describe("NLEPreview", () => {expect([chip(view), navigator(view)]).toEqual([null, null]);pinchIn(view, 10);- expect(chip(view)?.textContent).toMatch(/^Zoomed 2\d\d%·Fit$/);+ expect(chip(view)?.textContent).toMatch(/^Zoomed 2\d\d%Fit$/);const region = view.host.querySelector<HTMLElement>('[data-testid="preview-zoom-navigator-region"]',);diff --git a/studio/src/components/nle/NLEPreview.tsx b/studio/src/components/nle/NLEPreview.tsxindex b37cdd48..6465d4a5 100644--- a/studio/src/components/nle/NLEPreview.tsx+++ b/studio/src/components/nle/NLEPreview.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import {readPreviewCompositionSize,@@ -59,6 +60,7 @@ interface NLEPreviewProps extends Pick</** Draws the picture edge to edge in this box, without Studio's inset band. */fillBox?: boolean;compositionSizeHint?: PreviewCompositionSize;+ zoomControlsTarget?: HTMLElement | null;}export function getPreviewPlayerKey({@@ -93,6 +95,7 @@ export const NLEPreview = memo(function NLEPreview({onCompositionSizeChange,fillBox,compositionSizeHint,+ zoomControlsTarget,}: NLEPreviewProps) {const { t } = useI18n();const activeKey = getPreviewPlayerKey({ projectId, directUrl });@@ -115,7 +118,8 @@ export const NLEPreview = memo(function NLEPreview({const reportPreviewFirstFrame = usePreviewFirstFrameTelemetry(previewSlots);const [compositionSize, setCompositionSize] = useState<PreviewCompositionSize | null>(null);const poster = usePreviewPoster(projectId, activeKey, directUrl);- const gutterPx = usePreviewGuidesStore((s) => (s.rulerVisible ? RULER_GUTTER_PX : 0));+ const mvp = useMvpEditor();+ const gutterPx = usePreviewGuidesStore((s) => (s.rulerVisible && !mvp ? RULER_GUTTER_PX : 0));const insetPx = fillBox ? 0 : PREVIEW_STAGE_INSET_PX;const [stageSize, setStageSize] = useState(() => resolvePreviewStageSize(0, 0, null, portrait));const hintWidth = compositionSizeHint?.width;@@ -240,7 +244,7 @@ export const NLEPreview = memo(function NLEPreview({}// Live per-frame readout — without this the HUD shows an empty pill// on the first-ever zoom and a stale percentage mid-gesture.- hud.textContent = isPreviewAtFit(clamped) ? "Fit" : `${Math.round(clamped.zoomPercent)}%`;+ hud.textContent = isPreviewAtFit(clamped) ? t("Fit") : `${Math.round(clamped.zoomPercent)}%`;}}@@ -260,7 +264,7 @@ export const NLEPreview = memo(function NLEPreview({if (showHud) {const hud = hudRef.current;if (hud) {- hud.textContent = isPreviewAtFit(final) ? "Fit" : `${Math.round(final.zoomPercent)}%`;+ hud.textContent = isPreviewAtFit(final) ? t("Fit") : `${Math.round(final.zoomPercent)}%`;if (hudTimerRef.current) clearTimeout(hudTimerRef.current);hudTimerRef.current = setTimeout(() => {if (hudRef.current) hudRef.current.style.opacity = "0";@@ -269,7 +273,7 @@ export const NLEPreview = memo(function NLEPreview({}}, ZOOM_SETTLE_MS);},- [writeTransform],+ [writeTransform, t],);const applyZoom = useCallback(@@ -460,6 +464,7 @@ export const NLEPreview = memo(function NLEPreview({<div className="flex flex-col h-full min-h-0"><divref={viewportRef}+ style={mvp ? { background: "var(--motion-panel)" } : undefined}className="relative flex-1 flex items-center justify-center overflow-hidden min-h-0 outline-hidden focus:ring-1 focus:ring-studio-accent/40 bg-[var(--studio-preview-bg,var(--color-neutral-950))]"tabIndex={0}aria-label={t("Composition preview")}@@ -470,7 +475,7 @@ export const NLEPreview = memo(function NLEPreview({><divref={stageRef}- className="relative shrink-0 pointer-events-auto shadow-[0_0_0_1px_rgba(255,255,255,0.08),0_4px_32px_rgba(0,0,0,0.7)]"+ className={`relative shrink-0 pointer-events-auto ${mvp ? "motion-preview-frame" : "shadow-[0_0_0_1px_rgba(255,255,255,0.08),0_4px_32px_rgba(0,0,0,0.7)]"}`}style={{width: `${stageSize.width}px`,height: `${stageSize.height}px`,@@ -544,13 +549,16 @@ export const NLEPreview = memo(function NLEPreview({)}</div></div>- <div- ref={hudRef}- className="pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50 rounded-lg px-4 py-2 text-sm font-mono tabular-nums text-white/90 bg-black/60 backdrop-blur-xs shadow-lg"- style={{ opacity: 0, transition: "opacity 200ms ease-in" }}- aria-live="polite"- />+ {!zoomControlsTarget && (+ <div+ ref={hudRef}+ className="pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50 rounded-lg px-4 py-2 text-sm font-mono tabular-nums text-white/90 bg-black/60 backdrop-blur-xs shadow-lg"+ style={{ opacity: 0, transition: "opacity 200ms ease-in" }}+ aria-live="polite"+ />+ )}<PreviewZoomOverlay+ controlsTarget={zoomControlsTarget}zoom={settledZoom}stageSize={stageSize}onFit={() => {diff --git a/studio/src/components/nle/PreviewOverlays.tsx b/studio/src/components/nle/PreviewOverlays.tsxindex 28c782de..a0948278 100644--- a/studio/src/components/nle/PreviewOverlays.tsx+++ b/studio/src/components/nle/PreviewOverlays.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useCallback } from "react";import { CaptionOverlay } from "../../captions/components/CaptionOverlay";@@ -34,6 +35,7 @@ export function PreviewOverlays({gestureOverlay,}: PreviewOverlaysProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const { activeCompPath, previewIframeRef } = useStudioShellContext();const { captionEditMode, compositionLoading, isPlaying } = useStudioPlaybackContext();const compositionDimensions = useCompositionDimensions(previewIframeRef);@@ -131,15 +133,15 @@ export function PreviewOverlays({return (<><TopologyLens iframeRef={previewIframeRef} activeCompositionPath={activeCompPath} />- <GridOverlay />+ {!mvp && <GridOverlay />}<ConnectedDomEditOverlayactiveCompositionPath={activeCompPath}showHoverSelection={!previewCaptionEditMode && !compositionLoading && !isPlaying}shouldShowSelectedDomBounds={shouldShowSelectedDomBounds}isGestureRecording={isGestureRecording}/>- <SnapToolbar />- {!readOnly && (+ {!mvp && <SnapToolbar />}+ {!mvp && !readOnly && (<MotionPathOverlayiframeRef={previewIframeRef}selection={shouldShowMotionPath ? domEditSelection : null}diff --git a/studio/src/components/nle/PreviewPane.test.tsx b/studio/src/components/nle/PreviewPane.test.tsxindex b2ef7a14..30b766ef 100644--- a/studio/src/components/nle/PreviewPane.test.tsx+++ b/studio/src/components/nle/PreviewPane.test.tsx@@ -4,13 +4,14 @@ import React, { act } from "react";import { createRoot } from "react-dom/client";import { afterEach, describe, expect, it, vi } from "vitest";import { PreviewPane } from "./PreviewPane";+import { StudioHostContext } from "../../motion/StudioHost";(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;vi.mock("../editor/PreviewGuides", () => ({ PreviewGuides: () => <i data-testid="guides" /> }));vi.mock("../../player", () => ({ PlayerControls: () => null }));vi.mock("./NLEPreview", () => ({ NLEPreview: () => null }));-vi.mock("./CompositionBreadcrumb", () => ({ CompositionBreadcrumb: () => null }));+vi.mock("./CompositionBreadcrumb", () => ({ CompositionBreadcrumb: () => <nav data-testid="breadcrumb" /> }));vi.mock("./AssetPreviewOverlay", () => ({ AssetPreviewOverlay: () => null }));vi.mock("./usePreviewBlockDrop", () => ({usePreviewBlockDrop: () => ({@@ -28,7 +29,7 @@ vi.mock("./NLEContext", () => ({togglePlay: vi.fn(),seek: vi.fn(),onIframeLoad: vi.fn(),- compositionStack: [{ previewUrl: undefined }],+ compositionStack: [{ id: "master", previewUrl: undefined }, { id: "first.html", previewUrl: "/first.html" }],handleNavigateComposition: vi.fn(),setCompositionLoading: vi.fn(),timelineDisabled: false,@@ -50,3 +51,15 @@ describe("PreviewPane", () => {expect(host.querySelector('[data-testid="guides"]')).not.toBeNull();});});++it("omits duplicate preview navigation only in the MVP", () => {+ const host = document.createElement("div");+ document.body.append(host);+ const root = createRoot(host);+ act(() => root.render(<PreviewPane />));+ expect(host.querySelector('[data-testid="breadcrumb"]')).not.toBeNull();+ act(() => root.render(<StudioHostContext.Provider value={{ mvpEditor: true }}><PreviewPane /></StudioHostContext.Provider>));+ expect(host.querySelector('[data-testid="breadcrumb"]')).toBeNull();+ expect(host.querySelector('[data-testid="guides"]')).not.toBeNull();+ act(() => root.unmount());+});diff --git a/studio/src/components/nle/PreviewPane.tsx b/studio/src/components/nle/PreviewPane.tsxindex 78d78a6f..af7dc414 100644--- a/studio/src/components/nle/PreviewPane.tsx+++ b/studio/src/components/nle/PreviewPane.tsx@@ -1,6 +1,8 @@import { useCallback, useRef, useSyncExternalStore, type ReactNode } from "react";import { PlayerControls } from "../../player";+import { useMvpEditor } from "../../motion/StudioHost";import type { TimelineElement } from "../../player";+import { useDockHeaderSlot } from "../dock/DockHeaderSlots";import { NLEPreview } from "./NLEPreview";import { CompositionBreadcrumb } from "./CompositionBreadcrumb";import { usePreviewBlockDrop } from "./usePreviewBlockDrop";@@ -55,6 +57,8 @@ export function PreviewPane({onSelectTimelineElement,onPreviewBlockDrop,}: PreviewPaneProps) {+ const mvp = useMvpEditor();+ const previewHeader = useDockHeaderSlot("preview");const {projectId,iframeRef,@@ -115,10 +119,10 @@ export function PreviewPane({return (<divref={containerRef}- // A recessed well inset in its dock card; dropped in fullscreen so the- // preview fills the screen edge-to-edge. The player stays dark in both themes.+ // MVP keeps the inset spacing without a second frame inside the dock panel.+ // Fullscreen removes the inset so the preview fills the screen.className={`scheme-dark flex-1 min-h-0 flex flex-col overflow-hidden bg-[var(--studio-preview-bg,var(--color-neutral-950))] ${- isFullscreen ? "" : "m-3 rounded-md border border-border"+ isFullscreen ? "" : mvp ? "m-3" : "m-3 rounded-md border border-border"}`}data-studio-fullscreen-target="">@@ -135,6 +139,7 @@ export function PreviewPane({><div className="absolute inset-0 overflow-hidden"><NLEPreview+ zoomControlsTarget={mvp && !isFullscreen ? previewHeader : null}projectId={projectId}iframeRef={iframeRef}onIframeLoad={onIframeLoad}@@ -164,7 +169,7 @@ export function PreviewPane({{/* Transport row: no own background or border — the controls sit flat onthe preview panel's surface (CapCut-style). */}<div className="shrink-0">- {!isFullscreen && compositionStack.length > 1 && (+ {!mvp && !isFullscreen && compositionStack.length > 1 && (<CompositionBreadcrumb stack={compositionStack} onNavigate={handleNavigateComposition} />)}<PlayerControlsdiff --git a/studio/src/components/nle/PreviewZoomOverlay.tsx b/studio/src/components/nle/PreviewZoomOverlay.tsxindex 72594999..84f16650 100644--- a/studio/src/components/nle/PreviewZoomOverlay.tsx+++ b/studio/src/components/nle/PreviewZoomOverlay.tsx@@ -1,3 +1,4 @@+import { createPortal } from "react-dom";import { useI18n } from "../../i18n/I18n";import { useCallback, useEffect, useRef, type RefObject } from "react";import {@@ -10,10 +11,6 @@ import {const NAVIGATOR_PX = 112;-function zoomChipLabel(zoomPercent: number): string {- return isFitZoom(zoomPercent) ? "Panned" : `Zoomed ${Math.round(zoomPercent)}%`;-}-function navigatorFrameSize(stage: { width: number; height: number }) {const ratio = stage.width > 0 && stage.height > 0 ? stage.width / stage.height : 16 / 9;return ratio >= 1@@ -65,48 +62,57 @@ export function PreviewZoomOverlay({stageSize,onFit,navigatorRegionRef,+ controlsTarget,}: {+ controlsTarget?: HTMLElement | null;zoom: PreviewZoomState;stageSize: { width: number; height: number };onFit: () => void;navigatorRegionRef: (node: HTMLDivElement | null) => void;}) {const { t } = useI18n();- if (isPreviewAtFit(zoom)) return null;+ const atFit = isPreviewAtFit(zoom);+ if (atFit && !controlsTarget) return null;+ const controls = (+ <div+ className={controlsTarget+ ? "flex items-center gap-2 px-1 text-xs text-text-0 whitespace-nowrap"+ : "absolute top-3 left-1/2 -translate-x-1/2 z-50 flex items-center gap-1.5 rounded-md py-1 pl-2.5 pr-1 text-xs text-white/90 bg-black/80 backdrop-blur-xs"}+ data-testid="preview-zoom-chip"+ onPointerDown={(event) => event.stopPropagation()}+ >+ <span className="tabular-nums">{controlsTarget ? `${Math.round(zoom.zoomPercent)}%` : !atFit && isFitZoom(zoom.zoomPercent) ? t("Panned") : t("Zoomed {percent}%", { percent: Math.round(zoom.zoomPercent) })}</span>+ {!atFit && <button+ type="button"+ className={controlsTarget+ ? "rounded px-2 py-1 font-medium text-text-0 bg-hover hover:bg-press disabled:opacity-40 disabled:cursor-default"+ : "rounded px-1.5 py-0.5 font-medium text-white bg-white/15 hover:bg-white/25 transition-colors"}+ onClick={onFit}+ aria-label={t("Fit the whole frame in view")}+ data-testid="preview-zoom-fit"+ >+ {t("Fit")}+ </button>}+ </div>+ );return (<>- <div- className="absolute top-3 left-1/2 -translate-x-1/2 z-50 flex items-center gap-1.5 rounded-md py-1 pl-2.5 pr-1 text-xs text-white/80 bg-black/60 backdrop-blur-xs"- data-testid="preview-zoom-chip"- // The pane clears the timeline selection on a pointerdown outside the frame.- onPointerDown={(event) => event.stopPropagation()}- >- <span className="tabular-nums">{zoomChipLabel(zoom.zoomPercent)}</span>- <span aria-hidden="true" className="text-white/30">- ·- </span>- <button- type="button"- className="rounded px-1.5 py-0.5 font-medium text-accent-ink hover:bg-white/10 transition-colors"- onClick={onFit}- aria-label={t("Fit the whole frame in view")}- data-testid="preview-zoom-fit"+ {controlsTarget ? createPortal(controls, controlsTarget) : controls}+ {!atFit && (+ <div+ aria-hidden="true"+ className="pointer-events-none absolute bottom-3 right-3 z-50 rounded-md p-1.5 bg-black/60 backdrop-blur-xs"+ data-testid="preview-zoom-navigator">- {t("Fit")}</button>- </div>- <div- aria-hidden="true"- className="pointer-events-none absolute bottom-3 right-3 z-50 rounded-md p-1.5 bg-black/60 backdrop-blur-xs"- data-testid="preview-zoom-navigator"- >- <div className="relative overflow-hidden bg-white/10" style={navigatorFrameSize(stageSize)}>- <div- ref={navigatorRegionRef}- className="absolute rounded-[1px] border border-studio-accent bg-studio-accent/15"- data-testid="preview-zoom-navigator-region"- />+ <div className="relative overflow-hidden bg-white/10" style={navigatorFrameSize(stageSize)}>+ <div+ ref={navigatorRegionRef}+ className="absolute rounded-[1px] border border-studio-accent bg-studio-accent/15"+ data-testid="preview-zoom-navigator-region"+ />+ </div></div>- </div>+ )}</>);}diff --git a/studio/src/components/renders/RenderQueue.test.tsx b/studio/src/components/renders/RenderQueue.test.tsxindex dad74d98..1e5d6ed3 100644--- a/studio/src/components/renders/RenderQueue.test.tsx+++ b/studio/src/components/renders/RenderQueue.test.tsx@@ -1,5 +1,6 @@// @vitest-environment happy-dom+import { StudioHostContext } from "../../motion/StudioHost";import { act } from "react";import { createRoot, type Root } from "react-dom/client";import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest";@@ -8,6 +9,7 @@ import { getPersistedRenderSettings } from "./renderSettings";import { buttonBase, buttonSizes, buttonVariants, cn } from "../ui";import { isTypingTarget } from "../../utils/typingTarget";import { shouldIgnorePlaybackShortcutTarget } from "../../player/lib/playbackShortcuts";+import type { RenderJob } from "./useRenderQueue";import type { FfmpegStatus } from "./useFfmpegStatus";// Encoder availability arrives as a prop (useRenderQueue owns the probe), so@@ -36,14 +38,16 @@ afterEach(() => {function mountRenderQueue(onStartRender: Mock<StartRenderHandler>,compositionDimensions = { width: 1920, height: 1080 },+ mvpEditor = false,+ jobs: RenderJob[] = [],) {const host = document.createElement("div");document.body.append(host);root = createRoot(host);act(() => {root?.render(- <RenderQueue- jobs={[]}+ <StudioHostContext.Provider value={{ mvpEditor }}><RenderQueue+ jobs={jobs}projectId="demo"onDelete={vi.fn()}onClearCompleted={vi.fn()}@@ -53,7 +57,7 @@ function mountRenderQueue(ffmpeg={ffmpegStatus}ffmpegChecking={false}onRecheckFfmpeg={recheck}- />,+ /></StudioHostContext.Provider>,);});return host;@@ -352,3 +356,33 @@ describe("GIF frame-rate controls", () => {expect(onStartRender).toHaveBeenLastCalledWith("gif", "standard", "auto", 30, false, 0);});});++it("MVP exports keep quality and frame rate while ignoring hidden GIF/GPU preferences", async () => {+ localStorage.setItem("hf-studio-render-settings", JSON.stringify({ format: "gif", gpu: true, quality: "high", fps: 60 }));+ const start = vi.fn();+ const host = mountRenderQueue(start, undefined, true);+ expect(triggerFor(host, "Format").textContent).toContain("MP4");+ expect(host.textContent).not.toContain("GPU");+ fire(exportButtonIn(host), "click");+ await settle();+ expect(start).toHaveBeenCalledWith("mp4", "high", "auto", 60, false);+});+++describe("RenderQueue history", () => {+ it("shows newest exports first without mutating history or offering MVP hide-finished", () => {+ const jobs: RenderJob[] = [+ { id: "older", filename: "older.mp4", status: "complete", createdAt: 100, progress: 100 },+ { id: "newest", filename: "newest.mp4", status: "complete", createdAt: 300, progress: 100, durationMs: 5000 },+ { id: "middle", filename: "middle.mp4", status: "complete", createdAt: 200, progress: 100 },+ ];+ const host = mountRenderQueue(vi.fn(), undefined, true, jobs);+ const text = host.textContent ?? "";+ expect(text.indexOf("newest.mp4")).toBeGreaterThanOrEqual(0);+ expect(text.indexOf("newest.mp4")).toBeLessThan(text.indexOf("middle.mp4"));+ expect(text.indexOf("middle.mp4")).toBeLessThan(text.indexOf("older.mp4"));+ expect(text).not.toContain("Hide finished");+ expect(text).not.toContain("Last render");+ expect(jobs.map((job) => job.id)).toEqual(["older", "newest", "middle"]);+ });+});diff --git a/studio/src/components/renders/RenderQueue.tsx b/studio/src/components/renders/RenderQueue.tsxindex fc8b9992..a2ed47d6 100644--- a/studio/src/components/renders/RenderQueue.tsx+++ b/studio/src/components/renders/RenderQueue.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n, type Translate } from "../../i18n/I18n";import { memo, useState, useRef, useEffect, useLayoutEffect, useId } from "react";import { createPortal } from "react-dom";@@ -152,7 +154,7 @@ function scaleOptionLabel(// Estimated, like COLOR_PICKER_SIZE in propertyPanelColor: only the flip// decision uses the height, and the clamp keeps the panel on screen either way.-const FORMAT_PANEL_SIZE = { width: 208, height: 210 };+const FORMAT_PANEL_SIZE = { width: 264, height: 176 };// Rich format guidance in a keyboard-reachable disclosure: the trigger is a// real button (focusable, labelled), the panel is tied to it via@@ -160,7 +162,7 @@ const FORMAT_PANEL_SIZE = { width: 208, height: 210 };// for the one-line ui/Tooltip primitive, so this stays a local popover.// It renders in a portal because the right panel is overflow-hidden: an// in-flow absolute panel gets clipped at the panel edge.-function FormatInfoTooltip({ format }: { format: "mp4" | "webm" | "mov" | "gif" }) {+function FormatInfoTooltip({ mvp }: { mvp: boolean }) {const { t } = useI18n();const [open, setOpen] = useState(false);const [position, setPosition] = useState<FloatingPosition | null>(null);@@ -203,8 +205,6 @@ function FormatInfoTooltip({ format }: { format: "mp4" | "webm" | "mov" | "gif"return () => document.removeEventListener("keydown", onKeyDown);}, [open]);- const info = FORMAT_INFO[format];-return (<div ref={triggerRef} className="relative" onPointerEnter={show} onPointerLeave={hide}><button@@ -217,21 +217,7 @@ function FormatInfoTooltip({ format }: { format: "mp4" | "webm" | "mov" | "gif"onClick={() => setOpen((prev) => !prev)}className="flex items-center justify-center p-0.5 -m-0.5 rounded-sm text-text-5 hover:text-text-3 transition-colors cursor-help outline-hidden focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-accent">- <svg- width="12"- height="12"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- <circle cx="12" cy="12" r="10" />- <path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3" />- <line x1="12" y1="17" x2="12.01" y2="17" />- </svg>+ <RemixIcon name="question-line" size={14} /></button>{open &&createPortal(@@ -240,22 +226,17 @@ function FormatInfoTooltip({ format }: { format: "mp4" | "webm" | "mov" | "gif"role="tooltip"onPointerEnter={show}onPointerLeave={hide}- className="fixed w-52 p-2 rounded-sm bg-input border border-border-input shadow-menu z-200"+ className="fixed w-[264px] max-w-[calc(100vw-16px)] p-3 rounded-md bg-surface border border-border-input shadow-menu z-200 space-y-2 text-step-12 leading-relaxed"style={{ left: position?.left ?? -9999, top: position?.top ?? -9999 }}>- <p className="text-step-10 font-semibold text-text-1 mb-0.5">{info.label}</p>- <p className="text-step-9 text-text-3 leading-tight">{t(info.desc)}</p>- <div className="mt-1.5 pt-1.5 border-t border-border">- {(["mp4", "mov", "webm", "gif"] as const)- .filter((f) => f !== format)- .map((f) => (- <p key={f} className="text-step-9 text-text-4 leading-relaxed">- <span className="text-text-3 font-medium">{FORMAT_INFO[f].label}</span>- {": "}- {t(FORMAT_INFO[f].desc)}- </p>- ))}- </div>+ {(["mp4", "mov", "webm", "gif"] as const)+ .filter((f) => !mvp || f !== "gif")+ .map((f) => (+ <p key={f} className="text-text-3">+ <span className="text-text-1 font-semibold">{f === "webm" ? "WebM" : f.toUpperCase()}</span>+ {" · "}{t(FORMAT_INFO[f].desc)}+ </p>+ ))}</div>,document.body,)}@@ -295,7 +276,8 @@ function FormatExportButton({}) {const { t } = useI18n();const persisted = getPersistedRenderSettings();- const [format, setFormat] = useState<"mp4" | "webm" | "mov" | "gif">(persisted.format);+ const mvp = useMvpEditor();+ const [format, setFormat] = useState<"mp4" | "webm" | "mov" | "gif">(mvp && persisted.format === "gif" ? "mp4" : persisted.format);const [quality, setQuality] = useState<"draft" | "standard" | "high">(persisted.quality);const [resolution, setResolution] = useState<RenderScale>("auto");const [requestedFps, setFps] = useState<24 | 30 | 60>(persisted.fps);@@ -328,12 +310,12 @@ function FormatExportButton({<div className="flex flex-col gap-1"><div className="flex items-center gap-1"><span className="text-step-10 text-text-4">{t("Format")}</span>- <FormatInfoTooltip format={format} />+ <FormatInfoTooltip mvp={mvp} /></div><Selectlabel={t("Format")}value={format}- options={FORMAT_OPTIONS}+ options={mvp ? FORMAT_OPTIONS.filter(option => option.value !== "gif") : FORMAT_OPTIONS}disabled={isRendering}onCommit={(next) => {const v = resolveRenderFormat(next);@@ -394,15 +376,17 @@ function FormatExportButton({invalid={invalidGifLoop}onChange={setGifLoop}/>- <GpuEncodingToggle- format={format}- checked={gpu}- disabled={isRendering}- onToggle={() => {- setGpu(!gpu);- persistRenderSettings(format, quality, fps, !gpu);- }}- />+ {!mvp && (+ <GpuEncodingToggle+ format={format}+ checked={gpu}+ disabled={isRendering}+ onToggle={() => {+ setGpu(!gpu);+ persistRenderSettings(format, quality, fps, !gpu);+ }}+ />+ )}<Buttonvariant="primary"size="md"@@ -421,7 +405,7 @@ function FormatExportButton({quality,resolution: outputResolution,fps,- gpu,+ gpu: mvp ? false : gpu,gifLoop: loopCount,});}}@@ -432,7 +416,7 @@ function FormatExportButton({>{isRendering ? t("Rendering…") : t("Export")}</Button>- <RenderDurationNote durationMs={lastRenderDurationMs} isRendering={isRendering} />+ {!mvp && <RenderDurationNote durationMs={lastRenderDurationMs} isRendering={isRendering} />}</div>);}@@ -457,17 +441,20 @@ export const RenderQueue = memo(function RenderQueue({const { t } = useI18n();const listRef = useRef<HTMLDivElement>(null);- // Auto-scroll to bottom when new jobs are added.+ const mvp = useMvpEditor();+ const sortedJobs = [...jobs].sort((a, b) => b.createdAt - a.createdAt);+ const newestJobId = sortedJobs[0]?.id;++ // Reveal the newest job when it changes, without jumping on older history loads.// Runs in an effect to avoid side effects during the render phase.useEffect(() => {if (listRef.current) {- listRef.current.scrollTo({ top: listRef.current.scrollHeight, behavior: "smooth" });+ listRef.current.scrollTo({ top: 0, behavior: "smooth" });}- }, [jobs.length]);+ }, [newestJobId]);const completedCount = jobs.filter((j) => j.status !== "rendering").length;- const lastRenderDurationMs = [...jobs]- .reverse()+ const lastRenderDurationMs = sortedJobs.find((j) => j.status === "complete" && j.durationMs !== undefined)?.durationMs;return (@@ -497,18 +484,7 @@ export const RenderQueue = memo(function RenderQueue({aria-label={t("Dismiss error")}className="shrink-0"icon={- <svg- width="10"- height="10"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- aria-hidden="true"- >- <path d="M18 6L6 18M6 6l12 12" />- </svg>+ <RemixIcon name="close-line" size={14} />}/>)}@@ -527,49 +503,25 @@ export const RenderQueue = memo(function RenderQueue({</div>) : jobs.length === 0 ? (<div className="flex flex-col items-center justify-center h-full px-4 gap-2">- <svg- width="20"- height="20"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- className="text-text-5"- >- <rect- x="2"- y="2"- width="20"- height="20"- rx="2.18"- ry="2.18"- strokeLinecap="round"- strokeLinejoin="round"- />- <path- d="M7 2v20M17 2v20M2 12h20M2 7h5M2 17h5M17 17h5M17 7h5"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>+ <RemixIcon name="film-line" size={24} className="text-text-5" /><p className="text-step-10 text-text-5 text-center">{t("No renders yet")}</p></div>) : (<div>{completedCount > 0 && (- <div className="flex items-center justify-between px-3 py-1.5 border-b border-border">+ <div className="flex items-center justify-between px-3 py-1.5"><span className="text-step-10 text-text-4">{t("{count} renders", { count: jobs.length })}</span>{/* "Hide", not "Clear": files stay on disk (delete is per-rowand confirmed); hidden rows don't resurrect on reload. */}- <Tooltip label={t("Hide finished renders from this list (files stay on disk)")}>+ {!mvp && <Tooltip label={t("Hide finished renders from this list (files stay on disk)")}><Button size="sm" variant="ghost" onClick={onClearCompleted}>{t("Hide finished")}</Button>- </Tooltip>+ </Tooltip>}</div>)}- {jobs.map((job) => (+ {sortedJobs.map((job) => (<RenderQueueItemkey={job.id}job={job}diff --git a/studio/src/components/renders/RenderQueueInfo.tsx b/studio/src/components/renders/RenderQueueInfo.tsxindex 3eea8802..f025bf39 100644--- a/studio/src/components/renders/RenderQueueInfo.tsx+++ b/studio/src/components/renders/RenderQueueInfo.tsx@@ -22,9 +22,6 @@ export function RenderQueueInfo({ job }: { job: RenderJob }) {<div className="flex-1 min-w-0"><div className="flex items-center gap-1.5"><span className="text-step-11 font-medium text-text-2 truncate">{job.filename}</span>- {job.durationMs && (- <span className="text-step-9 text-text-5 shrink-0">{formatDuration(job.durationMs)}</span>- )}</div>{isRendering && (@@ -57,7 +54,14 @@ export function RenderQueueInfo({ job }: { job: RenderJob }) {)}{!isRendering && (- <span className="text-step-9 text-text-5">{formatTimeAgo(job.createdAt, locale)}</span>+ <div className="flex flex-wrap items-center gap-x-1 text-step-9 text-text-5">+ <span>{formatTimeAgo(job.createdAt, locale)}</span>+ {job.status === "complete" && job.durationMs !== undefined && (+ <span className="whitespace-nowrap">+ · {t("Took {value0}", { value0: formatDuration(job.durationMs) })}+ </span>+ )}+ </div>)}</div>);diff --git a/studio/src/components/renders/RenderQueueItem.tsx b/studio/src/components/renders/RenderQueueItem.tsxindex 8018f36a..94199c5a 100644--- a/studio/src/components/renders/RenderQueueItem.tsx+++ b/studio/src/components/renders/RenderQueueItem.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { buildProjectApiPath } from "../../utils/projectRouting";import { memo, useCallback, useState } from "react";@@ -148,25 +149,11 @@ export const RenderQueueItem = memo(function RenderQueueItem({disabled={!isComplete}aria-label={t("Download {value0}", { value0: job.filename })}icon={- <svg- width="12"- height="12"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4" />- <polyline points="7 10 12 15 17 10" />- <line x1="12" y1="15" x2="12" y2="3" />- </svg>+ <RemixIcon name="download-2-line" size={14} />}/></Tooltip>- <Tooltip label={t("Delete render file")}>+ <Tooltip label={t("Delete")}><IconButtonsize="sm"onClick={(e) => {@@ -175,18 +162,7 @@ export const RenderQueueItem = memo(function RenderQueueItem({}}aria-label={t("Delete {value0}", { value0: job.filename })}icon={- <svg- width="12"- height="12"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- aria-hidden="true"- >- <path d="M18 6L6 18M6 6l12 12" />- </svg>+ <RemixIcon name="delete-bin-line" size={14} />}/></Tooltip>diff --git a/studio/src/components/renders/renderSettings.ts b/studio/src/components/renders/renderSettings.tsindex f847af28..5d3da9e0 100644--- a/studio/src/components/renders/renderSettings.ts+++ b/studio/src/components/renders/renderSettings.ts@@ -67,15 +67,15 @@ export function isRenderExportBlocked(export const FORMAT_INFO: Record<"mp4" | "webm" | "mov" | "gif", { label: string; desc: string }> ={- gif: { label: "GIF", desc: "Animated image for docs and chat. No audio; up to 30 fps." },- mp4: { label: "MP4", desc: "Best for general use. Smallest file, universal playback." },+ gif: { label: "GIF", desc: "Animated image, no audio. Up to 30 fps." },+ mp4: { label: "MP4", desc: "Everyday video, widely compatible." },mov: {label: "MOV (ProRes 4444)",- desc: "Transparent video. Works in Final Cut Pro, DaVinci Resolve, and most video editors. Large files.",+ desc: "Transparent video for editing. Larger files.",},webm: {label: "WebM (VP9)",- desc: "Transparent video for web. Smaller than MOV but limited editor support.",+ desc: "Transparent video for web. Limited editor support.",},};diff --git a/studio/src/components/sidebar/AssetCard.test.tsx b/studio/src/components/sidebar/AssetCard.test.tsxindex 5ee895ab..919b14d3 100644--- a/studio/src/components/sidebar/AssetCard.test.tsx+++ b/studio/src/components/sidebar/AssetCard.test.tsx@@ -7,6 +7,7 @@ import { usePlayerStore, type TimelineElement } from "../../player/store/playerSimport { useAssetPreviewStore } from "../../utils/assetPreviewStore";import { AssetCard } from "./AssetCard";import { AudioRow } from "./AudioRow";+import { InlineAssetRename } from "./InlineAssetRename";(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;@@ -37,6 +38,52 @@ function clip(input: Partial<TimelineElement> & { id: string; src: string }): Tireturn { tag: "div", start: 0, duration: 5, track: 0, ...input };}+describe("inline asset rename", () => {+ function setup(value: string) {+ const rename = vi.fn();+ const done = vi.fn();+ const host = mount(<InlineAssetRename asset="assets/video.mp4" onRename={rename} onDone={done} />);+ const input = host.querySelector("input")!;+ act(() => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!.call(input, value);+ input.dispatchEvent(new Event("input", { bubbles: true }));+ });+ return { input, host, rename, done };+ }+ it("saves on blur in the original directory", () => {+ const { input, rename, done } = setup("new.mp4");+ act(() => input.blur());+ expect(rename).toHaveBeenCalledWith("assets/video.mp4", "assets/new.mp4");+ expect(done).toHaveBeenCalledOnce();+ });+ it("commits Enter once even if followed by blur", () => {+ const { input, rename } = setup("new.mp4");+ act(() => input.dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: true })));+ act(() => input.blur());+ expect(rename).toHaveBeenCalledOnce();+ });+ it("cancels with Escape and ignores its subsequent blur", () => {+ const { input, rename, done } = setup("new.mp4");+ act(() => input.dispatchEvent(new KeyboardEvent("keydown", { key: "Escape", bubbles: true })));+ act(() => input.blur());+ expect(rename).not.toHaveBeenCalled();+ expect(done).toHaveBeenCalledOnce();+ });+ it("restores empty names and blocks path traversal", () => {+ const empty = setup(" ");+ act(() => empty.input.blur());+ expect(empty.rename).not.toHaveBeenCalled();+ expect(empty.done).toHaveBeenCalledOnce();+ act(() => root?.unmount());+ root = null;+ const invalid = setup("../other.mp4");+ act(() => invalid.input.blur());+ expect(invalid.rename).not.toHaveBeenCalled();+ expect(invalid.done).not.toHaveBeenCalled();+ expect(invalid.input.getAttribute("aria-invalid")).toBe("true");+ });+});+/** Simulate a drag-free click: pointerdown + pointerup at the same point. */function clickCard(host: HTMLElement): void {const card = host.querySelector('[draggable="true"]');@@ -104,3 +151,24 @@ describe("AudioRow click behavior", () => {expect(useAssetPreviewStore.getState().previewAsset).toBe("assets/bgm.mp3");});});++it('renames audio in its caption, saves on blur, and does not activate preview while typing', () => {+ const rename = vi.fn();+ const host = mount(<AudioRow projectId="p1" asset="assets/music.wav" used={false} onCopy={vi.fn()} copyFeedback={null} onRename={rename} />);+ act(() => host.querySelector<HTMLButtonElement>('.motion-audio-menu-button')!.click());+ act(() => Array.from(document.querySelectorAll<HTMLButtonElement>('[role="menuitem"]')).find(b => b.textContent === 'Rename')!.click());+ expect(document.querySelector('[role="menu"]')).toBeNull();+ const input = host.querySelector('input')!;+ expect(document.activeElement).toBe(input);+ expect(input.value).toBe('music.wav');+ act(() => {+ input.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true }));+ input.dispatchEvent(new PointerEvent('pointerup', { bubbles: true }));+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input, 'music 111.wav');+ input.dispatchEvent(new Event('input', { bubbles: true }));+ });+ expect(useAssetPreviewStore.getState().previewAsset).toBeNull();+ act(() => input.blur());+ expect(rename).toHaveBeenCalledWith('assets/music.wav', 'assets/music 111.wav');+ expect(host.querySelector('input')).toBeNull();+});diff --git a/studio/src/components/sidebar/AssetCard.tsx b/studio/src/components/sidebar/AssetCard.tsxindex f14f8da8..4b31f69e 100644--- a/studio/src/components/sidebar/AssetCard.tsx+++ b/studio/src/components/sidebar/AssetCard.tsx@@ -1,18 +1,21 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";/*** AssetCard and FontRow — visual asset tile / row components for the Assets panel.* Extracted from AssetsTab.tsx to keep that file under the 600-line CI gate.*/import { useState, useEffect, useRef, useCallback } from "react";+import { Tooltip } from "../ui/Tooltip";import { VideoFrameThumbnail } from "../ui/VideoFrameThumbnail";import { VIDEO_EXT, IMAGE_EXT } from "../../utils/mediaTypes";import { TIMELINE_ASSET_MIME } from "../../utils/timelineAssetDrop";import { ContextMenu } from "./AssetContextMenu";+import { InlineAssetRename } from "./InlineAssetRename";import { usePlayerStore } from "../../player/store/playerStore";import { timelineClipFocusId } from "../../player/components/timelineNavigationIdentity";import { useAssetPreviewStore } from "../../utils/assetPreviewStore";import { findClipForAsset, isPointerClick } from "../../utils/assetClickBehavior";-import { basename, ext, truncateMiddle, formatDuration, type CopyFeedback } from "./assetHelpers";+import { basename, ext, formatDuration, type CopyFeedback } from "./assetHelpers";import { resolveMediaPreviewUrl } from "../../player/components/thumbnailUtils";/** Drag payload writer shared by the asset tile and the font row: copy effect@@ -116,7 +119,7 @@ export interface AssetCardProps {}/**- * Thumbnail card for images and video assets. Renders in a 2-col grid.+ * Thumbnail card for images and video assets in the responsive media grid.** Click behaviour (CapCut-style):* - Already added → selects the clip on the timeline (setSelectedElementId).@@ -139,6 +142,7 @@ export function AssetCard({const { t } = useI18n();const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);const [hovered, setHovered] = useState(false);+ const [renaming, setRenaming] = useState(false);const [imgError, setImgError] = useState(false);const isCopied = copyFeedback?.path === asset && copyFeedback.ok;const fullName = asset.split("/").pop() ?? asset;@@ -226,12 +230,12 @@ export function AssetCard({onContextMenu={(e) => openAssetContextMenu(e, setContextMenu)}onPointerEnter={() => setHovered(true)}onPointerLeave={() => setHovered(false)}- className={`flex flex-col gap-1 cursor-pointer rounded-md p-1 transition-colors outline-hidden focus-visible:bg-neutral-800/60 ${- isCopied ? "bg-studio-accent/10" : "hover:bg-neutral-800/40"+ className={`cursor-pointer rounded-md overflow-hidden bg-neutral-900 transition-colors outline-hidden focus-visible:bg-neutral-800/60 ${+ isCopied ? "bg-studio-accent/10" : "hover:bg-neutral-800"}`}>{/* Thumbnail */}- <div className="w-full aspect-video rounded-sm overflow-hidden bg-neutral-900 relative">+ <div className="w-full aspect-video overflow-hidden bg-neutral-900 relative">{isImage && !imgError && (<imgsrc={serveUrl}@@ -276,18 +280,15 @@ export function AssetCard({)}</div>- {/* Filename caption */}- <div className="flex items-center justify-center gap-1">- <span- className={`text-[10px] leading-tight text-center ${- used ? "text-panel-text-2" : "text-panel-text-4"- }`}- title={fullName}- >- {truncateMiddle(fullName, 22)}- </span>+ {/* Match catalog caption spacing and typography; keep actions beside the name. */}+ <div className="flex items-center gap-1 px-1.5 py-1.5">+ {renaming && onRename ? <InlineAssetRename asset={asset} onRename={onRename} onDone={() => setRenaming(false)} /> : <Tooltip label={fullName} lines={3}>+ <span className="min-w-0 flex-1 text-[10px] font-medium text-neutral-200 truncate leading-tight text-left">+ {fullName}+ </span>+ </Tooltip>}<CopyChip feedback={copyFeedback} asset={asset} />- <button type="button" className="motion-asset-menu-button" aria-label={t("Actions for {value0}", { value0: fullName })} aria-haspopup="menu" onPointerDown={e => e.stopPropagation()} onPointerUp={e => e.stopPropagation()} onClick={e => { e.stopPropagation(); const rect = e.currentTarget.getBoundingClientRect(); setContextMenu({ x: rect.left, y: rect.bottom }); }}>…</button>+ <button type="button" className="motion-asset-menu-button" aria-label={t("Actions for {value0}", { value0: fullName })} aria-haspopup="menu" onPointerDown={e => e.stopPropagation()} onPointerUp={e => e.stopPropagation()} onClick={e => { e.stopPropagation(); const rect = e.currentTarget.getBoundingClientRect(); setContextMenu({ x: rect.left, y: rect.bottom }); }}><RemixIcon name="more-line" size={16} /></button></div></div>@@ -300,6 +301,7 @@ export function AssetCard({onCopy={onCopy}onDelete={onDelete}onRename={onRename}+ onStartRename={() => setRenaming(true)}onAddAtPlayhead={onAddAssetToTimeline}onPreview={path => setPreviewAsset(path, projectId)}downloadUrl={serveUrl}diff --git a/studio/src/components/sidebar/AssetContextMenu.test.tsx b/studio/src/components/sidebar/AssetContextMenu.test.tsxnew file mode 100644index 00000000..a66e13c1--- /dev/null+++ b/studio/src/components/sidebar/AssetContextMenu.test.tsx@@ -0,0 +1,72 @@+// @vitest-environment happy-dom+import React, { act } from "react";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, expect, it, vi } from "vitest";+import { I18nProvider } from "../../i18n/I18n";+import { StudioHostContext } from "../../motion/StudioHost";+import { ContextMenu } from "./AssetContextMenu";++(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;+let root: Root;+afterEach(() => {+ act(() => root?.unmount());+ document.body.innerHTML = "";+ vi.restoreAllMocks();+});++function mount(x = 100, y = 200) {+ const host = document.createElement("div");+ host.style.overflow = "hidden";+ host.style.containerType = "inline-size";+ document.body.append(host);+ root = createRoot(host);+ const callbacks = { onClose: vi.fn(), onCopy: vi.fn(), onRename: vi.fn(), onDelete: vi.fn() };+ act(() => root.render(+ <I18nProvider initialLocale="zh-CN">+ <StudioHostContext.Provider value={{ mvpEditor: true }}>+ <ContextMenu x={x} y={y} asset="assets/clip.mp4" {...callbacks} />+ </StudioHostContext.Provider>+ </I18nProvider>,+ ));+ return { host, ...callbacks };+}++function click(label: string) {+ const button = Array.from(document.querySelectorAll("button")).find(el => el.textContent === label);+ expect(button).toBeTruthy();+ act(() => button!.click());+}++it("escapes the clipping panel while retaining locale and MVP menu actions", () => {+ const { host, onClose, onDelete, onRename } = mount();+ const menu = document.querySelector('[role="menu"]')!;+ expect(host.contains(menu)).toBe(false);+ expect(menu.parentElement?.parentElement).toBe(document.body);+ expect(Array.from(menu.querySelectorAll('[role="menuitem"]')).map(el => el.textContent)).toEqual(["重命名", "删除"]);+ click("重命名");+ expect(document.querySelector("input")?.value).toBe("clip.mp4");+ click("取消");+ click("删除");+ expect(menu.textContent).toContain("clip.mp4?");+ click("取消");+ expect(onDelete).not.toHaveBeenCalled();+ expect(onRename).not.toHaveBeenCalled();+ act(() => document.dispatchEvent(new KeyboardEvent("keydown", { key: "Escape", bubbles: true })));+ expect(onClose).toHaveBeenCalledOnce();+});++it("keeps menus opened at the bottom right inside the viewport", () => {+ vi.spyOn(HTMLElement.prototype, "getBoundingClientRect").mockReturnValue({ width: 160, height: 60 } as DOMRect);+ mount(window.innerWidth, window.innerHeight);+ const menu = document.querySelector<HTMLElement>('[role="menu"]')!;+ expect(menu.style.left).toBe(`${window.innerWidth - 168}px`);+ expect(menu.style.top).toBe(`${window.innerHeight - 68}px`);+});++it("does not place oversized or offscreen menus above or left of the viewport", () => {+ vi.spyOn(HTMLElement.prototype, "getBoundingClientRect").mockReturnValue({ width: 2000, height: 2000 } as DOMRect);+ mount(-10, -10);+ const menu = document.querySelector<HTMLElement>('[role="menu"]')!;+ expect(menu.style.left).toBe("8px");+ expect(menu.style.top).toBe("8px");+});diff --git a/studio/src/components/sidebar/AssetContextMenu.tsx b/studio/src/components/sidebar/AssetContextMenu.tsxindex e56f4cd3..9a5f5b65 100644--- a/studio/src/components/sidebar/AssetContextMenu.tsx+++ b/studio/src/components/sidebar/AssetContextMenu.tsx@@ -1,5 +1,7 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";+import { createPortal } from "react-dom";import { filename } from "./assetHelpers";import { menuClasses } from "../ui/menuStyle";@@ -17,6 +19,7 @@ export function ContextMenu({onCopy,onDelete,onRename,+ onStartRename,onAddAtPlayhead,onPreview,downloadUrl,@@ -28,11 +31,13 @@ export function ContextMenu({onCopy: (path: string) => void;onDelete?: (path: string) => void;onRename?: (oldPath: string, newPath: string) => void;+ onStartRename?: () => void;onAddAtPlayhead?: (path: string) => void;onPreview?: (path: string) => void;downloadUrl?: string;}) {const { t } = useI18n();+ const mvp = useMvpEditor();const menuRef = useRef<HTMLDivElement>(null);const [pos, setPos] = useState({ x, y });const [mode, setMode] = useState<"menu" | "confirm-delete" | "rename">("menu");@@ -46,8 +51,8 @@ export function ContextMenu({const rect = el.getBoundingClientRect();const margin = 8;setPos({- x: Math.min(x, window.innerWidth - rect.width - margin),- y: Math.min(y, window.innerHeight - rect.height - margin),+ x: Math.max(margin, Math.min(x, window.innerWidth - rect.width - margin)),+ y: Math.max(margin, Math.min(y, window.innerHeight - rect.height - margin)),});}, [x, y, mode]);@@ -103,7 +108,8 @@ export function ContextMenu({const itemCls = `${menuClasses.row} ${menuClasses.rowEnabled} active:bg-neutral-700/70 transition-colors`;- return (+ // Dock containers clip overflow and establish containing blocks for fixed elements.+ return createPortal(<divclassName="fixed inset-0 z-200"onClick={onClose}@@ -117,13 +123,13 @@ export function ContextMenu({role="menu"aria-label={t("Actions for {value0}", { value0: filename(asset) })}className={`${menuClasses.panel} absolute min-w-[160px] text-xs`}- style={{ left: pos.x, top: pos.y }}+ style={{ left: pos.x, top: pos.y, maxWidth: "calc(100vw - 16px)", maxHeight: "calc(100vh - 16px)", overflow: "auto" }}onClick={(e) => e.stopPropagation()}>{mode === "menu" && (<>- {onPreview && <button role="menuitem" className={itemCls} onClick={() => { onPreview(asset); onClose(); }}>{t("Show in preview")}</button>}- {onAddAtPlayhead && (+ {!mvp && onPreview && <button role="menuitem" className={itemCls} onClick={() => { onPreview(asset); onClose(); }}>{t("Show in preview")}</button>}+ {!mvp && onAddAtPlayhead && (<buttonrole="menuitem"onClick={() => {@@ -134,7 +140,7 @@ export function ContextMenu({>{t("Add at playhead")}</button>)}- <button+{!mvp && <> <buttonrole="menuitem"onClick={() => {onCopy(asset);@@ -142,10 +148,10 @@ export function ContextMenu({}}className={itemCls}>- {t("Copy path")}</button>- {downloadUrl && <a role="menuitem" className={itemCls} href={downloadUrl} download={filename(asset)} onClick={onClose}>{t("Download file")}</a>}+ {t("Copy path")}</button> </>}+ {!mvp && downloadUrl && <a role="menuitem" className={itemCls} href={downloadUrl} download={filename(asset)} onClick={onClose}>{t("Download file")}</a>}{onRename && (- <button role="menuitem" onClick={() => setMode("rename")} className={itemCls}>+ <button role="menuitem" onClick={() => { if (onStartRename) { onClose(); onStartRename(); } else setMode("rename"); }} className={itemCls}>{t("Rename")}</button>)}{onDelete && (@@ -203,7 +209,8 @@ export function ContextMenu({</div>)}</div>- </div>+ </div>,+ document.body,);}diff --git a/studio/src/components/sidebar/AssetsTab.filters.test.tsx b/studio/src/components/sidebar/AssetsTab.filters.test.tsxnew file mode 100644index 00000000..4f4e49b4--- /dev/null+++ b/studio/src/components/sidebar/AssetsTab.filters.test.tsx@@ -0,0 +1,45 @@+// @vitest-environment happy-dom+import React, { act } from "react";+import { createRoot } from "react-dom/client";+import { afterEach, expect, it, vi } from "vitest";+import { AssetsTab } from "./AssetsTab";+import { usePlayerStore } from "../../player/store/playerStore";++vi.mock("../../utils/studioApiFetch", () => ({ studioApiFetch: vi.fn(async () => ({ ok: false })) }));+vi.mock("./AudioRow", () => ({ AudioRow: ({ asset }: { asset: string }) => <div data-asset>{asset}</div> }));+vi.mock("./AssetCard", () => ({+ AssetCard: ({ asset }: { asset: string }) => <div data-asset>{asset}</div>,+ FontRow: ({ asset }: { asset: string }) => <div data-asset>{asset}</div>,+}));+(globalThis as any).IS_REACT_ACT_ENVIRONMENT = true;+let root: ReturnType<typeof createRoot>;+afterEach(() => { act(() => root?.unmount()); usePlayerStore.getState().reset(); document.body.innerHTML = ""; });++it("keeps type filters and search without usage filters", async () => {+ usePlayerStore.setState({ elements: [{ id: "image", tag: "img", src: "assets/logo.png", start: 0, duration: 3, track: 0 }] });+ const host = document.createElement("div");+ document.body.append(host);+ root = createRoot(host);+ await act(async () => root.render(<AssetsTab projectId="test" assets={["assets/logo.png", "assets/audit-tone.wav", "assets/unused.png"]} />));+ const chip = (label: string) => Array.from(host.querySelectorAll("button")).find(b => b.textContent?.trim() === label)!;+ const search = (value: string) => act(() => {+ const input = host.querySelector("input")!;+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")!.set!.call(input, value);+ input.dispatchEvent(new Event("input", { bubbles: true }));+ });+ expect(chip("All 3")).toBeTruthy();+ expect(chip("In use 1")).toBeUndefined();+ expect(chip("Unused 2")).toBeUndefined();+ act(() => chip("Images 2").click());+ expect(host.querySelectorAll("[data-asset]")).toHaveLength(2);+ expect(host.querySelector("[data-asset]")?.textContent).toBe("assets/logo.png");+ search("audit-tone");+ expect(chip("All 1")).toBeTruthy();+ expect(chip("Images 0").getAttribute("aria-pressed")).toBe("true");+ expect(host.querySelectorAll("[data-asset]")).toHaveLength(0);+ act(() => chip("Audio 1").click());+ expect(host.querySelectorAll("[data-asset]")).toHaveLength(1);+ search("");+ act(() => chip("All 3").click());+ expect(host.querySelectorAll("[data-asset]")).toHaveLength(3);+});diff --git a/studio/src/components/sidebar/AssetsTab.tsx b/studio/src/components/sidebar/AssetsTab.tsxindex d23d4777..49a05ac3 100644--- a/studio/src/components/sidebar/AssetsTab.tsx+++ b/studio/src/components/sidebar/AssetsTab.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useMediaGateway } from "../../motion/MediaGatewayContext";import { mediaPopoverAnchor } from "../../motion/mediaPopoverPosition";@@ -5,6 +7,7 @@ import { buildProjectApiPath } from "../../utils/projectRouting";// fallow-ignore-file code-duplicationimport { memo, useState, useCallback, useRef, useMemo, useEffect } from "react";import { SearchInput } from "../ui/SearchInput";+import { FilterChip } from "../ui/FilterChip";import { MEDIA_EXT, FONT_EXT } from "../../utils/mediaTypes";import { copyTextToClipboard } from "../../utils/clipboard";import { usePlayerStore } from "../../player/store/playerStore";@@ -17,7 +20,6 @@ import {FILTER_ORDER,} from "./assetHelpers";import { AudioRow } from "./AudioRow";-import { GlobalAssetsView } from "./GlobalAssetsView";import { AssetCard, FontRow } from "./AssetCard";import { studioApiFetch } from "../../utils/studioApiFetch";@@ -112,38 +114,16 @@ function ImportButton({ importing, onClick }: { importing: boolean; onClick: ()onClick={onClick}disabled={importing}aria-busy={importing}- className="w-full flex items-center justify-center gap-1.5 rounded-md bg-panel-input px-3 py-[7px] text-[11px] font-medium text-panel-text-3 enabled:hover:text-panel-text-1 enabled:active:scale-[0.98] disabled:opacity-60 transition-colors mb-2.5"+ aria-label={t("Import media")}+ title={t("Import media")}+ className="flex shrink-0 items-center justify-center gap-1 rounded-md bg-panel-input px-2 py-[5px] text-[11px] font-medium text-panel-text-3 enabled:hover:text-panel-text-1 enabled:active:scale-[0.98] disabled:opacity-60 transition-colors">{importing ? (- <svg className="animate-spin" width="11" height="11" viewBox="0 0 24 24" fill="none">- <circle- className="opacity-25"- cx="12"- cy="12"- r="10"- stroke="currentColor"- strokeWidth="4"- />- <path- className="opacity-75"- fill="currentColor"- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"- />- </svg>+ <RemixIcon name="loader-4-line" size={14} className="animate-spin" />) : (- <svg- width="11"- height="11"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2.5"- strokeLinecap="round"- >- <path d="M12 5v14M5 12h14" />- </svg>+ <RemixIcon name="add-line" size={14} />)}- {importing ? t("Importing…") : t("Import media")}+ {importing ? t("Importing…") : t("Import")}</button>);}@@ -175,23 +155,7 @@ function EmptyState({}return (<div className="flex flex-col items-center justify-center h-full px-4 gap-2">- <svg- width="24"- height="24"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="1.5"- className="text-text-off"- >- <path- d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"- strokeLinecap="round"- strokeLinejoin="round"- />- <polyline points="17 8 12 3 7 8" strokeLinecap="round" strokeLinejoin="round" />- <line x1="12" y1="3" x2="12" y2="15" strokeLinecap="round" />- </svg>+ <RemixIcon name="upload-2-line" size={24} className="text-text-off" /><p className="text-[10px] text-neutral-600 text-center">{t("Drop media files here")}</p></div>);@@ -207,14 +171,13 @@ export const AssetsTab = memo(function AssetsTab({}: AssetsTabProps) {const { t } = useI18n();const mediaGateway = useMediaGateway();+ const mvp = useMvpEditor();const fileInputRef = useRef<HTMLInputElement>(null);const [dragOver, setDragOver] = useState(false);const [copyFeedback, setCopyFeedback] = useState<CopyFeedback>(null);const [importing, setImporting] = useState(false);const [activeFilter, setActiveFilter] = useState<MediaCategory | "all">("all");- const [usageFilter, setUsageFilter] = useState<"all" | "used" | "unused">("all");const [searchQuery, setSearchQuery] = useState("");- const [viewMode, setViewMode] = useState<"local" | "global">("local");const [manifest, setManifest] = useState<Map<string, { description?: string; duration?: number; width?: number; height?: number }>>(new Map());@@ -293,7 +256,7 @@ export const AssetsTab = memo(function AssetsTab({);const mediaAssets = useMemo(() => {- const all = filterByUsage(allMediaAssets, usedPaths, usageFilter);+ const all = allMediaAssets;if (!searchQuery) return all;const q = searchQuery.toLowerCase();return all.filter((a) => {@@ -301,7 +264,7 @@ export const AssetsTab = memo(function AssetsTab({const rec = manifest.get(a);return rec?.description?.toLowerCase().includes(q);});- }, [allMediaAssets, searchQuery, manifest, usageFilter, usedPaths]);+ }, [allMediaAssets, searchQuery, manifest]);const categorized = useMemo(() => {const groups: Record<MediaCategory, string[]> = { audio: [], images: [], video: [], fonts: [] };@@ -324,14 +287,6 @@ export const AssetsTab = memo(function AssetsTab({for (const cat of FILTER_ORDER) c[cat] = categorized[cat].length;return c;}, [mediaAssets, categorized]);- const usageCounts = useMemo(- () =>- countUsage(- assets.filter((a) => MEDIA_EXT.test(a) || FONT_EXT.test(a)),- usedPaths,- ),- [assets, usedPaths],- );const visibleCategories =activeFilter === "all"? FILTER_ORDER.filter((c) => categorized[c].length > 0)@@ -346,125 +301,72 @@ export const AssetsTab = memo(function AssetsTab({onDragLeave={() => setDragOver(false)}onDrop={handleDrop}>- {/* Header — matches design panel Section pattern */}- <div className="px-4 pt-2.5 pb-1.5 shrink-0">- {/* Scope toggle */}- <div className="flex gap-1 mb-2.5 p-0.5 rounded-md bg-panel-input">- {(["local", "global"] as const).map((m) => (- <button- key={m}- onClick={() => setViewMode(m)}- className={`flex-1 px-2 py-1 text-[11px] font-medium rounded transition-colors ${- viewMode === m- ? "bg-panel-accent/15 text-accent-ink"- : "text-panel-text-3 hover:text-panel-text-1"- }`}- >- {m === "local" ? t("This project") : t("All projects")}- </button>- ))}- </div>- {/* Import */}- {onImport && mediaGateway && <button className="motion-asset-generate" onClick={event => mediaGateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t("Generate media")}</button>}- {onImport && (- <>- <ImportButton importing={importing} onClick={() => fileInputRef.current?.click()} />- <input- ref={fileInputRef}- type="file"- accept="video/*,image/*,audio/*,font/*"- multiple- className="hidden"- onChange={(e) => {- if (e.target.files?.length) {- void handleImport(e.target.files);- e.target.value = "";- }- }}- />- </>- )}-- {/* Search — gated on the UNFILTERED pool so it never unmounts itself */}- {allMediaAssets.length > 0 && (+ <div className="shrink-0 space-y-1.5 border-b border-panel-border px-2 py-2" data-assets-toolbar>+ <div className="flex items-center gap-1.5"><SearchInputvalue={searchQuery}onChange={(e) => setSearchQuery(e.target.value)}placeholder={t("Search assets...")}aria-label={t("Search assets")}- className="mb-2"+ className="min-w-0 flex-1"+ />+ {onImport && <ImportButton importing={importing} onClick={() => fileInputRef.current?.click()} />}+ </div>+ {!mvp && onImport && mediaGateway && <button className="motion-asset-generate" onClick={event => mediaGateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t("Generate media")}</button>}+ {onImport && (+ <input+ ref={fileInputRef}+ type="file"+ accept="video/*,image/*,audio/*,font/*"+ multiple+ className="hidden"+ onChange={(e) => {+ if (e.target.files?.length) {+ void handleImport(e.target.files);+ e.target.value = "";+ }+ }}/>)}{/* Filter chips */}- {viewMode === "local" && allMediaAssets.length > 0 && (+ {allMediaAssets.length > 0 && (<div className="flex gap-1.5 flex-wrap">- <button+ <FilterChiponClick={() => setActiveFilter("all")}- aria-pressed={activeFilter === "all"}- className={`px-2.5 py-1 text-[11px] font-medium rounded-md transition-colors active:scale-[0.98] ${- activeFilter === "all"- ? "bg-panel-accent/15 text-accent-ink"- : "bg-panel-input text-panel-text-3 hover:text-panel-text-1"- }`}+ active={activeFilter === "all"}>{t("All")}{" "}{counts.all}- </button>+ </FilterChip>{FILTER_ORDER.map((cat) =>- counts[cat] > 0 ? (- <button+ counts[cat] > 0 || activeFilter === cat ? (+ <FilterChipkey={cat}onClick={() => setActiveFilter(activeFilter === cat ? "all" : cat)}- aria-pressed={activeFilter === cat}- className={`px-2.5 py-1 text-[11px] font-medium rounded-md transition-colors active:scale-[0.98] ${- activeFilter === cat- ? "bg-panel-accent/15 text-accent-ink"- : "bg-panel-input text-panel-text-3 hover:text-panel-text-1"- }`}+ active={activeFilter === cat}>{t(CATEGORY_LABELS[cat])} {counts[cat]}- </button>+ </FilterChip>) : null,)}- {usageCounts.used > 0 && usageCounts.unused > 0 && (- <>- <span className="w-px self-stretch bg-panel-input mx-0.5" aria-hidden="true" />- <button- onClick={() => setUsageFilter(usageFilter === "used" ? "all" : "used")}- className={`px-2.5 py-1 text-[11px] font-medium rounded-md transition-colors ${- usageFilter === "used"- ? "bg-panel-accent/15 text-accent-ink"- : "bg-panel-input text-panel-text-3 hover:text-panel-text-1"- }`}- >- {t("In use")}{" "}{usageCounts.used}- </button>- <button- onClick={() => setUsageFilter(usageFilter === "unused" ? "all" : "unused")}- className={`px-2.5 py-1 text-[11px] font-medium rounded-md transition-colors ${- usageFilter === "unused"- ? "bg-panel-accent/15 text-accent-ink"- : "bg-panel-input text-panel-text-3 hover:text-panel-text-1"- }`}- >- {t("Unused")}{" "}{usageCounts.unused}- </button>- </>- )}</div>)}</div>- <div className="flex-1 overflow-y-auto mt-1">- {viewMode === "global" ? (- <GlobalAssetsView searchQuery={searchQuery} />- ) : mediaAssets.length === 0 ? (+ <div+ className="min-h-0 flex-1 overflow-y-auto overscroll-contain px-2 py-1 [scrollbar-gutter:stable]"+ role="region"+ aria-label={t("Project assets")}+ tabIndex={0}+ data-assets-list+ >+ {mediaAssets.length === 0 ? (<EmptyState searchQuery={searchQuery} onClearSearch={() => setSearchQuery("")} />) : (visibleCategories.map((cat) => (<div key={cat} className="mb-1">- {activeFilter === "all" && (- <div className="flex items-center gap-2 px-4 py-2 border-t border-panel-border">+ {activeFilter === "all" && visibleCategories.length > 1 && (+ <div className="flex items-center gap-2 px-2 py-1.5"><h3 className="text-[12px] font-semibold text-panel-text-1">{t(CATEGORY_LABELS[cat])}</h3>@@ -487,7 +389,7 @@ export const AssetsTab = memo(function AssetsTab({/>))}{(cat === "images" || cat === "video") && (- <div className="grid grid-cols-2 gap-1 px-2 pb-1">+ <div className="hf-media-card-grid pb-1">{categorized[cat].map((a) => (<AssetCardkey={a}diff --git a/studio/src/components/sidebar/AudioRow.tsx b/studio/src/components/sidebar/AudioRow.tsxindex 0c8626d3..f7441487 100644--- a/studio/src/components/sidebar/AudioRow.tsx+++ b/studio/src/components/sidebar/AudioRow.tsx@@ -1,6 +1,8 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { useState, useRef, useEffect, useCallback } from "react";import { classifyWebAudioMediaRoute } from "@hyperframes/core/runtime/web-audio-route";+import { InlineAssetRename } from "./InlineAssetRename";import { ContextMenu } from "./AssetContextMenu";import { basename, getAudioSubtype, type CopyFeedback } from "./assetHelpers";import { TIMELINE_ASSET_MIME } from "../../utils/timelineAssetDrop";@@ -36,6 +38,7 @@ export function AudioRow({}) {const { t } = useI18n();const [contextMenu, setContextMenu] = useState<{ x: number; y: number } | null>(null);+ const [renaming, setRenaming] = useState(false);const [playing, setPlaying] = useState(false);const [bars, setBars] = useState<number[]>([]);const audioRef = useRef<HTMLAudioElement | null>(null);@@ -229,12 +232,10 @@ export function AudioRow({e.preventDefault();setContextMenu({ x: e.clientX, y: e.clientY });}}- className={`group w-full text-left px-4 py-1.5 flex items-center gap-2.5 transition-colors cursor-pointer outline-hidden focus-visible:bg-neutral-800/60 ${- playing- ? "bg-panel-accent/6"- : isCopied- ? "bg-panel-accent/10"- : "hover:bg-panel-surface-hover"+ className={`group w-full mb-1 rounded-md border border-panel-border text-left px-3 py-2 flex items-center gap-2.5 transition-colors cursor-pointer outline-hidden focus-visible:ring-1 focus-visible:ring-panel-border ${+ isCopied+ ? "bg-panel-accent/10"+ : "bg-panel-surface hover:bg-panel-hover"}`}><button@@ -242,7 +243,7 @@ export function AudioRow({aria-pressed={playing}className={`w-7 h-7 rounded-md shrink-0 flex items-center justify-center transition-colors active:scale-[0.95] ${playing- ? "bg-panel-accent/15 text-accent-ink"+ ? "text-panel-text-1": "text-panel-text-5 group-hover:text-panel-text-3"}`}onClick={(e) => {@@ -251,23 +252,18 @@ export function AudioRow({}}>{playing ? (- <svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor">- <rect x="6" y="4" width="4" height="16" rx="1" />- <rect x="14" y="4" width="4" height="16" rx="1" />- </svg>+ <RemixIcon name="pause-fill" size={14} />) : (- <svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor">- <polygon points="6,4 20,12 6,20" />- </svg>+ <RemixIcon name="play-fill" size={14} />)}</button><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <span+ {renaming && onRename ? <InlineAssetRename asset={asset} onRename={onRename} onDone={() => setRenaming(false)} /> : <spanclassName={`text-[12px] font-medium truncate ${used ? "text-panel-text-1" : "text-panel-text-3"}`}>{name}- </span>+ </span>}{!playing && (<span className="text-[11px] text-panel-text-5 shrink-0">{meta?.duration ? `${meta.duration}s · ` : ""}@@ -307,7 +303,7 @@ export function AudioRow({</div>)}</div>- <button type="button" className="motion-audio-menu-button" aria-label={t("Actions for {value0}", { value0: name })} aria-haspopup="menu" onPointerDown={e => e.stopPropagation()} onPointerUp={e => e.stopPropagation()} onClick={e => { e.stopPropagation(); const rect = e.currentTarget.getBoundingClientRect(); setContextMenu({ x: rect.left, y: rect.bottom }); }}>…</button>+ <button type="button" className="motion-audio-menu-button" aria-label={t("Actions for {value0}", { value0: name })} aria-haspopup="menu" onPointerDown={e => e.stopPropagation()} onPointerUp={e => e.stopPropagation()} onClick={e => { e.stopPropagation(); const rect = e.currentTarget.getBoundingClientRect(); setContextMenu({ x: rect.left, y: rect.bottom }); }}><RemixIcon name="more-line" size={16} /></button></div>{contextMenu && (<ContextMenu@@ -318,6 +314,7 @@ export function AudioRow({onCopy={onCopy}onDelete={onDelete}onRename={onRename}+ onStartRename={() => setRenaming(true)}onAddAtPlayhead={onAddAssetToTimeline}onPreview={path => setPreviewAsset(path, projectId)}downloadUrl={serveUrl}diff --git a/studio/src/components/sidebar/BlocksTab.tsx b/studio/src/components/sidebar/BlocksTab.tsxindex d7df3b3c..0f390c41 100644--- a/studio/src/components/sidebar/BlocksTab.tsx+++ b/studio/src/components/sidebar/BlocksTab.tsx@@ -1,8 +1,11 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";// fallow-ignore-file code-duplicationimport { memo, useState, useCallback, useRef, useEffect } from "react";import { createPortal } from "react-dom";import { SearchInput } from "../ui/SearchInput";+import { Tooltip } from "../ui/Tooltip";+import { FilterChip } from "../ui/FilterChip";import { PromptPreviewModal } from "./PromptPreviewModal";import { useBlockCatalog } from "../../hooks/useBlockCatalog";import {@@ -42,7 +45,7 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:if (error) {return (<div className="flex flex-1 items-center justify-center text-danger-ink text-xs px-4 text-center">- {error}+ {t(error)}</div>);}@@ -60,14 +63,13 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:</div>{/* Category pills */}- <div className="px-3 pt-1 pb-2 shrink-0 overflow-x-auto">- <div className="flex gap-1">+ <div className="px-3 pt-1 pb-2 shrink-0 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">+ <div className="flex gap-1.5"><CategoryPill label={t("All")} active={category === null} onClick={() => setCategory(null)} />{BLOCK_CATEGORIES.map((cat) => (<CategoryPillkey={cat.id}label={t(cat.label)}- category={cat.id}active={category === cat.id}onClick={() => setCategory(category === cat.id ? null : cat.id)}/>@@ -76,7 +78,7 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:</div>{/* Block grid */}- <div className="flex-1 overflow-y-auto min-h-0 px-2 pb-2">+ <div className="flex-1 overflow-y-auto min-h-0 px-2 pb-2 [scrollbar-gutter:stable]">{category === "vfx" && (<div className="mb-2 px-2 py-1.5 rounded-md bg-purple-500/10 border border-purple-500/20 text-[9px] text-text-2 leading-relaxed">{t("VFX blocks use WebGL via HTML-in-Canvas. Enable")}{" "}@@ -86,10 +88,7 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:<div className="flex items-center justify-center h-32 text-neutral-600 text-xs">{t("No blocks match your search")}</div>) : (- <div- className="grid gap-1.5"- style={{ gridTemplateColumns: "repeat(auto-fill, minmax(120px, 1fr))" }}- >+ <div className="hf-media-card-grid">{filteredBlocks.map((block) => {const dur = "duration" in block ? (block.duration as number) : undefined;return (@@ -134,32 +133,14 @@ export const BlocksTab = memo(function BlocksTab({ onAddBlock, onPreviewBlock }:function CategoryPill({label,- category,active,onClick,}: {label: string;- category?: BlockCategory;active: boolean;onClick: () => void;}) {- const colors = category ? getCategoryColors(category) : null;- return (- <button- type="button"- onClick={onClick}- aria-pressed={active}- className={`shrink-0 px-2 py-1 rounded-full text-[10px] font-medium transition-colors active:scale-[0.98] ${- active- ? colors- ? `${colors.bg} ${colors.text}`- : "bg-neutral-700 text-neutral-200"- : "bg-neutral-900 text-neutral-500 hover:text-neutral-300"- }`}- >- {label}- </button>- );+ return <FilterChip active={active} onClick={onClick}>{label}</FilterChip>;}interface CompositionContext {@@ -408,7 +389,7 @@ function BlockCard({) : (<div className={`w-full h-full flex items-center justify-center ${colors.bg}`}><span className={`text-[9px] font-medium ${colors.text}`}>- {category.toUpperCase()}+ {t(BLOCK_CATEGORIES.find((c) => c.id === category)?.label ?? category)}</span></div>)}@@ -416,57 +397,40 @@ function BlockCard({{/* Action overlay — also revealed when a button inside receives focus */}<div className="absolute inset-0 flex flex-col items-center justify-center gap-1.5 bg-black/60 opacity-0 group-hover/card:opacity-100 group-focus-within/card:opacity-100 transition-opacity">{onAdd && (+ <Tooltip label={t("Add")} description={t("Add to composition at current time")}>+ <button+ type="button"+ onClick={handleAdd}+ className={`flex items-center gap-1 px-3 py-1.5 rounded-md text-[10px] font-semibold transition-colors active:scale-[0.97] ${+ addState === "failed"+ ? "bg-danger text-on-danger"+ : "bg-white text-black hover:bg-white/85"+ }`}+ >+ <RemixIcon name="add-line" size={14} />+ {addState === "adding"+ ? t("Adding…")+ : addState === "added"+ ? t("Added!")+ : addState === "failed"+ ? t("Failed")+ : t("Add")}+ </button>+ </Tooltip>+ )}+ <Tooltip label={t("Ask agent")} description={t("Generate a prompt to paste into your AI agent")}><buttontype="button"- onClick={handleAdd}- title={t("Add to composition at current time")}- className={`flex items-center gap-1 px-3 py-1.5 rounded-md text-[10px] font-semibold transition-colors active:scale-[0.97] ${- addState === "failed"- ? "bg-danger text-on-danger"- : "bg-white text-black hover:bg-white/85"+ onClick={handleShowPrompt}+ className={`flex items-center gap-1.5 px-3 ${onAdd ? "py-1" : "py-1.5"} rounded-md transition-colors active:scale-[0.97] ${+ onAdd+ ? "bg-white/15 text-white/90 hover:bg-white/25 text-[9px]"+ : "bg-text-0 text-bg-0 hover:bg-text-2 text-[10px] font-semibold"}`}>- <svg- width="10"- height="10"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2.5"- >- <path d="M12 5v14M5 12h14" />- </svg>- {addState === "adding"- ? t("Adding…")- : addState === "added"- ? t("Added!")- : addState === "failed"- ? t("Failed")- : t("Add")}- </button>- )}- <button- type="button"- onClick={handleShowPrompt}- title={t("Generate a prompt to paste into your AI agent")}- className={`flex items-center gap-1.5 px-3 ${onAdd ? "py-1" : "py-1.5"} rounded-md transition-colors active:scale-[0.97] ${- onAdd- ? "bg-white/15 text-white/90 hover:bg-white/25 text-[9px]"- : "bg-text-0 text-bg-0 hover:bg-text-2 text-[10px] font-semibold"- }`}- >- <svg- width={onAdd ? 9 : 11}- height={onAdd ? 9 : 11}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- >- <rect x="9" y="9" width="13" height="13" rx="2" />- <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" />- </svg>- {t("Ask agent")}</button>+ <RemixIcon name="file-copy-line" size={14} />+ {t("Ask agent")}</button>+ </Tooltip></div>{/* Badges */}diff --git a/studio/src/components/sidebar/CompositionsPanel.masterComposition.test.tsx b/studio/src/components/sidebar/CompositionsPanel.masterComposition.test.tsxindex 59cc8857..22cf0e33 100644--- a/studio/src/components/sidebar/CompositionsPanel.masterComposition.test.tsx+++ b/studio/src/components/sidebar/CompositionsPanel.masterComposition.test.tsx@@ -11,11 +11,15 @@ Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });window as unknown as { happyDOM: { settings: { disableIframePageLoading: boolean } } }).happyDOM.settings.disableIframePageLoading = true;+const preview = vi.hoisted(() => ({ compositionStack: [{ id: "master" }] }));+vi.mock("../nle/NLEContext", () => ({ useNLEContext: () => preview }));+let root: Root | null = null;afterEach(() => {if (root) act(() => root?.unmount());root = null;+ preview.compositionStack = [{ id: "master" }];document.body.innerHTML = "";usePlayerStore.setState({ thumbnailRevisions: {} });});@@ -32,7 +36,6 @@ describe("CompositionsPanel root badge source", () => {<CompositionsPanelprojectId="demo"compositions={["hero.html"]}- activeComposition={null}onSelect={vi.fn()}/>,);@@ -42,3 +45,34 @@ describe("CompositionsPanel root badge source", () => {expect(cards[0]?.textContent).toContain("Root");});});+++it("marks only the live preview target when switching between clips and the full video", () => {+ const host = document.createElement("div");+ document.body.append(host);+ root = createRoot(host);+ const onSelect = vi.fn();+ const render = () => act(() => root?.render(<CompositionsPanel projectId="demo"+ compositions={["index.html", "compositions/first.html", "compositions/second.html"]}+ onSelect={onSelect} />));+ const selectedLabel = () => {+ const selected = host.querySelectorAll('[aria-current="true"]');+ expect(selected).toHaveLength(1);+ expect(selected[0]?.getAttribute("aria-pressed")).toBe("true");+ return selected[0]?.getAttribute("aria-label");+ };+ preview.compositionStack = [{ id: "master" }, { id: "compositions/first.html" }];+ render();+ expect(selectedLabel()).toBe("Open composition first");+ const second = host.querySelector<HTMLElement>('[aria-label="Open composition second"]');+ act(() => second?.click());+ expect(onSelect).toHaveBeenCalledWith("compositions/second.html");+ // A click alone cannot change the indicator before the live preview changes.+ expect(selectedLabel()).toBe("Open composition first");+ preview.compositionStack = [{ id: "master" }, { id: "compositions/second.html" }];+ render();+ expect(selectedLabel()).toBe("Open composition second");+ preview.compositionStack = [{ id: "master" }];+ render();+ expect(selectedLabel()).toBe("Open composition index");+});diff --git a/studio/src/components/sidebar/CompositionsPanel.tsx b/studio/src/components/sidebar/CompositionsPanel.tsxindex 456c6b39..12878dcd 100644--- a/studio/src/components/sidebar/CompositionsPanel.tsx+++ b/studio/src/components/sidebar/CompositionsPanel.tsx@@ -1,15 +1,21 @@import type { ComponentProps } from "react";import { resolveMasterCompositionPath } from "../../utils/studioUrlState";+import { useNLEContext } from "../nle/NLEContext";import { CompositionsTab } from "./CompositionsTab";-type Props = Omit<ComponentProps<typeof CompositionsTab>, "masterCompositionPath">;+type Props = Omit<ComponentProps<typeof CompositionsTab>, "masterCompositionPath" | "activeComposition">;/** The Compositions dock panel body; the root badge comes from the filtered composition list. */export function CompositionsPanel(props: Props) {+ const { compositionStack } = useNLEContext();+ const masterCompositionPath = resolveMasterCompositionPath(props.compositions);+ const previewId = compositionStack[compositionStack.length - 1]?.id;+ const activeComposition = previewId === "master" ? masterCompositionPath : previewId ?? null;return (<CompositionsTab{...props}- masterCompositionPath={resolveMasterCompositionPath(props.compositions)}+ masterCompositionPath={masterCompositionPath}+ activeComposition={activeComposition}/>);}diff --git a/studio/src/components/sidebar/CompositionsTab.tsx b/studio/src/components/sidebar/CompositionsTab.tsxindex dff80185..f68be51d 100644--- a/studio/src/components/sidebar/CompositionsTab.tsx+++ b/studio/src/components/sidebar/CompositionsTab.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { buildProjectApiPath } from "../../utils/projectRouting";import { memo, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";@@ -174,7 +175,6 @@ function CompCard({onSelect,onRender,isRendering,- lintInfo,onAddToTimeline,contentRevision,previewBooted,@@ -186,7 +186,6 @@ function CompCard({onSelect: () => void;onRender?: () => void;isRendering?: boolean;- lintInfo?: { count: number; messages: string[] };onAddToTimeline?: () => void;contentRevision: number;previewBooted: boolean;@@ -291,6 +290,7 @@ function CompCard({draggablearia-label={t("Open composition {name}", { name: name })}aria-pressed={isActive}+ aria-current={isActive ? "true" : undefined}onDragStart={(event) => {draggedRef.current = true;event.dataTransfer.effectAllowed = "copy";@@ -315,10 +315,10 @@ function CompCard({}}onPointerEnter={handleEnter}onPointerLeave={handleLeave}- className={`group/card w-full select-none text-left px-2 py-1.5 flex items-center gap-2.5 transition-colors cursor-grab active:cursor-grabbing outline-hidden focus-visible:bg-neutral-800/60 ${+ className={`motion-composition-card group/card w-full select-none text-left px-2 py-1.5 flex items-center gap-2.5 transition-colors cursor-grab active:cursor-grabbing outline-hidden focus-visible:bg-neutral-800/60 ${isActive- ? "bg-studio-accent/10 border-l-2 border-studio-accent"- : "border-l-2 border-transparent hover:bg-neutral-800/50"+ ? "bg-studio-accent/10"+ : "hover:bg-neutral-800/50"}`}><div@@ -373,12 +373,9 @@ function CompCard({/>)}</div>- <div- className="min-w-0 flex-1"- title={lintInfo && lintInfo.count > 0 ? lintInfo.messages.join("\n") : undefined}- >+ <div className="min-w-0 flex-1"><div className="flex items-center gap-1">- <span className="text-[11px] font-medium text-neutral-300 truncate">{name}</span>+ <span className="motion-composition-name text-[11px] font-medium text-neutral-300 truncate">{name}</span>{isRoot && (<spanaria-label={t("Root composition: opens automatically on load")}@@ -387,14 +384,6 @@ function CompCard({>{t("Root")}</span>)}- {lintInfo && lintInfo.count > 0 && (- <span- aria-label={t("{count} lint findings", { count: lintInfo.count })}- className="shrink-0 min-w-[16px] text-center rounded-full bg-amber-500/20 px-1 text-[8px] font-bold text-warning-ink"- >- {lintInfo.count}- </span>- )}</div><span className="text-[9px] text-neutral-600 truncate block">{comp}</span></div>@@ -431,21 +420,7 @@ function CompCard({: "text-neutral-600 hover:text-accent-ink hover:bg-neutral-800"}`}>- <svg- width="14"- height="14"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- <path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4" />- <polyline points="7 10 12 15 17 10" />- <line x1="12" y1="15" x2="12" y2="3" />- </svg>+ <RemixIcon name="download-2-line" size={14} /></button></Tooltip>)}@@ -462,7 +437,6 @@ export const CompositionsTab = memo(function CompositionsTab({onRenderComposition,onAddToTimeline,isRendering,- lintFindingsByFile,}: CompositionsTabProps) {const { t } = useI18n();const thumbnailRevisions = usePlayerStore((state) => state.thumbnailRevisions);@@ -488,7 +462,6 @@ export const CompositionsTab = memo(function CompositionsTab({onRender={onRenderComposition ? () => onRenderComposition(comp) : undefined}onAddToTimeline={onAddToTimeline ? () => onAddToTimeline(comp) : undefined}isRendering={isRendering}- lintInfo={lintFindingsByFile?.get(comp)}contentRevision={thumbnailRevisionOf(thumbnailRevisions, comp)}previewBooted={previewBooted}/>diff --git a/studio/src/components/sidebar/InlineAssetRename.tsx b/studio/src/components/sidebar/InlineAssetRename.tsxnew file mode 100644index 00000000..2a3d997d--- /dev/null+++ b/studio/src/components/sidebar/InlineAssetRename.tsx@@ -0,0 +1,50 @@+import { useEffect, useRef, useState } from "react";+import { useI18n } from "../../i18n/I18n";+import { filename } from "./assetHelpers";++/** Edits the existing caption without opening another floating surface. */+export function InlineAssetRename({ asset, onRename, onDone }: {+ asset: string;+ onRename: (oldPath: string, newPath: string) => void;+ onDone: () => void;+}) {+ const { t } = useI18n();+ const original = filename(asset);+ const [draft, setDraft] = useState(original);+ const [invalid, setInvalid] = useState(false);+ const input = useRef<HTMLInputElement>(null);+ const finished = useRef(false);+ useEffect(() => {+ input.current?.focus({ preventScroll: true });+ const dot = original.lastIndexOf(".");+ input.current?.setSelectionRange(0, dot > 0 ? dot : original.length);+ }, [original]);+ const finish = () => {+ if (finished.current) return;+ const name = draft.trim();+ if (name && (/[/\\]/.test(name) || name.includes(".."))) {+ setInvalid(true);+ return;+ }+ finished.current = true;+ // Empty or unchanged names simply restore the existing caption.+ if (name && name !== original) {+ const dir = asset.slice(0, asset.lastIndexOf("/") + 1);+ onRename(asset, `${dir}${name}`);+ }+ onDone();+ };+ return <div className="min-w-0 flex-1" onPointerDown={e => e.stopPropagation()} onPointerUp={e => e.stopPropagation()} onClick={e => e.stopPropagation()} onDragStart={e => { e.preventDefault(); e.stopPropagation(); }} onContextMenu={e => e.stopPropagation()}>+ <input ref={input} value={draft} aria-label={t("Rename {value0}", { value0: original })} aria-invalid={invalid || undefined}+ className="motion-asset-name-input"+ onChange={e => { setDraft(e.target.value); setInvalid(false); }}+ onBlur={finish}+ onKeyDown={e => {+ e.stopPropagation();+ if (e.nativeEvent.isComposing) return;+ if (e.key === "Enter") { e.preventDefault(); finish(); }+ if (e.key === "Escape") { e.preventDefault(); finished.current = true; onDone(); }+ }} />+ {invalid && <span role="alert" className="text-[10px] text-danger-ink">{t("Name cannot contain slashes or two consecutive dots.")}</span>}+ </div>;+}diff --git a/studio/src/components/ui/FilterChip.tsx b/studio/src/components/ui/FilterChip.tsxnew file mode 100644index 00000000..2d1ade74--- /dev/null+++ b/studio/src/components/ui/FilterChip.tsx@@ -0,0 +1,20 @@+import type { ButtonHTMLAttributes } from "react";++interface FilterChipProps extends ButtonHTMLAttributes<HTMLButtonElement> {+ active: boolean;+}++export function FilterChip({ active, className = "", ...props }: FilterChipProps) {+ return (+ <button+ {...props}+ type="button"+ aria-pressed={active}+ className={`shrink-0 rounded-md px-2.5 py-1 text-[11px] transition-colors active:scale-[0.98] ${+ active+ ? "bg-panel-bg-inset font-semibold text-panel-text-0"+ : "bg-transparent font-medium text-panel-text-3 hover:bg-panel-bg-inset hover:text-panel-text-0"+ } ${className}`}+ />+ );+}diff --git a/studio/src/components/ui/SearchInput.tsx b/studio/src/components/ui/SearchInput.tsxindex 4ec407b5..1fbba555 100644--- a/studio/src/components/ui/SearchInput.tsx+++ b/studio/src/components/ui/SearchInput.tsx@@ -1,6 +1,7 @@+import { RemixIcon } from "../../icons/RemixIcons";// fallow-ignore-file unused-file// (consumers land in the sidebar/panels PR later in this stack)-import { type InputHTMLAttributes } from "react";+import { forwardRef, type InputHTMLAttributes } from "react";interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {/** Accessible name — placeholder alone is not one. */@@ -8,46 +9,22 @@ interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "}/**- * Shared search input — one visual system (panel-input tokens) for every+ * Shared search input — one visual system (soft panel background) for every* panel search box, with a required accessible name.*/-export function SearchInput({ className = "", ...props }: SearchInputProps) {+export const SearchInput = forwardRef<HTMLInputElement, SearchInputProps>(function SearchInput({ className = "", ...props }, ref) {return (<div- className={`flex items-center gap-1.5 rounded-md bg-panel-input px-2.5 py-[5px] ${className}`}+ className={`flex items-center gap-1.5 rounded-md bg-panel-bg-soft px-2.5 py-[5px] ${className}`}>- <svg- width="12"- height="12"- viewBox="0 0 256 256"- fill="none"- className="shrink-0"- aria-hidden="true"- >- <circle- cx="116"- cy="116"- r="76"- stroke="currentColor"- strokeWidth="22"- className="text-panel-text-5"- />- <line- x1="170"- y1="170"- x2="232"- y2="232"- stroke="currentColor"- strokeWidth="22"- strokeLinecap="round"- className="text-panel-text-5"- />- </svg>+ <RemixIcon name="search-line" size={14} className="shrink-0 text-panel-text-5" /><input+ ref={ref}+ data-panel-search-input="true"type="text"className="min-w-0 w-full bg-transparent text-[11px] text-panel-text-1 outline-hidden placeholder:text-panel-text-5"{...props}/></div>);-}+});diff --git a/studio/src/components/ui/Select.tsx b/studio/src/components/ui/Select.tsxindex ab7ccd47..7d25e2f9 100644--- a/studio/src/components/ui/Select.tsx+++ b/studio/src/components/ui/Select.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";/*** Select: Base UI select in Input's box. The trigger keeps `role="combobox"`, which both hotkey selector* lists match. Options are data, not children, so typeahead and the value display can read labels.@@ -64,15 +65,7 @@ export function Select({><BaseSelect.Value className="truncate" /><BaseSelect.Icon className="shrink-0 text-text-4" aria-hidden="true">- <svg width="8" height="5" viewBox="0 0 8 5" fill="none">- <path- d="M1 1L4 4L7 1"- stroke="currentColor"- strokeWidth="1.5"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>+ <RemixIcon name="arrow-down-s-line" size={14} /></BaseSelect.Icon></BaseSelect.Trigger>diff --git a/studio/src/components/ui/Tooltip.test.tsx b/studio/src/components/ui/Tooltip.test.tsxindex e71ba6f4..dc9f800c 100644--- a/studio/src/components/ui/Tooltip.test.tsx+++ b/studio/src/components/ui/Tooltip.test.tsx@@ -100,6 +100,25 @@ it("opens on hover over a disabled child", async () => {expect(bubble()?.textContent).toBe("Rendering");});+it("keeps the feature name and full explanation accessible on a disabled control", async () => {+ const description = "First select clips in the timeline, then fit them into view.";+ const host = mountHost(+ <Tooltip label="Zoom to selected clips (Z)" description={description} delay={0}>+ <button type="button" disabled data-testid="explained">Zoom</button>+ </Tooltip>,+ );+ const trigger = host.querySelector<HTMLElement>('[data-testid="explained"]')!;+ hover(trigger);+ await settle();++ const tip = bubble();+ expect(tip?.textContent).toContain("Zoom to selected clips (Z)");+ expect(tip?.textContent).toContain(description);+ expect(trigger.getAttribute("aria-describedby")).toBe(tip?.id);+ expect(tip?.className).toContain("whitespace-normal");+ expect(tip?.querySelector('[style*="--tooltip-lines"]')).toBeNull();+});+it("wraps its child in a box-less span so a disabled child still gets hover", () => {const trigger = mount();diff --git a/studio/src/components/ui/Tooltip.tsx b/studio/src/components/ui/Tooltip.tsxindex 6e3b10f3..b92b3542 100644--- a/studio/src/components/ui/Tooltip.tsx+++ b/studio/src/components/ui/Tooltip.tsx@@ -17,6 +17,8 @@ import { floatingMotion, POPUP_LAYER } from "./Menu";interface TooltipProps {label: string;+ /** Optional plain-language explanation below the feature name. */+ description?: string;/** A single element, wrapped in a box-less span so a disabled one still gets hover. */children: ReactElement<{ "aria-describedby"?: string }>;/** Hover delay in ms. */@@ -33,6 +35,7 @@ const VIEWPORT_MARGIN = 8;export function Tooltip({label,+ description,children,delay = 400,side = "top",@@ -62,12 +65,18 @@ export function Tooltip({id={tooltipId}role="tooltip"className={cn(- "pointer-events-none rounded-md border border-border-input bg-surface px-2 py-1 text-step-10 font-medium text-text-1 shadow-menu",- lines ? "max-w-[300px] whitespace-normal break-words" : "whitespace-nowrap",+ "studio-tooltip pointer-events-none rounded-md border border-border-input bg-surface px-2 py-1 text-step-10 font-medium text-text-1 shadow-menu",+ lines || description ? "max-w-[300px] whitespace-normal break-words" : "whitespace-nowrap",+ description && "px-3 py-2",floatingMotion("duration-tooltip"),)}>- {lines ? (+ {description ? (+ <>+ <span className="block font-semibold">{label}</span>+ <span className="mt-1 block font-normal leading-normal opacity-80">{description}</span>+ </>+ ) : lines ? (<spanclassName="line-clamp-(--tooltip-lines)"style={{ "--tooltip-lines": lines } as CSSProperties}diff --git a/studio/src/hooks/useBlockCatalog.test.tsx b/studio/src/hooks/useBlockCatalog.test.tsxnew file mode 100644index 00000000..01504017--- /dev/null+++ b/studio/src/hooks/useBlockCatalog.test.tsx@@ -0,0 +1,69 @@+// @vitest-environment happy-dom+import React, { act } from "react";+import { createRoot, type Root } from "react-dom/client";+import { afterEach, beforeEach, expect, it, vi } from "vitest";+import { I18nProvider, useI18n } from "../i18n/I18n";+import { useBlockCatalog } from "./useBlockCatalog";++vi.mock("../utils/studioApiFetch", () => ({+ studioApiFetch: vi.fn(async () => ({+ ok: true,+ json: async () => [+ { name: "caption-one", title: "Word Reveal", description: "Animated words", tags: ["captions", "kinetic"] },+ { name: "scene-one", title: "Landscape", description: "Mountain view", tags: ["scenes"] },+ ],+ })),+}));++globalThis.IS_REACT_ACT_ENVIRONMENT = true;+let root: Root;+let host: HTMLDivElement;+let catalog: ReturnType<typeof useBlockCatalog>;+let language: ReturnType<typeof useI18n>;+function Harness() {+ catalog = useBlockCatalog();+ language = useI18n();+ return null;+}++beforeEach(async () => {+ host = document.createElement("div");+ document.body.append(host);+ root = createRoot(host);+ await act(async () => {+ root.render(<I18nProvider initialLocale="zh-CN"><Harness /></I18nProvider>);+ });+});+afterEach(() => {+ act(() => root.unmount());+ host.remove();+ localStorage.clear();+});++it("finds captions by their visible Chinese category and trims the query", () => {+ act(() => catalog.setSearch(" 字幕 "));+ expect(catalog.filteredBlocks.map((block) => block.name)).toEqual(["caption-one"]);+ act(() => catalog.setSearch(""));+ expect(catalog.filteredBlocks).toHaveLength(2);+});++it("retains category filtering, English search, titles, descriptions and tags", () => {+ act(() => { catalog.setCategory("scenes"); catalog.setSearch("字幕"); });+ expect(catalog.filteredBlocks).toHaveLength(0);+ act(() => catalog.setCategory(null));+ for (const query of ["CAPTIONS", "Word Reveal", "Animated words", "kinetic"]) {+ act(() => catalog.setSearch(query));+ expect(catalog.filteredBlocks.map((block) => block.name)).toEqual(["caption-one"]);+ }+});++it("updates category matching when the interface language changes without remounting", () => {+ act(() => catalog.setSearch("字幕"));+ expect(catalog.filteredBlocks).toHaveLength(1);+ act(() => language.setLocale("en"));+ expect(catalog.filteredBlocks).toHaveLength(0);+ act(() => catalog.setSearch("Captions"));+ expect(catalog.filteredBlocks).toHaveLength(1);+ act(() => language.setLocale("zh-CN"));+ expect(catalog.filteredBlocks).toHaveLength(1);+});diff --git a/studio/src/hooks/useBlockCatalog.ts b/studio/src/hooks/useBlockCatalog.tsindex da076baa..78f54aec 100644--- a/studio/src/hooks/useBlockCatalog.ts+++ b/studio/src/hooks/useBlockCatalog.ts@@ -6,6 +6,7 @@ import {resolveBlockCategory,} from "../utils/blockCategories";import { studioApiFetch } from "../utils/studioApiFetch";+import { useI18n } from "../i18n/I18n";type CatalogItem = RegistryItem & {category: BlockCategory;@@ -38,6 +39,7 @@ function loadCatalog(): Promise<CatalogItem[]> {}export function useBlockCatalog() {+ const { t } = useI18n();const [blocks, setBlocks] = useState<CatalogItem[]>(() => catalogCache ?? []);const [loading, setLoading] = useState(catalogCache === null);const [error, setError] = useState<string | null>(null);@@ -71,17 +73,23 @@ export function useBlockCatalog() {result = result.filter((b) => b.category === category);}if (search.trim()) {- const q = search.toLowerCase();+ const q = search.trim().toLowerCase();+ const matchingCategories = new Set(+ BLOCK_CATEGORIES.filter((item) =>+ [item.id, item.label, t(item.label)].some((label) => label.toLowerCase().includes(q)),+ ).map((item) => item.id),+ );result = result.filter((b) =>b.title.toLowerCase().includes(q) ||b.description.toLowerCase().includes(q) ||b.category.toLowerCase().includes(q) ||+ matchingCategories.has(b.category) ||b.tags?.some((t) => t.toLowerCase().includes(q)),);}return result;- }, [blocks, category, search]);+ }, [blocks, category, search, t]);return {blocks,diff --git a/studio/src/hooks/useDomEditTextCommits.test.tsx b/studio/src/hooks/useDomEditTextCommits.test.tsxindex eecac656..edc6ae6d 100644--- a/studio/src/hooks/useDomEditTextCommits.test.tsx+++ b/studio/src/hooks/useDomEditTextCommits.test.tsx@@ -391,6 +391,36 @@ describe("useDomEditTextCommits", () => {expect(persistDomEditOperations).not.toHaveBeenCalled();});+ it.each([false, true])("replaces a gradient atomically and rolls back a failed save (%s)", async (fail) => {+ const { iframe, element } = previewElement("<div id='card'>Original</div>", "card");+ element.style.backgroundImage = "linear-gradient(90deg, black, white)";+ element.style.backgroundColor = "blue";+ element.style.borderRadius = "20px";+ const before = element.style.cssText;+ const persist = vi.fn().mockImplementation(async () => {+ expect(element.style.backgroundImage).toBe("none");+ expect(element.style.backgroundColor).toBe("red");+ if (fail) throw new Error("Save failed");+ return { sourceFile: "index.html", changed: true };+ });+ const hook = renderTextCommitHook(commitParams({+ previewIframeRef: { current: iframe },+ domEditSelection: selectionFor(element),+ persistDomEditOperations: persist,+ }));+ await act(async () => {+ const outcome = await hook.handleDomStyleCommit({+ "background-color": "red", "background-image": "none",+ });+ expect(outcome.ok).toBe(!fail);+ });+ expect(persist).toHaveBeenCalledTimes(1);+ expect(persist.mock.calls[0][1]).toHaveLength(2);+ expect(element.style.borderRadius).toBe("20px");+ if (fail) expect(element.style.cssText).toBe(before);+ else expect(element.style.backgroundImage).toBe("none");+ });+it("declines a style commit for a manual-geometry property", async () => {const persistDomEditOperations = vi.fn().mockResolvedValue(undefined);const { element } = previewElement("<div id='card'>Original</div>", "card");diff --git a/studio/src/hooks/useDomEditTextCommits.ts b/studio/src/hooks/useDomEditTextCommits.tsindex 4f93719c..7a0ca3aa 100644--- a/studio/src/hooks/useDomEditTextCommits.ts+++ b/studio/src/hooks/useDomEditTextCommits.ts@@ -140,7 +140,7 @@ export function useDomEditTextCommits({);const handleDomStyleCommit = useCallback(- (property: string, value: string): Promise<DomEditCommitOutcome> =>+ (property: string | Record<string, string>, value = ""): Promise<DomEditCommitOutcome> =>domEditSelection? handleDomStyleCommitForSelection(domEditSelection, property, value): Promise.resolve(domEditCommitDeclined("no-selection")),diff --git a/studio/src/hooks/useEditHistoryActions.ts b/studio/src/hooks/useEditHistoryActions.tsindex 5c34ae3f..ed943e50 100644--- a/studio/src/hooks/useEditHistoryActions.ts+++ b/studio/src/hooks/useEditHistoryActions.ts@@ -122,7 +122,8 @@ export function useEditHistoryActions({return;}if (!result.ok && result.reason === "failed") {- showToast(`${noun} failed: ${result.message}`, "error");+ console.warn(`${noun} failed`, result.message);+ showToast(`${noun} failed: ${result.message ?? "Unknown save failure"}`, "error");return;}if (result.ok && result.label) {diff --git a/studio/src/hooks/useFileManager.projectOwnership.test.tsx b/studio/src/hooks/useFileManager.projectOwnership.test.tsxindex 57f9560b..d3bb75ba 100644--- a/studio/src/hooks/useFileManager.projectOwnership.test.tsx+++ b/studio/src/hooks/useFileManager.projectOwnership.test.tsx@@ -272,7 +272,7 @@ describe("useFileManager uploads", () => {});expect(added).toEqual(["clip.mp4"]);- expect(showToast).toHaveBeenCalledWith(`Added clip.mp4, ${reason}`, "info");+ expect(showToast).toHaveBeenCalledWith("Added clip.mp4, Media checking is unavailable. The file was added, but playback has not been verified.", "info");});it("says why each upload was not added", async () => {@@ -285,7 +285,7 @@ describe("useFileManager uploads", () => {expect(added).toEqual([]);expect(showToast).toHaveBeenCalledWith(- "Not added: clip.mp4 (no supported video stream found), song.mp3 (no supported audio stream found)",+ "Not added: clip.mp4 (No playable video found. Export a video file and try again.), song.mp3 (No playable audio found. Export an audio file and try again.)",);});});diff --git a/studio/src/hooks/useFileManager.ts b/studio/src/hooks/useFileManager.tsindex 2c867e07..30a16c00 100644--- a/studio/src/hooks/useFileManager.ts+++ b/studio/src/hooks/useFileManager.ts@@ -1,3 +1,5 @@+import { useI18n } from "../i18n/I18n";+import { importValidationMessage } from "../i18n/importMessages";import { useState, useCallback, useRef } from "react";import type { EditingFile } from "../utils/studioHelpers";import { FONT_EXT, isMediaFile } from "../utils/mediaTypes";@@ -34,6 +36,7 @@ export function useFileManager({recordEdit,setRefreshKey,}: UseFileManagerOptions) {+ const { t } = useI18n();// ── Shared refs ──const [editingFile, setEditingFile] = useState<EditingFile | null>(null);@@ -216,13 +219,13 @@ export function useFileManager({}if (data.invalid?.length) {const why = data.invalid- .map((entry: { name: string; reason: string }) => `${entry.name} (${entry.reason})`)+ .map((entry: { name: string; reason: string }) => `${entry.name} (${importValidationMessage(entry.reason, t)})`).join(", ");- showToast(`Not added: ${why}`);+ showToast(t("Not added: {message}", { message: why }));}if (data.unchecked?.length) {const names = data.unchecked.map((entry: { name: string }) => entry.name).join(", ");- showToast(`Added ${names}, ${data.unchecked[0].reason}`, "info");+ showToast(t("Added {name}, {message}", { name: names, message: importValidationMessage(data.unchecked[0].reason, t) }), "info");}await refreshFileTree();setRefreshKey((k) => k + 1);@@ -237,7 +240,7 @@ export function useFileManager({}return [];},- [refreshFileTree, setRefreshKey, showToast],+ [refreshFileTree, setRefreshKey, showToast, t],);// ── File CRUD ──diff --git a/studio/src/hooks/usePreviewInteraction.ts b/studio/src/hooks/usePreviewInteraction.tsindex 9b539530..0e58858f 100644--- a/studio/src/hooks/usePreviewInteraction.ts+++ b/studio/src/hooks/usePreviewInteraction.ts@@ -1,3 +1,4 @@+import { useMvpEditor } from "../motion/StudioHost";import { trackPreviewFeatureUsed } from "../utils/previewFeatureUsage";import { useCallback, useRef } from "react";import { liveTime, usePlayerStore } from "../player";@@ -71,6 +72,7 @@ export function usePreviewInteraction({setActiveGroupElement,onClickToSource,}: UsePreviewInteractionParams) {+ const mvp = useMvpEditor();const cycleRef = useRef<ClickCycleState | null>(null);const lastDownRef = useRef<{ t: number; x: number; y: number } | null>(null);@@ -154,7 +156,7 @@ export function usePreviewInteraction({Math.sqrt(dx * dx + dy * dy) < CYCLE_RADIUS_PX &&now - prev.at < CYCLE_WINDOW_MS;- if (e.shiftKey) {+ if (!mvp && e.shiftKey) {// Additive selection — no cyclingcycleRef.current = null;const nextSelection =@@ -212,7 +214,7 @@ export function usePreviewInteraction({e.stopPropagation();applyDomSelection(nextSelection);- if (!e.shiftKey && e.altKey && onClickToSource) {+ if (!mvp && !e.shiftKey && e.altKey && onClickToSource) {onClickToSource(nextSelection);}@@ -223,6 +225,7 @@ export function usePreviewInteraction({all.length > 1 ? { x: e.clientX, y: e.clientY, candidates: all, index: 0, at: now } : null;},[+ mvp,applyDomSelection,captionEditMode,compositionLoading,diff --git a/studio/src/hooks/useRazorSplit.ts b/studio/src/hooks/useRazorSplit.tsindex 17692118..19f538cb 100644--- a/studio/src/hooks/useRazorSplit.ts+++ b/studio/src/hooks/useRazorSplit.ts@@ -1,3 +1,4 @@+import { splitFailureMessage } from "../i18n/editorErrors";import { useCallback, useRef } from "react";import type { TimelineElement } from "../player";import { usePlayerStore } from "../player";@@ -119,7 +120,8 @@ export function useRazorSplit({if (result.syncFailed) return;showToast(`Split ${getTimelineElementLabel(element)} at ${splitTime.toFixed(2)}s`, "info");} catch (error) {- const message = error instanceof Error ? error.message : "Failed to split timeline clip";+ console.warn("Timeline split failed", error);+ const message = splitFailureMessage(error);showToast(message, "error");}},@@ -140,7 +142,8 @@ export function useRazorSplit({if (result.syncFailed) return;showToast(`Split ${result.splitCount} clips at ${splitTime.toFixed(2)}s`, "info");} catch (error) {- const message = error instanceof Error ? error.message : "Failed to split clips";+ console.warn("Timeline split failed", error);+ const message = splitFailureMessage(error);showToast(message, "error");}},diff --git a/studio/src/i18n/I18n.test.tsx b/studio/src/i18n/I18n.test.tsxindex 99ee704f..535cfbf5 100644--- a/studio/src/i18n/I18n.test.tsx+++ b/studio/src/i18n/I18n.test.tsx@@ -3,9 +3,18 @@ import React, { act, useState } from 'react';import { createRoot, type Root } from 'react-dom/client';import { afterEach, beforeEach, expect, it, vi } from 'vitest';import { I18nProvider, LOCALE_STORAGE_KEY, languages, readLocale, translate, useI18n } from './I18n';-import zhCN from './zh-CN.json';+import baseZhCN from './zh-CN.json';+import mvpZhCN from './mvp-zh-CN.json';+const zhCN = { ...baseZhCN, ...mvpZhCN };import { FlatSelectRow } from '../components/editor/propertyPanelFlatSelectRow';import { Section } from '../components/editor/propertyPanelPrimitives';+import { StudioToast } from '../components/StudioToast';+import { systemMessage } from './systemMessages';+import { HF_COLOR_GRADING_PRESETS, HF_COLOR_GRADING_PALETTES } from '@hyperframes/core/color-grading';+import { FlatColorGradingAccessory } from '../components/editor/propertyPanelFlatColorGradingAccessory';+import { normalizeHfColorGrading } from '@hyperframes/core/color-grading';+import { BLOCK_CATEGORIES } from '../utils/blockCategories';+import { EFFECT_GROUPS } from '../components/editor/propertyPanelFlatEffectSpecs';globalThis.IS_REACT_ACT_ENVIRONMENT = true;let root: Root;@@ -118,3 +127,104 @@ it.each(languages)('keeps every native property section identifier stable in $loexpect([...host.querySelectorAll('section')].map(section => section.dataset.panelSection)).toEqual(['animation', 'layout', 'color-grading', 'text', 'flex', 'radius', 'stroke', 'effects', 'clip', 'transparency', 'fill', 'timing', 'image', 'video', 'audio']);expect([...host.querySelectorAll('h3')].map(title => title.textContent)).toEqual(titles.map(title => translate(locale, title)));});++it('covers every grade/effect label and keeps preset identifiers unchanged', () => {+ const labels = [...HF_COLOR_GRADING_PRESETS.map(p => p.label), ...HF_COLOR_GRADING_PALETTES.flatMap(p => [p.label, p.group]),+ ...EFFECT_GROUPS.flatMap(g => [g.label, ...g.effects.flatMap(e => [e.label, e.masterLabel,+ ...(e.settings ?? []).flatMap(c => [c.label, ...(c.kind === 'select' ? c.options.map(o => o.label) : [])])])])];+ for (const label of labels) {+ if (!label || label === 'HyperFrames') continue;+ expect(translate('zh-CN', label), label).not.toBe(label);+ expect(translate('en', label)).toBe(label);+ }+});++it('localizes system feedback without translating authored names or persisted history', () => {+ const zh = (message: string, values?: Record<string, string | number>) => translate('zh-CN', message, values);+ expect(systemMessage('Undid: Edit layer style', zh)).toBe('已撤销:编辑图层样式');+ expect(systemMessage('Copied 3 clips', zh)).toBe('已复制 3 个片段');+ expect(systemMessage('Unable to copy "Preview".', zh)).toBe('无法复制“Preview”。');+ expect(systemMessage("Can't undo: Preview.html changed since that edit.", zh)).toBe('无法撤销:Preview.html 在此次编辑后已发生变化。');+ expect(systemMessage('Undid: Edit layer style', (m, v) => translate('en', m, v))).toBe('Undid: Edit layer style');+ expect(systemMessage('Adding cosmic-orb…', zh)).toBe('正在添加 cosmic-orb…');+ expect(systemMessage('Undid: Add block: Cosmic Orb', zh)).toBe('已撤销:添加动效:Cosmic Orb');+ expect(systemMessage('Redid: Add component: Word Reveal', zh)).toBe('已重做:添加组件:Word Reveal');+ expect(systemMessage('Adding cosmic-orb…', (m, v) => translate('en', m, v))).toBe('Adding cosmic-orb…');+ expect(systemMessage("Couldn't find the current value in compositions/orb.html. It may have been edited by hand.", zh)).toBe('在 compositions/orb.html 中未找到当前值,文件可能已被手动修改。');+});++it('translates every official catalog category without changing English labels', () => {+ for (const category of BLOCK_CATEGORIES) {+ expect(translate('zh-CN', category.label)).not.toBe(category.label);+ expect(translate('en', category.label)).toBe(category.label);+ }+});++it('updates an already visible toast when the interface language changes', () => {+ function Feedback() {+ const { setLocale } = useI18n();+ return <><button onClick={() => setLocale('en')}>Switch</button><StudioToast message="Undid: Edit layer style" /></>;+ }+ act(() => root.render(<I18nProvider initialLocale="zh-CN"><Feedback /></I18nProvider>));+ expect(host.querySelector('[role="status"]')?.textContent).toContain('已撤销:编辑图层样式');+ act(() => host.querySelector('button')!.click());+ expect(host.querySelector('[role="status"]')?.textContent).toContain('Undid: Edit layer style');+});++it('updates runtime grading feedback without rebuilding the grading controls', () => {+ function GradingFeedback() {+ const { setLocale } = useI18n();+ return <><button onClick={() => setLocale('en')}>Switch</button>+ <FlatColorGradingAccessory state={{ grading: normalizeHfColorGrading('neutral')!, compareEnabled: false,+ runtimeStatus: { state: 'inactive', message: 'No grading applied' }, commitCompare: vi.fn(), resetGrading: vi.fn() }} /></>;+ }+ act(() => root.render(<I18nProvider initialLocale="zh-CN"><GradingFeedback /></I18nProvider>));+ const status = host.querySelector('[data-flat-grade-status-message]')!;+ expect(status.textContent).toBe('尚未应用调色');+ act(() => host.querySelector('button')!.click());+ expect(host.querySelector('[data-flat-grade-status-message]')).toBe(status);+ expect(status.textContent).toBe('No grading applied');+});++it('localizes media option labels in both languages without changing serialized values', () => {+ const options = ['fast', 'balanced', 'best', 'contain', 'cover', 'fill', 'none', 'scale-down', 'left top', 'right top', 'left bottom', 'right bottom', 'Montage', 'Hero', 'Bullet', 'Jump cut', 'Flash in', 'Flash out', 'Ramp in', 'Ramp out', 'Slow-mo middle'];+ const change = vi.fn();+ function Options() {+ const { setLocale } = useI18n();+ return <><button onClick={() => setLocale('en')}>Switch</button><FlatSelectRow label="Fit" value="contain" options={options} tier="default" onChange={change} /></>;+ }+ act(() => root.render(<I18nProvider initialLocale="zh-CN"><Options /></I18nProvider>));+ const select = host.querySelector('select')!;+ for (const option of select.options) {+ expect(option.textContent, option.value).not.toBe(option.value);+ expect(options).toContain(option.value);+ }+ act(() => { select.value = 'cover'; select.dispatchEvent(new Event('change', { bubbles: true })); });+ expect(change).toHaveBeenCalledWith('cover');+ act(() => host.querySelector('button')!.click());+ expect(host.querySelector('select')).toBe(select);+ for (const option of select.options) expect(option.textContent).toBe(option.value);+});++it('localizes dynamic split and grading feedback without translating user names', () => {+ const zh = (m: string, v?: Record<string, string | number>) => translate('zh-CN', m, v);+ expect(systemMessage('Split Preview at 2.94s', zh)).toBe('已在 2.94 秒处分割 Preview');+ expect(systemMessage('Split 2 clips at 2.94s', zh)).toBe('已在 2.94 秒处分割 2 个片段');+ expect(systemMessage('Applied color grading on 2 media items', zh)).toBe('已为 2 个素材应用调色');+ expect(systemMessage('Split Preview at 2.94s', (m, v) => translate('en', m, v))).toBe('Split Preview at 2.94s');+});++it('localizes singular, plural and parameterized undo/redo operations without changing clip names', () => {+ const zh = (m: string, v?: Record<string, string | number>) => translate('zh-CN', m, v);+ const en = (m: string, v?: Record<string, string | number>) => translate('en', m, v);+ for (const label of ['Duplicate clip', 'Duplicate clips', 'Paste clip', 'Paste clips', 'Split timeline clip', 'Edit text']) {+ expect(systemMessage(`Undid: ${label}`, zh)).not.toContain(label);+ expect(systemMessage(`Redid: ${label}`, zh)).not.toContain(label);+ expect(systemMessage(`Redid: ${label}`, en)).toBe(`Redid: ${label}`);+ }+ expect(systemMessage('Undid: Split 2 clips at 1.50s', zh)).toBe(`已撤销:${translate('zh-CN', 'Split {count} clips at {time}s', {count: 2, time: '1.50'})}`);+ expect(systemMessage('Split Preview at 1.50s', zh)).toContain('Preview');+ expect(translate('zh-CN', 'Split (move playhead inside clip)')).toBe('分割(请将播放头移到片段内)');+ expect(systemMessage('Undo failed: fetch failed', zh)).toBe('撤销失败:无法连接预览服务,请检查连接后重试。');+ expect(systemMessage('Redo failed: unexpected internal error', zh)).not.toContain('unexpected');+});diff --git a/studio/src/i18n/editorErrors.ts b/studio/src/i18n/editorErrors.tsnew file mode 100644index 00000000..e77dabbc--- /dev/null+++ b/studio/src/i18n/editorErrors.ts@@ -0,0 +1,20 @@+import messages from './zh-CN.json';+import type { Translate } from './I18n';++export function historyFailureMessage(message: string, t: Translate): string {+ if (Object.hasOwn(messages, message)) return t(message);+ if (/conflict|changed|version mismatch/i.test(message)) return t('The project changed. Refresh the editor before trying again.');+ if (/network|fetch|connect/i.test(message)) return t('Cannot connect to the preview service. Check the connection and retry.');+ return t('The operation could not be completed. Check the project and retry.');+}++export function splitFailureMessage(error: unknown): string {+ const message = error instanceof Error ? error.message : String(error ?? '');+ // Do not claim the source is unchanged when a rollback or refresh failed.+ if (/rollback conflicts|could not be safely restored/.test(message)) return 'The split could not be rolled back safely. Reload and check the project before editing again.';+ if (message.startsWith('Cut conflict:')) return 'The project changed during splitting. Refresh the editor and retry.';+ if (message.startsWith('Failed to read ') || message.startsWith('Missing content version for ')) return 'Cannot read the latest clip source. Refresh the editor and retry.';+ if (message === 'Clip is missing a patchable target.') return 'This clip cannot be split. Select a different clip.';+ if (Object.hasOwn(messages, message)) return message;+ return 'Could not split the clip. Check the current clip and retry.';+}diff --git a/studio/src/i18n/historyMessages.ts b/studio/src/i18n/historyMessages.tsindex 495c630a..7a6bd0de 100644--- a/studio/src/i18n/historyMessages.ts+++ b/studio/src/i18n/historyMessages.ts@@ -5,6 +5,10 @@ export function historyEntryLabel(label: string, t: Translate): string {if (label === 'Changed outside the app') return t('External change');if (label.startsWith('Undid: ')) return t('Undo: {label}', { label: historyEntryLabel(label.slice(7), t) });if (label.startsWith('Redid: ')) return t('Redo: {label}', { label: historyEntryLabel(label.slice(7), t) });+ const addedBlock = /^Add (block|component): (.+)$/s.exec(label);+ if (addedBlock) return t(addedBlock[1] === 'block' ? 'Add block: {name}' : 'Add component: {name}', { name: addedBlock[2] });+ const split = /^Split (\d+) clips at ([\d.]+)s$/.exec(label);+ if (split) return t('Split {count} clips at {time}s', { count: Number(split[1]), time: split[2] });const property = /^Edit (muted|volume|opacity|color|font-size|text|width|height|position)$/.exec(label)?.[1];return property ? t('Edit {property}', { property: t(property) }) : t(label);}diff --git a/studio/src/i18n/importMessages.ts b/studio/src/i18n/importMessages.tsnew file mode 100644index 00000000..90a9103a--- /dev/null+++ b/studio/src/i18n/importMessages.ts@@ -0,0 +1,12 @@+import type { Translate } from './I18n';++// Keep diagnostics in the response/log; only actionable copy reaches the user.+export function importValidationMessage(reason: string, t: Translate): string {+ if (reason === 'no supported video stream found') return t('No playable video found. Export a video file and try again.');+ if (reason === 'no supported audio stream found') return t('No playable audio found. Export an audio file and try again.');+ if (reason === 'ffprobe failed to read the media file') return t('Cannot read this media file. Check that it is complete or export it again.');+ if (reason === 'ffprobe returned unreadable media metadata') return t('Cannot read the media information. Export the file again and retry.');+ if (reason.startsWith('HYPERFRAMES_FFPROBE_PATH names ')) return t('The media checker cannot start. Check the local media-tool configuration and retry.');+ if (reason.startsWith('not checked: ffprobe was not found.')) return t('Media checking is unavailable. The file was added, but playback has not been verified.');+ return t('Could not validate this media file. Check the file and retry.');+}diff --git a/studio/src/i18n/messages.ts b/studio/src/i18n/messages.tsindex 038da548..a07f78db 100644--- a/studio/src/i18n/messages.ts+++ b/studio/src/i18n/messages.ts@@ -1,4 +1,5 @@import zhCN from './zh-CN.json';+import mvpZhCN from './mvp-zh-CN.json';import ja from './ja.json';import ko from './ko.json';import de from './de.json';@@ -25,7 +26,14 @@ export const dictionaries: Record<Exclude<Locale, 'en'>, Record<string, Message>'zh-CN': zhCN, ja, ko, de, fr, ru, es, 'pt-BR': ptBR, it, tr,};export const isLocale = (value: unknown): value is Locale => languages.some(language => language.locale === value);-const reverse = Object.fromEntries(Object.entries(dictionaries).map(([locale, messages]) => [locale,+// The MVP interaction audit adds Chinese/English terminology independently of+// the shared eleven-language vocabulary. Other locales retain English fallback+// for these additions until their translations are reviewed.+export const mvpMessages: Partial<Record<Locale, Record<string, Message>>> = { 'zh-CN': mvpZhCN };+const effectiveDictionaries = Object.fromEntries(Object.entries(dictionaries).map(([locale, messages]) =>+ [locale, { ...messages, ...mvpMessages[locale as Locale] }],+));+const reverse = Object.fromEntries(Object.entries(effectiveDictionaries).map(([locale, messages]) => [locale,new Map(Object.entries(messages).flatMap(([source, value]) => (typeof value === 'string' ? [value] : Object.values(value)).map(text => [text, source]))),]));const singular: Record<string, string> = {@@ -40,7 +48,7 @@ const pluralRules = Object.fromEntries(languages.map(({ locale }) => [locale, ne/** Accept legacy Chinese labels and already-localized built-in labels. */export function sourceMessage(message: string, locale: Locale = 'zh-CN'): string {- if (Object.hasOwn(zhCN, message)) return message;+ if (Object.hasOwn(zhCN, message) || Object.hasOwn(mvpZhCN, message)) return message;return reverse[locale]?.get(message) ?? reverse['zh-CN'].get(message) ?? Object.values(reverse).map(index => index.get(message)).find(Boolean) ?? message;}@@ -49,7 +57,7 @@ export function translate(locale: Locale, message: string, values: MessageValuesconst warningPrefix = '模板更新失败,使用已缓存目录:';if (message.startsWith(warningPrefix)) return translate(locale, 'Template update failed; using cached catalogue: {message}', { message: message.slice(warningPrefix.length) });message = sourceMessage(message, locale);- const value = locale === 'en' ? undefined : dictionaries[locale][message];+ const value = locale === 'en' ? undefined : effectiveDictionaries[locale][message];const category = typeof values.count === 'number' ? pluralRules[locale].select(values.count) : 'other';let text = typeof value === 'string' ? value : value?.[category] ?? value?.other ?? message;if (locale === 'en' && category === 'one') text = singular[message] ?? text;diff --git a/studio/src/i18n/mvp-zh-CN.json b/studio/src/i18n/mvp-zh-CN.jsonnew file mode 100644index 00000000..f2236227--- /dev/null+++ b/studio/src/i18n/mvp-zh-CN.json@@ -0,0 +1,939 @@+{+ "System": "系统",+ "Imported": "已导入",+ "Document": "文档",+ "Current": "当前",+ "Everyday video, widely compatible.": "日常视频,兼容性好。",+ "Transparent video for editing. Larger files.": "透明视频,适合剪辑,文件较大。",+ "Transparent video for web. Limited editor support.": "透明视频,适合网页,部分剪辑软件不支持。",+ "Animated image, no audio. Up to 30 fps.": "无声动图,最高 30 fps。",+ "Split": "分割",+ "Click a clip where you want to split it. Switch back to Select to move or select clips.": "点击片段,在点击位置进行分割;切回选择工具后,可继续选择或移动片段。",+ "When enabled, dragged clips snap to nearby clip edges and the playhead for easier alignment.": "开启后,拖动片段会自动吸附到附近的片段边缘和播放头,方便对齐。",+ "Adjust the timeline view to fit the selected clips, making detailed edits easier.": "自动调整时间轴的显示范围,让选中的片段铺满可视区域,方便精细编辑。",+ "First select one or more clips in the timeline, then use this to fit them into view.": "先选中时间轴中的一个或多个片段,再点击此按钮,让所选片段铺满可视区域。",+ "Show the full timeline in the available width. This only changes the view, not the video duration.": "在当前宽度内显示完整时间轴,只调整显示比例,不改变视频时长。",+ "Took {value0}": "耗时 {value0}",+ "Increase": "增大",+ "Decrease": "减小",+ "Import files": "导入文件",+ "Create a project with your Agent to start editing.": "请在 Agent 中创建项目后开始编辑。",+ "Click any element on the canvas to edit it.": "点击画布上的元素进行编辑。",+ "Import files or describe your video to your Agent.": "导入文件,或向 Agent 描述你的视频。",+ "Projects": "项目",+ "Project list": "项目列表",+ "Open active project": "打开当前项目",+ "Grade": "调色",+ "Overlays": "叠加图层",+ "Audio FX": "音频效果",+ "Add layer": "添加图层",+ "Fill: {fill} · {opacity}%": "填充:{fill} · {opacity}%",+ "Image/gradient": "图片/渐变",+ "{count} active effects": "{count} 个已启用效果",+ "In {group}": "位于 {group}",+ "Unreadable": "无法读取",+ "carve": "智能避让",+ "{count} effect": "{count} 个效果",+ "Histogram": "直方图",+ "Waveform": "波形图",+ "RGB Parade": "RGB 分量图",+ "Vectorscope": "矢量示波器",+ "White Point": "白点",+ "Black Point": "黑点",+ "Warmth": "色温",+ "Midpoint": "中点",+ "Roundness": "圆度",+ "Feather": "羽化",+ "Grain Size": "颗粒大小",+ "Roughness": "粗糙度",+ "Midtones": "中间调",+ "Master": "主控",+ "Hue/Hue": "色相/色相",+ "Hue/Sat": "色相/饱和度",+ "Hue/Luma": "色相/亮度",+ "Choose…": "请选择…",+ "Fade in": "淡入",+ "Fade out": "淡出",+ "Row": "行",+ "Column": "列",+ "Bring to front": "置于顶层",+ "Bring forward": "上移一层",+ "Send backward": "下移一层",+ "Send to back": "置于底层",+ "Strength": "强度",+ "Detach audio": "分离音频",+ "Merge audio back into video": "将音频合并回视频",+ "Delete this clip only": "仅删除此片段",+ "Move into Sync first": "请先同步片段位置",+ "Ramp up": "逐渐增强",+ "Ramp down": "逐渐减弱",+ "Swell": "渐强后渐弱",+ "Dip": "渐弱后渐强",+ "Set Gain to": "设置增益为",+ "Adjust Gain by": "调整增益",+ "Normalize Max Peak to": "最大峰值标准化为",+ "Normalize All Peaks to": "所有峰值标准化为",+ "Clean": "清晰",+ "Broadcast": "广播",+ "Warm": "温暖",+ "Telephone": "电话",+ "AM Radio": "调幅广播",+ "Megaphone": "扩音器",+ "Warm daylight": "暖日光",+ "Clean studio": "清透影棚",+ "Vintage wash": "复古褪色",+ "Mono": "单色",+ "Deep contrast": "深度对比",+ "Home movie": "家庭录像",+ "Neutral": "原色",+ "Warm Daylight": "暖日光",+ "Clean Studio": "清透影棚",+ "Skin Soft": "柔肤",+ "Food Pop": "鲜活美食",+ "Night Lift": "夜景提亮",+ "Muted Editorial": "低饱和杂志",+ "Vintage Wash": "复古褪色",+ "Mono Clean": "清透黑白",+ "Mono Fade": "褪色黑白",+ "Soft Boost": "柔和增强",+ "Bright Pop": "明亮鲜活",+ "Deep Contrast": "深度对比",+ "Creator Camcorder": "手持摄像机",+ "VHS Playback": "录像带回放",+ "8mm Home Movie": "8 毫米家庭电影",+ "Editorial Halftone": "杂志网点",+ "Two-Ink Print": "双色印刷",+ "Noir": "黑色电影",+ "Ink & Paper": "纸与墨",+ "Terminal": "终端绿",+ "Amber Glow": "琥珀光",+ "Handheld Green": "掌机绿",+ "Golden Hour": "黄金时刻",+ "Deep Sea": "深海",+ "Arctic Night": "极夜",+ "Synthwave": "合成波",+ "Vaporwave": "蒸汽波",+ "Forest": "森林",+ "Sepia": "棕褐色",+ "Blueprint": "蓝图",+ "Warm Print": "暖色印刷",+ "Electric Ink": "电光油墨",+ "Classic": "经典",+ "Mood": "氛围",+ "Essentials": "基础效果",+ "Pixelate": "像素化",+ "Cell Size": "像素格大小",+ "Bloom": "泛光",+ "Retro & Glitch": "复古与故障",+ "Chroma Softening": "色度柔化",+ "Smear": "涂抹",+ "Tape Damage": "磁带损伤",+ "Tracking": "磁带跟踪",+ "Noise": "噪点",+ "Film Artifacts": "胶片瑕疵",+ "Density": "密度",+ "Scanlines": "扫描线",+ "Line Count": "线条数量",+ "Softness": "柔和度",+ "CRT Curvature": "显像管曲面",+ "Curvature": "曲率",+ "Channel Separation": "通道分离",+ "Separation": "分离程度",+ "Digital Glitch": "数字故障",+ "Color Split": "色彩分离",+ "Line Tear": "线条撕裂",+ "Pixelation": "像素化程度",+ "Block Amount": "色块数量",+ "Displacement": "位移",+ "Block Opacity": "色块不透明度",+ "Print": "印刷",+ "Halftone": "半色调网点",+ "Dot Size": "网点大小",+ "Ordered Dither": "有序抖色",+ "Point Size": "点大小",+ "Mono Screen": "单色网屏",+ "Spread": "扩散",+ "Invert": "反相",+ "Art": "艺术",+ "ASCII": "字符画",+ "Character Size": "字符大小",+ "Use Source Color": "使用原始颜色",+ "Edge Rotation": "边缘旋转",+ "Engraving": "雕版",+ "Spacing": "间距",+ "Min Thickness": "最小厚度",+ "Max Thickness": "最大厚度",+ "Wave": "波纹",+ "Wave Frequency": "波纹频率",+ "Crosshatch": "交叉排线",+ "Thickness": "厚度",+ "Edge Detail": "边缘细节",+ "Line Variation": "线条变化",+ "Kuwahara Paint": "桑原油画",+ "Dense": "密集",+ "Minimal": "极简",+ "Braille": "盲文点阵",+ "Technical": "技术风格",+ "Matrix": "矩阵",+ "Hatching": "排线",+ "Circle": "圆形",+ "Square": "方形",+ "Diamond": "菱形",+ "Triangle": "三角形",+ "Record gesture": "录制手势",+ "Canvas": "画布",+ "Panels": "面板",+ "File on disk": "磁盘上的文件",+ "Unsaved Studio version": "编辑器中未保存的版本",+ "Add composition to timeline": "添加合成到时间轴",+ "Unlink clips": "取消片段关联",+ "Link clips": "关联片段",+ "Move layer": "移动图层",+ "Enable keyframes": "启用关键帧",+ "Add keyframe": "添加关键帧",+ "Remove keyframe": "删除关键帧",+ "Edit timing": "编辑时间",+ "Edit source": "编辑源文件",+ "Edit layer style": "编辑图层样式",+ "Rotate layer": "旋转图层",+ "Resize layer": "调整图层大小",+ "Move animation path": "移动动画路径",+ "Convert to keyframes": "转换为关键帧",+ "Remove all keyframes": "删除所有关键帧",+ "Edit GSAP animation": "编辑动画",+ "Delete GSAP animation": "删除动画",+ "Delete all animations for element": "删除元素的所有动画",+ "Resize timeline clips": "调整时间轴片段长度",+ "Move timeline clip": "移动时间轴片段",+ "Resize timeline clip": "调整时间轴片段长度",+ "Resize layer box": "调整图层边框大小",+ "Reset layer edits": "重置图层修改",+ "Add timeline asset": "添加时间轴素材",+ "Apply ease to all segments": "将缓动应用到所有片段",+ "Resize": "调整大小",+ "Delete element": "删除元素",+ "Reorder layers": "调整图层顺序",+ "Update arc segment": "更新弧线段",+ "Remove arc path": "移除弧线路径",+ "Move layer (new keyframe)": "移动图层(新建关键帧)",+ "Move layer (waypoint)": "移动图层(路径点)",+ "Move animated layer (group)": "移动动画图层(组)",+ "Edit has audio": "修改音轨状态",+ "Retime keyframe (resize tween)": "调整关键帧时间(调整补间长度)",+ "Consolidate position writes": "合并位置修改",+ "Gesture recording (replace set)": "手势录制(替换)",+ "Gesture recording (merge)": "手势录制(合并)",+ "Gesture recording (new range)": "手势录制(新时段)",+ "Gesture recording": "手势录制",+ "Unroll to literal tweens": "展开为独立补间",+ "Undid: {label}": "已撤销:{label}",+ "Redid: {label}": "已重做:{label}",+ "{action} failed: {message}": "{action}失败:{message}",+ "Can't {action}: {paths} changed since that edit.": "无法{action}:{paths} 在此次编辑后已发生变化。",+ "Copied clip": "已复制片段",+ "Copied {count} clips": "已复制 {count} 个片段",+ "Copied element": "已复制元素",+ "Pasted clip": "已粘贴片段",+ "Pasted {count} clips": "已粘贴 {count} 个片段",+ "Duplicated clip": "已创建片段副本",+ "Duplicated {count} clips": "已创建 {count} 个片段副本",+ "Unable to copy \"{name}\".": "无法复制“{name}”。",+ "Couldn't copy to the clipboard. Check browser permissions": "无法复制到剪贴板,请检查浏览器权限",+ "Nothing selected to copy.": "请先选择要复制的内容。",+ "Nothing to paste.": "没有可粘贴的内容。",+ "Unable to copy this element.": "无法复制此元素。",+ "Audio can't be hidden. Use the group's own controls": "音频无法隐藏,请使用该分组的控制项",+ "Cannot edit timeline while recording": "录制期间无法编辑时间轴",+ "This element is inside a sub-composition and has no timeline row to hide.": "此元素位于子合成中,没有可隐藏的时间轴轨道。",+ "Could not copy prompt to clipboard.": "无法将提示词复制到剪贴板。",+ "A keyframe already exists at that time": "该时间点已有关键帧",+ "Couldn't read element layout. Try again at a different playhead time": "无法读取元素布局,请移动播放头后重试",+ "Clip deleted, but the gap could not be closed.": "片段已删除,但无法消除间隙。",+ "Selection lost during recording": "录制过程中选区已丢失",+ "No gesture detected. Move the pointer while recording": "未检测到手势,请在录制时移动指针",+ "Recording too short. Try again": "录制时间过短,请重试",+ "Cannot save: element has no selector": "无法保存:元素没有选择器",+ "Cannot save: element has no unique selector": "无法保存:元素没有唯一选择器",+ "Select an element first": "请先选择一个元素",+ "Preview not ready. Try again": "预览尚未就绪,请重试",+ "Removing background...": "正在移除背景…",+ "Couldn't save edit because it contains invalid layout values": "修改包含无效的布局值,无法保存",+ "Couldn't assign element id because the patch contains invalid values": "修改包含无效值,无法分配元素标识",+ "Select at least 2 elements to group": "请至少选择两个元素进行分组",+ "Select a group to ungroup": "请选择要取消组合的分组",+ "Nothing to delete, the preview was out of date. Try again.": "预览已过期,没有可删除的内容,请重试。",+ "A block is already installing. One moment…": "正在安装一个组件,请稍候…",+ "Cut was saved, but Studio could not refresh it. Reload the preview to resynchronize.": "分割已保存,但预览刷新失败。请重新加载预览以同步。",+ "This clip can't be moved or resized from the timeline yet.": "暂不支持在时间轴移动此片段或调整其长度。",+ "Can't group elements from different files": "无法对不同文件中的元素分组",+ "Upload rejected: payload too large": "上传被拒绝:文件过大",+ "Upload failed: network error": "上传失败:网络错误",+ "Only image, video, and audio assets can be dropped onto the timeline.": "只能将图片、视频和音频素材拖入时间轴。",+ "Composition added to the timeline.": "已将合成添加到时间轴。",+ "Project-wide color grading cannot copy relative LUT paths. Apply to this file or use a URL/data LUT.": "全工程调色无法复制相对路径的 LUT。请应用到当前文件,或使用网址/内嵌数据 LUT。",+ "No color grading changed": "调色未发生变化",+ "Opening this project in the HyperFrames desktop app": "正在 HyperFrames 桌面应用中打开此工程",+ "Couldn't reach the preview server to open the app": "无法连接预览服务器,不能打开应用",+ "The selected clip is not available in the preview yet.": "所选片段尚未出现在预览中。",+ "Installed but no composition file was written": "已安装,但未写入合成文件",+ "This element's size can't be edited here yet: its animation drives it": "此元素的大小由动画控制,暂时无法在这里编辑",+ "Only one layer at this level": "此层级只有一个图层",+ "Timeline track view": "时间轴轨道视图",+ "Panned": "画布已平移",+ "Crop top": "裁剪上边",+ "Crop right": "裁剪右边",+ "Crop bottom": "裁剪下边",+ "Crop left": "裁剪左边",+ "Top": "上",+ "Right": "右",+ "Bottom": "下",+ "Left": "左",+ "in {group}": "位于 {group}",+ "unreadable": "无法读取",+ "Zoomed {percent}%": "缩放 {percent}%",+ "top": "上边",+ "bottom": "下边",+ "Link to audio": "关联音频",+ "Link to video": "关联视频",+ "Unlink from audio": "取消关联音频",+ "Unlink from video": "取消关联视频",+ "Link": "关联",+ "Unlink": "取消关联",+ "undo": "撤销",+ "redo": "重做",+ "Upload failed ({status})": "上传失败({status})",+ "Failed to load {path}": "加载 {path} 失败",+ "Skipped (too large): {files}": "已跳过(文件过大):{files}",+ "Couldn't create folder {path}: {message}": "无法创建文件夹 {path}:{message}",+ "Couldn't create {path}: {message}": "无法创建 {path}:{message}",+ "Couldn't delete {path}: {message}": "无法删除 {path}:{message}",+ "Couldn't rename {path}: {message}": "无法重命名 {path}:{message}",+ "Couldn't duplicate {path}: {message}": "无法复制 {path}:{message}",+ "Blocks": "色块",+ "Fix": "修复",+ "Character": "音色",+ "Space": "空间",+ "Remove Rumble": "去除低频轰鸣",+ "Muffle": "闷化",+ "Shape One Range": "调整单个频段",+ "Bass": "低音",+ "Even Out Loudness": "均衡响度",+ "Peak Ceiling": "峰值上限",+ "True-Peak Ceiling": "真峰值上限",+ "Silence the Gaps": "间隙静音",+ "Lo-Fi": "低保真",+ "Higher or Lower": "升降音调",+ "Echo": "回声",+ "Room": "房间混响",+ "Thicken": "增厚",+ "Swirl": "旋转音效",+ "Peaking EQ": "峰值均衡器",+ "Low Shelf": "低架滤波",+ "High Shelf": "高架滤波",+ "High-pass": "高通滤波",+ "Low-pass": "低通滤波",+ "Compressor": "压缩器",+ "Limiter": "限幅器",+ "True-peak limiter": "真峰值限幅器",+ "Noise Gate": "噪声门",+ "Bitcrush": "比特压缩",+ "Pitch shift": "音调偏移",+ "Delay": "延迟",+ "Chorus": "合唱",+ "Phaser": "移相器",+ "Reverb": "混响",+ "Rumble": "轰鸣",+ "Mud": "浑浊感",+ "Middle": "中频",+ "Presence": "临场感",+ "Edge": "锐利感",+ "Air": "空气感",+ "traffic, footsteps, handling": "交通声、脚步声、操作杂音",+ "body, warmth, low end": "厚度、温暖感、低频",+ "boxy, muffled, cardboard": "箱体感、闷感、纸板感",+ "the body of the sound": "声音的主体",+ "definition, consonants": "清晰度、辅音",+ "harshness, sibilance": "刺耳声、齿音",+ "sparkle, openness": "明亮感、开阔感",+ "Silent": "静音",+ "Louder": "更响亮",+ "Only the deepest": "仅最低频",+ "Thins it out": "削薄声音",+ "Cut below": "切除低于",+ "Everything under this is removed.": "移除低于此频率的所有声音。",+ "How abruptly the cut starts.": "控制切除的起始陡峭程度。",+ "Steepness": "陡峭度",+ "How fast it falls away below the point.": "控制截止频率以下的衰减速度。",+ "Very muffled": "非常沉闷",+ "Barely changed": "变化很小",+ "Cut above": "切除高于",+ "Take it out": "削减",+ "Bring it forward": "突出",+ "Where": "作用频率",+ "Which part of the sound to change.": "选择要调整的声音频段。",+ "How much": "调整量",+ "How wide": "频段宽度",+ "A narrow setting fixes one note; a wide one changes the whole character.": "窄频段用于修正单个音,宽频段用于改变整体音色。",+ "Thinner": "更单薄",+ "Heavier": "更厚重",+ "Up to": "截止频率",+ "Everything below this is lifted or dropped.": "提升或降低此频率以下的所有声音。",+ "Duller": "更暗淡",+ "Brighter": "更明亮",+ "Everything above this is lifted or dropped.": "提升或降低此频率以上的所有声音。",+ "Barely touched": "轻微调整",+ "Very even, quite squashed": "高度均衡、压缩明显",+ "Starts working at": "生效阈值",+ "Anything louder than this gets held down.": "超过此音量的部分将被压低。",+ "How hard": "作用强度",+ "How much of the excess is removed.": "控制超出阈值部分的削减量。",+ "How fast it grabs": "启动速度",+ "Instant": "立即",+ "Lets peaks through": "允许峰值通过",+ "How fast it lets go": "释放速度",+ "Snappy": "迅速",+ "Smooth": "平滑",+ "How gradual": "过渡程度",+ "Volume back up": "补偿音量",+ "Compression makes things quieter; this puts the level back.": "压缩会降低音量,此项用于补偿。",+ "Blend with the original": "混合原始声音",+ "A lot of headroom": "保留较大余量",+ "Right up to the edge": "接近上限",+ "Ceiling": "上限",+ "How fast it catches": "捕捉速度",+ "How fast it recovers": "恢复速度",+ "Level after": "输出电平",+ "Little headroom": "保留较小余量",+ "Target ceiling": "目标上限",+ "Measured with a 4x estimate. Dense full-band sound can end up to about 1.7 dB above it, so leave headroom: -3 for a -1 dBTP limit.": "采用 4 倍过采样估算。密集的全频声音可能超出约 1.7 dB,请预留余量:若要求 -1 dBTP,可设为 -3。",+ "How far ahead it looks": "前瞻时长",+ "Only true silence": "仅完全静音处",+ "Cuts quiet parts too": "同时削减较轻的声音",+ "Quieter than this is a gap": "静音阈值",+ "How far to duck the gaps": "间隙衰减量",+ "Not all the way down, usually. Total silence sounds broken.": "通常不宜完全静音,否则会产生声音断裂感。",+ "How fast it opens": "开启速度",+ "How fast it closes": "关闭速度",+ "Clips tails short": "缩短尾音",+ "Leaves tails intact": "保留完整尾音",+ "Just a sheen": "轻微润色",+ "Openly distorted": "明显失真",+ "Different flavours of the same idea. Tanh is the gentle one.": "不同的失真风格,其中双曲正切较柔和。",+ "How much drive": "驱动强度",+ "Drive makes things louder; this puts it back.": "驱动会提高音量,此项用于补偿。",+ "Higher costs more but sounds cleaner.": "更高设置需要更多计算,但声音更干净。",+ "Slightly gritty": "轻微颗粒感",+ "Destroyed": "强烈破坏感",+ "How many steps": "量化级数",+ "How rough": "粗糙程度",+ "Holds each value for longer, which dulls and grits it.": "延长每个采样值的保持时间,使声音变暗并增加颗粒感。",+ "Much deeper": "更低沉",+ "Much higher": "更高亢",+ "How far": "偏移量",+ "A hint": "少量",+ "Washed out": "强烈扩散",+ "Gap between repeats": "重复间隔",+ "How many repeats": "重复次数",+ "One": "一次",+ "Trails away for ages": "长时间衰减",+ "How loud": "音量",+ "A small tight room": "小而紧凑的房间",+ "A big open hall": "宽阔大厅",+ "How big the space is": "空间大小",+ "How soft the walls are": "墙面吸音程度",+ "Hard and bright": "坚硬明亮",+ "Soft and dark": "柔和暗淡",+ "How much room": "混响量",+ "How much original": "原声量",+ "Just wider": "轻微拓宽",+ "Obviously wobbling": "明显摇摆",+ "How much wobble": "摇摆幅度",+ "How fast it wobbles": "摇摆速度",+ "Subtle": "轻微",+ "Strong": "强烈",+ "Depth in": "输入深度",+ "How strong": "强度",+ "Where it sweeps": "扫频位置",+ "How resonant": "共振程度",+ "How fast it sweeps": "扫频速度",+ "Shape of the sweep": "扫频波形",+ "Turns this track up or down.": "提高或降低此轨道的音量。",+ "It's too loud, or too quiet, against everything else.": "此轨道相对其他内容过响或过轻。",+ "Cuts the very bottom: traffic, footsteps, air conditioning, hands on the mic.": "切除最低频的交通声、脚步声、空调声和触碰麦克风的杂音。",+ "There's a low hum or thump under everything.": "声音底部有低频嗡鸣或碰撞声。",+ "Takes the top off, like the sound is coming through a door.": "削去高频,让声音像隔着门传来。",+ "You want something to sound distant, or behind something else.": "适合营造远处传来或被遮挡的声音。",+ "Lifts or lowers one part of the sound and leaves the rest alone.": "提升或降低一个频段,保持其他部分不变。",+ "One quality is wrong (boomy, boxy, harsh) but the rest is fine.": "用于修正局部的轰鸣、箱体感或刺耳声。",+ "More or less weight underneath everything.": "增加或减少声音底部的厚重感。",+ "It sounds thin, or too heavy.": "适合声音过薄或过重的情况。",+ "More or less sparkle at the top.": "增加或减少高频的明亮感。",+ "It sounds dull, or too fizzy.": "适合声音暗淡或高频过于嘶亮的情况。",+ "Brings the quiet parts up and holds the loud parts down, so nothing jumps out at the listener.": "提升较轻的部分并压低较响的部分,让响度保持平稳。",+ "Some parts are much louder than others.": "适合各部分响度差异过大的情况。",+ "Pulls the loudest moments down toward this ceiling. It reacts to what it hears, so a fast peak can still get past, and Level after is applied on top of it.": "将最响的瞬间压向上限。它会根据当前信号反应,因此快速峰值仍可能超出,输出电平调整也会叠加其上。",+ "You want peaks held down and can accept a small overshoot.": "适合希望压低峰值、但可接受轻微超出的情况。",+ "Pulls the loudest moments, including the ones between samples, down toward a target ceiling.": "将最响的瞬间(包括采样间峰值)压向目标上限。",+ "Peaks need to stay under a delivery limit.": "用于需要满足交付峰值上限的情况。",+ "Mutes the pauses. Whatever sits underneath stays: this closes the gaps, it does not remove noise.": "将停顿处静音,但说话时的底噪仍会保留;此效果用于关闭间隙,并非降噪。",+ "You can hear the room in the gaps.": "适合停顿处能听到房间背景声的情况。",+ "Adds a little grit and density, the way analogue gear does.": "像模拟设备一样增加颗粒感和厚度。",+ "It sounds clean but lifeless.": "适合声音干净但缺乏活力的情况。",+ "Crushes the sound down to fewer steps, like an old sampler or a bad phone line.": "减少声音的量化级数,营造旧采样器或劣质电话线路的质感。",+ "You want it to sound cheap or digital on purpose.": "用于刻意营造廉价或数字化的音色。",+ "Shifts everything up or down without changing its speed.": "升高或降低音调,同时保持播放速度。",+ "It should sound squeakier, or deeper.": "用于让声音更尖细或更低沉。",+ "Repeats the sound after a gap.": "间隔一段时间后重复声音。",+ "You want space, or a rhythmic effect.": "用于营造空间感或节奏效果。",+ "Puts the sound somewhere, instead of nowhere.": "为声音增加环境空间感。",+ "It sounds dry and stuck to the speaker.": "适合声音过干、缺乏空间感的情况。",+ "Doubles the sound slightly out of tune, which makes it wider and less exact.": "叠加轻微失谐的声音副本,使音色更宽厚。",+ "It sounds thin or too plain on its own.": "适合声音单薄或过于平淡的情况。",+ "A filter that sweeps up and down, giving a moving, hollow shimmer.": "上下扫动的滤波器,营造流动、空心的闪烁音色。",+ "You want movement, or a 1970s flavour.": "用于增加流动感或七十年代风格。",+ "My voice sounds amateur": "让人声更专业",+ "I want it to sound like radio": "营造电台人声",+ "I want it intimate and close": "让人声亲密贴近",+ "There's a hum or thump underneath": "去除底部嗡鸣或碰撞声",+ "I can hear the room in the gaps": "减少停顿中的房间声",+ "It sounds boomy": "减轻轰鸣感",+ "It's harsh and tiring to listen to": "柔化刺耳的声音",+ "Make it sound like a phone call": "模拟电话通话",+ "Make it sound like an old radio": "模拟老式收音机",+ "Make it sound shouted through a horn": "模拟扩音喇叭",+ "Make it sound like an old tape": "模拟旧磁带",+ "Make it sound like a station announcement": "模拟车站广播",+ "Make it sound like a door intercom": "模拟门禁对讲机",+ "Make it wobble like it is seasick": "营造晕眩摇摆的声音",+ "Make it small and squeaky": "让声音细小尖锐",+ "Make it huge and deep": "让声音厚重低沉",+ "Make it a monster": "营造怪兽音色",+ "It sounds dry and stuck to the speaker": "增加干声的空间感",+ "It should sound like a real place": "营造真实空间感",+ "It should sound far away and big": "营造遥远宏大的空间",+ "I want one quick echo": "添加一次短回声",+ "I want long trailing echoes": "添加长尾回声",+ "Clean Voice": "清晰人声",+ "Close & Warm": "亲密温暖",+ "Cut Rumble": "切除轰鸣",+ "Quiet Between Phrases": "语句间静音",+ "Tame Boominess": "抑制轰鸣",+ "Soften Harshness": "柔化刺耳声",+ "Tape": "磁带",+ "Tannoy": "公共广播",+ "Intercom": "对讲机",+ "Doofus Worble": "滑稽摇摆",+ "Chipmunk": "花栗鼠音",+ "Giant": "巨人音",+ "Monster": "怪兽音",+ "Tight Room": "紧凑房间",+ "Natural Room": "自然房间",+ "Hall": "大厅",+ "Slap Echo": "短促回声",+ "Dub Throw": "长尾回声",+ "Cuts rumble and mud, evens out the level, adds a little clarity.": "削减轰鸣和浑浊感,均衡电平并增加清晰度。",+ "Denser and more forward: a radio-presenter sound.": "更饱满、更突出的电台主持人音色。",+ "Intimate and lightly handled, for a voice close to the mic.": "适合贴近麦克风的人声,处理轻柔而亲密。",+ "Removes traffic, handling and air-conditioning from under a voice.": "去除人声底部的交通、操作和空调杂音。",+ "Silences the gaps between words. Room tone under speech stays: this closes the pauses, it does not remove noise.": "将词句间隙静音,保留说话时的房间声;此效果用于处理停顿,并非降噪。",+ "Takes out the chestiness of a voice too close to the mic.": "减轻离麦克风过近导致的胸腔轰鸣感。",+ "Rounds off a brittle upper-mid. Broad and always-on; sibilance proper wants the measuring version.": "柔化刺耳的中高频,持续作用于较宽频段;专门处理齿音需要动态检测。",+ "Down the line: the narrow band of a phone call.": "模拟电话通话的窄频段声音。",+ "Narrow, gritty and a little crushed.": "窄频、颗粒感和轻微压缩。",+ "Shouted through a horn, with the slap that comes with it.": "模拟通过喇叭喊话,并带有短促回声。",+ "Worn, warm and slightly unsteady, like a played-out cassette.": "像旧磁带一样磨损、温暖且略有不稳定。",+ "Announced across a concourse.": "模拟大厅中的广播通知。",+ "Buzzed through a door panel, squelch and all.": "模拟门禁面板传来的对讲声,带有电流和静噪效果。",+ "Seasick and wobbling, no straight signal left.": "强烈摇摆、晕眩的音色。",+ "Small, fast and squeaky.": "细小、轻快而尖锐。",+ "Huge, slow and deep.": "厚重、缓慢而低沉。",+ "Deep, rough and too close.": "低沉、粗糙且极为贴近。",+ "A small hard room: presence without wash.": "小型硬质房间的临场感,混响不会过度扩散。",+ "Sounds recorded somewhere rather than nowhere.": "营造在真实空间录制的感觉。",+ "Long and open, for something that should sit far back.": "悠长而开阔,适合营造远处的声音。",+ "One quick repeat: rockabilly vocal, not a wash.": "一次短促重复,适合摇滚人声,避免混响扩散。",+ "Repeats that trail off well behind the beat.": "回声在节拍之后持续衰减。",+ "Attack": "启动时间",+ "Bandwidth: higher is narrower.": "数值越高,作用频段越窄。",+ "Bit depth": "位深",+ "Cutoff": "截止频率",+ "Damping": "阻尼",+ "Decay": "衰减",+ "Depth": "深度",+ "Dry": "干声",+ "Feedback": "反馈",+ "Frequency": "频率",+ "How far ahead the gain starts falling. Longer is smoother and adds the same latency.": "提前降低增益的时间;越长越平滑,同时增加相应延迟。",+ "How far down the gate pulls when closed.": "噪声门关闭时的衰减幅度。",+ "Knee": "拐点过渡",+ "Level above which the compressor starts working.": "超过此电平时压缩器开始工作。",+ "Lookahead": "前瞻",+ "Makeup": "补偿增益",+ "Mix": "混合",+ "Oversample": "过采样",+ "Range": "范围",+ "Ratio": "压缩比",+ "Release": "释放时间",+ "Room size": "房间大小",+ "Sample hold": "采样保持",+ "Semitones": "半音",+ "Slope": "斜率",+ "Threshold": "阈值",+ "Wet": "湿声",+ "Higher costs more but keeps aliasing down.": "更高设置需要更多计算,但能减少混叠。",+ "Higher rolls the top off the tail faster.": "数值越高,混响尾音的高频衰减越快。",+ "Below 1 blends the dry signal back in.": "小于 1 时会混入原始干声。",+ "1 is a hard corner; higher eases into it.": "1 表示硬拐点,更高数值可柔化过渡。",+ "Two poles is the usual biquad; one pole is gentler.": "双极为常见的双二阶滤波,单极更柔和。",+ "Repeats each sample N times, a crude downsample.": "将每个采样重复 N 次,实现粗略降采样。",+ "Add Air": "增加空气感",+ "Add Clarity": "增加清晰度",+ "Add Weight": "增加厚重感",+ "Boxy": "箱体感",+ "Carrier Hiss": "载波嘶声",+ "Circuit Grit": "电路颗粒感",+ "Concourse": "大厅",+ "Crunch": "碎裂感",+ "De-mud": "去浑浊",+ "Down Low": "降低低频",+ "Driver Grit": "驱动颗粒感",+ "Extra Sparkle": "额外明亮感",+ "Growl": "咆哮",+ "Hold It Together": "稳定响度",+ "Horn Honk": "喇叭鸣声",+ "Horn Ring": "喇叭共振",+ "Horn Slap": "喇叭短回声",+ "IF Droop": "中频衰减",+ "Overdrive": "过载",+ "Panel Honk": "面板鸣声",+ "Phone Honk": "电话鸣声",+ "Radio Grit": "电台颗粒感",+ "Reduce Boxiness": "减轻箱体感",+ "Reduce Mud": "减轻浑浊感",+ "Right Behind You": "近距离回声",+ "Squelch": "静噪",+ "Strip the Bass": "移除低音",+ "Strip the Treble": "移除高音",+ "Tannoy Honk": "广播鸣声",+ "Tape Noise": "磁带噪声",+ "Tape Rolloff": "磁带高频衰减",+ "Tape Warmth": "磁带暖色",+ "Up High": "提升高频",+ "Worble": "摇摆",+ "Wow & Flutter": "抖晃",+ "Algebraic": "代数曲线",+ "Arctan": "反正切",+ "Cubic": "三次曲线",+ "Error function": "误差函数",+ "Exponential": "指数曲线",+ "Hard clip": "硬削波",+ "Quintic": "五次曲线",+ "Sine": "正弦",+ "Sinusoidal": "正弦波",+ "Tanh": "双曲正切",+ "Triangular": "三角波",+ "No change": "未改变",+ "Doing nothing yet": "尚未产生变化",+ "Unchanged pitch": "音调未改变",+ "Swirling": "旋转音效",+ "Thickened": "已增厚",+ "Thickened, wobbling": "已增厚并加入摇摆",+ "Evening out, gentle": "轻度均衡响度",+ "Evening out, moderate": "中度均衡响度",+ "Evening out, firm": "强度均衡响度",+ "A little warmth": "少量暖色",+ "Some warmth": "适度暖色",+ "Heavy warmth": "浓重暖色",+ "Up {value} dB": "提高 {value} dB",+ "Down {value} dB": "降低 {value} dB",+ "Cutting everything below {frequency}": "切除 {frequency} 以下的声音",+ "Muffled above {frequency}": "闷化 {frequency} 以上的声音",+ "Sitting on {frequency}, doing nothing yet": "位于 {frequency},尚未产生变化",+ "Lifting {frequency} by {value} dB": "在 {frequency} 提升 {value} dB",+ "Cutting {frequency} by {value} dB": "在 {frequency} 削减 {value} dB",+ "More weight below {frequency}": "增强 {frequency} 以下的厚重感",+ "Less weight below {frequency}": "减弱 {frequency} 以下的厚重感",+ "More sparkle above {frequency}": "增强 {frequency} 以上的明亮感",+ "Less sparkle above {frequency}": "减弱 {frequency} 以上的明亮感",+ "Peaks pulled down toward {value} dB": "将峰值压向 {value} dB",+ "Peaks pulled down toward {value} dBTP": "将峰值压向 {value} dBTP",+ "Closing gaps quieter than {value} dB": "关闭低于 {value} dB 的间隙",+ "Crushed to {value} bits": "压缩为 {value} 位",+ "Up {value} semitones": "升高 {value} 个半音",+ "Down {value} semitones": "降低 {value} 个半音",+ "Echo every {value} ms": "每隔 {value} 毫秒产生回声",+ "Sets {count} settings at once. Open Details to see where they land.": "同时调整 {count} 个设置,展开详情可查看具体参数。",+ "Double-click to enter group": "双击进入分组",+ "This layer can't be reordered": "无法调整此图层的顺序",+ "Audio Gain": "音频增益",+ "A small room, lightly": "小型房间,轻度混响",+ "A small room, moderately": "小型房间,中度混响",+ "A small room, heavily": "小型房间,重度混响",+ "A medium room, lightly": "中型房间,轻度混响",+ "A medium room, moderately": "中型房间,中度混响",+ "A medium room, heavily": "中型房间,重度混响",+ "A large room, lightly": "大型房间,轻度混响",+ "A large room, moderately": "大型房间,中度混响",+ "A large room, heavily": "大型房间,重度混响",+ "analysing…": "正在分析…",+ "no analysis yet": "尚未分析",+ "pick a voice": "选择人声",+ "{count} band": "{count} 个频段",+ "{count} bands": "{count} 个频段",+ "level": "电平",+ "{count} voices": "{count} 个人声",+ "No grading applied": "尚未应用调色",+ "Shader active": "调色已生效",+ "Shader + LUT active": "调色与 LUT 已生效",+ "Waiting for shader": "正在等待调色就绪",+ "Waiting for runtime": "正在等待预览就绪",+ "Updating shader": "正在更新调色",+ "Save failed, changes reverted": "保存失败,已还原修改",+ "Media not found": "未找到媒体",+ "Loading LUT": "正在加载 LUT",+ "Waiting for media frame": "正在等待媒体画面",+ "WebGL unavailable": "WebGL 不可用",+ "Waiting for visible media": "正在等待媒体显示",+ "Editorial Flash Overlay": "闪光叠加",+ "Organic Light Leak Overlay": "自然漏光叠加",+ "Camcorder HUD": "摄像机取景框",+ "Freeze-Frame Dressing": "定格装饰",+ "Snow": "飘雪",+ "Starfield": "星空",+ "Finite neutral-warm light layers for a seek-safe camera-flash cut or social reveal": "中性暖光叠加,用于闪光切换或画面揭示,支持任意时间预览。",+ "Finite CSS light-leak overlay for memory beats and motivated transitions": "漏光叠加,用于回忆段落和场景转场。",+ "Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments": "摄像机风格的取景框叠加,包含自适应录制标识、电量、可编辑日期和随时间轴变化的计时器。",+ "Timeline-driven paper, tape, and flash dressing for a freeze-frame or background-removed subject": "随时间轴变化的纸张、胶带与闪光装饰,适用于定格画面或抠像主体。",+ "Seek-safe falling-snow overlay: sparse or dense flakes drift down with size, speed and opacity correlated per flake for depth, radial-masked so the frame center stays clear": "支持任意时间预览的飘雪叠加。可调节雪花密度,通过不同大小、速度与透明度呈现纵深,并保持画面中心清晰。",+ "Seek-safe night-sky overlay: sparse or dense stars in three size tiers that twinkle and drift in two parallax layers, radial-masked to keep the frame center clear": "支持任意时间预览的星空叠加。可调节星星密度,三种大小的星星在双层视差中闪烁漂移,并保持画面中心清晰。",+ "Filters": "滤波",+ "Dynamics": "动态处理",+ "Non-linear": "非线性效果",+ "Too much low-end body, so it booms.": "低频过重,声音轰鸣。",+ "Muffled, like it is behind cardboard.": "声音闷浊,像隔着纸板。",+ "Sounds like a small room, or a box.": "声音像来自狭小房间或箱子。",+ "It is hard to make out because it sits back.": "声音靠后,难以听清。",+ "Harsh and tiring to listen to.": "声音刺耳,听久容易疲劳。",+ "Boost or cut a band, leaving everything either side alone.": "提升或衰减一个频段,不影响两侧频率。",+ "Detuned copies of the signal for width and thickness.": "叠加轻微失谐的声音,增加宽度和厚度。",+ "Drop bit depth and sample rate for a lo-fi, digital sound.": "降低位深和采样率,产生低保真数字音色。",+ "Lift or drop everything above the corner frequency.": "提升或衰减转折频率以上的声音。",+ "Lift or drop everything below the corner frequency.": "提升或衰减转折频率以下的声音。",+ "Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.": "前瞻限幅器将四倍过采样估算的采样间峰值控制在真峰值上限内;全频段噪声仍可能超出约 1.7 dB。延迟为前瞻时长加约 0.3 毫秒。",+ "Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.": "跟随信号电平的峰值限幅器。不含前瞻,瞬时峰值或采样间峰值可能超过上限;交付时需要严格限幅,请使用真峰值限幅器。",+ "Pull loud parts down so the quiet ones can come up.": "压低响亮部分,让较轻的声音更清楚。",+ "Raise or lower the whole signal. Automate it to duck under something else.": "整体提升或降低音量,也可通过自动化为其他声音让位。",+ "Remove high frequencies, which darkens or muffles a track.": "削减高频,使音色更暗或更闷。",+ "Remove low frequencies: the usual fix for rumble on a voice.": "削减低频,常用于消除人声中的低频轰鸣。",+ "Repeating echoes behind the dry signal.": "在原声后加入重复回声。",+ "Room tail. Both ends convolve the same generated impulse, so preview matches render.": "添加空间混响尾音。预览与导出使用相同的脉冲响应,保持听感一致。",+ "Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.": "升高或降低音高,不改变播放速度。增加约 50 毫秒延迟。",+ "Silence the track when it drops below the threshold.": "音量低于阈值时将轨道静音。",+ "Soft-clip the waveform for warmth or outright distortion.": "对波形进行软削波,产生温暖或失真音色。",+ "Sweeping notches moving through the spectrum.": "让凹陷频段在频谱中扫动。",+ "Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it.": "目标真峰值,以四倍过采样测量。密集的全频段声音仍可能超出约 1.7 dB。",+ "Project assets": "当前工程素材",+ "Code Animations": "代码动画",+ "VFX": "视觉特效",+ "Transitions": "转场",+ "Text Effects": "文字特效",+ "Social": "社交媒体",+ "Data": "数据图表",+ "Scenes": "场景",+ "Accent": "强调色",+ "Accent hue": "强调色色相",+ "Aperture blade count, the bokeh polygon's sides": "光圈叶片数(散景多边形的边数)",+ "Aperture f-number (lower = bigger bokeh)": "光圈值(越小,散景越大)",+ "Arc length": "弧长",+ "Arm count": "旋臂数量",+ "Backdrop and fog colour": "背景与雾的颜色",+ "Bars shown": "显示条数",+ "Beat pulse (0-1, flat value when no envelope is set)": "节拍强度(0–1;未设置包络时使用固定值)",+ "Beat pulse envelope: comma-separated 0-1 samples spread evenly across the clip": "节拍包络(用逗号分隔 0–1 的数值,均匀分布于片段)",+ "Bloom radius": "泛光半径",+ "Bokeh exposure": "散景曝光",+ "Cat's-eye clipping at the frame corners (mechanical vignetting)": "画面边角的猫眼散景裁切(机械暗角)",+ "Cell size (dot pitch, 1 = 6px, 100 = 60px)": "网点间距(1 对应 6 像素,100 对应 60 像素)",+ "Core brightness": "核心亮度",+ "Core colour": "核心颜色",+ "Corner radius": "圆角",+ "Drift rate": "漂移速度",+ "Edge line colour": "边线颜色",+ "Edge line opacity": "边线不透明度",+ "Emitter count": "发射器数量",+ "Eyebrow": "眉题",+ "Far focal distance in metres (where the pull ends and the far subject sits)": "远端对焦距离(米,焦点移动的终点)",+ "Field frequency (1 = broad swells, 10 = fine mottle)": "场频率(1 为大幅起伏,10 为细碎斑纹)",+ "Flight speed (segments per second)": "飞行速度(段/秒)",+ "Flow speed (0 freezes the field)": "流动速度(0 为静止)",+ "Focal length in mm (longer lens = shallower depth of field)": "焦距(毫米;越长,景深越浅)",+ "Fog distance in segments: depth at which the corridor reaches pure backdrop": "雾距(段数;走廊完全融入背景的深度)",+ "Footer": "底部文字",+ "Gamma: midtone crush, the whole look. Low values flatten it to an even grey dot field": "伽马(控制中间调;低值使网点趋于均匀灰色)",+ "Glow": "辉光",+ "Glow intensity": "辉光强度",+ "Grid density: slots per wall face per axis (2 = 4 per face, 16 per segment)": "网格密度(每面每轴的格数;2 对应每面 4 格、每段 16 格)",+ "High-pass threshold": "高通阈值",+ "Image share of filled slots (0 = all colour, 1 = all images)": "已填充格中的图片占比(0 为全纯色,1 为全图片)",+ "Image slots: comma-separated paths, tiled into the panels (e.g. assets/shot-1.png,assets/shot-2.png)": "图片路径(用逗号分隔,依次平铺到面板中)",+ "Leader accent": "领先项强调色",+ "Maximum rows": "最大行数",+ "Movement": "移动方式",+ "Name": "名称",+ "Near focal distance in metres (where the pull starts and the near subject sits)": "近端对焦距离(米,焦点移动的起点)",+ "Nebula hue": "星云色相",+ "Orb size (fraction of frame height)": "光球大小(占画面高度的比例)",+ "Overflow line": "超出部分的文字",+ "Palette bias: floor under every dot's size and palette position. 0 lets the darks go fully black": "色板偏置(网点大小与色板位置的下限;0 允许暗部全黑)",+ "Palette stop 1 (lows)": "色板色标 1(暗部)",+ "Palette stop 2": "色板色标 2",+ "Palette stop 3": "色板色标 3",+ "Palette stop 4 (crests)": "色板色标 4(亮部)",+ "Period": "周期",+ "Period labels (comma separated)": "周期标签(用逗号分隔)",+ "Portal color": "传送门颜色",+ "Pull duration in seconds": "焦点移动时长(秒)",+ "Pull easing (any GSAP ease name)": "焦点移动缓动(填写 GSAP 缓动名称)",+ "Quantise to 30fps for a stepped LED-wall look": "按每秒 30 帧量化,模拟发光屏的步进效果",+ "Rim colour": "轮廓颜色",+ "Role": "角色",+ "Rotation rate": "旋转速度",+ "Rows (JSON array of name, merges, avatar)": "行数据(JSON 数组,字段为 name、merges、avatar)",+ "Seconds held on the near subject before the pull starts": "近处主体停留时长(秒)",+ "Seconds per period": "每个周期的秒数",+ "Series (one per line: Name: v1, v2, ...)": "数据系列(每行一组:名称: 数值1, 数值2, …)",+ "Slab palette: comma-separated hex colours": "面板色板(用逗号分隔十六进制颜色)",+ "Slot fill rate": "网格填充率",+ "Source line": "来源文字",+ "Spin rate (turns per second)": "自转速度(圈/秒)",+ "Star count": "星星数量",+ "Star density": "星星密度",+ "Star size": "星星大小",+ "Streak intensity": "拖尾强度",+ "Streak length gain": "拖尾长度增益",+ "Streak tint": "拖尾颜色",+ "Subtitle": "副标题",+ "Total": "总计",+ "Value decimals": "数值小数位数",+ "Value prefix": "数值前缀",+ "Value suffix": "数值后缀",+ "Glide (smooth)": "平滑滑动",+ "Step (snap at corners)": "步进(在转角吸附)",+ "Stepped 30fps": "每秒 30 帧步进",+ "Failed to install block": "动效安装失败",+ "Install failed": "安装失败",+ "Failed to add block": "动效添加失败",+ "Couldn't save the block file. Retry?": "无法保存动效文件,请重试。",+ "Adding {name}…": "正在添加 {name}…",+ "Add block: {name}": "添加动效:{name}",+ "Add component: {name}": "添加组件:{name}",+ "Couldn't find the current value in {path}. It may have been edited by hand.": "在 {path} 中未找到当前值,文件可能已被手动修改。",+ "\"{value}\" appears {count}× in {path}. The panel can't tell which one belongs to this parameter, so it won't risk changing unrelated content. Edit the file directly to disambiguate.": "“{value}”在 {path} 中出现了 {count} 次,无法确定哪一处属于此参数,因此未做修改。请直接编辑文件以明确目标。",+ "Expand preview": "展开预览",+ "Restore preview": "收起预览",+ "Name cannot contain slashes or two consecutive dots.": "名称不能包含斜杠或连续两个点。",+ "Return to the editor layout. You can also press Esc.": "恢复编辑布局,也可以按 Esc 收起。",+ "Enlarge the preview within this workspace, keeping your chat visible.": "在当前工作区放大预览,保留左侧对话。",+ "fast": "快速",+ "balanced": "均衡",+ "best": "最佳",+ "contain": "完整显示",+ "cover": "铺满并裁切",+ "fill": "拉伸填充",+ "scale-down": "仅缩小",+ "left top": "左上",+ "right top": "右上",+ "left bottom": "左下",+ "right bottom": "右下",+ "Montage": "蒙太奇",+ "Hero": "重点展示",+ "Bullet": "子弹时间",+ "Jump cut": "跳切",+ "Flash in": "快速进入",+ "Flash out": "快速退出",+ "Ramp in": "逐渐加速",+ "Ramp out": "逐渐减速",+ "Slow-mo middle": "中段慢动作",+ "this track": "当前音轨",+ "to mix": "输出到混音",+ "track": "音轨",+ "group": "分组",+ "nothing yet": "暂无输入",+ "into {name}": "输出到 {name}",+ "{names} and {last}": "{names} 和 {last}",+ "{members}, together": "合并 {members}",+ "Split {name} at {time}s": "已在 {time} 秒处分割 {name}",+ "Split {count} clips at {time}s": "已在 {time} 秒处分割 {count} 个片段",+ "Some animations use non-ID selectors ({selectors}) and were not retargeted": "部分动画使用非 ID 选择器({selectors}),尚未重新关联目标",+ "Failed to split timeline clip": "分割片段失败",+ "Failed to split clips": "分割片段失败",+ "{title} opened": "已打开{title}",+ "{title} closed": "已关闭{title}",+ "{title} maximized": "已展开{title}",+ "{title} restored": "已还原{title}",+ "playhead": "播放头",+ "clip edge": "片段边缘",+ "beat": "节拍",+ "grid line": "网格线",+ "Copied element info for {name}. Paste it into any AI agent": "已复制 {name} 的元素信息,可粘贴给 AI 助手",+ "{label}: no change applied": "{label}:未应用更改",+ "Applied color grading on {count} media item": "已为 {count} 个素材应用调色",+ "Applied color grading on {count} media items": "已为 {count} 个素材应用调色",+ "Cleared color grading on {count} media item": "已清除 {count} 个素材的调色",+ "Cleared color grading on {count} media items": "已清除 {count} 个素材的调色",+ "Use the razor tool ({key}) to split clips inside a sub-composition": "请使用分割工具({key})分割子合成中的片段",+ "Couldn't save \"{name}\": {message}": "无法保存“{name}”:{message}",+ "Couldn't apply color grading: {message}": "无法应用调色:{message}",+ "Couldn't assign element id: element not found in {path}": "无法设置元素标识:在 {path} 中未找到元素",+ "Saved, but couldn't finish updating {path}: {message}": "已保存,但未能完成更新 {path}:{message}",+ "Couldn't save the text edit: {message}": "无法保存文字修改:{message}",+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.": "无法保存 {path}。最新修改尚未保存,请检查预览服务;再次编辑会重试保存。",+ "Deleting {name}...": "正在删除 {name}…",+ "Deleted {name}. Use Undo to restore it.": "已删除 {name},可通过撤销恢复。",+ "Deleted {name}. Use Undo to restore them.": "已删除 {name},可通过撤销恢复。",+ "Not added: {message}": "未添加:{message}",+ "Added {name}, {message}": "已添加 {name},{message}",+ "Froze a 2 s still at {time}s": "已在 {time} 秒处创建 2 秒定格画面",+ "Recorded {count} keyframes": "已录制 {count} 个关键帧",+ "Gesture commit failed: {message}": "操作保存失败:{message}",+ "Couldn't save animation: {message}": "无法保存动画:{message}",+ "Created transparent asset: {name}": "已创建透明素材:{name}",+ "Undid {label}": "已撤销{label}",+ "Redid {label}": "已重做{label}",+ "caption edit": "字幕编辑",+ "dynamics": "动态处理",+ "filter": "滤波器",+ "nonlinear": "非线性处理",+ "time": "时间",+ "6 dB/oct": "每倍频程 6 分贝",+ "12 dB/oct": "每倍频程 12 分贝",+ "Split (move playhead inside clip)": "分割(请将播放头移到片段内)",+ "Split timeline clip": "分割时间轴片段",+ "Duplicate clip": "复制片段副本",+ "Duplicate clips": "复制片段副本",+ "Paste clip": "粘贴片段",+ "Paste clips": "粘贴片段",+ "Move clip": "移动片段",+ "Trim clip": "裁剪片段",+ "Split clip": "分割片段",+ "Edit text": "编辑文字",+ "Pasted element": "已粘贴元素",+ "Failed to copy": "复制失败",+ "Failed to paste": "粘贴失败",+ "Failed to duplicate": "创建副本失败",+ "No playable video found. Export a video file and try again.": "未找到可播放的视频轨道,请重新导出视频文件后导入。",+ "No playable audio found. Export an audio file and try again.": "未找到可播放的音频轨道,请重新导出音频文件后导入。",+ "Cannot read this media file. Check that it is complete or export it again.": "无法读取媒体文件,请确认文件完整或重新导出后导入。",+ "Cannot read the media information. Export the file again and retry.": "无法读取媒体信息,请重新导出文件后导入。",+ "The media checker cannot start. Check the local media-tool configuration and retry.": "媒体检查工具无法启动,请检查本地媒体工具配置后重试。",+ "Media checking is unavailable. The file was added, but playback has not been verified.": "媒体检查暂不可用。文件已添加,但尚未验证能否播放。",+ "Could not validate this media file. Check the file and retry.": "无法完成媒体文件检查,请检查文件后重试。",+ "The project changed. Refresh the editor before trying again.": "工程已发生变化,请刷新编辑器后重试。",+ "Cannot connect to the preview service. Check the connection and retry.": "无法连接预览服务,请检查连接后重试。",+ "The operation could not be completed. Check the project and retry.": "未能完成操作,请检查工程后重试。",+ "The split could not be rolled back safely. Reload and check the project before editing again.": "分割未能安全回退,请重新加载并检查工程后再继续编辑。",+ "The project changed during splitting. Refresh the editor and retry.": "分割时工程发生了变化,请刷新编辑器后重试。",+ "Cannot read the latest clip source. Refresh the editor and retry.": "无法读取片段的最新内容,请刷新编辑器后重试。",+ "This clip cannot be split. Select a different clip.": "此片段暂不支持分割,请选择其他片段。",+ "Could not split the clip. Check the current clip and retry.": "未能分割片段,请检查当前片段后重试。"+}diff --git a/studio/src/i18n/operationFeedback.test.ts b/studio/src/i18n/operationFeedback.test.tsnew file mode 100644index 00000000..0510e78e--- /dev/null+++ b/studio/src/i18n/operationFeedback.test.ts@@ -0,0 +1,36 @@+import { expect, it } from 'vitest';+import { translate } from './I18n';+import { importValidationMessage } from './importMessages';+import { splitFailureMessage } from './editorErrors';++it('distinguishes invalid media, missing tracks and unavailable validation in both languages', () => {+ const reasons = [+ 'ffprobe failed to read the media file', 'no supported video stream found',+ 'no supported audio stream found', 'ffprobe returned unreadable media metadata',+ 'HYPERFRAMES_FFPROBE_PATH names "/missing", which cannot run: fix it or unset it',+ 'not checked: ffprobe was not found. Install FFmpeg or set HYPERFRAMES_FFPROBE_PATH.',+ 'unexpected backend details',+ ];+ const zh = reasons.map(reason => importValidationMessage(reason, (m, v) => translate('zh-CN', m, v)));+ const en = reasons.map(reason => importValidationMessage(reason, (m, v) => translate('en', m, v)));+ expect(new Set(zh).size).toBe(reasons.length);+ for (const message of zh) expect(message).not.toMatch(/[A-Za-z]/);+ for (const message of en) expect(message).not.toMatch(/[\u4e00-\u9fff]/);+ expect(zh[5]).toContain('文件已添加');+ expect(zh[0]).toContain('文件完整');+});++it('preserves split failure distinctions without exposing raw server errors', () => {+ const reasons = [+ 'Cut conflict: version changed', 'Failed to read index.html before cut (503)',+ 'Missing content version for index.html', 'Clip is missing a patchable target.',+ 'Cut aborted with rollback conflicts', 'Cut failed: internal server error',+ ];+ const messages = reasons.map(reason => splitFailureMessage(new Error(reason)));+ expect(messages[4]).toContain('could not be rolled back safely');+ expect(messages[0]).toContain('project changed');+ for (const message of messages) {+ expect(translate('zh-CN', message)).not.toBe(message);+ expect(translate('en', message)).toBe(message);+ }+});diff --git a/studio/src/i18n/systemMessages.ts b/studio/src/i18n/systemMessages.tsnew file mode 100644index 00000000..3ac9c4cc--- /dev/null+++ b/studio/src/i18n/systemMessages.ts@@ -0,0 +1,92 @@+import { historyFailureMessage } from "./editorErrors";+import type { Translate } from './I18n';+import { historyEntryLabel } from './historyMessages';++// Only known system messages are interpreted. Captured names, paths and server+// details are passed through as values, never translated as interface labels.+const TEMPLATES = [+ "Copied element info for {name}. Paste it into any AI agent",+ "{label}: no change applied",+ "Applied color grading on {count} media item",+ "Applied color grading on {count} media items",+ "Cleared color grading on {count} media item",+ "Cleared color grading on {count} media items",+ "Use the razor tool ({key}) to split clips inside a sub-composition",+ "Couldn't save \"{name}\": {message}",+ "Couldn't apply color grading: {message}",+ "Couldn't assign element id: element not found in {path}",+ "Saved, but couldn't finish updating {path}: {message}",+ "Couldn't save the text edit: {message}",+ "Couldn't save {path}. Your latest edits are NOT persisted. Check the preview server; editing again retries the save.",+ "Deleting {name}...",+ "Deleted {name}. Use Undo to restore it.",+ "Deleted {name}. Use Undo to restore them.",+ "Not added: {message}",+ "Added {name}, {message}",+ "Froze a 2 s still at {time}s",+ "Recorded {count} keyframes",+ "Gesture commit failed: {message}",+ "Couldn't save animation: {message}",+ "Created transparent asset: {name}",++ 'Split {count} clips at {time}s', 'Split {name} at {time}s',+ 'Some animations use non-ID selectors ({selectors}) and were not retargeted',++ 'Adding {name}…',+ "Couldn't find the current value in {path}. It may have been edited by hand.",+ '"{value}" appears {count}× in {path}. The panel can\'t tell which one belongs to this parameter, so it won\'t risk changing unrelated content. Edit the file directly to disambiguate.',+ "Up {value} dB",+ "Down {value} dB",+ "Cutting everything below {frequency}",+ "Muffled above {frequency}",+ "Sitting on {frequency}, doing nothing yet",+ "Lifting {frequency} by {value} dB",+ "Cutting {frequency} by {value} dB",+ "More weight below {frequency}",+ "Less weight below {frequency}",+ "More sparkle above {frequency}",+ "Less sparkle above {frequency}",+ "Peaks pulled down toward {value} dB",+ "Peaks pulled down toward {value} dBTP",+ "Closing gaps quieter than {value} dB",+ "Crushed to {value} bits",+ "Up {value} semitones",+ "Down {value} semitones",+ "Echo every {value} ms",+ "Sets {count} settings at once. Open Details to see where they land.",+ "{count}-band",+ 'Copied {count} clips', 'Pasted {count} clips', 'Duplicated {count} clips',+ 'Unable to copy "{name}".', 'Upload failed ({status})',+ 'Failed to load {path}', 'Skipped (too large): {files}',+ "Couldn't create folder {path}: {message}", "Couldn't create {path}: {message}",+ "Couldn't delete {path}: {message}", "Couldn't rename {path}: {message}",+ "Couldn't duplicate {path}: {message}",+];+const patterns = TEMPLATES.map(template => {+ const keys: string[] = [];+ const pattern = template.split(/(\{\w+\})/).map(part => {+ if (/^\{\w+\}$/.test(part)) { keys.push(part.slice(1, -1)); return '(.+?)'; }+ return part.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');+ }).join('');+ return { template, keys, regex: new RegExp(`^${pattern}$`, 's') };+});++export function systemMessage(message: string, t: Translate): string {+ const plainHistory = /^(Undid|Redid) (.+)$/s.exec(message);+ if (plainHistory) return t(plainHistory[1] === 'Undid' ? 'Undid {label}' : 'Redid {label}', { label: historyEntryLabel(plainHistory[2], t) });+ const history = /^(Undid|Redid): (.+)$/s.exec(message);+ if (history) return t(history[1] === 'Undid' ? 'Undid: {label}' : 'Redid: {label}', {+ label: historyEntryLabel(history[2], t),+ });+ const failed = /^(Undo|Redo) failed: (.*)$/s.exec(message);+ if (failed) return t('{action} failed: {message}', { action: t(failed[1]), message: historyFailureMessage(failed[2], t) });+ const conflict = /^Can't (undo|redo): (.*) changed since that edit\.$/s.exec(message);+ if (conflict) return t("Can't {action}: {paths} changed since that edit.", {+ action: t(conflict[1]), paths: conflict[2],+ });+ for (const { template, keys, regex } of patterns) {+ const match = regex.exec(message);+ if (match) return t(template, Object.fromEntries(keys.map((key, index) => [key, key === "message" ? t(match[index + 1]) : match[index + 1]])));+ }+ return t(message);+}diff --git a/studio/src/i18n/zh-CN.json b/studio/src/i18n/zh-CN.jsonindex e7d55bd4..8cb3242a 100644--- a/studio/src/i18n/zh-CN.json+++ b/studio/src/i18n/zh-CN.json@@ -270,7 +270,7 @@"Free. Opens hyperframes.studio in a new tab.": "免费。在新标签页打开 hyperframes.studio。","Freeze frame": "定格","Freeze frame (move playhead inside clip)": "定格(将播放头移到片段内)",- "From": "起始",+ "From": "起始频率","GIF loop count (0 = forever, max 65535)": "GIF 循环次数(0 为无限循环,最大 65535)","Gain": "增益","Gap": "间隙",@@ -524,7 +524,7 @@"Rewrite the helper/loop into explicit tweens so this keyframe edits directly": "将辅助函数或循环改为明确的 tween,以直接编辑关键帧","Ripple off: deleting a main-track clip leaves a gap": "波纹编辑已关闭:删除主轨片段后保留间隙","Ripple on: keeps the main track gapless": "波纹编辑已开启:保持主轨无间隙",- "Root": "主合成",+ "Root": "完整视频","Root composition: opens automatically on load": "主合成:加载时自动打开","Rotate": "旋转","Rotate element to follow path tangent": "沿路径切线旋转元素",@@ -574,7 +574,7 @@"Set default": "设为默认值","Set motion destination": "设置运动目标","Shadow": "阴影",- "Shape": "画面比例",+ "Shape": "形状","Shortcuts and tools": "快捷键与工具","Show audio meters": "显示音量表","Show out-of-sync indicators": "显示不同步标记",@@ -673,12 +673,12 @@"Variables": "变量","Vignette settings": "暗角设置","Visible: click to hide": "可见:点击隐藏",- "Voice": "语音",+ "Voice": "人声","Voiceover carve": "人声避让","Volume": "音量","Waiting for preview server… run": "正在等待预览服务…请运行","WebM video": "WebM 视频",- "Weight": "字重",+ "Weight": "厚重感","What should change?": "想修改什么?","When this effect begins on the timeline": "此效果在时间轴上的开始时间","When this effect plays": "此效果的播放时间",@@ -728,15 +728,15 @@"transparent": "透明","unused": "未使用","waveform unavailable": "波形不可用",- "Compositions": "合成",- "Assets": "素材",+ "Compositions": "片段",+ "Assets": "我的素材","Code": "代码",- "Catalog": "组件库",+ "Catalog": "官方动效库","Preview": "预览","Timeline": "时间轴","Design": "属性","Layers": "图层",- "Renders": "导出任务",+ "Renders": "导出","Slideshow": "幻灯片","Blur": "模糊","History": "历史",@@ -794,7 +794,7 @@"Switch to light theme": "切换到浅色主题","Switch to dark theme": "切换到深色主题","Close {title}": "关闭 {title}",- "Renders ({count})": "导出任务({count})",+ "Renders ({count})": "导出({count})","Undo: {action}": "撤销:{action}","Redo: {action}": "重做:{action}","Close template library": "关闭模板库",@@ -827,7 +827,7 @@"Open {value0}": "打开 {value0}","{value0} changed outside Studio. Preview is paused so neither version is lost.": "{value0} 已在编辑器外修改。预览已暂停,两份版本均保留。","Studio could not safely finish local saves: {value0}. Preview is paused.": "编辑器无法完成本地保存:{value0}。预览已暂停。",- "Renders ({value0})": "导出任务({value0})",+ "Renders ({value0})": "导出({value0})","Timeline tool: {value0}": "时间轴工具:{value0}","Snapping on ({value0})": "吸附已开启({value0})","Snapping off ({value0})": "吸附已关闭({value0})",@@ -1043,9 +1043,9 @@"Sharpness": "锐度","Grain": "颗粒","Vignette": "暗角",- "left": "左对齐",+ "left": "左边","center": "居中",- "right": "右对齐",+ "right": "右边","justify": "两端对齐","none": "无","uppercase": "大写",@@ -1143,7 +1143,7 @@"safe margins": "安全边距","{label} {state}": "{label}{state}","on": "已开启",- "off": "已关闭",+ "off": "关闭","Unmute": "取消静音","Mute": "静音","visual": "视觉",@@ -1579,9 +1579,9 @@"PICK A TEMPLATE. MAKE IT YOURS.": "选择模板,创作你的作品。","YOUR VIDEO. STILL YOURS.": "你的作品,由你掌握。","Search templates": "搜索模板",- "Endpoint ID": "端点 ID",- "Something went wrong": "出了点问题",- "Reload Studio": "重新加载工作室",+ "Endpoint ID": "端点标识",+ "Something went wrong": "出现了问题",+ "Reload Studio": "重新加载编辑器","Variable": "变量","variable": "变量","Model gateway": "模型网关",@@ -1664,7 +1664,7 @@"Timeline edit blocked": "时间轴编辑被阻止","A clip has no id to save it by": "剪辑没有 id 来保存它","Atomic GSAP property batch is unavailable": "原子 GSAP 属性批次不可用",- "Failed to load catalog": "加载目录失败",+ "Failed to load catalog": "动效库加载失败","No project is open.": "没有项目开放。","No active project": "没有活动项目","Active project changed before the edit could be saved": "活动项目在保存编辑之前已更改",diff --git a/studio/src/icons/RemixIcons.test.tsx b/studio/src/icons/RemixIcons.test.tsxnew file mode 100644index 00000000..97d72d22--- /dev/null+++ b/studio/src/icons/RemixIcons.test.tsx@@ -0,0 +1,40 @@+// @vitest-environment happy-dom+import { readFileSync } from "node:fs";+import path from "node:path";+import { act, createRef } from "react";+import { createRoot } from "react-dom/client";+import { expect, it } from "vitest";+import * as icons from "./RemixIcons";++(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;++it("bundles a real vector for every exported editor icon and its filled state", () => {+ const sprite = new DOMParser().parseFromString(readFileSync(path.resolve(import.meta.dirname, "../../../web/design-system/icons.svg"), "utf8"), "image/svg+xml");+ const host = document.createElement("div");+ const root = createRoot(host);+ const components = Object.entries(icons).filter(([name]) => name !== "RemixIcon");+ try {+ for (const weight of ["regular", "fill"] as const) {+ act(() => root.render(<>{components.map(([name, Component]) => <Component key={name} weight={weight} />)}</>));+ for (const use of host.querySelectorAll("use")) {+ const id = use.getAttribute("href")!.split("#")[1];+ expect(sprite.getElementById(id)?.querySelector("path"), id).toBeTruthy();+ }+ }+ } finally { act(() => root.unmount()); }+});++it("preserves refs, accessible labels, sizing, and distinct visibility states", () => {+ const host = document.createElement("div");+ const root = createRoot(host);+ const ref = createRef<SVGSVGElement>();+ try {+ act(() => root.render(<icons.Eye ref={ref} size={20} alt="Show layer" />));+ expect(ref.current?.getAttribute("width")).toBe("20");+ expect(ref.current?.getAttribute("aria-label")).toBe("Show layer");+ expect(ref.current?.querySelector("use")?.getAttribute("href")).toContain("#ri-eye-line");+ act(() => root.render(<icons.EyeSlash ref={ref} />));+ expect(ref.current?.getAttribute("aria-hidden")).toBe("true");+ expect(ref.current?.querySelector("use")?.getAttribute("href")).toContain("#ri-eye-off-line");+ } finally { act(() => root.unmount()); }+});diff --git a/studio/src/icons/RemixIcons.tsx b/studio/src/icons/RemixIcons.tsxnew file mode 100644index 00000000..4b406e20--- /dev/null+++ b/studio/src/icons/RemixIcons.tsx@@ -0,0 +1,114 @@+import { forwardRef } from "react";+import type { Icon, IconProps } from "@phosphor-icons/react";+export type { Icon, IconProps } from "@phosphor-icons/react";++/** Remix Icon 4.9.1, shared with the OpenDesign reference design system.+ * Legacy weight props remain compatible; only explicit fill selects a filled variant.+ * Paths are bundled locally, so the editor needs no icon CDN or network request.+ */+const filledVariants = new Set(["add-fill", "alert-fill", "align-item-left-fill", "anticlockwise-fill", "apps-2-fill", "arrow-down-s-fill", "arrow-go-back-fill", "arrow-go-forward-fill", "arrow-left-fill", "arrow-right-fill", "arrow-right-s-fill", "arrow-right-up-fill", "arrow-up-fill", "braces-fill", "camera-fill", "camera-lens-fill", "chat-1-fill", "check-fill", "checkbox-blank-fill", "checkbox-circle-fill", "clapperboard-fill", "clipboard-fill", "clockwise-fill", "close-fill", "closed-captioning-fill", "code-s-slash-fill", "computer-fill", "cursor-fill", "delete-bin-fill", "download-2-fill", "drag-move-2-fill", "dropper-fill", "edit-fill", "equalizer-fill", "expand-horizontal-fill", "external-link-fill", "eye-fill", "eye-off-fill", "file-add-fill", "file-code-fill", "file-copy-fill", "file-fill", "file-image-fill", "file-text-fill", "file-video-fill", "film-fill", "flashlight-fill", "folder-add-fill", "folder-fill", "folder-open-fill", "fullscreen-exit-fill", "fullscreen-fill", "global-fill", "grid-fill", "history-fill", "home-fill", "image-fill", "information-fill", "layout-2-fill", "layout-column-fill", "loader-4-fill", "markdown-fill", "menu-fill", "moon-fill", "more-fill", "music-2-fill", "palette-fill", "pause-fill", "pen-nib-fill", "play-fill", "plug-fill", "question-fill", "refresh-fill", "repeat-fill", "robot-fill", "route-fill", "ruler-fill", "save-fill", "scissors-cut-fill", "scissors-fill", "search-fill", "settings-3-fill", "shield-check-fill", "side-bar-fill", "skip-left-fill", "skip-right-fill", "slideshow-fill", "sparkling-fill", "stack-fill", "subtract-fill", "sun-fill", "terminal-box-fill", "time-fill", "upload-2-fill", "voiceprint-fill", "volume-down-fill", "volume-mute-fill", "volume-up-fill", "zoom-in-fill", "zoom-out-fill"]);+export const RemixIcon = forwardRef<SVGSVGElement, IconProps & { name: string }>(+ function RemixIcon({ name, size = 16, weight, alt, mirrored, children, style, ...props }, ref) {+ const filled = name.replace(/-line$/, "-fill");+ const variant = weight === "fill" && filledVariants.has(filled) ? filled : name;+ return <svg ref={ref} width={size} height={size} viewBox="0 0 24 24"+ aria-hidden={alt ? undefined : true} aria-label={alt} {...props}+ fill="currentColor" stroke="none" data-remix-icon={variant}+ style={mirrored ? { ...style, transform: `${style?.transform ?? ""} scaleX(-1)` } : style}>+ {alt && <title>{alt}</title>}+ <use href={`/web/design-system/icons.svg#ri-${variant}`} />+ {children}+ </svg>;+ },+);++function icon(name: string): Icon {+ const Component = forwardRef<SVGSVGElement, IconProps>((props, ref) => <RemixIcon {...props} name={name} ref={ref} />);+ Component.displayName = `RemixIcon(${name})`;+ return Component;+}++export const Aperture = icon("camera-lens-line");+export const ArrowClockwise = icon("clockwise-line");+export const ArrowCounterClockwise = icon("anticlockwise-line");+export const ArrowLeft = icon("arrow-left-line");+export const ArrowLineLeft = icon("skip-left-line");+export const ArrowLineRight = icon("skip-right-line");+export const ArrowSquareOut = icon("external-link-line");+export const ArrowsOutCardinal = icon("drag-move-2-line");+export const ArrowsOutLineHorizontal = icon("expand-horizontal-line");+export const BezierCurve = icon("pen-nib-line");+export const BracketsCurly = icon("braces-line");+export const Camera = icon("camera-line");+export const CaretDown = icon("arrow-down-s-line");+export const CaretRight = icon("arrow-right-s-line");+export const CaretRightIcon = icon("arrow-right-s-line");+export const ChartBarHorizontal = icon("timeline-view");+export const Check = icon("check-line");+export const CheckCircleIcon = icon("checkbox-circle-line");+export const ClipboardText = icon("clipboard-line");+export const Clock = icon("time-line");+export const ClockCounterClockwise = icon("history-line");+export const Code = icon("code-s-slash-line");+export const Copy = icon("file-copy-line");+export const CornersIn = icon("fullscreen-exit-line");+export const CornersOut = icon("fullscreen-line");+export const DotsThree = icon("more-line");+export const Eye = icon("eye-line");+export const EyeSlash = icon("eye-off-line");+export const Eyedropper = icon("dropper-line");+export const File = icon("file-line");+export const FileCode = icon("file-code-line");+export const FileCss = icon("file-code-line");+export const FileHtml = icon("file-code-line");+export const FileJpg = icon("file-image-line");+export const FileJs = icon("file-code-line");+export const FileJsx = icon("file-code-line");+export const FileMd = icon("markdown-line");+export const FilePlus = icon("file-add-line");+export const FilePng = icon("file-image-line");+export const FileSvg = icon("file-image-line");+export const FileTs = icon("file-code-line");+export const FileTsx = icon("file-code-line");+export const FileTxt = icon("file-text-line");+export const FileVideo = icon("file-video-line");+export const FilmSlate = icon("clapperboard-line");+export const FilmStrip = icon("film-line");+export const FolderSimple = icon("folder-line");+export const FolderSimplePlus = icon("folder-add-line");+export const FrameCorners = icon("focus-mode");+export const Gear = icon("settings-3-line");+export const GridFour = icon("grid-line");+export const Image = icon("image-line");+export const Layout = icon("layout-2-line");+export const Lightning = icon("flashlight-line");+export const Link = icon("link");+export const LinkSimple = icon("link");+export const Magnet = icon("align-item-left-line");+export const MagnetStraight = icon("align-item-left-line");+export const MagnifyingGlassMinus = icon("zoom-out-line");+export const MagnifyingGlassPlus = icon("zoom-in-line");+export const Minus = icon("subtract-line");+export const Monitor = icon("computer-line");+export const MusicNote = icon("music-2-line");+export const Palette = icon("palette-line");+export const Path = icon("route-line");+export const PencilSimple = icon("edit-line");+export const Plus = icon("add-line");+export const Presentation = icon("slideshow-line");+export const Ruler = icon("ruler-line");+export const Scissors = icon("scissors-line");+export const SlidersHorizontal = icon("equalizer-line");+export const SpeakerHigh = icon("volume-up-line");+export const SpeakerSlash = icon("volume-mute-line");+export const Square = icon("checkbox-blank-line");+export const SquareSplitVertical = icon("layout-column-line");+export const SquaresFour = icon("apps-2-line");+export const Stack = icon("stack-line");+export const TextAa = icon("font-size");+export const TextT = icon("text");+export const Trash = icon("delete-bin-line");+export const WarningIcon = icon("alert-line");+export const Waveform = icon("voiceprint-line");+export const X = icon("close-line");+export const XIcon = icon("close-line");diff --git a/studio/src/icons/SystemIcons.tsx b/studio/src/icons/SystemIcons.tsxindex d74aed85..c05a7397 100644--- a/studio/src/icons/SystemIcons.tsx+++ b/studio/src/icons/SystemIcons.tsx@@ -27,19 +27,19 @@ import {Image as PhImage,BezierCurve,FolderSimple,-} from "@phosphor-icons/react";-import type { Icon as PhosphorIcon, IconProps as PhosphorIconProps } from "@phosphor-icons/react";+} from "./RemixIcons";+import type { Icon as LegacyIcon, IconProps as LegacyIconProps } from "./RemixIcons";-type IconProps = PhosphorIconProps & { title?: string };+type IconProps = LegacyIconProps & { title?: string };-const makeIcon = (Icon: PhosphorIcon) => {+const makeIcon = (Icon: LegacyIcon) => {const Wrapped = ({ title, ...props }: IconProps) => (<Icon alt={title} aria-label={title} aria-hidden={title ? undefined : true} {...props} />);return Wrapped;};-// Lucide name → Phosphor equivalent+// Existing editor names mapped to the shared Remix Icon components.export const Check = makeIcon(PhCheck);export const Clock = makeIcon(PhClock);export const Eye = makeIcon(PhEye);diff --git a/studio/src/motion/ConnectionDialog.tsx b/studio/src/motion/ConnectionDialog.tsxindex 6c12d6a6..781cc280 100644--- a/studio/src/motion/ConnectionDialog.tsx+++ b/studio/src/motion/ConnectionDialog.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "./StudioHost";import { useI18n } from '../i18n/I18n';import { useEffect, useRef } from 'react';import { mountConnection } from '../../../web/connect';@@ -12,6 +13,7 @@ type Props = { open: boolean; section?: 'setup' | 'templates'; busy: boolean; er/** The original integration page lives inside one modal; Studio stays mounted beneath it. */export function ConnectionDialog(props: Props) {const { t, locale } = useI18n();+ const mvp = useMvpEditor();const dialog = useRef<HTMLDialogElement>(null), root = useRef<HTMLDivElement>(null);const controller = useRef<ReturnType<typeof mountConnection> | null>(null);const callbacks = useRef(props); callbacks.current = props;@@ -24,10 +26,18 @@ export function ConnectionDialog(props: Props) {close: () => { if (!callbacks.current.busy) callbacks.current.onClose(); },useTemplate: id => { if (!callbacks.current.busy) callbacks.current.onOpen(id); },});+ if (mvp) {+ // Keep the shared gallery controller, previews and attribution links.+ // Only the integration/marketing sections are absent from the editor MVP.+ root.current!.querySelectorAll<HTMLElement>('.connect-header, .connect-main > :not(#templates)').forEach(section => {+ section.hidden = true;+ section.inert = true;+ });+ }controller.current = mounted;return () => { mounted.destroy(); controller.current = null; };- }, []);- useEffect(() => { controller.current?.setLanguage(locale, t); }, [locale, t]);+ }, [mvp]);+ useEffect(() => { controller.current?.setLanguage(locale, t); }, [locale, t, mvp]);useEffect(() => {if (!props.open) { controller.current?.suspend(); dialog.current?.close(); return; }dialog.current?.showModal(); controller.current?.resume();@@ -38,12 +48,12 @@ export function ConnectionDialog(props: Props) {onKeyDown={event => event.stopPropagation()}onCancel={event => { if (event.target !== dialog.current) return; event.preventDefault(); if (!props.busy) props.onClose(); }}><div className="connection-dialog-bar">- <h2 id="connection-dialog-title">{t("MCP connection · Templates")}</h2>+ <h2 id="connection-dialog-title">{t(mvp ? "Template library" : "MCP connection · Templates")}</h2><div className="connection-dialog-tools"><input id="template-search" className="ui-input connection-search" type="search" maxLength={200} placeholder={t("Search templates, creators, styles…")} aria-label={t("Search templates")} /><button id="connection-templates" className="ui-button ui-button--ghost ui-button--sm" onClick={() => controller.current?.showTemplates()}>{t("View all templates")}</button></div>- <button id="close-connections" className="ui-button ui-button--ghost ui-button--icon" aria-label={t("Close MCP connection")} disabled={props.busy} onClick={props.onClose}><MotionIcon name="close" /></button>+ <button id="close-connections" className="ui-button ui-button--ghost ui-button--icon" aria-label={t(mvp ? "Close template library" : "Close MCP connection")} disabled={props.busy} onClick={props.onClose}><MotionIcon name="close" /></button></div>{(props.error || props.busy) && <p className="connect-error" role="status">{props.error ? t(props.error) : t('Preparing editable project…')}</p>}<div id="connection-root" ref={root} />diff --git a/studio/src/motion/MotionApp.tsx b/studio/src/motion/MotionApp.tsxindex f1722598..56c4434a 100644--- a/studio/src/motion/MotionApp.tsx+++ b/studio/src/motion/MotionApp.tsx@@ -1,10 +1,8 @@import { useEffect, useState } from 'react';import { useI18n } from '../i18n/I18n';import { WorkspaceFrame } from './WorkspaceFrame';-import { MotionHome } from './MotionHome';import { motionApi, type ProjectCatalog } from './useWorkspace';import { requestedProject, validWorkspaceProject } from './workspaceRouting';-import { MotionSessionFrame } from './MotionSessionFrame';import type { SessionDetail, SessionArtifact } from '../../../shared/session';import { ArtifactViewer } from './ArtifactViewer';@@ -13,7 +11,7 @@ const noPendingSaves = async () => {};export async function resolveWorkspaceProject(id: string, signal: AbortSignal) {if (!validWorkspaceProject(id)) throw new Error('项目链接无效');const catalog = await motionApi<ProjectCatalog>('/projects', { signal });- if (!catalog.projects.some(project => project.id === id)) throw new Error('项目不存在,请从首页选择一个项目。');+ if (!catalog.projects.some(project => project.id === id)) throw new Error('项目不存在,请从左侧列表选择一个项目。');signal.throwIfAborted();await motionApi('/preview/open', { method: 'POST', signal }, id);}@@ -27,16 +25,16 @@ export function MotionApp() {const [error, setError] = useState('');const [attempt, retry] = useState(0);useEffect(() => {- if (projectId === null && sessionId === null) return;const controller = new AbortController();setError('');async function resolve() {const catalog = await motionApi<ProjectCatalog>('/projects', { signal: controller.signal });- const id = sessionId ?? catalog.sessions?.find(item => item.artifacts.some(artifact => artifact.projectId === projectId))?.id;+ const targetProject = projectId ?? (sessionId ? null : catalog.activeId);+ const id = sessionId ?? catalog.sessions?.find(item => item.artifacts.some(artifact => artifact.projectId === targetProject))?.id;if (!id || !validWorkspaceProject(id)) throw new Error('会话不存在');const session = await motionApi<SessionDetail>(`/sessions/${id}`, { signal: controller.signal });if (!session.artifacts.length && projectId === null) { setReady({ sessionId: id }); return; }- const artifact = session.artifacts.find(item => item.projectId === projectId) ?? (projectId === null ? session.artifacts.find(item => item.id === session.activeArtifactId) ?? session.artifacts[0] : undefined);+ const artifact = session.artifacts.find(item => item.projectId === targetProject) ?? (targetProject === null ? session.artifacts.find(item => item.id === session.activeArtifactId) ?? session.artifacts[0] : undefined);if (!artifact) throw new Error('该产物不属于此会话');await resolveWorkspaceProject(artifact.projectId, controller.signal);if (controller.signal.aborted) return;@@ -48,8 +46,7 @@ export function MotionApp() {void resolve().catch(err => { if (!controller.signal.aborted) setError((err as Error).message); });return () => controller.abort();}, [projectId, sessionId, attempt]);- if (projectId === null && sessionId === null) return <WorkspaceFrame waitForSaves={noPendingSaves}><MotionHome /></WorkspaceFrame>;- if (error) return <WorkspaceFrame waitForSaves={noPendingSaves}><div className="motion-route-state" role="alert"><h1>{t('Could not open project')}</h1><p>{t(error)}</p><div><a className="motion-button" href="/">{t('Back to home')}</a><button className="motion-button" onClick={() => retry(value => value + 1)}>{t('Retry')}</button></div></div></WorkspaceFrame>;+ if (error) return <WorkspaceFrame waitForSaves={noPendingSaves}><div className="motion-route-state" role="alert"><h1>{t('Could not open project')}</h1><p>{t(error)}</p><div><a className="motion-button" href="/">{t('Open active project')}</a><button className="motion-button" onClick={() => retry(value => value + 1)}>{t('Retry')}</button></div></div></WorkspaceFrame>;const loading = <div className="motion-route-state" role="status">{t('Opening project…')}</div>;- return ready ? <WorkspaceFrame waitForSaves={noPendingSaves} projectId={ready.artifact?.projectId} sessionId={ready.sessionId}><MotionSessionFrame sessionId={ready.sessionId} projectId={ready.artifact?.projectId}>{ready.artifact && <ArtifactViewer artifact={ready.artifact} />}</MotionSessionFrame></WorkspaceFrame> : loading;+ return ready ? <WorkspaceFrame waitForSaves={noPendingSaves} projectId={ready.artifact?.projectId} sessionId={ready.sessionId}>{ready.artifact ? <ArtifactViewer artifact={ready.artifact} /> : <div className="motion-route-state">{t('Create a project with your Agent to start editing.')}</div>}</WorkspaceFrame> : loading;}diff --git a/studio/src/motion/MotionStudioHost.test.tsx b/studio/src/motion/MotionStudioHost.test.tsxindex b3b11ee4..b2ab7f8f 100644--- a/studio/src/motion/MotionStudioHost.test.tsx+++ b/studio/src/motion/MotionStudioHost.test.tsx@@ -3,7 +3,6 @@ import React, { act } from 'react';import { createRoot, type Root } from 'react-dom/client';import { afterEach, beforeEach, expect, it, vi } from 'vitest';import { MotionEditorFrame, MotionStudioHost } from './MotionStudioHost';-import { WorkspaceMenuButton } from './WorkspaceFrame';import { StudioHeader } from '../components/StudioHeader';import { useMotionHistoryOperation } from './MotionHistoryState';@@ -49,23 +48,31 @@ function HistoryOperationState({ busy }: { busy: boolean }) {return null;}function render(historyBusy = false) {- act(() => root.render(<MotionStudioHost><HistoryOperationState busy={historyBusy} /><MotionEditorFrame><WorkspaceMenuButton /><StudioHeader captureFrameHref="/frame.png" captureFrameFilename="frame.png"+ act(() => root.render(<MotionStudioHost><HistoryOperationState busy={historyBusy} /><MotionEditorFrame><StudioHeader captureFrameHref="/frame.png" captureFrameFilename="frame.png"handleCaptureFrameClick={vi.fn()} refreshCaptureFrameTime={vi.fn()} inspectorButtonActive={false}inspectorPanelActive={false} onExport={state.export} /></MotionEditorFrame></MotionStudioHost>));}+function openSidebar() {+ act(() => container.querySelector<HTMLButtonElement>('.motion-workspace-menu')!.click());+}const button = (text: string) => [...container.querySelectorAll('button')].find(el => el.textContent === text)!;-it('shares project sessions outside the native editor while Export keeps the native callback', () => {+it('keeps project switching, templates, history actions and native export in the MVP', () => {render();const header = container.querySelector('.motion-studio-header')!;- const project = container.querySelector<HTMLButtonElement>('.motion-session[title="Second"]')!;+ openSidebar();+ const project = document.querySelector<HTMLButtonElement>('.motion-session[title="Second"]')!;expect(header.contains(project)).toBe(false);- expect(container.querySelector('.motion-session[aria-current="page"]')?.textContent).toContain('Demo');- for (const text of ['模板库', '预览', '布局', '历史', '导出']) expect(header.contains(button(text))).toBe(true);+ expect(document.querySelector('.motion-session[aria-current="page"]')?.textContent).toContain('Demo');+ for (const text of ['模板库', '导出']) expect(header.contains(button(text))).toBe(true);expect(container.querySelector('.motion-workspace-topbar')).toBeNull();- expect(container.querySelector('.motion-sidebar-nav')?.textContent).toContain('连接 Agent');- expect(container.querySelector('.motion-sidebar-settings [aria-label="模型设置"]')).not.toBeNull();- expect(container.querySelector('.motion-sidebar-settings [aria-label="语言"]')).not.toBeNull();+ for (const text of ['预览', '布局', '历史', '连接 Agent', '新建会话', '首页']) expect(button(text)).toBeUndefined();+ expect(container.querySelector('.motion-save-state')).toBeNull();+ expect(container.querySelector('a[download]')).toBeNull();+ expect(document.querySelector('.motion-brand')?.tagName).toBe('DIV');+ expect(document.querySelector('.motion-sidebar-settings [aria-label="模型设置"]')).toBeNull();+ expect(header.querySelector('[aria-label="语言"]')).toBeNull();+ expect(document.querySelector('.motion-sidebar-settings [aria-label="语言"]')).not.toBeNull();act(() => container.querySelector<HTMLButtonElement>('[aria-label="撤销"]')!.click());act(() => container.querySelector<HTMLButtonElement>('[aria-label="重做"]')!.click());expect(state.undo).toHaveBeenCalledOnce();@@ -75,10 +82,7 @@ it('shares project sessions outside the native editor while Export keeps the natexpect(state.setCollapsed).toHaveBeenCalledWith(false);expect(state.export).toHaveBeenCalledOnce();act(() => project.click());- expect(state.open).toHaveBeenCalledWith('second');- act(() => button('连接 Agent').click());- expect(container.querySelector('[role="dialog"][aria-label="MCP connections"]')).not.toBeNull();- expect(container.querySelector('[role="dialog"]')!.getAttribute('data-section')).toBe('setup');+ expect(state.open).toHaveBeenCalledWith('projects', 'second');act(() => button('模板库').click());expect(container.querySelectorAll('[role="dialog"]')).toHaveLength(1);expect(container.querySelector('[role="dialog"]')!.getAttribute('data-section')).toBe('templates');@@ -86,42 +90,91 @@ it('shares project sessions outside the native editor while Export keeps the natexpect(state.create).toHaveBeenCalledWith(undefined, 'product-promo');});-it('prevents project replacement during a native render without disabling MCP access', () => {+it('prevents project replacement during a native render', () => {state.renderQueue.isRendering = true;render();- expect(container.querySelector<HTMLButtonElement>('.motion-session')!.disabled).toBe(true);- expect(button('新建会话').disabled).toBe(true);- expect(button('首页').disabled).toBe(true);+ openSidebar();+ expect(document.querySelector<HTMLButtonElement>('.motion-session')!.disabled).toBe(true);+ expect(document.querySelector<HTMLButtonElement>('[aria-label="新建项目"]')!.disabled).toBe(true);expect(button('模板库').disabled).toBe(true);expect(container.querySelector<HTMLButtonElement>('[data-testid="header-export"]')!.disabled).toBe(true);- expect(button('连接 Agent').disabled).toBe(false);expect(container.textContent).toContain('正在渲染…');- act(() => button('连接 Agent').click());- expect(button('Open Product Promo').disabled).toBe(true);});it('prevents switching projects or issuing competing header undo while a version operation is running', () => {render(true);- expect(container.querySelector<HTMLButtonElement>('.motion-session')!.disabled).toBe(true);- expect(button('新建会话').disabled).toBe(true);- expect(button('首页').disabled).toBe(true);+ openSidebar();+ expect(document.querySelector<HTMLButtonElement>('.motion-session')!.disabled).toBe(true);+ expect(document.querySelector<HTMLButtonElement>('[aria-label="新建项目"]')!.disabled).toBe(true);expect(button('模板库').disabled).toBe(true);expect(container.querySelector<HTMLButtonElement>('[aria-label="撤销"]')!.disabled).toBe(true);expect(container.querySelector<HTMLButtonElement>('[aria-label="重做"]')!.disabled).toBe(true);expect(container.textContent).toContain('正在处理版本…');});-it('creates a session, returns home and searches the same persistent project list', () => {+it('searches projects in an overlay and closes it without removing the header brand', () => {render();- act(() => button('新建会话').click());- expect(state.create).toHaveBeenCalledOnce();- act(() => button('首页').click());- expect(state.home).toHaveBeenCalledOnce();- const search = container.querySelector<HTMLInputElement>('[aria-label="搜索会话"]')!;+ expect(document.querySelector('.motion-sidebar-drawer')).toBeNull();+ expect(container.querySelector('.motion-header-brand img')?.getAttribute('alt')).toBe('OpenDesign');+ expect(container.querySelector<HTMLInputElement>('.motion-header-project input')?.value).toBe('Demo');+ openSidebar();+ const drawer = document.querySelector('.motion-sidebar-drawer')!;+ expect(container.contains(drawer)).toBe(false);+ const search = drawer.querySelector<HTMLInputElement>('[aria-label="搜索项目"]')!;act(() => { Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(search, 'Second'); search.dispatchEvent(new Event('input', { bubbles: true })); });- expect(container.querySelectorAll('.motion-session')).toHaveLength(1);- expect(container.querySelector('.motion-session')?.textContent).toContain('Second');- act(() => container.querySelector<HTMLButtonElement>('.motion-workspace-menu')!.click());- expect(localStorage.getItem('motion.workspace.sidebar.v1')).toBe('collapsed');- expect(container.querySelector('.motion-workspace')?.getAttribute('data-collapsed')).toBe('true');+ expect(drawer.querySelectorAll('.motion-session')).toHaveLength(1);+ expect(drawer.querySelector('.motion-session')?.textContent).toContain('Second');+ act(() => drawer.querySelector<HTMLButtonElement>('[aria-label="关闭项目列表"]')!.click());+ expect(drawer.hasAttribute('data-closed')).toBe(true);+ expect(container.querySelector('.motion-header-brand img')).not.toBeNull();+});++it('starts with a closed drawer in embeds regardless of the former collapse preference', () => {+ history.replaceState(null, '', '/?embed=1');+ localStorage.setItem('motion.workspace.sidebar.v1', 'expanded');+ render();+ expect(document.querySelector('.motion-sidebar-drawer')).toBeNull();+ expect(container.querySelector('.motion-studio-header .motion-workspace-menu')).not.toBeNull();+ openSidebar();+ expect(document.querySelector('.motion-sidebar-drawer')).not.toBeNull();+ expect(container.querySelector('.motion-studio-header .motion-workspace-menu')).not.toBeNull();+ history.replaceState(null, '', '/');+});++it('saves a project name on blur and keeps empty or cancelled edits from replacing it', async () => {+ state.rename.mockResolvedValue(true);+ render();+ const edit = () => {+ const input = container.querySelector<HTMLInputElement>('[aria-label="项目名称"]')!;+ act(() => input.focus());+ return input;+ };+ const change = (input: HTMLInputElement, value: string) => act(() => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input, value);+ input.dispatchEvent(new Event('input', { bubbles: true }));+ });+ let input = edit();+ expect(container.querySelector('[aria-label="保存项目名称"]')).toBeNull();+ change(input, ' Updated project ');+ await act(async () => input.blur());+ expect(state.rename).toHaveBeenCalledExactlyOnceWith('demo', 'Updated project');+ expect(container.querySelector('[aria-label="项目名称"]')).toBe(input);+ expect(input.value).toBe('Demo');+ input = edit();+ change(input, ' ');+ await act(async () => input.blur());+ expect(state.rename).toHaveBeenCalledTimes(1);+ input = edit();+ change(input, 'Discard this');+ act(() => input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })));+ expect(state.rename).toHaveBeenCalledTimes(1);+ expect(container.querySelector('[aria-label="项目名称"]')).toBe(input);+ expect(input.value).toBe('Demo');+ input = edit();+ change(input, 'Enter saves');+ await act(async () => input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true })));+ expect(state.rename).toHaveBeenLastCalledWith('demo', 'Enter saves');+ expect(state.rename).toHaveBeenCalledTimes(2);+ expect(document.activeElement).not.toBe(input);+ expect(container.querySelector('[aria-label="项目名称"]')).toBe(input);});diff --git a/studio/src/motion/MotionStudioHost.tsx b/studio/src/motion/MotionStudioHost.tsxindex 505c174f..d7e002b4 100644--- a/studio/src/motion/MotionStudioHost.tsx+++ b/studio/src/motion/MotionStudioHost.tsx@@ -1,19 +1,23 @@import { StudioErrorBoundary } from '../components/StudioErrorBoundary';import { I18nProvider, useI18n } from "../i18n/I18n";-import { useEffect, useState, type ReactNode } from 'react';+import { useEffect, useRef, useState, type ReactNode } from 'react';import { useStudioShellContext } from '../contexts/StudioContext';-import { Dock } from '../components/dock/Dock';-import { useDockLayoutStore } from '../components/dock/dockLayoutStore';import { TimelineHistoryButtons } from '../components/TimelineHistoryButtons';import { isStudioEditSaving } from '../utils/studioPendingEdits';import { MotionIcon } from './icons';import { StudioHostContext, type StudioHost } from './StudioHost';-import { WorkspaceFrame, useWorkspaceChrome, useOptionalWorkspaceChrome } from './WorkspaceFrame';-import { MotionLayoutMenu, MotionPreviewButton } from './MotionLayoutControls';-import { MotionHistoryPanel } from './MotionHistoryPanel';+import { WorkspaceFrame, WorkspaceMenuButton, useWorkspaceChrome, useOptionalWorkspaceChrome } from './WorkspaceFrame';import { MotionHistoryProvider, useMotionHistoryOperation } from './MotionHistoryState';-import { MediaGatewayProvider, useMediaGateway } from './MediaGatewayContext';-import { workspacePresentation } from '../../../shared/workspace-url';+import { MediaGatewayProvider } from './MediaGatewayContext';+import { useShownStudioTheme } from '../utils/studioTheme';++function WorkspaceBrand() {+ const theme = useShownStudioTheme();+ return <span className="motion-header-brand">+ <WorkspaceMenuButton />+ <img src={`/web/design-system/opendesign-${theme === 'dark' ? 'light' : 'dark'}.svg`} alt="OpenDesign" width="104" height="18" />+ </span>;+}export function MotionEditorFrame({ children }: { children: ReactNode }) {const { t } = useI18n();@@ -27,7 +31,7 @@ export function MotionEditorFrame({ children }: { children: ReactNode }) {return () => clearInterval(timer);}, []);const blocked = renderQueue.isRendering || historyOperation.busy || Boolean(writeBlockedReason);- const saveState = t(historyOperation.busy ? 'Updating version…' : renderQueue.isRendering ? 'Rendering…' : writeBlockedReason ? 'Needs attention' : saving ? 'Saving…' : 'Local autosave');+ const saveState = t(historyOperation.busy ? 'Updating version…' : renderQueue.isRendering ? 'Rendering…' : writeBlockedReason ? 'Needs attention' : saving ? 'Saving…' : '');useEffect(() => {register?.({ waitForSaves: waitForPendingDomEditSaves, blocked, saveState, message: writeBlockedReason || '' });return () => register?.(null);@@ -40,56 +44,79 @@ export function MotionEditorFrame({ children }: { children: ReactNode }) {function WorkspaceProject() {const { t } = useI18n();const { workspace, switchingDisabled, saveState } = useWorkspaceChrome();- const activate = useDockLayoutStore(state => state.activatePanel);const [editing, setEditing] = useState(false);const [title, setTitle] = useState('');const project = workspace.projects.find(item => item.id === workspace.status?.projectId);+ const editingRef = useRef(false);+ const savingRef = useRef(false);+ const finishEditing = () => { editingRef.current = false; setEditing(false); };+ const saveTitle = async () => {+ if (!editingRef.current || savingRef.current) return;+ const nextTitle = title.trim();+ if (!project || !nextTitle || nextTitle === project.title) { finishEditing(); return; }+ savingRef.current = true;+ try { if (await workspace.rename(project.id, nextTitle)) finishEditing(); }+ finally { savingRef.current = false; }+ };return <span className="motion-project-control">- <span className="motion-project-dot" aria-hidden="true" />- {editing ? <form className="motion-project-rename" onSubmit={async event => {- event.preventDefault();- if (project && await workspace.rename(project.id, title)) setEditing(false);- }}>- <input autoFocus maxLength={100} aria-label={t('Project name')} value={title} disabled={workspace.busy} onChange={event => setTitle(event.target.value)} onKeyDown={event => { if (event.key === 'Escape') setEditing(false); }} />- <button className="motion-icon-button" aria-label={t('Save project name')} disabled={workspace.busy || !title.trim()}><MotionIcon name="check" /></button>- <button type="button" className="motion-icon-button" aria-label={t('Cancel')} disabled={workspace.busy} onClick={() => setEditing(false)}><MotionIcon name="close" /></button>- </form> : <button className="motion-project-title" disabled={switchingDisabled || !project} title={t('Rename project')} onClick={() => { setTitle(project?.title || ''); setEditing(true); }}>{project?.title || t('Connecting…')}<MotionIcon name="edit" size={12} /></button>}- <button type="button" className="motion-save-state" title={t("View version history")} aria-label={t('{status}, view version history', { status: saveState })}- onClick={() => activate('history')}><span role="status">{saveState}</span><MotionIcon name="chevron-down" size={12} /></button>+ <input+ className="motion-project-name-input"+ maxLength={100}+ aria-label={t('Project name')}+ value={editing ? title : project?.title || ''}+ placeholder={t('Connecting…')}+ disabled={workspace.busy || switchingDisabled || !project}+ onFocus={() => {+ if (editingRef.current) return;+ setTitle(project?.title || '');+ editingRef.current = true;+ setEditing(true);+ }}+ onChange={event => setTitle(event.target.value)}+ onBlur={() => void saveTitle()}+ onKeyDown={event => {+ if (event.nativeEvent.isComposing) return;+ if (event.key === 'Enter') {+ event.preventDefault();+ event.currentTarget.blur();+ }+ if (event.key === 'Escape') {+ event.preventDefault();+ event.stopPropagation();+ finishEditing();+ event.currentTarget.blur();+ }+ }}+ />+ {saveState && <span className="motion-save-state" role="status">{saveState}</span>}</span>;}function WorkspaceHistoryActions() {- const { t } = useI18n();- const activate = useDockLayoutStore(state => state.activatePanel);const operation = useMotionHistoryOperation();return <div className="motion-history-actions"><TimelineHistoryButtons canUndo={operation.busy ? false : undefined} canRedo={operation.busy ? false : undefined} />- <button type="button" className="motion-button motion-button-quiet" aria-label={t("Version history")} onClick={() => activate('history')}>- <MotionIcon name="history" size={14} /><span>{t("History")}</span>- </button></div>;}function WorkspaceActions() {const { t } = useI18n();- const gateway = useMediaGateway();const { switchingDisabled, openLibrary } = useWorkspaceChrome();return <div className="motion-workspace-actions">- {workspacePresentation(location.search).embedded && <button className="motion-button motion-button-quiet" aria-haspopup="dialog" onClick={gateway?.openSettings}><MotionIcon name="sliders" />{t("Model settings")}</button>}<button className="motion-button motion-button-quiet" aria-haspopup="dialog" disabled={switchingDisabled} onClick={openLibrary}><MotionIcon name="grid" />{t("Template library")}</button></div>;}const host: StudioHost = {- brand: <></>,+ mvpEditor: true,+ brand: <WorkspaceBrand />,projectLabel: <WorkspaceProject />,headerActions: <WorkspaceActions />,historyActions: <WorkspaceHistoryActions />,- previewAction: <MotionPreviewButton />,- windowMenu: <MotionLayoutMenu />,+ previewAction: <></>,+ windowMenu: <></>,themeToggle: false,- panels: <Dock.Panel id="history"><MotionHistoryPanel /></Dock.Panel>,+AppFrame: MotionEditorFrame,desktopLink: false,feedback: false,diff --git a/studio/src/motion/MotionTimelineMedia.tsx b/studio/src/motion/MotionTimelineMedia.tsxindex ba7a8661..504979f3 100644--- a/studio/src/motion/MotionTimelineMedia.tsx+++ b/studio/src/motion/MotionTimelineMedia.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "./StudioHost";import { useEffect, useRef } from 'react';import { useMediaGateway } from './MediaGatewayContext';import { usePlayerStore } from '../player/store/playerStore';@@ -17,6 +18,7 @@ export function MotionTimelineMedia({ projectId, compositionId, disabled, onFileonAssetDrop?: (path: string, placement: { start: number; track: number }, duration?: number, reportFailure?: boolean) => Promise<void> | void;}) {const gateway = useMediaGateway(); const { t } = useI18n();+ const mvp = useMvpEditor();const shell = useStudioShellContextOptional();const edits = useDomEditActionsContextOptional();const state = useRef({ projectId, compositionId, disabled, onFileDrop, onAssetDrop, shell, edits }); state.current = { projectId, compositionId, disabled, onFileDrop, onAssetDrop, shell, edits };@@ -57,5 +59,5 @@ export function MotionTimelineMedia({ projectId, compositionId, disabled, onFilereturn () => { bound = false; bind(null); };}, [bind, projectId, compositionId, t]);if (!gateway) return null;- return <div className="motion-timeline-media-actions"><button disabled={disabled} onClick={event => gateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t('Generate media')}</button><button disabled={disabled || !onFileDrop} onClick={gateway.importFiles}>{t('Import files…')}</button></div>;+ return <div className="motion-timeline-media-actions">{!mvp && <button disabled={disabled} onClick={event => gateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t('Generate media')}</button>}<button disabled={disabled || !onFileDrop} onClick={gateway.importFiles}>{t('Import files')}</button></div>;}diff --git a/studio/src/motion/StudioHost.tsx b/studio/src/motion/StudioHost.tsxindex 2850f32c..2719d8f2 100644--- a/studio/src/motion/StudioHost.tsx+++ b/studio/src/motion/StudioHost.tsx@@ -2,6 +2,8 @@ import { createContext, useContext, type ReactNode, type ComponentType } from 'r/** Product chrome only. Editing, panel state and rendering stay owned by Studio. */export interface StudioHost {+ /** Restrict editor entry points without removing authoring or Agent capabilities. */+ mvpEditor?: boolean;brand?: ReactNode;projectLabel?: ReactNode;headerActions?: ReactNode;@@ -20,3 +22,4 @@ export interface StudioHost {export const StudioHostContext = createContext<StudioHost | null>(null);export const useStudioHost = () => useContext(StudioHostContext);+export const useMvpEditor = () => useStudioHost()?.mvpEditor === true;diff --git a/studio/src/motion/TimelineMediaBar.test.tsx b/studio/src/motion/TimelineMediaBar.test.tsxindex d1b7d9f9..0872baeb 100644--- a/studio/src/motion/TimelineMediaBar.test.tsx+++ b/studio/src/motion/TimelineMediaBar.test.tsx@@ -1,4 +1,5 @@// @vitest-environment happy-dom+import { StudioHostContext } from './StudioHost';import React, { act } from 'react';import { createRoot, type Root } from 'react-dom/client';import { afterEach, beforeEach, expect, it, vi } from 'vitest';@@ -12,6 +13,7 @@ import { projectMediaPath, selectedMedia } from './timelineMediaSelection';import { ArtifactViewActive } from './ArtifactViewState';const hooks = vi.hoisted(() => ({ state: {} as TimelineState, open: vi.fn() }));+vi.mock('../player/components/EditModal', () => ({ EditPopover: ({ initialPrompt, rangeStart, rangeEnd, selectedElementKey }: { initialPrompt: string; rangeStart: number; rangeEnd: number; selectedElementKey?: string }) => <div data-testid="agent-edit" data-selected-key={selectedElementKey}>{initialPrompt} {rangeStart}–{rangeEnd}</div> }));vi.mock('../player/components/TimelineProvider', () => ({ useTimelineContext: () => ({ state: hooks.state }) }));vi.mock('./MediaGatewayContext', () => ({ useMediaGateway: () => ({ openGenerator: hooks.open, generationOpen: false }) }));(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;@@ -95,3 +97,69 @@ it('removes the portalled media actions while the owning Viewer is hidden and reawait renderActive(true);expect(document.querySelector('.motion-timeline-media-bar')).not.toBeNull();});++it('MVP keeps clip and range prompts for Agent without opening media generation', async () => {+ const mountMvp = () => act(async () => root.render(<StudioHostContext.Provider value={{ mvpEditor: true }}><TimelineMediaBar /></StudioHostContext.Provider>));+ await mountMvp();+ expect(button('Generate media')).toBeUndefined();+ expect(button('Edit image')).toBeUndefined();+ expect(button('Ask Agent')).toBeDefined();+ const prompt = document.querySelector('input')!;+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(prompt, 'Make this title larger');+ prompt.dispatchEvent(new Event('input', { bubbles: true }));+ });+ await act(async () => prompt.closest('form')!.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })));+ expect(document.querySelector('[data-testid="agent-edit"]')?.textContent).toBe('Make this title larger 2–8');+ expect(document.querySelector('[data-testid="agent-edit"]')?.getAttribute('data-selected-key')).toBe('main:image');+ expect(hooks.open).not.toHaveBeenCalled();+ await act(async () => root.render(null));+ hooks.state.overlays = { ...hooks.state.overlays, showPopover: true, rangeSelection: { start: 8, end: 5, anchorX: 0, anchorY: 0 } };+ await mountMvp();+ await act(async () => button('Ask Agent').click());+ expect(document.querySelector('[data-testid="agent-edit"]')?.textContent).toBe(' 5–8');+ expect(document.querySelector('[data-testid="agent-edit"]')?.hasAttribute('data-selected-key')).toBe(false);+ expect(hooks.open).not.toHaveBeenCalled();+});++it('dismisses after leaving the opener and popover, but protects a focused draft', async () => {+ await render();+ vi.useFakeTimers();+ try {+ const leave = () => document.body.dispatchEvent(new PointerEvent('pointermove', { bubbles: true, clientX: 1, clientY: 1 }));+ await act(async () => leave());+ await act(async () => vi.advanceTimersByTime(349));+ expect(document.querySelector('aside')).not.toBeNull();+ await act(async () => vi.advanceTimersByTime(1));+ expect(document.querySelector('aside')).toBeNull();+ await act(async () => viewport.dispatchEvent(new PointerEvent('pointerup', { button: 0, clientX: 300, clientY: 550 })));+ const input = document.querySelector('input')!;+ await act(async () => { input.focus(); leave(); vi.advanceTimersByTime(1000); });+ expect(document.querySelector('aside')).not.toBeNull();+ const outsideControl = document.createElement('button');+ outsideControl.addEventListener('pointerdown', event => event.stopPropagation());+ document.body.append(outsideControl);+ await act(async () => outsideControl.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true })));+ outsideControl.remove();+ expect(document.querySelector('aside')).toBeNull();+ } finally { vi.useRealTimers(); }+});++it('keeps drafts attached to their target when selecting another clip and reopening', async () => {+ await render();+ const input = document.querySelector('input')!;+ await act(async () => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input, 'Title only');+ input.dispatchEvent(new Event('input', { bubbles: true }));+ });+ const other = { ...clip, id: 'note', key: 'main:note', label: 'Note' };+ hooks.state.elements = [clip, other]; hooks.state.selectedElementId = other.key;+ await render();+ expect(document.querySelector('input')!.value).toBe('');+ hooks.state.selectedElementId = clip.key!;+ await render();+ expect(document.querySelector('input')!.value).toBe('Title only');+ hooks.state.sessionEpoch = 2;+ await render();+ expect(document.querySelector('input')!.value).toBe('');+});diff --git a/studio/src/motion/TimelineMediaBar.tsx b/studio/src/motion/TimelineMediaBar.tsxindex fbcc671d..9b73820c 100644--- a/studio/src/motion/TimelineMediaBar.tsx+++ b/studio/src/motion/TimelineMediaBar.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "./StudioHost";import { useEffect, useMemo, useState } from 'react';import { createPortal } from 'react-dom';import { useMediaGateway } from './MediaGatewayContext';@@ -21,18 +22,22 @@ export function TimelineMediaBar() {function ConnectedTimelineMediaBar() {const gateway = useMediaGateway()!; const { t } = useI18n();+ const mvp = useMvpEditor();const { state } = useTimelineContext(); const shell = useStudioShellContextOptional();const readOnly = useTimelineReadOnlyPress();const playing = usePlayerStore(s => s.isPlaying);const selectedIds = usePlayerStore(s => s.selectedElementIds);const [interaction, setInteraction] = useState(0), [caret, setCaret] = useState<number | null>(null);- const [dismissed, setDismissed] = useState(''), [prompt, setPrompt] = useState(''), [ask, setAsk] = useState(false);+ const [dismissed, setDismissed] = useState(''), [drafts, setDrafts] = useState<Record<string, string>>({}), [ask, setAsk] = useState(false);const range = state.overlays.showPopover ? state.overlays.rangeSelection : null;const clip = !range && selectedIds.size <= 1 ? state.elements.find(el => (el.key ?? el.id) === state.selectedElementId) : undefined;const media = selectedMedia(clip);const start = range ? Math.min(range.start, range.end) : clip?.start ?? caret ?? 0;const duration = range ? Math.abs(range.end - range.start) : clip?.duration ?? 3;- const identity = `${shell?.projectId}:${state.sessionEpoch}:${range ? 'range' : clip?.key ?? clip?.id ?? 'caret'}:${start}:${duration}:${interaction}`;+ const draftKey = `${shell?.projectId}:${shell?.activeCompPath}:${state.sessionEpoch}:${range ? 'range' : clip?.key ?? clip?.id ?? 'caret'}:${start}:${duration}`;+ const identity = `${draftKey}:${interaction}`;+ const prompt = drafts[draftKey] ?? "";+ const setPrompt = (value: string) => setDrafts(previous => ({ ...previous, [draftKey]: value }));const scroll = state.canvas.scrollRef;const clipKey = clip?.key ?? clip?.id;const pps = state.canvas.pps, contentOrigin = state.canvas.contentOrigin;@@ -74,25 +79,53 @@ function ConnectedTimelineMediaBar() {viewport.addEventListener('pointerup', activate);return () => viewport.removeEventListener('pointerup', activate);}, [scroll, state.timelineReady, state.canvas.pps, state.canvas.contentOrigin]);- useEffect(() => { setCaret(null); setAsk(false); }, [state.sessionEpoch, shell?.activeCompPath]);+ useEffect(() => { setCaret(null); setAsk(false); setDrafts({}); }, [state.sessionEpoch, shell?.projectId, shell?.activeCompPath]);+ useEffect(() => { setAsk(false); }, [draftKey]);const hidden = readOnly || !state.timelineReady || gateway.generationOpen || playing || shell?.writeBlockedReason || shell?.renderQueue.isRendering|| state.canvas.isScrubbing || state.canvas.draggedElement || state.canvas.resizingClip || state.canvas.marqueeRect|| state.overlays.clipContextMenu || state.overlays.kfContextMenu || state.overlays.gapContextMenu|| dismissed === identity || (!range && !clip && caret === null);const popover = useMediaPopoverPosition(anchor, 680, !hidden && !ask);+ useEffect(() => {+ if (hidden || ask) return;+ let timer: ReturnType<typeof setTimeout> | undefined;+ const cancel = () => { clearTimeout(timer); timer = undefined; };+ const schedule = () => {+ if (timer !== undefined || popover.ref.current?.contains(document.activeElement)) return;+ timer = setTimeout(() => {+ timer = undefined;+ if (!popover.ref.current?.contains(document.activeElement)) setDismissed(identity);+ }, 350);+ };+ const move = (event: PointerEvent) => {+ if (event.pointerType === 'touch') return;+ const rect = anchor.getBoundingClientRect();+ const atOpener = event.clientX >= rect.left && event.clientX <= rect.right && event.clientY >= rect.top && event.clientY <= rect.bottom;+ if (popover.ref.current?.contains(event.target as Node) || atOpener) cancel();+ else schedule();+ };+ const outside = (event: PointerEvent) => {+ if (popover.ref.current?.contains(event.target as Node)) return;+ cancel();+ setDismissed(identity);+ };+ document.addEventListener('pointermove', move);+ document.addEventListener('pointerdown', outside, true);+ return () => { cancel(); document.removeEventListener('pointermove', move); document.removeEventListener('pointerdown', outside, true); };+ }, [hidden, ask, identity, anchor, popover.ref]);if (hidden) return null;const close = () => { setDismissed(identity); setAsk(false); };const open = (edit = false) => gateway.openGenerator({ prompt, placement: { start, duration: Math.max(.1, duration), track: clip?.track ?? 0 },anchor, modality: media?.modality, selection: media, ...(edit ? { intent: 'edit' as const } : {}) });const host = document.querySelector('[data-motion-studio]') ?? document.body;const anchorRect = anchor.getBoundingClientRect();- return createPortal(ask ? <EditPopover initialPrompt={prompt} rangeStart={start} rangeEnd={start + duration} anchorX={(anchorRect.left + anchorRect.right) / 2} anchorY={anchorRect.top - 8} onClose={close} /> :+ return createPortal(ask ? <EditPopover initialPrompt={prompt} selectedElementKey={clipKey} rangeStart={start} rangeEnd={start + duration} anchorX={(anchorRect.left + anchorRect.right) / 2} anchorY={anchorRect.top - 8} onClose={close} /> :<aside ref={popover.ref} className="motion-timeline-media-bar motion-media-surface" style={popover.style} aria-label={t('Timeline media actions')} onPointerDown={e => e.stopPropagation()} onKeyDown={e => { e.stopPropagation(); if (e.key === 'Escape') close(); }}><div className="motion-media-context"><span>{start.toFixed(1)}–{(start + duration).toFixed(1)}s</span><span title={media?.label}>{media?.label ?? t(range ? 'Selected time range' : clip ? 'Selected clip' : 'At playhead')}</span><button className="motion-media-close" aria-label={t('Close timeline media actions')} onClick={close}>×</button></div>- <form onSubmit={e => { e.preventDefault(); open(); }}>- <input aria-label={t('Timeline media prompt')} value={prompt} onChange={e => setPrompt(e.target.value)} placeholder={t(media?.modality === 'image' ? 'Describe a new image or how to change this one…' : 'Describe what goes here…')} />- <button type="submit">{t('Generate media')}</button>- {media?.modality === 'image' && <button type="button" className="motion-media-primary" onClick={() => open(true)}>{t('Edit image')}</button>}+ <form onSubmit={e => { e.preventDefault(); if (mvp) setAsk(true); else open(); }}>+ <input aria-label={t('Timeline media prompt')} value={prompt} onChange={e => setPrompt(e.target.value)} placeholder={t(!mvp && media?.modality === 'image' ? 'Describe a new image or how to change this one…' : 'Describe what goes here…')} />+ {!mvp && <button type="submit">{t('Generate media')}</button>}+ {!mvp && media?.modality === 'image' && <button type="button" className="motion-media-primary" onClick={() => open(true)}>{t('Edit image')}</button>}<button type="button" onClick={() => setAsk(true)}>{t('Ask Agent')}</button></form></aside>, host);diff --git a/studio/src/motion/WorkspaceFrame.tsx b/studio/src/motion/WorkspaceFrame.tsxindex 5d621236..e25f0c93 100644--- a/studio/src/motion/WorkspaceFrame.tsx+++ b/studio/src/motion/WorkspaceFrame.tsx@@ -1,14 +1,15 @@-import { createContext, useContext, useEffect, useState, useRef, useCallback, lazy, Suspense, type ReactNode } from 'react';+import { createContext, useContext, useState, useRef, useCallback, type ReactNode } from 'react';import { useI18n } from '../i18n/I18n';+import { LanguageMenu } from '../i18n/LanguageMenu';import { ConnectionDialog } from './ConnectionDialog';import { MotionIcon } from './icons';import { useWorkspace } from './useWorkspace';import { ThemeToggle } from '../components/ThemeToggle';-import { LanguageMenu } from '../i18n/LanguageMenu';+import { Tooltip } from '../components/ui/Tooltip';+import { Dialog } from '@base-ui/react/dialog';+import { useShownStudioTheme } from '../utils/studioTheme';import { workspacePresentation } from '../../../shared/workspace-url';-const ModelSettings = lazy(() => import('./ModelSettings').then(module => ({ default: module.ModelSettings })));-type WorkspaceChrome = {workspace: ReturnType<typeof useWorkspace>;switchingDisabled: boolean;@@ -46,89 +47,68 @@ export function WorkspaceFrame({ children, waitForSaves, projectId, sessionId, bawait (guard.current?.waitForSaves ?? waitForSaves)();}, [waitForSaves, t]);const workspace = useWorkspace(beforeViewChange, projectId, sessionId);- const [connectionSection, setConnectionSection] = useState<'setup' | 'templates'>(() => new URLSearchParams(location.search).get('templates') === '1' ? 'templates' : 'setup');- const [connectionsOpen, setConnectionsOpen] = useState(() => new URLSearchParams(location.search).get('panel') === 'connections' || new URLSearchParams(location.search).get('templates') === '1');+ const [connectionSection, setConnectionSection] = useState<'setup' | 'templates'>(() => 'templates');+ const [connectionsOpen, setConnectionsOpen] = useState(() => new URLSearchParams(location.search).get('templates') === '1');const [sidebarOpen, setSidebarOpen] = useState(false);- const [modelsOpen, setModelsOpen] = useState(false);- const [collapsed, setCollapsed] = useState(() => { try { return !presentation.sidebar || localStorage.getItem('motion.workspace.sidebar.v1') === 'collapsed'; } catch { return !presentation.sidebar; } });- const [narrow, setNarrow] = useState(() => window.matchMedia('(max-width: 760px)').matches);const switchingDisabled = workspace.busy || blocked || Boolean(editorState?.blocked) || !workspace.status;const notice = workspace.error || message || editorState?.message;const value: WorkspaceChrome = { workspace, switchingDisabled, saveState: workspace.busy ? t('Working…') : editorState?.saveState || saveState, registerEditor, beforeViewChange,openLibrary: () => { workspace.clearError(); setConnectionSection('templates'); setConnectionsOpen(true); },- openConnections: () => { setConnectionSection('setup'); setConnectionsOpen(true); },- openModelSettings: () => setModelsOpen(true),- toggleSidebar: () => {- const isNarrow = window.matchMedia('(max-width: 760px)').matches;- setNarrow(isNarrow);- if (isNarrow) setSidebarOpen(open => !open); else toggleCollapsed();- }, sidebarOpen: narrow ? sidebarOpen : !collapsed };- useEffect(() => {- const media = window.matchMedia('(max-width: 760px)');- const update = () => { setNarrow(media.matches); if (!media.matches) setSidebarOpen(false); };- media.addEventListener('change', update);- return () => media.removeEventListener('change', update);- }, []);- useEffect(() => {- if (!sidebarOpen) return;- const escape = (event: KeyboardEvent) => { if (event.key === 'Escape') setSidebarOpen(false); };- window.addEventListener('keydown', escape);- return () => window.removeEventListener('keydown', escape);- }, [sidebarOpen]);- function toggleCollapsed() {- setCollapsed(previous => { const next = !previous; try { localStorage.setItem('motion.workspace.sidebar.v1', next ? 'collapsed' : 'expanded'); } catch {} return next; });- }+ openConnections: () => {},+ openModelSettings: () => {},+ toggleSidebar: () => setSidebarOpen(open => !open), sidebarOpen };return <WorkspaceChromeContext.Provider value={value}>- <div className="motion-workspace" data-embedded={presentation.embedded} data-collapsed={collapsed} data-mobile-open={sidebarOpen}>- {sidebarOpen && <button className="motion-sidebar-backdrop" aria-label={t('Close conversation list')} onClick={() => setSidebarOpen(false)} />}- <WorkspaceSidebar currentId={sessionId ?? projectId} close={() => setSidebarOpen(false)} />+ <Dialog.Root open={sidebarOpen} onOpenChange={setSidebarOpen}>+ <div className="motion-workspace" data-embedded={presentation.embedded}>+ <Dialog.Portal>+ <Dialog.Backdrop className="motion-sidebar-backdrop" />+ <Dialog.Popup className="motion-sidebar-drawer" aria-label={t('Project list')} onKeyDown={event => event.stopPropagation()}>+ <WorkspaceSidebar currentId={projectId} close={() => setSidebarOpen(false)} />+ </Dialog.Popup>+ </Dialog.Portal><div className="motion-workspace-content">{notice && <div className="motion-workspace-notice" role="alert"><span>{t(notice)}</span>{workspace.error && <button className="motion-icon-button" aria-label={t('Dismiss')} onClick={workspace.clearError}><MotionIcon name="close" /></button>}</div>}{children}</div></div>+ </Dialog.Root>{connectionsOpen && <ConnectionDialog open section={connectionSection} busy={switchingDisabled} error={workspace.error} onClose={() => setConnectionsOpen(false)} onOpen={id => { if (!switchingDisabled) void (sessionId ? workspace.createArtifact(sessionId, id) : workspace.startSession(undefined, id)); }} />}- {modelsOpen && <Suspense fallback={null}><ModelSettings onClose={() => setModelsOpen(false)} /></Suspense>}</WorkspaceChromeContext.Provider>;}-function ModelSettingsButton() {- const { t } = useI18n();- const { openModelSettings } = useWorkspaceChrome();- return <button className="motion-icon-button" aria-label={t('Model settings')} title={t('Model settings')} onClick={openModelSettings}><MotionIcon name="sliders" /></button>;-}-function WorkspaceSidebar({ currentId, close }: { currentId?: string; close: () => void }) {- const { t, formatDate } = useI18n();- const { workspace, switchingDisabled, openConnections } = useWorkspaceChrome();+ const { t } = useI18n();+ const theme = useShownStudioTheme();+ const { workspace, switchingDisabled } = useWorkspaceChrome();const [query, setQuery] = useState('');- const sessions = workspace.sessions ?? workspace.projects;- const filtered = sessions.filter(project => project.title.toLocaleLowerCase().includes(query.toLocaleLowerCase()));+ const projects = workspace.projects;+ const filtered = projects.filter(project => project.title.toLocaleLowerCase().includes(query.toLocaleLowerCase()));return <aside className="motion-sidebar" aria-label={t('Workspace navigation')}><div className="motion-sidebar-brand">- <button className="motion-brand" disabled={switchingDisabled} onClick={() => void workspace.home()} aria-label={t('OpenDesign home')} title={t('OpenDesign home')}>- <span className="motion-brand-mark"><MotionIcon name="layers" size={18} /></span><strong>OpenDesign</strong>- </button>- <button className="motion-icon-button motion-sidebar-close" onClick={close} aria-label={t('Close conversation list')}><MotionIcon name="close" /></button>+ <Dialog.Close className="motion-icon-button" aria-label={t('Close project list')}><MotionIcon name="sidebar" size={16} /></Dialog.Close>+ <div className="motion-brand">+ <img className="motion-brand-logo" src={`/web/design-system/opendesign-${theme === 'dark' ? 'light' : 'dark'}.svg`} alt="OpenDesign" width="104" height="18" />+ </div></div>- <button className="motion-button motion-button-primary motion-sidebar-new" title={t('New conversation')} disabled={switchingDisabled} onClick={() => void workspace.startSession()}><MotionIcon name="plus" /><span>{t('New conversation')}</span></button>- <nav className="motion-sidebar-nav" aria-label={t('Main navigation')}>- <button aria-current={!currentId ? 'page' : undefined} title={t('Home')} disabled={switchingDisabled} onClick={() => { if (currentId) void workspace.home(); else close(); }}><MotionIcon name="home" /><span>{t('Home')}</span></button>- <button title={t('Connect Agent')} onClick={openConnections}><MotionIcon name="plug" /><span>{t('Connect Agent')}</span></button>- </nav>- <div className="motion-session-heading"><span>{t('Sessions')}</span><span>{sessions.length}</span></div>- <label className="motion-session-search"><MotionIcon name="search" /><input type="search" value={query} onChange={event => setQuery(event.target.value)} placeholder={t('Search conversations…')} aria-label={t('Search conversations')} /></label>- <nav className="motion-session-list" aria-label={t('Conversation list')}>- {!workspace.status && !workspace.error && <p className="motion-session-empty" role="status">{t('Loading conversations…')}</p>}- {workspace.status && !filtered.length && <p className="motion-session-empty">{t(query ? 'No matching conversations' : 'Create your first conversation')}</p>}+ <div className="motion-session-heading">+ <span>{t('Projects')}</span>+ <Tooltip label={t('New project')}>+ <button type="button" className="motion-icon-button" aria-label={t('New project')} disabled={switchingDisabled} onClick={() => void workspace.create()}>+ <MotionIcon name="plus" size={16} />+ </button>+ </Tooltip>+ </div>+ <label className="motion-session-search"><MotionIcon name="search" /><input type="search" value={query} onChange={event => setQuery(event.target.value)} placeholder={t('Search projects…')} aria-label={t('Search projects')} /></label>+ <nav className="motion-session-list" aria-label={t('Project list')}>+ {!workspace.status && !workspace.error && <p className="motion-session-empty" role="status">{t('Loading projects…')}</p>}+ {workspace.status && !filtered.length && <p className="motion-session-empty">{t(query ? 'No matching projects' : 'Create a project with your Agent to start editing.')}</p>}{filtered.map(project => <button key={project.id} className="motion-session" aria-current={currentId === project.id ? 'page' : undefined}- title={project.title} disabled={switchingDisabled} onClick={() => { if (project.id === currentId) close(); else void workspace.openSession(project.id); }}>- <MotionIcon name="message" /><span><strong>{project.title}</strong><small>{project.openedAt || project.createdAt ? formatDate((project.openedAt || project.createdAt)!, { month: 'short', day: 'numeric' }) : t('Local project')}</small></span>+ title={project.title} disabled={switchingDisabled} onClick={() => { if (project.id === currentId) close(); else void workspace.open('projects', project.id); }}>+ <MotionIcon name="message" /><span><strong>{project.title}</strong></span></button>)}</nav><footer className="motion-sidebar-footer">- <div className="motion-sidebar-identity"><MotionIcon name="folder" /><span><strong>{t('My workspace')}</strong><small>{t('Saved on this device')}</small></span></div>- <div className="motion-sidebar-settings"><ModelSettingsButton /><ThemeToggle /><LanguageMenu /></div>+ <div className="motion-sidebar-settings"><ThemeToggle /><LanguageMenu /></div></footer></aside>;}@@ -136,5 +116,5 @@ function WorkspaceSidebar({ currentId, close }: { currentId?: string; close: ()export function WorkspaceMenuButton() {const { t } = useI18n();const { toggleSidebar, sidebarOpen } = useWorkspaceChrome();- return <button className="motion-icon-button motion-workspace-menu" onClick={toggleSidebar} aria-expanded={sidebarOpen} title={t(sidebarOpen ? 'Collapse conversation list' : 'Open conversation list')} aria-label={t(sidebarOpen ? 'Collapse conversation list' : 'Open conversation list')}><MotionIcon name="sidebar" size={16} /></button>;+ return <button className="motion-icon-button motion-workspace-menu" onClick={toggleSidebar} aria-expanded={sidebarOpen} title={t(sidebarOpen ? 'Collapse project list' : 'Open project list')} aria-label={t(sidebarOpen ? 'Collapse project list' : 'Open project list')}><MotionIcon name="sidebar" size={16} /></button>;}diff --git a/studio/src/motion/media-gateway.css b/studio/src/motion/media-gateway.cssindex 5c8d5ea5..fbad5cd3 100644--- a/studio/src/motion/media-gateway.css+++ b/studio/src/motion/media-gateway.css@@ -73,6 +73,8 @@.motion-generated-asset strong { display: block; font-weight: 400; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.motion-timeline-toolbar { display: flex; align-items: center; border-bottom: 1px solid var(--motion-border); }.motion-timeline-toolbar > :first-child { flex: 1; min-width: 0; }+/* The host row owns the divider, including the media actions on its right. */+.motion-timeline-toolbar > .motion-timeline-toolbar { border-bottom: 0; }.motion-timeline-media-actions { display: flex; gap: 6px; padding: 2px 8px; }.motion-timeline-media-actions button { min-height: 26px; padding: 2px 8px; font-size: 11px; }.motion-empty-media-copy { display: flex; flex-direction: column; gap: 4px; color: var(--motion-strong); font-size: 13px; }diff --git a/studio/src/motion/theme.css b/studio/src/motion/theme.cssindex ae366816..2b2dcb7f 100644--- a/studio/src/motion/theme.css+++ b/studio/src/motion/theme.css@@ -1,4 +1,17 @@/* OpenDesign Motion adapter. The shared token JSON owns all UI colors. */+:root[data-motion-ui] .studio-tooltip {+ background: var(--motion-strong);+ color: var(--motion-panel);+ border-color: var(--motion-strong);+ font-size: 12px;+}+:root[data-motion-ui] .motion-timeline-zoom input[type="range"] { width: 64px; margin-inline: 0; }+.motion-timeline-zoom { position: relative; }+.motion-timeline-zoom::before,+.motion-timeline-zoom::after { content: ""; position: absolute; top: 50%; width: 1px; height: 16px; transform: translateY(-50%); background: var(--motion-border); pointer-events: none; }+.motion-timeline-zoom::before { left: -7px; }+.motion-timeline-zoom::after { right: -7px; }+:root[data-motion-ui] {color-scheme: light;--font-sans: var(--motion-font-sans);@@ -67,17 +80,31 @@:root[data-motion-ui][data-motion-studio]:not([data-theme="paper"]) { color-scheme: dark; --color-on-accent: var(--motion-inset); }body { font-family: var(--motion-font-sans); font-size: var(--motion-text-md); }button, input, select, textarea { font-family: inherit; }-:focus-visible { outline: 2px solid var(--motion-selected); outline-offset: 2px; }+:root[data-motion-ui] :focus-visible { outline: 1px solid var(--motion-border-strong); outline-offset: 1px; }+:root[data-motion-ui] [data-panel-search-input]:focus-visible { outline: none; }.hf-dock .dv-view:has(> .dv-groupview) { padding: 0; }.hf-dock .dv-groupview { border-radius: 0; border: 0; outline: 0; }.hf-dock { --dv-tabs-and-actions-container-height: 34px; --dv-tab-font-size: 12px; --dv-tabs-and-actions-container-font-size: 12px; }.hf-dock .dv-tabs-and-actions-container { padding: 0 6px; align-items: center; border-bottom: 1px solid var(--motion-border); }-.hf-dock .dv-groupview .dv-tabs-container > .dv-tab.dv-active-tab { color: var(--motion-strong); font-weight: 500; box-shadow: inset 0 -1px var(--motion-accent); }+/* Keep selected labels legible even when Dockview injects its theme rules later. */+:root[data-motion-ui] .hf-dock {+ --dv-activegroup-visiblepanel-tab-color: var(--motion-strong);+ --dv-inactivegroup-visiblepanel-tab-color: var(--motion-strong);+ --dv-activegroup-hiddenpanel-tab-color: var(--motion-text);+ --dv-inactivegroup-hiddenpanel-tab-color: var(--motion-text);+}+:root[data-motion-ui] .hf-dock .dv-groupview .dv-tabs-container > .dv-tab.dv-active-tab { color: var(--motion-strong); font-weight: 600; box-shadow: none; }+/* A single panel title has no sibling tab to switch to. */+:root[data-motion-ui] .hf-dock .dv-groupview .dv-tabs-container:not(:has(> .dv-tab ~ .dv-tab)) > .dv-tab.dv-active-tab { box-shadow: none; cursor: default; }+:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button:enabled { color: var(--motion-text); }+:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button:enabled:hover { color: var(--motion-strong); }+:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button[aria-pressed="true"]:enabled { color: var(--motion-strong); background: var(--motion-inset); }+:root[data-motion-ui] :is(.motion-timeline-toolbar, .motion-player-controls) button[aria-pressed="true"]:enabled:hover { background: var(--motion-border); }.hf-dock .dv-tab { border-radius: 0; height: 34px; padding: 0 8px; }.hf-dock .dv-scrollable { height: 34px; }.hf-dock-tab-fill { height: 34px; border-radius: 0; background: transparent; }.hf-dock .dv-right-actions-container { align-self: center; }-.motion-icon { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }+.motion-icon { display: block; flex-shrink: 0; fill: currentColor; stroke: none; stroke-linecap: round; stroke-linejoin: round; }.motion-brand { display: flex; align-items: center; gap: 10px; min-width: 196px; color: var(--motion-strong); text-decoration: none; }.motion-brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: var(--motion-on-action); background: var(--motion-action); }.motion-brand strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.35px; line-height: 19px; }@@ -127,11 +154,11 @@ button, input, select, textarea { font-family: inherit; }@media(prefers-reduced-motion: reduce) { .motion-button, .motion-icon-button, .motion-template-play { transition: none; } }.motion-preview-well { margin: 0; border: 0; background: var(--motion-bg); }-.motion-preview-frame { box-shadow: var(--motion-shadow-sm); }+.motion-preview-frame { box-shadow: none; }+.motion-asset-name-input { box-sizing: border-box; width: 100%; min-width: 0; padding: 2px 4px; border: 1px solid var(--motion-border-strong); border-radius: var(--motion-radius-sm); background: var(--motion-inset); color: var(--motion-strong); font-size: 10px; line-height: 14px; outline: none; }+.motion-asset-name-input[aria-invalid="true"] { border-color: var(--motion-danger); }-/* Panel boundaries belong to the layout slots, so they remain aligned while resizing. */-.hf-dock .dv-horizontal > .dv-view-container > .dv-view:not(:first-child) { border-left: 1px solid var(--motion-border); }-.hf-dock .dv-vertical > .dv-view-container > .dv-view:not(:first-child) { border-top: 1px solid var(--motion-border); }+/* Keep resize handles available without permanent lines between panel cards. */.hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash,.hf-dock .dv-split-view-container > .dv-sash-container > .dv-sash:is(:hover, :active, :focus-visible) { background: transparent; }.hf-dock .dv-sash::after { content: ''; position: absolute; pointer-events: none; background: transparent; transition: background 120ms; }@@ -151,6 +178,19 @@ button, input, select, textarea { font-family: inherit; }:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"]::-moz-range-thumb,:root[data-motion-ui] input[type="range"][data-studio-control="timeline-zoom"]::-moz-range-thumb { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--motion-text); }+/* A larger seek handle and hit area make playback scrubbing easier. */+:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"] { height: 28px; }+:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"]::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; cursor: grab; }+:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"]::-moz-range-thumb { width: 10px; height: 10px; cursor: grab; }++/* Played time uses the shared Design System brand token. */+:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"]::-webkit-slider-runnable-track {+ background: linear-gradient(to right, var(--motion-brand) 0 var(--preview-progress, 0%), var(--motion-border-strong) var(--preview-progress, 0%) 100%);+}+:root[data-motion-ui] input[type="range"][data-studio-control="seek-preview"]::-moz-range-track {+ background: linear-gradient(to right, var(--motion-brand) 0 var(--preview-progress, 0%), var(--motion-border-strong) var(--preview-progress, 0%) 100%);+}+/* Product chrome occupies one row; Studio owns all editor panels below it. */.motion-studio-header { flex-wrap: wrap; min-height: 52px; height: auto; gap: 20px; padding: 10px 16px; }.motion-studio-header > div:first-child { min-width: 0; gap: 16px; }@@ -246,3 +286,55 @@ button, input, select, textarea { font-family: inherit; }:root[data-motion-ui] .hf-od-field {--color-accent: var(--motion-selected);}+/* Pointer focus must not leave a second frame around boxed controls. */+:root[data-motion-ui] .hf-od-field:focus-within { outline: none; }+:root[data-motion-ui] .hf-od-field:is(:focus-visible, :has(:focus-visible)) {+ border-color: var(--motion-border-strong);+ background: var(--motion-inset);+}++/* Preview identity follows the live composition, including full-video navigation. */+:root[data-motion-ui] .motion-composition-card[aria-current="true"] { background: var(--motion-inset); }+:root[data-motion-ui] .motion-composition-card[aria-current="true"] .motion-composition-name { color: var(--motion-strong); font-weight: 600; }++:root[data-motion-ui] .hf-od-floating-surface.motion-speed-menu { background: var(--motion-raised); border: 0; outline: none; box-shadow: var(--motion-shadow-sm); }++/* Equal side columns keep the project name centered in the editor. */+.motion-studio-header.motion-studio-header-centered { padding-block: 11.5px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }+.motion-studio-header.motion-studio-header-centered > div { min-width: 0; width: auto; }+.motion-studio-header.motion-studio-header-centered > div:last-child { justify-self: end; flex-wrap: nowrap; }+.motion-studio-header-centered .motion-workspace-actions { padding-right: 0; margin-right: 0; border-right: 0; }+.motion-header-brand { display: inline-flex; align-items: center; gap: 10px; }+.motion-header-brand img { display: block; width: 104px; height: auto; }+.motion-header-project .motion-project-control { justify-content: center; }+/* Keep one input mounted with stable geometry before, during and after editing. */+.motion-header-project .motion-project-name-input {+ box-sizing: border-box;+ width: min(320px, 100%);+ min-width: 0;+ height: 28px;+ padding: 4px 8px;+ border: 1px solid transparent;+ border-radius: var(--motion-radius-sm);+ background: transparent;+ color: var(--motion-strong);+ line-height: 18px;+ text-align: center;+ text-overflow: ellipsis;+}+:root[data-motion-ui] .motion-studio-header-centered :is(button, .motion-project-name-input) {+ font-size: var(--motion-text-md);+ line-height: 18px;+}+:root[data-motion-ui] .motion-project-name-input:is(:hover, :focus) {+ border-color: var(--motion-border);+ background: var(--motion-bg);+ outline: none;+ box-shadow: none;+}+.motion-header-project .motion-save-state { position: absolute; top: 100%; white-space: nowrap; }+.motion-header-project .motion-project-control { position: relative; }+@media (max-width: 700px) {+ .motion-studio-header.motion-studio-header-centered { grid-template-columns: auto minmax(0, 1fr); }+ .motion-studio-header.motion-studio-header-centered > div:last-child { grid-column: 1 / -1; }+}diff --git a/studio/src/motion/workspace.css b/studio/src/motion/workspace.cssindex 852c609b..ddb33db5 100644--- a/studio/src/motion/workspace.css+++ b/studio/src/motion/workspace.css@@ -2,19 +2,18 @@.motion-workspace { display: flex; height: 100%; min-height: 0; width: 100%; overflow: hidden; color: var(--motion-text); background: var(--motion-bg); }.motion-workspace-content { position: relative; display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; container-type: inline-size; background: var(--motion-panel); overflow: hidden; }.motion-workspace-content > .h-full { flex: 1; min-height: 0; height: auto; }-.motion-sidebar { display: flex; flex-direction: column; flex: 0 0 224px; width: 224px; min-height: 0; padding: 20px 12px 12px; border-right: 1px solid var(--motion-border); background: var(--motion-bg); }-.motion-sidebar-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-inline: 2px; gap: 4px; }-.motion-sidebar .motion-brand { border: 0; background: transparent; padding: 0; min-width: 0; cursor: pointer; gap: 8px; }-.motion-sidebar .motion-brand strong { font-size: 17px; }-.motion-sidebar .motion-brand-mark { width: 30px; height: 30px; }+.motion-sidebar { display: flex; flex-direction: column; flex: 0 0 224px; width: 224px; min-height: 0; padding: 12px 12px 12px; border-right: 1px solid var(--motion-border); background: var(--motion-bg); }+.motion-sidebar-brand { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 16px; padding-inline: 4px; gap: 10px; }+.motion-sidebar .motion-brand { border: 0; background: transparent; padding: 0; min-width: 0; gap: 8px; }+.motion-sidebar .motion-brand-logo { display: block; width: 104px; max-width: 100%; height: auto; }.motion-sidebar-new { height: 38px; margin-bottom: 20px; }.motion-sidebar-nav { display: grid; gap: 4px; margin-bottom: 30px; }.motion-sidebar-nav button, .motion-session { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 7px; background: transparent; color: var(--motion-muted); text-align: left; cursor: pointer; min-height: 38px; padding: 9px 10px; font-size: 13px; }.motion-sidebar-nav button:hover, .motion-session:hover { background: var(--motion-hover); color: var(--motion-strong); }.motion-sidebar [aria-current="page"] { background: var(--motion-accent-soft); color: var(--motion-accent); }.motion-sidebar button:disabled { cursor: default; opacity: .5; }-.motion-session-heading { display: flex; justify-content: space-between; padding: 0 10px; color: var(--motion-dim); font-size: 11px; }-.motion-session-heading > :last-child { font-family: var(--motion-font-mono); }+.motion-session-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: var(--motion-dim); font-size: 11px; }+.motion-session-heading .motion-icon-button { margin-right: -7px; }.motion-session-search, .motion-template-search { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--motion-border); border-radius: 7px; color: var(--motion-dim); }.motion-session-search { margin: 12px 0 8px; }.motion-session-search input, .motion-template-search input { background: transparent; border: 0; color: var(--motion-text); width: 100%; min-width: 0; font-size: 12px; outline-offset: 4px; }@@ -32,10 +31,11 @@.motion-sidebar-footer strong, .motion-sidebar-footer small { display: block; font-size: 12px; font-weight: 500; }.motion-sidebar-footer small { font-size: 10px; margin-top: 4px; color: var(--motion-dim); }.motion-workspace-menu { display: inline-flex; flex-shrink: 0; }-.motion-sidebar-close, .motion-sidebar-backdrop { display: none; }-.motion-workspace[data-collapsed="true"] .motion-sidebar { display: none; }+.motion-sidebar-backdrop { position: fixed; inset: 0; background: var(--motion-overlay); z-index: 100; }+.motion-sidebar-drawer { position: fixed; inset: 0 auto 0 0; width: min(260px, calc(100vw - 32px)); z-index: 101; outline: none; box-shadow: 8px 0 24px rgb(0 0 0 / .12); }+.motion-sidebar-drawer .motion-sidebar { width: 100%; height: 100%; padding-top: 11.5px; }.motion-workspace-notice { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 8px 18px; color: var(--motion-danger); background: var(--motion-danger-soft); font-size: 12px; flex-shrink: 0; }-.motion-workspace[data-embedded="true"] .motion-sidebar { display: none; }+/* Project navigation overlays the editor at every viewport size. */.motion-home-navigation { position: absolute; left: 8px; top: 4px; z-index: 1; }.motion-home { display: flex; flex: 1; flex-direction: column; position: relative; min-height: 0; }.motion-home-scroll { flex: 1; min-height: 0; overflow: auto; scroll-padding-bottom: 200px; }@@ -103,8 +103,8 @@.motion-route-state h1 { font-size: 20px; }.motion-route-state p { font-size: 13px; }.motion-route-state > div { display: flex; justify-content: center; gap: 12px; }-.motion-project-title { display: flex; align-items: center; gap: 8px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: transparent; color: var(--motion-strong); cursor: pointer; padding: 5px 0; font-size: 12px; }-.motion-project-title > svg { opacity: .55; }+.motion-project-title { display: flex; align-items: center; gap: 8px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid transparent; border-radius: var(--motion-radius-sm); background: transparent; color: var(--motion-strong); cursor: pointer; padding: 4px 8px; font-size: 12px; }+.motion-project-title:enabled:hover, .motion-project-title:focus-visible { border-color: var(--motion-border); background: var(--motion-bg); }.motion-project-rename { display: flex; align-items: center; gap: 4px; }.motion-project-rename input { width: 150px; border: 1px solid var(--motion-border); background: var(--motion-inset); color: var(--motion-text); font-size: 12px; padding: 6px; border-radius: 4px; }.motion-workspace-content .motion-studio-header > div:first-child > span[aria-hidden] { display: none; }@@ -203,10 +203,6 @@.motion-recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}@media (max-width: 760px) {- .motion-sidebar-close { display: inline-flex; }- .motion-workspace .motion-sidebar { display: none; }- .motion-workspace[data-mobile-open="true"] .motion-sidebar { display: flex; position: fixed; inset: 0 auto 0 0; width: 260px; padding: 24px 14px 16px; z-index: 101; background: var(--motion-panel); }- .motion-sidebar-backdrop { display: block; position: fixed; inset: 0; border: 0; background: var(--motion-overlay); z-index: 100; }.motion-home-inner { padding: 48px 18px 200px; }.motion-home-composer { width: calc(100% - 32px); bottom: 16px; }.motion-template-search { width: 100%; }@@ -219,3 +215,7 @@.motion-home-composer .motion-composer-tools { flex-wrap: wrap; }.motion-home-composer .motion-composer-submit span { display: none; }}++@media(max-width: 1100px) {+ .motion-sidebar-brand { padding-inline: 0; }+}diff --git a/studio/src/player/components/AudioGainDialog.tsx b/studio/src/player/components/AudioGainDialog.tsxindex a94645e1..68b97e56 100644--- a/studio/src/player/components/AudioGainDialog.tsx+++ b/studio/src/player/components/AudioGainDialog.tsx@@ -139,7 +139,7 @@ export function AudioGainDialog({type="number"step={0.1}max={PEAK_MODES.has(rowMode) ? 0 : undefined}- aria-label={`${ROWS.find((row) => row.mode === rowMode)?.label ?? ""} dB`}+ aria-label={`${t(ROWS.find((row) => row.mode === rowMode)?.label ?? "")} dB`}value={values[rowMode]}disabled={mode !== rowMode}className="w-16 rounded border border-neutral-700 bg-neutral-950 px-1 text-right disabled:opacity-50"@@ -159,7 +159,7 @@ export function AudioGainDialog({<divrole="dialog"aria-modal="true"- aria-label={AUDIO_GAIN_LABEL}+ aria-label={t(AUDIO_GAIN_LABEL)}className="w-[340px] rounded-md border border-neutral-700 bg-neutral-900 p-4 text-xs text-neutral-200 shadow-xl"onKeyDown={(event) => {event.stopPropagation();@@ -169,11 +169,11 @@ export function AudioGainDialog({void apply();}}>- <div className="mb-3 text-sm font-medium">{AUDIO_GAIN_LABEL}</div>+ <div className="mb-3 text-sm font-medium">{t(AUDIO_GAIN_LABEL)}</div>{ROWS.map((row) => (<Rowkey={row.mode}- label={row.label}+ label={t(row.label)}checked={mode === row.mode}disabled={PEAK_MODES.has(row.mode) && peaks !== null && peakDb === null}onSelect={() => setMode(row.mode)}@@ -205,7 +205,7 @@ export function AudioGainDialog({className="rounded bg-blue-500 px-3 py-1 text-white disabled:opacity-40"onClick={() => void apply()}>- {t('OK')}+ {t("OK")}</button></div></div>diff --git a/studio/src/player/components/ClipContextMenu.tsx b/studio/src/player/components/ClipContextMenu.tsxindex 0ec30e4c..d23264a4 100644--- a/studio/src/player/components/ClipContextMenu.tsx+++ b/studio/src/player/components/ClipContextMenu.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { memo, useLayoutEffect, useState, type RefObject } from "react";import { createPortal } from "react-dom";@@ -101,10 +102,12 @@ export const ClipContextMenu = memo(function ClipContextMenu({splitShortcut,}: ClipContextMenuProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const keys = useStudioKeys();const menuRef = useContextMenuDismiss(onClose);useMenuKeyboardNav(menuRef);- const tools = useTimelineEditContextOptional().clipMenuTools !== false;+ const toolsEnabled = useTimelineEditContextOptional().clipMenuTools !== false;+ const tools = toolsEnabled && !mvp;// The right-clicked clip's own id: a member of the live multi-selection// means Copy/Duplicate act on the whole group, matching onContextMenuClip's// selection-preserving behaviour for a right-click inside it.@@ -123,7 +126,7 @@ export const ClipContextMenu = memo(function ClipContextMenu({? null: canSplit? t("Split at {value0}s", { value0: currentTime.toFixed(2) })- : "Split (move playhead inside clip)";+ : t("Split (move playhead inside clip)");const menuWidth = 200;const adjustedX = x + menuWidth > window.innerWidth ? x - menuWidth : x;diff --git a/studio/src/player/components/EditModal.test.tsx b/studio/src/player/components/EditModal.test.tsxindex 525dca70..81aaad01 100644--- a/studio/src/player/components/EditModal.test.tsx+++ b/studio/src/player/components/EditModal.test.tsx@@ -1,13 +1,27 @@// @vitest-environment happy-domimport { act } from "react";import { createRoot } from "react-dom/client";-import { afterEach, describe, expect, it } from "vitest";+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { EditPopover } from "./EditModal";+import { usePlayerStore, type TimelineElement } from "../store/playerStore";+import { copyTextToClipboard } from "../../utils/clipboard";++vi.mock("../../utils/clipboard", () => ({ copyTextToClipboard: vi.fn(async () => true) }));++beforeEach(() => {+ vi.useFakeTimers();+ vi.clearAllMocks();+ usePlayerStore.getState().reset();+ sessionStorage.clear();+});(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;afterEach(() => {document.body.innerHTML = "";+ usePlayerStore.getState().reset();+ vi.clearAllTimers();+ vi.useRealTimers();});describe("EditPopover", () => {@@ -32,3 +46,38 @@ describe("EditPopover", () => {act(() => root.unmount());});});++const overlappingClips: TimelineElement[] = [+ { id: "background", key: "main:background", tag: "div", start: 0, duration: 6, track: 0 },+ { id: "title", key: "scene-a:title", tag: "h1", start: 0, duration: 6, track: 1 },+ { id: "title", key: "scene-b:title", tag: "h2", start: 0, duration: 6, track: 2 },+ { id: "later", key: "main:later", tag: "p", start: 6, duration: 3, track: 3 },+];++it.each([+ { name: "single clip, including duplicate DOM ids", selectedElementKey: "scene-a:title", expected: ["#title (h1)"], excluded: ["#background", "#title (h2)", "#later"] },+ { name: "explicit time range", selectedElementKey: undefined, expected: ["#background", "#title (h1)", "#title (h2)"], excluded: ["#later"] },+ { name: "missing selected clip without falling back to the range", selectedElementKey: "deleted:title", expected: ["(none)"], excluded: ["#background", "#title", "#later"] },+])("copies only the intended targets for $name", async ({ selectedElementKey, expected, excluded }) => {+ usePlayerStore.setState({ elements: overlappingClips });+ const host = document.createElement("div");+ document.body.append(host);+ const root = createRoot(host);+ try {+ act(() => root.render(<EditPopover rangeStart={0} rangeEnd={6} anchorX={400} anchorY={500}+ selectedElementKey={selectedElementKey} initialPrompt="Make the selected title red" onClose={() => {}} />));+ const copy = Array.from(document.querySelectorAll("button")).find(b => b.textContent?.includes("Copy to Agent"))!;+ await act(async () => copy.click());+ const text = vi.mocked(copyTextToClipboard).mock.calls[0][0];+ for (const target of expected) expect(text).toContain(target);+ for (const target of excluded) expect(text).not.toContain(target);+ expect(text).toContain("Modify only the elements listed above");+ expect(text).toContain("Make the selected title red");+ if (selectedElementKey === "scene-a:title") {+ expect(document.body.textContent).toContain("1 element");+ expect(document.body.textContent).not.toContain("#background");+ }+ } finally {+ act(() => root.unmount());+ }+});diff --git a/studio/src/player/components/EditModal.tsx b/studio/src/player/components/EditModal.tsxindex c43c47ef..384ec85f 100644--- a/studio/src/player/components/EditModal.tsx+++ b/studio/src/player/components/EditModal.tsx@@ -14,6 +14,8 @@ interface EditPopoverProps {anchorY: number;onClose: () => void;initialPrompt?: string;+ /** Exact clip identity; omit for a time-range request. */+ selectedElementKey?: string;}function draftKey(start: number, end: number): string {@@ -37,7 +39,7 @@ function writeDraft(key: string, value: string): void {}}-export function EditPopover({ rangeStart, rangeEnd, anchorX, anchorY, onClose, initialPrompt }: EditPopoverProps) {+export function EditPopover({ rangeStart, rangeEnd, anchorX, anchorY, onClose, initialPrompt, selectedElementKey }: EditPopoverProps) {const { t } = useI18n();const elements = usePlayerStore((s) => s.elements);const start = Math.min(rangeStart, rangeEnd);@@ -56,11 +58,17 @@ export function EditPopover({ rangeStart, rangeEnd, anchorX, anchorY, onClose, iconst textareaRef = useRef<HTMLTextAreaElement>(null);const elementsInRange = useMemo(() => {+ // A single-clip request must not expand to overlapping clips, even if its+ // target disappears while this popover is open. Keys distinguish nested+ // compositions whose elements share the same authored DOM id.+ if (selectedElementKey !== undefined) {+ return elements.filter((el) => (el.key ?? el.id) === selectedElementKey);+ }return elements.filter((el) => {const elEnd = el.start + el.duration;return el.start < end && elEnd > start;});- }, [elements, start, end]);+ }, [elements, start, end, selectedElementKey]);useMountEffect(() => {setTimeout(() => textareaRef.current?.focus(), 50);@@ -150,7 +158,7 @@ export function EditPopover({ rangeStart, rangeEnd, anchorX, anchorY, onClose, i{elementsInRange.length > 0 && (<div className="px-4 py-2 border-b border-neutral-800/40 max-h-24 overflow-y-auto">{elementsInRange.map((el) => (- <div key={el.id} className="flex items-center justify-between py-0.5">+ <div key={el.key ?? el.id} className="flex items-center justify-between py-0.5"><span className="text-[10px] font-mono text-accent-ink/80">#{el.id}</span><span className="text-[10px] text-neutral-600">{el.tag}</span></div>diff --git a/studio/src/player/components/PlayerControls.tsx b/studio/src/player/components/PlayerControls.tsxindex b29db799..ee9210ad 100644--- a/studio/src/player/components/PlayerControls.tsx+++ b/studio/src/player/components/PlayerControls.tsx@@ -1,3 +1,5 @@+import { RemixIcon } from "../../icons/RemixIcons";+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import { useRef, useEffect, memo } from "react";import gsap from "gsap";@@ -85,22 +87,7 @@ const LoopButton = memo(function LoopButton({aria-label={loopEnabled ? t("Disable loop playback") : t("Enable loop playback")}aria-pressed={loopEnabled}>- <svg- width="13"- height="13"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- <path d="M17 2l4 4-4 4" />- <path d="M3 11V9a4 4 0 0 1 4-4h14" />- <path d="M7 22l-4-4 4-4" />- <path d="M21 13v2a4 4 0 0 1-4 4H3" />- </svg>+ <RemixIcon name="repeat-line" size={16} /></button></Tooltip>);@@ -128,33 +115,7 @@ const FullscreenButton = memo(function FullscreenButton({}`}aria-label={isFullscreen ? t("Exit fullscreen") : t("Enter fullscreen")}>- <svg- width="13"- height="13"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- {isFullscreen ? (- <>- <path d="M8 3v3a2 2 0 0 1-2 2H3" />- <path d="M21 8h-3a2 2 0 0 1-2-2V3" />- <path d="M3 16h3a2 2 0 0 1 2 2v3" />- <path d="M16 21v-3a2 2 0 0 1 2-2h3" />- </>- ) : (- <>- <path d="M8 3H5a2 2 0 0 0-2 2v3" />- <path d="M21 8V5a2 2 0 0 0-2-2h-3" />- <path d="M3 16v3a2 2 0 0 0 2 2h3" />- <path d="M16 21h3a2 2 0 0 0 2-2v-3" />- </>- )}- </svg>+ <RemixIcon name={isFullscreen ? "fullscreen-exit-line" : "fullscreen-line"} size={16} /></button></Tooltip>);@@ -182,6 +143,7 @@ export const PlayerControls = memo(function PlayerControls({onToggleFullscreen,shortcutSections,}: PlayerControlsProps) {+ const mvp = useMvpEditor();const { t } = useI18n();const isPlaying = usePlayerStore((s) => s.isPlaying);const duration = usePlayerStore((s) => s.duration);@@ -194,7 +156,8 @@ export const PlayerControls = memo(function PlayerControls({const setAudioMuted = usePlayerStore.getState().setAudioMuted;const setAudioVolume = usePlayerStore.getState().setAudioVolume;const setLoopEnabled = usePlayerStore.getState().setLoopEnabled;- const timeDisplayMode = usePlayerStore((s) => s.timeDisplayMode);+ const storedTimeDisplayMode = usePlayerStore((s) => s.timeDisplayMode);+ const timeDisplayMode = mvp ? "time" : storedTimeDisplayMode;const setTimeDisplayMode = usePlayerStore.getState().setTimeDisplayMode;const timeDisplayRef = useRef<HTMLSpanElement>(null);@@ -230,7 +193,7 @@ export const PlayerControls = memo(function PlayerControls({});return (- <div className="relative z-20">+ <div className="motion-player-controls relative z-20"><PreviewSeekBar duration={duration} disabled={controlsDisabled} onSeek={onSeek} /><divclassName="grid h-7 grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center px-3"@@ -239,7 +202,9 @@ export const PlayerControls = memo(function PlayerControls({paddingBottom: "env(safe-area-inset-bottom)",}}>- <Tooltip+ {mvp ? <span className="min-w-0 justify-self-start whitespace-nowrap font-mono text-[11px] tabular-nums text-neutral-400">+ <span ref={timeDisplayRef}>{formatTime(0)}</span><span className="mx-0.5">/</span><span>{formatTime(duration)}</span>+ </span> : <Tooltiplabel={timeDisplayMode === "time" ? t("Switch to frame display") : t("Switch to time display")}><button@@ -256,7 +221,7 @@ export const PlayerControls = memo(function PlayerControls({</>) : null}</button>- </Tooltip>+ </Tooltip>}<Tooltip label={isPlaying ? t("Pause") : t("Play")}><button@@ -270,7 +235,7 @@ export const PlayerControls = memo(function PlayerControls({disabled={controlsDisabled}className="flex h-7 w-8 items-center justify-center justify-self-center rounded-md text-neutral-100 transition-colors hover:text-white disabled:pointer-events-none disabled:opacity-30">- <PlayPauseMorphIcon playing={isPlaying} />+ {mvp ? <RemixIcon name={isPlaying ? "pause-fill" : "play-fill"} size={20} /> : <PlayPauseMorphIcon playing={isPlaying} />}</button></Tooltip>@@ -295,7 +260,7 @@ export const PlayerControls = memo(function PlayerControls({{onToggleFullscreen && (<FullscreenButton isFullscreen={isFullscreen} onToggleFullscreen={onToggleFullscreen} />)}- <ShortcutsButton disabled={disabled} onSeek={onSeek} sections={shortcutSections} />+ {!mvp && <ShortcutsButton disabled={disabled} onSeek={onSeek} sections={shortcutSections} />}</div></div></div>diff --git a/studio/src/player/components/PlayheadIndicator.tsx b/studio/src/player/components/PlayheadIndicator.tsxindex 50c0d8a1..63c28891 100644--- a/studio/src/player/components/PlayheadIndicator.tsx+++ b/studio/src/player/components/PlayheadIndicator.tsx@@ -22,7 +22,7 @@ interface PlayheadIndicatorProps {/** Whether the playhead is being actively scrubbed — fills the head. */scrubbing?: boolean;/**- * When false, the head chip is rendered in normal flow (top:1) instead of the+ * When false, the head chip is absolutely positioned instead of using the* sticky pin — used by the static illustration where there is no scroll area.*/stickyHead?: boolean;@@ -42,8 +42,10 @@ export function PlayheadIndicator({// wrapper) lands exactly on GUTTER + time * pps — the ruler ticks' center x.const HEAD_W = PLAYHEAD_HEAD_W;const HEAD_H = 9;- // marginTop(1) + HEAD_H = where the line should start.- const HEAD_TOTAL_H = 1 + HEAD_H;+ // Rotation expands the 9px square to ~13px. Reserve its full bounds so the+ // scroll viewport cannot clip the upper tip when the head becomes sticky.+ const HEAD_INSET = 3;+ const HEAD_TOTAL_H = Math.ceil(HEAD_INSET + HEAD_H / 2 + Math.hypot(HEAD_W, HEAD_H) / 2);return (<>@@ -78,22 +80,27 @@ export function PlayheadIndicator({horizontal translate puts its LEFT edge at wrapper.left and its CENTERat wrapper.left + HEAD_W/2 — exactly on the line. */}<div+ data-timeline-playhead-head=""className={stickyHead ? "sticky" : "absolute"}style={{left: 0,- top: stickyHead ? 0 : 1,- // Zero height keeps it from covering rows (sticky strip trick).- height: stickyHead ? 0 : undefined,+ top: 0,+ width: HEAD_W,+ height: HEAD_TOTAL_H,+ // The line scrolls behind the pinned head. Mask it above the lower+ // tip too, rather than allowing it to cross the hollow diamond.+ background: stickyHead ? "var(--timeline-shell-bg)" : undefined,}}><divstyle={{+ position: "absolute",+ top: HEAD_INSET,width: HEAD_W,height: HEAD_H,borderRadius: 2,- marginTop: 1,// Outline-only at rest, filled while scrubbing.- background: scrubbing ? color : "transparent",+ background: scrubbing ? color : stickyHead ? "var(--timeline-shell-bg)" : "transparent",border: `1.5px solid ${color}`,boxSizing: "border-box",boxShadow: `0 1px 3px var(--timeline-playhead-shadow), 0 0 5px ${glowColor}`,diff --git a/studio/src/player/components/PreviewSeekBar.tsx b/studio/src/player/components/PreviewSeekBar.tsxindex 1d02cda8..87ac287a 100644--- a/studio/src/player/components/PreviewSeekBar.tsx+++ b/studio/src/player/components/PreviewSeekBar.tsx@@ -20,6 +20,10 @@ export const PreviewSeekBar = memo(function PreviewSeekBar({if (!input) return;const updateTime = (time: number) => {input.value = String(time);+ const progress = Number.isFinite(duration) && duration > 0 && Number.isFinite(time)+ ? Math.max(0, Math.min(100, (time / duration) * 100))+ : 0;+ input.style.setProperty("--preview-progress", `${progress}%`);const text = t("{value0} of {value1}", { value0: formatTime(time), value1: formatTime(duration) });if (input.getAttribute("aria-valuetext") !== text) input.setAttribute("aria-valuetext", text);};diff --git a/studio/src/player/components/SpeedMenu.tsx b/studio/src/player/components/SpeedMenu.tsxindex 56a302d9..f1a21726 100644--- a/studio/src/player/components/SpeedMenu.tsx+++ b/studio/src/player/components/SpeedMenu.tsx@@ -1,8 +1,8 @@import { useI18n } from "../../i18n/I18n";-import { useState, useCallback, memo } from "react";+import { useState, memo } from "react";import { trackStudioEvent } from "../../utils/studioTelemetry";import { Tooltip } from "../../components/ui";-import { useContextMenuDismiss } from "../../hooks/useContextMenuDismiss";+import { Menu, MenuRadioGroup, MenuRadioItem } from "../../components/ui/Menu";const SPEED_OPTIONS = [0.25, 0.5, 1, 1.5, 2] as const;@@ -18,57 +18,50 @@ export const SpeedMenu = memo(function SpeedMenu({disabled,}: SpeedMenuProps) {const { t } = useI18n();- const [showSpeedMenu, setShowSpeedMenu] = useState(false);- const closeMenu = useCallback(() => setShowSpeedMenu(false), []);- // Ref on the container (trigger + menu) so trigger clicks toggle instead of- // close-then-reopen; Escape also dismisses.- const speedMenuContainerRef = useContextMenuDismiss(closeMenu);-+ const [open, setOpen] = useState(false);return (- <div ref={speedMenuContainerRef} className="relative shrink-0">- <Tooltip label={t("Playback speed")}>- <button- type="button"- onClick={() => setShowSpeedMenu((v) => !v)}- disabled={disabled}- aria-haspopup="menu"- aria-expanded={showSpeedMenu}- aria-label={t("Playback speed")}- className="h-7 w-8 rounded-md font-mono text-[10px] tabular-nums text-neutral-500 transition-colors hover:text-neutral-200 disabled:opacity-30"- >- {playbackRate === 1 ? "1x" : `${playbackRate}x`}- </button>- </Tooltip>- {showSpeedMenu && (- <div- role="menu"+ <Tooltip label={t("Playback speed")}>+ <div className="shrink-0">+ <Menu+ open={open}+ onOpenChange={setOpen}+ side="top"+ align="end"+ container={typeof document !== "undefined" ? document.fullscreenElement as HTMLElement ?? undefined : undefined}aria-label={t("Playback speed options")}- className="absolute bottom-full right-0 mb-1.5 rounded-lg shadow-xl z-50 min-w-[56px] overflow-hidden"- style={{ background: "#161618", border: "1px solid rgba(255,255,255,0.08)" }}+ className="motion-speed-menu min-w-[56px] overflow-hidden border-0 p-0"+ trigger={+ <button+ type="button"+ disabled={disabled}+ aria-label={t("Playback speed")}+ className="h-7 w-8 rounded-md font-mono text-[10px] tabular-nums text-neutral-500 transition-colors hover:text-neutral-200 disabled:opacity-30"+ >+ {playbackRate}x+ </button>+ }>- {SPEED_OPTIONS.map((rate) => {- const isCurrent = rate === playbackRate;- return (- <button+ <MenuRadioGroup+ value={playbackRate}+ onValueChange={(value) => {+ const rate = Number(value);+ trackStudioEvent("playback", { action: "speed_change", rate });+ setPlaybackRate(rate);+ setOpen(false);+ }}+ >+ {SPEED_OPTIONS.map((rate) => (+ <MenuRadioItemkey={rate}- type="button"- role="menuitemradio"- aria-checked={isCurrent}- onClick={() => {- trackStudioEvent("playback", { action: "speed_change", rate });- setPlaybackRate(rate);- setShowSpeedMenu(false);- }}- className={`block w-full px-3 py-1.5 text-[11px] text-left font-mono tabular-nums transition-colors outline-hidden focus-visible:bg-white/4 ${- isCurrent ? "text-neutral-50 bg-white/6" : "text-neutral-500 hover:bg-white/4"- }`}+ value={rate}+ className={`rounded-none px-3 py-1.5 font-mono text-[11px] tabular-nums [&>span:last-child]:hidden ${rate === playbackRate ? "bg-hover font-semibold" : ""}`}>{rate}x- </button>- );- })}- </div>- )}- </div>+ </MenuRadioItem>+ ))}+ </MenuRadioGroup>+ </Menu>+ </div>+ </Tooltip>);});diff --git a/studio/src/player/components/Timeline.showKeyframes.test.tsx b/studio/src/player/components/Timeline.showKeyframes.test.tsxindex cc501a60..587ed9bc 100644--- a/studio/src/player/components/Timeline.showKeyframes.test.tsx+++ b/studio/src/player/components/Timeline.showKeyframes.test.tsx@@ -1,5 +1,6 @@// @vitest-environment happy-dom+import { StudioHostContext } from "../../motion/StudioHost";import React, { act } from "react";import { createRoot } from "react-dom/client";import { afterEach, describe, expect, it } from "vitest";@@ -15,7 +16,7 @@ afterEach(() => {document.body.innerHTML = "";});-async function mountKeyframed(showKeyframes?: boolean, withLanes = true) {+async function mountKeyframed(showKeyframes?: boolean, withLanes = true, mvpEditor = false) {usePlayerStore.setState({duration: 10,currentTime: 0,@@ -60,7 +61,7 @@ async function mountKeyframed(showKeyframes?: boolean, withLanes = true) {const host = document.createElement("div");document.body.append(host);const root = createRoot(host);- await act(async () => root.render(<Timeline showKeyframes={showKeyframes} />));+ await act(async () => root.render(<StudioHostContext.Provider value={{ mvpEditor }}><Timeline showKeyframes={showKeyframes} /></StudioHostContext.Provider>));const diamonds = host.querySelectorAll('button[title="50%"]').length;const named = Array.from(host.querySelectorAll("[role=rowheader]")).some((h) =>h.textContent?.includes("Hero card"),@@ -115,3 +116,12 @@ describe("Timeline showKeyframes", () => {act(() => root.unmount());});});++it("MVP hides keyframe lanes but keeps track names and the underlying animation data", async () => {+ const view = await mountKeyframed(undefined, true, true);+ expect(view.lanes).toBe(false);+ expect(view.diamonds).toBe(0);+ expect(view.named).toBe(true);+ expect(usePlayerStore.getState().gsapAnimations.get("card")).toHaveLength(1);+ expect(usePlayerStore.getState().keyframeCache.has("card")).toBe(true);+});diff --git a/studio/src/player/components/Timeline.tsx b/studio/src/player/components/Timeline.tsxindex 3dce8c5a..918dd63c 100644--- a/studio/src/player/components/Timeline.tsx+++ b/studio/src/player/components/Timeline.tsx@@ -1,4 +1,5 @@import { memo } from "react";+import { useMvpEditor } from "../../motion/StudioHost";import { TimelineMediaBar } from '../../motion/TimelineMediaBar';import type { TimelineProps } from "./TimelineTypes";import { TimelineProvider, useTimelineContext } from "./TimelineProvider";@@ -53,8 +54,9 @@ function TimelineView() {}const TimelineComposed = memo(function TimelineComposed(props: TimelineProps = {}) {+ const mvp = useMvpEditor();return (- <TimelineProvider {...props}>+ <TimelineProvider {...props} showKeyframes={mvp ? false : props.showKeyframes}><TimelineView /><TimelineMediaBar /></TimelineProvider>diff --git a/studio/src/player/components/TimelineClip.test.tsx b/studio/src/player/components/TimelineClip.test.tsxindex 35ebc22b..a4777404 100644--- a/studio/src/player/components/TimelineClip.test.tsx+++ b/studio/src/player/components/TimelineClip.test.tsx@@ -8,6 +8,7 @@ import { TimelineClip } from "./TimelineClip";import { ClipFadesContext } from "./TimelineClipFades";import type { TimelineEditCapabilities } from "./timelineEditing";import { defaultTimelineTheme, type TimelineTheme } from "./timelineTheme";+import { StudioHostContext } from "../../motion/StudioHost";Object.defineProperty(globalThis, "IS_REACT_ACT_ENVIRONMENT", {configurable: true,@@ -30,12 +31,16 @@ function renderClip({isSelected = false,hasCustomContent = true,theme = defaultTimelineTheme,+ trackLabel,+ mvp = false,}: {element: TimelineElement;pps?: number;isSelected?: boolean;hasCustomContent?: boolean;theme?: TimelineTheme;+ trackLabel?: string;+ mvp?: boolean;}) {const host = document.createElement("div");document.body.append(host);@@ -44,8 +49,9 @@ function renderClip({act(() => {root.render(- <TimelineClip+ <StudioHostContext.Provider value={{ mvpEditor: mvp }}><TimelineClipel={element}+ trackLabel={trackLabel}pps={pps}clipY={0}isSelected={isSelected}@@ -60,7 +66,7 @@ function renderClip({onDoubleClick={vi.fn()}><div data-custom-content="true" />- </TimelineClip>,+ </TimelineClip></StudioHostContext.Provider>,);});@@ -68,6 +74,33 @@ function renderClip({}describe("TimelineClip", () => {+ it("removes only duplicate MVP titles while retaining clip identity, content and badges", () => {+ const { host, root, onClick } = renderClip({+ element: { id: "bg", label: "First Bg", tag: "div", start: 0, duration: 3, track: 0 },+ trackLabel: "First Bg", mvp: true,+ });+ expect(host.querySelector(".timeline-clip__label")).toBeNull();+ expect(host.querySelector('[data-label-in-track="true"]')).not.toBeNull();+ expect(host.querySelector('[data-custom-content="true"]')).not.toBeNull();+ expect(host.querySelector('[data-testid="clip-badges"]')).not.toBeNull();+ const clip = host.querySelector<HTMLButtonElement>("[data-clip]")!;+ expect(clip.getAttribute("aria-label")).toContain("First Bg");+ act(() => clip.click());+ expect(onClick).toHaveBeenCalledOnce();+ act(() => root.unmount());+ });++ it.each([+ { trackLabel: "Other track", mvp: true },+ { trackLabel: "First Bg", mvp: false },+ ])("keeps titles when they add information or outside the MVP: %j", (options) => {+ const { host, root } = renderClip({+ element: { id: "bg", label: "First Bg", tag: "div", start: 0, duration: 3, track: 0 },+ ...options,+ });+ expect(host.querySelector(".timeline-clip__name")?.textContent).toBe("First Bg");+ act(() => root.unmount());+ });it("hands its content the clip's fades, and none to a clip the mixer does not hear", () => {const seen: unknown[] = [];function Probe() {diff --git a/studio/src/player/components/TimelineClip.tsx b/studio/src/player/components/TimelineClip.tsxindex 4f9ce028..c9cacb42 100644--- a/studio/src/player/components/TimelineClip.tsx+++ b/studio/src/player/components/TimelineClip.tsx@@ -1,4 +1,5 @@import { useI18n } from "../../i18n/I18n";+import { useMvpEditor } from "../../motion/StudioHost";import { memo, type CSSProperties, type ReactNode } from "react";import type { TimelineElement } from "../store/playerStore";import {@@ -22,6 +23,7 @@ import { timeLayerPercent } from "./TimelineTimeLayer";interface TimelineClipProps {el: TimelineElement;+ trackLabel?: string;pps: number;passengerStyle?: CSSProperties;clipY: number;@@ -63,6 +65,7 @@ export function clipZoomKey(el: TimelineElement, pps: number, interacting: boole// fallow-ignore-next-line complexityexport const TimelineClip = memo(function TimelineClip({el,+ trackLabel,pps,passengerStyle,clipY,@@ -87,13 +90,15 @@ export const TimelineClip = memo(function TimelineClip({children,}: TimelineClipProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const widthPx = clipWidthPx(el, pps);const handleOpacity = getClipHandleOpacity({ isHovered, isSelected, isDragging });const displayLabel = `${el.label || el.id || el.tag}${clipSpeedSuffix(el.playbackRate, el.automation)}`;const isAudioClip = isAudioTimelineElement(el);const ladder = clipWidthLadder(widthPx);const showHandles = handleOpacity > 0.01 && (widthPx >= HANDLES_MIN_PX || isSelected);- const showLabel = !isAudioClip || ladder === "labeled";+ const duplicateLabel = mvp && trackLabel === displayLabel;+ const showLabel = !duplicateLabel && (!isAudioClip || ladder === "labeled");const showDefaultText = !hasCustomContent && ladder === "labeled";const startLabel = el.start.toFixed(1);const endLabel = (el.start + el.duration).toFixed(1);@@ -154,6 +159,7 @@ export const TimelineClip = memo(function TimelineClip({data-clip-start={el.start}data-clip-end={el.start + el.duration}data-clip-hidden={el.hidden ? "true" : undefined}+ data-label-in-track={duplicateLabel ? "true" : undefined}data-link-color={linkColor ?? undefined}data-ladder={ladder}data-active={isActive ? "" : undefined}@@ -247,7 +253,7 @@ export const TimelineClip = memo(function TimelineClip({{!isAudioClip && badges}</span>)}- {isAudioClip && badges}+ {(isAudioClip || !showLabel) && badges}{!isGestureActor && el.syncOrigin && <OutOfSyncBadge el={el} />}{showDefaultText && (<span className="timeline-clip__timecode">diff --git a/studio/src/player/components/TimelineClipFades.tsx b/studio/src/player/components/TimelineClipFades.tsxindex 66e54b8a..85ae3354 100644--- a/studio/src/player/components/TimelineClipFades.tsx+++ b/studio/src/player/components/TimelineClipFades.tsx@@ -527,10 +527,10 @@ function FadeHandle({onFocusChange: (focused: boolean) => void;}) {const { t } = useI18n();- const label = direction === "in" ? "Fade in" : "Fade out";+ const label = t(direction === "in" ? "Fade in" : "Fade out");const text = `${label} ${formatFadeSeconds(value)} s`;return (- <Tooltip label={snapLabel ? t("{text}, snapped to {snapLabel}", { text: text, snapLabel: snapLabel }) : text}>+ <Tooltip label={snapLabel ? t("{text}, snapped to {snapLabel}", { text: text, snapLabel: t(snapLabel) }) : text}><divrole="slider"tabIndex={focusable ? 0 : -1}diff --git a/studio/src/player/components/TimelineEmptyState.tsx b/studio/src/player/components/TimelineEmptyState.tsxindex 4df58831..7ee5d23b 100644--- a/studio/src/player/components/TimelineEmptyState.tsx+++ b/studio/src/player/components/TimelineEmptyState.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import type { DragEventHandler } from "react";import { GUTTER, RULER_H } from "./timelineLayout";@@ -27,6 +28,7 @@ export function TimelineEmptyState({onDrop,}: TimelineEmptyStateProps) {const { t } = useI18n();+ const mvp = useMvpEditor();const gateway = useMediaGateway();const hideGuide = !!gateway?.generationOpen && !isDragOver;return (@@ -110,11 +112,11 @@ export function TimelineEmptyState({</svg><div className="motion-empty-media-copy"><strong>{onFileDrop ? t("Drop video, audio or images here") : t("Describe your video to start creating")}</strong>- {onFileDrop && <span>{t("Import files, generate media, or describe your video to your Agent.")}</span>}+ {onFileDrop && <span>{t(mvp ? "Import files or describe your video to your Agent." : "Import files, generate media, or describe your video to your Agent.")}</span>}</div>{onFileDrop && gateway && <div className="motion-empty-media-actions">- <button onClick={gateway.importFiles}>{t("Import files…")}</button>- <button className="motion-media-primary" onClick={event => gateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t("Generate media")}</button>+ <button onClick={gateway.importFiles}>{t("Import files")}</button>+{!mvp && <> <button className="motion-media-primary" onClick={event => gateway.openGenerator({ anchor: mediaPopoverAnchor(event.currentTarget) })}>{t("Generate media")}</button> </>}</div>}</>)}diff --git a/studio/src/player/components/TimelineLaneClip.tsx b/studio/src/player/components/TimelineLaneClip.tsxindex 81f55b44..d6843ef5 100644--- a/studio/src/player/components/TimelineLaneClip.tsx+++ b/studio/src/player/components/TimelineLaneClip.tsx@@ -20,6 +20,7 @@ export interface TimelineLaneClipActions {interface TimelineLaneClipProps {el: TimelineElement;+ trackLabel?: string;previewElement: TimelineElement;elementKey: string;capabilities: TimelineEditCapabilities;@@ -60,6 +61,7 @@ function sameClip(prev: TimelineLaneClipProps, next: TimelineLaneClipProps): boo/** One clip bar in a lane; its handlers read the lane's current callbacks when pressed. */export const TimelineLaneClip = memo(function TimelineLaneClip({el,+ trackLabel,previewElement,elementKey,capabilities,@@ -94,6 +96,7 @@ export const TimelineLaneClip = memo(function TimelineLaneClip({actions.current.onContextMenuClip?.(e, el);}}el={previewElement}+ trackLabel={trackLabel}pps={pps}passengerStyle={passengerStyle}clipY={CLIP_Y}diff --git a/studio/src/player/components/TimelineLanes.tsx b/studio/src/player/components/TimelineLanes.tsxindex 0a5fc497..8aafc741 100644--- a/studio/src/player/components/TimelineLanes.tsx+++ b/studio/src/player/components/TimelineLanes.tsx@@ -434,6 +434,7 @@ export function TimelineLanes({<TimelineLaneClipkey={clipKey}el={el}+ trackLabel={els.length === 1 ? (els[0]?.label ?? els[0]?.domId ?? els[0]?.id) : undefined}previewElement={previewElement}elementKey={elementKey}capabilities={capabilities}diff --git a/studio/src/player/components/TimelineShortcutHint.tsx b/studio/src/player/components/TimelineShortcutHint.tsxindex 351e5d28..5540a052 100644--- a/studio/src/player/components/TimelineShortcutHint.tsx+++ b/studio/src/player/components/TimelineShortcutHint.tsx@@ -1,3 +1,4 @@+import { useMvpEditor } from "../../motion/StudioHost";import { useI18n } from "../../i18n/I18n";import type { TimelineTheme } from "./timelineTheme";@@ -7,6 +8,8 @@ interface TimelineShortcutHintProps {export function TimelineShortcutHint({ theme }: TimelineShortcutHintProps) {const { t } = useI18n();+ const mvp = useMvpEditor();+ if (mvp) return null;return (<div className="absolute bottom-2 right-3 pointer-events-none z-20"><divdiff --git a/studio/src/player/components/VolumeControl.tsx b/studio/src/player/components/VolumeControl.tsxindex 01494039..bdc6f1ee 100644--- a/studio/src/player/components/VolumeControl.tsx+++ b/studio/src/player/components/VolumeControl.tsx@@ -1,3 +1,4 @@+import { RemixIcon } from "../../icons/RemixIcons";import { useI18n } from "../../i18n/I18n";import { memo } from "react";import { Tooltip } from "../../components/ui";@@ -14,30 +15,7 @@ interface VolumeControlProps {function VolumeIcon({ muted, volume }: { muted: boolean; volume: number }) {const silent = muted || volume === 0;return (- <svg- width="13"- height="13"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden="true"- >- <path d="M11 5 6 9H3v6h3l5 4V5Z" />- {silent ? (- <>- <path d="m19 9-6 6" />- <path d="m13 9 6 6" />- </>- ) : (- <>- <path d="M15.5 8.5a5 5 0 0 1 0 7" />- {volume >= 0.5 ? <path d="M18.5 5.5a9 9 0 0 1 0 13" /> : null}- </>- )}- </svg>+ <RemixIcon name={silent ? "volume-mute-line" : volume >= 0.5 ? "volume-up-line" : "volume-down-line"} size={16} />);}@@ -55,7 +33,7 @@ export const VolumeControl = memo(function VolumeControl({return (<div className="group flex shrink-0 items-center">- <div className="w-0 overflow-hidden opacity-0 transition-[width,opacity] duration-150 ease-out group-hover:w-14 group-hover:opacity-100 group-focus-within:w-14 group-focus-within:opacity-100">+ <div className="w-0 overflow-hidden opacity-0 transition-[width,opacity] duration-150 ease-out group-hover:w-14 group-hover:opacity-100 group-has-[:focus-visible]:w-14 group-has-[:focus-visible]:opacity-100 group-has-[input:active]:w-14 group-has-[input:active]:opacity-100"><div className="relative mx-1 flex h-6 w-12 items-center"><div className="absolute inset-x-0 h-0.5 overflow-hidden rounded-full bg-neutral-700"><divdiff --git a/studio/src/player/components/clipMenuLinkItems.tsx b/studio/src/player/components/clipMenuLinkItems.tsxindex 74b53b3c..b9aa164c 100644--- a/studio/src/player/components/clipMenuLinkItems.tsx+++ b/studio/src/player/components/clipMenuLinkItems.tsx@@ -1,3 +1,4 @@+import { useI18n } from "../../i18n/I18n";import { usePlayerStore, type TimelineElement } from "../store/playerStore";import { keyHint } from "./studioShortcuts";import { useTimelineEditContextOptional } from "../../contexts/TimelineEditContext";@@ -126,6 +127,7 @@ export function ClipMenuLinkItems({element: TimelineElement;onClose: () => void;}) {+ const { t } = useI18n();const { onLinkEdit, onDeleteElementOnly } = useTimelineEditContextOptional();const elements = usePlayerStore((s) => s.elements);const selectedKeys = usePlayerStore((s) => s.selectedElementIds);@@ -145,7 +147,7 @@ export function ClipMenuLinkItems({type="button"role="menuitem"disabled={item.disabledReason !== undefined}- title={item.disabledReason}+ title={item.disabledReason ? t(item.disabledReason) : undefined}className={`w-full flex items-center justify-between px-3 py-1.5 text-xs text-left outline-hidden ${item.disabledReason !== undefined? "text-neutral-600 cursor-not-allowed"@@ -156,7 +158,7 @@ export function ClipMenuLinkItems({onClose();}}>- <span>{item.label}</span>+ <span>{t(item.label)}</span>{item.shortcut && (<span className="text-neutral-500 text-[10px] ml-3">{item.shortcut}</span>)}diff --git a/studio/src/player/components/hiddenToggle.tsx b/studio/src/player/components/hiddenToggle.tsxindex 2d69fc88..3426144c 100644--- a/studio/src/player/components/hiddenToggle.tsx+++ b/studio/src/player/components/hiddenToggle.tsx@@ -1,4 +1,4 @@-import { Eye, EyeSlash, SpeakerHigh, SpeakerSlash } from "@phosphor-icons/react";+import { Eye, EyeSlash, SpeakerHigh, SpeakerSlash } from "../../icons/RemixIcons";/** The action a hide toggle offers from the current `hidden` state; on audio `data-hidden` is a mute. */export function hiddenToggleVerb(asMute: boolean, hidden: boolean): string {diff --git a/studio/src/player/components/useTimelineLabelColumn.ts b/studio/src/player/components/useTimelineLabelColumn.tsindex 725f7626..69c24150 100644--- a/studio/src/player/components/useTimelineLabelColumn.ts+++ b/studio/src/player/components/useTimelineLabelColumn.ts@@ -1,4 +1,5 @@import { useMemo } from "react";+import { useMvpEditor } from "../../motion/StudioHost";import type { GsapAnimation } from "@hyperframes/core/gsap-parser";import type { TimelineElement } from "../store/playerStore";import { GUTTER, LABEL_COL_W, TRACKS_LEFT_PAD } from "./timelineLayout";@@ -8,9 +9,10 @@ export function useTimelineLabelColumn(animationsByElement: ReadonlyMap<string, readonly GsapAnimation[]>,elements: readonly TimelineElement[],) {+ const mvp = useMvpEditor();const labelMode = useMemo(- () => timelineNeedsLabelColumn(animationsByElement, elements),- [animationsByElement, elements],+ () => mvp || timelineNeedsLabelColumn(animationsByElement, elements),+ [mvp, animationsByElement, elements],);// The label column provides pre-t=0 space; otherwise keep TRACKS_LEFT_PAD after the gutter.const contentOrigin = labelMode ? LABEL_COL_W + GUTTER : GUTTER + TRACKS_LEFT_PAD;diff --git a/studio/src/styles/components.css b/studio/src/styles/components.cssindex ae76e180..38b40059 100644--- a/studio/src/styles/components.css+++ b/studio/src/styles/components.css@@ -1,6 +1,22 @@/* Rules for Studio's components, for any page that renders them. Reads the tokens in* theme.css. The app shell (body, #root, preflight) stays in studio.css. */+/* Assets and catalog tiles share column widths and spacing at every panel size. */+.hf-media-card-grid {+ display: grid;+ grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));+ gap: 0.375rem;+}++.hf-media-card-grid > * {+ min-width: 0;+}++.hf-media-card-grid .motion-asset-menu-button {+ width: 16px;+ height: 16px;+}+.hf-color-grading-number::-webkit-outer-spin-button,.hf-color-grading-number::-webkit-inner-spin-button {margin: 0;@@ -174,6 +190,13 @@border-top-right-radius: 0;}+/* The track header already names these clips; give the title band's space to the preview. */+.timeline-clip[data-label-in-track="true"] .timeline-clip__content {+ top: 0;+ border-top-left-radius: inherit;+ border-top-right-radius: inherit;+}+.timeline-clip::after {content: "";position: absolute;diff --git a/web/design-system/controls.css b/web/design-system/controls.cssindex 733a0226..ef1aae10 100644--- a/web/design-system/controls.css+++ b/web/design-system/controls.css@@ -1,4 +1,4 @@-:where([data-motion-ui]) .ui-icon { width: var(--motion-icon); height: var(--motion-icon); flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }+:where([data-motion-ui]) .ui-icon { width: var(--motion-icon); height: var(--motion-icon); flex: none; fill: currentColor; stroke: none; stroke-linecap: round; stroke-linejoin: round; }:where([data-motion-ui]) .ui-button {display: inline-flex; align-items: center; justify-content: center; gap: var(--motion-space-6);min-height: var(--motion-control); padding: var(--motion-space-6) var(--motion-space-12);diff --git a/web/design-system/icons.svg b/web/design-system/icons.svgindex f90f050d..839dc2bc 100644--- a/web/design-system/icons.svg+++ b/web/design-system/icons.svg@@ -1,54 +1,258 @@-<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">- <!-- OpenMotion's own line icons, drawn on the reference system's 24-unit grid. -->- <symbol id="icon-film" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 4v16M17 4v16M3 9h4m10 0h4M3 15h4m10 0h4"/></symbol>- <symbol id="icon-upload" viewBox="0 0 24 24"><path d="M12 16V3m-5 5 5-5 5 5M4 15v5h16v-5"/></symbol>- <symbol id="icon-download" viewBox="0 0 24 24"><path d="M12 3v13m-5-5 5 5 5-5M4 16v5h16v-5"/></symbol>- <symbol id="icon-folder" viewBox="0 0 24 24"><path d="M3 8V5h7l2 3h9v3M3 8v12h16l3-9H7l-4 9"/></symbol>- <symbol id="icon-save" viewBox="0 0 24 24"><path d="M4 3h13l4 4v14H3V3h1Zm3 0v6h9V3M7 21v-8h10v8"/></symbol>- <symbol id="icon-plus" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></symbol>- <symbol id="icon-arrow-left" viewBox="0 0 24 24"><path d="m10 5-7 7 7 7M3 12h18"/></symbol>- <symbol id="icon-arrow-right" viewBox="0 0 24 24"><path d="m14 5 7 7-7 7M3 12h18"/></symbol>- <symbol id="icon-arrow-up-right" viewBox="0 0 24 24"><path d="M6 18 18 6M6 6h12v12"/></symbol>- <symbol id="icon-undo" viewBox="0 0 24 24"><path d="m8 3-5 5 5 5M3 8h11a6 6 0 1 1 0 12h-4"/></symbol>- <symbol id="icon-trash" viewBox="0 0 24 24"><path d="M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7m4-7v7"/></symbol>- <symbol id="icon-play" viewBox="0 0 24 24"><path d="m8 4 12 8-12 8Z" fill="currentColor" stroke="none"/></symbol>- <symbol id="icon-pause" viewBox="0 0 24 24"><path d="M6 4h4v16H6zm8 0h4v16h-4z" fill="currentColor" stroke="none"/></symbol>- <symbol id="icon-image" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8" cy="8" r="1.5"/><path d="m3 17 5-5 4 4 4-6 5 7"/></symbol>- <symbol id="icon-sparkles" viewBox="0 0 24 24"><path d="m10 3 2.5 6.5L19 12l-6.5 2.5L10 21l-2.5-6.5L1 12l6.5-2.5L10 3Zm9-1 1 3 3 1-3 1-1 3-1-3-3-1 3-1 1-3Z"/></symbol>- <symbol id="icon-scissors" viewBox="0 0 24 24"><circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="m8 8 13 13M8 16 21 3"/></symbol>- <symbol id="icon-sliders" viewBox="0 0 24 24"><path d="M4 3v7m0 4v7M12 3v12m0 4v2M20 3v2m0 4v12M1 10h6v4H1zm8 5h6v4H9zm8-10h6v4h-6z"/></symbol>- <symbol id="icon-shield" viewBox="0 0 24 24"><path d="m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6l8-3Zm-4 9 3 3 5-6"/></symbol>- <symbol id="icon-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1 1m12 12 1 1M5 19l1-1M18 6l1-1"/></symbol>- <symbol id="icon-moon" viewBox="0 0 24 24"><path d="M20.5 14A9 9 0 0 1 10 3.5 9 9 0 1 0 20.5 14Z"/></symbol>- <symbol id="icon-monitor" viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="14" rx="2"/><path d="M12 17v4m-4 0h8"/></symbol>- <symbol id="icon-palette" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 0 18h1a2 2 0 0 0 1-4c-1-1 0-3 2-3h3a2 2 0 0 0 2-2 9 9 0 0 0-9-9Z"/><path d="M7 9h.01M11 6h.01M16 7h.01M6 14h.01" stroke-width="3"/></symbol>- <symbol id="icon-volume-off" viewBox="0 0 24 24"><path d="M11 4 6 8H3v8h3l5 4V4Zm5 5 6 6m0-6-6 6"/></symbol>- <symbol id="icon-info" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 11v6m0-10v.01"/></symbol>- <symbol id="icon-plug" viewBox="0 0 24 24"><path d="M8 3v5m8-5v5M6 8h12v4a6 6 0 0 1-6 6v4M6 8v4a6 6 0 0 0 6 6"/></symbol>- <symbol id="icon-code" viewBox="0 0 24 24"><path d="m7 6-6 6 6 6m10-12 6 6-6 6M14 3l-4 18"/></symbol>- <symbol id="icon-bot" viewBox="0 0 24 24"><rect x="3" y="7" width="18" height="14" rx="3"/><path d="M12 3v4M8 12v2m8-2v2M8 18h8"/><circle cx="12" cy="2" r="1"/></symbol>- <symbol id="icon-copy" viewBox="0 0 24 24"><rect x="8" y="8" width="13" height="13" rx="2"/><path d="M16 8V3H3v13h5"/></symbol>- <symbol id="icon-close" viewBox="0 0 24 24"><path d="m6 6 12 12M6 18 18 6"/></symbol>- <symbol id="icon-chevron-down" viewBox="0 0 24 24"><path d="m6 9 6 6 6-6"/></symbol>- <symbol id="icon-check" viewBox="0 0 24 24"><path d="m4 12 5 5L20 6"/></symbol>- <symbol id="icon-terminal" viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="18" rx="3"/><path d="m6 8 4 4-4 4m7 0h5"/></symbol>- <symbol id="icon-globe" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><ellipse cx="12" cy="12" rx="4" ry="9"/><path d="M3 12h18"/></symbol>- <symbol id="icon-refresh" viewBox="0 0 24 24"><path d="M20 8a9 9 0 0 0-15-3L2 8m0-5v5h5m-3 8a9 9 0 0 0 15 3l3-3m0 5v-5h-5"/></symbol>- <symbol id="icon-message" viewBox="0 0 24 24"><path d="M4 3h16v14H8l-4 4V3Z"/><path d="M8 8h8m-8 4h5"/></symbol>- <symbol id="icon-layers" viewBox="0 0 24 24"><path d="m12 2 10 6-10 6L2 8l10-6Zm-10 12 10 6 10-6M2 19l10 5 10-5"/></symbol>- <symbol id="icon-subtitles" viewBox="0 0 24 24"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M6 12h5m3 0h4M6 16h3m3 0h6"/></symbol>- <symbol id="icon-eye" viewBox="0 0 24 24"><path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12Z"/><circle cx="12" cy="12" r="3"/></symbol>- <symbol id="icon-grid" viewBox="0 0 24 24"><path d="M3 3h7v7H3zM14 3h7v7h-7zM3 14h7v7H3zM14 14h7v7h-7z" fill="none" stroke="currentColor" stroke-linejoin="round"/></symbol>- <symbol id="icon-redo" viewBox="0 0 24 24"><path d="m17 3 4 4-4 4M21 7H9a6 6 0 0 0 0 12h4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></symbol>- <symbol id="icon-camera" viewBox="0 0 24 24"><path d="M4 6h4l2-3h4l2 3h4a1 1 0 0 1 1 1v12H3V7a1 1 0 0 1 1-1Z" fill="none" stroke="currentColor" stroke-linejoin="round"/><circle cx="12" cy="12" r="4" fill="none" stroke="currentColor"/></symbol>- <symbol id="icon-history" viewBox="0 0 24 24"><path d="M3 11a9 9 0 1 1 2.7 7M3 4v7h7M12 7v5l3 2"/></symbol>- <symbol id="icon-home" viewBox="0 0 24 24"><path d="m3 10 9-7 9 7v11H3V10Zm6 11v-8h6v8"/></symbol>- <symbol id="icon-search" viewBox="0 0 24 24"><circle cx="10" cy="10" r="6"/><path d="m15 15 6 6"/></symbol>- <symbol id="icon-menu" viewBox="0 0 24 24"><path d="M3 6h18M3 12h18M3 18h18"/></symbol>- <symbol id="icon-edit" viewBox="0 0 24 24"><path d="m15 4 5 5M3 21l5-1L21 7l-5-5L3 15v6Z"/></symbol>- <symbol id="icon-music" viewBox="0 0 24 24"><path d="M9 18V5l12-3v13M9 8l12-3"/><ellipse cx="6" cy="18" rx="3" ry="2"/><ellipse cx="18" cy="15" rx="3" ry="2"/></symbol>- <symbol id="icon-sidebar" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M9 4v16m-3-10v4"/></symbol>- <symbol id="icon-maximize" viewBox="0 0 24 24"><path d="M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5"/></symbol>- <symbol id="icon-minimize" viewBox="0 0 24 24"><path d="M3 8h5V3m13 5h-5V3M8 21v-5H3m13 5v-5h5"/></symbol>- <symbol id="icon-arrow-up" viewBox="0 0 24 24"><path d="m5 12 7-7 7 7M12 5v14"/></symbol>+<svg xmlns="http://www.w3.org/2000/svg">+ <!-- Remix Icon 4.9.1. Original paths; see remix-icon-LICENSE.txt. -->+ <symbol id="ri-add-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"/></symbol>+ <symbol id="ri-add-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"/></symbol>+ <symbol id="ri-alert-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM10.9999 16.0002V18.0002H12.9999V16.0002H10.9999ZM10.9999 9.00017V14.0002H12.9999V9.00017H10.9999Z"/></symbol>+ <symbol id="ri-alert-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM4.20568 19.0002H19.7941L11.9999 5.50017L4.20568 19.0002ZM10.9999 16.0002H12.9999V18.0002H10.9999V16.0002ZM10.9999 9.00017H12.9999V14.0002H10.9999V9.00017Z"/></symbol>+ <symbol id="ri-align-item-left-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 21V3H5V21H3ZM7 14C7 13.4477 7.44772 13 8 13H16C16.5523 13 17 13.4477 17 14V19C17 19.5523 16.5523 20 16 20H8C7.44772 20 7 19.5523 7 19V14ZM8 4C7.44772 4 7 4.44772 7 5V10C7 10.5523 7.44772 11 8 11H20C20.5523 11 21 10.5523 21 10V5C21 4.44772 20.5523 4 20 4H8Z"/></symbol>+ <symbol id="ri-align-item-left-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 21V3H5V21H3ZM9 15H15V18H9V15ZM8 13C7.44772 13 7 13.4477 7 14V19C7 19.5523 7.44772 20 8 20H16C16.5523 20 17 19.5523 17 19V14C17 13.4477 16.5523 13 16 13H8ZM9 9H19V6H9V9ZM7 5C7 4.44772 7.44772 4 8 4H20C20.5523 4 21 4.44772 21 5V10C21 10.5523 20.5523 11 20 11H8C7.44772 11 7 10.5523 7 10V5Z"/></symbol>+ <symbol id="ri-anticlockwise-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 10H9L5 15L1 10H4V8C4 5.23858 6.23858 3 9 3H13V5H9C7.34315 5 6 6.34315 6 8V10ZM11 9H21C21.5523 9 22 9.44772 22 10V20C22 20.5523 21.5523 21 21 21H11C10.4477 21 10 20.5523 10 20V10C10 9.44772 10.4477 9 11 9Z"/></symbol>+ <symbol id="ri-anticlockwise-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 9H21C21.5522 9 22 9.44772 22 10V20C22 20.5523 21.5522 21 21 21H11C10.4477 21 9.99996 20.5523 9.99996 20V10C9.99996 9.44772 10.4477 9 11 9ZM12 11V19H20V11H12ZM5.99996 10.5858L7.82839 8.75736L9.24261 10.1716L4.99996 14.4142L0.757324 10.1716L2.17154 8.75736L3.99996 10.5858V8C3.99996 5.23858 6.23854 3 8.99996 3H13V5H8.99996C7.34311 5 5.99996 6.34315 5.99996 8V10.5858Z"/></symbol>+ <symbol id="ri-apps-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 11.5C4.51472 11.5 2.5 9.48528 2.5 7C2.5 4.51472 4.51472 2.5 7 2.5C9.48528 2.5 11.5 4.51472 11.5 7C11.5 9.48528 9.48528 11.5 7 11.5ZM7 21.5C4.51472 21.5 2.5 19.4853 2.5 17C2.5 14.5147 4.51472 12.5 7 12.5C9.48528 12.5 11.5 14.5147 11.5 17C11.5 19.4853 9.48528 21.5 7 21.5ZM17 11.5C14.5147 11.5 12.5 9.48528 12.5 7C12.5 4.51472 14.5147 2.5 17 2.5C19.4853 2.5 21.5 4.51472 21.5 7C21.5 9.48528 19.4853 11.5 17 11.5ZM17 21.5C14.5147 21.5 12.5 19.4853 12.5 17C12.5 14.5147 14.5147 12.5 17 12.5C19.4853 12.5 21.5 14.5147 21.5 17C21.5 19.4853 19.4853 21.5 17 21.5Z"/></symbol>+ <symbol id="ri-apps-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 11.5C4.51472 11.5 2.5 9.48528 2.5 7C2.5 4.51472 4.51472 2.5 7 2.5C9.48528 2.5 11.5 4.51472 11.5 7C11.5 9.48528 9.48528 11.5 7 11.5ZM7 21.5C4.51472 21.5 2.5 19.4853 2.5 17C2.5 14.5147 4.51472 12.5 7 12.5C9.48528 12.5 11.5 14.5147 11.5 17C11.5 19.4853 9.48528 21.5 7 21.5ZM17 11.5C14.5147 11.5 12.5 9.48528 12.5 7C12.5 4.51472 14.5147 2.5 17 2.5C19.4853 2.5 21.5 4.51472 21.5 7C21.5 9.48528 19.4853 11.5 17 11.5ZM17 21.5C14.5147 21.5 12.5 19.4853 12.5 17C12.5 14.5147 14.5147 12.5 17 12.5C19.4853 12.5 21.5 14.5147 21.5 17C21.5 19.4853 19.4853 21.5 17 21.5ZM7 9.5C8.38071 9.5 9.5 8.38071 9.5 7C9.5 5.61929 8.38071 4.5 7 4.5C5.61929 4.5 4.5 5.61929 4.5 7C4.5 8.38071 5.61929 9.5 7 9.5ZM7 19.5C8.38071 19.5 9.5 18.3807 9.5 17C9.5 15.6193 8.38071 14.5 7 14.5C5.61929 14.5 4.5 15.6193 4.5 17C4.5 18.3807 5.61929 19.5 7 19.5ZM17 9.5C18.3807 9.5 19.5 8.38071 19.5 7C19.5 5.61929 18.3807 4.5 17 4.5C15.6193 4.5 14.5 5.61929 14.5 7C14.5 8.38071 15.6193 9.5 17 9.5ZM17 19.5C18.3807 19.5 19.5 18.3807 19.5 17C19.5 15.6193 18.3807 14.5 17 14.5C15.6193 14.5 14.5 15.6193 14.5 17C14.5 18.3807 15.6193 19.5 17 19.5Z"/></symbol>+ <symbol id="ri-arrow-down-s-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 16L6 10H18L12 16Z"/></symbol>+ <symbol id="ri-arrow-down-s-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"/></symbol>+ <symbol id="ri-arrow-go-back-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M8 7V11L2 6L8 1V5H13C17.4183 5 21 8.58172 21 13C21 17.4183 17.4183 21 13 21H4V19H13C16.3137 19 19 16.3137 19 13C19 9.68629 16.3137 7 13 7H8Z"/></symbol>+ <symbol id="ri-arrow-go-back-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.82843 6.99955L8.36396 9.53509L6.94975 10.9493L2 5.99955L6.94975 1.0498L8.36396 2.46402L5.82843 4.99955H13C17.4183 4.99955 21 8.58127 21 12.9996C21 17.4178 17.4183 20.9996 13 20.9996H4V18.9996H13C16.3137 18.9996 19 16.3133 19 12.9996C19 9.68584 16.3137 6.99955 13 6.99955H5.82843Z"/></symbol>+ <symbol id="ri-arrow-go-forward-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 7H11C7.68629 7 5 9.68629 5 13C5 16.3137 7.68629 19 11 19H20V21H11C6.58172 21 3 17.4183 3 13C3 8.58172 6.58172 5 11 5H16V1L22 6L16 11V7Z"/></symbol>+ <symbol id="ri-arrow-go-forward-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.1716 6.99955H11C7.68629 6.99955 5 9.68584 5 12.9996C5 16.3133 7.68629 18.9996 11 18.9996H20V20.9996H11C6.58172 20.9996 3 17.4178 3 12.9996C3 8.58127 6.58172 4.99955 11 4.99955H18.1716L15.636 2.46402L17.0503 1.0498L22 5.99955L17.0503 10.9493L15.636 9.53509L18.1716 6.99955Z"/></symbol>+ <symbol id="ri-arrow-left-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 13V20L4 12L12 4V11H20V13H12Z"/></symbol>+ <symbol id="ri-arrow-left-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7.82843 10.9999H20V12.9999H7.82843L13.1924 18.3638L11.7782 19.778L4 11.9999L11.7782 4.22168L13.1924 5.63589L7.82843 10.9999Z"/></symbol>+ <symbol id="ri-arrow-right-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 13H4V11H12V4L20 12L12 20V13Z"/></symbol>+ <symbol id="ri-arrow-right-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"/></symbol>+ <symbol id="ri-arrow-right-s-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 12L10 18V6L16 12Z"/></symbol>+ <symbol id="ri-arrow-right-s-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"/></symbol>+ <symbol id="ri-arrow-right-up-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.0508 12.361L7.39395 18.0179L5.97974 16.6037L11.6366 10.9468L6.68684 5.99707H18.0006V17.3108L13.0508 12.361Z"/></symbol>+ <symbol id="ri-arrow-right-up-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16.0037 9.41421L7.39712 18.0208L5.98291 16.6066L14.5895 8H7.00373V6H18.0037V17H16.0037V9.41421Z"/></symbol>+ <symbol id="ri-arrow-up-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 12V20H11V12H4L12 4L20 12H13Z"/></symbol>+ <symbol id="ri-arrow-up-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z"/></symbol>+ <symbol id="ri-braces-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 18V14.3C4 13.4716 3.32843 12.8 2.5 12.8H2V11.2H2.5C3.32843 11.2 4 10.5284 4 9.7V6C4 4.34315 5.34315 3 7 3H8V5H7C6.44772 5 6 5.44772 6 6V10.1C6 10.9858 5.42408 11.7372 4.62623 12C5.42408 12.2628 6 13.0142 6 13.9V18C6 18.5523 6.44772 19 7 19H8V21H7C5.34315 21 4 19.6569 4 18ZM20 14.3V18C20 19.6569 18.6569 21 17 21H16V19H17C17.5523 19 18 18.5523 18 18V13.9C18 13.0142 18.5759 12.2628 19.3738 12C18.5759 11.7372 18 10.9858 18 10.1V6C18 5.44772 17.5523 5 17 5H16V3H17C18.6569 3 20 4.34315 20 6V9.7C20 10.5284 20.6716 11.2 21.5 11.2H22V12.8H21.5C20.6716 12.8 20 13.4716 20 14.3Z"/></symbol>+ <symbol id="ri-braces-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 18V14.3C4 13.4716 3.32843 12.8 2.5 12.8H2V11.2H2.5C3.32843 11.2 4 10.5284 4 9.7V6C4 4.34315 5.34315 3 7 3H8V5H7C6.44772 5 6 5.44772 6 6V10.1C6 10.9858 5.42408 11.7372 4.62623 12C5.42408 12.2628 6 13.0142 6 13.9V18C6 18.5523 6.44772 19 7 19H8V21H7C5.34315 21 4 19.6569 4 18ZM20 14.3V18C20 19.6569 18.6569 21 17 21H16V19H17C17.5523 19 18 18.5523 18 18V13.9C18 13.0142 18.5759 12.2628 19.3738 12C18.5759 11.7372 18 10.9858 18 10.1V6C18 5.44772 17.5523 5 17 5H16V3H17C18.6569 3 20 4.34315 20 6V9.7C20 10.5284 20.6716 11.2 21.5 11.2H22V12.8H21.5C20.6716 12.8 20 13.4716 20 14.3Z"/></symbol>+ <symbol id="ri-camera-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9 3H15L17 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V6C2 5.44772 2.44772 5 3 5H7L9 3ZM12 19C15.3137 19 18 16.3137 18 13C18 9.68629 15.3137 7 12 7C8.68629 7 6 9.68629 6 13C6 16.3137 8.68629 19 12 19ZM12 17C9.79086 17 8 15.2091 8 13C8 10.7909 9.79086 9 12 9C14.2091 9 16 10.7909 16 13C16 15.2091 14.2091 17 12 17Z"/></symbol>+ <symbol id="ri-camera-lens-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.82726 21.7633L14.3094 14L17.8413 20.1175C16.198 21.3021 14.1805 22 12 22C11.2538 22 10.5268 21.9183 9.82726 21.7633ZM7.88985 21.119C5.3115 19.955 3.31516 17.7297 2.4578 15H11.4226L7.88985 21.119ZM2.04938 13C2.01672 12.6711 2 12.3375 2 12C2 9.39284 2.99773 7.0187 4.6322 5.23859L9.11325 13H2.04938ZM6.15866 3.88251C7.80198 2.6979 9.81949 2 12 2C12.7462 2 13.4732 2.08172 14.1727 2.2367L9.6906 10L6.15866 3.88251ZM16.1101 2.88101C18.6885 4.04495 20.6848 6.27028 21.5422 9H12.5774L16.1101 2.88101ZM21.9506 11C21.9833 11.3289 22 11.6625 22 12C22 14.6072 21.0023 16.9813 19.3678 18.7614L14.8868 11H21.9506Z"/></symbol>+ <symbol id="ri-camera-lens-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.85802 19.71L12 16H5.07026C6.10692 17.7921 7.8188 19.1447 9.85802 19.71ZM4.25204 14H8.5359L5.07103 7.99867C4.38987 9.17566 4 10.5423 4 12C4 12.6906 4.08751 13.3608 4.25204 14ZM6.39496 6.29179L8.5359 10L12 4C9.8171 4 7.8384 4.87429 6.39496 6.29179ZM14.142 4.28998L12 8H18.9297C17.8931 6.20791 16.1812 4.85529 14.142 4.28998ZM19.748 10H15.4641L18.929 16.0013C19.6101 14.8243 20 13.4577 20 12C20 11.3094 19.9125 10.6392 19.748 10ZM17.605 17.7082L15.4641 14L12 20C14.1829 20 16.1616 19.1257 17.605 17.7082ZM12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM13.1547 10H10.8453L9.6906 12L10.8453 14H13.1547L14.3094 12L13.1547 10Z"/></symbol>+ <symbol id="ri-camera-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.82843 5L7.82843 7H4V19H20V7H16.1716L14.1716 5H9.82843ZM9 3H15L17 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V6C2 5.44772 2.44772 5 3 5H7L9 3ZM12 18C8.96243 18 6.5 15.5376 6.5 12.5C6.5 9.46243 8.96243 7 12 7C15.0376 7 17.5 9.46243 17.5 12.5C17.5 15.5376 15.0376 18 12 18ZM12 16C13.933 16 15.5 14.433 15.5 12.5C15.5 10.567 13.933 9 12 9C10.067 9 8.5 10.567 8.5 12.5C8.5 14.433 10.067 16 12 16Z"/></symbol>+ <symbol id="ri-chat-1-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 3H14C18.4183 3 22 6.58172 22 11C22 15.4183 18.4183 19 14 19V22.5C9 20.5 2 17.5 2 11C2 6.58172 5.58172 3 10 3Z"/></symbol>+ <symbol id="ri-chat-1-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 3H14C18.4183 3 22 6.58172 22 11C22 15.4183 18.4183 19 14 19V22.5C9 20.5 2 17.5 2 11C2 6.58172 5.58172 3 10 3ZM12 17H14C17.3137 17 20 14.3137 20 11C20 7.68629 17.3137 5 14 5H10C6.68629 5 4 7.68629 4 11C4 14.61 6.46208 16.9656 12 19.4798V17Z"/></symbol>+ <symbol id="ri-check-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"/></symbol>+ <symbol id="ri-check-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"/></symbol>+ <symbol id="ri-checkbox-blank-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z"/></symbol>+ <symbol id="ri-checkbox-blank-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM5 5V19H19V5H5Z"/></symbol>+ <symbol id="ri-checkbox-circle-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM17.4571 9.45711L11 15.9142L6.79289 11.7071L8.20711 10.2929L11 13.0858L16.0429 8.04289L17.4571 9.45711Z"/></symbol>+ <symbol id="ri-checkbox-circle-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z"/></symbol>+ <symbol id="ri-clapperboard-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17.9981 7L20.3075 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H5.99807L3.68867 7H5.99807L8.30747 3H11.9981L9.68867 7H11.9981L14.3075 3H17.9981L15.6887 7H17.9981Z"/></symbol>+ <symbol id="ri-clapperboard-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.99807 7L8.30747 3H11.9981L9.68867 7H5.99807ZM11.9981 7L14.3075 3H17.9981L15.6887 7H11.9981ZM17.9981 7L20.3075 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H5.99807L4 6.46076V19H20V7H17.9981Z"/></symbol>+ <symbol id="ri-clipboard-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 4V8H18V4H20.0066C20.5552 4 21 4.44495 21 4.9934V21.0066C21 21.5552 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5551 3 21.0066V4.9934C3 4.44476 3.44495 4 3.9934 4H6ZM8 2H16V6H8V2Z"/></symbol>+ <symbol id="ri-clipboard-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 4V2H17V4H20.0066C20.5552 4 21 4.44495 21 4.9934V21.0066C21 21.5552 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5551 3 21.0066V4.9934C3 4.44476 3.44495 4 3.9934 4H7ZM7 6H5V20H19V6H17V8H7V6ZM9 4V6H15V4H9Z"/></symbol>+ <symbol id="ri-clockwise-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 10H23L19 15L15 10H18V8C18 6.34315 16.6569 5 15 5H11V3H15C17.7614 3 20 5.23858 20 8V10ZM13 9C13.5523 9 14 9.44772 14 10V20C14 20.5523 13.5523 21 13 21H3C2.44772 21 2 20.5523 2 20V10C2 9.44772 2.44772 9 3 9H13Z"/></symbol>+ <symbol id="ri-clockwise-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 10.5858L21.8284 8.75736L23.2426 10.1716L19 14.4142L14.7574 10.1716L16.1716 8.75736L18 10.5858V8C18 6.34315 16.6569 5 15 5H11V3H15C17.7614 3 20 5.23858 20 8V10.5858ZM13 9C13.5523 9 14 9.44772 14 10V20C14 20.5523 13.5523 21 13 21H3C2.44772 21 2 20.5523 2 20V10C2 9.44772 2.44772 9 3 9H13ZM12 11H4V19H12V11Z"/></symbol>+ <symbol id="ri-close-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"/></symbol>+ <symbol id="ri-close-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"/></symbol>+ <symbol id="ri-closed-captioning-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM9 8C6.792 8 5 9.792 5 12C5 14.208 6.792 16 9 16C10.1 16 11.1 15.55 11.828 14.828L10.4144 13.4144C10.0525 13.7762 9.5525 14 9 14C7.895 14 7 13.105 7 12C7 10.895 7.895 10 9 10C9.55 10 10.0483 10.22 10.4153 10.5866L11.829 9.173C11.1049 8.44841 10.1045 8 9 8ZM16 8C13.792 8 12 9.792 12 12C12 14.208 13.792 16 16 16C17.104 16 18.104 15.552 18.828 14.828L17.4144 13.4144C17.0525 13.7762 16.5525 14 16 14C14.895 14 14 13.105 14 12C14 10.895 14.895 10 16 10C16.553 10 17.0534 10.2241 17.4153 10.5866L18.829 9.173C18.1049 8.44841 17.1045 8 16 8Z"/></symbol>+ <symbol id="ri-closed-captioning-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM20 5H4V19H20V5ZM9 8C10.1045 8 11.1049 8.44841 11.829 9.173L10.4153 10.5866C10.0534 10.2241 9.55299 10 9 10C7.895 10 7 10.895 7 12C7 13.105 7.895 14 9 14C9.5525 14 10.0525 13.7762 10.4144 13.4144L11.828 14.828C11.104 15.552 10.104 16 9 16C6.792 16 5 14.208 5 12C5 9.792 6.792 8 9 8ZM16 8C17.1045 8 18.1049 8.44841 18.829 9.173L17.4153 10.5866C17.0534 10.2241 16.553 10 16 10C14.895 10 14 10.895 14 12C14 13.105 14.895 14 16 14C16.5525 14 17.0525 13.7762 17.4144 13.4144L18.828 14.828C18.104 15.552 17.104 16 16 16C13.792 16 12 14.208 12 12C12 9.792 13.792 8 16 8Z"/></symbol>+ <symbol id="ri-code-s-slash-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M24 12L18.3431 17.6569L16.9289 16.2426L21.1716 12L16.9289 7.75736L18.3431 6.34315L24 12ZM2.82843 12L7.07107 16.2426L5.65685 17.6569L0 12L5.65685 6.34315L7.07107 7.75736L2.82843 12ZM9.78845 21H7.66009L14.2116 3H16.3399L9.78845 21Z"/></symbol>+ <symbol id="ri-code-s-slash-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M24 12L18.3431 17.6569L16.9289 16.2426L21.1716 12L16.9289 7.75736L18.3431 6.34315L24 12ZM2.82843 12L7.07107 16.2426L5.65685 17.6569L0 12L5.65685 6.34315L7.07107 7.75736L2.82843 12ZM9.78845 21H7.66009L14.2116 3H16.3399L9.78845 21Z"/></symbol>+ <symbol id="ri-computer-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z"/></symbol>+ <symbol id="ri-computer-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z"/></symbol>+ <symbol id="ri-cursor-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.9093 12.3603L17.0007 20.8537L14.1816 21.8798L11.0902 13.3864L6.91797 16.5422L8.4087 1.63318L19.134 12.0959L13.9093 12.3603Z"/></symbol>+ <symbol id="ri-cursor-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15.3873 13.4975L17.9403 20.5117L13.2418 22.2218L10.6889 15.2076L6.79004 17.6529L8.4086 1.63318L19.9457 12.8646L15.3873 13.4975ZM15.3768 19.3163L12.6618 11.8568L15.6212 11.4459L9.98201 5.9561L9.19088 13.7863L11.7221 12.1988L14.4371 19.6583L15.3768 19.3163Z"/></symbol>+ <symbol id="ri-delete-bin-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM9 11V17H11V11H9ZM13 11V17H15V11H13ZM9 4V6H15V4H9Z"/></symbol>+ <symbol id="ri-delete-bin-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z"/></symbol>+ <symbol id="ri-download-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM14 9H19L12 16L5 9H10V3H14V9Z"/></symbol>+ <symbol id="ri-download-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 10H18L12 16L6 10H11V3H13V10ZM4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19Z"/></symbol>+ <symbol id="ri-drag-move-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18 11V8L22 12L18 16V13H13V18H16L12 22L8 18H11V13H6V16L2 12L6 8V11H11V6H8L12 2L16 6H13V11H18Z"/></symbol>+ <symbol id="ri-drag-move-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 11V5.82843L9.17157 7.65685L7.75736 6.24264L12 2L16.2426 6.24264L14.8284 7.65685L13 5.82843V11H18.1716L16.3431 9.17157L17.7574 7.75736L22 12L17.7574 16.2426L16.3431 14.8284L18.1716 13H13V18.1716L14.8284 16.3431L16.2426 17.7574L12 22L7.75736 17.7574L9.17157 16.3431L11 18.1716V13H5.82843L7.65685 14.8284L6.24264 16.2426L2 12L6.24264 7.75736L7.65685 9.17157L5.82843 11H11Z"/></symbol>+ <symbol id="ri-dropper-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15.5355 2.80744C17.0976 1.24534 19.6303 1.24534 21.1924 2.80744C22.7545 4.36953 22.7545 6.90219 21.1924 8.46429L18.3638 11.2929L18.7175 11.6466C19.108 12.0371 19.108 12.6703 18.7175 13.0608C18.327 13.4513 17.6938 13.4513 17.3033 13.0608L16.9498 12.7073L10.7351 18.922C10.1767 19.4804 9.46547 19.861 8.6911 20.0159L6.93694 20.3667C6.54976 20.4442 6.19416 20.6345 5.91496 20.9137L4.92894 21.8997C4.53841 22.2902 3.90525 22.2902 3.51472 21.8997L2.10051 20.4855C1.70999 20.095 1.70999 19.4618 2.10051 19.0713L3.08653 18.0852C3.36574 17.806 3.55605 17.4504 3.63348 17.0633L3.98431 15.3091C4.13919 14.5347 4.51981 13.8235 5.07821 13.2651L11.2929 7.05045L10.9393 6.69686C10.5488 6.30634 10.5488 5.67317 10.9393 5.28265C11.3299 4.89212 11.963 4.89212 12.3535 5.28265L12.7069 5.63604L15.5355 2.80744ZM12.7071 8.46466L6.49242 14.6794C6.21322 14.9586 6.02291 15.3142 5.94548 15.7013L5.59464 17.4555C5.43977 18.2299 5.05915 18.9411 4.50075 19.4995C5.05915 18.9411 5.77035 18.5604 6.54471 18.4056L8.29887 18.0547C8.68605 17.9773 9.04165 17.787 9.32085 17.5078L15.5355 11.2931L12.7071 8.46466Z"/></symbol>+ <symbol id="ri-dropper-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M19.7782 4.22165C20.5592 5.0027 20.5592 6.26903 19.7782 7.05008L16.9498 9.8785L14.1213 7.05008L16.9498 4.22165C17.7308 3.4406 18.9971 3.4406 19.7782 4.22165ZM21.1924 2.80744C19.6303 1.24534 17.0976 1.24534 15.5355 2.80744L12.7071 5.63586L12.3535 5.28265C11.963 4.89212 11.3299 4.89212 10.9393 5.28265C10.5488 5.67317 10.5488 6.30633 10.9393 6.69686L11.2929 7.05044L5.07821 13.2651C4.51981 13.8235 4.13919 14.5347 3.98431 15.3091L3.63348 17.0633C3.55605 17.4504 3.36574 17.806 3.08653 18.0852L2.10051 19.0713C1.70999 19.4618 1.70999 20.095 2.10051 20.4855L3.51472 21.8997C3.90525 22.2902 4.53841 22.2902 4.92894 21.8997L5.91496 20.9137C6.19416 20.6345 6.54976 20.4442 6.93694 20.3667L8.6911 20.0159C9.46547 19.861 10.1767 19.4804 10.7351 18.922L16.9498 12.7073L17.3033 13.0608C17.6938 13.4513 18.327 13.4513 18.7175 13.0608C19.108 12.6703 19.108 12.0371 18.7175 11.6466L18.364 11.2931L21.1924 8.46429C22.7545 6.90219 22.7545 4.36953 21.1924 2.80744ZM12.7071 8.46466L15.5355 11.2931L9.32085 17.5078C9.04165 17.787 8.68605 17.9773 8.29887 18.0547L6.54471 18.4056C5.77035 18.5604 5.05915 18.9411 4.50075 19.4995C5.05915 18.9411 5.43977 18.2299 5.59464 17.4555L5.94548 15.7013C6.02291 15.3142 6.21322 14.9586 6.49242 14.6794L12.7071 8.46466Z"/></symbol>+ <symbol id="ri-edit-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7.24264 17.9967H3V13.754L14.435 2.319C14.8256 1.92848 15.4587 1.92848 15.8492 2.319L18.6777 5.14743C19.0682 5.53795 19.0682 6.17112 18.6777 6.56164L7.24264 17.9967ZM3 19.9967H21V21.9967H3V19.9967Z"/></symbol>+ <symbol id="ri-edit-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.41421 15.89L16.5563 5.74785L15.1421 4.33363L5 14.4758V15.89H6.41421ZM7.24264 17.89H3V13.6473L14.435 2.21231C14.8256 1.82179 15.4587 1.82179 15.8492 2.21231L18.6777 5.04074C19.0682 5.43126 19.0682 6.06443 18.6777 6.45495L7.24264 17.89ZM3 19.89H21V21.89H3V19.89Z"/></symbol>+ <symbol id="ri-equalizer-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.17071 18C6.58254 16.8348 7.69378 16 9 16C10.3062 16 11.4175 16.8348 11.8293 18H22V20H11.8293C11.4175 21.1652 10.3062 22 9 22C7.69378 22 6.58254 21.1652 6.17071 20H2V18H6.17071ZM12.1707 11C12.5825 9.83481 13.6938 9 15 9C16.3062 9 17.4175 9.83481 17.8293 11H22V13H17.8293C17.4175 14.1652 16.3062 15 15 15C13.6938 15 12.5825 14.1652 12.1707 13H2V11H12.1707ZM6.17071 4C6.58254 2.83481 7.69378 2 9 2C10.3062 2 11.4175 2.83481 11.8293 4H22V6H11.8293C11.4175 7.16519 10.3062 8 9 8C7.69378 8 6.58254 7.16519 6.17071 6H2V4H6.17071Z"/></symbol>+ <symbol id="ri-equalizer-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.17071 18C6.58254 16.8348 7.69378 16 9 16C10.3062 16 11.4175 16.8348 11.8293 18H22V20H11.8293C11.4175 21.1652 10.3062 22 9 22C7.69378 22 6.58254 21.1652 6.17071 20H2V18H6.17071ZM12.1707 11C12.5825 9.83481 13.6938 9 15 9C16.3062 9 17.4175 9.83481 17.8293 11H22V13H17.8293C17.4175 14.1652 16.3062 15 15 15C13.6938 15 12.5825 14.1652 12.1707 13H2V11H12.1707ZM6.17071 4C6.58254 2.83481 7.69378 2 9 2C10.3062 2 11.4175 2.83481 11.8293 4H22V6H11.8293C11.4175 7.16519 10.3062 8 9 8C7.69378 8 6.58254 7.16519 6.17071 6H2V4H6.17071ZM9 6C9.55228 6 10 5.55228 10 5C10 4.44772 9.55228 4 9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6ZM15 13C15.5523 13 16 12.5523 16 12C16 11.4477 15.5523 11 15 11C14.4477 11 14 11.4477 14 12C14 12.5523 14.4477 13 15 13ZM9 20C9.55228 20 10 19.5523 10 19C10 18.4477 9.55228 18 9 18C8.44772 18 8 18.4477 8 19C8 19.5523 8.44772 20 9 20Z"/></symbol>+ <symbol id="ri-expand-horizontal-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M0.5 12L5.44975 7.05029L5.44876 11H10V13H5.44826L5.44727 16.9473L0.5 12ZM14 13H18.5501L18.55 16.9493L23.5 11.9996L18.5503 7.0498L18.5502 11H14V13Z"/></symbol>+ <symbol id="ri-expand-horizontal-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M0.5 12L5.44975 7.05029L6.86396 8.46451L4.32843 11H10V13H4.32843L6.86148 15.5331L5.44727 16.9473L0.5 12ZM14 13H19.6708L17.1358 15.535L18.55 16.9493L23.5 11.9996L18.5503 7.0498L17.136 8.46402L19.6721 11H14V13Z"/></symbol>+ <symbol id="ri-external-link-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V12L17.206 8.207L11.2071 14.2071L9.79289 12.7929L15.792 6.793L12 3H21Z"/></symbol>+ <symbol id="ri-external-link-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z"/></symbol>+ <symbol id="ri-eye-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12ZM12.0003 17C14.7617 17 17.0003 14.7614 17.0003 12C17.0003 9.23858 14.7617 7 12.0003 7C9.23884 7 7.00026 9.23858 7.00026 12C7.00026 14.7614 9.23884 17 12.0003 17ZM12.0003 15C10.3434 15 9.00026 13.6569 9.00026 12C9.00026 10.3431 10.3434 9 12.0003 9C13.6571 9 15.0003 10.3431 15.0003 12C15.0003 13.6569 13.6571 15 12.0003 15Z"/></symbol>+ <symbol id="ri-eye-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z"/></symbol>+ <symbol id="ri-eye-off-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457ZM14.7577 16.1718L13.2937 14.7078C12.902 14.8952 12.4634 15.0002 12.0003 15.0002C10.3434 15.0002 9.00026 13.657 9.00026 12.0002C9.00026 11.537 9.10522 11.0984 9.29263 10.7067L7.82866 9.24277C7.30514 10.0332 7.00026 10.9811 7.00026 12.0002C7.00026 14.7616 9.23884 17.0002 12.0003 17.0002C13.0193 17.0002 13.9672 16.6953 14.7577 16.1718ZM7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925L16.947 12.7327C16.9821 12.4936 17.0003 12.249 17.0003 12.0002C17.0003 9.23873 14.7617 7.00016 12.0003 7.00016C11.7514 7.00016 11.5068 7.01833 11.2677 7.05343L7.97446 3.76015Z"/></symbol>+ <symbol id="ri-eye-off-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z"/></symbol>+ <symbol id="ri-file-add-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM11 11H8V13H11V16H13V13H16V11H13V8H11V11Z"/></symbol>+ <symbol id="ri-file-add-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11 11V8H13V11H16V13H13V16H11V13H8V11H11Z"/></symbol>+ <symbol id="ri-file-code-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM17.6569 12L14.1213 8.46447L12.7071 9.87868L14.8284 12L12.7071 14.1213L14.1213 15.5355L17.6569 12ZM6.34315 12L9.87868 15.5355L11.2929 14.1213L9.17157 12L11.2929 9.87868L9.87868 8.46447L6.34315 12Z"/></symbol>+ <symbol id="ri-file-code-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM17.6569 12L14.1213 15.5355L12.7071 14.1213L14.8284 12L12.7071 9.87868L14.1213 8.46447L17.6569 12ZM6.34315 12L9.87868 8.46447L11.2929 9.87868L9.17157 12L11.2929 14.1213L9.87868 15.5355L6.34315 12Z"/></symbol>+ <symbol id="ri-file-copy-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z"/></symbol>+ <symbol id="ri-file-copy-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z"/></symbol>+ <symbol id="ri-file-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 8L9.00319 2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8ZM10 3.5L4.5 9H10V3.5Z"/></symbol>+ <symbol id="ri-file-image-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 7L16 2H3.9934C3.44495 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.556 21 21.0082V7ZM11 9.5C11 10.3284 10.3284 11 9.5 11C8.67157 11 8 10.3284 8 9.5C8 8.67157 8.67157 8 9.5 8C10.3284 8 11 8.67157 11 9.5ZM17.5 17H8L13.5 10L17.5 17Z"/></symbol>+ <symbol id="ri-file-image-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15 8V4H5V20H19V8H15ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11 9.5C11 10.3284 10.3284 11 9.5 11C8.67157 11 8 10.3284 8 9.5C8 8.67157 8.67157 8 9.5 8C10.3284 8 11 8.67157 11 9.5ZM17.5 17L13.5 10L8 17H17.5Z"/></symbol>+ <symbol id="ri-file-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z"/></symbol>+ <symbol id="ri-file-text-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 9V20.9925C21 21.5511 20.5552 22 20.0066 22H3.9934C3.44495 22 3 21.556 3 21.0082V2.9918C3 2.45531 3.44694 2 3.99826 2H14V8C14 8.55228 14.4477 9 15 9H21ZM21 7H16V2.00318L21 7ZM8 7V9H11V7H8ZM8 11V13H16V11H8ZM8 15V17H16V15H8Z"/></symbol>+ <symbol id="ri-file-text-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 8V20.9932C21 21.5501 20.5552 22 20.0066 22H3.9934C3.44495 22 3 21.556 3 21.0082V2.9918C3 2.45531 3.4487 2 4.00221 2H14.9968L21 8ZM19 9H14V4H5V20H19V9ZM8 7H11V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z"/></symbol>+ <symbol id="ri-file-video-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM15.0008 11.667L10.1219 8.41435C10.0562 8.37054 9.979 8.34717 9.9 8.34717C9.6791 8.34717 9.5 8.52625 9.5 8.74717V15.2524C9.5 15.3314 9.5234 15.4086 9.5672 15.4743C9.6897 15.6581 9.9381 15.7078 10.1219 15.5852L15.0008 12.3326C15.0447 12.3033 15.0824 12.2656 15.1117 12.2217C15.2343 12.0379 15.1846 11.7895 15.0008 11.667Z"/></symbol>+ <symbol id="ri-file-video-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M15 4V8H19V20H5V4H15ZM3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM15.0008 11.667L10.1219 8.41435C10.0562 8.37054 9.979 8.34717 9.9 8.34717C9.6791 8.34717 9.5 8.52625 9.5 8.74717V15.2524C9.5 15.3314 9.5234 15.4086 9.5672 15.4743C9.6897 15.6581 9.9381 15.7078 10.1219 15.5852L15.0008 12.3326C15.0447 12.3033 15.0824 12.2656 15.1117 12.2217C15.2343 12.0379 15.1846 11.7895 15.0008 11.667Z"/></symbol>+ <symbol id="ri-film-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z"/></symbol>+ <symbol id="ri-film-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z"/></symbol>+ <symbol id="ri-flashlight-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 10H20L11 23V14H4L13 1V10Z"/></symbol>+ <symbol id="ri-flashlight-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 9H21L11 24V15H4L13 0V9ZM11 11V7.22063L7.53238 13H13V17.3944L17.263 11H11Z"/></symbol>+ <symbol id="ri-focus-mode" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 3C3.44772 3 3 3.44772 3 4V8H5V5H8V3H4ZM20 3H16V5H19V8H21V4C21 3.44772 20.5523 3 20 3ZM5 16V19H8V21H4C3.44772 21 3 20.5523 3 20V16H5ZM19 16V19H16V21H20C20.5523 21 21 20.5523 21 20V16H19ZM10 9C9.44772 9 9 9.44772 9 10V14C9 14.5523 9.44772 15 10 15H14C14.5523 15 15 14.5523 15 14V10C15 9.44772 14.5523 9 14 9H10Z"/></symbol>+ <symbol id="ri-folder-add-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM11 12H8V14H11V17H13V14H16V12H13V9H11V12Z"/></symbol>+ <symbol id="ri-folder-add-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM11 12V9H13V12H16V14H13V17H11V14H8V12H11Z"/></symbol>+ <symbol id="ri-folder-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z"/></symbol>+ <symbol id="ri-folder-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 5V19H20V7H11.5858L9.58579 5H4ZM12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5Z"/></symbol>+ <symbol id="ri-folder-open-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H4V18.996L6 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3Z"/></symbol>+ <symbol id="ri-folder-open-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z"/></symbol>+ <symbol id="ri-font-size" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.246 15H4.75416L2.75416 20H0.600098L7.0001 4H9.0001L15.4001 20H13.246L11.246 15ZM10.446 13L8.0001 6.88516L5.55416 13H10.446ZM21.0001 12.5351V12H23.0001V20H21.0001V19.4649C20.4118 19.8052 19.7287 20 19.0001 20C16.791 20 15.0001 18.2091 15.0001 16C15.0001 13.7909 16.791 12 19.0001 12C19.7287 12 20.4118 12.1948 21.0001 12.5351ZM19.0001 18C20.1047 18 21.0001 17.1046 21.0001 16C21.0001 14.8954 20.1047 14 19.0001 14C17.8955 14 17.0001 14.8954 17.0001 16C17.0001 17.1046 17.8955 18 19.0001 18Z"/></symbol>+ <symbol id="ri-fullscreen-exit-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z"/></symbol>+ <symbol id="ri-fullscreen-exit-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z"/></symbol>+ <symbol id="ri-fullscreen-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16 3H22V9H20V5H16V3ZM2 3H8V5H4V9H2V3ZM20 19V15H22V21H16V19H20ZM4 19H8V21H2V15H4V19Z"/></symbol>+ <symbol id="ri-fullscreen-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M8 3V5H4V9H2V3H8ZM2 21V15H4V19H8V21H2ZM22 21H16V19H20V15H22V21ZM22 9H20V5H16V3H22V9Z"/></symbol>+ <symbol id="ri-global-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2.04932 12.9999H7.52725C7.70624 16.2688 8.7574 19.3053 10.452 21.8809C5.98761 21.1871 2.5001 17.5402 2.04932 12.9999ZM2.04932 10.9999C2.5001 6.45968 5.98761 2.81276 10.452 2.11902C8.7574 4.69456 7.70624 7.73111 7.52725 10.9999H2.04932ZM21.9506 10.9999H16.4726C16.2936 7.73111 15.2425 4.69456 13.5479 2.11902C18.0123 2.81276 21.4998 6.45968 21.9506 10.9999ZM21.9506 12.9999C21.4998 17.5402 18.0123 21.1871 13.5479 21.8809C15.2425 19.3053 16.2936 16.2688 16.4726 12.9999H21.9506ZM9.53068 12.9999H14.4692C14.2976 15.7828 13.4146 18.3732 11.9999 20.5915C10.5852 18.3732 9.70229 15.7828 9.53068 12.9999ZM9.53068 10.9999C9.70229 8.21709 10.5852 5.62672 11.9999 3.40841C13.4146 5.62672 14.2976 8.21709 14.4692 10.9999H9.53068Z"/></symbol>+ <symbol id="ri-global-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z"/></symbol>+ <symbol id="ri-grid-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M14 10V14H10V10H14ZM16 10H21V14H16V10ZM14 21H10V16H14V21ZM16 21V16H21V20C21 20.5523 20.5523 21 20 21H16ZM14 3V8H10V3H14ZM16 3H20C20.5523 3 21 3.44772 21 4V8H16V3ZM8 10V14H3V10H8ZM8 21H4C3.44772 21 3 20.5523 3 20V16H8V21ZM8 3V8H3V4C3 3.44772 3.44772 3 4 3H8Z"/></symbol>+ <symbol id="ri-grid-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M14 10H10V14H14V10ZM16 10V14H19V10H16ZM14 19V16H10V19H14ZM16 19H19V16H16V19ZM14 5H10V8H14V5ZM16 5V8H19V5H16ZM8 10H5V14H8V10ZM8 19V16H5V19H8ZM8 5H5V8H8V5ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z"/></symbol>+ <symbol id="ri-history-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.53614 4 7.33243 5.11383 5.86492 6.86543L8 9H2V3L4.44656 5.44648C6.28002 3.33509 8.9841 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z"/></symbol>+ <symbol id="ri-history-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z"/></symbol>+ <symbol id="ri-home-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V9.48907C3 9.18048 3.14247 8.88917 3.38606 8.69972L11.3861 2.47749C11.7472 2.19663 12.2528 2.19663 12.6139 2.47749L20.6139 8.69972C20.8575 8.88917 21 9.18048 21 9.48907V20Z"/></symbol>+ <symbol id="ri-home-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V9.48907C3 9.18048 3.14247 8.88917 3.38606 8.69972L11.3861 2.47749C11.7472 2.19663 12.2528 2.19663 12.6139 2.47749L20.6139 8.69972C20.8575 8.88917 21 9.18048 21 9.48907V20ZM19 19V9.97815L12 4.53371L5 9.97815V19H19Z"/></symbol>+ <symbol id="ri-image-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 5H4V19L13.2923 9.70649C13.6828 9.31595 14.3159 9.31591 14.7065 9.70641L20 15.0104V5ZM2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z"/></symbol>+ <symbol id="ri-image-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z"/></symbol>+ <symbol id="ri-information-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z"/></symbol>+ <symbol id="ri-information-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"/></symbol>+ <symbol id="ri-layout-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 3V21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H11ZM21 13V20C21 20.5523 20.5523 21 20 21H13V13H21ZM20 3C20.5523 3 21 3.44772 21 4V11H13V3H20Z"/></symbol>+ <symbol id="ri-layout-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H20C20.5523 3 21 3.44772 21 4V20ZM11 5H5V19H11V5ZM19 13H13V19H19V13ZM19 5H13V11H19V5Z"/></symbol>+ <symbol id="ri-layout-column-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 5V19H19V5H12ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z"/></symbol>+ <symbol id="ri-layout-column-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 5H5V19H11V5ZM13 5V19H19V5H13ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3Z"/></symbol>+ <symbol id="ri-link" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z"/></symbol>+ <symbol id="ri-loader-4-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z"/></symbol>+ <symbol id="ri-loader-4-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z"/></symbol>+ <symbol id="ri-markdown-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM7 15.5V11.5L9 13.5L11 11.5V15.5H13V8.5H11L9 10.5L7 8.5H5V15.5H7ZM18 12.5V8.5H16V12.5H14L17 15.5L20 12.5H18Z"/></symbol>+ <symbol id="ri-markdown-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM7 15.5H5V8.5H7L9 10.5L11 8.5H13V15.5H11V11.5L9 13.5L7 11.5V15.5ZM18 12.5H20L17 15.5L14 12.5H16V8.5H18V12.5Z"/></symbol>+ <symbol id="ri-menu-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"/></symbol>+ <symbol id="ri-menu-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"/></symbol>+ <symbol id="ri-moon-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.3807 2.01886C9.91573 3.38768 9 5.3369 9 7.49999C9 11.6421 12.3579 15 16.5 15C18.6631 15 20.6123 14.0843 21.9811 12.6193C21.6613 17.8537 17.3149 22 12 22C6.47715 22 2 17.5228 2 12C2 6.68514 6.14629 2.33869 11.3807 2.01886Z"/></symbol>+ <symbol id="ri-moon-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z"/></symbol>+ <symbol id="ri-more-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5 10C3.9 10 3 10.9 3 12C3 13.1 3.9 14 5 14C6.1 14 7 13.1 7 12C7 10.9 6.1 10 5 10ZM19 10C17.9 10 17 10.9 17 12C17 13.1 17.9 14 19 14C20.1 14 21 13.1 21 12C21 10.9 20.1 10 19 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z"/></symbol>+ <symbol id="ri-more-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4.5 10.5C3.675 10.5 3 11.175 3 12C3 12.825 3.675 13.5 4.5 13.5C5.325 13.5 6 12.825 6 12C6 11.175 5.325 10.5 4.5 10.5ZM19.5 10.5C18.675 10.5 18 11.175 18 12C18 12.825 18.675 13.5 19.5 13.5C20.325 13.5 21 12.825 21 12C21 11.175 20.325 10.5 19.5 10.5ZM12 10.5C11.175 10.5 10.5 11.175 10.5 12C10.5 12.825 11.175 13.5 12 13.5C12.825 13.5 13.5 12.825 13.5 12C13.5 11.175 12.825 10.5 12 10.5Z"/></symbol>+ <symbol id="ri-music-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 3V17C20 19.2091 18.2091 21 16 21C13.7909 21 12 19.2091 12 17C12 14.7909 13.7909 13 16 13C16.7286 13 17.4117 13.1948 18 13.5351V6H9V17C9 19.2091 7.20914 21 5 21C2.79086 21 1 19.2091 1 17C1 14.7909 2.79086 13 5 13C5.72857 13 6.41165 13.1948 7 13.5351V3H20Z"/></symbol>+ <symbol id="ri-music-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 3V17C20 19.2091 18.2091 21 16 21C13.7909 21 12 19.2091 12 17C12 14.7909 13.7909 13 16 13C16.7286 13 17.4117 13.1948 18 13.5351V5H9V17C9 19.2091 7.20914 21 5 21C2.79086 21 1 19.2091 1 17C1 14.7909 2.79086 13 5 13C5.72857 13 6.41165 13.1948 7 13.5351V3H20ZM5 19C6.10457 19 7 18.1046 7 17C7 15.8954 6.10457 15 5 15C3.89543 15 3 15.8954 3 17C3 18.1046 3.89543 19 5 19ZM16 19C17.1046 19 18 18.1046 18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17C14 18.1046 14.8954 19 16 19Z"/></symbol>+ <symbol id="ri-palette-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM7.5 12C8.32843 12 9 11.3284 9 10.5C9 9.67157 8.32843 9 7.5 9C6.67157 9 6 9.67157 6 10.5C6 11.3284 6.67157 12 7.5 12ZM16.5 12C17.3284 12 18 11.3284 18 10.5C18 9.67157 17.3284 9 16.5 9C15.6716 9 15 9.67157 15 10.5C15 11.3284 15.6716 12 16.5 12ZM12 9C12.8284 9 13.5 8.32843 13.5 7.5C13.5 6.67157 12.8284 6 12 6C11.1716 6 10.5 6.67157 10.5 7.5C10.5 8.32843 11.1716 9 12 9Z"/></symbol>+ <symbol id="ri-palette-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z"/></symbol>+ <symbol id="ri-pause-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 5H8V19H6V5ZM16 5H18V19H16V5Z"/></symbol>+ <symbol id="ri-pen-nib-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4.92898 21.4819L10.775 15.6359C11.4423 15.8141 12.1837 15.6414 12.7071 15.118C13.4882 14.3369 13.4882 13.0706 12.7071 12.2896C11.9261 11.5085 10.6598 11.5085 9.87872 12.2896C9.35526 12.813 9.18263 13.5544 9.36081 14.2217L3.51476 20.0677L2.4541 19.0071C5.28253 15.7072 6.34319 12.0539 7.7574 5.9256L14.1214 5.21849L19.7783 10.8754L19.0711 17.2393C12.9429 18.6535 9.28947 19.7142 5.98964 22.5426L4.92898 21.4819ZM16.5962 2.03651L22.9428 8.38312C23.1381 8.57838 23.1381 8.89496 22.9428 9.09022C22.8679 9.16513 22.7712 9.21431 22.6665 9.23067L21.1924 9.46113L15.5356 3.80428L15.7477 2.31935C15.7868 2.04599 16.04 1.85604 16.3134 1.89509C16.4205 1.91039 16.5197 1.96001 16.5962 2.03651Z"/></symbol>+ <symbol id="ri-pen-nib-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16.5962 1.03651L22.9428 7.38312C23.1381 7.57838 23.1381 7.89496 22.9428 8.09022C22.8679 8.16513 22.7712 8.21431 22.6665 8.23067L21.1924 8.46113L15.5356 2.80428L15.7477 1.31935C15.7868 1.04599 16.04 0.856036 16.3134 0.895088C16.4205 0.910388 16.5197 0.960011 16.5962 1.03651ZM4.59487 20.1478C8.31725 16.8163 12.5899 15.82 17.2379 14.6273L17.6843 10.6099L13.3869 6.31241L9.36936 6.7588C8.17674 11.4068 7.18038 15.6795 3.84886 19.4018L2.4541 18.0071C5.28253 14.7072 6.34319 11.0539 7.7574 4.9256L14.1214 4.21849L19.7783 9.87539L19.0711 16.2393C12.9429 17.6535 9.28947 18.7142 5.98964 21.5426L4.59487 20.1478ZM9.87872 14.118C9.09767 13.3369 9.09767 12.0706 9.87872 11.2896C10.6598 10.5085 11.9261 10.5085 12.7071 11.2896C13.4882 12.0706 13.4882 13.3369 12.7071 14.118C11.9261 14.899 10.6598 14.899 9.87872 14.118Z"/></symbol>+ <symbol id="ri-play-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z"/></symbol>+ <symbol id="ri-plug-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 18V20H19V22H13C11.8954 22 11 21.1046 11 20V18H8C5.79086 18 4 16.2091 4 14V10H20V14C20 16.2091 18.2091 18 16 18H13ZM16 6H19C19.5523 6 20 6.44772 20 7V9H4V7C4 6.44772 4.44772 6 5 6H8V2H10V6H14V2H16V6ZM12 14.5C12.5523 14.5 13 14.0523 13 13.5C13 12.9477 12.5523 12.5 12 12.5C11.4477 12.5 11 12.9477 11 13.5C11 14.0523 11.4477 14.5 12 14.5Z"/></symbol>+ <symbol id="ri-plug-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 18V20H19V22H13C11.8954 22 11 21.1046 11 20V18H8C5.79086 18 4 16.2091 4 14V7C4 6.44772 4.44772 6 5 6H8V2H10V6H14V2H16V6H19C19.5523 6 20 6.44772 20 7V14C20 16.2091 18.2091 18 16 18H13ZM8 16H16C17.1046 16 18 15.1046 18 14V11H6V14C6 15.1046 6.89543 16 8 16ZM18 8H6V9H18V8ZM12 14.5C11.4477 14.5 11 14.0523 11 13.5C11 12.9477 11.4477 12.5 12 12.5C12.5523 12.5 13 12.9477 13 13.5C13 14.0523 12.5523 14.5 12 14.5Z"/></symbol>+ <symbol id="ri-question-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 15V17H13V15H11ZM13 13.3551C14.4457 12.9248 15.5 11.5855 15.5 10C15.5 8.067 13.933 6.5 12 6.5C10.302 6.5 8.88637 7.70919 8.56731 9.31346L10.5288 9.70577C10.6656 9.01823 11.2723 8.5 12 8.5C12.8284 8.5 13.5 9.17157 13.5 10C13.5 10.8284 12.8284 11.5 12 11.5C11.4477 11.5 11 11.9477 11 12.5V14H13V13.3551Z"/></symbol>+ <symbol id="ri-question-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM13 13.3551V14H11V12.5C11 11.9477 11.4477 11.5 12 11.5C12.8284 11.5 13.5 10.8284 13.5 10C13.5 9.17157 12.8284 8.5 12 8.5C11.2723 8.5 10.6656 9.01823 10.5288 9.70577L8.56731 9.31346C8.88637 7.70919 10.302 6.5 12 6.5C13.933 6.5 15.5 8.067 15.5 10C15.5 11.5855 14.4457 12.9248 13 13.3551Z"/></symbol>+ <symbol id="ri-refresh-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM16.8201 17.0761C18.1628 15.8007 19 13.9981 19 12C19 8.13401 15.866 5 12 5C10.9391 5 9.9334 5.23599 9.03241 5.65834L10.0072 7.41292C10.6177 7.14729 11.2917 7 12 7C14.7614 7 17 9.23858 17 12H14L16.8201 17.0761ZM14.9676 18.3417L13.9928 16.5871C13.3823 16.8527 12.7083 17 12 17C9.23858 17 7 14.7614 7 12H10L7.17993 6.92387C5.83719 8.19929 5 10.0019 5 12C5 15.866 8.13401 19 12 19C13.0609 19 14.0666 18.764 14.9676 18.3417Z"/></symbol>+ <symbol id="ri-refresh-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z"/></symbol>+ <symbol id="ri-repeat-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 4H21C21.5523 4 22 4.44772 22 5V12H20V6H6V9L1 5L6 1V4ZM18 20H3C2.44772 20 2 19.5523 2 19V12H4V18H18V15L23 19L18 23V20Z"/></symbol>+ <symbol id="ri-repeat-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 4H21C21.5523 4 22 4.44772 22 5V12H20V6H6V9L1 5L6 1V4ZM18 20H3C2.44772 20 2 19.5523 2 19V12H4V18H18V15L23 19L18 23V20Z"/></symbol>+ <symbol id="ri-robot-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 4.05493C17.5 4.55237 21 8.36745 21 13V22H3V13C3 8.36745 6.50005 4.55237 11 4.05493V1H13V4.05493ZM12 18C14.7614 18 17 15.7614 17 13C17 10.2386 14.7614 8 12 8C9.23858 8 7 10.2386 7 13C7 15.7614 9.23858 18 12 18ZM12 16C10.3431 16 9 14.6569 9 13C9 11.3431 10.3431 10 12 10C13.6569 10 15 11.3431 15 13C15 14.6569 13.6569 16 12 16ZM12 14C12.5523 14 13 13.5523 13 13C13 12.4477 12.5523 12 12 12C11.4477 12 11 12.4477 11 13C11 13.5523 11.4477 14 12 14Z"/></symbol>+ <symbol id="ri-robot-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 4.05493C17.5 4.55237 21 8.36745 21 13V22H3V13C3 8.36745 6.50005 4.55237 11 4.05493V1H13V4.05493ZM19 20V13C19 9.13401 15.866 6 12 6C8.13401 6 5 9.13401 5 13V20H19ZM12 18C9.23858 18 7 15.7614 7 13C7 10.2386 9.23858 8 12 8C14.7614 8 17 10.2386 17 13C17 15.7614 14.7614 18 12 18ZM12 16C13.6569 16 15 14.6569 15 13C15 11.3431 13.6569 10 12 10C10.3431 10 9 11.3431 9 13C9 14.6569 10.3431 16 12 16ZM12 14C11.4477 14 11 13.5523 11 13C11 12.4477 11.4477 12 12 12C12.5523 12 13 12.4477 13 13C13 13.5523 12.5523 14 12 14Z"/></symbol>+ <symbol id="ri-route-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4Z"/></symbol>+ <symbol id="ri-route-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z"/></symbol>+ <symbol id="ri-ruler-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4.92901 13.3138L7.05033 15.4351L8.46455 14.0209L6.34323 11.8996L8.46455 9.77828L11.293 12.6067L12.7072 11.1925L9.87876 8.36407L12.0001 6.24275L14.1214 8.36407L15.5356 6.94986L13.4143 4.82853L16.2427 2.00011C16.6332 1.60958 17.2664 1.60958 17.6569 2.00011L22.6067 6.94986C22.9972 7.34038 22.9972 7.97354 22.6067 8.36407L7.75744 23.2133C7.36692 23.6038 6.73375 23.6038 6.34323 23.2133L1.39348 18.2636C1.00295 17.873 1.00295 17.2399 1.39348 16.8494L4.92901 13.3138Z"/></symbol>+ <symbol id="ri-ruler-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.34323 14.728L3.5148 17.5565L7.05033 21.092L20.4854 7.65696L16.9498 4.12143L14.8285 6.24275L16.2427 7.65696L14.8285 9.07118L13.4143 7.65696L11.293 9.77828L13.4143 11.8996L12.0001 13.3138L9.87876 11.1925L7.75744 13.3138L9.17165 14.728L7.75744 16.1422L6.34323 14.728ZM17.6569 2.00011L22.6067 6.94986C22.9972 7.34038 22.9972 7.97354 22.6067 8.36407L7.75744 23.2133C7.36692 23.6038 6.73375 23.6038 6.34323 23.2133L1.39348 18.2636C1.00295 17.873 1.00295 17.2399 1.39348 16.8494L16.2427 2.00011C16.6332 1.60958 17.2664 1.60958 17.6569 2.00011Z"/></symbol>+ <symbol id="ri-save-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18 21V13H6V21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3H17L21 7V20C21 20.5523 20.5523 21 20 21H18ZM16 21H8V15H16V21Z"/></symbol>+ <symbol id="ri-save-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 19V13H17V19H19V7.82843L16.1716 5H5V19H7ZM4 3H17L21 7V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM9 15V19H15V15H9Z"/></symbol>+ <symbol id="ri-scissors-cut-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.87868 11.9967L7.56215 9.68017C7.08222 9.88397 6.55427 9.9967 6 9.9967C3.79086 9.9967 2 8.20584 2 5.9967C2 3.78756 3.79086 1.9967 6 1.9967C8.20914 1.9967 10 3.78756 10 5.9967C10 6.55098 9.88726 7.07892 9.68347 7.55885L12 9.87538L18.3744 3.50102C19.1554 2.71997 20.4217 2.71997 21.2028 3.50102L21.9099 4.20812L9.68347 16.4346C9.88726 16.9145 10 17.4424 10 17.9967C10 20.2058 8.20914 21.9967 6 21.9967C3.79086 21.9967 2 20.2058 2 17.9967C2 15.7876 3.79086 13.9967 6 13.9967C6.55427 13.9967 7.08222 14.1094 7.56215 14.3132L9.87868 11.9967ZM6 7.9967C7.10457 7.9967 8 7.10127 8 5.9967C8 4.89213 7.10457 3.9967 6 3.9967C4.89543 3.9967 4 4.89213 4 5.9967C4 7.10127 4.89543 7.9967 6 7.9967ZM6 19.9967C7.10457 19.9967 8 19.1013 8 17.9967C8 16.8921 7.10457 15.9967 6 15.9967C4.89543 15.9967 4 16.8921 4 17.9967C4 19.1013 4.89543 19.9967 6 19.9967ZM15.5346 13.41L21.9099 19.7853L21.2028 20.4924C20.4217 21.2734 19.1554 21.2734 18.3744 20.4924L13.4133 15.5313L15.5346 13.41ZM16 10.9967H18V12.9967H16V10.9967ZM20 10.9967H22V12.9967H20V10.9967ZM6 10.9967H8V12.9967H6V10.9967ZM2 10.9967H4V12.9967H2V10.9967Z"/></symbol>+ <symbol id="ri-scissors-cut-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 5.9967C10 6.7292 9.80311 7.41571 9.45936 8.0062L12 10.5825L18.7279 3.85457C19.509 3.07352 20.7753 3.07352 21.5563 3.85457L9.44618 15.9647C9.79807 16.5603 10 17.2549 10 17.9967C10 20.2058 8.20914 21.9967 6 21.9967C3.79086 21.9967 2 20.2058 2 17.9967C2 15.7876 3.79086 13.9967 6 13.9967C6.74181 13.9967 7.43645 14.1986 8.03197 14.5505L10.5858 11.9967L8.03197 9.44289C7.43645 9.79478 6.74181 9.9967 6 9.9967C3.79086 9.9967 2 8.20584 2 5.9967C2 3.78756 3.79086 1.9967 6 1.9967C8.20914 1.9967 10 3.78756 10 5.9967ZM8 5.9967C8 4.89213 7.10457 3.9967 6 3.9967C4.89543 3.9967 4 4.89213 4 5.9967C4 7.10127 4.89543 7.9967 6 7.9967C7.10457 7.9967 8 7.10127 8 5.9967ZM21.5563 20.1388C20.7753 20.9199 19.509 20.9199 18.7279 20.1388L13.4113 14.8222L14.8255 13.408L21.5563 20.1388ZM16 10.9967H18V12.9967H16V10.9967ZM20 10.9967H22V12.9967H20V10.9967ZM6 10.9967H8V12.9967H6V10.9967ZM2 10.9967H4V12.9967H2V10.9967ZM6 19.9967C7.10457 19.9967 8 19.1013 8 17.9967C8 16.8921 7.10457 15.9967 6 15.9967C4.89543 15.9967 4 16.8921 4 17.9967C4 19.1013 4.89543 19.9967 6 19.9967Z"/></symbol>+ <symbol id="ri-scissors-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.68347 7.55885L12 9.87538L18.3744 3.50102C19.1554 2.71997 20.4217 2.71997 21.2028 3.50102L21.9099 4.20812L9.68347 16.4346C9.88726 16.9145 10 17.4424 10 17.9967C10 20.2058 8.20914 21.9967 6 21.9967C3.79086 21.9967 2 20.2058 2 17.9967C2 15.7876 3.79086 13.9967 6 13.9967C6.55427 13.9967 7.08222 14.1094 7.56215 14.3132L9.87868 11.9967L7.56215 9.68017C7.08222 9.88397 6.55427 9.9967 6 9.9967C3.79086 9.9967 2 8.20584 2 5.9967C2 3.78756 3.79086 1.9967 6 1.9967C8.20914 1.9967 10 3.78756 10 5.9967C10 6.55098 9.88726 7.07892 9.68347 7.55885ZM6 7.9967C7.10457 7.9967 8 7.10127 8 5.9967C8 4.89213 7.10457 3.9967 6 3.9967C4.89543 3.9967 4 4.89213 4 5.9967C4 7.10127 4.89543 7.9967 6 7.9967ZM6 19.9967C7.10457 19.9967 8 19.1013 8 17.9967C8 16.8921 7.10457 15.9967 6 15.9967C4.89543 15.9967 4 16.8921 4 17.9967C4 19.1013 4.89543 19.9967 6 19.9967ZM15.5346 13.41L21.9099 19.7853L21.2028 20.4924C20.4217 21.2734 19.1554 21.2734 18.3744 20.4924L13.4133 15.5313L15.5346 13.41Z"/></symbol>+ <symbol id="ri-scissors-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.44618 8.02867L12 10.5825L18.7279 3.85457C19.509 3.07352 20.7753 3.07352 21.5563 3.85457L9.44618 15.9647C9.79807 16.5603 10 17.2549 10 17.9967C10 20.2058 8.20914 21.9967 6 21.9967C3.79086 21.9967 2 20.2058 2 17.9967C2 15.7876 3.79086 13.9967 6 13.9967C6.74181 13.9967 7.43645 14.1986 8.03197 14.5505L10.5858 11.9967L8.03197 9.44289C7.43645 9.79478 6.74181 9.9967 6 9.9967C3.79086 9.9967 2 8.20584 2 5.9967C2 3.78756 3.79086 1.9967 6 1.9967C8.20914 1.9967 10 3.78756 10 5.9967C10 6.73851 9.79807 7.43316 9.44618 8.02867ZM14.8255 13.408L21.5563 20.1388C20.7753 20.9199 19.509 20.9199 18.7279 20.1388L13.4113 14.8222L14.8255 13.408ZM7.41421 16.5825C7.05228 16.2206 6.55228 15.9967 6 15.9967C4.89543 15.9967 4 16.8921 4 17.9967C4 19.1013 4.89543 19.9967 6 19.9967C7.10457 19.9967 8 19.1013 8 17.9967C8 17.4444 7.77614 16.9444 7.41421 16.5825ZM7.41421 7.41092C7.77614 7.04899 8 6.54899 8 5.9967C8 4.89213 7.10457 3.9967 6 3.9967C4.89543 3.9967 4 4.89213 4 5.9967C4 7.10127 4.89543 7.9967 6 7.9967C6.55228 7.9967 7.05228 7.77285 7.41421 7.41092Z"/></symbol>+ <symbol id="ri-search-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168Z"/></symbol>+ <symbol id="ri-search-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"/></symbol>+ <symbol id="ri-settings-3-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.95401 2.2106C11.2876 1.93144 12.6807 1.92263 14.0449 2.20785C14.2219 3.3674 14.9048 4.43892 15.9997 5.07103C17.0945 5.70313 18.364 5.75884 19.4566 5.3323C20.3858 6.37118 21.0747 7.58203 21.4997 8.87652C20.5852 9.60958 19.9997 10.736 19.9997 11.9992C19.9997 13.2632 20.5859 14.3902 21.5013 15.1232C21.29 15.7636 21.0104 16.3922 20.6599 16.9992C20.3094 17.6063 19.9049 18.1627 19.4559 18.6659C18.3634 18.2396 17.0943 18.2955 15.9997 18.9274C14.9057 19.559 14.223 20.6294 14.0453 21.7879C12.7118 22.067 11.3187 22.0758 9.95443 21.7906C9.77748 20.6311 9.09451 19.5595 7.99967 18.9274C6.90484 18.2953 5.63539 18.2396 4.54272 18.6662C3.61357 17.6273 2.92466 16.4164 2.49964 15.1219C3.41412 14.3889 3.99968 13.2624 3.99968 11.9992C3.99968 10.7353 3.41344 9.60827 2.49805 8.87524C2.70933 8.23482 2.98894 7.60629 3.33942 6.99923C3.68991 6.39217 4.09443 5.83576 4.54341 5.33257C5.63593 5.75881 6.90507 5.703 7.99967 5.07103C9.09364 4.43942 9.7764 3.3691 9.95401 2.2106ZM11.9997 14.9992C13.6565 14.9992 14.9997 13.6561 14.9997 11.9992C14.9997 10.3424 13.6565 8.99923 11.9997 8.99923C10.3428 8.99923 8.99967 10.3424 8.99967 11.9992C8.99967 13.6561 10.3428 14.9992 11.9997 14.9992Z"/></symbol>+ <symbol id="ri-settings-3-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z"/></symbol>+ <symbol id="ri-shield-check-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM16.4524 8.22183L11.5019 13.1709L8.67421 10.3431L7.25999 11.7574L11.5026 16L17.8666 9.63604L16.4524 8.22183Z"/></symbol>+ <symbol id="ri-shield-check-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM16.4524 8.22183L17.8666 9.63604L11.5026 16L7.25999 11.7574L8.67421 10.3431L11.5019 13.1709L16.4524 8.22183Z"/></symbol>+ <symbol id="ri-side-bar-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM9 5V19H20V5H9Z"/></symbol>+ <symbol id="ri-side-bar-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z"/></symbol>+ <symbol id="ri-skip-left-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 18V6H9V18H7ZM11 12 17 6V18L11 12Z"/></symbol>+ <symbol id="ri-skip-left-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.9142 12L18.7071 7.20712L17.2929 5.79291L11.0858 12L17.2929 18.2071L18.7071 16.7929L13.9142 12ZM7 18V6.00001H9V18H7Z"/></symbol>+ <symbol id="ri-skip-right-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17 6 17 18H15L15 6 17 6ZM13 12 7 18V6L13 12Z"/></symbol>+ <symbol id="ri-skip-right-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10.0858 12L5.29289 16.7929L6.70711 18.2071L12.9142 12L6.70711 5.79291L5.29289 7.20712L10.0858 12ZM17 6.00002L17 18H15L15 6.00002L17 6.00002Z"/></symbol>+ <symbol id="ri-slideshow-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 21V23H11V21H3C2.44772 21 2 20.5523 2 20V6H22V20C22 20.5523 21.5523 21 21 21H13ZM8 10C6.34315 10 5 11.3431 5 13C5 14.6569 6.34315 16 8 16C9.65685 16 11 14.6569 11 13H8V10ZM13 10V12H19V10H13ZM13 14V16H19V14H13ZM2 3H22V5H2V3Z"/></symbol>+ <symbol id="ri-slideshow-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 21V23H11V21H3C2.44772 21 2 20.5523 2 20V6H22V20C22 20.5523 21.5523 21 21 21H13ZM4 19H20V8H4V19ZM13 10H18V12H13V10ZM13 14H18V16H13V14ZM9 10V13H12C12 14.6569 10.6569 16 9 16C7.34315 16 6 14.6569 6 13C6 11.3431 7.34315 10 9 10ZM2 3H22V5H2V3Z"/></symbol>+ <symbol id="ri-sparkling-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z"/></symbol>+ <symbol id="ri-sparkling-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z"/></symbol>+ <symbol id="ri-stack-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20.0833 10.4999L21.2854 11.2212C21.5221 11.3633 21.5989 11.6704 21.4569 11.9072C21.4146 11.9776 21.3557 12.0365 21.2854 12.0787L11.9999 17.6499L2.71451 12.0787C2.47772 11.9366 2.40093 11.6295 2.54301 11.3927C2.58523 11.3223 2.64413 11.2634 2.71451 11.2212L3.9166 10.4999L11.9999 15.3499L20.0833 10.4999ZM20.0833 15.1999L21.2854 15.9212C21.5221 16.0633 21.5989 16.3704 21.4569 16.6072C21.4146 16.6776 21.3557 16.7365 21.2854 16.7787L12.5144 22.0412C12.1977 22.2313 11.8021 22.2313 11.4854 22.0412L2.71451 16.7787C2.47772 16.6366 2.40093 16.3295 2.54301 16.0927C2.58523 16.0223 2.64413 15.9634 2.71451 15.9212L3.9166 15.1999L11.9999 20.0499L20.0833 15.1999ZM12.5144 1.30864L21.2854 6.5712C21.5221 6.71327 21.5989 7.0204 21.4569 7.25719C21.4146 7.32757 21.3557 7.38647 21.2854 7.42869L11.9999 12.9999L2.71451 7.42869C2.47772 7.28662 2.40093 6.97949 2.54301 6.7427C2.58523 6.67232 2.64413 6.61343 2.71451 6.5712L11.4854 1.30864C11.8021 1.11864 12.1977 1.11864 12.5144 1.30864Z"/></symbol>+ <symbol id="ri-stack-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20.0833 15.1999L21.2854 15.9212C21.5221 16.0633 21.5989 16.3704 21.4569 16.6072C21.4146 16.6776 21.3557 16.7365 21.2854 16.7787L12.5144 22.0412C12.1977 22.2313 11.8021 22.2313 11.4854 22.0412L2.71451 16.7787C2.47772 16.6366 2.40093 16.3295 2.54301 16.0927C2.58523 16.0223 2.64413 15.9634 2.71451 15.9212L3.9166 15.1999L11.9999 20.0499L20.0833 15.1999ZM20.0833 10.4999L21.2854 11.2212C21.5221 11.3633 21.5989 11.6704 21.4569 11.9072C21.4146 11.9776 21.3557 12.0365 21.2854 12.0787L11.9999 17.6499L2.71451 12.0787C2.47772 11.9366 2.40093 11.6295 2.54301 11.3927C2.58523 11.3223 2.64413 11.2634 2.71451 11.2212L3.9166 10.4999L11.9999 15.3499L20.0833 10.4999ZM12.5144 1.30864L21.2854 6.5712C21.5221 6.71327 21.5989 7.0204 21.4569 7.25719C21.4146 7.32757 21.3557 7.38647 21.2854 7.42869L11.9999 12.9999L2.71451 7.42869C2.47772 7.28662 2.40093 6.97949 2.54301 6.7427C2.58523 6.67232 2.64413 6.61343 2.71451 6.5712L11.4854 1.30864C11.8021 1.11864 12.1977 1.11864 12.5144 1.30864ZM11.9999 3.33233L5.88723 6.99995L11.9999 10.6676L18.1126 6.99995L11.9999 3.33233Z"/></symbol>+ <symbol id="ri-subtract-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M19 11H5V13H19V11Z"/></symbol>+ <symbol id="ri-subtract-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5 11V13H19V11H5Z"/></symbol>+ <symbol id="ri-sun-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18ZM11 1H13V4H11V1ZM11 20H13V23H11V20ZM3.51472 4.92893L4.92893 3.51472L7.05025 5.63604L5.63604 7.05025L3.51472 4.92893ZM16.9497 18.364L18.364 16.9497L20.4853 19.0711L19.0711 20.4853L16.9497 18.364ZM19.0711 3.51472L20.4853 4.92893L18.364 7.05025L16.9497 5.63604L19.0711 3.51472ZM5.63604 16.9497L7.05025 18.364L4.92893 20.4853L3.51472 19.0711L5.63604 16.9497ZM23 11V13H20V11H23ZM4 11V13H1V11H4Z"/></symbol>+ <symbol id="ri-sun-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16ZM11 1H13V4H11V1ZM11 20H13V23H11V20ZM3.51472 4.92893L4.92893 3.51472L7.05025 5.63604L5.63604 7.05025L3.51472 4.92893ZM16.9497 18.364L18.364 16.9497L20.4853 19.0711L19.0711 20.4853L16.9497 18.364ZM19.0711 3.51472L20.4853 4.92893L18.364 7.05025L16.9497 5.63604L19.0711 3.51472ZM5.63604 16.9497L7.05025 18.364L4.92893 20.4853L3.51472 19.0711L5.63604 16.9497ZM23 11V13H20V11H23ZM4 11V13H1V11H4Z"/></symbol>+ <symbol id="ri-terminal-box-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM12 15V17H18V15H12ZM8.41421 12L5.58579 14.8284L7 16.2426L11.2426 12L7 7.75736L5.58579 9.17157L8.41421 12Z"/></symbol>+ <symbol id="ri-terminal-box-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM12 15H18V17H12V15ZM8.66685 12L5.83842 9.17157L7.25264 7.75736L11.4953 12L7.25264 16.2426L5.83842 14.8284L8.66685 12Z"/></symbol>+ <symbol id="ri-text" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 6V21H11V6H5V4H19V6H13Z"/></symbol>+ <symbol id="ri-time-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM13 12V7H11V14H17V12H13Z"/></symbol>+ <symbol id="ri-time-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM13 12H17V14H11V7H13V12Z"/></symbol>+ <symbol id="ri-timeline-view" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3C2.44772 3 2 3.44772 2 4V20C2 20.5523 2.44772 21 3 21H21C21.5523 21 22 20.5523 22 20V4C22 3.44772 21.5523 3 21 3H3ZM4 19V5H20V19H4ZM14 7H6V9H14V7ZM18 15V17H10V15H18ZM16 11H8V13H16V11Z"/></symbol>+ <symbol id="ri-upload-2-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM14 9V15H10V9H5L12 2L19 9H14Z"/></symbol>+ <symbol id="ri-upload-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM13 9V16H11V9H6L12 3L18 9H13Z"/></symbol>+ <symbol id="ri-voiceprint-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5 7H7V17H5V7ZM1 10H3V14H1V10ZM9 2H11V20H9V2ZM13 4H15V22H13V4ZM17 7H19V17H17V7ZM21 10H23V14H21V10Z"/></symbol>+ <symbol id="ri-voiceprint-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5 7H7V17H5V7ZM1 10H3V14H1V10ZM9 2H11V20H9V2ZM13 4H15V22H13V4ZM17 7H19V17H17V7ZM21 10H23V14H21V10Z"/></symbol>+ <symbol id="ri-volume-down-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z"/></symbol>+ <symbol id="ri-volume-down-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 7.22056L9.60282 10.0001H6V14.0001H9.60282L13 16.7796V7.22056ZM8.88889 16.0001H5C4.44772 16.0001 4 15.5524 4 15.0001V9.00007C4 8.44778 4.44772 8.00007 5 8.00007H8.88889L14.1834 3.66821C14.3971 3.49335 14.7121 3.52485 14.887 3.73857C14.9601 3.8279 15 3.93977 15 4.05519V19.9449C15 20.2211 14.7761 20.4449 14.5 20.4449C14.3846 20.4449 14.2727 20.405 14.1834 20.3319L8.88889 16.0001ZM18.8631 16.5911L17.4411 15.1691C18.3892 14.4376 19 13.2902 19 12.0001C19 10.5697 18.2493 9.31476 17.1203 8.60766L18.5589 7.16906C20.0396 8.26166 21 10.0187 21 12.0001C21 13.8422 20.1698 15.4905 18.8631 16.5911Z"/></symbol>+ <symbol id="ri-volume-mute-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z"/></symbol>+ <symbol id="ri-volume-mute-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z"/></symbol>+ <symbol id="ri-volume-up-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z"/></symbol>+ <symbol id="ri-volume-up-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.60282 10.0001L10 7.22056V16.7796L6.60282 14.0001H3V10.0001H6.60282ZM2 16.0001H5.88889L11.1834 20.3319C11.2727 20.405 11.3846 20.4449 11.5 20.4449C11.7761 20.4449 12 20.2211 12 19.9449V4.05519C12 3.93977 11.9601 3.8279 11.887 3.73857C11.7121 3.52485 11.3971 3.49335 11.1834 3.66821L5.88889 8.00007H2C1.44772 8.00007 1 8.44778 1 9.00007V15.0001C1 15.5524 1.44772 16.0001 2 16.0001ZM23 12C23 15.292 21.5539 18.2463 19.2622 20.2622L17.8445 18.8444C19.7758 17.1937 21 14.7398 21 12C21 9.26016 19.7758 6.80629 17.8445 5.15557L19.2622 3.73779C21.5539 5.75368 23 8.70795 23 12ZM18 12C18 10.0883 17.106 8.38548 15.7133 7.28673L14.2842 8.71584C15.3213 9.43855 16 10.64 16 12C16 13.36 15.3213 14.5614 14.2842 15.2841L15.7133 16.7132C17.106 15.6145 18 13.9116 18 12Z"/></symbol>+ <symbol id="ri-zoom-in-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM10 10H7V12H10V15H12V12H15V10H12V7H10V10Z"/></symbol>+ <symbol id="ri-zoom-in-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748ZM10 10V7H12V10H15V12H12V15H10V12H7V10H10Z"/></symbol>+ <symbol id="ri-zoom-out-fill" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM7 10V12H15V10H7Z"/></symbol>+ <symbol id="ri-zoom-out-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748ZM7 10H15V12H7V10Z"/></symbol>+ <symbol id="icon-film" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2 3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z"/></symbol>+ <symbol id="icon-upload" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM13 9V16H11V9H6L12 3L18 9H13Z"/></symbol>+ <symbol id="icon-download" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 10H18L12 16L6 10H11V3H13V10ZM4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19Z"/></symbol>+ <symbol id="icon-folder" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z"/></symbol>+ <symbol id="icon-save" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 19V13H17V19H19V7.82843L16.1716 5H5V19H7ZM4 3H17L21 7V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM9 15V19H15V15H9Z"/></symbol>+ <symbol id="icon-plus" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z"/></symbol>+ <symbol id="icon-arrow-left" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7.82843 10.9999H20V12.9999H7.82843L13.1924 18.3638L11.7782 19.778L4 11.9999L11.7782 4.22168L13.1924 5.63589L7.82843 10.9999Z"/></symbol>+ <symbol id="icon-arrow-right" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"/></symbol>+ <symbol id="icon-arrow-up-right" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M16.0037 9.41421L7.39712 18.0208L5.98291 16.6066L14.5895 8H7.00373V6H18.0037V17H16.0037V9.41421Z"/></symbol>+ <symbol id="icon-undo" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.82843 6.99955L8.36396 9.53509L6.94975 10.9493L2 5.99955L6.94975 1.0498L8.36396 2.46402L5.82843 4.99955H13C17.4183 4.99955 21 8.58127 21 12.9996C21 17.4178 17.4183 20.9996 13 20.9996H4V18.9996H13C16.3137 18.9996 19 16.3133 19 12.9996C19 9.68584 16.3137 6.99955 13 6.99955H5.82843Z"/></symbol>+ <symbol id="icon-trash" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z"/></symbol>+ <symbol id="icon-play" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z"/></symbol>+ <symbol id="icon-pause" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6 5H8V19H6V5ZM16 5H18V19H16V5Z"/></symbol>+ <symbol id="icon-image" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z"/></symbol>+ <symbol id="icon-sparkles" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z"/></symbol>+ <symbol id="icon-scissors" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.44618 8.02867L12 10.5825L18.7279 3.85457C19.509 3.07352 20.7753 3.07352 21.5563 3.85457L9.44618 15.9647C9.79807 16.5603 10 17.2549 10 17.9967C10 20.2058 8.20914 21.9967 6 21.9967C3.79086 21.9967 2 20.2058 2 17.9967C2 15.7876 3.79086 13.9967 6 13.9967C6.74181 13.9967 7.43645 14.1986 8.03197 14.5505L10.5858 11.9967L8.03197 9.44289C7.43645 9.79478 6.74181 9.9967 6 9.9967C3.79086 9.9967 2 8.20584 2 5.9967C2 3.78756 3.79086 1.9967 6 1.9967C8.20914 1.9967 10 3.78756 10 5.9967C10 6.73851 9.79807 7.43316 9.44618 8.02867ZM14.8255 13.408L21.5563 20.1388C20.7753 20.9199 19.509 20.9199 18.7279 20.1388L13.4113 14.8222L14.8255 13.408ZM7.41421 16.5825C7.05228 16.2206 6.55228 15.9967 6 15.9967C4.89543 15.9967 4 16.8921 4 17.9967C4 19.1013 4.89543 19.9967 6 19.9967C7.10457 19.9967 8 19.1013 8 17.9967C8 17.4444 7.77614 16.9444 7.41421 16.5825ZM7.41421 7.41092C7.77614 7.04899 8 6.54899 8 5.9967C8 4.89213 7.10457 3.9967 6 3.9967C4.89543 3.9967 4 4.89213 4 5.9967C4 7.10127 4.89543 7.9967 6 7.9967C6.55228 7.9967 7.05228 7.77285 7.41421 7.41092Z"/></symbol>+ <symbol id="icon-sliders" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.17071 18C6.58254 16.8348 7.69378 16 9 16C10.3062 16 11.4175 16.8348 11.8293 18H22V20H11.8293C11.4175 21.1652 10.3062 22 9 22C7.69378 22 6.58254 21.1652 6.17071 20H2V18H6.17071ZM12.1707 11C12.5825 9.83481 13.6938 9 15 9C16.3062 9 17.4175 9.83481 17.8293 11H22V13H17.8293C17.4175 14.1652 16.3062 15 15 15C13.6938 15 12.5825 14.1652 12.1707 13H2V11H12.1707ZM6.17071 4C6.58254 2.83481 7.69378 2 9 2C10.3062 2 11.4175 2.83481 11.8293 4H22V6H11.8293C11.4175 7.16519 10.3062 8 9 8C7.69378 8 6.58254 7.16519 6.17071 6H2V4H6.17071ZM9 6C9.55228 6 10 5.55228 10 5C10 4.44772 9.55228 4 9 4C8.44772 4 8 4.44772 8 5C8 5.55228 8.44772 6 9 6ZM15 13C15.5523 13 16 12.5523 16 12C16 11.4477 15.5523 11 15 11C14.4477 11 14 11.4477 14 12C14 12.5523 14.4477 13 15 13ZM9 20C9.55228 20 10 19.5523 10 19C10 18.4477 9.55228 18 9 18C8.44772 18 8 18.4477 8 19C8 19.5523 8.44772 20 9 20Z"/></symbol>+ <symbol id="icon-shield" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 1L20.2169 2.82598C20.6745 2.92766 21 3.33347 21 3.80217V13.7889C21 15.795 19.9974 17.6684 18.3282 18.7812L12 23L5.6718 18.7812C4.00261 17.6684 3 15.795 3 13.7889V3.80217C3 3.33347 3.32553 2.92766 3.78307 2.82598L12 1ZM12 3.04879L5 4.60434V13.7889C5 15.1263 5.6684 16.3752 6.7812 17.1171L12 20.5963L17.2188 17.1171C18.3316 16.3752 19 15.1263 19 13.7889V4.60434L12 3.04879ZM16.4524 8.22183L17.8666 9.63604L11.5026 16L7.25999 11.7574L8.67421 10.3431L11.5019 13.1709L16.4524 8.22183Z"/></symbol>+ <symbol id="icon-sun" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12C18 15.3137 15.3137 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16ZM11 1H13V4H11V1ZM11 20H13V23H11V20ZM3.51472 4.92893L4.92893 3.51472L7.05025 5.63604L5.63604 7.05025L3.51472 4.92893ZM16.9497 18.364L18.364 16.9497L20.4853 19.0711L19.0711 20.4853L16.9497 18.364ZM19.0711 3.51472L20.4853 4.92893L18.364 7.05025L16.9497 5.63604L19.0711 3.51472ZM5.63604 16.9497L7.05025 18.364L4.92893 20.4853L3.51472 19.0711L5.63604 16.9497ZM23 11V13H20V11H23ZM4 11V13H1V11H4Z"/></symbol>+ <symbol id="icon-moon" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 7C10 10.866 13.134 14 17 14C18.9584 14 20.729 13.1957 21.9995 11.8995C22 11.933 22 11.9665 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C12.0335 2 12.067 2 12.1005 2.00049C10.8043 3.27098 10 5.04157 10 7ZM4 12C4 16.4183 7.58172 20 12 20C15.0583 20 17.7158 18.2839 19.062 15.7621C18.3945 15.9187 17.7035 16 17 16C12.0294 16 8 11.9706 8 7C8 6.29648 8.08133 5.60547 8.2379 4.938C5.71611 6.28423 4 8.9417 4 12Z"/></symbol>+ <symbol id="icon-monitor" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z"/></symbol>+ <symbol id="icon-palette" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z"/></symbol>+ <symbol id="icon-volume-off" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 7.22056L6.60282 10.0001H3V14.0001H6.60282L10 16.7796V7.22056ZM5.88889 16.0001H2C1.44772 16.0001 1 15.5524 1 15.0001V9.00007C1 8.44778 1.44772 8.00007 2 8.00007H5.88889L11.1834 3.66821C11.3971 3.49335 11.7121 3.52485 11.887 3.73857C11.9601 3.8279 12 3.93977 12 4.05519V19.9449C12 20.2211 11.7761 20.4449 11.5 20.4449C11.3846 20.4449 11.2727 20.405 11.1834 20.3319L5.88889 16.0001ZM20.4142 12.0001L23.9497 15.5356L22.5355 16.9498L19 13.4143L15.4645 16.9498L14.0503 15.5356L17.5858 12.0001L14.0503 8.46454L15.4645 7.05032L19 10.5859L22.5355 7.05032L23.9497 8.46454L20.4142 12.0001Z"/></symbol>+ <symbol id="icon-info" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"/></symbol>+ <symbol id="icon-plug" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 18V20H19V22H13C11.8954 22 11 21.1046 11 20V18H8C5.79086 18 4 16.2091 4 14V7C4 6.44772 4.44772 6 5 6H8V2H10V6H14V2H16V6H19C19.5523 6 20 6.44772 20 7V14C20 16.2091 18.2091 18 16 18H13ZM8 16H16C17.1046 16 18 15.1046 18 14V11H6V14C6 15.1046 6.89543 16 8 16ZM18 8H6V9H18V8ZM12 14.5C11.4477 14.5 11 14.0523 11 13.5C11 12.9477 11.4477 12.5 12 12.5C12.5523 12.5 13 12.9477 13 13.5C13 14.0523 12.5523 14.5 12 14.5Z"/></symbol>+ <symbol id="icon-code" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M24 12L18.3431 17.6569L16.9289 16.2426L21.1716 12L16.9289 7.75736L18.3431 6.34315L24 12ZM2.82843 12L7.07107 16.2426L5.65685 17.6569L0 12L5.65685 6.34315L7.07107 7.75736L2.82843 12ZM9.78845 21H7.66009L14.2116 3H16.3399L9.78845 21Z"/></symbol>+ <symbol id="icon-bot" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13 4.05493C17.5 4.55237 21 8.36745 21 13V22H3V13C3 8.36745 6.50005 4.55237 11 4.05493V1H13V4.05493ZM19 20V13C19 9.13401 15.866 6 12 6C8.13401 6 5 9.13401 5 13V20H19ZM12 18C9.23858 18 7 15.7614 7 13C7 10.2386 9.23858 8 12 8C14.7614 8 17 10.2386 17 13C17 15.7614 14.7614 18 12 18ZM12 16C13.6569 16 15 14.6569 15 13C15 11.3431 13.6569 10 12 10C10.3431 10 9 11.3431 9 13C9 14.6569 10.3431 16 12 16ZM12 14C11.4477 14 11 13.5523 11 13C11 12.4477 11.4477 12 12 12C12.5523 12 13 12.4477 13 13C13 13.5523 12.5523 14 12 14Z"/></symbol>+ <symbol id="icon-copy" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z"/></symbol>+ <symbol id="icon-close" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"/></symbol>+ <symbol id="icon-chevron-down" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"/></symbol>+ <symbol id="icon-check" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"/></symbol>+ <symbol id="icon-terminal" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM12 15H18V17H12V15ZM8.66685 12L5.83842 9.17157L7.25264 7.75736L11.4953 12L7.25264 16.2426L5.83842 14.8284L8.66685 12Z"/></symbol>+ <symbol id="icon-globe" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z"/></symbol>+ <symbol id="icon-refresh" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z"/></symbol>+ <symbol id="icon-message" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M10 3H14C18.4183 3 22 6.58172 22 11C22 15.4183 18.4183 19 14 19V22.5C9 20.5 2 17.5 2 11C2 6.58172 5.58172 3 10 3ZM12 17H14C17.3137 17 20 14.3137 20 11C20 7.68629 17.3137 5 14 5H10C6.68629 5 4 7.68629 4 11C4 14.61 6.46208 16.9656 12 19.4798V17Z"/></symbol>+ <symbol id="icon-layers" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20.0833 15.1999L21.2854 15.9212C21.5221 16.0633 21.5989 16.3704 21.4569 16.6072C21.4146 16.6776 21.3557 16.7365 21.2854 16.7787L12.5144 22.0412C12.1977 22.2313 11.8021 22.2313 11.4854 22.0412L2.71451 16.7787C2.47772 16.6366 2.40093 16.3295 2.54301 16.0927C2.58523 16.0223 2.64413 15.9634 2.71451 15.9212L3.9166 15.1999L11.9999 20.0499L20.0833 15.1999ZM20.0833 10.4999L21.2854 11.2212C21.5221 11.3633 21.5989 11.6704 21.4569 11.9072C21.4146 11.9776 21.3557 12.0365 21.2854 12.0787L11.9999 17.6499L2.71451 12.0787C2.47772 11.9366 2.40093 11.6295 2.54301 11.3927C2.58523 11.3223 2.64413 11.2634 2.71451 11.2212L3.9166 10.4999L11.9999 15.3499L20.0833 10.4999ZM12.5144 1.30864L21.2854 6.5712C21.5221 6.71327 21.5989 7.0204 21.4569 7.25719C21.4146 7.32757 21.3557 7.38647 21.2854 7.42869L11.9999 12.9999L2.71451 7.42869C2.47772 7.28662 2.40093 6.97949 2.54301 6.7427C2.58523 6.67232 2.64413 6.61343 2.71451 6.5712L11.4854 1.30864C11.8021 1.11864 12.1977 1.11864 12.5144 1.30864ZM11.9999 3.33233L5.88723 6.99995L11.9999 10.6676L18.1126 6.99995L11.9999 3.33233Z"/></symbol>+ <symbol id="icon-subtitles" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM20 5H4V19H20V5ZM9 8C10.1045 8 11.1049 8.44841 11.829 9.173L10.4153 10.5866C10.0534 10.2241 9.55299 10 9 10C7.895 10 7 10.895 7 12C7 13.105 7.895 14 9 14C9.5525 14 10.0525 13.7762 10.4144 13.4144L11.828 14.828C11.104 15.552 10.104 16 9 16C6.792 16 5 14.208 5 12C5 9.792 6.792 8 9 8ZM16 8C17.1045 8 18.1049 8.44841 18.829 9.173L17.4153 10.5866C17.0534 10.2241 16.553 10 16 10C14.895 10 14 10.895 14 12C14 13.105 14.895 14 16 14C16.5525 14 17.0525 13.7762 17.4144 13.4144L18.828 14.828C18.104 15.552 17.104 16 16 16C13.792 16 12 14.208 12 12C12 9.792 13.792 8 16 8Z"/></symbol>+ <symbol id="icon-eye" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z"/></symbol>+ <symbol id="icon-grid" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7 11.5C4.51472 11.5 2.5 9.48528 2.5 7C2.5 4.51472 4.51472 2.5 7 2.5C9.48528 2.5 11.5 4.51472 11.5 7C11.5 9.48528 9.48528 11.5 7 11.5ZM7 21.5C4.51472 21.5 2.5 19.4853 2.5 17C2.5 14.5147 4.51472 12.5 7 12.5C9.48528 12.5 11.5 14.5147 11.5 17C11.5 19.4853 9.48528 21.5 7 21.5ZM17 11.5C14.5147 11.5 12.5 9.48528 12.5 7C12.5 4.51472 14.5147 2.5 17 2.5C19.4853 2.5 21.5 4.51472 21.5 7C21.5 9.48528 19.4853 11.5 17 11.5ZM17 21.5C14.5147 21.5 12.5 19.4853 12.5 17C12.5 14.5147 14.5147 12.5 17 12.5C19.4853 12.5 21.5 14.5147 21.5 17C21.5 19.4853 19.4853 21.5 17 21.5ZM7 9.5C8.38071 9.5 9.5 8.38071 9.5 7C9.5 5.61929 8.38071 4.5 7 4.5C5.61929 4.5 4.5 5.61929 4.5 7C4.5 8.38071 5.61929 9.5 7 9.5ZM7 19.5C8.38071 19.5 9.5 18.3807 9.5 17C9.5 15.6193 8.38071 14.5 7 14.5C5.61929 14.5 4.5 15.6193 4.5 17C4.5 18.3807 5.61929 19.5 7 19.5ZM17 9.5C18.3807 9.5 19.5 8.38071 19.5 7C19.5 5.61929 18.3807 4.5 17 4.5C15.6193 4.5 14.5 5.61929 14.5 7C14.5 8.38071 15.6193 9.5 17 9.5ZM17 19.5C18.3807 19.5 19.5 18.3807 19.5 17C19.5 15.6193 18.3807 14.5 17 14.5C15.6193 14.5 14.5 15.6193 14.5 17C14.5 18.3807 15.6193 19.5 17 19.5Z"/></symbol>+ <symbol id="icon-redo" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.1716 6.99955H11C7.68629 6.99955 5 9.68584 5 12.9996C5 16.3133 7.68629 18.9996 11 18.9996H20V20.9996H11C6.58172 20.9996 3 17.4178 3 12.9996C3 8.58127 6.58172 4.99955 11 4.99955H18.1716L15.636 2.46402L17.0503 1.0498L22 5.99955L17.0503 10.9493L15.636 9.53509L18.1716 6.99955Z"/></symbol>+ <symbol id="icon-camera" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M9.82843 5L7.82843 7H4V19H20V7H16.1716L14.1716 5H9.82843ZM9 3H15L17 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V6C2 5.44772 2.44772 5 3 5H7L9 3ZM12 18C8.96243 18 6.5 15.5376 6.5 12.5C6.5 9.46243 8.96243 7 12 7C15.0376 7 17.5 9.46243 17.5 12.5C17.5 15.5376 15.0376 18 12 18ZM12 16C13.933 16 15.5 14.433 15.5 12.5C15.5 10.567 13.933 9 12 9C10.067 9 8.5 10.567 8.5 12.5C8.5 14.433 10.067 16 12 16Z"/></symbol>+ <symbol id="icon-history" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z"/></symbol>+ <symbol id="icon-home" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V9.48907C3 9.18048 3.14247 8.88917 3.38606 8.69972L11.3861 2.47749C11.7472 2.19663 12.2528 2.19663 12.6139 2.47749L20.6139 8.69972C20.8575 8.88917 21 9.18048 21 9.48907V20ZM19 19V9.97815L12 4.53371L5 9.97815V19H19Z"/></symbol>+ <symbol id="icon-search" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"/></symbol>+ <symbol id="icon-menu" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"/></symbol>+ <symbol id="icon-edit" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M6.41421 15.89L16.5563 5.74785L15.1421 4.33363L5 14.4758V15.89H6.41421ZM7.24264 17.89H3V13.6473L14.435 2.21231C14.8256 1.82179 15.4587 1.82179 15.8492 2.21231L18.6777 5.04074C19.0682 5.43126 19.0682 6.06443 18.6777 6.45495L7.24264 17.89ZM3 19.89H21V21.89H3V19.89Z"/></symbol>+ <symbol id="icon-music" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 3V17C20 19.2091 18.2091 21 16 21C13.7909 21 12 19.2091 12 17C12 14.7909 13.7909 13 16 13C16.7286 13 17.4117 13.1948 18 13.5351V5H9V17C9 19.2091 7.20914 21 5 21C2.79086 21 1 19.2091 1 17C1 14.7909 2.79086 13 5 13C5.72857 13 6.41165 13.1948 7 13.5351V3H20ZM5 19C6.10457 19 7 18.1046 7 17C7 15.8954 6.10457 15 5 15C3.89543 15 3 15.8954 3 17C3 18.1046 3.89543 19 5 19ZM16 19C17.1046 19 18 18.1046 18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17C14 18.1046 14.8954 19 16 19Z"/></symbol>+ <symbol id="icon-sidebar" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z"/></symbol>+ <symbol id="icon-maximize" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M8 3V5H4V9H2V3H8ZM2 21V15H4V19H8V21H2ZM22 21H16V19H20V15H22V21ZM22 9H20V5H16V3H22V9Z"/></symbol>+ <symbol id="icon-minimize" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M18 7H22V9H16V3H18V7ZM8 9H2V7H6V3H8V9ZM18 17V21H16V15H22V17H18ZM8 15V21H6V17H2V15H8Z"/></symbol>+ <symbol id="icon-arrow-up" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z"/></symbol>+<symbol id="ri-shape-2-line" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M20 16H22V22H16V20H8V22H2V16H4V8H2V2H8V4H16V2H22V8H20V16ZM18 16V8H16V6H8V8H6V16H8V18H16V16H18ZM4 4V6H6V4H4ZM4 18V20H6V18H4ZM18 4V6H20V4H18ZM18 18V20H20V18H18Z"/></symbol></svg>diff --git a/web/design-system/opendesign-dark.svg b/web/design-system/opendesign-dark.svgnew file mode 100644index 00000000..802f6459--- /dev/null+++ b/web/design-system/opendesign-dark.svg@@ -0,0 +1,21 @@+<svg width="1705" height="291" viewBox="0 0 1705 291" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_1031_1503)">+<path d="M1034.01 30.0999C1053.37 30.0999 1070.08 33.7836 1084.13 41.151C1098.35 48.5183 1109.31 59.0553 1117.02 72.7619C1124.9 86.2973 1128.84 102.317 1128.84 120.821C1128.84 139.154 1124.9 155.002 1117.02 168.366C1109.31 181.73 1098.35 192.01 1084.13 199.206C1070.08 206.402 1053.37 210 1034.01 210H969.761V30.0999H1034.01ZM1034.01 184.557C1054.57 184.557 1070.33 178.989 1081.3 167.852C1092.44 156.544 1098 140.867 1098 120.821C1098 100.604 1092.44 84.6696 1081.3 73.0189C1070.33 61.3683 1054.57 55.543 1034.01 55.543H1000.34V184.557H1034.01Z" fill="#202020"/>+<path d="M1208.79 211.799C1195.94 211.799 1184.63 208.972 1174.86 203.318C1165.27 197.664 1157.73 189.783 1152.25 179.674C1146.94 169.565 1144.28 157.915 1144.28 144.722C1144.28 132.215 1146.94 121.078 1152.25 111.312C1157.56 101.546 1164.93 93.836 1174.35 88.182C1183.77 82.528 1194.48 79.701 1206.47 79.701C1218.64 79.701 1229.35 82.3566 1238.6 87.668C1247.85 92.9793 1255.05 100.432 1260.19 110.027C1265.5 119.45 1268.15 130.416 1268.15 142.923C1268.15 144.979 1268.07 147.206 1267.9 149.605C1267.73 151.832 1267.47 154.231 1267.13 156.801H1175.63C1176.49 162.798 1178.38 168.023 1181.29 172.478C1184.37 176.761 1188.23 180.102 1192.85 182.501C1197.48 184.9 1202.79 186.099 1208.79 186.099C1215.98 186.099 1222.41 184.643 1228.06 181.73C1233.89 178.817 1237.91 174.962 1240.14 170.165L1265.58 178.646C1260.44 188.926 1252.82 197.064 1242.71 203.061C1232.6 208.886 1221.29 211.799 1208.79 211.799ZM1236.54 133.157C1236.37 127.846 1234.92 123.048 1232.17 118.765C1229.43 114.482 1225.83 111.141 1221.38 108.742C1216.93 106.172 1211.96 104.887 1206.47 104.887C1201.68 104.887 1197.14 106.086 1192.85 108.485C1188.57 110.884 1184.89 114.225 1181.8 118.508C1178.89 122.62 1177 127.503 1176.15 133.157H1236.54Z" fill="#202020"/>+<path d="M1306.72 168.623C1307.92 173.42 1309.98 177.104 1312.89 179.674C1315.97 182.244 1319.32 184.043 1322.91 185.071C1326.51 185.928 1329.94 186.356 1333.19 186.356C1339.88 186.356 1345.1 185.071 1348.87 182.501C1352.81 179.76 1354.78 176.333 1354.78 172.221C1354.78 168.794 1353.5 166.139 1350.93 164.254C1348.36 162.369 1345.02 160.913 1340.9 159.885C1336.96 158.686 1332.85 157.486 1328.57 156.287C1323.94 155.088 1318.97 153.717 1313.66 152.175C1308.52 150.633 1303.64 148.491 1299.01 145.75C1294.39 143.009 1290.62 139.496 1287.7 135.213C1284.79 130.93 1283.34 125.618 1283.34 119.279C1283.34 111.226 1285.56 104.287 1290.02 98.462C1294.47 92.4653 1300.55 87.8393 1308.26 84.584C1315.97 81.3286 1324.63 79.701 1334.22 79.701C1345.7 79.701 1355.64 82.0996 1364.03 86.897C1372.43 91.6943 1378.51 98.719 1382.28 107.971L1356.84 116.195C1355.64 113.796 1353.84 111.74 1351.44 110.027C1349.21 108.314 1346.47 107.114 1343.22 106.429C1340.13 105.572 1336.96 105.144 1333.71 105.144C1328.23 105.144 1323.6 106.258 1319.83 108.485C1316.06 110.712 1314.18 113.882 1314.18 117.994C1314.18 120.05 1314.78 121.849 1315.97 123.391C1317.35 124.933 1319.14 126.218 1321.37 127.246C1323.6 128.103 1326.25 128.959 1329.34 129.816C1332.42 130.501 1335.68 131.358 1339.1 132.386C1344.59 133.928 1349.98 135.641 1355.3 137.526C1360.78 139.239 1365.75 141.467 1370.2 144.208C1374.83 146.949 1378.43 150.547 1381 155.002C1383.74 159.457 1385.28 165.111 1385.62 171.964C1385.62 179.331 1383.48 186.099 1379.2 192.267C1374.91 198.264 1368.75 203.061 1360.69 206.659C1352.81 210.086 1343.39 211.799 1332.42 211.799C1319.74 211.799 1308.86 209.058 1299.78 203.575C1290.7 198.092 1284.54 189.269 1281.28 177.104L1306.72 168.623Z" fill="#202020"/>+<path d="M1553.28 81.5H1579.49V190.725C1579.49 205.288 1575.9 217.796 1568.7 228.247C1561.5 238.87 1551.14 247.008 1537.6 252.662C1524.07 258.487 1507.79 261.4 1488.77 261.4L1484.4 236.471C1505.99 235.957 1522.36 231.845 1533.49 224.135C1544.8 216.425 1550.45 205.374 1550.45 190.982V190.725H1553.79C1549.85 196.55 1544.11 201.519 1536.58 205.631C1529.21 209.743 1520.38 211.799 1510.1 211.799C1498.8 211.799 1488.77 209.058 1480.04 203.575C1471.3 198.092 1464.44 190.382 1459.48 180.445C1454.68 170.508 1452.28 158.943 1452.28 145.75C1452.28 132.557 1454.68 120.992 1459.48 111.055C1464.44 101.118 1471.3 93.4076 1480.04 87.925C1488.77 82.4423 1498.8 79.701 1510.1 79.701C1516.44 79.701 1522.18 80.5576 1527.32 82.271C1532.64 83.813 1537.26 85.9546 1541.2 88.696C1545.31 91.266 1548.65 94.1786 1551.22 97.434L1553.28 81.5ZM1483.38 145.75C1483.38 157.572 1486.46 167.167 1492.63 174.534C1498.8 181.901 1507.02 185.585 1517.3 185.585C1523.3 185.585 1528.78 184.043 1533.75 180.959C1538.72 177.704 1542.74 173.078 1545.83 167.081C1548.91 161.084 1550.45 153.974 1550.45 145.75C1550.45 137.183 1548.91 129.987 1545.83 124.162C1542.74 118.165 1538.63 113.625 1533.49 110.541C1528.52 107.457 1523.13 105.915 1517.3 105.915C1507.02 105.915 1498.8 109.599 1492.63 116.966C1486.46 124.162 1483.38 133.757 1483.38 145.75Z" fill="#202020"/>+<path d="M1404.33 81.5H1433.37V210H1404.33V81.5ZM1418.98 61.968C1413.67 61.968 1409.21 60.169 1405.62 56.571C1402.02 52.973 1400.22 48.6896 1400.22 43.721C1400.22 38.4096 1402.02 33.955 1405.62 30.357C1409.21 26.759 1413.67 24.96 1418.98 24.96C1424.12 24.96 1428.49 26.759 1432.09 30.357C1435.68 33.955 1437.48 38.4096 1437.48 43.721C1437.48 48.6896 1435.68 52.973 1432.09 56.571C1428.49 60.169 1424.12 61.968 1418.98 61.968Z" fill="#202020"/>+<path d="M1593.22 81.5H1619.43L1621.49 94.093C1625.77 89.6383 1630.83 86.126 1636.65 83.556C1642.65 80.986 1649.07 79.701 1655.93 79.701C1666.04 79.701 1674.69 81.8426 1681.88 86.126C1689.25 90.238 1694.91 96.406 1698.85 104.63C1702.79 112.683 1704.76 122.791 1704.76 134.956V210H1675.72V138.811C1675.72 128.017 1673.49 119.879 1669.03 114.396C1664.75 108.913 1658.24 106.172 1649.5 106.172C1640.59 106.172 1633.82 108.999 1629.2 114.653C1624.57 120.136 1622.26 128.274 1622.26 139.068V210H1593.22V81.5Z" fill="#202020"/>+<path d="M441.001 211.498C428.322 211.498 416.414 209.271 405.278 204.816C394.141 200.361 384.375 194.108 375.98 186.055C367.756 177.831 361.245 168.151 356.448 157.014C351.822 145.706 349.509 133.284 349.509 119.749C349.509 106.385 351.822 94.1347 356.448 82.998C361.245 71.69 367.756 61.924 375.98 53.7C384.375 45.476 394.141 39.1367 405.278 34.682C416.414 30.2273 428.322 28 441.001 28C453.679 28 465.501 30.2273 476.467 34.682C487.603 39.1367 497.284 45.476 505.508 53.7C513.903 61.924 520.414 71.69 525.04 82.998C529.837 94.1347 532.236 106.385 532.236 119.749C532.236 133.284 529.837 145.706 525.04 157.014C520.414 168.151 513.903 177.831 505.508 186.055C497.284 194.108 487.603 200.361 476.467 204.816C465.501 209.271 453.679 211.498 441.001 211.498ZM441.001 185.541C452.651 185.541 463.017 182.885 472.098 177.574C481.178 172.091 488.289 164.467 493.429 154.701C498.569 144.764 501.139 133.113 501.139 119.749C501.139 106.214 498.569 94.563 493.429 84.797C488.289 75.031 481.178 67.4923 472.098 62.181C463.017 56.6983 452.651 53.957 441.001 53.957C429.35 53.957 418.984 56.6983 409.904 62.181C400.823 67.4923 393.627 75.031 388.316 84.797C383.176 94.563 380.606 106.214 380.606 119.749C380.606 133.113 383.176 144.764 388.316 154.701C393.627 164.467 400.823 172.091 409.904 177.574C418.984 182.885 429.35 185.541 441.001 185.541Z" fill="#202020"/>+<path d="M754.787 211.498C741.937 211.498 730.629 208.671 720.863 203.017C711.268 197.363 703.729 189.482 698.247 179.373C692.935 169.264 690.28 157.614 690.28 144.421C690.28 131.914 692.935 120.777 698.247 111.011C703.558 101.245 710.925 93.535 720.349 87.881C729.772 82.227 740.48 79.4 752.474 79.4C764.638 79.4 775.347 82.0557 784.599 87.367C793.851 92.6783 801.047 100.131 806.187 109.726C811.498 119.149 814.154 130.115 814.154 142.622C814.154 144.678 814.068 146.905 813.897 149.304C813.725 151.531 813.469 153.93 813.126 156.5H721.634C722.49 162.497 724.375 167.722 727.288 172.177C730.372 176.46 734.227 179.801 738.853 182.2C743.479 184.599 748.79 185.798 754.787 185.798C761.983 185.798 768.408 184.342 774.062 181.429C779.887 178.516 783.913 174.661 786.141 169.864L811.584 178.345C806.444 188.625 798.819 196.763 788.711 202.76C778.602 208.585 767.294 211.498 754.787 211.498ZM782.543 132.856C782.371 127.545 780.915 122.747 778.174 118.464C775.432 114.181 771.835 110.84 767.38 108.441C762.925 105.871 757.956 104.586 752.474 104.586C747.676 104.586 743.136 105.785 738.853 108.184C734.569 110.583 730.886 113.924 727.802 118.207C724.889 122.319 723.004 127.202 722.148 132.856H782.543Z" fill="#202020"/>+<path d="M828.219 81.199H854.433L856.489 93.792C860.772 89.3373 865.826 85.825 871.652 83.255C877.648 80.685 884.073 79.4 890.927 79.4C901.035 79.4 909.688 81.5417 916.884 85.825C924.251 89.937 929.905 96.105 933.846 104.329C937.786 112.382 939.757 122.49 939.757 134.655V209.699H910.716V138.51C910.716 127.716 908.488 119.578 904.034 114.095C899.75 108.612 893.24 105.871 884.502 105.871C875.592 105.871 868.825 108.698 864.199 114.352C859.573 119.835 857.26 127.973 857.26 138.767V209.699H828.219V81.199Z" fill="#202020"/>+<path d="M573.919 190.681L577.26 189.91V261.099H548.219V81.199H574.433L576.489 97.133C580.772 92.1643 586.34 87.9667 593.194 84.54C600.047 81.1133 608.357 79.4 618.123 79.4C629.259 79.4 639.111 82.1413 647.678 87.624C656.416 93.1067 663.183 100.817 667.981 110.754C672.949 120.52 675.434 132.085 675.434 145.449C675.434 158.642 672.949 170.207 667.981 180.144C663.183 190.081 656.501 197.791 647.935 203.274C639.368 208.757 629.431 211.498 618.123 211.498C607.843 211.498 598.933 209.528 591.395 205.587C583.856 201.475 578.031 196.506 573.919 190.681ZM644.337 145.449C644.337 133.627 641.167 124.032 634.828 116.665C628.66 109.298 620.693 105.614 610.927 105.614C604.759 105.614 599.105 107.156 593.965 110.24C588.996 113.324 584.97 117.779 581.886 123.604C578.802 129.429 577.26 136.711 577.26 145.449C577.26 154.016 578.802 161.297 581.886 167.294C584.97 173.119 588.996 177.574 593.965 180.658C599.105 183.742 604.759 185.284 610.927 185.284C620.693 185.284 628.66 181.6 634.828 174.233C641.167 166.866 644.337 157.271 644.337 145.449Z" fill="#202020"/>+<path d="M145.5 0C225.857 0 291 65.1426 291 145.5C291 225.857 225.857 291 145.5 291H19.3581C8.64385 291 0.000681982 282.358 0.000616442 271.644C0.000417939 239.193 1.50624e-09 174.523 0 145.5C0 65.1426 65.1426 5.2069e-06 145.5 0ZM145.501 29.1004C81.2147 29.1004 29.1004 81.2147 29.1004 145.501C29.1005 209.786 81.2147 261.9 145.501 261.9C209.786 261.9 261.9 209.786 261.9 145.501C261.9 81.2147 209.786 29.1004 145.501 29.1004Z" fill-rule="evenodd" clip-rule="evenodd" fill="#202020"/>+<path d="M137.934 215.04L94.3119 100.247C92.9002 96.5317 96.5286 92.8895 100.219 94.3172L215.067 138.749C219.793 140.578 218.491 147.633 213.427 147.633H146.769V213.4C146.769 218.499 139.744 219.804 137.934 215.04Z" fill="#202020"/>+</g>+<defs>+<clipPath id="clip0_1031_1503">+<rect width="1705" height="291" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/web/design-system/opendesign-light.svg b/web/design-system/opendesign-light.svgnew file mode 100644index 00000000..57370fdd--- /dev/null+++ b/web/design-system/opendesign-light.svg@@ -0,0 +1,21 @@+<svg width="1705" height="291" viewBox="0 0 1705 291" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_1031_1503)">+<path d="M1034.01 30.0999C1053.37 30.0999 1070.08 33.7836 1084.13 41.151C1098.35 48.5183 1109.31 59.0553 1117.02 72.7619C1124.9 86.2973 1128.84 102.317 1128.84 120.821C1128.84 139.154 1124.9 155.002 1117.02 168.366C1109.31 181.73 1098.35 192.01 1084.13 199.206C1070.08 206.402 1053.37 210 1034.01 210H969.761V30.0999H1034.01ZM1034.01 184.557C1054.57 184.557 1070.33 178.989 1081.3 167.852C1092.44 156.544 1098 140.867 1098 120.821C1098 100.604 1092.44 84.6696 1081.3 73.0189C1070.33 61.3683 1054.57 55.543 1034.01 55.543H1000.34V184.557H1034.01Z" fill="white"/>+<path d="M1208.79 211.799C1195.94 211.799 1184.63 208.972 1174.86 203.318C1165.27 197.664 1157.73 189.783 1152.25 179.674C1146.94 169.565 1144.28 157.915 1144.28 144.722C1144.28 132.215 1146.94 121.078 1152.25 111.312C1157.56 101.546 1164.93 93.836 1174.35 88.182C1183.77 82.528 1194.48 79.701 1206.47 79.701C1218.64 79.701 1229.35 82.3566 1238.6 87.668C1247.85 92.9793 1255.05 100.432 1260.19 110.027C1265.5 119.45 1268.15 130.416 1268.15 142.923C1268.15 144.979 1268.07 147.206 1267.9 149.605C1267.73 151.832 1267.47 154.231 1267.13 156.801H1175.63C1176.49 162.798 1178.38 168.023 1181.29 172.478C1184.37 176.761 1188.23 180.102 1192.85 182.501C1197.48 184.9 1202.79 186.099 1208.79 186.099C1215.98 186.099 1222.41 184.643 1228.06 181.73C1233.89 178.817 1237.91 174.962 1240.14 170.165L1265.58 178.646C1260.44 188.926 1252.82 197.064 1242.71 203.061C1232.6 208.886 1221.29 211.799 1208.79 211.799ZM1236.54 133.157C1236.37 127.846 1234.92 123.048 1232.17 118.765C1229.43 114.482 1225.83 111.141 1221.38 108.742C1216.93 106.172 1211.96 104.887 1206.47 104.887C1201.68 104.887 1197.14 106.086 1192.85 108.485C1188.57 110.884 1184.89 114.225 1181.8 118.508C1178.89 122.62 1177 127.503 1176.15 133.157H1236.54Z" fill="white"/>+<path d="M1306.72 168.623C1307.92 173.42 1309.98 177.104 1312.89 179.674C1315.97 182.244 1319.32 184.043 1322.91 185.071C1326.51 185.928 1329.94 186.356 1333.19 186.356C1339.88 186.356 1345.1 185.071 1348.87 182.501C1352.81 179.76 1354.78 176.333 1354.78 172.221C1354.78 168.794 1353.5 166.139 1350.93 164.254C1348.36 162.369 1345.02 160.913 1340.9 159.885C1336.96 158.686 1332.85 157.486 1328.57 156.287C1323.94 155.088 1318.97 153.717 1313.66 152.175C1308.52 150.633 1303.64 148.491 1299.01 145.75C1294.39 143.009 1290.62 139.496 1287.7 135.213C1284.79 130.93 1283.34 125.618 1283.34 119.279C1283.34 111.226 1285.56 104.287 1290.02 98.462C1294.47 92.4653 1300.55 87.8393 1308.26 84.584C1315.97 81.3286 1324.63 79.701 1334.22 79.701C1345.7 79.701 1355.64 82.0996 1364.03 86.897C1372.43 91.6943 1378.51 98.719 1382.28 107.971L1356.84 116.195C1355.64 113.796 1353.84 111.74 1351.44 110.027C1349.21 108.314 1346.47 107.114 1343.22 106.429C1340.13 105.572 1336.96 105.144 1333.71 105.144C1328.23 105.144 1323.6 106.258 1319.83 108.485C1316.06 110.712 1314.18 113.882 1314.18 117.994C1314.18 120.05 1314.78 121.849 1315.97 123.391C1317.35 124.933 1319.14 126.218 1321.37 127.246C1323.6 128.103 1326.25 128.959 1329.34 129.816C1332.42 130.501 1335.68 131.358 1339.1 132.386C1344.59 133.928 1349.98 135.641 1355.3 137.526C1360.78 139.239 1365.75 141.467 1370.2 144.208C1374.83 146.949 1378.43 150.547 1381 155.002C1383.74 159.457 1385.28 165.111 1385.62 171.964C1385.62 179.331 1383.48 186.099 1379.2 192.267C1374.91 198.264 1368.75 203.061 1360.69 206.659C1352.81 210.086 1343.39 211.799 1332.42 211.799C1319.74 211.799 1308.86 209.058 1299.78 203.575C1290.7 198.092 1284.54 189.269 1281.28 177.104L1306.72 168.623Z" fill="white"/>+<path d="M1553.28 81.5H1579.49V190.725C1579.49 205.288 1575.9 217.796 1568.7 228.247C1561.5 238.87 1551.14 247.008 1537.6 252.662C1524.07 258.487 1507.79 261.4 1488.77 261.4L1484.4 236.471C1505.99 235.957 1522.36 231.845 1533.49 224.135C1544.8 216.425 1550.45 205.374 1550.45 190.982V190.725H1553.79C1549.85 196.55 1544.11 201.519 1536.58 205.631C1529.21 209.743 1520.38 211.799 1510.1 211.799C1498.8 211.799 1488.77 209.058 1480.04 203.575C1471.3 198.092 1464.44 190.382 1459.48 180.445C1454.68 170.508 1452.28 158.943 1452.28 145.75C1452.28 132.557 1454.68 120.992 1459.48 111.055C1464.44 101.118 1471.3 93.4076 1480.04 87.925C1488.77 82.4423 1498.8 79.701 1510.1 79.701C1516.44 79.701 1522.18 80.5576 1527.32 82.271C1532.64 83.813 1537.26 85.9546 1541.2 88.696C1545.31 91.266 1548.65 94.1786 1551.22 97.434L1553.28 81.5ZM1483.38 145.75C1483.38 157.572 1486.46 167.167 1492.63 174.534C1498.8 181.901 1507.02 185.585 1517.3 185.585C1523.3 185.585 1528.78 184.043 1533.75 180.959C1538.72 177.704 1542.74 173.078 1545.83 167.081C1548.91 161.084 1550.45 153.974 1550.45 145.75C1550.45 137.183 1548.91 129.987 1545.83 124.162C1542.74 118.165 1538.63 113.625 1533.49 110.541C1528.52 107.457 1523.13 105.915 1517.3 105.915C1507.02 105.915 1498.8 109.599 1492.63 116.966C1486.46 124.162 1483.38 133.757 1483.38 145.75Z" fill="white"/>+<path d="M1404.33 81.5H1433.37V210H1404.33V81.5ZM1418.98 61.968C1413.67 61.968 1409.21 60.169 1405.62 56.571C1402.02 52.973 1400.22 48.6896 1400.22 43.721C1400.22 38.4096 1402.02 33.955 1405.62 30.357C1409.21 26.759 1413.67 24.96 1418.98 24.96C1424.12 24.96 1428.49 26.759 1432.09 30.357C1435.68 33.955 1437.48 38.4096 1437.48 43.721C1437.48 48.6896 1435.68 52.973 1432.09 56.571C1428.49 60.169 1424.12 61.968 1418.98 61.968Z" fill="white"/>+<path d="M1593.22 81.5H1619.43L1621.49 94.093C1625.77 89.6383 1630.83 86.126 1636.65 83.556C1642.65 80.986 1649.07 79.701 1655.93 79.701C1666.04 79.701 1674.69 81.8426 1681.88 86.126C1689.25 90.238 1694.91 96.406 1698.85 104.63C1702.79 112.683 1704.76 122.791 1704.76 134.956V210H1675.72V138.811C1675.72 128.017 1673.49 119.879 1669.03 114.396C1664.75 108.913 1658.24 106.172 1649.5 106.172C1640.59 106.172 1633.82 108.999 1629.2 114.653C1624.57 120.136 1622.26 128.274 1622.26 139.068V210H1593.22V81.5Z" fill="white"/>+<path d="M441.001 211.498C428.322 211.498 416.414 209.271 405.278 204.816C394.141 200.361 384.375 194.108 375.98 186.055C367.756 177.831 361.245 168.151 356.448 157.014C351.822 145.706 349.509 133.284 349.509 119.749C349.509 106.385 351.822 94.1347 356.448 82.998C361.245 71.69 367.756 61.924 375.98 53.7C384.375 45.476 394.141 39.1367 405.278 34.682C416.414 30.2273 428.322 28 441.001 28C453.679 28 465.501 30.2273 476.467 34.682C487.603 39.1367 497.284 45.476 505.508 53.7C513.903 61.924 520.414 71.69 525.04 82.998C529.837 94.1347 532.236 106.385 532.236 119.749C532.236 133.284 529.837 145.706 525.04 157.014C520.414 168.151 513.903 177.831 505.508 186.055C497.284 194.108 487.603 200.361 476.467 204.816C465.501 209.271 453.679 211.498 441.001 211.498ZM441.001 185.541C452.651 185.541 463.017 182.885 472.098 177.574C481.178 172.091 488.289 164.467 493.429 154.701C498.569 144.764 501.139 133.113 501.139 119.749C501.139 106.214 498.569 94.563 493.429 84.797C488.289 75.031 481.178 67.4923 472.098 62.181C463.017 56.6983 452.651 53.957 441.001 53.957C429.35 53.957 418.984 56.6983 409.904 62.181C400.823 67.4923 393.627 75.031 388.316 84.797C383.176 94.563 380.606 106.214 380.606 119.749C380.606 133.113 383.176 144.764 388.316 154.701C393.627 164.467 400.823 172.091 409.904 177.574C418.984 182.885 429.35 185.541 441.001 185.541Z" fill="white"/>+<path d="M754.787 211.498C741.937 211.498 730.629 208.671 720.863 203.017C711.268 197.363 703.729 189.482 698.247 179.373C692.935 169.264 690.28 157.614 690.28 144.421C690.28 131.914 692.935 120.777 698.247 111.011C703.558 101.245 710.925 93.535 720.349 87.881C729.772 82.227 740.48 79.4 752.474 79.4C764.638 79.4 775.347 82.0557 784.599 87.367C793.851 92.6783 801.047 100.131 806.187 109.726C811.498 119.149 814.154 130.115 814.154 142.622C814.154 144.678 814.068 146.905 813.897 149.304C813.725 151.531 813.469 153.93 813.126 156.5H721.634C722.49 162.497 724.375 167.722 727.288 172.177C730.372 176.46 734.227 179.801 738.853 182.2C743.479 184.599 748.79 185.798 754.787 185.798C761.983 185.798 768.408 184.342 774.062 181.429C779.887 178.516 783.913 174.661 786.141 169.864L811.584 178.345C806.444 188.625 798.819 196.763 788.711 202.76C778.602 208.585 767.294 211.498 754.787 211.498ZM782.543 132.856C782.371 127.545 780.915 122.747 778.174 118.464C775.432 114.181 771.835 110.84 767.38 108.441C762.925 105.871 757.956 104.586 752.474 104.586C747.676 104.586 743.136 105.785 738.853 108.184C734.569 110.583 730.886 113.924 727.802 118.207C724.889 122.319 723.004 127.202 722.148 132.856H782.543Z" fill="white"/>+<path d="M828.219 81.199H854.433L856.489 93.792C860.772 89.3373 865.826 85.825 871.652 83.255C877.648 80.685 884.073 79.4 890.927 79.4C901.035 79.4 909.688 81.5417 916.884 85.825C924.251 89.937 929.905 96.105 933.846 104.329C937.786 112.382 939.757 122.49 939.757 134.655V209.699H910.716V138.51C910.716 127.716 908.488 119.578 904.034 114.095C899.75 108.612 893.24 105.871 884.502 105.871C875.592 105.871 868.825 108.698 864.199 114.352C859.573 119.835 857.26 127.973 857.26 138.767V209.699H828.219V81.199Z" fill="white"/>+<path d="M573.919 190.681L577.26 189.91V261.099H548.219V81.199H574.433L576.489 97.133C580.772 92.1643 586.34 87.9667 593.194 84.54C600.047 81.1133 608.357 79.4 618.123 79.4C629.259 79.4 639.111 82.1413 647.678 87.624C656.416 93.1067 663.183 100.817 667.981 110.754C672.949 120.52 675.434 132.085 675.434 145.449C675.434 158.642 672.949 170.207 667.981 180.144C663.183 190.081 656.501 197.791 647.935 203.274C639.368 208.757 629.431 211.498 618.123 211.498C607.843 211.498 598.933 209.528 591.395 205.587C583.856 201.475 578.031 196.506 573.919 190.681ZM644.337 145.449C644.337 133.627 641.167 124.032 634.828 116.665C628.66 109.298 620.693 105.614 610.927 105.614C604.759 105.614 599.105 107.156 593.965 110.24C588.996 113.324 584.97 117.779 581.886 123.604C578.802 129.429 577.26 136.711 577.26 145.449C577.26 154.016 578.802 161.297 581.886 167.294C584.97 173.119 588.996 177.574 593.965 180.658C599.105 183.742 604.759 185.284 610.927 185.284C620.693 185.284 628.66 181.6 634.828 174.233C641.167 166.866 644.337 157.271 644.337 145.449Z" fill="white"/>+<path d="M145.5 0C225.857 0 291 65.1426 291 145.5C291 225.857 225.857 291 145.5 291H19.3581C8.64385 291 0.000681982 282.358 0.000616442 271.644C0.000417939 239.193 1.50624e-09 174.523 0 145.5C0 65.1426 65.1426 5.2069e-06 145.5 0ZM145.501 29.1004C81.2147 29.1004 29.1004 81.2147 29.1004 145.501C29.1005 209.786 81.2147 261.9 145.501 261.9C209.786 261.9 261.9 209.786 261.9 145.501C261.9 81.2147 209.786 29.1004 145.501 29.1004Z" fill-rule="evenodd" clip-rule="evenodd" fill="white"/>+<path d="M137.934 215.04L94.3119 100.247C92.9002 96.5317 96.5286 92.8895 100.219 94.3172L215.067 138.749C219.793 140.578 218.491 147.633 213.427 147.633H146.769V213.4C146.769 218.499 139.744 219.804 137.934 215.04Z" fill="white"/>+</g>+<defs>+<clipPath id="clip0_1031_1503">+<rect width="1705" height="291" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/web/design-system/opendesign-logo-SOURCE.md b/web/design-system/opendesign-logo-SOURCE.mdnew file mode 100644index 00000000..92f51abe--- /dev/null+++ b/web/design-system/opendesign-logo-SOURCE.md@@ -0,0 +1,8 @@+# OpenDesign brand assets++Original SVG files from the [OpenDesign reference design system](https://open-design-system-leon.leon-wcl.chatgpt.site/#/brand-assets), retrieved on 2026-11-09. Paths and proportions are unchanged.++- `opendesign-dark.svg`: `https://open-design-system-leon.leon-wcl.chatgpt.site/assets/brand-logos/logo-d%20.svg`+- `opendesign-light.svg`: `https://open-design-system-leon.leon-wcl.chatgpt.site/assets/brand-logos/logo-2.svg`++These are OpenDesign brand artwork, separate from the Remix Icon library.diff --git a/web/design-system/remix-icon-LICENSE.txt b/web/design-system/remix-icon-LICENSE.txtnew file mode 100644index 00000000..996917ee--- /dev/null+++ b/web/design-system/remix-icon-LICENSE.txt@@ -0,0 +1,186 @@+Remix Icon License v1.0+Version 1.0 – January 2026+Copyright (c) 2017–2026 Remix Design++ This License governs the use of the Remix Icon library, including all icons,+ SVG files, font files, and related assets (collectively, the "Icons").++1. Grant of License++ Subject to the terms and conditions of this License, Remix Design grants you+ a worldwide, royalty-free, non-exclusive license to use, copy, modify,+ merge, and distribute the Icons, as permitted below.++2. Permitted Uses++ You are permitted to:++ 2.1 Commercial and Non-Commercial Use+ Use the Icons in personal, commercial, and client projects, including+ but not limited to:+ - Websites, web applications, and mobile applications+ - Software products and SaaS platforms+ - User interface designs, design systems, and UI kits+ - Presentations, documentation, and marketing materials+ - Physical or digital products where the Icons are decorative or+ functional elements++ 2.2 Modification and Derivative Works+ - Modify, adapt, or customize the Icons+ - Change colors, sizes, stroke styles, or other visual attributes+ to fit your project needs++ 2.3 Distribution as Part of a Larger Work+ Include the Icons (modified or unmodified) as part of a larger product,+ provided that:+ - The Icons are functional or decorative components of the product, and+ - The Icons are not marketed or sold as the primary value of the product++ 2.4 Attribution (Optional)+ Attribution to Remix Icon is appreciated but not required.+ Suggested attribution:+ "Icons by Remix Icon (https://remixicon.com)"++3. Restrictions++ 3.1 Prohibited: Standalone Icon Sales+ You may NOT:+ - Sell, sublicense, or distribute the Icons as a standalone product+ - Package the Icons as an independent icon pack, icon library, or+ icon font for sale+ - Offer the Icons as a downloadable asset collection where the Icons+ themselves constitute the primary product value++ Clarification:+ A product is considered a prohibited standalone icon sale if:+ - The Icons are the primary advertised feature, or+ - Removing the Icons would eliminate the core value of the product++ Examples:+ - Prohibited: "Premium Icon Pack – 2,000+ Icons for $29"+ - Prohibited: "Extended Remix Icon Library (Paid)"+ - Permitted: Website or app templates that include Icons as UI elements+ - Permitted: Design systems or UI kits where Icons are a minor component++ 3.2 Prohibited: Competing Icon Libraries+ You may NOT use the Icons to create, distribute, or sell a competing+ icon library or icon set, even if the Icons are modified with only+ minor or superficial changes (such as color, size, stroke width,+ corner radius, or layout).++ 3.3 Prohibited: Logo, Trademark, and Brand Identity Use+ You may NOT use the Icons, whether modified or unmodified, as:+ - A logo, trademark, or brand identifier+ - The primary visual identity of a company, product, or service++ This includes, but is not limited to:+ - Creating a logo by applying simple modifications such as color changes,+ rotation, combination, or layout+ - Using an Icon as a brand mark, app icon, or identity symbol where the+ Icon itself represents the brand++ Rationale:+ Remix Icon is designed for functional and informational use. Using the+ Icons as brand identifiers may impair their recognizability and neutrality+ in other functional contexts.++4. Brand Icons and Trademarks++ Some Icons represent third-party brands or services.++ 4.1 Permitted Use of Brand Icons+ You may use brand icons solely to represent or link to the corresponding+ brand, product, or service.+ Examples:+ - Using a GitHub icon to link to a GitHub repository+ - Displaying social media icons in a website footer++ 4.2 Prohibited Use of Brand Icons+ You may NOT:+ - Use brand icons as your own logo or trademark+ - Modify brand icons to create a new brand identity+ - Use brand icons in a way that implies endorsement or affiliation+ by the brand owner+ - Use brand icons for purposes unrelated to the represented brand++ 4.3 Trademark Responsibility+ All brand icons are subject to the trademark rights of their respective+ owners. This License does not grant any trademark rights.+ Users are responsible for ensuring that their use of brand icons complies+ with applicable trademark laws.++5. Copyright and License Notice++ When distributing the complete Icon library or substantial portions thereof:++ - You must retain existing copyright notices in source files+ - You should include a copy of this License or a link to it++ For individual use of Icons within projects (e.g., compiled apps, websites,+ presentations), no copyright notice is required.++6. No Trademark Rights++ This License does not grant permission to use:++ - The "Remix Icon" name, logo, or trademarks+ - Any trademarks represented by brand icons++ You may refer to Remix Icon by name solely for attribution purposes.++7. Disclaimer of Warranty++ THE ICONS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+ IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.++8. Limitation of Liability++ IN NO EVENT SHALL REMIX DESIGN BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING+ FROM, OUT OF, OR IN CONNECTION WITH THE ICONS OR THEIR USE.++9. License Compatibility++ You may integrate the Icons into projects under permissive licenses+ (such as MIT, BSD, or Apache 2.0), provided that:++ - The Icons themselves remain governed by this License+ - The restrictions in Section 3 continue to apply++ This License may be incompatible with licenses that require unrestricted+ redistribution of assets as standalone products or mandatory application+ of strong copyleft or share-alike terms.++10. Termination++ Your rights under this License terminate automatically if you breach its+ terms.++ Upon termination:++ - You must cease any distribution that violates this License+ - You may continue to use the Icons in projects already distributed+ prior to termination+ - End users who received such projects are not affected++11. License Versioning++ Remix Design may publish revised versions of this License.++ You may choose to use the Icons under:++ - The version of this License under which you received them, or+ - Any later version published by Remix Design++ Once chosen, that version may be used indefinitely.++How to Apply This License++ Include the following notice in your documentation when appropriate:++ "This project uses icons from Remix Icon (https://remixicon.com),+ licensed under the Remix Icon License v1.0."++ When distributing the complete Icon library or substantial portions of it,+ include a copy of this License.diff --git a/web/design-system/remix-icon-NOTICE.txt b/web/design-system/remix-icon-NOTICE.txtnew file mode 100644index 00000000..b9180a0e--- /dev/null+++ b/web/design-system/remix-icon-NOTICE.txt@@ -0,0 +1,5 @@+Remix Icon 4.9.1+Copyright (c) 2017–2026 Remix Design+https://github.com/Remix-Design/RemixIcon/tree/v4.9.1+Licensed under Remix Icon License v1.0; see remix-icon-LICENSE.txt.+Selected original SVG paths are bundled in icons.svg for Motion UI controls.