hyperframes 0.9.16 → 0.9.17
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/README.md +3 -2
- package/dist/{add-GEGI5ERI.js → add-VZQBLSRT.js} +12 -12
- package/dist/{agentPromptGenerator-VV7UQDGL.js → agentPromptGenerator-TGXEQHN3.js} +6 -7
- package/dist/{animatedGifPrep-JTPCKJ44.js → animatedGifPrep-25YV72PG.js} +6 -7
- package/dist/api.js +29 -30
- package/dist/{asset-ZTXZ6HGB.js → asset-UNDSQLEP.js} +2 -2
- package/dist/{assetCataloger-ATGUE5IY.js → assetCataloger-7RUWILYE.js} +7 -8
- package/dist/{audio-5SBZBNSP.js → audio-5O25WHIY.js} +16 -17
- package/dist/{auth-NDUIJ4HS.js → auth-6JG6SMSP.js} +2 -2
- package/dist/{autoUpdate-PZTBUAA5.js → autoUpdate-YIRRNQ6V.js} +2 -2
- package/dist/{avatars-YY7FU76E.js → avatars-YE2WC2TM.js} +10 -11
- package/dist/{backgroundChecks-6KERI5QL.js → backgroundChecks-A7TYPXRD.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-L3IIY2FT.js → batchRender-EX5TDMP3.js} +3 -3
- package/dist/{beats-UBUJBSVD.js → beats-F3AZFVZG.js} +8 -9
- package/dist/{benchmark-YJ2U5KE3.js → benchmark-ZBLLJL5C.js} +8 -8
- package/dist/{billing-YN35KTEH.js → billing-MUTW7EEI.js} +11 -11
- package/dist/{browser-NRDSXRX7.js → browser-BRIP2ZMX.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-5T25BRZU.js → bundleWithLocalizedFonts-F557ZVFL.js} +1 -1
- package/dist/{capture-7K7VWXBQ.js → capture-6TRISPA2.js} +13 -14
- package/dist/{capture-MP46JHB7.js → capture-GSJVFS7R.js} +3 -3
- package/dist/{captureCompositionFrame-4VZCJGGD.js → captureCompositionFrame-YRZVOCTO.js} +12 -13
- package/dist/{catalog-32CQF7IT.js → catalog-5HJJNBFM.js} +12 -12
- package/dist/{catch-up-IVBUCPZM.js → catch-up-AQ5TFCAH.js} +4 -4
- package/dist/{check-U5PPKHG5.js → check-TYBSHODD.js} +40 -41
- package/dist/{checkAudio-ZCRRON4E.js → checkAudio-LDSIWNQL.js} +9 -10
- package/dist/{checkBrowser-MS5NKDXR.js → checkBrowser-7CFHX4VU.js} +32 -33
- package/dist/{chunk-PWTWZF3F.js → chunk-2UJSYHED.js} +1 -1
- package/dist/{chunk-L4ZMCB52.js → chunk-3IMHFJDG.js} +9 -9
- package/dist/{chunk-SOQNCHO5.js → chunk-426GU4YI.js} +885 -516
- package/dist/{chunk-LIUJRACZ.js → chunk-4R63FXGU.js} +15 -5
- package/dist/{chunk-TEEPLD64.js → chunk-4TW62PDH.js} +17 -8
- package/dist/{chunk-M2Y245ET.js → chunk-64RLXCUT.js} +6 -3
- package/dist/{chunk-65XOIIBM.js → chunk-6DX4URUB.js} +1 -1
- package/dist/{chunk-JWCMOC7O.js → chunk-6OBCXHIF.js} +1 -1
- package/dist/{chunk-O2B3YNUH.js → chunk-7BJQ4R4F.js} +3 -3
- package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
- package/dist/{chunk-IX5QY54Q.js → chunk-AII4BFKZ.js} +2 -2
- package/dist/{chunk-6H5NILM5.js → chunk-ATTDG6NR.js} +1 -1
- package/dist/{chunk-ZLWRAHBZ.js → chunk-BIY3M2WW.js} +10 -10
- package/dist/{chunk-YNAKUHSJ.js → chunk-C67RYYGK.js} +4 -4
- package/dist/{chunk-R5LSL2C7.js → chunk-C6MYVPHX.js} +1 -1
- package/dist/{chunk-XS27ELRN.js → chunk-CXSJ6H5Q.js} +2 -2
- package/dist/{chunk-N32TVQYQ.js → chunk-DEI35LJT.js} +2 -2
- package/dist/{chunk-B2W2CPXF.js → chunk-DLTSPBI7.js} +1 -1
- package/dist/{chunk-YQ4LB3XC.js → chunk-DVKZ55DS.js} +1 -1
- package/dist/{chunk-PWOMLJFV.js → chunk-E5FLGIV3.js} +2 -2
- package/dist/{chunk-XDT2DMH6.js → chunk-ENJ3M6OM.js} +2 -2
- package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
- package/dist/{chunk-Q5M3JAME.js → chunk-GQORIM44.js} +13 -13
- package/dist/{chunk-L6X4ONBM.js → chunk-HUCRKZ6J.js} +7 -7
- package/dist/{chunk-IR3JMMFT.js → chunk-HUZ3GL3F.js} +33 -2
- package/dist/{chunk-KWORPYKW.js → chunk-I4BH3ASB.js} +1 -1
- package/dist/{chunk-72PVZ2A4.js → chunk-IIXZLGSI.js} +5 -5
- package/dist/chunk-IN3ZKLLQ.js +59 -0
- package/dist/{chunk-PLVIN7X6.js → chunk-IQL7NJSE.js} +1 -1
- package/dist/{chunk-ZO5QD2FA.js → chunk-JEPV6WOW.js} +2 -2
- package/dist/{chunk-ZEOPRYFK.js → chunk-JSCY2GUB.js} +2 -2
- package/dist/{chunk-WWEFNXQI.js → chunk-JU2XCDW5.js} +2 -2
- package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
- package/dist/{chunk-PNZD5LZL.js → chunk-KE6NXX45.js} +47 -17
- package/dist/{chunk-AD2T3VAJ.js → chunk-KEZSFOSN.js} +2 -2
- package/dist/{chunk-G4OGVFUJ.js → chunk-KVANP54U.js} +1 -1
- package/dist/{chunk-344RFO72.js → chunk-L3HCPZZT.js} +32 -33
- package/dist/{chunk-AGQNRDYJ.js → chunk-L5EM7KAY.js} +1 -1
- package/dist/{chunk-U7MRV4RM.js → chunk-LHQZYLVO.js} +7 -7
- package/dist/{chunk-SREJU7NR.js → chunk-LV3MNSL7.js} +1 -1
- package/dist/{chunk-NPDBBMXX.js → chunk-LV7BDQ5X.js} +1 -1
- package/dist/{chunk-JPODNK2G.js → chunk-M4HDVKHG.js} +2 -2
- package/dist/{chunk-S6AMEEGZ.js → chunk-M6F4HXMW.js} +3 -3
- package/dist/{chunk-S7UUJ77M.js → chunk-M6FS7TNN.js} +1 -1
- package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
- package/dist/{chunk-GGSTJZQL.js → chunk-MB7VK7MW.js} +1 -1
- package/dist/{chunk-6M3TQUDF.js → chunk-MDZANX4P.js} +2 -2
- package/dist/{chunk-5IVECOVN.js → chunk-MJFEHOGJ.js} +1 -1
- package/dist/{chunk-OK3IQC32.js → chunk-MLBH6KJL.js} +1 -1
- package/dist/{chunk-VPBE4USM.js → chunk-MZI62LS2.js} +38 -25
- package/dist/{chunk-QCHPM3C2.js → chunk-N6E2T3JY.js} +1 -1
- package/dist/{chunk-4ECLIUTB.js → chunk-N6YQHI3Z.js} +2 -2
- package/dist/{chunk-QXGT6KRX.js → chunk-NMQWKWV4.js} +25 -11
- package/dist/{chunk-J2I2LTJM.js → chunk-NO2YYTAK.js} +1 -1
- package/dist/{chunk-JCIPZMKD.js → chunk-NQZQZY4B.js} +3 -3
- package/dist/{chunk-JFUXZERX.js → chunk-NTMMUK6Q.js} +113 -67
- package/dist/{chunk-PGM5YXBA.js → chunk-NV7IMBP7.js} +1 -1
- package/dist/{chunk-6H5KN7CJ.js → chunk-O6757ZOW.js} +5 -5
- package/dist/{chunk-LOKTVSTM.js → chunk-O7SPZE7M.js} +1 -1
- package/dist/{chunk-DV7RLE6B.js → chunk-OE347X32.js} +2 -2
- package/dist/{chunk-G54QPS3F.js → chunk-OKPASJ5P.js} +4 -4
- package/dist/{chunk-U7LBN2BQ.js → chunk-OYNHNQ3E.js} +7 -7
- package/dist/{chunk-ZAD422DC.js → chunk-OYXGIP35.js} +4 -4
- package/dist/{chunk-SE4WJJ43.js → chunk-PHJNYHGA.js} +1 -1
- package/dist/{chunk-LHRQP7TF.js → chunk-PVDBALBI.js} +5 -5
- package/dist/{chunk-UGYQBRHG.js → chunk-QR7666XO.js} +3 -3
- package/dist/{chunk-NNXS4VBX.js → chunk-RPLMK4WC.js} +1 -1
- package/dist/{chunk-K2JGJUMR.js → chunk-SKOBUO2F.js} +3 -3
- package/dist/{chunk-4FHTWYDZ.js → chunk-SVPRFL7O.js} +1 -1
- package/dist/{chunk-YKAK4ALT.js → chunk-SZLKWUHN.js} +2 -2
- package/dist/{chunk-ZUZPIM6R.js → chunk-TBXNHLRL.js} +1 -1
- package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
- package/dist/{chunk-YFHOTWWE.js → chunk-UE2RAXA7.js} +1 -1
- package/dist/{chunk-ALQAHCK5.js → chunk-UQXBGFKU.js} +1 -1
- package/dist/{chunk-BB5CZTGW.js → chunk-UURC7DFD.js} +1 -1
- package/dist/{chunk-SPJX4LQR.js → chunk-UYMUPV7Q.js} +10 -10
- package/dist/chunk-VBEP277H.js +5035 -0
- package/dist/{chunk-75PTCQAO.js → chunk-VFGKM45X.js} +1 -1
- package/dist/{chunk-W2BP25U5.js → chunk-VMWRWUDV.js} +1 -1
- package/dist/{chunk-PC662ORN.js → chunk-VR7E3QEQ.js} +2 -1
- package/dist/{chunk-TTEOPEJJ.js → chunk-VTQ6LSSX.js} +2 -2
- package/dist/{chunk-BSPE37DP.js → chunk-WEW22B4F.js} +2 -2
- package/dist/{chunk-A4OX3TI6.js → chunk-WODNT4NL.js} +1 -1
- package/dist/{chunk-BJAESOYP.js → chunk-X2TDLUIK.js} +4 -12
- package/dist/{chunk-OIJHKOV2.js → chunk-XBJNA2O5.js} +2 -2
- package/dist/{chunk-HK4AN44J.js → chunk-XCF72IZY.js} +2 -2
- package/dist/{chunk-UK5DBUJX.js → chunk-XZRMB5Q7.js} +6 -6
- package/dist/{chunk-DM7WRHB5.js → chunk-ZAJSIWIC.js} +1 -1
- package/dist/{chunk-5L2CII4L.js → chunk-ZMG7COPL.js} +1 -1
- package/dist/{chunk-P2AOKCAC.js → chunk-ZO74SCFC.js} +3 -3
- package/dist/{clean-5K2KTH5M.js → clean-RCXP7VIE.js} +16 -17
- package/dist/cli.js +76 -68
- package/dist/{cloud-7O2Q7IHJ.js → cloud-UMR6YM53.js} +4 -4
- package/dist/{cloudrun-3HRDMWIS.js → cloudrun-WNFJ6HDK.js} +4 -4
- package/dist/commands/contrast-audit.browser.js +50 -14
- package/dist/commands/motion-signature.browser.js +8 -1
- package/dist/{compare-D22HJO5V.js → compare-4DOTZFJB.js} +29 -30
- package/dist/{compiler-RY6IVESI.js → compiler-QZAK3CQM.js} +3 -4
- package/dist/{component-B7V7A5AP.js → component-JUNJ3HR5.js} +3 -3
- package/dist/{compositions-HFBRVNYW.js → compositions-Y4TVCT6A.js} +11 -13
- package/dist/{curve-7PLN35CZ.js → curve-MRBPVFJR.js} +10 -11
- package/dist/{cuts-ZG7TBYVD.js → cuts-FEQBTLCK.js} +11 -12
- package/dist/{delete-YL4IMJJZ.js → delete-IZIO5BPH.js} +3 -3
- package/dist/{deploy-A6CDKFQZ.js → deploy-LYSMVVKT.js} +1 -1
- package/dist/{describeProject-VZCHDSWT.js → describeProject-37HOCRQS.js} +7 -8
- package/dist/{diff-PBVZRS5Z.js → diff-JLJZ7CWH.js} +29 -30
- package/dist/{dist-HRK4GWLN.js → dist-LIQVRDQQ.js} +9 -10
- package/dist/{dist-BU547SVG.js → dist-RSKVXBET.js} +12 -2
- package/dist/{dist-FPRADDH6.js → dist-URQMS2HM.js} +5 -4
- package/dist/{doctor-IFTYCM3E.js → doctor-YXP5OQZJ.js} +10 -11
- package/dist/{energy-ENGAT6Z5.js → energy-E2MNVLQG.js} +11 -12
- package/dist/{events-CMAXQTDX.js → events-7KJUZ6JN.js} +3 -3
- package/dist/{events-A6SBEKVH.js → events-AUFOARC3.js} +2 -2
- package/dist/{events-AZ5XEDBE.js → events-IQMZODOM.js} +13 -14
- package/dist/{extract-IE74J44O.js → extract-MNRKSTVS.js} +11 -12
- package/dist/{face-JAPTS7VJ.js → face-PLFENYM6.js} +11 -12
- package/dist/{feedback-QCFWXJCD.js → feedback-PMTFDXYG.js} +10 -7
- package/dist/{ffmpeg-4YMUUJP7.js → ffmpeg-6NPH4Y32.js} +6 -7
- package/dist/{figma-C36IECKZ.js → figma-VRGLERFC.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -10
- package/dist/{frames-ZW26G4UP.js → frames-IJODIWMC.js} +12 -13
- package/dist/{generate-ZXR73M22.js → generate-QGD5W7C2.js} +21 -22
- package/dist/{get-3KICFW3X.js → get-JRHXJ3XB.js} +3 -3
- package/dist/{gpuPolicy-SBYZLOAU.js → gpuPolicy-ZUQPIKA6.js} +6 -7
- package/dist/{grade-compare-DCL3OPKF.js → grade-compare-PBNOHUTC.js} +30 -31
- package/dist/{heifImagePrep-YQWEIVTC.js → heifImagePrep-IHGRDGIQ.js} +7 -8
- package/dist/{help-PUL7OS7X.js → help-TSKN5WKM.js} +1 -1
- package/dist/{history-GPBKC5DE.js → history-CKYGYGIT.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7I6ZVJ64.js → info-MJVDLEVI.js} +39 -11
- package/dist/{init-5MCEGVHR.js → init-DOL2FWBB.js} +27 -28
- package/dist/{ink-NLYWOBTK.js → ink-O6QSMSKC.js} +11 -12
- package/dist/{inspect-52COR3TB.js → inspect-PC3SZZOR.js} +30 -31
- package/dist/{installer-ARMP4WLF.js → installer-HMGKE36F.js} +4 -4
- package/dist/{keyframes-3UMSTEYW.js → keyframes-7XC3AC4V.js} +6 -6
- package/dist/{lambda-FYHLXH4H.js → lambda-3FAGLEU5.js} +10 -11
- package/dist/{layout-QKWAPDPV.js → layout-VHTDCWFW.js} +30 -31
- package/dist/{lint-WJCUB2CR.js → lint-IC6NER4M.js} +7 -8
- package/dist/{lintProject-FPLCK7VP.js → lintProject-6TML32JZ.js} +1 -2
- package/dist/{list-4FQ4BDXW.js → list-I35ERZHZ.js} +3 -3
- package/dist/{localPage-YINL6OV7.js → localPage-FDNKKTXH.js} +6 -7
- package/dist/{login-P74VBTVA.js → login-6K6LXYCK.js} +4 -4
- package/dist/{look-QCOMYMSD.js → look-MUM6FFJS.js} +11 -12
- package/dist/{manager-V2ZJSF3Q.js → manager-C555E5U3.js} +7 -8
- package/dist/{measure-7IODZ7VY.js → measure-HIFTI44U.js} +11 -11
- package/dist/{media-treatment-UJIFSAXV.js → media-treatment-DI3C7GLC.js} +12 -13
- package/dist/{media-use-4Y5XRY6B.js → media-use-DA5QVW4C.js} +3 -3
- package/dist/{models-WPBGJ7K6.js → models-GDXFVABP.js} +10 -11
- package/dist/{motionShot-DZZXLIIT.js → motionShot-UTGGCPYH.js} +15 -16
- package/dist/{normalize-audio-QS2GZ5IT.js → normalize-audio-YS3YILNJ.js} +20 -10
- package/dist/{open-SIWIC52J.js → open-4PKI3YVG.js} +12 -12
- package/dist/{parakeetRunner-YUUCCA3S.js → parakeetRunner-EC4KUGKK.js} +11 -12
- package/dist/{pipeline-AJKIZGUM.js → pipeline-L3ZWWTXS.js} +9 -10
- package/dist/{play-4EF3JLTU.js → play-I3NXVJST.js} +20 -21
- package/dist/{preflight-LSDOTWZ5.js → preflight-G2AVNYY7.js} +7 -8
- package/dist/{present-AOLHT3YC.js → present-RUJ3YKSR.js} +15 -16
- package/dist/{preview-WP5VAX3M.js → preview-M2T36DYH.js} +18 -19
- package/dist/{probe-WZ3OWMKG.js → probe-OASNPT5T.js} +11 -12
- package/dist/{producer-C72VSLBR.js → producer-YEHQIQ3O.js} +1 -1
- package/dist/{projectConfig-LPC7WK4W.js → projectConfig-LBMTOOJX.js} +7 -7
- package/dist/{publication-QGBUXKB2.js → publication-O2M6ZZNY.js} +2 -2
- package/dist/{publish-KA2LPVL7.js → publish-PMGCGIVE.js} +11 -12
- package/dist/{remove-background-MC6HXEAW.js → remove-background-DFDEZEXM.js} +10 -11
- package/dist/{render-RPMLSL7M.js → render-PJMQH4EQ.js} +5 -5
- package/dist/{render-2STR3XR5.js → render-SVP72X6C.js} +32 -33
- package/dist/{render-IQUQ7EKS.js → render-U3NYKVOA.js} +25 -26
- package/dist/{render-batch-2AWWGFNK.js → render-batch-EUT4DTQZ.js} +5 -5
- package/dist/renderSetupWorker.js +4 -2
- package/dist/{resolver-D3Q6LTIO.js → resolver-H6U77U4P.js} +5 -5
- package/dist/{reverse-62TKSQ7Q.js → reverse-IRAAQ6T7.js} +1 -1
- package/dist/{run-GQNVIYMD.js → run-WZP6HXIH.js} +2 -2
- package/dist/{screenshotCapture-MM5V4H7M.js → screenshotCapture-2QYWSWGP.js} +7 -8
- package/dist/{sherpa-ZHAABYE3.js → sherpa-DO75VQI4.js} +10 -11
- package/dist/skills/hyperframes-cli/SKILL.md +3 -1
- package/dist/{skills-BYABSOL3.js → skills-7GNBYIEM.js} +6 -6
- package/dist/{skillsUpdateCheck-FKOS3ME7.js → skillsUpdateCheck-3X5WU4YB.js} +3 -3
- package/dist/{snapshot-N5O5VEBT.js → snapshot-7XX5FCQC.js} +70 -54
- package/dist/{src-O6ITP7WU.js → src-OUHQBPJL.js} +8 -9
- package/dist/{src-272JLFKW.js → src-R2QH27BL.js} +5 -6
- package/dist/{start-K2LGEUB5.js → start-SD4CCZFP.js} +19 -20
- package/dist/{staticProjectServer-C7A4W2B4.js → staticProjectServer-3DQIE2ZT.js} +18 -19
- package/dist/{status-USHH6OD5.js → status-HUVATV7S.js} +11 -11
- package/dist/studio/assets/{hyperframes-player-Bb-Fbf5k.js → hyperframes-player-CL-Qh_Bx.js} +1 -1
- package/dist/studio/assets/{index-BZuKog_A.js → index-DkiYRx1f.js} +116 -116
- package/dist/studio/assets/{index-Cap2SGKw.js → index-DyvmaiBB.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-FVBB2MVZ.js → studio-api-776ZTVLU.js} +9 -10
- package/dist/{studioServer-SFN7YUNV.js → studioServer-A3LGBU4W.js} +49 -50
- package/dist/{sync-JUDSPP46.js → sync-5BBHBAZ6.js} +11 -12
- package/dist/{telemetry-3DEZK5Q3.js → telemetry-7ETKP7HP.js} +3 -3
- package/dist/{templates-3FJRJ6KB.js → templates-RH674B5Q.js} +11 -11
- package/dist/{timeline-P4CS4INR.js → timeline-DEZAVAFR.js} +19 -20
- package/dist/{tokens-EFAVVV56.js → tokens-2UHFZABD.js} +2 -2
- package/dist/{transcribe-YTBSMCFG.js → transcribe-EZEUKBI3.js} +9 -10
- package/dist/{transcribe-JKV42B3Q.js → transcribe-NZBJVCSZ.js} +23 -24
- package/dist/{update-6QVOSVBW.js → update-YXZI2ICU.js} +7 -7
- package/dist/{updateCheck-2FWJ2X62.js → updateCheck-GJMC7GXZ.js} +2 -2
- package/dist/{upgrade-AUHNDKNP.js → upgrade-E3QK3G3D.js} +3 -3
- package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
- package/dist/{urlDownloader-6ZSSYTOY.js → urlDownloader-KYFYU6AG.js} +5 -6
- package/dist/{validate-DKEWYJ3V.js → validate-HD224PCX.js} +23 -24
- package/dist/{video-N6AEYBUW.js → video-3NIYVUPF.js} +7 -8
- package/dist/{voices-MT7CM6O5.js → voices-G2YC3Y7U.js} +19 -20
- package/dist/warmCheck.js +40 -41
- package/package.json +1 -1
- package/dist/chunk-CAD6G75K.js +0 -29
- package/dist/chunk-CZGHFATT.js +0 -31
- package/dist/chunk-J3G5KEPY.js +0 -5035
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KVANP54U.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3IMHFJDG.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IIXZLGSI.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZAJSIWIC.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
30
|
} from "./chunk-VEIGTKYZ.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NMQWKWV4.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4TW62PDH.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-OHQRQE7F.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NMQWKWV4.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UE2RAXA7.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M6FS7TNN.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -43,18 +43,25 @@ function closestNames(input, candidates, limit = 5) {
|
|
|
43
43
|
distance: editDistance(input, name)
|
|
44
44
|
})).filter(({ shared }) => shared > 0).sort((a, b) => b.shared - a.shared || a.distance - b.distance || a.name.localeCompare(b.name)).slice(0, limit).map(({ name }) => name);
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
search: "catalog",
|
|
48
|
-
find: "catalog",
|
|
49
|
-
browse: "catalog",
|
|
50
|
-
registry: "catalog",
|
|
51
|
-
list: "catalog",
|
|
52
|
-
install: "add"
|
|
46
|
+
var COMMAND_REDIRECTS = {
|
|
47
|
+
search: { command: "catalog" },
|
|
48
|
+
find: { command: "catalog" },
|
|
49
|
+
browse: { command: "catalog" },
|
|
50
|
+
registry: { command: "catalog" },
|
|
51
|
+
list: { command: "catalog" },
|
|
52
|
+
install: { command: "add" },
|
|
53
|
+
captions: {
|
|
54
|
+
command: "transcribe",
|
|
55
|
+
then: "then read ../hyperframes/references/captions.md"
|
|
56
|
+
}
|
|
53
57
|
};
|
|
54
|
-
function
|
|
55
|
-
const
|
|
56
|
-
return
|
|
58
|
+
function commandRedirect(input, candidates) {
|
|
59
|
+
const row = COMMAND_REDIRECTS[input];
|
|
60
|
+
return row !== void 0 && [...candidates].includes(row.command) ? row : void 0;
|
|
57
61
|
}
|
|
62
|
+
var REDIRECTS_WITH_NEXT_STEP = Object.keys(COMMAND_REDIRECTS).filter(
|
|
63
|
+
(word) => COMMAND_REDIRECTS[word].then
|
|
64
|
+
);
|
|
58
65
|
function fileHint(word, path, names) {
|
|
59
66
|
if (path.length === 0 || names.length === 0 || !existsSync(word)) return void 0;
|
|
60
67
|
const group = ["hyperframes", ...path].join(" ");
|
|
@@ -64,6 +71,6 @@ function fileHint(word, path, names) {
|
|
|
64
71
|
export {
|
|
65
72
|
closestMatch,
|
|
66
73
|
closestNames,
|
|
67
|
-
|
|
74
|
+
commandRedirect,
|
|
68
75
|
fileHint
|
|
69
76
|
};
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VR7E3QEQ.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-HOCC4J5C.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DVKZ55DS.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -7,8 +7,9 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseTimeoutMs,
|
|
9
9
|
pngDimensions
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TTCNUS5M.js";
|
|
11
11
|
import {
|
|
12
|
+
CheckBudgetError,
|
|
12
13
|
CheckCopiesUnfinishedError,
|
|
13
14
|
CheckDeadline,
|
|
14
15
|
CheckDeadlineError,
|
|
@@ -19,20 +20,20 @@ import {
|
|
|
19
20
|
idleWindow,
|
|
20
21
|
preResolveHostileMediaProxies,
|
|
21
22
|
rectToBbox
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KE6NXX45.js";
|
|
23
24
|
import {
|
|
24
25
|
collectProjectMedia,
|
|
25
26
|
mediaPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IN3ZKLLQ.js";
|
|
27
28
|
import {
|
|
28
29
|
captureArtifactRevision,
|
|
29
30
|
readToolContext,
|
|
30
31
|
reportArtifacts,
|
|
31
32
|
withProjectLock
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WODNT4NL.js";
|
|
33
34
|
import {
|
|
34
35
|
trackLintRun
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-M6F4HXMW.js";
|
|
36
37
|
import {
|
|
37
38
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
38
39
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -53,7 +54,7 @@ import {
|
|
|
53
54
|
mergeSampleTimes,
|
|
54
55
|
parseAt,
|
|
55
56
|
readMotionSpec
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UYMUPV7Q.js";
|
|
57
58
|
import {
|
|
58
59
|
findingAtRoot,
|
|
59
60
|
findingElementKey,
|
|
@@ -62,7 +63,7 @@ import {
|
|
|
62
63
|
} from "./chunk-TQBQYO4L.js";
|
|
63
64
|
import {
|
|
64
65
|
resolveProject
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-MLBH6KJL.js";
|
|
66
67
|
import {
|
|
67
68
|
recordArtifacts
|
|
68
69
|
} from "./chunk-US2SO6O4.js";
|
|
@@ -70,17 +71,17 @@ import {
|
|
|
70
71
|
BrowserCleanupError,
|
|
71
72
|
onStopSignal,
|
|
72
73
|
registerBrowserSessionCleanup
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-N6YQHI3Z.js";
|
|
74
75
|
import {
|
|
75
76
|
resolveLocalBrowserGpuMode
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-ENJ3M6OM.js";
|
|
77
78
|
import {
|
|
78
79
|
trackCheckReport,
|
|
79
80
|
trackCommandFailure
|
|
80
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-UE2RAXA7.js";
|
|
81
82
|
import {
|
|
82
83
|
swallowedFlagUsageError
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7PZLR2JZ.js";
|
|
84
85
|
import {
|
|
85
86
|
defineCommand
|
|
86
87
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -98,13 +99,13 @@ import {
|
|
|
98
99
|
extractMediaMetadata,
|
|
99
100
|
findHdrAutoPromotion,
|
|
100
101
|
gradingKeepsSdr
|
|
101
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-NMQWKWV4.js";
|
|
102
103
|
import {
|
|
103
104
|
lintProject
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
105
106
|
import {
|
|
106
107
|
withMeta
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-DVKZ55DS.js";
|
|
108
109
|
import {
|
|
109
110
|
recordLastCheck
|
|
110
111
|
} from "./chunk-CMQZP52Y.js";
|
|
@@ -1782,7 +1783,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1782
1783
|
relative(project.dir, motion.path) || "index.motion.json"
|
|
1783
1784
|
)
|
|
1784
1785
|
] : [];
|
|
1785
|
-
const deadline = new CheckDeadline(idleWindow(options.timeout));
|
|
1786
|
+
const deadline = new CheckDeadline(idleWindow(options.timeout), options.budget);
|
|
1786
1787
|
const forgetStop = onStopSignal(deadline.stop);
|
|
1787
1788
|
let outcome;
|
|
1788
1789
|
try {
|
|
@@ -1864,7 +1865,7 @@ async function writeContrastSnapshots(dependencies, projectDir, browser) {
|
|
|
1864
1865
|
}
|
|
1865
1866
|
async function withFindingCrops(dependencies, project, options, report, deadline) {
|
|
1866
1867
|
const cropRequests = selectFindingCropRequests(report);
|
|
1867
|
-
if (cropRequests.length === 0) return report;
|
|
1868
|
+
if (cropRequests.length === 0 || deadline.signal.aborted) return report;
|
|
1868
1869
|
try {
|
|
1869
1870
|
deadline.enter("crops");
|
|
1870
1871
|
const findingFiles = await deadline.run(
|
|
@@ -1872,7 +1873,7 @@ async function withFindingCrops(dependencies, project, options, report, deadline
|
|
|
1872
1873
|
);
|
|
1873
1874
|
return { ...report, snapshots: { ...report.snapshots, findingFiles } };
|
|
1874
1875
|
} catch (error) {
|
|
1875
|
-
if (error
|
|
1876
|
+
if (isCheckExpiry(error)) {
|
|
1876
1877
|
const finding = runtimeFailure(error);
|
|
1877
1878
|
return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
|
|
1878
1879
|
}
|
|
@@ -1897,7 +1898,7 @@ async function withOptionalFindingFrames(dependencies, project, options, report,
|
|
|
1897
1898
|
const captured = await deadline.run(() => capture(project, options, requests, deadline));
|
|
1898
1899
|
return withFindingFrameFields(report, plan, captured);
|
|
1899
1900
|
} catch (error) {
|
|
1900
|
-
if (error
|
|
1901
|
+
if (isCheckExpiry(error)) {
|
|
1901
1902
|
const finding = runtimeFailure(error);
|
|
1902
1903
|
return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
|
|
1903
1904
|
}
|
|
@@ -1906,6 +1907,7 @@ async function withOptionalFindingFrames(dependencies, project, options, report,
|
|
|
1906
1907
|
return report;
|
|
1907
1908
|
}
|
|
1908
1909
|
}
|
|
1910
|
+
var isCheckExpiry = (error) => error instanceof CheckDeadlineError || error instanceof CheckStoppedError || error instanceof CheckBudgetError;
|
|
1909
1911
|
var MAX_FINDING_CROPS = 12;
|
|
1910
1912
|
function selectFindingCropRequests(report) {
|
|
1911
1913
|
const candidates = [
|
|
@@ -2204,7 +2206,7 @@ function emptyBrowserResult() {
|
|
|
2204
2206
|
}
|
|
2205
2207
|
function runtimeFailure(error, code) {
|
|
2206
2208
|
return findingAtRoot(
|
|
2207
|
-
code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : "check_runtime_failure"),
|
|
2209
|
+
code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : error instanceof CheckBudgetError ? "check_budget_reached" : "check_runtime_failure"),
|
|
2208
2210
|
"error",
|
|
2209
2211
|
normalizeErrorMessage(error),
|
|
2210
2212
|
error instanceof CheckDeadlineError ? error.sourceFile ?? "index.html" : "index.html"
|
|
@@ -2235,7 +2237,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2235
2237
|
};
|
|
2236
2238
|
}
|
|
2237
2239
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2238
|
-
const module = await import("./checkBrowser-
|
|
2240
|
+
const module = await import("./checkBrowser-7CFHX4VU.js");
|
|
2239
2241
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2240
2242
|
}
|
|
2241
2243
|
var adoptedBrowser;
|
|
@@ -2249,7 +2251,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2249
2251
|
if (adopted) return adopted;
|
|
2250
2252
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2251
2253
|
if (html === void 0) return void 0;
|
|
2252
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2254
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-YRZVOCTO.js");
|
|
2253
2255
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2254
2256
|
}
|
|
2255
2257
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2261,11 +2263,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2261
2263
|
return relative(projectDir, path);
|
|
2262
2264
|
}
|
|
2263
2265
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2264
|
-
const module = await import("./checkBrowser-
|
|
2266
|
+
const module = await import("./checkBrowser-7CFHX4VU.js");
|
|
2265
2267
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2266
2268
|
}
|
|
2267
2269
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2268
|
-
const module = await import("./checkBrowser-
|
|
2270
|
+
const module = await import("./checkBrowser-7CFHX4VU.js");
|
|
2269
2271
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2270
2272
|
}
|
|
2271
2273
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2287,7 +2289,7 @@ function collectMedia(project) {
|
|
|
2287
2289
|
return collectProjectMedia(project.dir);
|
|
2288
2290
|
}
|
|
2289
2291
|
async function inspectAudio(project, media) {
|
|
2290
|
-
const module = await import("./checkAudio-
|
|
2292
|
+
const module = await import("./checkAudio-LDSIWNQL.js");
|
|
2291
2293
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2292
2294
|
}
|
|
2293
2295
|
function audioCheckFailure(project, error) {
|
|
@@ -2361,7 +2363,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2361
2363
|
}
|
|
2362
2364
|
},
|
|
2363
2365
|
async prepareMedia(project, options) {
|
|
2364
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2366
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
|
|
2365
2367
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2366
2368
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2367
2369
|
},
|
|
@@ -2480,6 +2482,10 @@ var CHECK_COMMAND_ARGS = {
|
|
|
2480
2482
|
description: "Allowed pixel overflow before reporting an issue (default: 2)",
|
|
2481
2483
|
default: "2"
|
|
2482
2484
|
},
|
|
2485
|
+
budget: {
|
|
2486
|
+
type: "string",
|
|
2487
|
+
description: "Stop the whole check this long after it starts (ms, or 90s, 8m; at least 30s) and report what it found so far"
|
|
2488
|
+
},
|
|
2483
2489
|
timeout: {
|
|
2484
2490
|
type: "string",
|
|
2485
2491
|
description: "Initial render-ready timeout in ms, or with a unit (45s, 2m); also sets the navigation minimum (10s floor, default: 45000, as snapshot and render)",
|
|
@@ -2598,6 +2604,12 @@ function reportCheckFailure(error, asJson, addMeta) {
|
|
|
2598
2604
|
setCommandExitCode(1);
|
|
2599
2605
|
}
|
|
2600
2606
|
var REPORT_GRACE_MS = 5e3;
|
|
2607
|
+
var MIN_BUDGET_MS = 3e4;
|
|
2608
|
+
var BUDGET_REPORT_MS = 1e4;
|
|
2609
|
+
function parseBudget(raw) {
|
|
2610
|
+
const ms = parseTimeoutMs(raw, 0, MIN_BUDGET_MS, console.error, "--budget");
|
|
2611
|
+
return ms > 0 ? { ms, stopAt: Date.now() + ms - BUDGET_REPORT_MS } : void 0;
|
|
2612
|
+
}
|
|
2601
2613
|
function untilReported() {
|
|
2602
2614
|
let done = () => void 0;
|
|
2603
2615
|
const printed = new Promise((resolve2) => {
|
|
@@ -2665,6 +2677,7 @@ function parseCheckOptions(args) {
|
|
|
2665
2677
|
collapseStatic: args["collapse-static"] !== false,
|
|
2666
2678
|
tolerance: nonNegativeNumber(args.tolerance, DEFAULT_CHECK_OPTIONS.tolerance),
|
|
2667
2679
|
timeout: parseTimeoutMs(args.timeout, DEFAULT_CHECK_OPTIONS.timeout, 500),
|
|
2680
|
+
budget: parseBudget(args.budget),
|
|
2668
2681
|
contrast: args.contrast !== false,
|
|
2669
2682
|
...checkReview()?.skipContrastInMotion ? { skipContrastInMotion: true } : {},
|
|
2670
2683
|
strict: args.strict === true,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ENJ3M6OM.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NMQWKWV4.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -35,14 +35,17 @@ import {
|
|
|
35
35
|
hasClipStarted,
|
|
36
36
|
hdrToSdrToneMapFilter,
|
|
37
37
|
isInClipWindow,
|
|
38
|
+
keyframeTransferArgs,
|
|
38
39
|
mediaElementTime,
|
|
39
40
|
parseFirstFrameColour,
|
|
41
|
+
parseKeyframeTransfers,
|
|
40
42
|
quantizeSeekTime,
|
|
41
43
|
quantizeTimeToFrame,
|
|
44
|
+
readsKeyframeTransfers,
|
|
42
45
|
renderFrameIdForRenderId,
|
|
43
46
|
resolveAuthoredTimingWindow,
|
|
44
47
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
46
49
|
import {
|
|
47
50
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
51
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +88,7 @@ import {
|
|
|
85
88
|
sourceTimeAt,
|
|
86
89
|
timeAtSourceTime,
|
|
87
90
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-VBEP277H.js";
|
|
89
92
|
import {
|
|
90
93
|
redactTelemetryString,
|
|
91
94
|
redactUrlQueryStrings
|
|
@@ -103,7 +106,7 @@ import {
|
|
|
103
106
|
} from "./chunk-WE42NVH7.js";
|
|
104
107
|
import {
|
|
105
108
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
107
110
|
import {
|
|
108
111
|
isWithinProjectRoot,
|
|
109
112
|
resolveProjectRelativeSrc
|
|
@@ -6837,7 +6840,7 @@ function recordSubTimelineWarning(session, timeoutMs) {
|
|
|
6837
6840
|
recordCaptureWarnings(session, [
|
|
6838
6841
|
{
|
|
6839
6842
|
code: scriptFailure ? "sub_timeline_script_failure" : "sub_timeline_readiness_timeout",
|
|
6840
|
-
message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load (${sources.join(", ")})`
|
|
6843
|
+
message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load${scriptLoadCauseSuffix(loadCauses)} (${sources.join(", ")})` : `Sub-composition timelines did not become ready within ${timeoutMs}ms${pendingSuffix}. This can be intentional: a composition driven by CSS animations or rAF never registers window.__timelines[id], and marking its host with data-no-timeline skips the wait entirely. Otherwise, a composition that sets up asynchronously must register window.__timelines[id] once setup completes.`,
|
|
6841
6844
|
details: {
|
|
6842
6845
|
timeoutMs,
|
|
6843
6846
|
sources,
|
|
@@ -13648,17 +13651,28 @@ function parseImageElements(html) {
|
|
|
13648
13651
|
return images;
|
|
13649
13652
|
}
|
|
13650
13653
|
var firstFrameColourCache = /* @__PURE__ */ new Map();
|
|
13651
|
-
function
|
|
13654
|
+
function readKeyframeTransfers(videoPath, codec) {
|
|
13655
|
+
return inExtractionSlot(
|
|
13656
|
+
() => runFfmpeg([...urlInputArgs(videoPath), ...keyframeTransferArgs(videoPath, codec)])
|
|
13657
|
+
).then((result) => result.success ? parseKeyframeTransfers(result.stderr) : null);
|
|
13658
|
+
}
|
|
13659
|
+
function readFirstFrameColour(videoPath, codec) {
|
|
13652
13660
|
const identity = mediaFileIdentity(videoPath);
|
|
13653
13661
|
const cached = readMetadataCache(firstFrameColourCache, videoPath, identity);
|
|
13654
13662
|
if (cached) return cached;
|
|
13655
13663
|
const probe = inExtractionSlot(
|
|
13656
13664
|
() => runFfmpeg([...urlInputArgs(videoPath), ...firstFrameColourArgs(videoPath)])
|
|
13657
|
-
).then((result) => {
|
|
13658
|
-
|
|
13659
|
-
firstFrameColourCache.
|
|
13660
|
-
|
|
13661
|
-
|
|
13665
|
+
).then(async (result) => {
|
|
13666
|
+
const forget = () => {
|
|
13667
|
+
if (firstFrameColourCache.get(videoPath)?.promise === probe)
|
|
13668
|
+
firstFrameColourCache.delete(videoPath);
|
|
13669
|
+
};
|
|
13670
|
+
if (!result.success) forget();
|
|
13671
|
+
const first = parseFirstFrameColour(result.stderr);
|
|
13672
|
+
if (!result.success || !readsKeyframeTransfers(first)) return first;
|
|
13673
|
+
const keyframeTransfers = await readKeyframeTransfers(videoPath, codec);
|
|
13674
|
+
if (!keyframeTransfers) forget();
|
|
13675
|
+
return { ...first, keyframeTransfers: keyframeTransfers ?? [] };
|
|
13662
13676
|
});
|
|
13663
13677
|
writeMetadataCache(firstFrameColourCache, videoPath, identity, probe);
|
|
13664
13678
|
return probe;
|
|
@@ -13927,7 +13941,7 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13927
13941
|
formatFfmpegSeconds(duration)
|
|
13928
13942
|
);
|
|
13929
13943
|
}
|
|
13930
|
-
const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath) : void 0;
|
|
13944
|
+
const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath, metadata.videoCodec) : void 0;
|
|
13931
13945
|
const filtersFor = videoFilterChain({
|
|
13932
13946
|
metadata,
|
|
13933
13947
|
format,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LV7BDQ5X.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DLTSPBI7.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RPLMK4WC.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|