hyperframes 0.8.191 → 0.8.192
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-S2ZQYG52.js → add-TZU2UW7A.js} +17 -17
- package/dist/{animatedGifPrep-3JA2CQ3U.js → animatedGifPrep-NLAXC3VV.js} +11 -10
- package/dist/api.js +24 -23
- package/dist/{appHistory-TH3TL6N6.js → appHistory-QVCSAOI4.js} +1 -1
- package/dist/{asset-2CNTAPOC.js → asset-JAJXA6LB.js} +2 -2
- package/dist/{assetCataloger-5HXLXL7C.js → assetCataloger-4WTX3J4I.js} +13 -12
- package/dist/{audio-DZTSYHXS.js → audio-XLWC7JKS.js} +22 -21
- package/dist/{auth-GX3M6TJ4.js → auth-5K6X3NPJ.js} +4 -4
- package/dist/{autoUpdate-EDIWE4Z5.js → autoUpdate-RNV7SKGB.js} +4 -4
- package/dist/{backgroundChecks-VPUPJ7UI.js → backgroundChecks-QXLVZVGX.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-JHIIDBJR.js → batchRender-THKSPDZR.js} +14 -7
- package/dist/{beats-PZRVTRYW.js → beats-K7CGCFVL.js} +53 -15
- package/dist/{benchmark-22UFDW2N.js → benchmark-PHRDIXNL.js} +18 -14
- package/dist/{browser-VRDWYIUM.js → browser-GN6R5ZSK.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-23QDKFSN.js → bundleWithLocalizedFonts-C325UNR4.js} +3 -3
- package/dist/{capture-TOCLXYMJ.js → capture-6UBQFHZQ.js} +76 -68
- package/dist/{capture-NFCBXHDE.js → capture-BZ7APOGQ.js} +3 -3
- package/dist/{captureCompositionFrame-BEM6MF7F.js → captureCompositionFrame-VORSCTWC.js} +17 -16
- package/dist/{catalog-NXS35KM7.js → catalog-PHU2RUZ3.js} +18 -18
- package/dist/{catch-up-6WJBUI2C.js → catch-up-HCNRM46J.js} +7 -7
- package/dist/{check-WVEBMWN5.js → check-TJ5ZLB4I.js} +43 -42
- package/dist/{checkBrowser-RT45HJ36.js → checkBrowser-DWP7ZXJ7.js} +38 -37
- package/dist/{chunk-KAC2WR7P.js → chunk-2HP5GIQ3.js} +3 -3
- package/dist/{chunk-2WNVHZHA.js → chunk-2J3NA3OB.js} +13 -13
- package/dist/{chunk-B2A56S5C.js → chunk-2MCXIY4B.js} +13 -10
- package/dist/{chunk-DCAI5DBR.js → chunk-2ST4WAFY.js} +9 -1
- package/dist/{chunk-3NRB7YXW.js → chunk-2VXY3PEF.js} +96 -67
- package/dist/{chunk-LBNEH6IQ.js → chunk-32NB4VMH.js} +1 -1
- package/dist/{chunk-IXLUTE6N.js → chunk-3422KMTD.js} +5 -1
- package/dist/{chunk-JTPHFYZI.js → chunk-3CXIX6XS.js} +68 -7
- package/dist/{chunk-MSM6VRQ4.js → chunk-3FV5BVWS.js} +2 -2
- package/dist/{chunk-7ZJEQY7Q.js → chunk-4E75LHAL.js} +23 -3
- package/dist/{chunk-TMBUBLZB.js → chunk-4HCJOFMB.js} +166 -46
- package/dist/{chunk-JJJCFKMF.js → chunk-5IPKQHOL.js} +17 -6
- package/dist/{chunk-WQ3X5OH4.js → chunk-5TRFLZ5Z.js} +2 -2
- package/dist/{chunk-HRPWRZGF.js → chunk-6N65ZMC5.js} +1 -1
- package/dist/{chunk-XUXGIA7H.js → chunk-6NLPPKBO.js} +1 -2
- package/dist/{chunk-RE3EEBWC.js → chunk-6WNLQI63.js} +4 -4
- package/dist/{chunk-7FF36MAD.js → chunk-6XVKMBUA.js} +9 -6
- package/dist/{chunk-7NKJS5KM.js → chunk-7JJMT6LN.js} +1 -1
- package/dist/{chunk-JOLZ3BSL.js → chunk-7LLRMYP6.js} +2 -2
- package/dist/{chunk-COETAXRN.js → chunk-7RSY7SZN.js} +2 -2
- package/dist/{chunk-JGTRVG32.js → chunk-7UZC4N62.js} +1 -1
- package/dist/{chunk-XWOCXIKR.js → chunk-A4OI5ZNX.js} +1 -1
- package/dist/{chunk-VYQYVYQ5.js → chunk-AEXVVABM.js} +83 -45
- package/dist/{chunk-DOOSC34Z.js → chunk-AMZJFCOX.js} +8 -8
- package/dist/{chunk-OV6KHXLX.js → chunk-AR46ND2Q.js} +1 -1
- package/dist/chunk-B2XLXD7V.js +3897 -0
- package/dist/{chunk-XMSQRDAK.js → chunk-BEOK6F26.js} +2 -2
- package/dist/{chunk-U5GTDAQL.js → chunk-BPKLUHFT.js} +7 -7
- package/dist/{chunk-TFGO5YMI.js → chunk-BV6YE455.js} +2 -2
- package/dist/{chunk-XGHHVYC7.js → chunk-BY6OQ6XP.js} +2 -2
- package/dist/{chunk-JQYJXUJW.js → chunk-C6KE4AFW.js} +1 -1
- package/dist/{chunk-TMK4Q7JA.js → chunk-CFUCHO4T.js} +20 -5
- package/dist/{chunk-KV72BP7O.js → chunk-CXRZBWSH.js} +11 -11
- package/dist/chunk-CZGHFATT.js +31 -0
- package/dist/{chunk-CYBXXSC4.js → chunk-DIKAPMMF.js} +2 -2
- package/dist/{chunk-7L37AB57.js → chunk-E3P3LJG6.js} +9 -9
- package/dist/{chunk-JYSSPQDT.js → chunk-E5V6WEMK.js} +11 -11
- package/dist/{chunk-T5YF32WV.js → chunk-EKGGSAWR.js} +6 -5
- package/dist/{chunk-7KVVNF7B.js → chunk-ELP5QZWL.js} +1 -1
- package/dist/{chunk-QH3T4WI2.js → chunk-EXAX37XR.js} +8 -2
- package/dist/{chunk-EI7FP7F3.js → chunk-FBVUAH7N.js} +12 -2
- package/dist/{chunk-W3CS2KFV.js → chunk-GANST5K3.js} +2 -2
- package/dist/{chunk-3WJT2JCX.js → chunk-IMSI7IFW.js} +52 -23
- package/dist/{chunk-W64L7IFS.js → chunk-IW5G323T.js} +1 -1
- package/dist/{chunk-RWYUK7LM.js → chunk-J2ASTCU6.js} +2 -2
- package/dist/{chunk-3XI7MIZB.js → chunk-J2BSUF6X.js} +1 -1
- package/dist/{chunk-WY3TQ2PT.js → chunk-JCDYDF54.js} +2 -2
- package/dist/{chunk-ALEF2F5N.js → chunk-K2AKVYNR.js} +2 -2
- package/dist/{chunk-TADJOIFW.js → chunk-KZOZN4PI.js} +4 -4
- package/dist/{chunk-CINKQY6M.js → chunk-L2YGSAOL.js} +3 -3
- package/dist/{chunk-AQB5M53R.js → chunk-LOKCBZYF.js} +3 -3
- package/dist/{chunk-7A65UCMI.js → chunk-MEE4NTPZ.js} +2 -2
- package/dist/{chunk-GM3WIOO6.js → chunk-MGBUWPXX.js} +2 -2
- package/dist/{chunk-ZHKUIC7X.js → chunk-MVIJTXN5.js} +21 -14
- package/dist/{chunk-SMEF3TRJ.js → chunk-ODBYZIOH.js} +15 -15
- package/dist/{chunk-NJGTNWQY.js → chunk-OQL4AJ4X.js} +6 -6
- package/dist/{chunk-5C7R55BJ.js → chunk-P2I4RLJE.js} +1 -1
- package/dist/{chunk-7LUJE3II.js → chunk-PFRG5P32.js} +1 -1
- package/dist/{chunk-RUOG4VB7.js → chunk-PKZ7RK5N.js} +5 -4
- package/dist/{chunk-LLFQA7XF.js → chunk-QFPBRZJD.js} +1 -1
- package/dist/{chunk-TJKE4EYX.js → chunk-QWLES6YV.js} +3 -3
- package/dist/{chunk-NMDUSCCE.js → chunk-QX4TB4NH.js} +160 -56
- package/dist/{chunk-CXMXJEVY.js → chunk-R2U2G4OS.js} +1 -1
- package/dist/{chunk-46HEFGXJ.js → chunk-REUL2KH2.js} +1 -1
- package/dist/{chunk-KGMHMYWI.js → chunk-RHYOWDI6.js} +2 -2
- package/dist/{chunk-DYAPHNV6.js → chunk-RWGASWT7.js} +1 -1
- package/dist/chunk-RXATE6FZ.js +385 -0
- package/dist/{chunk-EFCKV7MY.js → chunk-SBBQFPCJ.js} +1 -1
- package/dist/{chunk-KHCTBZGJ.js → chunk-SK7TR7BL.js} +4 -4
- package/dist/{chunk-KNU5COPB.js → chunk-T2EUWCJE.js} +1 -1
- package/dist/{chunk-TRZVS6TL.js → chunk-T6O5OLN2.js} +3 -3
- package/dist/{chunk-TFMZ4RKM.js → chunk-ULTKB5FC.js} +23 -12
- package/dist/{chunk-UNR3P7IF.js → chunk-VNPADTDD.js} +3 -3
- package/dist/{chunk-BFFLKQVB.js → chunk-VOM2HLUI.js} +4 -4
- package/dist/{chunk-GLG5JWLI.js → chunk-VRAXIQ6I.js} +2 -2
- package/dist/{chunk-NAUKCKCJ.js → chunk-W24SZ5FL.js} +4 -4
- package/dist/{chunk-COWQITWP.js → chunk-WOKVXK4J.js} +1 -1
- package/dist/{chunk-WJEVUPVD.js → chunk-XF77MK3J.js} +1 -1
- package/dist/{chunk-HYW6HTAK.js → chunk-XX2PA4L3.js} +2 -2
- package/dist/{chunk-RQBB7PYT.js → chunk-YMQQXPD5.js} +2 -2
- package/dist/{chunk-WHAEJX26.js → chunk-YWRQHRDY.js} +17 -12
- package/dist/{chunk-FBDOHH3Q.js → chunk-ZEMDV6W2.js} +29 -59
- package/dist/{clean-3VIU2BSK.js → clean-2RNCTDBT.js} +40 -27
- package/dist/cli.js +69 -67
- package/dist/{cloud-NA3J4XW2.js → cloud-NFIKESNZ.js} +4 -4
- package/dist/{cloudrun-4MHOF7UT.js → cloudrun-7224BCX3.js} +9 -9
- package/dist/commands/contrast-audit.browser.js +1 -1
- package/dist/{compare-ZR7XRPPT.js → compare-HL44MXVX.js} +76 -47
- package/dist/{compiler-MA2ELZPG.js → compiler-WF5QTXV7.js} +8 -7
- package/dist/{component-ZJSOPUAM.js → component-ZBZXSJBR.js} +3 -3
- package/dist/{compositions-WA5V2SHF.js → compositions-76P7LDDX.js} +19 -17
- package/dist/{contactSheet-CAGMKI3E.js → contactSheet-43ISAESM.js} +2 -2
- package/dist/{delete-UC427UEA.js → delete-4YZBYOHJ.js} +7 -7
- package/dist/{deploy-B5UO4UIK.js → deploy-UGUUGYLF.js} +1 -1
- package/dist/{deterministicFonts-EGAAE7QL.js → deterministicFonts-RO2TCMLZ.js} +3 -3
- package/dist/{dist-BPK37SAB.js → dist-5KKCRFPT.js} +5 -5
- package/dist/{dist-XGPSPKKP.js → dist-QQ26RUDV.js} +5 -4
- package/dist/{doctor-ZERCTKEK.js → doctor-GGVUK4NB.js} +20 -19
- package/dist/{events-DCOZQERS.js → events-OXPTHVDB.js} +4 -4
- package/dist/{events-CNIXB2QK.js → events-V2VU4J3B.js} +5 -5
- package/dist/{feedback-YBD5ITTY.js → feedback-HFZ5SCUK.js} +16 -16
- package/dist/{ffmpeg-V4BBFDTG.js → ffmpeg-3VHY7GO3.js} +13 -12
- package/dist/{figma-Z45ZYVGE.js → figma-7SEZTLBJ.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -13
- package/dist/{get-23NXQWCD.js → get-Y2S2PXCM.js} +7 -7
- package/dist/{gpuPolicy-H6ABHVEB.js → gpuPolicy-UHPOWRV5.js} +11 -10
- package/dist/{grade-compare-ZPX2G3UV.js → grade-compare-4VTXSQM5.js} +38 -37
- package/dist/{gsapParserAcorn-SKODXC2N.js → gsapParserAcorn-OOTY2MVN.js} +2 -2
- package/dist/{help-EP4CDPLO.js → help-HXNOACHI.js} +1 -1
- package/dist/{history-E5OSXO74.js → history-XDJUI4LC.js} +39 -16
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +1 -1
- package/dist/{info-2HHGSW5H.js → info-KYRI3EZV.js} +56 -22
- package/dist/{init-ENEG6RZT.js → init-IL7EWMT5.js} +38 -45
- package/dist/{inspect-PVQK4E2A.js → inspect-TBNH23UC.js} +36 -35
- package/dist/{installer-YGGLEOSF.js → installer-O2YMFSI4.js} +8 -8
- package/dist/{keyframes-UWSYS2SL.js → keyframes-4GF62KAJ.js} +13 -14
- package/dist/{lambda-L3LPXC2M.js → lambda-JFL6M4XZ.js} +11 -11
- package/dist/{layout-JVL4QREC.js → layout-7MAEFR65.js} +36 -35
- package/dist/{lint-JXQ72DDB.js → lint-4AYHKYAM.js} +23 -16
- package/dist/{lintProject-F7IC7WY4.js → lintProject-52SLJPRC.js} +5 -4
- package/dist/{list-UFMLM3VV.js → list-3DP3D3MW.js} +7 -7
- package/dist/{login-CKGMWQJN.js → login-T54WQYRQ.js} +7 -7
- package/dist/{logout-DDC4QLVK.js → logout-JYFWWUGK.js} +3 -3
- package/dist/{manager-UHWEKPXC.js → manager-MZIJY73J.js} +3 -3
- package/dist/{manager-U6OP3EXB.js → manager-QROK2IH3.js} +14 -13
- package/dist/{media-treatment-MFMEWCDY.js → media-treatment-4CXF7MSG.js} +20 -19
- package/dist/{models-QA3TJ75Y.js → models-IS3I6JKU.js} +18 -17
- package/dist/{motionShot-NV2OPJHD.js → motionShot-DVYJZOTQ.js} +21 -20
- package/dist/{normalize-3AYFSN2F.js → normalize-FASIPBUM.js} +1 -1
- package/dist/{normalize-audio-JWJRUKK2.js → normalize-audio-4527JIK4.js} +12 -8
- package/dist/{open-PTJNDRER.js → open-5JE46SAX.js} +18 -18
- package/dist/{parakeetRunner-B5FCWWOO.js → parakeetRunner-7JIJGJJ7.js} +20 -19
- package/dist/{pipeline-N26NA6ZG.js → pipeline-YEN3WFD2.js} +15 -14
- package/dist/{play-45D6X6TV.js → play-WFX67I7M.js} +27 -26
- package/dist/{policies-MBWGLMWB.js → policies-GHVXA5PE.js} +1 -1
- package/dist/{preflight-MFOHPUOI.js → preflight-D377HVUZ.js} +15 -14
- package/dist/{present-IFBUDI4D.js → present-XTSEKAC7.js} +24 -23
- package/dist/{preview-MQRLXQOV.js → preview-5XH7EK6O.js} +27 -26
- package/dist/{producer-2QG7HLAW.js → producer-TFFYF4ZM.js} +1 -1
- package/dist/{projectConfig-I4FTZXHB.js → projectConfig-6YUJHMCL.js} +10 -10
- package/dist/{publication-3GOFXCGU.js → publication-JK33Y55E.js} +5 -5
- package/dist/{publish-3B2TZCFH.js → publish-JHDGXWXU.js} +18 -17
- package/dist/{refresh-RXTOPRBB.js → refresh-USSFPJAU.js} +3 -3
- package/dist/{remove-background-RK4BJDBF.js → remove-background-P44MYAPJ.js} +16 -15
- package/dist/{render-BV6FWFX3.js → render-HJ34EGMN.js} +8 -8
- package/dist/{render-PW3XGS7B.js → render-RBINWWP5.js} +42 -41
- package/dist/{render-SJ4HFPFU.js → render-RJ3I4E3A.js} +26 -25
- package/dist/{render-batch-GKX54O6N.js → render-batch-3D6XQYUC.js} +9 -9
- package/dist/renderSetupWorker.js +9 -8
- package/dist/{resolver-RQJ7CNXD.js → resolver-HCLTFZUW.js} +7 -7
- package/dist/{screenshotCapture-UBY6TT75.js → screenshotCapture-I5EDCITF.js} +6 -3
- package/dist/{sherpa-XZPG7QFF.js → sherpa-IPOUJM6Q.js} +19 -18
- package/dist/skills/hyperframes/references/skill-lifecycle.md +8 -4
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/{skills-EYLB2V6F.js → skills-P67QEERC.js} +13 -75
- package/dist/{skillsUpdateCheck-TE6K5ROM.js → skillsUpdateCheck-IFMLRVIF.js} +5 -5
- package/dist/{slideshow-YTWATJRT.js → slideshow-SJGK4RQS.js} +1 -1
- package/dist/{snapshot-FE4T3SCN.js → snapshot-4YM4NNWJ.js} +48 -45
- package/dist/{src-SEJ7LNNB.js → src-DCD3YMXX.js} +13 -12
- package/dist/{src-ZOXSEJCD.js → src-SSV66L3F.js} +14 -9
- package/dist/{staticProjectServer-LSVIRDRO.js → staticProjectServer-C7PPGLEQ.js} +22 -21
- package/dist/{status-CM7IQTU2.js → status-H5WLKQDS.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Bv9hQ3v7.js → hyperframes-player-ChN3cOr0.js} +3 -3
- package/dist/studio/assets/{index-Df14bh-L.js → index-BYbFcRR0.js} +1 -1
- package/dist/studio/assets/{index-D_QqfWhx.js → index-CHu83hHM.js} +122 -122
- package/dist/studio/assets/{index-CBO8uz7-.css → index-CYbvOVp-.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-SL2Z76NU.js → studio-api-6YZ7PIQR.js} +17 -14
- package/dist/{studioServer-BADWVIHU.js → studioServer-EWHSE4GC.js} +60 -59
- package/dist/{telemetry-QG5AANZ4.js → telemetry-4K6CPMNT.js} +2 -2
- package/dist/{telemetry-RN6VYEID.js → telemetry-GGLBHZRZ.js} +5 -5
- package/dist/{timeline-JBTCIPLU.js → timeline-NKHQJXJ2.js} +65 -43
- package/dist/{tokens-A7V7UHNK.js → tokens-FWNNDJ6R.js} +2 -2
- package/dist/{transcribe-NTUCJGFI.js → transcribe-TRPKXZ7L.js} +26 -25
- package/dist/{transcribe-E4BOSNM4.js → transcribe-VD2TMMC2.js} +17 -16
- package/dist/{tts-A2WILYGN.js → tts-5I2AJNLM.js} +1 -1
- package/dist/{updateCheck-M7UAYLUR.js → updateCheck-CUPS6LU3.js} +4 -4
- package/dist/{upgrade-A2COSIMB.js → upgrade-23XO6MEX.js} +4 -4
- package/dist/{urlDownloader-MBSQYART.js → urlDownloader-YOAOONCK.js} +10 -9
- package/dist/{validate-NODZYBHY.js → validate-BWIW24G5.js} +30 -29
- package/dist/{video-LBCUUYK7.js → video-XRXJS4GC.js} +12 -11
- package/dist/warmCheck.js +43 -42
- package/package.json +2 -1
- package/dist/chunk-I5JRXMCV.js +0 -6077
- package/dist/chunk-LM265QNK.js +0 -3896
|
@@ -0,0 +1,385 @@
|
|
|
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
|
+
|
|
8
|
+
// ../../node_modules/.bun/acorn-walk@8.3.5/node_modules/acorn-walk/dist/walk.mjs
|
|
9
|
+
function simple(node, visitors, baseVisitor, state, override) {
|
|
10
|
+
if (!baseVisitor) {
|
|
11
|
+
baseVisitor = base;
|
|
12
|
+
}
|
|
13
|
+
(function c(node2, st, override2) {
|
|
14
|
+
var type = override2 || node2.type;
|
|
15
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
16
|
+
if (visitors[type]) {
|
|
17
|
+
visitors[type](node2, st);
|
|
18
|
+
}
|
|
19
|
+
})(node, state, override);
|
|
20
|
+
}
|
|
21
|
+
function ancestor(node, visitors, baseVisitor, state, override) {
|
|
22
|
+
var ancestors = [];
|
|
23
|
+
if (!baseVisitor) {
|
|
24
|
+
baseVisitor = base;
|
|
25
|
+
}
|
|
26
|
+
(function c(node2, st, override2) {
|
|
27
|
+
var type = override2 || node2.type;
|
|
28
|
+
var isNew = node2 !== ancestors[ancestors.length - 1];
|
|
29
|
+
if (isNew) {
|
|
30
|
+
ancestors.push(node2);
|
|
31
|
+
}
|
|
32
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
33
|
+
if (visitors[type]) {
|
|
34
|
+
visitors[type](node2, st || ancestors, ancestors);
|
|
35
|
+
}
|
|
36
|
+
if (isNew) {
|
|
37
|
+
ancestors.pop();
|
|
38
|
+
}
|
|
39
|
+
})(node, state, override);
|
|
40
|
+
}
|
|
41
|
+
function recursive(node, state, funcs, baseVisitor, override) {
|
|
42
|
+
var visitor = funcs ? make(funcs, baseVisitor || void 0) : baseVisitor;
|
|
43
|
+
(function c(node2, st, override2) {
|
|
44
|
+
visitor[override2 || node2.type](node2, st, c);
|
|
45
|
+
})(node, state, override);
|
|
46
|
+
}
|
|
47
|
+
function full(node, callback, baseVisitor, state, override) {
|
|
48
|
+
if (!baseVisitor) {
|
|
49
|
+
baseVisitor = base;
|
|
50
|
+
}
|
|
51
|
+
var last;
|
|
52
|
+
(function c(node2, st, override2) {
|
|
53
|
+
var type = override2 || node2.type;
|
|
54
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
55
|
+
if (last !== node2) {
|
|
56
|
+
callback(node2, st, type);
|
|
57
|
+
last = node2;
|
|
58
|
+
}
|
|
59
|
+
})(node, state, override);
|
|
60
|
+
}
|
|
61
|
+
function make(funcs, baseVisitor) {
|
|
62
|
+
var visitor = Object.create(baseVisitor || base);
|
|
63
|
+
for (var type in funcs) {
|
|
64
|
+
visitor[type] = funcs[type];
|
|
65
|
+
}
|
|
66
|
+
return visitor;
|
|
67
|
+
}
|
|
68
|
+
function skipThrough(node, st, c) {
|
|
69
|
+
c(node, st);
|
|
70
|
+
}
|
|
71
|
+
function ignore(_node, _st, _c) {
|
|
72
|
+
}
|
|
73
|
+
function visitNode(baseVisitor, type, node, st, c) {
|
|
74
|
+
if (baseVisitor[type] == null) {
|
|
75
|
+
throw new Error("No walker function defined for node type " + type);
|
|
76
|
+
}
|
|
77
|
+
baseVisitor[type](node, st, c);
|
|
78
|
+
}
|
|
79
|
+
var base = {};
|
|
80
|
+
base.Program = base.BlockStatement = base.StaticBlock = function(node, st, c) {
|
|
81
|
+
for (var i = 0, list = node.body; i < list.length; i += 1) {
|
|
82
|
+
var stmt = list[i];
|
|
83
|
+
c(stmt, st, "Statement");
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
base.Statement = skipThrough;
|
|
87
|
+
base.EmptyStatement = ignore;
|
|
88
|
+
base.ExpressionStatement = base.ParenthesizedExpression = base.ChainExpression = function(node, st, c) {
|
|
89
|
+
return c(node.expression, st, "Expression");
|
|
90
|
+
};
|
|
91
|
+
base.IfStatement = function(node, st, c) {
|
|
92
|
+
c(node.test, st, "Expression");
|
|
93
|
+
c(node.consequent, st, "Statement");
|
|
94
|
+
if (node.alternate) {
|
|
95
|
+
c(node.alternate, st, "Statement");
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
base.LabeledStatement = function(node, st, c) {
|
|
99
|
+
return c(node.body, st, "Statement");
|
|
100
|
+
};
|
|
101
|
+
base.BreakStatement = base.ContinueStatement = ignore;
|
|
102
|
+
base.WithStatement = function(node, st, c) {
|
|
103
|
+
c(node.object, st, "Expression");
|
|
104
|
+
c(node.body, st, "Statement");
|
|
105
|
+
};
|
|
106
|
+
base.SwitchStatement = function(node, st, c) {
|
|
107
|
+
c(node.discriminant, st, "Expression");
|
|
108
|
+
for (var i = 0, list = node.cases; i < list.length; i += 1) {
|
|
109
|
+
var cs = list[i];
|
|
110
|
+
c(cs, st);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
base.SwitchCase = function(node, st, c) {
|
|
114
|
+
if (node.test) {
|
|
115
|
+
c(node.test, st, "Expression");
|
|
116
|
+
}
|
|
117
|
+
for (var i = 0, list = node.consequent; i < list.length; i += 1) {
|
|
118
|
+
var cons = list[i];
|
|
119
|
+
c(cons, st, "Statement");
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
base.ReturnStatement = base.YieldExpression = base.AwaitExpression = function(node, st, c) {
|
|
123
|
+
if (node.argument) {
|
|
124
|
+
c(node.argument, st, "Expression");
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
base.ThrowStatement = base.SpreadElement = function(node, st, c) {
|
|
128
|
+
return c(node.argument, st, "Expression");
|
|
129
|
+
};
|
|
130
|
+
base.TryStatement = function(node, st, c) {
|
|
131
|
+
c(node.block, st, "Statement");
|
|
132
|
+
if (node.handler) {
|
|
133
|
+
c(node.handler, st);
|
|
134
|
+
}
|
|
135
|
+
if (node.finalizer) {
|
|
136
|
+
c(node.finalizer, st, "Statement");
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
base.CatchClause = function(node, st, c) {
|
|
140
|
+
if (node.param) {
|
|
141
|
+
c(node.param, st, "Pattern");
|
|
142
|
+
}
|
|
143
|
+
c(node.body, st, "Statement");
|
|
144
|
+
};
|
|
145
|
+
base.WhileStatement = base.DoWhileStatement = function(node, st, c) {
|
|
146
|
+
c(node.test, st, "Expression");
|
|
147
|
+
c(node.body, st, "Statement");
|
|
148
|
+
};
|
|
149
|
+
base.ForStatement = function(node, st, c) {
|
|
150
|
+
if (node.init) {
|
|
151
|
+
c(node.init, st, "ForInit");
|
|
152
|
+
}
|
|
153
|
+
if (node.test) {
|
|
154
|
+
c(node.test, st, "Expression");
|
|
155
|
+
}
|
|
156
|
+
if (node.update) {
|
|
157
|
+
c(node.update, st, "Expression");
|
|
158
|
+
}
|
|
159
|
+
c(node.body, st, "Statement");
|
|
160
|
+
};
|
|
161
|
+
base.ForInStatement = base.ForOfStatement = function(node, st, c) {
|
|
162
|
+
c(node.left, st, "ForInit");
|
|
163
|
+
c(node.right, st, "Expression");
|
|
164
|
+
c(node.body, st, "Statement");
|
|
165
|
+
};
|
|
166
|
+
base.ForInit = function(node, st, c) {
|
|
167
|
+
if (node.type === "VariableDeclaration") {
|
|
168
|
+
c(node, st);
|
|
169
|
+
} else {
|
|
170
|
+
c(node, st, "Expression");
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
base.DebuggerStatement = ignore;
|
|
174
|
+
base.FunctionDeclaration = function(node, st, c) {
|
|
175
|
+
return c(node, st, "Function");
|
|
176
|
+
};
|
|
177
|
+
base.VariableDeclaration = function(node, st, c) {
|
|
178
|
+
for (var i = 0, list = node.declarations; i < list.length; i += 1) {
|
|
179
|
+
var decl = list[i];
|
|
180
|
+
c(decl, st);
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
base.VariableDeclarator = function(node, st, c) {
|
|
184
|
+
c(node.id, st, "Pattern");
|
|
185
|
+
if (node.init) {
|
|
186
|
+
c(node.init, st, "Expression");
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
base.Function = function(node, st, c) {
|
|
190
|
+
if (node.id) {
|
|
191
|
+
c(node.id, st, "Pattern");
|
|
192
|
+
}
|
|
193
|
+
for (var i = 0, list = node.params; i < list.length; i += 1) {
|
|
194
|
+
var param = list[i];
|
|
195
|
+
c(param, st, "Pattern");
|
|
196
|
+
}
|
|
197
|
+
c(node.body, st, node.expression ? "Expression" : "Statement");
|
|
198
|
+
};
|
|
199
|
+
base.Pattern = function(node, st, c) {
|
|
200
|
+
if (node.type === "Identifier") {
|
|
201
|
+
c(node, st, "VariablePattern");
|
|
202
|
+
} else if (node.type === "MemberExpression") {
|
|
203
|
+
c(node, st, "MemberPattern");
|
|
204
|
+
} else {
|
|
205
|
+
c(node, st);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
base.VariablePattern = ignore;
|
|
209
|
+
base.MemberPattern = skipThrough;
|
|
210
|
+
base.RestElement = function(node, st, c) {
|
|
211
|
+
return c(node.argument, st, "Pattern");
|
|
212
|
+
};
|
|
213
|
+
base.ArrayPattern = function(node, st, c) {
|
|
214
|
+
for (var i = 0, list = node.elements; i < list.length; i += 1) {
|
|
215
|
+
var elt = list[i];
|
|
216
|
+
if (elt) {
|
|
217
|
+
c(elt, st, "Pattern");
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
base.ObjectPattern = function(node, st, c) {
|
|
222
|
+
for (var i = 0, list = node.properties; i < list.length; i += 1) {
|
|
223
|
+
var prop = list[i];
|
|
224
|
+
if (prop.type === "Property") {
|
|
225
|
+
if (prop.computed) {
|
|
226
|
+
c(prop.key, st, "Expression");
|
|
227
|
+
}
|
|
228
|
+
c(prop.value, st, "Pattern");
|
|
229
|
+
} else if (prop.type === "RestElement") {
|
|
230
|
+
c(prop.argument, st, "Pattern");
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
base.Expression = skipThrough;
|
|
235
|
+
base.ThisExpression = base.Super = base.MetaProperty = ignore;
|
|
236
|
+
base.ArrayExpression = function(node, st, c) {
|
|
237
|
+
for (var i = 0, list = node.elements; i < list.length; i += 1) {
|
|
238
|
+
var elt = list[i];
|
|
239
|
+
if (elt) {
|
|
240
|
+
c(elt, st, "Expression");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
base.ObjectExpression = function(node, st, c) {
|
|
245
|
+
for (var i = 0, list = node.properties; i < list.length; i += 1) {
|
|
246
|
+
var prop = list[i];
|
|
247
|
+
c(prop, st);
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
base.FunctionExpression = base.ArrowFunctionExpression = base.FunctionDeclaration;
|
|
251
|
+
base.SequenceExpression = function(node, st, c) {
|
|
252
|
+
for (var i = 0, list = node.expressions; i < list.length; i += 1) {
|
|
253
|
+
var expr = list[i];
|
|
254
|
+
c(expr, st, "Expression");
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
base.TemplateLiteral = function(node, st, c) {
|
|
258
|
+
for (var i = 0, list = node.quasis; i < list.length; i += 1) {
|
|
259
|
+
var quasi = list[i];
|
|
260
|
+
c(quasi, st);
|
|
261
|
+
}
|
|
262
|
+
for (var i$1 = 0, list$1 = node.expressions; i$1 < list$1.length; i$1 += 1) {
|
|
263
|
+
var expr = list$1[i$1];
|
|
264
|
+
c(expr, st, "Expression");
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
base.TemplateElement = ignore;
|
|
268
|
+
base.UnaryExpression = base.UpdateExpression = function(node, st, c) {
|
|
269
|
+
c(node.argument, st, "Expression");
|
|
270
|
+
};
|
|
271
|
+
base.BinaryExpression = base.LogicalExpression = function(node, st, c) {
|
|
272
|
+
c(node.left, st, "Expression");
|
|
273
|
+
c(node.right, st, "Expression");
|
|
274
|
+
};
|
|
275
|
+
base.AssignmentExpression = base.AssignmentPattern = function(node, st, c) {
|
|
276
|
+
c(node.left, st, "Pattern");
|
|
277
|
+
c(node.right, st, "Expression");
|
|
278
|
+
};
|
|
279
|
+
base.ConditionalExpression = function(node, st, c) {
|
|
280
|
+
c(node.test, st, "Expression");
|
|
281
|
+
c(node.consequent, st, "Expression");
|
|
282
|
+
c(node.alternate, st, "Expression");
|
|
283
|
+
};
|
|
284
|
+
base.NewExpression = base.CallExpression = function(node, st, c) {
|
|
285
|
+
c(node.callee, st, "Expression");
|
|
286
|
+
if (node.arguments) {
|
|
287
|
+
for (var i = 0, list = node.arguments; i < list.length; i += 1) {
|
|
288
|
+
var arg = list[i];
|
|
289
|
+
c(arg, st, "Expression");
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
base.MemberExpression = function(node, st, c) {
|
|
294
|
+
c(node.object, st, "Expression");
|
|
295
|
+
if (node.computed) {
|
|
296
|
+
c(node.property, st, "Expression");
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
base.ExportNamedDeclaration = base.ExportDefaultDeclaration = function(node, st, c) {
|
|
300
|
+
if (node.declaration) {
|
|
301
|
+
c(node.declaration, st, node.type === "ExportNamedDeclaration" || node.declaration.id ? "Statement" : "Expression");
|
|
302
|
+
}
|
|
303
|
+
if (node.source) {
|
|
304
|
+
c(node.source, st, "Expression");
|
|
305
|
+
}
|
|
306
|
+
if (node.attributes) {
|
|
307
|
+
for (var i = 0, list = node.attributes; i < list.length; i += 1) {
|
|
308
|
+
var attr = list[i];
|
|
309
|
+
c(attr, st);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
base.ExportAllDeclaration = function(node, st, c) {
|
|
314
|
+
if (node.exported) {
|
|
315
|
+
c(node.exported, st);
|
|
316
|
+
}
|
|
317
|
+
c(node.source, st, "Expression");
|
|
318
|
+
if (node.attributes) {
|
|
319
|
+
for (var i = 0, list = node.attributes; i < list.length; i += 1) {
|
|
320
|
+
var attr = list[i];
|
|
321
|
+
c(attr, st);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
base.ImportAttribute = function(node, st, c) {
|
|
326
|
+
c(node.value, st, "Expression");
|
|
327
|
+
};
|
|
328
|
+
base.ImportDeclaration = function(node, st, c) {
|
|
329
|
+
for (var i = 0, list = node.specifiers; i < list.length; i += 1) {
|
|
330
|
+
var spec = list[i];
|
|
331
|
+
c(spec, st);
|
|
332
|
+
}
|
|
333
|
+
c(node.source, st, "Expression");
|
|
334
|
+
if (node.attributes) {
|
|
335
|
+
for (var i$1 = 0, list$1 = node.attributes; i$1 < list$1.length; i$1 += 1) {
|
|
336
|
+
var attr = list$1[i$1];
|
|
337
|
+
c(attr, st);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
base.ImportExpression = function(node, st, c) {
|
|
342
|
+
c(node.source, st, "Expression");
|
|
343
|
+
if (node.options) {
|
|
344
|
+
c(node.options, st, "Expression");
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
base.ImportSpecifier = base.ImportDefaultSpecifier = base.ImportNamespaceSpecifier = base.Identifier = base.PrivateIdentifier = base.Literal = ignore;
|
|
348
|
+
base.TaggedTemplateExpression = function(node, st, c) {
|
|
349
|
+
c(node.tag, st, "Expression");
|
|
350
|
+
c(node.quasi, st, "Expression");
|
|
351
|
+
};
|
|
352
|
+
base.ClassDeclaration = base.ClassExpression = function(node, st, c) {
|
|
353
|
+
return c(node, st, "Class");
|
|
354
|
+
};
|
|
355
|
+
base.Class = function(node, st, c) {
|
|
356
|
+
if (node.id) {
|
|
357
|
+
c(node.id, st, "Pattern");
|
|
358
|
+
}
|
|
359
|
+
if (node.superClass) {
|
|
360
|
+
c(node.superClass, st, "Expression");
|
|
361
|
+
}
|
|
362
|
+
c(node.body, st);
|
|
363
|
+
};
|
|
364
|
+
base.ClassBody = function(node, st, c) {
|
|
365
|
+
for (var i = 0, list = node.body; i < list.length; i += 1) {
|
|
366
|
+
var elt = list[i];
|
|
367
|
+
c(elt, st);
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
base.MethodDefinition = base.PropertyDefinition = base.Property = function(node, st, c) {
|
|
371
|
+
if (node.computed) {
|
|
372
|
+
c(node.key, st, "Expression");
|
|
373
|
+
}
|
|
374
|
+
if (node.value) {
|
|
375
|
+
c(node.value, st, "Expression");
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export {
|
|
380
|
+
simple,
|
|
381
|
+
ancestor,
|
|
382
|
+
recursive,
|
|
383
|
+
full,
|
|
384
|
+
base
|
|
385
|
+
};
|
|
@@ -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-GANST5K3.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MGBUWPXX.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AEXVVABM.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2MCXIY4B.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2VXY3PEF.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -13,7 +13,7 @@ function normalizeErrorMessage(error) {
|
|
|
13
13
|
const msg = error.message;
|
|
14
14
|
if (typeof msg === "string") return msg;
|
|
15
15
|
try {
|
|
16
|
-
return JSON.stringify(error)
|
|
16
|
+
return JSON.stringify(error) ?? `{${Object.keys(error).join(", ")}}`;
|
|
17
17
|
} catch {
|
|
18
18
|
try {
|
|
19
19
|
return `{${Object.keys(error).join(", ")}}`;
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-32NB4VMH.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-MGBUWPXX.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
22
22
|
import {
|
|
23
23
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PKZ7RK5N.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
EncoderInterruptedError,
|
|
9
9
|
encoderFailureError,
|
|
10
10
|
prepareAnimatedGifInputs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YMQQXPD5.js";
|
|
12
12
|
import {
|
|
13
13
|
GENERIC_FAMILIES,
|
|
14
14
|
collectFontFamilyCustomProperties,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
iterateFontFamilyDeclarations,
|
|
17
17
|
normalizeSystemFontPrimaryFamilies,
|
|
18
18
|
resolveFontFamilyDeclarationFamilies
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QFPBRZJD.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
22
|
} from "./chunk-KLIKCX6Q.js";
|
|
@@ -73,6 +73,7 @@ import {
|
|
|
73
73
|
createFrameLookupTable,
|
|
74
74
|
createFrameReorderBuffer,
|
|
75
75
|
createVideoFrameInjector,
|
|
76
|
+
declareContentAddressedUrl,
|
|
76
77
|
decodePng,
|
|
77
78
|
decodePngToRgb48le,
|
|
78
79
|
deriveBeginFrameProbeTimeTicks,
|
|
@@ -156,7 +157,7 @@ import {
|
|
|
156
157
|
validateEngineConfigSnapshot,
|
|
157
158
|
verifyDiskDrawElementSamples,
|
|
158
159
|
writeCapturedFrame
|
|
159
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-QX4TB4NH.js";
|
|
160
161
|
import {
|
|
161
162
|
DISTRIBUTED_FPS,
|
|
162
163
|
HF_VFX_ATTR,
|
|
@@ -171,7 +172,7 @@ import {
|
|
|
171
172
|
parseVfxChain,
|
|
172
173
|
resolveAuthoredTimingWindow,
|
|
173
174
|
toFps
|
|
174
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-MGBUWPXX.js";
|
|
175
176
|
import {
|
|
176
177
|
assignBundledRuntimeCompositionIds,
|
|
177
178
|
buildVariablesByCompScript,
|
|
@@ -184,7 +185,7 @@ import {
|
|
|
184
185
|
isTemplateEntry,
|
|
185
186
|
parsesAsScript,
|
|
186
187
|
prepareFlattenedInnerRoot
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-AEXVVABM.js";
|
|
188
189
|
import {
|
|
189
190
|
COMPOSITION_SOURCE_URL,
|
|
190
191
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -212,7 +213,7 @@ import {
|
|
|
212
213
|
shouldClampResolvedMediaDuration,
|
|
213
214
|
sourceTimeAt,
|
|
214
215
|
styleElementsFor
|
|
215
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-B2XLXD7V.js";
|
|
216
217
|
import {
|
|
217
218
|
MAX_AUDIO_GAIN
|
|
218
219
|
} from "./chunk-X7HBSTCZ.js";
|
|
@@ -226,7 +227,7 @@ import {
|
|
|
226
227
|
isAspectAgnosticResolutionAlias,
|
|
227
228
|
normalizeResolutionFlag,
|
|
228
229
|
suggestMatchingPreset
|
|
229
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-2MCXIY4B.js";
|
|
230
231
|
import {
|
|
231
232
|
TRANSITIONS,
|
|
232
233
|
convertTransfer,
|
|
@@ -242,7 +243,7 @@ import {
|
|
|
242
243
|
import {
|
|
243
244
|
lintHyperframeHtml,
|
|
244
245
|
resolveReferencedStart
|
|
245
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-2VXY3PEF.js";
|
|
246
247
|
import {
|
|
247
248
|
isUnresolvedAssetPlaceholder,
|
|
248
249
|
readProjectFile,
|
|
@@ -6641,7 +6642,7 @@ async function readLocalFont(absPath) {
|
|
|
6641
6642
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
6642
6643
|
}
|
|
6643
6644
|
async function embedLocalFontFaces(html, projectDir) {
|
|
6644
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
6645
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-RO2TCMLZ.js");
|
|
6645
6646
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
6646
6647
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
6647
6648
|
let result = html;
|
|
@@ -7728,6 +7729,10 @@ async function runProbeStage(input) {
|
|
|
7728
7729
|
if (el.loop && !existing.loop) {
|
|
7729
7730
|
existing.loop = true;
|
|
7730
7731
|
}
|
|
7732
|
+
const audio = composition.audios.find(
|
|
7733
|
+
(audio2) => audio2.type === "video" && audio2.id === `${el.id}-audio`
|
|
7734
|
+
);
|
|
7735
|
+
if (audio) audio.loop = existing.loop;
|
|
7731
7736
|
}
|
|
7732
7737
|
} else if (!compiled.droppedMediaIds.has(el.id)) {
|
|
7733
7738
|
composition.videos.push({
|
|
@@ -7765,6 +7770,7 @@ async function runProbeStage(input) {
|
|
|
7765
7770
|
el,
|
|
7766
7771
|
authoredStarts.get(el.id) ?? existing.mediaStart
|
|
7767
7772
|
);
|
|
7773
|
+
existing.loop = el.loop;
|
|
7768
7774
|
if (el.volume > 0 && Math.abs((existing.volume ?? 1) - el.volume) > BROWSER_MEDIA_EPSILON) {
|
|
7769
7775
|
existing.volume = el.volume;
|
|
7770
7776
|
}
|
|
@@ -7776,6 +7782,7 @@ async function runProbeStage(input) {
|
|
|
7776
7782
|
start: el.start,
|
|
7777
7783
|
end: resolveBrowserMediaEnd(el.start, el.end, el.duration),
|
|
7778
7784
|
mediaStart: el.mediaStart,
|
|
7785
|
+
loop: el.loop,
|
|
7779
7786
|
layer: 0,
|
|
7780
7787
|
volume: el.volume,
|
|
7781
7788
|
type: "audio"
|
|
@@ -8378,6 +8385,8 @@ function appendAutoDetectedVideoAudio(composition, extracted) {
|
|
|
8378
8385
|
start: video.start,
|
|
8379
8386
|
end: video.end,
|
|
8380
8387
|
mediaStart: video.mediaStart,
|
|
8388
|
+
playbackRate: video.playbackRate,
|
|
8389
|
+
loop: video.loop,
|
|
8381
8390
|
layer: 0,
|
|
8382
8391
|
volume: 1,
|
|
8383
8392
|
type: "video"
|
|
@@ -10025,6 +10034,7 @@ async function runCaptureHdrStage(input) {
|
|
|
10025
10034
|
width,
|
|
10026
10035
|
height,
|
|
10027
10036
|
codec: preset.codec,
|
|
10037
|
+
useGpu: job.config.useGpu,
|
|
10028
10038
|
preset: preset.preset,
|
|
10029
10039
|
quality: effectiveQuality,
|
|
10030
10040
|
bitrate: effectiveBitrate,
|
|
@@ -15457,6 +15467,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
15457
15467
|
const needsAlpha = outputNeedsAlpha(config.format);
|
|
15458
15468
|
const remoteFiles = Object.entries(options.remoteFiles ?? {});
|
|
15459
15469
|
const remoteLocalPath = (rel) => join32(projectDir, ...rel.split("/"));
|
|
15470
|
+
for (const [, file] of remoteFiles) declareContentAddressedUrl(file.url, file.sha256);
|
|
15460
15471
|
const urlByAbsentLocalPath = new Map(
|
|
15461
15472
|
remoteFiles.map(([rel, file]) => [remoteLocalPath(rel), file.url])
|
|
15462
15473
|
);
|
|
@@ -15531,7 +15542,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
15531
15542
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15532
15543
|
if (probeResult.probeSession) {
|
|
15533
15544
|
try {
|
|
15534
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15545
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-SSV66L3F.js");
|
|
15535
15546
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15536
15547
|
} catch (err) {
|
|
15537
15548
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17182,7 +17193,7 @@ function startServer(options = {}) {
|
|
|
17182
17193
|
});
|
|
17183
17194
|
async function shutdown(signal) {
|
|
17184
17195
|
log.info(`Received ${signal}, shutting down`);
|
|
17185
|
-
const { drainBrowserPool } = await import("./src-
|
|
17196
|
+
const { drainBrowserPool } = await import("./src-SSV66L3F.js");
|
|
17186
17197
|
await drainBrowserPool().catch(() => {
|
|
17187
17198
|
});
|
|
17188
17199
|
const handle = await Promise.race([
|
|
@@ -18240,7 +18251,7 @@ function cfrEncodeArgs(inputArgs, encoder, fpsArg) {
|
|
|
18240
18251
|
"-r",
|
|
18241
18252
|
fpsArg
|
|
18242
18253
|
];
|
|
18243
|
-
appendSoftwareEncoderThreadsArg(args);
|
|
18254
|
+
appendSoftwareEncoderThreadsArg(args, "libx264");
|
|
18244
18255
|
return args;
|
|
18245
18256
|
}
|
|
18246
18257
|
async function reencodeCfr(ctx, chunkPaths, encoder) {
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
markSeen,
|
|
10
10
|
readSeen,
|
|
11
11
|
writeRecord
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5IPKQHOL.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MGBUWPXX.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
pinnedPackageBesideCli,
|
|
17
17
|
runNpm,
|
|
18
18
|
sweepStaleStaging
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EXAX37XR.js";
|
|
20
20
|
import {
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LOKCBZYF.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-J2ASTCU6.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PFRG5P32.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
detectGpuEncoder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QX4TB4NH.js";
|
|
10
10
|
import {
|
|
11
11
|
runCancellableProcess
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RWGASWT7.js";
|
|
13
13
|
import {
|
|
14
14
|
findFfBinary
|
|
15
15
|
} from "./chunk-VAS6HQX3.js";
|