hyperframes 0.9.28-alpha.1 → 0.9.28-alpha.3
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-YDZMFKR3.js → add-2URQQIBA.js} +6 -6
- package/dist/{agentPromptGenerator-AUXZZCIG.js → agentPromptGenerator-KUAYYWO6.js} +2 -2
- package/dist/{animatedGifPrep-2DYVIBA4.js → animatedGifPrep-YHL26WEO.js} +2 -2
- package/dist/api.js +25 -25
- package/dist/{asset-JHM3VF72.js → asset-HCD2BLQB.js} +2 -2
- package/dist/{assetCataloger-2OB46SVM.js → assetCataloger-MVXQQZ75.js} +3 -3
- package/dist/{audio-T6YSLT2D.js → audio-6QJ3GL3C.js} +12 -12
- package/dist/{auth-YSTRUKED.js → auth-EDZJ3MT2.js} +4 -4
- package/dist/{autoUpdate-VYRYBZG6.js → autoUpdate-CTR5PWXW.js} +2 -2
- package/dist/{avatars-UU53IDAK.js → avatars-GYNEMCGR.js} +10 -10
- package/dist/{backgroundChecks-FNACAOZD.js → backgroundChecks-NJU3QN6N.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-X2LCSMYD.js → beats-W4RFBOUR.js} +5 -5
- package/dist/{benchmark-4OB6M2FR.js → benchmark-P6GZPVGN.js} +7 -7
- package/dist/{billing-DC6ODLSG.js → billing-SJVMU6NW.js} +8 -8
- package/dist/{browser-PUJD4WCC.js → browser-PF75XPBT.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-7HQEKW2H.js → bundleWithLocalizedFonts-JWQWVFHI.js} +1 -1
- package/dist/{capture-PUB5WBLQ.js → capture-3ETLO2SU.js} +3 -3
- package/dist/{capture-IGQR6HTG.js → capture-TXVOMOW5.js} +8 -8
- package/dist/{captureCompositionFrame-JT6HGVU7.js → captureCompositionFrame-ATR3MGVH.js} +5 -5
- package/dist/{catalog-5NC5EV6Z.js → catalog-U77EUNJJ.js} +6 -6
- package/dist/{catch-up-6RJNWB5I.js → catch-up-AVI4OFUI.js} +5 -5
- package/dist/{check-FXZOPV3Y.js → check-ILOQ6U55.js} +21 -21
- package/dist/{checkAudio-VSHZXO4J.js → checkAudio-V7MML6PV.js} +4 -4
- package/dist/{checkBrowser-EOSAXIHJ.js → checkBrowser-PBSV5NVY.js} +15 -15
- package/dist/{chunk-WCPH2JRB.js → chunk-32I4NZK2.js} +5 -5
- package/dist/{chunk-COAB2OXQ.js → chunk-3HBPZDC5.js} +1 -1
- package/dist/{chunk-FF25S7ZC.js → chunk-3JUYFVA6.js} +1 -1
- package/dist/{chunk-63PVDQ6R.js → chunk-3NGJT53D.js} +2 -2
- package/dist/{chunk-N5TVFPYQ.js → chunk-3POKRSFX.js} +1 -1
- package/dist/{chunk-GNG7XNUY.js → chunk-4CDFXIZ6.js} +8 -8
- package/dist/{chunk-OPGYOHU6.js → chunk-573FI52M.js} +2 -2
- package/dist/{chunk-7D4PARGG.js → chunk-5FDUBFYY.js} +2 -2
- package/dist/{chunk-R6PUBUA4.js → chunk-5N6W4GQO.js} +1 -1
- package/dist/{chunk-FZUIGBYD.js → chunk-5UAD2INU.js} +3 -3
- package/dist/{chunk-QB2USW3R.js → chunk-66TX3YSC.js} +1 -1
- package/dist/{chunk-ALCP5OEW.js → chunk-7RCHIQ3M.js} +1 -1
- package/dist/{chunk-6RHKGQRA.js → chunk-7ROAOI5B.js} +2 -2
- package/dist/{chunk-MPC3L6A3.js → chunk-7SKMKYUN.js} +1 -1
- package/dist/{chunk-44LVKFXU.js → chunk-7ZMQ5UWA.js} +1 -1
- package/dist/{chunk-6ODX6SHY.js → chunk-ADEJBEXK.js} +2 -2
- package/dist/{chunk-WYA575QX.js → chunk-ANHSVTB5.js} +3 -3
- package/dist/{chunk-C6S2NYQ4.js → chunk-AWFUYC45.js} +3 -3
- package/dist/{chunk-CE765XG3.js → chunk-AXQ3AIWJ.js} +1 -1
- package/dist/{chunk-KCRVZA7B.js → chunk-BMVGUB47.js} +1 -1
- package/dist/{chunk-4TU5M4WX.js → chunk-BOJEX2L7.js} +18 -18
- package/dist/{chunk-3OKVZXTH.js → chunk-BYJK55AZ.js} +2 -2
- package/dist/{chunk-WFO2PDZD.js → chunk-CHZOSUIQ.js} +6 -6
- package/dist/{chunk-XOON4QRF.js → chunk-D7RP75MW.js} +1 -1
- package/dist/{chunk-FID757D3.js → chunk-DMW5SSUN.js} +1 -1
- package/dist/{chunk-JE2YBPC5.js → chunk-E6X7QZ2R.js} +2 -2
- package/dist/{chunk-7GZ4E5ID.js → chunk-ESFANENT.js} +4 -4
- package/dist/{chunk-L666J5OJ.js → chunk-EVDZY5KJ.js} +1 -1
- package/dist/{chunk-YFDCU6X5.js → chunk-FDXCC6Q2.js} +1 -1
- package/dist/{chunk-PSGS27VB.js → chunk-FHG3TCEG.js} +2 -2
- package/dist/{chunk-SCPMSSQW.js → chunk-FHX5ZUD6.js} +1 -1
- package/dist/{chunk-WXEXQLVV.js → chunk-FJ47CG4G.js} +1 -1
- package/dist/{chunk-O2JZ6C3S.js → chunk-FKC3PEAH.js} +1 -1
- package/dist/{chunk-37RCPDCR.js → chunk-FO56PXVZ.js} +1 -1
- package/dist/{chunk-2BSPL7YE.js → chunk-G7D4ZNR7.js} +2 -2
- package/dist/{chunk-Q5JJDC2L.js → chunk-GY6Y3WHB.js} +9 -3
- package/dist/{chunk-NVNKKVDH.js → chunk-HLUWSY3T.js} +1 -1
- package/dist/{chunk-GVBAVADJ.js → chunk-HRBDSUV3.js} +1 -1
- package/dist/{chunk-HPR2BPFS.js → chunk-HRUWWSX3.js} +2 -2
- package/dist/{chunk-ZMQYQHZU.js → chunk-IA3YCNBR.js} +1 -1
- package/dist/{chunk-4UBGQTAT.js → chunk-ILUJULKS.js} +4 -4
- package/dist/{chunk-YSIDK3VE.js → chunk-J326MYGR.js} +8 -8
- package/dist/{chunk-OJ5HAKL6.js → chunk-KATEPPQH.js} +2 -2
- package/dist/{chunk-UYVQDKGC.js → chunk-KFEFPEPM.js} +1 -1
- package/dist/{chunk-4J2J57RS.js → chunk-KHXSMOLH.js} +1 -1
- package/dist/{chunk-OUOZGJJF.js → chunk-LBFHN7RF.js} +4 -4
- package/dist/{chunk-XHP3V4WH.js → chunk-LMTWK4RJ.js} +8 -4
- package/dist/{chunk-QKAXPYTV.js → chunk-LPYBO2DJ.js} +18 -16
- package/dist/{chunk-2Q3Y7CI3.js → chunk-LSVQ5SIY.js} +7 -7
- package/dist/{chunk-36G3XDN6.js → chunk-LTKO3WG7.js} +2 -2
- package/dist/{chunk-CG65CRMP.js → chunk-LVPQ6DU7.js} +2 -2
- package/dist/{chunk-6UJOLK4G.js → chunk-LZGGXICP.js} +2 -2
- package/dist/{chunk-WOSVLHQH.js → chunk-M5HYR7K6.js} +1 -1
- package/dist/{chunk-JHSHEJU7.js → chunk-MAEYNUJ3.js} +2 -2
- package/dist/{chunk-QABQKJPY.js → chunk-MYVWPD27.js} +34 -18
- package/dist/{chunk-XLX7TDCI.js → chunk-OEV6G4YO.js} +9 -9
- package/dist/{chunk-DGXKMYIX.js → chunk-PGDDQYAT.js} +25 -6
- package/dist/{chunk-TYPFNWE6.js → chunk-PKXH54QZ.js} +1 -1
- package/dist/{chunk-W3XARNFW.js → chunk-RF232PSX.js} +1 -1
- package/dist/{chunk-5ROYFGQT.js → chunk-RHEJLC6N.js} +1 -1
- package/dist/{chunk-J5CDV66Q.js → chunk-SX4MVSZH.js} +4 -4
- package/dist/{chunk-4XGKXBYH.js → chunk-TIBZPYZE.js} +1 -1
- package/dist/{chunk-IADGTP5X.js → chunk-TJMNIDWR.js} +3 -3
- package/dist/{chunk-SXGLW3OW.js → chunk-TT5FD6OZ.js} +2 -2
- package/dist/{chunk-TLVXCOMV.js → chunk-TTADSQWR.js} +2 -2
- package/dist/{chunk-DFKD43CD.js → chunk-UT4SIAFF.js} +2 -2
- package/dist/{chunk-LSSUDIEM.js → chunk-UUGG6JGA.js} +5 -5
- package/dist/{chunk-KJ5QBEMN.js → chunk-V6YQXTLH.js} +4 -4
- package/dist/{chunk-XFE4R6I4.js → chunk-VNVN2FUS.js} +1 -1
- package/dist/{chunk-NHRLZESZ.js → chunk-WCBRC3WG.js} +1 -1
- package/dist/{chunk-QTDTCTGB.js → chunk-WSJAMC3T.js} +3 -3
- package/dist/{chunk-3BWFZFJK.js → chunk-XBAOLWYH.js} +9 -9
- package/dist/{chunk-VYEPG2N6.js → chunk-XIBIZZMP.js} +1 -1
- package/dist/{chunk-5YDJTVOQ.js → chunk-XSNEBJ73.js} +2 -2
- package/dist/{chunk-STTUDVAI.js → chunk-YDGASUVW.js} +1 -1
- package/dist/{chunk-GTZVTATR.js → chunk-YPOTTPZR.js} +1 -1
- package/dist/{clean-5WXYKIWX.js → clean-SARHMOVY.js} +7 -7
- package/dist/cli.js +61 -61
- package/dist/{cloud-TEJ6UVBU.js → cloud-DNSBPNMR.js} +5 -5
- package/dist/{cloud-X2ZPQOFN.js → cloud-LUU3ZHR5.js} +4 -4
- package/dist/{compare-URG6E3VF.js → compare-6JDCTWTP.js} +11 -11
- package/dist/{component-BE2ZLBPY.js → component-7D7B2NWE.js} +3 -3
- package/dist/{compositions-DJPSPCYI.js → compositions-ZVDX6RP3.js} +7 -7
- package/dist/{curve-I6CGCMG5.js → curve-KVKKQJH5.js} +6 -6
- package/dist/{cuts-TRTRMTCZ.js → cuts-AUZFLIZB.js} +7 -7
- package/dist/{delete-UMO7XCW3.js → delete-KHKXC534.js} +7 -7
- package/dist/{deploy-T2CETGFF.js → deploy-U3CWTSBO.js} +1 -1
- package/dist/{describeProject-AJ2SFRCN.js → describeProject-6ZNYY64B.js} +2 -2
- package/dist/{diff-KCVI66ZW.js → diff-OYNNRO2W.js} +23 -23
- package/dist/{doctor-UTIGHYSY.js → doctor-D4ND6RO4.js} +6 -6
- package/dist/{energy-PJUDIY2I.js → energy-JAVQ36RK.js} +7 -7
- package/dist/{events-HI2WDYGV.js → events-62EHXBX4.js} +3 -3
- package/dist/{events-P6Q6GB6K.js → events-6AJC67FF.js} +4 -4
- package/dist/{events-ZMFIRGW4.js → events-PV4XZ5HR.js} +9 -9
- package/dist/{execute-AUPUAYPW.js → execute-KHVNRXL6.js} +13 -13
- package/dist/{extract-4RYOD7LZ.js → extract-UGM5JHBM.js} +7 -7
- package/dist/{face-X3DR3L7V.js → face-TYDLQMZK.js} +7 -7
- package/dist/{feedback-WOE25OSG.js → feedback-ZMOQC5XR.js} +10 -10
- package/dist/{ffmpeg-N3LZ7XBX.js → ffmpeg-XO3AEHPQ.js} +2 -2
- package/dist/{figma-VPG54R3O.js → figma-LHDQHZU5.js} +3 -3
- package/dist/fontLocalizeCli.js +5 -5
- package/dist/{frames-VNQ5P43E.js → frames-LLHIDBAM.js} +8 -8
- package/dist/{generate-ZCTFKNNW.js → generate-54V4J25U.js} +16 -16
- package/dist/{get-K374EYQS.js → get-LH3RX3UL.js} +7 -7
- package/dist/{gpuPolicy-SAEOR4QY.js → gpuPolicy-654VRIL7.js} +2 -2
- package/dist/{grade-compare-UHNGFSNR.js → grade-compare-ZYBUOBNM.js} +12 -12
- package/dist/{heifImagePrep-R7NDS5FP.js → heifImagePrep-BW6IGMS7.js} +3 -3
- package/dist/{help-6DADTB2R.js → help-PJRE2SON.js} +1 -1
- package/dist/{history-2K4FPC4P.js → history-KZ2ELPVG.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-7NZB6ZUO.js → info-DAWHESL3.js} +9 -9
- package/dist/{init-UVGSTDBD.js → init-VKC4AJN3.js} +19 -19
- package/dist/{ink-3GBOCKAV.js → ink-6XAIT5DA.js} +7 -7
- package/dist/{inspect-XWAQWM2Y.js → inspect-MR35PSBT.js} +13 -13
- package/dist/{keyframes-7C6LAP5V.js → keyframes-IE34YAPB.js} +7 -7
- package/dist/{lambda-Y2BEBCDQ.js → lambda-XKAQOEJU.js} +3 -3
- package/dist/{layout-Z35EOSYQ.js → layout-6CGUHE2J.js} +13 -13
- package/dist/{lint-QU5JDQX3.js → lint-YM6ZM6FB.js} +7 -7
- package/dist/{list-6KUDG4X7.js → list-YAU6JJL2.js} +7 -7
- package/dist/{localPage-SM5JBV4M.js → localPage-R7MCKO6R.js} +2 -2
- package/dist/{login-XCR35XUC.js → login-NOF64SVY.js} +8 -8
- package/dist/{logout-AHGR3X5U.js → logout-ZM4PRRH4.js} +4 -4
- package/dist/{look-O452Y7XO.js → look-D7AUOPLC.js} +7 -7
- package/dist/{manager-GCFCVNYS.js → manager-XDDAGO2H.js} +3 -3
- package/dist/{measure-D54QYN6X.js → measure-Q5FRC4YG.js} +11 -11
- package/dist/{media-treatment-LPL2SZ7W.js → media-treatment-2W7JAWYD.js} +8 -8
- package/dist/{media-use-VL2EL53W.js → media-use-PM7INGGB.js} +6 -6
- package/dist/{models-YFFUQ757.js → models-N3JLDZGM.js} +6 -6
- package/dist/{motionShot-QHWXLUJM.js → motionShot-B2TNART6.js} +7 -7
- package/dist/{normalize-audio-72PTXCD7.js → normalize-audio-ERJRLHIA.js} +5 -5
- package/dist/{oauth-KUPQUH6E.js → oauth-BYPPW7CF.js} +2 -2
- package/dist/{open-BLPP4OPX.js → open-MGXHROBR.js} +5 -5
- package/dist/{parakeetRunner-3A66RNGS.js → parakeetRunner-PUCIZXZO.js} +7 -7
- package/dist/{pipeline-BFMEIMNZ.js → pipeline-I22NFVOG.js} +5 -5
- package/dist/{plan-2MKSJEUW.js → plan-4DV6AJDW.js} +9 -9
- package/dist/{play-KG2B7KMX.js → play-BLETQGIP.js} +5 -5
- package/dist/{preflight-YNGNNHZC.js → preflight-S4NNA7ZW.js} +3 -3
- package/dist/{present-WGQEDRXJ.js → present-NRN7DMAQ.js} +5 -5
- package/dist/{preview-JM6GYVIL.js → preview-ZW5MZZGO.js} +9 -9
- package/dist/{probe-B5H6PBIG.js → probe-SG7P5QEH.js} +7 -7
- package/dist/{producer-QIHOQ53I.js → producer-QMKI4WBJ.js} +1 -1
- package/dist/{publish-CYPJA7T7.js → publish-YQRKGMV5.js} +6 -6
- package/dist/{refresh-TB4TNH7R.js → refresh-NVHGLLG5.js} +4 -4
- package/dist/{remove-background-MHKW4EBR.js → remove-background-ZLWNUKJE.js} +6 -6
- package/dist/{render-RTPE3OBI.js → render-3E6VKS27.js} +21 -21
- package/dist/{render-F35USXZA.js → render-PRQVW6ZQ.js} +18 -18
- package/dist/{reverse-BEQHRYSZ.js → reverse-LYMAD6FA.js} +1 -1
- package/dist/{run-EVZGKUEX.js → run-RUV2RRZA.js} +5 -5
- package/dist/{screenshotCapture-4NDEWYCU.js → screenshotCapture-TTAS67KE.js} +2 -2
- package/dist/{service-XCT7W4PQ.js → service-GC4LOJAG.js} +9 -9
- package/dist/{share-KRKP6VYV.js → share-JO6UNQWN.js} +19 -15
- package/dist/{sherpa-MNU3ORFR.js → sherpa-XQAOSUON.js} +6 -6
- package/dist/{skills-3R6EC5PV.js → skills-3SU7ITZR.js} +7 -7
- package/dist/{skillsUpdateCheck-TRRXLL46.js → skillsUpdateCheck-KHWT5G4D.js} +3 -3
- package/dist/{snapshot-BYNK523M.js → snapshot-DSD6JNRM.js} +19 -19
- package/dist/{src-EZMBCQBY.js → src-EAGD7N5W.js} +4 -4
- package/dist/{src-FZ4EJHOK.js → src-IXGNXJC5.js} +1 -1
- package/dist/{start-FRPRXMEN.js → start-FDTADWED.js} +14 -14
- package/dist/{staticProjectServer-FF6IBUD6.js → staticProjectServer-M3KUD2DD.js} +2 -2
- package/dist/{status-QZ7PKGAJ.js → status-5AS5THCS.js} +9 -9
- package/dist/studio/assets/{codec-DqodFzhT.js → codec-tGzNehh-.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D03oERxc.js → hyperframes-player-CZqZjTTG.js} +1 -1
- package/dist/studio/assets/{index-Cq2w6U13.css → index-BJTCbv8z.css} +1 -1
- package/dist/studio/assets/{index-9kcxLnm3.js → index-CPlYjedc.js} +1 -1
- package/dist/studio/assets/{index-DuOvEv27.js → index-DnpxF2Ut.js} +128 -128
- package/dist/studio/assets/{pausedVideoDecoder-pYFINB0c.js → pausedVideoDecoder-BrSGODzR.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studioServer-YZDNK3AO.js → studioServer-N3YSZZV2.js} +32 -30
- package/dist/{sync-6MHJVU4M.js → sync-PSEC44G3.js} +7 -7
- package/dist/{telemetry-CLB2O4ZK.js → telemetry-CY3O76DG.js} +4 -4
- package/dist/{templates-HFQXIAO2.js → templates-UIMRW7JX.js} +8 -8
- package/dist/{timeline-ORRCS7NO.js → timeline-7QK44G32.js} +8 -8
- package/dist/{tokens-OTBA5VQ3.js → tokens-RNX5HERR.js} +2 -2
- package/dist/{transcribe-EMXH7CGF.js → transcribe-3RMOQOZS.js} +5 -5
- package/dist/{transcribe-PJIFWND6.js → transcribe-ISXM2RUI.js} +18 -18
- package/dist/{update-RT6R53XR.js → update-EV7SWFYR.js} +8 -8
- package/dist/{updateCheck-LSLLTUFX.js → updateCheck-QIPYLO7G.js} +2 -2
- package/dist/{upgrade-SSPKJYOW.js → upgrade-QI7RTHGI.js} +3 -3
- package/dist/{urlDownloader-FTYUJP2D.js → urlDownloader-Y2JQFUBB.js} +1 -1
- package/dist/{validate-SN2JDYNN.js → validate-VJDRE4WN.js} +12 -12
- package/dist/{video-Z522PCEM.js → video-DQMAFWXM.js} +3 -3
- package/dist/{voices-AQWUK6GK.js → voices-C5HXKNZY.js} +14 -14
- package/dist/warmCheck.js +21 -21
- package/package.json +1 -1
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-573FI52M.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HLUWSY3T.js";
|
|
25
25
|
import {
|
|
26
26
|
openRangeEnd,
|
|
27
27
|
parseEncoderOptions
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
videoAudioId,
|
|
187
187
|
videoStartOnMediaTimeline,
|
|
188
188
|
writeCapturedFrame
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-LMTWK4RJ.js";
|
|
190
190
|
import {
|
|
191
191
|
assignBundledRuntimeCompositionIds,
|
|
192
192
|
emitMountedModuleScripts,
|
|
@@ -459,7 +459,9 @@ function createConsoleLogger(level = "info") {
|
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
var defaultLogger = createConsoleLogger(
|
|
462
|
+
var defaultLogger = createConsoleLogger(
|
|
463
|
+
process.env.HF_DEBUG_RENDER === "1" ? "debug" : "info"
|
|
464
|
+
);
|
|
463
465
|
|
|
464
466
|
// ../producer/src/services/fileServer.ts
|
|
465
467
|
var readFileAsync = promisify(readFile);
|
|
@@ -6678,7 +6680,7 @@ async function preflightCompositionAssetMediaTypes(input) {
|
|
|
6678
6680
|
|
|
6679
6681
|
// ../producer/src/services/htmlCompiler.ts
|
|
6680
6682
|
function logRemoteDownloadTelemetry(event) {
|
|
6681
|
-
defaultLogger.
|
|
6683
|
+
defaultLogger.debug("[Compiler] Remote asset download integrity", { ...event });
|
|
6682
6684
|
}
|
|
6683
6685
|
var INFERRED_MEDIA_DURATION_ATTR = "data-hf-inferred-duration";
|
|
6684
6686
|
function parseSubCompHtmlForValidity(html) {
|
|
@@ -7425,7 +7427,7 @@ ${safeText}
|
|
|
7425
7427
|
//# sourceURL=${new URL(src).href}
|
|
7426
7428
|
`;
|
|
7427
7429
|
el.replaceWith(inlineScript);
|
|
7428
|
-
defaultLogger.
|
|
7430
|
+
defaultLogger.debug(`[Compiler] Inlined CDN script: ${src}`);
|
|
7429
7431
|
} else {
|
|
7430
7432
|
if (download.reason instanceof ScriptIntegrityError) throw download.reason;
|
|
7431
7433
|
defaultLogger.warn(
|
|
@@ -7480,7 +7482,7 @@ function collectExternalAssets(html, projectDir) {
|
|
|
7480
7482
|
if (rewritten !== style) el.setAttribute("style", rewritten);
|
|
7481
7483
|
}
|
|
7482
7484
|
if (externalAssets.size > 0) {
|
|
7483
|
-
defaultLogger.
|
|
7485
|
+
defaultLogger.debug(
|
|
7484
7486
|
`[Compiler] Found ${externalAssets.size} asset(s) outside project directory, will copy to render output`
|
|
7485
7487
|
);
|
|
7486
7488
|
}
|
|
@@ -7527,7 +7529,7 @@ async function downloadAndRewriteUrls(urlSet, html, remoteDir, warnLabel, logLab
|
|
|
7527
7529
|
result = result.replaceAll(`"${url}"`, `"${relPath}"`).replaceAll(`'${url}'`, `'${relPath}'`);
|
|
7528
7530
|
if (extraRewrite) result = extraRewrite(result, url, relPath);
|
|
7529
7531
|
}
|
|
7530
|
-
defaultLogger.
|
|
7532
|
+
defaultLogger.debug(`[Compiler] ${logLabel} ${urlToLocal.size} to ${REMOTE_MEDIA_SUBDIR}/`);
|
|
7531
7533
|
return { html: result, remoteMediaAssets };
|
|
7532
7534
|
}
|
|
7533
7535
|
async function localizeRemoteMediaSources(html, downloadDir) {
|
|
@@ -7664,7 +7666,7 @@ async function inlineExternalFontStylesheets(html) {
|
|
|
7664
7666
|
${fontFaceBlocks.join("\n")}
|
|
7665
7667
|
</style>`;
|
|
7666
7668
|
result = result.replace(fullMatch, inlineStyle);
|
|
7667
|
-
defaultLogger.
|
|
7669
|
+
defaultLogger.debug("[Compiler] Inlined external @font-face rule(s)", {
|
|
7668
7670
|
count: fontFaceBlocks.length,
|
|
7669
7671
|
urlFingerprint: identity.urlFingerprint,
|
|
7670
7672
|
host: identity.host
|
|
@@ -7786,7 +7788,7 @@ async function embedLocalFontFaces(html, projectDir) {
|
|
|
7786
7788
|
const font = await readLocalFont(absPath);
|
|
7787
7789
|
if (font.kind === "file-backed") {
|
|
7788
7790
|
fileBackedAbsolutePaths.add(absPath);
|
|
7789
|
-
defaultLogger.
|
|
7791
|
+
defaultLogger.debug(
|
|
7790
7792
|
`[Compiler] Kept large local font file-backed: ${localPath} (> ${(MAX_LOCAL_FONT_DATA_URI_BYTES / 1024 / 1024).toFixed(1)} MB)`
|
|
7791
7793
|
);
|
|
7792
7794
|
embeddedPaths.add(localPath);
|
|
@@ -7794,7 +7796,7 @@ async function embedLocalFontFaces(html, projectDir) {
|
|
|
7794
7796
|
}
|
|
7795
7797
|
dataUri = await toDataUri(font.buffer, ext, { compressToWoff2: false });
|
|
7796
7798
|
dataUriByAbsolutePath.set(absPath, dataUri);
|
|
7797
|
-
defaultLogger.
|
|
7799
|
+
defaultLogger.debug(
|
|
7798
7800
|
`[Compiler] Embedded local font file: ${localPath} (${(font.buffer.length / 1024).toFixed(0)} KB \u2192 data URI)`
|
|
7799
7801
|
);
|
|
7800
7802
|
}
|
|
@@ -7829,7 +7831,7 @@ function rewriteUnresolvableGsapToCdn(html, projectDir, compSrcPath) {
|
|
|
7829
7831
|
if (/^https?:\/\//i.test(src)) return full;
|
|
7830
7832
|
if (exists(compSrcPath ? rewriteAssetPath(compSrcPath, src, exists) : src)) return full;
|
|
7831
7833
|
gsapDist ??= renderGsapDist();
|
|
7832
|
-
defaultLogger.
|
|
7834
|
+
defaultLogger.debug(`[Compiler] Rewriting missing gsap script: ${src} \u2192 ${gsapDist}${file}`);
|
|
7833
7835
|
return `${prefix}${gsapDist}${file}${suffix}`;
|
|
7834
7836
|
}
|
|
7835
7837
|
);
|
|
@@ -7947,7 +7949,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
7947
7949
|
timeoutMs: options.ffmpegProcessTimeout
|
|
7948
7950
|
});
|
|
7949
7951
|
if (preparedHeifImages.length > 0) {
|
|
7950
|
-
defaultLogger.
|
|
7952
|
+
defaultLogger.debug(`[Compiler] Converted ${preparedHeifImages.length} HEIC image(s) to JPEG`);
|
|
7951
7953
|
}
|
|
7952
7954
|
const gifSourceAssets = new Map(remoteImageAssets);
|
|
7953
7955
|
const {
|
|
@@ -7962,7 +7964,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
7962
7964
|
timeoutMs: options.ffmpegProcessTimeout
|
|
7963
7965
|
});
|
|
7964
7966
|
if (preparedGifs.length > 0) {
|
|
7965
|
-
defaultLogger.
|
|
7967
|
+
defaultLogger.debug(`[Compiler] Prepared ${preparedGifs.length} animated GIF input(s) as WebM`);
|
|
7966
7968
|
}
|
|
7967
7969
|
const embeddedHtml = await embedLocalFontFaces(htmlWithPreparedGifs, projectDir);
|
|
7968
7970
|
const { html, externalAssets } = collectExternalAssets(embeddedHtml, projectDir);
|
|
@@ -17603,7 +17605,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17603
17605
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17604
17606
|
if (probeResult.probeSession) {
|
|
17605
17607
|
try {
|
|
17606
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17608
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-IXGNXJC5.js");
|
|
17607
17609
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17608
17610
|
} catch (err) {
|
|
17609
17611
|
log.warn("[plan] probe session close failed", {
|
|
@@ -21018,7 +21020,7 @@ function startServer(options = {}) {
|
|
|
21018
21020
|
});
|
|
21019
21021
|
async function shutdown(signal) {
|
|
21020
21022
|
log.info(`Received ${signal}, shutting down`);
|
|
21021
|
-
const { drainBrowserPool } = await import("./src-
|
|
21023
|
+
const { drainBrowserPool } = await import("./src-IXGNXJC5.js");
|
|
21022
21024
|
await drainBrowserPool().catch(() => {
|
|
21023
21025
|
});
|
|
21024
21026
|
const handle = await Promise.race([
|
|
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7RCHIQ3M.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XSNEBJ73.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CHZOSUIQ.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RF232PSX.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5UAD2INU.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7SKMKYUN.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-IA3YCNBR.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-MCDNAIFF.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DMW5SSUN.js";
|
|
16
16
|
import {
|
|
17
17
|
getInvocationId
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-F5QBIIFT.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7ROAOI5B.js";
|
|
47
47
|
|
|
48
48
|
// src/telemetry/transport.ts
|
|
49
49
|
import { spawn } from "child_process";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LMTWK4RJ.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-IXGNXJC5.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-D7RP75MW.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-LMTWK4RJ.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VNVN2FUS.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-CY3O76DG.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6X7QZ2R.js";
|
|
10
10
|
import {
|
|
11
11
|
AuthClient,
|
|
12
12
|
apiBaseUrl,
|
|
13
13
|
refreshTokens
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJ47CG4G.js";
|
|
15
15
|
import {
|
|
16
16
|
resetTelemetryPostureCache,
|
|
17
17
|
trackEvent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LTKO3WG7.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthError,
|
|
21
21
|
ErrLoginChanged,
|
|
22
22
|
oauthEnvironment,
|
|
23
23
|
tokenEndpoint
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DMW5SSUN.js";
|
|
25
25
|
import {
|
|
26
26
|
readConfigFresh
|
|
27
27
|
} from "./chunk-F5QBIIFT.js";
|
|
@@ -1571,9 +1571,15 @@ var inTurn = journal.inTurn;
|
|
|
1571
1571
|
import { constants } from "fs";
|
|
1572
1572
|
import { lstat as lstat2, open as open2 } from "fs/promises";
|
|
1573
1573
|
import { join as join3 } from "path";
|
|
1574
|
+
var SourceIgnoreError = class extends Error {
|
|
1575
|
+
code = "invalid_source_ignore";
|
|
1576
|
+
};
|
|
1577
|
+
var scratch = (path4) => /(?:^|\/)[^/]+\.(?:log|swp)$/.test(path4);
|
|
1574
1578
|
async function readSourceIgnore(root) {
|
|
1575
1579
|
const file = join3(root, ".hyperframesignore");
|
|
1576
|
-
const invalid = () => new
|
|
1580
|
+
const invalid = () => new SourceIgnoreError(
|
|
1581
|
+
".hyperframesignore must be a regular file inside the project, smaller than 64 KiB."
|
|
1582
|
+
);
|
|
1577
1583
|
const handle = await open2(
|
|
1578
1584
|
file,
|
|
1579
1585
|
constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0)
|
|
@@ -1586,7 +1592,7 @@ async function readSourceIgnore(root) {
|
|
|
1586
1592
|
if (named) throw invalid();
|
|
1587
1593
|
return null;
|
|
1588
1594
|
});
|
|
1589
|
-
if (!handle) return
|
|
1595
|
+
if (!handle) return scratch;
|
|
1590
1596
|
let text;
|
|
1591
1597
|
try {
|
|
1592
1598
|
const [stat2, named] = await Promise.all([handle.stat(), lstat2(file)]);
|
|
@@ -1605,15 +1611,23 @@ async function readSourceIgnore(root) {
|
|
|
1605
1611
|
await handle.close();
|
|
1606
1612
|
}
|
|
1607
1613
|
const paths = text.split(/\r?\n/).map((line) => line.trim()).filter((line) => line && !line.startsWith("#"));
|
|
1608
|
-
const entries = paths.map(
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1614
|
+
const entries = paths.map(ignorePattern);
|
|
1615
|
+
return (path4) => scratch(path4) || entries.some((entry) => entry.test(path4));
|
|
1616
|
+
}
|
|
1617
|
+
function ignorePattern(entry) {
|
|
1618
|
+
const path4 = entry.replace(/\/$/, "");
|
|
1619
|
+
const invalid = () => new SourceIgnoreError(
|
|
1620
|
+
".hyperframesignore accepts project-relative paths or patterns with one * wildcard. Negation, traversal, and excluding index.html are not supported."
|
|
1621
|
+
);
|
|
1622
|
+
if (!validPatternPath(path4)) throw invalid();
|
|
1623
|
+
const escaped2 = path4.split("*").map((part) => part.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("[^/]*");
|
|
1624
|
+
const prefix = path4.includes("*") && !path4.includes("/") ? "(?:^|/)" : "^";
|
|
1625
|
+
const pattern = new RegExp(`${prefix}${escaped2}(?:/|$)`);
|
|
1626
|
+
if (pattern.test("index.html")) throw invalid();
|
|
1627
|
+
return pattern;
|
|
1628
|
+
}
|
|
1629
|
+
function validPatternPath(path4) {
|
|
1630
|
+
return !/[\\?![\]:]/.test(path4) && !path4.includes("\0") && !path4.split("/").some((part) => !part || part === "." || part === "..") && path4.split("*").length <= 2;
|
|
1617
1631
|
}
|
|
1618
1632
|
|
|
1619
1633
|
// ../share/src/projectSnapshot.mjs
|
|
@@ -3507,9 +3521,9 @@ async function prepareShareRender(dir) {
|
|
|
3507
3521
|
const id = randomUUID9();
|
|
3508
3522
|
const output = join8(folder, `${id}.mp4`);
|
|
3509
3523
|
const [{ createRenderPlan }, { executeRenderPlan }, render] = await Promise.all([
|
|
3510
|
-
import("./plan-
|
|
3511
|
-
import("./execute-
|
|
3512
|
-
import("./render-
|
|
3524
|
+
import("./plan-4DV6AJDW.js"),
|
|
3525
|
+
import("./execute-KHVNRXL6.js"),
|
|
3526
|
+
import("./render-3E6VKS27.js")
|
|
3513
3527
|
]);
|
|
3514
3528
|
const target = join8(stateFolder, "share-render.json");
|
|
3515
3529
|
const temporary = `${target}.${id}.tmp`;
|
|
@@ -3735,6 +3749,7 @@ export {
|
|
|
3735
3749
|
ReviewFailed,
|
|
3736
3750
|
reviewClient,
|
|
3737
3751
|
setReviewSite,
|
|
3752
|
+
ownerOf,
|
|
3738
3753
|
reviewRecord,
|
|
3739
3754
|
reviewStatus,
|
|
3740
3755
|
shareForReview,
|
|
@@ -3747,6 +3762,7 @@ export {
|
|
|
3747
3762
|
refreshReviewExport,
|
|
3748
3763
|
versionOnPage,
|
|
3749
3764
|
pendingReviewExport,
|
|
3765
|
+
SourceIgnoreError,
|
|
3750
3766
|
projectFingerprint2 as projectFingerprint,
|
|
3751
3767
|
shareContentFingerprint,
|
|
3752
3768
|
latestShareRender,
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4CDFXIZ6.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-MEVLYDL2.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KFEFPEPM.js";
|
|
19
19
|
import {
|
|
20
20
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KHXSMOLH.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HRUWWSX3.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PKXH54QZ.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
253
253
|
async function localizeRemoteAssets(html) {
|
|
254
254
|
let dir;
|
|
255
255
|
try {
|
|
256
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-QMKI4WBJ.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -276,7 +276,7 @@ async function validateInBrowser(project, opts) {
|
|
|
276
276
|
const projectDir = project.dir;
|
|
277
277
|
const { bundleToSingleHtml } = await import("./compiler-J43BE6LC.js");
|
|
278
278
|
const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-M3KUD2DD.js");
|
|
280
280
|
const { lintProject } = await import("./lintProject-Z6TG3Z34.js");
|
|
281
281
|
const lintResult = await lintProject(projectDir);
|
|
282
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
298
298
|
try {
|
|
299
299
|
const browser = await ensureBrowser();
|
|
300
300
|
const puppeteer = await import("puppeteer-core");
|
|
301
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-IXGNXJC5.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-654VRIL7.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -28,19 +28,19 @@ import {
|
|
|
28
28
|
signedInRequest,
|
|
29
29
|
turnOffReviewLink,
|
|
30
30
|
uncheckedSource
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MYVWPD27.js";
|
|
32
32
|
import {
|
|
33
33
|
apiBaseUrl
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FJ47CG4G.js";
|
|
35
35
|
import {
|
|
36
36
|
findFFprobe
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YDGASUVW.js";
|
|
38
38
|
import {
|
|
39
39
|
defaultClientId,
|
|
40
40
|
oauthEnvironment,
|
|
41
41
|
resolveClientId,
|
|
42
42
|
tokenEndpoint
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DMW5SSUN.js";
|
|
44
44
|
import {
|
|
45
45
|
CliUsageError
|
|
46
46
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -257,7 +257,11 @@ function createShareService(projectPath, progress = () => {
|
|
|
257
257
|
return { ...result, state: "processing", ready: false, url: null };
|
|
258
258
|
}
|
|
259
259
|
attempt.complete(result.ready, added);
|
|
260
|
-
return
|
|
260
|
+
return {
|
|
261
|
+
...result,
|
|
262
|
+
upToDate: isUnchangedUpdate(input, added, result),
|
|
263
|
+
updated: input.action === "update" && added
|
|
264
|
+
};
|
|
261
265
|
};
|
|
262
266
|
const uploadTarget = async (current, input, space) => {
|
|
263
267
|
const share = current ? await reviewStatus({ projectPath: dir, client }) : await shareForReview({
|
|
@@ -289,7 +293,16 @@ function createShareService(projectPath, progress = () => {
|
|
|
289
293
|
const mutate = async (input, attempt) => {
|
|
290
294
|
await auth.access();
|
|
291
295
|
attempt.authenticated();
|
|
292
|
-
|
|
296
|
+
let current = await readStatus(dir, client, void 0, attempt.recover);
|
|
297
|
+
if (current.share && changesAudience(input, current.share)) {
|
|
298
|
+
assertExistingIntent(current.share, { ...input, audience: void 0 });
|
|
299
|
+
const projectId = current.share.projectId;
|
|
300
|
+
await setReviewAccess({ projectPath: dir, client, change: { access: input.audience } });
|
|
301
|
+
current = await readStatus(dir, client, projectId);
|
|
302
|
+
assertExistingIntent(current.share, input);
|
|
303
|
+
attempt.retrieved();
|
|
304
|
+
return current;
|
|
305
|
+
}
|
|
293
306
|
assertExistingIntent(current.share, input);
|
|
294
307
|
if (retrievesExisting(current, input)) {
|
|
295
308
|
attempt.retrieved();
|
|
@@ -337,6 +350,12 @@ function createShareService(projectPath, progress = () => {
|
|
|
337
350
|
function hasFailedVersion(version) {
|
|
338
351
|
return Boolean(version.failure && !version.held);
|
|
339
352
|
}
|
|
353
|
+
function changesAudience(input, share) {
|
|
354
|
+
return input.action === "share" && Boolean(input.audience) && share.access !== input.audience;
|
|
355
|
+
}
|
|
356
|
+
function isUnchangedUpdate(input, added, result) {
|
|
357
|
+
return input.action === "update" && !added && Boolean(result.version.last?.current) && !result.pending;
|
|
358
|
+
}
|
|
340
359
|
|
|
341
360
|
export {
|
|
342
361
|
createShareService
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YDGASUVW.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HRUWWSX3.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LMTWK4RJ.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-IXGNXJC5.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TIBZPYZE.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LTKO3WG7.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-VU4EPKFI.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-W2ZTDOLV.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-XO3AEHPQ.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveCloudAuthHeaders,
|
|
9
9
|
resolveCloudBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WSJAMC3T.js";
|
|
11
11
|
import {
|
|
12
12
|
readProjectConfig
|
|
13
13
|
} from "./chunk-WIJGRX5X.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-HVW7ABXD.js";
|
|
17
17
|
import {
|
|
18
18
|
trackBillingCheckoutReturnRefused
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TIBZPYZE.js";
|
|
20
20
|
|
|
21
21
|
// src/heygen/plan.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RHEJLC6N.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RF232PSX.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TIBZPYZE.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LTKO3WG7.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|