hyperframes 0.9.50 → 0.9.52
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-MHBYQHUR.js → add-Z6G2DLNE.js} +7 -7
- package/dist/{agentPromptGenerator-LJHTM6QS.js → agentPromptGenerator-RCTC2XXL.js} +10 -11
- package/dist/{animatedGifPrep-V5SQRWAT.js → animatedGifPrep-X7KILCDI.js} +6 -5
- package/dist/api.d.ts +1 -0
- package/dist/api.js +27 -26
- package/dist/{asset-2QF7W45V.js → asset-A3ENWWCU.js} +2 -2
- package/dist/{assetCataloger-HBGLL5OY.js → assetCataloger-TIMZTOYH.js} +5 -5
- package/dist/{audio-ERHWZM2O.js → audio-HMCUO2CV.js} +12 -12
- package/dist/{auth-JNM2N5FK.js → auth-NXR3QM4C.js} +2 -2
- package/dist/{autoUpdate-2A3PNPOQ.js → autoUpdate-TY7P2Z4F.js} +2 -2
- package/dist/{avatars-UXJM3YOF.js → avatars-36MYJUPA.js} +8 -8
- package/dist/{backgroundChecks-FM7JOSDW.js → backgroundChecks-EWWJEGF6.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-BAZOHGIS.js → beats-Z4B4B4KM.js} +7 -7
- package/dist/{benchmark-AWDTJZW2.js → benchmark-PLGO2THH.js} +9 -8
- package/dist/{billing-M7FIGUG3.js → billing-ZIXACCLR.js} +7 -6
- package/dist/{browser-BJBAMHOZ.js → browser-VZFBNASB.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-NWMD2BBQ.js → bundleWithLocalizedFonts-XD2XDEQL.js} +1 -1
- package/dist/{capture-GKI3WNTE.js → capture-BAFLHNDI.js} +28 -15
- package/dist/{capture-V3KIGAHK.js → capture-GC4F54XT.js} +4 -4
- package/dist/{captureCompositionFrame-C3QPXFZZ.js → captureCompositionFrame-YBVEFKWM.js} +7 -7
- package/dist/{catalog-5VRQXFNE.js → catalog-LHOCJUO2.js} +7 -7
- package/dist/{catch-up-IWRZL3T6.js → catch-up-6FNQ6I7Q.js} +7 -6
- package/dist/{check-3TTCBOR5.js → check-S7T5LE6V.js} +28 -27
- package/dist/{checkAudio-WNVIHTTH.js → checkAudio-AKOI4AWK.js} +7 -7
- package/dist/{checkBrowser-IQR4HWS6.js → checkBrowser-NABXGNNM.js} +22 -21
- package/dist/{chunk-HCPT6BJD.js → chunk-24M5C5EQ.js} +1 -1
- package/dist/{chunk-ZI5QVXG4.js → chunk-2AZMG6DR.js} +2 -2
- package/dist/{chunk-JQPR3J5V.js → chunk-2MNSS7PH.js} +2 -2
- package/dist/{chunk-GOZNQ2BU.js → chunk-42JBYXIQ.js} +9 -9
- package/dist/{chunk-QE2G4RUL.js → chunk-445BBSZS.js} +1 -1
- package/dist/{chunk-QLHNKVBG.js → chunk-4FWR7OE3.js} +4 -4
- package/dist/{chunk-CX5Y3TUU.js → chunk-4OHV7UZZ.js} +1 -1
- package/dist/{chunk-VNIVH2ZQ.js → chunk-5B425ZB3.js} +1 -1
- package/dist/{chunk-7H6NEDNA.js → chunk-64T46P7K.js} +2 -2
- package/dist/{chunk-PGY4WFKL.js → chunk-6NGJ55V5.js} +1 -1
- package/dist/{chunk-62R36CZW.js → chunk-6PXVXIC7.js} +21 -5
- package/dist/{chunk-G5M6MZPP.js → chunk-7GVHPY7W.js} +1 -1
- package/dist/{chunk-5SIOKBKO.js → chunk-7QM73IH2.js} +2 -2
- package/dist/chunk-7RLMDAUO.js +60 -0
- package/dist/{chunk-FLDJ5AYW.js → chunk-7SZ7QQJ3.js} +2 -2
- package/dist/{chunk-OHC6GZAK.js → chunk-7VQ3RAKO.js} +9 -9
- package/dist/{chunk-U4CJQ4AU.js → chunk-AMWWQXTC.js} +3 -3
- package/dist/{chunk-4OWHB6Y4.js → chunk-APT2TSYC.js} +1 -1
- package/dist/{chunk-CB3GR7GV.js → chunk-C66O6A2J.js} +2 -2
- package/dist/{chunk-AVBZSLK5.js → chunk-CDK23M57.js} +4 -4
- package/dist/{chunk-747XM6QN.js → chunk-CIGQUDEV.js} +2 -2
- package/dist/{chunk-DSKX5OD2.js → chunk-CIMOTEZB.js} +2 -2
- package/dist/{chunk-GVYDYPMK.js → chunk-CQ5VQNOD.js} +1 -1
- package/dist/{chunk-CGHWDZXR.js → chunk-DE7Q2LWF.js} +2 -2
- package/dist/{chunk-OUABE6YT.js → chunk-DYYAFCZH.js} +1 -1
- package/dist/{chunk-H6GW4MUA.js → chunk-E2KJT7JR.js} +2 -2
- package/dist/{chunk-YTO34UZE.js → chunk-ETXOQXWT.js} +4 -4
- package/dist/{chunk-CII7LO6I.js → chunk-G6QCHM2N.js} +1 -1
- package/dist/{chunk-7YKLBEIC.js → chunk-GEIWJSWN.js} +6 -6
- package/dist/{chunk-XP5X4TKU.js → chunk-H4S3WY2N.js} +1 -1
- package/dist/{chunk-T47SZ3SP.js → chunk-HLXZFHEY.js} +5 -5
- package/dist/{chunk-I4PWEIZK.js → chunk-HS7LT4PL.js} +1 -1
- package/dist/{chunk-D3UYYHU2.js → chunk-HT4FWRIT.js} +1 -1
- package/dist/{chunk-M3MXR3HG.js → chunk-I6SCA2ME.js} +22 -11
- package/dist/{chunk-S2Z46FMO.js → chunk-IB722ALN.js} +1 -1
- package/dist/{chunk-ULPGXTB4.js → chunk-IZQDQ5AN.js} +1 -1
- package/dist/{chunk-M2UX3RAP.js → chunk-J45SCYTD.js} +7 -7
- package/dist/{chunk-R76QWLJI.js → chunk-JJLPGVTA.js} +1 -1
- package/dist/{chunk-7CLDXOEJ.js → chunk-KLIVZ5VG.js} +2 -1
- package/dist/{chunk-WXNVVZCC.js → chunk-KUZTIMY3.js} +41 -16
- package/dist/{chunk-YYF4HKW5.js → chunk-L2KUIV56.js} +1 -1
- package/dist/chunk-L2U4ISSS.js +93 -0
- package/dist/{chunk-E2QJFCYC.js → chunk-L56WTLQP.js} +3 -3
- package/dist/{chunk-LSL3XC2T.js → chunk-LIPVGXPV.js} +4 -4
- package/dist/{chunk-A5LYBVBC.js → chunk-LNZHSISH.js} +9 -9
- package/dist/{chunk-LS2FSESG.js → chunk-LZTBL7SR.js} +66 -4
- package/dist/{chunk-ZX52DCZH.js → chunk-M4E7CMYS.js} +2 -2
- package/dist/{chunk-ZPMIIPDH.js → chunk-M6TIOPL5.js} +2 -2
- package/dist/{chunk-CIZB4MFK.js → chunk-MF53JVZ5.js} +1 -1
- package/dist/{chunk-W4JWPYLU.js → chunk-MQGRMXFN.js} +50 -11
- package/dist/{chunk-GWTNXGIH.js → chunk-NFRKPLTJ.js} +1 -1
- package/dist/{chunk-62LL7YPC.js → chunk-NQ3NHCF6.js} +2 -2
- package/dist/{chunk-5YF3NCZV.js → chunk-NXDFCWF2.js} +1 -1
- package/dist/{chunk-TW6S6A2B.js → chunk-O45HB74L.js} +20 -20
- package/dist/{chunk-DV5KH45B.js → chunk-P27QDOID.js} +1 -1
- package/dist/{chunk-UJRRUNWQ.js → chunk-P37ZACC6.js} +2 -2
- package/dist/{chunk-PNL7SMWV.js → chunk-POGZYVM2.js} +1 -1
- package/dist/{chunk-7W3MLVDC.js → chunk-PRG42HNH.js} +1 -1
- package/dist/{chunk-QIKIHGPS.js → chunk-QP7MQ43Y.js} +1 -1
- package/dist/{chunk-JHNICCT2.js → chunk-RIHRYTNB.js} +10 -10
- package/dist/{chunk-3LTJKGJQ.js → chunk-RMO7KIFX.js} +4 -4
- package/dist/{chunk-F7Z7UDAV.js → chunk-RULKJFRT.js} +1 -1
- package/dist/{chunk-2M7GGAXG.js → chunk-S5EMQAKL.js} +2 -2
- package/dist/{chunk-T44NTM2R.js → chunk-SQ64IEA7.js} +2 -2
- package/dist/{chunk-RJEX3RRW.js → chunk-TDQUQAW5.js} +2 -2
- package/dist/{chunk-ARIBOM26.js → chunk-TI7JN55F.js} +1 -1
- package/dist/{chunk-HYMWSWKM.js → chunk-U3LWQGCD.js} +7 -2
- package/dist/{chunk-4QRYBCP5.js → chunk-UB44XZOI.js} +1 -1
- package/dist/{chunk-QARZ5SCV.js → chunk-UFET7UTU.js} +2 -2
- package/dist/{chunk-NOSZSEN6.js → chunk-UIIQA7DN.js} +1 -1
- package/dist/{chunk-AOITLZJO.js → chunk-UX2KMUKC.js} +6 -2
- package/dist/{chunk-YIKOKVHE.js → chunk-VXX4S2PH.js} +26 -15
- package/dist/{chunk-I7UACFVY.js → chunk-WPC2FKNB.js} +10 -9
- package/dist/{chunk-37NCCCVV.js → chunk-WSZJS4QC.js} +5 -34
- package/dist/{chunk-NLHR5VAJ.js → chunk-X3IULMVV.js} +1 -1
- package/dist/{chunk-NLTJMUK6.js → chunk-XHUFLQGD.js} +1 -1
- package/dist/{chunk-TMAF33SA.js → chunk-YJFIGFON.js} +1 -1
- package/dist/{chunk-6Q7QF4UD.js → chunk-YPURY3MW.js} +2 -2
- package/dist/{chunk-KDT2WX7M.js → chunk-YXQA6MKA.js} +1 -1
- package/dist/{chunk-LRKSFIYI.js → chunk-YXR5MVBM.js} +2 -2
- package/dist/{chunk-ARREGNEF.js → chunk-ZG6BVWQ7.js} +4 -4
- package/dist/{chunk-Z5TKOD2D.js → chunk-ZGWOCGSJ.js} +2 -2
- package/dist/{chunk-XBD5NV2F.js → chunk-ZW6ZUKBB.js} +1 -1
- package/dist/{chunk-NYUTPQQ3.js → chunk-ZXMZSU5Y.js} +11 -11
- package/dist/{clean-BT36HK75.js → clean-Y6YIQRPM.js} +16 -15
- package/dist/cli.js +61 -61
- package/dist/{cloud-R2QOPFMH.js → cloud-A5U7YYNA.js} +4 -4
- package/dist/{compare-RUB5AIPD.js → compare-6XCTMUF3.js} +18 -17
- package/dist/{component-NBW4NP3J.js → component-JDQIZSAL.js} +3 -3
- package/dist/{compositions-FHO2G54H.js → compositions-HZDEOSRL.js} +9 -9
- package/dist/{curve-2MSCLXM7.js → curve-SE7ZAMI6.js} +8 -8
- package/dist/{cuts-ND6ZL5AI.js → cuts-AEFJGBFP.js} +9 -9
- package/dist/{delete-FMQCJAHX.js → delete-EQUQ7Z2K.js} +2 -2
- package/dist/{deploy-5UOYKYXF.js → deploy-NSLC6BYZ.js} +2 -2
- package/dist/{describeProject-OIK763B5.js → describeProject-FTJBPDL3.js} +4 -4
- package/dist/{destroy-MLAFCH6B.js → destroy-4O4T3KL3.js} +2 -2
- package/dist/{diff-KKJRQKFR.js → diff-VJ3CS7YE.js} +22 -22
- package/dist/{dist-UMYCC5T5.js → dist-MNFB4YKV.js} +5 -4
- package/dist/{doctor-5DILJANT.js → doctor-RR7SNO6X.js} +10 -10
- package/dist/{energy-BLU27H7G.js → energy-PN23W2UJ.js} +9 -9
- package/dist/{events-GRLM5BLQ.js → events-4ECJEB2W.js} +6 -5
- package/dist/{events-AXNHFZTY.js → events-5OLO73VJ.js} +11 -11
- package/dist/{events-35CZGWGO.js → events-NR6UPBHG.js} +5 -4
- package/dist/{execute-FRDHPWNT.js → execute-TS3BP65F.js} +17 -16
- package/dist/{extract-ILQCKYWJ.js → extract-GCZ5HSEN.js} +9 -9
- package/dist/{face-S3YZLPEO.js → face-QKMYBRV3.js} +9 -9
- package/dist/{feedback-LTEDBBL2.js → feedback-3H43EK7N.js} +11 -10
- package/dist/{ffmpeg-OJIIUEQQ.js → ffmpeg-JRNM74WY.js} +4 -4
- package/dist/{figma-DXIX3JW2.js → figma-JGP2UGGU.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -8
- package/dist/{frames-E7GSMQMG.js → frames-OYSWKB3F.js} +10 -10
- package/dist/{generate-5BV3VOF5.js → generate-TDXLUFMR.js} +15 -15
- package/dist/{get-LO5YZK5S.js → get-UB2MNBYO.js} +2 -2
- package/dist/{gpuPolicy-L6YX2UOM.js → gpuPolicy-6CTTH3NY.js} +4 -4
- package/dist/{grade-compare-45DGL4FX.js → grade-compare-2DXT4RWV.js} +19 -18
- package/dist/{heifImagePrep-HZWZ6RCU.js → heifImagePrep-VDZVZ4G7.js} +7 -6
- package/dist/{help-NXUWIQZJ.js → help-RGKY4DR4.js} +1 -1
- package/dist/{history-B2VYYYFA.js → history-AVDXYNAP.js} +9 -8
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6BK7QHQN.js → info-NGTQABZC.js} +11 -11
- package/dist/{init-5NJNDMW5.js → init-C3EARHDW.js} +22 -22
- package/dist/{ink-I2VH46VQ.js → ink-ISO3VXRQ.js} +9 -9
- package/dist/{inspect-VMCKQEOT.js → inspect-V6MPU5I5.js} +20 -19
- package/dist/{keyframes-2ZZUDJD7.js → keyframes-PTJDE47Y.js} +9 -8
- package/dist/{lambda-BHLB7JHL.js → lambda-JTO5YD2I.js} +6 -6
- package/dist/{layout-4Y2DWTXM.js → layout-QMLEZP5T.js} +20 -19
- package/dist/{lint-QPQRY5WD.js → lint-6BWOQAW6.js} +8 -8
- package/dist/{list-SPRUZTEJ.js → list-7E4VD7JA.js} +2 -2
- package/dist/{localPage-TZFDEA6W.js → localPage-BQOYZAOW.js} +4 -4
- package/dist/{login-JOQCOSOK.js → login-37MSZXCY.js} +4 -4
- package/dist/{look-3UNLVDPJ.js → look-5GXW3NVP.js} +9 -9
- package/dist/{manager-7IV66O64.js → manager-J2IRAOR7.js} +5 -5
- package/dist/{manager-25RJ4IZN.js → manager-TMKN4DX5.js} +3 -3
- package/dist/{measure-PFOIM7OJ.js → measure-23IL23BL.js} +11 -11
- package/dist/{media-treatment-WR2EYI6J.js → media-treatment-7ODBREPX.js} +10 -10
- package/dist/{media-use-VRMLASYM.js → media-use-QJA6NB3V.js} +3 -3
- package/dist/{models-6BN6ZA2T.js → models-2Z6SURXU.js} +8 -8
- package/dist/{motionShot-SX6BQ2A3.js → motionShot-CYS3L6FK.js} +10 -10
- package/dist/{normalize-audio-E2EMJIJU.js → normalize-audio-6YVF4LED.js} +9 -8
- package/dist/{open-N4SZ4OC6.js → open-WQ6NRHCN.js} +7 -6
- package/dist/{parakeetRunner-GVZ2XLDV.js → parakeetRunner-R7KK6ZHD.js} +10 -10
- package/dist/{pipeline-Z4RAIXQM.js → pipeline-HRCK2JQL.js} +7 -7
- package/dist/{plan-NJKLH5DY.js → plan-FQNKACYR.js} +11 -11
- package/dist/{play-2P3J4O6N.js → play-UJZBNX2O.js} +14 -13
- package/dist/{preflight-VQ366D6O.js → preflight-VIMLSE3I.js} +7 -7
- package/dist/{present-HCY6XKUF.js → present-JIOVM3ZH.js} +14 -13
- package/dist/{preview-ZE435ZVI.js → preview-HCYGBEWR.js} +11 -11
- package/dist/{probe-J2KN3Y3Z.js → probe-6YQA2ZZC.js} +9 -9
- package/dist/{producer-G6AH4NES.js → producer-JIM74BGL.js} +1 -1
- package/dist/{publicNetwork-CWKAKZXP.js → publicNetwork-F3ZXSVOD.js} +3 -1
- package/dist/{publish-CMIRMUVW.js → publish-3TTCO4R4.js} +11 -10
- package/dist/{remove-background-2HPZDKTN.js → remove-background-XTICO22L.js} +8 -8
- package/dist/{render-WXDAMYQU.js → render-PFBZJRAN.js} +26 -25
- package/dist/{render-FYWFWCL7.js → render-WYDOZEZ5.js} +20 -19
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{reverse-XNTL6ILN.js → reverse-TV524NFW.js} +1 -1
- package/dist/{run-GGMHXAKM.js → run-NQBD5RDR.js} +2 -2
- package/dist/{screenshotCapture-4FFWYCKV.js → screenshotCapture-OUZMH7EQ.js} +4 -4
- package/dist/{service-BW7NT4R2.js → service-UIHDIMFM.js} +9 -9
- package/dist/{share-JJ6G2SRE.js → share-WD7MCA4I.js} +12 -12
- package/dist/{sherpa-ZARNRTUF.js → sherpa-H67ZJICN.js} +9 -9
- package/dist/{skills-H6QD7AIP.js → skills-7TUSQF6W.js} +9 -8
- package/dist/{skillsUpdateCheck-BBSSMBNI.js → skillsUpdateCheck-HF6SQWRA.js} +3 -3
- package/dist/{snapshot-AIASY7ZT.js → snapshot-P7ZSTKED.js} +26 -25
- package/dist/{src-RNWDJRGO.js → src-H2EUJUV3.js} +13 -7
- package/dist/{src-IVCOSSDJ.js → src-TQQ743H4.js} +13 -7
- package/dist/{start-CVUWN3EJ.js → start-7ZTAKHD4.js} +13 -13
- package/dist/{staticProjectServer-XHYEFNOX.js → staticProjectServer-X4PARIVN.js} +9 -8
- package/dist/{status-TCUB55VV.js → status-ELQXIXIB.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DHIxqu8A.js → hyperframes-player-D7LhzIg1.js} +1 -1
- package/dist/studio/assets/{index-CefNftWO.js → index-CQ7o0CBU.js} +1 -1
- package/dist/studio/assets/{index-CU24FmKd.css → index-CRiuMxyq.css} +1 -1
- package/dist/studio/assets/{index-CuCj-ntQ.js → index-D3WxJaqm.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-BVUmBgn0.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-HPYJHSZY.js → studio-api-OJEU24EG.js} +5 -4
- package/dist/{studioServer-RIYJYGVD.js → studioServer-E5CLZC46.js} +36 -35
- package/dist/{sync-ILVIJDYI.js → sync-VEJWMKDP.js} +9 -9
- package/dist/{system-BONOLEJX.js → system-I5KGZTUG.js} +3 -2
- package/dist/{telemetry-Q6X3TCN6.js → telemetry-3U4UGQ5V.js} +6 -5
- package/dist/{templates-64NH2NZF.js → templates-AUAOWIYA.js} +7 -6
- package/dist/{timeline-CR4YEFN4.js → timeline-YO27AP66.js} +15 -14
- package/dist/{tokens-NISS5JD7.js → tokens-UXLQGLVG.js} +2 -2
- package/dist/{transcribe-AP3PUNHX.js → transcribe-FZ3TE4FK.js} +8 -8
- package/dist/{transcribe-R7K7NSGF.js → transcribe-I7MTUH4M.js} +18 -18
- package/dist/{update-OI6DZTRT.js → update-KBKSO3SH.js} +10 -9
- package/dist/{updateCheck-7ZCJ7FNE.js → updateCheck-MUYN55HR.js} +2 -2
- package/dist/{upgrade-D6VGQSRH.js → upgrade-CRCX7CCK.js} +3 -3
- package/dist/{urlDownloader-KE7AXBCY.js → urlDownloader-4EM6GLN4.js} +3 -3
- package/dist/{validate-LZBOVEFV.js → validate-Y2KF2DU3.js} +19 -18
- package/dist/{video-7KEKO4H2.js → video-HG6SINBD.js} +5 -5
- package/dist/{voices-6EOBOCEU.js → voices-O4UHHFZS.js} +13 -13
- package/dist/warmCheck.js +28 -27
- package/package.json +1 -1
- package/dist/chunk-47JAY366.js +0 -44
|
@@ -32,18 +32,66 @@ for (const [network, prefix, hostClass] of [
|
|
|
32
32
|
}
|
|
33
33
|
function ipv4HostClass(address) {
|
|
34
34
|
for (const [hostClass, list] of IPV4_CLASSES) if (list.check(address, "ipv4")) return hostClass;
|
|
35
|
-
return "public";
|
|
35
|
+
return inOperatorRange(address, "ipv4") ? "private" : "public";
|
|
36
|
+
}
|
|
37
|
+
var OPERATOR_RANGES_ENV = "PRODUCER_NON_PUBLIC_CIDRS";
|
|
38
|
+
var operatorRangesFor;
|
|
39
|
+
var operatorRangeList = new BlockList();
|
|
40
|
+
function operatorRanges() {
|
|
41
|
+
const raw = process.env[OPERATOR_RANGES_ENV] ?? "";
|
|
42
|
+
if (raw === operatorRangesFor) return operatorRangeList;
|
|
43
|
+
operatorRangesFor = raw;
|
|
44
|
+
operatorRangeList = parseRanges(raw);
|
|
45
|
+
if (operatorRangeList === "malformed") {
|
|
46
|
+
console.warn(
|
|
47
|
+
`[hyperframes] ${OPERATOR_RANGES_ENV}="${raw}" is not a list like 192.160.0.0/16; every address is refused.`
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
return operatorRangeList;
|
|
51
|
+
}
|
|
52
|
+
function parseRanges(raw) {
|
|
53
|
+
const list = new BlockList();
|
|
54
|
+
for (const range of raw.split(",").map((part) => part.trim()).filter(Boolean)) {
|
|
55
|
+
const [network = "", bits] = range.split("/");
|
|
56
|
+
const family = isIP(network);
|
|
57
|
+
const prefix = Number(bits);
|
|
58
|
+
const max = family === 4 ? 32 : 128;
|
|
59
|
+
if (family === 0 || bits === void 0 || !Number.isInteger(prefix) || prefix < 0 || prefix > max) {
|
|
60
|
+
return "malformed";
|
|
61
|
+
}
|
|
62
|
+
list.addSubnet(network, prefix, family === 4 ? "ipv4" : "ipv6");
|
|
63
|
+
}
|
|
64
|
+
return list;
|
|
65
|
+
}
|
|
66
|
+
function inOperatorRange(address, family) {
|
|
67
|
+
const ranges = operatorRanges();
|
|
68
|
+
return ranges === "malformed" || ranges.check(address, family);
|
|
69
|
+
}
|
|
70
|
+
var MAPPED_OR_NAT64_IPV6 = new BlockList();
|
|
71
|
+
MAPPED_OR_NAT64_IPV6.addSubnet("::ffff:0:0", 96, "ipv6");
|
|
72
|
+
MAPPED_OR_NAT64_IPV6.addSubnet("64:ff9b::", 96, "ipv6");
|
|
73
|
+
function embeddedIPv4(address) {
|
|
74
|
+
const tail = address.slice(address.lastIndexOf(":") + 1);
|
|
75
|
+
if (isIP(tail) === 4) return tail;
|
|
76
|
+
const [head = "", rest] = address.split("::");
|
|
77
|
+
const left = head ? head.split(":") : [];
|
|
78
|
+
const right = rest ? rest.split(":") : [];
|
|
79
|
+
const groups = [...left, ...Array(8 - left.length - right.length).fill("0"), ...right];
|
|
80
|
+
if (groups.length !== 8) return void 0;
|
|
81
|
+
const [high, low] = groups.slice(6).map((group) => parseInt(group, 16));
|
|
82
|
+
if (!Number.isInteger(high) || !Number.isInteger(low)) return void 0;
|
|
83
|
+
return [high >> 8, high & 255, low >> 8, low & 255].join(".");
|
|
36
84
|
}
|
|
37
85
|
var NON_PUBLIC_IPV6_ADDRESSES = new BlockList();
|
|
38
86
|
for (const [network, prefix] of [
|
|
39
87
|
["::", 128],
|
|
40
88
|
["::1", 128],
|
|
41
|
-
["::ffff:0:0", 96],
|
|
42
89
|
["fc00::", 7],
|
|
43
90
|
["fe80::", 10],
|
|
44
91
|
["fec0::", 10],
|
|
45
92
|
["ff00::", 8],
|
|
46
|
-
["2001:db8::", 32]
|
|
93
|
+
["2001:db8::", 32],
|
|
94
|
+
["64:ff9b:1::", 48]
|
|
47
95
|
]) {
|
|
48
96
|
NON_PUBLIC_IPV6_ADDRESSES.addSubnet(network, prefix, "ipv6");
|
|
49
97
|
}
|
|
@@ -53,6 +101,11 @@ function isBlockedNetworkHost(hostname) {
|
|
|
53
101
|
return true;
|
|
54
102
|
const addressType = isIP(h);
|
|
55
103
|
if (addressType === 0) return false;
|
|
104
|
+
if (inOperatorRange(h, addressType === 4 ? "ipv4" : "ipv6")) return true;
|
|
105
|
+
if (addressType === 6 && MAPPED_OR_NAT64_IPV6.check(h, "ipv6")) {
|
|
106
|
+
const ipv4 = embeddedIPv4(h);
|
|
107
|
+
return ipv4 === void 0 || isBlockedNetworkHost(ipv4);
|
|
108
|
+
}
|
|
56
109
|
return addressType === 4 ? NON_PUBLIC_IPV4_ADDRESSES.check(h, "ipv4") : NON_PUBLIC_IPV6_ADDRESSES.check(h, "ipv6");
|
|
57
110
|
}
|
|
58
111
|
|
|
@@ -550,7 +603,15 @@ function destination(raw, tunnel) {
|
|
|
550
603
|
}
|
|
551
604
|
return url;
|
|
552
605
|
}
|
|
553
|
-
var
|
|
606
|
+
var refusalListeners = /* @__PURE__ */ new Set();
|
|
607
|
+
function onRenderRefusal(listener) {
|
|
608
|
+
refusalListeners.add(listener);
|
|
609
|
+
return () => refusalListeners.delete(listener);
|
|
610
|
+
}
|
|
611
|
+
var logRefusal = (hostClass) => {
|
|
612
|
+
console.warn(`[CaptureProxy:REFUSED] class=${hostClass}`);
|
|
613
|
+
for (const listener of refusalListeners) listener(hostClass);
|
|
614
|
+
};
|
|
554
615
|
function reportRefusal(error, onRefused) {
|
|
555
616
|
if (error instanceof NonPublicHostError) onRefused?.(error.hostClass);
|
|
556
617
|
}
|
|
@@ -724,6 +785,7 @@ export {
|
|
|
724
785
|
isBrowserSafePort,
|
|
725
786
|
settleOnBrowserSafePort,
|
|
726
787
|
listenOnBrowserSafePort,
|
|
788
|
+
onRenderRefusal,
|
|
727
789
|
logRefusal,
|
|
728
790
|
startCaptureProxy,
|
|
729
791
|
browserProxyArgs,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4OHV7UZZ.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-3U4UGQ5V.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SQ64IEA7.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZGWOCGSJ.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -4,6 +4,11 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
MEDIA_INPUT_ARGS,
|
|
9
|
+
NOT_MEDIA,
|
|
10
|
+
startsAsMediaPlaylist
|
|
11
|
+
} from "./chunk-7RLMDAUO.js";
|
|
7
12
|
import {
|
|
8
13
|
videoStreamHasAlpha
|
|
9
14
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -21,8 +26,9 @@ import {
|
|
|
21
26
|
findFfBinary
|
|
22
27
|
} from "./chunk-IU5DC4HP.js";
|
|
23
28
|
|
|
24
|
-
// ../studio-server/dist/chunk-
|
|
29
|
+
// ../studio-server/dist/chunk-NMPDQTAK.js
|
|
25
30
|
import { execFile } from "child_process";
|
|
31
|
+
import { createReadStream } from "fs";
|
|
26
32
|
import { extname } from "path";
|
|
27
33
|
var execFileRunner = (command, args, options) => new Promise((resolvePromise) => {
|
|
28
34
|
execFile(
|
|
@@ -101,16 +107,24 @@ function classifyMediaColor(stream) {
|
|
|
101
107
|
async function probeFirstFrameColour(filePath, codec, runner = execFileRunner) {
|
|
102
108
|
const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffmpeg");
|
|
103
109
|
if (!ffmpegPath) return {};
|
|
104
|
-
const result = await runner(
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
const result = await runner(
|
|
111
|
+
ffmpegPath,
|
|
112
|
+
[...MEDIA_INPUT_ARGS, ...firstFrameColourArgs(filePath)],
|
|
113
|
+
{
|
|
114
|
+
timeout: 15e3,
|
|
115
|
+
maxBuffer: 1024 * 1024
|
|
116
|
+
}
|
|
117
|
+
);
|
|
108
118
|
const first = result.status === 0 ? parseFirstFrameColour(String(result.stderr)) : {};
|
|
109
119
|
if (result.status !== 0 || !readsKeyframeTransfers(first)) return first;
|
|
110
|
-
const keyframes = await runner(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
120
|
+
const keyframes = await runner(
|
|
121
|
+
ffmpegPath,
|
|
122
|
+
[...MEDIA_INPUT_ARGS, ...keyframeTransferArgs(filePath, codec)],
|
|
123
|
+
{
|
|
124
|
+
timeout: 3e4,
|
|
125
|
+
maxBuffer: 8 * 1024 * 1024
|
|
126
|
+
}
|
|
127
|
+
);
|
|
114
128
|
const keyframeTransfers = keyframes.status === 0 ? parseKeyframeTransfers(String(keyframes.stderr)) : [];
|
|
115
129
|
return { ...first, keyframeTransfers };
|
|
116
130
|
}
|
|
@@ -169,14 +183,35 @@ function metadataFromProbe(kind, parsed) {
|
|
|
169
183
|
}
|
|
170
184
|
return metadata;
|
|
171
185
|
}
|
|
186
|
+
async function readsAsMediaPlaylist(filePath) {
|
|
187
|
+
try {
|
|
188
|
+
const chunks = [];
|
|
189
|
+
for await (const chunk of createReadStream(filePath, { start: 0, end: 63 })) {
|
|
190
|
+
chunks.push(chunk);
|
|
191
|
+
}
|
|
192
|
+
return startsAsMediaPlaylist(Buffer.concat(chunks));
|
|
193
|
+
} catch {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
172
197
|
async function probeAudioTrack(filePath, runner = execFileRunner) {
|
|
198
|
+
if (await readsAsMediaPlaylist(filePath)) return null;
|
|
173
199
|
const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
|
|
174
200
|
if (!ffprobePath) return null;
|
|
175
201
|
const result = await runner(
|
|
176
202
|
ffprobePath,
|
|
177
203
|
[
|
|
178
|
-
|
|
179
|
-
|
|
204
|
+
"-v",
|
|
205
|
+
"error",
|
|
206
|
+
"-select_streams",
|
|
207
|
+
"a",
|
|
208
|
+
"-show_entries",
|
|
209
|
+
"stream=codec_type,codec_name,channels",
|
|
210
|
+
"-of",
|
|
211
|
+
"json",
|
|
212
|
+
...MEDIA_INPUT_ARGS,
|
|
213
|
+
"--",
|
|
214
|
+
filePath
|
|
180
215
|
],
|
|
181
216
|
{ timeout: 3e4 }
|
|
182
217
|
);
|
|
@@ -190,6 +225,9 @@ async function probeMediaMetadata(filePath, runner = execFileRunner) {
|
|
|
190
225
|
if (kind === "audio" || kind === "unknown") {
|
|
191
226
|
return { kind, color: classifyMediaColor(null) };
|
|
192
227
|
}
|
|
228
|
+
if (await readsAsMediaPlaylist(filePath)) {
|
|
229
|
+
return { kind, color: classifyMediaColor(null), probeError: NOT_MEDIA };
|
|
230
|
+
}
|
|
193
231
|
const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
|
|
194
232
|
if (!ffprobePath) {
|
|
195
233
|
return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
|
|
@@ -203,6 +241,7 @@ async function probeMediaMetadata(filePath, runner = execFileRunner) {
|
|
|
203
241
|
"stream=codec_type,codec_name,profile,pix_fmt,color_space,color_transfer,color_primaries,bits_per_raw_sample,width,height,bit_rate,r_frame_rate,avg_frame_rate:stream_disposition:stream_tags=alpha_mode:format=duration,bit_rate",
|
|
204
242
|
"-of",
|
|
205
243
|
"json",
|
|
244
|
+
...MEDIA_INPUT_ARGS,
|
|
206
245
|
"--",
|
|
207
246
|
filePath
|
|
208
247
|
],
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VXX4S2PH.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-TQQ743H4.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7SZ7QQJ3.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
collectProjectMedia,
|
|
15
15
|
mediaPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7QM73IH2.js";
|
|
17
17
|
import {
|
|
18
18
|
trackLintRun
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-M6TIOPL5.js";
|
|
20
20
|
import {
|
|
21
21
|
CheckBudgetError,
|
|
22
22
|
CheckCopiesUnfinishedError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
idleWindow,
|
|
30
30
|
preResolveHostileMediaProxies,
|
|
31
31
|
rectToBbox
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZXMZSU5Y.js";
|
|
33
33
|
import {
|
|
34
34
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
35
35
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
mergeSampleTimes,
|
|
52
52
|
parseAt,
|
|
53
53
|
readMotionSpec
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-7VQ3RAKO.js";
|
|
55
55
|
import {
|
|
56
56
|
findingAtRoot,
|
|
57
57
|
findingElementKey,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-TQBQYO4L.js";
|
|
61
61
|
import {
|
|
62
62
|
captureArtifactRevision
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-IB722ALN.js";
|
|
64
64
|
import {
|
|
65
65
|
readToolContext,
|
|
66
66
|
reportArtifacts,
|
|
@@ -68,10 +68,10 @@ import {
|
|
|
68
68
|
} from "./chunk-PCH55NAO.js";
|
|
69
69
|
import {
|
|
70
70
|
resolveProject
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-UB44XZOI.js";
|
|
72
72
|
import {
|
|
73
73
|
CACHE_DIR_NAME
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-I6SCA2ME.js";
|
|
75
75
|
import {
|
|
76
76
|
recordArtifacts
|
|
77
77
|
} from "./chunk-22EEGJLH.js";
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
BrowserCleanupError,
|
|
80
80
|
onStopSignal,
|
|
81
81
|
registerBrowserSessionCleanup
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DE7Q2LWF.js";
|
|
83
83
|
import {
|
|
84
84
|
resolveLocalBrowserGpuMode
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-NQ3NHCF6.js";
|
|
86
86
|
import {
|
|
87
87
|
trackCheckReport,
|
|
88
88
|
trackCommandFailure
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-SQ64IEA7.js";
|
|
90
90
|
import {
|
|
91
91
|
swallowedFlagUsageError
|
|
92
92
|
} from "./chunk-B2WXMYMA.js";
|
|
@@ -107,14 +107,14 @@ import {
|
|
|
107
107
|
extractMediaMetadata,
|
|
108
108
|
findHdrAutoPromotion,
|
|
109
109
|
gradingKeepsSdr
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-VXX4S2PH.js";
|
|
111
111
|
import {
|
|
112
112
|
lintProject,
|
|
113
113
|
unmountedNotice
|
|
114
114
|
} from "./chunk-H4LCNEA2.js";
|
|
115
115
|
import {
|
|
116
116
|
withMeta
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-UIIQA7DN.js";
|
|
118
118
|
import {
|
|
119
119
|
recordLastCheck
|
|
120
120
|
} from "./chunk-AWD2MWWL.js";
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
} from "./chunk-66W5IWLO.js";
|
|
130
130
|
import {
|
|
131
131
|
VERSION
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-7SZ7QQJ3.js";
|
|
133
133
|
import {
|
|
134
134
|
normalizeErrorMessage
|
|
135
135
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -2409,7 +2409,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
}
|
|
2411
2411
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2412
|
-
const module = await import("./checkBrowser-
|
|
2412
|
+
const module = await import("./checkBrowser-NABXGNNM.js");
|
|
2413
2413
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2414
2414
|
}
|
|
2415
2415
|
var adoptedBrowser;
|
|
@@ -2423,7 +2423,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2423
2423
|
if (adopted) return adopted;
|
|
2424
2424
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2425
2425
|
if (html === void 0) return void 0;
|
|
2426
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2426
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-YBVEFKWM.js");
|
|
2427
2427
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2428
2428
|
}
|
|
2429
2429
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2435,11 +2435,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2435
2435
|
return relative(projectDir, path);
|
|
2436
2436
|
}
|
|
2437
2437
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2438
|
-
const module = await import("./checkBrowser-
|
|
2438
|
+
const module = await import("./checkBrowser-NABXGNNM.js");
|
|
2439
2439
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2440
2440
|
}
|
|
2441
2441
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2442
|
-
const module = await import("./checkBrowser-
|
|
2442
|
+
const module = await import("./checkBrowser-NABXGNNM.js");
|
|
2443
2443
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2444
2444
|
}
|
|
2445
2445
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2461,7 +2461,7 @@ function collectMedia(project) {
|
|
|
2461
2461
|
return collectProjectMedia(project.dir);
|
|
2462
2462
|
}
|
|
2463
2463
|
async function inspectAudio(project, media) {
|
|
2464
|
-
const module = await import("./checkAudio-
|
|
2464
|
+
const module = await import("./checkAudio-AKOI4AWK.js");
|
|
2465
2465
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2466
2466
|
}
|
|
2467
2467
|
function audioCheckFailure(project, error) {
|
|
@@ -2538,7 +2538,7 @@ function cachePath(projectDir) {
|
|
|
2538
2538
|
return join2(projectDir, ".hyperframes", "cache", "check.json");
|
|
2539
2539
|
}
|
|
2540
2540
|
async function browserIdentity() {
|
|
2541
|
-
const { findBrowser } = await import("./manager-
|
|
2541
|
+
const { findBrowser } = await import("./manager-TMKN4DX5.js");
|
|
2542
2542
|
const found = await findBrowser();
|
|
2543
2543
|
if (!found) return void 0;
|
|
2544
2544
|
try {
|
|
@@ -2646,7 +2646,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
},
|
|
2648
2648
|
async prepareMedia(project, options) {
|
|
2649
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2649
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XD2XDEQL.js");
|
|
2650
2650
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2651
2651
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2652
2652
|
},
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YXR5MVBM.js";
|
|
12
12
|
import {
|
|
13
13
|
Fix,
|
|
14
14
|
ffmpegBin,
|
|
15
15
|
probeVideo,
|
|
16
16
|
round,
|
|
17
17
|
runFfmpeg
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DYYAFCZH.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -19,7 +19,7 @@ async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWith
|
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-JIM74BGL.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LNZHSISH.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-MR7VKWYT.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UB44XZOI.js";
|
|
19
19
|
import {
|
|
20
20
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XHUFLQGD.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DE7Q2LWF.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-UIIQA7DN.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-JIM74BGL.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -275,8 +275,8 @@ async function localizeRemoteAssets(html) {
|
|
|
275
275
|
async function validateInBrowser(project, opts) {
|
|
276
276
|
const projectDir = project.dir;
|
|
277
277
|
const { bundleToSingleHtml } = await import("./compiler-DUG4GFRI.js");
|
|
278
|
-
const { ensureBrowser } = await import("./manager-
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
278
|
+
const { ensureBrowser } = await import("./manager-TMKN4DX5.js");
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-X4PARIVN.js");
|
|
280
280
|
const { lintProject } = await import("./lintProject-G4MXY4YA.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-TQQ743H4.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-6CTTH3NY.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-JJ47LVJ7.js";
|
|
19
19
|
import {
|
|
20
20
|
trackSkillsInstallSkipped
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SQ64IEA7.js";
|
|
22
22
|
import {
|
|
23
23
|
diag
|
|
24
24
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isCoreSkill,
|
|
40
40
|
presentSkills,
|
|
41
41
|
retiredSkillNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YPURY3MW.js";
|
|
43
43
|
import {
|
|
44
44
|
NO_UPDATE_NOTICE,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UIIQA7DN.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-66W5IWLO.js";
|
|
55
55
|
import {
|
|
56
56
|
VERSION
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7SZ7QQJ3.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/skills.ts
|
|
60
60
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
rewriteProjectPinnedScripts,
|
|
32
32
|
updateChannel,
|
|
33
33
|
withMeta
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UIIQA7DN.js";
|
|
35
35
|
import {
|
|
36
36
|
setCommandExitCode
|
|
37
37
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CPHQTXP5.js";
|
|
41
41
|
import {
|
|
42
42
|
VERSION
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7SZ7QQJ3.js";
|
|
44
44
|
|
|
45
45
|
// src/commands/upgrade.ts
|
|
46
46
|
import { execFileSync } from "child_process";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZGWOCGSJ.js";
|
|
12
12
|
import {
|
|
13
13
|
MOTION_BLUR_FINGERPRINT_FIELDS,
|
|
14
14
|
redactTelemetryString
|
|
15
15
|
} from "./chunk-U7ZCBWNM.js";
|
|
16
16
|
import {
|
|
17
17
|
getPowerState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NFRKPLTJ.js";
|
|
19
19
|
import {
|
|
20
20
|
readConfig
|
|
21
21
|
} from "./chunk-AWD2MWWL.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPrivateCompositionFile,
|
|
9
9
|
linksToPrivateOutsideFile,
|
|
10
10
|
receivedFiles
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L2U4ISSS.js";
|
|
12
12
|
import {
|
|
13
13
|
refreshIfNeeded
|
|
14
14
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isPrivateOutsideFile,
|
|
26
26
|
leftOutWarning,
|
|
27
27
|
linksOutside
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WSZJS4QC.js";
|
|
29
29
|
import {
|
|
30
30
|
isAuthError
|
|
31
31
|
} from "./chunk-DMW5SSUN.js";
|