hyperframes 0.8.220 → 0.8.221
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-7BJGQPZT.js → add-7CVO7K6M.js} +14 -11
- package/dist/{agentPromptGenerator-NFN3AYLJ.js → agentPromptGenerator-YFC2SJLF.js} +6 -6
- package/dist/{animatedGifPrep-HC45HF7H.js → animatedGifPrep-YSMY5GU2.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-TSP3CMU4.js → asset-ZVKHSO3M.js} +2 -2
- package/dist/{assetCataloger-KIN2UKI7.js → assetCataloger-6IBSEOK7.js} +7 -7
- package/dist/{audio-NEJOZZXG.js → audio-JUV3TVSW.js} +14 -13
- package/dist/{auth-7EEBDTBK.js → auth-2J6FP462.js} +1 -1
- package/dist/{autoUpdate-67ZMQDED.js → autoUpdate-ML6EZK6D.js} +2 -2
- package/dist/{backgroundChecks-YN424YG5.js → backgroundChecks-MAWP2REX.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-I2GRQUPY.js → batchRender-Z7MGNJZH.js} +3 -3
- package/dist/{beats-VVY6JZEU.js → beats-LRZOZUUQ.js} +8 -8
- package/dist/{benchmark-BJJVW6RH.js → benchmark-XJWLDTIL.js} +8 -8
- package/dist/{browser-IOP3IU24.js → browser-STEVEWWA.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TLEZEZXN.js → bundleWithLocalizedFonts-WH63ZWUT.js} +2 -2
- package/dist/{capture-4Z3KBJNP.js → capture-U3ZT3GNI.js} +11 -11
- package/dist/{capture-HVIWNBQA.js → capture-VB5ID7HT.js} +3 -3
- package/dist/{captureCompositionFrame-J3OOHGC2.js → captureCompositionFrame-MXJ3WO2R.js} +11 -11
- package/dist/{catalog-G65QCBXG.js → catalog-ICGHSRPZ.js} +12 -11
- package/dist/{catch-up-VHTDAQYM.js → catch-up-DJPQKXQB.js} +4 -4
- package/dist/{check-W7TCUAXY.js → check-TL7AGWPO.js} +39 -38
- package/dist/{checkAudio-AV7R24FD.js → checkAudio-GPTU6EGB.js} +9 -9
- package/dist/{checkBrowser-QTMNRNPF.js → checkBrowser-FG5DAW2R.js} +31 -30
- package/dist/{chunk-CMI2POHT.js → chunk-2ZNURTH5.js} +9 -9
- package/dist/{chunk-6CWSMSOC.js → chunk-322M35EB.js} +3 -3
- package/dist/{chunk-UOIVSNPI.js → chunk-3PJ3HVLG.js} +1 -1
- package/dist/{chunk-SW5XTDRD.js → chunk-3STL4WJ6.js} +72 -32
- package/dist/{chunk-KGM6VQ6D.js → chunk-4ZM727AO.js} +2 -2
- package/dist/{chunk-FGGZKCOT.js → chunk-5YT2KHPO.js} +2 -2
- package/dist/{chunk-IZBJZBBF.js → chunk-625I5VBE.js} +2 -2
- package/dist/{chunk-2L645DAG.js → chunk-67CALYTU.js} +1 -1
- package/dist/{chunk-EUZYVUUS.js → chunk-6HKUUBAV.js} +2 -2
- package/dist/{chunk-RECS6EGQ.js → chunk-6YW3FEHC.js} +3 -3
- package/dist/{chunk-DBT7CRK4.js → chunk-74E7EHVH.js} +1 -1
- package/dist/{chunk-VJGQLC2A.js → chunk-7DVR3DL3.js} +7 -7
- package/dist/{chunk-22U7OCYM.js → chunk-AW7A27JM.js} +1 -1
- package/dist/{chunk-RIG7XBHW.js → chunk-AZI2T2KO.js} +1 -1
- package/dist/{chunk-ZS5PARPI.js → chunk-AZXDEC2G.js} +1 -1
- package/dist/{chunk-FK5TW3IM.js → chunk-BQNTY7J5.js} +1 -1
- package/dist/{chunk-5RGVBSDS.js → chunk-D2RQVJLZ.js} +2 -2
- package/dist/{chunk-LZPNAI7P.js → chunk-DMCU2ELU.js} +3 -3
- package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
- package/dist/{chunk-NEVX7YHH.js → chunk-F6WHVEUS.js} +1 -1
- package/dist/{chunk-O332YWQV.js → chunk-GSCFMG4C.js} +2 -2
- package/dist/{chunk-ARZGHKST.js → chunk-H3HC6U4I.js} +9 -9
- package/dist/{chunk-PCKWLYKA.js → chunk-HSHKLYDI.js} +3 -3
- package/dist/{chunk-XPV5K5MD.js → chunk-I45R2REQ.js} +1 -1
- package/dist/{chunk-DEXGPHAZ.js → chunk-IDWJJ7PP.js} +1 -1
- package/dist/{chunk-RIYARQ2O.js → chunk-JGZUG5V4.js} +2 -2
- package/dist/{chunk-NKNKRN7G.js → chunk-KQPP4NIZ.js} +2 -2
- package/dist/{chunk-5XOOBNU2.js → chunk-L63FJVSC.js} +1 -1
- package/dist/{chunk-MHZB6QSC.js → chunk-LYZB5CJN.js} +13 -3
- package/dist/{chunk-BASBBBNB.js → chunk-M2BCU4Y5.js} +1 -1
- package/dist/{chunk-YMKTEQIA.js → chunk-M2F6VGCP.js} +4 -4
- package/dist/{chunk-VZVRF3JX.js → chunk-MEB6HWBM.js} +1 -1
- package/dist/{chunk-DA6GOIIA.js → chunk-MXVH6UW6.js} +1 -1
- package/dist/{chunk-SUQ77SEY.js → chunk-MYNBV7WG.js} +9 -2
- package/dist/{chunk-2MDFNL2E.js → chunk-MYXFBIJO.js} +1 -1
- package/dist/{chunk-IMVM6E65.js → chunk-NQOCM4KQ.js} +3 -3
- package/dist/{chunk-NSKIGECI.js → chunk-NYOQP6DO.js} +1 -1
- package/dist/{chunk-RF5LOY22.js → chunk-O7WR4AHX.js} +13 -13
- package/dist/{chunk-KJ2ORDQZ.js → chunk-OMLDAF44.js} +1 -1
- package/dist/{chunk-6MHKL2TB.js → chunk-OOEOJPFY.js} +2 -2
- package/dist/{chunk-RK3LW7NO.js → chunk-OPKSVV4G.js} +2 -2
- package/dist/{chunk-P3XF3ZZF.js → chunk-P6FGS4U6.js} +2 -2
- package/dist/chunk-Q3PPGPEA.js +5061 -0
- package/dist/{chunk-NQP44XMF.js → chunk-QLQVQQP6.js} +3 -3
- package/dist/{chunk-A32ZEFZT.js → chunk-QYUXDFJY.js} +1 -1
- package/dist/{chunk-X2YBRPCM.js → chunk-ROVRC3CG.js} +2 -2
- package/dist/{chunk-TQ3W64VT.js → chunk-RVCWVOXM.js} +3 -3
- package/dist/{chunk-AGFHQTZD.js → chunk-RVIMLJXC.js} +13 -13
- package/dist/{chunk-D5TOH3QI.js → chunk-S5GOFDX5.js} +1 -1
- package/dist/{chunk-DJWAL7AW.js → chunk-SAKL7SZH.js} +2 -2
- package/dist/{chunk-NYSB3CWY.js → chunk-TMK3MW7B.js} +9 -9
- package/dist/{chunk-RHEQ7RXZ.js → chunk-TNQCXU37.js} +1 -1
- package/dist/{chunk-DB6OJRZB.js → chunk-TVT465RJ.js} +5 -5
- package/dist/{chunk-CIUEQLWL.js → chunk-U6WH572X.js} +5 -5
- package/dist/{chunk-JIGD5ZXE.js → chunk-UNQ3CVKW.js} +19 -19
- package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
- package/dist/chunk-WYKRGEDD.js +62 -0
- package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
- package/dist/{chunk-3F6EGZ6C.js → chunk-XDTCPMR3.js} +1 -1
- package/dist/{chunk-AUGHXWJC.js → chunk-XETZLYGW.js} +1 -1
- package/dist/{chunk-6A7DOGSP.js → chunk-Y4GLFHO5.js} +1 -1
- package/dist/{chunk-PIKANFFV.js → chunk-YISDQ7YP.js} +4 -4
- package/dist/{chunk-6OXVMHTB.js → chunk-YKMFCE5B.js} +1 -1
- package/dist/{chunk-OURH3TLX.js → chunk-YSZ4VMXI.js} +1 -1
- package/dist/{chunk-WQYLRTVT.js → chunk-YV2QQUTL.js} +2 -2
- package/dist/{chunk-NSJPSQZ3.js → chunk-Z7YQEDA5.js} +1 -1
- package/dist/{chunk-K7APBNPW.js → chunk-ZBLSSWSE.js} +1 -1
- package/dist/{chunk-MS2SDIPC.js → chunk-ZKPRJPWN.js} +8 -8
- package/dist/{chunk-6YIBMA6Y.js → chunk-ZOLKM3VZ.js} +5 -5
- package/dist/{clean-AYZ2RAMN.js → clean-3NMJWZXK.js} +16 -16
- package/dist/cli.js +61 -59
- package/dist/{cloud-A53ZNOO6.js → cloud-CB3NYNUR.js} +4 -4
- package/dist/{cloudrun-USB736UD.js → cloudrun-2CTKCIXV.js} +4 -4
- package/dist/commands/motion-signature.browser.js +11 -6
- package/dist/{compare-42CWJXBR.js → compare-FVY3AMTT.js} +28 -27
- package/dist/{compiler-SV2WYWTI.js → compiler-SEQRWEEN.js} +3 -3
- package/dist/{component-7JC7NQGM.js → component-AEMJRROX.js} +3 -3
- package/dist/{compositions-6F6743GP.js → compositions-NRBSIBGZ.js} +10 -10
- package/dist/{delete-7TRRZI5M.js → delete-T4E53ELR.js} +2 -2
- package/dist/{deploy-6SSC2FBD.js → deploy-PUF2DW3H.js} +1 -1
- package/dist/{dist-KP2GVAQU.js → dist-B6C3DU6I.js} +2 -2
- package/dist/{dist-XXBCSQYF.js → dist-VARV35QH.js} +1 -1
- package/dist/docs/motion-blur.md +28 -0
- package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
- package/dist/{doctor-XEG3GZAA.js → doctor-FVBU575B.js} +10 -10
- package/dist/{events-I7F24HFX.js → events-DZ5PRR6F.js} +2 -2
- package/dist/{events-33HQE43K.js → events-RSPDI7FX.js} +3 -3
- package/dist/{feedback-XDTUBZX3.js → feedback-AALA3OA7.js} +7 -7
- package/dist/{ffmpeg-ABXU2TYH.js → ffmpeg-YXKE5CUE.js} +6 -6
- package/dist/{figma-4JKNWEKN.js → figma-37R727XZ.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-EX2INNLN.js → get-L3VKJ6JF.js} +2 -2
- package/dist/{gpuPolicy-7TSXQHK4.js → gpuPolicy-6QIFFWAI.js} +6 -6
- package/dist/{grade-compare-TLUTRM2K.js → grade-compare-7IN5QDJD.js} +29 -28
- package/dist/{heifImagePrep-UOBBQFA2.js → heifImagePrep-AWII25PM.js} +7 -7
- package/dist/{help-BB4FPW2K.js → help-B4MB7MWW.js} +1 -1
- package/dist/{history-JNETCPLB.js → history-TQO6AWEQ.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-7LBANHQG.js → info-7CBHVXSG.js} +7 -7
- package/dist/{init-GZ36UP5K.js → init-D7HKPQ5A.js} +27 -26
- package/dist/{inspect-OD54TEQN.js → inspect-VHDQL55M.js} +29 -28
- package/dist/{installer-4KJ7T3KB.js → installer-EJNLL6SV.js} +4 -4
- package/dist/{keyframes-KLBNYGYC.js → keyframes-IFLBMAJP.js} +6 -6
- package/dist/{lambda-554LSIHM.js → lambda-I7EQULHC.js} +10 -10
- package/dist/{layout-EQAJKTIW.js → layout-MOCEANRO.js} +29 -28
- package/dist/{lint-ZMSIAVMI.js → lint-HFXGSQKN.js} +7 -7
- package/dist/{lintProject-I4XPWIQZ.js → lintProject-VCDI6A2W.js} +1 -1
- package/dist/{list-KUZLCZUK.js → list-OFYIXVON.js} +2 -2
- package/dist/{localPage-MQJZAR7Z.js → localPage-QOOQ5YA2.js} +6 -6
- package/dist/{login-644VKQTJ.js → login-WAG7B4PM.js} +4 -4
- package/dist/{manager-3C33QHJB.js → manager-34U5CEFB.js} +7 -7
- package/dist/{media-treatment-XYS2O3JD.js → media-treatment-2TLX6NKS.js} +12 -12
- package/dist/{models-KOTMJX4Z.js → models-M2F4WTAR.js} +10 -10
- package/dist/{motionShot-YOSDJ26I.js → motionShot-6WCTCV4W.js} +14 -14
- package/dist/{normalize-audio-FNT6Y4MC.js → normalize-audio-T6PIPWOT.js} +8 -8
- package/dist/{open-COIGEQCX.js → open-BC5METIY.js} +12 -11
- package/dist/{parakeetRunner-BBXLGDZW.js → parakeetRunner-UXVY7PV2.js} +11 -11
- package/dist/{pipeline-23GAJEQO.js → pipeline-GJAJPWPB.js} +9 -9
- package/dist/{play-GOCWJH7Z.js → play-UCIRUHCU.js} +20 -19
- package/dist/{preflight-7IWI3INL.js → preflight-GVRYYIH5.js} +7 -7
- package/dist/{present-VN2RAATE.js → present-46QLZOK4.js} +15 -15
- package/dist/{preview-MD7W5T56.js → preview-HWXMP7WL.js} +23 -21
- package/dist/{producer-IRENEI2Y.js → producer-2PBHUE5O.js} +1 -1
- package/dist/{projectConfig-3IXWY6VF.js → projectConfig-C4S3LBBX.js} +7 -6
- package/dist/{publication-MCDU4VIJ.js → publication-GESNVVMS.js} +2 -2
- package/dist/{publish-5477WXAK.js → publish-IBY26S3T.js} +11 -10
- package/dist/{remove-background-XYO5ENFU.js → remove-background-3OBWOHVZ.js} +10 -10
- package/dist/{render-54SCVHMS.js → render-3F6GQ5WW.js} +14 -14
- package/dist/{render-34GMNN2B.js → render-LSI5WXS7.js} +5 -5
- package/dist/{render-L66MXLV2.js → render-SR5RISLU.js} +33 -32
- package/dist/{render-batch-DOCRB7KQ.js → render-batch-HV4W3PZM.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-Q5XTMECS.js → resolver-R5X3HAPE.js} +5 -4
- package/dist/{sherpa-E7C2ZGKD.js → sherpa-2Q6U4ZFY.js} +10 -10
- package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
- package/dist/{skills-DDZCYTVS.js → skills-FSGXQSHA.js} +5 -5
- package/dist/{skillsUpdateCheck-4XX7YYZA.js → skillsUpdateCheck-UW6643XX.js} +3 -3
- package/dist/{snapshot-PTLZ25S3.js → snapshot-HFPB34Y7.js} +62 -39
- package/dist/{src-RDWYM4KF.js → src-ROWFWCEN.js} +5 -5
- package/dist/{src-KT325UQS.js → src-VMTQQUUP.js} +8 -8
- package/dist/{staticProjectServer-JCGTNF4E.js → staticProjectServer-4TGZJIWN.js} +18 -17
- package/dist/studio/assets/{hyperframes-player-CC1Ue2mg.js → hyperframes-player-B_wvwarc.js} +1 -1
- package/dist/studio/assets/{index-BgjuGqZk.js → index-BDE7dwov.js} +4 -4
- package/dist/studio/assets/{index-hc5Ru1gB.js → index-D0jGq2dS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GTN767PW.js → studio-api-TSHXVZ6R.js} +9 -9
- package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
- package/dist/{studioServer-X6O4WB7E.js → studioServer-74ZBLNP2.js} +50 -55
- package/dist/{telemetry-OY2PKIWO.js → telemetry-3NDLZOPR.js} +3 -3
- package/dist/{timeline-IZZRAXKP.js → timeline-5IFZJU7M.js} +20 -19
- package/dist/{tokens-JHIYKROF.js → tokens-UFNPQVLS.js} +2 -2
- package/dist/{transcribe-2MPZHRG5.js → transcribe-7KQAUHEN.js} +9 -9
- package/dist/{transcribe-WJ2DIE3W.js → transcribe-NAXKBIPW.js} +15 -15
- package/dist/{updateCheck-6XMEFB74.js → updateCheck-KDSFL3XX.js} +2 -2
- package/dist/{upgrade-MSNQIWR7.js → upgrade-EXX4C35N.js} +2 -2
- package/dist/{urlDownloader-CD6NVJE5.js → urlDownloader-4UFCIAPH.js} +5 -5
- package/dist/{validate-7L5LJFTK.js → validate-QYOHY3N6.js} +22 -22
- package/dist/{video-HFIDOIQI.js → video-HRL3V2R5.js} +7 -7
- package/dist/warmCheck.js +39 -38
- package/package.json +1 -1
- package/dist/chunk-2Q7XV4F6.js +0 -5061
|
@@ -10,29 +10,29 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
RegistryCompatibilityError,
|
|
12
12
|
gateRegistryItemsCompatibility
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AW7A27JM.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_PROJECT_CONFIG,
|
|
16
16
|
createProjectConfig,
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YKMFCE5B.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MYNBV7WG.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SAKL7SZH.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S5GOFDX5.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-F6WHVEUS.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-MXVH6UW6.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -153,15 +153,50 @@ function buildSnippet(item, relativeTarget, values = null, compositionId) {
|
|
|
153
153
|
}
|
|
154
154
|
return "";
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function installJson(results, errors) {
|
|
157
157
|
return {
|
|
158
158
|
ok: errors.length === 0,
|
|
159
|
-
tag,
|
|
160
159
|
installed: results.map((r) => r.name),
|
|
161
160
|
warnings: results.flatMap((r) => r.warnings.map((w) => `${r.name}: ${w}`)),
|
|
162
161
|
errors
|
|
163
162
|
};
|
|
164
163
|
}
|
|
164
|
+
function tagAddJson(tag, results, errors = []) {
|
|
165
|
+
return { ...installJson(results, errors), tag };
|
|
166
|
+
}
|
|
167
|
+
function severalAddJson(results, errors = []) {
|
|
168
|
+
return installJson(results, errors);
|
|
169
|
+
}
|
|
170
|
+
async function installOne(name, context) {
|
|
171
|
+
try {
|
|
172
|
+
const result = await runAdd({
|
|
173
|
+
name,
|
|
174
|
+
projectDir: context.projectDir,
|
|
175
|
+
skipClipboard: true,
|
|
176
|
+
force: context.force,
|
|
177
|
+
vars: context.vars
|
|
178
|
+
});
|
|
179
|
+
if (!context.json) {
|
|
180
|
+
for (const warning of result.warnings) console.log(` ${c.warn("Warning:")} ${warning}`);
|
|
181
|
+
console.log(` ${c.success("\u2713")} ${result.name}`);
|
|
182
|
+
}
|
|
183
|
+
return { result };
|
|
184
|
+
} catch (err) {
|
|
185
|
+
const reason = err instanceof Error ? err.message : String(err);
|
|
186
|
+
if (!context.json) console.log(` ${c.error("\u2717")} ${name} (skipped: ${reason})`);
|
|
187
|
+
return { name, error: reason };
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
async function installEach(names, context) {
|
|
191
|
+
const results = [];
|
|
192
|
+
const errors = [];
|
|
193
|
+
for (const name of names) {
|
|
194
|
+
const outcome = await installOne(name, context);
|
|
195
|
+
if ("result" in outcome) results.push(outcome.result);
|
|
196
|
+
else errors.push(outcome);
|
|
197
|
+
}
|
|
198
|
+
return { results, errors };
|
|
199
|
+
}
|
|
165
200
|
function parseVariableValues(raw) {
|
|
166
201
|
if (raw === void 0) return null;
|
|
167
202
|
let parsed;
|
|
@@ -335,7 +370,7 @@ var add_default = defineCommand({
|
|
|
335
370
|
args: {
|
|
336
371
|
name: {
|
|
337
372
|
type: "positional",
|
|
338
|
-
description: "Registry item name or tag. Single items install directly (e.g. shader-wipe). If the name matches a tag instead, all blocks with that tag are installed (e.g. html-in-canvas, captions).",
|
|
373
|
+
description: "Registry item name or tag. Single items install directly (e.g. shader-wipe). If the name matches a tag instead, all blocks with that tag are installed (e.g. html-in-canvas, captions). Give several names to install each of them in one call.",
|
|
339
374
|
required: true
|
|
340
375
|
},
|
|
341
376
|
dir: {
|
|
@@ -375,6 +410,28 @@ var add_default = defineCommand({
|
|
|
375
410
|
const json = args.json === true;
|
|
376
411
|
const skipClipboard = args.clipboard === false;
|
|
377
412
|
const hasConfigBefore = existsSync(projectConfigPath(projectDir));
|
|
413
|
+
const names = Array.isArray(args._) && args._.length > 1 ? args._.map(String) : [args.name];
|
|
414
|
+
if (names.length > 1) {
|
|
415
|
+
if (!json) {
|
|
416
|
+
console.log("");
|
|
417
|
+
console.log(`${c.accent("\u25C6")} Installing ${c.accent(String(names.length))} items`);
|
|
418
|
+
}
|
|
419
|
+
const { results, errors } = await installEach(names, {
|
|
420
|
+
projectDir,
|
|
421
|
+
force: args.force,
|
|
422
|
+
vars: args.vars,
|
|
423
|
+
json
|
|
424
|
+
});
|
|
425
|
+
if (json) {
|
|
426
|
+
console.log(JSON.stringify(severalAddJson(results, errors)));
|
|
427
|
+
} else {
|
|
428
|
+
console.log("");
|
|
429
|
+
const summary = `Installed ${results.length}/${names.length} items`;
|
|
430
|
+
console.log(`${errors.length > 0 ? c.error("\u2717") : c.success("\u2713")} ${summary}`);
|
|
431
|
+
}
|
|
432
|
+
if (errors.length > 0) failCommand();
|
|
433
|
+
return;
|
|
434
|
+
}
|
|
378
435
|
try {
|
|
379
436
|
const result = await runAdd({
|
|
380
437
|
name: args.name,
|
|
@@ -441,28 +498,10 @@ var add_default = defineCommand({
|
|
|
441
498
|
`${c.accent("\u25C6")} Installing ${c.accent(String(items.length))} blocks tagged ${c.accent(args.name)}`
|
|
442
499
|
);
|
|
443
500
|
}
|
|
444
|
-
const results =
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
const result = await runAdd({
|
|
449
|
-
name: item.name,
|
|
450
|
-
projectDir,
|
|
451
|
-
skipClipboard: true,
|
|
452
|
-
force: args.force,
|
|
453
|
-
vars: args.vars
|
|
454
|
-
});
|
|
455
|
-
results.push(result);
|
|
456
|
-
for (const warning of result.warnings) {
|
|
457
|
-
if (!json) console.log(` ${c.warn("Warning:")} ${warning}`);
|
|
458
|
-
}
|
|
459
|
-
if (!json) console.log(` ${c.success("\u2713")} ${result.name}`);
|
|
460
|
-
} catch (err) {
|
|
461
|
-
const reason = err instanceof Error ? err.message : String(err);
|
|
462
|
-
errors.push({ name: item.name, error: reason });
|
|
463
|
-
if (!json) console.log(` ${c.error("\u2717")} ${item.name} (skipped: ${reason})`);
|
|
464
|
-
}
|
|
465
|
-
}
|
|
501
|
+
const { results, errors } = await installEach(
|
|
502
|
+
items.map((item) => item.name),
|
|
503
|
+
{ projectDir, force: args.force, vars: args.vars, json }
|
|
504
|
+
);
|
|
466
505
|
if (json) {
|
|
467
506
|
console.log(JSON.stringify(tagAddJson(args.name, results, errors)));
|
|
468
507
|
} else {
|
|
@@ -482,6 +521,7 @@ export {
|
|
|
482
521
|
compositionRootId,
|
|
483
522
|
buildSnippet,
|
|
484
523
|
tagAddJson,
|
|
524
|
+
severalAddJson,
|
|
485
525
|
parseVariableValues,
|
|
486
526
|
AddError,
|
|
487
527
|
describeInstallFailure,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Q3PPGPEA.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
collectExternalStyles,
|
|
72
72
|
lintHyperframeHtml
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LYZB5CJN.js";
|
|
74
74
|
import {
|
|
75
75
|
CSS_URL_RE,
|
|
76
76
|
checkSubCompositionUsability,
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.221" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.221" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M2F6VGCP.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-ROWFWCEN.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YKMFCE5B.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MXVH6UW6.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4ZM727AO.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MXVH6UW6.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LYZB5CJN.js";
|
|
24
24
|
import {
|
|
25
25
|
readClipTiming,
|
|
26
26
|
readMediaOffsetSeconds,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZBLSSWSE.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZKPRJPWN.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-P6FGS4U6.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NYOQP6DO.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YKMFCE5B.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M2F6VGCP.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4ZM727AO.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MXVH6UW6.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeWellFormedEscapes
|
|
40
40
|
} from "./chunk-KSC4O2RY.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5YT2KHPO.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MYXFBIJO.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M2F6VGCP.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HSHKLYDI.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3PJ3HVLG.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M2BCU4Y5.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// src/utils/reject-extra-positionals.ts
|
|
18
18
|
var ACCEPTS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set([
|
|
19
|
+
"add",
|
|
19
20
|
"audio",
|
|
20
21
|
"compare",
|
|
21
22
|
"figma asset",
|
|
@@ -23,9 +24,6 @@ var ACCEPTS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set([
|
|
|
23
24
|
"timeline set"
|
|
24
25
|
]);
|
|
25
26
|
var JOINS_EXTRA_POSITIONALS = /* @__PURE__ */ new Set(["catalog", "tts"]);
|
|
26
|
-
var EXTRA_POSITIONAL_HINTS = {
|
|
27
|
-
add: "Run add once per item, or pass a single tag to install every item tagged with it."
|
|
28
|
-
};
|
|
29
27
|
function wantsJson(value) {
|
|
30
28
|
return value === true || typeof value === "string" && value !== "false" && value !== "0";
|
|
31
29
|
}
|
|
@@ -63,8 +61,7 @@ function resolveExtraPositionals(cmd, path, parsed) {
|
|
|
63
61
|
}
|
|
64
62
|
const plural = extra.length === 1 ? "" : "s";
|
|
65
63
|
const message = `Unexpected extra argument${plural} for hyperframes ${path}: ${extra.join(", ")}
|
|
66
|
-
Usage: ${usageLine(path, args)}
|
|
67
|
-
${EXTRA_POSITIONAL_HINTS[path]}` : "");
|
|
64
|
+
Usage: ${usageLine(path, args)}`;
|
|
68
65
|
if (wantsJson(parsed?.json)) console.log(JSON.stringify(jsonFailure("usage_error", message)));
|
|
69
66
|
else console.error(message);
|
|
70
67
|
throw new CliUsageError(
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y4GLFHO5.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-PBNWRWKA.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-SEQRWEEN.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BQNTY7J5.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7DVR3DL3.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TMK3MW7B.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
25
|
} from "./chunk-SGTEKMJW.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-322M35EB.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JGZUG5V4.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
printDeprecationNotice,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YSZ4VMXI.js";
|
|
43
43
|
import {
|
|
44
44
|
failureMessage,
|
|
45
45
|
jsonFailure
|
|
@@ -706,7 +706,7 @@ async function collectTweenBoundaries(page) {
|
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
708
|
async function bundleProjectHtml(projectDir) {
|
|
709
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
709
|
+
const { bundleToSingleHtml } = await import("./compiler-SEQRWEEN.js");
|
|
710
710
|
return bundleToSingleHtml(projectDir);
|
|
711
711
|
}
|
|
712
712
|
async function alignViewportToComposition(page, url) {
|
|
@@ -725,13 +725,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
725
725
|
async function runLayoutAudit(projectDir, opts) {
|
|
726
726
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
727
727
|
const puppeteer = await import("puppeteer-core");
|
|
728
|
-
const { buildChromeArgs } = await import("./src-
|
|
728
|
+
const { buildChromeArgs } = await import("./src-ROWFWCEN.js");
|
|
729
729
|
const {
|
|
730
730
|
assertWebGpuAdapterAvailable,
|
|
731
731
|
compositionRequiresWebGpu,
|
|
732
732
|
resolveLocalBrowserGpuMode,
|
|
733
733
|
resolveLocalWebGpu
|
|
734
|
-
} = await import("./gpuPolicy-
|
|
734
|
+
} = await import("./gpuPolicy-6QIFFWAI.js");
|
|
735
735
|
const html = await bundleProjectHtml(projectDir);
|
|
736
736
|
const server = await serveStaticProjectHtml(
|
|
737
737
|
projectDir,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-J74ZUXVU.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3PJ3HVLG.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-M2BCU4Y5.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QYUXDFJY.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-625I5VBE.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M2F6VGCP.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TNQCXU37.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-3NDLZOPR.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -8155,7 +8155,7 @@ function hiddenSetTargetSelectors(target, aliases) {
|
|
|
8155
8155
|
const parts = target.startsWith("[") && target.endsWith("]") ? target.slice(1, -1).split(",") : [target];
|
|
8156
8156
|
return parts.flatMap((part) => {
|
|
8157
8157
|
const trimmed = part.trim();
|
|
8158
|
-
const resolved = /^(["'`])([^"'`]+)\1$/.exec(trimmed)?.[2] ?? aliases.get(trimmed);
|
|
8158
|
+
const resolved = /^(["'`])([^"'`]+)\1$/.exec(trimmed)?.[2] ?? /^[\w$.]+\.querySelector(?:All)?\(\s*(["'`])([^"'`]+)\1\s*\)$/.exec(trimmed)?.[2] ?? aliases.get(trimmed);
|
|
8159
8159
|
return resolved === void 0 ? [] : resolved.split(",");
|
|
8160
8160
|
}).map((selector) => selector.trim()).filter((selector) => selector.length > 0);
|
|
8161
8161
|
}
|
|
@@ -8169,7 +8169,12 @@ function extractStandaloneHiddenSelectors(script) {
|
|
|
8169
8169
|
)) {
|
|
8170
8170
|
aliases.set(match2[1] ?? "", match2[3] ?? "");
|
|
8171
8171
|
}
|
|
8172
|
-
const
|
|
8172
|
+
for (const match2 of source.matchAll(
|
|
8173
|
+
/(?:const|let|var)\s+([A-Za-z_$][\w$]*)\s*=\s*[\w$.]+\.querySelector(?:All)?\(\s*(["'`])([^"'`]+)\2\s*\)/g
|
|
8174
|
+
)) {
|
|
8175
|
+
aliases.set(match2[1] ?? "", match2[3] ?? "");
|
|
8176
|
+
}
|
|
8177
|
+
const pattern = /gsap\.set\s*\(\s*(\[[^[\]]*\]|"[^"]*"|'[^']*'|`[^`]*`|[\w$.]+\.querySelector(?:All)?\(\s*(?:"[^"]*"|'[^']*'|`[^`]*`)\s*\)|[^,()[\]]+?)\s*,\s*\{([\s\S]*?)\}\s*\)/g;
|
|
8173
8178
|
let match;
|
|
8174
8179
|
while ((match = pattern.exec(source)) !== null) {
|
|
8175
8180
|
if (indexInsideNonIifeRange(match.index, source, functionRanges)) continue;
|
|
@@ -8830,7 +8835,12 @@ ${right.raw}`)
|
|
|
8830
8835
|
(win) => win.position <= SCENE_BOUNDARY_EPSILON_SECONDS && (isHiddenGsapState(win.propertyValues) || win.fromPropertyValues !== void 0 && isHiddenGsapState(win.fromPropertyValues))
|
|
8831
8836
|
);
|
|
8832
8837
|
if (startsHiddenAtZero) continue;
|
|
8833
|
-
if (selectors.some(
|
|
8838
|
+
if (selectors.some(
|
|
8839
|
+
(selector2) => [...authoredHiddenSelectors].some(
|
|
8840
|
+
(hidden) => hidden === selector2 || targetedSelectorTokens(hidden).has(selector2)
|
|
8841
|
+
)
|
|
8842
|
+
))
|
|
8843
|
+
continue;
|
|
8834
8844
|
const firstVisible = visibilityWindows.find((win) => makesOverlayVisible(win));
|
|
8835
8845
|
if (!firstVisible) continue;
|
|
8836
8846
|
const selector = selectors.find(
|