hyperframes 0.9.35 → 0.9.37
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-T5XBJN7F.js → add-IQIHS7ZQ.js} +11 -11
- package/dist/{agentPromptGenerator-KYLYM7IC.js → agentPromptGenerator-PBF4MT4B.js} +7 -7
- package/dist/{animatedGifPrep-FLIPCLVQ.js → animatedGifPrep-7TU6NVDE.js} +7 -7
- package/dist/api.js +30 -30
- package/dist/{asset-PJLMPMBK.js → asset-4VSZJOKY.js} +2 -2
- package/dist/{assetCataloger-ZQ2PWA47.js → assetCataloger-PZJR537U.js} +8 -8
- package/dist/{audio-EBICH5EQ.js → audio-7PWVXSJ2.js} +13 -13
- package/dist/{auth-OTDAEZYD.js → auth-FZ6KZXCL.js} +2 -2
- package/dist/{autoUpdate-TQWOBFKJ.js → autoUpdate-7B7CD4CQ.js} +2 -2
- package/dist/{avatars-WRUDCHTJ.js → avatars-KNHYAOJ4.js} +11 -11
- package/dist/{backgroundChecks-AMPTVQY5.js → backgroundChecks-FH2UEVAI.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-SGTA6JAT.js → batchRender-OSW3B7A4.js} +3 -3
- package/dist/{beats-TLHZXD7W.js → beats-BW4A2LQ6.js} +9 -9
- package/dist/{benchmark-TAXHNW33.js → benchmark-L2WT64XD.js} +8 -8
- package/dist/{billing-GOHX7W6X.js → billing-PEFWMJYB.js} +10 -10
- package/dist/{browser-H7K5L7WE.js → browser-CZUTCLHK.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-6VWRV726.js → bundleWithLocalizedFonts-IZYW6FIV.js} +1 -1
- package/dist/{capture-WVJK3FNU.js → capture-G3OGRUAN.js} +3 -3
- package/dist/{capture-WJAV7DPT.js → capture-NCR2BPKV.js} +15 -15
- package/dist/{captureCompositionFrame-R2OQ5A4S.js → captureCompositionFrame-M2MTVFPY.js} +14 -14
- package/dist/{catalog-JKDKE3QA.js → catalog-EZP2RWMC.js} +11 -11
- package/dist/{catch-up-65YBZQSC.js → catch-up-IAGAFBUC.js} +6 -6
- package/dist/{check-XMNNDKNC.js → check-Y5ZDSFTL.js} +39 -39
- package/dist/{checkAudio-ITIWPYET.js → checkAudio-UPKSXM6O.js} +10 -10
- package/dist/{checkBrowser-MQHZWWLA.js → checkBrowser-E3JKBE6E.js} +33 -33
- package/dist/{chunk-EXMJ7JS5.js → chunk-23FXEJJT.js} +1 -1
- package/dist/{chunk-WWKU5VK7.js → chunk-275HEJWI.js} +1 -1
- package/dist/{chunk-47JK3BOK.js → chunk-2FY24OAX.js} +1 -1
- package/dist/{chunk-J54ZPEWO.js → chunk-2XMF3H4T.js} +1 -1
- package/dist/{chunk-S5FHA2NX.js → chunk-36P26ILD.js} +2 -2
- package/dist/{chunk-XODMUHGW.js → chunk-3GHXPNOB.js} +2 -2
- package/dist/{chunk-ZKGDIPMD.js → chunk-3RMYJGDR.js} +7 -7
- package/dist/{chunk-YUG4GVRH.js → chunk-3YWAA2CG.js} +2 -2
- package/dist/{chunk-7ZYTAHZ2.js → chunk-424M5ITI.js} +1 -1
- package/dist/{chunk-FJ4PIVGB.js → chunk-43KCJ64B.js} +9 -9
- package/dist/{chunk-BFXSMYNY.js → chunk-464YPKAD.js} +1 -1
- package/dist/{chunk-I5VIATAH.js → chunk-4RHBW4E7.js} +4 -4
- package/dist/{chunk-KLXPYLNA.js → chunk-57NAJJ2L.js} +2 -2
- package/dist/{chunk-NQE4NKVE.js → chunk-5I3EM64R.js} +1 -1
- package/dist/{chunk-5TAFQEKH.js → chunk-5KDBUZEB.js} +1 -1
- package/dist/{chunk-EIBERSJ2.js → chunk-64KB74WF.js} +13 -13
- package/dist/{chunk-LCK6C46G.js → chunk-6BRNC42U.js} +1 -1
- package/dist/{chunk-DVAKYHZN.js → chunk-6Q2FBJUF.js} +1 -1
- package/dist/{chunk-GHCG2KZD.js → chunk-6UQGCFPG.js} +2 -2
- package/dist/{chunk-2QM6JA3F.js → chunk-7E2IR5YL.js} +1 -1
- package/dist/{chunk-KCIZBYAS.js → chunk-A25ISJEK.js} +1 -1
- package/dist/{chunk-BHOEEMCW.js → chunk-AC7KSSDQ.js} +37 -17
- package/dist/{chunk-42KTBKL4.js → chunk-B54XQ7PG.js} +1 -1
- package/dist/{chunk-A3MH6DGU.js → chunk-BRTRZFR3.js} +7 -7
- package/dist/{chunk-G4CQIZZC.js → chunk-BZRQQI27.js} +20 -20
- package/dist/{chunk-7JCATDO6.js → chunk-CNAVFDUF.js} +3 -3
- package/dist/{chunk-EVMSNLUQ.js → chunk-D7NBFM36.js} +1 -1
- package/dist/{chunk-JN3N335Z.js → chunk-DHYYW7TY.js} +3 -3
- package/dist/{chunk-DYNIPOEN.js → chunk-DOKWEMRD.js} +5 -5
- package/dist/{chunk-SJGYWLHO.js → chunk-DPKNVEUN.js} +3 -3
- package/dist/{chunk-DLJ6ESP7.js → chunk-EEY2ZTO7.js} +5 -5
- package/dist/{chunk-NMQ26YZX.js → chunk-EYCOZTOP.js} +1 -1
- package/dist/{chunk-NQAXN2B2.js → chunk-FB52G27O.js} +1 -1
- package/dist/{chunk-ADAXA5XD.js → chunk-H23DEQUR.js} +10 -7
- package/dist/{chunk-SM36NR25.js → chunk-H7ECN5WE.js} +2 -2
- package/dist/{chunk-GT5REDGY.js → chunk-HOKYS2AJ.js} +2 -2
- package/dist/{chunk-KEUDODWJ.js → chunk-HQKQ7G6L.js} +1 -1
- package/dist/{chunk-46ZLBZPE.js → chunk-IB4TJZZM.js} +1 -1
- package/dist/{chunk-VQVA4FRS.js → chunk-IJNSVKFB.js} +3 -3
- package/dist/{chunk-R43U3RJ3.js → chunk-IL3VIGJ6.js} +2 -2
- package/dist/{chunk-GPERPLAQ.js → chunk-ILIYAYQJ.js} +1 -1
- package/dist/{chunk-OW5BBEVE.js → chunk-JCIWX3ZX.js} +1 -1
- package/dist/chunk-JJA4EMNO.js +58 -0
- package/dist/{chunk-IARWDMY7.js → chunk-JKUC7A3A.js} +1 -1
- package/dist/{chunk-CEBLQRYG.js → chunk-K3G3RYZY.js} +2 -2
- package/dist/{chunk-F645WHPZ.js → chunk-K7E6H4DR.js} +3 -3
- package/dist/{chunk-SWOE4NH4.js → chunk-KLDMFHQP.js} +6 -6
- package/dist/{chunk-LO74I6MZ.js → chunk-L2MAAYAE.js} +1 -1
- package/dist/{chunk-ZOL6363C.js → chunk-LGPEN7SE.js} +4 -4
- package/dist/{chunk-PHDEKHEN.js → chunk-LTB6C2S2.js} +1 -1
- package/dist/{chunk-K2Z6OXEI.js → chunk-MP4TEYUJ.js} +5 -0
- package/dist/{chunk-FYCI7NEH.js → chunk-N63ML5LM.js} +1 -1
- package/dist/{chunk-XKL3WQI2.js → chunk-NC7ZNIXW.js} +1 -1
- package/dist/{chunk-AU6UGZZ4.js → chunk-NL2BKQBO.js} +2 -2
- package/dist/{chunk-5OHPI5OR.js → chunk-NSUA7UGO.js} +3 -3
- package/dist/{chunk-RK3KWEOM.js → chunk-OFPYC4XF.js} +1 -1
- package/dist/{chunk-A2OQGUBL.js → chunk-OJEU6EGQ.js} +2 -2
- package/dist/{chunk-GUYH2XH2.js → chunk-OPMYN4QX.js} +5 -5
- package/dist/{chunk-X47GMPT2.js → chunk-OT2VLOPB.js} +2 -2
- package/dist/{chunk-Y6U6DDBC.js → chunk-OX73UETR.js} +4 -4
- package/dist/{chunk-4IPKEJPW.js → chunk-P3BHYHEJ.js} +1 -1
- package/dist/{chunk-PP6XMZXN.js → chunk-PK5I3C5A.js} +2 -2
- package/dist/{chunk-A2MYAIM3.js → chunk-PNJC2462.js} +7 -7
- package/dist/{chunk-RES7SNFU.js → chunk-PVC2IEBV.js} +14 -14
- package/dist/{chunk-KKIAPWVZ.js → chunk-RI4QWPMN.js} +3 -3
- package/dist/{chunk-SODOJ4CP.js → chunk-SEZQDAYP.js} +10 -10
- package/dist/{chunk-RZBPK4LO.js → chunk-SF2MHFM4.js} +1 -1
- package/dist/{chunk-MG6GU4FF.js → chunk-SURRJYN5.js} +1 -1
- package/dist/{chunk-VYARX4SV.js → chunk-TF3RW2VO.js} +3 -3
- package/dist/{chunk-SG4DOSAE.js → chunk-TJN27NAJ.js} +7 -7
- package/dist/{chunk-7SUMXO6L.js → chunk-TNQLOBHZ.js} +1 -1
- package/dist/{chunk-A3UI2LNA.js → chunk-UD3JHXDK.js} +2 -2
- package/dist/{chunk-AOZKUVTY.js → chunk-UVFK4ZJX.js} +4 -4
- package/dist/{chunk-NJF566HN.js → chunk-VDT2JIH2.js} +10 -10
- package/dist/{chunk-TORIKOIX.js → chunk-VIFUSDHT.js} +7 -7
- package/dist/{chunk-CI34E4VF.js → chunk-VJCGDSYU.js} +1 -1
- package/dist/{chunk-VX5JYR6N.js → chunk-VO7JX5MH.js} +1 -1
- package/dist/{chunk-MM5URNHE.js → chunk-VOP4S73F.js} +2 -2
- package/dist/{chunk-XAPVWRO5.js → chunk-VXTCMPNE.js} +2 -2
- package/dist/{chunk-UFWTTQ72.js → chunk-W6EIGNTX.js} +2 -2
- package/dist/{chunk-BTYCPOPD.js → chunk-WMNHHH4G.js} +2 -2
- package/dist/{chunk-5M43Z25X.js → chunk-WQJ5W4WM.js} +1 -1
- package/dist/{chunk-PIA7JBWF.js → chunk-X3QJIV5L.js} +3 -3
- package/dist/{chunk-NTVSXJHQ.js → chunk-XLUF4H7G.js} +1 -1
- package/dist/{chunk-QZFKLORI.js → chunk-XRWK2BXI.js} +3 -3
- package/dist/{chunk-H3DP5ELI.js → chunk-Y3VS2ULV.js} +1 -1
- package/dist/{chunk-ECYVLHZZ.js → chunk-Y47OUROH.js} +1 -1
- package/dist/{chunk-LQV2PMKI.js → chunk-YLKJSPO4.js} +4 -2
- package/dist/{chunk-A3CUI2S2.js → chunk-YUQC2PFF.js} +2 -2
- package/dist/{chunk-OYCKZZDC.js → chunk-ZHOC7WEG.js} +10 -10
- package/dist/{chunk-NABIUZRZ.js → chunk-ZMJMY5CR.js} +1 -1
- package/dist/{chunk-V4XLGSUL.js → chunk-ZPGODXXD.js} +1 -1
- package/dist/{chunk-BHPPJMXP.js → chunk-ZZH3BDBR.js} +2 -2
- package/dist/{clean-MTIRQX5P.js → clean-H7533JWH.js} +17 -17
- package/dist/cli.js +62 -62
- package/dist/{cloud-MWZ3SO3Z.js → cloud-SKP5HRF6.js} +4 -4
- package/dist/{cloudrun-7ZLJG5K7.js → cloudrun-DHM2JTF4.js} +4 -4
- package/dist/{compare-336QVVJC.js → compare-73KIXXO4.js} +30 -30
- package/dist/{compiler-HYZUBDAD.js → compiler-M72SGDOU.js} +4 -4
- package/dist/{component-NEPVQVDF.js → component-S36I7EO7.js} +3 -3
- package/dist/{compositions-5UXCOLME.js → compositions-A52NWBWZ.js} +11 -11
- package/dist/{curve-GDAFPSYA.js → curve-EVDIGJYH.js} +11 -11
- package/dist/{cuts-U5XZJLGG.js → cuts-F3FIOBTA.js} +12 -12
- package/dist/{delete-G4U723IG.js → delete-TDRI7D5U.js} +2 -2
- package/dist/{deploy-ZJ6GBOAW.js → deploy-JZB6L4J4.js} +2 -2
- package/dist/{describeProject-NOXO6HJS.js → describeProject-H36ODIUH.js} +8 -8
- package/dist/{destroy-ZYOIJW7D.js → destroy-WV6MWU2X.js} +2 -2
- package/dist/{diff-NZ7IBYWS.js → diff-NAG2HJBV.js} +29 -29
- package/dist/{dist-CF7A6UPR.js → dist-7HLUWFLO.js} +2 -2
- package/dist/{dist-I3WOJFIM.js → dist-E6EIPNKP.js} +2 -2
- package/dist/{dist-YSFMNDNF.js → dist-OM5EYFH7.js} +10 -10
- package/dist/{doctor-OAEXYBD5.js → doctor-VQ7ZUC5L.js} +11 -11
- package/dist/{energy-36Y2RVKN.js → energy-4MXJFKNG.js} +12 -12
- package/dist/{events-7MO6VYY5.js → events-C5QIPKS6.js} +5 -5
- package/dist/{events-OY5PAL44.js → events-RXRGHWXQ.js} +2 -2
- package/dist/{events-BN5A4QSC.js → events-YEM2QSWC.js} +13 -13
- package/dist/{execute-6QR32QHM.js → execute-OR5EMOBQ.js} +23 -23
- package/dist/{extract-GS4GFBJ4.js → extract-J5432KPU.js} +12 -12
- package/dist/{face-DXIURLMN.js → face-HXKBJG63.js} +12 -12
- package/dist/{feedback-L5B5D2H4.js → feedback-BHKFHVZA.js} +16 -11
- package/dist/{ffmpeg-RO3TC7DT.js → ffmpeg-VK4BG6KD.js} +7 -7
- package/dist/{figma-YSLP3NDJ.js → figma-SPZF4LB6.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-NNGPW5Q5.js → frames-RVL3EUMR.js} +13 -13
- package/dist/{generate-IYY5CQKF.js → generate-KMDMGHHQ.js} +21 -21
- package/dist/{get-GHTMJWAX.js → get-QOMTEU33.js} +2 -2
- package/dist/{gpuPolicy-UGUQTJXT.js → gpuPolicy-ZKTLDRVT.js} +7 -7
- package/dist/{grade-compare-HMQIS6CO.js → grade-compare-RUIBGR5N.js} +31 -31
- package/dist/{heifImagePrep-6CHEBOTB.js → heifImagePrep-EOEEK5ZL.js} +8 -8
- package/dist/{help-M6V73NMA.js → help-JM4PZD5K.js} +1 -1
- package/dist/{history-JLNS7C6E.js → history-MHSGJDAM.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-VHVWJBZ5.js → info-VZDNMGKV.js} +13 -13
- package/dist/{init-RAWSPX3T.js → init-H7J3LFXP.js} +27 -27
- package/dist/{ink-R2VCYLF3.js → ink-PZZ7VSVL.js} +12 -12
- package/dist/{inspect-ODGFUWRM.js → inspect-IK4BU2MQ.js} +31 -31
- package/dist/{installer-YAJDSTNZ.js → installer-2S27QSFN.js} +4 -4
- package/dist/{keyframes-MWS46OMG.js → keyframes-KLMHHNGZ.js} +9 -9
- package/dist/{lambda-EPIPZ62Q.js → lambda-3QKEQ4SO.js} +12 -12
- package/dist/{layout-IVOS3PHW.js → layout-HGL32QP2.js} +31 -31
- package/dist/{lint-G3XW5PVR.js → lint-IZJ3YYBY.js} +10 -10
- package/dist/{lintProject-L42FF7XI.js → lintProject-X7DFX2TQ.js} +2 -2
- package/dist/{list-25OWFBNT.js → list-BV5ZCZT7.js} +2 -2
- package/dist/{localPage-PAUE6E6K.js → localPage-SKD7BT3F.js} +7 -7
- package/dist/{login-EHL5EH3E.js → login-5EE4LETP.js} +4 -4
- package/dist/{look-H2AAYHQC.js → look-P7O2I4L2.js} +12 -12
- package/dist/{manager-T3FIJKIL.js → manager-CK7ICQLP.js} +8 -8
- package/dist/{measure-IAGLDGL2.js → measure-C4JEN64J.js} +11 -11
- package/dist/{media-treatment-F53Y4K2K.js → media-treatment-IGLDY62E.js} +13 -13
- package/dist/{media-use-7XRQIXDO.js → media-use-BAIFE26K.js} +3 -3
- package/dist/{models-UA72SFBG.js → models-QVVUPP4B.js} +11 -11
- package/dist/{motionShot-WRHPBYSX.js → motionShot-PFM6X5VE.js} +17 -17
- package/dist/{normalize-audio-6UO7T2NP.js → normalize-audio-WKSQSX26.js} +9 -9
- package/dist/{open-DVABOI2D.js → open-ZKBQRQRC.js} +11 -11
- package/dist/{parakeetRunner-IHEW335J.js → parakeetRunner-PIIIYEOE.js} +12 -12
- package/dist/{pipeline-SGJTBYFI.js → pipeline-AMEOOSDZ.js} +10 -10
- package/dist/{plan-IB2LZKFH.js → plan-2QUTC33A.js} +18 -18
- package/dist/{play-OSJU47PB.js → play-ECN4IJ3Y.js} +21 -21
- package/dist/{preflight-4UVA2SF4.js → preflight-N6HCWLZE.js} +8 -8
- package/dist/{present-6HRJ67G2.js → present-WNUBLYIS.js} +17 -17
- package/dist/{preview-ILIRTOIL.js → preview-2ETDMQIS.js} +18 -18
- package/dist/{probe-QJIEY5RM.js → probe-Y6IUEHFX.js} +12 -12
- package/dist/{producer-LUARVB5B.js → producer-UXWV4CHN.js} +1 -1
- package/dist/{projectConfig-CS4PKLO5.js → projectConfig-42S6NSDI.js} +6 -6
- package/dist/{publication-DQMOW7B4.js → publication-MECWWDCC.js} +2 -2
- package/dist/{publish-TSZA3TYC.js → publish-E24MR55T.js} +16 -13
- package/dist/{remove-background-URZDLZJ4.js → remove-background-5DQNPGJH.js} +11 -11
- package/dist/{render-RDFQDDZA.js → render-3ESNQDJD.js} +31 -27
- package/dist/{render-OHACUI7J.js → render-7IG344AZ.js} +5 -5
- package/dist/{render-3HONOYZE.js → render-NIS7ZYEN.js} +33 -33
- package/dist/{render-batch-EUKAQFHN.js → render-batch-E3I4LV2Z.js} +5 -5
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-BTUTJ26S.js → resolver-URT62PGD.js} +4 -4
- package/dist/{reverse-LTPJ6QRV.js → reverse-ZCMPUICN.js} +1 -1
- package/dist/{screenshotCapture-2VXR5FHK.js → screenshotCapture-2HZH2JOY.js} +9 -9
- package/dist/{service-47AZQ6EN.js → service-OGBH7FVE.js} +11 -11
- package/dist/{share-4JJK6QM6.js → share-TN3XE5KX.js} +14 -14
- package/dist/{sherpa-WDGLCJMP.js → sherpa-H3NQLN74.js} +11 -11
- package/dist/{skills-32PFTMRC.js → skills-MTBYCP4B.js} +8 -8
- package/dist/{skillsUpdateCheck-4YNSO2QT.js → skillsUpdateCheck-KG6HEEJA.js} +3 -3
- package/dist/{snapshot-L26W46YP.js → snapshot-SSV3EWLS.js} +38 -38
- package/dist/{src-SGZPUKDL.js → src-AUMP7PM3.js} +9 -9
- package/dist/{src-KJ7FMIH7.js → src-INXQLRPL.js} +6 -6
- package/dist/{start-77AN6NW5.js → start-E5DXVZLN.js} +19 -19
- package/dist/{staticProjectServer-RDXGUNKX.js → staticProjectServer-OPYEJ6YM.js} +18 -18
- package/dist/{status-BRVZZRTC.js → status-JGQXXKRJ.js} +10 -10
- package/dist/studio/assets/{codec-GKrIfefq.js → codec-BP7F-7Jx.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BUFkdSG-.js → hyperframes-player-_QnPoHup.js} +1 -1
- package/dist/studio/assets/{index-oGGylite.js → index-D6ePWUpc.js} +1 -1
- package/dist/studio/assets/{index-BzrZjoXW.js → index-tjhfci4N.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-VUkpOCb9.js → pausedVideoDecoder-B7U86zDa.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-UZHSY6PR.js → studio-api-3ACJFLTS.js} +10 -10
- package/dist/{studioServer-UOVV7CDW.js → studioServer-UIOYHVKP.js} +53 -53
- package/dist/{sync-74O4W75V.js → sync-3MYY7QEU.js} +12 -12
- package/dist/{telemetry-NB5MWICG.js → telemetry-EKXAUDKG.js} +5 -5
- package/dist/{templates-HOIYYCM2.js → templates-VUW7UNCH.js} +19 -10
- package/dist/{timeline-NUG347GZ.js → timeline-ZMF5PTN4.js} +18 -18
- package/dist/{tokens-TVAYON5K.js → tokens-NS5DNZZH.js} +2 -2
- package/dist/{transcribe-3RN5NRX6.js → transcribe-27X3WOAN.js} +10 -10
- package/dist/{transcribe-67A5YVQD.js → transcribe-DSQ7RAXO.js} +23 -23
- package/dist/{update-QEVNP7XN.js → update-PN63WGTI.js} +9 -9
- package/dist/{updateCheck-SZ6BPLHI.js → updateCheck-WL3FAMQ4.js} +2 -2
- package/dist/{upgrade-NFDDBX2T.js → upgrade-AUEZJWXS.js} +3 -3
- package/dist/{urlDownloader-Q7225DS7.js → urlDownloader-3B56VUJ2.js} +6 -6
- package/dist/{validate-IMI6OBMO.js → validate-LPKMHSD4.js} +25 -25
- package/dist/{video-K7UAJJLP.js → video-YVOBV3PT.js} +8 -8
- package/dist/{voices-K2GLTRAS.js → voices-5BWQ5DQR.js} +19 -19
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
- package/dist/chunk-U47ZNIUB.js +0 -26
|
@@ -5,9 +5,10 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
isPrivateCompositionFile,
|
|
9
|
+
isPrivateOutsideFile,
|
|
10
|
+
linksToPrivateOutsideFile
|
|
11
|
+
} from "./chunk-JJA4EMNO.js";
|
|
11
12
|
import {
|
|
12
13
|
refreshIfNeeded
|
|
13
14
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -24,7 +25,7 @@ import {
|
|
|
24
25
|
} from "./chunk-DMW5SSUN.js";
|
|
25
26
|
import {
|
|
26
27
|
projectIgnore
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YLKJSPO4.js";
|
|
28
29
|
import {
|
|
29
30
|
CSS_URL_RE,
|
|
30
31
|
isNonRelativeUrl,
|
|
@@ -136,7 +137,6 @@ import {
|
|
|
136
137
|
openSync,
|
|
137
138
|
readdirSync,
|
|
138
139
|
readFileSync as readFileSync2,
|
|
139
|
-
realpathSync,
|
|
140
140
|
statSync
|
|
141
141
|
} from "fs";
|
|
142
142
|
import AdmZip from "adm-zip";
|
|
@@ -409,7 +409,7 @@ function addExternalAsset(ctx, absPath) {
|
|
|
409
409
|
}
|
|
410
410
|
function staysOut(ctx, rel, absPath) {
|
|
411
411
|
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return true;
|
|
412
|
-
return isPrivateCompositionFile(ctx.absProjectDir, absPath);
|
|
412
|
+
return isPrivateCompositionFile(ctx.absProjectDir, absPath) || existsSync2(absPath) && linksToPrivateOutsideFile(ctx.absProjectDir, absPath);
|
|
413
413
|
}
|
|
414
414
|
function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk) {
|
|
415
415
|
const fromRoot = resolve2(ctx.absProjectDir, rawPath);
|
|
@@ -429,6 +429,12 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk)
|
|
|
429
429
|
}
|
|
430
430
|
var HARD_REFERENCES = /* @__PURE__ */ new Set(["video[src]", "audio[src]", "img[src]", "video[poster]"]);
|
|
431
431
|
var relativeToProject = (ctx, absPath) => encodeUrlPath(relative(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
|
|
432
|
+
function leaveOut(ctx, entryPath, rawPath) {
|
|
433
|
+
const warning = `${entryPath} references ${rawPath}, which is outside the project in a private location; it was left out of the upload.`;
|
|
434
|
+
if (ctx.leftOut.has(warning)) return;
|
|
435
|
+
ctx.leftOut.add(warning);
|
|
436
|
+
ctx.onLeftOut?.(warning);
|
|
437
|
+
}
|
|
432
438
|
function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
433
439
|
if (isPathInside(absPath, ctx.absProjectDir)) {
|
|
434
440
|
includeReferencedProjectFile(ctx, absPath, rawPath, options.requireOnDisk);
|
|
@@ -436,19 +442,23 @@ function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
|
436
442
|
}
|
|
437
443
|
try {
|
|
438
444
|
if (!existsSync2(absPath) || !statSync(absPath).isFile()) return void 0;
|
|
439
|
-
if (
|
|
445
|
+
if (isPrivateOutsideFile(ctx.absProjectDir, absPath)) {
|
|
446
|
+
leaveOut(ctx, options.entryPath, rawPath);
|
|
447
|
+
return void 0;
|
|
448
|
+
}
|
|
440
449
|
} catch {
|
|
441
450
|
return void 0;
|
|
442
451
|
}
|
|
443
452
|
return encodeUrlPath(addExternalAsset(ctx, absPath));
|
|
444
453
|
}
|
|
445
|
-
function tryResolveExternal(ctx, rawPath, referrerAbsDir, requireOnDisk = false) {
|
|
454
|
+
function tryResolveExternal(ctx, rawPath, referrerAbsDir, entryPath, requireOnDisk = false) {
|
|
446
455
|
const filesystemPath = isAbsolute(rawPath) && !rawPath.startsWith("//");
|
|
447
456
|
if (isNonRelativeUrl(rawPath) && !filesystemPath) return null;
|
|
448
457
|
const cut = filesystemPath ? rawPath.search(/[?#]/) : -1;
|
|
449
458
|
const [path, suffix] = cut < 0 ? [rawPath, ""] : [rawPath.slice(0, cut), rawPath.slice(cut)];
|
|
450
459
|
for (const variant of decodeUrlPathVariants(path)) {
|
|
451
460
|
const target = archiveTargetOf(ctx, resolve2(referrerAbsDir, variant), rawPath, {
|
|
461
|
+
entryPath,
|
|
452
462
|
requireOnDisk,
|
|
453
463
|
filesystemPath
|
|
454
464
|
});
|
|
@@ -529,6 +539,7 @@ function localizeHtmlEntry(ctx, entryPath, content) {
|
|
|
529
539
|
ctx,
|
|
530
540
|
val,
|
|
531
541
|
dir,
|
|
542
|
+
entryPath,
|
|
532
543
|
ref !== void 0 && HARD_REFERENCES.has(`${ref.tag}[${ref.attr}]`)
|
|
533
544
|
);
|
|
534
545
|
const attrsChanged = rewriteHtmlAttributes(document, referrerAbsDir, entryPath, resolveTarget, {
|
|
@@ -548,19 +559,21 @@ function localizeCssEntry(ctx, entryPath, content) {
|
|
|
548
559
|
css,
|
|
549
560
|
referrerAbsDir,
|
|
550
561
|
entryPath,
|
|
551
|
-
(val, dir) => tryResolveExternal(ctx, val, dir)
|
|
562
|
+
(val, dir) => tryResolveExternal(ctx, val, dir, entryPath)
|
|
552
563
|
);
|
|
553
564
|
if (result.modified) {
|
|
554
565
|
ctx.fileContents.set(entryPath, Buffer.from(result.css, "utf-8"));
|
|
555
566
|
}
|
|
556
567
|
}
|
|
557
|
-
function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = Infinity) {
|
|
568
|
+
function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = Infinity, onLeftOut) {
|
|
558
569
|
const ctx = {
|
|
559
570
|
absProjectDir,
|
|
560
571
|
fileContents,
|
|
561
572
|
onDiskMinBytes,
|
|
562
573
|
externalMap: /* @__PURE__ */ new Map(),
|
|
563
|
-
usedArchivePaths: /* @__PURE__ */ new Set()
|
|
574
|
+
usedArchivePaths: /* @__PURE__ */ new Set(),
|
|
575
|
+
leftOut: /* @__PURE__ */ new Set(),
|
|
576
|
+
onLeftOut
|
|
564
577
|
};
|
|
565
578
|
for (const [entryPath, content] of [...fileContents.entries()]) {
|
|
566
579
|
if (entryPath.startsWith(EXT_ASSETS_PREFIX + "/") || !Buffer.isBuffer(content)) continue;
|
|
@@ -572,8 +585,8 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
572
585
|
}
|
|
573
586
|
return ctx.externalMap.size;
|
|
574
587
|
}
|
|
575
|
-
function buildPublishFileMap(projectDir) {
|
|
576
|
-
return stagePublishFiles(projectDir, Infinity);
|
|
588
|
+
function buildPublishFileMap(projectDir, onLeftOut) {
|
|
589
|
+
return stagePublishFiles(projectDir, Infinity, onLeftOut);
|
|
577
590
|
}
|
|
578
591
|
var archiveKey = (path) => path.normalize("NFC");
|
|
579
592
|
function composeNamesInText(fileContents, filePaths) {
|
|
@@ -593,7 +606,7 @@ function composeNamesInText(fileContents, filePaths) {
|
|
|
593
606
|
if (text !== before) fileContents.set(key, Buffer.from(text, "utf-8"));
|
|
594
607
|
}
|
|
595
608
|
}
|
|
596
|
-
function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
609
|
+
function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut) {
|
|
597
610
|
const absProjectDir = resolve2(projectDir);
|
|
598
611
|
const filePaths = [];
|
|
599
612
|
collectProjectFiles(absProjectDir, absProjectDir, filePaths, projectIgnore(absProjectDir));
|
|
@@ -605,6 +618,12 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
605
618
|
const fileContents = /* @__PURE__ */ new Map();
|
|
606
619
|
const diskPathOf = /* @__PURE__ */ new Map();
|
|
607
620
|
for (const filePath of filePaths) {
|
|
621
|
+
if (linksToPrivateOutsideFile(absProjectDir, join2(absProjectDir, filePath))) {
|
|
622
|
+
onLeftOut?.(
|
|
623
|
+
`${filePath} links to a file outside the project in a private location; it was left out of the upload.`
|
|
624
|
+
);
|
|
625
|
+
continue;
|
|
626
|
+
}
|
|
608
627
|
const key = archiveKey(filePath);
|
|
609
628
|
const clash = diskPathOf.get(key);
|
|
610
629
|
if (clash !== void 0) {
|
|
@@ -616,7 +635,7 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
616
635
|
fileContents.set(key, stageFile(join2(absProjectDir, filePath), onDiskMinBytes));
|
|
617
636
|
}
|
|
618
637
|
composeNamesInText(fileContents, filePaths);
|
|
619
|
-
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes);
|
|
638
|
+
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes, onLeftOut);
|
|
620
639
|
return fileContents;
|
|
621
640
|
}
|
|
622
641
|
var ARCHIVE_ENTRY_TIME = new Date(1980, 0, 1, 0, 0, 0, 0);
|
|
@@ -633,8 +652,8 @@ function zipPublishFileMap(fileContents) {
|
|
|
633
652
|
fileCount: fileContents.size
|
|
634
653
|
};
|
|
635
654
|
}
|
|
636
|
-
function createPublishArchive(projectDir) {
|
|
637
|
-
return zipPublishFileMap(buildPublishFileMap(projectDir));
|
|
655
|
+
function createPublishArchive(projectDir, onLeftOut) {
|
|
656
|
+
return zipPublishFileMap(buildPublishFileMap(projectDir, onLeftOut));
|
|
638
657
|
}
|
|
639
658
|
function getPublishApiBaseUrl() {
|
|
640
659
|
return (process.env["HYPERFRAMES_PUBLISHED_PROJECTS_API_URL"] || process.env["HEYGEN_API_URL"] || "https://api2.heygen.com").replace(/\/$/, "");
|
|
@@ -805,6 +824,7 @@ export {
|
|
|
805
824
|
archiveKey,
|
|
806
825
|
stagePublishFiles,
|
|
807
826
|
zipPublishFileMap,
|
|
827
|
+
createPublishArchive,
|
|
808
828
|
getPublishApiBaseUrl,
|
|
809
829
|
publishProjectArchive
|
|
810
830
|
};
|