hyperframes 0.8.197 → 0.8.199
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-5GQIR5OE.js → add-7LA5CGDM.js} +12 -12
- package/dist/{animatedGifPrep-MGFQWIGJ.js → animatedGifPrep-NB2MZTMQ.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-ADX55DGH.js → asset-4BIOI6GN.js} +2 -2
- package/dist/{assetCataloger-GGBWBQZW.js → assetCataloger-TX5KL5VV.js} +6 -6
- package/dist/{audio-SPB4CLRU.js → audio-ZGMIIDNU.js} +13 -13
- package/dist/{auth-WBAB35QA.js → auth-OQ5PWEUG.js} +1 -1
- package/dist/{autoUpdate-5VUDX7JO.js → autoUpdate-QREPD6I4.js} +3 -3
- package/dist/{backgroundChecks-ATZQQUMR.js → backgroundChecks-5CJPJX2O.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-6S2XULOE.js → batchRender-BW2ZK4MA.js} +3 -3
- package/dist/{beats-WJPHWDZ6.js → beats-I5XARMDB.js} +9 -9
- package/dist/{benchmark-LZVR7PF6.js → benchmark-S2WWY4U7.js} +9 -9
- package/dist/{browser-QJ3PFVDY.js → browser-PAXVQYQZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-564BQ73K.js → bundleWithLocalizedFonts-3ED26VCR.js} +2 -2
- package/dist/{capture-3PUQLQNM.js → capture-23574YLP.js} +9 -9
- package/dist/{capture-IRAYPK52.js → capture-OVITDMKK.js} +2 -2
- package/dist/{captureCompositionFrame-OHS3WBTA.js → captureCompositionFrame-KAUUHCOL.js} +11 -11
- package/dist/{catalog-IQKJLTSF.js → catalog-CM3VXSQE.js} +12 -12
- package/dist/{catch-up-C4JJJNP3.js → catch-up-HMFREOC2.js} +5 -5
- package/dist/{check-46Z5CAA4.js → check-CYJZ6CGT.js} +34 -34
- package/dist/{checkBrowser-KAC54SLQ.js → checkBrowser-GZJ3W2OP.js} +29 -29
- package/dist/{chunk-AHE4R7PV.js → chunk-2KZSKIYY.js} +1 -1
- package/dist/chunk-2ONVJ7NT.js +3901 -0
- package/dist/{chunk-5FY7ARKL.js → chunk-3CFTCM7X.js} +1 -1
- package/dist/{chunk-SD2IVQXM.js → chunk-4QG64APO.js} +2 -2
- package/dist/{chunk-ZE6CLWXL.js → chunk-65HUC64P.js} +1 -1
- package/dist/{chunk-PRURJIVL.js → chunk-6RRO4GE3.js} +1 -1
- package/dist/{chunk-6UX32GRW.js → chunk-7QB46WTF.js} +1 -1
- package/dist/{chunk-B6D7KOXQ.js → chunk-7SKOZHIY.js} +2 -2
- package/dist/{chunk-IY2NZKMG.js → chunk-7YZME6DE.js} +1 -1
- package/dist/{chunk-DTC4KKFP.js → chunk-AHZLNYZY.js} +1 -1
- package/dist/{chunk-4FXJ54L4.js → chunk-BFYDVTD3.js} +1 -1
- package/dist/{chunk-2R7QYR2D.js → chunk-BYLC52GJ.js} +1 -1
- package/dist/{chunk-MGSQPE6P.js → chunk-CMHVLASW.js} +1 -1
- package/dist/{chunk-POYHL7UJ.js → chunk-D5CZCYYT.js} +2 -2
- package/dist/{chunk-NAZ54XAE.js → chunk-DMRDGGNM.js} +6 -6
- package/dist/{chunk-XE5DW6UC.js → chunk-DWUOGV3M.js} +3 -3
- package/dist/{chunk-46J53I7B.js → chunk-FHDKRWQN.js} +54 -16
- package/dist/{chunk-GC4NUZAR.js → chunk-FV5GKRAO.js} +3 -3
- package/dist/{chunk-WWE73ZFN.js → chunk-FZ2VPLXL.js} +2 -2
- package/dist/{chunk-4MNF7ALL.js → chunk-GQACWAOC.js} +1 -1
- package/dist/{chunk-33BFEUCL.js → chunk-HK45GJMI.js} +748 -432
- package/dist/{chunk-BF3ACZAB.js → chunk-HOAXHVRR.js} +9 -9
- package/dist/{chunk-GI2WXOY5.js → chunk-HRZ6ZBKO.js} +2 -2
- package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
- package/dist/{chunk-IFOJM6PV.js → chunk-IELYOY6S.js} +3 -3
- package/dist/{chunk-RHYXITPN.js → chunk-ILFDFMYJ.js} +3 -3
- package/dist/{chunk-3DEBV7RH.js → chunk-IMVTN367.js} +2 -2
- package/dist/{chunk-454VK7CA.js → chunk-JFIEV2J4.js} +7 -7
- package/dist/{chunk-WNLHEUZU.js → chunk-JN63IPHT.js} +1 -1
- package/dist/{chunk-3HOQ5ZMS.js → chunk-K5O6JTJQ.js} +5 -5
- package/dist/{chunk-ZAY376M4.js → chunk-K65XUUJX.js} +1 -1
- package/dist/{chunk-BNMVX4JK.js → chunk-KFZPWUPN.js} +7 -7
- package/dist/{chunk-GM6WM6YH.js → chunk-KG3BVLA4.js} +1 -1
- package/dist/{chunk-T3CBCGU4.js → chunk-L6FG62QM.js} +43 -24
- package/dist/{chunk-PDDVEHWJ.js → chunk-LPDNR3R4.js} +2 -2
- package/dist/{chunk-WKHPW2BC.js → chunk-M2GO2AAS.js} +1 -1
- package/dist/{chunk-AXJMD32I.js → chunk-M6IMQBK6.js} +1 -1
- package/dist/{chunk-VFSFTVOT.js → chunk-NUZMP7SV.js} +17 -17
- package/dist/{chunk-5L6UY76S.js → chunk-NY2OH5XD.js} +1 -1
- package/dist/{chunk-BXXEQFRW.js → chunk-OZVRCLEN.js} +2 -2
- package/dist/{chunk-FUAS4KCJ.js → chunk-PO5PAROC.js} +3 -3
- package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
- package/dist/{chunk-WY6X5Q33.js → chunk-QH4425AL.js} +1 -1
- package/dist/{chunk-7JMUJID2.js → chunk-QYOUK3UO.js} +1 -1
- package/dist/{chunk-X73MOLUS.js → chunk-RYCANWOM.js} +4 -4
- package/dist/{chunk-6DMFWXDH.js → chunk-S5WSJVHP.js} +3 -3
- package/dist/{chunk-UP7IRMTI.js → chunk-SQQZUUK6.js} +9 -9
- package/dist/{chunk-RNPTRRLX.js → chunk-T4IJMVCB.js} +1 -1
- package/dist/{chunk-FFPKJU7T.js → chunk-TF7LCULS.js} +2 -2
- package/dist/{chunk-6LN4GQH3.js → chunk-TTWFTEUG.js} +5 -5
- package/dist/{chunk-IHSFWHXI.js → chunk-TVR744AS.js} +2 -2
- package/dist/{chunk-C4REI4HU.js → chunk-UBSAHYWA.js} +2 -2
- package/dist/{chunk-2C4VIQ2H.js → chunk-UMBCYIFE.js} +1 -1
- package/dist/{chunk-IK4Q7EKF.js → chunk-UVQLSMAR.js} +27 -4
- package/dist/{chunk-J756NYRP.js → chunk-VWPU6URV.js} +5 -5
- package/dist/{chunk-GGURM4ZM.js → chunk-XP55QWOB.js} +13 -13
- package/dist/{chunk-OEC7RJVD.js → chunk-XVZZQVT4.js} +1 -1
- package/dist/{chunk-X56HO2IP.js → chunk-YAMRODVV.js} +3 -2
- package/dist/{chunk-KBVJ6G65.js → chunk-Z6Q4ASCD.js} +107 -44
- package/dist/{clean-JM6Y5V2G.js → clean-QX6LKOWJ.js} +15 -15
- package/dist/cli.js +54 -54
- package/dist/{cloud-DWKTRWWB.js → cloud-ASA7Y3HA.js} +4 -4
- package/dist/{cloudrun-HLUQOVRO.js → cloudrun-LK4GJWUZ.js} +4 -4
- package/dist/{compare-GVTQBP4N.js → compare-426Z2ND6.js} +26 -26
- package/dist/{compiler-3MDCAKFB.js → compiler-WER7FC5O.js} +3 -3
- package/dist/{component-QSRD6BSP.js → component-HTDWZMEG.js} +3 -3
- package/dist/{compositions-BDITIWMO.js → compositions-EKRLQ5TU.js} +11 -11
- package/dist/{delete-G2MXPSLU.js → delete-KHXM6R7A.js} +3 -3
- package/dist/{deploy-Q7RDYGFL.js → deploy-WJ5JQJBD.js} +1 -1
- package/dist/{dist-WHAM6TAE.js → dist-EYJATCTF.js} +2 -2
- package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
- package/dist/{doctor-Q7SJW3MZ.js → doctor-NB3G2GDG.js} +11 -11
- package/dist/{events-DOABLVUG.js → events-6EL5NIJV.js} +3 -3
- package/dist/{events-XEAJVOX2.js → events-LH6W5ZCV.js} +4 -4
- package/dist/{feedback-K7I2FQQF.js → feedback-2GNY725M.js} +7 -7
- package/dist/{ffmpeg-2LKYJYAF.js → ffmpeg-XX3O53B3.js} +6 -6
- package/dist/{figma-LXJRAIDI.js → figma-X7KKOOXB.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-EDCTYZB6.js → get-M57U7QCX.js} +3 -3
- package/dist/{gpuPolicy-4YOOXLBX.js → gpuPolicy-GIBBYBI5.js} +6 -6
- package/dist/{grade-compare-ZWUXB3MD.js → grade-compare-XNY37UYQ.js} +27 -27
- package/dist/{help-LEZ3E433.js → help-ZXSPZBUG.js} +1 -1
- package/dist/{history-YD7OKO74.js → history-G5B4IPBH.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-SI2KU7J7.js → info-ZWZDG54W.js} +8 -8
- package/dist/{init-INX5WA2G.js → init-F4XMU6SV.js} +27 -27
- package/dist/{inspect-SJENYN3F.js → inspect-6VXFMQRR.js} +27 -27
- package/dist/{installer-JQ6DMFZ2.js → installer-4M3Y5T5F.js} +4 -4
- package/dist/{keyframes-EAVHD4PM.js → keyframes-3U466AWX.js} +7 -7
- package/dist/{lambda-323RMLN5.js → lambda-OPSTAEF6.js} +6 -6
- package/dist/{layout-JGCQYWWK.js → layout-B3MXD3F3.js} +27 -27
- package/dist/{lint-SFE43W5P.js → lint-TVOEGW63.js} +8 -8
- package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
- package/dist/{list-N2NSYK6G.js → list-M5GQSFVT.js} +3 -3
- package/dist/{login-QGISW3KF.js → login-HBHGZIDN.js} +4 -4
- package/dist/{manager-IXZJADWC.js → manager-VLIJARMF.js} +7 -7
- package/dist/{media-treatment-BTA7BV52.js → media-treatment-RQZ437VS.js} +13 -13
- package/dist/{models-NZEBSWXZ.js → models-2CCKVBTR.js} +10 -10
- package/dist/{motionShot-E4GNRX4N.js → motionShot-3IFRSICA.js} +14 -14
- package/dist/{normalize-audio-F4Q5ZX5R.js → normalize-audio-23H2MBDP.js} +5 -5
- package/dist/{open-A4U2RXCG.js → open-J33KT3G7.js} +12 -12
- package/dist/{parakeetRunner-OVNNGTEB.js → parakeetRunner-QTXNEMVY.js} +11 -11
- package/dist/{pipeline-Z76DCEY7.js → pipeline-2ECWWEBD.js} +7 -7
- package/dist/{play-NWSZMZZG.js → play-G5777L7A.js} +18 -18
- package/dist/{preflight-I6UXFNYV.js → preflight-NVFB4HXQ.js} +7 -7
- package/dist/{present-QFZQ5VRM.js → present-4EI2BE4Z.js} +14 -14
- package/dist/{preview-GXNG3UOV.js → preview-HYCIDZ52.js} +18 -18
- package/dist/{producer-MGXGNSQX.js → producer-6JAATJVD.js} +1 -1
- package/dist/{projectConfig-TNL3ZDIP.js → projectConfig-XPGN76VV.js} +6 -6
- package/dist/{publication-OO772CBM.js → publication-YRZ7EBUV.js} +2 -2
- package/dist/{publish-X33ZCMFO.js → publish-UIDHN7KD.js} +8 -8
- package/dist/{remove-background-JAD2RBYP.js → remove-background-LPQP4WBN.js} +8 -8
- package/dist/{render-OJEKVJNG.js → render-DT3OCUCV.js} +117 -37
- package/dist/{render-2FX26ITP.js → render-LFJQNVCK.js} +5 -5
- package/dist/{render-BZCK6XNT.js → render-NZSNQFYW.js} +14 -14
- package/dist/{render-batch-SP6HKIF4.js → render-batch-QI2A45WH.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-QB7L6U4Q.js → resolver-4YDXG4PP.js} +4 -4
- package/dist/{sherpa-BZLXBJTD.js → sherpa-XLKWFYFO.js} +10 -10
- package/dist/skills/media-use/references/mixing.md +1 -0
- package/dist/{skills-OMKCU4HZ.js → skills-OVVLZHF5.js} +6 -6
- package/dist/{skillsUpdateCheck-NNURJXBS.js → skillsUpdateCheck-Y2UQA7I5.js} +4 -4
- package/dist/{snapshot-J7Y3PCCI.js → snapshot-7NVB5WSO.js} +50 -36
- package/dist/{src-T5WHBOD2.js → src-ACAFJXAJ.js} +7 -7
- package/dist/{src-2YZVFDNC.js → src-QQPHMIJ7.js} +11 -5
- package/dist/{staticProjectServer-PHNKV2NL.js → staticProjectServer-JUN6BRTW.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-Cyi8HgFo.js → hyperframes-player-BDtBfwof.js} +1 -1
- package/dist/studio/assets/{index-DG6ZXBnu.js → index--W_0fuR8.js} +1 -1
- package/dist/studio/assets/{index-6njHuMnJ.js → index-BFfBBQMu.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-VLJJP2GQ.js → studio-api-D76Q4Q2N.js} +7 -7
- package/dist/{studioServer-G7RGGTWJ.js → studioServer-HG3RFAOY.js} +45 -45
- package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
- package/dist/{telemetry-2R6G2A54.js → telemetry-Q2EHWVO4.js} +4 -4
- package/dist/{timeline-B2CM5IZO.js → timeline-WDQCCETQ.js} +16 -16
- package/dist/{tokens-7EOFUTMX.js → tokens-2GJWP2HY.js} +2 -2
- package/dist/{transcribe-7GTD3CEW.js → transcribe-SRLAY6RG.js} +9 -9
- package/dist/{transcribe-YJM673R7.js → transcribe-Z63Y53GQ.js} +16 -16
- package/dist/{updateCheck-JBIJ7L2D.js → updateCheck-MJ6NDE3T.js} +3 -3
- package/dist/{upgrade-WF2CBHOE.js → upgrade-D5XEX3XE.js} +3 -3
- package/dist/{urlDownloader-HMXLCV4T.js → urlDownloader-R7BZ47TY.js} +5 -5
- package/dist/{validate-OHWQ7DQO.js → validate-F5BIDZLN.js} +21 -21
- package/dist/{video-OEEM43V6.js → video-QUG5OG5Q.js} +6 -6
- package/dist/warmCheck.js +34 -34
- package/package.json +1 -1
- package/dist/chunk-G5RNOVAV.js +0 -3901
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
readConfig,
|
|
12
12
|
readConfigFresh,
|
|
13
13
|
writeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PSX5SF2N.js";
|
|
15
15
|
import {
|
|
16
16
|
isDevMode
|
|
17
17
|
} from "./chunk-ISN5GRYI.js";
|
|
18
18
|
import {
|
|
19
19
|
VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OZVRCLEN.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/updateCheck.ts
|
|
23
23
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L6FG62QM.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UVQLSMAR.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
18
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OZVRCLEN.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JN63IPHT.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UVQLSMAR.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3CFTCM7X.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L6FG62QM.js";
|
|
33
33
|
import {
|
|
34
34
|
getAvailableMemoryMb,
|
|
35
35
|
getFreeDiskMb,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
getUpdateMeta,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4QG64APO.js";
|
|
43
43
|
import {
|
|
44
44
|
CONFIG_PATH,
|
|
45
45
|
withFileLock
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-PSX5SF2N.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OZVRCLEN.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-VLIJARMF.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-65HUC64P.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M6IMQBK6.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QYOUK3UO.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SQQZUUK6.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XP55QWOB.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TTWFTEUG.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JFIEV2J4.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Z6Q4ASCD.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,20 +45,21 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HOAXHVRR.js";
|
|
49
49
|
import {
|
|
50
50
|
BrowserCleanupError,
|
|
51
|
-
closeManagedBrowser
|
|
52
|
-
|
|
51
|
+
closeManagedBrowser,
|
|
52
|
+
onStopSignal
|
|
53
|
+
} from "./chunk-2KZSKIYY.js";
|
|
53
54
|
import {
|
|
54
55
|
findStageProxyBox
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-T4IJMVCB.js";
|
|
56
57
|
import {
|
|
57
58
|
resolveAutoProxy
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-JN63IPHT.js";
|
|
59
60
|
import {
|
|
60
61
|
injectTagsAtHeadStart
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
62
63
|
import {
|
|
63
64
|
normalizeErrorMessage
|
|
64
65
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -315,6 +316,30 @@ function rectToBbox(rect) {
|
|
|
315
316
|
}
|
|
316
317
|
|
|
317
318
|
// src/utils/checkBrowser.ts
|
|
319
|
+
var COPY_HEARTBEAT_MS = 1e4;
|
|
320
|
+
function elapsedText(ms) {
|
|
321
|
+
const seconds = Math.round(ms / 1e3);
|
|
322
|
+
return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
323
|
+
}
|
|
324
|
+
function startCopyHeartbeat(sources, cached) {
|
|
325
|
+
const startedAt = Date.now();
|
|
326
|
+
const latest = /* @__PURE__ */ new Map();
|
|
327
|
+
const timer = setInterval(() => {
|
|
328
|
+
for (const [index, { doneSeconds, totalSeconds }] of latest) {
|
|
329
|
+
if (cached[index]) continue;
|
|
330
|
+
const done = totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "";
|
|
331
|
+
console.error(
|
|
332
|
+
`[hyperframes] browser-playable copy of ${sources[index].file}: ${done || `${Math.floor(doneSeconds)}s done`} (${elapsedText(Date.now() - startedAt)} so far)`
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
}, COPY_HEARTBEAT_MS);
|
|
336
|
+
timer.unref();
|
|
337
|
+
return {
|
|
338
|
+
progress: (index, progress) => void latest.set(index, progress),
|
|
339
|
+
settled: (index) => void latest.delete(index),
|
|
340
|
+
stop: () => clearInterval(timer)
|
|
341
|
+
};
|
|
342
|
+
}
|
|
318
343
|
async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride) {
|
|
319
344
|
const none = { findings: [], failedPaths: /* @__PURE__ */ new Set(), files: [] };
|
|
320
345
|
if (!resolveAutoProxy(projectDir, autoProxyOverride)) return none;
|
|
@@ -352,9 +377,22 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
352
377
|
);
|
|
353
378
|
}
|
|
354
379
|
let settled = 0;
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
380
|
+
const heartbeat = startCopyHeartbeat(sources, cached);
|
|
381
|
+
const stopped = new AbortController();
|
|
382
|
+
const forgetStop = onStopSignal(() => stopped.abort());
|
|
383
|
+
const results = await resolveProxies(
|
|
384
|
+
projectDir,
|
|
385
|
+
sources,
|
|
386
|
+
(index) => {
|
|
387
|
+
settled += 1;
|
|
388
|
+
heartbeat.settled(index);
|
|
389
|
+
if (toMake > 0) console.error(`[hyperframes] browser-playable copies: ${settled}/${total}`);
|
|
390
|
+
},
|
|
391
|
+
heartbeat.progress,
|
|
392
|
+
stopped.signal
|
|
393
|
+
).finally(() => {
|
|
394
|
+
heartbeat.stop();
|
|
395
|
+
forgetStop();
|
|
358
396
|
});
|
|
359
397
|
const failures = sources.flatMap((source, index) => {
|
|
360
398
|
const result = results[index];
|
|
@@ -396,7 +434,7 @@ function proxyFailedDraft(message) {
|
|
|
396
434
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
397
435
|
}
|
|
398
436
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
399
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
437
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-3ED26VCR.js");
|
|
400
438
|
return injectTagsAtHeadStart(
|
|
401
439
|
await bundleWithLocalizedFonts(dir),
|
|
402
440
|
`<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
|
|
@@ -455,7 +493,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
455
493
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
456
494
|
}));
|
|
457
495
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
458
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
496
|
+
const { analyzeClipMediaFit } = await import("./src-QQPHMIJ7.js");
|
|
459
497
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
460
498
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
461
499
|
}
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UVQLSMAR.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HRZ6ZBKO.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
24
|
} from "./chunk-XOTUPVIF.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IC6BO4GU.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JFIEV2J4.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|