hyperframes 0.8.135 → 0.8.136
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-7E2GRDW5.js → add-MD4CNRQV.js} +5 -5
- package/dist/{asset-43SXDTJI.js → asset-UPNW7262.js} +2 -2
- package/dist/{auth-BWQ4HPK7.js → auth-63PKUA76.js} +1 -1
- package/dist/{autoUpdate-JTHQKHG5.js → autoUpdate-CLB47L2W.js} +2 -2
- package/dist/{backgroundChecks-H43RKGRE.js → backgroundChecks-JW7XF7JA.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-HAOQC7GJ.js → beats-3CO6EGBG.js} +4 -4
- package/dist/{benchmark-ANUXIEPD.js → benchmark-CYTMATA7.js} +5 -5
- package/dist/{browser-HEICRDNT.js → browser-QMLZJM2K.js} +3 -3
- package/dist/{catalog-2F5L72ZT.js → catalog-G773J4K4.js} +5 -5
- package/dist/{check-WZ5QMBBF.js → check-NCXITJWK.js} +12 -12
- package/dist/{checkBrowser-FXVVADP6.js → checkBrowser-IJQ2WCOB.js} +10 -10
- package/dist/{chunk-XSWKLDVC.js → chunk-3E3WVNVP.js} +1 -1
- package/dist/{chunk-WVRNPWVW.js → chunk-5K573LFX.js} +1 -1
- package/dist/{chunk-N3DZEPNT.js → chunk-BQIFI4GV.js} +1 -1
- package/dist/{chunk-Z3KAYWE5.js → chunk-CG6OUDMX.js} +1 -1
- package/dist/{chunk-KZ7B3XK7.js → chunk-CYG3HXBE.js} +1 -1
- package/dist/{chunk-PULS7UW7.js → chunk-ECAXTQGU.js} +2 -2
- package/dist/{chunk-LKCICE2T.js → chunk-EXNGSOQG.js} +3 -3
- package/dist/{chunk-LYJNFBD6.js → chunk-FTR6KLIG.js} +34 -4
- package/dist/{chunk-TKSAWNNI.js → chunk-JBI43NRR.js} +2 -2
- package/dist/{chunk-NDKVPWBH.js → chunk-M5WGAAML.js} +1 -1
- package/dist/{chunk-XFKPUKL7.js → chunk-P3UNVJXX.js} +2 -2
- package/dist/{chunk-HNUHWAHR.js → chunk-SXE656MT.js} +1 -1
- package/dist/{chunk-XZVPQYLU.js → chunk-V32SGDX7.js} +2 -2
- package/dist/{chunk-AV7FBRWP.js → chunk-WFZEW4AC.js} +2 -2
- package/dist/{chunk-I54AADBN.js → chunk-WTMA6JQD.js} +1 -1
- package/dist/{chunk-GN6GW6IP.js → chunk-XLO327OK.js} +3 -3
- package/dist/{chunk-3NCZ2SCH.js → chunk-YDBQRLRI.js} +1 -1
- package/dist/{chunk-SMWYGLTD.js → chunk-ZBNFAZQB.js} +2 -2
- package/dist/{clean-SZMPUNNQ.js → clean-UCLCH4YA.js} +4 -4
- package/dist/cli.js +45 -45
- package/dist/{cloud-L7RFQB5E.js → cloud-LVP33D4N.js} +4 -4
- package/dist/{compare-DN5GHUAZ.js → compare-TOTN2CVX.js} +7 -7
- package/dist/{component-RYYGPCCC.js → component-B5QZZJJA.js} +3 -3
- package/dist/{compositions-TF42YRGQ.js → compositions-REMCVXXP.js} +5 -5
- package/dist/{delete-KYGP772F.js → delete-H2P6PYT5.js} +2 -2
- package/dist/{doctor-AWERBYTS.js → doctor-HCGHEJDN.js} +3 -3
- package/dist/{events-QMT3TXJ2.js → events-2LS5WRYL.js} +3 -3
- package/dist/{events-W4AILK4F.js → events-V5QLQAN4.js} +2 -2
- package/dist/{feedback-KNKJFGOK.js → feedback-WBOC7SAW.js} +4 -4
- package/dist/{figma-D76N4WD7.js → figma-HRUWQ5FO.js} +3 -3
- package/dist/fontLocalizeCli.js +1 -1
- package/dist/{get-JHNZVDVT.js → get-FS5GMKBK.js} +2 -2
- package/dist/{grade-compare-22SRAVPO.js → grade-compare-G7Z5DWKW.js} +7 -7
- package/dist/{help-CKKLDL3G.js → help-27P7K7JZ.js} +1 -1
- package/dist/{history-44SS2VJQ.js → history-5E46VSDM.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-A2CXIT7G.js → info-2ZYYJL3I.js} +5 -5
- package/dist/{init-6D2GNNON.js → init-ZI75FWLJ.js} +29 -6
- package/dist/{inspect-QLYCCDHV.js → inspect-YLQN7QL6.js} +9 -9
- package/dist/{keyframes-TBS3BUZ5.js → keyframes-JONXVQWD.js} +6 -6
- package/dist/{layout-YLBD2653.js → layout-ZP4WDRSA.js} +9 -9
- package/dist/{lint-6XERRN4E.js → lint-XGMUBMLE.js} +6 -6
- package/dist/{list-DPVTICQX.js → list-NBXJMDON.js} +2 -2
- package/dist/{login-FJJH3ZPU.js → login-XIH4H4RH.js} +4 -4
- package/dist/{media-treatment-CQWZZRHR.js → media-treatment-QYKJDWHD.js} +5 -5
- package/dist/{motionShot-BSI4U6X7.js → motionShot-Y4D7LHU4.js} +1 -1
- package/dist/{normalize-audio-2QQBNTAW.js → normalize-audio-6RR6UGAJ.js} +4 -4
- package/dist/{open-YCWBIUNN.js → open-TYFT2DQC.js} +4 -4
- package/dist/{play-5OX76SR5.js → play-IZXA4GO3.js} +7 -7
- package/dist/{present-UFG6NPCO.js → present-JS2KNZLT.js} +7 -7
- package/dist/{preview-AGS4TAWM.js → preview-M6PED6DU.js} +5 -5
- package/dist/{render-POQI3EKS.js → render-24OQFSYB.js} +5 -5
- package/dist/{render-KEZFDRDA.js → render-IZHBGVPP.js} +5 -5
- package/dist/{skills-L7SZ45NC.js → skills-T2O7PD6Q.js} +5 -5
- package/dist/{skillsUpdateCheck-HP3GJFBP.js → skillsUpdateCheck-VYEGOAEI.js} +3 -3
- package/dist/{snapshot-CYB2PZPW.js → snapshot-NLTL7ZOM.js} +7 -7
- package/dist/{staticProjectServer-U5DMWKWA.js → staticProjectServer-WN4BSLI3.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-DFv9heE6.js → hyperframes-player-ukvUFqdg.js} +1 -1
- package/dist/studio/assets/{index-Buy06mZy.js → index-BY_myArg.js} +1 -1
- package/dist/studio/assets/{index-N_4Ij4X6.js → index-C-pD9_xY.js} +4 -4
- package/dist/studio/assets/{index-CTp4loy9.js → index-CRRgIxsS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-KMBTUYG5.js → studio-api-KTRRONOC.js} +1 -1
- package/dist/{studioServer-LOJ6IOWA.js → studioServer-O6P3TBDJ.js} +5 -5
- package/dist/{telemetry-MCEZ5JYB.js → telemetry-G4QOG4OF.js} +3 -3
- package/dist/{timeline-XWH4I5CF.js → timeline-JS5QNPLA.js} +6 -6
- package/dist/{tokens-6UTTSLVN.js → tokens-JKLDRW7A.js} +2 -2
- package/dist/{transcribe-S3NI7SYU.js → transcribe-CP6ZCDVR.js} +3 -3
- package/dist/{updateCheck-3YAKEXSX.js → updateCheck-L2UJCCL4.js} +2 -2
- package/dist/{upgrade-JQPBH5RY.js → upgrade-NW7YFVUM.js} +2 -2
- package/dist/{validate-BLUPV5H5.js → validate-D3ZH3JQ7.js} +6 -6
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ 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-5K573LFX.js";
|
|
10
10
|
import {
|
|
11
11
|
formatBytes,
|
|
12
12
|
label
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
ensureDOMParser
|
|
16
16
|
} from "./chunk-PFCFR3KZ.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-M5WGAAML.js";
|
|
18
|
+
import "./chunk-CG6OUDMX.js";
|
|
19
19
|
import "./chunk-VWG7OQKU.js";
|
|
20
20
|
import {
|
|
21
21
|
c
|
|
@@ -47,12 +47,12 @@ import "./chunk-GK4AIFIH.js";
|
|
|
47
47
|
import "./chunk-2PSPARWP.js";
|
|
48
48
|
import {
|
|
49
49
|
withMeta
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-CYG3HXBE.js";
|
|
51
51
|
import "./chunk-K4WIOZFP.js";
|
|
52
52
|
import "./chunk-XUXGIA7H.js";
|
|
53
53
|
import "./chunk-WERLJGIC.js";
|
|
54
54
|
import "./chunk-ISN5GRYI.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-WFZEW4AC.js";
|
|
56
56
|
import "./chunk-KNU5COPB.js";
|
|
57
57
|
import "./chunk-3GXQPCJC.js";
|
|
58
58
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gateRegistryItemsCompatibility
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BQIFI4GV.js";
|
|
10
10
|
import {
|
|
11
11
|
initialModelForLanguage
|
|
12
12
|
} from "./chunk-T5LPCY6I.js";
|
|
@@ -50,8 +50,8 @@ import {
|
|
|
50
50
|
} from "./chunk-TVCRUG2S.js";
|
|
51
51
|
import {
|
|
52
52
|
trackInitTemplate
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-M5WGAAML.js";
|
|
54
|
+
import "./chunk-CG6OUDMX.js";
|
|
55
55
|
import "./chunk-VWG7OQKU.js";
|
|
56
56
|
import {
|
|
57
57
|
c,
|
|
@@ -97,7 +97,7 @@ import "./chunk-WERLJGIC.js";
|
|
|
97
97
|
import "./chunk-ISN5GRYI.js";
|
|
98
98
|
import {
|
|
99
99
|
VERSION
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-WFZEW4AC.js";
|
|
101
101
|
import "./chunk-KNU5COPB.js";
|
|
102
102
|
import "./chunk-3GXQPCJC.js";
|
|
103
103
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -403,6 +403,17 @@ function getStaticTemplateDir(templateId) {
|
|
|
403
403
|
function getSharedTemplateDir() {
|
|
404
404
|
return resolveAssetDir(["..", "templates", "_shared"], ["templates", "_shared"]);
|
|
405
405
|
}
|
|
406
|
+
var MAX_FOLDER_NAME = 255;
|
|
407
|
+
function nameTooLongMessage(name, platform = process.platform) {
|
|
408
|
+
const inBytes = platform === "linux";
|
|
409
|
+
const unit = inBytes ? "bytes" : "characters";
|
|
410
|
+
for (const folder of name.split(platform === "win32" ? /[\\/]/ : "/")) {
|
|
411
|
+
const length = inBytes ? Buffer.byteLength(folder) : folder.length;
|
|
412
|
+
if (length > MAX_FOLDER_NAME)
|
|
413
|
+
return `That name is ${length} ${unit} long; a folder name can be at most ${MAX_FOLDER_NAME} ${unit}.`;
|
|
414
|
+
}
|
|
415
|
+
return null;
|
|
416
|
+
}
|
|
406
417
|
function toPackageName(projectName) {
|
|
407
418
|
const normalized = basename(projectName).trim().toLowerCase().replace(/^[._]+/, "").replace(/[^a-z0-9._~-]+/g, "-").replace(/-+/g, "-").replace(/^[-.]+|[-.]+$/g, "");
|
|
408
419
|
return normalized || "hyperframes-project";
|
|
@@ -673,7 +684,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
673
684
|
}
|
|
674
685
|
}
|
|
675
686
|
async function keepSkillsCurrent(destDir) {
|
|
676
|
-
const { updateSkills } = await import("./skills-
|
|
687
|
+
const { updateSkills } = await import("./skills-T2O7PD6Q.js");
|
|
677
688
|
console.log();
|
|
678
689
|
console.log(c.bold("Checking AI coding skills against GitHub..."));
|
|
679
690
|
try {
|
|
@@ -833,6 +844,11 @@ var init_default = defineCommand({
|
|
|
833
844
|
const templateId2 = resolveScaffoldTemplateId(exampleFlag, Boolean(videoFlag || audioFlag));
|
|
834
845
|
const name2 = args.name ?? "my-video";
|
|
835
846
|
const destDir2 = resolve(name2);
|
|
847
|
+
const tooLong2 = nameTooLongMessage(destDir2);
|
|
848
|
+
if (tooLong2) {
|
|
849
|
+
console.error(c.error(tooLong2));
|
|
850
|
+
failCommand();
|
|
851
|
+
}
|
|
836
852
|
if (existsSync2(destDir2) && readdirSync(destDir2).length > 0) {
|
|
837
853
|
console.error(c.error(`Directory already exists and is not empty: ${name2}`));
|
|
838
854
|
failCommand();
|
|
@@ -984,6 +1000,12 @@ var init_default = defineCommand({
|
|
|
984
1000
|
name = nameResult;
|
|
985
1001
|
}
|
|
986
1002
|
const destDir = resolve(name);
|
|
1003
|
+
const tooLong = nameTooLongMessage(destDir);
|
|
1004
|
+
if (tooLong) {
|
|
1005
|
+
R.error(tooLong);
|
|
1006
|
+
me("Setup cancelled.");
|
|
1007
|
+
failCommand();
|
|
1008
|
+
}
|
|
987
1009
|
if (existsSync2(destDir) && readdirSync(destDir).length > 0) {
|
|
988
1010
|
const overwrite = await ue({
|
|
989
1011
|
message: `Directory ${c.accent(name)} already exists and is not empty. Overwrite?`,
|
|
@@ -1131,7 +1153,7 @@ ${c.dim("Use --example blank for offline use.")}`
|
|
|
1131
1153
|
}
|
|
1132
1154
|
R.info("Opening studio preview...");
|
|
1133
1155
|
try {
|
|
1134
|
-
const previewCmd = await import("./preview-
|
|
1156
|
+
const previewCmd = await import("./preview-M6PED6DU.js").then((m) => m.default);
|
|
1135
1157
|
await runCommand(previewCmd, { rawArgs: [destDir] });
|
|
1136
1158
|
} catch {
|
|
1137
1159
|
}
|
|
@@ -1142,6 +1164,7 @@ export {
|
|
|
1142
1164
|
init_default as default,
|
|
1143
1165
|
examples,
|
|
1144
1166
|
injectTailwindBrowserScript,
|
|
1167
|
+
nameTooLongMessage,
|
|
1145
1168
|
resolveVideoDurationSeconds,
|
|
1146
1169
|
transcodeToMp4
|
|
1147
1170
|
};
|
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createInspectCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XLO327OK.js";
|
|
10
|
+
import "./chunk-YDBQRLRI.js";
|
|
11
11
|
import "./chunk-XUHOIDKG.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3E3WVNVP.js";
|
|
13
13
|
import "./chunk-X7MTZ4T2.js";
|
|
14
14
|
import "./chunk-LO7L5PJ3.js";
|
|
15
15
|
import "./chunk-5Z63TBTX.js";
|
|
16
16
|
import "./chunk-XE6S5CE6.js";
|
|
17
17
|
import "./chunk-BSU7EOWJ.js";
|
|
18
18
|
import "./chunk-YEIFI443.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-FTR6KLIG.js";
|
|
20
20
|
import "./chunk-GK5W3SIJ.js";
|
|
21
21
|
import "./chunk-EOVYQ3IG.js";
|
|
22
22
|
import "./chunk-37EDNWLQ.js";
|
|
23
23
|
import "./chunk-RVG35AL2.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-5K573LFX.js";
|
|
25
25
|
import "./chunk-IHFUKJOR.js";
|
|
26
26
|
import "./chunk-OSSVNAI5.js";
|
|
27
27
|
import "./chunk-PFCFR3KZ.js";
|
|
@@ -36,8 +36,8 @@ import "./chunk-AWDFDFI3.js";
|
|
|
36
36
|
import "./chunk-P6LJ4Y32.js";
|
|
37
37
|
import "./chunk-GMECXFAN.js";
|
|
38
38
|
import "./chunk-374QQGBQ.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-M5WGAAML.js";
|
|
40
|
+
import "./chunk-CG6OUDMX.js";
|
|
41
41
|
import "./chunk-VWG7OQKU.js";
|
|
42
42
|
import "./chunk-ZTZA4UWZ.js";
|
|
43
43
|
import "./chunk-4AXZWUQ6.js";
|
|
@@ -62,12 +62,12 @@ import "./chunk-PJ3HDUCY.js";
|
|
|
62
62
|
import "./chunk-TQFG7HTI.js";
|
|
63
63
|
import "./chunk-GK4AIFIH.js";
|
|
64
64
|
import "./chunk-2PSPARWP.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-CYG3HXBE.js";
|
|
66
66
|
import "./chunk-K4WIOZFP.js";
|
|
67
67
|
import "./chunk-XUXGIA7H.js";
|
|
68
68
|
import "./chunk-WERLJGIC.js";
|
|
69
69
|
import "./chunk-ISN5GRYI.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-WFZEW4AC.js";
|
|
71
71
|
import "./chunk-KNU5COPB.js";
|
|
72
72
|
import "./chunk-3GXQPCJC.js";
|
|
73
73
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -6,13 +6,13 @@ 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-5K573LFX.js";
|
|
10
10
|
import "./chunk-IHFUKJOR.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureDOMParser
|
|
13
13
|
} from "./chunk-PFCFR3KZ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-M5WGAAML.js";
|
|
15
|
+
import "./chunk-CG6OUDMX.js";
|
|
16
16
|
import "./chunk-VWG7OQKU.js";
|
|
17
17
|
import {
|
|
18
18
|
c
|
|
@@ -50,12 +50,12 @@ import {
|
|
|
50
50
|
} from "./chunk-2PSPARWP.js";
|
|
51
51
|
import {
|
|
52
52
|
withMeta
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CYG3HXBE.js";
|
|
54
54
|
import "./chunk-K4WIOZFP.js";
|
|
55
55
|
import "./chunk-XUXGIA7H.js";
|
|
56
56
|
import "./chunk-WERLJGIC.js";
|
|
57
57
|
import "./chunk-ISN5GRYI.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-WFZEW4AC.js";
|
|
59
59
|
import "./chunk-KNU5COPB.js";
|
|
60
60
|
import "./chunk-3GXQPCJC.js";
|
|
61
61
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -2380,7 +2380,7 @@ function printOnionShotSaved(saved, elementCount) {
|
|
|
2380
2380
|
console.log();
|
|
2381
2381
|
}
|
|
2382
2382
|
async function runOnionShot(comps, allComps, projectDir, entryFile, args) {
|
|
2383
|
-
const { captureMotionPathShot } = await import("./motionShot-
|
|
2383
|
+
const { captureMotionPathShot } = await import("./motionShot-Y4D7LHU4.js");
|
|
2384
2384
|
const requests = collectShotSelectors(args.selector ? allComps : comps);
|
|
2385
2385
|
const guardError = onionShotGuardError(projectDir, requests, args.ghost ?? false);
|
|
2386
2386
|
if (guardError) {
|
|
@@ -10,22 +10,22 @@ import {
|
|
|
10
10
|
layout_default,
|
|
11
11
|
loadBrowserScript,
|
|
12
12
|
parseAt
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-XLO327OK.js";
|
|
14
|
+
import "./chunk-YDBQRLRI.js";
|
|
15
15
|
import "./chunk-XUHOIDKG.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3E3WVNVP.js";
|
|
17
17
|
import "./chunk-X7MTZ4T2.js";
|
|
18
18
|
import "./chunk-LO7L5PJ3.js";
|
|
19
19
|
import "./chunk-5Z63TBTX.js";
|
|
20
20
|
import "./chunk-XE6S5CE6.js";
|
|
21
21
|
import "./chunk-BSU7EOWJ.js";
|
|
22
22
|
import "./chunk-YEIFI443.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FTR6KLIG.js";
|
|
24
24
|
import "./chunk-GK5W3SIJ.js";
|
|
25
25
|
import "./chunk-EOVYQ3IG.js";
|
|
26
26
|
import "./chunk-37EDNWLQ.js";
|
|
27
27
|
import "./chunk-RVG35AL2.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-5K573LFX.js";
|
|
29
29
|
import "./chunk-IHFUKJOR.js";
|
|
30
30
|
import "./chunk-OSSVNAI5.js";
|
|
31
31
|
import "./chunk-PFCFR3KZ.js";
|
|
@@ -40,8 +40,8 @@ import "./chunk-AWDFDFI3.js";
|
|
|
40
40
|
import "./chunk-P6LJ4Y32.js";
|
|
41
41
|
import "./chunk-GMECXFAN.js";
|
|
42
42
|
import "./chunk-374QQGBQ.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-M5WGAAML.js";
|
|
44
|
+
import "./chunk-CG6OUDMX.js";
|
|
45
45
|
import "./chunk-VWG7OQKU.js";
|
|
46
46
|
import "./chunk-ZTZA4UWZ.js";
|
|
47
47
|
import "./chunk-4AXZWUQ6.js";
|
|
@@ -66,12 +66,12 @@ import "./chunk-PJ3HDUCY.js";
|
|
|
66
66
|
import "./chunk-TQFG7HTI.js";
|
|
67
67
|
import "./chunk-GK4AIFIH.js";
|
|
68
68
|
import "./chunk-2PSPARWP.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-CYG3HXBE.js";
|
|
70
70
|
import "./chunk-K4WIOZFP.js";
|
|
71
71
|
import "./chunk-XUXGIA7H.js";
|
|
72
72
|
import "./chunk-WERLJGIC.js";
|
|
73
73
|
import "./chunk-ISN5GRYI.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-WFZEW4AC.js";
|
|
75
75
|
import "./chunk-KNU5COPB.js";
|
|
76
76
|
import "./chunk-3GXQPCJC.js";
|
|
77
77
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
trackLintRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JBI43NRR.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5K573LFX.js";
|
|
13
13
|
import {
|
|
14
14
|
formatLintFindings
|
|
15
15
|
} from "./chunk-6CSYCFQV.js";
|
|
16
16
|
import "./chunk-IHFUKJOR.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-M5WGAAML.js";
|
|
18
|
+
import "./chunk-CG6OUDMX.js";
|
|
19
19
|
import "./chunk-VWG7OQKU.js";
|
|
20
20
|
import {
|
|
21
21
|
c
|
|
@@ -51,12 +51,12 @@ import "./chunk-GK4AIFIH.js";
|
|
|
51
51
|
import "./chunk-2PSPARWP.js";
|
|
52
52
|
import {
|
|
53
53
|
withMeta
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CYG3HXBE.js";
|
|
55
55
|
import "./chunk-K4WIOZFP.js";
|
|
56
56
|
import "./chunk-XUXGIA7H.js";
|
|
57
57
|
import "./chunk-WERLJGIC.js";
|
|
58
58
|
import "./chunk-ISN5GRYI.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-WFZEW4AC.js";
|
|
60
60
|
import "./chunk-KNU5COPB.js";
|
|
61
61
|
import "./chunk-3GXQPCJC.js";
|
|
62
62
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
import "./chunk-OFQWTKPW.js";
|
|
34
34
|
import {
|
|
35
35
|
withMeta
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CYG3HXBE.js";
|
|
37
37
|
import "./chunk-K4WIOZFP.js";
|
|
38
38
|
import "./chunk-XUXGIA7H.js";
|
|
39
39
|
import "./chunk-WERLJGIC.js";
|
|
40
40
|
import "./chunk-ISN5GRYI.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-WFZEW4AC.js";
|
|
42
42
|
import "./chunk-KNU5COPB.js";
|
|
43
43
|
import "./chunk-M2WBOQ2Q.js";
|
|
44
44
|
|
|
@@ -113,7 +113,7 @@ function assertAttendedDeviceFlow() {
|
|
|
113
113
|
async function runDeviceLogin() {
|
|
114
114
|
assertAttendedDeviceFlow();
|
|
115
115
|
assertOAuthConfiguredOrExit();
|
|
116
|
-
const { trackAuthLoginStarted, trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-
|
|
116
|
+
const { trackAuthLoginStarted, trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-G4QOG4OF.js");
|
|
117
117
|
trackAuthLoginStarted("device");
|
|
118
118
|
let tokens;
|
|
119
119
|
try {
|
|
@@ -178,7 +178,7 @@ async function revokeDeviceTokens(tokens) {
|
|
|
178
178
|
}
|
|
179
179
|
async function runOAuthLogin() {
|
|
180
180
|
assertOAuthConfiguredOrExit();
|
|
181
|
-
const { trackAuthLoginStarted, trackAuthLoginFailed } = await import("./telemetry-
|
|
181
|
+
const { trackAuthLoginStarted, trackAuthLoginFailed } = await import("./telemetry-G4QOG4OF.js");
|
|
182
182
|
trackAuthLoginStarted("oauth");
|
|
183
183
|
try {
|
|
184
184
|
await startAuthorizationCodeFlow();
|
|
@@ -191,7 +191,7 @@ async function runOAuthLogin() {
|
|
|
191
191
|
await reportIdentity();
|
|
192
192
|
}
|
|
193
193
|
async function reportIdentity() {
|
|
194
|
-
const { trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-
|
|
194
|
+
const { trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-G4QOG4OF.js");
|
|
195
195
|
const credential = await tryResolveCredential();
|
|
196
196
|
if (!credential) {
|
|
197
197
|
trackAuthLoginFailed("oauth", "no_credential");
|
|
@@ -248,7 +248,7 @@ async function clearUserInfoBestEffort() {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
async function runApiKeyLogin(inlineKey) {
|
|
251
|
-
const { trackAuthLoginStarted, trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-
|
|
251
|
+
const { trackAuthLoginStarted, trackAuthLoginCompleted, trackAuthLoginFailed, identifyUser } = await import("./telemetry-G4QOG4OF.js");
|
|
252
252
|
trackAuthLoginStarted("api_key");
|
|
253
253
|
let key;
|
|
254
254
|
try {
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
} from "./chunk-GK5W3SIJ.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProject
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5K573LFX.js";
|
|
16
16
|
import "./chunk-IHFUKJOR.js";
|
|
17
17
|
import {
|
|
18
18
|
findFFmpeg,
|
|
19
19
|
findFFprobe,
|
|
20
20
|
getFFmpegInstallHint
|
|
21
21
|
} from "./chunk-TVCRUG2S.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-M5WGAAML.js";
|
|
23
|
+
import "./chunk-CG6OUDMX.js";
|
|
24
24
|
import "./chunk-VWG7OQKU.js";
|
|
25
25
|
import {
|
|
26
26
|
c
|
|
@@ -69,12 +69,12 @@ import {
|
|
|
69
69
|
import "./chunk-2PSPARWP.js";
|
|
70
70
|
import {
|
|
71
71
|
withMeta
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-CYG3HXBE.js";
|
|
73
73
|
import "./chunk-K4WIOZFP.js";
|
|
74
74
|
import "./chunk-XUXGIA7H.js";
|
|
75
75
|
import "./chunk-WERLJGIC.js";
|
|
76
76
|
import "./chunk-ISN5GRYI.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-WFZEW4AC.js";
|
|
78
78
|
import {
|
|
79
79
|
normalizeErrorMessage
|
|
80
80
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -548,7 +548,7 @@ async function captureMotionPathShot(projectDir, requestsIn, outPath, opts = {})
|
|
|
548
548
|
const fit = opts.fit ?? true;
|
|
549
549
|
const camera = parseAngle(opts.angle);
|
|
550
550
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
551
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
551
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-WN4BSLI3.js");
|
|
552
552
|
const { bundleToSingleHtml } = await import("./compiler-XZ654ZH2.js");
|
|
553
553
|
const html = await bundleToSingleHtml(projectDir, { entryFile: opts.entryFile });
|
|
554
554
|
const server = await serveStaticProjectHtml(
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./chunk-37EDNWLQ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5K573LFX.js";
|
|
22
22
|
import "./chunk-IHFUKJOR.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-M5WGAAML.js";
|
|
24
|
+
import "./chunk-CG6OUDMX.js";
|
|
25
25
|
import "./chunk-VWG7OQKU.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
@@ -54,7 +54,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
54
54
|
import "./chunk-XUXGIA7H.js";
|
|
55
55
|
import "./chunk-WERLJGIC.js";
|
|
56
56
|
import "./chunk-ISN5GRYI.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-WFZEW4AC.js";
|
|
58
58
|
import "./chunk-KNU5COPB.js";
|
|
59
59
|
import "./chunk-3GXQPCJC.js";
|
|
60
60
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveProject,
|
|
9
9
|
resolveProjectOrThrow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5K573LFX.js";
|
|
11
11
|
import {
|
|
12
12
|
downloadHint,
|
|
13
13
|
openInDesktop
|
|
14
14
|
} from "./chunk-GULOKZLI.js";
|
|
15
15
|
import "./chunk-IHFUKJOR.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-M5WGAAML.js";
|
|
17
|
+
import "./chunk-CG6OUDMX.js";
|
|
18
18
|
import "./chunk-VWG7OQKU.js";
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
@@ -47,7 +47,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
47
47
|
import "./chunk-XUXGIA7H.js";
|
|
48
48
|
import "./chunk-WERLJGIC.js";
|
|
49
49
|
import "./chunk-ISN5GRYI.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-WFZEW4AC.js";
|
|
51
51
|
import "./chunk-KNU5COPB.js";
|
|
52
52
|
import "./chunk-3GXQPCJC.js";
|
|
53
53
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolvePlayerPath,
|
|
13
13
|
resolveRuntimePath,
|
|
14
14
|
revalidatedResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3E3WVNVP.js";
|
|
16
16
|
import "./chunk-X7MTZ4T2.js";
|
|
17
17
|
import {
|
|
18
18
|
injectMediaCodecMapIntoHtml,
|
|
19
19
|
requestSubPath
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FTR6KLIG.js";
|
|
21
21
|
import "./chunk-GK5W3SIJ.js";
|
|
22
22
|
import "./chunk-EOVYQ3IG.js";
|
|
23
23
|
import "./chunk-37EDNWLQ.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-LFGJWOVA.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveProject
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5K573LFX.js";
|
|
43
43
|
import "./chunk-IHFUKJOR.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAutoProxy
|
|
@@ -59,8 +59,8 @@ import "./chunk-AWDFDFI3.js";
|
|
|
59
59
|
import "./chunk-P6LJ4Y32.js";
|
|
60
60
|
import "./chunk-GMECXFAN.js";
|
|
61
61
|
import "./chunk-374QQGBQ.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-M5WGAAML.js";
|
|
63
|
+
import "./chunk-CG6OUDMX.js";
|
|
64
64
|
import "./chunk-VWG7OQKU.js";
|
|
65
65
|
import {
|
|
66
66
|
c
|
|
@@ -95,7 +95,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
95
95
|
import "./chunk-XUXGIA7H.js";
|
|
96
96
|
import "./chunk-WERLJGIC.js";
|
|
97
97
|
import "./chunk-ISN5GRYI.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-WFZEW4AC.js";
|
|
99
99
|
import "./chunk-KNU5COPB.js";
|
|
100
100
|
import "./chunk-3GXQPCJC.js";
|
|
101
101
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -242,7 +242,7 @@ var play_default = defineCommand({
|
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
async function registerCompositionRoute(app, project, autoProxy) {
|
|
245
|
-
const { isSafePath } = await import("./studio-api-
|
|
245
|
+
const { isSafePath } = await import("./studio-api-KTRRONOC.js");
|
|
246
246
|
app.get("/composition/*", async (ctx) => {
|
|
247
247
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
248
248
|
const filePath = resolve(project.dir, reqPath);
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
listenOnFreePort,
|
|
10
10
|
resolvePlayerPath,
|
|
11
11
|
resolveSlideshowPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3E3WVNVP.js";
|
|
13
13
|
import {
|
|
14
14
|
requestSubPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FTR6KLIG.js";
|
|
16
16
|
import "./chunk-GK5W3SIJ.js";
|
|
17
17
|
import "./chunk-EOVYQ3IG.js";
|
|
18
18
|
import "./chunk-37EDNWLQ.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-LFGJWOVA.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveProject
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5K573LFX.js";
|
|
28
28
|
import "./chunk-IHFUKJOR.js";
|
|
29
29
|
import {
|
|
30
30
|
R,
|
|
@@ -32,8 +32,8 @@ import {
|
|
|
32
32
|
ge
|
|
33
33
|
} from "./chunk-WMQNIQDJ.js";
|
|
34
34
|
import "./chunk-374QQGBQ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-M5WGAAML.js";
|
|
36
|
+
import "./chunk-CG6OUDMX.js";
|
|
37
37
|
import "./chunk-VWG7OQKU.js";
|
|
38
38
|
import {
|
|
39
39
|
c
|
|
@@ -68,7 +68,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
68
68
|
import "./chunk-XUXGIA7H.js";
|
|
69
69
|
import "./chunk-WERLJGIC.js";
|
|
70
70
|
import "./chunk-ISN5GRYI.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-WFZEW4AC.js";
|
|
72
72
|
import "./chunk-KNU5COPB.js";
|
|
73
73
|
import "./chunk-3GXQPCJC.js";
|
|
74
74
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -333,7 +333,7 @@ function escHtml(value) {
|
|
|
333
333
|
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
334
334
|
}
|
|
335
335
|
async function registerPresentCompositionRoute(app, project) {
|
|
336
|
-
const { isSafePath } = await import("./studio-api-
|
|
336
|
+
const { isSafePath } = await import("./studio-api-KTRRONOC.js");
|
|
337
337
|
app.get("/composition/*", (ctx) => {
|
|
338
338
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
339
339
|
const filePath = resolve(project.dir, reqPath);
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
resolveProject,
|
|
14
14
|
resolveProjectOrThrow
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5K573LFX.js";
|
|
16
16
|
import {
|
|
17
17
|
formatLintStartupMessage
|
|
18
18
|
} from "./chunk-6CSYCFQV.js";
|
|
@@ -48,8 +48,8 @@ import "./chunk-RTURM45Q.js";
|
|
|
48
48
|
import "./chunk-AWDFDFI3.js";
|
|
49
49
|
import "./chunk-P6LJ4Y32.js";
|
|
50
50
|
import "./chunk-GMECXFAN.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-M5WGAAML.js";
|
|
52
|
+
import "./chunk-CG6OUDMX.js";
|
|
53
53
|
import "./chunk-VWG7OQKU.js";
|
|
54
54
|
import {
|
|
55
55
|
c
|
|
@@ -95,7 +95,7 @@ import "./chunk-WERLJGIC.js";
|
|
|
95
95
|
import {
|
|
96
96
|
isDevMode
|
|
97
97
|
} from "./chunk-ISN5GRYI.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-WFZEW4AC.js";
|
|
99
99
|
import {
|
|
100
100
|
normalizeErrorMessage
|
|
101
101
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -1660,7 +1660,7 @@ async function runLocalStudioMode(dir, options) {
|
|
|
1660
1660
|
return waitForStudioChildClose(child);
|
|
1661
1661
|
}
|
|
1662
1662
|
async function runEmbeddedMode(dir, startPort, options) {
|
|
1663
|
-
const { createStudioServer, loadPreviewServerBuildSignature, resolveStudioBundle } = await import("./studioServer-
|
|
1663
|
+
const { createStudioServer, loadPreviewServerBuildSignature, resolveStudioBundle } = await import("./studioServer-O6P3TBDJ.js");
|
|
1664
1664
|
const pName = options?.projectName ?? basename(dir);
|
|
1665
1665
|
const studioBundle = resolveStudioBundle();
|
|
1666
1666
|
if (!options?.json) ge(c.bold("hyperframes preview"));
|
|
@@ -39,15 +39,15 @@ import "./chunk-I465DBM6.js";
|
|
|
39
39
|
import "./chunk-EOVYQ3IG.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveProject
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5K573LFX.js";
|
|
43
43
|
import {
|
|
44
44
|
errorBox,
|
|
45
45
|
formatBytes,
|
|
46
46
|
formatDuration
|
|
47
47
|
} from "./chunk-IHFUKJOR.js";
|
|
48
48
|
import "./chunk-PFCFR3KZ.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-M5WGAAML.js";
|
|
50
|
+
import "./chunk-CG6OUDMX.js";
|
|
51
51
|
import "./chunk-VWG7OQKU.js";
|
|
52
52
|
import {
|
|
53
53
|
c
|
|
@@ -78,12 +78,12 @@ import "./chunk-GK4AIFIH.js";
|
|
|
78
78
|
import "./chunk-2PSPARWP.js";
|
|
79
79
|
import {
|
|
80
80
|
withMeta
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-CYG3HXBE.js";
|
|
82
82
|
import "./chunk-K4WIOZFP.js";
|
|
83
83
|
import "./chunk-XUXGIA7H.js";
|
|
84
84
|
import "./chunk-WERLJGIC.js";
|
|
85
85
|
import "./chunk-ISN5GRYI.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-WFZEW4AC.js";
|
|
87
87
|
import {
|
|
88
88
|
normalizeErrorMessage
|
|
89
89
|
} from "./chunk-KNU5COPB.js";
|