hyperframes 0.8.224 → 0.8.226
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-JEPKJ2F4.js → add-3NBOSGKQ.js} +12 -12
- package/dist/{agentPromptGenerator-ZBNWLX5D.js → agentPromptGenerator-GQSDTAV5.js} +7 -7
- package/dist/{animatedGifPrep-43LLMTN5.js → animatedGifPrep-UXFFDGA7.js} +7 -7
- package/dist/api.js +23 -23
- package/dist/{asset-M6SH6PUW.js → asset-VQVAYC7E.js} +2 -2
- package/dist/{assetCataloger-BLQ7UVJ5.js → assetCataloger-C6KNE2IQ.js} +8 -8
- package/dist/{audio-J3QREJK4.js → audio-2KULGXHA.js} +17 -17
- package/dist/{auth-7TRCBCKA.js → auth-QNMLPJOW.js} +5 -5
- package/dist/{autoUpdate-WTFSYLTK.js → autoUpdate-VFQQ47UD.js} +2 -2
- package/dist/{backgroundChecks-YZW7AMMJ.js → backgroundChecks-SSQ2U3ZY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-LDZ6NO2X.js → batchRender-Y45PZC3Q.js} +3 -3
- package/dist/{beats-JWUADKHV.js → beats-YSJT4NUG.js} +10 -10
- package/dist/{benchmark-QOQZ7UGD.js → benchmark-6UOMMUXF.js} +9 -9
- package/dist/{billing-3GVNEE56.js → billing-WNOAP6KO.js} +4 -4
- package/dist/{browser-4HNCSPUR.js → browser-GM4ZTCRQ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-GTKHB45M.js → bundleWithLocalizedFonts-CUTSKVRK.js} +2 -2
- package/dist/{capture-5OYZNIOR.js → capture-J24XSJTZ.js} +17 -17
- package/dist/{capture-XSRWYHAM.js → capture-SZ65WG5Z.js} +3 -3
- package/dist/{captureCompositionFrame-4F7PPQKB.js → captureCompositionFrame-5UUXIOF2.js} +13 -12
- package/dist/{catalog-4FVQSID5.js → catalog-5EQFE3BC.js} +12 -12
- package/dist/{catch-up-KQVK2QZC.js → catch-up-ASBRKHDL.js} +5 -5
- package/dist/{check-3YHLB6FM.js → check-BA4SSXPY.js} +39 -38
- package/dist/{checkAudio-7ZSZVBSJ.js → checkAudio-TU4GPHIR.js} +10 -10
- package/dist/{checkBrowser-VX5CHNQS.js → checkBrowser-27SFNNPD.js} +33 -32
- package/dist/chunk-262C25DQ.js +31 -0
- package/dist/{chunk-AKMY4QVI.js → chunk-2GTFW4MK.js} +9 -1
- package/dist/{chunk-2QQO3J3B.js → chunk-2IQONCMF.js} +7 -7
- package/dist/{chunk-OZMZFJDW.js → chunk-2JBCK6DX.js} +1 -1
- package/dist/{chunk-K3QT232E.js → chunk-35LAWHTD.js} +23 -6
- package/dist/{chunk-GLTSINRP.js → chunk-37PS2IPO.js} +1 -1
- package/dist/{chunk-2WVQ3CCN.js → chunk-3V3XMQEF.js} +1 -1
- package/dist/{chunk-7RTPHNOO.js → chunk-3XYDZQJF.js} +7 -4
- package/dist/{chunk-BEMGUGGJ.js → chunk-3ZWUNOTS.js} +1 -1
- package/dist/{chunk-RR5QE7DB.js → chunk-4XYLQYUE.js} +18 -14
- package/dist/{chunk-Z7GIHPAZ.js → chunk-53ZOVLGJ.js} +2 -2
- package/dist/{chunk-F34GYYXO.js → chunk-5TXYCG4M.js} +6 -6
- package/dist/{chunk-BTK3T4HJ.js → chunk-5X65O5WM.js} +10 -3
- package/dist/{chunk-QOI46C6F.js → chunk-6AEHVBMX.js} +2 -2
- package/dist/{chunk-3ZDOAVZM.js → chunk-6CU2ZQGW.js} +147 -22
- package/dist/{chunk-L4ULTWCD.js → chunk-6EQSJ7MT.js} +1 -1
- package/dist/{chunk-VLA6UJGH.js → chunk-6NJVSTSY.js} +5 -6
- package/dist/{chunk-HDPW7THH.js → chunk-76N526VX.js} +13 -13
- package/dist/{chunk-3NHCTTLP.js → chunk-7LUZ4RQX.js} +13 -13
- package/dist/{chunk-NFUR6NNT.js → chunk-7UKRCWBO.js} +310 -134
- package/dist/{chunk-GE4ABM5K.js → chunk-7WNPWUJP.js} +3 -3
- package/dist/{chunk-RU7KMDFL.js → chunk-A23K6P7L.js} +1 -1
- package/dist/{chunk-MOXNAVCW.js → chunk-ABNPD4NF.js} +1 -1
- package/dist/{chunk-THL3N377.js → chunk-AMTAKSKJ.js} +9 -9
- package/dist/{chunk-UCPEABYK.js → chunk-APCGOECM.js} +2 -2
- package/dist/{chunk-CGX4EOGT.js → chunk-B243Y7MM.js} +3 -3
- package/dist/{chunk-A25SCSOK.js → chunk-B52P2FU2.js} +1 -1
- package/dist/{chunk-2KDHJCH2.js → chunk-B7OI3WAR.js} +1 -1
- package/dist/{chunk-J7FVF73D.js → chunk-BD2CQDXP.js} +18 -18
- package/dist/{chunk-JMP52GTN.js → chunk-BJ3Q3XK7.js} +313 -149
- package/dist/{chunk-H6APAFKE.js → chunk-CRIVUWLA.js} +2 -2
- package/dist/{chunk-5KAGTSLY.js → chunk-CU3SVSKX.js} +5 -5
- package/dist/{chunk-ZLZXGJ63.js → chunk-DGQOBTFQ.js} +1 -1
- package/dist/{chunk-53JEHQBW.js → chunk-DW7W4J7D.js} +2 -2
- package/dist/{chunk-GQ2QER6M.js → chunk-EJEHDDVX.js} +1 -1
- package/dist/{chunk-35NDLXHZ.js → chunk-EQGBGOQQ.js} +9 -9
- package/dist/{chunk-JKLWWGE6.js → chunk-ETH6WXKZ.js} +1 -1
- package/dist/{chunk-F3CTUCFD.js → chunk-EYDV3MHA.js} +7 -7
- package/dist/{chunk-HIPW4JXL.js → chunk-GADKBSZ5.js} +2 -2
- package/dist/{chunk-HT3D5AKG.js → chunk-GR2T3BOX.js} +6 -5
- package/dist/{chunk-X5BSSPC2.js → chunk-GUJ45PRX.js} +1 -1
- package/dist/chunk-HSXV7QPC.js +177 -0
- package/dist/{chunk-AMQFGICP.js → chunk-HYB3WSJL.js} +1 -1
- package/dist/{chunk-JIF347PW.js → chunk-JE5ZPFN2.js} +3 -3
- package/dist/{chunk-52B3AOIV.js → chunk-JIYNPDH6.js} +1 -1
- package/dist/{chunk-4ZAOAPWP.js → chunk-KQARKGEJ.js} +16 -11
- package/dist/{chunk-G45NYKSM.js → chunk-LVV5EUSO.js} +3 -3
- package/dist/{chunk-5N5FYE5K.js → chunk-MF6KVPWF.js} +3 -3
- package/dist/{chunk-6QIYQ43G.js → chunk-MWQNQA77.js} +2 -2
- package/dist/{chunk-F7T57BZZ.js → chunk-OMT75FQI.js} +3 -2
- package/dist/{chunk-VPMHRLJH.js → chunk-OQYGHP3E.js} +1 -1
- package/dist/{chunk-EQFDOQTG.js → chunk-OSCRZUEB.js} +1 -1
- package/dist/{chunk-E47ZWDMH.js → chunk-P7TDUSPH.js} +1 -1
- package/dist/{chunk-34GAW4GO.js → chunk-PCH3O6I6.js} +5 -5
- package/dist/{chunk-IYYQRNIZ.js → chunk-PHUTMTHB.js} +1 -1
- package/dist/{chunk-POOLZTMZ.js → chunk-PVBSCPZI.js} +3 -3
- package/dist/{chunk-MA5AQK7T.js → chunk-PWHOMCFB.js} +2 -2
- package/dist/{chunk-PKMAWQUI.js → chunk-PXSCN6X5.js} +4 -4
- package/dist/{chunk-HANNA5JJ.js → chunk-PZ6VVOOE.js} +1 -1
- package/dist/{chunk-JUF43Q7Q.js → chunk-QSWUM7WR.js} +3 -6
- package/dist/{chunk-O2VKGYSK.js → chunk-RBYSMHB7.js} +1 -1
- package/dist/{chunk-UZ5AWZCA.js → chunk-RKDMYKGL.js} +1 -1
- package/dist/{chunk-QK6ZNEBW.js → chunk-RRT5S42U.js} +1 -1
- package/dist/{chunk-SGMCQAYU.js → chunk-S4UDVFAN.js} +3 -3
- package/dist/{chunk-KEDN4LSV.js → chunk-TFJSU4IV.js} +2 -2
- package/dist/{chunk-W7MJPKBJ.js → chunk-U6LQ4BTL.js} +1 -1
- package/dist/{chunk-VCJE7IMY.js → chunk-UIJLEBHQ.js} +1 -1
- package/dist/{chunk-ODJ2WBZX.js → chunk-UXHGYMX4.js} +1 -1
- package/dist/{chunk-VXRBPWVW.js → chunk-V2N747YM.js} +7 -7
- package/dist/{chunk-QOYZ3U6G.js → chunk-V4SD6HQ6.js} +2 -3
- package/dist/{chunk-53TKUWDX.js → chunk-VB77RRT7.js} +1 -1
- package/dist/{chunk-IORJ42GY.js → chunk-VUDMPRZN.js} +5 -6
- package/dist/{chunk-E2ZY4GWH.js → chunk-WESIEW2M.js} +3 -25
- package/dist/{chunk-D4M37ATV.js → chunk-WGVREWKN.js} +2 -2
- package/dist/{chunk-FJ3KUOUZ.js → chunk-XCGPPU32.js} +1 -1
- package/dist/{chunk-2M6B2JKZ.js → chunk-XDTRM4OS.js} +4 -4
- package/dist/{chunk-JK2KNL6F.js → chunk-XH7SSJSQ.js} +1 -1
- package/dist/chunk-XINVBLXA.js +5030 -0
- package/dist/{chunk-7HSV5SJ4.js → chunk-XOFJZ3UG.js} +1 -1
- package/dist/{chunk-BAXL3U3T.js → chunk-Y2NSHQVE.js} +2 -2
- package/dist/{chunk-NI35PAVN.js → chunk-YTQSLNIA.js} +1 -1
- package/dist/{chunk-LRS4FV5W.js → chunk-Z257R7TN.js} +1 -1
- package/dist/{chunk-ZGQC6IU7.js → chunk-ZI64CTVC.js} +1 -1
- package/dist/{chunk-Y5HVDK7X.js → chunk-ZJE2XWQC.js} +2 -2
- package/dist/{chunk-652ERUZD.js → chunk-ZNXUM4D2.js} +2 -2
- package/dist/{clean-SXEI6FT4.js → clean-X5VL4ILR.js} +17 -17
- package/dist/cli.js +57 -57
- package/dist/{cloud-SKN6FWAZ.js → cloud-4GUUYRD3.js} +4 -4
- package/dist/{cloudrun-RHPVVXCR.js → cloudrun-KPL32MBI.js} +4 -4
- package/dist/{compare-RTXF2NSK.js → compare-CVEB5SQC.js} +30 -29
- package/dist/{compiler-SKRY6FPA.js → compiler-RRTQNBUH.js} +4 -4
- package/dist/{component-2NPF5PA6.js → component-TZ2SIYOX.js} +3 -3
- package/dist/{compositions-AZRVHGBT.js → compositions-KRTRDV72.js} +12 -12
- package/dist/{curve-QSFEGBUH.js → curve-ZXUAGU4T.js} +11 -11
- package/dist/{cuts-6AWEJH2H.js → cuts-GY2K2CTK.js} +20 -15
- package/dist/{delete-NOHFVICL.js → delete-ZT4FCUX2.js} +6 -6
- package/dist/{deploy-UFRADJOA.js → deploy-DVKSQTC7.js} +1 -1
- package/dist/{describeProject-F43LI3YQ.js → describeProject-L4ZW5CI7.js} +8 -8
- package/dist/{diff-3WS6NMSE.js → diff-AFOP2B3Y.js} +89 -229
- package/dist/{dist-24QQO5IL.js → dist-DCP77RWC.js} +2 -2
- package/dist/{dist-YEYUGCOR.js → dist-DPOLFG5U.js} +2 -2
- package/dist/{doctor-F4VJYQXC.js → doctor-Y7YVL34W.js} +11 -11
- package/dist/{energy-BN3QD6Y7.js → energy-YFLFELFX.js} +12 -12
- package/dist/{events-PZH4C7VA.js → events-C5QV2MQG.js} +3 -3
- package/dist/{events-5W7ETFWR.js → events-THASMGN6.js} +14 -14
- package/dist/{events-YJ3XSIPL.js → events-VL7JKI2K.js} +4 -4
- package/dist/{extract-S34DWGAD.js → extract-GTNBVQ63.js} +15 -19
- package/dist/{face-3SCJADG4.js → face-BSRKCB5W.js} +12 -12
- package/dist/{feedback-3K6NSKIC.js → feedback-MCQ2FKCC.js} +11 -11
- package/dist/{ffmpeg-2RBDDMHU.js → ffmpeg-3QNN3TQ5.js} +7 -7
- package/dist/{figma-NWAJYMAI.js → figma-IGXE3KWU.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-6UARLPLK.js → frames-XIFLB5KC.js} +13 -13
- package/dist/{generate-KBVWFVXN.js → generate-55FZPR3J.js} +18 -18
- package/dist/{get-SEZZMLQ3.js → get-2MHD7XFA.js} +6 -6
- package/dist/{gpuPolicy-VIZAJ3GY.js → gpuPolicy-REJFNHWD.js} +7 -7
- package/dist/{grade-compare-PMAK4PJD.js → grade-compare-CM45H7CR.js} +31 -30
- package/dist/{heifImagePrep-6NYIR7WN.js → heifImagePrep-O3UZHGWR.js} +8 -8
- package/dist/{help-4UPSHWI2.js → help-V2GGIKP2.js} +1 -1
- package/dist/{history-VNAZEQDE.js → history-NUOQVUNY.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-OREET5PM.js → info-5CMRZEJA.js} +8 -8
- package/dist/{init-K7AEJBAL.js → init-JNL5R27I.js} +28 -28
- package/dist/ink-HGQUC6L3.js +148 -0
- package/dist/{inspect-STME5DNY.js → inspect-GGOCM324.js} +31 -30
- package/dist/{installer-NQA4KXRP.js → installer-BBY3T5MJ.js} +4 -4
- package/dist/{keyframes-JQWZ235Q.js → keyframes-2D4ZS6HE.js} +8 -8
- package/dist/{lambda-RJNLW2EO.js → lambda-TY2ZCPEN.js} +11 -11
- package/dist/{layout-MTZWBPNZ.js → layout-X5GT4O2L.js} +31 -30
- package/dist/{lint-AQWTSL75.js → lint-NVOUXE2L.js} +9 -9
- package/dist/{lintProject-6H64SX3V.js → lintProject-54CNQ4HT.js} +2 -2
- package/dist/{list-ZEBZ5DB5.js → list-CB4UDTID.js} +6 -6
- package/dist/{localPage-CQ3H4N2N.js → localPage-EYPZRIGY.js} +7 -7
- package/dist/{login-VHCZHENV.js → login-L7JTVKV5.js} +7 -7
- package/dist/{logout-LHTQV2BZ.js → logout-6CEIH4HW.js} +3 -3
- package/dist/{look-25TSRPSV.js → look-VHQA2JSS.js} +12 -12
- package/dist/{manager-57SX7D5G.js → manager-FGQKQMI7.js} +8 -8
- package/dist/{measure-Y2R3G5OJ.js → measure-5F7QZLO5.js} +12 -11
- package/dist/{media-treatment-3G2IVS64.js → media-treatment-RRFIZKSA.js} +14 -14
- package/dist/{media-use-LUAOZJNV.js → media-use-5YGFOFKI.js} +3 -3
- package/dist/{models-NT56FKRG.js → models-5B2RGGBT.js} +11 -11
- package/dist/{motionShot-P4NTFKYS.js → motionShot-JJBQLYCC.js} +16 -15
- package/dist/{normalize-audio-2DUTZ6QK.js → normalize-audio-LWTNZWDJ.js} +10 -10
- package/dist/{open-OATYOOR7.js → open-PGRJXREV.js} +12 -12
- package/dist/{parakeetRunner-UASHW3A4.js → parakeetRunner-OV4NSPB3.js} +12 -12
- package/dist/{pipeline-GGAYP5Q6.js → pipeline-HXGPFQZC.js} +10 -10
- package/dist/{play-GHXBJS3T.js → play-JONX6CIM.js} +21 -21
- package/dist/{preflight-6VOP3IOI.js → preflight-7OKMMUWG.js} +8 -8
- package/dist/{present-M7UYHVEZ.js → present-EHU52MSU.js} +17 -17
- package/dist/{preview-YWT5WA3W.js → preview-DCEIITM6.js} +19 -19
- package/dist/{probe-CQAGZJLP.js → probe-EA4N3WOT.js} +11 -11
- package/dist/{producer-OU2BCMLY.js → producer-FGAOUR7O.js} +1 -1
- package/dist/{projectConfig-UI4NZDN7.js → projectConfig-N3ZRVJKB.js} +6 -6
- package/dist/{publication-VPJZQCLA.js → publication-ZKY2LVN5.js} +2 -2
- package/dist/{publish-7RA2MK2M.js → publish-RZVDFTBX.js} +15 -15
- package/dist/{refresh-AM2ULRRV.js → refresh-MQTO43RB.js} +3 -3
- package/dist/{remove-background-A5KJUH6W.js → remove-background-V5UXYPJS.js} +11 -11
- package/dist/{render-EMW4I6C6.js → render-NEZLBRAY.js} +37 -35
- package/dist/{render-IYV73CG6.js → render-UJCPQXGB.js} +5 -5
- package/dist/{render-Z5IS4AUP.js → render-YZSDHP3U.js} +60 -27
- package/dist/{render-batch-IN2ZXPS7.js → render-batch-KPGYARDI.js} +5 -5
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-DIXFK5ZR.js → resolver-HWNPLSXK.js} +4 -4
- package/dist/{run-MCVU7AZX.js → run-OJ2GBYKB.js} +4 -4
- package/dist/{sherpa-SAY3I7PK.js → sherpa-HSBYKUQC.js} +11 -11
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +3 -9
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +6 -4
- package/dist/skills/media-use/scripts/lib/logo-provider.mjs +8 -3
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +14 -0
- package/dist/skills/media-use/scripts/resolve.mjs +11 -5
- package/dist/{skills-YWQ5XKH6.js → skills-CW23U675.js} +6 -6
- package/dist/{skillsUpdateCheck-ST5ZFEET.js → skillsUpdateCheck-LGBNNYLI.js} +3 -3
- package/dist/{snapshot-57YYYE5J.js → snapshot-RK7ED6DW.js} +47 -38
- package/dist/{src-LNSJHD25.js → src-KORQVG7O.js} +10 -6
- package/dist/{src-7MEBCSTP.js → src-ZDLQFZ4B.js} +9 -9
- package/dist/{staticProjectServer-TTJSAB2Q.js → staticProjectServer-TFWT5G2L.js} +18 -18
- package/dist/{status-FGXBUX2T.js → status-6WAZ5EBM.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-Bzcd9O2g.js → hyperframes-player-qeY0knUZ.js} +3 -3
- package/dist/studio/assets/{index-LW6kxYVF.js → index-B9O4nOYD.js} +1 -1
- package/dist/studio/assets/{index-CZI-XmnO.js → index-BhZkOhf2.js} +174 -174
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-57E36S5N.js → studio-api-OIZEPWHS.js} +10 -10
- package/dist/{studioServer-2AIRUNBA.js → studioServer-62MG7LJR.js} +50 -49
- package/dist/{sync-52GUXEYZ.js → sync-Q3XYLXTX.js} +12 -12
- package/dist/{telemetry-RVY6RSCD.js → telemetry-3YDPEGQK.js} +4 -4
- package/dist/{timeline-MMZF4AX3.js → timeline-VDLKFZZ7.js} +19 -19
- package/dist/{tokens-WGWCYFTY.js → tokens-ZZ4G2VKC.js} +2 -2
- package/dist/{transcribe-YYDHXRQW.js → transcribe-2D6UIVAE.js} +10 -10
- package/dist/{transcribe-6BF5FFPV.js → transcribe-OYRCZUZM.js} +22 -22
- package/dist/{updateCheck-AAR5LLUF.js → updateCheck-ZRG5DR74.js} +2 -2
- package/dist/{upgrade-Y7CIRL4B.js → upgrade-ZU6BHCTC.js} +2 -2
- package/dist/{urlDownloader-KZOD7EWX.js → urlDownloader-5WPUC6C6.js} +6 -6
- package/dist/{validate-K3PHAA2E.js → validate-OZRPF6YZ.js} +25 -24
- package/dist/{video-Z6EBVCAT.js → video-N2KXXYS3.js} +8 -8
- package/dist/warmCheck.js +39 -38
- package/package.json +1 -1
- package/dist/chunk-6UWSEXQ3.js +0 -5030
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WGVREWKN.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7UKRCWBO.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
pageUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QSWUM7WR.js";
|
|
10
10
|
import {
|
|
11
11
|
Fix
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5X65O5WM.js";
|
|
13
13
|
import {
|
|
14
14
|
refreshIfNeeded,
|
|
15
15
|
resolveCloudAuthHeaders,
|
|
16
16
|
resolveCloudBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3ZWUNOTS.js";
|
|
18
18
|
import {
|
|
19
19
|
AuthClient,
|
|
20
20
|
buildAuthHeaders,
|
|
21
21
|
resolveCredential
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-V4SD6HQ6.js";
|
|
23
23
|
import {
|
|
24
24
|
configDir
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6NJVSTSY.js";
|
|
26
26
|
|
|
27
27
|
// src/heygen/v3.ts
|
|
28
28
|
import { createHash } from "crypto";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7UKRCWBO.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-KORQVG7O.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LVV5EUSO.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZNXUM4D2.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
scanProjectMedia,
|
|
56
56
|
shouldPrewarmProxy,
|
|
57
57
|
waitForProxy
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7WNPWUJP.js";
|
|
59
59
|
import {
|
|
60
60
|
probeAudioTrack,
|
|
61
61
|
probeMediaMetadata
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-P7TDUSPH.js";
|
|
63
63
|
import {
|
|
64
64
|
HistoryBusyError,
|
|
65
65
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-3XYDZQJF.js";
|
|
119
119
|
import {
|
|
120
120
|
PREVIEW_PROXY_BOX_PARAM,
|
|
121
121
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
fpsToNumber,
|
|
128
128
|
parseFps,
|
|
129
129
|
parsePreviewProxyBox
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-XCGPPU32.js";
|
|
131
131
|
import {
|
|
132
132
|
GSAP_BASE_URL_META,
|
|
133
133
|
gsapCdnDist,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
resolveRateSpec,
|
|
150
150
|
sourceTimeAt,
|
|
151
151
|
stripEmbeddedRuntimeScripts
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-XINVBLXA.js";
|
|
153
153
|
import {
|
|
154
154
|
ProjectRootMissingError,
|
|
155
155
|
folderGone,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
import {
|
|
166
166
|
isWithinProjectRoot,
|
|
167
167
|
readProjectFile
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-2GTFW4MK.js";
|
|
169
169
|
import {
|
|
170
170
|
decodeCssEscapes,
|
|
171
171
|
decodeWellFormedEscapes,
|
|
@@ -5601,7 +5601,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5601
5601
|
let block = extractGsapScriptBlock(html);
|
|
5602
5602
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5603
5603
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5604
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5604
|
+
const { GSAP_CDN } = await import("./dist-DPOLFG5U.js");
|
|
5605
5605
|
const bootstrap = [
|
|
5606
5606
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5607
5607
|
"<script>",
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-37PS2IPO.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZI64CTVC.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B52P2FU2.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-APCGOECM.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OSCRZUEB.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YTQSLNIA.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XCGPPU32.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -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-DW7W4J7D.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-7UKRCWBO.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -15,10 +15,11 @@ import {
|
|
|
15
15
|
isWithinProjectRoot,
|
|
16
16
|
maskNonScannableRanges,
|
|
17
17
|
readProjectFile,
|
|
18
|
+
readTextFile,
|
|
18
19
|
resolveExistingLocalAsset,
|
|
19
20
|
resolveLocalAssetCandidates,
|
|
20
21
|
resolveProjectRelativeSrc
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2GTFW4MK.js";
|
|
22
23
|
import {
|
|
23
24
|
TIMING_TOLERANCE_SECONDS,
|
|
24
25
|
resolveCompositionDuration
|
|
@@ -3758,7 +3759,7 @@ function trackKindOf(node) {
|
|
|
3758
3759
|
|
|
3759
3760
|
// ../lint/dist/index.js
|
|
3760
3761
|
import { createHash } from "crypto";
|
|
3761
|
-
import { existsSync as existsSync2,
|
|
3762
|
+
import { existsSync as existsSync2, readdirSync } from "fs";
|
|
3762
3763
|
import { dirname as dirname2, extname, join as join3, relative as relative2, resolve } from "path";
|
|
3763
3764
|
|
|
3764
3765
|
// ../parsers/dist/referenceResolver.js
|
|
@@ -11352,7 +11353,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11352
11353
|
let totalErrors = 0;
|
|
11353
11354
|
let totalWarnings = 0;
|
|
11354
11355
|
let totalInfos = 0;
|
|
11355
|
-
const rootHtml =
|
|
11356
|
+
const rootHtml = readTextFile(indexPath);
|
|
11356
11357
|
const projectFontFamilies = declaredProjectFontFamilies(
|
|
11357
11358
|
projectDir,
|
|
11358
11359
|
mountedSources(projectDir, rootHtml, rootCompSrcPath)
|
|
@@ -11388,7 +11389,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11388
11389
|
const files = collectHtmlFiles(compositionsDir, "").sort();
|
|
11389
11390
|
for (const file of files) {
|
|
11390
11391
|
const filePath = join3(compositionsDir, file);
|
|
11391
|
-
const html =
|
|
11392
|
+
const html = readTextFile(filePath);
|
|
11392
11393
|
const compSrcPath = `compositions/${file}`;
|
|
11393
11394
|
allHtmlSources.push({ html, compSrcPath });
|
|
11394
11395
|
if (isSnippetFragment(html)) continue;
|
|
@@ -11692,7 +11693,7 @@ function lintMultipleRootCompositions(projectDir) {
|
|
|
11692
11693
|
const rootCompositions = [];
|
|
11693
11694
|
for (const file of rootHtmlFiles) {
|
|
11694
11695
|
if (PAGES_OPENED_BESIDE_INDEX.has(file)) continue;
|
|
11695
|
-
const content =
|
|
11696
|
+
const content = readTextFile(join3(projectDir, file));
|
|
11696
11697
|
if (/data-composition-id/i.test(content)) {
|
|
11697
11698
|
rootCompositions.push(file);
|
|
11698
11699
|
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
round,
|
|
9
|
+
runFfmpeg
|
|
10
|
+
} from "./chunk-5X65O5WM.js";
|
|
11
|
+
|
|
12
|
+
// src/measure/drawn.ts
|
|
13
|
+
import { mkdtempSync, readFileSync, rmSync } from "fs";
|
|
14
|
+
import { tmpdir } from "os";
|
|
15
|
+
import { join } from "path";
|
|
16
|
+
var DRAWN_MIN_MEAN = 0.8;
|
|
17
|
+
var DRAWN_MIN_P05 = 0.65;
|
|
18
|
+
var INK_CONTRAST = 60;
|
|
19
|
+
var MATCH_COLOUR = 45;
|
|
20
|
+
var ALIGN = 3;
|
|
21
|
+
var MIN_INK = 30;
|
|
22
|
+
var MAX_FPS = 10;
|
|
23
|
+
function contrast(px, w, h) {
|
|
24
|
+
const bs = Math.max(4, Math.floor(Math.max(8, Math.floor(h / 2)) / 2));
|
|
25
|
+
const [gw, gh] = [Math.ceil(w / bs), Math.ceil(h / bs)];
|
|
26
|
+
const med = new Float32Array(gw * gh * 3);
|
|
27
|
+
const hist = new Uint32Array(256);
|
|
28
|
+
for (let by = 0; by < gh; by++)
|
|
29
|
+
for (let bx = 0; bx < gw; bx++) {
|
|
30
|
+
const [x0, x1] = [Math.max(0, (bx - 1) * bs), Math.min(w, (bx + 2) * bs)];
|
|
31
|
+
const [y0, y1] = [Math.max(0, (by - 1) * bs), Math.min(h, (by + 2) * bs)];
|
|
32
|
+
const half = (x1 - x0) * (y1 - y0) / 2;
|
|
33
|
+
for (let c = 0; c < 3; c++) {
|
|
34
|
+
hist.fill(0);
|
|
35
|
+
for (let y = y0; y < y1; y++)
|
|
36
|
+
for (let x = x0; x < x1; x++) hist[px[(y * w + x) * 3 + c]]++;
|
|
37
|
+
let [v, seen] = [0, 0];
|
|
38
|
+
while (v < 255 && seen + hist[v] < half) seen += hist[v++];
|
|
39
|
+
med[(by * gw + bx) * 3 + c] = v;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
const out = new Float32Array(w * h);
|
|
43
|
+
for (let y = 0; y < h; y++)
|
|
44
|
+
for (let x = 0; x < w; x++) {
|
|
45
|
+
const [o, m] = [(y * w + x) * 3, (Math.floor(y / bs) * gw + Math.floor(x / bs)) * 3];
|
|
46
|
+
out[y * w + x] = Math.hypot(
|
|
47
|
+
px[o] - med[m],
|
|
48
|
+
px[o + 1] - med[m + 1],
|
|
49
|
+
px[o + 2] - med[m + 2]
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
return out;
|
|
53
|
+
}
|
|
54
|
+
var inkOf = (px, w, h) => {
|
|
55
|
+
const c = contrast(px, w, h);
|
|
56
|
+
return Uint8Array.from(c, (v) => v > INK_CONTRAST ? 1 : 0);
|
|
57
|
+
};
|
|
58
|
+
function scoreDrawnFrame(a, b, w, h) {
|
|
59
|
+
const [ia, ib] = [inkOf(a, w, h), inkOf(b, w, h)];
|
|
60
|
+
const [na, nb] = [ia.reduce((s, v) => s + v, 0), ib.reduce((s, v) => s + v, 0)];
|
|
61
|
+
if (na + nb < MIN_INK) return { score: null, offset: [0, 0], inkOriginal: na, inkYours: nb };
|
|
62
|
+
let mostOverlappingShift = { iou: -1, dx: 0, dy: 0 };
|
|
63
|
+
for (let dy = -ALIGN; dy <= ALIGN; dy++)
|
|
64
|
+
for (let dx = -ALIGN; dx <= ALIGN; dx++) {
|
|
65
|
+
let [both, either] = [0, 0];
|
|
66
|
+
for (let y = 0; y < h; y++) {
|
|
67
|
+
const sy = y - dy;
|
|
68
|
+
for (let x = 0; x < w; x++) {
|
|
69
|
+
const sx = x - dx;
|
|
70
|
+
const vb = sy >= 0 && sy < h && sx >= 0 && sx < w ? ib[sy * w + sx] : 0;
|
|
71
|
+
const va = ia[y * w + x];
|
|
72
|
+
both += va & vb;
|
|
73
|
+
either += va | vb;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
const iou = either ? both / either : 0;
|
|
77
|
+
if (iou > mostOverlappingShift.iou) mostOverlappingShift = { iou, dx, dy };
|
|
78
|
+
}
|
|
79
|
+
const at = (x, y) => (Math.min(h - 1, Math.max(0, y)) * w + Math.min(w - 1, Math.max(0, x))) * 3;
|
|
80
|
+
const near = (p, o, q, x, y) => {
|
|
81
|
+
for (let ry = -1; ry <= 1; ry++)
|
|
82
|
+
for (let rx = -1; rx <= 1; rx++) {
|
|
83
|
+
const k = at(x + rx, y + ry);
|
|
84
|
+
if (Math.hypot(p[o] - q[k], p[o + 1] - q[k + 1], p[o + 2] - q[k + 2]) < MATCH_COLOUR)
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
return false;
|
|
88
|
+
};
|
|
89
|
+
let [hitA, hitB, inkA, inkB] = [0, 0, 0, 0];
|
|
90
|
+
for (let y = 0; y < h; y++)
|
|
91
|
+
for (let x = 0; x < w; x++) {
|
|
92
|
+
const i = y * w + x;
|
|
93
|
+
const [sx, sy] = [x - mostOverlappingShift.dx, y - mostOverlappingShift.dy];
|
|
94
|
+
const inB = sy >= 0 && sy < h && sx >= 0 && sx < w && ib[sy * w + sx] === 1;
|
|
95
|
+
if (ia[i]) {
|
|
96
|
+
inkA++;
|
|
97
|
+
if (near(a, i * 3, b, sx, sy)) hitA++;
|
|
98
|
+
}
|
|
99
|
+
if (inB) {
|
|
100
|
+
inkB++;
|
|
101
|
+
if (near(b, at(sx, sy), a, x, y)) hitB++;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
const [recall, precision] = [inkA ? hitA / inkA : 0, inkB ? hitB / inkB : 0];
|
|
105
|
+
return {
|
|
106
|
+
score: recall + precision ? 2 * recall * precision / (recall + precision) : 0,
|
|
107
|
+
offset: [0 - mostOverlappingShift.dx, 0 - mostOverlappingShift.dy],
|
|
108
|
+
inkOriginal: na,
|
|
109
|
+
inkYours: nb
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
var median = (v) => [...v].sort((x, y) => x - y)[v.length >> 1] ?? 0;
|
|
113
|
+
function drawnVerdict(box, window, frames) {
|
|
114
|
+
const head = { box, window, frames: frames.length };
|
|
115
|
+
const scored = frames.flatMap((f) => f.score === null ? [] : [f]);
|
|
116
|
+
if (!scored.length) return { ...head, pass: null };
|
|
117
|
+
const sorted = scored.map((f) => f.score).sort((x, y) => x - y);
|
|
118
|
+
const mean = sorted.reduce((s, v) => s + v, 0) / sorted.length;
|
|
119
|
+
const p05 = sorted[Math.min(sorted.length - 1, Math.floor(0.05 * sorted.length))];
|
|
120
|
+
const both = scored.filter((f) => f.inkOriginal >= MIN_INK && f.inkYours >= MIN_INK);
|
|
121
|
+
return {
|
|
122
|
+
...head,
|
|
123
|
+
pass: mean >= DRAWN_MIN_MEAN && p05 >= DRAWN_MIN_P05,
|
|
124
|
+
score: round(mean, 3),
|
|
125
|
+
p05: round(p05, 3),
|
|
126
|
+
offset: [median(scored.map((f) => f.offset[0])), median(scored.map((f) => f.offset[1]))],
|
|
127
|
+
...both.length ? { ink: round(median(both.map((f) => f.inkYours / f.inkOriginal)), 2) } : {}
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function readDrawn(clip, jobs, width, height) {
|
|
131
|
+
if (!jobs.length) return [];
|
|
132
|
+
const work = mkdtempSync(join(tmpdir(), "hf-diff-drawn-"));
|
|
133
|
+
try {
|
|
134
|
+
const tags = jobs.map((_, j) => `[d${j}]`).join("");
|
|
135
|
+
const graph = [
|
|
136
|
+
`[0:v]${[...clip.filters, "setsar=1", `scale=${width}:${height}:flags=bicubic`].join(",")},split=${jobs.length}${tags}`,
|
|
137
|
+
...jobs.map(({ box: [x, y, w, h], frames }, j) => {
|
|
138
|
+
const pick = frames.map((k) => `eq(n\\,${k})`).join("+");
|
|
139
|
+
return `[d${j}]select=${pick},crop=${w}:${h}:${x}:${y},format=rgb24[e${j}]`;
|
|
140
|
+
})
|
|
141
|
+
].join(";");
|
|
142
|
+
const outs = jobs.flatMap((_, j) => [
|
|
143
|
+
...["-map", `[e${j}]`, "-fps_mode", "passthrough", "-f", "rawvideo", `e${j}.rgb`]
|
|
144
|
+
]);
|
|
145
|
+
runFfmpeg([...clip.input, "-an", "-filter_complex", graph, ...outs], void 0, work);
|
|
146
|
+
return jobs.map(({ box: [, , w, h] }, j) => {
|
|
147
|
+
const raw = readFileSync(join(work, `e${j}.rgb`));
|
|
148
|
+
const size = w * h * 3;
|
|
149
|
+
const frames = [];
|
|
150
|
+
for (let i = 0; i + size <= raw.length; i += size) frames.push(raw.subarray(i, i + size));
|
|
151
|
+
return frames;
|
|
152
|
+
});
|
|
153
|
+
} finally {
|
|
154
|
+
rmSync(work, { recursive: true, force: true });
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
function drawnFrames(ks, fps, a, b, available) {
|
|
158
|
+
const stride = Math.max(1, Math.round(fps / MAX_FPS));
|
|
159
|
+
const inside = ks.flatMap(
|
|
160
|
+
(k, i) => i < available && k / fps >= a - 1e-6 && k / fps < b - 1e-6 ? [i] : []
|
|
161
|
+
);
|
|
162
|
+
let last = -Infinity;
|
|
163
|
+
return inside.filter((i) => {
|
|
164
|
+
if (ks[i] - last < stride) return false;
|
|
165
|
+
last = ks[i];
|
|
166
|
+
return true;
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export {
|
|
171
|
+
contrast,
|
|
172
|
+
inkOf,
|
|
173
|
+
scoreDrawnFrame,
|
|
174
|
+
drawnVerdict,
|
|
175
|
+
readDrawn,
|
|
176
|
+
drawnFrames
|
|
177
|
+
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2JBCK6DX.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-T5ELONXY.js";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YTQSLNIA.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6AEHVBMX.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-3QNN3TQ5.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -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-6AEHVBMX.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -8,24 +8,26 @@ import {
|
|
|
8
8
|
gotoWhenSent
|
|
9
9
|
} from "./chunk-R2C5EON5.js";
|
|
10
10
|
import {
|
|
11
|
-
pageNavigationTimeoutMs,
|
|
12
11
|
windowsChromeCrashRemediation
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-262C25DQ.js";
|
|
13
|
+
import {
|
|
14
|
+
pageNavigationTimeoutMs
|
|
15
|
+
} from "./chunk-WESIEW2M.js";
|
|
14
16
|
import {
|
|
15
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
16
18
|
} from "./chunk-YGGZ23BB.js";
|
|
17
19
|
import {
|
|
18
20
|
resolveCompositionViewportFromHtml
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2JBCK6DX.js";
|
|
20
22
|
import {
|
|
21
23
|
launchManagedBrowser,
|
|
22
24
|
resolveManagedGpuMode,
|
|
23
25
|
rethrowAfterBrowserCleanup
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GADKBSZ5.js";
|
|
25
27
|
import {
|
|
26
28
|
resolveLocalBrowserGpuMode,
|
|
27
29
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DW7W4J7D.js";
|
|
29
31
|
import {
|
|
30
32
|
c
|
|
31
33
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -33,7 +35,7 @@ import {
|
|
|
33
35
|
assertWebGpuAdapterAvailable,
|
|
34
36
|
compositionRequiresWebGpu,
|
|
35
37
|
oneProcessOverPipe
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7UKRCWBO.js";
|
|
37
39
|
import {
|
|
38
40
|
normalizeErrorMessage
|
|
39
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -141,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
141
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
142
144
|
});
|
|
143
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
144
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-KORQVG7O.js");
|
|
145
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
146
148
|
await waitForImagesReady(
|
|
147
149
|
page,
|
|
@@ -190,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
190
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
191
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
192
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
193
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-TFWT5G2L.js")).inProcessAnswer(url);
|
|
194
196
|
const noListen = answer !== void 0;
|
|
195
197
|
let chromeBrowser;
|
|
196
198
|
try {
|
|
@@ -201,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
201
203
|
options.onBrowserReady?.();
|
|
202
204
|
const page = await chromeBrowser.newPage();
|
|
203
205
|
await installPageFunctionGuard(page);
|
|
204
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-KORQVG7O.js");
|
|
205
207
|
await installMediaRenderIdBridge(page);
|
|
206
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
207
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -222,7 +224,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
222
224
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-ENFYM32B.js");
|
|
223
225
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
224
226
|
const puppeteer = await import("puppeteer-core");
|
|
225
|
-
const { buildChromeArgs } = await import("./src-
|
|
227
|
+
const { buildChromeArgs } = await import("./src-KORQVG7O.js");
|
|
226
228
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
227
229
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
228
230
|
let softwareWebGpu = false;
|
|
@@ -386,7 +388,10 @@ async function settleCompositionSeek(page, options = {}) {
|
|
|
386
388
|
},
|
|
387
389
|
{
|
|
388
390
|
videoFrames: options.waitForVideoFrames !== false,
|
|
389
|
-
timeoutMs:
|
|
391
|
+
timeoutMs: Math.min(
|
|
392
|
+
options.seekSettleTimeoutMs ?? SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
393
|
+
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
394
|
+
)
|
|
390
395
|
}
|
|
391
396
|
);
|
|
392
397
|
const animationFrameSettle = options.animationFrameSettle ?? "race";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3XYDZQJF.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XCGPPU32.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GR2T3BOX.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -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-A23K6P7L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2GTFW4MK.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-RRTQNBUH.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");
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Z257R7TN.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-3YDPEGQK.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|