hyperframes 0.8.142 → 0.8.143
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-YS2RCWEK.js → add-Q5EYDUAY.js} +18 -17
- package/dist/{animatedGifPrep-SAMCDT7T.js → animatedGifPrep-H2DUQEZ3.js} +15 -14
- package/dist/{asset-BLWC2NWB.js → asset-C7JBYYX4.js} +4 -4
- package/dist/{assetCataloger-FVNBBRP3.js → assetCataloger-FRO4G6OU.js} +8 -7
- package/dist/{auth-DRZB7OAC.js → auth-FRWLCO36.js} +1 -1
- package/dist/{autoUpdate-I5I3BOJK.js → autoUpdate-E4OZXQK6.js} +2 -2
- package/dist/{backgroundChecks-VR2QHGNY.js → backgroundChecks-FSUVHN5L.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-4YUHQI6X.js → batchRender-4U73BYTU.js} +11 -10
- package/dist/{beats-7OT7ALV3.js → beats-U6KJWF35.js} +32 -27
- package/dist/{benchmark-Q2XQCRTR.js → benchmark-5ONT7V7B.js} +15 -14
- package/dist/{browser-7VAWQQZC.js → browser-R4DU46IE.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-DDMLLL2R.js → bundleWithLocalizedFonts-VH55VOAL.js} +2 -2
- package/dist/{capture-HEJS6M5A.js → capture-26G2DPSI.js} +18 -17
- package/dist/{capture-U7ABPKS5.js → capture-OGQAEYKO.js} +2 -2
- package/dist/{catalog-DVJ3XPDN.js → catalog-RKORTIUE.js} +19 -18
- package/dist/{catch-up-DF6AVSN2.js → catch-up-4OBERRQO.js} +5 -5
- package/dist/{check-KXORRWAE.js → check-P2XDN57S.js} +43 -42
- package/dist/{checkBrowser-J7HZJTRH.js → checkBrowser-NTGJGAEA.js} +42 -41
- package/dist/{chunk-EFDXGAAD.js → chunk-2LBBHMKT.js} +1 -1
- package/dist/{chunk-IDX52YJN.js → chunk-33RZPZ4K.js} +189 -42
- package/dist/{chunk-JU6Y5TTZ.js → chunk-3NE7ZYU2.js} +2 -2
- package/dist/{chunk-TQFG7HTI.js → chunk-3RM2ETQT.js} +0 -168
- package/dist/{chunk-PFCFR3KZ.js → chunk-442JNXRM.js} +1 -1
- package/dist/{chunk-YFT3BL7N.js → chunk-4M4EC7JX.js} +19 -12
- package/dist/{chunk-AM5L5YIA.js → chunk-4OA4LDTU.js} +1 -1
- package/dist/{chunk-LQASVU3I.js → chunk-5FISWJ37.js} +12 -4
- package/dist/{chunk-JYYOAKHS.js → chunk-6IIGT7BX.js} +1 -1
- package/dist/chunk-6TPZSTCL.js +3681 -0
- package/dist/{chunk-QGRFOOLE.js → chunk-6XMFEICO.js} +263 -75
- package/dist/{chunk-YHRZQJXH.js → chunk-7UYBQ6NF.js} +260 -67
- package/dist/{chunk-U7E736AJ.js → chunk-BFDJ63J5.js} +32 -14
- package/dist/{chunk-WCJGTLPF.js → chunk-BHVFTYSI.js} +6 -3
- package/dist/{chunk-B6SMSALD.js → chunk-BT27OYYX.js} +9 -9
- package/dist/{chunk-IXCTG2WY.js → chunk-BYK73CR7.js} +4 -4
- package/dist/{chunk-75JJVANE.js → chunk-CLOH4LIB.js} +3 -3
- package/dist/{chunk-H2X52H2N.js → chunk-DF2BHILQ.js} +3 -3
- package/dist/{chunk-DPHJKWP5.js → chunk-F26LCYRY.js} +42 -34
- package/dist/{chunk-5Z63TBTX.js → chunk-FH7WODJH.js} +1 -1
- package/dist/{chunk-LTGGTEMA.js → chunk-FVYXDXEV.js} +2 -2
- package/dist/{chunk-KYN364DU.js → chunk-GNBGPUJ7.js} +6 -8
- package/dist/{chunk-RVCWIIZ7.js → chunk-GV5R5B7Q.js} +1 -1
- package/dist/{chunk-FZK35GT4.js → chunk-HC7EVDEL.js} +1 -1
- package/dist/{chunk-MVTUV4TP.js → chunk-HLYOEIWM.js} +14 -6
- package/dist/{chunk-WSGY5CDQ.js → chunk-HMT2RPZU.js} +6 -6
- package/dist/{chunk-JOTLPC6S.js → chunk-HW4AKJ5F.js} +1 -1
- package/dist/{chunk-IMY4QQTQ.js → chunk-I7QGQAZM.js} +8 -8
- package/dist/{chunk-JFKL3WAE.js → chunk-IWFLMU2N.js} +104 -19
- package/dist/{chunk-IHFUKJOR.js → chunk-K2FLNJVB.js} +8 -2
- package/dist/chunk-KJJLA674.js +121 -0
- package/dist/{chunk-BPZVDBHY.js → chunk-KO5QBV73.js} +1 -1
- package/dist/{chunk-WGVOWWVK.js → chunk-KQLGTGE5.js} +3 -3
- package/dist/{chunk-R2JEKLDZ.js → chunk-LVX6NK36.js} +3 -3
- package/dist/{chunk-6UYZB4TY.js → chunk-LW6HO6U3.js} +4 -4
- package/dist/{chunk-OZUQF4NB.js → chunk-MQZVBHEY.js} +123 -8
- package/dist/{chunk-7FCDA4RH.js → chunk-N3DQEVSI.js} +2 -2
- package/dist/{chunk-A4KQZXZI.js → chunk-NE55C6S5.js} +4 -2
- package/dist/{chunk-6RAD4BCC.js → chunk-OBXQRJWQ.js} +2 -2
- package/dist/{chunk-LBKDQKWV.js → chunk-OSSHSIMD.js} +1 -1
- package/dist/{chunk-TY6XOHEM.js → chunk-P7THMINS.js} +3 -3
- package/dist/{chunk-HMUF7FEO.js → chunk-PAGIICKN.js} +2 -2
- package/dist/{chunk-OSUKETIH.js → chunk-PJU63L6W.js} +1 -1
- package/dist/{chunk-GYE63V4P.js → chunk-POLR33RB.js} +20 -13
- package/dist/{chunk-7M4KAPAA.js → chunk-PUGIRFPX.js} +2 -2
- package/dist/{chunk-XGMNQQTJ.js → chunk-QFN7NVWM.js} +1 -1
- package/dist/{chunk-D2KNWIQ6.js → chunk-QFSCCQIR.js} +1 -1
- package/dist/{chunk-WTMUCJ6Z.js → chunk-QRKLPWEX.js} +1 -1
- package/dist/{chunk-XTLBLWOV.js → chunk-QVYVUCWD.js} +1 -1
- package/dist/{chunk-GK4AIFIH.js → chunk-SDYDNHEE.js} +34 -3
- package/dist/{chunk-2NCHQUPX.js → chunk-SQLK7SJL.js} +1 -1
- package/dist/{chunk-PMRBLBUP.js → chunk-T42U2W2R.js} +14 -2
- package/dist/{chunk-QXPCARFE.js → chunk-TAMQYQGJ.js} +1 -1
- package/dist/{chunk-PXSM4HPB.js → chunk-U3X3TPBW.js} +1 -1
- package/dist/{chunk-FWRNQOLT.js → chunk-UICWP23D.js} +1 -1
- package/dist/{chunk-OKCR3JTO.js → chunk-UM2GRYM3.js} +13 -10
- package/dist/{chunk-LJAU4TPS.js → chunk-VIVBA6E6.js} +2 -2
- package/dist/{chunk-DZEVA7DI.js → chunk-W35EKBS6.js} +2 -2
- package/dist/{chunk-YEIFI443.js → chunk-WPNE5NEP.js} +1 -1
- package/dist/{chunk-IW2CKH6A.js → chunk-XONFUK3M.js} +48 -25
- package/dist/{chunk-JLKMWY2T.js → chunk-Y6QL2LGO.js} +8 -5
- package/dist/{chunk-THXFSPLV.js → chunk-ZIRIDSDB.js} +1 -1
- package/dist/chunk-ZLW2V65P.js +209 -0
- package/dist/{chunk-6UM3R7PP.js → chunk-ZQQ3SEIE.js} +33 -32
- package/dist/{clean-KTHTV5G5.js → clean-YHGPY33K.js} +23 -22
- package/dist/cli.js +57 -159
- package/dist/{cloud-ARSZWALC.js → cloud-DOFI5ISR.js} +4 -4
- package/dist/{cloudrun-NM7RXOCL.js → cloudrun-KTZ4XDHL.js} +13 -12
- package/dist/commands/contrast-audit.browser.js +60 -4
- package/dist/commands/layout-audit.browser.js +68 -0
- package/dist/{compare-CY4UO3RW.js → compare-SMMIZN2C.js} +37 -36
- package/dist/{compiler-VTH2D3ID.js → compiler-TEXQWW6N.js} +14 -10
- package/dist/{component-FRUIAXIR.js → component-B3GCNGSS.js} +5 -5
- package/dist/{compositions-CUSY6ZYY.js → compositions-OQNZZTKF.js} +38 -33
- package/dist/{delete-KT3VHP4L.js → delete-EL5LVSEP.js} +4 -4
- package/dist/{deterministicFonts-F6WIVL2W.js → deterministicFonts-U2BIMGPG.js} +3 -3
- package/dist/{dist-7SZU7MA7.js → dist-5UVIRMSM.js} +7 -6
- package/dist/{dist-2GC6XKRQ.js → dist-XN234YFQ.js} +41 -39
- package/dist/{doctor-4ROTBL5U.js → doctor-UOL3OI2A.js} +17 -16
- package/dist/{dom-IROKGVJI.js → dom-37K6YOH4.js} +2 -2
- package/dist/{events-Q5PXT5UC.js → events-K2DB2PBC.js} +2 -2
- package/dist/{events-QJDVMKSR.js → events-NIZBS6S7.js} +3 -3
- package/dist/{feedback-PQ7TWESA.js → feedback-QMP4E6L7.js} +13 -12
- package/dist/{figma-JN5DDBDS.js → figma-2AUJRNVC.js} +3 -3
- package/dist/fontLocalizeCli.js +18 -17
- package/dist/{get-KT6OTERO.js → get-P5NC7SRM.js} +4 -4
- package/dist/{gpuPolicy-LCBWVGEH.js → gpuPolicy-7N5MCE2G.js} +15 -14
- package/dist/{grade-compare-VS3RP73G.js → grade-compare-HV5AFZ6P.js} +37 -36
- package/dist/{help-AD6FIZIO.js → help-3TSTXBLN.js} +1 -1
- package/dist/{history-ZRWYRY7R.js → history-D65XFJ6D.js} +6 -6
- package/dist/hyperframe-runtime.js +25 -25
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +25 -25
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +23 -23
- package/dist/{info-WBBQA2AX.js → info-TXV7MLFO.js} +17 -16
- package/dist/{init-A2XBDFGF.js → init-OSDMJZJV.js} +38 -37
- package/dist/{inspect-CLTZHA5O.js → inspect-RQQSAYIJ.js} +38 -37
- package/dist/{installer-WQDRVXH4.js → installer-CDOB32HE.js} +11 -10
- package/dist/{keyframes-3FYOK6H6.js → keyframes-V75Q6GRM.js} +10 -10
- package/dist/{lambda-Y2PA2BGS.js → lambda-RODV4RCX.js} +12 -11
- package/dist/{layout-4KP5O7IJ.js → layout-IZAI5SFC.js} +38 -37
- package/dist/{lint-V4GRFHOJ.js → lint-PLXOXY5R.js} +14 -13
- package/dist/{lintProject-RG2KGAXB.js → lintProject-OQ6H6XBR.js} +7 -6
- package/dist/{list-OQ4VED6E.js → list-BQBPNKDZ.js} +5 -5
- package/dist/{login-W47NKN5S.js → login-NP6F4FHC.js} +4 -4
- package/dist/{manager-DXB7JDHU.js → manager-GXYF4AVO.js} +2 -2
- package/dist/{manager-524RPYO7.js → manager-RFZNG5YT.js} +2 -2
- package/dist/{media-treatment-HJYL3EME.js → media-treatment-PXGMZ4A4.js} +22 -20
- package/dist/{models-DYBAD2GQ.js → models-CEZM6XZ7.js} +17 -16
- package/dist/{motionShot-7NE2YBB3.js → motionShot-R4GHYWYM.js} +25 -24
- package/dist/{normalize-IGLHCWTF.js → normalize-H6KUHHEI.js} +18 -7
- package/dist/{normalize-audio-INKCLMS2.js → normalize-audio-MQ7NFCOV.js} +10 -6
- package/dist/{open-TYC5THVY.js → open-AKQTGNXF.js} +5 -5
- package/dist/{pipeline-EVKEPQEW.js → pipeline-SYJYP2RM.js} +17 -16
- package/dist/{play-QMZEM6X3.js → play-NBH4B7PL.js} +31 -29
- package/dist/{present-Y7IK3C4W.js → present-XAX55CFS.js} +26 -25
- package/dist/{preview-5OQRYE6A.js → preview-OLANKNFA.js} +26 -25
- package/dist/{producer-Q6G6JU7B.js → producer-Q6YNZZUJ.js} +1 -1
- package/dist/{projectConfig-RJN3DKDB.js → projectConfig-EM26P45P.js} +13 -12
- package/dist/{publication-QCPGGN3U.js → publication-OXWJZKSX.js} +8 -7
- package/dist/{publish-VZLFIGYY.js → publish-4VBWP2UB.js} +17 -16
- package/dist/{remove-background-TKOEHBA5.js → remove-background-REB7427G.js} +19 -18
- package/dist/{render-XTXE5CRU.js → render-3CVZ2SZG.js} +13 -12
- package/dist/{render-KIIIF6PS.js → render-K25YOG3M.js} +19 -18
- package/dist/{render-X3NFNVEQ.js → render-TSE75QUL.js} +35 -34
- package/dist/{render-batch-M55YZLZ5.js → render-batch-GGUOK3DS.js} +13 -12
- package/dist/{renderCancellation-X5BEHAZU.js → renderCancellation-PZRWB53I.js} +15 -14
- package/dist/renderSetupWorker.js +7 -6
- package/dist/{resolver-GAMXRA42.js → resolver-S5VK6UCB.js} +10 -9
- package/dist/{sherpa-ZYTNFHD5.js → sherpa-LVIUEAGF.js} +18 -17
- package/dist/skills/hyperframes-cli/references/doctor-browser.md +24 -1
- package/dist/skills/media-use/scripts/lib/cache.mjs +28 -14
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +110 -0
- package/dist/skills/media-use/scripts/lib/duck.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +87 -0
- package/dist/skills/media-use/scripts/lib/probe.mjs +6 -1
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +73 -0
- package/dist/skills/media-use/scripts/lib/words.mjs +1 -1
- package/dist/{skills-CZHVAD3J.js → skills-I65FU5HD.js} +5 -5
- package/dist/{skillsUpdateCheck-6WLLX53A.js → skillsUpdateCheck-J57RNNIV.js} +3 -3
- package/dist/{slideshow-EJ4IMY6P.js → slideshow-4OJEPWNZ.js} +1 -1
- package/dist/{snapshot-K7BTJPYQ.js → snapshot-YROOGY22.js} +42 -38
- package/dist/{src-3I3RH3V5.js → src-JO5JOV7Y.js} +16 -13
- package/dist/{src-YUW26JU5.js → src-X426BZAG.js} +17 -16
- package/dist/{staticProjectServer-IKCSGN2B.js → staticProjectServer-5VMBS262.js} +23 -22
- package/dist/studio/assets/{hyperframes-player-sAsRuV73.js → hyperframes-player-BXSuksFh.js} +3 -3
- package/dist/studio/assets/{index-D3Vij9t1.js → index-BgOVCqjo.js} +1 -1
- package/dist/studio/assets/{index-D5q2_7Gw.js → index-FgyO_5Kv.js} +1 -1
- package/dist/studio/assets/{index-B-wffzRH.js → index-J7jpL4pj.js} +150 -150
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +122 -160
- package/dist/studio/index.js.map +1 -1
- package/dist/{studio-api-SQ3NXFSM.js → studio-api-VRBZUGAE.js} +22 -17
- package/dist/{studioServer-VVEO7XCH.js → studioServer-DBNKZ6I6.js} +50 -49
- package/dist/{synthesize-77PTU6C5.js → synthesize-C3IWDAXF.js} +2 -2
- package/dist/{telemetry-FQDKR5XA.js → telemetry-CXAX3TO3.js} +3 -3
- package/dist/{timeline-N6ZASFNE.js → timeline-VQ34WH7J.js} +91 -69
- package/dist/{tokens-2OIIBBCW.js → tokens-62R7VFAZ.js} +4 -4
- package/dist/{transcribe-4F6MK73N.js → transcribe-7KR7IPJA.js} +18 -17
- package/dist/{transcribe-7YTUCXDX.js → transcribe-XOHPPL2O.js} +11 -11
- package/dist/{tts-TOHSPWEG.js → tts-MUV42JXT.js} +6 -6
- package/dist/{updateCheck-AZ2COZFR.js → updateCheck-POYNH3B5.js} +2 -2
- package/dist/{upgrade-QAJEYB4X.js → upgrade-NBNOT7J2.js} +2 -2
- package/dist/{urlDownloader-LSMFEO3R.js → urlDownloader-3NS63A7B.js} +14 -13
- package/dist/{validate-GW5MDL36.js → validate-Y2QDHAEP.js} +40 -27
- package/dist/{video-PRNOKUK3.js → video-SJDMTSTL.js} +15 -14
- package/package.json +1 -1
- package/dist/chunk-J4UX3RS3.js +0 -3717
- /package/dist/{chunk-HBBJFK6I.js → chunk-APDLWWFG.js} +0 -0
|
@@ -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-5FISWJ37.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VIVBA6E6.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-HMT2RPZU.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PJU63L6W.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveDiagnosticNavigationTimeoutMs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P7THMINS.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
printDeprecationNotice,
|
|
36
36
|
withMeta
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Y6QL2LGO.js";
|
|
38
38
|
import {
|
|
39
39
|
normalizeErrorMessage
|
|
40
40
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -707,7 +707,7 @@ async function collectTweenBoundaries(page) {
|
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
async function bundleProjectHtml(projectDir) {
|
|
710
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
710
|
+
const { bundleToSingleHtml } = await import("./compiler-TEXQWW6N.js");
|
|
711
711
|
return bundleToSingleHtml(projectDir);
|
|
712
712
|
}
|
|
713
713
|
async function alignViewportToComposition(page, url) {
|
|
@@ -729,8 +729,8 @@ async function alignViewportToComposition(page, url) {
|
|
|
729
729
|
async function runLayoutAudit(projectDir, opts) {
|
|
730
730
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
731
731
|
const puppeteer = await import("puppeteer-core");
|
|
732
|
-
const { buildChromeArgs } = await import("./src-
|
|
733
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-
|
|
732
|
+
const { buildChromeArgs } = await import("./src-JO5JOV7Y.js");
|
|
733
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-7N5MCE2G.js");
|
|
734
734
|
const html = await bundleProjectHtml(projectDir);
|
|
735
735
|
const server = await serveStaticProjectHtml(
|
|
736
736
|
projectDir,
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveExtractCacheDir
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-33RZPZ4K.js";
|
|
36
36
|
import {
|
|
37
37
|
getUpdateMeta,
|
|
38
38
|
withMeta
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-Y6QL2LGO.js";
|
|
40
40
|
import {
|
|
41
41
|
CONFIG_PATH,
|
|
42
42
|
withFileLock
|
|
43
43
|
} from "./chunk-XUXGIA7H.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-W35EKBS6.js";
|
|
47
47
|
import {
|
|
48
48
|
normalizeErrorMessage
|
|
49
49
|
} from "./chunk-KNU5COPB.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-GXYF4AVO.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TAMQYQGJ.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-4M4EC7JX.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
22
22
|
import {
|
|
23
23
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-APDLWWFG.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QFN7NVWM.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OSSHSIMD.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XONFUK3M.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
ensureHfIds
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NE55C6S5.js";
|
|
10
10
|
import {
|
|
11
11
|
HF_COLOR_GRADING_ATTR,
|
|
12
12
|
INLINED_FILE_ATTR,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
stripEmbeddedRuntimeScripts,
|
|
36
36
|
styleElementsFor,
|
|
37
37
|
warnUnknownEnumValues
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6TPZSTCL.js";
|
|
39
39
|
import {
|
|
40
40
|
cssVariableName
|
|
41
41
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -45,25 +45,32 @@ import {
|
|
|
45
45
|
} from "./chunk-OFQWTKPW.js";
|
|
46
46
|
import {
|
|
47
47
|
lintHyperframeHtml
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-XONFUK3M.js";
|
|
49
49
|
import {
|
|
50
|
-
CSS_URL_RE,
|
|
51
50
|
checkSubCompositionUsability,
|
|
51
|
+
resolveSubCompositionContent
|
|
52
|
+
} from "./chunk-3RM2ETQT.js";
|
|
53
|
+
import {
|
|
54
|
+
CSS_URL_RE,
|
|
55
|
+
decodeCssEscapes,
|
|
56
|
+
decodeWellFormedEscapes,
|
|
57
|
+
decodedUrlPath,
|
|
58
|
+
encodeUrlPath,
|
|
52
59
|
isNonRelativeUrl,
|
|
53
|
-
resolveSubCompositionContent,
|
|
54
60
|
rewriteAssetPath,
|
|
55
61
|
rewriteAssetPaths,
|
|
56
62
|
rewriteCssAssetUrls,
|
|
57
|
-
rewriteInlineStyleAssetUrls
|
|
58
|
-
|
|
63
|
+
rewriteInlineStyleAssetUrls,
|
|
64
|
+
splitUrlSuffix
|
|
65
|
+
} from "./chunk-ZLW2V65P.js";
|
|
59
66
|
import {
|
|
60
67
|
parseHTML
|
|
61
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-SDYDNHEE.js";
|
|
62
69
|
|
|
63
70
|
// ../core/dist/compiler/htmlCompiler.js
|
|
64
71
|
import { resolve } from "path";
|
|
65
72
|
function resolveMediaSrc(src, projectDir) {
|
|
66
|
-
return src.startsWith("http://") || src.startsWith("https://") ? src : resolve(projectDir, src);
|
|
73
|
+
return src.startsWith("http://") || src.startsWith("https://") ? src : resolve(projectDir, decodedUrlPath(src));
|
|
67
74
|
}
|
|
68
75
|
async function compileHtml(rawHtml, projectDir, probeMediaDuration) {
|
|
69
76
|
const { html: staticCompiled, unresolved } = compileTimingAttrs(rawHtml);
|
|
@@ -88,6 +95,9 @@ async function compileHtml(rawHtml, projectDir, probeMediaDuration) {
|
|
|
88
95
|
html = injectDurations(html, resolutions);
|
|
89
96
|
}
|
|
90
97
|
}
|
|
98
|
+
return clampProbedMedia(html, projectDir, probeMediaDuration);
|
|
99
|
+
}
|
|
100
|
+
async function clampProbedMedia(html, projectDir, probeMediaDuration) {
|
|
91
101
|
const preResolved = extractResolvedMedia(html);
|
|
92
102
|
const clampList = [];
|
|
93
103
|
for (const el of preResolved) {
|
|
@@ -1870,30 +1880,35 @@ function withCommentsStripped(css, fn) {
|
|
|
1870
1880
|
};
|
|
1871
1881
|
return { result, restore };
|
|
1872
1882
|
}
|
|
1883
|
+
function resolveRelativeUrlPath(fromDir, basePath) {
|
|
1884
|
+
return resolve2(fromDir, decodeWellFormedEscapes(basePath.replaceAll("\\", "/")));
|
|
1885
|
+
}
|
|
1873
1886
|
function rebaseCssUrls(css, cssFileDir, projectDir) {
|
|
1874
1887
|
const resolvedRoot = resolve2(projectDir);
|
|
1875
1888
|
const resolvedDir = resolve2(cssFileDir);
|
|
1876
1889
|
if (resolvedDir === resolvedRoot)
|
|
1877
1890
|
return css;
|
|
1878
1891
|
return css.replace(CSS_URL_RE, (full, quote, urlValue) => {
|
|
1879
|
-
|
|
1892
|
+
const decoded = decodeCssEscapes(urlValue);
|
|
1893
|
+
if (!decoded || !isRelativeUrl(decoded))
|
|
1880
1894
|
return full;
|
|
1881
|
-
const { basePath, suffix } = splitUrlSuffix(
|
|
1895
|
+
const { basePath, suffix } = splitUrlSuffix(decoded);
|
|
1882
1896
|
if (!basePath)
|
|
1883
1897
|
return full;
|
|
1884
|
-
const absolutePath =
|
|
1885
|
-
const rebased = relative(resolvedRoot, absolutePath).split(sep).join("/");
|
|
1898
|
+
const absolutePath = resolveRelativeUrlPath(resolvedDir, basePath);
|
|
1899
|
+
const rebased = encodeUrlPath(relative(resolvedRoot, absolutePath).split(sep).join("/"));
|
|
1886
1900
|
if (rebased === basePath)
|
|
1887
1901
|
return full;
|
|
1888
|
-
|
|
1902
|
+
const escapedSuffix = suffix.replace(/[\s\p{Cc}"'()\\<>]/gu, (char) => `\\${char.codePointAt(0).toString(16).padStart(6, "0")}`);
|
|
1903
|
+
return `url(${quote || ""}${rebased}${escapedSuffix}${quote || ""})`;
|
|
1889
1904
|
});
|
|
1890
1905
|
}
|
|
1891
1906
|
function rebaseRelativePath(urlValue, fromDir, toDir) {
|
|
1892
1907
|
const { basePath, suffix } = splitUrlSuffix(urlValue.trim());
|
|
1893
1908
|
if (!basePath)
|
|
1894
1909
|
return urlValue;
|
|
1895
|
-
const absolutePath =
|
|
1896
|
-
const rebased = relative(resolve2(toDir), absolutePath).split(sep).join("/");
|
|
1910
|
+
const absolutePath = resolveRelativeUrlPath(fromDir, basePath);
|
|
1911
|
+
const rebased = encodeUrlPath(relative(resolve2(toDir), absolutePath).split(sep).join("/"));
|
|
1897
1912
|
return appendSuffixToUrl(rebased, suffix);
|
|
1898
1913
|
}
|
|
1899
1914
|
function rebaseSrcsetPaths(srcsetValue, fromDir, toDir) {
|
|
@@ -1976,7 +1991,7 @@ function inlineCssFile(css, cssFileDir, projectDir, visited = /* @__PURE__ */ ne
|
|
|
1976
1991
|
const importPath = urlPath ?? barePath;
|
|
1977
1992
|
if (!importPath || !isRelativeUrl(importPath))
|
|
1978
1993
|
return full;
|
|
1979
|
-
const resolved = resolve2(cssFileDir, importPath);
|
|
1994
|
+
const resolved = resolve2(cssFileDir, decodedUrlPath(importPath));
|
|
1980
1995
|
if (!isSafePath(projectDir, resolved))
|
|
1981
1996
|
return full;
|
|
1982
1997
|
if (visited.has(resolved))
|
|
@@ -2012,14 +2027,6 @@ function safeReadFileBuffer(filePath) {
|
|
|
2012
2027
|
return null;
|
|
2013
2028
|
}
|
|
2014
2029
|
}
|
|
2015
|
-
function splitUrlSuffix(urlValue) {
|
|
2016
|
-
const queryIdx = urlValue.indexOf("?");
|
|
2017
|
-
const hashIdx = urlValue.indexOf("#");
|
|
2018
|
-
if (queryIdx < 0 && hashIdx < 0)
|
|
2019
|
-
return { basePath: urlValue, suffix: "" };
|
|
2020
|
-
const cutIdx = queryIdx < 0 ? hashIdx : hashIdx < 0 ? queryIdx : Math.min(queryIdx, hashIdx);
|
|
2021
|
-
return { basePath: urlValue.slice(0, cutIdx), suffix: urlValue.slice(cutIdx) };
|
|
2022
|
-
}
|
|
2023
2030
|
function appendSuffixToUrl(baseUrl, suffix) {
|
|
2024
2031
|
if (!suffix)
|
|
2025
2032
|
return baseUrl;
|
|
@@ -2081,7 +2088,7 @@ function maybeInlineRelativeAssetUrl(urlValue, projectDir, inlineAssets) {
|
|
|
2081
2088
|
const { basePath, suffix } = splitUrlSuffix(urlValue.trim());
|
|
2082
2089
|
if (!basePath)
|
|
2083
2090
|
return null;
|
|
2084
|
-
const filePath = resolveWithinProject(projectDir, basePath);
|
|
2091
|
+
const filePath = resolveWithinProject(projectDir, decodeWellFormedEscapes(basePath));
|
|
2085
2092
|
if (!filePath)
|
|
2086
2093
|
return null;
|
|
2087
2094
|
const ext = filePath.toLowerCase().match(/\.[^.]+$/)?.[0] ?? "";
|
|
@@ -2454,10 +2461,10 @@ function hoistExternalScript(src, projectDir, doc, seenSrcs, chunks, attributes)
|
|
|
2454
2461
|
return;
|
|
2455
2462
|
seenSrcs.add(src);
|
|
2456
2463
|
if (!isNonRelativeUrl(src) && !isAbsolute(src) && attributes.type !== "module") {
|
|
2457
|
-
const jsPath = resolveWithinProject(projectDir, src);
|
|
2464
|
+
const jsPath = resolveWithinProject(projectDir, decodedUrlPath(src));
|
|
2458
2465
|
const js = jsPath ? safeReadFile(jsPath) : null;
|
|
2459
2466
|
if (js != null) {
|
|
2460
|
-
chunks.push(() => preserveLocalScriptIntegrity(doc, src, (value) => resolveWithinProject(projectDir, value)) ? "" : js);
|
|
2467
|
+
chunks.push(() => preserveLocalScriptIntegrity(doc, src, (value) => resolveWithinProject(projectDir, decodedUrlPath(value))) ? "" : js);
|
|
2461
2468
|
return;
|
|
2462
2469
|
}
|
|
2463
2470
|
}
|
|
@@ -2489,6 +2496,7 @@ async function bundleProject(projectDir, options) {
|
|
|
2489
2496
|
const resolved = resolve2(sourceDir, relativePath);
|
|
2490
2497
|
return isSafePath(projectDir, resolved) ? resolved : null;
|
|
2491
2498
|
};
|
|
2499
|
+
const resolveEntryUrl = (url) => resolveEntryPath(decodedUrlPath(url));
|
|
2492
2500
|
const readSource = options?.stampHfIds ? ensureHfIds : (html) => html;
|
|
2493
2501
|
noteRead(indexPath);
|
|
2494
2502
|
const rawHtml = readSource(readFileSync(indexPath, "utf-8"));
|
|
@@ -2510,7 +2518,7 @@ async function bundleProject(projectDir, options) {
|
|
|
2510
2518
|
continue;
|
|
2511
2519
|
if (el.hasAttribute("disabled"))
|
|
2512
2520
|
continue;
|
|
2513
|
-
const cssPath =
|
|
2521
|
+
const cssPath = resolveEntryUrl(href);
|
|
2514
2522
|
if (!cssPath)
|
|
2515
2523
|
continue;
|
|
2516
2524
|
const css = safeReadFile(cssPath);
|
|
@@ -2532,7 +2540,7 @@ async function bundleProject(projectDir, options) {
|
|
|
2532
2540
|
])
|
|
2533
2541
|
].map((el) => {
|
|
2534
2542
|
const src = el.getAttribute("src");
|
|
2535
|
-
const path = src && isRelativeUrl(src) ?
|
|
2543
|
+
const path = src && isRelativeUrl(src) ? resolveEntryUrl(src) : null;
|
|
2536
2544
|
return src ? path && safeReadFile(path) || "" : el.textContent || "";
|
|
2537
2545
|
}) : [];
|
|
2538
2546
|
const trackedCompositionHosts = getBundledTrackedCompositionHosts(document);
|
|
@@ -2594,10 +2602,10 @@ async function bundleProject(projectDir, options) {
|
|
|
2594
2602
|
continue;
|
|
2595
2603
|
seenCompScriptSrcs.add(extSrc);
|
|
2596
2604
|
if (isRelativeUrl(extSrc) && scriptItem.type !== "module") {
|
|
2597
|
-
const jsPath =
|
|
2605
|
+
const jsPath = resolveEntryUrl(extSrc);
|
|
2598
2606
|
const js = jsPath ? safeReadFile(jsPath) : null;
|
|
2599
2607
|
if (js != null) {
|
|
2600
|
-
const chunk = () => preserveLocalScriptIntegrity(document, extSrc,
|
|
2608
|
+
const chunk = () => preserveLocalScriptIntegrity(document, extSrc, resolveEntryUrl) ? "" : js;
|
|
2601
2609
|
pushRun(scriptRuns, scriptItem.scene, chunk);
|
|
2602
2610
|
continue;
|
|
2603
2611
|
}
|
|
@@ -2690,11 +2698,11 @@ async function bundleProject(projectDir, options) {
|
|
|
2690
2698
|
const src = el.getAttribute("src");
|
|
2691
2699
|
if (!src || !isRelativeUrl(src))
|
|
2692
2700
|
continue;
|
|
2693
|
-
if (preserveLocalScriptIntegrity(document, src,
|
|
2701
|
+
if (preserveLocalScriptIntegrity(document, src, resolveEntryUrl))
|
|
2694
2702
|
continue;
|
|
2695
2703
|
if ((el.getAttribute("type") || "").trim().toLowerCase() === "module")
|
|
2696
2704
|
continue;
|
|
2697
|
-
const jsPath =
|
|
2705
|
+
const jsPath = resolveEntryUrl(src);
|
|
2698
2706
|
const js = jsPath ? safeReadFile(jsPath) : null;
|
|
2699
2707
|
if (js == null)
|
|
2700
2708
|
continue;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
ensureDOMParser
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-442JNXRM.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/compositionViewport.ts
|
|
12
12
|
var DEFAULT_VIEWPORT = { width: 1920, height: 1080 };
|
|
@@ -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-7UYBQ6NF.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6TPZSTCL.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ensureModel,
|
|
12
12
|
selectProviders
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SQLK7SJL.js";
|
|
14
14
|
import {
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
@@ -18,8 +18,9 @@ import {
|
|
|
18
18
|
} from "./chunk-TVCRUG2S.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
|
+
SDR_RGB_TO_BT709_FILTER,
|
|
21
22
|
renderProvenanceArgs
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-33RZPZ4K.js";
|
|
23
24
|
|
|
24
25
|
// src/background-removal/pipeline.ts
|
|
25
26
|
import { spawn } from "child_process";
|
|
@@ -202,7 +203,7 @@ function inferInputKind(inputPath) {
|
|
|
202
203
|
}
|
|
203
204
|
async function probeMedia(inputPath) {
|
|
204
205
|
const isImage = inferInputKind(inputPath) === "image";
|
|
205
|
-
const engine = await import("./src-
|
|
206
|
+
const engine = await import("./src-JO5JOV7Y.js");
|
|
206
207
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
207
208
|
if (isImage) {
|
|
208
209
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -228,6 +229,8 @@ function buildEncoderArgs(format, width, height, fps, outputPath, quality = DEFA
|
|
|
228
229
|
if (format === "webm") {
|
|
229
230
|
return [
|
|
230
231
|
...base,
|
|
232
|
+
"-vf",
|
|
233
|
+
SDR_RGB_TO_BT709_FILTER,
|
|
231
234
|
"-c:v",
|
|
232
235
|
"libvpx-vp9",
|
|
233
236
|
"-b:v",
|
|
@@ -244,11 +247,6 @@ function buildEncoderArgs(format, width, height, fps, outputPath, quality = DEFA
|
|
|
244
247
|
"0",
|
|
245
248
|
"-pix_fmt",
|
|
246
249
|
"yuva420p",
|
|
247
|
-
// Tag the output as BT.709 limited range so browsers use the same
|
|
248
|
-
// YUV→RGB matrix the source video was encoded with. Without these tags
|
|
249
|
-
// ffmpeg's default RGB→YUV conversion is BT.601, which causes a visible
|
|
250
|
-
// color shift (red/skin tones in particular) when the matted overlay is
|
|
251
|
-
// composited over the original mp4.
|
|
252
250
|
"-colorspace",
|
|
253
251
|
"bt709",
|
|
254
252
|
"-color_primaries",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LVX6NK36.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -119,7 +119,13 @@ async function runAssetImportMany(refInputs, opts, deps) {
|
|
|
119
119
|
const slots = refs.map(
|
|
120
120
|
(r) => reuseExisting(fileKey, r.nodeId, opts, version, deps, description, entity)
|
|
121
121
|
);
|
|
122
|
-
const
|
|
122
|
+
const nodeIndexes = /* @__PURE__ */ new Map();
|
|
123
|
+
const missIndexes = [];
|
|
124
|
+
for (const [i, ref] of refs.entries()) {
|
|
125
|
+
if (nodeIndexes.has(ref.nodeId)) continue;
|
|
126
|
+
nodeIndexes.set(ref.nodeId, i);
|
|
127
|
+
if (slots[i] === null) missIndexes.push(i);
|
|
128
|
+
}
|
|
123
129
|
try {
|
|
124
130
|
if (missIndexes.length > 0) {
|
|
125
131
|
const missNodeIds = missIndexes.map((i) => refs[i].nodeId);
|
|
@@ -151,9 +157,11 @@ async function runAssetImportMany(refInputs, opts, deps) {
|
|
|
151
157
|
} finally {
|
|
152
158
|
safeRegenerateIndex(deps.projectDir);
|
|
153
159
|
}
|
|
154
|
-
return
|
|
155
|
-
|
|
156
|
-
|
|
160
|
+
return refs.map((ref, i) => {
|
|
161
|
+
const firstIndex = nodeIndexes.get(ref.nodeId) ?? i;
|
|
162
|
+
const result = slots[firstIndex];
|
|
163
|
+
if (!result) throw new Error(`figma asset import produced no result for "${refInputs[i]}"`);
|
|
164
|
+
return firstIndex === i ? result : { ...result, reused: true };
|
|
157
165
|
});
|
|
158
166
|
}
|
|
159
167
|
function normalizeMeta(value) {
|
|
@@ -221,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
221
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
222
230
|
);
|
|
223
231
|
}
|
|
224
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-CXAX3TO3.js");
|
|
225
233
|
trackFigmaImport({
|
|
226
234
|
phase: "asset",
|
|
227
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCompositionViewportFromHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FH7WODJH.js";
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PJU63L6W.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
16
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-P7THMINS.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveLocalBrowserGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QRKLPWEX.js";
|
|
21
21
|
import {
|
|
22
22
|
assertWebGpuAdapterAvailable,
|
|
23
23
|
compositionRequiresWebGpu
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-33RZPZ4K.js";
|
|
25
25
|
import {
|
|
26
26
|
normalizeErrorMessage
|
|
27
27
|
} 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-JO5JOV7Y.js");
|
|
107
107
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
108
108
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
109
109
|
const launch = async (executablePath) => {
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KO5QBV73.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-2LBBHMKT.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HW4AKJ5F.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CLOH4LIB.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TAMQYQGJ.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QFN7NVWM.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
} from "./chunk-PBN6GBJE.js";
|
|
39
39
|
import {
|
|
40
40
|
ITEM_TYPE_DIRS
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4M4EC7JX.js";
|
|
42
42
|
import {
|
|
43
43
|
isProjectRootMissing,
|
|
44
44
|
realpath
|
|
45
45
|
} from "./chunk-OFQWTKPW.js";
|
|
46
46
|
import {
|
|
47
47
|
parseHTML
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SDYDNHEE.js";
|
|
49
49
|
import {
|
|
50
50
|
c
|
|
51
51
|
} from "./chunk-ZTZA4UWZ.js";
|