hyperframes 0.8.127 → 0.8.128
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-7CE5XYK2.js → add-DI4T5YLH.js} +15 -15
- package/dist/{animatedGifPrep-4VAIRX7D.js → animatedGifPrep-TSK322QL.js} +6 -6
- package/dist/{asset-22WQELZE.js → asset-CFW5RUI3.js} +2 -2
- package/dist/{assetCataloger-A2AITAHA.js → assetCataloger-MDMKZM4O.js} +2 -2
- package/dist/{auth-33GV2LO2.js → auth-7GR2JYK4.js} +2 -2
- package/dist/{autoUpdate-OIXGTNLS.js → autoUpdate-VPEWPSH6.js} +2 -2
- package/dist/{backgroundChecks-BVP36PXK.js → backgroundChecks-XU7Y6JEZ.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-URT4LT44.js → batchRender-HIRFZIUO.js} +3 -3
- package/dist/{beats-U34XHTAA.js → beats-6EJDWT63.js} +14 -14
- package/dist/{benchmark-FNGERKUQ.js → benchmark-F7U6WZGQ.js} +12 -12
- package/dist/{browser-35LEQMCO.js → browser-3ECFI3DA.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-4CGUDHCA.js → bundleWithLocalizedFonts-OVFXAXV3.js} +2 -2
- package/dist/{capture-GZKMVNKK.js → capture-AC5TRHS5.js} +2 -2
- package/dist/{capture-M2JJS4F2.js → capture-YH5MUSL7.js} +9 -9
- package/dist/{catalog-OVTLU2MC.js → catalog-TRZAPAXM.js} +15 -15
- package/dist/{check-DBVGHGKO.js → check-HP7N4TPB.js} +34 -34
- package/dist/{checkBrowser-2SQIUOXA.js → checkBrowser-BHLSXZ3V.js} +35 -35
- package/dist/{chunk-CX7NQZDE.js → chunk-2CACHG7K.js} +3 -3
- package/dist/{chunk-LLU2BJYY.js → chunk-34C66AH5.js} +2 -2
- package/dist/{chunk-T6HJCRJC.js → chunk-3PDQ4PS2.js} +1 -1
- package/dist/{chunk-L32XKBOF.js → chunk-4AH73ZQW.js} +1 -1
- package/dist/{chunk-S2WNVYLQ.js → chunk-4DGJUQFZ.js} +1 -1
- package/dist/{chunk-MK2HBL6E.js → chunk-4IZNC32H.js} +1 -1
- package/dist/{chunk-RUYSBG3F.js → chunk-4NWOGZZS.js} +32 -30
- package/dist/{chunk-P4PMYDLR.js → chunk-4QJQOVN4.js} +1 -1
- package/dist/{chunk-HZHXHO4V.js → chunk-56P5SEOM.js} +1 -1
- package/dist/{chunk-Q3I4JEGM.js → chunk-5NZVDRRZ.js} +204 -133
- package/dist/{chunk-PVVUMILD.js → chunk-6F63NYFZ.js} +1 -1
- package/dist/{chunk-CSHKZ3SL.js → chunk-6RGOHYPP.js} +1 -1
- package/dist/{chunk-EKGD52A2.js → chunk-72WHJNAR.js} +2 -2
- package/dist/{chunk-D4NPKZFY.js → chunk-77EJSKGP.js} +2 -2
- package/dist/{chunk-ZOUDTLLH.js → chunk-A7VIBZLC.js} +2 -2
- package/dist/{chunk-QR7IRRUX.js → chunk-AQUXI6ZL.js} +5 -5
- package/dist/{chunk-7DPBFAYT.js → chunk-AVUUN2XD.js} +33 -31
- package/dist/{chunk-F4WYYNNG.js → chunk-BELUXCL4.js} +1 -1
- package/dist/{chunk-TL7Y6IBY.js → chunk-BK2KLAYO.js} +3 -3
- package/dist/{chunk-IAKZWKNV.js → chunk-BW773MMX.js} +4 -4
- package/dist/{chunk-RHBM33JF.js → chunk-CF6QQ6CL.js} +7 -7
- package/dist/{chunk-OE66T7R2.js → chunk-COD4GMYB.js} +1 -1
- package/dist/{chunk-ZLJXATSQ.js → chunk-FI4I7CME.js} +1 -1
- package/dist/{chunk-7YJ7CCKW.js → chunk-FN7KZDH7.js} +1 -1
- package/dist/{chunk-6ACXAUBT.js → chunk-H5TVAQAK.js} +4 -4
- package/dist/{chunk-GBTGTS35.js → chunk-IKSUSTJT.js} +1 -1
- package/dist/{chunk-YII7JZ2C.js → chunk-JDNYDR3Y.js} +1 -1
- package/dist/{chunk-6252EFFW.js → chunk-KC5COKLP.js} +1 -1
- package/dist/{chunk-V6LLKVWS.js → chunk-KUZTSKD2.js} +1 -1
- package/dist/{chunk-G33WTKF3.js → chunk-L5IFUB5G.js} +2 -2
- package/dist/{chunk-ZZAHIKFK.js → chunk-LGTAOCIM.js} +1 -1
- package/dist/{chunk-NDPSG5WQ.js → chunk-LRDOFHS5.js} +2 -2
- package/dist/{chunk-HXGPETEM.js → chunk-OESXJGYM.js} +1 -1
- package/dist/{chunk-7TSIAYXZ.js → chunk-PDAMK4Q5.js} +1 -1
- package/dist/{chunk-SC4T53X4.js → chunk-Q767NO4V.js} +3 -3
- package/dist/{chunk-K3ZB5A3K.js → chunk-QFQET76X.js} +54 -13
- package/dist/{chunk-YSCN66NT.js → chunk-QPRIMML2.js} +1 -1
- package/dist/{chunk-PZSNUSBM.js → chunk-RLK4ARFU.js} +2 -2
- package/dist/{chunk-BYI2K4RN.js → chunk-UROSVQOH.js} +2 -2
- package/dist/{chunk-S4AMCVAK.js → chunk-VKBSHU24.js} +5 -5
- package/dist/{chunk-KPY6JX4K.js → chunk-VQME2GRN.js} +11 -11
- package/dist/{chunk-32MY4AZN.js → chunk-WPHMNO44.js} +1345 -23
- package/dist/{chunk-TP4PR3SL.js → chunk-WULYBA5Y.js} +3 -3
- package/dist/{chunk-OLVR6P6R.js → chunk-WVU5CJXG.js} +1 -1
- package/dist/{chunk-AGNZ2QLE.js → chunk-YRKBFZDQ.js} +1 -1
- package/dist/{chunk-TPWWGKU7.js → chunk-ZJUKFZ2P.js} +2 -2
- package/dist/{chunk-OQN3AUOV.js → chunk-ZT4WM4B6.js} +12 -12
- package/dist/{clean-STQ2XPVL.js → clean-6Q36AWQL.js} +18 -18
- package/dist/cli.js +52 -52
- package/dist/{cloud-OQNTIR2N.js → cloud-GQ5UHZZN.js} +4 -4
- package/dist/{cloudrun-ELOBBQHC.js → cloudrun-JD7H36SS.js} +4 -4
- package/dist/{compare-7PHURXFI.js → compare-YONA7IFI.js} +26 -26
- package/dist/{compiler-A3FX5DBC.js → compiler-GNV7YQRO.js} +2 -2
- package/dist/{component-56DVF6XU.js → component-BXHWGVG4.js} +3 -3
- package/dist/{compositions-2DMUUOFR.js → compositions-XC7Y2FPL.js} +11 -11
- package/dist/{delete-EECQVAVJ.js → delete-73UVP2DH.js} +3 -3
- package/dist/{deterministicFonts-64U7A25I.js → deterministicFonts-HAEMV4TM.js} +5 -4
- package/dist/{dist-OJYO32WN.js → dist-FNNGCKFS.js} +1 -1
- package/dist/{dist-IPEAV427.js → dist-NDHKRZTY.js} +2 -2
- package/dist/{doctor-F3CXFLFV.js → doctor-J76TZOKL.js} +10 -10
- package/dist/{events-2LJGIZKG.js → events-FB2W7SMV.js} +9 -9
- package/dist/{events-H5RGIYVK.js → events-I3JMSDHY.js} +8 -8
- package/dist/{feedback-VCMOOK2O.js → feedback-WSIA7ROU.js} +12 -12
- package/dist/{figma-BL4HCJ5P.js → figma-YOJEBRSS.js} +3 -3
- package/dist/{fontData.generated-BW5QEPUT.js → fontData.generated-NXAOI4GH.js} +1 -1
- package/dist/fontLocalizeCli.js +10 -11
- package/dist/{get-HWN5Z3BL.js → get-DXEKFVNL.js} +3 -3
- package/dist/{gpuPolicy-37CE57HN.js → gpuPolicy-IGXJ6JGL.js} +6 -6
- package/dist/{grade-compare-3OPZYNNZ.js → grade-compare-PXBFW53F.js} +26 -26
- package/dist/{gsapParser-LOSAMHNR.js → gsapParser-DIYYX6JT.js} +63 -41
- package/dist/{gsapParserAcorn-ZO2LPEZY.js → gsapParserAcorn-E3GEIRZB.js} +1 -1
- package/dist/{help-X3EPTRKV.js → help-Z6TEXIAO.js} +1 -1
- package/dist/{history-YR6YTOLT.js → history-EFWP3CMR.js} +18 -18
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-QG7OXNW6.js → info-AQ2ZLWSB.js} +11 -11
- package/dist/{init-JUHW2ZN3.js → init-6ZEBBSR5.js} +22 -22
- package/dist/{inspect-LIDYSXAG.js → inspect-EUOV4DGL.js} +27 -27
- package/dist/{installer-YH76H5ML.js → installer-WI6EKOWS.js} +4 -4
- package/dist/{keyframes-ZLHVLMRA.js → keyframes-U6LVMYGO.js} +44 -42
- package/dist/{lambda-T33I4AX6.js → lambda-F6SI24C7.js} +5 -5
- package/dist/{layout-VD36CWWV.js → layout-VQRYMZRP.js} +27 -27
- package/dist/{lint-JAWDGLYW.js → lint-EBHMQRKO.js} +14 -14
- package/dist/{lintProject-IOQ4DBS4.js → lintProject-OHBBM3DJ.js} +1 -1
- package/dist/{list-24TGFCB3.js → list-EUOXTLX6.js} +3 -3
- package/dist/{login-E2PE6CAD.js → login-OXGFQNHT.js} +4 -4
- package/dist/{media-treatment-2BMUTUGD.js → media-treatment-TVCTGGDO.js} +14 -14
- package/dist/{models-TS5PWNPS.js → models-XNX7UHKU.js} +7 -7
- package/dist/{motionShot-RU4MTVOO.js → motionShot-JXQIO5VJ.js} +12 -12
- package/dist/{normalize-audio-245DPF4X.js → normalize-audio-L5LTPJIR.js} +13 -13
- package/dist/{open-RH7YWUVH.js → open-BON6TWUG.js} +10 -10
- package/dist/{pipeline-ZK3JBXX5.js → pipeline-NID4HZDH.js} +6 -6
- package/dist/{play-VK6IF765.js → play-GH43JSBS.js} +29 -29
- package/dist/{preflight-H7YMOAYQ.js → preflight-VSZD4AND.js} +7 -7
- package/dist/{present-CLKL6QSK.js → present-7PTSYTYU.js} +20 -20
- package/dist/{preview-GEPWX2GX.js → preview-X2WVPV66.js} +20 -20
- package/dist/{producer-HBP36IDM.js → producer-TLATG6GZ.js} +1 -1
- package/dist/{projectConfig-FPSBKFQO.js → projectConfig-KKPSSHER.js} +6 -6
- package/dist/{publication-ACSV54DD.js → publication-6BFZTAYA.js} +2 -2
- package/dist/{publish-L2NGI7MV.js → publish-ZDRTAWEH.js} +11 -11
- package/dist/{remove-background-JRRBJN4U.js → remove-background-OZ4OR3B2.js} +7 -7
- package/dist/{render-LZEOB6JN.js → render-U3BRPPSW.js} +3 -3
- package/dist/{render-RXMA4QYX.js → render-ZH5ZCLWA.js} +17 -17
- package/dist/{render-TDSGRTQQ.js → render-ZTIEKMAN.js} +26 -26
- package/dist/{render-batch-ZJQ5VHY6.js → render-batch-3JALVFQN.js} +3 -3
- package/dist/{renderCancellation-MS5MAATT.js → renderCancellation-NHRJYSHT.js} +6 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-WODAPAQC.js → resolver-Z2T2GU2O.js} +4 -4
- package/dist/{sherpa-B3IHJHTK.js → sherpa-DRIVXEAC.js} +7 -7
- package/dist/{skills-56DFZVPS.js → skills-XLN4DLZP.js} +11 -11
- package/dist/{skillsUpdateCheck-AXKUBY44.js → skillsUpdateCheck-CDL66I4W.js} +3 -3
- package/dist/{snapshot-NYQJL43J.js → snapshot-63YZCABA.js} +32 -32
- package/dist/{src-4K2RSSO5.js → src-3M44XVWE.js} +5 -5
- package/dist/{src-UQ72QBPU.js → src-3Q2T2TAT.js} +11 -12
- package/dist/{staticProjectServer-OJH6TFA3.js → staticProjectServer-F563BICS.js} +14 -14
- package/dist/{status-MZT3S6U2.js → status-HPLBWFSU.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-uqzDaxVL.js → hyperframes-player-CKCx0CFA.js} +1 -1
- package/dist/studio/assets/{index-DXSYlqmV.js → index-CF31Pq1E.js} +1 -1
- package/dist/studio/assets/{index-COhbL1xq.js → index-ClLzyuwb.js} +171 -171
- package/dist/studio/assets/{index-CLBNYlDY.js → index-CwS08gWW.js} +1 -1
- package/dist/studio/{chunk-3F47EFCT.js → chunk-7UQWVN52.js} +17 -10
- package/dist/studio/chunk-7UQWVN52.js.map +1 -0
- package/dist/studio/{chunk-246VB2G3.js → chunk-DRVWEPO5.js} +35 -7
- package/dist/studio/chunk-DRVWEPO5.js.map +1 -0
- package/dist/studio/{chunk-5EKWJZLM.js → chunk-TDWGXBUT.js} +1 -1
- package/dist/studio/chunk-TDWGXBUT.js.map +1 -0
- package/dist/studio/{domEditingLayers-OL7GLSS4.js → domEditingLayers-IEVLO54Z.js} +3 -3
- package/dist/studio/index.d.ts +8 -9
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +1193 -869
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/{studio-api-IT5SYLXJ.js → studio-api-PH5PMXQW.js} +8 -8
- package/dist/{studioServer-KHYH2K3Q.js → studioServer-4CEIYT2G.js} +47 -47
- package/dist/{system-4KER4Y62.js → system-G6PL23LG.js} +6 -6
- package/dist/{telemetry-G3NYQGWI.js → telemetry-ILX6SWZM.js} +9 -9
- package/dist/{timeline-CXK4RVZE.js → timeline-3K3WNFPP.js} +18 -18
- package/dist/{tokens-RLU7WBIC.js → tokens-GKA5I6SX.js} +2 -2
- package/dist/{transcribe-SOY2USBA.js → transcribe-P76R64RU.js} +7 -7
- package/dist/{transcribe-Y37DWCAV.js → transcribe-ZZSCMKNC.js} +12 -12
- package/dist/{tts-CGUXR7R4.js → tts-P3LIPIL5.js} +1 -1
- package/dist/{updateCheck-EJ5SAGDC.js → updateCheck-QBLDWYDK.js} +2 -2
- package/dist/{upgrade-MBWWBNGK.js → upgrade-RDBANWHF.js} +2 -2
- package/dist/{urlDownloader-ZJ2TZQ7C.js → urlDownloader-VVG2YURO.js} +5 -5
- package/dist/{validate-4J3OCFET.js → validate-55V46LZZ.js} +16 -16
- package/dist/{video-43437E6M.js → video-S2W6UQ4H.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-4C656PVL.js +0 -1393
- package/dist/fontCompression-ISNK7STS.js +0 -15
- package/dist/studio/chunk-246VB2G3.js.map +0 -1
- package/dist/studio/chunk-3F47EFCT.js.map +0 -1
- package/dist/studio/chunk-5EKWJZLM.js.map +0 -1
- package/dist/studio/{domEditingLayers-OL7GLSS4.js.map → domEditingLayers-IEVLO54Z.js.map} +0 -0
- package/dist/{synthesize-BDXNRYZN.js → synthesize-K62TIZWI.js} +4 -4
|
@@ -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-AVUUN2XD.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/parseOutputResolution.ts
|
|
13
13
|
function parseOutputResolutionFlag(raw, options) {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZTZA4UWZ.js";
|
|
13
13
|
import {
|
|
14
14
|
getSystemMeta
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4IZNC32H.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-YRKBFZDQ.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-L5IFUB5G.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -7,17 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
GENERIC_FAMILIES,
|
|
9
9
|
collectFontFamilyCustomProperties,
|
|
10
|
-
defaultLogger,
|
|
11
10
|
injectDeterministicFontFaces,
|
|
12
11
|
iterateFontFamilyDeclarations,
|
|
13
12
|
normalizeSystemFontPrimaryFamilies,
|
|
14
13
|
resolveFontFamilyDeclarationFamilies
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WPHMNO44.js";
|
|
16
15
|
import {
|
|
17
16
|
EncoderInterruptedError,
|
|
18
17
|
encoderFailureError,
|
|
19
18
|
prepareAnimatedGifInputs
|
|
20
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-34C66AH5.js";
|
|
21
20
|
import {
|
|
22
21
|
createStudioPositionSeekReapplyScript
|
|
23
22
|
} from "./chunk-KC5XXX3X.js";
|
|
@@ -145,7 +144,7 @@ import {
|
|
|
145
144
|
validateEngineConfigSnapshot,
|
|
146
145
|
verifyDiskDrawElementSamples,
|
|
147
146
|
writeCapturedFrame
|
|
148
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-77EJSKGP.js";
|
|
149
148
|
import {
|
|
150
149
|
HF_VFX_ATTR,
|
|
151
150
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -163,7 +162,7 @@ import {
|
|
|
163
162
|
resolveAbsoluteMediaStartSeconds,
|
|
164
163
|
resolveAuthoredTimingWindow,
|
|
165
164
|
toFps
|
|
166
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-YRKBFZDQ.js";
|
|
167
166
|
import {
|
|
168
167
|
CANVAS_DIMENSIONS,
|
|
169
168
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -174,7 +173,7 @@ import {
|
|
|
174
173
|
isAspectAgnosticResolutionAlias,
|
|
175
174
|
normalizeResolutionFlag,
|
|
176
175
|
suggestMatchingPreset
|
|
177
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-AVUUN2XD.js";
|
|
178
177
|
import {
|
|
179
178
|
assignBundledRuntimeCompositionIds,
|
|
180
179
|
buildVariablesByCompScript,
|
|
@@ -188,7 +187,7 @@ import {
|
|
|
188
187
|
inlineSubCompositions,
|
|
189
188
|
prepareFlattenedInnerRoot,
|
|
190
189
|
styleElementsFor
|
|
191
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-WVU5CJXG.js";
|
|
192
191
|
import {
|
|
193
192
|
HF_COLOR_GRADING_ATTR,
|
|
194
193
|
MAX_AUDIO_GAIN,
|
|
@@ -219,7 +218,7 @@ import {
|
|
|
219
218
|
lintHyperframeHtml,
|
|
220
219
|
readProjectFile,
|
|
221
220
|
resolveProjectRelativeSrc
|
|
222
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-ZJUKFZ2P.js";
|
|
223
222
|
import {
|
|
224
223
|
CSS_URL_RE,
|
|
225
224
|
checkSubCompositionUsability,
|
|
@@ -347,6 +346,45 @@ function getHfEarlyStub() {
|
|
|
347
346
|
return HF_EARLY_STUB_IIFE;
|
|
348
347
|
}
|
|
349
348
|
|
|
349
|
+
// ../producer/src/logger.ts
|
|
350
|
+
var LOG_LEVEL_PRIORITY = {
|
|
351
|
+
error: 0,
|
|
352
|
+
warn: 1,
|
|
353
|
+
info: 2,
|
|
354
|
+
debug: 3
|
|
355
|
+
};
|
|
356
|
+
function createConsoleLogger(level = "info") {
|
|
357
|
+
const threshold = LOG_LEVEL_PRIORITY[level];
|
|
358
|
+
const shouldLog = (msgLevel) => LOG_LEVEL_PRIORITY[msgLevel] <= threshold;
|
|
359
|
+
const formatMeta = (meta) => meta ? ` ${JSON.stringify(meta)}` : "";
|
|
360
|
+
return {
|
|
361
|
+
error(message, meta) {
|
|
362
|
+
if (shouldLog("error")) {
|
|
363
|
+
console.error(`[ERROR] ${message}${formatMeta(meta)}`);
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
warn(message, meta) {
|
|
367
|
+
if (shouldLog("warn")) {
|
|
368
|
+
console.warn(`[WARN] ${message}${formatMeta(meta)}`);
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
info(message, meta) {
|
|
372
|
+
if (shouldLog("info")) {
|
|
373
|
+
console.error(`[INFO] ${message}${formatMeta(meta)}`);
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
debug(message, meta) {
|
|
377
|
+
if (shouldLog("debug")) {
|
|
378
|
+
console.error(`[DEBUG] ${message}${formatMeta(meta)}`);
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
isLevelEnabled(msgLevel) {
|
|
382
|
+
return shouldLog(msgLevel);
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
var defaultLogger = createConsoleLogger("info");
|
|
387
|
+
|
|
350
388
|
// ../producer/src/services/fileServer.ts
|
|
351
389
|
var readFileAsync = promisify(readFile);
|
|
352
390
|
function isPathInside(child, parent, options = {}) {
|
|
@@ -6381,7 +6419,7 @@ async function readLocalFont(absPath) {
|
|
|
6381
6419
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
6382
6420
|
}
|
|
6383
6421
|
async function embedLocalFontFaces(html, projectDir) {
|
|
6384
|
-
const { fontToDataUri: toDataUri } = await import("./
|
|
6422
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-HAEMV4TM.js");
|
|
6385
6423
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
6386
6424
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
6387
6425
|
let result = html;
|
|
@@ -6514,6 +6552,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
6514
6552
|
)
|
|
6515
6553
|
);
|
|
6516
6554
|
const coalescedHtml = await injectDeterministicFontFaces(normalizedFontHtml, {
|
|
6555
|
+
logger: defaultLogger,
|
|
6517
6556
|
failClosedFontFetch: options.failClosedFontFetch === true,
|
|
6518
6557
|
allowSystemFontCapture: options.allowSystemFontCapture,
|
|
6519
6558
|
abortSignal: options.abortSignal
|
|
@@ -14157,7 +14196,7 @@ function startServer(options = {}) {
|
|
|
14157
14196
|
});
|
|
14158
14197
|
async function shutdown(signal) {
|
|
14159
14198
|
log.info(`Received ${signal}, shutting down`);
|
|
14160
|
-
const { drainBrowserPool } = await import("./src-
|
|
14199
|
+
const { drainBrowserPool } = await import("./src-3M44XVWE.js");
|
|
14161
14200
|
await drainBrowserPool().catch(() => {
|
|
14162
14201
|
});
|
|
14163
14202
|
const handle = await Promise.race([
|
|
@@ -15070,11 +15109,11 @@ function buildChunkSlices(totalFrames, chunkCount, effectiveChunkSize) {
|
|
|
15070
15109
|
return slices;
|
|
15071
15110
|
}
|
|
15072
15111
|
async function readFontSnapshotSha() {
|
|
15073
|
-
const module = await import("./fontData.generated-
|
|
15112
|
+
const module = await import("./fontData.generated-NXAOI4GH.js");
|
|
15074
15113
|
const data = module.EMBEDDED_FONT_DATA;
|
|
15075
15114
|
if (!data || typeof data !== "object") {
|
|
15076
15115
|
throw new Error(
|
|
15077
|
-
"[plan] EMBEDDED_FONT_DATA missing from
|
|
15116
|
+
"[plan] EMBEDDED_FONT_DATA missing from @hyperframes/core/fonts/embedded-data \u2014 was `bun run build:fonts` run?"
|
|
15078
15117
|
);
|
|
15079
15118
|
}
|
|
15080
15119
|
const dataObj = data;
|
|
@@ -15280,7 +15319,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15280
15319
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15281
15320
|
if (probeResult.probeSession) {
|
|
15282
15321
|
try {
|
|
15283
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15322
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-3M44XVWE.js");
|
|
15284
15323
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15285
15324
|
} catch (err) {
|
|
15286
15325
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17113,6 +17152,8 @@ import { createHash as createHash8 } from "crypto";
|
|
|
17113
17152
|
import { join as join39, relative as relative8 } from "path";
|
|
17114
17153
|
|
|
17115
17154
|
export {
|
|
17155
|
+
createConsoleLogger,
|
|
17156
|
+
defaultLogger,
|
|
17116
17157
|
createFileServer,
|
|
17117
17158
|
resolveRenderPaths,
|
|
17118
17159
|
normalizeErrorMessage,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
firstFrameColourArgs,
|
|
9
9
|
hdrToSdrToneMapFilter,
|
|
10
10
|
parseFirstFrameColour
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YRKBFZDQ.js";
|
|
12
12
|
import {
|
|
13
13
|
mkdirWithinProject,
|
|
14
14
|
realProjectRoot,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isUnresolvedAssetPlaceholder,
|
|
22
22
|
maskNonScannableRanges,
|
|
23
23
|
resolveLocalAssetCandidates
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZJUKFZ2P.js";
|
|
25
25
|
import {
|
|
26
26
|
findFfBinary
|
|
27
27
|
} from "./chunk-PJ3HDUCY.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_VP9_CPU_USED,
|
|
18
18
|
renderProvenanceArgs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77EJSKGP.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-3M44XVWE.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 };
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6RGOHYPP.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
16
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4DGJUQFZ.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveLocalBrowserGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4QJQOVN4.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-77EJSKGP.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-3M44XVWE.js");
|
|
107
107
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
108
108
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
109
109
|
const launch = async (executablePath) => {
|
|
@@ -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-
|
|
10
|
-
import {
|
|
11
|
-
resolveProject
|
|
12
|
-
} from "./chunk-YII7JZ2C.js";
|
|
9
|
+
} from "./chunk-2CACHG7K.js";
|
|
13
10
|
import {
|
|
14
11
|
AUDIT_SEEK_OPTIONS,
|
|
15
12
|
installPageFunctionGuard,
|
|
16
13
|
seekCompositionTimeline,
|
|
17
14
|
waitForCompositionFonts,
|
|
18
15
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VKBSHU24.js";
|
|
20
17
|
import {
|
|
21
18
|
launchManagedBrowser,
|
|
22
19
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6RGOHYPP.js";
|
|
24
21
|
import {
|
|
25
22
|
resolveDiagnosticNavigationTimeoutMs
|
|
26
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4DGJUQFZ.js";
|
|
24
|
+
import {
|
|
25
|
+
resolveProject
|
|
26
|
+
} from "./chunk-JDNYDR3Y.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-OESXJGYM.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-GNV7YQRO.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-3M44XVWE.js");
|
|
696
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-IGXJ6JGL.js");
|
|
697
697
|
const html = await bundleProjectHtml(projectDir);
|
|
698
698
|
const server = await serveStaticProjectHtml(
|
|
699
699
|
projectDir,
|