hyperframes 0.8.97 → 0.8.99
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-JL2CNPBO.js → add-GHUB7AVH.js} +18 -17
- package/dist/{animatedGifPrep-5KUI3AAL.js → animatedGifPrep-RZVYVAXD.js} +8 -7
- package/dist/{asset-W5JGVKGN.js → asset-MRT34PQQ.js} +2 -2
- package/dist/{assetCataloger-FUXNMJYE.js → assetCataloger-BQREHRS2.js} +4 -3
- package/dist/{auth-P34WRL2O.js → auth-BBWBKAZF.js} +2 -2
- package/dist/{autoUpdate-YE3SSDCH.js → autoUpdate-BMLRSJPE.js} +2 -2
- package/dist/{backgroundChecks-GCBMV6KT.js → backgroundChecks-I5JE6HZK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-2BIKSPOP.js → batchRender-AQN5PRXM.js} +5 -4
- package/dist/{beats-HGLLHLRZ.js → beats-F2YQUUDN.js} +12 -11
- package/dist/{benchmark-B6S4K2DA.js → benchmark-RVBTP5TB.js} +14 -13
- package/dist/{browser-B7HTQ57Z.js → browser-247ZM3UP.js} +11 -10
- package/dist/{bundleWithLocalizedFonts-QYS67RJT.js → bundleWithLocalizedFonts-JKJKZR2S.js} +2 -2
- package/dist/{capture-Z47X2EG6.js → capture-5BCJWVC7.js} +2 -2
- package/dist/{capture-HOXFOHCG.js → capture-QYLHIYKJ.js} +9 -8
- package/dist/{catalog-36N6EXPL.js → catalog-NFO3XKI2.js} +19 -18
- package/dist/{check-URG7KBMW.js → check-S4WORRJY.js} +34 -32
- package/dist/{checkBrowser-TCAW27AV.js → checkBrowser-UMS7OM7G.js} +33 -31
- package/dist/{chunk-45WXLLUL.js → chunk-32Y3HRS3.js} +2 -2
- package/dist/{chunk-M7Y4BQAC.js → chunk-4WAMN4IF.js} +1 -1
- package/dist/chunk-4Z5O7BTD.js +114 -0
- package/dist/{chunk-2PQFJE6F.js → chunk-5LLSHC7N.js} +8 -8
- package/dist/{chunk-H5ZRB3SN.js → chunk-6CN2QLB5.js} +3 -3
- package/dist/{chunk-6SXRFLBV.js → chunk-6F6EEQNB.js} +5 -12
- package/dist/{chunk-BEKKVBD5.js → chunk-7D2QWSXG.js} +1 -1
- package/dist/{chunk-OIT6L7OY.js → chunk-AZQLJHAO.js} +1 -1
- package/dist/{chunk-IXUGVQ2D.js → chunk-CHCKIZRG.js} +8 -8
- package/dist/{chunk-6AY3BKZI.js → chunk-EUSLU4BH.js} +1 -1
- package/dist/chunk-FOKUJKBN.js +3420 -0
- package/dist/{chunk-MAYKKN2W.js → chunk-FTPQUXVG.js} +3 -3
- package/dist/{chunk-EA5GAMEY.js → chunk-GMECXFAN.js} +1 -1
- package/dist/{chunk-QVGB3PQ2.js → chunk-GOI4GCUB.js} +1 -1
- package/dist/{chunk-ULER6XBR.js → chunk-HFFR7TN7.js} +1 -1
- package/dist/{chunk-J7QMXLNY.js → chunk-HUHJYNST.js} +1 -1
- package/dist/{chunk-4CMGNIJD.js → chunk-I6M4GXMC.js} +1 -1
- package/dist/{chunk-QPN3GV5R.js → chunk-I77CAR4W.js} +2 -2
- package/dist/{chunk-TAP72R26.js → chunk-IJ677ALU.js} +9 -9
- package/dist/{chunk-UPGW6TTK.js → chunk-IQ4UCWV7.js} +1 -1
- package/dist/{chunk-BJOPPINF.js → chunk-J5ES3BN2.js} +3 -3
- package/dist/{chunk-VSVNEDUL.js → chunk-JXXE3SWC.js} +10 -10
- package/dist/{chunk-3WWTEA4S.js → chunk-LBZ54I42.js} +1 -1
- package/dist/{chunk-KF4BPO7K.js → chunk-M4KS6MJN.js} +4 -4
- package/dist/{chunk-IOM5EJZB.js → chunk-MCABWC2G.js} +2 -2
- package/dist/{chunk-T6PPTDQR.js → chunk-MDADXVOE.js} +4 -4
- package/dist/{chunk-D2WFTJML.js → chunk-MM7KX3QX.js} +2 -2
- package/dist/{chunk-TGKEAZUB.js → chunk-NDRJHYG6.js} +2 -2
- package/dist/{chunk-E6ABDLBN.js → chunk-O5TBFZ7X.js} +3 -3
- package/dist/chunk-OFQWTKPW.js +117 -0
- package/dist/{chunk-WY7DTUVY.js → chunk-PB2OX2JY.js} +1 -1
- package/dist/{chunk-NY4NHA3Y.js → chunk-PUB5XZYL.js} +1 -1
- package/dist/{chunk-6P7TUF6Z.js → chunk-R5RF3LGS.js} +1 -1
- package/dist/{chunk-JY2YGTOU.js → chunk-R6KCZGDI.js} +1 -1
- package/dist/{chunk-XMNWWURD.js → chunk-RDMAU7AJ.js} +14 -0
- package/dist/{chunk-5MRETCSV.js → chunk-T6OPV3KB.js} +3 -3
- package/dist/{chunk-TXY724ZK.js → chunk-TEXPOC5V.js} +2 -2
- package/dist/{chunk-YVGQM466.js → chunk-TH4APNRP.js} +6 -4
- package/dist/{chunk-WFO4PSIZ.js → chunk-TLYU5625.js} +9 -0
- package/dist/{chunk-YM2WZIJ7.js → chunk-TMLEIURT.js} +1 -1
- package/dist/{chunk-EJQTOUPG.js → chunk-TYA65W4U.js} +4 -4
- package/dist/{chunk-XKHIUGY3.js → chunk-USWOTTSP.js} +1 -1
- package/dist/{chunk-KVA65K7M.js → chunk-UVUAU3CH.js} +2 -2
- package/dist/{chunk-NBQ7RWSG.js → chunk-VBTX4DPW.js} +3 -3
- package/dist/{chunk-H7EMX7GA.js → chunk-VW5OMJNG.js} +3 -3
- package/dist/{chunk-UQ2H23VR.js → chunk-XFVS7YWL.js} +1 -1
- package/dist/{chunk-UBSAIOMW.js → chunk-XL2CUGEG.js} +105 -92
- package/dist/{chunk-IASEB3EM.js → chunk-XMENEJZ5.js} +5 -5
- package/dist/{chunk-5BJFUD4T.js → chunk-XZSH5GS7.js} +4 -4
- package/dist/{chunk-CLW66MZ7.js → chunk-Y2CZEJPK.js} +2 -2
- package/dist/{clean-RKSEJIE5.js → clean-65SGSRD3.js} +18 -16
- package/dist/cli.js +50 -50
- package/dist/{cloud-XWRBDZ32.js → cloud-CBUJO3BE.js} +4 -4
- package/dist/{cloudrun-6OB4LUGS.js → cloudrun-ISE6GSUO.js} +6 -5
- package/dist/{compare-N26BDH7P.js → compare-55Y5B73R.js} +28 -26
- package/dist/{compiler-CYMKVOVA.js → compiler-QMEZK6CU.js} +4 -3
- package/dist/{component-VPAI6ABP.js → component-QXUJVQCV.js} +3 -3
- package/dist/{compositions-HBYRCYJW.js → compositions-ZU4LJ2VE.js} +13 -12
- package/dist/{delete-Q47CA6AF.js → delete-YCFTXLIQ.js} +5 -3
- package/dist/{deterministicFonts-RMJFQXDW.js → deterministicFonts-XS3PGWH5.js} +2 -2
- package/dist/{dist-HJFL4ZN5.js → dist-E44WU6LH.js} +1 -1
- package/dist/{dist-XAD3AJS3.js → dist-R24TLUYO.js} +13 -11
- package/dist/{doctor-JBD7H32F.js → doctor-R4MX64N7.js} +12 -11
- package/dist/{events-QLCDRT25.js → events-AMCPKS2O.js} +10 -9
- package/dist/{events-JXIDJQZN.js → events-G2M67K5X.js} +11 -10
- package/dist/{feedback-SFMS4QAG.js → feedback-7PDQW7BY.js} +12 -11
- package/dist/{figma-BA66S2WD.js → figma-V3CJKPEP.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -10
- package/dist/{get-ETWF2GUD.js → get-SVFBRH24.js} +5 -3
- package/dist/{gpuPolicy-HKUPBZJK.js → gpuPolicy-BQFPO7UA.js} +8 -7
- package/dist/{grade-compare-247R46JI.js → grade-compare-KDJ6L775.js} +28 -26
- package/dist/{gsapParser-IQS5TBGJ.js → gsapParser-EZGJSSV5.js} +46 -11
- package/dist/{gsapParserAcorn-OYHIHFF5.js → gsapParserAcorn-SZANFUAQ.js} +3 -1
- package/dist/{help-7X3O3TTP.js → help-EW2PIPB5.js} +1 -1
- package/dist/{history-ILSW2YFD.js → history-V7FE6H7U.js} +18 -16
- package/dist/hyperframe-runtime.js +1 -1
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +1 -1
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-K2HTKDTA.js → info-U32TSQMU.js} +13 -12
- package/dist/{init-2GSDAMQJ.js → init-3S4Y6J5G.js} +23 -22
- package/dist/{inspect-SVARILPN.js → inspect-WWJPKRGL.js} +29 -27
- package/dist/{installer-3EXYDXIP.js → installer-UZSVMUKT.js} +7 -6
- package/dist/{keyframes-SWB3HDQX.js → keyframes-Z4R6UFAQ.js} +23 -13
- package/dist/{lambda-AORIF7O3.js → lambda-U4WIJQCJ.js} +7 -6
- package/dist/{layout-6XUKBVQK.js → layout-LXW2H5JT.js} +29 -27
- package/dist/{lint-JDNINLZW.js → lint-OK2DN3VX.js} +14 -13
- package/dist/{lintProject-ESEUOGXF.js → lintProject-4P4C6AN2.js} +1 -1
- package/dist/{list-LRJWMJQS.js → list-DTY2BOKI.js} +5 -3
- package/dist/{login-EK45I6IK.js → login-AEKQ24BU.js} +4 -4
- package/dist/{media-treatment-4X2VQTZQ.js → media-treatment-FQQAY66F.js} +14 -13
- package/dist/{models-QKXFAS6W.js → models-LXUIU5DC.js} +9 -8
- package/dist/{motionShot-BMDELKKS.js → motionShot-XRSPP3G6.js} +12 -11
- package/dist/{normalize-audio-IGFAZ7QO.js → normalize-audio-KWWA6IIN.js} +12 -11
- package/dist/{pipeline-HB3B54ID.js → pipeline-OFFKTFXS.js} +8 -7
- package/dist/{play-D5MHDYX7.js → play-HWFIDZWY.js} +24 -22
- package/dist/{preflight-A5GAQUXY.js → preflight-TVCVP5P2.js} +9 -8
- package/dist/{present-MKO4FPMZ.js → present-EBMTSB5D.js} +19 -17
- package/dist/{preview-OBUTVZG7.js → preview-HAWENKYG.js} +20 -19
- package/dist/{producer-JX3R2SJD.js → producer-LGG3TOUI.js} +1 -1
- package/dist/{projectConfig-D72ZCV4U.js → projectConfig-V53SEFIS.js} +9 -8
- package/dist/{publication-NXK5YHOQ.js → publication-7RKKPKLM.js} +6 -5
- package/dist/{publish-5OD66ODR.js → publish-TRRFCEMQ.js} +11 -10
- package/dist/{remove-background-LBVJV7OI.js → remove-background-HJFT46Z5.js} +9 -8
- package/dist/{render-RBHQOXRI.js → render-Q4NHGHBP.js} +16 -14
- package/dist/{render-RCKUDK22.js → render-TDTMQSYX.js} +24 -23
- package/dist/{render-ZI2B2XFE.js → render-TPZ5FXHS.js} +5 -4
- package/dist/{render-batch-S3H4HVUJ.js → render-batch-4ZF5C2LN.js} +5 -4
- package/dist/{renderCancellation-O6XHCGN6.js → renderCancellation-4PYGAN5D.js} +8 -7
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-Y3I7ADOB.js → resolver-4JRJPC6S.js} +7 -6
- package/dist/{sherpa-NIP27UXM.js → sherpa-MNCWRFD4.js} +11 -9
- package/dist/{skills-G3J3RP4T.js → skills-FKUY5J3V.js} +13 -12
- package/dist/{skillsUpdateCheck-F3XJNGFS.js → skillsUpdateCheck-VRGY5IRQ.js} +3 -3
- package/dist/{snapshot-YFDEUMDC.js → snapshot-OSW3KFRL.js} +29 -27
- package/dist/{src-BH62F364.js → src-QF6RYX76.js} +10 -9
- package/dist/{src-3CKPQCXW.js → src-QX5PPANW.js} +7 -6
- package/dist/{staticProjectServer-2XMNYJTA.js → staticProjectServer-TEVGFDXU.js} +18 -16
- package/dist/{status-RP5AM4YY.js → status-C3IDZFDG.js} +8 -7
- package/dist/studio/assets/{hyperframes-player-Biu5_W0l.js → hyperframes-player-Rml34FRW.js} +1 -1
- package/dist/studio/assets/{index-BdV5T-QI.js → index-CVDArg3m.js} +188 -188
- package/dist/studio/assets/{index-B5Z-1RW9.js → index-C_fi-jTe.js} +1 -1
- package/dist/studio/assets/{index-CWuozokW.js → index-D9YzDuBx.js} +1 -1
- package/dist/studio/index.d.ts +16 -4
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +758 -607
- package/dist/studio/index.js.map +1 -1
- package/dist/{studio-api-OGPSLKV7.js → studio-api-VNIEVFVL.js} +12 -10
- package/dist/{studioServer-2IOOYEU2.js → studioServer-YGYE5AZF.js} +48 -44
- package/dist/{system-SHCBJHHU.js → system-OAB2LYBV.js} +8 -7
- package/dist/{telemetry-EC2XOCFB.js → telemetry-SW2VUF5A.js} +11 -10
- package/dist/{timeline-BSQQU2AJ.js → timeline-KXD4SKGX.js} +18 -16
- package/dist/{tokens-FVA47YFM.js → tokens-TVDW7X7Q.js} +2 -2
- package/dist/{transcribe-IK5WYH4B.js → transcribe-AL3E5MBZ.js} +9 -8
- package/dist/{transcribe-JBNTXHII.js → transcribe-WNVFCNC5.js} +14 -13
- package/dist/{updateCheck-GDYVUZTN.js → updateCheck-DAF2B2QZ.js} +2 -2
- package/dist/{upgrade-Z3PPUNXB.js → upgrade-ZGJPNQOO.js} +2 -2
- package/dist/{urlDownloader-EMO4Y44J.js → urlDownloader-U3TNOPD5.js} +7 -6
- package/dist/{validate-3DQW7O2T.js → validate-AY5MWLFK.js} +17 -16
- package/dist/{video-5WCMLASZ.js → video-KAHL76HG.js} +8 -7
- package/package.json +1 -1
- package/dist/chunk-M5YNZQXZ.js +0 -3528
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T6OPV3KB.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J5ES3BN2.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UVUAU3CH.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
mkdirWithinProject,
|
|
9
9
|
realpath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OFQWTKPW.js";
|
|
11
11
|
|
|
12
12
|
// src/registry/publication.ts
|
|
13
13
|
import { lstatSync, chmodSync, mkdtempSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_VP9_CPU_USED,
|
|
18
18
|
renderProvenanceArgs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VW5OMJNG.js";
|
|
20
20
|
import {
|
|
21
21
|
loadOptionalPackage
|
|
22
22
|
} from "./chunk-XT5P4QMO.js";
|
|
@@ -202,7 +202,7 @@ function inferInputKind(inputPath) {
|
|
|
202
202
|
}
|
|
203
203
|
async function probeMedia(inputPath) {
|
|
204
204
|
const isImage = inferInputKind(inputPath) === "image";
|
|
205
|
-
const engine = await import("./src-
|
|
205
|
+
const engine = await import("./src-QX5PPANW.js");
|
|
206
206
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
207
207
|
if (isImage) {
|
|
208
208
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
installPageFunctionGuard,
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XZSH5GS7.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveCompositionViewportFromHtml
|
|
14
14
|
} from "./chunk-5Z63TBTX.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveProject
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LBZ54I42.js";
|
|
18
18
|
import {
|
|
19
19
|
c
|
|
20
20
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
printDeprecationNotice,
|
|
30
30
|
withMeta
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EUSLU4BH.js";
|
|
32
32
|
import {
|
|
33
33
|
normalizeErrorMessage
|
|
34
34
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -217,7 +217,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
217
217
|
async function localizeRemoteAssets(html) {
|
|
218
218
|
let dir;
|
|
219
219
|
try {
|
|
220
|
-
const { loadProducer } = await import("./producer-
|
|
220
|
+
const { loadProducer } = await import("./producer-LGG3TOUI.js");
|
|
221
221
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
222
222
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
223
223
|
const assetDir = dir;
|
|
@@ -238,10 +238,10 @@ async function localizeRemoteAssets(html) {
|
|
|
238
238
|
}
|
|
239
239
|
async function validateInBrowser(project, opts) {
|
|
240
240
|
const projectDir = project.dir;
|
|
241
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
241
|
+
const { bundleToSingleHtml } = await import("./compiler-QMEZK6CU.js");
|
|
242
242
|
const { ensureBrowser } = await import("./manager-NEVLEZK3.js");
|
|
243
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
244
|
-
const { lintProject } = await import("./lintProject-
|
|
243
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-TEVGFDXU.js");
|
|
244
|
+
const { lintProject } = await import("./lintProject-4P4C6AN2.js");
|
|
245
245
|
const lintResult = await lintProject(projectDir);
|
|
246
246
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
247
247
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -262,13 +262,13 @@ async function validateInBrowser(project, opts) {
|
|
|
262
262
|
try {
|
|
263
263
|
const browser = await ensureBrowser();
|
|
264
264
|
const puppeteer = await import("puppeteer-core");
|
|
265
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
265
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-QX5PPANW.js");
|
|
266
266
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
267
267
|
const {
|
|
268
268
|
assertWebGpuAdapterAvailable,
|
|
269
269
|
compositionRequiresWebGpu,
|
|
270
270
|
resolveCaptureBrowserGpuMode
|
|
271
|
-
} = await import("./gpuPolicy-
|
|
271
|
+
} = await import("./gpuPolicy-BQFPO7UA.js");
|
|
272
272
|
const resolvedGpuMode = await resolveCaptureBrowserGpuMode(
|
|
273
273
|
requestedGpuMode,
|
|
274
274
|
browser.executablePath
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZTZA4UWZ.js";
|
|
13
13
|
import {
|
|
14
14
|
getSystemMeta
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PUB5XZYL.js";
|
|
16
16
|
import {
|
|
17
17
|
getInvocationId
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
evaluateCanary,
|
|
24
24
|
findCanary,
|
|
25
25
|
parseCanaryOverride
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TEXPOC5V.js";
|
|
27
27
|
import {
|
|
28
28
|
hostAnswers
|
|
29
29
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-XUXGIA7H.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MM7KX3QX.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
iterateFontFamilyDeclarations,
|
|
13
13
|
normalizeSystemFontPrimaryFamilies,
|
|
14
14
|
resolveFontFamilyDeclarationFamilies
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R5RF3LGS.js";
|
|
16
16
|
import {
|
|
17
17
|
EncoderInterruptedError,
|
|
18
18
|
encoderFailureError,
|
|
19
19
|
prepareAnimatedGifInputs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-32Y3HRS3.js";
|
|
21
21
|
import {
|
|
22
22
|
createStudioPositionSeekReapplyScript
|
|
23
23
|
} from "./chunk-KC5XXX3X.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
validateEngineConfigSnapshot,
|
|
146
146
|
verifyDiskDrawElementSamples,
|
|
147
147
|
writeCapturedFrame
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-VW5OMJNG.js";
|
|
149
149
|
import {
|
|
150
150
|
HF_VFX_ATTR,
|
|
151
151
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
resolveAbsoluteMediaStartSeconds,
|
|
163
163
|
resolveAuthoredTimingWindow,
|
|
164
164
|
toFps
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-TEXPOC5V.js";
|
|
166
166
|
import {
|
|
167
167
|
CANVAS_DIMENSIONS,
|
|
168
168
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
isAspectAgnosticResolutionAlias,
|
|
174
174
|
normalizeResolutionFlag,
|
|
175
175
|
suggestMatchingPreset
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-TLYU5625.js";
|
|
177
177
|
import {
|
|
178
178
|
assignBundledRuntimeCompositionIds,
|
|
179
179
|
buildVariablesByCompScript,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
inlineSubCompositions,
|
|
187
187
|
prepareFlattenedInnerRoot,
|
|
188
188
|
styleElementsFor
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-TH4APNRP.js";
|
|
190
190
|
import {
|
|
191
191
|
HF_COLOR_GRADING_ATTR,
|
|
192
192
|
MAX_AUDIO_GAIN,
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
resolveNaturalMediaTimelineDurationFromValues,
|
|
208
208
|
shouldClampResolvedMediaDuration,
|
|
209
209
|
sourceTimeAt
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-FOKUJKBN.js";
|
|
211
211
|
import {
|
|
212
212
|
chromeMajorCeiling
|
|
213
213
|
} from "./chunk-TWWSYAKJ.js";
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
lintHyperframeHtml,
|
|
217
217
|
readProjectFile,
|
|
218
218
|
resolveProjectRelativeSrc
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-UVUAU3CH.js";
|
|
220
220
|
import {
|
|
221
221
|
CSS_URL_RE,
|
|
222
222
|
checkSubCompositionUsability,
|
|
@@ -14130,7 +14130,7 @@ function startServer(options = {}) {
|
|
|
14130
14130
|
});
|
|
14131
14131
|
async function shutdown(signal) {
|
|
14132
14132
|
log.info(`Received ${signal}, shutting down`);
|
|
14133
|
-
const { drainBrowserPool } = await import("./src-
|
|
14133
|
+
const { drainBrowserPool } = await import("./src-QX5PPANW.js");
|
|
14134
14134
|
await drainBrowserPool().catch(() => {
|
|
14135
14135
|
});
|
|
14136
14136
|
const handle = await Promise.race([
|
|
@@ -15253,7 +15253,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15253
15253
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15254
15254
|
if (probeResult.probeSession) {
|
|
15255
15255
|
try {
|
|
15256
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15256
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-QX5PPANW.js");
|
|
15257
15257
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15258
15258
|
} catch (err) {
|
|
15259
15259
|
log.warn("[plan] probe session close failed", {
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
isAllowedHtmlAttribute,
|
|
9
9
|
isSafeAttributeValue,
|
|
10
10
|
sanitizeRichTextChildren
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TEXPOC5V.js";
|
|
12
12
|
import {
|
|
13
13
|
removeElementWithGsapCascade
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TLYU5625.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TH4APNRP.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UVUAU3CH.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -6,10 +6,10 @@ 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-XL2CUGEG.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FOKUJKBN.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T6OPV3KB.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J5ES3BN2.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-ZTZA4UWZ.js";
|
|
17
17
|
import {
|
|
18
18
|
detectAgentRuntime
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PUB5XZYL.js";
|
|
20
20
|
import {
|
|
21
21
|
readConfig,
|
|
22
22
|
writeConfig
|
|
@@ -83,7 +83,7 @@ async function maybePromptRenderFeedback(opts) {
|
|
|
83
83
|
async function getDoctorSummary() {
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
|
-
import("./system-
|
|
86
|
+
import("./system-OAB2LYBV.js"),
|
|
87
87
|
import("./ffmpeg-QIUFEFTY.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.99" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.99" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R6KCZGDI.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -221,7 +221,7 @@ var asset_default = defineCommand({
|
|
|
221
221
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
224
|
+
const { trackFigmaImport } = await import("./telemetry-SW2VUF5A.js");
|
|
225
225
|
trackFigmaImport({
|
|
226
226
|
phase: "asset",
|
|
227
227
|
reused: results.every((r) => r.reused),
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
firstFrameColourArgs,
|
|
9
9
|
hdrToSdrToneMapFilter,
|
|
10
10
|
parseFirstFrameColour
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TEXPOC5V.js";
|
|
12
12
|
import {
|
|
13
13
|
mkdirWithinProject,
|
|
14
14
|
realProjectRoot,
|
|
15
15
|
realpath,
|
|
16
16
|
resolveWithinProject
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OFQWTKPW.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanAssetUrl,
|
|
20
20
|
isRemoteOrInlineUrl,
|
|
21
21
|
isUnresolvedAssetPlaceholder,
|
|
22
22
|
maskNonScannableRanges,
|
|
23
23
|
resolveLocalAssetCandidates
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UVUAU3CH.js";
|
|
25
25
|
import {
|
|
26
26
|
findFfBinary
|
|
27
27
|
} from "./chunk-PJ3HDUCY.js";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../core/dist/safePath.js
|
|
9
|
+
import { resolve, sep, join, dirname, basename, relative, isAbsolute } from "path";
|
|
10
|
+
import { lstatSync, mkdirSync, realpathSync, statSync } from "fs";
|
|
11
|
+
function realpath(path) {
|
|
12
|
+
try {
|
|
13
|
+
return realpathSync.native(path);
|
|
14
|
+
} catch (error) {
|
|
15
|
+
if (error.code === "EISDIR")
|
|
16
|
+
return realpathSync(path);
|
|
17
|
+
throw error;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function isMissingPath(path) {
|
|
21
|
+
try {
|
|
22
|
+
lstatSync(path);
|
|
23
|
+
return false;
|
|
24
|
+
} catch (error) {
|
|
25
|
+
return Boolean(error && typeof error === "object" && "code" in error && (error.code === "ENOENT" || error.code === "ENOTDIR"));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function isSafePath(base, resolved) {
|
|
29
|
+
let baseReal;
|
|
30
|
+
try {
|
|
31
|
+
baseReal = realpath(resolve(base));
|
|
32
|
+
} catch {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
const target = resolve(resolved);
|
|
36
|
+
const trailing = [];
|
|
37
|
+
let probe = target;
|
|
38
|
+
for (; ; ) {
|
|
39
|
+
let ancestorReal;
|
|
40
|
+
try {
|
|
41
|
+
ancestorReal = realpath(probe);
|
|
42
|
+
} catch {
|
|
43
|
+
if (!isMissingPath(probe))
|
|
44
|
+
return false;
|
|
45
|
+
const parent = dirname(probe);
|
|
46
|
+
if (parent === probe)
|
|
47
|
+
return false;
|
|
48
|
+
trailing.push(basename(probe));
|
|
49
|
+
probe = parent;
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
const targetReal = trailing.length ? join(ancestorReal, ...[...trailing].reverse()) : ancestorReal;
|
|
53
|
+
return targetReal === baseReal || targetReal.startsWith(baseReal + sep);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function resolveWithinProject(base, relativePath) {
|
|
57
|
+
const resolved = resolve(base, relativePath);
|
|
58
|
+
return isSafePath(base, resolved) ? resolved : null;
|
|
59
|
+
}
|
|
60
|
+
var ProjectRootMissingError = class extends Error {
|
|
61
|
+
root;
|
|
62
|
+
constructor(root) {
|
|
63
|
+
super(`Project folder not found: ${root}`);
|
|
64
|
+
this.root = root;
|
|
65
|
+
this.name = "ProjectRootMissingError";
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
var isProjectRootMissing = (error) => error instanceof Error && error.name === "ProjectRootMissingError";
|
|
69
|
+
function folderGone(dir) {
|
|
70
|
+
try {
|
|
71
|
+
return !statSync(dir, { throwIfNoEntry: false });
|
|
72
|
+
} catch {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function realProjectRoot(root) {
|
|
77
|
+
try {
|
|
78
|
+
return realpath(root);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
if (folderGone(root))
|
|
81
|
+
throw new ProjectRootMissingError(root);
|
|
82
|
+
throw error;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function mkdirWithinProject(root, dir) {
|
|
86
|
+
if (folderGone(root))
|
|
87
|
+
throw new ProjectRootMissingError(root);
|
|
88
|
+
const inside = relative(resolve(root), resolve(dir));
|
|
89
|
+
if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) {
|
|
90
|
+
mkdirSync(dir, { recursive: true });
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
let path = resolve(root);
|
|
94
|
+
for (const part of inside.split(sep).filter(Boolean)) {
|
|
95
|
+
path = join(path, part);
|
|
96
|
+
try {
|
|
97
|
+
mkdirSync(path);
|
|
98
|
+
} catch (error) {
|
|
99
|
+
const code = error.code;
|
|
100
|
+
if (code === "ENOENT" && folderGone(root))
|
|
101
|
+
throw new ProjectRootMissingError(root);
|
|
102
|
+
if (code !== "EEXIST")
|
|
103
|
+
throw error;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
realpath,
|
|
110
|
+
isSafePath,
|
|
111
|
+
resolveWithinProject,
|
|
112
|
+
ProjectRootMissingError,
|
|
113
|
+
isProjectRootMissing,
|
|
114
|
+
folderGone,
|
|
115
|
+
realProjectRoot,
|
|
116
|
+
mkdirWithinProject
|
|
117
|
+
};
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-G2M67K5X.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -966,6 +966,11 @@ function resolveTargetSelector(node, ancestors, scope, bindings) {
|
|
|
966
966
|
}
|
|
967
967
|
return null;
|
|
968
968
|
}
|
|
969
|
+
function hasUnresolvedArrayPart(node, ancestors, scope, bindings) {
|
|
970
|
+
return node?.type === "ArrayExpression" && node.elements.some(
|
|
971
|
+
(el) => !resolveTargetSelector(el, ancestors, scope, bindings) || hasUnresolvedArrayPart(el, ancestors, scope, bindings)
|
|
972
|
+
);
|
|
973
|
+
}
|
|
969
974
|
function describeProxyTarget(targetNode, varsNode, scope) {
|
|
970
975
|
const objNode = targetNode?.type === "ObjectExpression" ? targetNode : targetNode?.type === "Identifier" ? resolveConstNode(targetNode, scope) : void 0;
|
|
971
976
|
if (objNode?.type !== "ObjectExpression") return null;
|
|
@@ -1153,12 +1158,14 @@ function findAllTweenCalls(ast, ref, scope, targetBindings) {
|
|
|
1153
1158
|
const method = callee.property.name;
|
|
1154
1159
|
const args = node.arguments;
|
|
1155
1160
|
const selectorValue = args.length >= 1 ? resolveTargetSelector(args[0], nodeAncestors, scope, targetBindings) ?? "__unresolved__" : "__unresolved__";
|
|
1161
|
+
const partial = hasUnresolvedArrayPart(args[0], nodeAncestors, scope, targetBindings) ? { selectorPartial: true } : {};
|
|
1156
1162
|
if (method === "fromTo" && args.length >= 3) {
|
|
1157
1163
|
results.push({
|
|
1158
1164
|
node,
|
|
1159
1165
|
ancestors: nodeAncestors,
|
|
1160
1166
|
method: "fromTo",
|
|
1161
1167
|
selector: selectorValue,
|
|
1168
|
+
...partial,
|
|
1162
1169
|
fromArg: args[1],
|
|
1163
1170
|
varsArg: args[2],
|
|
1164
1171
|
positionArg: args[3]
|
|
@@ -1169,6 +1176,7 @@ function findAllTweenCalls(ast, ref, scope, targetBindings) {
|
|
|
1169
1176
|
ancestors: nodeAncestors,
|
|
1170
1177
|
method,
|
|
1171
1178
|
selector: selectorValue,
|
|
1179
|
+
...partial,
|
|
1172
1180
|
varsArg: args[1],
|
|
1173
1181
|
positionArg: args[2],
|
|
1174
1182
|
...isGlobalSet ? { global: true } : {}
|
|
@@ -1506,6 +1514,7 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
1506
1514
|
if (hasUnresolvedKeyframes) anim.hasUnresolvedKeyframes = true;
|
|
1507
1515
|
if (durationUnresolved) anim.durationUnresolved = true;
|
|
1508
1516
|
if (selector === "__unresolved__") anim.hasUnresolvedSelector = true;
|
|
1517
|
+
if (call.selectorPartial) anim.hasPartialSelector = true;
|
|
1509
1518
|
if (provenance) anim.provenance = provenance;
|
|
1510
1519
|
return anim;
|
|
1511
1520
|
}
|
|
@@ -1798,6 +1807,10 @@ function parseGsapScriptAcornForWrite(script) {
|
|
|
1798
1807
|
}
|
|
1799
1808
|
var PARSE_MEMO_ENTRIES = 4;
|
|
1800
1809
|
var parseMemo = /* @__PURE__ */ new Map();
|
|
1810
|
+
function findTimelineScript(scripts) {
|
|
1811
|
+
const text = (script) => script.textContent ?? "";
|
|
1812
|
+
return scripts.find((script) => text(script).includes("gsap.timeline")) ?? scripts.find((script) => /\.(set|to)\(/.test(text(script))) ?? null;
|
|
1813
|
+
}
|
|
1801
1814
|
function parseGsapScriptAcorn(script) {
|
|
1802
1815
|
const parsed = parseMemo.get(script) ?? parseGsapScriptAcornUncached(script);
|
|
1803
1816
|
parseMemo.delete(script);
|
|
@@ -1958,6 +1971,7 @@ export {
|
|
|
1958
1971
|
editabilityForProvenance,
|
|
1959
1972
|
buildArcPath,
|
|
1960
1973
|
parseGsapScriptAcornForWrite,
|
|
1974
|
+
findTimelineScript,
|
|
1961
1975
|
parseGsapScriptAcorn,
|
|
1962
1976
|
gsapScriptMotionPathFirstUseIndex,
|
|
1963
1977
|
gsapScriptUsesMotionPath,
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J5ES3BN2.js";
|
|
12
12
|
import {
|
|
13
13
|
getPowerState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PUB5XZYL.js";
|
|
15
15
|
import {
|
|
16
16
|
CliRuntimeError
|
|
17
17
|
} from "./chunk-PBN6GBJE.js";
|
|
18
18
|
import {
|
|
19
19
|
redactTelemetryString
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TEXPOC5V.js";
|
|
21
21
|
import {
|
|
22
22
|
readConfig
|
|
23
23
|
} from "./chunk-XUXGIA7H.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
isTextElement,
|
|
12
12
|
keyframesToGsapAnimations,
|
|
13
13
|
serializeGsapAnimations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TLYU5625.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaElement as isMediaElement2,
|
|
17
17
|
parseStrictFiniteTimingNumber,
|
|
18
18
|
resolveNaturalMediaTimelineDuration,
|
|
19
19
|
resolveTimedImageDurationSeconds
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FOKUJKBN.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
parseStartExpression
|