hyperframes 0.9.45 → 0.9.47
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-YPU2EV5O.js → add-QNGZD4DD.js} +13 -13
- package/dist/{agentPromptGenerator-O7EAXSHZ.js → agentPromptGenerator-62YBRRWR.js} +5 -5
- package/dist/{animatedGifPrep-HXJJESKY.js → animatedGifPrep-MOMPPYA2.js} +4 -4
- package/dist/api.js +28 -28
- package/dist/{appHistory-EAQ52L6X.js → appHistory-DK2XI4EZ.js} +2 -2
- package/dist/{asset-VNFRXZY5.js → asset-UCSTQD4V.js} +2 -2
- package/dist/{assetCataloger-EALOGJOW.js → assetCataloger-CB55JIVV.js} +6 -6
- package/dist/{audio-BWI7YJ34.js → audio-L6RHV5YR.js} +12 -12
- package/dist/{auth-VZOUEEAD.js → auth-26I37JOQ.js} +2 -2
- package/dist/{autoUpdate-Y4HG3PTQ.js → autoUpdate-IKM2WKSQ.js} +2 -2
- package/dist/{avatars-AB3OH25Q.js → avatars-PZPL5EG2.js} +8 -8
- package/dist/{backgroundChecks-5GNMIDQR.js → backgroundChecks-GISZGTXC.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JG5MSARZ.js → batchRender-XYL2E7IX.js} +2 -2
- package/dist/{beats-2ZDHRMF2.js → beats-EKU5XXBV.js} +5 -5
- package/dist/{benchmark-SEYHSMS3.js → benchmark-TPGYG6JW.js} +7 -7
- package/dist/{billing-BNZPIIZS.js → billing-PECZH526.js} +12 -12
- package/dist/{browser-KUMMOQJX.js → browser-W26LDR2J.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-VFTRJ5JK.js → bundleWithLocalizedFonts-OI3E22MQ.js} +1 -1
- package/dist/{capture-7A7KWYH3.js → capture-OPWIRIZC.js} +4 -4
- package/dist/{capture-TM6OTHOG.js → capture-QHWQ2PB2.js} +15 -15
- package/dist/{captureCompositionFrame-VDH77DSY.js → captureCompositionFrame-EYB6LTAG.js} +11 -11
- package/dist/{captureFile-B5SMYIB6.js → captureFile-R5JZ7WRA.js} +2 -2
- package/dist/{catalog-BA7QPRWM.js → catalog-D6PL6DN3.js} +13 -13
- package/dist/{catch-up-MUQYCQFE.js → catch-up-SKLAQOCM.js} +7 -7
- package/dist/{check-LT756XVB.js → check-QHDE55TC.js} +40 -40
- package/dist/{checkAudio-R5CE2BRH.js → checkAudio-EENVIQJA.js} +7 -7
- package/dist/{checkBrowser-TAA7LLDH.js → checkBrowser-SERJXBXN.js} +32 -32
- package/dist/{chunk-OPJRCUK5.js → chunk-22EEGJLH.js} +14 -9
- package/dist/{chunk-7IE5T6OT.js → chunk-2KVC32Y3.js} +2 -2
- package/dist/{chunk-FG3PH5TF.js → chunk-2NDIECXH.js} +1 -1
- package/dist/{chunk-5ZBDI4UE.js → chunk-37AEW3GR.js} +2 -2
- package/dist/{chunk-RU432VM5.js → chunk-3FSMDR37.js} +5 -5
- package/dist/{chunk-DVYFSNTN.js → chunk-3GF2F27E.js} +1 -1
- package/dist/{chunk-KEG4N4E2.js → chunk-3GSERPDG.js} +4 -4
- package/dist/{chunk-GQDHE5GW.js → chunk-3JFTAIKA.js} +7 -7
- package/dist/{chunk-BZYDU2VT.js → chunk-3YBNVXEU.js} +3 -3
- package/dist/{chunk-WWMPS3LM.js → chunk-47MEWWCO.js} +2 -2
- package/dist/{chunk-M7ONQVZA.js → chunk-4KC5DS6S.js} +1 -1
- package/dist/{chunk-EUB2PYYJ.js → chunk-4XETQ5LC.js} +1 -1
- package/dist/{chunk-ZBSZZKS3.js → chunk-4Y5IDZOJ.js} +1 -1
- package/dist/{chunk-5ACNK6RD.js → chunk-57LBTIIT.js} +1 -1
- package/dist/{chunk-7Q234TS5.js → chunk-5PE6556N.js} +58 -35
- package/dist/{chunk-GKRNND5K.js → chunk-67QXALQY.js} +74 -16
- package/dist/{chunk-7I6CD4QB.js → chunk-6FMUE7ZO.js} +1 -1
- package/dist/{chunk-5UNTR3PT.js → chunk-7LO34MHD.js} +2 -2
- package/dist/{chunk-R2WSTO26.js → chunk-7RHN6N5F.js} +1 -1
- package/dist/{chunk-EQ6MHHC2.js → chunk-AOITLZJO.js} +1 -1
- package/dist/{chunk-OLKDBDIZ.js → chunk-B2WXMYMA.js} +17 -9
- package/dist/{chunk-ZBM6F3B4.js → chunk-B4LOHIIR.js} +2 -2
- package/dist/{chunk-RZ62FH4H.js → chunk-B7BYBS7G.js} +4 -4
- package/dist/{chunk-GJSXHP3K.js → chunk-BQKVAQLE.js} +2 -2
- package/dist/{chunk-4QGHNJHX.js → chunk-BVAN2Q5W.js} +3 -3
- package/dist/{chunk-MBOCWE3P.js → chunk-DE3JRSGT.js} +54 -2
- package/dist/{chunk-EQY5ITMK.js → chunk-DTA5WWXO.js} +3 -3
- package/dist/{chunk-L5NON5XI.js → chunk-E57FGXI2.js} +9 -9
- package/dist/{chunk-7QXO3TS4.js → chunk-FCNMU7LC.js} +2 -2
- package/dist/{chunk-4YIENZMZ.js → chunk-FHDIU5ZS.js} +2 -2
- package/dist/{chunk-WTPKBPKY.js → chunk-FWNIFHN5.js} +1 -1
- package/dist/{chunk-PXUR442C.js → chunk-G55B5LP6.js} +1 -1
- package/dist/{chunk-FATRK6W5.js → chunk-GCL4GZVF.js} +1 -1
- package/dist/{chunk-SI5EZFPE.js → chunk-HD5RVDL6.js} +1 -1
- package/dist/{chunk-CIWBZAS4.js → chunk-HDHFXHUG.js} +1 -1
- package/dist/{chunk-4JR7EGPB.js → chunk-HKXQXP7W.js} +1 -1
- package/dist/{chunk-KOHGGBWP.js → chunk-HUMMHYLF.js} +1 -1
- package/dist/{chunk-JSYN76WB.js → chunk-HZE3LKBA.js} +2 -2
- package/dist/{chunk-4OBVCIE6.js → chunk-I2UMQAOQ.js} +1 -1
- package/dist/{chunk-3O2EWF6Z.js → chunk-IHRUU5WH.js} +3 -3
- package/dist/{chunk-BSZP3W4G.js → chunk-IJOIZLYK.js} +6 -6
- package/dist/{chunk-DYRXALWM.js → chunk-IMNIW22F.js} +1 -1
- package/dist/{chunk-2BLORYMZ.js → chunk-IPKKY42Q.js} +3 -3
- package/dist/{chunk-2DNHC44G.js → chunk-J25LQS5W.js} +4 -4
- package/dist/{chunk-VLVLK2WK.js → chunk-J7XEUHMI.js} +10 -10
- package/dist/{chunk-ISFDARWG.js → chunk-JLJINOXS.js} +2 -2
- package/dist/{chunk-I6IFBQTC.js → chunk-KHK4M5ZI.js} +1 -1
- package/dist/{chunk-DMB5REF3.js → chunk-KWFYSZCH.js} +1 -1
- package/dist/{chunk-WMSRUOYN.js → chunk-KWZSUULG.js} +7 -7
- package/dist/{chunk-64NDDR4G.js → chunk-LE3XMWQX.js} +6 -6
- package/dist/{chunk-5O7QUHR5.js → chunk-LX4KUCDF.js} +1 -1
- package/dist/{chunk-XRQQIE2X.js → chunk-M3MXR3HG.js} +2 -2
- package/dist/{chunk-7VBNAOFZ.js → chunk-MGDDKISL.js} +1 -1
- package/dist/{chunk-G4KNTGAC.js → chunk-MOTJT42J.js} +2 -2
- package/dist/{chunk-43GCSOM5.js → chunk-MR7VKWYT.js} +1 -1
- package/dist/{chunk-OXTPNY3V.js → chunk-MXOWNQCI.js} +1 -1
- package/dist/{chunk-SFXUWXVE.js → chunk-N4FY2HKI.js} +2 -2
- package/dist/{chunk-AKGTRCVP.js → chunk-OBCJMZCW.js} +1 -1
- package/dist/{chunk-MAB6IFYY.js → chunk-OGCP6FB2.js} +1 -1
- package/dist/{chunk-P6HIXKAQ.js → chunk-P4CZXQU5.js} +10 -10
- package/dist/{chunk-CZXW4CFS.js → chunk-P63B2XHE.js} +2 -2
- package/dist/{chunk-DF5EKSIA.js → chunk-PCH55NAO.js} +1 -1
- package/dist/{chunk-NM64SXXM.js → chunk-PE4MPXIE.js} +3 -3
- package/dist/{chunk-YSYPHSWK.js → chunk-PLXD7DE2.js} +1 -1
- package/dist/{chunk-DL3DMPOF.js → chunk-PO3OQ2FP.js} +149 -64
- package/dist/{chunk-WCYMXYSP.js → chunk-RAWVDZVU.js} +3 -3
- package/dist/{chunk-F3XIVMDU.js → chunk-RCTY7VNK.js} +1 -1
- package/dist/{chunk-GCHJBZH3.js → chunk-RYBLJK44.js} +25 -24
- package/dist/{chunk-3MIL5QWL.js → chunk-SHNSD75H.js} +2 -2
- package/dist/{chunk-TPZXVFZM.js → chunk-SUZQXGUS.js} +3 -3
- package/dist/{chunk-QVI24QKB.js → chunk-T3QQB5EX.js} +1 -1
- package/dist/{chunk-Q3AMO2SN.js → chunk-TE3W2M5C.js} +3 -3
- package/dist/{chunk-JUNSRWYS.js → chunk-TQGFY4NR.js} +1 -1
- package/dist/{chunk-NBJEWRY2.js → chunk-TQIH2UOD.js} +6 -6
- package/dist/{chunk-KVLH7SV3.js → chunk-U7W6SW3X.js} +2 -2
- package/dist/{chunk-CL5IBQJC.js → chunk-U7ZCBWNM.js} +4 -0
- package/dist/{chunk-27NPHYSD.js → chunk-UAU4SIOQ.js} +3 -3
- package/dist/{chunk-QP5QUPDX.js → chunk-UX4HQHMS.js} +3 -3
- package/dist/{chunk-FHANW7O5.js → chunk-VOJ3ICMF.js} +1 -1
- package/dist/{chunk-RCAHDUZC.js → chunk-VXT4EGLU.js} +2 -2
- package/dist/{chunk-ZH2LHLVS.js → chunk-W4JWPYLU.js} +1 -1
- package/dist/{chunk-S7YH3IQH.js → chunk-WEP7PDVB.js} +6 -6
- package/dist/{chunk-E6XP5M6N.js → chunk-WMHMIMFW.js} +3 -3
- package/dist/{chunk-ESYKCW5A.js → chunk-WN4W76IQ.js} +1 -1
- package/dist/{chunk-LZA2BSZ7.js → chunk-WOJPS7PK.js} +3 -3
- package/dist/{chunk-R647EQLT.js → chunk-X3ZA4UCJ.js} +3 -3
- package/dist/{chunk-5SK5H4LH.js → chunk-XEGFC2UX.js} +1 -1
- package/dist/{chunk-SJQKYI3P.js → chunk-XG64CLX7.js} +1 -1
- package/dist/{chunk-2OBKBPZ6.js → chunk-XGHZO74X.js} +2 -2
- package/dist/{chunk-6X4LDJ4O.js → chunk-Y6FRUECL.js} +1 -1
- package/dist/{chunk-JXFEEIU4.js → chunk-YLX7EX7Z.js} +2 -2
- package/dist/{chunk-QAB7H2A2.js → chunk-YRXIEP35.js} +1 -1
- package/dist/{chunk-Z36N4XS4.js → chunk-YVWL2VBO.js} +2 -2
- package/dist/{chunk-4P626SFJ.js → chunk-YXYRPI4X.js} +2 -2
- package/dist/{chunk-J2PFGVTU.js → chunk-Z2EKCD7H.js} +1 -1
- package/dist/{chunk-D2UY5VC3.js → chunk-Z46RV43W.js} +1 -1
- package/dist/{chunk-47IOECPN.js → chunk-ZKVC5V7U.js} +1 -1
- package/dist/{chunk-TD3EUNTN.js → chunk-ZOCKADVZ.js} +1 -1
- package/dist/{chunk-Z3VRBEMB.js → chunk-ZPRNVEOF.js} +16 -14
- package/dist/{clean-F7DGPNLO.js → clean-ZJIHNP2V.js} +15 -15
- package/dist/cli.js +65 -65
- package/dist/{cloud-JIG76GAH.js → cloud-5C5SCK4H.js} +2 -2
- package/dist/{cloud-JK3QB63R.js → cloud-7I6NRBUH.js} +4 -4
- package/dist/{cloudrun-O3I4TRAZ.js → cloudrun-XXGMWBUO.js} +3 -3
- package/dist/{compare-RZ6XE464.js → compare-3LJ7SO5I.js} +30 -30
- package/dist/{component-5SAPVS5A.js → component-MDRAU2EL.js} +3 -3
- package/dist/{compositions-MYRF2ZIP.js → compositions-7WWVFUKL.js} +8 -8
- package/dist/{contactSheet-KCB4R2QC.js → contactSheet-O3FOOHOX.js} +3 -3
- package/dist/{curve-XEPSLISW.js → curve-CV2TEGZL.js} +8 -8
- package/dist/{cuts-BAW6E465.js → cuts-UUAWNDQJ.js} +9 -9
- package/dist/{delete-2BH2YVVH.js → delete-FFGW2LXY.js} +4 -4
- package/dist/{deploy-DJGKP7UX.js → deploy-CWTKDXLS.js} +2 -2
- package/dist/{describeProject-S4PDRITZ.js → describeProject-EDKWLCSL.js} +5 -5
- package/dist/{destroy-AOTDEPWH.js → destroy-NOYFGGDD.js} +2 -2
- package/dist/{deterministicFonts-TEZOZIED.js → deterministicFonts-QY4KNTOU.js} +2 -2
- package/dist/{diff-4VQECT6Y.js → diff-YSHVMJC7.js} +30 -30
- package/dist/{dist-CRZMQQ27.js → dist-BKWVQR7A.js} +8 -8
- package/dist/{dist-YLXB4RLU.js → dist-YX7FMBUD.js} +3 -1
- package/dist/{doctor-PGNUW3I3.js → doctor-4FEE457C.js} +8 -8
- package/dist/{energy-ZSL2J5PF.js → energy-POEWTT6O.js} +9 -9
- package/dist/{events-2CCPSWXT.js → events-FULDXHAM.js} +2 -2
- package/dist/{events-2YIJI2KG.js → events-I4LQF5YH.js} +4 -4
- package/dist/{events-RKIKPZLO.js → events-XQQBVMQT.js} +10 -10
- package/dist/{execute-LPQRLHU7.js → execute-PM46UN5B.js} +23 -23
- package/dist/{extract-GYOHALYZ.js → extract-RB6GUKDH.js} +9 -9
- package/dist/{face-JJMIXPKL.js → face-CTNMUSZJ.js} +10 -10
- package/dist/{feedback-HXLLCNDZ.js → feedback-JHSCPZAH.js} +6 -6
- package/dist/{ffmpeg-ZYJVIBIQ.js → ffmpeg-ZDD7X4NY.js} +4 -4
- package/dist/{figma-AF3V62M2.js → figma-DOTGYJR2.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-PQA5CWKV.js → frames-BA2O2YJD.js} +11 -11
- package/dist/{generate-26FXX7GM.js → generate-UVYECX6G.js} +20 -20
- package/dist/{get-FU4FNSC5.js → get-THXXCSQ6.js} +4 -4
- package/dist/{gpuPolicy-WMCC5JA6.js → gpuPolicy-SXWEHK7V.js} +4 -4
- package/dist/{grade-compare-COHZWWR2.js → grade-compare-H3VNRJQD.js} +29 -29
- package/dist/{heifImagePrep-2YWQXODI.js → heifImagePrep-OLZTCTGK.js} +5 -5
- package/dist/{help-M6MV2MYQ.js → help-LKHACFHV.js} +1 -1
- package/dist/{history-USBJ3RRE.js → history-6ABMJPFQ.js} +9 -9
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-X5YT745W.js → info-6ID5AKTQ.js} +10 -10
- package/dist/{init-3EHOBRTG.js → init-DMFKWS6X.js} +26 -26
- package/dist/{ink-QTRD44Q4.js → ink-TGKWBWHT.js} +9 -9
- package/dist/{inspect-5PCGGWUH.js → inspect-YV6LZCC5.js} +30 -30
- package/dist/{installer-R4OLQJLN.js → installer-2LTM4GWP.js} +5 -5
- package/dist/{keyframes-YYM7T7QG.js → keyframes-ZAEKCOXL.js} +7 -7
- package/dist/{lambda-VLFWMDG2.js → lambda-44XW4CWE.js} +9 -9
- package/dist/{layout-M5FCZ2HW.js → layout-C5ZLVGVK.js} +30 -30
- package/dist/{lint-6S6IOTML.js → lint-II2XYWFT.js} +7 -7
- package/dist/{list-6JVKIDMR.js → list-VR64W4L2.js} +4 -4
- package/dist/{localPage-JCUHUL5O.js → localPage-7ANEOK7B.js} +5 -5
- package/dist/{login-5MYRLW63.js → login-IXGTJPST.js} +4 -4
- package/dist/{look-2YC2JTOW.js → look-CJTTSIFD.js} +9 -9
- package/dist/{manager-GQ7GVEHY.js → manager-W5HFI6EI.js} +5 -5
- package/dist/{measure-YUFVQRJN.js → measure-FSFVXCQ5.js} +11 -11
- package/dist/{media-treatment-DAT6UUEA.js → media-treatment-2NRQQJKN.js} +10 -10
- package/dist/{media-use-L2VSONKR.js → media-use-IKIIV7TQ.js} +3 -3
- package/dist/{models-LIWRESXV.js → models-XDVZN6B2.js} +8 -8
- package/dist/{motionShot-QYSCVCE5.js → motionShot-PJU7NV2G.js} +13 -13
- package/dist/{normalize-audio-EYG5WB2C.js → normalize-audio-6G5VU5XM.js} +7 -7
- package/dist/{open-2CMLIGHD.js → open-22OQII2X.js} +15 -15
- package/dist/{parakeetRunner-B6HO4KCP.js → parakeetRunner-YOQACWZQ.js} +10 -10
- package/dist/{pipeline-IW4SGHDM.js → pipeline-DFPGGGHW.js} +7 -7
- package/dist/{plan-4RVKVJ6Z.js → plan-7IH2XDWA.js} +17 -17
- package/dist/{play-OSVIKZHP.js → play-YDY6IZZH.js} +19 -19
- package/dist/{preflight-LFPUGBT6.js → preflight-EPJE4LO7.js} +5 -5
- package/dist/{present-FQQMUTIT.js → present-FFNDXDPP.js} +13 -13
- package/dist/{preview-4OQXZO7B.js → preview-KBV5YTCC.js} +19 -19
- package/dist/{probe-CDHB5HB7.js → probe-ZN5VLXRP.js} +9 -9
- package/dist/{producer-6LBQY7LE.js → producer-JIJV6EUA.js} +1 -1
- package/dist/{projectConfig-XMUSYXL3.js → projectConfig-LSJSU4UR.js} +8 -8
- package/dist/{publication-R4E4LGFV.js → publication-4EYVOO47.js} +3 -3
- package/dist/{publish-4JIY66L6.js → publish-P5WEMSFM.js} +13 -13
- package/dist/{remove-background-O22ZAZ3N.js → remove-background-TUJDKW2H.js} +8 -8
- package/dist/{render-NPNT5RU7.js → render-IFRE426H.js} +4 -4
- package/dist/{render-VTINJG6L.js → render-IS5W2MXU.js} +23 -23
- package/dist/{render-YBI7WDRR.js → render-KICKIUBU.js} +36 -36
- package/dist/{render-batch-PKXLME2H.js → render-batch-2BWEMPAQ.js} +4 -4
- package/dist/{resolver-YMO7VCL6.js → resolver-PM56BNET.js} +5 -5
- package/dist/{reverse-SCZCNXOM.js → reverse-AUPP7FPD.js} +1 -1
- package/dist/{screenshotCapture-R3VXZICP.js → screenshotCapture-WLPWWM4U.js} +7 -7
- package/dist/{service-EQC6ENN3.js → service-WJTJEB5D.js} +8 -8
- package/dist/{share-GJV6KVVX.js → share-62SZB3ZC.js} +11 -11
- package/dist/{sherpa-VXBR2LVH.js → sherpa-MCYJFFXG.js} +9 -9
- package/dist/{skills-HXG3Y4KE.js → skills-WJWBMXTF.js} +7 -7
- package/dist/{skillsUpdateCheck-TILFOBGB.js → skillsUpdateCheck-UF27YQL3.js} +3 -3
- package/dist/{snapshot-RDALD7DE.js → snapshot-EXHFVNL2.js} +41 -41
- package/dist/{src-DMRL5PBJ.js → src-2IOZPMJR.js} +3 -3
- package/dist/{src-24RSMMOB.js → src-JYBAAFEQ.js} +7 -7
- package/dist/{start-T7XKA2MN.js → start-XSG7DSQ2.js} +18 -18
- package/dist/{staticProjectServer-AX23X7UN.js → staticProjectServer-FIGDMMOC.js} +17 -17
- package/dist/{status-47HVIQQ7.js → status-PQ2WYRMY.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-C7JtYIRD.js → hyperframes-player-DTdMXCCs.js} +1 -1
- package/dist/studio/assets/{index-C7EGuz1n.js → index-CdtV6F8j.js} +121 -121
- package/dist/studio/assets/index-DA5GM2Mj.js +469 -0
- package/dist/studio/assets/pausedVideoDecoder-B4OsoiOL.js +1 -0
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-VXWAAFOS.js → studio-api-BTDNUTUL.js} +8 -8
- package/dist/{studioServer-VXIAK364.js → studioServer-R5OHWANQ.js} +54 -54
- package/dist/{sync-C6SUWWEZ.js → sync-LD3KRR6A.js} +9 -9
- package/dist/{synthesize-4WZGBE2D.js → synthesize-HOLHQCR2.js} +2 -2
- package/dist/{telemetry-SXASYO5M.js → telemetry-QZ6KSMD7.js} +4 -4
- package/dist/{templates-IL7G63RL.js → templates-LMVSSS6P.js} +12 -12
- package/dist/{timeline-UAI63XMM.js → timeline-RFMWAREC.js} +17 -17
- package/dist/{tokens-Y5AIVQJN.js → tokens-5G463QQT.js} +2 -2
- package/dist/{transcribe-AMRT4JMZ.js → transcribe-7DCWYRRP.js} +23 -23
- package/dist/{transcribe-ZDORCRKT.js → transcribe-N3NT7EMS.js} +7 -7
- package/dist/{tts-UFA5UHA6.js → tts-3VHEX4RB.js} +1 -1
- package/dist/{update-35I2M4ZI.js → update-44NG62J2.js} +9 -9
- package/dist/{updateCheck-3HXGV5NL.js → updateCheck-PEVRHYT2.js} +2 -2
- package/dist/{upgrade-FHOHHZNW.js → upgrade-YGBOB2HE.js} +4 -4
- package/dist/{urlDownloader-RD4SEG6K.js → urlDownloader-NBGMT536.js} +3 -3
- package/dist/{validate-D6CATGTW.js → validate-V65Y26SO.js} +23 -23
- package/dist/{video-UOZJSSUR.js → video-RYUMW6QV.js} +6 -6
- package/dist/{voices-KEY5L2AP.js → voices-OBIFVMMB.js} +18 -18
- package/dist/warmCheck.js +40 -40
- package/package.json +1 -1
- package/dist/studio/assets/codec-DQ7n-U_9.js +0 -314
- package/dist/studio/assets/index-CByWY7fK.js +0 -150
- package/dist/studio/assets/pausedVideoDecoder-Bnvo9NIs.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var HyperframesPlayer=(()=>{var je=Object.defineProperty;var hi=Object.getOwnPropertyDescriptor;var fi=Object.getOwnPropertyNames;var gi=Object.prototype.hasOwnProperty;var bi=(t,e)=>{for(var n in e)je(t,n,{get:e[n],enumerable:!0})},_i=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of fi(e))!gi.call(t,r)&&r!==n&&je(t,r,{get:()=>e[r],enumerable:!(i=hi(e,r))||i.enumerable});return t};var yi=t=>_i(je({},"__esModule",{value:!0}),t);var yo={};bi(yo,{HyperframesPlayer:()=>ze,SPEED_PRESETS:()=>pt,formatSpeed:()=>W,formatTime:()=>Le});var Ft=t=>t!==null&&Number.isFinite(t)&&t>0;function qe(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Ft(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Ft);return n.length>0?{seconds:Math.max(...n),source:"derived",pendingClips:e}:{seconds:null,source:"unresolved",pendingClips:e,reason:e>0?"every clip's length is still pending":"no authored duration and no clip with a length"}}var vi="http://www.w3.org/1999/xhtml";function Ut(t){return t!=null&&t.nodeType===1}function Ye(t){return Ut(t)&&t.namespaceURI===vi}function Xe(t,e){return Ye(t)&&t.localName===e}function Ai(t){return Xe(t,"video")}function Si(t){return Xe(t,"audio")}function P(t){return Ai(t)||Si(t)}function Ht(t){return Xe(t,"img")}function Se(t){if(t==null||t.trim()==="")return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function ee(t=document){let e=t.querySelector('[data-composition-id][data-root="true"]');return Ye(e)?e:t.querySelector("[data-composition-id]")}var G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Ro=Object.freeze([G.start,G.duration,G.trackIndex]),xo=Object.freeze([G.derivedEnd]),wo=Object.freeze([G.derivedEnd,G.legacyTrack]);function Ke(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var Vt=t=>{let e=Ke(t);return e!==null&&e>=0?e:null};function Ee(t){return Vt(t("data-playback-start"))??Vt(t("data-media-start"))??0}var te=.1,ne=10;function Ze(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function Wt(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return Ze(Number.isFinite(n)&&n>0?n:e)}function Je(t){let e=Ke(t("data-duration"));return e!==null&&e>0?e:null}function $t(t,e){let n=Je(t);if(n!==null)return n;let i=Ke(t("data-end"));return i!==null?i-e:null}var Ei=3;function Qe(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/Ze(n):null}function et(t){let{tag:e,authoredDurationSeconds:n,sourceDurationSeconds:i,mediaStartSeconds:r,playbackRate:o}=t;if(n!==null&&n>0)return{seconds:n,source:"authored"};if(e==="img")return{seconds:Ei,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=Qe(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var Ti="data-fx-chain",Mo=Ti.slice(5);var ie=(t="frequency",e="Frequency",n=1e3,i=20,r=2e4)=>({kind:"number",key:t,label:e,unit:"Hz",min:i,max:r,step:1,default:n,scale:"log",automatable:!0}),tt=(t=.707,e="Bandwidth: higher is narrower.")=>({kind:"number",key:"q",label:"Q",unit:"",min:.1,max:20,step:.01,default:t,scale:"log",automatable:!0,hint:e}),Te=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),Bt={kind:"enum",key:"poles",label:"Slope",options:[{value:"1",label:"6 dB/oct"},{value:"2",label:"12 dB/oct"}],default:"2",hint:"Two poles is the usual biquad; one pole is gentler."},Gt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[Te(-60,12,0)],web:"gain-node"},{id:"peaking",label:"Peaking EQ",group:"filter",description:"Boost or cut a band, leaving everything either side alone.",params:[ie("frequency","Frequency",1e3),Te(-40,40,0),tt(1)],web:"biquad-peaking"},{id:"lowshelf",label:"Low Shelf",group:"filter",description:"Lift or drop everything below the corner frequency.",params:[ie("frequency","Frequency",200,20,2e3),Te(-40,40,0)],web:"biquad-lowshelf"},{id:"highshelf",label:"High Shelf",group:"filter",description:"Lift or drop everything above the corner frequency.",params:[ie("frequency","Frequency",4e3,500,2e4),Te(-40,40,0)],web:"biquad-highshelf"},{id:"highpass",label:"High-pass",group:"filter",description:"Remove low frequencies: the usual fix for rumble on a voice.",params:[ie("frequency","Cutoff",300,20,2e4),tt(.707),Bt],web:"biquad-highpass"},{id:"lowpass",label:"Low-pass",group:"filter",description:"Remove high frequencies, which darkens or muffles a track.",params:[ie("frequency","Cutoff",8e3,100,2e4),tt(.707),Bt],web:"biquad-lowpass"},{id:"compressor",label:"Compressor",group:"dynamics",description:"Pull loud parts down so the quiet ones can come up.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-60,max:0,step:.5,default:-24,hint:"Level above which the compressor starts working."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:4},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:2e3,step:.1,default:20,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:250,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83,hint:"1 is a hard corner; higher eases into it."},{kind:"number",key:"makeup",label:"Makeup",unit:"dB",min:0,max:36,step:.1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1,hint:"Below 1 blends the dry signal back in."}],web:"worklet-compressor"},{id:"limiter",label:"Limiter",group:"dynamics",description:"Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.",params:[{kind:"number",key:"limit",label:"Ceiling",unit:"dB",min:-24,max:0,step:.1,default:-1},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.1,max:80,step:.1,default:5},{kind:"number",key:"release",label:"Release",unit:"ms",min:1,max:8e3,step:1,default:50,scale:"log"},{kind:"number",key:"level_out",label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0}],web:"worklet-limiter"},{id:"truepeak",label:"True-peak limiter",group:"dynamics",description:"Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.",params:[{kind:"number",key:"ceiling",label:"Ceiling",unit:"dBTP",min:-24,max:0,step:.1,default:-1,hint:"Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it."},{kind:"number",key:"lookahead",label:"Lookahead",unit:"ms",min:.5,max:10,step:.1,default:3,hint:"How far ahead the gain starts falling. Longer is smoother and adds the same latency."},{kind:"number",key:"release",label:"Release",unit:"ms",min:10,max:2e3,step:1,default:80,scale:"log"}],web:"worklet-truepeak"},{id:"gate",label:"Noise Gate",group:"dynamics",description:"Silence the track when it drops below the threshold.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-80,max:0,step:.5,default:-35},{kind:"number",key:"range",label:"Range",unit:"dB",min:-80,max:0,step:.5,default:-24,hint:"How far down the gate pulls when closed."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:10},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:9e3,step:.1,default:1,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:100,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83}],web:"worklet-gate"},{id:"saturate",label:"Saturation",group:"nonlinear",description:"Soft-clip the waveform for warmth or outright distortion.",params:[{kind:"enum",key:"type",label:"Curve",options:[{value:"tanh",label:"Tanh"},{value:"atan",label:"Arctan"},{value:"cubic",label:"Cubic"},{value:"exp",label:"Exponential"},{value:"alg",label:"Algebraic"},{value:"quintic",label:"Quintic"},{value:"sin",label:"Sine"},{value:"erf",label:"Error function"},{value:"hard",label:"Hard clip"}],default:"tanh"},{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-40,max:0,step:.1,default:-6},{kind:"number",key:"output",automatable:!0,label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0},{kind:"number",key:"oversample",label:"Oversample",unit:"x",min:1,max:8,step:1,default:4,hint:"Higher costs more but keeps aliasing down."}],web:"waveshaper"},{id:"bitcrush",label:"Bitcrush",group:"nonlinear",description:"Drop bit depth and sample rate for a lo-fi, digital sound.",params:[{kind:"number",key:"bits",label:"Bit depth",unit:"bit",min:1,max:32,step:.1,default:8},{kind:"number",key:"samples",label:"Sample hold",unit:"x",min:1,max:250,step:1,default:1,hint:"Repeats each sample N times, a crude downsample."},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-bitcrush"},{id:"pitchshift",label:"Pitch shift",group:"time",description:"Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.",params:[{kind:"number",key:"semitones",label:"Semitones",unit:"st",min:-12,max:12,step:1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-pitchshift"},{id:"delay",label:"Delay",group:"time",description:"Repeating echoes behind the dry signal.",params:[{kind:"number",key:"time",automatable:!0,label:"Time",unit:"ms",min:1,max:5e3,step:1,default:250,scale:"log"},{kind:"number",key:"feedback",automatable:!0,label:"Feedback",unit:"",min:.01,max:.95,step:.01,default:.35},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.4}],web:"delay-feedback"},{id:"chorus",label:"Chorus",group:"time",description:"Detuned copies of the signal for width and thickness.",params:[{kind:"number",key:"delay",automatable:!0,label:"Delay",unit:"ms",min:1,max:100,step:.1,default:7},{kind:"number",key:"depth",automatable:!0,label:"Depth",unit:"ms",min:0,max:10,step:.01,default:2},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.01,max:10,step:.01,default:1},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.5}],web:"chorus-lfo"},{id:"phaser",label:"Phaser",group:"time",description:"Sweeping notches moving through the spectrum.",params:[{kind:"number",key:"in_gain",automatable:!0,label:"Input",unit:"",min:0,max:1,step:.01,default:.4},{kind:"number",key:"out_gain",automatable:!0,label:"Output",unit:"",min:0,max:2,step:.01,default:.74},{kind:"number",key:"delay",label:"Delay",unit:"ms",min:.1,max:5,step:.1,default:3},{kind:"number",key:"decay",label:"Decay",unit:"",min:0,max:.99,step:.01,default:.4},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.1,max:2,step:.01,default:.5},{kind:"enum",key:"type",label:"Waveform",options:[{value:"0",label:"Triangular"},{value:"1",label:"Sinusoidal"}],default:"0"}],web:"allpass-phaser"},{id:"reverb",label:"Reverb",group:"time",description:"Room tail. Both ends convolve the same generated impulse, so preview matches render.",params:[{kind:"number",key:"size",label:"Room size",unit:"",min:.05,max:1,step:.01,default:.7},{kind:"number",key:"damping",label:"Damping",unit:"",min:0,max:1,step:.01,default:.5,hint:"Higher rolls the top off the tail faster."},{kind:"number",key:"wet",automatable:!0,label:"Wet",unit:"",min:0,max:1,step:.01,default:.35},{kind:"number",key:"dry",automatable:!0,label:"Dry",unit:"",min:0,max:1,step:.01,default:.7}],web:"convolver"}],Co=new Map(Gt.map(t=>[t.id,t]));var Io=Gt.map(t=>t.id);function Ri(t){return 10**(t/20)}var zt=Ri(12);var jt="data-automation",$o=jt.slice(5),nt=1,xi=512,L=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},Re="volume",xe="rate";function qt(t){if(t===Re)return{kind:"volume"};if(t===xe)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===wi){let r=e[2];return r?{kind:"preset",presetId:r}:null}if(e.length!==3||e[0]!=="fx")return null;let[,n,i]=e;return!n||!i?null:{kind:"fx",nodeId:n,param:i}}var wi="preset";var ki={min:0,max:zt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Mi={min:te,max:ne,step:.05,unit:"x",label:"Speed",scale:"log",default:1};function re(t){if(typeof t=="number")return Number.isFinite(t)?t:null;if(typeof t=="string"&&t.trim()!==""){let e=Number(t);return Number.isFinite(e)?e:null}return null}function Ci(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Yt(t,e){let n=re(t),i=re(e);if(n===null||i===null)return null;let r=s=>Math.min(.999,Math.max(.001,s)),o=r(n),a=r(i);return Math.abs(o-a)<1e-6?null:{x:o,y:a}}function Ii(t){let e=Ci(t?.curve),n=Yt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Di(t,e){let n=re(t?.t),i=re(t?.v);if(n===null||i===null)return null;let r=e?Math.min(e.max,Math.max(e.min,i)):i;return{t:Math.max(0,n),v:r,...Ii(t)}}function Pi(t,e){let n=t.map(r=>Di(r,e)).filter(r=>r!==null).sort((r,o)=>r.t-o.t),i=[];for(let r of n)i.length>0&&i[i.length-1].t===r.t?i[i.length-1]=r:i.push(r);return i.slice(0,xi)}function Li(t){let e=[];for(let n of t.lanes){if(!qt(n.target))continue;let i=n.target===Re?ki:n.target===xe?Mi:null,r=Pi(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:nt,lanes:e}}function Xt(t){let e;try{e=JSON.parse(t)}catch(r){throw new L(`Automation is not valid JSON: ${r.message}`)}if(typeof e!="object"||e===null)throw new L("Automation must be a JSON object.");let n=e;if(n.version!==nt)throw new L(`Unsupported automation version: ${String(n.version)}`);if(!Array.isArray(n.lanes))throw new L("Automation is missing a `lanes` array.");let i=n.lanes.map((r,o)=>{if(typeof r!="object"||r===null)throw new L(`Lane ${o} is not an object.`);let a=r;if(typeof a.target!="string"||!qt(a.target))throw new L(`Lane ${o} has an unreadable target: ${String(a.target)}`);if(!Array.isArray(a.points))throw new L(`Lane ${o} is missing a \`points\` array.`);return{target:a.target,points:a.points}});return Li({version:nt,lanes:i})}function Ni(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Oi(t,e){let n=t-.5,i=e-.5,r=.999,o=1e6,a=n>0?n/(r-t):n<0?-n/(t-(1-r)):0,s=i>0?i/(r-e):i<0?-i/(e-(1-r)):0,l=Math.min(o,Math.max(1,a,s));return{cx:t+n/l,cy:e+i/l,w:l}}function Fi(t,e,n){let{cx:i,cy:r,w:o}=Oi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=Ui(s,l,t),c=1-u,h=c*c+2*o*u*c+u*u;return h>0?(2*o*r*u*c+u*u)/h:t}function Ui(t,e,n){if(Math.abs(t)<1e-12)return Math.abs(e)<1e-12?n:-n/e;let i=Math.sqrt(Math.max(0,e*e-4*t*n)),r=(-e+i)/(2*t),o=(-e-i)/(2*t),a=s=>s>=-1e-9&&s<=1+1e-9;return a(r)?Math.min(1,Math.max(0,r)):a(o)?Math.min(1,Math.max(0,o)):n}function Hi(t,e){let n=Yt(e.viaX,e.viaY);return n?Fi(Math.min(1,Math.max(0,t)),n.x,n.y):Ni(t,e.curve)}function Vi(t,e,n,i){return i==="log"&&t>0&&e>0?Math.exp(Math.log(t)+(Math.log(e)-Math.log(t))*n):t+(e-t)*n}function we(t,e,n="linear"){let i=t.points;if(i.length===0)return 0;let r=i[0];if(e<=r.t)return r.v;let o=i[i.length-1];if(e>=o.t)return o.v;let a=0,s=i.length-1;for(;s-a>1;){let h=a+s>>1;i[h].t<=e?a=h:s=h}let l=i[a],u=i[s],c=u.t-l.t;return c<=0?u.v:Vi(l.v,u.v,Hi((e-l.t)/c,l),n)}var ke=new Map,Wi=64;function Kt(t,e=Re){let n=`${e}\0${t}`,i=ke.get(n);if(i!==void 0)return i;let r=null;try{r=Xt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return ke.size>Wi&&ke.clear(),ke.set(n,r),r}var Zt=48,Jt=new WeakMap;function $i(t){let e=t.points,n=e[0].v,i=e[e.length-1].v,r=[0],o=[0],a=l=>{let u=r[r.length-1];if(l<=u)return;let c=we(t,u,"log");r.push(l),o.push(o[o.length-1]+(c+we(t,l,"log"))/2*(l-u))},s=Math.max(0,e[0].t);a(s);for(let l=1;l<e.length;l+=1){let u=e[l-1].t,c=e[l].t;if(!(c<=0))for(let h=1;h<=Zt;h+=1)a(Math.max(u,0)+(c-u)*h/Zt)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function Bi(t){let e=Jt.get(t);return e||(e=$i(t),Jt.set(t,e)),e}function Gi(t){return typeof t!="number"&&t.points.length>0}function zi(t,e,n){let i=0,r=t.length-1;for(;r-i>1;){let o=i+r>>1;t[o]<=n?i=o:r=o}return e[i]+(e[r]-e[i])*(n-t[i])/(t[r]-t[i])}function Qt(t,e){if(typeof t=="number")return e/t;if(!Gi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=Bi(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:zi(i,n,e)}function ji(t){return t?Kt(t,xe):null}function en(t,e){return ji(t)??e}var Xo=[{id:"montage",label:"Montage",points:[[0,.9],[.15,.3],[.5,2.5],[.85,.3],[1,.9]]},{id:"hero",label:"Hero",points:[[0,1],[.25,1.6],[.5,.25],[.75,1.6],[1,1]]},{id:"bullet",label:"Bullet",points:[[0,3],[.4,3],[.5,.15],[.6,3],[1,3]]},{id:"jump-cut",label:"Jump cut",points:[[0,.5],[.24,.5],[.26,3],[.5,3],[.52,.5],[.74,.5],[.76,3],[1,3]]},{id:"flash-in",label:"Flash in",points:[[0,.3],[.6,.6],[1,5]]},{id:"flash-out",label:"Flash out",points:[[0,5],[.4,.6],[1,.3]]},{id:"ramp-in",label:"Ramp in",points:[[0,.5],[1,1]]},{id:"ramp-out",label:"Ramp out",points:[[0,1],[1,.5]]},{id:"slowmo-middle",label:"Slow-mo middle",points:[[0,1],[1/3,.35],[2/3,.35],[1,1]]}];var y=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Zo=Object.freeze([y.start,y.duration,y.trackIndex]),Jo=Object.freeze([y.derivedEnd]),Qo=Object.freeze([y.derivedEnd,y.legacyTrack]);function N(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var rn=/^[A-Za-z0-9_.:-]+$/;function on(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function tn(t,e){let n=e;for(;n>=0&&on(t,n);)n--;return n}function qi(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function Yi(t){let e=t.length-1;if(!on(t,e))return null;let n=tn(t,e);return t[n]==="."&&(n=tn(t,n-1)),n+1}function Xi(t){let e=Yi(t);if(e==null)return null;let n=qi(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!rn.test(r))return null;let o=Number(t.slice(e));return Number.isFinite(o)?{refId:r,operator:i,magnitude:o}:null}function oe(t){let e=(t??"").trim();if(!e)return null;let n=N(e);if(n!=null)return{kind:"absolute",value:n};if(rn.test(e))return{kind:"reference",refId:e,offset:0};let i=Xi(e);return i?{kind:"reference",refId:i.refId,offset:i.operator==="-"?-i.magnitude:i.magnitude}:null}function x(t,e,n,i){t.push({code:e,attribute:n,value:i})}function Ki(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",y.start,e),null;if(t.kind==="absolute")return Math.max(0,t.value);let r=n.resolveReferenceEnd?.(t.refId);return r==null||!Number.isFinite(r)?(x(i,"unresolved-start-reference",y.start,e),null):Math.max(0,r+t.offset)}var Zi=1e-9;function Ji(t,e){return Math.abs(t-e)<=Zi}function Qi(t,e,n){let i=N(t);if(i==null){x(n,"deprecated-end",y.derivedEnd,t),x(n,"invalid-end",y.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",y.derivedEnd,t);return}Ji(i,e)||(x(n,"deprecated-end",y.derivedEnd,t),x(n,"conflicting-end",y.derivedEnd,t))}function er(t,e,n){let i=N(t);return i==null||i<0?(x(n,"invalid-duration",y.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function tr(t,e,n){x(n,"deprecated-end",y.derivedEnd,t);let i=N(t);return i==null?(x(n,"invalid-end",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function nr(t,e,n){let i=t.getAttribute(y.duration),r=t.getAttribute(y.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:tr(r,e,n);let o=er(i,e,n);return r!=null&&Qi(r,o.end,n),o}function nn(t,e,n,i){let r=N(t);return r==null||!Number.isInteger(r)?(x(i,"invalid-track-index",e,t),{trackIndex:0,trackSource:"invalid"}):{trackIndex:r,trackSource:n}}function ir(t,e){let n=t.getAttribute(y.trackIndex),i=t.getAttribute(y.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",y.legacyTrack,i),nn(i,y.legacyTrack,"legacy-layer",e);let r=nn(n??"",y.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",y.legacyTrack,i);let o=N(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",y.legacyTrack,i),r}function it(t,e={}){let n=[],i=t.getAttribute(y.start),r=oe(i),o=Ki(r,i,e,n),a=nr(t,o,n),s=ir(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return N(t)}function rt(t){return Wt(e=>t.getAttribute(e),P(t)?t.defaultPlaybackRate:1)}function rr(t){return en(t.getAttribute("data-automation"),rt(t))}function ot(t){return Ee(e=>t.getAttribute(e))}function ae(t,e){return or(e,ot(t),rr(t))}function at(t){let e=et({tag:"video",authoredDurationSeconds:Je(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:ot(t),playbackRate:rt(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Me(t,e=0){return!Ht(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:et({tag:"img",authoredDurationSeconds:$t(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function or(t,e,n){return typeof n=="number"?Qe(t,e,n):Number.isFinite(t)?Qt(n,Math.max(0,t-e)):null}function an(){return globalThis}function st(t,e){if(typeof window>"u")return;let n=an(),i=n.__hf?.onSwallowed;if(i)try{i({label:t,error:e})}catch(r){}(n.__hfDebug||n.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${t} swallowed:`,e)}var ar=t=>t.paused?.()===!0?(t.startTime?.()??0)+(t.totalDuration?.()??0)/Math.abs(t.timeScale?.()||1):0;function se(t){try{if(typeof t?.duration!="function")return null;let e=t.getChildren?.(!1,!1,!0),n=Array.isArray(e)?e:[],i=Math.max(Number(t.duration()),...n.map(ar));return Number.isFinite(i)?i:null}catch(e){return st("runtime.timelineDuration",e),null}}var sn="data-hf-authored-duration",ln="data-hf-authored-end";function le(t){if(t==null||typeof t=="string"&&t.trim()==="")return null;let e=typeof t=="number"?t:Number(t);return Number.isFinite(e)?e:null}function Ce(t){let e=le(t.start);if(e==null)return null;let n=Math.max(0,e),i=le(t.duration),r=le(t.authoredDuration),o=i!=null&&i>0?i:r!=null&&r>0?r:null;if(o!=null)return{start:n,duration:o,end:n+o};let a=le(t.end),s=le(t.authoredEnd),l=a!=null&&a>n?a:s!=null&&s>n?s:null;return{start:n,duration:l==null?null:l-n,end:l}}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),ha=Object.freeze([z.start,z.duration,z.trackIndex]),fa=Object.freeze([z.derivedEnd]),ga=Object.freeze([z.derivedEnd,z.legacyTrack]);function sr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var un=t=>{let e=sr(t);return e!==null&&e>=0?e:null};function lr(t){return un(t("data-playback-start"))??un(t("data-media-start"))??0}var dn="data-hf-media-start-basis";function cn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function ur(t){return cn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function mn(t){return hn(t)?ur({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function pn(t){return hn(t)&&cn(t.basis)==="global"}function hn(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function lt(t){return lr(e=>t.getAttribute(e))}function fn(t,e){return t-lt(e)}function ue(t){let e=t.timelineRegistry??{},n=t.includeAuthoredTimingAttrs??!1,i=t.documentRef??document,r=new WeakMap,o=new WeakMap,a=new Set,s=d=>(d.hasAttribute("data-composition-id")?d.parentElement:d)?.closest("[data-composition-id]")??null,l=(d,f)=>{let b=s(f);if(b){for(let M of b.querySelectorAll(`[id="${d}"]`))if(s(M)===b)return M}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(M=>M.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,c=d=>Ce({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??Ce({start:T(d,0),end:d.getAttribute("data-end"),authoredEnd:u(d,"data-hf-authored-end")})?.duration??null,h=d=>d!=null&&Number.isFinite(d)&&d>0?d:null,v=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},_=d=>{let f=o.get(d);if(f!==void 0)return f;let b=c(d)??h(P(d)?ae(d,d.duration):null)??h(Me(d))??v(d);return o.set(d,b),b},A="[data-composition-src], [data-composition-id], [data-composition-file]",g=d=>d.matches(A),S=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${A}`)??null,k=(d,f)=>fn(T(d,f),S(d)??d),C=(d,f)=>{let b=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return b?k(b,f):0},I=(d,f)=>{let b=oe(d.getAttribute("data-start"));if(!b){let H=S(d);return H?T(H,f):f}if(b.kind==="absolute")return C(d,f)+Math.max(0,b.value);let R=l(b.refId,d);if(!R)return f;let M=T(R,0),ve=_(R)??0,Ae=Math.min(0,C(d,0));return Math.max(Ae,M+ve+b.offset)},T=(d,f)=>{let b=r.get(d);if(b!==void 0)return b??f;if(a.has(d))return f;a.add(d);try{let R=I(d,f);return r.set(d,R),R}finally{a.delete(d)}},U=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?k(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(dn)}};return{resolveStartForElement:(d,f=0)=>T(d,Math.max(0,f)),resolveDurationForElement:d=>_(d),resolveMediaStartForElement:d=>{let f=U(d);return mn({...f,ordinaryStart:()=>T(d,f.hostStart)})},resolveHostStartForElement:d=>C(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let b=d.parentElement;b;b=b.parentElement){if(!g(b)||S(b)||lt(b)<=0)continue;let R=T(b,0),M=c(b);f.push({start:R,end:M?R+M:1/0})}return f},isRootGlobalMediaStartForElement:d=>P(d)&&pn(U(d))}}function gn(){return{capturedTimeline:null,isPlaying:!1,currentTime:0,deterministicAdapters:[],canonicalFps:30,bridgeMuted:!1,bridgeVolume:1,mediaOutputMuted:!1,nativeMediaSyncDisabled:!1,webAudioMediaDisabled:!1,mediaAutoplayBlockedPosted:!1,mediaForceSyncNextTick:!1,playbackRate:1,bridgeLastPostedFrame:-1,bridgeLastPostedAt:0,bridgeLastPostedPlaying:!1,bridgeLastPostedMuted:!1,bridgeMaxPostIntervalMs:80,controlBridgeHandler:null,beforeUnloadHandler:null,injectedCompStyles:[],injectedCompScripts:[],injectedCompLinks:[],cachedTimedMediaEls:[],cachedMediaClips:[],cachedVideoClips:[],cachedMediaTimelineDurationSeconds:0,tornDown:!1,transportClock:null,transportRafId:null}}var bn=7200,ut=1/60,de=t=>t!==null&&t>ut?t:null;function dr(t){return{width:Se(t.getAttribute("data-width")),height:Se(t.getAttribute("data-height"))}}function cr(t,e){let n=null;for(let i of t.querySelectorAll("video[data-start], audio[data-start]")){let r=e.mediaStart(i);if(!Number.isFinite(r))continue;let o=e.mediaDuration(i);if(o==null||o<=ut)continue;let a=Math.max(0,r)+o;(!n||a>n.seconds)&&(n={seconds:a,element:i})}return n&&de(n.seconds)!==null?n:null}function mr(t,e){return cr(t,e)?.seconds??null}function pr(t,e){let n=[];for(let r of t.querySelectorAll("[data-composition-id][data-start]")){if(r.parentElement?.closest("[data-composition-id]")!==t)continue;let o=e.resolveStartForElement(r,0),a=e.resolveDurationForElement(r);!Number.isFinite(o)||a==null||a<=0||n.push(Math.max(0,o)+a)}let i=V(t.getAttribute("data-duration"));return de(qe({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var hr=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function fr(t,e,{unregisteredLottie:n}){let i=[];for(let o of t.querySelectorAll("[data-start]")){let a=e.resolveStartForElement(o,0);if(!Number.isFinite(a))continue;let s=e.resolveDurationForElement(o);s!=null?i.push(Math.max(0,a)+s):(P(o)||hr(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=qe({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function gr(t){return br(t).seconds}function br(t){if(t.declared!==null&&Number.isFinite(t.declared)&&t.declared>0)return{seconds:t.declared,from:"declared",floorIndex:null};let e=de(t.timeline()),n=t.floors().map(h=>h??0),i=Math.max(0,...n),r=Number.isFinite(t.fallback)&&t.fallback>ut?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=bn&&de(o)!==null?null:e,l=i>=r,u=h=>({seconds:h,from:l?"floor":"fallback",floorIndex:l?n.indexOf(i):null});if(s!==null)return s>=o?{seconds:s,from:"timeline",floorIndex:null}:u(o);if(de(i)!==null)return u(o);if(r>0)return{seconds:r,from:"fallback",floorIndex:null};let c=t.derived();return{seconds:c>0?c:0,from:"derived",floorIndex:null}}function _n(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=gr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[mr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:at}),pr(e,n)],fallback:0,derived:()=>fr(e,n,{unregisteredLottie:!1}).seconds??0});return{...dr(e),fps:gn().canonicalFps,durationSeconds:i}}function Ie(t){return t+1e-5}function yn(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function De(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var _r="hyperframes-studio-preview";var dt="data-hf-player-frame";function yr(t){return De()&&t.defaultView?.frameElement?.hasAttribute(dt)===!0}function vn(t){return t.querySelector(`meta[name="${_r}"]`)!==null||yr(t)}var An="__hfPreviewErrors";function Sn(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function En(t){return j(t)&&typeof t.getDuration=="function"}function Tn(t){return j(t)&&typeof t.duration=="function"&&typeof t.time=="function"&&typeof t.seek=="function"&&typeof t.play=="function"&&typeof t.pause=="function"}var q="https://cdn.jsdelivr.net/npm/@hyperframes/core@0.9.45/dist/hyperframe.runtime.iife.js";function ce(t){if(t===null)return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function vr(t){let e=t?.querySelector("[data-composition-id][data-width][data-height]")??t?.querySelector("[data-width][data-height]");if(!e)return null;let n=ce(e.getAttribute("data-width")),i=ce(e.getAttribute("data-height"));return n!==null&&i!==null?{width:n,height:i}:null}function Ar(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Pe=class{constructor(e,n){this._iframe=e;this._callbacks=n}_iframe;_callbacks;_interval=null;_runtimeInjected=!1;_runtimeScript=null;_failure=null;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 e=0;this._interval=setInterval(()=>{e++;let n=null;try{n=this._poll(e)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(n={kind:"error",message:i instanceof Error?i.message:String(i)})}n??=this._deadlineOutcome(e),n&&(this.stop(),n.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(n.message)):this._callbacks.onReady(n.result))},200)}_deadlineOutcome(e){return e<40||this._callbacks.hostOwnsDeadline?.()?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(e){let n=this._iframe.contentWindow;if(!n)return null;let i=Ar(Reflect.get(n,An));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(Sn({hasRuntime:a,hasTimelines:j(o)&&Object.keys(o).length>0,hasNestedCompositions:!!r?.querySelector("[data-composition-src]"),runtimeInjected:this._runtimeInjected,attempts:e}))return this._injectRuntime(),null;if(this._runtimeInjected&&!a)return null;let s=this._resolveReadyResult(n,r);return s?{kind:"ready",result:s}:null}_resolveReadyResult(e,n){let i=this._resolvePlaybackDurationAdapter(e)??{kind:"document",getDuration:()=>0},r=i.getDuration();if(!Number.isFinite(r)||r<=0){if(i.kind==="direct-timeline")return null;r=n?_n(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:vr(n)}}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{let e=this._iframe.contentWindow;return e?this._resolveDirectTimelineAdapterFromWindow(e):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(e){return this._resolveDirectTimelineAdapterFromWindow(e)}hasRuntimeBridge(e){return j(Reflect.get(e,"__player"))}_injectRuntime(){this._runtimeInjected=!0;try{let e=this._iframe.contentDocument;if(!e)return;let n=e.createElement("script");n.src=this._callbacks.resolveRuntimeUrl?.()??q,this._runtimeScript=n,n.onerror=()=>{this._runtimeScript!==n||this._iframe.contentDocument!==e||(this.stop(),this._failure={document:e},this._callbacks.onError("HyperFrames runtime failed to load from "+n.src))},(e.head||e.documentElement).appendChild(n),this._callbacks.onRuntimeInjected?.()}catch{}}_resolveDirectTimelineAdapterFromWindow(e){if(this.hasRuntimeBridge(e))return null;let n=Reflect.get(e,"__timelines");if(!j(n))return null;let i=Object.keys(n);if(i.length===0)return null;let r=this._iframe.contentDocument?.querySelector("[data-composition-id]")?.getAttribute("data-composition-id"),o=r&&r in n?r:i[i.length-1],a=n[o];return Tn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(En(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var Rn=`
|
|
1
|
+
"use strict";var HyperframesPlayer=(()=>{var je=Object.defineProperty;var hi=Object.getOwnPropertyDescriptor;var fi=Object.getOwnPropertyNames;var gi=Object.prototype.hasOwnProperty;var bi=(t,e)=>{for(var n in e)je(t,n,{get:e[n],enumerable:!0})},_i=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of fi(e))!gi.call(t,r)&&r!==n&&je(t,r,{get:()=>e[r],enumerable:!(i=hi(e,r))||i.enumerable});return t};var yi=t=>_i(je({},"__esModule",{value:!0}),t);var yo={};bi(yo,{HyperframesPlayer:()=>ze,SPEED_PRESETS:()=>pt,formatSpeed:()=>W,formatTime:()=>Le});var Ft=t=>t!==null&&Number.isFinite(t)&&t>0;function qe(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Ft(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Ft);return n.length>0?{seconds:Math.max(...n),source:"derived",pendingClips:e}:{seconds:null,source:"unresolved",pendingClips:e,reason:e>0?"every clip's length is still pending":"no authored duration and no clip with a length"}}var vi="http://www.w3.org/1999/xhtml";function Ut(t){return t!=null&&t.nodeType===1}function Ye(t){return Ut(t)&&t.namespaceURI===vi}function Xe(t,e){return Ye(t)&&t.localName===e}function Ai(t){return Xe(t,"video")}function Si(t){return Xe(t,"audio")}function P(t){return Ai(t)||Si(t)}function Ht(t){return Xe(t,"img")}function Se(t){if(t==null||t.trim()==="")return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function ee(t=document){let e=t.querySelector('[data-composition-id][data-root="true"]');return Ye(e)?e:t.querySelector("[data-composition-id]")}var G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Ro=Object.freeze([G.start,G.duration,G.trackIndex]),xo=Object.freeze([G.derivedEnd]),wo=Object.freeze([G.derivedEnd,G.legacyTrack]);function Ke(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var Vt=t=>{let e=Ke(t);return e!==null&&e>=0?e:null};function Ee(t){return Vt(t("data-playback-start"))??Vt(t("data-media-start"))??0}var te=.1,ne=10;function Ze(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function Wt(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return Ze(Number.isFinite(n)&&n>0?n:e)}function Je(t){let e=Ke(t("data-duration"));return e!==null&&e>0?e:null}function $t(t,e){let n=Je(t);if(n!==null)return n;let i=Ke(t("data-end"));return i!==null?i-e:null}var Ei=3;function Qe(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/Ze(n):null}function et(t){let{tag:e,authoredDurationSeconds:n,sourceDurationSeconds:i,mediaStartSeconds:r,playbackRate:o}=t;if(n!==null&&n>0)return{seconds:n,source:"authored"};if(e==="img")return{seconds:Ei,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=Qe(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var Ti="data-fx-chain",Mo=Ti.slice(5);var ie=(t="frequency",e="Frequency",n=1e3,i=20,r=2e4)=>({kind:"number",key:t,label:e,unit:"Hz",min:i,max:r,step:1,default:n,scale:"log",automatable:!0}),tt=(t=.707,e="Bandwidth: higher is narrower.")=>({kind:"number",key:"q",label:"Q",unit:"",min:.1,max:20,step:.01,default:t,scale:"log",automatable:!0,hint:e}),Te=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),Bt={kind:"enum",key:"poles",label:"Slope",options:[{value:"1",label:"6 dB/oct"},{value:"2",label:"12 dB/oct"}],default:"2",hint:"Two poles is the usual biquad; one pole is gentler."},Gt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[Te(-60,12,0)],web:"gain-node"},{id:"peaking",label:"Peaking EQ",group:"filter",description:"Boost or cut a band, leaving everything either side alone.",params:[ie("frequency","Frequency",1e3),Te(-40,40,0),tt(1)],web:"biquad-peaking"},{id:"lowshelf",label:"Low Shelf",group:"filter",description:"Lift or drop everything below the corner frequency.",params:[ie("frequency","Frequency",200,20,2e3),Te(-40,40,0)],web:"biquad-lowshelf"},{id:"highshelf",label:"High Shelf",group:"filter",description:"Lift or drop everything above the corner frequency.",params:[ie("frequency","Frequency",4e3,500,2e4),Te(-40,40,0)],web:"biquad-highshelf"},{id:"highpass",label:"High-pass",group:"filter",description:"Remove low frequencies: the usual fix for rumble on a voice.",params:[ie("frequency","Cutoff",300,20,2e4),tt(.707),Bt],web:"biquad-highpass"},{id:"lowpass",label:"Low-pass",group:"filter",description:"Remove high frequencies, which darkens or muffles a track.",params:[ie("frequency","Cutoff",8e3,100,2e4),tt(.707),Bt],web:"biquad-lowpass"},{id:"compressor",label:"Compressor",group:"dynamics",description:"Pull loud parts down so the quiet ones can come up.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-60,max:0,step:.5,default:-24,hint:"Level above which the compressor starts working."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:4},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:2e3,step:.1,default:20,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:250,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83,hint:"1 is a hard corner; higher eases into it."},{kind:"number",key:"makeup",label:"Makeup",unit:"dB",min:0,max:36,step:.1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1,hint:"Below 1 blends the dry signal back in."}],web:"worklet-compressor"},{id:"limiter",label:"Limiter",group:"dynamics",description:"Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.",params:[{kind:"number",key:"limit",label:"Ceiling",unit:"dB",min:-24,max:0,step:.1,default:-1},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.1,max:80,step:.1,default:5},{kind:"number",key:"release",label:"Release",unit:"ms",min:1,max:8e3,step:1,default:50,scale:"log"},{kind:"number",key:"level_out",label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0}],web:"worklet-limiter"},{id:"truepeak",label:"True-peak limiter",group:"dynamics",description:"Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.",params:[{kind:"number",key:"ceiling",label:"Ceiling",unit:"dBTP",min:-24,max:0,step:.1,default:-1,hint:"Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it."},{kind:"number",key:"lookahead",label:"Lookahead",unit:"ms",min:.5,max:10,step:.1,default:3,hint:"How far ahead the gain starts falling. Longer is smoother and adds the same latency."},{kind:"number",key:"release",label:"Release",unit:"ms",min:10,max:2e3,step:1,default:80,scale:"log"}],web:"worklet-truepeak"},{id:"gate",label:"Noise Gate",group:"dynamics",description:"Silence the track when it drops below the threshold.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-80,max:0,step:.5,default:-35},{kind:"number",key:"range",label:"Range",unit:"dB",min:-80,max:0,step:.5,default:-24,hint:"How far down the gate pulls when closed."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:10},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:9e3,step:.1,default:1,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:100,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83}],web:"worklet-gate"},{id:"saturate",label:"Saturation",group:"nonlinear",description:"Soft-clip the waveform for warmth or outright distortion.",params:[{kind:"enum",key:"type",label:"Curve",options:[{value:"tanh",label:"Tanh"},{value:"atan",label:"Arctan"},{value:"cubic",label:"Cubic"},{value:"exp",label:"Exponential"},{value:"alg",label:"Algebraic"},{value:"quintic",label:"Quintic"},{value:"sin",label:"Sine"},{value:"erf",label:"Error function"},{value:"hard",label:"Hard clip"}],default:"tanh"},{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-40,max:0,step:.1,default:-6},{kind:"number",key:"output",automatable:!0,label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0},{kind:"number",key:"oversample",label:"Oversample",unit:"x",min:1,max:8,step:1,default:4,hint:"Higher costs more but keeps aliasing down."}],web:"waveshaper"},{id:"bitcrush",label:"Bitcrush",group:"nonlinear",description:"Drop bit depth and sample rate for a lo-fi, digital sound.",params:[{kind:"number",key:"bits",label:"Bit depth",unit:"bit",min:1,max:32,step:.1,default:8},{kind:"number",key:"samples",label:"Sample hold",unit:"x",min:1,max:250,step:1,default:1,hint:"Repeats each sample N times, a crude downsample."},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-bitcrush"},{id:"pitchshift",label:"Pitch shift",group:"time",description:"Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.",params:[{kind:"number",key:"semitones",label:"Semitones",unit:"st",min:-12,max:12,step:1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-pitchshift"},{id:"delay",label:"Delay",group:"time",description:"Repeating echoes behind the dry signal.",params:[{kind:"number",key:"time",automatable:!0,label:"Time",unit:"ms",min:1,max:5e3,step:1,default:250,scale:"log"},{kind:"number",key:"feedback",automatable:!0,label:"Feedback",unit:"",min:.01,max:.95,step:.01,default:.35},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.4}],web:"delay-feedback"},{id:"chorus",label:"Chorus",group:"time",description:"Detuned copies of the signal for width and thickness.",params:[{kind:"number",key:"delay",automatable:!0,label:"Delay",unit:"ms",min:1,max:100,step:.1,default:7},{kind:"number",key:"depth",automatable:!0,label:"Depth",unit:"ms",min:0,max:10,step:.01,default:2},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.01,max:10,step:.01,default:1},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.5}],web:"chorus-lfo"},{id:"phaser",label:"Phaser",group:"time",description:"Sweeping notches moving through the spectrum.",params:[{kind:"number",key:"in_gain",automatable:!0,label:"Input",unit:"",min:0,max:1,step:.01,default:.4},{kind:"number",key:"out_gain",automatable:!0,label:"Output",unit:"",min:0,max:2,step:.01,default:.74},{kind:"number",key:"delay",label:"Delay",unit:"ms",min:.1,max:5,step:.1,default:3},{kind:"number",key:"decay",label:"Decay",unit:"",min:0,max:.99,step:.01,default:.4},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.1,max:2,step:.01,default:.5},{kind:"enum",key:"type",label:"Waveform",options:[{value:"0",label:"Triangular"},{value:"1",label:"Sinusoidal"}],default:"0"}],web:"allpass-phaser"},{id:"reverb",label:"Reverb",group:"time",description:"Room tail. Both ends convolve the same generated impulse, so preview matches render.",params:[{kind:"number",key:"size",label:"Room size",unit:"",min:.05,max:1,step:.01,default:.7},{kind:"number",key:"damping",label:"Damping",unit:"",min:0,max:1,step:.01,default:.5,hint:"Higher rolls the top off the tail faster."},{kind:"number",key:"wet",automatable:!0,label:"Wet",unit:"",min:0,max:1,step:.01,default:.35},{kind:"number",key:"dry",automatable:!0,label:"Dry",unit:"",min:0,max:1,step:.01,default:.7}],web:"convolver"}],Co=new Map(Gt.map(t=>[t.id,t]));var Io=Gt.map(t=>t.id);function Ri(t){return 10**(t/20)}var zt=Ri(12);var jt="data-automation",$o=jt.slice(5),nt=1,xi=512,L=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},Re="volume",xe="rate";function qt(t){if(t===Re)return{kind:"volume"};if(t===xe)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===wi){let r=e[2];return r?{kind:"preset",presetId:r}:null}if(e.length!==3||e[0]!=="fx")return null;let[,n,i]=e;return!n||!i?null:{kind:"fx",nodeId:n,param:i}}var wi="preset";var ki={min:0,max:zt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Mi={min:te,max:ne,step:.05,unit:"x",label:"Speed",scale:"log",default:1};function re(t){if(typeof t=="number")return Number.isFinite(t)?t:null;if(typeof t=="string"&&t.trim()!==""){let e=Number(t);return Number.isFinite(e)?e:null}return null}function Ci(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Yt(t,e){let n=re(t),i=re(e);if(n===null||i===null)return null;let r=s=>Math.min(.999,Math.max(.001,s)),o=r(n),a=r(i);return Math.abs(o-a)<1e-6?null:{x:o,y:a}}function Ii(t){let e=Ci(t?.curve),n=Yt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Di(t,e){let n=re(t?.t),i=re(t?.v);if(n===null||i===null)return null;let r=e?Math.min(e.max,Math.max(e.min,i)):i;return{t:Math.max(0,n),v:r,...Ii(t)}}function Pi(t,e){let n=t.map(r=>Di(r,e)).filter(r=>r!==null).sort((r,o)=>r.t-o.t),i=[];for(let r of n)i.length>0&&i[i.length-1].t===r.t?i[i.length-1]=r:i.push(r);return i.slice(0,xi)}function Li(t){let e=[];for(let n of t.lanes){if(!qt(n.target))continue;let i=n.target===Re?ki:n.target===xe?Mi:null,r=Pi(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:nt,lanes:e}}function Xt(t){let e;try{e=JSON.parse(t)}catch(r){throw new L(`Automation is not valid JSON: ${r.message}`)}if(typeof e!="object"||e===null)throw new L("Automation must be a JSON object.");let n=e;if(n.version!==nt)throw new L(`Unsupported automation version: ${String(n.version)}`);if(!Array.isArray(n.lanes))throw new L("Automation is missing a `lanes` array.");let i=n.lanes.map((r,o)=>{if(typeof r!="object"||r===null)throw new L(`Lane ${o} is not an object.`);let a=r;if(typeof a.target!="string"||!qt(a.target))throw new L(`Lane ${o} has an unreadable target: ${String(a.target)}`);if(!Array.isArray(a.points))throw new L(`Lane ${o} is missing a \`points\` array.`);return{target:a.target,points:a.points}});return Li({version:nt,lanes:i})}function Ni(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Oi(t,e){let n=t-.5,i=e-.5,r=.999,o=1e6,a=n>0?n/(r-t):n<0?-n/(t-(1-r)):0,s=i>0?i/(r-e):i<0?-i/(e-(1-r)):0,l=Math.min(o,Math.max(1,a,s));return{cx:t+n/l,cy:e+i/l,w:l}}function Fi(t,e,n){let{cx:i,cy:r,w:o}=Oi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=Ui(s,l,t),c=1-u,h=c*c+2*o*u*c+u*u;return h>0?(2*o*r*u*c+u*u)/h:t}function Ui(t,e,n){if(Math.abs(t)<1e-12)return Math.abs(e)<1e-12?n:-n/e;let i=Math.sqrt(Math.max(0,e*e-4*t*n)),r=(-e+i)/(2*t),o=(-e-i)/(2*t),a=s=>s>=-1e-9&&s<=1+1e-9;return a(r)?Math.min(1,Math.max(0,r)):a(o)?Math.min(1,Math.max(0,o)):n}function Hi(t,e){let n=Yt(e.viaX,e.viaY);return n?Fi(Math.min(1,Math.max(0,t)),n.x,n.y):Ni(t,e.curve)}function Vi(t,e,n,i){return i==="log"&&t>0&&e>0?Math.exp(Math.log(t)+(Math.log(e)-Math.log(t))*n):t+(e-t)*n}function we(t,e,n="linear"){let i=t.points;if(i.length===0)return 0;let r=i[0];if(e<=r.t)return r.v;let o=i[i.length-1];if(e>=o.t)return o.v;let a=0,s=i.length-1;for(;s-a>1;){let h=a+s>>1;i[h].t<=e?a=h:s=h}let l=i[a],u=i[s],c=u.t-l.t;return c<=0?u.v:Vi(l.v,u.v,Hi((e-l.t)/c,l),n)}var ke=new Map,Wi=64;function Kt(t,e=Re){let n=`${e}\0${t}`,i=ke.get(n);if(i!==void 0)return i;let r=null;try{r=Xt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return ke.size>Wi&&ke.clear(),ke.set(n,r),r}var Zt=48,Jt=new WeakMap;function $i(t){let e=t.points,n=e[0].v,i=e[e.length-1].v,r=[0],o=[0],a=l=>{let u=r[r.length-1];if(l<=u)return;let c=we(t,u,"log");r.push(l),o.push(o[o.length-1]+(c+we(t,l,"log"))/2*(l-u))},s=Math.max(0,e[0].t);a(s);for(let l=1;l<e.length;l+=1){let u=e[l-1].t,c=e[l].t;if(!(c<=0))for(let h=1;h<=Zt;h+=1)a(Math.max(u,0)+(c-u)*h/Zt)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function Bi(t){let e=Jt.get(t);return e||(e=$i(t),Jt.set(t,e)),e}function Gi(t){return typeof t!="number"&&t.points.length>0}function zi(t,e,n){let i=0,r=t.length-1;for(;r-i>1;){let o=i+r>>1;t[o]<=n?i=o:r=o}return e[i]+(e[r]-e[i])*(n-t[i])/(t[r]-t[i])}function Qt(t,e){if(typeof t=="number")return e/t;if(!Gi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=Bi(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:zi(i,n,e)}function ji(t){return t?Kt(t,xe):null}function en(t,e){return ji(t)??e}var Xo=[{id:"montage",label:"Montage",points:[[0,.9],[.15,.3],[.5,2.5],[.85,.3],[1,.9]]},{id:"hero",label:"Hero",points:[[0,1],[.25,1.6],[.5,.25],[.75,1.6],[1,1]]},{id:"bullet",label:"Bullet",points:[[0,3],[.4,3],[.5,.15],[.6,3],[1,3]]},{id:"jump-cut",label:"Jump cut",points:[[0,.5],[.24,.5],[.26,3],[.5,3],[.52,.5],[.74,.5],[.76,3],[1,3]]},{id:"flash-in",label:"Flash in",points:[[0,.3],[.6,.6],[1,5]]},{id:"flash-out",label:"Flash out",points:[[0,5],[.4,.6],[1,.3]]},{id:"ramp-in",label:"Ramp in",points:[[0,.5],[1,1]]},{id:"ramp-out",label:"Ramp out",points:[[0,1],[1,.5]]},{id:"slowmo-middle",label:"Slow-mo middle",points:[[0,1],[1/3,.35],[2/3,.35],[1,1]]}];var y=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Zo=Object.freeze([y.start,y.duration,y.trackIndex]),Jo=Object.freeze([y.derivedEnd]),Qo=Object.freeze([y.derivedEnd,y.legacyTrack]);function N(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var rn=/^[A-Za-z0-9_.:-]+$/;function on(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function tn(t,e){let n=e;for(;n>=0&&on(t,n);)n--;return n}function qi(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function Yi(t){let e=t.length-1;if(!on(t,e))return null;let n=tn(t,e);return t[n]==="."&&(n=tn(t,n-1)),n+1}function Xi(t){let e=Yi(t);if(e==null)return null;let n=qi(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!rn.test(r))return null;let o=Number(t.slice(e));return Number.isFinite(o)?{refId:r,operator:i,magnitude:o}:null}function oe(t){let e=(t??"").trim();if(!e)return null;let n=N(e);if(n!=null)return{kind:"absolute",value:n};if(rn.test(e))return{kind:"reference",refId:e,offset:0};let i=Xi(e);return i?{kind:"reference",refId:i.refId,offset:i.operator==="-"?-i.magnitude:i.magnitude}:null}function x(t,e,n,i){t.push({code:e,attribute:n,value:i})}function Ki(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",y.start,e),null;if(t.kind==="absolute")return Math.max(0,t.value);let r=n.resolveReferenceEnd?.(t.refId);return r==null||!Number.isFinite(r)?(x(i,"unresolved-start-reference",y.start,e),null):Math.max(0,r+t.offset)}var Zi=1e-9;function Ji(t,e){return Math.abs(t-e)<=Zi}function Qi(t,e,n){let i=N(t);if(i==null){x(n,"deprecated-end",y.derivedEnd,t),x(n,"invalid-end",y.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",y.derivedEnd,t);return}Ji(i,e)||(x(n,"deprecated-end",y.derivedEnd,t),x(n,"conflicting-end",y.derivedEnd,t))}function er(t,e,n){let i=N(t);return i==null||i<0?(x(n,"invalid-duration",y.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function tr(t,e,n){x(n,"deprecated-end",y.derivedEnd,t);let i=N(t);return i==null?(x(n,"invalid-end",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",y.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function nr(t,e,n){let i=t.getAttribute(y.duration),r=t.getAttribute(y.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:tr(r,e,n);let o=er(i,e,n);return r!=null&&Qi(r,o.end,n),o}function nn(t,e,n,i){let r=N(t);return r==null||!Number.isInteger(r)?(x(i,"invalid-track-index",e,t),{trackIndex:0,trackSource:"invalid"}):{trackIndex:r,trackSource:n}}function ir(t,e){let n=t.getAttribute(y.trackIndex),i=t.getAttribute(y.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",y.legacyTrack,i),nn(i,y.legacyTrack,"legacy-layer",e);let r=nn(n??"",y.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",y.legacyTrack,i);let o=N(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",y.legacyTrack,i),r}function it(t,e={}){let n=[],i=t.getAttribute(y.start),r=oe(i),o=Ki(r,i,e,n),a=nr(t,o,n),s=ir(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return N(t)}function rt(t){return Wt(e=>t.getAttribute(e),P(t)?t.defaultPlaybackRate:1)}function rr(t){return en(t.getAttribute("data-automation"),rt(t))}function ot(t){return Ee(e=>t.getAttribute(e))}function ae(t,e){return or(e,ot(t),rr(t))}function at(t){let e=et({tag:"video",authoredDurationSeconds:Je(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:ot(t),playbackRate:rt(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Me(t,e=0){return!Ht(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:et({tag:"img",authoredDurationSeconds:$t(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function or(t,e,n){return typeof n=="number"?Qe(t,e,n):Number.isFinite(t)?Qt(n,Math.max(0,t-e)):null}function an(){return globalThis}function st(t,e){if(typeof window>"u")return;let n=an(),i=n.__hf?.onSwallowed;if(i)try{i({label:t,error:e})}catch(r){}(n.__hfDebug||n.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${t} swallowed:`,e)}var ar=t=>t.paused?.()===!0?(t.startTime?.()??0)+(t.totalDuration?.()??0)/Math.abs(t.timeScale?.()||1):0;function se(t){try{if(typeof t?.duration!="function")return null;let e=t.getChildren?.(!1,!1,!0),n=Array.isArray(e)?e:[],i=Math.max(Number(t.duration()),...n.map(ar));return Number.isFinite(i)?i:null}catch(e){return st("runtime.timelineDuration",e),null}}var sn="data-hf-authored-duration",ln="data-hf-authored-end";function le(t){if(t==null||typeof t=="string"&&t.trim()==="")return null;let e=typeof t=="number"?t:Number(t);return Number.isFinite(e)?e:null}function Ce(t){let e=le(t.start);if(e==null)return null;let n=Math.max(0,e),i=le(t.duration),r=le(t.authoredDuration),o=i!=null&&i>0?i:r!=null&&r>0?r:null;if(o!=null)return{start:n,duration:o,end:n+o};let a=le(t.end),s=le(t.authoredEnd),l=a!=null&&a>n?a:s!=null&&s>n?s:null;return{start:n,duration:l==null?null:l-n,end:l}}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),ha=Object.freeze([z.start,z.duration,z.trackIndex]),fa=Object.freeze([z.derivedEnd]),ga=Object.freeze([z.derivedEnd,z.legacyTrack]);function sr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var un=t=>{let e=sr(t);return e!==null&&e>=0?e:null};function lr(t){return un(t("data-playback-start"))??un(t("data-media-start"))??0}var dn="data-hf-media-start-basis";function cn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function ur(t){return cn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function mn(t){return hn(t)?ur({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function pn(t){return hn(t)&&cn(t.basis)==="global"}function hn(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function lt(t){return lr(e=>t.getAttribute(e))}function fn(t,e){return t-lt(e)}function ue(t){let e=t.timelineRegistry??{},n=t.includeAuthoredTimingAttrs??!1,i=t.documentRef??document,r=new WeakMap,o=new WeakMap,a=new Set,s=d=>(d.hasAttribute("data-composition-id")?d.parentElement:d)?.closest("[data-composition-id]")??null,l=(d,f)=>{let b=s(f);if(b){for(let M of b.querySelectorAll(`[id="${d}"]`))if(s(M)===b)return M}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(M=>M.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,c=d=>Ce({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??Ce({start:T(d,0),end:d.getAttribute("data-end"),authoredEnd:u(d,"data-hf-authored-end")})?.duration??null,h=d=>d!=null&&Number.isFinite(d)&&d>0?d:null,v=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},_=d=>{let f=o.get(d);if(f!==void 0)return f;let b=c(d)??h(P(d)?ae(d,d.duration):null)??h(Me(d))??v(d);return o.set(d,b),b},A="[data-composition-src], [data-composition-id], [data-composition-file]",g=d=>d.matches(A),S=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${A}`)??null,k=(d,f)=>fn(T(d,f),S(d)??d),C=(d,f)=>{let b=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return b?k(b,f):0},I=(d,f)=>{let b=oe(d.getAttribute("data-start"));if(!b){let H=S(d);return H?T(H,f):f}if(b.kind==="absolute")return C(d,f)+Math.max(0,b.value);let R=l(b.refId,d);if(!R)return f;let M=T(R,0),ve=_(R)??0,Ae=Math.min(0,C(d,0));return Math.max(Ae,M+ve+b.offset)},T=(d,f)=>{let b=r.get(d);if(b!==void 0)return b??f;if(a.has(d))return f;a.add(d);try{let R=I(d,f);return r.set(d,R),R}finally{a.delete(d)}},U=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?k(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(dn)}};return{resolveStartForElement:(d,f=0)=>T(d,Math.max(0,f)),resolveDurationForElement:d=>_(d),resolveMediaStartForElement:d=>{let f=U(d);return mn({...f,ordinaryStart:()=>T(d,f.hostStart)})},resolveHostStartForElement:d=>C(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let b=d.parentElement;b;b=b.parentElement){if(!g(b)||S(b)||lt(b)<=0)continue;let R=T(b,0),M=c(b);f.push({start:R,end:M?R+M:1/0})}return f},isRootGlobalMediaStartForElement:d=>P(d)&&pn(U(d))}}function gn(){return{capturedTimeline:null,isPlaying:!1,currentTime:0,deterministicAdapters:[],canonicalFps:30,bridgeMuted:!1,bridgeVolume:1,mediaOutputMuted:!1,nativeMediaSyncDisabled:!1,webAudioMediaDisabled:!1,mediaAutoplayBlockedPosted:!1,mediaForceSyncNextTick:!1,playbackRate:1,bridgeLastPostedFrame:-1,bridgeLastPostedAt:0,bridgeLastPostedPlaying:!1,bridgeLastPostedMuted:!1,bridgeMaxPostIntervalMs:80,controlBridgeHandler:null,beforeUnloadHandler:null,injectedCompStyles:[],injectedCompScripts:[],injectedCompLinks:[],cachedTimedMediaEls:[],cachedMediaClips:[],cachedVideoClips:[],cachedMediaTimelineDurationSeconds:0,tornDown:!1,transportClock:null,transportRafId:null}}var bn=7200,ut=1/60,de=t=>t!==null&&t>ut?t:null;function dr(t){return{width:Se(t.getAttribute("data-width")),height:Se(t.getAttribute("data-height"))}}function cr(t,e){let n=null;for(let i of t.querySelectorAll("video[data-start], audio[data-start]")){let r=e.mediaStart(i);if(!Number.isFinite(r))continue;let o=e.mediaDuration(i);if(o==null||o<=ut)continue;let a=Math.max(0,r)+o;(!n||a>n.seconds)&&(n={seconds:a,element:i})}return n&&de(n.seconds)!==null?n:null}function mr(t,e){return cr(t,e)?.seconds??null}function pr(t,e){let n=[];for(let r of t.querySelectorAll("[data-composition-id][data-start]")){if(r.parentElement?.closest("[data-composition-id]")!==t)continue;let o=e.resolveStartForElement(r,0),a=e.resolveDurationForElement(r);!Number.isFinite(o)||a==null||a<=0||n.push(Math.max(0,o)+a)}let i=V(t.getAttribute("data-duration"));return de(qe({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var hr=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function fr(t,e,{unregisteredLottie:n}){let i=[];for(let o of t.querySelectorAll("[data-start]")){let a=e.resolveStartForElement(o,0);if(!Number.isFinite(a))continue;let s=e.resolveDurationForElement(o);s!=null?i.push(Math.max(0,a)+s):(P(o)||hr(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=qe({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function gr(t){return br(t).seconds}function br(t){if(t.declared!==null&&Number.isFinite(t.declared)&&t.declared>0)return{seconds:t.declared,from:"declared",floorIndex:null};let e=de(t.timeline()),n=t.floors().map(h=>h??0),i=Math.max(0,...n),r=Number.isFinite(t.fallback)&&t.fallback>ut?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=bn&&de(o)!==null?null:e,l=i>=r,u=h=>({seconds:h,from:l?"floor":"fallback",floorIndex:l?n.indexOf(i):null});if(s!==null)return s>=o?{seconds:s,from:"timeline",floorIndex:null}:u(o);if(de(i)!==null)return u(o);if(r>0)return{seconds:r,from:"fallback",floorIndex:null};let c=t.derived();return{seconds:c>0?c:0,from:"derived",floorIndex:null}}function _n(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=gr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[mr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:at}),pr(e,n)],fallback:0,derived:()=>fr(e,n,{unregisteredLottie:!1}).seconds??0});return{...dr(e),fps:gn().canonicalFps,durationSeconds:i}}function Ie(t){return t+1e-5}function yn(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function De(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var _r="hyperframes-studio-preview";var dt="data-hf-player-frame";function yr(t){return De()&&t.defaultView?.frameElement?.hasAttribute(dt)===!0}function vn(t){return t.querySelector(`meta[name="${_r}"]`)!==null||yr(t)}var An="__hfPreviewErrors";function Sn(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function En(t){return j(t)&&typeof t.getDuration=="function"}function Tn(t){return j(t)&&typeof t.duration=="function"&&typeof t.time=="function"&&typeof t.seek=="function"&&typeof t.play=="function"&&typeof t.pause=="function"}var q="https://cdn.jsdelivr.net/npm/@hyperframes/core@0.9.47/dist/hyperframe.runtime.iife.js";function ce(t){if(t===null)return null;let e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null}function vr(t){let e=t?.querySelector("[data-composition-id][data-width][data-height]")??t?.querySelector("[data-width][data-height]");if(!e)return null;let n=ce(e.getAttribute("data-width")),i=ce(e.getAttribute("data-height"));return n!==null&&i!==null?{width:n,height:i}:null}function Ar(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Pe=class{constructor(e,n){this._iframe=e;this._callbacks=n}_iframe;_callbacks;_interval=null;_runtimeInjected=!1;_runtimeScript=null;_failure=null;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 e=0;this._interval=setInterval(()=>{e++;let n=null;try{n=this._poll(e)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(n={kind:"error",message:i instanceof Error?i.message:String(i)})}n??=this._deadlineOutcome(e),n&&(this.stop(),n.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(n.message)):this._callbacks.onReady(n.result))},200)}_deadlineOutcome(e){return e<40||this._callbacks.hostOwnsDeadline?.()?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(e){let n=this._iframe.contentWindow;if(!n)return null;let i=Ar(Reflect.get(n,An));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(Sn({hasRuntime:a,hasTimelines:j(o)&&Object.keys(o).length>0,hasNestedCompositions:!!r?.querySelector("[data-composition-src]"),runtimeInjected:this._runtimeInjected,attempts:e}))return this._injectRuntime(),null;if(this._runtimeInjected&&!a)return null;let s=this._resolveReadyResult(n,r);return s?{kind:"ready",result:s}:null}_resolveReadyResult(e,n){let i=this._resolvePlaybackDurationAdapter(e)??{kind:"document",getDuration:()=>0},r=i.getDuration();if(!Number.isFinite(r)||r<=0){if(i.kind==="direct-timeline")return null;r=n?_n(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:vr(n)}}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{let e=this._iframe.contentWindow;return e?this._resolveDirectTimelineAdapterFromWindow(e):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(e){return this._resolveDirectTimelineAdapterFromWindow(e)}hasRuntimeBridge(e){return j(Reflect.get(e,"__player"))}_injectRuntime(){this._runtimeInjected=!0;try{let e=this._iframe.contentDocument;if(!e)return;let n=e.createElement("script");n.src=this._callbacks.resolveRuntimeUrl?.()??q,this._runtimeScript=n,n.onerror=()=>{this._runtimeScript!==n||this._iframe.contentDocument!==e||(this.stop(),this._failure={document:e},this._callbacks.onError("HyperFrames runtime failed to load from "+n.src))},(e.head||e.documentElement).appendChild(n),this._callbacks.onRuntimeInjected?.()}catch{}}_resolveDirectTimelineAdapterFromWindow(e){if(this.hasRuntimeBridge(e))return null;let n=Reflect.get(e,"__timelines");if(!j(n))return null;let i=Object.keys(n);if(i.length===0)return null;let r=this._iframe.contentDocument?.querySelector("[data-composition-id]")?.getAttribute("data-composition-id"),o=r&&r in n?r:i[i.length-1],a=n[o];return Tn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(En(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var Rn=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
10
|
import {
|
|
11
11
|
heardClips
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2KVC32Y3.js";
|
|
13
|
+
import "./chunk-T3QQB5EX.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveProject
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZOCKADVZ.js";
|
|
17
17
|
import {
|
|
18
18
|
formatBytes,
|
|
19
19
|
label
|
|
20
20
|
} from "./chunk-ZLTB7ZCQ.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YLX7EX7Z.js";
|
|
22
|
+
import "./chunk-HUMMHYLF.js";
|
|
23
23
|
import "./chunk-PXVQOMKL.js";
|
|
24
24
|
import "./chunk-MCDNAIFF.js";
|
|
25
25
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -31,14 +31,14 @@ import "./chunk-54HJ63Q2.js";
|
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-JCNPHRGX.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-PO3OQ2FP.js";
|
|
35
35
|
import "./chunk-Z5J67X44.js";
|
|
36
36
|
import "./chunk-5S7W3TUO.js";
|
|
37
37
|
import "./chunk-D54ZDCZR.js";
|
|
38
38
|
import "./chunk-7SY3DERR.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-DE3JRSGT.js";
|
|
40
40
|
import "./chunk-3GXQPCJC.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-U7ZCBWNM.js";
|
|
42
42
|
import "./chunk-FXMKHHPO.js";
|
|
43
43
|
import {
|
|
44
44
|
isHtmlElement
|
|
@@ -69,7 +69,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
69
69
|
import "./chunk-JOQR4AP6.js";
|
|
70
70
|
import {
|
|
71
71
|
withMeta
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FWNIFHN5.js";
|
|
73
73
|
import "./chunk-BR2JQQC5.js";
|
|
74
74
|
import "./chunk-AWD2MWWL.js";
|
|
75
75
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -78,7 +78,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
78
78
|
import "./chunk-66W5IWLO.js";
|
|
79
79
|
import "./chunk-CPHQTXP5.js";
|
|
80
80
|
import "./chunk-QBXDU24O.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-N4FY2HKI.js";
|
|
82
82
|
import "./chunk-E63BDV4Z.js";
|
|
83
83
|
import "./chunk-LW33P24U.js";
|
|
84
84
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LSUM6RTW.js";
|
|
10
10
|
import {
|
|
11
11
|
gateRegistryItemsCompatibility
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y6FRUECL.js";
|
|
13
13
|
import {
|
|
14
14
|
shellArg
|
|
15
15
|
} from "./chunk-MI54IK7G.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-D2LIT7UR.js";
|
|
30
30
|
import {
|
|
31
31
|
initialModelForLanguage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BVAN2Q5W.js";
|
|
33
33
|
import "./chunk-7CLDXOEJ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-MGDDKISL.js";
|
|
35
35
|
import {
|
|
36
36
|
DEFAULT_MODEL,
|
|
37
37
|
hasFFmpeg
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-HKXQXP7W.js";
|
|
39
39
|
import "./chunk-RZ6CXJ56.js";
|
|
40
40
|
import "./chunk-R4EWRIDL.js";
|
|
41
41
|
import "./chunk-JJ47LVJ7.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
findFFmpeg,
|
|
44
44
|
findFFprobe,
|
|
45
45
|
getFFmpegInstallHint
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-OGCP6FB2.js";
|
|
47
47
|
import "./chunk-CDNVZEGQ.js";
|
|
48
48
|
import "./chunk-UOFAE5RF.js";
|
|
49
49
|
import {
|
|
@@ -54,25 +54,25 @@ import "./chunk-EHZESMRB.js";
|
|
|
54
54
|
import "./chunk-XT7X6QCP.js";
|
|
55
55
|
import {
|
|
56
56
|
writeNewFileSync
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7RHN6N5F.js";
|
|
58
58
|
import {
|
|
59
59
|
listRegistryItems,
|
|
60
60
|
loadAllItems,
|
|
61
61
|
resolveItemWithDependencies
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-VOJ3ICMF.js";
|
|
63
63
|
import "./chunk-JHOCK3DG.js";
|
|
64
64
|
import {
|
|
65
65
|
installItem
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-UAU4SIOQ.js";
|
|
67
|
+
import "./chunk-MOTJT42J.js";
|
|
68
68
|
import "./chunk-AWDFDFI3.js";
|
|
69
69
|
import "./chunk-662337AC.js";
|
|
70
70
|
import "./chunk-D3UCUI7G.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-4XETQ5LC.js";
|
|
72
72
|
import {
|
|
73
73
|
trackInitTemplate
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import "./chunk-
|
|
74
|
+
} from "./chunk-YLX7EX7Z.js";
|
|
75
|
+
import "./chunk-HUMMHYLF.js";
|
|
76
76
|
import "./chunk-PXVQOMKL.js";
|
|
77
77
|
import "./chunk-MCDNAIFF.js";
|
|
78
78
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -88,16 +88,16 @@ import {
|
|
|
88
88
|
c,
|
|
89
89
|
isColorSupported
|
|
90
90
|
} from "./chunk-JCNPHRGX.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-PO3OQ2FP.js";
|
|
92
92
|
import "./chunk-Z5J67X44.js";
|
|
93
93
|
import "./chunk-5S7W3TUO.js";
|
|
94
94
|
import {
|
|
95
95
|
decodableAudioStream
|
|
96
96
|
} from "./chunk-D54ZDCZR.js";
|
|
97
97
|
import "./chunk-7SY3DERR.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-DE3JRSGT.js";
|
|
99
99
|
import "./chunk-3GXQPCJC.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-U7ZCBWNM.js";
|
|
101
101
|
import "./chunk-FXMKHHPO.js";
|
|
102
102
|
import "./chunk-DQZRNGDS.js";
|
|
103
103
|
import "./chunk-VC76R6W2.js";
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
import "./chunk-QBXDU24O.js";
|
|
145
145
|
import {
|
|
146
146
|
VERSION
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-N4FY2HKI.js";
|
|
148
148
|
import "./chunk-E63BDV4Z.js";
|
|
149
149
|
import "./chunk-LW33P24U.js";
|
|
150
150
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -766,7 +766,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
766
766
|
"utf-8"
|
|
767
767
|
);
|
|
768
768
|
if (!existsSync2(resolve(destDir, "hyperframes.json"))) {
|
|
769
|
-
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-
|
|
769
|
+
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-LSJSU4UR.js");
|
|
770
770
|
const { normalizeSkillSlug } = await import("./skill-ZHVLH7KX.js");
|
|
771
771
|
const skill = normalizeSkillSlug(authoringSkill);
|
|
772
772
|
createProjectConfig(
|
|
@@ -787,7 +787,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
async function keepSkillsCurrent(destDir) {
|
|
790
|
-
const { updateSkills } = await import("./skills-
|
|
790
|
+
const { updateSkills } = await import("./skills-WJWBMXTF.js");
|
|
791
791
|
console.log();
|
|
792
792
|
console.log(c.bold("Checking AI coding skills against GitHub..."));
|
|
793
793
|
try {
|
|
@@ -985,17 +985,17 @@ var init_default = defineCommand({
|
|
|
985
985
|
if (audioPath) {
|
|
986
986
|
sourceFilePath2 = audioPath;
|
|
987
987
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir2, basename(audioPath)));
|
|
988
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
988
|
+
const { getMediaDurationSeconds } = await import("./transcribe-N3NT7EMS.js");
|
|
989
989
|
videoDuration2 = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
990
990
|
console.log(`Audio: ${basename(audioPath)}`);
|
|
991
991
|
}
|
|
992
992
|
if (sourceFilePath2 && !skipTranscribe) {
|
|
993
993
|
try {
|
|
994
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
994
|
+
const { ensureWhisper, ensureModel } = await import("./manager-W5HFI6EI.js");
|
|
995
995
|
await ensureWhisper();
|
|
996
996
|
await ensureModel(initialTranscriptionModel);
|
|
997
997
|
console.log("Transcribing...");
|
|
998
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
998
|
+
const { transcribe: runTranscribe } = await import("./transcribe-N3NT7EMS.js");
|
|
999
999
|
const result = await runTranscribe(sourceFilePath2, destDir2, {
|
|
1000
1000
|
model: modelFlag,
|
|
1001
1001
|
language: languageFlag
|
|
@@ -1143,7 +1143,7 @@ var init_default = defineCommand({
|
|
|
1143
1143
|
mkdirSync(destDir, { recursive: true });
|
|
1144
1144
|
sourceFilePath = audioPath;
|
|
1145
1145
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir, basename(audioPath)));
|
|
1146
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
1146
|
+
const { getMediaDurationSeconds } = await import("./transcribe-N3NT7EMS.js");
|
|
1147
1147
|
videoDuration = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
1148
1148
|
R.info(`Audio copied to ${c.accent(basename(audioPath))}`);
|
|
1149
1149
|
}
|
|
@@ -1153,7 +1153,7 @@ var init_default = defineCommand({
|
|
|
1153
1153
|
initialValue: true
|
|
1154
1154
|
});
|
|
1155
1155
|
if (!q(transcribeChoice) && transcribeChoice) {
|
|
1156
|
-
const { findWhisper } = await import("./manager-
|
|
1156
|
+
const { findWhisper } = await import("./manager-W5HFI6EI.js");
|
|
1157
1157
|
const needsInstall = findWhisper() === void 0;
|
|
1158
1158
|
if (needsInstall) {
|
|
1159
1159
|
R.info(c.dim("whisper-cpp not found \u2014 installing automatically..."));
|
|
@@ -1163,7 +1163,7 @@ var init_default = defineCommand({
|
|
|
1163
1163
|
needsInstall ? "Installing whisper-cpp (this may take a moment)..." : "Preparing transcription..."
|
|
1164
1164
|
);
|
|
1165
1165
|
try {
|
|
1166
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
1166
|
+
const { ensureWhisper, ensureModel } = await import("./manager-W5HFI6EI.js");
|
|
1167
1167
|
await ensureWhisper({
|
|
1168
1168
|
onProgress: (msg) => spin2.message(msg)
|
|
1169
1169
|
});
|
|
@@ -1171,7 +1171,7 @@ var init_default = defineCommand({
|
|
|
1171
1171
|
onProgress: (msg) => spin2.message(msg)
|
|
1172
1172
|
});
|
|
1173
1173
|
spin2.message("Transcribing audio...");
|
|
1174
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
1174
|
+
const { transcribe: runTranscribe } = await import("./transcribe-N3NT7EMS.js");
|
|
1175
1175
|
const transcribeResult = await runTranscribe(sourceFilePath, destDir, {
|
|
1176
1176
|
model: modelFlag,
|
|
1177
1177
|
language: languageFlag,
|
|
@@ -1249,7 +1249,7 @@ ${c.dim("Use --example blank for offline use.")}`
|
|
|
1249
1249
|
}
|
|
1250
1250
|
R.info("Opening studio preview...");
|
|
1251
1251
|
try {
|
|
1252
|
-
const previewCmd = await import("./preview-
|
|
1252
|
+
const previewCmd = await import("./preview-KBV5YTCC.js").then((m) => m.default);
|
|
1253
1253
|
await runCommand(previewCmd, { rawArgs: [destDir] });
|
|
1254
1254
|
} catch {
|
|
1255
1255
|
}
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
inkOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KWFYSZCH.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -14,25 +14,25 @@ import {
|
|
|
14
14
|
runMeasure,
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XGHZO74X.js";
|
|
18
18
|
import {
|
|
19
19
|
Fix,
|
|
20
20
|
readFrameAt
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-2NDIECXH.js";
|
|
22
|
+
import "./chunk-OGCP6FB2.js";
|
|
23
23
|
import {
|
|
24
24
|
defineCommand
|
|
25
25
|
} from "./chunk-DL4OD7IA.js";
|
|
26
26
|
import "./chunk-S3S4TGEH.js";
|
|
27
27
|
import "./chunk-JCNPHRGX.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PO3OQ2FP.js";
|
|
29
29
|
import "./chunk-Z5J67X44.js";
|
|
30
30
|
import "./chunk-5S7W3TUO.js";
|
|
31
31
|
import "./chunk-D54ZDCZR.js";
|
|
32
32
|
import "./chunk-7SY3DERR.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-DE3JRSGT.js";
|
|
34
34
|
import "./chunk-3GXQPCJC.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-U7ZCBWNM.js";
|
|
36
36
|
import "./chunk-FXMKHHPO.js";
|
|
37
37
|
import "./chunk-DQZRNGDS.js";
|
|
38
38
|
import "./chunk-VC76R6W2.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
55
55
|
import "./chunk-EPQC3FGZ.js";
|
|
56
56
|
import "./chunk-4NTCQF3L.js";
|
|
57
57
|
import "./chunk-JOQR4AP6.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-FWNIFHN5.js";
|
|
59
59
|
import "./chunk-BR2JQQC5.js";
|
|
60
60
|
import "./chunk-AWD2MWWL.js";
|
|
61
61
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -64,7 +64,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
64
64
|
import "./chunk-66W5IWLO.js";
|
|
65
65
|
import "./chunk-CPHQTXP5.js";
|
|
66
66
|
import "./chunk-QBXDU24O.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-N4FY2HKI.js";
|
|
68
68
|
import "./chunk-E63BDV4Z.js";
|
|
69
69
|
import "./chunk-LW33P24U.js";
|
|
70
70
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -6,47 +6,47 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createInspectCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E57FGXI2.js";
|
|
10
10
|
import "./chunk-TQBQYO4L.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-WEP7PDVB.js";
|
|
12
12
|
import "./chunk-FWABCPJF.js";
|
|
13
13
|
import "./chunk-X7MTZ4T2.js";
|
|
14
14
|
import "./chunk-XUHOIDKG.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-P4CZXQU5.js";
|
|
16
|
+
import "./chunk-47MEWWCO.js";
|
|
17
17
|
import "./chunk-YGGZ23BB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-MR7VKWYT.js";
|
|
19
19
|
import "./chunk-262C25DQ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-WN4W76IQ.js";
|
|
21
|
+
import "./chunk-ZOCKADVZ.js";
|
|
22
|
+
import "./chunk-X3ZA4UCJ.js";
|
|
23
|
+
import "./chunk-Z2EKCD7H.js";
|
|
24
|
+
import "./chunk-67QXALQY.js";
|
|
25
|
+
import "./chunk-MXOWNQCI.js";
|
|
26
|
+
import "./chunk-AOITLZJO.js";
|
|
27
27
|
import "./chunk-DONVZZLV.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-M3MXR3HG.js";
|
|
29
|
+
import "./chunk-W4JWPYLU.js";
|
|
30
|
+
import "./chunk-22EEGJLH.js";
|
|
31
31
|
import "./chunk-BZULWFMJ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-FHDIU5ZS.js";
|
|
33
33
|
import "./chunk-ZLTB7ZCQ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-B4LOHIIR.js";
|
|
35
35
|
import "./chunk-EHZESMRB.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-FCNMU7LC.js";
|
|
37
37
|
import "./chunk-XT7X6QCP.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-7RHN6N5F.js";
|
|
39
39
|
import "./chunk-HVW7ABXD.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-VOJ3ICMF.js";
|
|
41
41
|
import "./chunk-JHOCK3DG.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-UAU4SIOQ.js";
|
|
43
|
+
import "./chunk-MOTJT42J.js";
|
|
44
44
|
import "./chunk-AWDFDFI3.js";
|
|
45
45
|
import "./chunk-662337AC.js";
|
|
46
46
|
import "./chunk-D3UCUI7G.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-4XETQ5LC.js";
|
|
48
|
+
import "./chunk-YLX7EX7Z.js";
|
|
49
|
+
import "./chunk-HUMMHYLF.js";
|
|
50
50
|
import "./chunk-PXVQOMKL.js";
|
|
51
51
|
import "./chunk-MCDNAIFF.js";
|
|
52
52
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -59,14 +59,14 @@ import "./chunk-LD6JONPV.js";
|
|
|
59
59
|
import "./chunk-ZB2XGJSP.js";
|
|
60
60
|
import "./chunk-4QFWV5GQ.js";
|
|
61
61
|
import "./chunk-SZGQU7EB.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-PO3OQ2FP.js";
|
|
63
63
|
import "./chunk-Z5J67X44.js";
|
|
64
64
|
import "./chunk-5S7W3TUO.js";
|
|
65
65
|
import "./chunk-D54ZDCZR.js";
|
|
66
66
|
import "./chunk-7SY3DERR.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-DE3JRSGT.js";
|
|
68
68
|
import "./chunk-3GXQPCJC.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-U7ZCBWNM.js";
|
|
70
70
|
import "./chunk-FXMKHHPO.js";
|
|
71
71
|
import "./chunk-DQZRNGDS.js";
|
|
72
72
|
import "./chunk-VC76R6W2.js";
|
|
@@ -89,7 +89,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
89
89
|
import "./chunk-EPQC3FGZ.js";
|
|
90
90
|
import "./chunk-4NTCQF3L.js";
|
|
91
91
|
import "./chunk-JOQR4AP6.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-FWNIFHN5.js";
|
|
93
93
|
import "./chunk-BR2JQQC5.js";
|
|
94
94
|
import "./chunk-AWD2MWWL.js";
|
|
95
95
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -98,7 +98,7 @@ import "./chunk-GR2E54E6.js";
|
|
|
98
98
|
import "./chunk-66W5IWLO.js";
|
|
99
99
|
import "./chunk-CPHQTXP5.js";
|
|
100
100
|
import "./chunk-QBXDU24O.js";
|
|
101
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-N4FY2HKI.js";
|
|
102
102
|
import "./chunk-E63BDV4Z.js";
|
|
103
103
|
import "./chunk-LW33P24U.js";
|
|
104
104
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
prepareItem,
|
|
11
11
|
publishItem,
|
|
12
12
|
recordRewrittenInstall
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-UAU4SIOQ.js";
|
|
14
|
+
import "./chunk-MOTJT42J.js";
|
|
15
15
|
import "./chunk-AWDFDFI3.js";
|
|
16
16
|
import "./chunk-662337AC.js";
|
|
17
17
|
import "./chunk-D3UCUI7G.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-4XETQ5LC.js";
|
|
19
|
+
import "./chunk-DE3JRSGT.js";
|
|
20
|
+
import "./chunk-U7ZCBWNM.js";
|
|
21
21
|
import "./chunk-FXMKHHPO.js";
|
|
22
22
|
import "./chunk-DQZRNGDS.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|