hyperframes 0.8.208 → 0.8.209
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-XMWRBMBR.js → add-VZKUIZEH.js} +14 -13
- package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-PN4G4YPJ.js} +8 -6
- package/dist/api.js +19 -16
- package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
- package/dist/{asset-I5GGEOB2.js → asset-I4PHGE57.js} +2 -2
- package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LRAUXQ46.js} +8 -6
- package/dist/{audio-GFJCHH5W.js → audio-T7SAVYED.js} +27 -18
- package/dist/{auth-QOA55RYR.js → auth-GP6HTQT3.js} +1 -1
- package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-Z6GFPZAG.js} +2 -2
- package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-ZJ7JV52S.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FBP3RKUF.js → batchRender-J3ETE23Y.js} +3 -3
- package/dist/{beats-VNGJ7F6W.js → beats-WF4FJCM5.js} +13 -10
- package/dist/{benchmark-NZ3N3MIV.js → benchmark-B7UPP4PQ.js} +8 -8
- package/dist/{browser-BD5BKRJ5.js → browser-SIUYD43U.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-RRGFY3XV.js} +2 -2
- package/dist/{capture-LMJ4TQRL.js → capture-J3GLHUKI.js} +2 -2
- package/dist/{capture-CXWXKWS5.js → capture-VYS4PCCJ.js} +13 -12
- package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-SVLMPQYC.js} +13 -12
- package/dist/{catalog-WRXQSCAU.js → catalog-DVBNR422.js} +14 -13
- package/dist/{catch-up-MDSPABFC.js → catch-up-OBPMV7KG.js} +7 -6
- package/dist/{check-SIBBK5HA.js → check-MEALXNZK.js} +42 -40
- package/dist/{checkAudio-QQBR4HR7.js → checkAudio-RZ7WQYVN.js} +21 -12
- package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-2LEQ2LSX.js} +35 -33
- package/dist/{chunk-P7WGVXR7.js → chunk-3A4SB326.js} +6 -6
- package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
- package/dist/{chunk-4HT2L6W2.js → chunk-3PUXUIWB.js} +1 -1
- package/dist/chunk-3RATCY3W.js +205 -0
- package/dist/{chunk-X6MCIK7L.js → chunk-4BXEPVSA.js} +17 -11
- package/dist/{chunk-XOFBXLMG.js → chunk-5T4DP25D.js} +5 -3
- package/dist/{chunk-ULL3U6PV.js → chunk-66PNSZ7K.js} +1 -1
- package/dist/chunk-7VZEOCUY.js +98 -0
- package/dist/{chunk-TNTGGDSD.js → chunk-A7GDBL6D.js} +1 -1
- package/dist/{chunk-6WRN4WC6.js → chunk-AQTODJWP.js} +1 -1
- package/dist/{chunk-K4PHB3YQ.js → chunk-BYPDKF36.js} +1 -1
- package/dist/{chunk-MBGM26P5.js → chunk-CA3PXWN4.js} +1 -1
- package/dist/{chunk-SI7QCT2J.js → chunk-CBM4ZUVN.js} +5 -5
- package/dist/{chunk-IL2TMC6F.js → chunk-CIDCNE2D.js} +21 -5
- package/dist/chunk-D3MUHMFG.js +16 -0
- package/dist/{chunk-6N7D2GUV.js → chunk-D6T5BNSK.js} +17 -16
- package/dist/{chunk-XG3IZV62.js → chunk-DR47DSOY.js} +5 -5
- package/dist/{chunk-B5MPMIKQ.js → chunk-DVIX7UPH.js} +2 -2
- package/dist/{chunk-PSOAGSNO.js → chunk-EA5FUMJN.js} +1 -1
- package/dist/{chunk-VR3JLTZD.js → chunk-EVYDKSML.js} +3 -3
- package/dist/{chunk-XUQYC5DD.js → chunk-F4O4G4ZW.js} +5 -5
- package/dist/{chunk-VS4SK7BN.js → chunk-FB5BXGGF.js} +7 -7
- package/dist/{chunk-IIJVSCSH.js → chunk-GQZHLF5P.js} +13 -13
- package/dist/{chunk-J67FSI3Q.js → chunk-H7B526GH.js} +19 -16
- package/dist/{chunk-CSWCZA6V.js → chunk-I3ICHLHV.js} +2 -2
- package/dist/{chunk-EYEEZXLI.js → chunk-IJPFVMIE.js} +9 -9
- package/dist/{chunk-MPO25DQW.js → chunk-IQNS7O4W.js} +117 -135
- package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
- package/dist/{chunk-GHSO62LK.js → chunk-JC6BAQOG.js} +4 -10
- package/dist/{chunk-PKVA6MPV.js → chunk-JJRMN2RV.js} +63 -200
- package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
- package/dist/{chunk-CP225S5H.js → chunk-KGBFHYHX.js} +4 -4
- package/dist/{chunk-QP2MJYTJ.js → chunk-L5XVBFUM.js} +1 -1
- package/dist/{chunk-DHQSDCWD.js → chunk-L7MGVFR4.js} +2 -1
- package/dist/{chunk-WNMVC3IT.js → chunk-LJ7H2A2C.js} +1 -1
- package/dist/{chunk-NZ6G5YWZ.js → chunk-LV4NWCJS.js} +1 -1
- package/dist/{chunk-QWBVPWUI.js → chunk-MI4V4HPE.js} +1 -1
- package/dist/{chunk-7CPI2DWL.js → chunk-MKALOCDV.js} +1 -1
- package/dist/{chunk-ENRFKCI6.js → chunk-MVNTJGDX.js} +3 -3
- package/dist/{chunk-GEO6THL3.js → chunk-NJZRXELC.js} +28 -25
- package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
- package/dist/{chunk-BLCKQPBE.js → chunk-NXNDHV26.js} +1 -1
- package/dist/{chunk-WABB4LZS.js → chunk-OK3QLJSF.js} +1 -1
- package/dist/{chunk-4KG3ESVO.js → chunk-OML6HQQN.js} +1 -1
- package/dist/{chunk-OTXXDONS.js → chunk-P2FSCR5B.js} +2 -2
- package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
- package/dist/{chunk-43MW4SY7.js → chunk-P3OKYRGA.js} +3 -3
- package/dist/{chunk-S4KHJERB.js → chunk-PYVYF64E.js} +1 -1
- package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
- package/dist/{chunk-DXACKQ3F.js → chunk-QIKZ2HZJ.js} +3 -3
- package/dist/{chunk-EGOXYG3M.js → chunk-R52YM6ZK.js} +1 -1
- package/dist/{chunk-MW2NQQ6Z.js → chunk-RAONLDN5.js} +2 -2
- package/dist/{chunk-MYO77JWR.js → chunk-RJO4X3AA.js} +1 -1
- package/dist/{chunk-LSMFOZ4F.js → chunk-RVG2JNDU.js} +1 -1
- package/dist/{chunk-7PAK7LZ5.js → chunk-SE6S4SGZ.js} +11 -13
- package/dist/{chunk-G2A6RC5R.js → chunk-SNLXWCET.js} +64 -48
- package/dist/{chunk-4F5NRJ6M.js → chunk-SOXQXX2M.js} +2 -2
- package/dist/{chunk-U6KN6OIP.js → chunk-SPMKVI6H.js} +1 -1
- package/dist/{chunk-6CWKORZO.js → chunk-SWHCYFEF.js} +27 -5
- package/dist/{chunk-PWEOSJ3E.js → chunk-TF7YE7J5.js} +3 -3
- package/dist/{chunk-Z5TGBEPJ.js → chunk-TSM67ADU.js} +1 -1
- package/dist/{chunk-BKDQFOKK.js → chunk-U5IZUWBW.js} +3 -3
- package/dist/{chunk-6JNSYFOH.js → chunk-V4VXWOIF.js} +3 -3
- package/dist/{chunk-ORFRUZPB.js → chunk-W32DVMX3.js} +2 -2
- package/dist/{chunk-4LTBQEPD.js → chunk-WLVHSGVL.js} +2 -2
- package/dist/chunk-XCIHCPJK.js +106 -0
- package/dist/{chunk-HUKQW4YE.js → chunk-Y2EVJBR6.js} +1 -1
- package/dist/{chunk-HZN7ICAF.js → chunk-YCGLT5B4.js} +1 -1
- package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
- package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
- package/dist/{chunk-5HB4JM7H.js → chunk-Z67J3TTU.js} +5 -3
- package/dist/{chunk-SKKQMW5X.js → chunk-ZMIRSWN6.js} +1 -1
- package/dist/{chunk-S2OLTAEL.js → chunk-ZPILPVYU.js} +2 -2
- package/dist/chunk-ZXTSUXSL.js +4870 -0
- package/dist/{clean-6GX7WAEC.js → clean-VWCYLOVI.js} +20 -17
- package/dist/cli.js +55 -55
- package/dist/{cloud-6PFJKLNL.js → cloud-HU3RXCVE.js} +4 -4
- package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-OST6QBYD.js} +4 -4
- package/dist/commands/layout-audit.browser.js +1 -0
- package/dist/{compare-P4EBOP4B.js → compare-U2MJWZAH.js} +32 -30
- package/dist/{compiler-PG4RKX6K.js → compiler-DSP4MVEC.js} +5 -3
- package/dist/{component-SQPMI3W7.js → component-EC5XU6KR.js} +3 -3
- package/dist/{compositions-KRIHY3IY.js → compositions-AKYCTF4G.js} +12 -10
- package/dist/{delete-T5TO4SV6.js → delete-Z5MOEZM2.js} +5 -4
- package/dist/{deploy-AO6LQR5G.js → deploy-Y4LFVYXT.js} +1 -1
- package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
- package/dist/{dist-23AAB5X2.js → dist-JJL4QUDL.js} +2 -2
- package/dist/{doctor-QBUJQ655.js → doctor-7234U557.js} +12 -10
- package/dist/{events-J7CESLKQ.js → events-RUIZNTG3.js} +2 -2
- package/dist/{events-SIZO7YHI.js → events-SII53QYO.js} +3 -3
- package/dist/{feedback-74WOJ5PN.js → feedback-6CCDDQ36.js} +7 -7
- package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-C4VWK4M2.js} +8 -6
- package/dist/{figma-GGMYRR4Q.js → figma-GAN63U5U.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -9
- package/dist/{get-PLKAI6JM.js → get-RZGUHZB4.js} +5 -4
- package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-BGJRCLP4.js} +8 -6
- package/dist/{grade-compare-UADJP4AV.js → grade-compare-XOBN52WV.js} +33 -31
- package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-DCHSYGW7.js} +9 -7
- package/dist/{help-WSQQ555Q.js → help-O2IV6PUC.js} +1 -1
- package/dist/{history-VSQ2DQ3V.js → history-GPTEM4UX.js} +9 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-MOQ4LRC3.js → info-7Y3JPN7C.js} +7 -7
- package/dist/{init-EONQSZJG.js → init-L6W5WG5K.js} +34 -29
- package/dist/{inspect-OLCVLHOU.js → inspect-MQZANGQY.js} +33 -31
- package/dist/{installer-GHISA75B.js → installer-DCIMLYB6.js} +4 -4
- package/dist/{keyframes-DGQYCY24.js → keyframes-WNJIKL4G.js} +6 -6
- package/dist/{lambda-AMMWF2YH.js → lambda-FEA4SSFK.js} +12 -10
- package/dist/{layout-R6CAPGRO.js → layout-AUQAYDJU.js} +33 -31
- package/dist/{lint-QZJEYPHD.js → lint-A33IHYID.js} +7 -7
- package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
- package/dist/{list-KCJID4SP.js → list-56JHCET6.js} +5 -4
- package/dist/{login-7HKBEPJS.js → login-HUOM4GNP.js} +4 -4
- package/dist/{manager-6YSKJMVD.js → manager-SDRJOMPR.js} +9 -7
- package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-5TGZOD67.js} +14 -12
- package/dist/{models-URWI7YEG.js → models-ABDX6TXI.js} +12 -10
- package/dist/{motionShot-27IXMDJK.js → motionShot-AV2WRH2C.js} +16 -15
- package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-M7T25DST.js} +10 -7
- package/dist/{open-LQ35PLEN.js → open-IRNZY5XN.js} +15 -14
- package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-2EJUIMOJ.js} +16 -13
- package/dist/{pipeline-GA7QVCHS.js → pipeline-QGKOJKXS.js} +9 -7
- package/dist/{play-RYZP77CI.js → play-2SQLHM5B.js} +24 -21
- package/dist/{preflight-HJFSJXXF.js → preflight-ZHXMG2SM.js} +9 -7
- package/dist/{present-YBMLOWZV.js → present-RERVL6R7.js} +19 -16
- package/dist/{preview-QIRKJCRV.js → preview-S6RQOMHE.js} +22 -20
- package/dist/{producer-524FDOLX.js → producer-DBRGH2FI.js} +1 -1
- package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-TUMDULTL.js} +9 -8
- package/dist/{publication-3X3IGSDO.js → publication-7VGXIFVZ.js} +2 -2
- package/dist/{publish-2BF7K6HX.js → publish-KJB2AGHL.js} +14 -11
- package/dist/{remove-background-EZBCEFT6.js → remove-background-EFWXPLS4.js} +10 -8
- package/dist/{render-TEEBI2UT.js → render-5O5ARP6C.js} +49 -50
- package/dist/{render-JFMTAXHD.js → render-7S6UBLOE.js} +36 -36
- package/dist/{render-EFUA2A6A.js → render-HV6AA22W.js} +5 -5
- package/dist/{render-batch-XTYNXVSW.js → render-batch-7UEOULJJ.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-FZS6TN6B.js → resolver-HFTEER5V.js} +4 -4
- package/dist/{sherpa-TQIAIKTH.js → sherpa-HSSM76FL.js} +15 -12
- package/dist/{skills-S6ZG5KKH.js → skills-RQO5K6WL.js} +5 -5
- package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-S5WL2YLZ.js} +3 -3
- package/dist/{snapshot-ERYZIM32.js → snapshot-4RGI235E.js} +86 -52
- package/dist/{src-6XOMREMS.js → src-ALOV4D57.js} +24 -9
- package/dist/{src-OL6RHPE4.js → src-D75YYW2M.js} +10 -8
- package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-DIHWPJ6B.js} +21 -18
- package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-CMH8OeX2.js} +1 -1
- package/dist/studio/assets/{index-Bu3mJUU2.js → index-DQam8zzE.js} +4 -4
- package/dist/studio/assets/{index-ZqyQ91pm.js → index-DjHzuJGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GRU4SHKD.js → studio-api-A2VSWTVF.js} +13 -10
- package/dist/{studioServer-OYPBEI5B.js → studioServer-PECYWZHS.js} +53 -51
- package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
- package/dist/{telemetry-CPYINR63.js → telemetry-YDGXGOLH.js} +3 -3
- package/dist/{timeline-RGK5BMPD.js → timeline-5WUEEKZ3.js} +21 -18
- package/dist/{tokens-EX4BOWRW.js → tokens-XVFZPIUZ.js} +2 -2
- package/dist/{transcribe-RI52JMVW.js → transcribe-QWDUIJWK.js} +20 -17
- package/dist/{transcribe-MK367I6A.js → transcribe-TTJ6CDQT.js} +12 -9
- package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
- package/dist/{updateCheck-BIEJKQI4.js → updateCheck-P7STSJ6Q.js} +2 -2
- package/dist/{upgrade-ES3UUI7O.js → upgrade-NEIZ3KVL.js} +2 -2
- package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-ZZFNGZNG.js} +7 -5
- package/dist/{validate-A6GZHNEI.js → validate-T2SLBOXG.js} +26 -24
- package/dist/{video-OEMGR3MN.js → video-7OHSBSRT.js} +8 -6
- package/dist/warmCheck.js +42 -40
- package/package.json +1 -1
- package/dist/chunk-BQMAPNDA.js +0 -4830
- package/dist/chunk-DKPNNYBZ.js +0 -44
|
@@ -25,39 +25,40 @@ import {
|
|
|
25
25
|
findFFmpeg,
|
|
26
26
|
findFFprobe,
|
|
27
27
|
getFFmpegInstallHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-R52YM6ZK.js";
|
|
29
29
|
import {
|
|
30
30
|
parseTimeoutMs,
|
|
31
31
|
pngDimensions,
|
|
32
32
|
reportArtifacts,
|
|
33
33
|
withProjectLock
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3PTZ2TD4.js";
|
|
35
35
|
import {
|
|
36
36
|
captureArtifactRevision
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-ZPILPVYU.js";
|
|
38
|
+
import "./chunk-I3ICHLHV.js";
|
|
39
39
|
import "./chunk-X7MTZ4T2.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveProject
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-TSM67ADU.js";
|
|
43
43
|
import {
|
|
44
44
|
serveStaticProjectHtml
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-3A4SB326.js";
|
|
46
|
+
import "./chunk-QIKZ2HZJ.js";
|
|
47
47
|
import "./chunk-X7MTZ4T2.js";
|
|
48
48
|
import "./chunk-XUHOIDKG.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-SNLXWCET.js";
|
|
50
|
+
import "./chunk-TF7YE7J5.js";
|
|
51
51
|
import "./chunk-VQB7G5BM.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-CIDCNE2D.js";
|
|
53
53
|
import {
|
|
54
54
|
artifactDirectory,
|
|
55
55
|
finishSnapshotRun,
|
|
56
56
|
forgetRecordedArtifacts,
|
|
57
57
|
recordArtifacts,
|
|
58
58
|
retainSnapshotOutput
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-J7A73K2B.js";
|
|
60
|
+
import "./chunk-JJRMN2RV.js";
|
|
61
|
+
import "./chunk-3RATCY3W.js";
|
|
61
62
|
import "./chunk-ALVXFXUG.js";
|
|
62
63
|
import {
|
|
63
64
|
DEFAULT_ZOOM_SCALE,
|
|
@@ -69,36 +70,35 @@ import {
|
|
|
69
70
|
runFfmpegOnce,
|
|
70
71
|
seekCompositionTimelineOnly,
|
|
71
72
|
settleCompositionSeek
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-SE6S4SGZ.js";
|
|
74
|
+
import "./chunk-4BXEPVSA.js";
|
|
74
75
|
import "./chunk-MOEGCMKI.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-QP2MJYTJ.js";
|
|
76
|
+
import "./chunk-MVNTJGDX.js";
|
|
77
|
+
import "./chunk-L5XVBFUM.js";
|
|
78
78
|
import "./chunk-K2FLNJVB.js";
|
|
79
79
|
import "./chunk-EHSBBBR2.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-66PNSZ7K.js";
|
|
81
81
|
import "./chunk-543U46OR.js";
|
|
82
82
|
import {
|
|
83
83
|
resolveLocalBrowserGpuMode
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-WLVHSGVL.js";
|
|
85
|
+
import "./chunk-W32DVMX3.js";
|
|
86
86
|
import "./chunk-XT7X6QCP.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-KCLBO65Y.js";
|
|
88
88
|
import "./chunk-HVW7ABXD.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-A7GDBL6D.js";
|
|
90
90
|
import {
|
|
91
91
|
runWithConcurrencyLimit
|
|
92
92
|
} from "./chunk-JHOCK3DG.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-P2FSCR5B.js";
|
|
94
|
+
import "./chunk-Y2EVJBR6.js";
|
|
95
95
|
import "./chunk-AWDFDFI3.js";
|
|
96
96
|
import "./chunk-P6LJ4Y32.js";
|
|
97
97
|
import "./chunk-GMECXFAN.js";
|
|
98
98
|
import "./chunk-W4DMQZL5.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-NQ2INEHX.js";
|
|
100
|
+
import "./chunk-L7MGVFR4.js";
|
|
101
|
+
import "./chunk-EA5FUMJN.js";
|
|
102
102
|
import "./chunk-VWG7OQKU.js";
|
|
103
103
|
import {
|
|
104
104
|
defineCommand
|
|
@@ -119,21 +119,27 @@ import {
|
|
|
119
119
|
buildZeroDurationDiagnostic,
|
|
120
120
|
evaluateHfDiagnostic,
|
|
121
121
|
extractMediaMetadata,
|
|
122
|
+
isHdrColorSpace,
|
|
122
123
|
sdrCanvasColourFilters
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-IQNS7O4W.js";
|
|
124
125
|
import "./chunk-Z5J67X44.js";
|
|
125
126
|
import "./chunk-5S7W3TUO.js";
|
|
126
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-D3MUHMFG.js";
|
|
128
|
+
import "./chunk-JC6BAQOG.js";
|
|
129
|
+
import "./chunk-XCIHCPJK.js";
|
|
127
130
|
import {
|
|
128
131
|
createRuntimeStartTimeResolver,
|
|
132
|
+
firstFrameColourArgs,
|
|
133
|
+
hdrToSdrToneMapFilter,
|
|
129
134
|
isClipVisibleAt,
|
|
130
|
-
isInClipWindow
|
|
131
|
-
|
|
135
|
+
isInClipWindow,
|
|
136
|
+
parseFirstFrameColour
|
|
137
|
+
} from "./chunk-MI4V4HPE.js";
|
|
132
138
|
import {
|
|
133
139
|
readElementRateSpec,
|
|
134
140
|
sourceTimeAt,
|
|
135
141
|
timeAtSourceTime
|
|
136
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZXTSUXSL.js";
|
|
137
143
|
import "./chunk-VC76R6W2.js";
|
|
138
144
|
import "./chunk-OFQWTKPW.js";
|
|
139
145
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -154,7 +160,7 @@ import "./chunk-K4MJX7SR.js";
|
|
|
154
160
|
import "./chunk-ERUQ3S6D.js";
|
|
155
161
|
import {
|
|
156
162
|
lintProject
|
|
157
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-P327BIJR.js";
|
|
158
164
|
import "./chunk-CZGHFATT.js";
|
|
159
165
|
import "./chunk-VAS6HQX3.js";
|
|
160
166
|
import "./chunk-PBNWRWKA.js";
|
|
@@ -174,12 +180,12 @@ import "./chunk-WC4MTXGN.js";
|
|
|
174
180
|
import "./chunk-UIOZIIB7.js";
|
|
175
181
|
import {
|
|
176
182
|
withMeta
|
|
177
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-SPMKVI6H.js";
|
|
178
184
|
import "./chunk-K4WIOZFP.js";
|
|
179
185
|
import "./chunk-NEASABW6.js";
|
|
180
186
|
import "./chunk-WERLJGIC.js";
|
|
181
187
|
import "./chunk-ISN5GRYI.js";
|
|
182
|
-
import "./chunk-
|
|
188
|
+
import "./chunk-RAONLDN5.js";
|
|
183
189
|
import {
|
|
184
190
|
atStep,
|
|
185
191
|
normalizeErrorMessage
|
|
@@ -711,6 +717,14 @@ function warnColourUnknownOnce() {
|
|
|
711
717
|
` ${c.warn("\u26A0")} snapshot colours may differ from render: install ffmpeg/ffprobe so video colours can be matched`
|
|
712
718
|
);
|
|
713
719
|
}
|
|
720
|
+
var warnedNoHdrFilters = false;
|
|
721
|
+
function warnNoHdrFiltersOnce() {
|
|
722
|
+
if (warnedNoHdrFilters) return;
|
|
723
|
+
warnedNoHdrFilters = true;
|
|
724
|
+
console.warn(
|
|
725
|
+
` ${c.warn("\u26A0")} A video in this project is HDR, but this ffmpeg has no zscale/tonemap (libzimg), so the still shows it as the browser does and will not match an SDR export. Install an ffmpeg with libzimg.`
|
|
726
|
+
);
|
|
727
|
+
}
|
|
714
728
|
var FrameExtractTimeoutError = class extends Error {
|
|
715
729
|
};
|
|
716
730
|
async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDecoder = false, holdLastFrame = false, displayedPixels = 0) {
|
|
@@ -724,23 +738,43 @@ async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDeco
|
|
|
724
738
|
holdLastFrame
|
|
725
739
|
);
|
|
726
740
|
if (seek === null) return null;
|
|
727
|
-
const args = ["-hide_banner", "-loglevel", "error"];
|
|
728
|
-
if (useVp9AlphaDecoder) args.push("-c:v", "libvpx-vp9");
|
|
729
|
-
if (seek.seek !== void 0) args.push("-ss", String(seek.seek));
|
|
730
|
-
args.push("-i", videoPath, "-map", "0:v:0");
|
|
731
|
-
const filters = [];
|
|
732
|
-
if (seek.select !== void 0) filters.push(`select=gte(t-start_t\\,${seek.select})`);
|
|
733
741
|
const metadata = findFFprobe() ? await extractMediaMetadata(videoPath) : null;
|
|
734
|
-
if (metadata)
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
742
|
+
if (!metadata) warnColourUnknownOnce();
|
|
743
|
+
const toneMap = metadata && isHdrColorSpace(metadata.colorSpace) ? hdrToSdrToneMapFilter(
|
|
744
|
+
metadata.colorSpace ?? {},
|
|
745
|
+
parseFirstFrameColour(
|
|
746
|
+
(await runFfmpegOnce(
|
|
747
|
+
ffmpegPath,
|
|
748
|
+
firstFrameColourArgs(videoPath),
|
|
749
|
+
FFMPEG_EXTRACT_TIMEOUT_MS
|
|
750
|
+
)).stderr
|
|
751
|
+
)
|
|
752
|
+
) : null;
|
|
753
|
+
const frameArgs = (toneMapFilter) => {
|
|
754
|
+
const args = ["-hide_banner", "-loglevel", "error"];
|
|
755
|
+
if (useVp9AlphaDecoder) args.push("-c:v", "libvpx-vp9");
|
|
756
|
+
if (seek.seek !== void 0) args.push("-ss", String(seek.seek));
|
|
757
|
+
args.push("-i", videoPath, "-map", "0:v:0");
|
|
758
|
+
const filters = [];
|
|
759
|
+
if (seek.select !== void 0) filters.push(`select=gte(t-start_t\\,${seek.select})`);
|
|
760
|
+
if (metadata) {
|
|
761
|
+
if (toneMapFilter) filters.push(toneMapFilter);
|
|
762
|
+
filters.push(...sdrCanvasColourFilters(metadata, toneMapFilter !== null));
|
|
763
|
+
}
|
|
764
|
+
if (displayedPixels > 0) {
|
|
765
|
+
filters.push(
|
|
766
|
+
`scale='min(iw,${displayedPixels})':'min(ih,${displayedPixels})':force_original_aspect_ratio=increase`
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
if (filters.length > 0) args.push("-vf", filters.join(","));
|
|
770
|
+
args.push("-frames:v", "1", "-q:v", "2", "-y", outPath);
|
|
771
|
+
return args;
|
|
772
|
+
};
|
|
773
|
+
let result = await runFfmpegOnce(ffmpegPath, frameArgs(toneMap), FFMPEG_EXTRACT_TIMEOUT_MS);
|
|
774
|
+
if (toneMap && result.code !== 0 && /no such filter/i.test(result.stderr)) {
|
|
775
|
+
warnNoHdrFiltersOnce();
|
|
776
|
+
result = await runFfmpegOnce(ffmpegPath, frameArgs(null), FFMPEG_EXTRACT_TIMEOUT_MS);
|
|
740
777
|
}
|
|
741
|
-
if (filters.length > 0) args.push("-vf", filters.join(","));
|
|
742
|
-
args.push("-frames:v", "1", "-q:v", "2", "-y", outPath);
|
|
743
|
-
const result = await runFfmpegOnce(ffmpegPath, args, FFMPEG_EXTRACT_TIMEOUT_MS);
|
|
744
778
|
if (result.timedOut) {
|
|
745
779
|
throw new FrameExtractTimeoutError(
|
|
746
780
|
`FFmpeg timed out after ${FFMPEG_EXTRACT_TIMEOUT_MS / 1e3}s extracting the frame of ${videoPath} at ${timeSeconds.toFixed(2)}s`
|
|
@@ -823,7 +857,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
823
857
|
}
|
|
824
858
|
async function captureSnapshots(projectDir, opts) {
|
|
825
859
|
const log = opts.log ?? ((message) => console.log(message));
|
|
826
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
860
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RRGFY3XV.js");
|
|
827
861
|
const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
828
862
|
const invocation = randomUUID();
|
|
829
863
|
const artifacts = [];
|
|
@@ -950,7 +984,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
950
984
|
let syncVideoFrameVisibility = null;
|
|
951
985
|
let extractMediaMetadata2 = null;
|
|
952
986
|
try {
|
|
953
|
-
const engine = await import("./src-
|
|
987
|
+
const engine = await import("./src-ALOV4D57.js");
|
|
954
988
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
955
989
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
956
990
|
extractMediaMetadata2 = engine.extractMediaMetadata;
|
|
@@ -85,7 +85,6 @@ import {
|
|
|
85
85
|
cloneCaptureWarnings,
|
|
86
86
|
closeBrowserPool,
|
|
87
87
|
closeCaptureSession,
|
|
88
|
-
collectScratchLeftovers,
|
|
89
88
|
completeDeferredDrawElementInit,
|
|
90
89
|
compositionRequiresWebGpu,
|
|
91
90
|
computeWorkerSizing,
|
|
@@ -147,6 +146,7 @@ import {
|
|
|
147
146
|
getSystemResources,
|
|
148
147
|
groupIntoLayers,
|
|
149
148
|
hideVideoElements,
|
|
149
|
+
inAgentSandbox,
|
|
150
150
|
initHdrReadback,
|
|
151
151
|
initTransparentBackground,
|
|
152
152
|
initializeSession,
|
|
@@ -161,6 +161,7 @@ import {
|
|
|
161
161
|
isHttpUrl,
|
|
162
162
|
isMemoryExhaustionError,
|
|
163
163
|
isNotMediaPayload,
|
|
164
|
+
isOneProcessOverPipe,
|
|
164
165
|
isPageNavigationTimeoutError,
|
|
165
166
|
isProtocolTimeoutError,
|
|
166
167
|
isSelfOrAncestorHidden,
|
|
@@ -172,11 +173,13 @@ import {
|
|
|
172
173
|
keyframeIntervalToGopSize,
|
|
173
174
|
killTrackedProcesses,
|
|
174
175
|
launchHdrBrowser,
|
|
176
|
+
machServiceDenied,
|
|
175
177
|
measureVideoShownBoxes,
|
|
176
178
|
mergeWorkerFrames,
|
|
177
179
|
muxVideoWithAudio,
|
|
178
180
|
normalizeObjectFit,
|
|
179
181
|
normalizeVp9CpuUsed,
|
|
182
|
+
oneProcessOverPipe,
|
|
180
183
|
packageHls,
|
|
181
184
|
pageScreenshotCapture,
|
|
182
185
|
parseAudioElements,
|
|
@@ -185,6 +188,7 @@ import {
|
|
|
185
188
|
parseTransformMatrix,
|
|
186
189
|
parseVideoElements,
|
|
187
190
|
percentileOf,
|
|
191
|
+
pipeLaunchClosedOnMac,
|
|
188
192
|
prepareCaptureSessionForReuse,
|
|
189
193
|
probeBeginFrameLiveness,
|
|
190
194
|
probeMediaProfile,
|
|
@@ -199,9 +203,6 @@ import {
|
|
|
199
203
|
recaptureDrawElementFrameForVerify,
|
|
200
204
|
releaseBrowser,
|
|
201
205
|
removeDomLayerMask,
|
|
202
|
-
removeScratch,
|
|
203
|
-
renameWithRetry,
|
|
204
|
-
renameWithRetryAsync,
|
|
205
206
|
renderProvenanceArgs,
|
|
206
207
|
resampleRgb48leObjectFit,
|
|
207
208
|
resolveBrowserGpuMode,
|
|
@@ -222,6 +223,7 @@ import {
|
|
|
222
223
|
runVideoExtractionWithRetry,
|
|
223
224
|
safeDownloadUrlIdentity,
|
|
224
225
|
safeVideoExtractionSourceIdentity,
|
|
226
|
+
sandboxDeniedRemediation,
|
|
225
227
|
sanitizeHdrAutoPromotionAsset,
|
|
226
228
|
scaleProtocolTimeoutForComposition,
|
|
227
229
|
sdrCanvasColourFilters,
|
|
@@ -242,15 +244,22 @@ import {
|
|
|
242
244
|
waitForImagesReady,
|
|
243
245
|
writeCapturedFrame,
|
|
244
246
|
writeUrlDownloadTelemetry
|
|
245
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-IQNS7O4W.js";
|
|
246
248
|
import "./chunk-Z5J67X44.js";
|
|
247
249
|
import "./chunk-5S7W3TUO.js";
|
|
248
|
-
import "./chunk-
|
|
250
|
+
import "./chunk-D3MUHMFG.js";
|
|
251
|
+
import "./chunk-JC6BAQOG.js";
|
|
252
|
+
import {
|
|
253
|
+
collectScratchLeftovers,
|
|
254
|
+
removeScratch,
|
|
255
|
+
renameWithRetry,
|
|
256
|
+
renameWithRetryAsync
|
|
257
|
+
} from "./chunk-XCIHCPJK.js";
|
|
249
258
|
import {
|
|
250
259
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
251
260
|
quantizeTimeToFrame
|
|
252
|
-
} from "./chunk-
|
|
253
|
-
import "./chunk-
|
|
261
|
+
} from "./chunk-MI4V4HPE.js";
|
|
262
|
+
import "./chunk-ZXTSUXSL.js";
|
|
254
263
|
import "./chunk-VC76R6W2.js";
|
|
255
264
|
import "./chunk-OFQWTKPW.js";
|
|
256
265
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -271,7 +280,7 @@ import {
|
|
|
271
280
|
import {
|
|
272
281
|
resolveReferencedDuration,
|
|
273
282
|
resolveReferencedStart
|
|
274
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-P327BIJR.js";
|
|
275
284
|
import "./chunk-CZGHFATT.js";
|
|
276
285
|
import {
|
|
277
286
|
FFMPEG_PATH_ENV,
|
|
@@ -449,6 +458,7 @@ export {
|
|
|
449
458
|
groupIntoLayers,
|
|
450
459
|
hdrToLinear,
|
|
451
460
|
hideVideoElements,
|
|
461
|
+
inAgentSandbox,
|
|
452
462
|
initHdrReadback,
|
|
453
463
|
initTransparentBackground,
|
|
454
464
|
initializeSession,
|
|
@@ -464,6 +474,7 @@ export {
|
|
|
464
474
|
isLowMemorySystem,
|
|
465
475
|
isMemoryExhaustionError,
|
|
466
476
|
isNotMediaPayload,
|
|
477
|
+
isOneProcessOverPipe,
|
|
467
478
|
isPageNavigationTimeoutError,
|
|
468
479
|
isProtocolTimeoutError,
|
|
469
480
|
isSelfOrAncestorHidden,
|
|
@@ -476,11 +487,13 @@ export {
|
|
|
476
487
|
killTrackedProcesses,
|
|
477
488
|
launchHdrBrowser,
|
|
478
489
|
linearToHdr,
|
|
490
|
+
machServiceDenied,
|
|
479
491
|
measureVideoShownBoxes,
|
|
480
492
|
mergeWorkerFrames,
|
|
481
493
|
muxVideoWithAudio,
|
|
482
494
|
normalizeObjectFit,
|
|
483
495
|
normalizeVp9CpuUsed,
|
|
496
|
+
oneProcessOverPipe,
|
|
484
497
|
packageHls,
|
|
485
498
|
pageScreenshotCapture,
|
|
486
499
|
parseAudioElements,
|
|
@@ -489,6 +502,7 @@ export {
|
|
|
489
502
|
parseTransformMatrix,
|
|
490
503
|
parseVideoElements,
|
|
491
504
|
percentileOf,
|
|
505
|
+
pipeLaunchClosedOnMac,
|
|
492
506
|
prepareCaptureSessionForReuse,
|
|
493
507
|
probeBeginFrameLiveness,
|
|
494
508
|
probeMediaProfile,
|
|
@@ -531,6 +545,7 @@ export {
|
|
|
531
545
|
safeDownloadUrlIdentity,
|
|
532
546
|
safeVideoExtractionSourceIdentity,
|
|
533
547
|
sampleRgb48le,
|
|
548
|
+
sandboxDeniedRemediation,
|
|
534
549
|
sanitizeHdrAutoPromotionAsset,
|
|
535
550
|
scaleProtocolTimeoutForComposition,
|
|
536
551
|
sdrCanvasColourFilters,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
serializeRenderRequest,
|
|
71
71
|
startServer,
|
|
72
72
|
validatePlanV2MaterializedTarget
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-H7B526GH.js";
|
|
74
74
|
import {
|
|
75
75
|
prepareHeifImageInputs
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5T4DP25D.js";
|
|
77
77
|
import {
|
|
78
78
|
prepareAnimatedGifInputs
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-Z67J3TTU.js";
|
|
80
80
|
import "./chunk-X7MTZ4T2.js";
|
|
81
81
|
import "./chunk-BZ56MTDX.js";
|
|
82
82
|
import {
|
|
@@ -103,14 +103,16 @@ import {
|
|
|
103
103
|
isTransientBrowserError,
|
|
104
104
|
prepareCaptureSessionForReuse,
|
|
105
105
|
resolveConfig
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-IQNS7O4W.js";
|
|
107
107
|
import "./chunk-Z5J67X44.js";
|
|
108
108
|
import "./chunk-5S7W3TUO.js";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-D3MUHMFG.js";
|
|
110
|
+
import "./chunk-JC6BAQOG.js";
|
|
111
|
+
import "./chunk-XCIHCPJK.js";
|
|
110
112
|
import {
|
|
111
113
|
quantizeTimeToFrame
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import "./chunk-
|
|
114
|
+
} from "./chunk-MI4V4HPE.js";
|
|
115
|
+
import "./chunk-ZXTSUXSL.js";
|
|
114
116
|
import "./chunk-VC76R6W2.js";
|
|
115
117
|
import "./chunk-OFQWTKPW.js";
|
|
116
118
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -119,7 +121,7 @@ import "./chunk-634HSJ3J.js";
|
|
|
119
121
|
import "./chunk-FXMKHHPO.js";
|
|
120
122
|
import "./chunk-K4MJX7SR.js";
|
|
121
123
|
import "./chunk-ERUQ3S6D.js";
|
|
122
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-P327BIJR.js";
|
|
123
125
|
import "./chunk-CZGHFATT.js";
|
|
124
126
|
import "./chunk-VAS6HQX3.js";
|
|
125
127
|
import "./chunk-PBNWRWKA.js";
|
|
@@ -7,44 +7,47 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
inProcessAnswer,
|
|
9
9
|
serveStaticProjectHtml
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-3A4SB326.js";
|
|
11
|
+
import "./chunk-QIKZ2HZJ.js";
|
|
12
12
|
import "./chunk-X7MTZ4T2.js";
|
|
13
13
|
import "./chunk-XUHOIDKG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-SNLXWCET.js";
|
|
15
|
+
import "./chunk-TF7YE7J5.js";
|
|
16
16
|
import "./chunk-VQB7G5BM.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CIDCNE2D.js";
|
|
18
|
+
import "./chunk-J7A73K2B.js";
|
|
19
|
+
import "./chunk-JJRMN2RV.js";
|
|
20
|
+
import "./chunk-3RATCY3W.js";
|
|
20
21
|
import "./chunk-ALVXFXUG.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-66PNSZ7K.js";
|
|
23
|
+
import "./chunk-W32DVMX3.js";
|
|
23
24
|
import "./chunk-XT7X6QCP.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-KCLBO65Y.js";
|
|
25
26
|
import "./chunk-HVW7ABXD.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-A7GDBL6D.js";
|
|
27
28
|
import "./chunk-JHOCK3DG.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-P2FSCR5B.js";
|
|
30
|
+
import "./chunk-Y2EVJBR6.js";
|
|
30
31
|
import "./chunk-AWDFDFI3.js";
|
|
31
32
|
import "./chunk-P6LJ4Y32.js";
|
|
32
33
|
import "./chunk-GMECXFAN.js";
|
|
33
34
|
import "./chunk-W4DMQZL5.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-NQ2INEHX.js";
|
|
35
36
|
import "./chunk-5YHQBCWH.js";
|
|
36
37
|
import "./chunk-EVMY7IPL.js";
|
|
37
38
|
import "./chunk-7FMUTGOH.js";
|
|
38
39
|
import "./chunk-5S7W3TUO.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-D3MUHMFG.js";
|
|
41
|
+
import "./chunk-JC6BAQOG.js";
|
|
42
|
+
import "./chunk-XCIHCPJK.js";
|
|
43
|
+
import "./chunk-MI4V4HPE.js";
|
|
44
|
+
import "./chunk-ZXTSUXSL.js";
|
|
42
45
|
import "./chunk-VC76R6W2.js";
|
|
43
46
|
import "./chunk-OFQWTKPW.js";
|
|
44
47
|
import "./chunk-RQVDTPGD.js";
|
|
45
48
|
import "./chunk-634HSJ3J.js";
|
|
46
49
|
import "./chunk-FXMKHHPO.js";
|
|
47
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-P327BIJR.js";
|
|
48
51
|
import "./chunk-CZGHFATT.js";
|
|
49
52
|
import "./chunk-VAS6HQX3.js";
|
|
50
53
|
import "./chunk-PBNWRWKA.js";
|
package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-CMH8OeX2.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ve=Object.defineProperty;var Ue=(r,t,e)=>t in r?Ve(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var l=(r,t,e)=>Ue(r,typeof t!="symbol"?t+"":t,e);import{S as He,r as We,a as ye,b as ve,i as ze,c as A,d as be,p as $e,e as je,f as Be,g as qe,s as Ge,h as Ae,F as we}from"./index-
|
|
1
|
+
var Ve=Object.defineProperty;var Ue=(r,t,e)=>t in r?Ve(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var l=(r,t,e)=>Ue(r,typeof t!="symbol"?t+"":t,e);import{S as He,r as We,a as ye,b as ve,i as ze,c as A,d as be,p as $e,e as je,f as Be,g as qe,s as Ge,h as Ae,F as we}from"./index-DQam8zzE.js";function Ye(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function Xe(r){return F(r)&&typeof r.getDuration=="function"}function Ke(r){return F(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function Ze(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const j=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:Ze("0.0.0-dev");function q(r){if(r===null)return null;const t=Number.parseInt(r,10);return Number.isFinite(t)&&t>0?t:null}function Je(r){const t=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!t)return null;const e=q(t.getAttribute("data-width")),i=q(t.getAttribute("data-height"));return e!==null&&i!==null?{width:e,height:i}:null}function Qe(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class et{constructor(t,e){l(this,"_interval",null);l(this,"_runtimeInjected",!1);l(this,"_runtimeScript",null);l(this,"_failure",null);this._iframe=t,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let t=0;this._interval=setInterval(()=>{t++;let e=null;try{e=this._poll(t)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(e={kind:"error",message:i instanceof Error?i.message:String(i)})}e??(e=this._deadlineOutcome(t)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(t){var e,i;return t<40||(i=(e=this._callbacks).hostOwnsDeadline)!=null&&i.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(t){const e=this._iframe.contentWindow;if(!e)return null;const i=Qe(Reflect.get(e,He));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(Ye({hasRuntime:o,hasTimelines:F(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:t}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(t,e){var n;const i=this._resolvePlaybackDurationAdapter(t)??{kind:"document",getDuration:()=>0};let s=i.getDuration();if(!Number.isFinite(s)||s<=0){if(i.kind==="direct-timeline")return null;s=e?((n=We(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:Je(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const t=this._iframe.contentWindow;return t?this._resolveDirectTimelineAdapterFromWindow(t):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(t){return this._resolveDirectTimelineAdapterFromWindow(t)}hasRuntimeBridge(t){return F(Reflect.get(t,"__player"))}_injectRuntime(){var t,e,i,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(t=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(t))??j,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(i=this._callbacks).onRuntimeInjected)==null||s.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(t){var a,c;if(this.hasRuntimeBridge(t))return null;const e=Reflect.get(t,"__timelines");if(!F(e))return null;const i=Object.keys(e);if(i.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:i[i.length-1],o=e[n];return Ke(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(Xe(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const tt=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|