allyhub 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-version.js +2 -0
- package/dist/commands/add.js +5 -5
- package/dist/commands/auth.js +4 -4
- package/dist/commands/cloud-tools.js +9 -10
- package/dist/commands/dev.js +2 -2
- package/dist/commands/doctor.js +4 -4
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames.js +6 -6
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/contrast.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/model.js +1 -1
- package/dist/commands/orgs.js +2 -2
- package/dist/commands/render.js +2 -2
- package/dist/commands/sheet.js +2 -2
- package/dist/commands/skills.js +3 -3
- package/dist/commands/slides.js +3 -0
- package/dist/main.js +7 -7
- package/dist/text/facts-text.js +5 -5
- package/dist/text/format.js +2 -2
- package/dist/works.js +1 -1
- package/editor-web/assets/browser-B31cR_c2.js +105 -0
- package/editor-web/assets/dist-6TNEuNMX.js +4 -0
- package/editor-web/assets/dist-Cm2TIjW5.js +2 -0
- package/editor-web/assets/dist-Cpt0p8bX.js +6 -0
- package/editor-web/assets/dist-D2GccKEJ.js +1 -0
- package/editor-web/assets/dist-Z0zvYXmu.js +233 -0
- package/editor-web/assets/dist-fs4ONrUV.js +32 -0
- package/editor-web/assets/index-CAcsAZ9u.js +70 -0
- package/editor-web/assets/index-DlcJckhO.css +2 -0
- package/editor-web/assets/list-D2v7U8K8.js +1 -0
- package/editor-web/assets/react-D0RmGe2w.js +101 -0
- package/editor-web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/editor-web/assets/text-align-start-B3k2cx5f.js +1 -0
- package/editor-web/assets/undo-2-Ecr7-Obc.js +1 -0
- package/editor-web/index.html +4 -4
- package/node_modules/@allyhub-next/audio/package.json +1 -1
- package/node_modules/@allyhub-next/browser/package.json +1 -1
- package/node_modules/@allyhub-next/build/dist/data.js +1 -1
- package/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +10 -0
- package/node_modules/@allyhub-next/build/dist/meta-worker.js +2 -2
- package/node_modules/@allyhub-next/build/dist/model-info.js +2 -1
- package/node_modules/@allyhub-next/build/dist/plugin.d.ts +2 -0
- package/node_modules/@allyhub-next/build/dist/plugin.js +9 -8
- package/node_modules/@allyhub-next/build/dist/prepare.d.ts +13 -1
- package/node_modules/@allyhub-next/build/dist/prepare.js +2 -2
- package/node_modules/@allyhub-next/build/dist/scan.d.ts +1 -1
- package/node_modules/@allyhub-next/build/dist/scan.js +1 -1
- package/node_modules/@allyhub-next/build/dist/types.js +3 -3
- package/node_modules/@allyhub-next/build/package.json +1 -1
- package/node_modules/@allyhub-next/check/dist/check.js +3 -3
- package/node_modules/@allyhub-next/check/dist/generated.d.ts +1 -1
- package/node_modules/@allyhub-next/check/package.json +1 -1
- package/node_modules/@allyhub-next/cloud/dist/index.js +1 -1
- package/node_modules/@allyhub-next/cloud/dist/signin.js +2 -2
- package/node_modules/@allyhub-next/cloud/dist/token.js +1 -1
- package/node_modules/@allyhub-next/cloud/package.json +1 -1
- package/node_modules/@allyhub-next/components/package.json +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/card.d.ts +2 -11
- package/node_modules/@allyhub-next/dev-server/dist/card.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/exports.d.ts +2 -2
- package/node_modules/@allyhub-next/dev-server/dist/exports.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/index.d.ts +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/index.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/live.d.ts +3 -0
- package/node_modules/@allyhub-next/dev-server/dist/live.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/project.d.ts +3 -0
- package/node_modules/@allyhub-next/dev-server/dist/project.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/reveal.d.ts +6 -0
- package/node_modules/@allyhub-next/dev-server/dist/reveal.js +2 -0
- package/node_modules/@allyhub-next/dev-server/dist/server.js +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/stage.d.ts +2 -0
- package/node_modules/@allyhub-next/dev-server/dist/stage.js +22 -2
- package/node_modules/@allyhub-next/dev-server/dist/tools.d.ts +2 -0
- package/node_modules/@allyhub-next/dev-server/dist/tools.js +1 -1
- package/node_modules/@allyhub-next/dev-server/package.json +1 -1
- package/node_modules/@allyhub-next/doc/dist/docx.d.ts +28 -0
- package/node_modules/@allyhub-next/doc/dist/docx.js +4 -0
- package/node_modules/@allyhub-next/doc/dist/html.d.ts +3 -0
- package/node_modules/@allyhub-next/doc/dist/html.js +1 -1
- package/node_modules/@allyhub-next/doc/package.json +5 -1
- package/node_modules/@allyhub-next/export/dist/deck-fonts.d.ts +24 -0
- package/node_modules/@allyhub-next/export/dist/deck-fonts.js +2 -0
- package/node_modules/@allyhub-next/export/dist/deck-pptx.d.ts +12 -0
- package/node_modules/@allyhub-next/export/dist/deck-pptx.js +2 -0
- package/node_modules/@allyhub-next/export/dist/export.d.ts +17 -5
- package/node_modules/@allyhub-next/export/dist/export.js +2 -2
- package/node_modules/@allyhub-next/export/dist/index.d.ts +1 -0
- package/node_modules/@allyhub-next/export/dist/index.js +1 -1
- package/node_modules/@allyhub-next/export/dist/names.d.ts +11 -6
- package/node_modules/@allyhub-next/export/dist/names.js +1 -1
- package/node_modules/@allyhub-next/export/package.json +1 -1
- package/node_modules/@allyhub-next/formats/dist/data/script.d.ts +22 -0
- package/node_modules/@allyhub-next/formats/dist/data/script.js +1 -1
- package/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1494 -0
- package/node_modules/@allyhub-next/formats/dist/data/slides.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/index.d.ts +2 -0
- package/node_modules/@allyhub-next/formats/dist/index.js +1 -1
- package/node_modules/@allyhub-next/formats/dist/items.d.ts +26 -0
- package/node_modules/@allyhub-next/formats/dist/items.js +1 -1
- package/node_modules/@allyhub-next/formats/dist/layout.d.ts +2 -0
- package/node_modules/@allyhub-next/formats/dist/layout.js +1 -1
- package/node_modules/@allyhub-next/formats/dist/note-shape.d.ts +39 -0
- package/node_modules/@allyhub-next/formats/dist/note-shape.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +418 -0
- package/node_modules/@allyhub-next/formats/dist/schemas.js +1 -1
- package/node_modules/@allyhub-next/formats/package.json +1 -1
- package/node_modules/@allyhub-next/measure/dist/index.d.ts +1 -1
- package/node_modules/@allyhub-next/measure/dist/index.js +1 -1
- package/node_modules/@allyhub-next/measure/dist/overlay.d.ts +14 -1
- package/node_modules/@allyhub-next/measure/dist/overlay.js +1 -1
- package/node_modules/@allyhub-next/measure/package.json +1 -1
- package/node_modules/@allyhub-next/media/dist/asr/parakeet.d.ts +1 -4
- package/node_modules/@allyhub-next/media/dist/asr/parakeet.js +4 -4
- package/node_modules/@allyhub-next/media/dist/asr/transcribe.d.ts +1 -1
- package/node_modules/@allyhub-next/media/dist/asr/transcribe.js +1 -1
- package/node_modules/@allyhub-next/media/dist/grid.d.ts +3 -3
- package/node_modules/@allyhub-next/media/dist/grid.js +5 -5
- package/node_modules/@allyhub-next/media/dist/local.d.ts +3 -0
- package/node_modules/@allyhub-next/media/dist/local.js +1 -1
- package/node_modules/@allyhub-next/media/dist/ocr/tesseract.d.ts +8 -2
- package/node_modules/@allyhub-next/media/dist/ocr/tesseract.js +1 -1
- package/node_modules/@allyhub-next/media/dist/ocr/text.js +3 -3
- package/node_modules/@allyhub-next/media/dist/ocr/worker.js +1 -1
- package/node_modules/@allyhub-next/media/dist/sheet.js +3 -3
- package/node_modules/@allyhub-next/media/dist/tools.d.ts +11 -1
- package/node_modules/@allyhub-next/media/dist/tools.js +1 -1
- package/node_modules/@allyhub-next/media/dist/vision/faces.js +1 -1
- package/node_modules/@allyhub-next/media/dist/vision/matte.js +1 -1
- package/node_modules/@allyhub-next/media/dist/vision/runtime.d.ts +1 -1
- package/node_modules/@allyhub-next/media/dist/vision/runtime.js +2 -2
- package/node_modules/@allyhub-next/media/dist/worker-process.d.ts +1 -1
- package/node_modules/@allyhub-next/media/dist/worker-process.js +1 -1
- package/node_modules/@allyhub-next/media/package.json +1 -1
- package/node_modules/@allyhub-next/model/dist/build-job.d.ts +2 -0
- package/node_modules/@allyhub-next/model/dist/build-worker.js +1 -1
- package/node_modules/@allyhub-next/model/dist/build.d.ts +10 -0
- package/node_modules/@allyhub-next/model/dist/build.js +2 -1
- package/node_modules/@allyhub-next/model/dist/report.d.ts +1 -1
- package/node_modules/@allyhub-next/model/package.json +1 -1
- package/node_modules/@allyhub-next/project/dist/digest.d.ts +1 -3
- package/node_modules/@allyhub-next/project/dist/digest.js +1 -1
- package/node_modules/@allyhub-next/project/dist/page.d.ts +0 -5
- package/node_modules/@allyhub-next/project/dist/page.js +2 -2
- package/node_modules/@allyhub-next/project/dist/session.js +1 -1
- package/node_modules/@allyhub-next/project/package.json +1 -1
- package/node_modules/@allyhub-next/protocol/dist/app.d.ts +1 -62
- package/node_modules/@allyhub-next/protocol/dist/app.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/auth.d.ts +17 -17
- package/node_modules/@allyhub-next/protocol/dist/auth.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/cli.d.ts +1 -5
- package/node_modules/@allyhub-next/protocol/dist/cli.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/editor.d.ts +13 -26
- package/node_modules/@allyhub-next/protocol/dist/editor.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/index.d.ts +1 -0
- package/node_modules/@allyhub-next/protocol/dist/index.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/notes.d.ts +163 -0
- package/node_modules/@allyhub-next/protocol/dist/notes.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/registry.d.ts +4 -2
- package/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/routes.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/runtimes.d.ts +3 -0
- package/node_modules/@allyhub-next/protocol/dist/runtimes.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/tools.d.ts +38 -0
- package/node_modules/@allyhub-next/protocol/dist/tools.js +1 -1
- package/node_modules/@allyhub-next/protocol/package.json +1 -1
- package/node_modules/@allyhub-next/registry/dist/registry.js +1 -1
- package/node_modules/@allyhub-next/registry/package.json +1 -1
- package/node_modules/@allyhub-next/render/dist/doc/index.d.ts +1 -1
- package/node_modules/@allyhub-next/render/dist/doc/index.js +1 -1
- package/node_modules/@allyhub-next/render/dist/doc/print.d.ts +11 -0
- package/node_modules/@allyhub-next/render/dist/doc/print.js +17 -1
- package/node_modules/@allyhub-next/render/dist/exports.d.ts +29 -4
- package/node_modules/@allyhub-next/render/dist/exports.js +2 -2
- package/node_modules/@allyhub-next/render/dist/page.d.ts +11 -1
- package/node_modules/@allyhub-next/render/dist/render.d.ts +2 -0
- package/node_modules/@allyhub-next/render/dist/render.js +2 -2
- package/node_modules/@allyhub-next/render/package.json +1 -1
- package/node_modules/@allyhub-next/runtime/LICENSE +241 -0
- package/node_modules/@allyhub-next/runtime/dist/bridge.d.ts +13 -3
- package/node_modules/@allyhub-next/runtime/dist/clock.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/env.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/facade.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/footage.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/frame.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/index.d.ts +2 -0
- package/node_modules/@allyhub-next/runtime/dist/index.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/locate.d.ts +11 -0
- package/node_modules/@allyhub-next/runtime/dist/locate.js +2 -0
- package/node_modules/@allyhub-next/runtime/dist/measure.d.ts +2 -1
- package/node_modules/@allyhub-next/runtime/dist/measure.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/music.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/output.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/piece.d.ts +5 -9
- package/node_modules/@allyhub-next/runtime/dist/piece.js +2 -2
- package/node_modules/@allyhub-next/runtime/dist/player/player.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/reads.d.ts +2 -0
- package/node_modules/@allyhub-next/runtime/dist/reads.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/sound.js +1 -1
- package/node_modules/@allyhub-next/runtime/dist/stage-kit.d.ts +12 -0
- package/node_modules/@allyhub-next/runtime/dist/stage-kit.js +2 -0
- package/node_modules/@allyhub-next/runtime/package.json +5 -6
- package/node_modules/@allyhub-next/runtimes/dist/errors.d.ts +5 -1
- package/node_modules/@allyhub-next/runtimes/dist/index.d.ts +1 -0
- package/node_modules/@allyhub-next/runtimes/dist/index.js +1 -1
- package/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +3 -0
- package/node_modules/@allyhub-next/runtimes/dist/node-program.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +65 -0
- package/node_modules/@allyhub-next/runtimes/dist/packages.js +4 -0
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +2 -2
- package/node_modules/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
- package/node_modules/@allyhub-next/runtimes/dist/unpack.js +1 -1
- package/node_modules/@allyhub-next/runtimes/package.json +5 -1
- package/node_modules/@allyhub-next/runtimes/pins/docx/package-lock.json +67 -0
- package/node_modules/@allyhub-next/runtimes/pins/docx/package.json +9 -0
- package/node_modules/@allyhub-next/runtimes/pins/exceljs/package-lock.json +2533 -0
- package/node_modules/@allyhub-next/runtimes/pins/exceljs/package.json +8 -0
- package/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package-lock.json +753 -0
- package/node_modules/@allyhub-next/runtimes/pins/gltf-tools/package.json +14 -0
- package/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package-lock.json +950 -0
- package/node_modules/@allyhub-next/runtimes/pins/manifold-3d/package.json +8 -0
- package/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +227 -0
- package/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +8 -0
- package/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +105 -0
- package/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +8 -0
- package/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +128 -0
- package/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +9 -0
- package/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +5 -24
- package/node_modules/@allyhub-next/scaffold/dist/index.js +5 -5
- package/node_modules/@allyhub-next/scaffold/package.json +1 -1
- package/node_modules/@allyhub-next/scenery/package.json +1 -1
- package/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +3 -2
- package/node_modules/@allyhub-next/scenery-host/dist/bundle.js +3 -3
- package/node_modules/@allyhub-next/scenery-host/dist/model-stage.d.ts +32 -0
- package/node_modules/@allyhub-next/scenery-host/dist/model-stage.js +3 -0
- package/node_modules/@allyhub-next/scenery-host/dist/viewer.d.ts +11 -0
- package/node_modules/@allyhub-next/scenery-host/dist/viewer.js +1 -1
- package/node_modules/@allyhub-next/scenery-host/package.json +1 -1
- package/node_modules/@allyhub-next/sheet/package.json +1 -1
- package/node_modules/@allyhub-next/site/dist/media.js +2 -2
- package/node_modules/@allyhub-next/site/package.json +1 -1
- package/node_modules/@allyhub-next/slides-core/LICENSE +241 -0
- package/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +129 -0
- package/node_modules/@allyhub-next/slides-core/dist/animation.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/api.d.ts +649 -0
- package/node_modules/@allyhub-next/slides-core/dist/api.js +4 -0
- package/node_modules/@allyhub-next/slides-core/dist/capabilities.d.ts +18 -0
- package/node_modules/@allyhub-next/slides-core/dist/capabilities.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +165 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart-api.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +11 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart-file.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart.d.ts +184 -0
- package/node_modules/@allyhub-next/slides-core/dist/chart.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/check.d.ts +7 -0
- package/node_modules/@allyhub-next/slides-core/dist/check.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +146 -0
- package/node_modules/@allyhub-next/slides-core/dist/enums.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/file.d.ts +109 -0
- package/node_modules/@allyhub-next/slides-core/dist/file.js +4 -0
- package/node_modules/@allyhub-next/slides-core/dist/index.d.ts +21 -0
- package/node_modules/@allyhub-next/slides-core/dist/index.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +34 -0
- package/node_modules/@allyhub-next/slides-core/dist/measure.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/model.d.ts +278 -0
- package/node_modules/@allyhub-next/slides-core/dist/model.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/office.d.ts +58 -0
- package/node_modules/@allyhub-next/slides-core/dist/office.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/path.d.ts +6 -0
- package/node_modules/@allyhub-next/slides-core/dist/path.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/placeholders.d.ts +7 -0
- package/node_modules/@allyhub-next/slides-core/dist/placeholders.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +181 -0
- package/node_modules/@allyhub-next/slides-core/dist/resolve.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/script.d.ts +43 -0
- package/node_modules/@allyhub-next/slides-core/dist/script.js +3 -0
- package/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +63 -0
- package/node_modules/@allyhub-next/slides-core/dist/stage.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +23 -0
- package/node_modules/@allyhub-next/slides-core/dist/strict.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +72 -0
- package/node_modules/@allyhub-next/slides-core/dist/theme.js +2 -0
- package/node_modules/@allyhub-next/slides-core/dist/units.d.ts +35 -0
- package/node_modules/@allyhub-next/slides-core/dist/units.js +2 -0
- package/node_modules/@allyhub-next/slides-core/package.json +14 -0
- package/node_modules/@allyhub-next/slides-pptx/LICENSE +241 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/charts.d.ts +6 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/charts.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/fonts.d.ts +45 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/fonts.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/import.d.ts +18 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/import.js +3 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/index.d.ts +5 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/index.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/read.d.ts +55 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/read.js +4 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/shapes.d.ts +67 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/shapes.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/text.d.ts +21 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/text.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/theme.d.ts +4 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/theme.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/timing.d.ts +32 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/timing.js +2 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/write.d.ts +32 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/write.js +3 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/xml.d.ts +26 -0
- package/node_modules/@allyhub-next/slides-pptx/dist/xml.js +3 -0
- package/node_modules/@allyhub-next/slides-pptx/package.json +14 -0
- package/node_modules/@allyhub-next/slides-runtime/LICENSE +241 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/draw.d.ts +40 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/draw.js +3 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/edit.d.ts +4 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/edit.js +2 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/index.d.ts +4 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/index.js +2 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/ink.d.ts +10 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/ink.js +2 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/load.d.ts +6 -0
- package/node_modules/@allyhub-next/slides-runtime/dist/load.js +6 -0
- package/node_modules/@allyhub-next/slides-runtime/package.json +14 -0
- package/node_modules/@allyhub-next/stage/dist/graphics.js +1 -1
- package/node_modules/@allyhub-next/stage/dist/identity.js +1 -1
- package/node_modules/@allyhub-next/stage/dist/page.d.ts +9 -0
- package/node_modules/@allyhub-next/stage/dist/page.js +12 -2
- package/node_modules/@allyhub-next/stage/dist/server.js +1 -1
- package/node_modules/@allyhub-next/stage/package.json +1 -1
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/400-italic.css +79 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/400.css +79 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/700-italic.css +79 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/700.css +79 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/LICENSE +93 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/arial.css +316 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-cyrillic-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-greek-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-hebrew-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-hebrew-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-hebrew-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-hebrew-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-latin-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-vietnamese-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-vietnamese-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-vietnamese-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/arimo/files/arimo-vietnamese-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/400-italic.css +69 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/400.css +69 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/700-italic.css +69 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/700.css +69 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/LICENSE +93 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/calibri.css +276 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-cyrillic-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-greek-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-ext-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-ext-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-ext-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-latin-ext-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-vietnamese-400-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-vietnamese-400-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-vietnamese-700-italic.woff2 +0 -0
- package/node_modules/@allyhub-next/stage-page/dist/fonts/carlito/files/carlito-vietnamese-700-normal.woff2 +0 -0
- package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/400.css +1 -1
- package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/700.css +1 -1
- package/node_modules/@allyhub-next/stage-page/dist/fonts/noto-sans-sc/microsoft-yahei.css +2018 -0
- package/node_modules/@allyhub-next/stage-page/dist/host.js +21 -0
- package/node_modules/@allyhub-next/stage-page/dist/page.js +79 -0
- package/node_modules/@allyhub-next/stage-page/package.json +14 -0
- package/node_modules/@allyhub-next/video-core/dist/export.d.ts +6 -5
- package/node_modules/@allyhub-next/video-core/dist/export.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/fact.d.ts +173 -4
- package/node_modules/@allyhub-next/video-core/dist/fact.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/formats.d.ts +6 -13
- package/node_modules/@allyhub-next/video-core/dist/formats.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -1
- package/node_modules/@allyhub-next/video-core/dist/index.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/measure.d.ts +83 -0
- package/node_modules/@allyhub-next/video-core/dist/piece.d.ts +8 -9
- package/node_modules/@allyhub-next/video-core/dist/piece.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/problem.d.ts +9 -1
- package/node_modules/@allyhub-next/video-core/dist/problem.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -2
- package/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +4 -0
- package/node_modules/@allyhub-next/video-core/dist/script.d.ts +8 -0
- package/node_modules/@allyhub-next/video-core/dist/script.js +1 -1
- package/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +34 -1
- package/node_modules/@allyhub-next/video-core/package.json +1 -1
- package/package.json +48 -41
- package/dist/commands/mcp-app.js +0 -3
- package/dist/commands/mcp-docs.js +0 -2
- package/dist/commands/mcp.js +0 -2
- package/editor-app/view.html +0 -128
- package/editor-web/assets/chevron-left-D1vfOP5S.js +0 -1
- package/editor-web/assets/chevron-up-BMNXDEBs.js +0 -1
- package/editor-web/assets/dist-B4VKfY-H.js +0 -136
- package/editor-web/assets/dist-BIEloJVS.js +0 -8
- package/editor-web/assets/dist-BcInw4os.js +0 -232
- package/editor-web/assets/dist-Coblfc3T.js +0 -1
- package/editor-web/assets/floating-ui.react-dom-DSyn5TRd.js +0 -1
- package/editor-web/assets/index-BSFR4plz.css +0 -2
- package/editor-web/assets/index-Dc8FX_sp.js +0 -56
- package/editor-web/assets/react-Bo429Bov.js +0 -61
- package/editor-web/assets/undo-2-CWgOKQ3L.js +0 -1
- package/node_modules/@allyhub-next/runtime/dist/host.js +0 -21
- package/node_modules/@allyhub-next/runtime/dist/page.js +0 -72
- package/node_modules/@allyhub-next/runtime/dist/paged.d.ts +0 -16
- package/node_modules/@allyhub-next/runtime/dist/paged.js +0 -2
- package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +0 -37
- package/node_modules/@allyhub-next/video-core/dist/slides.js +0 -2
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-color-emoji/LICENSE +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-color-emoji/emoji.css +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-color-emoji/files/noto-color-emoji-emoji-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/LICENSE +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-100-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-100-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-101-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-101-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-102-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-102-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-103-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-103-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-104-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-104-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-105-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-105-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-106-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-106-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-107-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-107-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-108-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-108-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-109-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-109-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-110-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-110-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-111-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-111-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-112-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-112-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-113-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-113-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-114-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-114-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-115-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-115-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-116-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-116-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-117-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-117-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-118-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-118-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-119-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-119-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-21-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-21-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-22-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-22-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-23-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-23-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-24-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-24-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-25-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-25-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-26-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-26-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-27-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-27-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-28-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-28-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-29-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-29-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-30-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-30-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-31-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-31-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-32-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-32-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-33-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-33-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-34-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-34-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-35-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-35-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-36-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-36-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-37-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-37-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-38-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-38-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-39-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-39-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-4-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-4-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-40-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-40-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-41-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-41-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-42-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-42-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-43-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-43-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-44-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-44-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-45-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-45-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-46-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-46-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-47-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-47-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-48-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-48-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-49-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-49-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-5-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-5-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-50-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-50-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-51-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-51-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-52-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-52-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-53-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-53-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-54-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-54-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-55-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-55-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-56-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-56-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-57-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-57-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-58-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-58-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-59-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-59-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-6-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-6-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-60-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-60-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-61-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-61-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-62-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-62-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-63-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-63-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-64-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-64-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-65-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-65-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-66-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-66-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-67-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-67-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-68-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-68-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-69-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-69-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-70-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-70-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-71-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-71-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-72-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-72-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-73-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-73-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-74-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-74-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-75-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-75-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-76-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-76-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-77-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-77-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-78-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-78-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-79-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-79-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-80-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-80-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-81-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-81-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-82-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-82-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-83-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-83-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-84-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-84-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-85-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-85-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-86-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-86-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-87-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-87-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-88-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-88-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-89-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-89-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-90-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-90-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-91-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-91-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-97-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-97-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-98-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-98-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-99-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-99-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-cyrillic-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-cyrillic-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-ext-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-latin-ext-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-vietnamese-400-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/fonts/noto-sans-sc/files/noto-sans-sc-vietnamese-700-normal.woff2 +0 -0
- /package/node_modules/@allyhub-next/{runtime → stage-page}/dist/host.d.ts +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
AllyHub Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software (the AllyHub command-line tool, its SDK, runtime and the
|
|
6
|
+
packages they depend on) is proprietary. It is not open source.
|
|
7
|
+
|
|
8
|
+
1. Permitted use. You may install and run the software, unmodified, to make,
|
|
9
|
+
check, preview and render videos and decks, including for commercial
|
|
10
|
+
purposes. What you make with it is yours.
|
|
11
|
+
|
|
12
|
+
2. Restrictions. Except as this license permits or applicable law requires,
|
|
13
|
+
you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
|
|
14
|
+
publish or otherwise distribute the software, create derivative works of
|
|
15
|
+
it, or reverse engineer, decompile or disassemble it.
|
|
16
|
+
|
|
17
|
+
3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
|
|
18
|
+
video) are separate services governed by AllyHub's terms of service.
|
|
19
|
+
|
|
20
|
+
4. Trademarks. This license grants no right to use the name "AllyHub" or its
|
|
21
|
+
logos.
|
|
22
|
+
|
|
23
|
+
5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
24
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
26
|
+
ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
28
|
+
|
|
29
|
+
6. Third-party code. Parts of the software are adapted from HyperFrames,
|
|
30
|
+
licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
|
|
31
|
+
remain under that license, reproduced below, and nothing in this license
|
|
32
|
+
limits your rights under it.
|
|
33
|
+
|
|
34
|
+
7. Starter components. The starter components in the "components" folder,
|
|
35
|
+
which "allyhub add" copies into your workspace, are licensed under the MIT
|
|
36
|
+
License (see components/LICENSE): once copied, you may change, use and
|
|
37
|
+
share them freely.
|
|
38
|
+
|
|
39
|
+
--------------------------------------------------------------------------------
|
|
40
|
+
|
|
41
|
+
Apache License
|
|
42
|
+
Version 2.0, January 2004
|
|
43
|
+
http://www.apache.org/licenses/
|
|
44
|
+
|
|
45
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
46
|
+
|
|
47
|
+
1. Definitions.
|
|
48
|
+
|
|
49
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
50
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
51
|
+
|
|
52
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
53
|
+
the copyright owner that is granting the License.
|
|
54
|
+
|
|
55
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
56
|
+
other entities that control, are controlled by, or are under common
|
|
57
|
+
control with that entity. For the purposes of this definition,
|
|
58
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
59
|
+
direction or management of such entity, whether by contract or
|
|
60
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
61
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
62
|
+
|
|
63
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
64
|
+
exercising permissions granted by this License.
|
|
65
|
+
|
|
66
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
67
|
+
including but not limited to software source code, documentation
|
|
68
|
+
source, and configuration files.
|
|
69
|
+
|
|
70
|
+
"Object" form shall mean any form resulting from mechanical
|
|
71
|
+
transformation or translation of a Source form, including but
|
|
72
|
+
not limited to compiled object code, generated documentation,
|
|
73
|
+
and conversions to other media types.
|
|
74
|
+
|
|
75
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
76
|
+
Object form, made available under the License, as indicated by a
|
|
77
|
+
copyright notice that is included in or attached to the work
|
|
78
|
+
(an example is provided in the Appendix below).
|
|
79
|
+
|
|
80
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
81
|
+
form, that is based on (or derived from) the Work and for which the
|
|
82
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
83
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
84
|
+
of this License, Derivative Works shall not include works that remain
|
|
85
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
86
|
+
the Work and Derivative Works thereof.
|
|
87
|
+
|
|
88
|
+
"Contribution" shall mean any work of authorship, including
|
|
89
|
+
the original version of the Work and any modifications or additions
|
|
90
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
91
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
92
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
93
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
94
|
+
means any form of electronic, verbal, or written communication sent
|
|
95
|
+
to the Licensor or its representatives, including but not limited to
|
|
96
|
+
communication on electronic mailing lists, source code control systems,
|
|
97
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
98
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
99
|
+
excluding communication that is conspicuously marked or otherwise
|
|
100
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
101
|
+
|
|
102
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
103
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
104
|
+
subsequently incorporated within the Work.
|
|
105
|
+
|
|
106
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
107
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
108
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
109
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
110
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
111
|
+
Work and such Derivative Works in Source or Object form.
|
|
112
|
+
|
|
113
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
114
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
115
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
116
|
+
(except as stated in this section) patent license to make, have made,
|
|
117
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
118
|
+
where such license applies only to those patent claims licensable
|
|
119
|
+
by such Contributor that are necessarily infringed by their
|
|
120
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
121
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
122
|
+
institute patent litigation against any entity (including a
|
|
123
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
124
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
125
|
+
or contributory patent infringement, then any patent licenses
|
|
126
|
+
granted to You under this License for that Work shall terminate
|
|
127
|
+
as of the date such litigation is filed.
|
|
128
|
+
|
|
129
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
130
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
131
|
+
modifications, and in Source or Object form, provided that You
|
|
132
|
+
meet the following conditions:
|
|
133
|
+
|
|
134
|
+
(a) You must give any other recipients of the Work or
|
|
135
|
+
Derivative Works a copy of this License; and
|
|
136
|
+
|
|
137
|
+
(b) You must cause any modified files to carry prominent notices
|
|
138
|
+
stating that You changed the files; and
|
|
139
|
+
|
|
140
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
141
|
+
that You distribute, all copyright, patent, trademark, and
|
|
142
|
+
attribution notices from the Source form of the Work,
|
|
143
|
+
excluding those notices that do not pertain to any part of
|
|
144
|
+
the Derivative Works; and
|
|
145
|
+
|
|
146
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
147
|
+
distribution, then any Derivative Works that You distribute must
|
|
148
|
+
include a readable copy of the attribution notices contained
|
|
149
|
+
within such NOTICE file, excluding those notices that do not
|
|
150
|
+
pertain to any part of the Derivative Works, in at least one
|
|
151
|
+
of the following places: within a NOTICE text file distributed
|
|
152
|
+
as part of the Derivative Works; within the Source form or
|
|
153
|
+
documentation, if provided along with the Derivative Works; or,
|
|
154
|
+
within a display generated by the Derivative Works, if and
|
|
155
|
+
wherever such third-party notices normally appear. The contents
|
|
156
|
+
of the NOTICE file are for informational purposes only and
|
|
157
|
+
do not modify the License. You may add Your own attribution
|
|
158
|
+
notices within Derivative Works that You distribute, alongside
|
|
159
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
160
|
+
that such additional attribution notices cannot be construed
|
|
161
|
+
as modifying the License.
|
|
162
|
+
|
|
163
|
+
You may add Your own copyright statement to Your modifications and
|
|
164
|
+
may provide additional or different license terms and conditions
|
|
165
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
166
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
167
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
168
|
+
the conditions stated in this License.
|
|
169
|
+
|
|
170
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
171
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
172
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
173
|
+
this License, without any additional terms or conditions.
|
|
174
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
175
|
+
the terms of any separate license agreement you may have executed
|
|
176
|
+
with Licensor regarding such Contributions.
|
|
177
|
+
|
|
178
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
179
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
180
|
+
except as required for reasonable and customary use in describing the
|
|
181
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
182
|
+
|
|
183
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
184
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
185
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
186
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
187
|
+
implied, including, without limitation, any warranties or conditions
|
|
188
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
189
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
190
|
+
appropriateness of using or redistributing the Work and assume any
|
|
191
|
+
risks associated with Your exercise of permissions under this License.
|
|
192
|
+
|
|
193
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
194
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
195
|
+
unless required by applicable law (such as deliberate and grossly
|
|
196
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
197
|
+
liable to You for damages, including any direct, indirect, special,
|
|
198
|
+
incidental, or consequential damages of any character arising as a
|
|
199
|
+
result of this License or out of the use or inability to use the
|
|
200
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
201
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
202
|
+
other commercial damages or losses), even if such Contributor
|
|
203
|
+
has been advised of the possibility of such damages.
|
|
204
|
+
|
|
205
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
206
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
207
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
208
|
+
or other liability obligations and/or rights consistent with this
|
|
209
|
+
License. However, in accepting such obligations, You may act only
|
|
210
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
211
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
212
|
+
defend, and hold each Contributor harmless for any liability
|
|
213
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
214
|
+
of your accepting any such warranty or additional liability.
|
|
215
|
+
|
|
216
|
+
END OF TERMS AND CONDITIONS
|
|
217
|
+
|
|
218
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
219
|
+
|
|
220
|
+
To apply the Apache License to your work, attach the following
|
|
221
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
222
|
+
replaced with your own identifying information. (Don't include
|
|
223
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
224
|
+
comment syntax for the file format. We also recommend that a
|
|
225
|
+
file or class name and description of purpose be included on the
|
|
226
|
+
same "printed page" as the copyright notice for easier
|
|
227
|
+
identification within third-party archives.
|
|
228
|
+
|
|
229
|
+
Copyright [yyyy] [name of copyright owner]
|
|
230
|
+
|
|
231
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
232
|
+
you may not use this file except in compliance with the License.
|
|
233
|
+
You may obtain a copy of the License at
|
|
234
|
+
|
|
235
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
236
|
+
|
|
237
|
+
Unless required by applicable law or agreed to in writing, software
|
|
238
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
239
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
240
|
+
See the License for the specific language governing permissions and
|
|
241
|
+
limitations under the License.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { NoteShape } from "@allyhub-next/formats";
|
|
2
|
+
import type { LocatedLayer } from "./locate.js";
|
|
1
3
|
import type { MixPlan } from "@allyhub-next/audio";
|
|
2
|
-
import type { BuildSource, CaptionLine, CaptionOptions, ConsoleLog, CoverInfo, Fact, LayerAnswer, LayerQueries, LayoutReport, LoadOptions, MediaInfo, PartText, Problem, Reads, TextInk, Timeline, Track, Word } from "@allyhub-next/video-core";
|
|
4
|
+
import type { BuildSource, CaptionLine, CaptionOptions, ConsoleLog, CoverInfo, Fact, LayerAnswer, LayerQueries, LayoutReport, LoadOptions, MediaInfo, PageObjects, PartText, Problem, Reads, TextInk, Timeline, Track, Word } from "@allyhub-next/video-core";
|
|
3
5
|
import type { SayNeed } from "./speech.js";
|
|
4
6
|
export type { SayNeed };
|
|
5
7
|
/** How a moment is drawn: for its picture, or for its layout alone (nothing reads its pixels). */
|
|
@@ -32,7 +34,7 @@ export type PartSignature = {
|
|
|
32
34
|
};
|
|
33
35
|
/** One output of one piece in one combo, ready to draw frame by frame. */
|
|
34
36
|
export interface LoadedOutput {
|
|
35
|
-
readonly kind: "video" | "
|
|
37
|
+
readonly kind: "video" | "slides";
|
|
36
38
|
/** The film's plan; after ready() it has the parts' titles. */
|
|
37
39
|
readonly timeline: Timeline;
|
|
38
40
|
/** Fonts and media loaded and decoded; every layer mounted; every still drawn. */
|
|
@@ -100,6 +102,12 @@ export interface LoadedOutput {
|
|
|
100
102
|
* them against.
|
|
101
103
|
*/
|
|
102
104
|
inks(t: number): Promise<TextInk[]>;
|
|
105
|
+
/** A deck as it was drawn (@allyhub-next/slides-core's DrawnDeck): what its PowerPoint file is written from. Absent on a video. */
|
|
106
|
+
deck?(): unknown;
|
|
107
|
+
/** A deck's editor's command (@allyhub-next/slides-runtime's DeckEditCommand): a shape drawn at a frame, its text typed in place, what is typed posted back. Absent on a video. */
|
|
108
|
+
edit?(command: unknown, post: (message: unknown) => void): void;
|
|
109
|
+
/** What moment t shows that an editor lets a person point at: placed elements and text blocks with their message keys. */
|
|
110
|
+
objects(t: number): Promise<PageObjects>;
|
|
103
111
|
/**
|
|
104
112
|
* What the stage shows after the last seek, as a short string: two
|
|
105
113
|
* moments with the same signature draw the same pixels, so a render
|
|
@@ -137,7 +145,7 @@ export interface LoadedOutput {
|
|
|
137
145
|
}
|
|
138
146
|
/** What a host reads once, after a load and its ready(). */
|
|
139
147
|
export interface LoadedSummary {
|
|
140
|
-
kind: "video" | "
|
|
148
|
+
kind: "video" | "slides";
|
|
141
149
|
timeline: Timeline;
|
|
142
150
|
problems: Problem[];
|
|
143
151
|
facts: Fact[];
|
|
@@ -171,6 +179,8 @@ export interface StageBridge {
|
|
|
171
179
|
* not to; the page that embeds it drives it with `command`.
|
|
172
180
|
*/
|
|
173
181
|
play(options: PlayOptions): Promise<PlayControl>;
|
|
182
|
+
/** What a person's mark is on, in shares of the stage. */
|
|
183
|
+
locate(mark: NoteShape): LocatedLayer[];
|
|
174
184
|
}
|
|
175
185
|
/** What `play` takes: the player's options but the output and the stage, which are the page's. */
|
|
176
186
|
export interface PlayOptions {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{momentOf as E,problem as
|
|
2
|
+
import{momentOf as E,problem as x,timeParts as M,transitionSpec as O,transitionWindow as P}from"@allyhub-next/video-core";import{messageOf as S}from"./errors.js";const k=d=>Math.round(d*1e6)/1e6;export function timeFilm(d,y,c,p){const{source:u,ledger:h}=d,{fps:m,dims:g,options:D,format:T}=y,{specs:i,inputs:f}=c,l=p?.snapTo(f),n=M([...f],{fps:m,beat:p?.beat??0,beatPhase:p?.beatPhase??0,...l?{snap:l}:{}});c.videoTakes.forEach((t,e)=>{const r=n.parts[e];!t||!r||(t.shown.start=r.start,t.shown.partStart=r.start)});const w=i.map((t,e)=>{const r=n.parts[e],o=f[e]?.placed??[],s=[...o,...(f[e]?.anchors??[]).filter(a=>!o.some(F=>F.name===a.name))];return{key:t.key,start:r?.start??0,anchors:r?s.map(a=>({name:a.name,at:k(r.start+n.at(e,`@${a.name}`)),...a.end===void 0?{}:{end:k(r.start+n.at(e,`@/${a.name}`))}})):[]}}),b=t=>E({parts:w},t),A=(t,e)=>{try{if(typeof t=="number")return t;if(typeof t=="string")return b(t);const r=i.findIndex(s=>s.key===t.part),o=n.parts[r];if(r<0||!o)throw new Error(`The video has no part ${t.part}; its parts are ${i.map(s=>s.key).join(", ")}.`);return o.start+n.at(r,t.at)}catch(r){h.problems.push(x("AK-T004",`${e}: ${S(r)}`,{where:{file:u.file}}));return}},$=new Map;{const t=e=>Math.round((e.end-e.start)*m);i.forEach((e,r)=>{const o=n.parts[r-1],s=n.parts[r];if(e.transition===void 0||!o||!s)return;const a=P(O(e.transition),m,t(o),t(s));a.before+a.after>0&&$.set(r,a)})}return{timing:n,duration:n.duration,parts:w,filmAt:b,momentAt:A,windows:$,checkLimit(){const t=g.profile,e=D.maxDuration;t&&n.duration>t.maxDuration+1e-6&&!(e!==void 0&&e<=t.maxDuration)&&h.problems.push(x("AK-F001",`This video lasts ${n.duration.toFixed(1)} s, and ${t.label} (${T}) takes at most ${String(t.maxDuration)} s. Cut ${(n.duration-t.maxDuration).toFixed(1)} s: shorter parts, an edits file on the take, or fewer parts.`,{where:{file:u.file}}))}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{entryKind as b}from"@allyhub-next/formats";import{comboKey as y,dimsCombo as x,problem as k,seedKey as g,STRUCTURE as j,validCombo as L}from"@allyhub-next/video-core";import{installConsole as O,resetConsole as C}from"./console.js";import{codeOf as S,LoadFailure as R}from"./errors.js";import{installGuards as E,realNow as l,within as K}from"./guards.js";import{ReadLog as T}from"./reads.js";export const RUN_PROBLEMS=200;export class Ledger{problems=[];facts=[];run=[];times=[];running;loading=!0;doing;waiting=[];ran(e){this.run.length>=RUN_PROBLEMS||this.run.some(i=>i.code===e.code&&i.message===e.message&&i.part===e.part)||this.run.push(e)}async timed(e,i){const a=l();try{return await i()}finally{this.times.push({what:e,ms:l()-a})}}wait(e){const i=this.running;if(!this.loading){this.waiting.push({work:e,who:i});return}const a=this.doing??"a layer",o=l();this.waiting.push({work:e.finally(()=>{this.times.push({what:`the work ${a} waited for (ctx.wait)`,ms:l()-o})}),who:i})}async settle(e){const i=l()+e,a=[];for(;this.waiting.length>0;){const o=this.waiting.splice(0);if((await K(o.map(n=>n.work),i-l())).forEach((n,d)=>{const r=o[d]?.who;if(n===void 0){a.push(`the work ${u(r)} waits for (ctx.wait)`);return}if(n.status==="fulfilled")return;const f=n.reason;this.ran(k(S(n.reason),`${u(r)}: the work it waits for (ctx.wait) failed: ${String(f.message??n.reason)}`,{...r?.part===void 0?{}:{part:r.part},...r?.t===void 0?{}:{t:r.t}}))}),a.length>0)break}return a}}const u=t=>t?.what??"A layer";function v(t,e){const i=t.dims,a=t.matrix?.space;if(L(a,i,t.matrix?.rules??[],e.combo))return;const o=a?`; slots: ${Object.entries(a.slots).map(([s,n])=>`${s}=${n.map(d=>d.name).join("|")}`).join(", ")}${a.declared?`; structures: ${Object.keys(a.structures).join("|")}`:""}; and the matrix's rules`:"";throw new R("bad_combo",`Piece ${t.piece} has no combo ${y(e.combo)} (dimensions: ${Object.entries(i).map(([s,n])=>`${s}=${n.join("|")}`).join(", ")||"none"}${o}).`)}export function createEnv(t,e,i){const a=l();v(t,e);const o={...e.combo},s=o.lang,n=t.locales[0],d
|
|
2
|
+
import{entryKind as b}from"@allyhub-next/formats";import{comboKey as y,dimsCombo as x,problem as k,seedKey as g,STRUCTURE as j,validCombo as L}from"@allyhub-next/video-core";import{installConsole as O,resetConsole as C}from"./console.js";import{codeOf as S,LoadFailure as R}from"./errors.js";import{installGuards as E,realNow as l,within as K}from"./guards.js";import{ReadLog as T}from"./reads.js";export const RUN_PROBLEMS=200;export class Ledger{problems=[];facts=[];run=[];times=[];running;loading=!0;doing;waiting=[];ran(e){this.run.length>=RUN_PROBLEMS||this.run.some(i=>i.code===e.code&&i.message===e.message&&i.part===e.part)||this.run.push(e)}async timed(e,i){const a=l();try{return await i()}finally{this.times.push({what:e,ms:l()-a})}}wait(e){const i=this.running;if(!this.loading){this.waiting.push({work:e,who:i});return}const a=this.doing??"a layer",o=l();this.waiting.push({work:e.finally(()=>{this.times.push({what:`the work ${a} waited for (ctx.wait)`,ms:l()-o})}),who:i})}async settle(e){const i=l()+e,a=[];for(;this.waiting.length>0;){const o=this.waiting.splice(0);if((await K(o.map(n=>n.work),i-l())).forEach((n,d)=>{const r=o[d]?.who;if(n===void 0){a.push(`the work ${u(r)} waits for (ctx.wait)`);return}if(n.status==="fulfilled")return;const f=n.reason;this.ran(k(S(n.reason),`${u(r)}: the work it waits for (ctx.wait) failed: ${String(f.message??n.reason)}`,{...r?.part===void 0?{}:{part:r.part},...r?.t===void 0?{}:{t:r.t}}))}),a.length>0)break}return a}}const u=t=>t?.what??"A layer";function v(t,e){const i=t.dims,a=t.matrix?.space;if(L(a,i,t.matrix?.rules??[],e.combo))return;const o=a?`; slots: ${Object.entries(a.slots).map(([s,n])=>`${s}=${n.map(d=>d.name).join("|")}`).join(", ")}${a.declared?`; structures: ${Object.keys(a.structures).join("|")}`:""}; and the matrix's rules`:"";throw new R("bad_combo",`Piece ${t.piece} has no combo ${y(e.combo)} (dimensions: ${Object.entries(i).map(([s,n])=>`${s}=${n.join("|")}`).join(", ")||"none"}${o}).`)}export function createEnv(t,e,i){const a=l();v(t,e);const o={...e.combo},s=o.lang,n=t.locales[0],d=!i&&b(t.file)==="slides"?"slides":"video",r=`${t.piece}:${d}:${g(o,t.format)}`,f=g(x(t.dims,o),t.format),c=t.matrix?.space,$=new Set(c?[...Object.keys(c.slots),...c.declared?[j]:[]]:[]),p=E();p.setMoment(0,`${r}:load`),i||(O(),C({...e.consoleLimit===void 0?{}:{limit:e.consoleLimit},passThrough:e.purpose==="play"}));const h=new T({lang:s,defaultLang:n,...t.text===void 0?{}:{text:t.text},own:s===void 0?{}:t.messages[s]??{},fallback:n===void 0?{}:t.messages[n]??{},...t.anchors?{anchors:{...s!==void 0&&t.anchors[s]?{own:t.anchors[s]}:{},...n!==void 0&&t.anchors[n]?{fallback:t.anchors[n]}:{}}}:{},media:t.media,file:t.file,...t.data?{data:t.data}:{}});return{source:t,options:e,embed:i,combo:o,lang:s,defaultLang:n,output:d,seedBase:r,partSeed:(m,w)=>`${t.piece}:${d}:${f}:${m}:${String(w)}`,picked:$,space:c,guards:p,log:h,ledger:new Ledger,start:a,mediaOf:(m,w)=>typeof m=="string"?h.asset(m,w):h.mediaAt(m.path)??h.asset(`/${m.path}`)}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{cuesIn as
|
|
2
|
+
import{cuesIn as J,dimsCombo as L,joinWords as N,problem as U}from"@allyhub-next/video-core";import{codeOf as W,messageOf as B}from"./errors.js";import{timelineFootage as F}from"./footage.js";import{mixPlan as R}from"./mix-plan.js";function _(a){return JSON.stringify(a,(m,i)=>{if(typeof i=="function")return`fn:${String(i)}`;if(typeof i=="object"&&i!==null&&"sha256"in i&&"path"in i&&"url"in i){const p={...i};return delete p.url,delete p.matteUrl,delete p.denoisedUrl,p}return i})}export function facade(a){const{env:m,piece:i,stage:p,mounted:c,takes:O,captions:k,footage:g}=a,{drawer:u,measurer:l,embedder:j}=a,{source:h,combo:w,log:b,ledger:S}=m,{fps:$,dims:y,format:M,look:K,prefix:A}=i;let x=!1,v;const z=()=>{if(v)return v;const t={fps:$,width:y.width,height:y.height,...y.profile?{profile:y.profile}:{},duration:a.duration,background:a.background,parts:c.map(r=>r.part.title===void 0&&r.record.title!==void 0?{...r.part,title:r.record.title}:r.part),cues:[...a.cues],...g.placed.length>0?{footage:g.placed.map(F)}:{},...a.transitions.length>0?{transitions:[...a.transitions]}:{},...g.needs().length>0?{index:g.needs()}:{},audio:a.audio};return x&&(v=t),t};return{kind:"video",get timeline(){return z()},async ready(){await u.ready(),x=!0,v=void 0},seek:(t,r)=>u.draw(t,r),words:()=>k.lines.flatMap(t=>[...t.words]),lines:()=>[...k.lines],captionOptions:()=>k.asked??null,measure:t=>l.measure(t),tracks:(t,r)=>l.tracks(t,r),inks:t=>l.inks(t),objects:t=>l.objects(t,r=>b.keysShowing(r)),stuck:()=>u.stuck(),seekLimit:i.seekLimitMs/1e3,setPlaying(t){u.setPlaying(t)},text(){return c.map(t=>{const r=O.results[t.n]??{},n=r.speech,s=r.shown??(n?N(n.words):void 0),e=n?.script??r.say?.text,o=a.notes.get(t.part.key);return{key:t.part.key,onScreen:[...new Set(t.record.onScreen??[])],...o===void 0?{}:{notes:o},...s===void 0?{}:{spoken:s},...e!==void 0&&s!==void 0&&e!==s?{speak:e}:{},...r.speechKey===void 0?{}:{speechKey:r.speechKey}}})},signature:()=>l.signature(),signatureAt:t=>l.signatureAt(t),partSignature:(t,r)=>l.partSignature(t,r),reads(){const t=b.reads(A,c.map(e=>e.part.key)),r=j.loaded.reduce((e,o)=>{const d=o.inner.reads(),P=(f,I)=>[...new Map(f.map(C=>[I(C),C])).values()];return{messages:P([...e.messages,...d.messages],f=>f.key),media:P([...e.media,...d.media],f=>f.path),data:P([...e.data,...d.data],f=>f.path)}},t),n=new Map,s=(e,o)=>{const d=n.get(e)??new Set;d.add(o),n.set(e,d)};for(const e of c)for(const o of e.record.reads.keys())o.startsWith("f:")&&s(o.slice(2),e.part.key);for(const e of c)e.part.speech&&s(e.part.speech.file,e.part.key);for(const e of g.placed)s(e.file,e.part);return{...r,media:r.media.flatMap(e=>{const o=n.get(e.path);return o?.size?[...o].sort().map(d=>({...e,part:d})):[e]})}},says:()=>O.says.map(t=>({...t})),signs(){const t={},r=L(h.dims,w),n=a.background;for(const s of c)t[s.part.key]=JSON.stringify({v:1,piece:h.piece,output:m.output,kind:"video",key:s.part.key,slot:s.part.slot??null,pick:s.part.slot===void 0?null:w[s.part.slot]??null,dims:r,format:M,fps:$,size:[y.width,y.height],frames:Math.round((s.part.end-s.part.start)*$),background:n,look:K,layers:s.layers.map(e=>[e.spec.component,e.spec.z??"front",Math.round(e.start*1e6)/1e6,Math.round(e.end*1e6)/1e6,_(e.props)]),custom:s.layers.some(e=>e.spec.component==="custom"||e.spec.component==="scenery"),words:a.words(s.n),heard:J(k.cues(),s.part.start,s.part.end),planes:s.part.planes.map(e=>e.overlay===!0?"overlay":e.behindPerson===!0),stack:s.layers.map(e=>[e.index,e.plane]),reads:[...s.record.reads.entries()].sort((e,o)=>e[0]<o[0]?-1:e[0]>o[0]?1:0)});return t},mixPlan:()=>R(z(),h.media,{seed:m.seedBase}),problems(){const t=[...S.problems,...j.loaded.flatMap(n=>n.inner.problems().map(s=>({...s,message:`In the video ${n.id}: ${s.message}`}))),...b.problems,...a.timingProblems,...S.run,...p.problems(c),...b.translationProblems()],r=new Set;return t.map(n=>({...n,piece:h.piece,output:m.output,combo:w,format:M})).filter(n=>{const s=`${n.code}|${n.message}|${n.part??""}`;return r.has(s)?!1:(r.add(s),!0)})},facts:()=>S.facts.map(t=>({...t,output:m.output,combo:w,format:M})),covers:()=>u.covers(),drawCover:t=>u.drawCover(t),async ask(t,r){const n=[];for(const s of c)for(const e of s.layers){const o=e.answers.get(t);if(o)try{n.push({part:s.part.key,layer:e.spec.component,index:e.index,answer:await o(r)})}catch(d){S.ran(U(W(d),`${e.spec.component} (layer ${String(e.index+1)}) in part ${s.part.key} failed to answer ${String(t)}: ${B(d)}`,{part:s.part.key}))}}return n},dispose(){u.dispose(),p.dispose()}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{backdropUnit as
|
|
2
|
+
import{backdropUnit as he,fact as Ue,faceAt as $e,faceOnFrame as pe,facesOnFrame as Ce,forOrient as le,fromEdited as Fe,hasFace as Pe,keyAt as me,MATTE_FEATHER as Oe,MATTE_SHRINK as Se,parsePunch as Ke,pixelRect as Le,placeFootage as Re,problem as Q,pullbackKeys as _e,PULLBACK_DUR as je,PULLBACK_SCALE as Te,PUNCH_CENTER as ke,PUNCH_SCALE as Be,punchKeys as De,REFRAME_FALLBACK as Ne,reframePath as Ge,reframeWindow as ze,sourceAt as He,toFrame as V}from"@allyhub-next/video-core";import{isBoxKeys as Ie}from"./embed.js";import{LoadFailure as We}from"./errors.js";const Je=/\.(png|jpe?g|webp)$/i,Ye=t=>(t.blur??0)>0||(t.dim??0)>0||(t.desaturate??0)>0||t.color!==void 0||t.image!==void 0,S=t=>Math.round(t*1e3)/1e3;export function footagePlanner(t,ge,be,xe){const{source:$,ledger:K,embed:ye}=t,{dims:f,fps:G}=ge,b=[],L=new Map,X=new Set,z=new Map,R=(e,n)=>{const o=z.get(e)??{file:e};o[n]=!0,z.set(e,o)},_=(e,n)=>{K.facts.push(Ue("fallback",{piece:$.piece,part:e},n))},we=(e,n,o)=>{const d=he(f.width,f.height),c=l=>Math.round(l*d*1e3)/1e3;let r;if(e.image!==void 0){if(r=t.mediaOf(e.image,o),r.sha256==="")return;if(r.kind!=="image"||!Je.test(r.path)){K.problems.push(Q("AK-A003",`The background image ${r.path} of footage() in part ${n} is not a PNG, JPEG or WebP image.`,{part:n,where:{file:$.file}}));return}}let u;if(e.color!==void 0){const l=CSS.supports("color",e.color)?xe(e.color):void 0;if(l===void 0)throw new Error(`footage() background color ${JSON.stringify(e.color)} in part ${n} is not a CSS color.`);u=l.length===9&&l.endsWith("00")?"transparent":l}return{backdrop:{...e.blur?{blur:c(e.blur)}:{},...e.dim?{dim:e.dim}:{},...e.desaturate?{desaturate:e.desaturate}:{},...u===void 0?{}:{color:u},...r?{image:r.path}:{},feather:c(e.feather??Oe),shrink:c(e.shrink??Se)},...r?{imageUrl:r.url}:{}}};return{plan:(e,n,o,d,c,r,u)=>{const l=e.file,x=l===void 0;let a;if(x){if(!o){K.problems.push(Q("AK-A001",`footage() in part ${n.key} names no file, so it shows the part's take, and the part has no take. Give footage a file, or give the part speech: take("./clip.mp4").`,{part:n.key,where:{file:$.file}}));return}a=o.media}else a=t.mediaOf(l,e.base);if(a.sha256==="")return;if(a.kind!=="video"){K.problems.push(Q("AK-A003",x?`footage() in part ${n.key} shows the part's take, and ${a.path} is not a video. Give footage a file, or take a video.`:`The footage ${a.path} in part ${n.key} is not a video (mp4, webm or mov).`,{part:n.key,where:{file:$.file}}));return}const k=V(n.start+c,G),j=V(n.start+r,G);if(j<=k)return;a.faces&&L.set(a.path,a.faces),a.matte===!0&&X.add(a.path);let C,F;if(x&&o&&d!==void 0){const i=o.ranges??[{from:o.from,to:o.from+o.dur}];if(C=S(Fe(i,k-d)),o.ranges&&o.ranges.length>1){const h=[{at:k,from:C}];let U=0;for(const v of o.ranges){const p=S(d+U);U>0&&p>k+1e-6&&p<j&&h.push({at:p,from:v.from}),U+=v.to-v.from}h.length>1&&(F=h)}}else C=Math.max(0,typeof e.from=="number"?e.from:0);const y=a.width!==void 0&&a.height!==void 0?{width:a.width,height:a.height}:void 0,Z=e.fit??"cover",H=le(e.box,f.orient),ee=le(e.crop,f.orient),te=Ie(H)?H:void 0,T=te?.map(i=>({t:V(n.start+Math.min(Math.max(u.at(i.t),c),r),G),box:i.box==="full"?[0,0,f.width,f.height]:Le(i.box,f.width,f.height),...i.ease?{ease:i.ease}:{}})).sort((i,h)=>i.t-h.t),Ae=te?"full":H??"full",P=T?.[0],M=Re({box:P?[P.box[0]/f.width,P.box[1]/f.height,P.box[2]/f.width,P.box[3]/f.height]:Ae,fit:Z,...ee?{crop:ee}:{},...y?{source:y}:{},frame:f}),ne=e.shape==="circle"||!e.radius?0:S(Math.min(e.radius*he(f.width,f.height),M.box[2]/2,M.box[3]/2));let I=M.crop,ae=M.picture,w,W;const oe=e.punchIn??[],A=e.pullback===void 0||e.pullback===!1?void 0:e.pullback===!0?{}:e.pullback;if((e.reframe!==void 0||oe.length>0||A)&&y){const i=M.box,h=ze(y,{w:i[2],h:i[3]}),U=typeof e.reframe=="object"&&"face"in e.reframe?e.reframe:void 0,v=e.reframe==="face"||U!==void 0;v&&!a.faces&&(R(a.path,"faces"),_(n.key,{file:a.path,missing:"face-track",for:"reframe",fallback:"centred"}));const p=a.faces,ie=e.speaker??p?.speaker;p&&e.speaker!==void 0&&!Pe(p,e.speaker)&&_(n.key,{file:a.path,missing:"face",face:e.speaker,for:"speaker",fallback:"centred"});const ve=typeof e.reframe=="object"&&"x"in e.reframe?e.reframe:v?Ne:{x:.5,y:.5},ce={start:k,end:j,from:C,speed:x?1:e.speed??1,...F?{cuts:F}:{}};w=Ge({track:v?p:void 0,speaker:ie,faceY:U?.faceY,focus:ve,window:h,source:y,layer:ce});const B=w[0]??{x:0,y:0};I=[B.x,B.y,h.w,h.h],ae=[...i],w.length<=1&&(w=void 0);const D=w,fe=(s,g)=>{if(g)return{cx:g.x,cy:g.y};const m=p?$e(p,He(ce,s),ie):void 0;if(!m)return{cx:ke.x,cy:ke.y};const q=D?me(D.map(O=>({t:O.t,v:O.x})),s):B.x,N=D?me(D.map(O=>({t:O.t,v:O.y})),s):B.y,Me=(m[0]+m[2]/2-q)/h.w,Ee=(m[1]+m[3]/2-N)/h.h;return{cx:S(Math.min(Math.max(Me,0),1)),cy:S(Math.min(Math.max(Ee,0),1))}},Y=[];for(const s of oe){const g=typeof s=="object"?{...s,ref:s.at}:{...Ke(String(s)),until:void 0},m=u.at(g.ref),q=g.until!==void 0?u.at(g.until):be.wordEnd(n.key,m),N=n.start+m;Y.push({start:N,end:n.start+Math.max(q,m),scale:g.scale??Be,...fe(N,typeof s=="object"?s.center:void 0),...typeof s=="object"&&s.in!==void 0?{in:s.in}:{},...typeof s=="object"&&s.out!==void 0?{out:s.out}:{},...typeof s=="object"&&s.ease!==void 0?{ease:s.ease}:{}})}const de=Y.length>0?De(Y):[],ue=A?_e(k,{scale:A.scale??Te,dur:A.dur??je,...fe(k,A.center),...A.ease?{ease:A.ease}:{}},de):de;ue.length>0&&(W=ue)}x&&u.graphics&&!a.faces&&R(a.path,"faces");let J=!1;u.cutout&&(a.matte===!0?J=!0:(R(a.path,"matte"),_(n.key,{file:a.path,missing:"person-matte",for:"behind-person",fallback:"in-front"})));let E;if(e.background&&Ye(e.background)){const i=we(e.background,n.key,e.base);i&&a.matte===!0?E=i:i&&(R(a.path,"matte"),_(n.key,{file:a.path,missing:"person-matte",for:"background",fallback:"unprocessed"}))}if(ye)throw new We("embedded_footage",`${$.piece}'s part ${n.key} plays ${a.path}: a video shown inside another (a scenery's screen, a part's video take, a footage of a video item) draws its graphic layers only, not footage yet.`);const re=J&&u.person,se={part:n.key,file:a.path,start:k,end:j,from:C,speed:x?1:e.speed??1,gainDb:e.gainDb??0,audio:(e.audio??!1)&&a.audio===!0,...x?{take:!0}:{},fit:Z,box:M.box,...I?{crop:I}:{},picture:ae,...F?{cuts:F}:{},...w?{pan:w}:{},...W?{zoom:W}:{},...T&&T.length>1?{boxes:T}:{},...u.over>0?{over:u.over}:{},...J?{cutout:!0}:{},...e.sharpen?{sharpen:e.sharpen}:{},...E?{background:E.backdrop}:{},...E?.imageUrl?{imageUrl:E.imageUrl}:{},...(re||E)&&a.matteUrl?{matteUrl:a.matteUrl}:{},...re?{personOver:!0}:{},...e.shape==="circle"?{shape:"circle"}:{},...ne>0?{radius:ne}:{},...e.speaker===void 0?{}:{speaker:e.speaker},url:a.url,...a.duration===void 0?{}:{duration:a.duration},...y?{source:y}:{}};return b.push(se),se},placed:b,needs:()=>[...z.values()],speakerIn:e=>b.some(n=>n.part===e&&(L.has(n.file)||X.has(n.file))),faceAt(e,n,o){for(let d=b.length-1;d>=0;d--){const c=b[d];if(c?.part!==e||n<c.start||n>=c.end)continue;const r=L.get(c.file);if(!r)continue;const u=o===void 0?pe(c,r,n):pe(c,r,n,o);if(u)return u}},facesAt(e,n){for(let o=b.length-1;o>=0;o--){const d=b[o];if(d?.part!==e||n<d.start||n>=d.end)continue;const c=L.get(d.file);if(!c)continue;const r=Ce(d,c,n);if(r.length>0)return r}return[]}}}export function timelineFootage(t){return{part:t.part,file:t.file,start:t.start,end:t.end,from:t.from,speed:t.speed,gainDb:t.gainDb,audio:t.audio,...t.take?{take:!0}:{},fit:t.fit,box:t.box,...t.crop?{crop:t.crop}:{},picture:t.picture,...t.cuts?{cuts:t.cuts}:{},...t.pan?{pan:t.pan}:{},...t.zoom?{zoom:t.zoom}:{},...t.boxes?{boxes:t.boxes}:{},...t.over?{over:t.over}:{},...t.cutout?{cutout:!0}:{},...t.sharpen?{sharpen:t.sharpen}:{},...t.background?{background:t.background}:{},...t.shape?{shape:t.shape}:{},...t.radius?{radius:t.radius}:{},...t.speaker===void 0?{}:{speaker:t.speaker}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{heldTime as ct,isPartSpec as dt,LOAD_WAITS as H,numericRef as pt,problem as
|
|
2
|
+
import{heldTime as ct,isPartSpec as dt,LOAD_WAITS as H,numericRef as pt,problem as P,toFrame as lt,transitionAt as ft,showLayer as k}from"@allyhub-next/video-core";import{layerNames as mt,resolveTimes as ut,windowOf as yt}from"./compose.js";import{consoleAt as N,consoleParts as wt}from"./console.js";import{codeOf as J,LoadFailure as ht,messageOf as Q}from"./errors.js";import{codePoints as gt,emojiOf as kt,loadFaces as $t,loadTextFonts as X,namedFamilies as Y,propFamilies as St,stringsOf as xt,styleSheetFamilies as Mt}from"./fonts.js";import{realNow as v,within as vt}from"./guards.js";import{inspectFrame as Lt,screenTexts as At}from"./inspect.js";import{partTitles as Ft}from"./titles.js";export const STUCK_WAIT=1e3,newDrawState=()=>({mode:"picture",plane:void 0});export function withLayout(f,L){const g=f.mode;f.mode="layout";try{return L()}finally{f.mode=g}}export const drawnAt=new WeakMap;const bt=f=>Math.max(0,f-.4);export function createDrawer(f){const{env:L,piece:g,stage:m,mounted:h,transitions:Z,clips:O,state:$}=f,{guards:A,log:S,ledger:i,embed:W,options:tt,seedBase:E,partSeed:B}=L,{fps:x,look:M,dims:R,format:et,seekLimitMs:_}=g,V=f.covers,j=f.transitionStage;let F,D=[],I,T,q=!1,U=!1;const nt=n=>`${E}:${String(Math.round(n*x))}`,ot=(n,t,r)=>{const s=n.part,c=($.plane===void 0||t.plane===$.plane)&&r>=t.start&&r<t.end;if(k(t.el,c),!c)return;const u=i.running;i.running={part:s.key,layer:t.spec.component,index:t.index,t:s.start+r,what:`${t.spec.component} (layer ${String(t.index+1)}) in part ${s.key}`},drawnAt.set(t.el,{by:t.spec.component==="custom"?`custom@${g.writtenIn}`:t.spec.component,t:r});try{N({phase:"render",part:s.key,layer:t.spec.component,index:t.index,t:r},()=>{t.spec.render(t.el,r,t.props,t.ctx)})}catch(a){i.ran(P(J(a),`${t.spec.component} (layer ${String(t.index+1)}) in part ${s.key} failed while drawing: ${Q(a)}`,{part:s.key,t:s.start+r}))}finally{i.running=u}},st=(n,t)=>{m.styles&&(m.styles.part=n.part.key),S.tap=(r,s)=>n.record.reads.set(r,s);try{for(const r of n.layers)ot(n,r,t)}finally{m.styles&&(m.styles.part=void 0),S.tap=void 0}},C=n=>{for(const t of D)n.includes(t)||k(t.el,!1);for(const t of n)k(t.el,!0);D=n},K=(n,t,r)=>{const s=ct(n.part,t,x),p=s+r;A.setMoment(p-n.part.start,B(n.part.key,Math.round((s-n.part.start)*x))),k(n.el,!1),n.el.getBoundingClientRect(),k(n.el,!0),st(n,p-n.part.start),A.flushFrames()};async function z(n,t={}){if(U)return;const r=$.mode;$.mode=t.mode??"picture",$.plane=t.plane;try{await at(n,t.offset??0,t.part)}finally{$.mode=r}}async function at(n,t,r){const s=lt(Math.min(Math.max(n,0),f.duration-1/x),x),p=Math.min(Math.max(t,0),(1-1e-6)/x),c=s+p,u=r===void 0?void 0:h.find(d=>d.part.key===r),a=u?void 0:ft(Z,s,x),l=a&&h.find(d=>d.part.key===a.from),w=a&&h.find(d=>d.part.key===a.part);if(a&&l&&w&&j)C([l,w]),F=s<w.part.start?l:w,K(l,s,p),K(w,s,p),j.place(a,l,w,s);else{const d=u??h.find(G=>c>=G.part.start&&c<G.part.end)??h.at(-1);C(d?[d]:[]),F=d,j?.hideVeil(),d?(j?.rest(d),K(d,s,p)):(A.setMoment(c,nt(s)),A.flushFrames())}const e=I===void 0||Math.abs(c-I)>.5;I=c,O.draw(c,e);const o=q?Math.min(_,STUCK_WAIT):_,y=v(),b=await i.settle(o);if(b.push(...(await m.picturesDrawn(o-(v()-y))).map(d=>`the picture ${d} to decode`)),T=void 0,b.length>0){q=!0;const d=F?.part.key;T=`Drawing ${d===void 0?"a moment":`part ${d}`} did not finish in ${String(o/1e3)} s (video({ seekLimit }) sets it): it was still waiting for ${b.join("; ")}. It was not waited for again, so the frame may show the moment before.`,i.ran(P("AK-P003",T,{...d===void 0?{}:{part:d},t:c}))}await Promise.resolve()}async function rt(){const n=[...S.texts].join(" ").slice(0,2e4)||"Aa",t=new Set([M.font.display,M.font.body].flatMap(a=>a.split(",")).map(a=>a.trim()).filter(a=>a.startsWith('"'))),r=[];for(const a of t)for(const l of[400,700])r.push(document.fonts.load(`${String(l)} 40px ${a}`,n).catch(()=>[]));const s=h.flatMap(a=>a.layers.flatMap(l=>xt(l.props))),p=new Set(Y(M.font.emoji)),c=new Set([...[M.font.display,M.font.body,M.font.mono].flatMap(Y),...Mt(),...St(s)].filter(a=>!p.has(a)));r.push($t(c,gt([n,...s])));const u=kt([...S.texts,...s]);u&&r.push(document.fonts.load(`400 40px ${M.font.emoji}`,u).catch(()=>[])),await Promise.all(r),await document.fonts.ready}async function it(){W||wt(h.map(e=>e.part.key)),await i.timed("loading fonts",rt);for(const e of h){k(e.el,!0),A.setMoment(0,B(e.part.key,0)),m.styles&&(m.styles.part=e.part.key),S.tap=(o,y)=>e.record.reads.set(o,y);for(const o of e.layers){k(o.el,!0),i.doing=`${o.spec.component} in part ${e.part.key}`;const y=v();i.running={part:e.part.key,layer:o.spec.component,index:o.index,what:`${o.spec.component} (layer ${String(o.index+1)}) in part ${e.part.key}, mounting`};try{N({phase:"mount",part:e.part.key,layer:o.spec.component,index:o.index},()=>{o.spec.mount(o.el,o.props,o.ctx)}),i.times.push({what:`mounting ${i.doing}`,ms:v()-y})}catch(b){i.ran(P(J(b),`${o.spec.component} (layer ${String(o.index+1)}) in part ${e.part.key} failed while mounting: ${Q(b)}`,{part:e.part.key}))}finally{i.running=void 0}k(o.el,!1)}S.tap=void 0,m.styles&&(m.styles.part=void 0),k(e.el,!1)}F=void 0,D=[];const n=H*_,t=v(),r=await i.settle(n),s=Array.from(m.el.querySelectorAll("img")),p=await vt(s.map(e=>e.decode().then(()=>e.currentSrc||e.src,()=>e.currentSrc||e.src)),n-(v()-t)),c=s.filter((e,o)=>p[o]===void 0).map(e=>`the picture ${e.getAttribute("src")??""} to decode`);r.length+c.length>0&&i.ran(P("AK-P003",`Loading did not finish in ${String(n/1e3)} s (${String(H)} × video({ seekLimit })): it was still waiting for ${[...r,...c].join("; ")}. It was not waited for again.`)),await X(m.el),await document.fonts.ready;const u=new Map;i.doing=void 0;for(const e of h){i.doing=`part ${e.part.key}'s still`,await i.timed(`drawing ${i.doing}`,()=>z(e.part.still,{part:e.part.key}));const o=At(e.el,{screens:!1});e.record.onScreen=o.map(y=>y.text),u.set(e.part.key,o),tt.purpose==="check"&&i.run.push(...Lt({part:e.part.key,t:e.part.still,section:e.el,stage:m.el,format:et,messagesFile:S.file,width:R.width,height:R.height,keysShowing:y=>S.keysShowing(y)}))}const a=Ft(u);for(const e of h){const o=a.get(e.part.key);e.part.title===void 0&&o!==void 0&&(e.record.title=o)}i.doing=void 0,await i.timed("decoding the stage's pictures",()=>m.sweep()),i.loading=!1;const l=v()-L.start,w=g.loadLimitMs;if(l>w&&!W){const e=[...i.times].sort((o,y)=>y.ms-o.ms).slice(0,3).map(o=>`${o.what} ${(o.ms/1e3).toFixed(1)} s`);i.run.push(P("AK-P002",`Loading took ${(l/1e3).toFixed(1)} seconds (the limit is ${String(w/1e3)} seconds; video({ loadLimit }) sets it). The longest: ${e.join("; ")}.`))}}return{state:$,get current(){return F},ready:it,draw:z,forLayout:n=>withLayout($,n),stuck:()=>T,covers:()=>V.map(n=>({key:n.key,layers:mt(n.layers)})),async drawCover(n){const t=V[n];if(!t)throw new ht("no_cover",`There is no cover ${String(n)}.`);C([]),F=void 0,j?.hideVeil();const r=document.createElement("section");r.className="ak-part ak-cover",Object.assign(r.style,{position:"absolute",inset:"0",overflow:"hidden"}),m.el.append(r);const s=t.dur??g.defaults.dur,p=u=>pt(u)??0,c=typeof t.still=="function"?t.still(s):t.still===void 0?bt(s):p(t.still);A.setMoment(c,`${E}:cover:${String(n)}`);for(const[u,a]of t.layers.entries()){if(a.__allyhubLayer==="footage")continue;const[l,w]=yt(a,s,p);if(c<l||c>=w)continue;const e=document.createElement("div");e.className="ak-layer",Object.assign(e.style,{position:"absolute",inset:"0"}),r.append(e);const o=a.times?ut(a.props,a.times,p):a.props,y=f.contexts({dur:s,words:()=>[],at:p,start:l,end:w});N({phase:"cover",part:t.key,layer:a.component,index:u,t:c},()=>{a.mount(e,o,y),a.render(e,c,o,y)})}await X(r),await document.fonts.ready},setPlaying(n){O.setPlaying(n)},dispose(){U=!0,O.dispose()}}}export async function coverParts(f,L){if(!f.options.covers)return[];const g=await f.options.covers(L);return Array.isArray(g)?g.filter(dt):[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { load } from "./output.js";
|
|
2
|
+
export { consoleLog, installConsole } from "./console.js";
|
|
2
3
|
export { LoadFailure, codeOf } from "./errors.js";
|
|
3
4
|
export type { Embed } from "./env.js";
|
|
4
5
|
export type { DrawMode, DrawOptions, LoadedOutput, LoadedSummary, LoadFailureInfo, PartSignature, SayNeed, StageBridge, } from "./bridge.js";
|
|
@@ -9,4 +10,5 @@ export { RUN_PROBLEMS } from "./env.js";
|
|
|
9
10
|
export { EPOCH_MS, installGuards, type Guards } from "./guards.js";
|
|
10
11
|
export { mixPlan, musicPlayed, speechGains, voicePlan, wordsOnFilm, type MixPlanOptions, } from "./mix-plan.js";
|
|
11
12
|
export { startPlayer, type PlayerCommand, type PlayerEvent, type PlayerOptions, } from "./player/player.js";
|
|
13
|
+
export { locateLayers, type LocatedLayer } from "./locate.js";
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
export{load}from"./output.js";export{LoadFailure,codeOf}from"./errors.js";export{planStack}from"./compose.js";export{MEASURE_EVERY,MOMENTS_PER_PART}from"./measure.js";export{STUCK_WAIT}from"./frame.js";export{RUN_PROBLEMS}from"./env.js";export{EPOCH_MS,installGuards}from"./guards.js";export{mixPlan,musicPlayed,speechGains,voicePlan,wordsOnFilm}from"./mix-plan.js";export{startPlayer}from"./player/player.js";
|
|
2
|
+
export{load}from"./output.js";export{consoleLog,installConsole}from"./console.js";export{LoadFailure,codeOf}from"./errors.js";export{planStack}from"./compose.js";export{MEASURE_EVERY,MOMENTS_PER_PART}from"./measure.js";export{STUCK_WAIT}from"./frame.js";export{RUN_PROBLEMS}from"./env.js";export{EPOCH_MS,installGuards}from"./guards.js";export{mixPlan,musicPlayed,speechGains,voicePlan,wordsOnFilm}from"./mix-plan.js";export{startPlayer}from"./player/player.js";export{locateLayers}from"./locate.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type NoteShape } from "@allyhub-next/formats";
|
|
2
|
+
export interface LocatedLayer {
|
|
3
|
+
part: string;
|
|
4
|
+
/** Its component. */
|
|
5
|
+
layer: string;
|
|
6
|
+
/** Its `data-ak` name, when what is under the place has one. */
|
|
7
|
+
name?: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function locateLayers(root: ParentNode, mark: NoteShape): LocatedLayer[];
|
|
11
|
+
//# sourceMappingURL=locate.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{touches as y}from"@allyhub-next/formats";const f=3,g=120,h=e=>e.width*e.height;function p(e){return[...e.childNodes].filter(n=>n.nodeType===Node.TEXT_NODE).map(n=>n.textContent).join("").trim()}export function locateLayers(e,n){const c=t=>t.width>0&&t.height>0&&y(n,t),s=[],a=[];for(const t of e.querySelectorAll(".ak-layer")){if(!t.checkVisibility({opacityProperty:!0,visibilityProperty:!0})||!c(t.getBoundingClientRect()))continue;const r={part:t.closest(".ak-part")?.dataset.key??"",layer:t.dataset.component??""};let o;for(const i of[t,...t.querySelectorAll("*")]){const d=i.getBoundingClientRect();!c(d)||p(i)===""&&!i.hasAttribute("data-ak")||(!o||h(d)<h(o.getBoundingClientRect()))&&(o=i)}if(!o){a.push(r);continue}const l=o.closest("[data-ak]")?.getAttribute("data-ak"),u=p(o).slice(0,g);s.push({...r,...l?{name:l}:{},...u===""?{}:{text:u}})}return[...s,...a].slice(0,f)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type LayoutReport, type TextInk, type Track } from "@allyhub-next/video-core";
|
|
1
|
+
import { type LayoutReport, type PageObjects, type TextInk, type Track } from "@allyhub-next/video-core";
|
|
2
2
|
import type { PartSignature } from "./bridge.js";
|
|
3
3
|
import type { CaptionTrack } from "./captions.js";
|
|
4
4
|
import type { Mounted, TextsAt } from "./compose.js";
|
|
@@ -23,6 +23,7 @@ export interface Measurer {
|
|
|
23
23
|
measure(times?: readonly number[]): Promise<LayoutReport>;
|
|
24
24
|
tracks(from: number, to: number): Promise<Track[]>;
|
|
25
25
|
inks(t: number): Promise<TextInk[]>;
|
|
26
|
+
objects(t: number, keys: (text: string) => string[]): Promise<PageObjects>;
|
|
26
27
|
signature(): string | undefined;
|
|
27
28
|
signatureAt(t: number): Promise<string | undefined>;
|
|
28
29
|
partSignature(key: string, times: readonly number[]): Promise<PartSignature>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{cuesIn as
|
|
2
|
+
import{cuesIn as V,footageScale as Y,formatInfo as G,measureMoment as J,READ_DEFAULTS as K,textTime as Q,toFrame as D,layerShown as A,showLayer as U}from"@allyhub-next/video-core";import{consoleAt as X}from"./console.js";import{inkOfBlock as Z}from"./contrast.js";import{drawnAt as tt}from"./frame.js";import{drawnFamilies as et,fontWant as nt,localFamily as ot,pageFaces as st}from"./fonts.js";import{selectorOf as rt,textBlocks as B,trackedIn as at}from"./inspect.js";export const MOMENTS_PER_PART=24,MEASURE_EVERY=1;export function domHash(b){let S=2166136261,v=5381;for(let h=0;h<b.length;h++){const w=b.charCodeAt(h);S=Math.imul(S^w,16777619)>>>0,v=Math.imul(v,33)+w>>>0}return`${S.toString(16)}${v.toString(16)}:${String(b.length)}`}async function N(b){const S=globalThis.crypto?.subtle;if(!S)return`dom:${domHash(b)}`;const v=new Uint8Array(await S.digest("SHA-256",new TextEncoder().encode(b)));let h="";for(const w of v)h+=w.toString(16).padStart(2,"0");return h}export function textReader(b,S,v,h){const{guards:w,partSeed:C}=b,{fps:O,dims:_}=S,p=new WeakMap;return({part:l,el:T},k,E)=>{const $=Math.round(E*O),F=$/O,q=[];for(const d of k){if(F<d.start||F>=d.end)continue;let o=p.get(d);o||(o=new Map,p.set(d,o));let s=o.get($);if(!s){const n=A(T),i=A(d.el),f=T.style.transform;T.style.transform="",U(T,!0),U(d.el,!0),w.setMoment(F,C(l.key,$));try{X({phase:"render",part:l.key,layer:d.spec.component,index:d.index,t:F},()=>{h(()=>{d.spec.render(d.el,F,d.props,d.ctx)})}),s=B(d.el,v.el,_.width).map(a=>({layer:d.spec.component,text:a.text,box:a.box}))}catch{s=[]}finally{U(d.el,i),U(T,n),T.style.transform=f,w.setMoment(0,C(l.key,0))}o.set($,s)}q.push(...s)}return q}}export function measurer(b){const{piece:S,stage:v,drawer:h,mounted:w,duration:C,captions:O,footage:_}=b,{fps:p,dims:l,format:T}=S,k=v.el,E=(o,s)=>h.draw(o,{mode:"layout",...s===void 0?{}:{part:s}}),$=o=>D(Math.min(Math.max(o,0),C-1/p),p),F=()=>{const o=[];for(const s of w){const{part:n}=s,i=new Set,f=t=>{const e=D(t,p);e>=n.start&&e<n.end&&i.add(e)};f(n.still);for(const t of s.layers)t.end>t.start&&f(n.start+(t.start+t.end)/2);if(s.record.captioned)for(const t of V(O.cues(),n.start,n.end))f(n.start+(t.start+t.end)/2);if(_?.speakerIn(n.key))for(let t=n.start+.5;t<n.end;t+=1)f(t);for(let t=n.start+MEASURE_EVERY;t<n.end;t+=MEASURE_EVERY)f(t);f(n.end-1/p);let a=[...i].sort((t,e)=>t-e);if(a.length>MOMENTS_PER_PART){const t=a.length/MOMENTS_PER_PART,e=a.at(-1)??0;a=Array.from({length:MOMENTS_PER_PART},(r,y)=>a[Math.floor(y*t)]??0),a[a.length-1]=e}o.push(...a)}return[...new Set(o)].sort((s,n)=>s-n)},q=async()=>{const o=K,s=[];for(const n of w){const{part:i}=n,f=new Map,a=i.end-1/p;for(let t=0;;t++){const e=D(i.start+t*o.every,p);if(e>a+1e-9)break;await E(e,i.key);const r=h.current;if(r){for(const y of r.layers)if(A(y.el))for(const u of B(y.el,k,l.width)){if(u.ink===null||u.viewport)continue;let m=f.get(u.el);m||(m={layer:y.spec.component,z:y.z,samples:[]},f.set(u.el,m)),m.samples.push({t:Math.round(e*1e3)/1e3,text:u.text,box:u.box,opacity:u.opacity,shown:u.shown,size:u.size,...u.xHeight===void 0?{}:{xHeight:u.xHeight}})}}}for(const t of f.values()){const e=Q(t.samples,{part:i.key,layer:t.layer,z:t.z,end:i.end,frame:[l.width,l.height]},o);e&&s.push(e)}}return s.sort((n,i)=>n.first-i.first),{options:o,texts:s}},d=()=>{let o="";for(const s of k.children){if(s instanceof HTMLElement&&!A(s))continue;const n="canvas:not([data-ak-sign]), video, iframe, img[src$='.gif' i]";if(s.matches(n)||s.querySelector(n))return;o+=s.outerHTML}return domHash(o)};return{async measure(o){const s=[],n=o?[...o].sort((a,t)=>a-t):F();for(const a of n){const t=$(a),e=w.find(M=>t>=M.part.start&&t<M.part.end);await E(a,e?.part.key);const r=h.current;if(!r)continue;const y=[],u=[],m=[],g=[],x=[],H=st();r.layers.forEach((M,L)=>{if(A(M.el))for(const c of B(M.el,k,l.width)){if(c.ink===null)continue;const z=c.runs[0]?.el,j=z&&et(nt(getComputedStyle(z)),Array.from(c.text.replace(/\s/gu,"")).map(P=>P.codePointAt(0)??0),H,ot);y.push({layer:M.spec.component,z:M.z,text:c.text,box:c.box,...c.viewport?{viewport:!0}:{},...c.opacity<1?{opacity:c.opacity}:{},...c.ink.join()===c.box.join()?{}:{ink:c.ink},...j&&j.length>0?{fonts:j}:{}}),u.push(L),m.push(c.containers),g.push(c.ink),x.push(c.glyphs)}});const R=_?.faceAt(r.part.key,t);s.push(J({t:Math.round(t*1e3)/1e3,part:r.part.key,texts:y,...R?{face:R.map(M=>Math.round(M))}:{},safe:l.safe,width:l.width,height:l.height,owner:u,containers:m,seen:g,glyphs:x}))}const i=(G(T)?.width??l.width)/l.width,f=(_?.placed??[]).flatMap(a=>{const t=Y(a,i,p);return t?[t]:[]});return{width:l.width,height:l.height,safe:l.safe,moments:s,footage:f,...o?{}:{reading:await q()}}},async tracks(o,s){const n=[],i=Math.max(0,Math.ceil(o*p-1e-6)),f=Math.min(Math.floor(s*p+1e-6),Math.round(C*p)-1),a=()=>k.getBoundingClientRect();for(const t of w){const{part:e}=t,r=Math.max(i,Math.round(e.start*p)),y=Math.min(f,Math.round(e.end*p)-1);if(y<r)continue;const u=new Map;for(let m=r;m<=y;m++){const g=m/p;await E(g,e.key);const x=h.current;if(!x)continue;const H=a(),R=H.width>0?l.width/H.width:1,M=new Map;for(const L of x.layers)if(A(L.el))for(const c of at(L.el)){const z=c.el.getBoundingClientRect();if(z.width<=0||z.height<=0)continue;const j=Math.round((z.left-H.left)*R),P=Math.round((z.top-H.top)*R);if(M.set(c.el,{t:Math.round(g*1e3)/1e3,box:[j,P,Math.round((z.right-H.left)*R)-j,Math.round((z.bottom-H.top)*R)-P],opacity:c.opacity}),!u.has(c.el)){const I={part:e.key,layer:L.spec.component,what:c.what,selector:rt(c.el,k),...c.name===void 0?{}:{name:c.name},samples:Array.from({length:m-r},(ct,W)=>({t:Math.round((r+W)/p*1e3)/1e3,opacity:0}))};u.set(c.el,I),n.push(I)}}for(const[L,c]of u)c.samples.push(M.get(L)??{t:Math.round(g*1e3)/1e3,opacity:0})}}return n},async inks(o){const s=$(o),n=w.find(e=>s>=e.part.start&&s<e.part.end);await h.draw(o,n?{part:n.part.key}:{});const i=h.current;if(!i)return[];const f=k.getBoundingClientRect(),a=f.width>0?l.width/f.width:1,t=[];for(const e of i.layers)if(A(e.el))for(const r of B(e.el,k,l.width))r.ink!==null&&t.push({text:{layer:e.spec.component,z:e.z,text:r.text,box:r.box,...r.viewport?{viewport:!0}:{},...r.opacity<1?{opacity:r.opacity}:{},...r.ink.join()===r.box.join()?{}:{ink:r.ink}},...Z(r,a)});return t},async objects(o,s){const n=$(o),i=w.find(t=>n>=t.part.start&&n<t.part.end);await h.draw(o,i?{part:i.part.key}:{});const f=h.current,a={t:o,elements:[],texts:[]};if(!f)return a;for(const t of f.layers)if(A(t.el))for(const e of B(t.el,k,l.width))e.ink!==null&&a.texts.push({text:e.text,box:[e.box[0],e.box[1],e.box[2],e.box[3]],size:e.size,keys:s(e.text)});return a},signature:d,async signatureAt(o){return await E(o,void 0),d()},async partSignature(o,s){const n=new Set,i=[],f="video, iframe, img[src$='.gif' i]";for(const a of s){await E(a,o);let t="";const e=[];try{for(const r of k.children){if(r instanceof HTMLElement&&!A(r))continue;const y=r.matches(f)?r:r.querySelector(f);if(y)return{unknown:`a <${y.tagName.toLowerCase()}> at ${a.toFixed(3)} s`};const u=[...r.matches("canvas:not([data-ak-sign])")?[r]:[],...r.querySelectorAll("canvas:not([data-ak-sign])")];for(const m of u){let g=m,x;for(;g&&g!==k&&!x;)x=tt.get(g),x||(g=g.parentElement);if(!x||!g)return{unknown:`a canvas outside any layer at ${a.toFixed(3)} s`};A(g)&&(m.setAttribute("data-ak-drawn",`${x.by} at ${String(Math.round(x.t*1e6)/1e6)}`),e.push(m),n.add(x.by))}t+=r.outerHTML}}finally{for(const r of e)r.removeAttribute("data-ak-drawn")}i.push(await N(t))}return{sign:await N(i.join(`
|
|
3
3
|
`)),owners:[...n].sort()}}}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
-
import{beatNear as
|
|
2
|
+
import{beatNear as X,fact as _,filmBeats as H,MUSIC_DEFAULTS as Y,musicGrid as Z,musicSeconds as J,onGrid as K,placeStretches as G,wholeLoop as x}from"@allyhub-next/video-core";const l=b=>Math.round(b*1e6)/1e6;export function musicClock(b,q){const{source:L,lang:O,ledger:P}=b,{options:k}=q,s=k.music===void 0?void 0:typeof k.music=="string"||"path"in k.music?{file:k.music}:k.music,T=s?.file===void 0?void 0:typeof s.file=="string"||"path"in s.file?s.file:O===void 0?void 0:s.file[O],c=T===void 0?void 0:b.mediaOf(T,q.musicBase),e=s??{},h=Math.max(0,e.from??0),w=c?.tempo,u=e.bpm!==void 0?{bpm:e.bpm,source:"given"}:w?{bpm:w.bpm,source:"measured",confidence:w.confidence,beat:w.beat}:void 0,U=()=>c&&c.sha256!==""?{file:c.path}:{},j=s!==void 0&&e.snap===!0&&!!u,$=j?60/u.bpm:0,Q=u?.beat??0,R=$>0?(Q-h)%$:0;s!==void 0&&e.snap===!0&&!u&&P.facts.push(_("fallback",{piece:L.piece},{...U(),missing:"tempo",for:"snap",fallback:"not-snapped"}));const t=Z(u,{meter:e.meter,downbeat:e.downbeat}),r=c?.duration,M=e.loop,V=[...e.play??[],...typeof M=="object"?[M]:[]],v=n=>{P.facts.push(_("fallback",{piece:L.piece},{...U(),missing:"tempo",for:n,fallback:n==="music-play"?"played-once":"film-end"}))};s!==void 0&&!t&&(V.some(n=>K(n.from)||K(n.to))&&v("music-play"),(e.end==="bar"||e.end==="beat")&&v("music-end"));const E=n=>{const a=J(n.from,t),d=J(n.to,t);return a===void 0||d===void 0?void 0:{from:a,to:d}},g=typeof M=="object"?E(M):void 0,z=e.play?.map(E),F=(z?.some(n=>n===void 0)??!1)||typeof M=="object"&&g===void 0,I=!F&&(z!==void 0||g!==void 0),C=n=>{if(!(r===void 0||r<=0)){if(F)return G([{from:h,to:r}],void 0,r,n);if(I){const a=z?.flatMap(d=>d?[d]:[])??(g?[{from:h,to:g.to}]:[]);return G(a,g,r,n)}return e.loop===!0?x(h,r,n,e.seam):G([{from:h,to:r}],void 0,r,n)}},W=n=>{if(s===void 0)return;const a=n.duration,d=(e.gain??[]).flatMap((o,y)=>{const f=n.momentAt(o.at,`music.gain[${String(y)}].at`);return f===void 0?[]:[{t:l(f),db:o.db}]}),A=e.filter!==void 0||e.eq!==void 0||e.compress!==void 0?{...e.filter===void 0?{}:{filter:e.filter},...e.eq===void 0?{}:{eq:e.eq.map((o,y)=>{const{keys:f,...S}=o,p=(f??[]).flatMap((B,D)=>{const N=n.momentAt(B.at,`music.eq[${String(y)}].keys[${String(D)}].at`);return N===void 0?[]:[{...B,at:l(N)}]});return p.length>0?{...S,keys:p}:S})},...e.compress===void 0?{}:{compress:e.compress}}:void 0,m=I?C(a):void 0;let i;if(t&&(e.end==="bar"||e.end==="beat")){const o=C(a),y=o?H(o,t,e.end):[],f=o?.at(-1);if(f&&!e.loop){const p=e.end==="bar"?t.beat*t.meter:t.beat,B=e.end==="bar"?t.downbeat:t.first,D=(f.to-B)/p;Math.abs(D-Math.round(D))<1e-6&&y.push(f.at+f.to-f.from)}const S=[...y].reverse().find(p=>p>1e-6&&p<=a+1e-6);S!==void 0&&(i=l(S))}return{...c&&c.sha256!==""?{file:c.path}:{},from:m?.[0]?.from??h,loop:e.loop===!0||g!==void 0,...u?{tempo:u}:{},snapped:j,...m?{play:m.map(o=>({at:l(o.at),from:l(o.from),to:l(o.to)})),seam:e.seam??Y.seam}:e.seam===void 0?{}:{seam:e.seam},...t?{meter:t.meter,downbeat:l(t.downbeat)}:{},...i===void 0?{}:{until:i},...d.length>0?{gain:d}:{},...A?{shape:A}:{}}};return{music:s,media:c,snapped:j,beat:$,beatPhase:R,grid:t,snapTo(n){if(!j||!t)return;const a=n.reduce((m,i)=>m+(i.speechDur!==void 0?i.lead+i.speechDur+i.tail:i.dur)+2*t.beat,0)+10,d=C(a);if(!d)return;const A=H(d,t);return(m,i)=>X(A,t.beat,m,i)},plan:n=>W(n)}}export const musicPlan=(b,q)=>b.plan(q);
|