popost 4.6.6 → 4.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +6 -6
- package/assets/canvas/assets/{dist-BmD8AP0A.js → dist-CX2mxpwq.js} +1 -1
- package/assets/canvas/assets/{es-CC29Cabv.js → es-BFnFFu6P.js} +1 -1
- package/assets/canvas/assets/{index-DS6BKqT0.css → index-C5rz5H21.css} +1 -1
- package/assets/canvas/assets/{index-DhwyFpu2.js → index-CwqBT_rk.js} +1 -1
- package/assets/canvas/assets/{jszip.min-Bwf_yCrF.js → jszip.min-DqfCBLrH.js} +1 -1
- package/assets/canvas/build-info.json +7 -7
- package/assets/canvas/index.html +2 -2
- package/assets/video/examples/catalogue.json +114 -0
- package/assets/video/examples/list-cards.html +155 -0
- package/assets/video/examples/page-flip.html +163 -0
- package/assets/video/times.js +59 -0
- package/dist/cli.js +2772 -1280
- package/dist/index.js +2243 -846
- package/dist/types/cloud/service.d.ts +2 -0
- package/dist/types/device-login.d.ts +6 -1
- package/dist/types/device-pending.d.ts +11 -0
- package/dist/types/editor/handoff.d.ts +1 -1
- package/dist/types/runtime.d.ts +5 -1
- package/dist/types/system-browser.d.ts +17 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/commands/replication-books.d.ts +2 -0
- package/dist/types/video/compile/footage.d.ts +2 -0
- package/dist/types/video/compile/index.d.ts +2 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -1
- package/dist/types/video/compile/page.d.ts +1 -0
- package/dist/types/video/describe/parts.d.ts +3 -1
- package/dist/types/video/eval/readback-kept.d.ts +10 -0
- package/dist/types/video/eval/readback-run.d.ts +5 -1
- package/dist/types/video/generate/cast.d.ts +4 -0
- package/dist/types/video/media/footage.d.ts +1 -0
- package/dist/types/video/page/apply.d.ts +1 -1
- package/dist/types/video/page/contract.d.ts +16 -0
- package/dist/types/video/page/dom.d.ts +5 -0
- package/dist/types/video/page/times.d.ts +31 -0
- package/dist/types/video/preview/protocol.d.ts +1 -0
- package/dist/types/video/preview/reference.d.ts +9 -0
- package/dist/types/video/preview/shell/dom.d.ts +9 -0
- package/dist/types/video/preview/shell/footage.d.ts +1 -0
- package/dist/types/video/preview/shell/i18n.d.ts +1 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +1 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -2
- package/dist/types/video/preview/shell/studio/ui.d.ts +2 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -1
- package/dist/types/video/project/check-sound.d.ts +3 -0
- package/dist/types/video/render/chunked.d.ts +29 -0
- package/dist/types/video/render/chunks.d.ts +39 -0
- package/dist/types/video/render/encode.d.ts +5 -0
- package/dist/types/video/render/index.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +1 -1
- package/dist/types/video/render/session.d.ts +17 -0
- package/dist/types/video/render/shots.d.ts +11 -0
- package/dist/types/video/replication/books.d.ts +64 -0
- package/dist/types/video/replication/production.d.ts +5 -0
- package/dist/types/video/replication/retiming.d.ts +16 -0
- package/dist/types/video/replication/review.d.ts +50 -0
- package/dist/types/video/retarget/fps.d.ts +3 -5
- package/dist/types/video/retarget/index.d.ts +10 -2
- package/dist/types/video/retarget/speak.d.ts +2 -0
- package/dist/types/video/retarget/takes.d.ts +66 -0
- package/dist/types/video/retarget/tempo.d.ts +2 -0
- package/dist/types/video/speech/types.d.ts +5 -0
- package/dist/types/video/template/fill.d.ts +2 -0
- package/dist/types/video/template/save.d.ts +2 -0
- package/dist/types/video/template/structure.d.ts +1 -0
- package/dist/types/video/voice/cache.d.ts +10 -0
- package/dist/types/video/voice/hosted.d.ts +10 -4
- package/dist/types/video/voice/index.d.ts +25 -1
- package/dist/types/video/wallet.d.ts +7 -0
- package/dist/types/workflow/post-bundle.d.ts +9 -2
- package/package.json +1 -1
- package/references/host-editor.md +2 -2
- package/references/image-workflow.md +1 -1
- package/references/onboarding.md +5 -3
- package/references/post-bundle.md +1 -1
- package/references/providers.md +1 -1
- package/references/video-editing.md +4 -0
- package/references/video-effects.md +9 -1
- package/references/video-performers.md +12 -2
- package/references/video-project.md +5 -3
- package/references/video-replication.md +32 -3
- package/references/video-scenes.md +52 -2
- package/references/video-sfx.md +1 -1
- package/references/video-sound.md +18 -3
- package/references/video-step-0-machine.md +61 -0
- package/references/video-step-1-read.md +168 -0
- package/references/video-step-2-structure.md +24 -0
- package/references/video-step-3-content.md +117 -0
- package/references/video-step-4-lines.md +88 -0
- package/references/video-step-5-scenes.md +126 -0
- package/references/video-step-6-voice.md +53 -0
- package/references/video-step-7-deliver.md +92 -0
- package/references/video-templates.md +17 -7
- package/references/video-tools.md +8 -6
- package/references/video.md +50 -666
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const STUDIO_CSS = "\n:root{--pc-bg:#f4f4f2;--pc-surface:#fff;--pc-surface-2:#f8f8f7;--pc-border:#dededb;--pc-text:#252525;--pc-muted:#85847d;--pc-hover:#ebebe8;--pc-accent:#ff7a1a;--pc-accent-soft:#fff1e5;--pc-stage:#e9e9e6;--timeline-height:240px;--left-width:264px;--right-width:300px}\nhtml.dark{color-scheme:dark;--pc-bg:#111;--pc-surface:#1a1a1a;--pc-surface-2:#141414;--pc-border:#363632;--pc-text:#f2f2f0;--pc-muted:#a5a59a;--pc-hover:#2a2a2a;--pc-accent-soft:#3e2b1b;--pc-stage:#0b0b0b}\nbody.studio{font:13px/1.45 'Helvetica Neue','PingFang SC',system-ui,sans-serif;background:var(--pc-bg);color:var(--pc-text);--bg:var(--pc-bg);--surface:var(--pc-surface);--fg:var(--pc-text);--muted:var(--pc-muted);--line:var(--pc-border);--accent:var(--pc-accent);--on-accent:#fff;--seg:#e7eef3;--item:#eee7f7;--audio:#e6f1e8;--stage:var(--pc-stage);--stage-fg:var(--pc-muted);--head:#292929}\n.studio [hidden]{display:none!important}.studio button,.studio input,.studio textarea,.studio select{font:inherit;color:inherit}.studio button:focus-visible,.studio a:focus-visible,.studio textarea:focus-visible,.studio input:focus-visible{outline:2px solid var(--pc-accent);outline-offset:2px}.studio button:disabled{opacity:.45;cursor:default}\n.studio #app{grid-template-rows:48px minmax(240px,1fr) var(--timeline-height) 24px;height:100dvh}.studio .main{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:64px var(--left-width) minmax(0,1fr) var(--right-width);min-height:0;position:relative}.studio .left{overflow:hidden;min-height:0;min-width:0;display:flex;flex-direction:column}.studio .panel{width:auto;min-width:0;overflow:auto;background:var(--pc-surface);border-left:1px solid var(--pc-border);padding:12px 16px}.studio .panel>#problems,.studio .panel>#score,.studio .panel>#measures,.studio .panel>#notes{display:none}.studio .panel h2{font-size:12px;color:var(--pc-muted)}.studio .sel-title{font-size:13px;padding-bottom:10px;border-bottom:1px solid var(--pc-border);color:var(--pc-text);overflow-wrap:anywhere}.studio .status-line{font-size:11px;max-height:80px;overflow:auto}.studio #render-status{display:none}\n.studio-topbar{display:flex;align-items:center;gap:12px;padding:0 16px;background:var(--pc-surface-2);border-bottom:1px solid var(--pc-border);min-width:0;white-space:nowrap}.studio-brand{font-size:23px;font-weight:800;letter-spacing:-1.3px;margin-right:8px}.studio-brand:after{content:'\u2022';color:var(--pc-accent);font-size:15px;vertical-align:top;letter-spacing:0}.studio-project{min-width:80px;max-width:30%;overflow:hidden;text-overflow:ellipsis;flex:1}.studio-save{font-size:11px;color:var(--pc-muted)}.studio-save:before{content:'\u25CF';font-size:9px;color:#2e9e6b;margin-right:7px}.studio-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.studio-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid var(--pc-border);border-radius:8px;background:var(--pc-surface);text-decoration:none;font-size:12px;cursor:pointer}.studio-btn:hover{background:var(--pc-hover)}.studio-btn.primary{background:#292929;color:#fff;border-color:#292929}.dark .studio-btn.primary{background:#f2f2f0;color:#222}.studio-btn.selected{background:var(--pc-accent-soft);border-color:#ffb47c;color:#c76520}.studio-btn.ghost{border-color:transparent;background:transparent}.studio .tbtn{height:30px;min-width:30px;border:0;background:transparent;border-radius:7px}.studio .tbtn:hover{background:var(--pc-hover)}.studio #edit-render{display:none}.studio .edit-tools{gap:6px}.studio .tool-group{gap:2px}\n.studio-rail{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding:12px 5px;background:var(--pc-surface-2);border-right:1px solid var(--pc-border)}.studio-rail button{height:57px;flex:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:transparent;border:0;border-radius:8px;color:var(--pc-muted);font-size:11px;cursor:pointer}.studio-rail button.active{background:var(--pc-accent-soft);color:#e8711c}.studio-rail svg{width:19px;height:19px}.studio-content{min-height:0;overflow:auto;background:var(--pc-surface);border-right:1px solid var(--pc-border)}.studio-side-body{padding:14px 14px 20px;display:flex;flex-direction:column;gap:12px}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}.studio-heading h2{margin:0;font-size:14px;font-weight:600;color:var(--pc-text)}.studio-heading small{font-size:10px;color:var(--pc-muted)}.studio-note{font-size:11px;line-height:1.7;color:var(--pc-muted);margin:0;overflow-wrap:anywhere}.studio-note.notice{padding:10px;border:1px solid #f0d5b9;border-radius:8px;background:var(--pc-accent-soft);color:#9a5c2d}.studio-note.bad{color:var(--err)}.studio-input{border:1px solid var(--pc-border);border-radius:7px;background:var(--pc-surface-2);width:100%;min-height:34px;padding:7px 9px;resize:vertical;min-width:0}.studio-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--pc-muted)}.studio-field .studio-input{font-size:12px;color:var(--pc-text)}.studio-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}\n.studio-shot-list{display:flex;flex-direction:column;gap:7px}.studio-shot{width:100%;min-height:70px;justify-content:flex-start;text-align:left;padding:7px;gap:10px}.studio-thumb{display:block;width:74px;height:55px;object-fit:cover;border-radius:5px;background:var(--pc-stage);flex:none}.studio-shot-copy{display:flex;flex-direction:column;min-width:0;gap:7px}.studio-shot-copy strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.studio-shot-copy small{font-size:10px;color:var(--pc-muted)}.studio-media-list{display:grid;gap:12px}.studio-media-card,.studio-review-card,.studio-sentence{border:1px solid var(--pc-border);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:9px}.studio-media-card>img,.studio-media-card>video{width:100%;max-height:150px;object-fit:contain;background:var(--pc-stage);border-radius:5px}.studio-media-card>audio{width:100%;height:30px}.studio-media-card>strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-media-card .studio-btn{font-size:10px;padding:4px 6px}.studio-script-list{display:flex;flex-direction:column;gap:8px}.studio-sentence>button{align-self:flex-start;font-size:10px;min-height:24px}.studio-sentence textarea{font-size:12px}.studio-item{justify-content:flex-start;overflow-wrap:anywhere;text-align:left}.studio-slot-image{max-width:100%;max-height:150px;object-fit:contain}.studio-stage-heading{display:flex;align-items:center;justify-content:space-between;height:40px;flex:none;padding:0 18px;background:var(--pc-surface-2);border-bottom:1px solid var(--pc-border);font-size:12px}.studio-stage-heading small{font-size:10px;color:var(--pc-muted)}.studio .stage-area{min-height:0!important;padding:14px 18px;gap:14px;background:var(--pc-stage);min-height:160px}.studio .frame-box{box-shadow:0 2px 7px #0002,0 12px 30px #0001}.studio .caption{font-size:11px}.studio .note{font-size:10px;max-width:350px}.studio .transport{height:76px;min-height:76px;flex-wrap:wrap;align-content:center;background:var(--pc-surface-2);padding:4px 12px;gap:7px}.studio .transport .readout{font-size:11px;gap:8px;order:2;flex:1 0 calc(100% - 100px)}.studio .transport #jump{order:3;width:80px;font-size:10px}.studio .transport .speed{order:1;font-size:10px}.studio .transport .tbtn{min-width:24px;padding:0 4px}.studio .transport #back10,.studio .transport #fwd10{display:none}.studio .transport .slider-wrap{min-width:50px}\n.studio-timeline-wrap{position:relative;display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--pc-border);background:var(--pc-surface)}.studio-timeline-toolbar{height:39px;flex:none;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid var(--pc-border);background:var(--pc-surface-2)}.studio-timeline-toolbar .spacer{flex:1}.studio-timeline-toolbar input[type=range]{width:105px;accent-color:var(--pc-accent)}.studio .timeline{min-height:0;flex:1;max-height:none;overflow:auto}.studio .lanes{--label:160px;width:calc(100% * var(--timeline-zoom,1));min-width:100%;padding-bottom:9px}.studio .lane{height:34px;border-color:var(--pc-border)}.studio .lane-label{position:sticky;left:0;z-index:9;background:var(--pc-surface);line-height:33px;font-size:11px;padding-left:15px}.studio .ruler{height:28px;background:var(--pc-surface-2);position:sticky;top:0;z-index:10}.studio .ruler .lane-label{background:var(--pc-surface-2);line-height:27px}.studio .rtick{font-size:10px;color:var(--pc-muted)}.studio .lane.segments{height:70px}.studio .blk.seg{height:58px;top:5px;bottom:auto;line-height:13px;padding:0 4px;border:1px solid #aebfcb;background:#e8eef3;color:#4c6474}.studio .blk.seg img{display:block;position:absolute;left:0;top:0;width:100%;height:39px;object-fit:cover;pointer-events:none}.studio .blk.seg .segment-name{position:absolute;bottom:1px;left:4px;right:2px;font-size:9px;overflow:hidden;text-overflow:ellipsis}.studio .blk.seg.selected{border:2px solid var(--pc-accent);background:#fff0e2}.studio .blk.item{background:#eee8fa;color:#8c70a9;border:1px solid #d8c9ef;font-size:10px;top:5px;bottom:5px}.studio .lane.caption-lane .blk.item{background:#f5efdf;color:#8e7950;border-color:#e6dcc1}.studio .lane.caption-lane .blk.selected{border-color:var(--pc-accent)}.studio .blk.audio{background:#e7f2e9;color:#537b60;border:1px solid #b3d1bd;top:5px;bottom:5px;font-size:10px}.studio .blk.audio.wave-ready{color:transparent}.studio .blk.audio svg{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.studio .measure,.studio .lane.words-lane{display:none}.studio.show-analysis .measure,.studio.show-analysis .lane.words-lane{display:grid}.studio .band{z-index:2;opacity:.7}.studio .seg-grip{height:66px;top:2px}.studio .playhead{background:#292929;min-width:1px}.studio .selected{outline-color:var(--pc-accent)}\n.studio-footer{height:24px;background:var(--pc-surface-2);border-top:1px solid var(--pc-border);display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:10px;color:var(--pc-muted)}.studio-handle{position:absolute;z-index:15;touch-action:none}.studio-handle.vertical{width:5px;top:0;bottom:0;cursor:col-resize}.studio-handle.horizontal{height:5px;left:0;right:0;top:-3px;cursor:row-resize}.studio-handle:hover{background:var(--pc-accent);opacity:.35}.studio.focus-preview .main{grid-template-columns:64px 0 minmax(0,1fr) 0}.studio.focus-preview .studio-content,.studio.focus-preview .panel{visibility:hidden;padding:0;overflow:hidden}.studio.panel-code{--left-width:min(480px,35vw)}\n.studio-code-wrap{display:flex;flex-direction:column;gap:10px;height:100%;padding:14px}.studio-json{flex:1;min-height:240px;white-space:pre;overflow:auto;resize:none;width:100%;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace!important;border:1px solid var(--pc-border);border-radius:8px;background:var(--pc-surface-2);padding:12px;tab-size:2}.studio-code-status{font-size:11px;color:var(--pc-muted);overflow-wrap:anywhere}.studio-scrim{position:fixed;inset:0;background:#0003;z-index:80}.studio-export{position:fixed;right:0;top:0;bottom:0;width:440px;max-width:100vw;overflow:auto;padding:18px 22px;background:var(--pc-surface);z-index:81;box-shadow:-12px 0 40px #0002;display:flex;flex-direction:column;gap:18px}.studio-export-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--pc-border);padding-bottom:14px}.studio-export-fields{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;min-width:0}.studio-export-fields>.studio-field{display:grid;grid-template-columns:95px 1fr;align-items:center;gap:12px;font-size:13px}.studio-segments{display:flex;padding:3px;background:var(--pc-bg);border-radius:8px;gap:3px}.studio-segments button{flex:1;border:0;background:transparent;border-radius:6px;padding:7px}.studio-segments button.selected{background:var(--pc-surface);color:var(--pc-text)}.studio-resolutions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.studio-resolutions button{position:relative;padding:5px;min-width:0}.export-gem{color:var(--pc-accent);display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:15px;margin-left:3px}.studio-paid-info:empty{display:none}.studio-paid-info{border:1px solid #e9cfb8;background:var(--pc-accent-soft);border-radius:8px;padding:10px;font-size:11px}.studio-paid-info a{color:#df711e;margin-right:12px}.studio-paid-info p{color:var(--pc-text);margin-bottom:6px}.studio-check{display:flex;align-items:center;gap:8px;font-size:12px}.studio-check input{accent-color:var(--pc-accent)}.studio-export>progress{width:100%;accent-color:var(--pc-accent)}.studio-export-result{display:flex;gap:10px;flex-direction:column}.studio-export-result:empty{display:none}#studio-message{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);max-width:min(650px,85vw);padding:11px 16px;background:#292929;color:white;box-shadow:0 5px 20px #0003;border-radius:8px;z-index:100;opacity:0;pointer-events:none;font-size:12px}#studio-message.visible{opacity:1}\n.studio .sel-box.thin .h-n{top:-9px}.studio .sel-box.thin .h-s{top:calc(100% + 9px)}\n@media(max-width:1300px){:root{--left-width:238px;--right-width:272px}.studio-save{display:none}.studio-topbar{gap:6px}.studio-project{max-width:25%}.studio .transport .readout{font-size:10px}.studio .lanes{--label:140px}}\n@media(max-width:1000px){.studio .main{grid-template-columns:55px 225px minmax(150px,1fr)}.studio .main{grid-template-columns:52px 190px minmax(0,1fr) 240px}.studio .panel{position:static;width:auto;display:block}.studio-topbar .studio-btn:not(.primary){padding:4px}.studio-topbar .studio-project{max-width:18%}.studio .readout>span:first-child{display:none}}\n\n.studio-export{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:26px 30px;border-radius:16px;box-shadow:0 20px 70px #0003;gap:24px}.studio-export-header{border:0;padding:0}.studio-export-header h2{font-size:24px}.studio-export-header button{border:0;font-size:24px;background:transparent}.export-tabs{padding:4px}.export-tabs button{font-size:17px;font-weight:600}.studio-export-fields{gap:18px}.studio-export-fields>.studio-field{grid-template-columns:135px 1fr;font-size:15px}.studio-export .studio-segments button{position:relative;min-height:36px;font-size:15px}.studio-export>.primary{width:100%;min-height:46px;background:#df7634;border-color:#d66b29;font-size:17px}.studio-export .studio-note{font-size:13px}.export-pro{position:absolute;right:-8px;top:-10px;font-size:10px;border-radius:4px;padding:2px 5px;background:#df7634;color:#fff}.studio-export details{font-size:13px;color:var(--pc-muted)}.studio-export details summary{cursor:pointer}.studio-export details p{margin-top:12px}.studio-export .studio-input{border:0;background:var(--pc-bg);min-height:40px;font-size:15px}@media(max-width:600px){.studio-export{padding:20px}.studio-export-fields>.studio-field{grid-template-columns:90px 1fr}}\n.studio-draft-success{width:min(560px,calc(100vw - 32px));gap:18px;padding:30px}.studio-draft-success .studio-export-header h2{font-size:22px}.studio-draft-success>.studio-note{font-size:15px;line-height:1.7;margin:0}.studio-draft-actions{display:flex;justify-content:flex-end;gap:10px}.studio-draft-actions .studio-btn{padding:11px 18px;border:0;background:var(--pc-bg);font-size:14px}.studio-draft-actions .primary{background:#df7634;color:white}.studio-draft-success [role=status]:empty{display:none}\n";
|
|
2
|
-
export declare const STUDIO_REFINEMENTS = "\n.studio .timeline-divider{height:20px;border-left:1px solid var(--pc-border);margin:0 5px}.studio .timeline-selection{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--pc-muted)}.studio .grip{z-index:8;opacity:0;width:9px}.studio .lane:has(.blk:hover) .grip,.studio .grip.selected{opacity:1;background:var(--pc-accent-soft);border:1px solid var(--pc-accent)}.studio .seg-grip{z-index:9;background:var(--pc-border);width:7px;margin-left:-7px}.studio .seg-grip:hover{background:var(--pc-accent)}.studio .blk.seg{display:flex;align-items:center;gap:6px;padding:4px 8px}.studio .blk.seg img{width:60px;height:38px;object-fit:cover;flex:none}.studio .segment-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio .scene-field{font-style:italic}.studio .stage-text-editor{position:absolute;z-index:30;min-height:50px;box-sizing:border-box;resize:vertical;border:2px solid var(--pc-accent);border-radius:3px;padding:4px;background:var(--pc-surface);color:var(--pc-text);font-weight:600;line-height:1.2;box-shadow:0 4px 18px #0002}.studio .panel .colour input[type=text]{min-width:86px}.studio .panel .fld.area textarea{height:64px}.studio .timeline .blk:focus-visible{outline:2px solid var(--pc-accent);outline-offset:2px}@media(max-width:1250px){.studio .timeline-selection{display:none}.studio-timeline-toolbar{gap:4px}.studio-timeline-toolbar .tbtn{padding:0 4px}.studio-timeline-toolbar .studio-btn{padding:4px 7px}}\n\n.studio #app{grid-template-rows:52px minmax(0,1fr) min(300px,36dvh) 24px;grid-template-rows:52px minmax(0,1fr) var(--timeline-height) 24px}\n.studio .main{overflow:hidden}.studio .panel{position:static;min-height:0;z-index:auto;scrollbar-gutter:stable}.studio .left{grid-column:3;grid-row:1}.studio .panel{grid-column:4;grid-row:1}.studio-rail{grid-column:1;grid-row:1}.studio-content{grid-column:2;grid-row:1;min-width:0;max-width:100%}\n.studio-topbar{justify-content:space-between;gap:12px}.studio-project{flex:1;max-width:none}.studio-global-actions{display:flex;gap:6px;align-items:center;margin-left:auto;flex:none}.studio-save{white-space:nowrap}.studio-topbar .primary{margin-left:8px}\n.studio-side-body,.studio-media-list,.studio-media-card,.studio-actions,.studio-shot-copy{min-width:0;max-width:100%}.studio-media-card>video,.studio-media-card>img,.studio-media-card>audio{display:block;min-width:0;max-width:100%;width:100%}.studio-media-card>video{aspect-ratio:16/10;height:132px}.studio-actions{display:grid;grid-template-columns:1fr;gap:6px}.studio-actions .studio-btn{white-space:normal;width:100%}.studio-media-card>strong{display:block;max-width:100%}.studio-resource-tabs{display:flex;gap:6px;padding:12px 14px 0}.studio-resource-tabs button{flex:1;font-size:12px}.studio-resource-tabs .selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}\n.studio .stage-area{min-width:0;overflow:hidden}.studio .viewer{flex:none}.studio .panel>h2,.studio .panel #selection>h2{display:none}.studio .panel .follow{display:none}.studio .panel .fs{border:0;border-top:1px solid var(--pc-border);padding:14px 0;margin:0 0 6px;min-width:0}.studio .panel .fs legend{font-size:12px;font-weight:600;padding:0 6px 0 0;color:var(--pc-text)}.studio .panel .row{gap:8px;margin:0 0 10px;flex-wrap:wrap}.studio .panel .fld{min-width:68px;flex:1}.studio .panel .fld.wide{flex-basis:100%}.studio .panel .fld input,.studio .panel .fld textarea,.studio .panel .fld select{min-width:0;width:100%;border-radius:7px;background:var(--pc-surface-2);border:1px solid var(--pc-border);padding:7px 8px;height:34px}.studio .panel .fld textarea{height:86px;line-height:1.7;resize:vertical}.studio .panel .fl{font-size:11px;margin-bottom:6px;color:var(--pc-muted)}.studio .panel .rv,.studio .panel .hint{display:none}.studio .panel details{padding:12px 0;border-top:1px solid var(--pc-border)}.studio .panel summary{cursor:pointer;color:var(--pc-muted);font-size:12px;margin-bottom:12px}.studio .sel-title{font-size:14px;font-weight:600;margin-bottom:14px}.studio .edit-status:has(#edit-status:empty){display:none}.studio .status-line:not(.bad){display:none}.studio .panel .chips{display:flex;flex-direction:column;gap:8px}.studio .panel .chip{padding:9px;text-align:left;border-radius:7px}\n.studio .timeline{overflow:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto}.studio .timeline::-webkit-scrollbar{width:11px;height:12px}.studio .timeline::-webkit-scrollbar-track{background:var(--pc-surface-2)}.studio .timeline::-webkit-scrollbar-thumb{background:#aaa9a1;border:3px solid var(--pc-surface-2);border-radius:8px}.studio .lanes{--label:112px;width:calc(100% * var(--timeline-zoom,1));min-width:100%;padding-bottom:20px}.studio .lane{grid-template-columns:var(--label) minmax(0,1fr)}.studio .lane-track{overflow:visible;min-width:0}.studio .lane-label{z-index:11;font-size:12px}.studio .lane.media-lane{height:44px}.studio .lane.caption-lane{height:38px}.studio .blk.item{padding:5px 6px;line-height:20px;cursor:pointer;z-index:3;min-width:3px}.studio .blk.audio{cursor:pointer;z-index:3}.studio .lane.caption-lane .blk.item{font-size:11px;line-height:18px;padding:3px 5px}.studio .blk.selected{outline:none;border:2px solid var(--pc-accent);box-shadow:0 0 0 1px var(--pc-surface);z-index:5}.studio .lane .shade{pointer-events:none;display:none}.studio .playhead-layer{pointer-events:none}.studio .ruler{z-index:15}.studio .lane.segments{height:62px;position:sticky;top:28px;z-index:12;background:var(--pc-surface)}.studio .playhead-layer{z-index:14}.studio .blk.seg{height:50px;cursor:pointer}.studio .blk.seg img{height:30px}.studio .seg-grip{height:58px}.studio-timeline-toolbar{height:42px;min-width:0}.studio-timeline-toolbar .edit-tools{border-right:1px solid var(--pc-border);padding-right:8px}.studio-timeline-toolbar #edit-split{min-height:28px}.studio-timeline-toolbar .tbtn{width:auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px}.studio-timeline-toolbar .studio-btn{font-size:11px}.studio .edit-tools .tool-group:last-child{display:none}\n.studio-export{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:22px 24px;gap:18px}.studio-export-header h2{font-size:19px}.studio-export .studio-segments button{font-size:13px;min-height:32px}.studio-export .export-tabs button{font-size:14px}.studio-export-fields{gap:15px}.studio-export-fields>.studio-field{grid-template-columns:80px minmax(0,1fr);font-size:12px}.studio-export .studio-input{min-height:34px;font-size:13px}.studio-export>.primary{min-height:38px;font-size:14px}.studio-export .studio-note{font-size:12px}.studio-paid-info{line-height:1.7}.studio-paid-info p{margin:0 0 7px}.studio-paid-info .studio-btn{font-size:12px}.studio-export-result{font-size:12px}.studio-export-result a{color:var(--pc-accent)}.studio-slot-outline{position:absolute;border:2px solid var(--pc-accent);pointer-events:none;z-index:4}.studio-slot-name{position:absolute;left:-2px;bottom:100%;padding:3px 7px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--pc-accent);color:white;font-size:11px}.studio-slot-preview{max-width:100%;max-height:160px;object-fit:contain;border-radius:8px}.studio-cloud{max-width:180px;font-size:12px}.studio-element-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}\n@media(max-width:1100px){.studio .main{grid-template-columns:52px 208px minmax(0,1fr) 246px}.studio .panel{display:block;position:static;width:auto}.studio-global-actions{gap:3px}.studio-topbar .studio-btn{padding:5px 7px}.studio-project{max-width:140px}.studio .main>.studio-handle.vertical{display:none}}\n@media(max-width:820px){.studio .main{grid-template-columns:48px 0 minmax(0,1fr) 220px}.studio-content{visibility:hidden}.studio-topbar{gap:6px;padding:0 10px}.studio-brand{font-size:20px}.studio-project{display:none}.studio .lanes{--label:88px}.studio-timeline-toolbar{gap:5px;padding:0 8px}.studio-timeline-toolbar input[type=range]{width:70px}}\n\n.studio:not(.inspecting) .main{grid-template-columns:64px var(--left-width) minmax(0,1fr) 0}.studio:not(.inspecting) .panel,.studio:not(.inspecting) .inspector-resize{display:none}.studio-sentence.selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}.studio-item.selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}\n@media(max-width:1100px){.studio:not(.inspecting) .main{grid-template-columns:52px 208px minmax(0,1fr) 0}}@media(max-width:820px){.studio:not(.inspecting) .main{grid-template-columns:48px 0 minmax(0,1fr) 0}}\n\n.studio-cloud{position:relative;display:flex;align-items:center;gap:7px;max-width:310px;min-width:0}.studio-cloud-state{font-size:12px;max-width:185px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-cloud-state.bad{color:var(--err)}.studio-cloud-link{position:absolute;right:0;top:calc(100% + 10px);z-index:90;width:min(420px,calc(100vw - 32px));border:1px solid var(--pc-border);border-radius:8px;padding:12px;background:var(--pc-surface);color:var(--pc-text);box-shadow:0 6px 25px #0002;font-size:12px}.studio-cloud[hidden]{display:none}\n.studio.focus-preview:not(.inspecting) .main{grid-template-columns:64px 0 minmax(0,1fr) 0}\n";
|
|
1
|
+
export declare const STUDIO_CSS = "\n:root{--pc-bg:#f4f4f2;--pc-surface:#fff;--pc-surface-2:#f8f8f7;--pc-border:#dededb;--pc-text:#252525;--pc-muted:#85847d;--pc-hover:#ebebe8;--pc-accent:#ff7a1a;--pc-accent-soft:#fff1e5;--pc-stage:#e9e9e6;--timeline-height:240px;--left-width:264px;--right-width:300px}\nhtml.dark{color-scheme:dark;--pc-bg:#111;--pc-surface:#1a1a1a;--pc-surface-2:#141414;--pc-border:#363632;--pc-text:#f2f2f0;--pc-muted:#a5a59a;--pc-hover:#2a2a2a;--pc-accent-soft:#3e2b1b;--pc-stage:#0b0b0b}\nbody.studio{font:13px/1.45 'Helvetica Neue','PingFang SC',system-ui,sans-serif;background:var(--pc-bg);color:var(--pc-text);--bg:var(--pc-bg);--surface:var(--pc-surface);--fg:var(--pc-text);--muted:var(--pc-muted);--line:var(--pc-border);--accent:var(--pc-accent);--on-accent:#fff;--seg:#e7eef3;--item:#eee7f7;--audio:#e6f1e8;--stage:var(--pc-stage);--stage-fg:var(--pc-muted);--head:#292929}\n.studio [hidden]{display:none!important}.studio button,.studio input,.studio textarea,.studio select{font:inherit;color:inherit}.studio button:focus-visible,.studio a:focus-visible,.studio textarea:focus-visible,.studio input:focus-visible{outline:2px solid var(--pc-accent);outline-offset:2px}.studio button:disabled{opacity:.45;cursor:default}\n.studio #app{grid-template-rows:48px minmax(240px,1fr) var(--timeline-height) 24px;height:100dvh}.studio .main{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:64px var(--left-width) minmax(0,1fr) var(--right-width);min-height:0;position:relative}.studio .left{overflow:hidden;min-height:0;min-width:0;display:flex;flex-direction:column}.studio .panel{width:auto;min-width:0;overflow:auto;background:var(--pc-surface);border-left:1px solid var(--pc-border);padding:12px 16px}.studio .panel>#problems,.studio .panel>#score,.studio .panel>#measures,.studio .panel>#notes{display:none}.studio .panel h2{font-size:12px;color:var(--pc-muted)}.studio .sel-title{font-size:13px;padding-bottom:10px;border-bottom:1px solid var(--pc-border);color:var(--pc-text);overflow-wrap:anywhere}.studio .status-line{font-size:11px;max-height:80px;overflow:auto}.studio #render-status{display:none}\n.studio-topbar{display:flex;align-items:center;gap:12px;padding:0 16px;background:var(--pc-surface-2);border-bottom:1px solid var(--pc-border);min-width:0;white-space:nowrap}.studio-brand{font-size:23px;font-weight:800;letter-spacing:-1.3px;margin-right:8px}.studio-brand:after{content:'\u2022';color:var(--pc-accent);font-size:15px;vertical-align:top;letter-spacing:0}.studio-project{min-width:80px;max-width:30%;overflow:hidden;text-overflow:ellipsis;flex:1}.studio-save{font-size:11px;color:var(--pc-muted)}.studio-save:before{content:'\u25CF';font-size:9px;color:#2e9e6b;margin-right:7px}.studio-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.studio-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid var(--pc-border);border-radius:8px;background:var(--pc-surface);text-decoration:none;font-size:12px;cursor:pointer}.studio-btn:hover{background:var(--pc-hover)}.studio-btn.primary{background:#292929;color:#fff;border-color:#292929}.dark .studio-btn.primary{background:#f2f2f0;color:#222}.studio-btn.selected{background:var(--pc-accent-soft);border-color:#ffb47c;color:#c76520}.studio-btn.ghost{border-color:transparent;background:transparent}.studio .tbtn{height:30px;min-width:30px;border:0;background:transparent;border-radius:7px}.studio .tbtn:hover{background:var(--pc-hover)}.studio #edit-render{display:none}.studio .edit-tools{gap:6px}.studio .tool-group{gap:2px}\n.studio-rail{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:5px;padding:12px 5px;background:var(--pc-surface-2);border-right:1px solid var(--pc-border)}.studio-rail button{height:57px;flex:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:transparent;border:0;border-radius:8px;color:var(--pc-muted);font-size:11px;cursor:pointer}.studio-rail button.active{background:var(--pc-accent-soft);color:#e8711c}.studio-rail svg{width:19px;height:19px}.studio-content{min-height:0;overflow:auto;background:var(--pc-surface);border-right:1px solid var(--pc-border)}.studio-side-body{padding:14px 14px 20px;display:flex;flex-direction:column;gap:12px}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}.studio-heading h2{margin:0;font-size:14px;font-weight:600;color:var(--pc-text)}.studio-heading small{font-size:10px;color:var(--pc-muted)}.studio-note{font-size:11px;line-height:1.7;color:var(--pc-muted);margin:0;overflow-wrap:anywhere}.studio-note.notice{padding:10px;border:1px solid #f0d5b9;border-radius:8px;background:var(--pc-accent-soft);color:#9a5c2d}.studio-note.bad{color:var(--err)}.studio-input{border:1px solid var(--pc-border);border-radius:7px;background:var(--pc-surface-2);width:100%;min-height:34px;padding:7px 9px;resize:vertical;min-width:0}.studio-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--pc-muted)}.studio-field .studio-input{font-size:12px;color:var(--pc-text)}.studio-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}\n.studio-shot-list{display:flex;flex-direction:column;gap:7px}.studio-shot{width:100%;min-height:70px;justify-content:flex-start;text-align:left;padding:7px;gap:10px}.studio-thumb{display:block;width:74px;height:55px;object-fit:cover;border-radius:5px;background:var(--pc-stage);flex:none}.studio-shot-copy{display:flex;flex-direction:column;min-width:0;gap:7px}.studio-shot-copy strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.studio-shot-copy small{font-size:10px;color:var(--pc-muted)}.studio-media-list{display:grid;gap:12px}.studio-media-card,.studio-review-card,.studio-sentence{border:1px solid var(--pc-border);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:9px}.studio-media-card>img,.studio-media-card>video{width:100%;max-height:150px;object-fit:contain;background:var(--pc-stage);border-radius:5px}.studio-media-card>audio{width:100%;height:30px}.studio-media-card>strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-media-card .studio-btn{font-size:10px;padding:4px 6px}.studio-script-list{display:flex;flex-direction:column;gap:8px}.studio-sentence>button{align-self:flex-start;font-size:10px;min-height:24px}.studio-sentence textarea{font-size:12px}.studio-item{justify-content:flex-start;overflow-wrap:anywhere;text-align:left}.studio-slot-image{max-width:100%;max-height:150px;object-fit:contain}.studio-stage-heading{display:flex;align-items:center;justify-content:space-between;height:40px;flex:none;padding:0 18px;background:var(--pc-surface-2);border-bottom:1px solid var(--pc-border);font-size:12px}.studio-stage-heading small{font-size:10px;color:var(--pc-muted)}.studio .stage-area{min-height:0!important;padding:14px 18px;gap:14px;background:var(--pc-stage);min-height:160px}.studio .stage-area.comparing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:16px}.studio .stage-area.comparing .viewer{width:100%;min-height:0;align-self:stretch;justify-content:center;padding:8px;border:1px solid var(--pc-border);border-radius:10px;background:var(--pc-surface-2)}.studio .stage-area.comparing .caption{width:100%;font-weight:600;color:var(--pc-text);padding:0 4px 5px}.studio .stage-area.comparing .note{width:100%;padding-inline:4px}.studio .frame-box{box-shadow:0 2px 7px #0002,0 12px 30px #0001}.studio .caption{font-size:11px}.studio .note{font-size:10px;max-width:350px}.studio .transport{height:76px;min-height:76px;flex-wrap:wrap;align-content:center;background:var(--pc-surface-2);padding:4px 12px;gap:7px}.studio .transport .readout{font-size:11px;gap:8px;order:2;flex:1 0 calc(100% - 100px)}.studio .transport #jump{order:3;width:80px;font-size:10px}.studio .transport .speed{order:1;font-size:10px}.studio .transport .tbtn{min-width:24px;padding:0 4px}.studio .transport #back10,.studio .transport #fwd10{display:none}.studio .transport .slider-wrap{min-width:50px}\n.studio-timeline-wrap{position:relative;display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--pc-border);background:var(--pc-surface)}.studio-timeline-toolbar{height:39px;flex:none;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid var(--pc-border);background:var(--pc-surface-2)}.studio-timeline-toolbar .spacer{flex:1}.studio-timeline-toolbar input[type=range]{width:105px;accent-color:var(--pc-accent)}.studio .timeline{min-height:0;flex:1;max-height:none;overflow:auto}.studio .lanes{--label:160px;width:calc(100% * var(--timeline-zoom,1));min-width:100%;padding-bottom:9px}.studio .lane{height:34px;border-color:var(--pc-border)}.studio .lane-label{position:sticky;left:0;z-index:9;background:var(--pc-surface);line-height:33px;font-size:11px;padding-left:15px}.studio .ruler{height:28px;background:var(--pc-surface-2);position:sticky;top:0;z-index:10}.studio .ruler .lane-label{background:var(--pc-surface-2);line-height:27px}.studio .rtick{font-size:10px;color:var(--pc-muted)}.studio .lane.segments{height:70px}.studio .blk.seg{height:58px;top:5px;bottom:auto;line-height:13px;padding:0 4px;border:1px solid #aebfcb;background:#e8eef3;color:#4c6474}.studio .blk.seg img{display:block;position:absolute;left:0;top:0;width:100%;height:39px;object-fit:cover;pointer-events:none}.studio .blk.seg .segment-name{position:absolute;bottom:1px;left:4px;right:2px;font-size:9px;overflow:hidden;text-overflow:ellipsis}.studio .blk.seg.selected{border:2px solid var(--pc-accent);background:#fff0e2}.studio .blk.item{background:#eee8fa;color:#8c70a9;border:1px solid #d8c9ef;font-size:10px;top:5px;bottom:5px}.studio .lane.caption-lane .blk.item{background:#f5efdf;color:#8e7950;border-color:#e6dcc1}.studio .lane.caption-lane .blk.selected{border-color:var(--pc-accent)}.studio .blk.audio{background:#e7f2e9;color:#537b60;border:1px solid #b3d1bd;top:5px;bottom:5px;font-size:10px}.studio .blk.audio.wave-ready{color:transparent}.studio .blk.audio svg{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.studio .measure,.studio .lane.words-lane{display:none}.studio.show-analysis .measure,.studio.show-analysis .lane.words-lane{display:grid}.studio .band{z-index:2;opacity:.7}.studio .seg-grip{height:66px;top:2px}.studio .playhead{background:#292929;min-width:1px}.studio .selected{outline-color:var(--pc-accent)}\n.studio-footer{height:24px;background:var(--pc-surface-2);border-top:1px solid var(--pc-border);display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:10px;color:var(--pc-muted)}.studio-handle{position:absolute;z-index:15;touch-action:none}.studio-handle.vertical{width:5px;top:0;bottom:0;cursor:col-resize}.studio-handle.horizontal{height:5px;left:0;right:0;top:-3px;cursor:row-resize}.studio-handle:hover{background:var(--pc-accent);opacity:.35}.studio.focus-preview .main{grid-template-columns:64px 0 minmax(0,1fr) 0}.studio.focus-preview .studio-content,.studio.focus-preview .panel{visibility:hidden;padding:0;overflow:hidden}.studio.panel-code{--left-width:min(480px,35vw)}\n.studio-code-wrap{display:flex;flex-direction:column;gap:10px;height:100%;padding:14px}.studio-json{flex:1;min-height:240px;white-space:pre;overflow:auto;resize:none;width:100%;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace!important;border:1px solid var(--pc-border);border-radius:8px;background:var(--pc-surface-2);padding:12px;tab-size:2}.studio-code-status{font-size:11px;color:var(--pc-muted);overflow-wrap:anywhere}.studio-scrim{position:fixed;inset:0;background:#0003;z-index:80}.studio-export{position:fixed;right:0;top:0;bottom:0;width:440px;max-width:100vw;overflow:auto;padding:18px 22px;background:var(--pc-surface);z-index:81;box-shadow:-12px 0 40px #0002;display:flex;flex-direction:column;gap:18px}.studio-export-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--pc-border);padding-bottom:14px}.studio-export-fields{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;min-width:0}.studio-export-fields>.studio-field{display:grid;grid-template-columns:95px 1fr;align-items:center;gap:12px;font-size:13px}.studio-segments{display:flex;padding:3px;background:var(--pc-bg);border-radius:8px;gap:3px}.studio-segments button{flex:1;border:0;background:transparent;border-radius:6px;padding:7px}.studio-segments button.selected{background:var(--pc-surface);color:var(--pc-text)}.studio-resolutions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.studio-resolutions button{position:relative;padding:5px;min-width:0}.export-gem{color:var(--pc-accent);display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:15px;margin-left:3px}.studio-paid-info:empty{display:none}.studio-paid-info{border:1px solid #e9cfb8;background:var(--pc-accent-soft);border-radius:8px;padding:10px;font-size:11px}.studio-paid-info a{color:#df711e;margin-right:12px}.studio-paid-info p{color:var(--pc-text);margin-bottom:6px}.studio-check{display:flex;align-items:center;gap:8px;font-size:12px}.studio-check input{accent-color:var(--pc-accent)}.studio-export>progress{width:100%;accent-color:var(--pc-accent)}.studio-export-result{display:flex;gap:10px;flex-direction:column}.studio-export-result:empty{display:none}#studio-message{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);max-width:min(650px,85vw);padding:11px 16px;background:#292929;color:white;box-shadow:0 5px 20px #0003;border-radius:8px;z-index:100;opacity:0;pointer-events:none;font-size:12px}#studio-message.visible{opacity:1}\n.studio .sel-box.thin .h-n{top:-9px}.studio .sel-box.thin .h-s{top:calc(100% + 9px)}\n@media(max-width:1300px){:root{--left-width:238px;--right-width:272px}.studio-save{display:none}.studio-topbar{gap:6px}.studio-project{max-width:25%}.studio .transport .readout{font-size:10px}.studio .lanes{--label:140px}}\n@media(max-width:1000px){.studio .main{grid-template-columns:55px 225px minmax(150px,1fr)}.studio .main{grid-template-columns:52px 190px minmax(0,1fr) 240px}.studio .panel{position:static;width:auto;display:block}.studio-topbar .studio-btn:not(.primary){padding:4px}.studio-topbar .studio-project{max-width:18%}.studio .readout>span:first-child{display:none}}\n\n.studio-export{left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:26px 30px;border-radius:16px;box-shadow:0 20px 70px #0003;gap:24px}.studio-export-header{border:0;padding:0}.studio-export-header h2{font-size:24px}.studio-export-header button{border:0;font-size:24px;background:transparent}.export-tabs{padding:4px}.export-tabs button{font-size:17px;font-weight:600}.studio-export-fields{gap:18px}.studio-export-fields>.studio-field{grid-template-columns:135px 1fr;font-size:15px}.studio-export .studio-segments button{position:relative;min-height:36px;font-size:15px}.studio-export>.primary{width:100%;min-height:46px;background:#df7634;border-color:#d66b29;font-size:17px}.studio-export .studio-note{font-size:13px}.export-pro{position:absolute;right:-8px;top:-10px;font-size:10px;border-radius:4px;padding:2px 5px;background:#df7634;color:#fff}.studio-export details{font-size:13px;color:var(--pc-muted)}.studio-export details summary{cursor:pointer}.studio-export details p{margin-top:12px}.studio-export .studio-input{border:0;background:var(--pc-bg);min-height:40px;font-size:15px}@media(max-width:600px){.studio-export{padding:20px}.studio-export-fields>.studio-field{grid-template-columns:90px 1fr}}\n.studio-draft-success{width:min(560px,calc(100vw - 32px));gap:18px;padding:30px}.studio-draft-success .studio-export-header h2{font-size:22px}.studio-draft-success>.studio-note{font-size:15px;line-height:1.7;margin:0}.studio-draft-actions{display:flex;justify-content:flex-end;gap:10px}.studio-draft-actions .studio-btn{padding:11px 18px;border:0;background:var(--pc-bg);font-size:14px}.studio-draft-actions .primary{background:#df7634;color:white}.studio-draft-success [role=status]:empty{display:none}\n";
|
|
2
|
+
export declare const STUDIO_REFINEMENTS = "\n.studio .timeline-divider{height:20px;border-left:1px solid var(--pc-border);margin:0 5px}.studio .timeline-selection{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--pc-muted)}.studio .grip{z-index:8;opacity:0;width:9px}.studio .lane:has(.blk:hover) .grip,.studio .grip.selected{opacity:1;background:var(--pc-accent-soft);border:1px solid var(--pc-accent)}.studio .seg-grip{z-index:9;background:var(--pc-border);width:7px;margin-left:-7px}.studio .seg-grip:hover{background:var(--pc-accent)}.studio .blk.seg{display:flex;align-items:center;gap:6px;padding:4px 8px}.studio .blk.seg img{width:60px;height:38px;object-fit:cover;flex:none}.studio .segment-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio .scene-field{font-style:italic}.studio .stage-text-editor{position:absolute;z-index:30;min-height:50px;box-sizing:border-box;resize:vertical;border:2px solid var(--pc-accent);border-radius:3px;padding:4px;background:var(--pc-surface);color:var(--pc-text);font-weight:600;line-height:1.2;box-shadow:0 4px 18px #0002}.studio .panel .colour input[type=text]{min-width:86px}.studio .panel .fld.area textarea{height:64px}.studio .timeline .blk:focus-visible{outline:2px solid var(--pc-accent);outline-offset:2px}@media(max-width:1250px){.studio .timeline-selection{display:none}.studio-timeline-toolbar{gap:4px}.studio-timeline-toolbar .tbtn{padding:0 4px}.studio-timeline-toolbar .studio-btn{padding:4px 7px}}\n\n.studio #app{grid-template-rows:52px minmax(0,1fr) min(300px,36dvh) 24px;grid-template-rows:52px minmax(0,1fr) var(--timeline-height) 24px}\n.studio .main{overflow:hidden}.studio .panel{position:static;min-height:0;z-index:auto;scrollbar-gutter:stable}.studio .left{grid-column:3;grid-row:1}.studio .panel{grid-column:4;grid-row:1}.studio-rail{grid-column:1;grid-row:1}.studio-content{grid-column:2;grid-row:1;min-width:0;max-width:100%}\n.studio-topbar{justify-content:space-between;gap:12px}.studio-project{flex:1;max-width:none}.studio-global-actions{display:flex;gap:6px;align-items:center;margin-left:auto;flex:none}.studio-save{white-space:nowrap}.studio-topbar .primary{margin-left:8px}\n.studio-side-body,.studio-media-list,.studio-media-card,.studio-actions,.studio-shot-copy{min-width:0;max-width:100%}.studio-media-card>video,.studio-media-card>img,.studio-media-card>audio{display:block;min-width:0;max-width:100%;width:100%}.studio-media-card>video{aspect-ratio:16/10;height:132px}.studio-actions{display:grid;grid-template-columns:1fr;gap:6px}.studio-actions .studio-btn{white-space:normal;width:100%}.studio-media-card>strong{display:block;max-width:100%}.studio-resource-tabs{display:flex;gap:6px;padding:12px 14px 0}.studio-resource-tabs button{flex:1;font-size:12px}.studio-resource-tabs .selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}\n.studio .stage-area{min-width:0;overflow:hidden}.studio .viewer{flex:none}.studio .panel>h2,.studio .panel #selection>h2{display:none}.studio .panel .follow{display:none}.studio .panel .fs{border:0;border-top:1px solid var(--pc-border);padding:14px 0;margin:0 0 6px;min-width:0}.studio .panel .fs legend{font-size:12px;font-weight:600;padding:0 6px 0 0;color:var(--pc-text)}.studio .panel .row{gap:8px;margin:0 0 10px;flex-wrap:wrap}.studio .panel .fld{min-width:68px;flex:1}.studio .panel .fld.wide{flex-basis:100%}.studio .panel .fld input,.studio .panel .fld textarea,.studio .panel .fld select{min-width:0;width:100%;border-radius:7px;background:var(--pc-surface-2);border:1px solid var(--pc-border);padding:7px 8px;height:34px}.studio .panel .fld textarea{height:86px;line-height:1.7;resize:vertical}.studio .panel .fl{font-size:11px;margin-bottom:6px;color:var(--pc-muted)}.studio .panel .rv,.studio .panel .hint{display:none}.studio .panel details{padding:12px 0;border-top:1px solid var(--pc-border)}.studio .panel summary{cursor:pointer;color:var(--pc-muted);font-size:12px;margin-bottom:12px}.studio .sel-title{font-size:14px;font-weight:600;margin-bottom:14px}.studio .edit-status:has(#edit-status:empty){display:none}.studio .status-line:not(.bad){display:none}.studio .panel .chips{display:flex;flex-direction:column;gap:8px}.studio .panel .chip{padding:9px;text-align:left;border-radius:7px}\n.studio .timeline{overflow:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto}.studio .timeline::-webkit-scrollbar{width:11px;height:12px}.studio .timeline::-webkit-scrollbar-track{background:var(--pc-surface-2)}.studio .timeline::-webkit-scrollbar-thumb{background:#aaa9a1;border:3px solid var(--pc-surface-2);border-radius:8px}.studio .lanes{--label:112px;width:calc(100% * var(--timeline-zoom,1));min-width:100%;padding-bottom:20px}.studio .lane{grid-template-columns:var(--label) minmax(0,1fr)}.studio .lane-track{overflow:visible;min-width:0}.studio .lane-label{z-index:11;font-size:12px}.studio .lane.media-lane{height:44px}.studio .lane.caption-lane{height:38px}.studio .blk.item{padding:5px 6px;line-height:20px;cursor:pointer;z-index:3;min-width:3px}.studio .blk.audio{cursor:pointer;z-index:3}.studio .lane.caption-lane .blk.item{font-size:11px;line-height:18px;padding:3px 5px}.studio .blk.selected{outline:none;border:2px solid var(--pc-accent);box-shadow:0 0 0 1px var(--pc-surface);z-index:5}.studio .lane .shade{pointer-events:none;display:none}.studio .playhead-layer{pointer-events:none}.studio .ruler{z-index:15}.studio .lane.segments{height:62px;position:sticky;top:28px;z-index:12;background:var(--pc-surface)}.studio .playhead-layer{z-index:14}.studio .blk.seg{height:50px;cursor:pointer}.studio .blk.seg img{height:30px}.studio .seg-grip{height:58px}.studio-timeline-toolbar{height:42px;min-width:0}.studio-timeline-toolbar .edit-tools{border-right:1px solid var(--pc-border);padding-right:8px}.studio-timeline-toolbar #edit-split{min-height:28px}.studio-timeline-toolbar .tbtn{width:auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px}.studio-timeline-toolbar .studio-btn{font-size:11px}.studio .edit-tools .tool-group:last-child{display:none}\n.studio-export{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:22px 24px;gap:18px}.studio-export-header h2{font-size:19px}.studio-export .studio-segments button{font-size:13px;min-height:32px}.studio-export .export-tabs button{font-size:14px}.studio-export-fields{gap:15px}.studio-export-fields>.studio-field{grid-template-columns:80px minmax(0,1fr);font-size:12px}.studio-export .studio-input{min-height:34px;font-size:13px}.studio-export>.primary{min-height:38px;font-size:14px}.studio-export .studio-note{font-size:12px}.studio-paid-info{line-height:1.7}.studio-paid-info p{margin:0 0 7px}.studio-paid-info .studio-btn{font-size:12px}.studio-export-result{font-size:12px}.studio-export-result a{color:var(--pc-accent)}.studio-slot-outline{position:absolute;border:2px solid var(--pc-accent);pointer-events:none;z-index:4}.studio-slot-name{position:absolute;left:-2px;bottom:100%;padding:3px 7px;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--pc-accent);color:white;font-size:11px}.studio-slot-preview{max-width:100%;max-height:160px;object-fit:contain;border-radius:8px}.studio-cloud{max-width:180px;font-size:12px}.studio-element-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}\n@media(max-width:1100px){.studio .main{grid-template-columns:52px 208px minmax(0,1fr) 246px}.studio .panel{display:block;position:static;width:auto}.studio-global-actions{gap:3px}.studio-topbar .studio-btn{padding:5px 7px}.studio-project{max-width:140px}.studio .main>.studio-handle.vertical{display:none}}\n@media(max-width:820px){.studio .main{grid-template-columns:48px 0 minmax(0,1fr) 220px}.studio-content{visibility:hidden}.studio-topbar{gap:6px;padding:0 10px}.studio-brand{font-size:20px}.studio-project{display:none}.studio .lanes{--label:88px}.studio-timeline-toolbar{gap:5px;padding:0 8px}.studio-timeline-toolbar input[type=range]{width:70px}}\n\n.studio:not(.inspecting) .main{grid-template-columns:64px var(--left-width) minmax(0,1fr) 0}.studio:not(.inspecting) .panel,.studio:not(.inspecting) .inspector-resize{display:none}.studio-sentence.selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}.studio-item.selected{border-color:var(--pc-accent);background:var(--pc-accent-soft)}\n@media(max-width:1100px){.studio:not(.inspecting) .main{grid-template-columns:52px 208px minmax(0,1fr) 0}}@media(max-width:820px){.studio:not(.inspecting) .main{grid-template-columns:48px 0 minmax(0,1fr) 0}}\n\n.studio-cloud{position:relative;display:flex;align-items:center;gap:7px;max-width:310px;min-width:0}.studio-cloud-state{font-size:12px;max-width:185px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-cloud-state.bad{color:var(--err)}.studio-cloud-link{position:absolute;right:0;top:calc(100% + 10px);z-index:90;width:min(420px,calc(100vw - 32px));border:1px solid var(--pc-border);border-radius:8px;padding:12px;background:var(--pc-surface);color:var(--pc-text);box-shadow:0 6px 25px #0002;font-size:12px}.studio-cloud[hidden]{display:none}\n.studio.focus-preview:not(.inspecting) .main{grid-template-columns:64px 0 minmax(0,1fr) 0}\n.studio-topbar .studio-icon-btn{width:34px;height:34px;min-width:34px;padding:0;border:0;background:transparent;color:var(--pc-text);border-radius:6px;flex:none}.studio-topbar .studio-icon-btn svg{width:18px;height:18px}.studio-topbar .studio-icon-btn:hover{background:var(--pc-hover)}.studio-topbar .studio-icon-btn.selected,.studio-topbar .studio-icon-btn[aria-pressed=true]{background:var(--pc-accent-soft);color:var(--pc-accent)}.studio-topbar .studio-icon-btn:focus-visible{outline:2px solid var(--pc-accent);outline-offset:2px}.studio-topbar .studio-icon-btn:disabled{opacity:.4;cursor:default}\n";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { type IconName } from '../dom';
|
|
1
2
|
import type { Store } from '../app';
|
|
2
3
|
export declare const button: (text: string, run: () => void, cls?: string) => HTMLButtonElement;
|
|
4
|
+
export declare const iconButton: (label: string, image: IconName, run: () => void) => HTMLButtonElement;
|
|
3
5
|
export declare const title: (text: string, sub?: string) => HTMLElement;
|
|
4
6
|
export declare const note: (text: string, cls?: string) => HTMLElement;
|
|
5
7
|
export declare const fileUrl: (file: string) => string;
|