hyperframes 0.8.180 → 0.8.183
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/bin/hyperframes.mjs +3 -1
- package/dist/{add-HUVEWSVU.js → add-HW3ZGR36.js} +22 -22
- package/dist/{animatedGifPrep-V6GJQOEB.js → animatedGifPrep-EPLN37ZN.js} +13 -13
- package/dist/api.js +28 -28
- package/dist/{asset-ZGQHDMIO.js → asset-TOASKL3Z.js} +3 -3
- package/dist/{assetCataloger-MZWCOV6C.js → assetCataloger-PZN5HYG2.js} +15 -13
- package/dist/{audio-XDWHLNIW.js → audio-F5OIQVJO.js} +29 -29
- package/dist/{auth-VIV3M7S6.js → auth-YVQLRS3T.js} +4 -4
- package/dist/{autoUpdate-R32XDL42.js → autoUpdate-EG4ZFW4D.js} +2 -2
- package/dist/{backgroundChecks-A2N6EVCP.js → backgroundChecks-WINNQVR2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-3AYDQRBI.js → batchRender-PASZTMEE.js} +7 -7
- package/dist/{beats-2O423Z6Q.js → beats-KGIOEBLW.js} +12 -12
- package/dist/{benchmark-YXP3PTZP.js → benchmark-ZNY2L7HN.js} +24 -24
- package/dist/{browser-M47BNOTJ.js → browser-REAO7RU4.js} +20 -20
- package/dist/{bundleWithLocalizedFonts-GCIHOMIU.js → bundleWithLocalizedFonts-OAYLYC4W.js} +2 -2
- package/dist/{capture-IV3Y2MT4.js → capture-IK6GWQDD.js} +8 -5
- package/dist/{capture-BT2ZXN5P.js → capture-WOSF276U.js} +49 -41
- package/dist/{captureCompositionFrame-BMZEKPOU.js → captureCompositionFrame-DDZNKYRE.js} +21 -20
- package/dist/{captureTimeout-K2JNVVCI.js → captureTimeout-RIMG6IYH.js} +1 -1
- package/dist/{catalog-GI6P22KI.js → catalog-AKTXS7OJ.js} +42 -42
- package/dist/{catch-up-QS6HUHAO.js → catch-up-O3VZMPVE.js} +15 -15
- package/dist/check-6E46NIWI.js +116 -0
- package/dist/checkBrowser-UNZHQFNH.js +117 -0
- package/dist/{chunk-ST2ARHQ5.js → chunk-3BA2GP4H.js} +5 -5
- package/dist/{chunk-7Z6AARJR.js → chunk-3OLIGYWN.js} +3 -3
- package/dist/{chunk-OR5WCFWZ.js → chunk-3Q47QC46.js} +2 -2
- package/dist/{chunk-Q2ASTBSG.js → chunk-4FQKS7BJ.js} +16 -14
- package/dist/{chunk-G2ZMCNRN.js → chunk-4UFJWRHG.js} +527 -283
- package/dist/{chunk-537IYAEE.js → chunk-4UMPIPCQ.js} +9 -1
- package/dist/{chunk-65CLIHK2.js → chunk-5MBLWFLM.js} +1 -1
- package/dist/{chunk-UVEQLDKB.js → chunk-5OGDBU4G.js} +3 -2
- package/dist/{chunk-L3YOGIPG.js → chunk-66LREXGS.js} +1 -1
- package/dist/{chunk-W4SLIGGM.js → chunk-73LTCCZI.js} +249 -161
- package/dist/{chunk-GZVP4TWN.js → chunk-7JAD4MEW.js} +1 -1
- package/dist/{chunk-NAMGMP3R.js → chunk-7KVVNF7B.js} +1 -1
- package/dist/{chunk-GK2FIKIQ.js → chunk-ADDHW2FS.js} +214 -37
- package/dist/{chunk-WUQUR33W.js → chunk-AKFADCMS.js} +1 -1
- package/dist/{chunk-2VJNKE7C.js → chunk-ANR6WOC3.js} +1 -1
- package/dist/{chunk-L527FLMV.js → chunk-ATMDOUNN.js} +2 -2
- package/dist/{chunk-ZJPCQBU7.js → chunk-B2SZZFWW.js} +4 -4
- package/dist/{chunk-TO6JNTML.js → chunk-BP4VNTZL.js} +13 -8
- package/dist/{chunk-3YXTFXT7.js → chunk-CAHTO62O.js} +8 -8
- package/dist/{chunk-MPWLGNM2.js → chunk-CGK4XZ2J.js} +1 -1
- package/dist/{chunk-NOXGG4C7.js → chunk-CJYAJ3QM.js} +37 -33
- package/dist/{chunk-F5VMPELS.js → chunk-COTLNID2.js} +16 -16
- package/dist/{chunk-E24HSMZV.js → chunk-CYBXXSC4.js} +65 -14
- package/dist/{chunk-NZZYJOMJ.js → chunk-CZUAX3BV.js} +6 -5
- package/dist/{chunk-K7RGIADJ.js → chunk-DEORFAWP.js} +12 -12
- package/dist/{chunk-GV5R5B7Q.js → chunk-DGECWPTL.js} +1 -1
- package/dist/{chunk-BRHI7EIA.js → chunk-DKPNNYBZ.js} +4 -0
- package/dist/{chunk-R46P7TGY.js → chunk-DLC2FICN.js} +7 -7
- package/dist/{chunk-D3ZWBHZP.js → chunk-DYAPHNV6.js} +3 -2
- package/dist/{chunk-RGHQID2E.js → chunk-EHSBBBR2.js} +5 -3
- package/dist/{chunk-IWTRHPTP.js → chunk-EVAQPW6O.js} +8 -8
- package/dist/{chunk-S3RYRF3W.js → chunk-F6WHPHLF.js} +1 -1
- package/dist/chunk-FG4BBFZI.js +122 -0
- package/dist/{chunk-V6MQP32U.js → chunk-GAGMLVCV.js} +2 -2
- package/dist/chunk-GMNHAOMJ.js +3805 -0
- package/dist/{chunk-KIO3R4QN.js → chunk-GPE3WWTO.js} +16 -6
- package/dist/{chunk-ULWZYLCV.js → chunk-GTE5WZAM.js} +72 -140
- package/dist/{chunk-2JDLESMS.js → chunk-HLBODNGW.js} +1 -1
- package/dist/{chunk-KMAAOHLO.js → chunk-HRPWRZGF.js} +1 -1
- package/dist/{chunk-UPFUC4DB.js → chunk-HTIUNMTP.js} +1 -1
- package/dist/{chunk-FCUTQM2P.js → chunk-IC2WYONA.js} +5 -5
- package/dist/{chunk-VE3OKVSD.js → chunk-ITSLKUQM.js} +2 -2
- package/dist/{chunk-YJDB4FLT.js → chunk-JQYJXUJW.js} +1 -1
- package/dist/{chunk-PBN6GBJE.js → chunk-JVBRJMOP.js} +14 -1
- package/dist/{chunk-XH262OWN.js → chunk-K2Z5DZBS.js} +1 -1
- package/dist/{chunk-RHWJKSGH.js → chunk-KANNRHY7.js} +1 -1
- package/dist/{chunk-Y5APFFMD.js → chunk-KRFAX5JK.js} +1 -1
- package/dist/{chunk-4J7DHVN2.js → chunk-LBWRQ4XA.js} +1 -1
- package/dist/{chunk-MQOE5RE4.js → chunk-MIZDJVPZ.js} +9 -9
- package/dist/{chunk-32GKETR7.js → chunk-MMQ52NIZ.js} +74 -0
- package/dist/chunk-MOEGCMKI.js +180 -0
- package/dist/{chunk-E6RPWJVC.js → chunk-NAUKCKCJ.js} +5 -1
- package/dist/{chunk-JBCU6NR5.js → chunk-NZ3BE2QE.js} +56 -55
- package/dist/{chunk-VKMP3IVR.js → chunk-O7N3A7PE.js} +2 -2
- package/dist/{chunk-3QENZQSL.js → chunk-OH56PXFH.js} +5 -5
- package/dist/{chunk-H4YZZ2VQ.js → chunk-PFD25NAC.js} +1 -1
- package/dist/{check-HE5E4Q7Q.js → chunk-Q6UYKWBG.js} +198 -142
- package/dist/{chunk-3DKN5WKL.js → chunk-QH3T4WI2.js} +77 -6
- package/dist/{chunk-RGXAN3YU.js → chunk-QX4GGPMY.js} +2 -2
- package/dist/{chunk-A3NFBMYX.js → chunk-R6OV4J4K.js} +6 -6
- package/dist/{chunk-LL5VQ4WS.js → chunk-RZXUQR42.js} +2 -2
- package/dist/{chunk-SEMOZNVE.js → chunk-SAQYJLI6.js} +1 -1
- package/dist/{chunk-55P7GDT6.js → chunk-TJB4GAV6.js} +2 -2
- package/dist/{checkBrowser-BHLYP3YW.js → chunk-TOHA5NAU.js} +187 -114
- package/dist/{chunk-RXQHSGAQ.js → chunk-TXGZZKDF.js} +2 -2
- package/dist/{chunk-KZ3VI5K6.js → chunk-U5YVWG5W.js} +3 -3
- package/dist/{chunk-ICMXC3MI.js → chunk-U6RXZNZE.js} +31 -18
- package/dist/{chunk-XO6CWU7D.js → chunk-UNOSCGBG.js} +2 -2
- package/dist/{chunk-NXYBR4QX.js → chunk-VAK7A2N6.js} +16 -16
- package/dist/{chunk-OFY6JTZC.js → chunk-VDJO4DJ7.js} +2 -2
- package/dist/{chunk-LBQFLUIY.js → chunk-VFBAKPRC.js} +9 -49
- package/dist/{chunk-K3KANDZQ.js → chunk-VH5KESLX.js} +1 -1
- package/dist/{chunk-22QHO26F.js → chunk-W64L7IFS.js} +1 -1
- package/dist/{chunk-4IEH6EAC.js → chunk-WT4PYV2J.js} +4 -6
- package/dist/{chunk-XFCLWWL3.js → chunk-X3IA5RYH.js} +2 -2
- package/dist/{chunk-UZOZ2W2E.js → chunk-XAQDR5Y5.js} +2 -2
- package/dist/{chunk-BI52RNRW.js → chunk-XJHKJXT4.js} +103 -20
- package/dist/{chunk-HFZ4UILX.js → chunk-XOVHO3TT.js} +25 -14
- package/dist/{chunk-VARUKXOZ.js → chunk-XR5BSEUF.js} +7 -15
- package/dist/{chunk-IZM562YJ.js → chunk-Z4R35NJS.js} +4 -4
- package/dist/{chunk-AMX53HVX.js → chunk-ZFO3A3QL.js} +2 -2
- package/dist/{clean-TQOW24OF.js → clean-WNEIVBF3.js} +40 -40
- package/dist/cli.js +68 -64
- package/dist/{cloud-7TOVPUMY.js → cloud-6GSSDCJL.js} +4 -4
- package/dist/{cloudrun-2BKGY53X.js → cloudrun-4NEJRE4T.js} +8 -8
- package/dist/commands/layout-audit.browser.js +15 -4
- package/dist/commands/motion-signature.browser.js +52 -0
- package/dist/{compare-WDV3Q6WC.js → compare-2JWQ5ABA.js} +50 -47
- package/dist/{compiler-U3W6CJW7.js → compiler-27KQD7KW.js} +6 -6
- package/dist/{component-U66GBIUO.js → component-HCRET3MH.js} +4 -4
- package/dist/{compositions-Y63YGLCE.js → compositions-HTSQ6SUJ.js} +28 -29
- package/dist/{contactSheet-27SRU7A4.js → contactSheet-CAGMKI3E.js} +3 -1
- package/dist/{delete-TBAIAD7M.js → delete-GHQ5UYM7.js} +9 -9
- package/dist/{deploy-BIWOSWS3.js → deploy-I3Z3NAVA.js} +11 -11
- package/dist/{destroy-QBLMYDBF.js → destroy-4B5HW5FH.js} +5 -5
- package/dist/{deterministicFonts-L7YEEFGI.js → deterministicFonts-JFLSSKRB.js} +2 -2
- package/dist/{dist-2FMTAVGL.js → dist-SENYPQGW.js} +4 -4
- package/dist/{dist-VO7OXOFK.js → dist-WRDLWRMS.js} +5 -5
- package/dist/{docs-MPOM3PHH.js → docs-UEWLIP6D.js} +1 -1
- package/dist/{doctor-GC4REGB6.js → doctor-UGFVQZHI.js} +27 -27
- package/dist/{events-PUUP24FT.js → events-BLJGWMNP.js} +9 -9
- package/dist/{events-4NMQVUZR.js → events-YS4OVX3I.js} +6 -6
- package/dist/{feedback-BIDXK7TE.js → feedback-AZ3SJ5HF.js} +35 -35
- package/dist/{ffmpeg-2VJDEWQQ.js → ffmpeg-2AECXG7V.js} +15 -15
- package/dist/{figma-THMXYLMU.js → figma-DRYIJQHV.js} +3 -3
- package/dist/fontLocalizeCli.js +23 -23
- package/dist/{get-5T4B7ERH.js → get-DDEAOFPB.js} +9 -9
- package/dist/{gpuPolicy-GLUATV5I.js → gpuPolicy-UDJT2MQK.js} +13 -13
- package/dist/{grade-compare-2A65YEHZ.js → grade-compare-LJKK5NSY.js} +55 -50
- package/dist/{help-JFBDXFRC.js → help-TQBGYOID.js} +1 -1
- package/dist/{history-OJEWFWMS.js → history-5TOOCF2Y.js} +15 -15
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +17 -17
- package/dist/hyperframes-player.global.js +8 -3
- package/dist/{info-KJZBU3SZ.js → info-ENI5MP4W.js} +20 -20
- package/dist/{init-6V4ELU4Z.js → init-JXPXWV3G.js} +68 -68
- package/dist/{inspect-WGBZZUZU.js → inspect-WZNYQ5AB.js} +45 -44
- package/dist/{installer-EPRSH6QI.js → installer-3SGRBLJW.js} +7 -7
- package/dist/{keyframes-57LYKC2M.js → keyframes-HEOC4CT4.js} +16 -16
- package/dist/{lambda-5P5X2X5E.js → lambda-2VHQ4AL2.js} +15 -15
- package/dist/{layout-PM2VAUT2.js → layout-7WEUNO6T.js} +45 -44
- package/dist/{lint-DXS6QRYZ.js → lint-5YMAF3L7.js} +23 -23
- package/dist/{lintProject-ARKJXDQF.js → lintProject-C2ONSH2U.js} +4 -4
- package/dist/{list-6IBSX7FU.js → list-BIE3X7CO.js} +10 -10
- package/dist/{login-RY3PWK44.js → login-YDIGJWCG.js} +7 -7
- package/dist/{logout-DKJANASY.js → logout-DDC4QLVK.js} +3 -3
- package/dist/{manager-N3COY6BJ.js → manager-D2UV6RDQ.js} +16 -16
- package/dist/{manager-V2QCCPOJ.js → manager-UHWEKPXC.js} +8 -3
- package/dist/{media-treatment-3HEZR7ZS.js → media-treatment-FSKHPMWA.js} +33 -33
- package/dist/{media-use-4XXGABIL.js → media-use-JBN57JE3.js} +1 -1
- package/dist/{models-FEULJWSX.js → models-COEK6LXG.js} +24 -24
- package/dist/{motionShot-BZTEIZEO.js → motionShot-HYZ2ZGJQ.js} +28 -26
- package/dist/{normalize-audio-O4X4LPLK.js → normalize-audio-UXR6WQ7Q.js} +12 -12
- package/dist/{open-H3MX4TI2.js → open-OFT2GIDG.js} +24 -24
- package/dist/{parakeetRunner-5ABMPCI6.js → parakeetRunner-4NZ3QXS3.js} +25 -25
- package/dist/{pipeline-RJ4DOVWX.js → pipeline-ZKE54JMG.js} +18 -18
- package/dist/{play-3PBKEZIX.js → play-2VG77FT6.js} +39 -38
- package/dist/{policies-5NTZOHJA.js → policies-XXNGXWHV.js} +1 -1
- package/dist/{preflight-3RABQJT3.js → preflight-QTWDIM5C.js} +18 -18
- package/dist/{present-6SNRG3GI.js → present-OONXQLJG.js} +33 -33
- package/dist/{preview-LSDFCJ3H.js → preview-6RZJFU76.js} +49 -49
- package/dist/{producer-SUZDRXHJ.js → producer-6YM3UH3B.js} +1 -1
- package/dist/{progress-I37JB7R4.js → progress-NHJIHAAG.js} +2 -2
- package/dist/{projectConfig-5QCNTGQT.js → projectConfig-YMW4P2X6.js} +9 -9
- package/dist/{publication-2QT7VVE2.js → publication-SEINUAPZ.js} +5 -5
- package/dist/{publish-53EBL7OO.js → publish-KZBTBWFO.js} +27 -27
- package/dist/{refresh-MGCVWX56.js → refresh-RXTOPRBB.js} +3 -3
- package/dist/{remove-background-4G4MX5WK.js → remove-background-BIQNMIR7.js} +31 -31
- package/dist/{render-RXKUYTYI.js → render-65K3K6SD.js} +31 -31
- package/dist/{render-SKY6FKYB.js → render-FIH37HJA.js} +101 -96
- package/dist/{render-75CRB3BW.js → render-LW76HOMJ.js} +8 -8
- package/dist/{render-batch-CEVWUYBP.js → render-batch-POLEEYD4.js} +8 -8
- package/dist/renderSetupWorker.js +12 -9
- package/dist/{resolver-4ICE2AT6.js → resolver-O2SED3XB.js} +7 -7
- package/dist/{screenshotCapture-HXEZ3TNJ.js → screenshotCapture-UBY6TT75.js} +33 -6
- package/dist/{sherpa-TMX3WBTM.js → sherpa-HTFFFTVQ.js} +24 -24
- package/dist/{sites-3ZBYB5X4.js → sites-MAVH57MO.js} +2 -2
- package/dist/skills/hyperframes/references/review-loop.md +1 -1
- package/dist/{skills-MCWFAGIP.js → skills-J6MBGS5O.js} +17 -17
- package/dist/{skillsUpdateCheck-NXOI35BW.js → skillsUpdateCheck-ZAXNLBF3.js} +3 -3
- package/dist/{snapshot-ESZMKQ6J.js → snapshot-TL7TTFS6.js} +72 -71
- package/dist/{src-XRTZOBO5.js → src-EL6HGIS4.js} +35 -26
- package/dist/{src-GYYWBQXJ.js → src-Z5H5N5T4.js} +19 -19
- package/dist/{state-KAXGHF77.js → state-ORRPOLMQ.js} +2 -2
- package/dist/{staticProjectServer-GYPUQGI7.js → staticProjectServer-EO7X7RAY.js} +20 -20
- package/dist/{status-BV7QAUQD.js → status-CM7IQTU2.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-1wdLVP-x.js → hyperframes-player-hz_VqxBZ.js} +7 -2
- package/dist/studio/assets/{index-CaWPPTQ1.js → index-CV_ojgp5.js} +1 -1
- package/dist/studio/assets/{index-mdtW0Ug-.js → index-S1ceEagc.js} +71 -71
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-IXGX5ZFI.js → studio-api-CUZDC5B3.js} +17 -17
- package/dist/{studioServer-XVGYU6O3.js → studioServer-EZPRV43Y.js} +90 -84
- package/dist/{telemetry-E355EUDZ.js → telemetry-LFUVHARP.js} +10 -10
- package/dist/{telemetry-CQYHCCPL.js → telemetry-QG5AANZ4.js} +1 -1
- package/dist/{timeline-VWH6WSD7.js → timeline-GSH743JE.js} +41 -41
- package/dist/{tokens-IOAVF4UI.js → tokens-3ZMPSH7B.js} +3 -3
- package/dist/{transcribe-EGUXJGD4.js → transcribe-4SHNDPWW.js} +47 -47
- package/dist/{transcribe-EJA7OOHH.js → transcribe-TV7JBZQS.js} +19 -19
- package/dist/{tts-EDK3QS7M.js → tts-A2WILYGN.js} +6 -6
- package/dist/{updateCheck-U2CVTKPF.js → updateCheck-W7FTFOQF.js} +2 -2
- package/dist/{upgrade-CWEKQ4JO.js → upgrade-7YYYNAPF.js} +3 -3
- package/dist/{urlDownloader-DY5BLAFA.js → urlDownloader-PQSUS2CP.js} +12 -12
- package/dist/{validate-XOMNMKD6.js → validate-GCHAEVXM.js} +39 -38
- package/dist/{video-22NN6OEH.js → video-KGN7NJS5.js} +16 -14
- package/dist/warmCheck.js +227 -0
- package/dist/warmCheckClient.js +139 -0
- package/package.json +4 -2
- package/dist/chunk-BAZ5LCR3.js +0 -3805
- package/dist/hyperframe-runtime.js +0 -1125
- package/dist/{chunk-B4VT6YU2.js → chunk-QGOYNPQT.js} +3 -3
- package/dist/{synthesize-I2C24XJ5.js → synthesize-PKTB5ATG.js} +1 -1
|
@@ -6,90 +6,90 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-COTLNID2.js";
|
|
10
10
|
import "./chunk-Z27A7NUB.js";
|
|
11
11
|
import "./chunk-5ETJX6WM.js";
|
|
12
|
+
import "./chunk-MIZDJVPZ.js";
|
|
13
|
+
import "./chunk-QH3T4WI2.js";
|
|
14
|
+
import "./chunk-6BEFEWFB.js";
|
|
15
|
+
import "./chunk-OH56PXFH.js";
|
|
12
16
|
import {
|
|
13
17
|
loadProducer
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-TTVHYD5R.js";
|
|
18
|
+
} from "./chunk-VH5KESLX.js";
|
|
19
|
+
import "./chunk-NZ3BE2QE.js";
|
|
20
|
+
import "./chunk-EVAQPW6O.js";
|
|
18
21
|
import "./chunk-6JR2XUEE.js";
|
|
19
|
-
import
|
|
20
|
-
CACHE_DIR_NAME,
|
|
21
|
-
cleanupProxyCache
|
|
22
|
-
} from "./chunk-KIO3R4QN.js";
|
|
22
|
+
import "./chunk-TTVHYD5R.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_HISTORY_ROOT,
|
|
25
25
|
listProjectHistories,
|
|
26
26
|
pruneGoneProjectHistories
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-U6RXZNZE.js";
|
|
28
|
+
import {
|
|
29
|
+
CACHE_DIR_NAME,
|
|
30
|
+
cleanupProxyCache
|
|
31
|
+
} from "./chunk-GPE3WWTO.js";
|
|
28
32
|
import "./chunk-ALVXFXUG.js";
|
|
29
33
|
import {
|
|
30
34
|
formatBytes
|
|
31
35
|
} from "./chunk-K2FLNJVB.js";
|
|
32
|
-
import "./chunk-MQOE5RE4.js";
|
|
33
36
|
import "./chunk-5CS4T6C6.js";
|
|
34
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-EOVYQ3IG.js";
|
|
35
38
|
import {
|
|
36
39
|
defineCommand
|
|
37
40
|
} from "./chunk-S3S4TGEH.js";
|
|
38
41
|
import {
|
|
39
42
|
setCommandExitCode
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JVBRJMOP.js";
|
|
41
44
|
import {
|
|
42
45
|
c
|
|
43
46
|
} from "./chunk-ZTZA4UWZ.js";
|
|
44
47
|
import "./chunk-KLIKCX6Q.js";
|
|
45
48
|
import "./chunk-EVMY7IPL.js";
|
|
46
49
|
import "./chunk-7FMUTGOH.js";
|
|
47
|
-
import "./chunk-E24HSMZV.js";
|
|
48
|
-
import {
|
|
49
|
-
withMeta
|
|
50
|
-
} from "./chunk-2VJNKE7C.js";
|
|
51
|
-
import "./chunk-K4WIOZFP.js";
|
|
52
|
-
import "./chunk-XUXGIA7H.js";
|
|
53
|
-
import "./chunk-WERLJGIC.js";
|
|
54
|
-
import "./chunk-ISN5GRYI.js";
|
|
55
|
-
import "./chunk-LL5VQ4WS.js";
|
|
56
|
-
import "./chunk-3DKN5WKL.js";
|
|
57
|
-
import "./chunk-EOVYQ3IG.js";
|
|
58
|
-
import "./chunk-6BEFEWFB.js";
|
|
59
|
-
import "./chunk-3QENZQSL.js";
|
|
60
|
-
import "./chunk-XT6MXC7A.js";
|
|
61
50
|
import {
|
|
62
51
|
EXTRACT_CACHE_MIN_AGE_MS,
|
|
63
52
|
directorySizeBytes,
|
|
64
53
|
gcExtractionCache,
|
|
65
54
|
resolveExtractCacheDir
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-73LTCCZI.js";
|
|
56
|
+
import "./chunk-VFBAKPRC.js";
|
|
57
|
+
import "./chunk-RQVDTPGD.js";
|
|
58
|
+
import "./chunk-WT4PYV2J.js";
|
|
59
|
+
import "./chunk-GMNHAOMJ.js";
|
|
71
60
|
import "./chunk-VC76R6W2.js";
|
|
72
61
|
import "./chunk-UJKQWGFF.js";
|
|
73
62
|
import "./chunk-YMS5FOMC.js";
|
|
74
63
|
import "./chunk-OFQWTKPW.js";
|
|
75
64
|
import "./chunk-DPVXBVLL.js";
|
|
65
|
+
import "./chunk-3GXQPCJC.js";
|
|
76
66
|
import "./chunk-634HSJ3J.js";
|
|
77
67
|
import "./chunk-FXMKHHPO.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-CYBXXSC4.js";
|
|
69
|
+
import "./chunk-DYAPHNV6.js";
|
|
70
|
+
import "./chunk-T6AGUTZJ.js";
|
|
71
|
+
import "./chunk-XT6MXC7A.js";
|
|
72
|
+
import "./chunk-4UMPIPCQ.js";
|
|
73
|
+
import "./chunk-ADDHW2FS.js";
|
|
83
74
|
import "./chunk-VAS6HQX3.js";
|
|
75
|
+
import "./chunk-6BNTGNGD.js";
|
|
84
76
|
import "./chunk-OYLO6TYK.js";
|
|
85
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-MMQ52NIZ.js";
|
|
86
78
|
import "./chunk-BSQ7XANM.js";
|
|
87
79
|
import "./chunk-SDYDNHEE.js";
|
|
88
|
-
import "./chunk-TYXH3EKP.js";
|
|
89
80
|
import "./chunk-IXLUTE6N.js";
|
|
81
|
+
import "./chunk-TYXH3EKP.js";
|
|
82
|
+
import "./chunk-W2LGJSEN.js";
|
|
83
|
+
import {
|
|
84
|
+
withMeta
|
|
85
|
+
} from "./chunk-ANR6WOC3.js";
|
|
86
|
+
import "./chunk-K4WIOZFP.js";
|
|
87
|
+
import "./chunk-XUXGIA7H.js";
|
|
88
|
+
import "./chunk-WERLJGIC.js";
|
|
89
|
+
import "./chunk-ISN5GRYI.js";
|
|
90
|
+
import "./chunk-RZXUQR42.js";
|
|
90
91
|
import "./chunk-KNU5COPB.js";
|
|
91
92
|
import "./chunk-KGPLIH7B.js";
|
|
92
|
-
import "./chunk-3GXQPCJC.js";
|
|
93
93
|
import "./chunk-M2WBOQ2Q.js";
|
|
94
94
|
|
|
95
95
|
// src/commands/clean.ts
|
package/dist/cli.js
CHANGED
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
} from "./chunk-NXMYHJAL.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveExtraPositionals
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7JAD4MEW.js";
|
|
14
14
|
import "./chunk-K4WKGXRC.js";
|
|
15
|
+
import {
|
|
16
|
+
isRenderSucceeded
|
|
17
|
+
} from "./chunk-66LREXGS.js";
|
|
15
18
|
import {
|
|
16
19
|
assertKnownFlags,
|
|
17
20
|
guardSwallowedFlagValues
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
isRenderSucceeded
|
|
21
|
-
} from "./chunk-L3YOGIPG.js";
|
|
21
|
+
} from "./chunk-HTIUNMTP.js";
|
|
22
22
|
import {
|
|
23
23
|
defineCommand,
|
|
24
24
|
parseArgs,
|
|
@@ -32,16 +32,17 @@ import {
|
|
|
32
32
|
CliRuntimeError,
|
|
33
33
|
CliUsageError,
|
|
34
34
|
consumeCommandResult,
|
|
35
|
+
outputWritten,
|
|
35
36
|
registerRootExitCodeSanitizer,
|
|
36
37
|
registerRootExitRequester
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JVBRJMOP.js";
|
|
38
39
|
import "./chunk-ZTZA4UWZ.js";
|
|
39
40
|
import {
|
|
40
41
|
isDevMode
|
|
41
42
|
} from "./chunk-ISN5GRYI.js";
|
|
42
43
|
import {
|
|
43
44
|
VERSION
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RZXUQR42.js";
|
|
45
46
|
import "./chunk-M2WBOQ2Q.js";
|
|
46
47
|
|
|
47
48
|
// src/cli.ts
|
|
@@ -91,7 +92,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
91
92
|
}
|
|
92
93
|
async function reportCommandFailure(command2, err) {
|
|
93
94
|
try {
|
|
94
|
-
const { trackCommandFailure } = await import("./events-
|
|
95
|
+
const { trackCommandFailure } = await import("./events-BLJGWMNP.js");
|
|
95
96
|
trackCommandFailure(command2, err);
|
|
96
97
|
} catch {
|
|
97
98
|
}
|
|
@@ -171,55 +172,55 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
171
172
|
});
|
|
172
173
|
}
|
|
173
174
|
var commandLoaders = {
|
|
174
|
-
init: () => import("./init-
|
|
175
|
-
add: () => import("./add-
|
|
176
|
-
catalog: () => import("./catalog-
|
|
177
|
-
"media-use": () => import("./media-use-
|
|
178
|
-
play: () => import("./play-
|
|
179
|
-
present: () => import("./present-
|
|
180
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
181
|
-
publish: () => import("./publish-
|
|
182
|
-
open: () => import("./open-
|
|
183
|
-
"catch-up": () => import("./catch-up-
|
|
184
|
-
render: () => import("./render-
|
|
185
|
-
lint: () => import("./lint-
|
|
186
|
-
check: () => import("./check-
|
|
187
|
-
beats: () => import("./beats-
|
|
188
|
-
audio: () => import("./audio-
|
|
189
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
190
|
-
inspect: () => import("./inspect-
|
|
191
|
-
keyframes: () => import("./keyframes-
|
|
192
|
-
layout: () => import("./layout-
|
|
193
|
-
info: () => import("./info-
|
|
194
|
-
compositions: () => import("./compositions-
|
|
195
|
-
timeline: () => import("./timeline-
|
|
196
|
-
history: () => import("./history-
|
|
197
|
-
benchmark: () => import("./benchmark-
|
|
198
|
-
browser: () => import("./browser-
|
|
199
|
-
"remove-background": () => import("./remove-background-
|
|
200
|
-
transcribe: () => import("./transcribe-
|
|
175
|
+
init: () => import("./init-JXPXWV3G.js").then((m) => m.default),
|
|
176
|
+
add: () => import("./add-HW3ZGR36.js").then((m) => m.default),
|
|
177
|
+
catalog: () => import("./catalog-AKTXS7OJ.js").then((m) => m.default),
|
|
178
|
+
"media-use": () => import("./media-use-JBN57JE3.js").then((m) => m.default),
|
|
179
|
+
play: () => import("./play-2VG77FT6.js").then((m) => m.default),
|
|
180
|
+
present: () => import("./present-OONXQLJG.js").then((m) => m.default),
|
|
181
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-6RZJFU76.js").then((m) => m.default)),
|
|
182
|
+
publish: () => import("./publish-KZBTBWFO.js").then((m) => m.default),
|
|
183
|
+
open: () => import("./open-OFT2GIDG.js").then((m) => m.default),
|
|
184
|
+
"catch-up": () => import("./catch-up-O3VZMPVE.js").then((m) => m.default),
|
|
185
|
+
render: () => import("./render-FIH37HJA.js").then((m) => m.default),
|
|
186
|
+
lint: () => import("./lint-5YMAF3L7.js").then((m) => m.default),
|
|
187
|
+
check: () => import("./check-6E46NIWI.js").then((m) => m.default),
|
|
188
|
+
beats: () => import("./beats-KGIOEBLW.js").then((m) => m.default),
|
|
189
|
+
audio: () => import("./audio-F5OIQVJO.js").then((m) => m.default),
|
|
190
|
+
"normalize-audio": () => import("./normalize-audio-UXR6WQ7Q.js").then((m) => m.default),
|
|
191
|
+
inspect: () => import("./inspect-WZNYQ5AB.js").then((m) => m.default),
|
|
192
|
+
keyframes: () => import("./keyframes-HEOC4CT4.js").then((m) => m.default),
|
|
193
|
+
layout: () => import("./layout-7WEUNO6T.js").then((m) => m.default),
|
|
194
|
+
info: () => import("./info-ENI5MP4W.js").then((m) => m.default),
|
|
195
|
+
compositions: () => import("./compositions-HTSQ6SUJ.js").then((m) => m.default),
|
|
196
|
+
timeline: () => import("./timeline-GSH743JE.js").then((m) => m.default),
|
|
197
|
+
history: () => import("./history-5TOOCF2Y.js").then((m) => m.default),
|
|
198
|
+
benchmark: () => import("./benchmark-ZNY2L7HN.js").then((m) => m.default),
|
|
199
|
+
browser: () => import("./browser-REAO7RU4.js").then((m) => m.default),
|
|
200
|
+
"remove-background": () => import("./remove-background-BIQNMIR7.js").then((m) => m.default),
|
|
201
|
+
transcribe: () => import("./transcribe-4SHNDPWW.js").then((m) => m.default),
|
|
201
202
|
usage: () => import("./usage-HG4WMM7A.js").then((m) => m.default),
|
|
202
|
-
models: () => import("./models-
|
|
203
|
-
tts: () => import("./tts-
|
|
204
|
-
docs: () => import("./docs-
|
|
205
|
-
doctor: () => import("./doctor-
|
|
206
|
-
clean: () => import("./clean-
|
|
207
|
-
upgrade: () => import("./upgrade-
|
|
208
|
-
skills: () => import("./skills-
|
|
209
|
-
feedback: () => import("./feedback-
|
|
210
|
-
telemetry: () => import("./telemetry-
|
|
211
|
-
events: () => import("./events-
|
|
212
|
-
validate: () => import("./validate-
|
|
213
|
-
snapshot: () => import("./snapshot-
|
|
214
|
-
"media-treatment": () => import("./media-treatment-
|
|
215
|
-
"grade-compare": () => import("./grade-compare-
|
|
216
|
-
compare: () => import("./compare-
|
|
217
|
-
capture: () => import("./capture-
|
|
218
|
-
lambda: () => import("./lambda-
|
|
219
|
-
cloudrun: () => import("./cloudrun-
|
|
220
|
-
cloud: () => import("./cloud-
|
|
221
|
-
auth: () => import("./auth-
|
|
222
|
-
figma: () => import("./figma-
|
|
203
|
+
models: () => import("./models-COEK6LXG.js").then((m) => m.default),
|
|
204
|
+
tts: () => import("./tts-A2WILYGN.js").then((m) => m.default),
|
|
205
|
+
docs: () => import("./docs-UEWLIP6D.js").then((m) => m.default),
|
|
206
|
+
doctor: () => import("./doctor-UGFVQZHI.js").then((m) => m.default),
|
|
207
|
+
clean: () => import("./clean-WNEIVBF3.js").then((m) => m.default),
|
|
208
|
+
upgrade: () => import("./upgrade-7YYYNAPF.js").then((m) => m.default),
|
|
209
|
+
skills: () => import("./skills-J6MBGS5O.js").then((m) => m.default),
|
|
210
|
+
feedback: () => import("./feedback-AZ3SJ5HF.js").then((m) => m.default),
|
|
211
|
+
telemetry: () => import("./telemetry-QG5AANZ4.js").then((m) => m.default),
|
|
212
|
+
events: () => import("./events-YS4OVX3I.js").then((m) => m.default),
|
|
213
|
+
validate: () => import("./validate-GCHAEVXM.js").then((m) => m.default),
|
|
214
|
+
snapshot: () => import("./snapshot-TL7TTFS6.js").then((m) => m.default),
|
|
215
|
+
"media-treatment": () => import("./media-treatment-FSKHPMWA.js").then((m) => m.mediaTreatmentCommand),
|
|
216
|
+
"grade-compare": () => import("./grade-compare-LJKK5NSY.js").then((m) => m.default),
|
|
217
|
+
compare: () => import("./compare-2JWQ5ABA.js").then((m) => m.default),
|
|
218
|
+
capture: () => import("./capture-IK6GWQDD.js").then((m) => m.default),
|
|
219
|
+
lambda: () => import("./lambda-2VHQ4AL2.js").then((m) => m.default),
|
|
220
|
+
cloudrun: () => import("./cloudrun-4NEJRE4T.js").then((m) => m.default),
|
|
221
|
+
cloud: () => import("./cloud-6GSSDCJL.js").then((m) => m.default),
|
|
222
|
+
auth: () => import("./auth-YVQLRS3T.js").then((m) => m.default),
|
|
223
|
+
figma: () => import("./figma-DRYIJQHV.js").then((m) => m.default)
|
|
223
224
|
};
|
|
224
225
|
var subCommands = Object.fromEntries(
|
|
225
226
|
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
|
|
@@ -243,7 +244,7 @@ var _printStalePinNotice;
|
|
|
243
244
|
var _printSkillsUpdateNotice;
|
|
244
245
|
var telemetryReady = Promise.resolve();
|
|
245
246
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
246
|
-
telemetryReady = import("./telemetry-
|
|
247
|
+
telemetryReady = import("./telemetry-LFUVHARP.js").then((mod) => {
|
|
247
248
|
_flushSync = mod.flushSync;
|
|
248
249
|
_trackCliError = mod.trackCliError;
|
|
249
250
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -253,23 +254,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
253
254
|
});
|
|
254
255
|
}
|
|
255
256
|
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
256
|
-
import("./autoUpdate-
|
|
257
|
+
import("./autoUpdate-EG4ZFW4D.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
257
258
|
});
|
|
258
|
-
import("./updateCheck-
|
|
259
|
+
import("./updateCheck-W7FTFOQF.js").then(async (mod) => {
|
|
259
260
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
260
261
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
261
262
|
const result = mod.cachedUpdateCheck();
|
|
262
263
|
if (result.updateAvailable) {
|
|
263
|
-
const auto = await import("./autoUpdate-
|
|
264
|
+
const auto = await import("./autoUpdate-EG4ZFW4D.js").catch(() => null);
|
|
264
265
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
265
266
|
}
|
|
266
267
|
}).catch(() => {
|
|
267
268
|
});
|
|
268
|
-
import("./skillsUpdateCheck-
|
|
269
|
+
import("./skillsUpdateCheck-ZAXNLBF3.js").then((mod) => {
|
|
269
270
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
270
271
|
}).catch(() => {
|
|
271
272
|
});
|
|
272
|
-
import("./backgroundChecks-
|
|
273
|
+
import("./backgroundChecks-WINNQVR2.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
273
274
|
});
|
|
274
275
|
}
|
|
275
276
|
var _appHistoryNotice = null;
|
|
@@ -310,7 +311,10 @@ registerRootExitRequester((exitCode) => {
|
|
|
310
311
|
exitCode,
|
|
311
312
|
kind: exitCode === 0 ? "success" : "runtime_error",
|
|
312
313
|
presented: true
|
|
313
|
-
}).finally(() =>
|
|
314
|
+
}).finally(async () => {
|
|
315
|
+
await outputWritten();
|
|
316
|
+
process.exit(exitCode);
|
|
317
|
+
});
|
|
314
318
|
});
|
|
315
319
|
registerRootExitCodeSanitizer(() => {
|
|
316
320
|
if (process.exitCode !== void 0 && process.exitCode !== 0) {
|
|
@@ -387,7 +391,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
387
391
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
388
392
|
});
|
|
389
393
|
async function showUsage(cmd, parent) {
|
|
390
|
-
const { showUsage: impl } = await import("./help-
|
|
394
|
+
const { showUsage: impl } = await import("./help-TQBGYOID.js");
|
|
391
395
|
return impl(cmd, parent);
|
|
392
396
|
}
|
|
393
397
|
async function showRequestedUsage() {
|
|
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
|
|
|
55
55
|
var cloud_default = defineCommand({
|
|
56
56
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
57
57
|
subCommands: {
|
|
58
|
-
render: () => import("./render-
|
|
59
|
-
list: () => import("./list-
|
|
60
|
-
get: () => import("./get-
|
|
61
|
-
delete: () => import("./delete-
|
|
58
|
+
render: () => import("./render-65K3K6SD.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-BIE3X7CO.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-DDEAOFPB.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-GHQ5UYM7.js").then((m) => m.default)
|
|
62
62
|
},
|
|
63
63
|
async run({ args }) {
|
|
64
64
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
resolveVariablesArg,
|
|
17
17
|
validateVariablesAgainstProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3Q47QC46.js";
|
|
19
19
|
import {
|
|
20
20
|
defaultCloudFps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-F6WHPHLF.js";
|
|
22
22
|
import "./chunk-K2FLNJVB.js";
|
|
23
23
|
import "./chunk-442JNXRM.js";
|
|
24
24
|
import {
|
|
@@ -26,15 +26,16 @@ import {
|
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
27
27
|
import {
|
|
28
28
|
failCommand
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JVBRJMOP.js";
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
32
|
} from "./chunk-ZTZA4UWZ.js";
|
|
33
33
|
import {
|
|
34
34
|
DISTRIBUTED_FPS,
|
|
35
35
|
isDistributedFps
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-VFBAKPRC.js";
|
|
37
|
+
import "./chunk-RQVDTPGD.js";
|
|
38
|
+
import "./chunk-GMNHAOMJ.js";
|
|
38
39
|
import "./chunk-VC76R6W2.js";
|
|
39
40
|
import "./chunk-UJKQWGFF.js";
|
|
40
41
|
import "./chunk-YMS5FOMC.js";
|
|
@@ -42,12 +43,11 @@ import "./chunk-OFQWTKPW.js";
|
|
|
42
43
|
import "./chunk-DPVXBVLL.js";
|
|
43
44
|
import "./chunk-634HSJ3J.js";
|
|
44
45
|
import "./chunk-FXMKHHPO.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-32GKETR7.js";
|
|
46
|
+
import "./chunk-MMQ52NIZ.js";
|
|
47
47
|
import "./chunk-BSQ7XANM.js";
|
|
48
48
|
import "./chunk-SDYDNHEE.js";
|
|
49
|
-
import "./chunk-TYXH3EKP.js";
|
|
50
49
|
import "./chunk-IXLUTE6N.js";
|
|
50
|
+
import "./chunk-TYXH3EKP.js";
|
|
51
51
|
import {
|
|
52
52
|
normalizeErrorMessage
|
|
53
53
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -107,20 +107,29 @@
|
|
|
107
107
|
return `${uniqueSelectorFor(parent)} > ${element.tagName.toLowerCase()}:nth-of-type(${index})`;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
// Color grading paints an <img>/<video> into a canvas the runtime inserts right after it; that canvas answers
|
|
111
|
+
// to the element the author wrote. ponytail: render-frame siblings sit between them only in render, not check.
|
|
112
|
+
const GRADED_STAND_IN = "[data-hf-color-grading-canvas]";
|
|
113
|
+
function authoredElement(element) {
|
|
114
|
+
return (element.matches(GRADED_STAND_IN) && element.previousElementSibling) || element;
|
|
115
|
+
}
|
|
116
|
+
|
|
110
117
|
function hasIgnoreFlag(element) {
|
|
111
|
-
return !!element.closest("[data-layout-ignore], [data-layout-check='ignore']");
|
|
118
|
+
return !!authoredElement(element).closest("[data-layout-ignore], [data-layout-check='ignore']");
|
|
112
119
|
}
|
|
113
120
|
|
|
114
121
|
function hasAllowOverflowFlag(element) {
|
|
115
|
-
return !!element.closest("[data-layout-allow-overflow]");
|
|
122
|
+
return !!authoredElement(element).closest("[data-layout-allow-overflow]");
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
function hasAllowCaptionZoneFlag(element) {
|
|
119
|
-
return !!element.closest("[data-layout-allow-caption-zone]");
|
|
126
|
+
return !!authoredElement(element).closest("[data-layout-allow-caption-zone]");
|
|
120
127
|
}
|
|
121
128
|
|
|
122
129
|
function hasTextClipOptOut(element) {
|
|
123
|
-
return
|
|
130
|
+
return (
|
|
131
|
+
hasAllowOverflowFlag(element) || authoredElement(element).hasAttribute("data-layout-bleed")
|
|
132
|
+
);
|
|
124
133
|
}
|
|
125
134
|
|
|
126
135
|
function opacityChain(element) {
|
|
@@ -1935,6 +1944,8 @@
|
|
|
1935
1944
|
function canvasEdgeIssues(root, rootRect, time, tolerance) {
|
|
1936
1945
|
const issues = [];
|
|
1937
1946
|
for (const canvas of Array.from(root.querySelectorAll("canvas"))) {
|
|
1947
|
+
// A graded stand-in shows the author's media, not drawn art; the media itself is never read here.
|
|
1948
|
+
if (canvas.matches(GRADED_STAND_IN)) continue;
|
|
1938
1949
|
if (!isVisibleElement(canvas) || hasAllowOverflowFlag(canvas)) continue;
|
|
1939
1950
|
if (!canvas.width || !canvas.height) continue;
|
|
1940
1951
|
const rect = toRect(canvas.getBoundingClientRect());
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Shared "what counts as motion" classifier, injected before layout-audit.browser.js and motion-sample.browser.js.
|
|
2
2
|
// The frozen-sweep guard (sweep_static) and keepsMoving liveness (motion_frozen) meet in one decision, so both
|
|
3
3
|
// must count the same channels as motion; only quantization differs (liveness buckets 2px and 0.08 opacity).
|
|
4
|
+
// Where both read still, check asks framesDiffer below, which compares the rendered frames.
|
|
4
5
|
// A channel reader returns a string equal across samples iff it did not visibly change, "" when it does not apply.
|
|
5
6
|
(function () {
|
|
6
7
|
const IGNORE_TAGS = new Set(["SCRIPT", "STYLE", "TEMPLATE", "NOSCRIPT", "META", "LINK"]);
|
|
@@ -403,6 +404,57 @@
|
|
|
403
404
|
return parts.join("|");
|
|
404
405
|
}
|
|
405
406
|
|
|
407
|
+
// --- Rendered frames: the last word where DOM channels cannot see paint ------
|
|
408
|
+
// A frame moved when enough pixels changed by more than render noise (antialiasing, dither) on some channel.
|
|
409
|
+
// ponytail: fewer than FRAME_MIN_CHANGED_PIXELS changed pixels reads as still; lower it for tinier motion.
|
|
410
|
+
const FRAME_CHANNEL_NOISE = 24;
|
|
411
|
+
const FRAME_MIN_CHANGED_PIXELS = 16;
|
|
412
|
+
let reference = { png: "", pixels: null };
|
|
413
|
+
|
|
414
|
+
// Decoded in the page like the contrast pass, so no image library is needed.
|
|
415
|
+
async function framePixels(png) {
|
|
416
|
+
const image = new Image();
|
|
417
|
+
image.src = "data:image/png;base64," + png;
|
|
418
|
+
await image.decode();
|
|
419
|
+
const canvas = document.createElement("canvas");
|
|
420
|
+
canvas.width = image.naturalWidth;
|
|
421
|
+
canvas.height = image.naturalHeight;
|
|
422
|
+
const ctx2d = canvas.getContext("2d", { willReadFrequently: true });
|
|
423
|
+
ctx2d.drawImage(image, 0, 0);
|
|
424
|
+
return ctx2d.getImageData(0, 0, canvas.width, canvas.height);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
function pixelChanged(a, b, i) {
|
|
428
|
+
return (
|
|
429
|
+
Math.abs(a[i] - b[i]) > FRAME_CHANNEL_NOISE ||
|
|
430
|
+
Math.abs(a[i + 1] - b[i + 1]) > FRAME_CHANNEL_NOISE ||
|
|
431
|
+
Math.abs(a[i + 2] - b[i + 2]) > FRAME_CHANNEL_NOISE ||
|
|
432
|
+
Math.abs(a[i + 3] - b[i + 3]) > FRAME_CHANNEL_NOISE
|
|
433
|
+
);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
// Base64 PNG screenshots in, "did anything visible change" out. The first frame is usually a run's
|
|
437
|
+
// reference compared against many, so its decode is kept.
|
|
438
|
+
// fallow-ignore-next-line complexity
|
|
439
|
+
async function framesDiffer(first, second) {
|
|
440
|
+
if (first === second) return false;
|
|
441
|
+
if (!first || !second) return true;
|
|
442
|
+
if (reference.png !== first) reference = { png: first, pixels: await framePixels(first) };
|
|
443
|
+
return pixelsDiffer(reference.pixels, await framePixels(second));
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// fallow-ignore-next-line complexity
|
|
447
|
+
function pixelsDiffer(a, b) {
|
|
448
|
+
if (a.width !== b.width || a.height !== b.height) return true;
|
|
449
|
+
let changed = 0;
|
|
450
|
+
for (let i = 0; i < a.data.length; i += 4) {
|
|
451
|
+
if (pixelChanged(a.data, b.data, i) && ++changed >= FRAME_MIN_CHANGED_PIXELS) return true;
|
|
452
|
+
}
|
|
453
|
+
return false;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
window.__hyperframesFramesDiffer = framesDiffer;
|
|
457
|
+
|
|
406
458
|
window.__hyperframesMotionSignature = {
|
|
407
459
|
compositionRoot,
|
|
408
460
|
isVisibleElement,
|