hyperframes 0.8.195 → 0.8.196
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-NL6XABRV.js → add-JC7CRYAY.js} +12 -12
- package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-5GSLZQUS.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-LRRHLG4L.js → asset-MM3F46VS.js} +2 -2
- package/dist/{assetCataloger-D7KGO346.js → assetCataloger-G2ZIBRML.js} +6 -6
- package/dist/{audio-34CZM4HF.js → audio-TTZ4OR5A.js} +12 -12
- package/dist/{auth-FL5ZMOXB.js → auth-TFOUDLSS.js} +1 -1
- package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-EIHQFY7Y.js} +2 -2
- package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-SXRES7MW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-KDZ4F4QT.js → batchRender-GH2HQQKN.js} +4 -4
- package/dist/{beats-7PK677VR.js → beats-VYH72TGV.js} +8 -8
- package/dist/{benchmark-LO36QH5D.js → benchmark-72KJLRAY.js} +9 -9
- package/dist/{browser-3F7NDHU2.js → browser-3O7SAXSC.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-CJL3HHSF.js} +2 -2
- package/dist/{capture-DOP3ONNZ.js → capture-H33B5WVR.js} +9 -9
- package/dist/{capture-JOSZZYUW.js → capture-NQAJRPLR.js} +2 -2
- package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-HPIRZNGK.js} +11 -11
- package/dist/{catalog-EZLHZMLM.js → catalog-KMNTCN55.js} +12 -12
- package/dist/{catch-up-6B7VY43I.js → catch-up-Q367WUGC.js} +4 -4
- package/dist/{check-QGELCBBF.js → check-NQIN7ZQW.js} +35 -35
- package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-IECG4M6A.js} +30 -30
- package/dist/{chunk-7G2LQM3J.js → chunk-3OKZJYA7.js} +26 -17
- package/dist/{chunk-GOOE33GV.js → chunk-3VI6DSO6.js} +1 -1
- package/dist/{chunk-ZOJHEN3C.js → chunk-4VOUQCY6.js} +1 -1
- package/dist/{chunk-B7Y2DGU6.js → chunk-5MPWOFWO.js} +1 -1
- package/dist/{chunk-SC6NILKD.js → chunk-62DVCRMX.js} +1 -1
- package/dist/{chunk-KJ6ZQL34.js → chunk-6RNGEUL3.js} +1 -1
- package/dist/{chunk-F4T7XYMF.js → chunk-DHSNTPEW.js} +1 -1
- package/dist/{chunk-RZUEXJRC.js → chunk-DMGXJRXV.js} +2 -2
- package/dist/{chunk-WUL5LPI2.js → chunk-DMMYNEAF.js} +1 -1
- package/dist/{chunk-3PYIQLPL.js → chunk-DTGW7DU3.js} +1 -1
- package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
- package/dist/{chunk-4R2NWLQL.js → chunk-E7NEF2SC.js} +1 -1
- package/dist/{chunk-ORZMO6NY.js → chunk-E7S6OJFP.js} +2 -2
- package/dist/{chunk-NOHH25WS.js → chunk-EWXXMXNE.js} +2 -2
- package/dist/{chunk-GKMRLES4.js → chunk-FHRZK527.js} +1 -1
- package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
- package/dist/{chunk-BBXZPDEA.js → chunk-GHNIESBY.js} +2 -2
- package/dist/{chunk-D6XDOYMB.js → chunk-I452OMM7.js} +1 -1
- package/dist/{chunk-CCZMCX3F.js → chunk-I7BLPFXV.js} +1 -1
- package/dist/{chunk-IZR7U27Z.js → chunk-IHGQEF3Z.js} +47 -16
- package/dist/{chunk-2HSRLKZR.js → chunk-IO5NBG26.js} +3 -3
- package/dist/{chunk-VNWX5GBF.js → chunk-IYSIQ4GX.js} +3 -2
- package/dist/{chunk-P5X5URNQ.js → chunk-JCBZI47W.js} +1 -1
- package/dist/{chunk-FWDDLW2H.js → chunk-JI7J3FTM.js} +2 -2
- package/dist/{chunk-OB4GJZTY.js → chunk-JL2PX5P2.js} +1 -1
- package/dist/{chunk-NKNRVPNV.js → chunk-KCFKFKCU.js} +2 -2
- package/dist/{chunk-7DFIVUOW.js → chunk-KLOMOKJC.js} +5 -5
- package/dist/{chunk-HTLCE7M2.js → chunk-L7UPBREN.js} +17 -17
- package/dist/{chunk-HT33OHQL.js → chunk-LP6SFIWQ.js} +1 -1
- package/dist/{chunk-GJG4CTXD.js → chunk-MK6FWMMF.js} +2 -2
- package/dist/chunk-MXT76SSV.js +3901 -0
- package/dist/{chunk-KVLGJJTE.js → chunk-MYVC3XTH.js} +5 -5
- package/dist/{chunk-W4SSWOOD.js → chunk-NCSX7WNM.js} +2 -2
- package/dist/{chunk-YUFECVHG.js → chunk-NTMKBXWW.js} +1 -1
- package/dist/{chunk-ES7KSCSO.js → chunk-PBHFZXYP.js} +9 -9
- package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
- package/dist/{chunk-E527A6RS.js → chunk-PTRDO7J4.js} +2 -2
- package/dist/{chunk-3OAFRLD3.js → chunk-QK2MZ2SF.js} +11 -8
- package/dist/{chunk-7PXVXRVX.js → chunk-QSJUDSIC.js} +9 -9
- package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
- package/dist/{chunk-W7GMPEY3.js → chunk-RASESH32.js} +10 -10
- package/dist/{chunk-XOUWCZHD.js → chunk-REOE2ZEO.js} +1 -1
- package/dist/{chunk-YFTO5YD7.js → chunk-REPDGLLY.js} +5 -5
- package/dist/{chunk-ZAVUASNT.js → chunk-RP7QRLSK.js} +1 -1
- package/dist/{chunk-SMROKE63.js → chunk-TGHMJIHK.js} +2 -2
- package/dist/{chunk-TE6VGYHQ.js → chunk-TR7CDEU7.js} +1 -1
- package/dist/{chunk-YSXCPSJ4.js → chunk-TWHNETZP.js} +3 -3
- package/dist/{chunk-IA7HZ4CM.js → chunk-UPPAKDU3.js} +3 -3
- package/dist/{chunk-2G6JZJAV.js → chunk-VAS2EQRM.js} +2 -2
- package/dist/{chunk-XC7SJ2UR.js → chunk-VFDLKZJZ.js} +3 -3
- package/dist/{chunk-E74JMKSK.js → chunk-VKFHSZYS.js} +2 -2
- package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
- package/dist/{chunk-ZL6ZCLY6.js → chunk-W226NPSC.js} +1 -1
- package/dist/{chunk-HJINEUHY.js → chunk-WFHA6WC3.js} +2 -2
- package/dist/{chunk-6ORTRIDW.js → chunk-WJJ6TPC7.js} +3 -3
- package/dist/{chunk-L4BFXWHC.js → chunk-XJDMYIUI.js} +17 -17
- package/dist/{chunk-ELQ2QQC5.js → chunk-XLVUQGSA.js} +1 -1
- package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
- package/dist/{chunk-L2EBYFU7.js → chunk-XZE3IBMV.js} +1 -1
- package/dist/{chunk-RAACYYWX.js → chunk-YU22E6SG.js} +1 -1
- package/dist/{chunk-66Q27H72.js → chunk-Z43NJYG2.js} +2 -2
- package/dist/{chunk-7Y5RVQQ7.js → chunk-ZKIHZDNI.js} +3 -3
- package/dist/{chunk-636WBDXB.js → chunk-ZSREWHNW.js} +5 -5
- package/dist/{clean-PI4JLT6O.js → clean-HINDVP2J.js} +16 -16
- package/dist/cli.js +53 -53
- package/dist/{cloud-SQRY723M.js → cloud-TPFDYW6D.js} +4 -4
- package/dist/{cloudrun-VMPROR43.js → cloudrun-XI4YKOBA.js} +6 -6
- package/dist/{compare-EHX4APTP.js → compare-I7GD7WNG.js} +27 -27
- package/dist/{compiler-FZCJGGBF.js → compiler-K7SH7OZQ.js} +3 -3
- package/dist/{component-I75ZKJYH.js → component-FRH7UFTP.js} +3 -3
- package/dist/{compositions-YNYYUEQD.js → compositions-UQCJ7BG7.js} +10 -10
- package/dist/{delete-7BVTBKOC.js → delete-OTDM7JOD.js} +2 -2
- package/dist/{deploy-TUEEJP3W.js → deploy-L6JEPE2A.js} +1 -1
- package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
- package/dist/{dist-VVROHSP4.js → dist-FQBHBBKC.js} +3 -3
- package/dist/{doctor-53DSQFW4.js → doctor-RY44RTJD.js} +10 -10
- package/dist/{events-M6FIUDNQ.js → events-ALOHDCL3.js} +3 -3
- package/dist/{events-AD3U6E7I.js → events-JSL7JIXP.js} +2 -2
- package/dist/{feedback-7SQ7KKAR.js → feedback-FSICK4WO.js} +8 -8
- package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-FG7VOQTN.js} +6 -6
- package/dist/{figma-B5XII2BO.js → figma-CN2672XS.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-RZKNBIRD.js → get-C3OPJMWR.js} +2 -2
- package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-AJX7YIAS.js} +6 -6
- package/dist/{grade-compare-K3YB3FQA.js → grade-compare-WQHSPAHD.js} +28 -28
- package/dist/{help-UM6INVL5.js → help-E3MX427C.js} +1 -1
- package/dist/{history-EWKPACWR.js → history-FYLXZMI4.js} +7 -7
- 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-KY3MFTCY.js → info-OMF7O3KA.js} +8 -8
- package/dist/{init-LURF2PL5.js → init-K3GNFQLD.js} +26 -26
- package/dist/{inspect-46CZJM6P.js → inspect-GYOEV66Q.js} +28 -28
- package/dist/{installer-NGFX6INI.js → installer-6X4VLDTC.js} +5 -5
- package/dist/{keyframes-YCSK6POI.js → keyframes-IPXUT4QI.js} +6 -6
- package/dist/{lambda-5KXULI2S.js → lambda-ZGMXIDJV.js} +8 -8
- package/dist/{layout-WOLH24YE.js → layout-QVTB5SUJ.js} +28 -28
- package/dist/{lint-P3P2LX6S.js → lint-V2I27FUE.js} +6 -6
- package/dist/{list-RUYQWMF2.js → list-J5MFX5NA.js} +2 -2
- package/dist/{login-THBBWZAY.js → login-ZRCLBPMK.js} +4 -4
- package/dist/{manager-V34BMSAG.js → manager-GLJVKITP.js} +7 -7
- package/dist/{media-treatment-IMBLTYGV.js → media-treatment-HVGN5S4H.js} +12 -12
- package/dist/{models-3NW7HU72.js → models-4WEGIBNZ.js} +10 -10
- package/dist/{motionShot-VTTYZ6KW.js → motionShot-B3I4ZE73.js} +14 -14
- package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-QIERL4II.js} +6 -6
- package/dist/{open-GLGSJISM.js → open-ALXHG55R.js} +12 -12
- package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-ESAELH2V.js} +11 -11
- package/dist/{pipeline-IJXVEQCU.js → pipeline-QK6KHDQ3.js} +7 -7
- package/dist/{play-HFFGGAZH.js → play-XBIN4KMI.js} +19 -19
- package/dist/{preflight-QV6V3UO2.js → preflight-D6VLCMOJ.js} +7 -7
- package/dist/{present-TH34CTYY.js → present-DQ45WV7Q.js} +15 -15
- package/dist/{preview-R67EQGQP.js → preview-CIAZ646P.js} +17 -17
- package/dist/{producer-HWPFETDU.js → producer-T3FJ6HZE.js} +1 -1
- package/dist/{projectConfig-AO4V3RHS.js → projectConfig-WFGZJAYZ.js} +7 -7
- package/dist/{publication-BDQ3PXYG.js → publication-GWNKRVXZ.js} +3 -3
- package/dist/{publish-PXYTWSXN.js → publish-LIAAGUNA.js} +9 -9
- package/dist/{remove-background-BVDJPT3Z.js → remove-background-HRFJZJHF.js} +8 -8
- package/dist/{render-45YHWV6W.js → render-3C5LHQ3P.js} +6 -6
- package/dist/{render-5RQUYPIV.js → render-RWW4LGKJ.js} +28 -28
- package/dist/{render-5MZY4TAB.js → render-SMFKECFA.js} +14 -14
- package/dist/{render-batch-ZUTUBTHX.js → render-batch-7UH2F7N4.js} +6 -6
- package/dist/{resolver-FN2M3XVM.js → resolver-4ZFA36XZ.js} +5 -5
- package/dist/{sherpa-6KWNPRWB.js → sherpa-NRSAFFIL.js} +10 -10
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
- package/dist/{skills-PWQCM2BT.js → skills-6ZUYEX75.js} +5 -5
- package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-G2NSDI6O.js} +3 -3
- package/dist/{snapshot-7Q24NFEI.js → snapshot-ZJBRKRHZ.js} +32 -32
- package/dist/{src-J43SXEHJ.js → src-CZHSSXXF.js} +8 -8
- package/dist/{src-OS2FRVZV.js → src-GIB5BUZZ.js} +5 -5
- package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-Q3BHJE7H.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-DG3nZ1bE.js} +1 -1
- package/dist/studio/assets/{index-Dkt4c1MV.js → index-BS2__aBb.js} +4 -4
- package/dist/studio/assets/{index-CVppCm_X.js → index-C1r59TIq.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CZBZ4D65.js → studio-api-QB4YAV5Q.js} +9 -9
- package/dist/{studioServer-U6EX5DSB.js → studioServer-O6T4J75T.js} +46 -46
- package/dist/{telemetry-VP4UWWO3.js → telemetry-IKTCBFN5.js} +3 -3
- package/dist/{timeline-LMSUKEG6.js → timeline-J2D5R53C.js} +17 -17
- package/dist/{tokens-FQ5AI5H4.js → tokens-2D2TFXGD.js} +2 -2
- package/dist/{transcribe-VAMXV7QS.js → transcribe-HGD5MUPC.js} +15 -15
- package/dist/{transcribe-DNQFPZ2S.js → transcribe-JX23YVIR.js} +9 -9
- package/dist/{updateCheck-TOU7VLZK.js → updateCheck-S56I5SDE.js} +2 -2
- package/dist/{upgrade-CJRMRR2S.js → upgrade-A4LUB5SH.js} +2 -2
- package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-ENNZJ7EM.js} +5 -5
- package/dist/{validate-PRI2UTQS.js → validate-IGVFY5CJ.js} +22 -22
- package/dist/{video-VOCQA6AG.js → video-HFXVZURT.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +2 -2
- package/dist/chunk-ZQRD62QZ.js +0 -3901
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XJDMYIUI.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MK6FWMMF.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3VI6DSO6.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YU22E6SG.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VKFHSZYS.js";
|
|
32
32
|
import {
|
|
33
33
|
decodeWellFormedEscapes
|
|
34
34
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LP6SFIWQ.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VKFHSZYS.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -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-ALOHDCL3.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -8,31 +8,31 @@ import {
|
|
|
8
8
|
launchManagedBrowser,
|
|
9
9
|
resolveManagedGpuMode,
|
|
10
10
|
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DMMYNEAF.js";
|
|
12
12
|
import {
|
|
13
13
|
gotoWhenSent
|
|
14
14
|
} from "./chunk-MOEGCMKI.js";
|
|
15
15
|
import {
|
|
16
16
|
pageNavigationTimeoutMs,
|
|
17
17
|
windowsChromeCrashRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TWHNETZP.js";
|
|
19
19
|
import {
|
|
20
20
|
oneProcessOverPipe
|
|
21
21
|
} from "./chunk-DKPNNYBZ.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveCompositionViewportFromHtml
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3VI6DSO6.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveLocalBrowserGpuMode,
|
|
27
27
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GHNIESBY.js";
|
|
29
29
|
import {
|
|
30
30
|
c
|
|
31
31
|
} from "./chunk-ZTZA4UWZ.js";
|
|
32
32
|
import {
|
|
33
33
|
assertWebGpuAdapterAvailable,
|
|
34
34
|
compositionRequiresWebGpu
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WFHA6WC3.js";
|
|
36
36
|
import {
|
|
37
37
|
normalizeErrorMessage
|
|
38
38
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -140,7 +140,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
140
140
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
141
141
|
});
|
|
142
142
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
143
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
143
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-GIB5BUZZ.js");
|
|
144
144
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
145
145
|
await waitForImagesReady(
|
|
146
146
|
page,
|
|
@@ -189,7 +189,7 @@ async function installPageFunctionGuard(page) {
|
|
|
189
189
|
async function openSettledCompositionPage(html, url, options) {
|
|
190
190
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
191
191
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
192
|
-
const answer = (await import("./staticProjectServer-
|
|
192
|
+
const answer = (await import("./staticProjectServer-Q3BHJE7H.js")).inProcessAnswer(url);
|
|
193
193
|
const noListen = answer !== void 0;
|
|
194
194
|
let chromeBrowser;
|
|
195
195
|
try {
|
|
@@ -200,7 +200,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
200
200
|
options.onBrowserReady?.();
|
|
201
201
|
const page = await chromeBrowser.newPage();
|
|
202
202
|
await installPageFunctionGuard(page);
|
|
203
|
-
const { installMediaRenderIdBridge } = await import("./src-
|
|
203
|
+
const { installMediaRenderIdBridge } = await import("./src-GIB5BUZZ.js");
|
|
204
204
|
await installMediaRenderIdBridge(page);
|
|
205
205
|
await page.setViewport(viewport);
|
|
206
206
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
@@ -219,7 +219,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
219
219
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-COSJVRAE.js");
|
|
220
220
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
221
221
|
const puppeteer = await import("puppeteer-core");
|
|
222
|
-
const { buildChromeArgs } = await import("./src-
|
|
222
|
+
const { buildChromeArgs } = await import("./src-GIB5BUZZ.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
mkdirWithinProject
|
|
22
22
|
} from "./chunk-OFQWTKPW.js";
|
|
23
23
|
|
|
24
|
-
// ../studio-server/dist/chunk-
|
|
24
|
+
// ../studio-server/dist/chunk-VKQTZKGA.js
|
|
25
25
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
26
26
|
import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
|
|
27
27
|
import {
|
|
@@ -2323,7 +2323,12 @@ var Engine = class {
|
|
|
2323
2323
|
async writeAs(who, label, target, extra) {
|
|
2324
2324
|
this.assertWritable();
|
|
2325
2325
|
const changes = [...target].filter(([path, hash]) => (this.tracked.get(path)?.hash ?? null) !== hash).sort(([, a], [, b]) => Number(a !== null) - Number(b !== null));
|
|
2326
|
-
const
|
|
2326
|
+
const setAsideByDeletesFirst = new Set(
|
|
2327
|
+
changes.filter(([, hash]) => hash === null).map(([path]) => this.tracked.get(path)?.hash)
|
|
2328
|
+
);
|
|
2329
|
+
const gone = changes.find(
|
|
2330
|
+
([, hash]) => hash !== null && !this.blobs.has(hash) && !setAsideByDeletesFirst.has(hash)
|
|
2331
|
+
);
|
|
2327
2332
|
if (gone)
|
|
2328
2333
|
throw new Error(
|
|
2329
2334
|
`An earlier version of ${gone[0]} is not kept, so this cannot be brought back.`
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TGHMJIHK.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PGDWNIOK.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DTGW7DU3.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YU22E6SG.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-I452OMM7.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NCSX7WNM.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LP6SFIWQ.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-W226NPSC.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VKFHSZYS.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -57,6 +57,7 @@ import { resolve, relative } from "path";
|
|
|
57
57
|
// src/utils/clipboard.ts
|
|
58
58
|
import { spawnSync } from "child_process";
|
|
59
59
|
import { platform } from "os";
|
|
60
|
+
var COPY_TIMEOUT_MS = 5e3;
|
|
60
61
|
function detectProvider() {
|
|
61
62
|
const os = platform();
|
|
62
63
|
if (os === "darwin") {
|
|
@@ -86,7 +87,9 @@ function copyToClipboard(text) {
|
|
|
86
87
|
try {
|
|
87
88
|
const res = spawnSync(provider.cmd, provider.args, {
|
|
88
89
|
input: text,
|
|
89
|
-
encoding: "utf-8"
|
|
90
|
+
encoding: "utf-8",
|
|
91
|
+
stdio: ["pipe", "ignore", "ignore"],
|
|
92
|
+
timeout: COPY_TIMEOUT_MS
|
|
90
93
|
});
|
|
91
94
|
return res.status === 0;
|
|
92
95
|
} catch {
|
|
@@ -6,27 +6,27 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RP7QRLSK.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MYVC3XTH.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PBHFZXYP.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DMMYNEAF.js";
|
|
24
24
|
import {
|
|
25
25
|
gotoWhenSent
|
|
26
26
|
} from "./chunk-MOEGCMKI.js";
|
|
27
27
|
import {
|
|
28
28
|
pageNavigationTimeoutMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TWHNETZP.js";
|
|
30
30
|
import {
|
|
31
31
|
defineCommand
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
printDeprecationNotice,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XLVUQGSA.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
46
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -715,7 +715,7 @@ async function collectTweenBoundaries(page) {
|
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
717
|
async function bundleProjectHtml(projectDir) {
|
|
718
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
718
|
+
const { bundleToSingleHtml } = await import("./compiler-K7SH7OZQ.js");
|
|
719
719
|
return bundleToSingleHtml(projectDir);
|
|
720
720
|
}
|
|
721
721
|
async function alignViewportToComposition(page, url) {
|
|
@@ -734,13 +734,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
734
734
|
async function runLayoutAudit(projectDir, opts) {
|
|
735
735
|
const { ensureBrowser } = await import("./manager-COSJVRAE.js");
|
|
736
736
|
const puppeteer = await import("puppeteer-core");
|
|
737
|
-
const { buildChromeArgs } = await import("./src-
|
|
737
|
+
const { buildChromeArgs } = await import("./src-GIB5BUZZ.js");
|
|
738
738
|
const {
|
|
739
739
|
assertWebGpuAdapterAvailable,
|
|
740
740
|
compositionRequiresWebGpu,
|
|
741
741
|
resolveLocalBrowserGpuMode,
|
|
742
742
|
resolveLocalWebGpu
|
|
743
|
-
} = await import("./gpuPolicy-
|
|
743
|
+
} = await import("./gpuPolicy-AJX7YIAS.js");
|
|
744
744
|
const html = await bundleProjectHtml(projectDir);
|
|
745
745
|
const server = await serveStaticProjectHtml(
|
|
746
746
|
projectDir,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
EncoderInterruptedError,
|
|
9
9
|
encoderFailureError,
|
|
10
10
|
prepareAnimatedGifInputs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JI7J3FTM.js";
|
|
12
12
|
import {
|
|
13
13
|
GENERIC_FAMILIES,
|
|
14
14
|
collectFontFamilyCustomProperties,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
iterateFontFamilyDeclarations,
|
|
17
17
|
normalizeSystemFontPrimaryFamilies,
|
|
18
18
|
resolveFontFamilyDeclarationFamilies
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FMTJ4I6I.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
22
|
} from "./chunk-KLIKCX6Q.js";
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
verifyDiskDrawElementSamples,
|
|
161
161
|
videoAudioId,
|
|
162
162
|
writeCapturedFrame
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-WFHA6WC3.js";
|
|
164
164
|
import {
|
|
165
165
|
DISTRIBUTED_FPS,
|
|
166
166
|
HF_VFX_ATTR,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
parseVfxChain,
|
|
177
177
|
resolveAuthoredTimingWindow,
|
|
178
178
|
toFps
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-VKFHSZYS.js";
|
|
180
180
|
import {
|
|
181
181
|
assignBundledRuntimeCompositionIds,
|
|
182
182
|
buildVariablesByCompScript,
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
inlineSubCompositions,
|
|
189
189
|
parsesAsScript,
|
|
190
190
|
prepareFlattenedInnerRoot
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-IYSIQ4GX.js";
|
|
192
192
|
import {
|
|
193
193
|
COMPOSITION_SOURCE_URL,
|
|
194
194
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
sourceTimeAt,
|
|
220
220
|
styleElementsFor,
|
|
221
221
|
timeAtSourceTime
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-MXT76SSV.js";
|
|
223
223
|
import {
|
|
224
224
|
MAX_AUDIO_GAIN
|
|
225
225
|
} from "./chunk-X7HBSTCZ.js";
|
|
@@ -233,7 +233,7 @@ import {
|
|
|
233
233
|
isAspectAgnosticResolutionAlias,
|
|
234
234
|
normalizeResolutionFlag,
|
|
235
235
|
suggestMatchingPreset
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-XOTUPVIF.js";
|
|
237
237
|
import {
|
|
238
238
|
TRANSITIONS,
|
|
239
239
|
convertTransfer,
|
|
@@ -6677,7 +6677,7 @@ async function readLocalFont(absPath) {
|
|
|
6677
6677
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
6678
6678
|
}
|
|
6679
6679
|
async function embedLocalFontFaces(html, projectDir) {
|
|
6680
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
6680
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-RMA7GDJC.js");
|
|
6681
6681
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
6682
6682
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
6683
6683
|
let result = html;
|
|
@@ -15658,7 +15658,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
15658
15658
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15659
15659
|
if (probeResult.probeSession) {
|
|
15660
15660
|
try {
|
|
15661
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15661
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-GIB5BUZZ.js");
|
|
15662
15662
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15663
15663
|
} catch (err) {
|
|
15664
15664
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17311,7 +17311,7 @@ function startServer(options = {}) {
|
|
|
17311
17311
|
});
|
|
17312
17312
|
async function shutdown(signal) {
|
|
17313
17313
|
log.info(`Received ${signal}, shutting down`);
|
|
17314
|
-
const { drainBrowserPool } = await import("./src-
|
|
17314
|
+
const { drainBrowserPool } = await import("./src-GIB5BUZZ.js");
|
|
17315
17315
|
await drainBrowserPool().catch(() => {
|
|
17316
17316
|
});
|
|
17317
17317
|
const handle = await Promise.race([
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6RNGEUL3.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FHRZK527.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WFHA6WC3.js";
|
|
33
33
|
import {
|
|
34
34
|
getAvailableMemoryMb,
|
|
35
35
|
getFreeDiskMb,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
getUpdateMeta,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XLVUQGSA.js";
|
|
43
43
|
import {
|
|
44
44
|
CONFIG_PATH,
|
|
45
45
|
withFileLock
|
|
46
46
|
} from "./chunk-6NLPPKBO.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Z43NJYG2.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-GLJVKITP.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RP7QRLSK.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
13
13
|
MAX_WINDOW_IDLE_MS,
|
|
14
14
|
openProjectHistory,
|
|
15
15
|
readProjectHistory
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PGDWNIOK.js";
|
|
17
17
|
import {
|
|
18
18
|
findPreviewServerForProject,
|
|
19
19
|
studioApiUrl
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I7BLPFXV.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WFHA6WC3.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VKFHSZYS.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E7NEF2SC.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WFHA6WC3.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
27
|
} from "./chunk-BL4U6U52.js";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-GIB5BUZZ.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -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-XJDMYIUI.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MXT76SSV.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W226NPSC.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6RNGEUL3.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-7F3UEHQT.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-FG7VOQTN.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MXT76SSV.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isTextElement,
|
|
18
18
|
keyframesToGsapAnimations,
|
|
19
19
|
serializeGsapAnimations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XOTUPVIF.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -14,6 +14,10 @@ import {
|
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
16
|
} from "./chunk-ELP5QZWL.js";
|
|
17
|
+
import {
|
|
18
|
+
decodeUrlPathVariants,
|
|
19
|
+
encodeUrlPath
|
|
20
|
+
} from "./chunk-XOTUPVIF.js";
|
|
17
21
|
import {
|
|
18
22
|
CSS_URL_RE,
|
|
19
23
|
isNonRelativeUrl,
|
|
@@ -396,14 +400,17 @@ function addExternalAsset(ctx, absPath) {
|
|
|
396
400
|
}
|
|
397
401
|
function tryResolveExternal(ctx, rawPath, referrerAbsDir) {
|
|
398
402
|
if (isNonRelativeUrl(rawPath)) return null;
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
for (const path of decodeUrlPathVariants(rawPath)) {
|
|
404
|
+
const absPath = resolve2(referrerAbsDir, path);
|
|
405
|
+
if (isPathInside(absPath, ctx.absProjectDir)) return null;
|
|
406
|
+
try {
|
|
407
|
+
if (!existsSync2(absPath) || !statSync(absPath).isFile()) continue;
|
|
408
|
+
} catch {
|
|
409
|
+
continue;
|
|
410
|
+
}
|
|
411
|
+
return encodeUrlPath(addExternalAsset(ctx, absPath));
|
|
405
412
|
}
|
|
406
|
-
return
|
|
413
|
+
return null;
|
|
407
414
|
}
|
|
408
415
|
function referenceFrom(entryPath, target) {
|
|
409
416
|
return isNonRelativeUrl(target) ? target : posix.relative(posix.dirname(entryPath), target);
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
renderFrameIdForRenderId,
|
|
27
27
|
resolveAuthoredTimingWindow,
|
|
28
28
|
toFps
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VKFHSZYS.js";
|
|
30
30
|
import {
|
|
31
31
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
32
32
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
sourceTimeAt,
|
|
64
64
|
timeAtSourceTime,
|
|
65
65
|
volumeSegmentSampleCount
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-MXT76SSV.js";
|
|
67
67
|
import {
|
|
68
68
|
clampAudioGain,
|
|
69
69
|
clipGain,
|