hyperframes 0.9.23 → 0.9.26
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-5FVLVG3H.js → add-WBZDU6CI.js} +12 -12
- package/dist/{agentPromptGenerator-6T6SBKKW.js → agentPromptGenerator-HOH4K2AF.js} +7 -7
- package/dist/{animatedGifPrep-IM272TFX.js → animatedGifPrep-HEQTZMPU.js} +7 -7
- package/dist/api.js +29 -29
- package/dist/{asset-3M2XBSS7.js → asset-N2BCPNT3.js} +2 -2
- package/dist/{assetCataloger-RVMGNGZ2.js → assetCataloger-25DZ4ODD.js} +8 -8
- package/dist/{audio-JFO5YKQI.js → audio-3KDOOANX.js} +13 -13
- package/dist/{auth-SDZQ4GPW.js → auth-JPNSO223.js} +2 -2
- package/dist/{autoUpdate-R6DLK2HV.js → autoUpdate-SVH5VA46.js} +2 -2
- package/dist/{avatars-SZFBWUSM.js → avatars-UC6PUVKF.js} +11 -11
- package/dist/{backgroundChecks-TMXA5OCH.js → backgroundChecks-R7JQPFEL.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZY5OTISU.js → batchRender-QB3UD3S3.js} +4 -4
- package/dist/{beats-3NPXLTXG.js → beats-4LQCQYU4.js} +9 -9
- package/dist/{benchmark-RCHSGEWW.js → benchmark-NNGNQLPH.js} +9 -9
- package/dist/{billing-5Q5VDXB7.js → billing-EKSG2MIB.js} +11 -11
- package/dist/{browser-HRTWQ36R.js → browser-3CMPDGDK.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-YXEDVGWO.js → bundleWithLocalizedFonts-F6WSRFC6.js} +1 -1
- package/dist/{capture-J57DJPIQ.js → capture-PIRDJMFL.js} +14 -14
- package/dist/{capture-J3BHS724.js → capture-RRIOSJI7.js} +3 -3
- package/dist/{captureCompositionFrame-2CWS67BU.js → captureCompositionFrame-PHZ6UESC.js} +13 -13
- package/dist/{catalog-JYTILXQY.js → catalog-6U6DBW2A.js} +12 -12
- package/dist/{catch-up-WYQ6LBTZ.js → catch-up-CXGXBI5D.js} +7 -7
- package/dist/{check-CSQWXWZ5.js → check-4YZZDHXU.js} +39 -39
- package/dist/{checkAudio-KJC7BJRT.js → checkAudio-WOI7A4XF.js} +10 -10
- package/dist/{checkBrowser-FJANSFJ4.js → checkBrowser-ITUJDOQK.js} +33 -33
- package/dist/{chunk-N5PMTGPJ.js → chunk-33HKMP6U.js} +1 -1
- package/dist/{chunk-CNFOXC44.js → chunk-3PSPF7V7.js} +3 -3
- package/dist/{chunk-CUCP7FKH.js → chunk-43G3Z3HJ.js} +12 -0
- package/dist/{chunk-TLWBHLHW.js → chunk-46KZHKVZ.js} +2 -2
- package/dist/{chunk-NW4FE42M.js → chunk-4H65D2CK.js} +1 -1
- package/dist/{chunk-A3JYGVB5.js → chunk-4KQ53P4K.js} +5 -5
- package/dist/{chunk-LW6NSV6Q.js → chunk-4RPJGXWI.js} +1 -1
- package/dist/{chunk-XOLEQLVG.js → chunk-52C62IQX.js} +4 -4
- package/dist/{chunk-BDMR2NVH.js → chunk-52VJYQB4.js} +3 -3
- package/dist/{chunk-SHJKPHKH.js → chunk-52YPYXJT.js} +3 -3
- package/dist/{chunk-4K2DG4ZA.js → chunk-5FFQ7YED.js} +13 -13
- package/dist/{chunk-6L42JK4X.js → chunk-63SZ5FQL.js} +3 -3
- package/dist/{chunk-MI6H3QQ7.js → chunk-6AKETDJH.js} +3 -3
- package/dist/{chunk-S3ONFBQA.js → chunk-6DEXJHPV.js} +2 -2
- package/dist/{chunk-7ISFRXRU.js → chunk-6ELGYAFD.js} +2 -2
- package/dist/{chunk-DUKFDLEL.js → chunk-6YYNEN54.js} +34 -39
- package/dist/{chunk-N2WDPI5T.js → chunk-7H5SDDTD.js} +1 -1
- package/dist/{chunk-MZOPMN3K.js → chunk-7N5GNBYP.js} +2 -2
- package/dist/{chunk-5XQ3S73H.js → chunk-AIJMFLLS.js} +1 -1
- package/dist/{chunk-HZA3FFBP.js → chunk-ANV4RVES.js} +1 -1
- package/dist/{chunk-BRHU7HC7.js → chunk-BGCZSSZN.js} +4 -4
- package/dist/{chunk-526IPUN7.js → chunk-BO3R523I.js} +1 -1
- package/dist/{chunk-F4SVJCHT.js → chunk-BPFUMJPR.js} +3 -3
- package/dist/{chunk-2QPVEA4S.js → chunk-BWRANVIS.js} +3 -3
- package/dist/{chunk-4UJLMP7R.js → chunk-CF2MLHZJ.js} +2 -2
- package/dist/{chunk-PDBCKBWX.js → chunk-CIB4TEE4.js} +10 -10
- package/dist/{chunk-AXFYCH7S.js → chunk-CP7UNNLN.js} +1 -1
- package/dist/{chunk-WD56Y5HB.js → chunk-CT4R6NKU.js} +3 -3
- package/dist/{chunk-T4TE2MGA.js → chunk-CV3U4IKB.js} +2 -2
- package/dist/{chunk-V5ZFTU5Q.js → chunk-CYTQNTZM.js} +7 -7
- package/dist/{chunk-LW2BWM3V.js → chunk-DIUV6JDR.js} +2 -2
- package/dist/{chunk-CBBQ74SP.js → chunk-DJVONYVS.js} +1 -1
- package/dist/{chunk-AK5BLSZR.js → chunk-E3V2WHNZ.js} +1 -1
- package/dist/{chunk-MZHGYNPI.js → chunk-EOVICFGB.js} +2 -2
- package/dist/{chunk-PPOJMJR5.js → chunk-ETD6Z4CT.js} +34 -5
- package/dist/{chunk-4QRTTXE2.js → chunk-FLRTT7XS.js} +1 -1
- package/dist/{chunk-UNZXNS7D.js → chunk-FQSX2Y2N.js} +4 -4
- package/dist/{chunk-B5TFX2NQ.js → chunk-GS4EXK5R.js} +2 -2
- package/dist/{chunk-36V6IQ7A.js → chunk-HW4BZHWD.js} +1 -1
- package/dist/{chunk-4ABQ3BFW.js → chunk-I2I3ARUF.js} +1 -1
- package/dist/{chunk-QABKCLP4.js → chunk-I3XU2Q6N.js} +2 -2
- package/dist/{chunk-CNGL7ALP.js → chunk-I7P3G2EK.js} +2 -2
- package/dist/chunk-ITTVMZ32.js +5035 -0
- package/dist/{chunk-5FYGFKWD.js → chunk-IV3JATWQ.js} +168 -30
- package/dist/{chunk-PMDFDSFX.js → chunk-KGDXQ7KV.js} +1 -1
- package/dist/{chunk-AHSKMVRM.js → chunk-KVVFSUMG.js} +2 -2
- package/dist/{chunk-LPVWQDWN.js → chunk-LSAZKSQW.js} +1 -1
- package/dist/{chunk-WKZFMRR5.js → chunk-M56EN5Z5.js} +7 -7
- package/dist/{chunk-4UKKJMIY.js → chunk-MAU4K3YN.js} +1 -1
- package/dist/{chunk-K5XLYJCM.js → chunk-N66SKEU4.js} +1 -1
- package/dist/{chunk-CNG7GWYD.js → chunk-NBR3RFOK.js} +1 -1
- package/dist/{chunk-TGYIGRDT.js → chunk-O2YBW4AN.js} +7 -7
- package/dist/{chunk-YICA47KJ.js → chunk-OSMSO25W.js} +3 -3
- package/dist/{chunk-US2SO6O4.js → chunk-PKNU4DEG.js} +77 -11
- package/dist/{chunk-LLUKDUVS.js → chunk-PZ23EDA5.js} +1 -1
- package/dist/{chunk-LLD6KXIY.js → chunk-Q4IDT5XZ.js} +1 -1
- package/dist/{chunk-D67EC7S4.js → chunk-Q6HWIM5T.js} +1 -1
- package/dist/{chunk-CG22POZ7.js → chunk-QAH3I2PN.js} +2 -2
- package/dist/{chunk-AP523BFH.js → chunk-QNV4S6LE.js} +1 -1
- package/dist/{chunk-3AMBM4FR.js → chunk-RANSC2AP.js} +10 -10
- package/dist/{chunk-GTP3UFGU.js → chunk-RCK5GLYA.js} +2 -2
- package/dist/{chunk-2TNX4CF4.js → chunk-RG32F3XB.js} +1 -1
- package/dist/{chunk-EI2IBI7L.js → chunk-RKIRQ73U.js} +2 -2
- package/dist/{chunk-RKINAT4N.js → chunk-RTV6SDAW.js} +1 -1
- package/dist/{chunk-3ZGWXGIG.js → chunk-RXRL5CFO.js} +2 -2
- package/dist/{chunk-566KI2Y5.js → chunk-S73RS3QS.js} +2 -2
- package/dist/{chunk-OBZ4BBPD.js → chunk-SDNHWXXF.js} +15 -15
- package/dist/{chunk-TECE5Z2E.js → chunk-SMR2QBOB.js} +1 -1
- package/dist/{chunk-LCZBA6U6.js → chunk-SXYRNJBG.js} +1 -1
- package/dist/{chunk-TEPMNPZB.js → chunk-SYYF5SUA.js} +3 -3
- package/dist/{chunk-WYXBJVM2.js → chunk-TAJ4PPMZ.js} +1 -1
- package/dist/{chunk-ZUVIMTCY.js → chunk-TPMBPH73.js} +1 -1
- package/dist/{chunk-Q767J52D.js → chunk-U6JW263W.js} +2 -2
- package/dist/{chunk-JBF772XP.js → chunk-UPPOSWBD.js} +5 -5
- package/dist/{chunk-SUUX2YOC.js → chunk-VI5AG2YK.js} +6 -6
- package/dist/{chunk-J752ACSU.js → chunk-VK4PVFTZ.js} +1 -1
- package/dist/{chunk-SWY63JRI.js → chunk-W62GJ6S2.js} +3 -3
- package/dist/{chunk-F2D6TRVQ.js → chunk-WEH3EHVB.js} +2 -2
- package/dist/{chunk-ZGEUVIO7.js → chunk-XH34R2CM.js} +1 -1
- package/dist/{chunk-AZWWXL27.js → chunk-XNEAYK2D.js} +13 -8
- package/dist/{chunk-TG2F2JZM.js → chunk-XRLVFSPS.js} +2 -2
- package/dist/{chunk-5SNYXKDV.js → chunk-Y5IO3G5V.js} +10 -10
- package/dist/{chunk-LNKZDCL4.js → chunk-Y5NX2ID5.js} +1 -1
- package/dist/{chunk-7YXTS2X6.js → chunk-Y7N65M2H.js} +1 -1
- package/dist/{chunk-DENV5KPG.js → chunk-YNYNZ36R.js} +2 -2
- package/dist/{chunk-NWRCURZ7.js → chunk-YTF6LBWN.js} +2 -2
- package/dist/{chunk-4FJQ2VO5.js → chunk-ZERXFV4P.js} +2 -2
- package/dist/{chunk-VEGK6XIU.js → chunk-ZUGSYS6H.js} +1 -1
- package/dist/{clean-JKOIOXDP.js → clean-CESNOFW4.js} +18 -18
- package/dist/cli.js +60 -60
- package/dist/{cloud-WH7SIQTG.js → cloud-KNNA5NNC.js} +4 -4
- package/dist/{cloudrun-OBXR4QSI.js → cloudrun-VHHNITZU.js} +6 -6
- package/dist/{compare-CR22FHXU.js → compare-XWGZQA3A.js} +30 -30
- package/dist/{compiler-LPIEZ6SS.js → compiler-FQXZ5JHO.js} +4 -4
- package/dist/{component-C6HBHLRD.js → component-B6LFSLBU.js} +3 -3
- package/dist/{compositions-J3XOKHTO.js → compositions-525OPGMN.js} +11 -11
- package/dist/{curve-7BHM54UK.js → curve-DJ7O5S2Z.js} +11 -11
- package/dist/{cuts-3WDELHHT.js → cuts-3FEOKZF4.js} +12 -12
- package/dist/{delete-E44IMBN5.js → delete-NYTX5VAV.js} +2 -2
- package/dist/{deploy-BLSLQUA4.js → deploy-FMWJCCAE.js} +1 -1
- package/dist/{describeProject-IJWD57UO.js → describeProject-73BHU64A.js} +8 -8
- package/dist/{deterministicFonts-IXXU76SA.js → deterministicFonts-CEHTAMC7.js} +2 -2
- package/dist/{diff-BDFP42F2.js → diff-23KDGJCM.js} +29 -29
- package/dist/{dist-VAOM3QXB.js → dist-6FQKCYPL.js} +3 -3
- package/dist/{dist-5ITUK4AA.js → dist-AOXZZPN7.js} +2 -2
- package/dist/{dist-AE5FYPUB.js → dist-GQVNNVG3.js} +11 -11
- package/dist/{doctor-KBFPCGRJ.js → doctor-XZ5HNJ6Q.js} +11 -11
- package/dist/{energy-Q4QPJCOA.js → energy-HGHY2XGU.js} +12 -12
- package/dist/{events-OSYG5UE6.js → events-EWQD3H2H.js} +13 -13
- package/dist/{events-IUT3YTRC.js → events-MLOHGLUP.js} +6 -6
- package/dist/{events-OUHYS3HE.js → events-UFPWOQGG.js} +2 -2
- package/dist/{extract-DXQVMKU7.js → extract-HMDTHBPW.js} +12 -12
- package/dist/{face-SB73M5NP.js → face-63Y52JXT.js} +12 -12
- package/dist/{feedback-DJEB7HIF.js → feedback-NX2BHXLA.js} +9 -9
- package/dist/{ffmpeg-RFVN6GF5.js → ffmpeg-Z5LJ5LYM.js} +7 -7
- package/dist/{figma-2YPOBVIY.js → figma-KRBH6NCD.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{frames-WZVVHWTZ.js → frames-L4GO5IOK.js} +13 -13
- package/dist/{generate-EEX3I3IC.js → generate-FYK2JEF7.js} +21 -21
- package/dist/{get-RZFSFN5L.js → get-6DBWZJIS.js} +2 -2
- package/dist/{gpuPolicy-IIA5RNJF.js → gpuPolicy-IZK7ETZ6.js} +7 -7
- package/dist/{grade-compare-EE5H2NV3.js → grade-compare-DMFIEWKO.js} +31 -31
- package/dist/{heifImagePrep-6YC7OAKR.js → heifImagePrep-WT26IRKU.js} +8 -8
- package/dist/{help-7TE35RSX.js → help-7GR3533A.js} +1 -1
- package/dist/{history-U56W2EAF.js → history-OMOIUDSV.js} +10 -10
- 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-7D2I276Q.js → info-E5AMEBHN.js} +13 -13
- package/dist/{init-YCU6BW6E.js → init-DRZP3T3W.js} +29 -29
- package/dist/{ink-EGRTMVAX.js → ink-63PXDACB.js} +12 -12
- package/dist/{inspect-77SIRVHR.js → inspect-XKB4JFEJ.js} +31 -31
- package/dist/{installer-4I5V43HA.js → installer-D7OH77IN.js} +5 -5
- package/dist/{keyframes-GOLLCPYX.js → keyframes-D4YUT6E3.js} +9 -9
- package/dist/{lambda-FVOT4GHS.js → lambda-S5GFZOKF.js} +12 -12
- package/dist/{layout-KHVZAWEF.js → layout-4N6AIQJB.js} +31 -31
- package/dist/{lint-KCRTDRJV.js → lint-7I6I4UHH.js} +10 -10
- package/dist/{lintProject-BC5ISNKQ.js → lintProject-KXOX5QXB.js} +2 -2
- package/dist/{list-IMGP2C4C.js → list-5PWGI2AA.js} +2 -2
- package/dist/{localPage-OGIFSJ2E.js → localPage-OGQ4OTTG.js} +7 -7
- package/dist/{login-BQSDSOAI.js → login-AT3RGU2L.js} +4 -4
- package/dist/{look-TCGZVIQY.js → look-GDIIZRBH.js} +12 -12
- package/dist/{manager-6BIDZMV7.js → manager-3VDQLCQM.js} +8 -8
- package/dist/{measure-TMZKGDLO.js → measure-KWM2A5QD.js} +11 -11
- package/dist/{media-treatment-566VGLCI.js → media-treatment-4QBXQ3D7.js} +13 -13
- package/dist/{media-use-BCGBCG5I.js → media-use-LMCTTAMZ.js} +3 -3
- package/dist/{models-6YCFLMBJ.js → models-C2DQQIH3.js} +11 -11
- package/dist/{motionShot-FNI7XRQS.js → motionShot-NUX22LWA.js} +16 -16
- package/dist/{normalize-audio-GUSEAHOX.js → normalize-audio-K6LDICR5.js} +9 -9
- package/dist/{open-5GEI3L27.js → open-VPKHBPWT.js} +12 -12
- package/dist/{parakeetRunner-GOJNQ2UM.js → parakeetRunner-E4534WW7.js} +12 -12
- package/dist/{pipeline-JXCWNBBV.js → pipeline-JUVHGTAC.js} +10 -10
- package/dist/{play-HF24VR3C.js → play-KBMGOUFL.js} +21 -21
- package/dist/{preflight-RWIRWH5R.js → preflight-2R2MAQIC.js} +8 -8
- package/dist/{present-5ZC6A4WB.js → present-MS6QCPUK.js} +17 -17
- package/dist/{preview-VOQF7DVE.js → preview-BDQMRB6I.js} +18 -18
- package/dist/{probe-QXP7GSF5.js → probe-2OXPOPVD.js} +12 -12
- package/dist/{producer-PCDPX3EJ.js → producer-PECYJ4WO.js} +1 -1
- package/dist/{projectConfig-4H5PLSLL.js → projectConfig-CZYM3VZF.js} +7 -7
- package/dist/{publication-FGTSFMGJ.js → publication-JIWSYWXN.js} +3 -3
- package/dist/{publish-AR6BP2DL.js → publish-ZKNUSOPR.js} +11 -11
- package/dist/{remove-background-CQYYHSF3.js → remove-background-VQ7SFKC5.js} +11 -11
- package/dist/{render-OJ7FUZQE.js → render-4UHIUXYW.js} +36 -36
- package/dist/{render-SAZBFJGS.js → render-753ERHTH.js} +6 -6
- package/dist/{render-OB7YKCXU.js → render-JIQF7TIY.js} +30 -27
- package/dist/{render-batch-FGJ63NQT.js → render-batch-7ZOJOEPJ.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-QMPLMIII.js → resolver-QQOL74GH.js} +5 -5
- package/dist/{reverse-2GQG35AJ.js → reverse-CC3GYBFW.js} +1 -1
- package/dist/{screenshotCapture-J5GZ54MU.js → screenshotCapture-2IJOZZTG.js} +8 -8
- package/dist/{sherpa-Z5J5NHCA.js → sherpa-GISX4B24.js} +11 -11
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +2 -2
- package/dist/skills/hyperframes-cli/references/preview-render.md +2 -0
- package/dist/{skills-ODN3IYJU.js → skills-VIC2VZZQ.js} +9 -9
- package/dist/{skillsUpdateCheck-7TXLIYIU.js → skillsUpdateCheck-SM7RAGJI.js} +3 -3
- package/dist/{snapshot-K6222U2D.js → snapshot-2ABRVH76.js} +38 -38
- package/dist/{src-H5SSAHTM.js → src-7HHPSUSN.js} +6 -6
- package/dist/{src-MLGLSGCL.js → src-OZI5O5QD.js} +10 -10
- package/dist/{start-LTIHIT5G.js → start-OJ2I4XZP.js} +19 -19
- package/dist/{staticProjectServer-EGY52C6V.js → staticProjectServer-4YDXULWX.js} +19 -19
- package/dist/{status-YWD6DQX6.js → status-DJEV6OOU.js} +11 -11
- package/dist/studio/assets/{codec-DYZ1sJnW.js → codec-BxQIoYb1.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BOxJo7Nx.js → hyperframes-player-CPnasNX6.js} +1 -1
- package/dist/studio/assets/{index-DKEq8iSv.js → index-BDQdyS01.js} +1 -1
- package/dist/studio/assets/{index-Ccf4_r8m.js → index-QCoqIBrS.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-B65VVvs_.js → pausedVideoDecoder-CUTtHVKV.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-D7V7L446.js → studio-api-Z3ZDQMO7.js} +11 -11
- package/dist/{studioServer-XJPIOJW7.js → studioServer-AYXFWMY2.js} +51 -51
- package/dist/{sync-AM5KGFYG.js → sync-ASO6S77T.js} +12 -12
- package/dist/{telemetry-YUVLFEWM.js → telemetry-AFCV2QLQ.js} +6 -6
- package/dist/{templates-DHSN2Q2L.js → templates-CII6AG7E.js} +11 -11
- package/dist/{timeline-KJVZBH33.js → timeline-DQ5DZUFL.js} +19 -19
- package/dist/{tokens-RGIF4GRS.js → tokens-JS2IMFGF.js} +2 -2
- package/dist/{transcribe-6RLTFWPI.js → transcribe-LH7S5HSM.js} +10 -10
- package/dist/{transcribe-TFLNFVC2.js → transcribe-WWKYZLEO.js} +23 -23
- package/dist/{update-NTEFXNIO.js → update-EE7PVVJY.js} +10 -10
- package/dist/{updateCheck-7H6DHZDB.js → updateCheck-KY2HRZZA.js} +2 -2
- package/dist/{upgrade-V4FNM3PE.js → upgrade-H266K5KB.js} +3 -3
- package/dist/{urlDownloader-X7GYEASD.js → urlDownloader-TRUJTJTT.js} +6 -6
- package/dist/{validate-5JBXRY3Y.js → validate-6RDVENOL.js} +25 -25
- package/dist/{video-7VNXU3D4.js → video-B6HLIKGZ.js} +8 -8
- package/dist/{voices-FNF5GRYK.js → voices-RQXHSMIG.js} +19 -19
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
- package/dist/chunk-UYZFQW63.js +0 -5035
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CP7UNNLN.js";
|
|
15
15
|
import {
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZERXFV4P.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XRLVFSPS.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-W62GJ6S2.js";
|
|
190
190
|
import {
|
|
191
191
|
assignBundledRuntimeCompositionIds,
|
|
192
192
|
emitMountedModuleScripts,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
parsesAsScript,
|
|
199
199
|
prepareFlattenedInnerRoot,
|
|
200
200
|
stripSdrPngColourTags
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-KVVFSUMG.js";
|
|
202
202
|
import {
|
|
203
203
|
collectScratchLeftovers,
|
|
204
204
|
removeScratch,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
redactTelemetryString,
|
|
227
227
|
resolveAuthoredTimingWindow,
|
|
228
228
|
toFps
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
230
230
|
import {
|
|
231
231
|
COMPOSITION_SOURCE_URL,
|
|
232
232
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -261,14 +261,14 @@ import {
|
|
|
261
261
|
sourceTimeAt,
|
|
262
262
|
styleElementsFor,
|
|
263
263
|
timeAtSourceTime
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-ITTVMZ32.js";
|
|
265
265
|
import {
|
|
266
266
|
chromeMajorCeiling
|
|
267
267
|
} from "./chunk-WE42NVH7.js";
|
|
268
268
|
import {
|
|
269
269
|
lintHyperframeHtml,
|
|
270
270
|
resolveReferencedStart
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-PZ23EDA5.js";
|
|
272
272
|
import {
|
|
273
273
|
isUnresolvedAssetPlaceholder,
|
|
274
274
|
readProjectFile,
|
|
@@ -307,7 +307,7 @@ import {
|
|
|
307
307
|
isAspectAgnosticResolutionAlias,
|
|
308
308
|
normalizeResolutionFlag,
|
|
309
309
|
suggestMatchingPreset
|
|
310
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
311
311
|
import {
|
|
312
312
|
parseHTML
|
|
313
313
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -538,9 +538,24 @@ function parseRangeHeader(header, size, contentType = "application/octet-stream"
|
|
|
538
538
|
const end = Math.min(requestedEnd, size - 1);
|
|
539
539
|
return { kind: "satisfiable", start, end };
|
|
540
540
|
}
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
541
|
+
var VIRTUAL_TIME_SHIM = String.raw`(function() {
|
|
542
|
+
if (window.__HF_VIRTUAL_TIME__) return;
|
|
543
|
+
|
|
544
|
+
var virtualNowMs = 0;
|
|
545
|
+
var rafId = 1;
|
|
546
|
+
var rafQueue = [];
|
|
547
|
+
var OriginalDate = Date;
|
|
548
|
+
var originalSetTimeout = window.setTimeout.bind(window);
|
|
549
|
+
var originalClearTimeout = window.clearTimeout.bind(window);
|
|
550
|
+
var originalSetInterval = window.setInterval.bind(window);
|
|
551
|
+
var originalClearInterval = window.clearInterval.bind(window);
|
|
552
|
+
var originalRequestAnimationFrame = window.requestAnimationFrame
|
|
553
|
+
? window.requestAnimationFrame.bind(window)
|
|
554
|
+
: null;
|
|
555
|
+
var originalCancelAnimationFrame = window.cancelAnimationFrame
|
|
556
|
+
? window.cancelAnimationFrame.bind(window)
|
|
557
|
+
: null;
|
|
558
|
+
|
|
544
559
|
// Seeded Math.random / crypto.getRandomValues, keyed by virtual time.
|
|
545
560
|
// Mulberry32: single uint32 state, deterministic, fast.
|
|
546
561
|
var rngState = 0;
|
|
@@ -582,26 +597,7 @@ function buildVirtualTimeShim(options) {
|
|
|
582
597
|
window.crypto.getRandomValues = __seededGetRandomValues;
|
|
583
598
|
} catch (e) {}
|
|
584
599
|
}
|
|
585
|
-
` : "";
|
|
586
|
-
const seekToTimeReseedCall = seedRandomFromFrame ? "reseedRngFromTime(safeTimeMs);\n " : "";
|
|
587
|
-
return String.raw`(function() {
|
|
588
|
-
if (window.__HF_VIRTUAL_TIME__) return;
|
|
589
600
|
|
|
590
|
-
var virtualNowMs = 0;
|
|
591
|
-
var rafId = 1;
|
|
592
|
-
var rafQueue = [];
|
|
593
|
-
var OriginalDate = Date;
|
|
594
|
-
var originalSetTimeout = window.setTimeout.bind(window);
|
|
595
|
-
var originalClearTimeout = window.clearTimeout.bind(window);
|
|
596
|
-
var originalSetInterval = window.setInterval.bind(window);
|
|
597
|
-
var originalClearInterval = window.clearInterval.bind(window);
|
|
598
|
-
var originalRequestAnimationFrame = window.requestAnimationFrame
|
|
599
|
-
? window.requestAnimationFrame.bind(window)
|
|
600
|
-
: null;
|
|
601
|
-
var originalCancelAnimationFrame = window.cancelAnimationFrame
|
|
602
|
-
? window.cancelAnimationFrame.bind(window)
|
|
603
|
-
: null;
|
|
604
|
-
${seededRandomBlock}
|
|
605
601
|
function flushAnimationFrame() {
|
|
606
602
|
if (!rafQueue.length) return;
|
|
607
603
|
var current = rafQueue.slice();
|
|
@@ -732,7 +728,8 @@ ${seededRandomBlock}
|
|
|
732
728
|
// page starts there keep the schedule a one-worker render gives them.
|
|
733
729
|
if (safeTimeMs > 0) seekToTime(0);
|
|
734
730
|
}
|
|
735
|
-
|
|
731
|
+
reseedRngFromTime(safeTimeMs);
|
|
732
|
+
fireDueTimers(safeTimeMs);
|
|
736
733
|
virtualNowMs = safeTimeMs;
|
|
737
734
|
flushAnimationFrame();
|
|
738
735
|
return virtualNowMs;
|
|
@@ -751,8 +748,6 @@ ${seededRandomBlock}
|
|
|
751
748
|
},
|
|
752
749
|
};
|
|
753
750
|
})();`;
|
|
754
|
-
}
|
|
755
|
-
var VIRTUAL_TIME_SHIM = buildVirtualTimeShim({ seedRandomFromFrame: false });
|
|
756
751
|
var RENDER_SEEK_MODE = process.env.PRODUCER_RUNTIME_RENDER_SEEK_MODE === "strict-boundary" ? "strict-boundary" : "preview-phase";
|
|
757
752
|
var RENDER_SEEK_DIAGNOSTICS = process.env.PRODUCER_DEBUG_SEEK_DIAGNOSTICS === "true";
|
|
758
753
|
var RENDER_SEEK_STEP = Math.max(
|
|
@@ -7760,7 +7755,7 @@ async function readLocalFont(absPath) {
|
|
|
7760
7755
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
7761
7756
|
}
|
|
7762
7757
|
async function embedLocalFontFaces(html, projectDir) {
|
|
7763
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
7758
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-CEHTAMC7.js");
|
|
7764
7759
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
7765
7760
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
7766
7761
|
let result = html;
|
|
@@ -16231,7 +16226,7 @@ async function measurePlanSecondsPerFrame(input) {
|
|
|
16231
16226
|
projectDir: compiledDir,
|
|
16232
16227
|
compiledDir,
|
|
16233
16228
|
port: 0,
|
|
16234
|
-
preHeadScripts: [
|
|
16229
|
+
preHeadScripts: [VIRTUAL_TIME_SHIM],
|
|
16235
16230
|
fps: fpsRatio
|
|
16236
16231
|
});
|
|
16237
16232
|
let session = null;
|
|
@@ -17609,7 +17604,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17609
17604
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17610
17605
|
if (probeResult.probeSession) {
|
|
17611
17606
|
try {
|
|
17612
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17607
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-7HHPSUSN.js");
|
|
17613
17608
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17614
17609
|
} catch (err) {
|
|
17615
17610
|
log.warn("[plan] probe session close failed", {
|
|
@@ -19123,7 +19118,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
|
|
|
19123
19118
|
projectDir: compiledDir,
|
|
19124
19119
|
compiledDir,
|
|
19125
19120
|
port: 0,
|
|
19126
|
-
preHeadScripts: [
|
|
19121
|
+
preHeadScripts: [VIRTUAL_TIME_SHIM],
|
|
19127
19122
|
// These dimensions are frozen by the controller from the render job, so
|
|
19128
19123
|
// chunk runtime seek quantization stays on the same fps grid as capture.
|
|
19129
19124
|
fps: { num: plan2.dimensions.fpsNum, den: plan2.dimensions.fpsDen }
|
|
@@ -21025,7 +21020,7 @@ function startServer(options = {}) {
|
|
|
21025
21020
|
});
|
|
21026
21021
|
async function shutdown(signal) {
|
|
21027
21022
|
log.info(`Received ${signal}, shutting down`);
|
|
21028
|
-
const { drainBrowserPool } = await import("./src-
|
|
21023
|
+
const { drainBrowserPool } = await import("./src-7HHPSUSN.js");
|
|
21029
21024
|
await drainBrowserPool().catch(() => {
|
|
21030
21025
|
});
|
|
21031
21026
|
const handle = await Promise.race([
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
29
29
|
import {
|
|
30
30
|
failCommand,
|
|
31
31
|
failUsage
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ANV4RVES.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CV3U4IKB.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-W62GJ6S2.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-7HHPSUSN.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 };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q6HWIM5T.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ITTVMZ32.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-OHQRQE7F.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
29
29
|
|
|
30
30
|
// ../studio-server/dist/chunk-6NHWQWUJ.js
|
|
31
31
|
import { execFile } from "child_process";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4RPJGXWI.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W62GJ6S2.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveNaturalMediaTimelineDuration,
|
|
23
23
|
resolveTimedImageDurationSeconds,
|
|
24
24
|
unitFloatToByte
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ITTVMZ32.js";
|
|
26
26
|
import {
|
|
27
27
|
COLOR_GROUP_ATTR,
|
|
28
28
|
COLOR_GROUP_TAG,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isTextElement,
|
|
45
45
|
keyframesToGsapAnimations,
|
|
46
46
|
serializeGsapAnimations
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
48
48
|
import {
|
|
49
49
|
parseHTML
|
|
50
50
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NBR3RFOK.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BWRANVIS.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BO3R523I.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CV3U4IKB.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6DEXJHPV.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-HOCC4J5C.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-W62GJ6S2.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-7HHPSUSN.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-4YDXULWX.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-7HHPSUSN.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-7HHPSUSN.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5IO3G5V.js";
|
|
10
10
|
import {
|
|
11
11
|
openRangeEnd
|
|
12
12
|
} from "./chunk-VEIGTKYZ.js";
|
|
13
13
|
import {
|
|
14
14
|
stripSdrPngColourTags
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KVVFSUMG.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ITTVMZ32.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -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-6DEXJHPV.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-W62GJ6S2.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MAU4K3YN.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XH34R2CM.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TPMBPH73.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-63SZ5FQL.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VK4PVFTZ.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6ELGYAFD.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-HOCC4J5C.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6AKETDJH.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HW4BZHWD.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// src/utils/bundleWithLocalizedFonts.ts
|
|
15
15
|
async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-FQXZ5JHO.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir, bundleOptions);
|
|
18
18
|
return localizeFonts(html);
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-PECYJ4WO.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-LP7B3JLC.js";
|
|
19
19
|
import {
|
|
20
20
|
projectIgnore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PZ23EDA5.js";
|
|
22
22
|
import {
|
|
23
23
|
CSS_URL_RE,
|
|
24
24
|
isNonRelativeUrl,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
decodeUrlPathVariants,
|
|
30
30
|
encodeUrlPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
32
32
|
import {
|
|
33
33
|
parseHTML
|
|
34
34
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -387,7 +387,7 @@ function addExternalAsset(ctx, absPath) {
|
|
|
387
387
|
if (existing) return existing;
|
|
388
388
|
const rel = relative(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
389
389
|
const stripped = rel.replace(/^(?:\.\.\/)+/, "");
|
|
390
|
-
let archivePath = `${EXT_ASSETS_PREFIX}/${stripped}
|
|
390
|
+
let archivePath = archiveKey(`${EXT_ASSETS_PREFIX}/${stripped}`);
|
|
391
391
|
if (ctx.usedArchivePaths.has(archivePath)) {
|
|
392
392
|
const ext = posix.extname(archivePath);
|
|
393
393
|
const base = archivePath.slice(0, archivePath.length - ext.length);
|
|
@@ -405,7 +405,7 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk)
|
|
|
405
405
|
for (const candidate of [resolvedPath, fromRoot]) {
|
|
406
406
|
const absPath = candidate.replace(/[?#].*$/, "");
|
|
407
407
|
if (!isPathInside(absPath, ctx.absProjectDir)) continue;
|
|
408
|
-
const rel = relative(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
408
|
+
const rel = archiveKey(relative(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
|
|
409
409
|
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return;
|
|
410
410
|
if (!existsSync2(absPath)) continue;
|
|
411
411
|
if (statSync(absPath).isFile()) {
|
|
@@ -563,6 +563,24 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
563
563
|
function buildPublishFileMap(projectDir) {
|
|
564
564
|
return stagePublishFiles(projectDir, Infinity);
|
|
565
565
|
}
|
|
566
|
+
var archiveKey = (path) => path.normalize("NFC");
|
|
567
|
+
function composeNamesInText(fileContents, filePaths) {
|
|
568
|
+
const names = /* @__PURE__ */ new Map();
|
|
569
|
+
for (const segment of filePaths.flatMap((path) => path.split("/"))) {
|
|
570
|
+
const composed = archiveKey(segment);
|
|
571
|
+
if (composed === segment) continue;
|
|
572
|
+
names.set(segment, composed);
|
|
573
|
+
names.set(encodeURIComponent(segment), encodeURIComponent(composed));
|
|
574
|
+
}
|
|
575
|
+
if (names.size === 0) return;
|
|
576
|
+
for (const [key, file] of fileContents) {
|
|
577
|
+
if (!Buffer.isBuffer(file) || !TEXT_FILE_EXTS.test(key)) continue;
|
|
578
|
+
let text = file.toString("utf-8");
|
|
579
|
+
const before = text;
|
|
580
|
+
for (const [from, to] of names) text = text.replaceAll(from, to);
|
|
581
|
+
if (text !== before) fileContents.set(key, Buffer.from(text, "utf-8"));
|
|
582
|
+
}
|
|
583
|
+
}
|
|
566
584
|
function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
567
585
|
const absProjectDir = resolve2(projectDir);
|
|
568
586
|
const filePaths = [];
|
|
@@ -573,9 +591,19 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
573
591
|
);
|
|
574
592
|
}
|
|
575
593
|
const fileContents = /* @__PURE__ */ new Map();
|
|
594
|
+
const diskPathOf = /* @__PURE__ */ new Map();
|
|
576
595
|
for (const filePath of filePaths) {
|
|
577
|
-
|
|
596
|
+
const key = archiveKey(filePath);
|
|
597
|
+
const clash = diskPathOf.get(key);
|
|
598
|
+
if (clash !== void 0) {
|
|
599
|
+
throw new Error(
|
|
600
|
+
`"${clash}" and "${filePath}" have the same name written in two Unicode forms and would overwrite each other in the archive. Rename one of them.`
|
|
601
|
+
);
|
|
602
|
+
}
|
|
603
|
+
diskPathOf.set(key, filePath);
|
|
604
|
+
fileContents.set(key, stageFile(join2(absProjectDir, filePath), onDiskMinBytes));
|
|
578
605
|
}
|
|
606
|
+
composeNamesInText(fileContents, filePaths);
|
|
579
607
|
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes);
|
|
580
608
|
return fileContents;
|
|
581
609
|
}
|
|
@@ -762,6 +790,7 @@ export {
|
|
|
762
790
|
rewriteHtmlAttributes,
|
|
763
791
|
rewriteStyleBlocks,
|
|
764
792
|
buildPublishFileMap,
|
|
793
|
+
archiveKey,
|
|
765
794
|
stagePublishFiles,
|
|
766
795
|
zipPublishFileMap,
|
|
767
796
|
getPublishApiBaseUrl,
|