hyperframes 0.8.134 → 0.8.135
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-RHGOHK4Z.js → add-7E2GRDW5.js} +16 -16
- package/dist/{animatedGifPrep-P2T6YM7Z.js → animatedGifPrep-3AKQSXPU.js} +7 -7
- package/dist/{asset-OTWT2XTV.js → asset-43SXDTJI.js} +2 -2
- package/dist/{assetCataloger-VBLPHX24.js → assetCataloger-KBN5LNK4.js} +3 -3
- package/dist/{auth-VER56QYQ.js → auth-BWQ4HPK7.js} +2 -2
- package/dist/{autoUpdate-XHFKOSVF.js → autoUpdate-JTHQKHG5.js} +2 -2
- package/dist/{backgroundChecks-GAAKX5BU.js → backgroundChecks-H43RKGRE.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FT7AP7XH.js → batchRender-VFXGGGJG.js} +4 -4
- package/dist/{beats-QM23K5LR.js → beats-HAOQC7GJ.js} +13 -13
- package/dist/{benchmark-GPU6HIVH.js → benchmark-ANUXIEPD.js} +13 -13
- package/dist/{browser-RUFRY3QG.js → browser-HEICRDNT.js} +10 -10
- package/dist/{bundleWithLocalizedFonts-5QOPOB5D.js → bundleWithLocalizedFonts-5ATL25BF.js} +2 -2
- package/dist/{capture-RLZA6EMR.js → capture-DYBK5LGE.js} +10 -10
- package/dist/{capture-SZZ4IYJK.js → capture-UEJG6BUX.js} +2 -2
- package/dist/{catalog-L6E2TFFY.js → catalog-2F5L72ZT.js} +16 -16
- package/dist/{check-TTV2DXDB.js → check-WZ5QMBBF.js} +33 -33
- package/dist/{checkBrowser-WWSIKC72.js → checkBrowser-FXVVADP6.js} +32 -32
- package/dist/{chunk-MWB3ZIFM.js → chunk-2BJCQN7K.js} +1 -1
- package/dist/{chunk-LYNI3FOL.js → chunk-32QEFPDS.js} +1 -1
- package/dist/{chunk-4NWOGZZS.js → chunk-374QQGBQ.js} +26 -3
- package/dist/{chunk-QC4FJVLM.js → chunk-37EDNWLQ.js} +1 -1
- package/dist/{chunk-KBUGELQE.js → chunk-3NCZ2SCH.js} +3 -3
- package/dist/{chunk-IUZFXWSV.js → chunk-4AXZWUQ6.js} +1 -1
- package/dist/{chunk-3ZP5DXE7.js → chunk-527WRFUQ.js} +1 -1
- package/dist/{chunk-ZMXUQLI2.js → chunk-5ALWCRBU.js} +47 -25
- package/dist/{chunk-NWMOKW7Q.js → chunk-AV7FBRWP.js} +2 -2
- package/dist/{chunk-2YN64IN5.js → chunk-BHOKLX4F.js} +2 -2
- package/dist/{chunk-HRUGC23L.js → chunk-BSU7EOWJ.js} +1 -1
- package/dist/{chunk-FCSIGXXP.js → chunk-BWJ27MQP.js} +1 -1
- package/dist/{chunk-PDAMK4Q5.js → chunk-D2KNWIQ6.js} +1 -1
- package/dist/{chunk-RMHUQGRK.js → chunk-GK5W3SIJ.js} +4 -4
- package/dist/{chunk-ELEWD7K4.js → chunk-GN6GW6IP.js} +9 -9
- package/dist/{chunk-6CTIGJY7.js → chunk-H4UIYRZZ.js} +2 -2
- package/dist/{chunk-ICDMEFU2.js → chunk-HNUHWAHR.js} +1 -1
- package/dist/{chunk-NIDIM7IR.js → chunk-I54AADBN.js} +1 -1
- package/dist/{chunk-PUYDBQ3R.js → chunk-KZ7B3XK7.js} +1 -1
- package/dist/{chunk-7JZ4FXP2.js → chunk-KZJPREW7.js} +1 -1
- package/dist/{chunk-MUORWS65.js → chunk-LKCICE2T.js} +10 -10
- package/dist/{chunk-YQZNILVH.js → chunk-LO7L5PJ3.js} +5 -5
- package/dist/{chunk-SIU7QCPK.js → chunk-LYJNFBD6.js} +35 -22
- package/dist/{chunk-WAGW42UH.js → chunk-N3DZEPNT.js} +1 -1
- package/dist/{chunk-K2FTXJYH.js → chunk-N3KRRPL7.js} +81 -24
- package/dist/{chunk-GVRLL3SB.js → chunk-NDKVPWBH.js} +3 -3
- package/dist/{chunk-XS4EJSKU.js → chunk-OSSVNAI5.js} +1 -1
- package/dist/{chunk-AVUUN2XD.js → chunk-OZUQF4NB.js} +5 -4
- package/dist/{chunk-Z6B37SNM.js → chunk-PGFP4FLW.js} +12 -158
- package/dist/{chunk-Z46SC5ZL.js → chunk-PULS7UW7.js} +2 -2
- package/dist/{chunk-A2Z4Z4VL.js → chunk-RTURM45Q.js} +1 -1
- package/dist/{chunk-TCLGPL65.js → chunk-RVG35AL2.js} +2 -2
- package/dist/{chunk-TPBT32X6.js → chunk-SMWYGLTD.js} +7 -7
- package/dist/chunk-SRXQEQWZ.js +3742 -0
- package/dist/{chunk-K2EQN4VU.js → chunk-T5LPCY6I.js} +1 -1
- package/dist/{chunk-6IXB7QBG.js → chunk-TKSAWNNI.js} +3 -3
- package/dist/{chunk-Q7IU7MOR.js → chunk-V26IB6L2.js} +2 -2
- package/dist/{chunk-CWPVM2QV.js → chunk-V2J2ZWPR.js} +2 -2
- package/dist/{chunk-ZJUKFZ2P.js → chunk-VDQCNWQI.js} +2 -2
- package/dist/{chunk-CFKU7HTK.js → chunk-VNC6YQOC.js} +1 -1
- package/dist/{chunk-WPHMNO44.js → chunk-WJFCDDP7.js} +1 -1
- package/dist/{chunk-L2PGUI5F.js → chunk-WVRNPWVW.js} +1 -1
- package/dist/{chunk-7HG4BFIN.js → chunk-XE6S5CE6.js} +1 -1
- package/dist/{chunk-6SRQ4ZQ5.js → chunk-XFKPUKL7.js} +4 -4
- package/dist/{chunk-4XSWF3CD.js → chunk-XSWKLDVC.js} +2 -2
- package/dist/{chunk-AJU25DZ2.js → chunk-XZVPQYLU.js} +5 -5
- package/dist/{chunk-LHSR3M4M.js → chunk-Z3EFUXL5.js} +2 -2
- package/dist/{chunk-SUY33ISN.js → chunk-Z3KAYWE5.js} +3 -3
- package/dist/{clean-YNXRTMJU.js → clean-SZMPUNNQ.js} +17 -17
- package/dist/cli.js +51 -51
- package/dist/{cloud-6ZOWBODT.js → cloud-L7RFQB5E.js} +4 -4
- package/dist/{cloudrun-AJUTHUEA.js → cloudrun-FA4XHPZS.js} +5 -5
- package/dist/{compare-I2W3LIPI.js → compare-DN5GHUAZ.js} +27 -27
- package/dist/{compiler-QO36EXLS.js → compiler-XZ654ZH2.js} +13 -11
- package/dist/{component-F5V44RLH.js → component-RYYGPCCC.js} +3 -3
- package/dist/{compositions-KECVMHW5.js → compositions-TF42YRGQ.js} +12 -12
- package/dist/{delete-JGF4FREG.js → delete-KYGP772F.js} +2 -2
- package/dist/{deterministicFonts-HAEMV4TM.js → deterministicFonts-U2EXY2KQ.js} +2 -2
- package/dist/{dist-S3PJNPXQ.js → dist-HVJAGLHF.js} +5 -3
- package/dist/{dist-FNNGCKFS.js → dist-QS5WEGBE.js} +1 -1
- package/dist/{doctor-HDIEQSHY.js → doctor-AWERBYTS.js} +11 -11
- package/dist/{events-T5YLKXZ4.js → events-QMT3TXJ2.js} +10 -10
- package/dist/{events-Z5QEJRZT.js → events-W4AILK4F.js} +9 -9
- package/dist/{feedback-OCX7QBHA.js → feedback-KNKJFGOK.js} +11 -11
- package/dist/{figma-O54GV6BZ.js → figma-D76N4WD7.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-PZRBJXZT.js → get-JHNZVDVT.js} +2 -2
- package/dist/{gpuPolicy-2ZUZE5D6.js → gpuPolicy-ON3RMSWD.js} +7 -7
- package/dist/{grade-compare-CTWZSR4P.js → grade-compare-22SRAVPO.js} +27 -27
- package/dist/{gsapParser-GHMVJQLH.js → gsapParser-2OL54XZ5.js} +21 -14
- package/dist/{gsapParserAcorn-E3GEIRZB.js → gsapParserAcorn-VXZ3ZIF2.js} +5 -3
- package/dist/{help-ZPLDYQJT.js → help-CKKLDL3G.js} +1 -1
- package/dist/{history-2UWBYPTV.js → history-44SS2VJQ.js} +17 -17
- package/dist/hyperframe-runtime.js +49 -49
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +49 -49
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-WEMJI32J.js → info-A2CXIT7G.js} +12 -12
- package/dist/{init-SCEXX6T2.js → init-6D2GNNON.js} +23 -23
- package/dist/{inspect-ZBYJUBMD.js → inspect-QLYCCDHV.js} +28 -28
- package/dist/{installer-K6O5WF44.js → installer-DDJVY4TO.js} +5 -5
- package/dist/{keyframes-FRL5BJBG.js → keyframes-TBS3BUZ5.js} +13 -16
- package/dist/{lambda-D7UMN4DJ.js → lambda-LPLYOEYY.js} +6 -6
- package/dist/{layout-3W2JK43G.js → layout-YLBD2653.js} +28 -28
- package/dist/{lint-HIUPGNCY.js → lint-6XERRN4E.js} +13 -13
- package/dist/{lintProject-OHBBM3DJ.js → lintProject-EPVG2EFE.js} +1 -1
- package/dist/{list-SMD55UPW.js → list-DPVTICQX.js} +2 -2
- package/dist/{login-S3ONWYCS.js → login-FJJH3ZPU.js} +4 -4
- package/dist/{media-treatment-SFW5MCC6.js → media-treatment-CQWZZRHR.js} +13 -13
- package/dist/{models-C4E4IWJD.js → models-54NL5PRB.js} +8 -8
- package/dist/{motionShot-AKIMKJYD.js → motionShot-BSI4U6X7.js} +13 -13
- package/dist/{normalize-audio-U5UXJWRR.js → normalize-audio-2QQBNTAW.js} +12 -12
- package/dist/{open-3E4ZL3XD.js → open-YCWBIUNN.js} +11 -11
- package/dist/{pipeline-TNGWUZQC.js → pipeline-P7QRGI5H.js} +7 -7
- package/dist/{play-33PZ4CD6.js → play-5OX76SR5.js} +22 -22
- package/dist/{preflight-SMNV6RW2.js → preflight-X3XFRJPQ.js} +8 -8
- package/dist/{present-ODOKWMTB.js → present-UFG6NPCO.js} +18 -18
- package/dist/{preview-V3CJ75JK.js → preview-AGS4TAWM.js} +18 -18
- package/dist/{producer-ECLEN5RP.js → producer-KQNJKM7F.js} +1 -1
- package/dist/{projectConfig-HYJMJ5BY.js → projectConfig-EAAQYRMP.js} +7 -7
- package/dist/{publication-HQ5Y3KBM.js → publication-H3G346EX.js} +3 -3
- package/dist/{publish-VHDYQASC.js → publish-NEGKIS35.js} +9 -9
- package/dist/{remove-background-W2YX2NVH.js → remove-background-HU4S4HH5.js} +8 -8
- package/dist/{render-AO5VX3YI.js → render-F3CNO2IE.js} +4 -4
- package/dist/{render-B7L7XGI7.js → render-KEZFDRDA.js} +22 -22
- package/dist/{render-ZUFWRU2R.js → render-POQI3EKS.js} +13 -13
- package/dist/{render-batch-YH7CTWNY.js → render-batch-63CBIJYR.js} +4 -4
- package/dist/{renderCancellation-JPIHE47X.js → renderCancellation-FT3JJ7GB.js} +7 -7
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-IZ647GBZ.js → resolver-YJJKOGQF.js} +5 -5
- package/dist/{sherpa-KKLNW6U2.js → sherpa-3BQDMJPJ.js} +8 -8
- package/dist/{skills-XZSQQ6O3.js → skills-L7SZ45NC.js} +12 -12
- package/dist/{skillsUpdateCheck-I4OHSWVJ.js → skillsUpdateCheck-HP3GJFBP.js} +3 -3
- package/dist/{snapshot-RCEGREHZ.js → snapshot-CYB2PZPW.js} +28 -28
- package/dist/{src-PVYUYV3M.js → src-CUR36DBE.js} +8 -6
- package/dist/{src-6YQBJGWR.js → src-ZPAJ44CP.js} +9 -9
- package/dist/{staticProjectServer-RIFIORHW.js → staticProjectServer-U5DMWKWA.js} +16 -16
- package/dist/{status-YM52BQ6S.js → status-6CGT2PJT.js} +7 -7
- package/dist/studio/assets/{hyperframes-player-Bro1gj0Z.js → hyperframes-player-DFv9heE6.js} +1 -1
- package/dist/studio/assets/{index-DnVGIbEC.js → index-Buy06mZy.js} +1 -1
- package/dist/studio/assets/{index-BwNDTmAD.js → index-CTp4loy9.js} +1 -1
- package/dist/studio/assets/{index-wnXyQjW-.js → index-N_4Ij4X6.js} +185 -184
- package/dist/studio/assets/{index-D11atkBt.css → index-syMK0_9C.css} +1 -1
- package/dist/studio/{chunk-5VSXRGIX.js → chunk-NM7BXNZ7.js} +1 -1
- package/dist/studio/chunk-NM7BXNZ7.js.map +1 -0
- package/dist/studio/{chunk-FOEID72M.js → chunk-QRLKWENQ.js} +2 -2
- package/dist/studio/index.d.ts +3 -1
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +227 -88
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/studio/styles.css +1 -1
- package/dist/studio/ui.d.ts +3 -2
- package/dist/studio/ui.js +1 -1
- package/dist/{studio-api-D2KGZOYL.js → studio-api-KMBTUYG5.js} +10 -10
- package/dist/{studioServer-PXNJXHMV.js → studioServer-LOJ6IOWA.js} +42 -42
- package/dist/{system-EZYZNUFD.js → system-3BTZGJNK.js} +7 -7
- package/dist/{telemetry-SGIIMXZ3.js → telemetry-MCEZ5JYB.js} +10 -10
- package/dist/{timeline-QCU4QE6S.js → timeline-XWH4I5CF.js} +17 -17
- package/dist/{tokens-LXW56KNH.js → tokens-6UTTSLVN.js} +2 -2
- package/dist/{transcribe-BNSJRR4M.js → transcribe-HC35FL6W.js} +8 -8
- package/dist/{transcribe-BTZH3ZVO.js → transcribe-S3NI7SYU.js} +13 -13
- package/dist/{updateCheck-7XAIYPMV.js → updateCheck-3YAKEXSX.js} +2 -2
- package/dist/{upgrade-BMJ32AYR.js → upgrade-JQPBH5RY.js} +2 -2
- package/dist/{urlDownloader-H6WRI2UE.js → urlDownloader-A5TT3AFE.js} +6 -6
- package/dist/{validate-DKXIOSJC.js → validate-BLUPV5H5.js} +17 -17
- package/dist/{video-FGSGKRSV.js → video-USXMJDEZ.js} +7 -7
- package/package.json +1 -1
- package/dist/chunk-HWKCIWQT.js +0 -3578
- package/dist/studio/chunk-5VSXRGIX.js.map +0 -1
- /package/dist/studio/{chunk-FOEID72M.js.map → chunk-QRLKWENQ.js.map} +0 -0
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VALID_CANVAS_RESOLUTIONS,
|
|
9
9
|
resolveResolutionFlagPair
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OZUQF4NB.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/parseOutputResolution.ts
|
|
13
13
|
function parseOutputResolutionFlag(raw, options) {
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
isAllowedHtmlAttribute,
|
|
9
9
|
isSafeAttributeValue,
|
|
10
10
|
sanitizeRichTextChildren
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BHOKLX4F.js";
|
|
12
12
|
import {
|
|
13
13
|
removeElementWithGsapCascade
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OZUQF4NB.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PGFP4FLW.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VDQCNWQI.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -6,24 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3NCZ2SCH.js";
|
|
10
10
|
import {
|
|
11
11
|
AUDIT_SEEK_OPTIONS,
|
|
12
12
|
installPageFunctionGuard,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForCompositionFonts,
|
|
15
15
|
waitForRuntimeReady
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LO7L5PJ3.js";
|
|
17
17
|
import {
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XE6S5CE6.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveDiagnosticNavigationTimeoutMs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BSU7EOWJ.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveProject
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WVRNPWVW.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KZ7B3XK7.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -670,7 +670,7 @@ async function collectTweenBoundaries(page) {
|
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
672
|
async function bundleProjectHtml(projectDir) {
|
|
673
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
673
|
+
const { bundleToSingleHtml } = await import("./compiler-XZ654ZH2.js");
|
|
674
674
|
return bundleToSingleHtml(projectDir);
|
|
675
675
|
}
|
|
676
676
|
async function alignViewportToComposition(page, url) {
|
|
@@ -692,8 +692,8 @@ async function alignViewportToComposition(page, url) {
|
|
|
692
692
|
async function runLayoutAudit(projectDir, opts) {
|
|
693
693
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
694
694
|
const puppeteer = await import("puppeteer-core");
|
|
695
|
-
const { buildChromeArgs } = await import("./src-
|
|
696
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-
|
|
695
|
+
const { buildChromeArgs } = await import("./src-CUR36DBE.js");
|
|
696
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-ON3RMSWD.js");
|
|
697
697
|
const html = await bundleProjectHtml(projectDir);
|
|
698
698
|
const server = await serveStaticProjectHtml(
|
|
699
699
|
projectDir,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
formatVariableValidationIssue,
|
|
21
21
|
validateVariables
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BHOKLX4F.js";
|
|
23
23
|
import {
|
|
24
24
|
extractCompositionMetadata
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OZUQF4NB.js";
|
|
26
26
|
|
|
27
27
|
// src/utils/variables.ts
|
|
28
28
|
import { readFileSync } from "fs";
|
|
@@ -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-QMT3TXJ2.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LO7L5PJ3.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-5Z63TBTX.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XE6S5CE6.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveProject
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WVRNPWVW.js";
|
|
23
23
|
import {
|
|
24
24
|
c
|
|
25
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
printDeprecationNotice,
|
|
35
35
|
withMeta
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KZ7B3XK7.js";
|
|
37
37
|
import {
|
|
38
38
|
normalizeErrorMessage
|
|
39
39
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -222,7 +222,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
222
222
|
async function localizeRemoteAssets(html) {
|
|
223
223
|
let dir;
|
|
224
224
|
try {
|
|
225
|
-
const { loadProducer } = await import("./producer-
|
|
225
|
+
const { loadProducer } = await import("./producer-KQNJKM7F.js");
|
|
226
226
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
227
227
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
228
228
|
const assetDir = dir;
|
|
@@ -243,10 +243,10 @@ async function localizeRemoteAssets(html) {
|
|
|
243
243
|
}
|
|
244
244
|
async function validateInBrowser(project, opts) {
|
|
245
245
|
const projectDir = project.dir;
|
|
246
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
246
|
+
const { bundleToSingleHtml } = await import("./compiler-XZ654ZH2.js");
|
|
247
247
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
248
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
249
|
-
const { lintProject } = await import("./lintProject-
|
|
248
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-U5DMWKWA.js");
|
|
249
|
+
const { lintProject } = await import("./lintProject-EPVG2EFE.js");
|
|
250
250
|
const lintResult = await lintProject(projectDir);
|
|
251
251
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
252
252
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -267,9 +267,9 @@ async function validateInBrowser(project, opts) {
|
|
|
267
267
|
try {
|
|
268
268
|
const browser = await ensureBrowser();
|
|
269
269
|
const puppeteer = await import("puppeteer-core");
|
|
270
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
270
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-CUR36DBE.js");
|
|
271
271
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
272
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-
|
|
272
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-ON3RMSWD.js");
|
|
273
273
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
274
274
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
275
275
|
const chromeBrowser = await launchManagedBrowser(puppeteer.default, {
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XE6S5CE6.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
16
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BSU7EOWJ.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveLocalBrowserGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OSSVNAI5.js";
|
|
21
21
|
import {
|
|
22
22
|
c
|
|
23
23
|
} from "./chunk-ZTZA4UWZ.js";
|
|
24
24
|
import {
|
|
25
25
|
assertWebGpuAdapterAvailable,
|
|
26
26
|
compositionRequiresWebGpu
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-N3KRRPL7.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeErrorMessage
|
|
30
30
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -103,7 +103,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
103
103
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-CT3D67CG.js");
|
|
104
104
|
const browser = await ensureBrowser();
|
|
105
105
|
const puppeteer = await import("puppeteer-core");
|
|
106
|
-
const { buildChromeArgs } = await import("./src-
|
|
106
|
+
const { buildChromeArgs } = await import("./src-CUR36DBE.js");
|
|
107
107
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
108
108
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
109
109
|
const launch = async (executablePath) => {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
splitElementInHtml,
|
|
22
22
|
unwrapElementsFromHtml,
|
|
23
23
|
wrapElementsInHtml
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GK5W3SIJ.js";
|
|
25
25
|
import {
|
|
26
26
|
atomicTempPath,
|
|
27
27
|
createFileAtomically,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
measureAudio,
|
|
35
35
|
requiredFfmpeg,
|
|
36
36
|
resolveLocalAudioPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-37EDNWLQ.js";
|
|
38
38
|
import {
|
|
39
39
|
PROXY_PARAMS_VERSION,
|
|
40
40
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -60,11 +60,11 @@ import {
|
|
|
60
60
|
shouldPrewarmProxy,
|
|
61
61
|
waitForProxy,
|
|
62
62
|
walkDir
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-RVG35AL2.js";
|
|
64
64
|
import {
|
|
65
65
|
findTimelineScript,
|
|
66
66
|
parseGsapScriptAcorn
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-374QQGBQ.js";
|
|
68
68
|
import {
|
|
69
69
|
STUDIO_MANUAL_EDITS_PATH
|
|
70
70
|
} from "./chunk-KC5XXX3X.js";
|
|
@@ -81,20 +81,20 @@ import {
|
|
|
81
81
|
motionPathPluginUrl,
|
|
82
82
|
parseFps,
|
|
83
83
|
sameInstant
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-BHOKLX4F.js";
|
|
85
85
|
import {
|
|
86
86
|
MagicString,
|
|
87
87
|
VALID_CANVAS_RESOLUTIONS,
|
|
88
88
|
unrollComputedTimeline
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-OZUQF4NB.js";
|
|
90
90
|
import {
|
|
91
|
-
AFTER_FONTS_SCRIPT_TYPE,
|
|
92
91
|
addScenePartsManifest,
|
|
93
|
-
deferScriptsUntilFonts,
|
|
94
92
|
ensureHfIds
|
|
95
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-PGFP4FLW.js";
|
|
96
94
|
import {
|
|
95
|
+
AFTER_FONTS_SCRIPT_TYPE,
|
|
97
96
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
97
|
+
deferScriptsUntilFonts,
|
|
98
98
|
findStartTags,
|
|
99
99
|
hasCompositionOutsideTemplates,
|
|
100
100
|
injectTagsAtHeadStart,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
resolveRateSpec,
|
|
105
105
|
sourceTimeAt,
|
|
106
106
|
stripEmbeddedRuntimeScripts
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-SRXQEQWZ.js";
|
|
108
108
|
import {
|
|
109
109
|
ProjectRootMissingError,
|
|
110
110
|
folderGone,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
import {
|
|
118
118
|
isWithinProjectRoot,
|
|
119
119
|
readProjectFile
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-VDQCNWQI.js";
|
|
121
121
|
import {
|
|
122
122
|
FFPROBE_PATH_ENV,
|
|
123
123
|
findFfBinary
|
|
@@ -2421,6 +2421,10 @@ function buildArcPath(coords, curviness, autoRotate, isCubic) {
|
|
|
2421
2421
|
}
|
|
2422
2422
|
return { arcPath: { enabled: true, autoRotate, segments }, waypoints };
|
|
2423
2423
|
}
|
|
2424
|
+
function plainPercentKey(percentage) {
|
|
2425
|
+
const text2 = Math.abs(percentage) < 1e-6 ? percentage.toFixed(20).replace(/\.?0+$/, "") : String(percentage);
|
|
2426
|
+
return `${text2}%`;
|
|
2427
|
+
}
|
|
2424
2428
|
var CSS_IDENTITY = {
|
|
2425
2429
|
opacity: 1,
|
|
2426
2430
|
autoAlpha: 1,
|
|
@@ -3360,9 +3364,6 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
3360
3364
|
properties[key] = val;
|
|
3361
3365
|
}
|
|
3362
3366
|
}
|
|
3363
|
-
if (keyframesData && typeof vars.easeEach === "string") {
|
|
3364
|
-
keyframesData.easeEach = vars.easeEach;
|
|
3365
|
-
}
|
|
3366
3367
|
if (motionPathResult) {
|
|
3367
3368
|
const { waypoints } = motionPathResult;
|
|
3368
3369
|
if (!keyframesData) {
|
|
@@ -4338,7 +4339,7 @@ function convertArrayKeyframesToObject(script, target) {
|
|
|
4338
4339
|
if (!timing) return script;
|
|
4339
4340
|
const entries = els.map((el, i) => {
|
|
4340
4341
|
const { duration: _duration, ...record } = records[i];
|
|
4341
|
-
return `${JSON.stringify(
|
|
4342
|
+
return `${JSON.stringify(plainPercentKey(timing.percentages[i]))}: ${recordToCode(record)}`;
|
|
4342
4343
|
});
|
|
4343
4344
|
const ms = new MagicString(script);
|
|
4344
4345
|
ms.overwrite(
|
|
@@ -4400,7 +4401,13 @@ function addKeyframeToScript(script, animationId, percentage, properties, ease,
|
|
|
4400
4401
|
ms.overwrite(existing.prop.value.start, existing.prop.value.end, recordToCode(targetRecord));
|
|
4401
4402
|
}
|
|
4402
4403
|
} else {
|
|
4403
|
-
insertNewKeyframe(
|
|
4404
|
+
insertNewKeyframe(
|
|
4405
|
+
ms,
|
|
4406
|
+
kfNode,
|
|
4407
|
+
percentage,
|
|
4408
|
+
plainPercentKey(percentage),
|
|
4409
|
+
recordToCode(targetRecord)
|
|
4410
|
+
);
|
|
4404
4411
|
}
|
|
4405
4412
|
for (const [prop, rec] of [...endpointOverwrites, ...backfillOverwrites]) {
|
|
4406
4413
|
ms.overwrite(prop.value.start, prop.value.end, recordToCode(rec));
|
|
@@ -4499,7 +4506,12 @@ function moveKeyframeInScript(script, animationId, fromPercentage, toPercentage)
|
|
|
4499
4506
|
}
|
|
4500
4507
|
entries.push({ pct: toPercentage, record: valueNodeToRecord(match.prop.value, src) });
|
|
4501
4508
|
entries.sort((a, b) => a.pct - b.pct);
|
|
4502
|
-
const
|
|
4509
|
+
const pctProps = new Set(percentagePropsOf(kfNode));
|
|
4510
|
+
const kept = (kfNode.properties ?? []).filter((p) => !pctProps.has(p)).map((p) => src.slice(p.start, p.end));
|
|
4511
|
+
const body = [
|
|
4512
|
+
...entries.map((e) => `${JSON.stringify(plainPercentKey(e.pct))}: ${recordToCode(e.record)}`),
|
|
4513
|
+
...kept
|
|
4514
|
+
].join(", ");
|
|
4503
4515
|
const ms = new MagicString(src);
|
|
4504
4516
|
ms.overwrite(kfNode.start, kfNode.end, `{ ${body} }`);
|
|
4505
4517
|
return ms.toString();
|
|
@@ -4518,7 +4530,7 @@ function resizeKeyframedTweenInScript(script, animationId, newPosition, newDurat
|
|
|
4518
4530
|
}
|
|
4519
4531
|
const ms = new MagicString(src);
|
|
4520
4532
|
for (const { keyNode, to } of edits) {
|
|
4521
|
-
ms.overwrite(keyNode.start, keyNode.end, JSON.stringify(
|
|
4533
|
+
ms.overwrite(keyNode.start, keyNode.end, JSON.stringify(plainPercentKey(to)));
|
|
4522
4534
|
}
|
|
4523
4535
|
overwritePosition(ms, target.call, newPosition);
|
|
4524
4536
|
upsertProp(ms, target.call.varsArg, "duration", newDuration);
|
|
@@ -4621,7 +4633,7 @@ function buildKeyframeObjectCode(keyframes, easeEach) {
|
|
|
4621
4633
|
const props = Object.entries(kf.properties).map(([k, v]) => `${safeKey(k)}: ${valueToCode(v)}`);
|
|
4622
4634
|
if (kf.ease) props.push(`ease: ${valueToCode(kf.ease)}`);
|
|
4623
4635
|
if (kf.auto) props.push(`_auto: 1`);
|
|
4624
|
-
return `${JSON.stringify(
|
|
4636
|
+
return `${JSON.stringify(plainPercentKey(kf.percentage))}: { ${props.join(", ")} }`;
|
|
4625
4637
|
});
|
|
4626
4638
|
if (easeEach) entries.push(`easeEach: ${valueToCode(easeEach)}`);
|
|
4627
4639
|
return `{ ${entries.join(", ")} }`;
|
|
@@ -4775,7 +4787,8 @@ function addGroupAnimToScript(script, anim, propSet) {
|
|
|
4775
4787
|
pos,
|
|
4776
4788
|
anim.duration ?? 0.5,
|
|
4777
4789
|
groupKeyframes,
|
|
4778
|
-
anim.keyframes.
|
|
4790
|
+
anim.keyframes.ease ?? anim.ease,
|
|
4791
|
+
anim.keyframes.easeEach
|
|
4779
4792
|
);
|
|
4780
4793
|
}
|
|
4781
4794
|
const groupProperties = filterGroupProperties(anim.properties, propSet);
|
|
@@ -6423,7 +6436,7 @@ function requestSubPath(url, route) {
|
|
|
6423
6436
|
return decodeURIComponent(segments.slice(start + routeSegments.length).join("/"));
|
|
6424
6437
|
}
|
|
6425
6438
|
async function loadGsapParser() {
|
|
6426
|
-
return import("./gsapParser-
|
|
6439
|
+
return import("./gsapParser-2OL54XZ5.js");
|
|
6427
6440
|
}
|
|
6428
6441
|
function isDanglingSymlinkInProject(projectDir, lexicalPath) {
|
|
6429
6442
|
if (!isSafePath(projectDir, dirname32(lexicalPath))) return false;
|
|
@@ -7084,7 +7097,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
7084
7097
|
let block = extractGsapScriptBlock(html);
|
|
7085
7098
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
7086
7099
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
7087
|
-
const { GSAP_CDN } = await import("./dist-
|
|
7100
|
+
const { GSAP_CDN } = await import("./dist-HVJAGLHF.js");
|
|
7088
7101
|
const bootstrap = [
|
|
7089
7102
|
`<script src="${GSAP_CDN}"></script>`,
|
|
7090
7103
|
"<script>",
|
|
@@ -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-AV7FBRWP.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|