hyperframes 0.8.211 → 0.8.213
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-WERDY37C.js → add-GRJ6BQMO.js} +14 -13
- package/dist/{agentPromptGenerator-SEAPWYY5.js → agentPromptGenerator-2HTUGEKK.js} +6 -6
- package/dist/{animatedGifPrep-LC43PROA.js → animatedGifPrep-7KPZBZXD.js} +6 -6
- package/dist/api.js +18 -18
- package/dist/{asset-IVDQNYHP.js → asset-YVIFFWCU.js} +5 -4
- package/dist/{assetCataloger-PPE7M2WM.js → assetCataloger-IZW7LPCT.js} +7 -7
- package/dist/{audio-IJ22GXO6.js → audio-X7274SUF.js} +316 -210
- package/dist/{auth-FZMDHX2H.js → auth-II6SIDJD.js} +4 -4
- package/dist/{autoUpdate-EO6SFALF.js → autoUpdate-WJIT74BG.js} +4 -2
- package/dist/{backgroundChecks-YW5VIAYF.js → backgroundChecks-NMKJAES7.js} +5 -3
- package/dist/backgroundChecksWorker.js +5 -3
- package/dist/{batchRender-OOXYNZOT.js → batchRender-I7GRY73M.js} +8 -7
- package/dist/{beats-X7GRQA4J.js → beats-6VXALJZT.js} +15 -14
- package/dist/{benchmark-JGGBMRZO.js → benchmark-RLIRA74V.js} +19 -17
- package/dist/{browser-FQ5JPTME.js → browser-7T3JMNTR.js} +12 -10
- package/dist/{bundleWithLocalizedFonts-XA73ZJ4S.js → bundleWithLocalizedFonts-C2LP6QZZ.js} +2 -2
- package/dist/{capture-GUVCA5JQ.js → capture-OZFDTN4A.js} +48 -18
- package/dist/{capture-KKVB3MKM.js → capture-V4HWHG7C.js} +13 -10
- package/dist/{captureCompositionFrame-LNKWWCXE.js → captureCompositionFrame-WZAVXCRQ.js} +14 -13
- package/dist/{catalog-LKJEMEOC.js → catalog-UFC7JS4T.js} +18 -17
- package/dist/{catch-up-FA6KWX4S.js → catch-up-YBNKJDWJ.js} +8 -7
- package/dist/{check-6GIDKL6S.js → check-ESQJHRGA.js} +42 -41
- package/dist/{checkAudio-H3AUFC4M.js → checkAudio-OIIBWFBF.js} +26 -11
- package/dist/{checkBrowser-YWWF63S6.js → checkBrowser-WAWL6TKX.js} +35 -34
- package/dist/{chunk-KSNIYQRB.js → chunk-26AQTUU4.js} +5 -7
- package/dist/{chunk-B2B4MN3R.js → chunk-2GS2RUVI.js} +2 -2
- package/dist/{chunk-WNDTMINP.js → chunk-2WELGDXU.js} +3 -3
- package/dist/{chunk-OE5EHGDG.js → chunk-3OYLHBQZ.js} +1 -1
- package/dist/{chunk-U46JEU26.js → chunk-4645UHJF.js} +1 -0
- package/dist/{chunk-FI7SSV73.js → chunk-46HYDDZ5.js} +1 -1
- package/dist/{chunk-YPNBEBQ6.js → chunk-4BXPCS5B.js} +26 -19
- package/dist/{chunk-ABBVDJMG.js → chunk-53VXGZ3L.js} +2 -2
- package/dist/{chunk-66KMYUNO.js → chunk-5ODMV7X6.js} +2 -2
- package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
- package/dist/{chunk-J2JG4XGP.js → chunk-5ZBMHUY2.js} +4 -0
- package/dist/{chunk-YRO3PXWU.js → chunk-6CGYINE7.js} +97 -2
- package/dist/{chunk-JMD5HDPB.js → chunk-6ZLDIMPL.js} +2 -2
- package/dist/{chunk-3R5MYOJN.js → chunk-76T7KAYD.js} +2 -2
- package/dist/{chunk-OOA6C4AG.js → chunk-7I5N36JA.js} +2 -2
- package/dist/{chunk-CNU65QE2.js → chunk-7JWRVKN4.js} +9 -5
- package/dist/{chunk-CJ5QZRY7.js → chunk-7KBS6ZLB.js} +2 -2
- package/dist/{chunk-T2L2GJ4C.js → chunk-7LOVQRUJ.js} +7 -7
- package/dist/{chunk-FBN5AQJL.js → chunk-7TWX4Y7I.js} +3 -3
- package/dist/{chunk-VBC3DQFS.js → chunk-AJ3QW6RX.js} +12 -5
- package/dist/{chunk-FIC3E7IM.js → chunk-BE6XXZAR.js} +9 -9
- package/dist/{chunk-5MCR5DA5.js → chunk-BVHNFPRF.js} +5 -5
- package/dist/{chunk-PKWZG642.js → chunk-CLA4XSBO.js} +3 -3
- package/dist/{chunk-DAXKGMJL.js → chunk-D3Q2TABU.js} +5 -5
- package/dist/{chunk-AIY2Y5UY.js → chunk-DJFEYX23.js} +5 -5
- package/dist/{chunk-FVY2XRX4.js → chunk-DKEZSH6M.js} +2 -2
- package/dist/{chunk-LALLQUSK.js → chunk-DP5LF7GF.js} +2 -0
- package/dist/{chunk-Q52ISCT4.js → chunk-DQ26IA5P.js} +1 -1
- package/dist/{chunk-3WL7WU6K.js → chunk-ENE4IKFX.js} +19 -20
- package/dist/{chunk-JZVUSRZ5.js → chunk-EQ66MVWZ.js} +1 -1
- package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
- package/dist/{chunk-KZBBY72Q.js → chunk-F4EX52FU.js} +1 -1
- package/dist/{chunk-4JWKC3GH.js → chunk-FGIMC5I4.js} +5 -5
- package/dist/{chunk-CGAUUUDL.js → chunk-FHO3FXTW.js} +3 -3
- package/dist/chunk-FJ646TIT.js +201 -0
- package/dist/{chunk-77KGX4A3.js → chunk-FKFGGAXN.js} +50 -8
- package/dist/{chunk-VUEWZXZG.js → chunk-G6HUXX3L.js} +1 -1
- package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
- package/dist/{chunk-VGKQFZCC.js → chunk-GNSNCIHF.js} +14 -14
- package/dist/{chunk-SXJJTFV4.js → chunk-H3I2VLLL.js} +16 -4
- package/dist/{chunk-UYEZTK4U.js → chunk-HPTFD6MO.js} +10 -10
- package/dist/{chunk-5KOZRJR7.js → chunk-HWHPYCBZ.js} +1 -1
- package/dist/{chunk-22OGII5H.js → chunk-I3G45TWG.js} +1 -1
- package/dist/{chunk-DMIFCIG6.js → chunk-IHYWP4V5.js} +1 -1
- package/dist/{chunk-5LITFBMY.js → chunk-ISMOBMWF.js} +35 -24
- package/dist/{chunk-DDRCX7P2.js → chunk-KL2UJXCY.js} +2 -2
- package/dist/{chunk-KDDO3UYI.js → chunk-KSMCX5EP.js} +3 -3
- package/dist/{chunk-UI7X4L4M.js → chunk-KVFOQ3EM.js} +2137 -2100
- package/dist/{chunk-472C35EW.js → chunk-KY67MTBH.js} +1 -1
- package/dist/{chunk-DPYI2HRJ.js → chunk-L34IH4SH.js} +5 -5
- package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
- package/dist/{chunk-YWPCMOX4.js → chunk-LALMFSLB.js} +5 -5
- package/dist/{chunk-4D46TX6Q.js → chunk-LGDRKQKL.js} +1 -1
- package/dist/{chunk-DWIMUPFK.js → chunk-LTQXIYNL.js} +2 -2
- package/dist/{chunk-Z2UZAY2Q.js → chunk-LYON3VGF.js} +2 -2
- package/dist/{chunk-AQMGYRX6.js → chunk-MBSESQED.js} +1 -1
- package/dist/{chunk-ZPXXWUQ3.js → chunk-MFC2PE7D.js} +30 -4
- package/dist/{chunk-6J2G57BB.js → chunk-N3MOQTRS.js} +7 -7
- package/dist/chunk-N3ZAIZF3.js +4870 -0
- package/dist/{chunk-JLGVBK5M.js → chunk-N4XNRHFM.js} +18 -4
- package/dist/{chunk-3NIESDKN.js → chunk-NGJS5H5E.js} +1 -1
- package/dist/{chunk-DJ3H6EW3.js → chunk-NP4G4WPP.js} +10 -9
- package/dist/{chunk-RQNFW6YC.js → chunk-O63A26XQ.js} +8 -3
- package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
- package/dist/{chunk-SJK64HHG.js → chunk-OWV36OJP.js} +5 -2
- package/dist/{chunk-4EO7DNRJ.js → chunk-PAZ7WUYZ.js} +2 -2
- package/dist/{chunk-K43XLAQV.js → chunk-Q55JNFDV.js} +3 -3
- package/dist/{chunk-CZCRSS3U.js → chunk-QHWVCKC5.js} +1 -1
- package/dist/{chunk-ORXLO64X.js → chunk-S2HWGG5O.js} +1 -1
- package/dist/{chunk-5AKWJHRJ.js → chunk-S3ZWVEGQ.js} +1 -1
- package/dist/chunk-SJGE5I5F.js +131 -0
- package/dist/{chunk-GSXA4YLV.js → chunk-STK62RL7.js} +1 -1
- package/dist/{chunk-B4KGJHTE.js → chunk-SZOCI3JJ.js} +2 -2
- package/dist/{chunk-PICG2XRD.js → chunk-TCCCAEZD.js} +2 -2
- package/dist/{chunk-KF6I5WA7.js → chunk-TDNPJHEQ.js} +15 -18
- package/dist/{chunk-BGC5S3OZ.js → chunk-TLXK5A2N.js} +49 -36
- package/dist/{chunk-6EN2LWOM.js → chunk-TWCICOCI.js} +1 -1
- package/dist/{chunk-NEQIJUV2.js → chunk-UBDO4EHA.js} +10 -1
- package/dist/{chunk-2QAR7ZNY.js → chunk-V2H5UABS.js} +3 -3
- package/dist/{chunk-3LACB6HG.js → chunk-VTX27LET.js} +3 -3
- package/dist/{chunk-3JYKWNFR.js → chunk-VVDHSRKD.js} +1 -1
- package/dist/{chunk-2RQZQJHV.js → chunk-WSEPFRJV.js} +1 -1
- package/dist/{chunk-K3LLHG6I.js → chunk-XNY2KI2Z.js} +1 -1
- package/dist/{chunk-ZNSKOXFW.js → chunk-Z65ZQYBW.js} +3 -3
- package/dist/{chunk-QVHC77IF.js → chunk-Z7QHOT65.js} +2 -2
- package/dist/{chunk-LAR5VTCN.js → chunk-ZGG53XZX.js} +5 -5
- package/dist/{chunk-67JTGRNM.js → chunk-ZSRNM6LP.js} +1 -1
- package/dist/{chunk-IEVU4FXB.js → chunk-ZTCILR3V.js} +3 -3
- package/dist/{clean-SVEOBRPM.js → clean-XBQ54UZX.js} +22 -21
- package/dist/cli.js +151 -82
- package/dist/{cloud-ADFJGIEH.js → cloud-E2GUGXXL.js} +4 -4
- package/dist/{cloudrun-BNY7Q5RK.js → cloudrun-IAPFT66T.js} +23 -20
- package/dist/commands/layout-audit.browser.js +7 -10
- package/dist/{compare-QC3T22KV.js → compare-2VPIOCLV.js} +45 -46
- package/dist/{compiler-4ITKK4XI.js → compiler-3ED6KJYN.js} +3 -3
- package/dist/{component-CNZCB3RY.js → component-IH2KSDNM.js} +6 -5
- package/dist/{compositions-UO32IP6Z.js → compositions-MIMF2GM3.js} +14 -13
- package/dist/{delete-RWTOSI24.js → delete-5H5EYSYK.js} +13 -11
- package/dist/{deploy-OKWS53NP.js → deploy-DMQT34K2.js} +5 -5
- package/dist/{destroy-4RL5VOXQ.js → destroy-BQ5R7LUF.js} +3 -3
- package/dist/{deterministicFonts-LKAGUNE5.js → deterministicFonts-2ISM3LMW.js} +1 -1
- package/dist/{dist-AEE3QTRB.js → dist-ANQ2CIIO.js} +2 -2
- package/dist/{dist-NCI6JOJZ.js → dist-OKQM7BQ3.js} +3 -1
- package/dist/{docs-UMIA66EZ.js → docs-6EM6FDNI.js} +5 -4
- package/dist/{doctor-SIF72ESZ.js → doctor-MTRZJQZZ.js} +12 -10
- package/dist/{events-S3VUTFEG.js → events-2GNMM2YS.js} +5 -3
- package/dist/{events-34PIVLZQ.js → events-TBKM6B5H.js} +8 -5
- package/dist/{feedback-VS4LRXHW.js → feedback-6NNSKXQP.js} +20 -19
- package/dist/{ffmpeg-YVQOKNV6.js → ffmpeg-622QCJLB.js} +6 -6
- package/dist/{figma-AF4JKDBA.js → figma-TFHZ3N5A.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-UQGCS6Q4.js → get-P6RA7MAU.js} +8 -7
- package/dist/{gpuPolicy-Q4B3D6PW.js → gpuPolicy-CK2XDEAM.js} +6 -6
- package/dist/{grade-compare-G34673XC.js → grade-compare-LK6U7OJD.js} +47 -45
- package/dist/{heifImagePrep-XD4DGOUS.js → heifImagePrep-3OXKQUEZ.js} +7 -7
- package/dist/{help-3QSD26IC.js → help-YENCFXYK.js} +11 -7
- package/dist/{history-6DC24UCF.js → history-V3E4UCMY.js} +15 -12
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6JUHWWJK.js → info-ZGKQMX3Z.js} +11 -10
- package/dist/{init-2DPX6U3J.js → init-D6PJI2TA.js} +38 -37
- package/dist/{inspect-Z55YUSXC.js → inspect-UCHLILOX.js} +33 -32
- package/dist/{installer-XVKYJU7S.js → installer-CV2OKJFW.js} +4 -4
- package/dist/{keyframes-YHF4AQIL.js → keyframes-2IJTDJ7K.js} +10 -9
- package/dist/{lambda-JITTS37E.js → lambda-GKZBKWTK.js} +32 -30
- package/dist/{layout-V5NYJXIX.js → layout-KKPRCTME.js} +33 -32
- package/dist/{lint-V4WMO7YL.js → lint-NAC6M4NT.js} +18 -15
- package/dist/{lintProject-EM7Y2ZRB.js → lintProject-MSATZIK7.js} +1 -1
- package/dist/{list-W7UCIYKA.js → list-QRMXOTNB.js} +11 -10
- package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
- package/dist/{localPage-BLQFFIDF.js → localPage-KMXALM7A.js} +6 -6
- package/dist/{login-IX3MOREU.js → login-GBN5ZMEA.js} +11 -11
- package/dist/{logout-46NLNY2K.js → logout-C6P6ERZ3.js} +5 -5
- package/dist/{manager-WJOWZNHM.js → manager-GPDDRQIW.js} +8 -8
- package/dist/{media-treatment-XBO6EXL4.js → media-treatment-4Q7G27JJ.js} +44 -34
- package/dist/{media-use-3RFKY7XJ.js → media-use-ZRHFRO46.js} +1 -1
- package/dist/{models-P3NSHDQS.js → models-7KJF4LYJ.js} +27 -20
- package/dist/{motionShot-D4QMLTQP.js → motionShot-DQAX2QTZ.js} +17 -16
- package/dist/{normalize-audio-Q4VUR3QJ.js → normalize-audio-K7VCJQYJ.js} +30 -19
- package/dist/{open-LGKX534P.js → open-ZSBVR3KC.js} +17 -16
- package/dist/{parakeetRunner-FAOQMPS6.js → parakeetRunner-XXZHJYKO.js} +12 -12
- package/dist/{pipeline-2YONKZYC.js → pipeline-KNLOS5CL.js} +11 -11
- package/dist/{play-PJOUIY55.js → play-GQWF7MU5.js} +32 -34
- package/dist/{policies-UPNRQ7IW.js → policies-J5BWAZHM.js} +11 -10
- package/dist/{preflight-3PPM7QBU.js → preflight-UMKQ5C5W.js} +7 -7
- package/dist/{present-323D6OE2.js → present-X7BPH35M.js} +28 -30
- package/dist/{preview-E42QP2KX.js → preview-5Q7HPEOF.js} +25 -24
- package/dist/{producer-MTMNLJSC.js → producer-IXOPGETH.js} +1 -1
- package/dist/{progress-LMQ2DXM4.js → progress-X3QFO3FE.js} +4 -4
- package/dist/{projectConfig-5QRVB5KY.js → projectConfig-YGI5AINR.js} +6 -6
- package/dist/{prompts-P3IT5H36.js → prompts-VAO7RDKX.js} +2 -2
- package/dist/{publication-AUZLFOG5.js → publication-ZSDCS2ST.js} +2 -2
- package/dist/{publish-H5P7UHRV.js → publish-S2IIRPFZ.js} +18 -18
- package/dist/{refresh-4XRQS3N6.js → refresh-IYRGLHG5.js} +5 -5
- package/dist/{remove-background-T2RV476S.js → remove-background-F2WFDCNM.js} +22 -18
- package/dist/{render-4XEB3XWI.js → render-CHRSSQNM.js} +60 -58
- package/dist/{render-3FRGIWES.js → render-NVHUPEDG.js} +28 -27
- package/dist/{render-GJH7446R.js → render-WYBQO4SR.js} +11 -10
- package/dist/{render-batch-77X5453X.js → render-batch-SDGA2643.js} +12 -11
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-DIUNK525.js → resolver-3W2OPVGC.js} +4 -4
- package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
- package/dist/{sherpa-SUS3YSEP.js → sherpa-HCPAOYGA.js} +11 -11
- package/dist/{sites-V42IFVTK.js → sites-MTLVMYJ6.js} +2 -2
- package/dist/{skills-YCGSIOCE.js → skills-KOVM4OP5.js} +17 -13
- package/dist/{skillsUpdateCheck-VCQIZGOL.js → skillsUpdateCheck-ISMQFMPY.js} +5 -3
- package/dist/{snapshot-H6R5PWNS.js → snapshot-K7LVZDHG.js} +340 -107
- package/dist/{src-ED5VCIRC.js → src-FUMXFZYG.js} +10 -10
- package/dist/{src-HHDLJV4L.js → src-QEFKMRH7.js} +11 -5
- package/dist/{state-D5SYQFCB.js → state-6QHNNHDA.js} +2 -2
- package/dist/{staticProjectServer-VY7QG5XH.js → staticProjectServer-MF57NBIU.js} +18 -18
- package/dist/{status-GEZNVPII.js → status-SLILCDBZ.js} +12 -7
- package/dist/studio/assets/{hyperframes-player-CzrqgMUX.js → hyperframes-player-Bb6n05RB.js} +1 -1
- package/dist/studio/assets/{index-B3SPHPi1.js → index-DOtf09XR.js} +1 -1
- package/dist/studio/assets/{index-k4nVfS2D.js → index-pq574E5O.js} +119 -119
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TR5RPX57.js → studio-api-Y4S3W7XE.js} +10 -10
- package/dist/{studioServer-4SZLLQOV.js → studioServer-5LUZQOQV.js} +53 -52
- package/dist/{synthesize-QALK5SQR.js → synthesize-FQML2LN2.js} +2 -2
- package/dist/{telemetry-KGY7G3UR.js → telemetry-NTO4FJFN.js} +5 -4
- package/dist/{telemetry-7HUKOQ6X.js → telemetry-TJMB5BTF.js} +6 -5
- package/dist/{timeline-CGIKWCQI.js → timeline-CU6CIWYL.js} +31 -27
- package/dist/{tokens-AZALDJEK.js → tokens-7P4N2FWN.js} +5 -4
- package/dist/{transcribe-CTF5EIXJ.js → transcribe-FZ7JK6QS.js} +28 -25
- package/dist/{transcribe-V6K5547L.js → transcribe-TFDEQFMG.js} +10 -10
- package/dist/{tts-C2HBLFKK.js → tts-K5HRN6NQ.js} +17 -13
- package/dist/{updateCheck-5I563YLB.js → updateCheck-HUDVZHVM.js} +4 -2
- package/dist/{upgrade-GRPVQE7Z.js → upgrade-KP4RQZKY.js} +7 -6
- package/dist/{urlDownloader-EP6Q4WES.js → urlDownloader-5SHSHWMB.js} +5 -5
- package/dist/{validate-TVCDSQS3.js → validate-VWX423M4.js} +27 -26
- package/dist/{video-CFEIRKAE.js → video-K4L2YFU2.js} +10 -10
- package/dist/warmCheck.js +44 -43
- package/package.json +1 -1
- package/dist/chunk-FWKZ3O52.js +0 -4870
- package/dist/chunk-WQ6ZXHFQ.js +0 -133
|
@@ -6,43 +6,47 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZTCILR3V.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NP4G4WPP.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7LOVQRUJ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NGJS5H5E.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BVHNFPRF.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
29
|
-
import {
|
|
30
|
-
failCommand,
|
|
31
|
-
setCommandExitCode
|
|
32
|
-
} from "./chunk-LALLQUSK.js";
|
|
33
29
|
import {
|
|
34
30
|
c
|
|
35
31
|
} from "./chunk-2GICKZ3I.js";
|
|
36
32
|
import {
|
|
37
33
|
resolveNaturalMediaTimelineDuration
|
|
38
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
39
35
|
import {
|
|
40
36
|
decodeWellFormedEscapes
|
|
41
37
|
} from "./chunk-X4SBDDLS.js";
|
|
42
38
|
import {
|
|
43
39
|
printDeprecationNotice,
|
|
44
40
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-O63A26XQ.js";
|
|
42
|
+
import {
|
|
43
|
+
failureMessage,
|
|
44
|
+
jsonFailure
|
|
45
|
+
} from "./chunk-SJGE5I5F.js";
|
|
46
|
+
import {
|
|
47
|
+
failCommand,
|
|
48
|
+
setCommandExitCode
|
|
49
|
+
} from "./chunk-DP5LF7GF.js";
|
|
46
50
|
import {
|
|
47
51
|
normalizeErrorMessage
|
|
48
52
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -248,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
248
252
|
async function localizeRemoteAssets(html) {
|
|
249
253
|
let dir;
|
|
250
254
|
try {
|
|
251
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-IXOPGETH.js");
|
|
252
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
253
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
254
258
|
const assetDir = dir;
|
|
@@ -269,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
269
273
|
}
|
|
270
274
|
async function validateInBrowser(project, opts) {
|
|
271
275
|
const projectDir = project.dir;
|
|
272
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-3ED6KJYN.js");
|
|
273
277
|
const { ensureBrowser } = await import("./manager-IZIK7BHN.js");
|
|
274
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
275
|
-
const { lintProject } = await import("./lintProject-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-MF57NBIU.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-MSATZIK7.js");
|
|
276
280
|
const lintResult = await lintProject(projectDir);
|
|
277
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
278
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -293,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
293
297
|
try {
|
|
294
298
|
const browser = await ensureBrowser();
|
|
295
299
|
const puppeteer = await import("puppeteer-core");
|
|
296
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-QEFKMRH7.js");
|
|
297
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
298
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-CK2XDEAM.js");
|
|
299
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
300
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
301
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -427,7 +431,10 @@ function emitFailureReport(message, asJson) {
|
|
|
427
431
|
if (asJson) {
|
|
428
432
|
console.log(
|
|
429
433
|
JSON.stringify(
|
|
430
|
-
withMeta(
|
|
434
|
+
withMeta(
|
|
435
|
+
{ ...jsonFailure("runtime_error", message), errors: [], warnings: [] },
|
|
436
|
+
{ deprecated: true }
|
|
437
|
+
),
|
|
431
438
|
null,
|
|
432
439
|
2
|
|
433
440
|
)
|
|
@@ -476,7 +483,7 @@ Examples:
|
|
|
476
483
|
setCommandExitCode(exitCode);
|
|
477
484
|
return;
|
|
478
485
|
} catch (err) {
|
|
479
|
-
const message =
|
|
486
|
+
const message = failureMessage(err);
|
|
480
487
|
emitFailureReport(message, asJson);
|
|
481
488
|
failCommand();
|
|
482
489
|
}
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QHWVCKC5.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KY67MTBH.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -6,14 +6,14 @@ 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-S3ZWVEGQ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-PBNWRWKA.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-3ED6KJYN.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -8,6 +8,9 @@ import {
|
|
|
8
8
|
VALID_CANVAS_RESOLUTIONS,
|
|
9
9
|
resolveResolutionFlagPair
|
|
10
10
|
} from "./chunk-NHA4NRBE.js";
|
|
11
|
+
import {
|
|
12
|
+
CliUsageError
|
|
13
|
+
} from "./chunk-DP5LF7GF.js";
|
|
11
14
|
|
|
12
15
|
// src/utils/parseOutputResolution.ts
|
|
13
16
|
function parseOutputResolutionFlag(raw, options) {
|
|
@@ -18,7 +21,7 @@ function parseOutputResolutionFlag(raw, options) {
|
|
|
18
21
|
const { outputResolution, outputResolutionAspectAgnostic } = resolveResolutionFlagPair(asString);
|
|
19
22
|
if (outputResolution) return { outputResolution, outputResolutionAspectAgnostic };
|
|
20
23
|
const aliasHint = options.aliasHint ?? "1080p, 4k, uhd, hd, \u2026";
|
|
21
|
-
throw new
|
|
24
|
+
throw new CliUsageError(
|
|
22
25
|
`${options.surfaceLabel} --output-resolution must be one of ${VALID_CANVAS_RESOLUTIONS.join("|")} (or an alias: ${aliasHint}); got ${asString}`
|
|
23
26
|
);
|
|
24
27
|
}
|
|
@@ -7,6 +7,9 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
c
|
|
9
9
|
} from "./chunk-2GICKZ3I.js";
|
|
10
|
+
import {
|
|
11
|
+
recordFailure
|
|
12
|
+
} from "./chunk-SJGE5I5F.js";
|
|
10
13
|
|
|
11
14
|
// src/ui/format.ts
|
|
12
15
|
function formatBytes(bytes) {
|
|
@@ -68,6 +71,7 @@ function label(name, value) {
|
|
|
68
71
|
return ` ${c.dim(name)}${" ".repeat(Math.max(1, pad))}${c.bold(value)}`;
|
|
69
72
|
}
|
|
70
73
|
function errorBox(title, hint, suggestion) {
|
|
74
|
+
recordFailure(title, hint ?? suggestion);
|
|
71
75
|
console.error(`
|
|
72
76
|
${c.error("\u2717")} ${c.bold(title)}`);
|
|
73
77
|
if (hint) {
|
|
@@ -51,6 +51,93 @@ function fft(re, im) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
// ../core/dist/audioPitch.js
|
|
55
|
+
var PITCH_RATE = 8e3;
|
|
56
|
+
var FRAME = 320;
|
|
57
|
+
var HOP = 320;
|
|
58
|
+
var LOW_HZ = 70;
|
|
59
|
+
var HIGH_HZ = 500;
|
|
60
|
+
var VOICED_DB = -35;
|
|
61
|
+
var PERIODIC = 0.15;
|
|
62
|
+
var MIN_LAG = Math.floor(PITCH_RATE / HIGH_HZ);
|
|
63
|
+
var MAX_LAG = Math.ceil(PITCH_RATE / LOW_HZ);
|
|
64
|
+
function voiced(channels, start) {
|
|
65
|
+
let energy = 0;
|
|
66
|
+
for (const pcm of channels)
|
|
67
|
+
for (let i = 0; i < FRAME; i++)
|
|
68
|
+
energy += pcm[start + i] ** 2;
|
|
69
|
+
return 10 * Math.log10(energy / (FRAME * channels.length) + 1e-12) >= VOICED_DB;
|
|
70
|
+
}
|
|
71
|
+
function difference(channels, start, tau) {
|
|
72
|
+
let sum = 0;
|
|
73
|
+
for (const pcm of channels) {
|
|
74
|
+
for (let i = 0; i < FRAME; i++) {
|
|
75
|
+
const delta = pcm[start + i] - pcm[start + i + tau];
|
|
76
|
+
sum += delta * delta;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return sum;
|
|
80
|
+
}
|
|
81
|
+
function periodOf(channels, start, d) {
|
|
82
|
+
let running = 0;
|
|
83
|
+
let lag = -1;
|
|
84
|
+
for (let tau = 1; tau <= MAX_LAG; tau++) {
|
|
85
|
+
const sum = difference(channels, start, tau);
|
|
86
|
+
running += sum;
|
|
87
|
+
d[tau] = running > 0 ? sum * tau / running : 1;
|
|
88
|
+
if (lag === -1) {
|
|
89
|
+
if (tau >= MIN_LAG && d[tau] < PERIODIC)
|
|
90
|
+
lag = tau;
|
|
91
|
+
} else if (d[tau] > d[tau - 1])
|
|
92
|
+
break;
|
|
93
|
+
else if (d[tau] < d[lag])
|
|
94
|
+
lag = tau;
|
|
95
|
+
}
|
|
96
|
+
return lag;
|
|
97
|
+
}
|
|
98
|
+
function pitchTrack(pcm) {
|
|
99
|
+
return channelPitchTrack([pcm]);
|
|
100
|
+
}
|
|
101
|
+
function channelPitchTrack(channels) {
|
|
102
|
+
const length = channels[0]?.length ?? 0;
|
|
103
|
+
const out = [];
|
|
104
|
+
const d = new Float64Array(MAX_LAG + 1);
|
|
105
|
+
for (let start = 0; start + FRAME + MAX_LAG <= length; start += HOP) {
|
|
106
|
+
if (!voiced(channels, start))
|
|
107
|
+
continue;
|
|
108
|
+
const lag = periodOf(channels, start, d);
|
|
109
|
+
if (lag > 0)
|
|
110
|
+
out.push({ t: (start + FRAME / 2) / PITCH_RATE, hz: PITCH_RATE / lag });
|
|
111
|
+
}
|
|
112
|
+
return out;
|
|
113
|
+
}
|
|
114
|
+
function atPitchRate(channels, sampleRate) {
|
|
115
|
+
const length = channels[0]?.length ?? 0;
|
|
116
|
+
if (!length || !channels.length)
|
|
117
|
+
return new Float32Array(0);
|
|
118
|
+
const step = sampleRate / PITCH_RATE;
|
|
119
|
+
const width = Math.max(1, Math.round(step));
|
|
120
|
+
const sums = new Float64Array(length + 1);
|
|
121
|
+
for (let i = 0; i < length; i++) {
|
|
122
|
+
let mixed = 0;
|
|
123
|
+
for (const channel of channels)
|
|
124
|
+
mixed += channel[i];
|
|
125
|
+
sums[i + 1] = sums[i] + mixed / channels.length;
|
|
126
|
+
}
|
|
127
|
+
const out = new Float32Array(Math.floor(length / step));
|
|
128
|
+
for (let n = 0; n < out.length; n++) {
|
|
129
|
+
const from = Math.floor(n * step);
|
|
130
|
+
const to = Math.min(length, from + width);
|
|
131
|
+
out[n] = (sums[to] - sums[from]) / (to - from);
|
|
132
|
+
}
|
|
133
|
+
return out;
|
|
134
|
+
}
|
|
135
|
+
function voicedShare(channels, sampleRate) {
|
|
136
|
+
const pitched = channels.map((channel) => atPitchRate([channel], sampleRate));
|
|
137
|
+
const frames = Math.floor((pitched[0]?.length ?? 0) / HOP);
|
|
138
|
+
return frames ? channelPitchTrack(pitched).length / frames : 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
54
141
|
// ../core/dist/audioResample.js
|
|
55
142
|
var ZERO_CROSSINGS = 8;
|
|
56
143
|
var STEPS_PER_CROSSING = 256;
|
|
@@ -1076,18 +1163,24 @@ function kindFeatures(signal) {
|
|
|
1076
1163
|
sustain: round3(sustainShare(signal))
|
|
1077
1164
|
};
|
|
1078
1165
|
}
|
|
1166
|
+
var VOICED_SPEECH = 0.15;
|
|
1167
|
+
var VOICED_STEADY_SPEECH = 0.25;
|
|
1079
1168
|
function classify(signal) {
|
|
1080
1169
|
const features = kindFeatures(signal);
|
|
1081
1170
|
const { duration, regularity, syllables, sustain } = features;
|
|
1082
1171
|
const speechLike = syllables >= 0.35 && regularity < 0.35;
|
|
1172
|
+
const voiced2 = () => features.voiced ??= round3(voicedShare(signal.channels, signal.sampleRate));
|
|
1173
|
+
const pitched = () => voiced2() >= VOICED_SPEECH;
|
|
1083
1174
|
if (duration >= 8) {
|
|
1084
1175
|
if (sustain < 0.4)
|
|
1085
1176
|
return { value: "sfx", confidence: 0.6, features };
|
|
1086
|
-
if (speechLike)
|
|
1177
|
+
if (speechLike && pitched())
|
|
1087
1178
|
return { value: "voice", confidence: round3(Math.min(0.9, 0.4 + syllables)), features };
|
|
1179
|
+
if (regularity < 0.2 && syllables >= 0.17 && voiced2() >= VOICED_STEADY_SPEECH)
|
|
1180
|
+
return { value: "voice", confidence: 0.6, features };
|
|
1088
1181
|
return { value: "music", confidence: round3(Math.min(0.9, 0.5 + regularity)), features };
|
|
1089
1182
|
}
|
|
1090
|
-
if (duration >= 1.5 && syllables >= 0.17 && regularity < 0.3 && sustain >= 0.7)
|
|
1183
|
+
if (duration >= 1.5 && syllables >= 0.17 && regularity < 0.3 && sustain >= 0.7 && pitched())
|
|
1091
1184
|
return { value: "voice", confidence: speechLike ? 0.8 : 0.6, features };
|
|
1092
1185
|
return { value: "sfx", confidence: duration <= 2 ? 0.85 : 0.65, features };
|
|
1093
1186
|
}
|
|
@@ -1127,6 +1220,8 @@ var signalProvider = {
|
|
|
1127
1220
|
|
|
1128
1221
|
export {
|
|
1129
1222
|
finish,
|
|
1223
|
+
PITCH_RATE,
|
|
1224
|
+
pitchTrack,
|
|
1130
1225
|
medianInterval,
|
|
1131
1226
|
tempoOf,
|
|
1132
1227
|
bandFramesOf,
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
10
10
|
import {
|
|
11
11
|
failUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DP5LF7GF.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionEntry.ts
|
|
15
15
|
import { realpathSync } from "fs";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
diag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EQGKUPBJ.js";
|
|
10
10
|
import {
|
|
11
11
|
getInvocationId
|
|
12
12
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-ZCHULPJZ.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KL2UJXCY.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WSEPFRJV.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KVFOQ3EM.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -14,20 +14,21 @@ import {
|
|
|
14
14
|
} from "./chunk-XFMO3BEN.js";
|
|
15
15
|
import {
|
|
16
16
|
errorBox
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
failCommand
|
|
20
|
-
} from "./chunk-LALLQUSK.js";
|
|
17
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
21
18
|
import {
|
|
22
19
|
c
|
|
23
20
|
} from "./chunk-2GICKZ3I.js";
|
|
24
21
|
import {
|
|
25
22
|
formatVariableValidationIssue,
|
|
26
23
|
validateVariables
|
|
27
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KY67MTBH.js";
|
|
28
25
|
import {
|
|
29
26
|
extractCompositionMetadata
|
|
30
27
|
} from "./chunk-NHA4NRBE.js";
|
|
28
|
+
import {
|
|
29
|
+
failCommand,
|
|
30
|
+
failUsage
|
|
31
|
+
} from "./chunk-DP5LF7GF.js";
|
|
31
32
|
|
|
32
33
|
// src/utils/variables.ts
|
|
33
34
|
import { readFileSync } from "fs";
|
|
@@ -94,6 +95,9 @@ function resolveVariablesArg(inline, filePath) {
|
|
|
94
95
|
if (!result.ok) {
|
|
95
96
|
const { title, message } = variablesErrorMessage(result.error);
|
|
96
97
|
errorBox(title, message);
|
|
98
|
+
const { kind } = result.error;
|
|
99
|
+
const flagsAreWrong = kind === "conflict" || inline != null && kind !== "read-error";
|
|
100
|
+
if (flagsAreWrong) failUsage();
|
|
97
101
|
failCommand();
|
|
98
102
|
}
|
|
99
103
|
return result.value;
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
10
10
|
import {
|
|
11
11
|
failUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DP5LF7GF.js";
|
|
13
13
|
|
|
14
14
|
// src/cloud/parsing.ts
|
|
15
15
|
var INTEGER_RE = /^-?\d+$/;
|
|
@@ -6,20 +6,20 @@ 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-MBSESQED.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
failUsage
|
|
15
|
-
} from "./chunk-LALLQUSK.js";
|
|
12
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
16
13
|
import {
|
|
17
14
|
DEFAULT_CONFIG,
|
|
18
15
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KVFOQ3EM.js";
|
|
20
17
|
import {
|
|
21
18
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KY67MTBH.js";
|
|
20
|
+
import {
|
|
21
|
+
failUsage
|
|
22
|
+
} from "./chunk-DP5LF7GF.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -4,12 +4,12 @@ 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
|
-
failCommand
|
|
9
|
-
} from "./chunk-LALLQUSK.js";
|
|
10
7
|
import {
|
|
11
8
|
c
|
|
12
9
|
} from "./chunk-2GICKZ3I.js";
|
|
10
|
+
import {
|
|
11
|
+
failCommand
|
|
12
|
+
} from "./chunk-DP5LF7GF.js";
|
|
13
13
|
import {
|
|
14
14
|
normalizeErrorMessage
|
|
15
15
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -68,8 +68,9 @@ import {
|
|
|
68
68
|
resolveWithinProject
|
|
69
69
|
} from "./chunk-OFQWTKPW.js";
|
|
70
70
|
import {
|
|
71
|
+
collectExternalStyles,
|
|
71
72
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4645UHJF.js";
|
|
73
74
|
import {
|
|
74
75
|
CSS_URL_RE,
|
|
75
76
|
checkSubCompositionUsability,
|
|
@@ -398,8 +399,10 @@ function extractStandaloneEntryFromIndex(indexHtml, entryFile, entryHtml) {
|
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
// ../core/dist/compiler/staticGuard.js
|
|
401
|
-
async function validateHyperframeHtmlContract(html) {
|
|
402
|
-
const result = await lintHyperframeHtml(html
|
|
402
|
+
async function validateHyperframeHtmlContract(html, project) {
|
|
403
|
+
const result = await lintHyperframeHtml(html, project && {
|
|
404
|
+
externalStyles: collectExternalStyles(project.dir, html, project.compSrcPath)
|
|
405
|
+
});
|
|
403
406
|
const missingKeys = result.findings.filter((finding) => finding.severity === "error").map((finding) => finding.message);
|
|
404
407
|
if (missingKeys.length === 0) {
|
|
405
408
|
return { isValid: true, missingKeys: [], failureReason: null };
|
|
@@ -2218,7 +2221,11 @@ async function bundleProject(projectDir, options) {
|
|
|
2218
2221
|
const rawHtml = readSource(mountedShell ?? entryHtml);
|
|
2219
2222
|
const compiled = await compileHtml(rawHtml, sourceDir, options?.probeMediaDuration);
|
|
2220
2223
|
if (options?.staticGuard !== false && !mountedShell) {
|
|
2221
|
-
const
|
|
2224
|
+
const entryRel = relative(projectDir, indexPath).replace(/\\/g, "/");
|
|
2225
|
+
const staticGuard = await validateHyperframeHtmlContract(compiled, {
|
|
2226
|
+
dir: projectDir,
|
|
2227
|
+
...entryRel !== "index.html" && { compSrcPath: entryRel }
|
|
2228
|
+
});
|
|
2222
2229
|
if (!staticGuard.isValid) {
|
|
2223
2230
|
console.warn(`[StaticGuard] Invalid HyperFrame contract: ${staticGuard.missingKeys.join("; ")}`);
|
|
2224
2231
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2WELGDXU.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DKEZSH6M.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TCCCAEZD.js";
|
|
74
74
|
import {
|
|
75
75
|
probeAudioTrack,
|
|
76
76
|
probeMediaMetadata
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IHYWP4V5.js";
|
|
78
78
|
import {
|
|
79
79
|
STUDIO_MOTION_PATH,
|
|
80
80
|
createStudioMotionRenderBodyScript,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-A4ZTSQLW.js";
|
|
98
98
|
import {
|
|
99
99
|
parseEncoderOptions
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-G6OKQMJI.js";
|
|
101
101
|
import {
|
|
102
102
|
STUDIO_MANUAL_EDITS_PATH
|
|
103
103
|
} from "./chunk-EVMY7IPL.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-AJ3QW6RX.js";
|
|
119
119
|
import {
|
|
120
120
|
GSAP_BASE_URL_META,
|
|
121
121
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
normalizeGsapLocalRoot,
|
|
133
133
|
parseFps,
|
|
134
134
|
parsePreviewProxyBox
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-KY67MTBH.js";
|
|
136
136
|
import {
|
|
137
137
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
138
138
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolveRateSpec,
|
|
148
148
|
sourceTimeAt,
|
|
149
149
|
stripEmbeddedRuntimeScripts
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-N3ZAIZF3.js";
|
|
151
151
|
import {
|
|
152
152
|
ProjectRootMissingError,
|
|
153
153
|
folderGone,
|
|
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5592
5592
|
let block = extractGsapScriptBlock(html);
|
|
5593
5593
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5594
5594
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5595
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5595
|
+
const { GSAP_CDN } = await import("./dist-ANQ2CIIO.js");
|
|
5596
5596
|
const bootstrap = [
|
|
5597
5597
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5598
5598
|
"<script>",
|
|
@@ -6,10 +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-
|
|
10
|
-
import {
|
|
11
|
-
requestCliExit
|
|
12
|
-
} from "./chunk-LALLQUSK.js";
|
|
9
|
+
} from "./chunk-LYON3VGF.js";
|
|
13
10
|
import {
|
|
14
11
|
explainChromeLaunchFailure,
|
|
15
12
|
inAgentSandbox,
|
|
@@ -18,13 +15,16 @@ import {
|
|
|
18
15
|
oneProcessOverPipe,
|
|
19
16
|
pipeLaunchClosedOnMac,
|
|
20
17
|
sandboxDeniedRemediation
|
|
21
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KVFOQ3EM.js";
|
|
22
19
|
import {
|
|
23
20
|
processIsAlive
|
|
24
21
|
} from "./chunk-KGPLIH7B.js";
|
|
25
22
|
import {
|
|
26
23
|
withHyperframesBrowserMarker
|
|
27
24
|
} from "./chunk-K4MJX7SR.js";
|
|
25
|
+
import {
|
|
26
|
+
requestCliExit
|
|
27
|
+
} from "./chunk-DP5LF7GF.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeErrorMessage,
|
|
30
30
|
notePageCrash
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-7VZEOCUY.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZSRNM6LP.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Z7QHOT65.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-I3G45TWG.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,15 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
failUsage
|
|
12
|
-
} from "./chunk-LALLQUSK.js";
|
|
9
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
13
10
|
import {
|
|
14
11
|
PRORES_PROFILE_NAMES,
|
|
15
12
|
appendRateCapArgs,
|
|
16
13
|
isProresProfile
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KVFOQ3EM.js";
|
|
15
|
+
import {
|
|
16
|
+
failUsage
|
|
17
|
+
} from "./chunk-DP5LF7GF.js";
|
|
18
18
|
|
|
19
19
|
// src/utils/deliveryFlags.ts
|
|
20
20
|
var deliveryFlagArgs = {
|