hyperframes 0.9.50 → 0.9.51
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-MHBYQHUR.js → add-SERNROOY.js} +7 -7
- package/dist/{agentPromptGenerator-LJHTM6QS.js → agentPromptGenerator-GVWX5P55.js} +10 -11
- package/dist/{animatedGifPrep-V5SQRWAT.js → animatedGifPrep-53UU67BG.js} +6 -5
- package/dist/api.d.ts +1 -0
- package/dist/api.js +27 -26
- package/dist/{asset-2QF7W45V.js → asset-MCBHJZCT.js} +2 -2
- package/dist/{assetCataloger-HBGLL5OY.js → assetCataloger-4DS44LB2.js} +5 -5
- package/dist/{audio-ERHWZM2O.js → audio-RCVQDNXZ.js} +12 -12
- package/dist/{auth-JNM2N5FK.js → auth-MS46YSQ5.js} +2 -2
- package/dist/{autoUpdate-2A3PNPOQ.js → autoUpdate-KECZLRZD.js} +2 -2
- package/dist/{avatars-UXJM3YOF.js → avatars-VYEPMXIO.js} +8 -8
- package/dist/{backgroundChecks-FM7JOSDW.js → backgroundChecks-HAX5LQ2L.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-BAZOHGIS.js → beats-WZSPVMQ4.js} +7 -7
- package/dist/{benchmark-AWDTJZW2.js → benchmark-O5GWBFWE.js} +9 -8
- package/dist/{billing-M7FIGUG3.js → billing-D6ZZNKPW.js} +7 -6
- package/dist/{browser-BJBAMHOZ.js → browser-YHAPXFOK.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-NWMD2BBQ.js → bundleWithLocalizedFonts-Z5IHK62J.js} +1 -1
- package/dist/{capture-V3KIGAHK.js → capture-5WTC5QWV.js} +4 -4
- package/dist/{capture-GKI3WNTE.js → capture-VAY75ASS.js} +28 -15
- package/dist/{captureCompositionFrame-C3QPXFZZ.js → captureCompositionFrame-6DCRCIKA.js} +7 -7
- package/dist/{catalog-5VRQXFNE.js → catalog-CH4H6C5E.js} +7 -7
- package/dist/{catch-up-IWRZL3T6.js → catch-up-KT6MHQBO.js} +7 -6
- package/dist/{check-3TTCBOR5.js → check-6L7IEY5U.js} +28 -27
- package/dist/{checkAudio-WNVIHTTH.js → checkAudio-EAM7FCLJ.js} +7 -7
- package/dist/{checkBrowser-IQR4HWS6.js → checkBrowser-IIMZI2LZ.js} +22 -21
- package/dist/{chunk-5SIOKBKO.js → chunk-2BRVSU2O.js} +2 -2
- package/dist/{chunk-I7UACFVY.js → chunk-2L2A2HRW.js} +10 -9
- package/dist/{chunk-NOSZSEN6.js → chunk-3VPBUDK6.js} +1 -1
- package/dist/{chunk-QE2G4RUL.js → chunk-445BBSZS.js} +1 -1
- package/dist/{chunk-T47SZ3SP.js → chunk-4ZNB3EXI.js} +5 -5
- package/dist/{chunk-QARZ5SCV.js → chunk-5XSIAXIP.js} +2 -2
- package/dist/{chunk-62R36CZW.js → chunk-6PXVXIC7.js} +21 -5
- package/dist/{chunk-I4PWEIZK.js → chunk-6WHTS73J.js} +1 -1
- package/dist/{chunk-F7Z7UDAV.js → chunk-76HCZQ2W.js} +1 -1
- package/dist/{chunk-T44NTM2R.js → chunk-77KEU6NG.js} +2 -2
- package/dist/{chunk-CIZB4MFK.js → chunk-7ADDESOW.js} +1 -1
- package/dist/{chunk-CB3GR7GV.js → chunk-7DJVLFIL.js} +2 -2
- package/dist/chunk-7RLMDAUO.js +60 -0
- package/dist/{chunk-7W3MLVDC.js → chunk-ACFNPUL7.js} +1 -1
- package/dist/{chunk-OUABE6YT.js → chunk-AGTOSMG6.js} +1 -1
- package/dist/{chunk-NLTJMUK6.js → chunk-BPNCNZG5.js} +1 -1
- package/dist/{chunk-G5M6MZPP.js → chunk-BQCW5T3M.js} +1 -1
- package/dist/{chunk-VNIVH2ZQ.js → chunk-BQWFOVLO.js} +1 -1
- package/dist/{chunk-A5LYBVBC.js → chunk-BSHZIPFP.js} +9 -9
- package/dist/{chunk-2M7GGAXG.js → chunk-CLRM7ZI5.js} +2 -2
- package/dist/{chunk-U4CJQ4AU.js → chunk-COHL5422.js} +3 -3
- package/dist/{chunk-QLHNKVBG.js → chunk-CTFMKRFI.js} +4 -4
- package/dist/{chunk-6Q7QF4UD.js → chunk-CTRYPHSE.js} +2 -2
- package/dist/{chunk-CGHWDZXR.js → chunk-D3DY7Q6S.js} +2 -2
- package/dist/{chunk-PGY4WFKL.js → chunk-DMF4ML3Y.js} +1 -1
- package/dist/{chunk-NLHR5VAJ.js → chunk-DP7LWIKE.js} +1 -1
- package/dist/{chunk-ZX52DCZH.js → chunk-ECJX6EJN.js} +2 -2
- package/dist/{chunk-R76QWLJI.js → chunk-EEVDBYVF.js} +1 -1
- package/dist/{chunk-62LL7YPC.js → chunk-EMX4P4WP.js} +2 -2
- package/dist/{chunk-ZI5QVXG4.js → chunk-EVHZDKB2.js} +2 -2
- package/dist/{chunk-WXNVVZCC.js → chunk-EYXMXWME.js} +41 -16
- package/dist/{chunk-3LTJKGJQ.js → chunk-FDBK2NOH.js} +4 -4
- package/dist/{chunk-YTO34UZE.js → chunk-FXQ5577T.js} +4 -4
- package/dist/{chunk-JQPR3J5V.js → chunk-GTCPI2UK.js} +2 -2
- package/dist/{chunk-HCPT6BJD.js → chunk-HGDOOG4T.js} +1 -1
- package/dist/{chunk-QIKIHGPS.js → chunk-HZLN3V3P.js} +1 -1
- package/dist/{chunk-TMAF33SA.js → chunk-I4XV2UMQ.js} +1 -1
- package/dist/{chunk-M3MXR3HG.js → chunk-I6SCA2ME.js} +22 -11
- package/dist/{chunk-D3UYYHU2.js → chunk-ILQAOOR4.js} +1 -1
- package/dist/{chunk-TW6S6A2B.js → chunk-IUIFNZTJ.js} +20 -20
- package/dist/{chunk-ULPGXTB4.js → chunk-IZQDQ5AN.js} +1 -1
- package/dist/{chunk-AVBZSLK5.js → chunk-K27EQ4Z4.js} +4 -4
- package/dist/{chunk-E2QJFCYC.js → chunk-K4SWGMPO.js} +3 -3
- package/dist/{chunk-7CLDXOEJ.js → chunk-KLIVZ5VG.js} +2 -1
- package/dist/{chunk-YIKOKVHE.js → chunk-KQFGINDM.js} +26 -15
- package/dist/{chunk-KDT2WX7M.js → chunk-KQRSEH4X.js} +1 -1
- package/dist/chunk-L2U4ISSS.js +93 -0
- package/dist/{chunk-NYUTPQQ3.js → chunk-LJFGZKVL.js} +11 -11
- package/dist/{chunk-M2UX3RAP.js → chunk-LOKPWAFW.js} +7 -7
- package/dist/{chunk-W4JWPYLU.js → chunk-MQGRMXFN.js} +50 -11
- package/dist/{chunk-LRKSFIYI.js → chunk-MRJQQDZR.js} +2 -2
- package/dist/{chunk-JHNICCT2.js → chunk-MZD5KJDU.js} +10 -10
- package/dist/{chunk-ARIBOM26.js → chunk-N5IAKDUQ.js} +1 -1
- package/dist/{chunk-GWTNXGIH.js → chunk-NFRKPLTJ.js} +1 -1
- package/dist/{chunk-DV5KH45B.js → chunk-P3K7LZCY.js} +1 -1
- package/dist/{chunk-UJRRUNWQ.js → chunk-PALZMYFH.js} +2 -2
- package/dist/{chunk-PNL7SMWV.js → chunk-PNJ4M4QZ.js} +1 -1
- package/dist/{chunk-LSL3XC2T.js → chunk-QKCU2J2V.js} +4 -4
- package/dist/{chunk-7YKLBEIC.js → chunk-R5OSZK62.js} +6 -6
- package/dist/{chunk-4OWHB6Y4.js → chunk-RQX5C7JD.js} +1 -1
- package/dist/{chunk-H6GW4MUA.js → chunk-SBQLLGXW.js} +2 -2
- package/dist/{chunk-XBD5NV2F.js → chunk-SFJWTPOF.js} +1 -1
- package/dist/{chunk-Z5TKOD2D.js → chunk-SMUNLDEY.js} +2 -2
- package/dist/{chunk-RJEX3RRW.js → chunk-TDQUQAW5.js} +2 -2
- package/dist/{chunk-FLDJ5AYW.js → chunk-TE3CITOB.js} +2 -2
- package/dist/{chunk-747XM6QN.js → chunk-TJXXLWQ4.js} +2 -2
- package/dist/{chunk-5YF3NCZV.js → chunk-TQMTMD72.js} +1 -1
- package/dist/{chunk-OHC6GZAK.js → chunk-TQW3G23G.js} +9 -9
- package/dist/{chunk-HYMWSWKM.js → chunk-U3LWQGCD.js} +7 -2
- package/dist/{chunk-LS2FSESG.js → chunk-UHTWJOJ6.js} +56 -3
- package/dist/{chunk-CX5Y3TUU.js → chunk-USYPUTGC.js} +1 -1
- package/dist/{chunk-AOITLZJO.js → chunk-UX2KMUKC.js} +6 -2
- package/dist/{chunk-YYF4HKW5.js → chunk-UX2SUCRS.js} +1 -1
- package/dist/{chunk-CII7LO6I.js → chunk-UZGN5MTD.js} +1 -1
- package/dist/{chunk-GVYDYPMK.js → chunk-V7M6HV23.js} +1 -1
- package/dist/{chunk-7H6NEDNA.js → chunk-WIZBFUBI.js} +2 -2
- package/dist/{chunk-ARREGNEF.js → chunk-WQ2N2AG7.js} +4 -4
- package/dist/{chunk-ZPMIIPDH.js → chunk-WQ3WMTSS.js} +2 -2
- package/dist/{chunk-37NCCCVV.js → chunk-WSZJS4QC.js} +5 -34
- package/dist/{chunk-XP5X4TKU.js → chunk-XEMS4TXW.js} +1 -1
- package/dist/{chunk-4QRYBCP5.js → chunk-XILU2D2B.js} +1 -1
- package/dist/{chunk-GOZNQ2BU.js → chunk-XPAQK6E4.js} +9 -9
- package/dist/{chunk-DSKX5OD2.js → chunk-YQSW3GXC.js} +2 -2
- package/dist/{chunk-S2Z46FMO.js → chunk-ZXIWAD2G.js} +1 -1
- package/dist/{clean-BT36HK75.js → clean-E6CXNNF5.js} +16 -15
- package/dist/cli.js +61 -61
- package/dist/{cloud-R2QOPFMH.js → cloud-2M4WWTSQ.js} +4 -4
- package/dist/{compare-RUB5AIPD.js → compare-MHFCJIWI.js} +18 -17
- package/dist/{component-NBW4NP3J.js → component-KRPXKVZH.js} +3 -3
- package/dist/{compositions-FHO2G54H.js → compositions-MXESIGTW.js} +9 -9
- package/dist/{curve-2MSCLXM7.js → curve-BE2B7NIC.js} +8 -8
- package/dist/{cuts-ND6ZL5AI.js → cuts-7GJF6CE2.js} +9 -9
- package/dist/{delete-FMQCJAHX.js → delete-6NUSXGFC.js} +2 -2
- package/dist/{deploy-5UOYKYXF.js → deploy-D3NO4UPN.js} +2 -2
- package/dist/{describeProject-OIK763B5.js → describeProject-6Y7GXXYM.js} +4 -4
- package/dist/{destroy-MLAFCH6B.js → destroy-6ESKQA5T.js} +2 -2
- package/dist/{diff-KKJRQKFR.js → diff-NB4SANJX.js} +22 -22
- package/dist/{dist-UMYCC5T5.js → dist-MNFB4YKV.js} +5 -4
- package/dist/{doctor-5DILJANT.js → doctor-JAZHU2BT.js} +10 -10
- package/dist/{energy-BLU27H7G.js → energy-X5E2NPBL.js} +9 -9
- package/dist/{events-35CZGWGO.js → events-5QYPAD2S.js} +5 -4
- package/dist/{events-GRLM5BLQ.js → events-JWW4ASN3.js} +6 -5
- package/dist/{events-AXNHFZTY.js → events-XA2QQBP7.js} +11 -11
- package/dist/{execute-FRDHPWNT.js → execute-N7L5W7DV.js} +17 -16
- package/dist/{extract-ILQCKYWJ.js → extract-YQAMVIVK.js} +9 -9
- package/dist/{face-S3YZLPEO.js → face-M7VZIIEP.js} +9 -9
- package/dist/{feedback-LTEDBBL2.js → feedback-DX6N4RT3.js} +11 -10
- package/dist/{ffmpeg-OJIIUEQQ.js → ffmpeg-U2UP72FB.js} +4 -4
- package/dist/{figma-DXIX3JW2.js → figma-BMMVU5ML.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -8
- package/dist/{frames-E7GSMQMG.js → frames-XB4N4WW2.js} +10 -10
- package/dist/{generate-5BV3VOF5.js → generate-M5ACNHVM.js} +15 -15
- package/dist/{get-LO5YZK5S.js → get-65JSCBTR.js} +2 -2
- package/dist/{gpuPolicy-L6YX2UOM.js → gpuPolicy-XC2BONM7.js} +4 -4
- package/dist/{grade-compare-45DGL4FX.js → grade-compare-LPDDN5LL.js} +19 -18
- package/dist/{heifImagePrep-HZWZ6RCU.js → heifImagePrep-QMFBHJQG.js} +7 -6
- package/dist/{help-NXUWIQZJ.js → help-VLKAJCUD.js} +1 -1
- package/dist/{history-B2VYYYFA.js → history-XPGU76VB.js} +9 -8
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6BK7QHQN.js → info-DGY5NFZJ.js} +11 -11
- package/dist/{init-5NJNDMW5.js → init-OYK5QV3A.js} +22 -22
- package/dist/{ink-I2VH46VQ.js → ink-UJ6T72I6.js} +9 -9
- package/dist/{inspect-VMCKQEOT.js → inspect-GNE5FQDJ.js} +20 -19
- package/dist/{keyframes-2ZZUDJD7.js → keyframes-MFGXRBMS.js} +9 -8
- package/dist/{lambda-BHLB7JHL.js → lambda-OOESQH7O.js} +6 -6
- package/dist/{layout-4Y2DWTXM.js → layout-67GYUHRL.js} +20 -19
- package/dist/{lint-QPQRY5WD.js → lint-GW3AGJO3.js} +8 -8
- package/dist/{list-SPRUZTEJ.js → list-FMAPGP4I.js} +2 -2
- package/dist/{localPage-TZFDEA6W.js → localPage-76LUQEMF.js} +4 -4
- package/dist/{login-JOQCOSOK.js → login-YOMRKZTT.js} +4 -4
- package/dist/{look-3UNLVDPJ.js → look-CTRMUUY6.js} +9 -9
- package/dist/{manager-25RJ4IZN.js → manager-TMKN4DX5.js} +3 -3
- package/dist/{manager-7IV66O64.js → manager-ZNADMKUJ.js} +5 -5
- package/dist/{measure-PFOIM7OJ.js → measure-RPPQJGKH.js} +11 -11
- package/dist/{media-treatment-WR2EYI6J.js → media-treatment-UZ4L4MDB.js} +10 -10
- package/dist/{media-use-VRMLASYM.js → media-use-B7OLG3J3.js} +3 -3
- package/dist/{models-6BN6ZA2T.js → models-ZXXLZBLQ.js} +8 -8
- package/dist/{motionShot-SX6BQ2A3.js → motionShot-DBW6UXTD.js} +10 -10
- package/dist/{normalize-audio-E2EMJIJU.js → normalize-audio-L4AE5ASS.js} +9 -8
- package/dist/{open-N4SZ4OC6.js → open-YBZJF2HO.js} +7 -6
- package/dist/{parakeetRunner-GVZ2XLDV.js → parakeetRunner-ZLFQAJ45.js} +10 -10
- package/dist/{pipeline-Z4RAIXQM.js → pipeline-3L4HX4CH.js} +7 -7
- package/dist/{plan-NJKLH5DY.js → plan-R4I5XT6L.js} +11 -11
- package/dist/{play-2P3J4O6N.js → play-J54FH42B.js} +14 -13
- package/dist/{preflight-VQ366D6O.js → preflight-SMPZLLLL.js} +7 -7
- package/dist/{present-HCY6XKUF.js → present-AXOSYIJE.js} +14 -13
- package/dist/{preview-ZE435ZVI.js → preview-6VDMGAQI.js} +11 -11
- package/dist/{probe-J2KN3Y3Z.js → probe-CXIQVZAM.js} +9 -9
- package/dist/{producer-G6AH4NES.js → producer-EQOO6NE2.js} +1 -1
- package/dist/{publicNetwork-CWKAKZXP.js → publicNetwork-GFQID4Q6.js} +1 -1
- package/dist/{publish-CMIRMUVW.js → publish-DCOFEASH.js} +11 -10
- package/dist/{remove-background-2HPZDKTN.js → remove-background-OHGBEI7B.js} +8 -8
- package/dist/{render-FYWFWCL7.js → render-CMY2ELLE.js} +20 -19
- package/dist/{render-WXDAMYQU.js → render-ONBJRZRU.js} +26 -25
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{reverse-XNTL6ILN.js → reverse-UIQAE3DC.js} +1 -1
- package/dist/{run-GGMHXAKM.js → run-NQBD5RDR.js} +2 -2
- package/dist/{screenshotCapture-4FFWYCKV.js → screenshotCapture-PUK46H3O.js} +4 -4
- package/dist/{service-BW7NT4R2.js → service-HULLICEP.js} +9 -9
- package/dist/{share-JJ6G2SRE.js → share-VKY5LLZ7.js} +12 -12
- package/dist/{sherpa-ZARNRTUF.js → sherpa-WDVEYQHZ.js} +9 -9
- package/dist/{skills-H6QD7AIP.js → skills-6K2EZEJK.js} +9 -8
- package/dist/{skillsUpdateCheck-BBSSMBNI.js → skillsUpdateCheck-UXRH4JIW.js} +3 -3
- package/dist/{snapshot-AIASY7ZT.js → snapshot-UDJB33E5.js} +26 -25
- package/dist/{src-RNWDJRGO.js → src-66ZYEQPG.js} +11 -7
- package/dist/{src-IVCOSSDJ.js → src-6GRYTLZ5.js} +11 -7
- package/dist/{start-CVUWN3EJ.js → start-VJPLZ7YN.js} +13 -13
- package/dist/{staticProjectServer-XHYEFNOX.js → staticProjectServer-5QU3ICQV.js} +9 -8
- package/dist/{status-TCUB55VV.js → status-SZ4QKSVN.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DHIxqu8A.js → hyperframes-player-i4dtJlrd.js} +1 -1
- package/dist/studio/assets/{index-CefNftWO.js → index-Be_pDhIw.js} +1 -1
- package/dist/studio/assets/{index-CuCj-ntQ.js → index-Dvlt50yp.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-C_20YkSR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HPYJHSZY.js → studio-api-OJEU24EG.js} +5 -4
- package/dist/{studioServer-RIYJYGVD.js → studioServer-VRYGQOGN.js} +36 -35
- package/dist/{sync-ILVIJDYI.js → sync-NSGF4MPJ.js} +9 -9
- package/dist/{system-BONOLEJX.js → system-I5KGZTUG.js} +3 -2
- package/dist/{telemetry-Q6X3TCN6.js → telemetry-Q45SZSZC.js} +6 -5
- package/dist/{templates-64NH2NZF.js → templates-X7UD7HRJ.js} +7 -6
- package/dist/{timeline-CR4YEFN4.js → timeline-JVN34ETY.js} +15 -14
- package/dist/{tokens-NISS5JD7.js → tokens-GWFTTI5U.js} +2 -2
- package/dist/{transcribe-AP3PUNHX.js → transcribe-7MADUIYX.js} +8 -8
- package/dist/{transcribe-R7K7NSGF.js → transcribe-PJRBKRPT.js} +18 -18
- package/dist/{update-OI6DZTRT.js → update-D3V2PW3U.js} +10 -9
- package/dist/{updateCheck-7ZCJ7FNE.js → updateCheck-5G4ZILYA.js} +2 -2
- package/dist/{upgrade-D6VGQSRH.js → upgrade-4BNSDRCV.js} +3 -3
- package/dist/{urlDownloader-KE7AXBCY.js → urlDownloader-RLZ7H7NM.js} +3 -3
- package/dist/{validate-LZBOVEFV.js → validate-JW6LLGWB.js} +19 -18
- package/dist/{video-7KEKO4H2.js → video-WOBS7YW2.js} +5 -5
- package/dist/{voices-6EOBOCEU.js → voices-E6WE2Q2U.js} +13 -13
- package/dist/warmCheck.js +28 -27
- package/package.json +1 -1
- package/dist/chunk-47JAY366.js +0 -44
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
isEnvOrGitPath,
|
|
9
|
+
isPrivateOutsideFile,
|
|
10
|
+
linksOutside
|
|
11
|
+
} from "./chunk-WSZJS4QC.js";
|
|
12
|
+
import {
|
|
13
|
+
isPrivateProjectFile,
|
|
14
|
+
realFilePath
|
|
15
|
+
} from "./chunk-SZGQU7EB.js";
|
|
16
|
+
|
|
17
|
+
// src/utils/privateProjectFile.ts
|
|
18
|
+
import { lstatSync, readFileSync, realpathSync, statSync } from "fs";
|
|
19
|
+
import { dirname, join, relative, resolve, sep } from "path";
|
|
20
|
+
function linksToPrivateOutsideFile(projectDir, filePath) {
|
|
21
|
+
return linksOutside(projectDir, filePath) && isPrivateOutsideFile(projectDir, filePath);
|
|
22
|
+
}
|
|
23
|
+
var RECEIVED_RECORD = join(".hyperframes", "received-files.json");
|
|
24
|
+
function recordFileAt(dir) {
|
|
25
|
+
try {
|
|
26
|
+
return statSync(join(dir, RECEIVED_RECORD)).isFile();
|
|
27
|
+
} catch {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function readRecord(dir, ownFolder) {
|
|
32
|
+
if (!ownFolder && !recordFileAt(dir)) return null;
|
|
33
|
+
try {
|
|
34
|
+
return { listed: JSON.parse(readFileSync(join(dir, RECEIVED_RECORD), "utf-8")).files };
|
|
35
|
+
} catch (error) {
|
|
36
|
+
const code = error.code;
|
|
37
|
+
return ownFolder && (code === "ENOENT" || code === "ENOTDIR") ? null : { listed: void 0 };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function nearestReceivedRecordAtOrAbove(projectDir) {
|
|
41
|
+
let start;
|
|
42
|
+
try {
|
|
43
|
+
start = realpathSync(projectDir);
|
|
44
|
+
} catch {
|
|
45
|
+
start = resolve(projectDir);
|
|
46
|
+
}
|
|
47
|
+
for (let dir = start; ; ) {
|
|
48
|
+
const record = readRecord(dir, dir === start);
|
|
49
|
+
if (record)
|
|
50
|
+
return {
|
|
51
|
+
root: dir,
|
|
52
|
+
projectDirFromRoot: relative(dir, start).split(sep).join("/"),
|
|
53
|
+
...record
|
|
54
|
+
};
|
|
55
|
+
const parent = dirname(dir);
|
|
56
|
+
if (parent === dir) return null;
|
|
57
|
+
dir = parent;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function fileIdentity(path) {
|
|
61
|
+
try {
|
|
62
|
+
const stat = lstatSync(path, { bigint: true });
|
|
63
|
+
return stat.ino === 0n ? null : `${stat.dev}:${stat.ino}`;
|
|
64
|
+
} catch {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function receivedFiles(projectDir) {
|
|
69
|
+
const record = nearestReceivedRecordAtOrAbove(projectDir);
|
|
70
|
+
if (!record) return () => false;
|
|
71
|
+
if (!Array.isArray(record.listed)) return () => true;
|
|
72
|
+
const listed = record.listed.map((path) => String(path).normalize("NFC"));
|
|
73
|
+
const files = new Set(listed);
|
|
74
|
+
const keyOf = (path) => (record.projectDirFromRoot ? `${record.projectDirFromRoot}/${path}` : path).normalize("NFC");
|
|
75
|
+
let listedOnDisk;
|
|
76
|
+
const sameFileAsListed = (path) => {
|
|
77
|
+
listedOnDisk ??= new Set(
|
|
78
|
+
listed.flatMap((entry) => fileIdentity(join(record.root, entry)) ?? [])
|
|
79
|
+
);
|
|
80
|
+
const identity = fileIdentity(join(projectDir, path));
|
|
81
|
+
return identity !== null && listedOnDisk.has(identity);
|
|
82
|
+
};
|
|
83
|
+
return (path) => files.has(keyOf(path)) || sameFileAsListed(path);
|
|
84
|
+
}
|
|
85
|
+
function isPrivateCompositionFile(projectDir, filePath) {
|
|
86
|
+
return isEnvOrGitPath(relative(projectDir, filePath)) || isEnvOrGitPath(relative(realFilePath(projectDir), realFilePath(filePath))) || isPrivateProjectFile(projectDir, filePath);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
linksToPrivateOutsideFile,
|
|
91
|
+
receivedFiles,
|
|
92
|
+
isPrivateCompositionFile
|
|
93
|
+
};
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TQW3G23G.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MZD5KJDU.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K4SWGMPO.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BSHZIPFP.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
35
|
withRemainingBudget
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
42
42
|
STUDIO_PREVIEW_MARK_META
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6PXVXIC7.js";
|
|
44
44
|
import {
|
|
45
45
|
FfmpegUnavailableError,
|
|
46
46
|
decideMediaProxyEligibility,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveProxies,
|
|
51
51
|
scanProjectMediaCodecMap,
|
|
52
52
|
shouldPrewarmProxy
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-I6SCA2ME.js";
|
|
54
54
|
import {
|
|
55
55
|
artifactDirectory,
|
|
56
56
|
finishSnapshotRun
|
|
@@ -59,13 +59,13 @@ import {
|
|
|
59
59
|
BrowserCleanupError,
|
|
60
60
|
closeManagedBrowser,
|
|
61
61
|
onStopSignal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-D3DY7Q6S.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
65
|
} from "./chunk-FCNMU7LC.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_CONFIG
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-KQFGINDM.js";
|
|
69
69
|
import {
|
|
70
70
|
injectTagsAtHeadStart
|
|
71
71
|
} from "./chunk-DQZRNGDS.js";
|
|
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
|
|
|
928
928
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
929
|
}
|
|
930
930
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
931
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z5IHK62J.js");
|
|
932
932
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
933
|
}
|
|
934
934
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1001
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1002
|
}));
|
|
1003
1003
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1004
|
+
const { analyzeClipMediaFit } = await import("./src-6GRYTLZ5.js");
|
|
1005
1005
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1006
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1007
|
}
|
|
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1143
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1144
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1145
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1146
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z5IHK62J.js");
|
|
1147
1147
|
return withCapturePreviewMark(
|
|
1148
1148
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1149
|
);
|
|
@@ -6,34 +6,34 @@ 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-HGDOOG4T.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5XSIAXIP.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YQSW3GXC.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AGTOSMG6.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CTFMKRFI.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6WHTS73J.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KQRSEH4X.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|
|
@@ -4,6 +4,11 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
MEDIA_INPUT_ARGS,
|
|
9
|
+
NOT_MEDIA,
|
|
10
|
+
startsAsMediaPlaylist
|
|
11
|
+
} from "./chunk-7RLMDAUO.js";
|
|
7
12
|
import {
|
|
8
13
|
videoStreamHasAlpha
|
|
9
14
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -21,8 +26,9 @@ import {
|
|
|
21
26
|
findFfBinary
|
|
22
27
|
} from "./chunk-IU5DC4HP.js";
|
|
23
28
|
|
|
24
|
-
// ../studio-server/dist/chunk-
|
|
29
|
+
// ../studio-server/dist/chunk-NMPDQTAK.js
|
|
25
30
|
import { execFile } from "child_process";
|
|
31
|
+
import { createReadStream } from "fs";
|
|
26
32
|
import { extname } from "path";
|
|
27
33
|
var execFileRunner = (command, args, options) => new Promise((resolvePromise) => {
|
|
28
34
|
execFile(
|
|
@@ -101,16 +107,24 @@ function classifyMediaColor(stream) {
|
|
|
101
107
|
async function probeFirstFrameColour(filePath, codec, runner = execFileRunner) {
|
|
102
108
|
const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffmpeg");
|
|
103
109
|
if (!ffmpegPath) return {};
|
|
104
|
-
const result = await runner(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
const result = await runner(
|
|
111
|
+
ffmpegPath,
|
|
112
|
+
[...MEDIA_INPUT_ARGS, ...firstFrameColourArgs(filePath)],
|
|
113
|
+
{
|
|
114
|
+
timeout: 15e3,
|
|
115
|
+
maxBuffer: 1024 * 1024
|
|
116
|
+
}
|
|
117
|
+
);
|
|
108
118
|
const first = result.status === 0 ? parseFirstFrameColour(String(result.stderr)) : {};
|
|
109
119
|
if (result.status !== 0 || !readsKeyframeTransfers(first)) return first;
|
|
110
|
-
const keyframes = await runner(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
120
|
+
const keyframes = await runner(
|
|
121
|
+
ffmpegPath,
|
|
122
|
+
[...MEDIA_INPUT_ARGS, ...keyframeTransferArgs(filePath, codec)],
|
|
123
|
+
{
|
|
124
|
+
timeout: 3e4,
|
|
125
|
+
maxBuffer: 8 * 1024 * 1024
|
|
126
|
+
}
|
|
127
|
+
);
|
|
114
128
|
const keyframeTransfers = keyframes.status === 0 ? parseKeyframeTransfers(String(keyframes.stderr)) : [];
|
|
115
129
|
return { ...first, keyframeTransfers };
|
|
116
130
|
}
|
|
@@ -169,14 +183,35 @@ function metadataFromProbe(kind, parsed) {
|
|
|
169
183
|
}
|
|
170
184
|
return metadata;
|
|
171
185
|
}
|
|
186
|
+
async function readsAsMediaPlaylist(filePath) {
|
|
187
|
+
try {
|
|
188
|
+
const chunks = [];
|
|
189
|
+
for await (const chunk of createReadStream(filePath, { start: 0, end: 63 })) {
|
|
190
|
+
chunks.push(chunk);
|
|
191
|
+
}
|
|
192
|
+
return startsAsMediaPlaylist(Buffer.concat(chunks));
|
|
193
|
+
} catch {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
172
197
|
async function probeAudioTrack(filePath, runner = execFileRunner) {
|
|
198
|
+
if (await readsAsMediaPlaylist(filePath)) return null;
|
|
173
199
|
const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
|
|
174
200
|
if (!ffprobePath) return null;
|
|
175
201
|
const result = await runner(
|
|
176
202
|
ffprobePath,
|
|
177
203
|
[
|
|
178
|
-
|
|
179
|
-
|
|
204
|
+
"-v",
|
|
205
|
+
"error",
|
|
206
|
+
"-select_streams",
|
|
207
|
+
"a",
|
|
208
|
+
"-show_entries",
|
|
209
|
+
"stream=codec_type,codec_name,channels",
|
|
210
|
+
"-of",
|
|
211
|
+
"json",
|
|
212
|
+
...MEDIA_INPUT_ARGS,
|
|
213
|
+
"--",
|
|
214
|
+
filePath
|
|
180
215
|
],
|
|
181
216
|
{ timeout: 3e4 }
|
|
182
217
|
);
|
|
@@ -190,6 +225,9 @@ async function probeMediaMetadata(filePath, runner = execFileRunner) {
|
|
|
190
225
|
if (kind === "audio" || kind === "unknown") {
|
|
191
226
|
return { kind, color: classifyMediaColor(null) };
|
|
192
227
|
}
|
|
228
|
+
if (await readsAsMediaPlaylist(filePath)) {
|
|
229
|
+
return { kind, color: classifyMediaColor(null), probeError: NOT_MEDIA };
|
|
230
|
+
}
|
|
193
231
|
const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
|
|
194
232
|
if (!ffprobePath) {
|
|
195
233
|
return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
|
|
@@ -203,6 +241,7 @@ async function probeMediaMetadata(filePath, runner = execFileRunner) {
|
|
|
203
241
|
"stream=codec_type,codec_name,profile,pix_fmt,color_space,color_transfer,color_primaries,bits_per_raw_sample,width,height,bit_rate,r_frame_rate,avg_frame_rate:stream_disposition:stream_tags=alpha_mode:format=duration,bit_rate",
|
|
204
242
|
"-of",
|
|
205
243
|
"json",
|
|
244
|
+
...MEDIA_INPUT_ARGS,
|
|
206
245
|
"--",
|
|
207
246
|
filePath
|
|
208
247
|
],
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AGTOSMG6.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-JCNPHRGX.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3VPBUDK6.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BSHZIPFP.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-MR7VKWYT.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XILU2D2B.js";
|
|
19
19
|
import {
|
|
20
20
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BPNCNZG5.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-D3DY7Q6S.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3VPBUDK6.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
253
253
|
async function localizeRemoteAssets(html) {
|
|
254
254
|
let dir;
|
|
255
255
|
try {
|
|
256
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-EQOO6NE2.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -275,8 +275,8 @@ async function localizeRemoteAssets(html) {
|
|
|
275
275
|
async function validateInBrowser(project, opts) {
|
|
276
276
|
const projectDir = project.dir;
|
|
277
277
|
const { bundleToSingleHtml } = await import("./compiler-DUG4GFRI.js");
|
|
278
|
-
const { ensureBrowser } = await import("./manager-
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
278
|
+
const { ensureBrowser } = await import("./manager-TMKN4DX5.js");
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-5QU3ICQV.js");
|
|
280
280
|
const { lintProject } = await import("./lintProject-G4MXY4YA.js");
|
|
281
281
|
const lintResult = await lintProject(projectDir);
|
|
282
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
298
298
|
try {
|
|
299
299
|
const browser = await ensureBrowser();
|
|
300
300
|
const puppeteer = await import("puppeteer-core");
|
|
301
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-6GRYTLZ5.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-XC2BONM7.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MRJQQDZR.js";
|
|
12
12
|
import {
|
|
13
13
|
Fix,
|
|
14
14
|
ffmpegBin,
|
|
15
15
|
probeVideo,
|
|
16
16
|
round,
|
|
17
17
|
runFfmpeg
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AGTOSMG6.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UZGN5MTD.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-D3DY7Q6S.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KQFGINDM.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-6GRYTLZ5.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
applyRenderEnvironment,
|
|
17
17
|
renderOutputDirectory
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-K27EQ4Z4.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
renderMotionBlurResult,
|
|
28
28
|
trackRenderPreflightRejected
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-77KEU6NG.js";
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
32
|
} from "./chunk-JCNPHRGX.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
PRORES_PROFILES,
|
|
35
35
|
REFERENCE_BACKGROUND_FIELD,
|
|
36
36
|
referenceBackgroundResult
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KQFGINDM.js";
|
|
38
38
|
import {
|
|
39
39
|
runRenderSetupWorker
|
|
40
40
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -206,8 +206,8 @@ function assertRenderActive(cancellation) {
|
|
|
206
206
|
cancellation?.signal.throwIfAborted();
|
|
207
207
|
}
|
|
208
208
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
209
|
-
const { checkDisk } = await import("./preflight-
|
|
210
|
-
await (await import("./manager-
|
|
209
|
+
const { checkDisk } = await import("./preflight-SMPZLLLL.js");
|
|
210
|
+
await (await import("./manager-TMKN4DX5.js")).sweepKilledInstalls();
|
|
211
211
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
212
212
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
213
213
|
if (low.length === 0) return;
|
|
@@ -215,7 +215,7 @@ async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
|
215
215
|
failCommand();
|
|
216
216
|
}
|
|
217
217
|
async function ensureRenderBrowser(plan, signal) {
|
|
218
|
-
const { ensureBrowser } = await import("./manager-
|
|
218
|
+
const { ensureBrowser } = await import("./manager-TMKN4DX5.js");
|
|
219
219
|
let browserSpinner;
|
|
220
220
|
try {
|
|
221
221
|
if (plan.effectiveQuiet) {
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DP7LWIKE.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AGTOSMG6.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isTransientBrowserError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQFGINDM.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/screenshotOnceMore.ts
|
|
12
12
|
async function screenshotOnceMore(shoot) {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-FXMKHHPO.js";
|
|
30
30
|
import {
|
|
31
31
|
getSystemMeta
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NFRKPLTJ.js";
|
|
33
33
|
import {
|
|
34
34
|
hostAnswers
|
|
35
35
|
} from "./chunk-BR2JQQC5.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-AWD2MWWL.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-TE3CITOB.js";
|
|
47
47
|
|
|
48
48
|
// src/telemetry/transport.ts
|
|
49
49
|
import { spawn } from "child_process";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPrivateCompositionFile,
|
|
9
9
|
linksToPrivateOutsideFile,
|
|
10
10
|
receivedFiles
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L2U4ISSS.js";
|
|
12
12
|
import {
|
|
13
13
|
refreshIfNeeded
|
|
14
14
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isPrivateOutsideFile,
|
|
26
26
|
leftOutWarning,
|
|
27
27
|
linksOutside
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WSZJS4QC.js";
|
|
29
29
|
import {
|
|
30
30
|
isAuthError
|
|
31
31
|
} from "./chunk-DMW5SSUN.js";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.9.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.9.
|
|
9
|
+
var VERSION = true ? "0.9.51" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.51" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TQMTMD72.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-MOTJT42J.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-77KEU6NG.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.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-TE3CITOB.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|