hyperframes 0.8.195 → 0.8.197
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-NL6XABRV.js → add-5GQIR5OE.js} +12 -12
- package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-MGFQWIGJ.js} +8 -8
- package/dist/api.js +16 -16
- package/dist/{asset-LRRHLG4L.js → asset-ADX55DGH.js} +2 -2
- package/dist/{assetCataloger-D7KGO346.js → assetCataloger-GGBWBQZW.js} +8 -8
- package/dist/{audio-34CZM4HF.js → audio-SPB4CLRU.js} +14 -14
- package/dist/{auth-FL5ZMOXB.js → auth-WBAB35QA.js} +1 -1
- package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-5VUDX7JO.js} +2 -2
- package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-ATZQQUMR.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-KDZ4F4QT.js → batchRender-6S2XULOE.js} +4 -4
- package/dist/{beats-7PK677VR.js → beats-WJPHWDZ6.js} +9 -9
- package/dist/{benchmark-LO36QH5D.js → benchmark-LZVR7PF6.js} +9 -9
- package/dist/{browser-3F7NDHU2.js → browser-QJ3PFVDY.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-564BQ73K.js} +2 -2
- package/dist/{capture-DOP3ONNZ.js → capture-3PUQLQNM.js} +11 -11
- package/dist/{capture-JOSZZYUW.js → capture-IRAYPK52.js} +2 -2
- package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-OHS3WBTA.js} +13 -13
- package/dist/{catalog-EZLHZMLM.js → catalog-IQKJLTSF.js} +12 -12
- package/dist/{catch-up-6B7VY43I.js → catch-up-C4JJJNP3.js} +4 -4
- package/dist/{check-QGELCBBF.js → check-46Z5CAA4.js} +37 -37
- package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-KAC54SLQ.js} +32 -32
- package/dist/{chunk-NKNRVPNV.js → chunk-2C4VIQ2H.js} +2 -2
- package/dist/{chunk-D6XDOYMB.js → chunk-2R7QYR2D.js} +1 -1
- package/dist/{chunk-W7GMPEY3.js → chunk-33BFEUCL.js} +15 -11
- package/dist/{chunk-KJ6ZQL34.js → chunk-3DEBV7RH.js} +1 -1
- package/dist/{chunk-7DFIVUOW.js → chunk-3HOQ5ZMS.js} +6 -6
- package/dist/{chunk-L4BFXWHC.js → chunk-454VK7CA.js} +17 -17
- package/dist/{chunk-IZR7U27Z.js → chunk-46J53I7B.js} +47 -16
- package/dist/{chunk-SMROKE63.js → chunk-4FXJ54L4.js} +2 -2
- package/dist/{chunk-OB4GJZTY.js → chunk-4MNF7ALL.js} +1 -1
- package/dist/{chunk-GKMRLES4.js → chunk-5FY7ARKL.js} +1 -1
- package/dist/{chunk-YUFECVHG.js → chunk-5L6UY76S.js} +1 -1
- package/dist/{chunk-IZCW2NKT.js → chunk-5S7W3TUO.js} +1 -0
- package/dist/{chunk-YSXCPSJ4.js → chunk-6DMFWXDH.js} +3 -3
- package/dist/{chunk-KVLGJJTE.js → chunk-6LN4GQH3.js} +5 -5
- package/dist/{chunk-E527A6RS.js → chunk-6UX32GRW.js} +2 -2
- package/dist/{chunk-4R2NWLQL.js → chunk-7JMUJID2.js} +1 -1
- package/dist/{chunk-WUL5LPI2.js → chunk-AHE4R7PV.js} +9 -1
- package/dist/{chunk-F4T7XYMF.js → chunk-AXJMD32I.js} +1 -1
- package/dist/{chunk-FWDDLW2H.js → chunk-B6D7KOXQ.js} +2 -2
- package/dist/{chunk-ES7KSCSO.js → chunk-BF3ACZAB.js} +9 -9
- package/dist/{chunk-3OAFRLD3.js → chunk-BNMVX4JK.js} +11 -8
- package/dist/{chunk-66Q27H72.js → chunk-BXXEQFRW.js} +2 -2
- package/dist/{chunk-NOHH25WS.js → chunk-C4REI4HU.js} +2 -2
- package/dist/{chunk-CCZMCX3F.js → chunk-DTC4KKFP.js} +1 -1
- package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
- package/dist/{chunk-BBXZPDEA.js → chunk-FFPKJU7T.js} +2 -2
- package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
- package/dist/{chunk-ORZMO6NY.js → chunk-FUAS4KCJ.js} +3 -3
- package/dist/chunk-G5RNOVAV.js +3901 -0
- package/dist/{chunk-7Y5RVQQ7.js → chunk-GC4NUZAR.js} +4 -4
- package/dist/{chunk-7G2LQM3J.js → chunk-GGURM4ZM.js} +27 -18
- package/dist/{chunk-VNWX5GBF.js → chunk-GI2WXOY5.js} +4 -3
- package/dist/{chunk-ZOJHEN3C.js → chunk-GM6WM6YH.js} +1 -1
- package/dist/{chunk-6ORTRIDW.js → chunk-IFOJM6PV.js} +3 -3
- package/dist/{chunk-SC6NILKD.js → chunk-IHSFWHXI.js} +1 -1
- package/dist/{chunk-E74JMKSK.js → chunk-IK4Q7EKF.js} +2 -2
- package/dist/{chunk-TE6VGYHQ.js → chunk-IY2NZKMG.js} +1 -1
- package/dist/{chunk-636WBDXB.js → chunk-J756NYRP.js} +5 -5
- package/dist/{chunk-GJG4CTXD.js → chunk-KBVJ6G65.js} +3 -3
- package/dist/{chunk-3PYIQLPL.js → chunk-MGSQPE6P.js} +1 -1
- package/dist/{chunk-YFTO5YD7.js → chunk-NAZ54XAE.js} +5 -5
- package/dist/{chunk-XOUWCZHD.js → chunk-OEC7RJVD.js} +1 -1
- package/dist/{chunk-W4SSWOOD.js → chunk-PDDVEHWJ.js} +2 -2
- package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
- package/dist/{chunk-RZUEXJRC.js → chunk-POYHL7UJ.js} +2 -2
- package/dist/{chunk-L2EBYFU7.js → chunk-PRURJIVL.js} +1 -1
- package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
- package/dist/{chunk-IA7HZ4CM.js → chunk-RHYXITPN.js} +3 -3
- package/dist/{chunk-GOOE33GV.js → chunk-RNPTRRLX.js} +1 -1
- package/dist/{chunk-ELQ2QQC5.js → chunk-SD2IVQXM.js} +1 -1
- package/dist/{chunk-HJINEUHY.js → chunk-T3CBCGU4.js} +179 -131
- package/dist/{chunk-7PXVXRVX.js → chunk-UP7IRMTI.js} +9 -9
- package/dist/{chunk-HTLCE7M2.js → chunk-VFSFTVOT.js} +67 -24
- package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
- package/dist/{chunk-B7Y2DGU6.js → chunk-WKHPW2BC.js} +1 -1
- package/dist/{chunk-RAACYYWX.js → chunk-WNLHEUZU.js} +1 -1
- package/dist/{chunk-2G6JZJAV.js → chunk-WWE73ZFN.js} +2 -2
- package/dist/{chunk-HT33OHQL.js → chunk-WY6X5Q33.js} +1 -1
- package/dist/{chunk-ZL6ZCLY6.js → chunk-X56HO2IP.js} +1 -1
- package/dist/{chunk-XC7SJ2UR.js → chunk-X73MOLUS.js} +3 -3
- package/dist/{chunk-2HSRLKZR.js → chunk-XE5DW6UC.js} +3 -3
- package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
- package/dist/{chunk-2TU4OKIR.js → chunk-YUODO5H2.js} +31 -0
- package/dist/{chunk-ZAVUASNT.js → chunk-ZAY376M4.js} +1 -1
- package/dist/{chunk-P5X5URNQ.js → chunk-ZE6CLWXL.js} +1 -1
- package/dist/{clean-PI4JLT6O.js → clean-JM6Y5V2G.js} +18 -18
- package/dist/cli.js +53 -53
- package/dist/{cloud-SQRY723M.js → cloud-DWKTRWWB.js} +4 -4
- package/dist/{cloudrun-VMPROR43.js → cloudrun-HLUQOVRO.js} +6 -6
- package/dist/{compare-EHX4APTP.js → compare-GVTQBP4N.js} +29 -29
- package/dist/{compiler-FZCJGGBF.js → compiler-3MDCAKFB.js} +4 -4
- package/dist/{component-I75ZKJYH.js → component-QSRD6BSP.js} +3 -3
- package/dist/{compositions-YNYYUEQD.js → compositions-BDITIWMO.js} +12 -12
- package/dist/{delete-7BVTBKOC.js → delete-G2MXPSLU.js} +2 -2
- package/dist/{deploy-TUEEJP3W.js → deploy-Q7RDYGFL.js} +1 -1
- package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
- package/dist/{dist-VVROHSP4.js → dist-WHAM6TAE.js} +3 -3
- package/dist/{dist-VRGIE57H.js → dist-XPD7X6JB.js} +1 -1
- package/dist/{doctor-53DSQFW4.js → doctor-Q7SJW3MZ.js} +12 -12
- package/dist/{events-AD3U6E7I.js → events-DOABLVUG.js} +2 -2
- package/dist/{events-M6FIUDNQ.js → events-XEAJVOX2.js} +3 -3
- package/dist/{feedback-7SQ7KKAR.js → feedback-K7I2FQQF.js} +8 -8
- package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-2LKYJYAF.js} +8 -8
- package/dist/{figma-B5XII2BO.js → figma-LXJRAIDI.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-RZKNBIRD.js → get-EDCTYZB6.js} +2 -2
- package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-4YOOXLBX.js} +8 -8
- package/dist/{grade-compare-K3YB3FQA.js → grade-compare-ZWUXB3MD.js} +30 -30
- package/dist/{help-UM6INVL5.js → help-LEZ3E433.js} +1 -1
- package/dist/{history-EWKPACWR.js → history-YD7OKO74.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +58 -58
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KY3MFTCY.js → info-SI2KU7J7.js} +8 -8
- package/dist/{init-LURF2PL5.js → init-INX5WA2G.js} +28 -28
- package/dist/{inspect-46CZJM6P.js → inspect-SJENYN3F.js} +30 -30
- package/dist/{installer-NGFX6INI.js → installer-JQ6DMFZ2.js} +5 -5
- package/dist/{keyframes-YCSK6POI.js → keyframes-EAVHD4PM.js} +6 -6
- package/dist/{lambda-5KXULI2S.js → lambda-323RMLN5.js} +8 -8
- package/dist/{layout-WOLH24YE.js → layout-JGCQYWWK.js} +30 -30
- package/dist/{lint-P3P2LX6S.js → lint-SFE43W5P.js} +7 -7
- package/dist/{lintProject-ESAJKFOX.js → lintProject-Q4ZVEF3G.js} +1 -1
- package/dist/{list-RUYQWMF2.js → list-N2NSYK6G.js} +2 -2
- package/dist/{login-THBBWZAY.js → login-QGISW3KF.js} +4 -4
- package/dist/{manager-V34BMSAG.js → manager-IXZJADWC.js} +9 -9
- package/dist/{media-treatment-IMBLTYGV.js → media-treatment-BTA7BV52.js} +14 -14
- package/dist/{models-3NW7HU72.js → models-NZEBSWXZ.js} +12 -12
- package/dist/{motionShot-VTTYZ6KW.js → motionShot-E4GNRX4N.js} +16 -16
- package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-F4Q5ZX5R.js} +6 -6
- package/dist/{open-GLGSJISM.js → open-A4U2RXCG.js} +12 -12
- package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-OVNNGTEB.js} +13 -13
- package/dist/{pipeline-IJXVEQCU.js → pipeline-Z76DCEY7.js} +9 -9
- package/dist/{play-HFFGGAZH.js → play-NWSZMZZG.js} +21 -21
- package/dist/{preflight-QV6V3UO2.js → preflight-I6UXFNYV.js} +9 -9
- package/dist/{present-TH34CTYY.js → present-QFZQ5VRM.js} +17 -17
- package/dist/{preview-R67EQGQP.js → preview-GXNG3UOV.js} +19 -19
- package/dist/{producer-HWPFETDU.js → producer-MGXGNSQX.js} +1 -1
- package/dist/{projectConfig-AO4V3RHS.js → projectConfig-TNL3ZDIP.js} +7 -7
- package/dist/{publication-BDQ3PXYG.js → publication-OO772CBM.js} +3 -3
- package/dist/{publish-PXYTWSXN.js → publish-X33ZCMFO.js} +11 -11
- package/dist/{remove-background-BVDJPT3Z.js → remove-background-JAD2RBYP.js} +10 -10
- package/dist/{render-45YHWV6W.js → render-2FX26ITP.js} +6 -6
- package/dist/{render-5MZY4TAB.js → render-BZCK6XNT.js} +16 -16
- package/dist/{render-5RQUYPIV.js → render-OJEKVJNG.js} +30 -30
- package/dist/{render-batch-ZUTUBTHX.js → render-batch-SP6HKIF4.js} +6 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-FN2M3XVM.js → resolver-QB7L6U4Q.js} +5 -5
- package/dist/{sherpa-6KWNPRWB.js → sherpa-BZLXBJTD.js} +12 -12
- package/dist/skills/hyperframes/references/film.md +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
- package/dist/{skills-PWQCM2BT.js → skills-OMKCU4HZ.js} +5 -5
- package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-NNURJXBS.js} +3 -3
- package/dist/{snapshot-7Q24NFEI.js → snapshot-J7Y3PCCI.js} +58 -37
- package/dist/{src-OS2FRVZV.js → src-2YZVFDNC.js} +7 -7
- package/dist/{src-J43SXEHJ.js → src-T5WHBOD2.js} +10 -10
- package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-PHNKV2NL.js} +18 -18
- package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-Cyi8HgFo.js} +1 -1
- package/dist/studio/assets/{index-Dkt4c1MV.js → index-6njHuMnJ.js} +106 -105
- package/dist/studio/assets/{index-CVppCm_X.js → index-DG6ZXBnu.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CZBZ4D65.js → studio-api-VLJJP2GQ.js} +11 -11
- package/dist/{studioServer-U6EX5DSB.js → studioServer-G7RGGTWJ.js} +49 -49
- package/dist/{telemetry-VP4UWWO3.js → telemetry-2R6G2A54.js} +3 -3
- package/dist/{timeline-LMSUKEG6.js → timeline-B2CM5IZO.js} +19 -19
- package/dist/{tokens-FQ5AI5H4.js → tokens-7EOFUTMX.js} +2 -2
- package/dist/{transcribe-DNQFPZ2S.js → transcribe-7GTD3CEW.js} +11 -11
- package/dist/{transcribe-VAMXV7QS.js → transcribe-YJM673R7.js} +17 -17
- package/dist/{updateCheck-TOU7VLZK.js → updateCheck-JBIJ7L2D.js} +2 -2
- package/dist/{upgrade-CJRMRR2S.js → upgrade-WF2CBHOE.js} +2 -2
- package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-HMXLCV4T.js} +7 -7
- package/dist/{validate-PRI2UTQS.js → validate-OHWQ7DQO.js} +24 -24
- package/dist/{video-VOCQA6AG.js → video-OEEM43V6.js} +8 -8
- package/dist/warmCheck.js +37 -37
- package/package.json +2 -2
- package/dist/chunk-ZQRD62QZ.js +0 -3901
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GI2WXOY5.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XOTUPVIF.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YUODO5H2.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZAY376M4.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BF3ACZAB.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AHE4R7PV.js";
|
|
20
20
|
import {
|
|
21
21
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6DMFWXDH.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RNPTRRLX.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -35,14 +35,14 @@ import {
|
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveNaturalMediaTimelineDuration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-G5RNOVAV.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-BSQ7XANM.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SD2IVQXM.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
48
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -115,21 +115,30 @@ async function auditClipDurations(page, analyzeClipMediaFit, extraWaitMs) {
|
|
|
115
115
|
document.querySelectorAll("audio[data-duration]")
|
|
116
116
|
);
|
|
117
117
|
const deadline = Date.now() + maxWaitMs;
|
|
118
|
+
const reads = /* @__PURE__ */ new Map();
|
|
118
119
|
await Promise.all(
|
|
119
120
|
nodes.map((el) => {
|
|
120
121
|
if (Number.isFinite(el.duration) && el.duration > 0) return Promise.resolve();
|
|
122
|
+
const probe = new Audio();
|
|
123
|
+
probe.preload = "metadata";
|
|
124
|
+
probe.src = el.currentSrc || el.src || el.querySelector("source")?.src || "";
|
|
125
|
+
reads.set(el, probe);
|
|
121
126
|
return new Promise((resolve) => {
|
|
122
127
|
const cleanup = () => {
|
|
123
|
-
el
|
|
124
|
-
|
|
128
|
+
for (const target of [el, probe]) {
|
|
129
|
+
target.removeEventListener("loadedmetadata", onReady);
|
|
130
|
+
target.removeEventListener("error", onReady);
|
|
131
|
+
}
|
|
125
132
|
clearTimeout(timer);
|
|
126
133
|
};
|
|
127
134
|
const onReady = () => {
|
|
128
135
|
cleanup();
|
|
129
136
|
resolve();
|
|
130
137
|
};
|
|
131
|
-
|
|
132
|
-
|
|
138
|
+
for (const target of [el, probe]) {
|
|
139
|
+
target.addEventListener("loadedmetadata", onReady, { once: true });
|
|
140
|
+
target.addEventListener("error", onReady, { once: true });
|
|
141
|
+
}
|
|
133
142
|
const timer = setTimeout(onReady, Math.max(0, deadline - Date.now()));
|
|
134
143
|
});
|
|
135
144
|
})
|
|
@@ -148,7 +157,7 @@ async function auditClipDurations(page, analyzeClipMediaFit, extraWaitMs) {
|
|
|
148
157
|
"data-playback-rate": el.getAttribute("data-playback-rate"),
|
|
149
158
|
"data-automation": el.getAttribute("data-automation")
|
|
150
159
|
},
|
|
151
|
-
duration: el.duration,
|
|
160
|
+
duration: Number.isFinite(el.duration) ? el.duration : reads.get(el)?.duration ?? Number.NaN,
|
|
152
161
|
loop: el.loop || el.getAttribute("data-loop") === "true"
|
|
153
162
|
});
|
|
154
163
|
}
|
|
@@ -239,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
239
248
|
async function localizeRemoteAssets(html) {
|
|
240
249
|
let dir;
|
|
241
250
|
try {
|
|
242
|
-
const { loadProducer } = await import("./producer-
|
|
251
|
+
const { loadProducer } = await import("./producer-MGXGNSQX.js");
|
|
243
252
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
244
253
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
245
254
|
const assetDir = dir;
|
|
@@ -260,10 +269,10 @@ async function localizeRemoteAssets(html) {
|
|
|
260
269
|
}
|
|
261
270
|
async function validateInBrowser(project, opts) {
|
|
262
271
|
const projectDir = project.dir;
|
|
263
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
272
|
+
const { bundleToSingleHtml } = await import("./compiler-3MDCAKFB.js");
|
|
264
273
|
const { ensureBrowser } = await import("./manager-COSJVRAE.js");
|
|
265
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
266
|
-
const { lintProject } = await import("./lintProject-
|
|
274
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-PHNKV2NL.js");
|
|
275
|
+
const { lintProject } = await import("./lintProject-Q4ZVEF3G.js");
|
|
267
276
|
const lintResult = await lintProject(projectDir);
|
|
268
277
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
269
278
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -284,9 +293,9 @@ async function validateInBrowser(project, opts) {
|
|
|
284
293
|
try {
|
|
285
294
|
const browser = await ensureBrowser();
|
|
286
295
|
const puppeteer = await import("puppeteer-core");
|
|
287
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
296
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-2YZVFDNC.js");
|
|
288
297
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
289
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
298
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-4YOOXLBX.js");
|
|
290
299
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
291
300
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
292
301
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
stripEmbeddedRuntimeScripts,
|
|
40
40
|
styleElementsFor,
|
|
41
41
|
warnUnknownEnumValues
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-G5RNOVAV.js";
|
|
43
43
|
import {
|
|
44
44
|
cssVariableName
|
|
45
45
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-OFQWTKPW.js";
|
|
50
50
|
import {
|
|
51
51
|
lintHyperframeHtml
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YUODO5H2.js";
|
|
53
53
|
import {
|
|
54
54
|
checkSubCompositionUsability,
|
|
55
55
|
resolveSubCompositionContent
|
|
@@ -2517,7 +2517,8 @@ function createAssetInliner(resolveProjectPath, inlineAssets) {
|
|
|
2517
2517
|
return null;
|
|
2518
2518
|
}
|
|
2519
2519
|
inlinedChars += asset.dataUrl.length;
|
|
2520
|
-
|
|
2520
|
+
const hashIdx = suffix.indexOf("#");
|
|
2521
|
+
return hashIdx < 0 ? asset.dataUrl : `${asset.dataUrl}${suffix.slice(hashIdx)}`;
|
|
2521
2522
|
};
|
|
2522
2523
|
}
|
|
2523
2524
|
function isExternalSvgFragmentUse(el, attr, urlValue) {
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XE5DW6UC.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZE6CLWXL.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AXJMD32I.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G5RNOVAV.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isTextElement,
|
|
18
18
|
keyframesToGsapAnimations,
|
|
19
19
|
serializeGsapAnimations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XOTUPVIF.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IY2NZKMG.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IFOJM6PV.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XE5DW6UC.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZE6CLWXL.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AXJMD32I.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -7,17 +7,17 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
alphaDecoderFor,
|
|
9
9
|
videoStreamHasAlpha
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5S7W3TUO.js";
|
|
11
11
|
import {
|
|
12
12
|
firstFrameColourArgs,
|
|
13
13
|
formatPreviewProxyBox,
|
|
14
14
|
hdrToSdrToneMapFilter,
|
|
15
15
|
parseFirstFrameColour
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
17
17
|
import {
|
|
18
18
|
decodeAuthoredAttribute,
|
|
19
19
|
scanHtmlOpeningTags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XOTUPVIF.js";
|
|
21
21
|
import {
|
|
22
22
|
mkdirWithinProject,
|
|
23
23
|
realProjectRoot,
|
|
@@ -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-BXXEQFRW.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5FY7ARKL.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-T3CBCGU4.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-SD2IVQXM.js";
|
|
43
43
|
import {
|
|
44
44
|
CONFIG_PATH,
|
|
45
45
|
withFileLock
|
|
46
46
|
} from "./chunk-6NLPPKBO.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-BXXEQFRW.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-IXZJADWC.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
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3DEBV7RH.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WY6X5Q33.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
mkdirWithinProject
|
|
22
22
|
} from "./chunk-OFQWTKPW.js";
|
|
23
23
|
|
|
24
|
-
// ../studio-server/dist/chunk-
|
|
24
|
+
// ../studio-server/dist/chunk-VKQTZKGA.js
|
|
25
25
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
26
26
|
import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
|
|
27
27
|
import {
|
|
@@ -2323,7 +2323,12 @@ var Engine = class {
|
|
|
2323
2323
|
async writeAs(who, label, target, extra) {
|
|
2324
2324
|
this.assertWritable();
|
|
2325
2325
|
const changes = [...target].filter(([path, hash]) => (this.tracked.get(path)?.hash ?? null) !== hash).sort(([, a], [, b]) => Number(a !== null) - Number(b !== null));
|
|
2326
|
-
const
|
|
2326
|
+
const setAsideByDeletesFirst = new Set(
|
|
2327
|
+
changes.filter(([, hash]) => hash === null).map(([path]) => this.tracked.get(path)?.hash)
|
|
2328
|
+
);
|
|
2329
|
+
const gone = changes.find(
|
|
2330
|
+
([, hash]) => hash !== null && !this.blobs.has(hash) && !setAsideByDeletesFirst.has(hash)
|
|
2331
|
+
);
|
|
2327
2332
|
if (gone)
|
|
2328
2333
|
throw new Error(
|
|
2329
2334
|
`An earlier version of ${gone[0]} is not kept, so this cannot be brought back.`
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WNLHEUZU.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7JMUJID2.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T3CBCGU4.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
27
|
} from "./chunk-BL4U6U52.js";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-2YZVFDNC.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|