hyperframes 0.9.18 → 0.9.20
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-R3OQEWVP.js → add-6U3Y7DEN.js} +14 -15
- package/dist/{agentPromptGenerator-53UGASPS.js → agentPromptGenerator-2U62YSRT.js} +10 -11
- package/dist/{animatedGifPrep-XTZ3NW4D.js → animatedGifPrep-RC6CYTRI.js} +10 -11
- package/dist/api.js +35 -36
- package/dist/{appHistory-WXJ4STHX.js → appHistory-FVDSCS64.js} +1 -1
- package/dist/{asset-7BXTM7P4.js → asset-ER2CUS6B.js} +2 -2
- package/dist/{assetCataloger-B6QCN7D4.js → assetCataloger-425SRTPW.js} +11 -12
- package/dist/{audio-6QT2263V.js → audio-JUAMPMWA.js} +69 -25
- package/dist/{auth-JIVRJDOA.js → auth-DQ52RE6K.js} +4 -4
- package/dist/{autoUpdate-PL2F3J42.js → autoUpdate-YUZGZ5ZI.js} +2 -2
- package/dist/{avatars-3BH2GOU2.js → avatars-F4HNQISE.js} +16 -17
- package/dist/{backgroundChecks-MVBPFASG.js → backgroundChecks-MSOJBGL7.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-MRZD6NEE.js → batchRender-33AZEDWV.js} +5 -6
- package/dist/{beats-FSTI2GOV.js → beats-WI3UU5KD.js} +11 -12
- package/dist/{benchmark-7RQP4OKL.js → benchmark-ZE5Y75YM.js} +11 -12
- package/dist/{billing-ERTIEJRM.js → billing-N4BCUG7R.js} +15 -16
- package/dist/{browser-SHRES7YO.js → browser-HUOPVD2U.js} +16 -4
- package/dist/{bundleWithLocalizedFonts-FBN6DQG7.js → bundleWithLocalizedFonts-PRR3UAJT.js} +1 -1
- package/dist/{capture-JGEPACNE.js → capture-2QNE2DEY.js} +3 -3
- package/dist/{capture-FI236QMK.js → capture-UWQ2GBML.js} +22 -23
- package/dist/{captureCompositionFrame-G35BXLQV.js → captureCompositionFrame-S2A5KJUT.js} +16 -17
- package/dist/{catalog-TASPLI6U.js → catalog-BQZ55PQP.js} +14 -15
- package/dist/{catch-up-HGAVR2VQ.js → catch-up-JFII6DVC.js} +18 -7
- package/dist/{check-LOIL7QDO.js → check-KPFCL46S.js} +43 -42
- package/dist/{checkAudio-GLG3SWWQ.js → checkAudio-NTES344V.js} +13 -14
- package/dist/{checkBrowser-YQETGZSL.js → checkBrowser-WQWRQO2X.js} +35 -36
- package/dist/{chunk-K336C37N.js → chunk-35APUSDP.js} +1 -1
- package/dist/{chunk-JALAIYCE.js → chunk-3KJW4NNP.js} +9 -9
- package/dist/{chunk-7WEOM6IL.js → chunk-3WLJMGCI.js} +1 -1
- package/dist/{chunk-QBV3XGXU.js → chunk-4EUUYYB3.js} +35 -2
- package/dist/{chunk-MHSQBZQJ.js → chunk-4HWNUBW2.js} +3 -3
- package/dist/{chunk-NYN24QRB.js → chunk-4J2Y6G2X.js} +1 -1
- package/dist/{chunk-WPID5YHT.js → chunk-4XOQILDV.js} +1 -1
- package/dist/{chunk-WJBP3LIO.js → chunk-5ECZJECP.js} +1 -1
- package/dist/{chunk-FDYNOOQZ.js → chunk-5KJWA22L.js} +5 -5
- package/dist/{chunk-A64V7MWG.js → chunk-5V3R5ZMY.js} +7 -7
- package/dist/{chunk-NTMMUK6Q.js → chunk-5WKW4P6P.js} +10 -5
- package/dist/{chunk-GDQQ4U3L.js → chunk-6FI5JRM3.js} +122 -27
- package/dist/{chunk-LPDYBJ2K.js → chunk-76HDNQDL.js} +2 -2
- package/dist/{chunk-6GJ7QJL7.js → chunk-76IGIELW.js} +2 -2
- package/dist/{chunk-CQ7H3AHT.js → chunk-7CGSZ3OR.js} +13 -13
- package/dist/{chunk-4WV3XDN4.js → chunk-7DGAJ7RY.js} +1 -1
- package/dist/chunk-7DS3STTY.js +5035 -0
- package/dist/{chunk-N5U63MJG.js → chunk-7ISXVZHB.js} +4 -4
- package/dist/{chunk-UJOQZRIS.js → chunk-7PG57ERE.js} +1 -1
- package/dist/{chunk-MBZ56OAU.js → chunk-A457YCWN.js} +2 -2
- package/dist/{chunk-WMRHEI4N.js → chunk-ADJCNH7M.js} +1 -1
- package/dist/{chunk-ENVFGBRD.js → chunk-AXFYCH7S.js} +12 -0
- package/dist/{chunk-DQ64M2ZV.js → chunk-BA3FUJOU.js} +4 -4
- package/dist/{chunk-QT2SLY7N.js → chunk-BQ2U65ZF.js} +272 -186
- package/dist/{chunk-ZII5GCHN.js → chunk-C2PQTWAH.js} +1 -1
- package/dist/{chunk-FSHSG2G5.js → chunk-CKZQQ2DO.js} +1 -1
- package/dist/{chunk-GKLZMLX3.js → chunk-CXUT4XVT.js} +22 -1
- package/dist/{chunk-LKT5BLRG.js → chunk-D3ZYDQMH.js} +2 -2
- package/dist/{chunk-PKUGO6D3.js → chunk-DNWZ66ND.js} +1 -1
- package/dist/{chunk-DXOAVIPV.js → chunk-FPM6B5X5.js} +3 -3
- package/dist/{chunk-KWF5BWC7.js → chunk-FXPBFARU.js} +1 -1
- package/dist/{chunk-DUIVM4DL.js → chunk-FY2QFPEK.js} +1 -1
- package/dist/{chunk-UUZL4X3G.js → chunk-G2C7OTXI.js} +1 -1
- package/dist/{chunk-NC7I6JJZ.js → chunk-GH4QTKBM.js} +42 -15
- package/dist/{chunk-LPIHSJAU.js → chunk-GNY2WZKA.js} +3 -3
- package/dist/{chunk-J3QW55W5.js → chunk-H6676SHA.js} +1 -1
- package/dist/{chunk-K2KFYRVX.js → chunk-HCUEMQB4.js} +1 -1
- package/dist/{chunk-PX7EV4SO.js → chunk-HIT72LVX.js} +7 -7
- package/dist/{chunk-QVR75TAB.js → chunk-IBXWPFGK.js} +2 -2
- package/dist/{chunk-GBRXAHOL.js → chunk-IY4I7TV4.js} +2 -2
- package/dist/{chunk-PBKY4VTZ.js → chunk-JXGFZG73.js} +1 -1
- package/dist/{chunk-L24NAUBS.js → chunk-KBHBSWEE.js} +64 -19
- package/dist/{chunk-MBHKOK7C.js → chunk-KKNAM57Z.js} +1 -1
- package/dist/{chunk-6OBCXHIF.js → chunk-KPCCWI5Q.js} +3 -3
- package/dist/{chunk-FUQPQDBA.js → chunk-L6XUDQW6.js} +46 -20
- package/dist/{chunk-6AFDBTX6.js → chunk-LDV6P3DG.js} +1 -1
- package/dist/{chunk-CNCKUJSI.js → chunk-LEVO6XYF.js} +83 -31
- package/dist/{chunk-H3YLGOKX.js → chunk-LNHMJ555.js} +1 -1
- package/dist/{chunk-X2TDLUIK.js → chunk-M5CDC3VO.js} +32 -7
- package/dist/{chunk-AXCL2A3T.js → chunk-MHW4MMV4.js} +10 -10
- package/dist/{chunk-DNECYN6I.js → chunk-MQFX4OD3.js} +1 -1
- package/dist/{chunk-7NRTBDXX.js → chunk-N2I2YUL7.js} +7 -7
- package/dist/{chunk-35STY5XW.js → chunk-NHV3G6JH.js} +1 -1
- package/dist/{chunk-C6GJQWRL.js → chunk-NSNT4DNY.js} +2 -2
- package/dist/{chunk-ORM4MISE.js → chunk-NZ6JYCGU.js} +3 -3
- package/dist/{chunk-T6CCPIDG.js → chunk-OAQTFIWB.js} +3 -3
- package/dist/{chunk-IJOCZ7ND.js → chunk-OWBXXAYQ.js} +2 -2
- package/dist/{chunk-MQ3LHGNO.js → chunk-P2DAWEPF.js} +2 -2
- package/dist/{chunk-TJUJJYJC.js → chunk-P2GR4V7S.js} +1 -1
- package/dist/{chunk-W3O7S7FC.js → chunk-PAFAOFZZ.js} +1 -1
- package/dist/{chunk-HVACLBWZ.js → chunk-PGNE33QK.js} +236 -49
- package/dist/{chunk-JQTQM6RE.js → chunk-POKB2QVF.js} +2 -2
- package/dist/{chunk-VDQPHJVR.js → chunk-PWP4W2PF.js} +1 -1
- package/dist/{chunk-KAUUM3TL.js → chunk-Q6DA3X34.js} +4 -4
- package/dist/{chunk-AAEPGDLX.js → chunk-QSOIL3EE.js} +3 -3
- package/dist/{chunk-QVPHMXKR.js → chunk-QUYTXJLE.js} +1 -1
- package/dist/{chunk-6LMZ677L.js → chunk-QYWOP6MH.js} +3 -3
- package/dist/{chunk-PIPBEVLP.js → chunk-RFG4XUMQ.js} +1 -1
- package/dist/{chunk-LFQLYI7R.js → chunk-RONKIDIW.js} +5 -5
- package/dist/{chunk-WTOPHBYH.js → chunk-RPSR5YSD.js} +4 -4
- package/dist/{chunk-ZHP26FJS.js → chunk-S45SR3TL.js} +2 -2
- package/dist/{chunk-HEZYZUF5.js → chunk-S6MXHF7C.js} +1 -1
- package/dist/{chunk-56XJDA3H.js → chunk-SH6P5CMQ.js} +77 -2
- package/dist/{chunk-DGDTF64K.js → chunk-SVOUYNKZ.js} +44 -17
- package/dist/{chunk-PPWKGSEV.js → chunk-TCW3ALLF.js} +2 -2
- package/dist/{chunk-3OS2U5V2.js → chunk-TGSBNJYV.js} +2 -2
- package/dist/{chunk-PPCD5YIU.js → chunk-TKHWUM6J.js} +2 -2
- package/dist/{chunk-3ACGV3PF.js → chunk-UECTSXVZ.js} +1 -1
- package/dist/{chunk-XJZR7MXG.js → chunk-UH6JF4TY.js} +12 -5
- package/dist/{chunk-YJNI2NM7.js → chunk-USRF4NA6.js} +10 -10
- package/dist/{chunk-5IUSAGDH.js → chunk-UXEUKILH.js} +1 -1
- package/dist/{chunk-5O4RH4G3.js → chunk-VM6PDH32.js} +1 -1
- package/dist/{chunk-T3K56YF2.js → chunk-WMZHESNZ.js} +2 -2
- package/dist/{chunk-4JI4P3J6.js → chunk-WNPIJ7UG.js} +1 -1
- package/dist/{chunk-4M42XMWZ.js → chunk-X254MPK3.js} +1 -1
- package/dist/{chunk-P6QX426Y.js → chunk-XACDCHJF.js} +1 -1
- package/dist/{chunk-GOLNW4NI.js → chunk-XID37ELP.js} +2 -2
- package/dist/{chunk-75AH7UVP.js → chunk-XU5LAY46.js} +1 -1
- package/dist/{chunk-Y3P26O7I.js → chunk-Y5ZW3BRK.js} +3 -3
- package/dist/{chunk-AAQ32CJQ.js → chunk-YVFJWUSI.js} +1 -1
- package/dist/{chunk-53YFWZOA.js → chunk-Z745SNN4.js} +1 -1
- package/dist/{chunk-EOIDKM7D.js → chunk-ZNUMTYBZ.js} +3 -3
- package/dist/{clean-J6NG7RNU.js → clean-5FFXB5MF.js} +20 -21
- package/dist/cli.js +62 -62
- package/dist/{cloud-D3WTNTF2.js → cloud-CINLC3NP.js} +3 -3
- package/dist/{cloud-LETWSUJR.js → cloud-XC5OSAE2.js} +4 -4
- package/dist/{cloudrun-RERXEEVM.js → cloudrun-VVU4XERK.js} +6 -7
- package/dist/{compare-ARPUHHYW.js → compare-6ZVA7JDY.js} +32 -33
- package/dist/{compiler-DGB2I53W.js → compiler-4WKTHUPH.js} +4 -4
- package/dist/{component-2USQBQOH.js → component-CYXNZPHM.js} +3 -3
- package/dist/{compositions-X4GSF4RG.js → compositions-Z53CMRFQ.js} +14 -15
- package/dist/{curve-4OYTBAKF.js → curve-ZLVHONKG.js} +14 -15
- package/dist/{cuts-7MWGKKPB.js → cuts-JGHDX4ND.js} +15 -16
- package/dist/{delete-IY5EUCTR.js → delete-C6KCUXEV.js} +5 -5
- package/dist/{deploy-PEN3EL7H.js → deploy-3W4FAFBU.js} +1 -1
- package/dist/{describeProject-STLWIUTD.js → describeProject-NB7JQQRZ.js} +11 -12
- package/dist/{deterministicFonts-DQDB47K3.js → deterministicFonts-IXXU76SA.js} +1 -1
- package/dist/{diff-7T6PMH3C.js → diff-77IF7ZGC.js} +34 -35
- package/dist/{dist-7W5T76QK.js → dist-2MTQQEZT.js} +17 -17
- package/dist/{dist-URQMS2HM.js → dist-LPVHFSCW.js} +2 -2
- package/dist/{dist-K4BOTYAM.js → dist-PVM257OR.js} +11 -12
- package/dist/docs/motion-blur.md +3 -5
- package/dist/{doctor-65DXV54T.js → doctor-7ARBZ2FZ.js} +14 -15
- package/dist/{energy-BJVPUQDC.js → energy-2I6O5IQY.js} +15 -16
- package/dist/{events-KLSIFOUP.js → events-CG6ZFBPQ.js} +16 -4
- package/dist/{events-FVEDX5PT.js → events-CXZTEW5W.js} +17 -18
- package/dist/{events-MMV4IZQE.js → events-MCXWDE3G.js} +2 -2
- package/dist/{extract-ZDOKCY4G.js → extract-NSSKZ7EO.js} +15 -16
- package/dist/{face-SP6O3QUI.js → face-CZBXJIJD.js} +15 -16
- package/dist/{feedback-CCNOYJZG.js → feedback-3ZZQHXQA.js} +18 -19
- package/dist/{ffmpeg-2V25MA6C.js → ffmpeg-KOJQXOMH.js} +10 -11
- package/dist/{figma-C7GSU5XD.js → figma-T77MIMMN.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -15
- package/dist/{frames-GW7MG4PX.js → frames-GMXMQ7DQ.js} +16 -17
- package/dist/{generate-TBA3D3BT.js → generate-PN2N6MQV.js} +26 -27
- package/dist/{get-EUPFU4PY.js → get-AMP7GO2J.js} +5 -5
- package/dist/{gpuPolicy-7WYJ73JK.js → gpuPolicy-336CZTOI.js} +10 -11
- package/dist/{grade-compare-V62HD24E.js → grade-compare-XHR7XCIJ.js} +33 -34
- package/dist/{heifImagePrep-K2VOQAMS.js → heifImagePrep-GAATPFZJ.js} +11 -12
- package/dist/{help-WIRMKAY5.js → help-QLT7Q5CF.js} +1 -1
- package/dist/{history-3JEFAPPA.js → history-IBK4ICX6.js} +19 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +73 -73
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-XD7XL4UA.js → info-IF6TAH4N.js} +16 -17
- package/dist/{init-OCITZW56.js → init-7TY3OJ6O.js} +30 -31
- package/dist/{ink-RIBPCBLJ.js → ink-PGZ7QSBH.js} +15 -16
- package/dist/{inspect-O3KNTVYU.js → inspect-LHLSKDYO.js} +33 -34
- package/dist/{installer-JC737YVC.js → installer-DBTP7YGS.js} +6 -7
- package/dist/{keyframes-4YEMPCE3.js → keyframes-4M4776JR.js} +16 -8
- package/dist/{lambda-6RI6AZCI.js → lambda-FFMB6Y76.js} +14 -15
- package/dist/{layout-U323JUYY.js → layout-LJHS7HFD.js} +33 -34
- package/dist/{lint-HL2ZMYYD.js → lint-2J5AVK6D.js} +14 -10
- package/dist/{lintProject-6TML32JZ.js → lintProject-2OD4CDTW.js} +2 -2
- package/dist/{list-YVRLEZ5C.js → list-MAYBNZEL.js} +5 -5
- package/dist/{localPage-Z4A2OOHF.js → localPage-EKPNDJ27.js} +10 -11
- package/dist/{login-Z53XVXB2.js → login-CEU43XKU.js} +6 -6
- package/dist/{logout-EQ2HJDL4.js → logout-EKDVIU6Y.js} +2 -2
- package/dist/{look-QAEW6NLB.js → look-IYTF5GLD.js} +15 -16
- package/dist/{manager-Y5JESME2.js → manager-DILAI3UF.js} +11 -12
- package/dist/{measure-QAPM6I7P.js → measure-2WZGYPYI.js} +11 -11
- package/dist/{media-treatment-QBSD7Z4H.js → media-treatment-NEY3KFIE.js} +16 -17
- package/dist/{media-use-HWZY3QEN.js → media-use-3RF5K7J2.js} +4 -4
- package/dist/{models-MKZN7KP3.js → models-JG3K3WHB.js} +14 -15
- package/dist/{motionShot-EF2FD7HF.js → motionShot-BXTTHXNC.js} +19 -20
- package/dist/{normalize-audio-UI7VGKNU.js → normalize-audio-V42ORWPJ.js} +11 -12
- package/dist/{open-PUWUKUNK.js → open-TIGOP4UL.js} +15 -16
- package/dist/{parakeetRunner-3XQTNEZS.js → parakeetRunner-ECBLSKPA.js} +15 -16
- package/dist/{pipeline-UECOYEZ2.js → pipeline-NAQKFYVO.js} +13 -14
- package/dist/{play-4KFBSJLJ.js → play-OCUIRYGT.js} +22 -23
- package/dist/{preflight-NREEVZKH.js → preflight-FXN2DIKX.js} +11 -12
- package/dist/{present-5GDW3P4H.js → present-EIPGUFX2.js} +18 -19
- package/dist/{preview-MU3SNNHO.js → preview-D3DGM36N.js} +22 -23
- package/dist/{probe-ZZ5F7LF4.js → probe-LHGNRPYJ.js} +15 -16
- package/dist/{producer-AMLHR4XV.js → producer-MUSGQJB5.js} +1 -1
- package/dist/{projectConfig-LQDSRYHS.js → projectConfig-5XHCXAR2.js} +8 -9
- package/dist/{publication-VFQY5MS4.js → publication-YHI2M2PN.js} +4 -5
- package/dist/{publish-KFUMQFD4.js → publish-DD4ZAHEH.js} +15 -16
- package/dist/{refresh-ARZZRKMP.js → refresh-ZHLUUENK.js} +2 -2
- package/dist/{remove-background-GXQLMKYN.js → remove-background-AJBLAXSV.js} +14 -15
- package/dist/{render-5YMMU4K3.js → render-32BRUXZK.js} +7 -8
- package/dist/{render-U63G4NFP.js → render-AKGMPEQ4.js} +104 -62
- package/dist/{render-X2TJ52JS.js → render-LCH7X3UA.js} +42 -39
- package/dist/{render-batch-EJCIXNZ4.js → render-batch-BGZ4XDDA.js} +7 -8
- package/dist/renderSetupWorker.js +11 -8
- package/dist/{resolver-3AZ6BDNT.js → resolver-M64IRWRP.js} +6 -7
- package/dist/{reverse-SGQLQDPZ.js → reverse-HLLQAI77.js} +1 -1
- package/dist/{run-WZP6HXIH.js → run-Q4IUMQIY.js} +4 -4
- package/dist/{screenshotCapture-YHT6OFSL.js → screenshotCapture-INHISXPC.js} +11 -12
- package/dist/{sherpa-DHJ4KV3O.js → sherpa-MQLZFNTX.js} +14 -15
- package/dist/skills/hyperframes/references/motion.md +1 -1
- package/dist/skills/hyperframes/references/storyboard.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/media-use/references/heygen.md +9 -9
- package/dist/{skills-PSIYCWQF.js → skills-W4F5AJ2K.js} +19 -7
- package/dist/{skillsUpdateCheck-INFQ6JY4.js → skillsUpdateCheck-GVFHBX3G.js} +3 -3
- package/dist/{snapshot-BRJWWBVL.js → snapshot-34FUMOEG.js} +40 -41
- package/dist/{src-Q4HPEI72.js → src-M3NYEBA7.js} +13 -14
- package/dist/{src-4HGQRHW6.js → src-VL6XKFAA.js} +20 -19
- package/dist/{start-BF77FALB.js → start-A3YWCGDG.js} +24 -25
- package/dist/{staticProjectServer-MJGRVAHU.js → staticProjectServer-6NQWZP3Q.js} +21 -22
- package/dist/{status-GKDPASRO.js → status-ZBUL7MPB.js} +16 -17
- package/dist/studio/assets/{hyperframes-player-pLs7eSzg.js → hyperframes-player-ZQZslutT.js} +3 -3
- package/dist/studio/assets/index-Bgfyny02.css +1 -0
- package/dist/studio/assets/{index-DZ7OLB7p.js → index-Bn5atbhb.js} +1 -1
- package/dist/studio/assets/{index-D_iVCwL3.js → index-Bz2pYyGM.js} +196 -196
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-UOW3KWGH.js → studio-api-CIDVEQUP.js} +11 -12
- package/dist/{studioServer-6HZXHHM2.js → studioServer-4FEM4AAL.js} +66 -59
- package/dist/{sync-STGNZI3G.js → sync-PXQD6JNH.js} +15 -16
- package/dist/{telemetry-IXOTZW4E.js → telemetry-BMPRZBBX.js} +22 -2
- package/dist/{telemetry-3CL4XRJJ.js → telemetry-W7PZ4E2A.js} +16 -4
- package/dist/{templates-GK4UAT6M.js → templates-ELZU33UU.js} +25 -26
- package/dist/{timeline-QPB6QGXD.js → timeline-O7BR3IKC.js} +21 -22
- package/dist/{tokens-S7IZD453.js → tokens-RNFI6LFF.js} +2 -2
- package/dist/{transcribe-LPYK5H76.js → transcribe-GUUUSHHL.js} +28 -29
- package/dist/{transcribe-TL74MCTG.js → transcribe-XQOGYK6P.js} +13 -14
- package/dist/{update-WXPQPKMO.js → update-J37ZLNH7.js} +20 -8
- package/dist/{updateCheck-QRNGICLU.js → updateCheck-ALBUZ6YM.js} +2 -2
- package/dist/{upgrade-NH3NQOMG.js → upgrade-NVG73VIE.js} +3 -3
- package/dist/{upload-YQMBLKH5.js → upload-HBALN6HE.js} +5 -1
- package/dist/{urlDownloader-JELHNEVH.js → urlDownloader-TKEHDA5W.js} +9 -10
- package/dist/{validate-SRIEIBQV.js → validate-3TFHU3MJ.js} +27 -28
- package/dist/{video-ZMNAGSOC.js → video-PBNQGPQO.js} +11 -12
- package/dist/{voices-YVWEHLRS.js → voices-PF7EV4O4.js} +29 -28
- package/dist/warmCheck.js +41 -42
- package/package.json +1 -1
- package/dist/chunk-DSSDDLGX.js +0 -5035
- package/dist/chunk-TK7THLRO.js +0 -65
- package/dist/studio/assets/index-CNZk2EFC.css +0 -1
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
idleWindow,
|
|
21
21
|
preResolveHostileMediaProxies,
|
|
22
22
|
rectToBbox
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SVOUYNKZ.js";
|
|
24
24
|
import {
|
|
25
25
|
collectProjectMedia,
|
|
26
26
|
mediaPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NZ6JYCGU.js";
|
|
28
28
|
import {
|
|
29
29
|
captureArtifactRevision,
|
|
30
30
|
readToolContext,
|
|
31
31
|
reportArtifacts,
|
|
32
32
|
withProjectLock
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VM6PDH32.js";
|
|
34
34
|
import {
|
|
35
35
|
trackLintRun
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QSOIL3EE.js";
|
|
37
37
|
import {
|
|
38
38
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
39
39
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
mergeSampleTimes,
|
|
55
55
|
parseAt,
|
|
56
56
|
readMotionSpec
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-USRF4NA6.js";
|
|
58
58
|
import {
|
|
59
59
|
findingAtRoot,
|
|
60
60
|
findingElementKey,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-TQBQYO4L.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveProject
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-XACDCHJF.js";
|
|
67
67
|
import {
|
|
68
68
|
recordArtifacts
|
|
69
69
|
} from "./chunk-US2SO6O4.js";
|
|
@@ -71,14 +71,14 @@ import {
|
|
|
71
71
|
BrowserCleanupError,
|
|
72
72
|
onStopSignal,
|
|
73
73
|
registerBrowserSessionCleanup
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-TKHWUM6J.js";
|
|
75
75
|
import {
|
|
76
76
|
resolveLocalBrowserGpuMode
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-76HDNQDL.js";
|
|
78
78
|
import {
|
|
79
79
|
trackCheckReport,
|
|
80
80
|
trackCommandFailure
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-4EUUYYB3.js";
|
|
82
82
|
import {
|
|
83
83
|
swallowedFlagUsageError
|
|
84
84
|
} from "./chunk-7PZLR2JZ.js";
|
|
@@ -99,13 +99,13 @@ import {
|
|
|
99
99
|
extractMediaMetadata,
|
|
100
100
|
findHdrAutoPromotion,
|
|
101
101
|
gradingKeepsSdr
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-PGNE33QK.js";
|
|
103
103
|
import {
|
|
104
104
|
lintProject
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-5WKW4P6P.js";
|
|
106
106
|
import {
|
|
107
107
|
withMeta
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-LDV6P3DG.js";
|
|
109
109
|
import {
|
|
110
110
|
recordLastCheck
|
|
111
111
|
} from "./chunk-CMQZP52Y.js";
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
// src/commands/check.ts
|
|
126
126
|
import { randomUUID } from "crypto";
|
|
127
127
|
import { mkdirSync as mkdirSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
128
|
-
import { join as join2, resolve } from "path";
|
|
128
|
+
import { dirname, join as join2, resolve } from "path";
|
|
129
129
|
|
|
130
130
|
// src/utils/checkFindingFrames.ts
|
|
131
131
|
import { basename } from "path";
|
|
@@ -243,10 +243,11 @@ var T = CRAFT_THRESHOLDS;
|
|
|
243
243
|
var ZERO_BBOX = { x: 0, y: 0, width: 0, height: 0 };
|
|
244
244
|
var WORD_RUNS = /[\p{L}\p{M}\p{N}%$]+(?:['’][\p{L}\p{M}\p{N}]+)*/gu;
|
|
245
245
|
var WORD_SEGMENTER = new Intl.Segmenter("ja", { granularity: "word" });
|
|
246
|
+
var UNSPACED_SCRIPT = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u;
|
|
246
247
|
function readingWords(text) {
|
|
247
248
|
const runs = text.toLowerCase().normalize("NFC").match(WORD_RUNS) ?? [];
|
|
248
249
|
return runs.reduce(
|
|
249
|
-
(count, run) => count + Math.max(1, [...WORD_SEGMENTER.segment(run)].filter((s) => s.isWordLike).length),
|
|
250
|
+
(count, run) => count + (UNSPACED_SCRIPT.test(run) ? Math.max(1, [...WORD_SEGMENTER.segment(run)].filter((s) => s.isWordLike).length) : 1),
|
|
250
251
|
0
|
|
251
252
|
);
|
|
252
253
|
}
|
|
@@ -449,7 +450,16 @@ function lineCandidates(frames, duration, canvas) {
|
|
|
449
450
|
if (words === 0) continue;
|
|
450
451
|
const floor = lineFloorSec(words, finalLine);
|
|
451
452
|
if (window.endIn - window.startIn >= floor) continue;
|
|
452
|
-
candidates.push({
|
|
453
|
+
candidates.push({
|
|
454
|
+
track,
|
|
455
|
+
words,
|
|
456
|
+
text,
|
|
457
|
+
finalLine,
|
|
458
|
+
floor,
|
|
459
|
+
window,
|
|
460
|
+
firstIndex: run[0],
|
|
461
|
+
lastIndex: run[1]
|
|
462
|
+
});
|
|
453
463
|
}
|
|
454
464
|
return candidates;
|
|
455
465
|
}
|
|
@@ -479,11 +489,11 @@ async function detectLineUnread(frames, duration, canvas, probe) {
|
|
|
479
489
|
const held = windowSeconds(window);
|
|
480
490
|
if (held >= candidate.floor - T.measureToleranceSec) continue;
|
|
481
491
|
const error = Math.max(window.startIn - window.startOut, window.endOut - window.endIn) / 2;
|
|
482
|
-
findings.push(lineUnreadFinding(candidate, window, held, error));
|
|
492
|
+
findings.push(lineUnreadFinding(candidate, window, held, error, frames));
|
|
483
493
|
}
|
|
484
494
|
return findings;
|
|
485
495
|
}
|
|
486
|
-
function lineUnreadFinding(candidate, window, held, error) {
|
|
496
|
+
function lineUnreadFinding(candidate, window, held, error, frames) {
|
|
487
497
|
const { track, words, text, finalLine, floor } = candidate;
|
|
488
498
|
const quoted = quote(text, 60);
|
|
489
499
|
const wordLabel = `${words} word${words === 1 ? "" : "s"}`;
|
|
@@ -504,9 +514,35 @@ function lineUnreadFinding(candidate, window, held, error) {
|
|
|
504
514
|
time: round(window.startIn),
|
|
505
515
|
words,
|
|
506
516
|
seconds: round(held),
|
|
507
|
-
floorSeconds: round(floor)
|
|
517
|
+
floorSeconds: round(floor),
|
|
518
|
+
measured: measuredAround(frames, track.key, candidate.firstIndex, candidate.lastIndex)
|
|
508
519
|
};
|
|
509
520
|
}
|
|
521
|
+
var MEASURED_SPAN = 3;
|
|
522
|
+
function measuredAround(frames, key, first, last) {
|
|
523
|
+
const indices = /* @__PURE__ */ new Set();
|
|
524
|
+
for (const edge of [first, last]) {
|
|
525
|
+
for (let at = edge - MEASURED_SPAN; at <= edge + MEASURED_SPAN; at += 1) indices.add(at);
|
|
526
|
+
}
|
|
527
|
+
const out = [];
|
|
528
|
+
for (const index of [...indices].sort((a, b) => a - b)) {
|
|
529
|
+
const frame = frames[index];
|
|
530
|
+
if (!frame) continue;
|
|
531
|
+
const parts = frame.parts.filter((part) => part.block === key && !part.captions);
|
|
532
|
+
if (parts.length === 0) {
|
|
533
|
+
out.push({ time: round(frame.time), opacity: null, heightPx: null });
|
|
534
|
+
continue;
|
|
535
|
+
}
|
|
536
|
+
const top = Math.min(...parts.map((part) => part.rect.top));
|
|
537
|
+
const bottom = Math.max(...parts.map((part) => part.rect.top + part.rect.height));
|
|
538
|
+
out.push({
|
|
539
|
+
time: round(frame.time),
|
|
540
|
+
opacity: round(Math.max(...parts.map((part) => part.opacity))),
|
|
541
|
+
heightPx: Math.round(bottom - top)
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
return out;
|
|
545
|
+
}
|
|
510
546
|
function typeFloorPx(canvas) {
|
|
511
547
|
return Math.round(T.typeFloorFraction * Math.min(canvas.width, canvas.height));
|
|
512
548
|
}
|
|
@@ -1795,7 +1831,8 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1795
1831
|
);
|
|
1796
1832
|
} catch (error) {
|
|
1797
1833
|
const found = deadline.partialResult();
|
|
1798
|
-
|
|
1834
|
+
const ran = Object.keys(found).filter((key) => key !== "mediaCopies");
|
|
1835
|
+
browser = { ...emptyBrowserResult(), ...found, skipped: ran.length === 0 };
|
|
1799
1836
|
browser.runtimeFindings = [...browser.runtimeFindings, runtimeFailure(error)];
|
|
1800
1837
|
}
|
|
1801
1838
|
const snapshotFiles = options.snapshots ? await writeContrastSnapshots(dependencies, project.dir, browser) : [];
|
|
@@ -2089,6 +2126,8 @@ function buildReport(options, lint, browser, motion, extraMotionFindings, snapsh
|
|
|
2089
2126
|
contrastPoints: browser.contrastChecked,
|
|
2090
2127
|
ok: report.ok,
|
|
2091
2128
|
exitCode: checkExitCode(report),
|
|
2129
|
+
stopCode: browser.runtimeFindings.map((finding) => finding.code).find((code) => STOP_CODES.includes(code)),
|
|
2130
|
+
mediaCopies: browser.mediaCopies,
|
|
2092
2131
|
runId: getRunId()
|
|
2093
2132
|
});
|
|
2094
2133
|
return filterComponentReport(report, options);
|
|
@@ -2204,6 +2243,11 @@ function emptyBrowserResult() {
|
|
|
2204
2243
|
renderReadyTimedOut: false
|
|
2205
2244
|
};
|
|
2206
2245
|
}
|
|
2246
|
+
var STOP_CODES = [
|
|
2247
|
+
"media_copies_unfinished",
|
|
2248
|
+
"check_budget_reached",
|
|
2249
|
+
"check_runtime_failure"
|
|
2250
|
+
];
|
|
2207
2251
|
function runtimeFailure(error, code) {
|
|
2208
2252
|
return findingAtRoot(
|
|
2209
2253
|
code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : error instanceof CheckBudgetError ? "check_budget_reached" : "check_runtime_failure"),
|
|
@@ -2237,7 +2281,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2237
2281
|
};
|
|
2238
2282
|
}
|
|
2239
2283
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2240
|
-
const module = await import("./checkBrowser-
|
|
2284
|
+
const module = await import("./checkBrowser-WQWRQO2X.js");
|
|
2241
2285
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2242
2286
|
}
|
|
2243
2287
|
var adoptedBrowser;
|
|
@@ -2251,7 +2295,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2251
2295
|
if (adopted) return adopted;
|
|
2252
2296
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2253
2297
|
if (html === void 0) return void 0;
|
|
2254
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2298
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-S2A5KJUT.js");
|
|
2255
2299
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2256
2300
|
}
|
|
2257
2301
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2263,11 +2307,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2263
2307
|
return relative(projectDir, path);
|
|
2264
2308
|
}
|
|
2265
2309
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2266
|
-
const module = await import("./checkBrowser-
|
|
2310
|
+
const module = await import("./checkBrowser-WQWRQO2X.js");
|
|
2267
2311
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2268
2312
|
}
|
|
2269
2313
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2270
|
-
const module = await import("./checkBrowser-
|
|
2314
|
+
const module = await import("./checkBrowser-WQWRQO2X.js");
|
|
2271
2315
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2272
2316
|
}
|
|
2273
2317
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2289,7 +2333,7 @@ function collectMedia(project) {
|
|
|
2289
2333
|
return collectProjectMedia(project.dir);
|
|
2290
2334
|
}
|
|
2291
2335
|
async function inspectAudio(project, media) {
|
|
2292
|
-
const module = await import("./checkAudio-
|
|
2336
|
+
const module = await import("./checkAudio-NTES344V.js");
|
|
2293
2337
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2294
2338
|
}
|
|
2295
2339
|
function audioCheckFailure(project, error) {
|
|
@@ -2349,6 +2393,10 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2349
2393
|
resolveProject,
|
|
2350
2394
|
async runPipeline(project, options) {
|
|
2351
2395
|
const capturing = captureArtifactRevision(project.dir).catch(warnNotRecorded);
|
|
2396
|
+
const id = randomUUID();
|
|
2397
|
+
console.error(
|
|
2398
|
+
`[hyperframes] check: the report is saved to ${checkReportFile(project.dir, id)} when the check ends, unless a warning says it could not be saved`
|
|
2399
|
+
);
|
|
2352
2400
|
const report = await runCheckPipeline(project, options);
|
|
2353
2401
|
const images = (files) => files.map((file) => resolve(project.dir, file));
|
|
2354
2402
|
reportArtifacts("check", "frame", images(report.snapshots.files));
|
|
@@ -2356,14 +2404,14 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2356
2404
|
const capture = await capturing;
|
|
2357
2405
|
if (!capture) return report;
|
|
2358
2406
|
try {
|
|
2359
|
-
return { ...report, saved: await saveCheckReport(project, options, report, capture) };
|
|
2407
|
+
return { ...report, saved: await saveCheckReport(project, options, report, capture, id) };
|
|
2360
2408
|
} catch (error) {
|
|
2361
2409
|
warnNotRecorded(error);
|
|
2362
2410
|
return report;
|
|
2363
2411
|
}
|
|
2364
2412
|
},
|
|
2365
2413
|
async prepareMedia(project, options) {
|
|
2366
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2414
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-PRR3UAJT.js");
|
|
2367
2415
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2368
2416
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2369
2417
|
},
|
|
@@ -2373,11 +2421,12 @@ function warnNotRecorded(error) {
|
|
|
2373
2421
|
console.warn(`${c.warn("\u26A0")} Check report was not recorded: ${normalizeErrorMessage(error)}`);
|
|
2374
2422
|
return void 0;
|
|
2375
2423
|
}
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
const path =
|
|
2424
|
+
function checkReportFile(projectDir, id) {
|
|
2425
|
+
return join2(projectDir, ".hyperframes", "artifacts", "checks", `${id}.json`);
|
|
2426
|
+
}
|
|
2427
|
+
async function saveCheckReport(project, options, report, capture, id) {
|
|
2428
|
+
const path = checkReportFile(project.dir, id);
|
|
2429
|
+
mkdirSync2(dirname(path), { recursive: true });
|
|
2381
2430
|
writeFileSync2(path, JSON.stringify(report, null, 2) + "\n", { flag: "wx" });
|
|
2382
2431
|
const reportScope = "scope" in report && typeof report.scope === "object" && report.scope !== null ? report.scope : void 0;
|
|
2383
2432
|
const artifacts = [
|
|
@@ -2568,6 +2617,8 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
|
|
|
2568
2617
|
});
|
|
2569
2618
|
if (asJson) {
|
|
2570
2619
|
console.log(JSON.stringify(dependencies.withMeta(report), null, 2));
|
|
2620
|
+
if (report.saved)
|
|
2621
|
+
console.error(`[hyperframes] check: report saved to ${report.saved.report}`);
|
|
2571
2622
|
} else {
|
|
2572
2623
|
printHumanReport(report);
|
|
2573
2624
|
if (report.saved) {
|
|
@@ -2984,6 +3035,7 @@ var check_default = createCheckCommand();
|
|
|
2984
3035
|
|
|
2985
3036
|
export {
|
|
2986
3037
|
examples,
|
|
3038
|
+
checkReportFile,
|
|
2987
3039
|
createCheckCommand,
|
|
2988
3040
|
prelaunchBrowserForCheck,
|
|
2989
3041
|
parseCheckRange,
|
|
@@ -6,19 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H6676SHA.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isTokenExpired,
|
|
14
14
|
tryResolveCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KBHBSWEE.js";
|
|
16
16
|
import {
|
|
17
17
|
isAuthError
|
|
18
18
|
} from "./chunk-LP7B3JLC.js";
|
|
19
19
|
import {
|
|
20
20
|
projectIgnore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5WKW4P6P.js";
|
|
22
22
|
import {
|
|
23
23
|
CSS_URL_RE,
|
|
24
24
|
isNonRelativeUrl,
|
|
@@ -400,11 +400,31 @@ function addExternalAsset(ctx, absPath) {
|
|
|
400
400
|
ctx.usedArchivePaths.add(archivePath);
|
|
401
401
|
return archivePath;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk) {
|
|
404
|
+
const fromRoot = resolve2(ctx.absProjectDir, rawPath);
|
|
405
|
+
for (const candidate of [resolvedPath, fromRoot]) {
|
|
406
|
+
const absPath = candidate.replace(/[?#].*$/, "");
|
|
407
|
+
if (!isPathInside(absPath, ctx.absProjectDir)) continue;
|
|
408
|
+
const rel = relative(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
409
|
+
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return;
|
|
410
|
+
if (!existsSync2(absPath)) continue;
|
|
411
|
+
if (statSync(absPath).isFile()) {
|
|
412
|
+
ctx.fileContents.set(rel, stageFile(absPath, ctx.onDiskMinBytes));
|
|
413
|
+
}
|
|
414
|
+
return;
|
|
415
|
+
}
|
|
416
|
+
if (!requireOnDisk) return;
|
|
417
|
+
throw new Error(`The composition references "${rawPath}", which is not in the project folder.`);
|
|
418
|
+
}
|
|
419
|
+
var HARD_REFERENCES = /* @__PURE__ */ new Set(["video[src]", "audio[src]", "img[src]", "video[poster]"]);
|
|
420
|
+
function tryResolveExternal(ctx, rawPath, referrerAbsDir, requireOnDisk = false) {
|
|
404
421
|
if (isNonRelativeUrl(rawPath)) return null;
|
|
405
422
|
for (const path of decodeUrlPathVariants(rawPath)) {
|
|
406
423
|
const absPath = resolve2(referrerAbsDir, path);
|
|
407
|
-
if (isPathInside(absPath, ctx.absProjectDir))
|
|
424
|
+
if (isPathInside(absPath, ctx.absProjectDir)) {
|
|
425
|
+
includeReferencedProjectFile(ctx, absPath, rawPath, requireOnDisk);
|
|
426
|
+
return null;
|
|
427
|
+
}
|
|
408
428
|
try {
|
|
409
429
|
if (!existsSync2(absPath) || !statSync(absPath).isFile()) continue;
|
|
410
430
|
} catch {
|
|
@@ -435,7 +455,7 @@ function rewriteHtmlAttributes(document, referrerAbsDir, entryPath, resolveTarge
|
|
|
435
455
|
for (const attr of attrs) {
|
|
436
456
|
const val = (el.getAttribute(attr) || "").trim();
|
|
437
457
|
if (!val) continue;
|
|
438
|
-
const target = resolveTarget(val, referrerAbsDir);
|
|
458
|
+
const target = resolveTarget(val, referrerAbsDir, { attr, tag: el.localName });
|
|
439
459
|
if (!target) continue;
|
|
440
460
|
el.setAttribute(attr, referenceFrom(entryPath, target));
|
|
441
461
|
modified = true;
|
|
@@ -483,7 +503,12 @@ function rewriteHtmlSrcsets(document, referrerAbsDir, entryPath, resolveTarget)
|
|
|
483
503
|
function localizeHtmlEntry(ctx, entryPath, content) {
|
|
484
504
|
const referrerAbsDir = resolve2(ctx.absProjectDir, dirname(entryPath));
|
|
485
505
|
const { document } = parseHTML(content.toString("utf-8"));
|
|
486
|
-
const resolveTarget = (val, dir) => tryResolveExternal(
|
|
506
|
+
const resolveTarget = (val, dir, ref) => tryResolveExternal(
|
|
507
|
+
ctx,
|
|
508
|
+
val,
|
|
509
|
+
dir,
|
|
510
|
+
ref !== void 0 && HARD_REFERENCES.has(`${ref.tag}[${ref.attr}]`)
|
|
511
|
+
);
|
|
487
512
|
const attrsChanged = rewriteHtmlAttributes(document, referrerAbsDir, entryPath, resolveTarget, {
|
|
488
513
|
attrs: ["src", "href", "poster"]
|
|
489
514
|
});
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ECZJECP.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OAQTFIWB.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NHV3G6JH.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TKHWUM6J.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-76HDNQDL.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-HOCC4J5C.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PGNE33QK.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-VL6XKFAA.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-6NQWZP3Q.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-VL6XKFAA.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-VL6XKFAA.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -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-PGNE33QK.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/screenshotOnceMore.ts
|
|
12
12
|
async function screenshotOnceMore(shoot) {
|
|
@@ -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-NHV3G6JH.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3KJW4NNP.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-UH6JF4TY.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HCUEMQB4.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-PGNE33QK.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-76IGIELW.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SH6P5CMQ.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-OHQRQE7F.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4XOQILDV.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7DS3STTY.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-35APUSDP.js";
|
|
10
10
|
import {
|
|
11
11
|
extractAudioMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PGNE33QK.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectRelativeSrc
|
|
15
15
|
} from "./chunk-WVRAFHJU.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectMedia.ts
|
|
18
18
|
async function collectProjectMedia(projectDir) {
|
|
19
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
19
|
+
const { bundleToSingleHtml } = await import("./compiler-4WKTHUPH.js");
|
|
20
20
|
const html = await bundleToSingleHtml(projectDir);
|
|
21
21
|
const producer = await loadProducer();
|
|
22
22
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7PG57ERE.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PGNE33QK.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SH6P5CMQ.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LDV6P3DG.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-FYZFURBN.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XID37ELP.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QYWOP6MH.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-C2PQTWAH.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -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-7DGAJ7RY.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|