hyperframes 0.8.107 → 0.8.109
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/{add-DXZ3HNQI.js → add-7NAK3TQ6.js} +15 -15
- package/dist/{animatedGifPrep-2IQB4DGE.js → animatedGifPrep-NMGFOSIL.js} +6 -6
- package/dist/{asset-KZIG3MZN.js → asset-X7GUEAHC.js} +2 -2
- package/dist/{assetCataloger-4GE6PIUA.js → assetCataloger-FXEHOUA3.js} +2 -2
- package/dist/{auth-5IYF3H67.js → auth-EBWBTIGU.js} +2 -2
- package/dist/{autoUpdate-5C3FXM6Y.js → autoUpdate-DJBTMGAR.js} +2 -2
- package/dist/{backgroundChecks-75WGW4NB.js → backgroundChecks-QUMUVLYU.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FKKS3YBX.js → batchRender-ZTHFMHZY.js} +3 -3
- package/dist/{beats-ISR36NSK.js → beats-XUYNHYGB.js} +18 -12
- package/dist/{benchmark-U6TQ6DS2.js → benchmark-L45UHXEE.js} +12 -12
- package/dist/{browser-VDS6QAVA.js → browser-EM76PRMN.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-PMWWW5YG.js → bundleWithLocalizedFonts-4Q3ETTHW.js} +2 -2
- package/dist/{capture-BKA3UCZS.js → capture-4OPH4PMK.js} +7 -7
- package/dist/{capture-5KE34KCD.js → capture-OG6532RA.js} +2 -2
- package/dist/{catalog-ZXOSU27O.js → catalog-V42BPLQ4.js} +15 -15
- package/dist/{check-MZMZCXPN.js → check-3XQLHR2I.js} +30 -29
- package/dist/{checkBrowser-UIZJXYCQ.js → checkBrowser-56BV4TW3.js} +29 -28
- package/dist/{chunk-TI5Z4SWP.js → chunk-2IN77NP6.js} +3 -3
- package/dist/{chunk-WBVPQC7J.js → chunk-2JXJ5SGK.js} +1 -1
- package/dist/{chunk-QH6UFY2O.js → chunk-32P7FTFC.js} +4 -4
- package/dist/{chunk-7BI5BYMQ.js → chunk-3CPYTXZH.js} +5 -5
- package/dist/{chunk-OGTR33KN.js → chunk-3T4RQK6C.js} +2 -2
- package/dist/{chunk-HGL4WJDI.js → chunk-44UOKZIC.js} +9 -9
- package/dist/{chunk-KTPQ67TX.js → chunk-4PY6UPHN.js} +1 -1
- package/dist/{chunk-SGBOZ2HF.js → chunk-5ER3PYYP.js} +1 -1
- package/dist/{normalize-audio-J2PG6YXH.js → chunk-5ON5GH3X.js} +101 -209
- package/dist/{chunk-NHTRUAMD.js → chunk-AWUZ3AUD.js} +1 -1
- package/dist/{chunk-VMDEGITC.js → chunk-B25H4M4V.js} +1 -1
- package/dist/{chunk-QM2NUN2B.js → chunk-BAVM2XBR.js} +87 -3
- package/dist/{chunk-4W4UDPCH.js → chunk-C4TZBEHY.js} +2 -2
- package/dist/{chunk-FLUBCMNT.js → chunk-CFC3EEDQ.js} +1 -1
- package/dist/{chunk-3CYAZWF2.js → chunk-CPO5INJ5.js} +3 -3
- package/dist/{chunk-C3KEF3UA.js → chunk-CQRF7VU3.js} +1 -1
- package/dist/{chunk-6QWHIARJ.js → chunk-E4AYSXMS.js} +1 -1
- package/dist/{chunk-BRTGJ73L.js → chunk-HQGJLZB6.js} +2 -2
- package/dist/{chunk-HJCTKNXF.js → chunk-I5WWEBDG.js} +1 -1
- package/dist/{chunk-GLTHJJIF.js → chunk-ITBEN3QD.js} +2 -2
- package/dist/{chunk-3LBFLW7E.js → chunk-JTTAS7N6.js} +1 -1
- package/dist/{chunk-T4Z4UNSX.js → chunk-JWPSBANO.js} +3 -3
- package/dist/{chunk-P7XRDAWU.js → chunk-LAQEZHOH.js} +1 -1
- package/dist/{chunk-73VPF3SS.js → chunk-M224DAMG.js} +1 -1
- package/dist/{chunk-PU2IOWX4.js → chunk-MGFVNTIB.js} +2 -2
- package/dist/{chunk-NX6G66F4.js → chunk-MP25ID6H.js} +2 -2
- package/dist/{chunk-4DJXCVQJ.js → chunk-MR2LOG32.js} +577 -66
- package/dist/{chunk-3WG63KFW.js → chunk-N32ITJ7L.js} +25 -11
- package/dist/{chunk-D5EJCP26.js → chunk-OF3RKOPU.js} +79 -64
- package/dist/{chunk-J6CSEDK7.js → chunk-OORTZAJ7.js} +4 -4
- package/dist/{chunk-L7XDI3DT.js → chunk-RB7AHUOR.js} +1 -1
- package/dist/{chunk-YVEZT6WT.js → chunk-TBYUUOJG.js} +1 -1
- package/dist/{chunk-T3BOWXPX.js → chunk-TIZQC44K.js} +1 -1
- package/dist/{chunk-R4IB642V.js → chunk-U4TDAJZE.js} +2 -2
- package/dist/{chunk-TPPIERG3.js → chunk-WMN4NBJQ.js} +3 -3
- package/dist/{chunk-AO4PBESP.js → chunk-X2QJUTZL.js} +7 -7
- package/dist/{chunk-SKPL32FI.js → chunk-XKNYXDJN.js} +1 -1
- package/dist/{chunk-JNY3VJWB.js → chunk-XYVFPDNU.js} +1 -1
- package/dist/{chunk-Z4UAXNWV.js → chunk-YIXEH4TF.js} +2 -2
- package/dist/chunk-YLVI7VL5.js +3541 -0
- package/dist/{chunk-ADP6TMYP.js → chunk-YRTKK45P.js} +8 -8
- package/dist/{chunk-I73Z6OOE.js → chunk-ZKBSOLPY.js} +1 -1
- package/dist/{chunk-YY5J75H5.js → chunk-ZU54D6MI.js} +135 -5
- package/dist/{clean-46MZVA37.js → clean-45QMNXLN.js} +15 -14
- package/dist/cli.js +50 -50
- package/dist/{cloud-GAZQGPCW.js → cloud-YRYTNHMQ.js} +4 -4
- package/dist/{cloudrun-ZWL7SLDD.js → cloudrun-LVZ4OPPC.js} +3 -3
- package/dist/{compare-66AAJESM.js → compare-GODD3JD2.js} +24 -23
- package/dist/{compiler-3N7XQRH6.js → compiler-C32VXLE2.js} +3 -3
- package/dist/{component-3OCOHK2B.js → component-UMNTDLG3.js} +3 -3
- package/dist/{compositions-H2BP4N6F.js → compositions-EIRLTOYW.js} +11 -11
- package/dist/{delete-WNJLVPGO.js → delete-7P55EZOW.js} +2 -2
- package/dist/{dist-AY2RBEXL.js → dist-FMHQMEMX.js} +1 -1
- package/dist/{dist-HSEMXPG3.js → dist-YUIPB7OX.js} +8 -2
- package/dist/{doctor-IFOZS45N.js → doctor-UYSIF4PX.js} +10 -10
- package/dist/{events-6TH3FU3F.js → events-A2MYVK2Z.js} +9 -9
- package/dist/{events-5EKFJCCZ.js → events-LXYVOH3X.js} +8 -8
- package/dist/{feedback-QRQNMORT.js → feedback-46DWSEAZ.js} +10 -10
- package/dist/{figma-WONEPLUQ.js → figma-C5DHRI6P.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-C7FCYNI2.js → get-IRSUDICU.js} +2 -2
- package/dist/{gpuPolicy-BXXQF3VC.js → gpuPolicy-CA6KRFQQ.js} +6 -6
- package/dist/{grade-compare-SCCSZ5P3.js → grade-compare-BLHXB3UR.js} +24 -23
- package/dist/{help-FJOUNXVD.js → help-HMYF4Y3E.js} +1 -1
- package/dist/{history-OZY36NEC.js → history-K5BD64QP.js} +15 -14
- package/dist/hyperframe-runtime.js +54 -54
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +54 -54
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-RG4SZQ2C.js → info-QR2FYDJ7.js} +11 -11
- package/dist/{init-YGZCDKSS.js → init-L6BY7IV4.js} +22 -22
- package/dist/{inspect-X547EZ4I.js → inspect-D3MC4VH3.js} +25 -24
- package/dist/{installer-6J24NTIV.js → installer-NBEN3ZIP.js} +4 -4
- package/dist/{keyframes-EIWEION2.js → keyframes-TPMFVG6O.js} +12 -12
- package/dist/{lambda-DSZDMP7P.js → lambda-BFHJMMCG.js} +4 -4
- package/dist/{layout-B7KCBLBH.js → layout-AOYCSBIL.js} +25 -24
- package/dist/{lint-RBDG4ERJ.js → lint-L4MN7QPF.js} +12 -12
- package/dist/{lintProject-CMPAR7BS.js → lintProject-X7L7EZWZ.js} +1 -1
- package/dist/{list-BPHPHLDJ.js → list-LKXCKBRX.js} +2 -2
- package/dist/{login-HV7KBW2J.js → login-4WEDFAIY.js} +4 -4
- package/dist/{media-treatment-RS6BZSQC.js → media-treatment-H6YAFA3H.js} +12 -12
- package/dist/{models-K4U7GRXV.js → models-RILNQV3Z.js} +7 -7
- package/dist/{motionShot-5AI2DALY.js → motionShot-5F4DCMWC.js} +10 -10
- package/dist/normalize-audio-DFK5FTE5.js +276 -0
- package/dist/{pipeline-HIUESSET.js → pipeline-5UY45ELH.js} +6 -6
- package/dist/{play-TTLQXBAH.js → play-HFD4CPWF.js} +20 -19
- package/dist/{preflight-63ODQ625.js → preflight-3V5IHGWQ.js} +7 -7
- package/dist/{present-XKGZ26FQ.js → present-JGDYENOT.js} +16 -15
- package/dist/{preview-O2YEKMYJ.js → preview-GLI7KBCA.js} +17 -17
- package/dist/{producer-ZTQIJO7E.js → producer-7JGAPEAF.js} +1 -1
- package/dist/{projectConfig-VVFH7XW5.js → projectConfig-JHEWPAA5.js} +6 -6
- package/dist/{publication-NALPAHDC.js → publication-7XA2H7UB.js} +2 -2
- package/dist/{publish-G7OL45EL.js → publish-257VZMWI.js} +8 -8
- package/dist/{remove-background-LOLKFKLT.js → remove-background-EV6XVADN.js} +7 -7
- package/dist/{render-I65IU7RM.js → render-4C3YKVZI.js} +3 -3
- package/dist/{render-ULQLUIWD.js → render-K6YASB4G.js} +12 -12
- package/dist/{render-EXSRG666.js → render-Y6LOQDCD.js} +21 -21
- package/dist/{render-batch-RSNCREPB.js → render-batch-AFDBPDMM.js} +3 -3
- package/dist/{renderCancellation-2WB4SGXR.js → renderCancellation-VIZELWDD.js} +6 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-CVN2IM2R.js → resolver-S72XBTEQ.js} +4 -4
- package/dist/{sherpa-OJUI54HG.js → sherpa-BAADWCHB.js} +7 -7
- package/dist/{skills-CPS5E5YP.js → skills-TEVVW6TR.js} +11 -11
- package/dist/{skillsUpdateCheck-3IT5CJWU.js → skillsUpdateCheck-4Y3NJPB5.js} +3 -3
- package/dist/{snapshot-MSGC7HTA.js → snapshot-63X5B7GR.js} +25 -24
- package/dist/{src-SV7CNZXN.js → src-GD7RGV5U.js} +5 -5
- package/dist/{src-EZBJT4VH.js → src-GRC63B6L.js} +7 -7
- package/dist/{staticProjectServer-5JAGMYT7.js → staticProjectServer-SFINO3DE.js} +14 -13
- package/dist/{status-4W3EJYEH.js → status-LXQL3L3H.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-h4mktSdm.js → hyperframes-player-CJYtikAy.js} +1 -1
- package/dist/studio/assets/{index-lrT-gfHa.css → index-BQZBDqMs.css} +1 -1
- package/dist/studio/assets/{index-zoqPmBF6.js → index-CMSgrT2F.js} +1 -1
- package/dist/studio/assets/{index-CM1xA_jD.js → index-CYP6dMd7.js} +212 -210
- package/dist/studio/assets/{index-D8GKc2D9.js → index-HTFVHUJ4.js} +1 -1
- package/dist/studio/{chunk-NCUBAVGK.js → chunk-5VSXRGIX.js} +4 -4
- package/dist/studio/chunk-5VSXRGIX.js.map +1 -0
- package/dist/studio/chunk-6LUNLTHR.js +611 -0
- package/dist/studio/chunk-6LUNLTHR.js.map +1 -0
- package/dist/studio/{chunk-46XP7J3B.js → chunk-PQFEBX32.js} +5 -3
- package/dist/studio/chunk-PQFEBX32.js.map +1 -0
- package/dist/studio/{chunk-4OZC426H.js → chunk-QUXZVHOJ.js} +10 -504
- package/dist/studio/chunk-QUXZVHOJ.js.map +1 -0
- package/dist/studio/{domEditingLayers-AQBDFNUC.js → domEditingLayers-JQPQGGT7.js} +3 -3
- package/dist/studio/index.d.ts +53 -4
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +15746 -13173
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +3 -3
- package/dist/studio/styles.css +1 -1
- package/dist/studio/ui.js +1 -1
- package/dist/{studio-api-L2TJ2JTK.js → studio-api-WRSCXPWS.js} +8 -7
- package/dist/{studioServer-UV7YRYWN.js → studioServer-HPG3FVTJ.js} +44 -38
- package/dist/{system-OL4MXRPK.js → system-EEWYEHYX.js} +6 -6
- package/dist/{telemetry-WRUU725E.js → telemetry-UIZ5O7NL.js} +9 -9
- package/dist/{timeline-P43A53BW.js → timeline-L56HML42.js} +41 -21
- package/dist/{tokens-NUHTJM2V.js → tokens-DLPYLGLW.js} +2 -2
- package/dist/{transcribe-FSVNIFGF.js → transcribe-FBPTYMVZ.js} +12 -12
- package/dist/{transcribe-TRLZJK73.js → transcribe-GCKJF5A6.js} +7 -7
- package/dist/{updateCheck-33TAG46I.js → updateCheck-GQBMZGU3.js} +2 -2
- package/dist/{upgrade-AJ6QBTH2.js → upgrade-6LR7ZK3Q.js} +2 -2
- package/dist/{urlDownloader-MP6GJIDV.js → urlDownloader-NYXPEBUN.js} +5 -5
- package/dist/{validate-VL3A6VTJ.js → validate-VY6RJRHE.js} +15 -15
- package/dist/{video-KO7VT63P.js → video-KWQ5TSVD.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-PMLZPNIB.js +0 -3431
- package/dist/studio/chunk-46XP7J3B.js.map +0 -1
- package/dist/studio/chunk-4OZC426H.js.map +0 -1
- package/dist/studio/chunk-DI4LCJHL.js +0 -102
- package/dist/studio/chunk-DI4LCJHL.js.map +0 -1
- package/dist/studio/chunk-NCUBAVGK.js.map +0 -1
- /package/dist/studio/{domEditingLayers-AQBDFNUC.js.map → domEditingLayers-JQPQGGT7.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-WMQNIQDJ.js";
|
|
13
13
|
import {
|
|
14
14
|
createRenderCancellationScope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JTTAS7N6.js";
|
|
16
16
|
import {
|
|
17
17
|
c
|
|
18
18
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
failCommand,
|
|
24
24
|
setCommandExitCode
|
|
25
25
|
} from "./chunk-PBN6GBJE.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-OF3RKOPU.js";
|
|
27
|
+
import "./chunk-B25H4M4V.js";
|
|
28
28
|
import "./chunk-UUDQD62L.js";
|
|
29
29
|
import "./chunk-DPVXBVLL.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-U4TDAJZE.js";
|
|
31
|
+
import "./chunk-YLVI7VL5.js";
|
|
32
32
|
import "./chunk-VC76R6W2.js";
|
|
33
33
|
import "./chunk-OFQWTKPW.js";
|
|
34
34
|
import "./chunk-LAOCA3MQ.js";
|
|
35
35
|
import "./chunk-LCSMOLGX.js";
|
|
36
36
|
import "./chunk-TWWSYAKJ.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-BAVM2XBR.js";
|
|
38
38
|
import "./chunk-HBBJFK6I.js";
|
|
39
39
|
import "./chunk-PJ3HDUCY.js";
|
|
40
40
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -88,7 +88,7 @@ async function installMissing(sherpa, spin, signal) {
|
|
|
88
88
|
}
|
|
89
89
|
var wasCancelled = (err, signal, sherpa) => signal.aborted || err instanceof sherpa.DecodeCancelled;
|
|
90
90
|
async function installParakeet(json) {
|
|
91
|
-
const sherpa = await import("./sherpa-
|
|
91
|
+
const sherpa = await import("./sherpa-BAADWCHB.js");
|
|
92
92
|
const unsupported = sherpa.sherpaUnsupportedReason();
|
|
93
93
|
if (unsupported) fail(unsupported, json);
|
|
94
94
|
const spin = json ? null : ft({ output: process.stderr });
|
|
@@ -18,29 +18,29 @@ import {
|
|
|
18
18
|
} from "./chunk-5Z63TBTX.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveDiagnosticNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TIZQC44K.js";
|
|
22
22
|
import "./chunk-YEIFI443.js";
|
|
23
23
|
import "./chunk-IHFUKJOR.js";
|
|
24
24
|
import "./chunk-PFCFR3KZ.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveCaptureBrowserGpuMode,
|
|
27
27
|
resolveLocalBrowserGpuMode
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M224DAMG.js";
|
|
29
29
|
import "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import "./chunk-PBN6GBJE.js";
|
|
31
31
|
import {
|
|
32
32
|
assertWebGpuAdapterAvailable,
|
|
33
33
|
compositionRequiresWebGpu
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-OF3RKOPU.js";
|
|
35
|
+
import "./chunk-B25H4M4V.js";
|
|
36
36
|
import "./chunk-UUDQD62L.js";
|
|
37
37
|
import "./chunk-DPVXBVLL.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-U4TDAJZE.js";
|
|
39
|
+
import "./chunk-YLVI7VL5.js";
|
|
40
40
|
import "./chunk-VC76R6W2.js";
|
|
41
41
|
import "./chunk-OFQWTKPW.js";
|
|
42
42
|
import "./chunk-TWWSYAKJ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-BAVM2XBR.js";
|
|
44
44
|
import "./chunk-HBBJFK6I.js";
|
|
45
45
|
import "./chunk-PJ3HDUCY.js";
|
|
46
46
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -276,7 +276,7 @@ async function installSeekHelper(page) {
|
|
|
276
276
|
}
|
|
277
277
|
async function openCompositionPage(html, url, executablePath) {
|
|
278
278
|
const puppeteer = await import("puppeteer-core");
|
|
279
|
-
const { buildChromeArgs } = await import("./src-
|
|
279
|
+
const { buildChromeArgs } = await import("./src-GD7RGV5U.js");
|
|
280
280
|
const size = resolveCompositionViewportFromHtml(html);
|
|
281
281
|
const requestedGpuMode = resolveLocalBrowserGpuMode();
|
|
282
282
|
const resolvedGpuMode = await resolveCaptureBrowserGpuMode(requestedGpuMode, executablePath);
|
|
@@ -544,8 +544,8 @@ async function captureMotionPathShot(projectDir, requestsIn, outPath, opts = {})
|
|
|
544
544
|
const fit = opts.fit ?? true;
|
|
545
545
|
const camera = parseAngle(opts.angle);
|
|
546
546
|
const { ensureBrowser } = await import("./manager-NEVLEZK3.js");
|
|
547
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
548
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
547
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-SFINO3DE.js");
|
|
548
|
+
const { bundleToSingleHtml } = await import("./compiler-C32VXLE2.js");
|
|
549
549
|
const html = await bundleToSingleHtml(projectDir, { entryFile: opts.entryFile });
|
|
550
550
|
const server = await serveStaticProjectHtml(
|
|
551
551
|
projectDir,
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
DEFAULT_TARGET_LUFS,
|
|
9
|
+
absoluteLoudnessPlan,
|
|
10
|
+
audioNormalizationPlan,
|
|
11
|
+
audioTags,
|
|
12
|
+
loudnessMeasureArgs,
|
|
13
|
+
measureAudio,
|
|
14
|
+
parseEbur128Summary,
|
|
15
|
+
requiredFfmpeg,
|
|
16
|
+
resolveLocalAudioPath,
|
|
17
|
+
updateAudioVolume
|
|
18
|
+
} from "./chunk-5ON5GH3X.js";
|
|
19
|
+
import {
|
|
20
|
+
resolveProject
|
|
21
|
+
} from "./chunk-ZKBSOLPY.js";
|
|
22
|
+
import "./chunk-IHFUKJOR.js";
|
|
23
|
+
import "./chunk-WMN4NBJQ.js";
|
|
24
|
+
import "./chunk-CPO5INJ5.js";
|
|
25
|
+
import "./chunk-VWG7OQKU.js";
|
|
26
|
+
import {
|
|
27
|
+
c
|
|
28
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
29
|
+
import "./chunk-CQRF7VU3.js";
|
|
30
|
+
import "./chunk-AMKC3AXA.js";
|
|
31
|
+
import {
|
|
32
|
+
defineCommand
|
|
33
|
+
} from "./chunk-S3S4TGEH.js";
|
|
34
|
+
import "./chunk-54HJ63Q2.js";
|
|
35
|
+
import {
|
|
36
|
+
failCommand
|
|
37
|
+
} from "./chunk-PBN6GBJE.js";
|
|
38
|
+
import "./chunk-OF3RKOPU.js";
|
|
39
|
+
import "./chunk-B25H4M4V.js";
|
|
40
|
+
import "./chunk-UUDQD62L.js";
|
|
41
|
+
import "./chunk-DPVXBVLL.js";
|
|
42
|
+
import "./chunk-U4TDAJZE.js";
|
|
43
|
+
import "./chunk-YLVI7VL5.js";
|
|
44
|
+
import "./chunk-VC76R6W2.js";
|
|
45
|
+
import "./chunk-OFQWTKPW.js";
|
|
46
|
+
import "./chunk-TWWSYAKJ.js";
|
|
47
|
+
import "./chunk-BAVM2XBR.js";
|
|
48
|
+
import "./chunk-HBBJFK6I.js";
|
|
49
|
+
import "./chunk-PJ3HDUCY.js";
|
|
50
|
+
import "./chunk-TQFG7HTI.js";
|
|
51
|
+
import "./chunk-GK4AIFIH.js";
|
|
52
|
+
import "./chunk-2PSPARWP.js";
|
|
53
|
+
import "./chunk-K4WIOZFP.js";
|
|
54
|
+
import "./chunk-XUXGIA7H.js";
|
|
55
|
+
import "./chunk-WERLJGIC.js";
|
|
56
|
+
import "./chunk-ISN5GRYI.js";
|
|
57
|
+
import "./chunk-3T4RQK6C.js";
|
|
58
|
+
import "./chunk-KNU5COPB.js";
|
|
59
|
+
import "./chunk-3GXQPCJC.js";
|
|
60
|
+
import "./chunk-RQVDTPGD.js";
|
|
61
|
+
import "./chunk-PMRBLBUP.js";
|
|
62
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
63
|
+
|
|
64
|
+
// src/commands/normalize-audio.ts
|
|
65
|
+
import { existsSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
66
|
+
import { relative } from "path";
|
|
67
|
+
var DEFAULT_TOLERANCE_LU = 0.5;
|
|
68
|
+
function fail(message, json, cause) {
|
|
69
|
+
if (json) console.log(JSON.stringify({ ok: false, error: message }, null, 2));
|
|
70
|
+
else console.error(c.error(message));
|
|
71
|
+
failCommand(1, cause);
|
|
72
|
+
}
|
|
73
|
+
function byId(tags, rawId, role) {
|
|
74
|
+
const id = rawId.trim().replace(/^#/, "");
|
|
75
|
+
const tag = tags.find((candidate) => candidate.id === id);
|
|
76
|
+
if (!tag) throw new Error(`${role} audio #${id} was not found`);
|
|
77
|
+
return tag;
|
|
78
|
+
}
|
|
79
|
+
function selectedTags(html, referenceId, targetId) {
|
|
80
|
+
const tags = audioTags(html);
|
|
81
|
+
const referenceTag = byId(tags, referenceId, "Reference");
|
|
82
|
+
const targetTag = byId(tags, targetId, "Target");
|
|
83
|
+
if (referenceTag.id === targetTag.id) {
|
|
84
|
+
throw new Error("Reference and target must be different audio elements");
|
|
85
|
+
}
|
|
86
|
+
return { referenceTag, targetTag };
|
|
87
|
+
}
|
|
88
|
+
function existingAudioFile(projectDir, tag) {
|
|
89
|
+
const file = resolveLocalAudioPath(projectDir, tag.src);
|
|
90
|
+
if (!existsSync(file)) {
|
|
91
|
+
throw new Error(`Audio #${tag.id} file was not found: ${relative(projectDir, file)}`);
|
|
92
|
+
}
|
|
93
|
+
return file;
|
|
94
|
+
}
|
|
95
|
+
async function measuredPlan(projectDir, referenceTag, targetTag) {
|
|
96
|
+
const ffmpegPath = requiredFfmpeg();
|
|
97
|
+
const referenceFile = existingAudioFile(projectDir, referenceTag);
|
|
98
|
+
const targetFile = existingAudioFile(projectDir, targetTag);
|
|
99
|
+
const [referenceMeasurement, targetMeasurement] = await Promise.all([
|
|
100
|
+
measureAudio(ffmpegPath, referenceFile, referenceTag),
|
|
101
|
+
measureAudio(ffmpegPath, targetFile, targetTag)
|
|
102
|
+
]);
|
|
103
|
+
return audioNormalizationPlan(
|
|
104
|
+
{ id: referenceTag.id, volume: referenceTag.volume, ...referenceMeasurement },
|
|
105
|
+
{ id: targetTag.id, volume: targetTag.volume, ...targetMeasurement }
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
function writeAtomically(path, contents) {
|
|
109
|
+
const temporary = `${path}.hf-normalize-${process.pid}.tmp`;
|
|
110
|
+
writeFileSync(temporary, contents);
|
|
111
|
+
renameSync(temporary, path);
|
|
112
|
+
}
|
|
113
|
+
function parsedTolerance(raw) {
|
|
114
|
+
const tolerance = Number(raw);
|
|
115
|
+
if (!Number.isFinite(tolerance) || tolerance < 0) {
|
|
116
|
+
throw new Error("--tolerance must be a non-negative number");
|
|
117
|
+
}
|
|
118
|
+
return tolerance;
|
|
119
|
+
}
|
|
120
|
+
function parsedLufs(raw) {
|
|
121
|
+
const lufs = Number(raw);
|
|
122
|
+
if (!Number.isFinite(lufs) || lufs >= 0) throw new Error("--lufs must be a negative number");
|
|
123
|
+
return lufs;
|
|
124
|
+
}
|
|
125
|
+
async function measuredAbsolutePlan(projectDir, targetTag, targetLufs) {
|
|
126
|
+
const measurement = await measureAudio(
|
|
127
|
+
requiredFfmpeg(),
|
|
128
|
+
existingAudioFile(projectDir, targetTag),
|
|
129
|
+
targetTag
|
|
130
|
+
);
|
|
131
|
+
return absoluteLoudnessPlan(
|
|
132
|
+
{ id: targetTag.id, volume: targetTag.volume, ...measurement },
|
|
133
|
+
targetLufs
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
async function plannedNormalization(projectDir, html, options, tolerance) {
|
|
137
|
+
if (options.reference === void 0) {
|
|
138
|
+
const targetTag2 = byId(audioTags(html), options.target, "Target");
|
|
139
|
+
const plan2 = await measuredAbsolutePlan(projectDir, targetTag2, parsedLufs(options.lufs));
|
|
140
|
+
const withinTolerance2 = Math.abs(plan2.changeDb) <= tolerance;
|
|
141
|
+
return { targetTag: targetTag2, withinTolerance: withinTolerance2, plan: { mode: "absolute", ...plan2 } };
|
|
142
|
+
}
|
|
143
|
+
const { referenceTag, targetTag } = selectedTags(html, options.reference, options.target);
|
|
144
|
+
const plan = await measuredPlan(projectDir, referenceTag, targetTag);
|
|
145
|
+
const withinTolerance = Math.abs(plan.referenceLufs - plan.targetLufs) <= tolerance;
|
|
146
|
+
return { targetTag, withinTolerance, plan: { mode: "reference", ...plan } };
|
|
147
|
+
}
|
|
148
|
+
async function normalizeAudio(options) {
|
|
149
|
+
const project = resolveProject(options.dir);
|
|
150
|
+
const html = readFileSync(project.indexPath, "utf8");
|
|
151
|
+
const tolerance = parsedTolerance(options.tolerance);
|
|
152
|
+
const { targetTag, withinTolerance, plan } = await plannedNormalization(
|
|
153
|
+
project.dir,
|
|
154
|
+
html,
|
|
155
|
+
options,
|
|
156
|
+
tolerance
|
|
157
|
+
);
|
|
158
|
+
const wrote = options.write && !withinTolerance;
|
|
159
|
+
if (wrote) {
|
|
160
|
+
writeAtomically(
|
|
161
|
+
project.indexPath,
|
|
162
|
+
updateAudioVolume(readFileSync(project.indexPath, "utf8"), targetTag.id, plan.volume)
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
return { ok: true, wrote, withinTolerance, tolerance, indexPath: project.indexPath, ...plan };
|
|
166
|
+
}
|
|
167
|
+
var LIMIT_TEXT = {
|
|
168
|
+
"gain-ceiling": "stopped at the +12 dB authoring ceiling",
|
|
169
|
+
"true-peak": "stopped short of -1.5 dBTP"
|
|
170
|
+
};
|
|
171
|
+
function printMeasuredLine(result) {
|
|
172
|
+
if (result.mode === "reference") {
|
|
173
|
+
console.log(
|
|
174
|
+
`${c.bold(`#${result.referenceId}`)} ${result.referenceLufs.toFixed(1)} LUFS \u2192 ${c.bold(`#${result.targetId}`)} ${result.targetLufs.toFixed(1)} LUFS`
|
|
175
|
+
);
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
const limit = result.limitedBy ? ` (${LIMIT_TEXT[result.limitedBy]})` : "";
|
|
179
|
+
console.log(
|
|
180
|
+
`${c.bold(`#${result.targetId}`)} ${result.sourceLufs.toFixed(1)} LUFS \u2192 ${result.projectedLufs.toFixed(1)} LUFS, target ${result.targetLufs.toFixed(1)}${limit}`
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
function printHumanResult(result) {
|
|
184
|
+
printMeasuredLine(result);
|
|
185
|
+
if (result.withinTolerance) {
|
|
186
|
+
console.log(
|
|
187
|
+
c.success(`Already matched within ${result.tolerance.toFixed(1)} LU; no change needed.`)
|
|
188
|
+
);
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
console.log(
|
|
192
|
+
`Set #${result.targetId} data-volume ${result.previousVolume.toFixed(3)} \u2192 ${result.volume.toFixed(6)} (${result.changeDb >= 0 ? "+" : ""}${result.changeDb.toFixed(1)} dB).`
|
|
193
|
+
);
|
|
194
|
+
console.log(
|
|
195
|
+
result.wrote ? c.success(`Updated ${relative(process.cwd(), result.indexPath) || "index.html"}.`) : c.dim("Dry run only. Pass --write to persist this gain.")
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
var examples = [
|
|
199
|
+
[
|
|
200
|
+
"Bring one clip (audio or a video with sound) to -16 LUFS",
|
|
201
|
+
"hyperframes normalize-audio --target voiceover --write"
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
"Measure two authored clips and preview the matching gain",
|
|
205
|
+
"hyperframes normalize-audio --reference target-audio --target user-audio"
|
|
206
|
+
],
|
|
207
|
+
[
|
|
208
|
+
"Persist the measured gain into index.html",
|
|
209
|
+
"hyperframes normalize-audio --reference target-audio --target user-audio --write"
|
|
210
|
+
]
|
|
211
|
+
];
|
|
212
|
+
var normalize_audio_default = defineCommand({
|
|
213
|
+
meta: {
|
|
214
|
+
name: "normalize-audio",
|
|
215
|
+
description: "Normalize a clip with sound to an absolute LUFS target, or match it to another clip"
|
|
216
|
+
},
|
|
217
|
+
args: {
|
|
218
|
+
dir: { type: "positional", description: "Project directory", required: false },
|
|
219
|
+
reference: {
|
|
220
|
+
type: "string",
|
|
221
|
+
description: "Audio or video element id whose effective loudness should be preserved (omit to use --lufs)",
|
|
222
|
+
required: false
|
|
223
|
+
},
|
|
224
|
+
target: {
|
|
225
|
+
type: "string",
|
|
226
|
+
description: "Audio or video element id whose data-volume should be set",
|
|
227
|
+
required: true
|
|
228
|
+
},
|
|
229
|
+
lufs: {
|
|
230
|
+
type: "string",
|
|
231
|
+
description: `Absolute integrated loudness target without --reference (default ${DEFAULT_TARGET_LUFS})`,
|
|
232
|
+
default: String(DEFAULT_TARGET_LUFS)
|
|
233
|
+
},
|
|
234
|
+
write: {
|
|
235
|
+
type: "boolean",
|
|
236
|
+
description: "Persist the measured target gain into index.html",
|
|
237
|
+
default: false
|
|
238
|
+
},
|
|
239
|
+
tolerance: {
|
|
240
|
+
type: "string",
|
|
241
|
+
description: `Skip writes within this many LU (default ${DEFAULT_TOLERANCE_LU})`,
|
|
242
|
+
default: String(DEFAULT_TOLERANCE_LU)
|
|
243
|
+
},
|
|
244
|
+
json: { type: "boolean", description: "Print machine-readable output", default: false }
|
|
245
|
+
},
|
|
246
|
+
async run({ args }) {
|
|
247
|
+
try {
|
|
248
|
+
const result = await normalizeAudio({
|
|
249
|
+
dir: args.dir,
|
|
250
|
+
reference: args.reference,
|
|
251
|
+
target: args.target,
|
|
252
|
+
lufs: args.lufs,
|
|
253
|
+
tolerance: args.tolerance,
|
|
254
|
+
write: args.write
|
|
255
|
+
});
|
|
256
|
+
if (args.json) {
|
|
257
|
+
const { indexPath: _, ...jsonResult } = result;
|
|
258
|
+
console.log(JSON.stringify(jsonResult, null, 2));
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
printHumanResult(result);
|
|
262
|
+
} catch (error) {
|
|
263
|
+
fail(error instanceof Error ? error.message : String(error), Boolean(args.json), error);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
export {
|
|
268
|
+
audioNormalizationPlan,
|
|
269
|
+
audioTags,
|
|
270
|
+
normalize_audio_default as default,
|
|
271
|
+
examples,
|
|
272
|
+
loudnessMeasureArgs,
|
|
273
|
+
parseEbur128Summary,
|
|
274
|
+
resolveLocalAudioPath,
|
|
275
|
+
updateAudioVolume
|
|
276
|
+
};
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
render,
|
|
15
15
|
resolveRenderTargets,
|
|
16
16
|
waitForExit
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-C4TZBEHY.js";
|
|
18
18
|
import "./chunk-2EAXUCCE.js";
|
|
19
19
|
import "./chunk-X5HWXQPU.js";
|
|
20
20
|
import "./chunk-TVCRUG2S.js";
|
|
21
21
|
import "./chunk-AMKC3AXA.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-OF3RKOPU.js";
|
|
23
|
+
import "./chunk-B25H4M4V.js";
|
|
24
24
|
import "./chunk-UUDQD62L.js";
|
|
25
25
|
import "./chunk-DPVXBVLL.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-U4TDAJZE.js";
|
|
27
|
+
import "./chunk-YLVI7VL5.js";
|
|
28
28
|
import "./chunk-VC76R6W2.js";
|
|
29
29
|
import "./chunk-OFQWTKPW.js";
|
|
30
30
|
import "./chunk-LCSMOLGX.js";
|
|
31
31
|
import "./chunk-TWWSYAKJ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-BAVM2XBR.js";
|
|
33
33
|
import "./chunk-HBBJFK6I.js";
|
|
34
34
|
import "./chunk-PJ3HDUCY.js";
|
|
35
35
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -12,14 +12,15 @@ import {
|
|
|
12
12
|
resolvePlayerPath,
|
|
13
13
|
resolveRuntimePath,
|
|
14
14
|
revalidatedResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ITBEN3QD.js";
|
|
16
16
|
import "./chunk-X7MTZ4T2.js";
|
|
17
17
|
import {
|
|
18
18
|
injectMediaCodecMapIntoHtml,
|
|
19
19
|
requestSubPath
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-MR2LOG32.js";
|
|
21
|
+
import "./chunk-ZU54D6MI.js";
|
|
22
22
|
import "./chunk-WEATBQTR.js";
|
|
23
|
+
import "./chunk-5ON5GH3X.js";
|
|
23
24
|
import {
|
|
24
25
|
PROXY_VARIANT_CONFIG,
|
|
25
26
|
ProxyCapacityError,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
recordProxyRequest,
|
|
31
32
|
resolveProxy,
|
|
32
33
|
resolveProxyVariantRequest
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MGFVNTIB.js";
|
|
34
35
|
import {
|
|
35
36
|
openBrowser,
|
|
36
37
|
parseRemoteDebuggingPort,
|
|
@@ -38,11 +39,11 @@ import {
|
|
|
38
39
|
} from "./chunk-LFGJWOVA.js";
|
|
39
40
|
import {
|
|
40
41
|
resolveProject
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZKBSOLPY.js";
|
|
42
43
|
import "./chunk-IHFUKJOR.js";
|
|
43
44
|
import {
|
|
44
45
|
resolveAutoProxy
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LAQEZHOH.js";
|
|
46
47
|
import "./chunk-XT7X6QCP.js";
|
|
47
48
|
import "./chunk-4YYJOFKS.js";
|
|
48
49
|
import "./chunk-HVW7ABXD.js";
|
|
@@ -51,19 +52,19 @@ import {
|
|
|
51
52
|
ft,
|
|
52
53
|
ge
|
|
53
54
|
} from "./chunk-WMQNIQDJ.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-XYVFPDNU.js";
|
|
56
|
+
import "./chunk-HQGJLZB6.js";
|
|
57
|
+
import "./chunk-AWUZ3AUD.js";
|
|
57
58
|
import "./chunk-AWDFDFI3.js";
|
|
58
59
|
import "./chunk-GMECXFAN.js";
|
|
59
60
|
import "./chunk-RDMAU7AJ.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-WMN4NBJQ.js";
|
|
62
|
+
import "./chunk-CPO5INJ5.js";
|
|
62
63
|
import "./chunk-VWG7OQKU.js";
|
|
63
64
|
import {
|
|
64
65
|
c
|
|
65
66
|
} from "./chunk-ZTZA4UWZ.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-CQRF7VU3.js";
|
|
67
68
|
import "./chunk-AMKC3AXA.js";
|
|
68
69
|
import {
|
|
69
70
|
defineCommand
|
|
@@ -74,16 +75,16 @@ import {
|
|
|
74
75
|
} from "./chunk-PBN6GBJE.js";
|
|
75
76
|
import "./chunk-KC5XXX3X.js";
|
|
76
77
|
import "./chunk-TJSTGSAW.js";
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-OF3RKOPU.js";
|
|
79
|
+
import "./chunk-B25H4M4V.js";
|
|
79
80
|
import "./chunk-UUDQD62L.js";
|
|
80
81
|
import "./chunk-DPVXBVLL.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-U4TDAJZE.js";
|
|
83
|
+
import "./chunk-YLVI7VL5.js";
|
|
83
84
|
import "./chunk-VC76R6W2.js";
|
|
84
85
|
import "./chunk-OFQWTKPW.js";
|
|
85
86
|
import "./chunk-TWWSYAKJ.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-BAVM2XBR.js";
|
|
87
88
|
import "./chunk-HBBJFK6I.js";
|
|
88
89
|
import "./chunk-PJ3HDUCY.js";
|
|
89
90
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -93,7 +94,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
93
94
|
import "./chunk-XUXGIA7H.js";
|
|
94
95
|
import "./chunk-WERLJGIC.js";
|
|
95
96
|
import "./chunk-ISN5GRYI.js";
|
|
96
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-3T4RQK6C.js";
|
|
97
98
|
import "./chunk-KNU5COPB.js";
|
|
98
99
|
import "./chunk-3GXQPCJC.js";
|
|
99
100
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -240,7 +241,7 @@ var play_default = defineCommand({
|
|
|
240
241
|
}
|
|
241
242
|
});
|
|
242
243
|
async function registerCompositionRoute(app, project, autoProxy) {
|
|
243
|
-
const { isSafePath } = await import("./studio-api-
|
|
244
|
+
const { isSafePath } = await import("./studio-api-WRSCXPWS.js");
|
|
244
245
|
app.get("/composition/*", async (ctx) => {
|
|
245
246
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
246
247
|
const filePath = resolve(project.dir, reqPath);
|
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
parseToolVersion,
|
|
11
11
|
resolveRenderBrowser,
|
|
12
12
|
runEnvironmentChecks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-E4AYSXMS.js";
|
|
14
14
|
import "./chunk-TVCRUG2S.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CQRF7VU3.js";
|
|
16
16
|
import "./chunk-AMKC3AXA.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-OF3RKOPU.js";
|
|
18
|
+
import "./chunk-B25H4M4V.js";
|
|
19
19
|
import "./chunk-UUDQD62L.js";
|
|
20
20
|
import "./chunk-DPVXBVLL.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-U4TDAJZE.js";
|
|
22
|
+
import "./chunk-YLVI7VL5.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|
|
24
24
|
import "./chunk-OFQWTKPW.js";
|
|
25
25
|
import "./chunk-N34BYX3E.js";
|
|
26
26
|
import "./chunk-LCSMOLGX.js";
|
|
27
27
|
import "./chunk-TWWSYAKJ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-BAVM2XBR.js";
|
|
29
29
|
import "./chunk-HBBJFK6I.js";
|
|
30
30
|
import "./chunk-PJ3HDUCY.js";
|
|
31
31
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -9,13 +9,14 @@ import {
|
|
|
9
9
|
listenOnFreePort,
|
|
10
10
|
resolvePlayerPath,
|
|
11
11
|
resolveSlideshowPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ITBEN3QD.js";
|
|
13
13
|
import {
|
|
14
14
|
requestSubPath
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MR2LOG32.js";
|
|
16
|
+
import "./chunk-ZU54D6MI.js";
|
|
17
17
|
import "./chunk-WEATBQTR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5ON5GH3X.js";
|
|
19
|
+
import "./chunk-MGFVNTIB.js";
|
|
19
20
|
import {
|
|
20
21
|
openBrowser,
|
|
21
22
|
parseRemoteDebuggingPort,
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
} from "./chunk-LFGJWOVA.js";
|
|
24
25
|
import {
|
|
25
26
|
resolveProject
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZKBSOLPY.js";
|
|
27
28
|
import "./chunk-IHFUKJOR.js";
|
|
28
29
|
import {
|
|
29
30
|
R,
|
|
@@ -31,13 +32,13 @@ import {
|
|
|
31
32
|
ge
|
|
32
33
|
} from "./chunk-WMQNIQDJ.js";
|
|
33
34
|
import "./chunk-RDMAU7AJ.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-WMN4NBJQ.js";
|
|
36
|
+
import "./chunk-CPO5INJ5.js";
|
|
36
37
|
import "./chunk-VWG7OQKU.js";
|
|
37
38
|
import {
|
|
38
39
|
c
|
|
39
40
|
} from "./chunk-ZTZA4UWZ.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CQRF7VU3.js";
|
|
41
42
|
import "./chunk-AMKC3AXA.js";
|
|
42
43
|
import {
|
|
43
44
|
defineCommand
|
|
@@ -48,16 +49,16 @@ import {
|
|
|
48
49
|
} from "./chunk-PBN6GBJE.js";
|
|
49
50
|
import "./chunk-KC5XXX3X.js";
|
|
50
51
|
import "./chunk-TJSTGSAW.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-OF3RKOPU.js";
|
|
53
|
+
import "./chunk-B25H4M4V.js";
|
|
53
54
|
import "./chunk-UUDQD62L.js";
|
|
54
55
|
import "./chunk-DPVXBVLL.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-U4TDAJZE.js";
|
|
57
|
+
import "./chunk-YLVI7VL5.js";
|
|
57
58
|
import "./chunk-VC76R6W2.js";
|
|
58
59
|
import "./chunk-OFQWTKPW.js";
|
|
59
60
|
import "./chunk-TWWSYAKJ.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-BAVM2XBR.js";
|
|
61
62
|
import "./chunk-HBBJFK6I.js";
|
|
62
63
|
import "./chunk-PJ3HDUCY.js";
|
|
63
64
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -67,7 +68,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
67
68
|
import "./chunk-XUXGIA7H.js";
|
|
68
69
|
import "./chunk-WERLJGIC.js";
|
|
69
70
|
import "./chunk-ISN5GRYI.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-3T4RQK6C.js";
|
|
71
72
|
import "./chunk-KNU5COPB.js";
|
|
72
73
|
import "./chunk-3GXQPCJC.js";
|
|
73
74
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -332,7 +333,7 @@ function escHtml(value) {
|
|
|
332
333
|
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
333
334
|
}
|
|
334
335
|
async function registerPresentCompositionRoute(app, project) {
|
|
335
|
-
const { isSafePath } = await import("./studio-api-
|
|
336
|
+
const { isSafePath } = await import("./studio-api-WRSCXPWS.js");
|
|
336
337
|
app.get("/composition/*", (ctx) => {
|
|
337
338
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
338
339
|
const filePath = resolve(project.dir, reqPath);
|