hyperframes 0.9.68 → 0.9.69
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-C4WVIZBM.js → add-OQ4ZXNC7.js} +11 -11
- package/dist/{agentPromptGenerator-6LLQYHZV.js → agentPromptGenerator-GUD24KW2.js} +5 -5
- package/dist/{animatedGifPrep-3VMWRGRQ.js → animatedGifPrep-BKKYEUKH.js} +5 -5
- package/dist/api.js +30 -30
- package/dist/{asset-WIUPYC6I.js → asset-2P4LAYTV.js} +4 -4
- package/dist/{assetCataloger-35EEYGRW.js → assetCataloger-KI45LYJP.js} +6 -6
- package/dist/{audio-X6U5EPJC.js → audio-MKXMEX7T.js} +15 -15
- package/dist/{auth-6YJJF7JO.js → auth-LPCMSL7H.js} +4 -4
- package/dist/{autoUpdate-5RW6OSP5.js → autoUpdate-SI5HXYS2.js} +2 -2
- package/dist/{avatars-3TUWVA5L.js → avatars-KQV6VM6N.js} +12 -12
- package/dist/{backgroundChecks-NFDJJ3A7.js → backgroundChecks-AUVPQSZ3.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-RD2SC67M.js → batchRender-7KFJQNBY.js} +3 -3
- package/dist/{beats-SEZBR7ZB.js → beats-JHEEJ2G6.js} +7 -7
- package/dist/{benchmark-HIHHSXWJ.js → benchmark-GLT62VBC.js} +10 -10
- package/dist/{billing-KOAEFBSV.js → billing-D63PXBEG.js} +13 -13
- package/dist/{browser-CMQWPJW3.js → browser-L4XVUSJX.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-54M62O3L.js → bundleWithLocalizedFonts-XEGC45Y4.js} +1 -1
- package/dist/{capture-M627KANC.js → capture-3NE7JKCY.js} +50 -25
- package/dist/{capture-WG3M26CA.js → capture-PFEPJ5CQ.js} +5 -5
- package/dist/{captureCompositionFrame-2MMKTYGJ.js → captureCompositionFrame-Q6YPUL24.js} +12 -12
- package/dist/{catalog-PNNNRYGW.js → catalog-MUFHKZWR.js} +11 -11
- package/dist/{catch-up-LV2JRFEP.js → catch-up-U6OBJCO7.js} +6 -6
- package/dist/{check-MNVZU53N.js → check-RDN4RKVS.js} +40 -40
- package/dist/{checkAudio-ZI7CKTSP.js → checkAudio-SFPBOZBY.js} +8 -8
- package/dist/{checkBrowser-ZFRZGSZO.js → checkBrowser-FAWJXPTX.js} +33 -33
- package/dist/{chunk-JJOEC2AX.js → chunk-24FLLQSF.js} +1 -1
- package/dist/{chunk-XBKJYNHG.js → chunk-2IWNTFTH.js} +1 -1
- package/dist/{chunk-7HTUIFCU.js → chunk-3HDWAGMI.js} +2 -2
- package/dist/{chunk-QFO7O6CB.js → chunk-3JXFI7JB.js} +20 -20
- package/dist/{chunk-ERM6VZH5.js → chunk-3RN4ZGGL.js} +2 -2
- package/dist/{chunk-2J5U5T4U.js → chunk-3TSD7EQ2.js} +12 -12
- package/dist/{chunk-TDLDZZNW.js → chunk-42PB3OZT.js} +1 -1
- package/dist/{chunk-F3W2XNVF.js → chunk-4K5UJMKD.js} +6 -6
- package/dist/{chunk-ZDPZZNLV.js → chunk-4OW5VENT.js} +1 -1
- package/dist/{chunk-GIICVK4I.js → chunk-4QCDMVB3.js} +1 -1
- package/dist/{chunk-4M5C3543.js → chunk-4YNVKPGH.js} +1 -1
- package/dist/{chunk-ID6NFBRJ.js → chunk-5CC5NT52.js} +1 -1
- package/dist/{chunk-UECOOH6G.js → chunk-5KWT5ELY.js} +4 -4
- package/dist/{chunk-WVAA6ZNR.js → chunk-5NRI2GZ2.js} +3 -3
- package/dist/{chunk-BDEXAT2A.js → chunk-5ZJVIDUI.js} +5 -5
- package/dist/{chunk-FGBIIVLD.js → chunk-62DXFOO5.js} +1 -1
- package/dist/{chunk-6YQL5U3X.js → chunk-64HSIFOR.js} +2 -2
- package/dist/{chunk-42D2JWAH.js → chunk-6EX3FAXP.js} +1 -1
- package/dist/{chunk-BBEPJIL6.js → chunk-6WPMMYRT.js} +1 -1
- package/dist/{chunk-NXTKZZGR.js → chunk-733AQ5WF.js} +1 -1
- package/dist/{chunk-C4KEZBFB.js → chunk-7QV5IJB7.js} +1 -1
- package/dist/{chunk-XERF7LKH.js → chunk-7XA7AZGV.js} +2 -2
- package/dist/{chunk-GJCRUFVA.js → chunk-A3G5SSWK.js} +1 -1
- package/dist/{chunk-BQ42ZSDC.js → chunk-AEH6I3VA.js} +2 -2
- package/dist/{chunk-TYBLBWNS.js → chunk-ARZI5CTG.js} +1 -1
- package/dist/{chunk-W3H5NVS7.js → chunk-B7Z757RJ.js} +1 -1
- package/dist/{chunk-UZLN7NLA.js → chunk-BBCXLNFM.js} +3 -3
- package/dist/{chunk-ZDM7GFKC.js → chunk-BBDE5NOY.js} +1 -1
- package/dist/{chunk-IUMEFOOG.js → chunk-CBJDDSLN.js} +11 -11
- package/dist/{chunk-Q6ECHIJY.js → chunk-CKLS2RVS.js} +1 -1
- package/dist/{chunk-CJGEN3HQ.js → chunk-DJWBK4UK.js} +9 -9
- package/dist/{chunk-PXUG4MJS.js → chunk-DRB5UK2D.js} +3 -3
- package/dist/{chunk-PDCJFCXJ.js → chunk-E5UU5MU2.js} +2 -2
- package/dist/{chunk-D4V3A66O.js → chunk-EECHZKSA.js} +2 -1
- package/dist/{chunk-XTYAKH7L.js → chunk-EWXYRRN7.js} +1 -1
- package/dist/{chunk-N2NX5H6U.js → chunk-EYW6PB36.js} +3 -3
- package/dist/{chunk-2ZRRIDLB.js → chunk-F272XKKS.js} +2 -2
- package/dist/{chunk-V7A3632C.js → chunk-FG3DCSJ4.js} +2 -2
- package/dist/{chunk-35JN6DUV.js → chunk-FPLH6C55.js} +1 -1
- package/dist/{chunk-GLPWQEIS.js → chunk-FYV3LZUN.js} +2 -2
- package/dist/{chunk-VWSXDENA.js → chunk-GG6GYXUV.js} +3 -3
- package/dist/{chunk-ACLEARJ5.js → chunk-GHXVDBBC.js} +1 -1
- package/dist/{chunk-V3KCLOPE.js → chunk-H2LAM5FR.js} +1 -1
- package/dist/{chunk-PTDAEAQY.js → chunk-HJAB3JOG.js} +1 -1
- package/dist/{chunk-ZZMOJL4C.js → chunk-HUF42U37.js} +11 -11
- package/dist/{chunk-QK2QVBVK.js → chunk-I2B2TRZG.js} +1 -1
- package/dist/{chunk-IWOK7S6W.js → chunk-I6O4DZI7.js} +1 -1
- package/dist/{chunk-X5DKQC4C.js → chunk-IL4LPAZQ.js} +1 -1
- package/dist/{chunk-MK2V4GOX.js → chunk-JAO46FOY.js} +7 -7
- package/dist/{chunk-667DGYQF.js → chunk-JO3I4BXO.js} +2 -2
- package/dist/{chunk-CUQRPA5X.js → chunk-K6GODNZT.js} +1 -1
- package/dist/{chunk-MHPVT4IR.js → chunk-KCUSOXKM.js} +2 -2
- package/dist/{chunk-S6WLGGFS.js → chunk-KKJRKVZ5.js} +1 -1
- package/dist/{chunk-MI3L5IN2.js → chunk-KQR4FJDI.js} +2 -2
- package/dist/{chunk-DN2WT7UF.js → chunk-LAQLTWMD.js} +2 -2
- package/dist/{chunk-BX4EUXTT.js → chunk-MAFH2AJE.js} +13 -13
- package/dist/{chunk-MPYCCFGC.js → chunk-ME6EKVXB.js} +4 -4
- package/dist/{chunk-2TSEYJEW.js → chunk-MKSJX4I6.js} +2 -2
- package/dist/{chunk-44YM6GQW.js → chunk-MTOPOZIM.js} +2 -2
- package/dist/{chunk-5JFK2MZE.js → chunk-MUZBTTQE.js} +2 -2
- package/dist/{chunk-2LA5EFA7.js → chunk-N3P2V7RS.js} +1 -1
- package/dist/{chunk-JL2QIL62.js → chunk-NE5YEOIA.js} +2 -2
- package/dist/{chunk-TQU327UC.js → chunk-NEFSXXXQ.js} +1 -1
- package/dist/{chunk-QQMYKUIG.js → chunk-O3HO75D5.js} +1 -1
- package/dist/{chunk-KNHIVCWP.js → chunk-OB2XFBWG.js} +7 -7
- package/dist/{chunk-JK5EXU2V.js → chunk-OB3SAKXM.js} +1 -1
- package/dist/{chunk-F266JN4O.js → chunk-OH6B5TJL.js} +6 -6
- package/dist/{chunk-2EF7PBIL.js → chunk-OHGEF6QU.js} +4 -4
- package/dist/{chunk-VB3MY67J.js → chunk-OPJBIXRI.js} +1 -1
- package/dist/{chunk-N2IQL7QC.js → chunk-OTXQ4VDJ.js} +2 -2
- package/dist/{chunk-UV6U7GP5.js → chunk-OUXG24ZI.js} +1 -1
- package/dist/{chunk-SEZ6YFNG.js → chunk-PCHSXE5J.js} +1 -1
- package/dist/{chunk-HFMRAULK.js → chunk-PGQEXWKK.js} +3 -3
- package/dist/{chunk-7KOPWRBA.js → chunk-PGRXYVKK.js} +3 -3
- package/dist/{chunk-7YFT3XBE.js → chunk-PYSHL3ZA.js} +4 -4
- package/dist/{chunk-LD6JONPV.js → chunk-Q7CZZWPB.js} +53 -46
- package/dist/{chunk-MNWXPKEP.js → chunk-QBMXTRZ2.js} +1 -1
- package/dist/{chunk-52ZPRSRR.js → chunk-QDMLR2K6.js} +2 -2
- package/dist/{chunk-OWWIJYV3.js → chunk-QEXNYXWZ.js} +1 -1
- package/dist/{chunk-MG3X2IGB.js → chunk-RDNVSDFY.js} +2 -2
- package/dist/{chunk-3DU5M4RZ.js → chunk-SQBVJUBS.js} +2 -2
- package/dist/{chunk-QEKCHUUA.js → chunk-SRYGFL4X.js} +2 -2
- package/dist/{chunk-3PXYJAP2.js → chunk-T5RAZMWO.js} +4 -4
- package/dist/{chunk-APV4EGPC.js → chunk-TCBQLCIH.js} +5 -5
- package/dist/{chunk-2QY74XCK.js → chunk-TGXF6UDS.js} +11 -17
- package/dist/{chunk-TIAWLVUB.js → chunk-TIH6APOB.js} +3 -3
- package/dist/{chunk-DXPKV74K.js → chunk-UHEM6SYQ.js} +19 -10
- package/dist/{chunk-AYE5S3LS.js → chunk-V7W64LZY.js} +1 -1
- package/dist/chunk-VDZP4BZ5.js +5146 -0
- package/dist/{chunk-JLITKVAK.js → chunk-VPIA3GTO.js} +2 -2
- package/dist/{chunk-K3JLION2.js → chunk-VPZDUCSM.js} +1 -1
- package/dist/{chunk-P63PBGBD.js → chunk-W74TM3NV.js} +1 -1
- package/dist/{chunk-CJAUHCIH.js → chunk-WMOQ57TW.js} +1 -1
- package/dist/{chunk-BIS25FPH.js → chunk-WOPCPR72.js} +1 -1
- package/dist/{chunk-WUNTVKJ5.js → chunk-X2EBEAN2.js} +1 -1
- package/dist/{chunk-U42FMHXX.js → chunk-XQTNYI52.js} +2 -2
- package/dist/{chunk-KI4QH2XR.js → chunk-YEMCMFL7.js} +1 -1
- package/dist/{chunk-ZBICCHYQ.js → chunk-YOCGTMQB.js} +2 -2
- package/dist/{chunk-A6MOPSB7.js → chunk-YOIK5SLW.js} +7 -7
- package/dist/{chunk-QA2QMK2I.js → chunk-YZPBPF7E.js} +2 -2
- package/dist/{chunk-RAOIICTD.js → chunk-Z7GGJNHT.js} +5 -5
- package/dist/{chunk-6KS7MRXE.js → chunk-ZVA57LRU.js} +1 -1
- package/dist/{clean-TGMFBGYJ.js → clean-PBUDBKN3.js} +16 -16
- package/dist/cli.js +66 -66
- package/dist/{cloud-7RGF4WQT.js → cloud-DMWF7YD7.js} +6 -6
- package/dist/{cloud-TMGC6QCF.js → cloud-WS73EESF.js} +4 -4
- package/dist/{cloudrun-S6OJKIV4.js → cloudrun-QMDS5WTP.js} +4 -4
- package/dist/{compare-UY4WUT4M.js → compare-NHKYHUFA.js} +31 -31
- package/dist/{compiler-B5OKYH72.js → compiler-VP7WQKBE.js} +2 -2
- package/dist/{component-UNC53NZD.js → component-5BFZ6K3S.js} +5 -5
- package/dist/{compositions-IHZGRDPY.js → compositions-66KLKTAT.js} +9 -9
- package/dist/{curve-PY3IWSSS.js → curve-HL4GYKLW.js} +9 -9
- package/dist/{cuts-QDZJTR4C.js → cuts-A3DIDUE5.js} +10 -10
- package/dist/{delete-NWSVGHB6.js → delete-2FH5U3BS.js} +8 -8
- package/dist/{deploy-46ZFBV7W.js → deploy-T2I6TX6S.js} +2 -2
- package/dist/{describeProject-FUNFO4CI.js → describeProject-CGO3JNDQ.js} +6 -6
- package/dist/{destroy-MGSLIVVF.js → destroy-XILHHKHS.js} +2 -2
- package/dist/{diff-KV5MIGRD.js → diff-H7YAKNOY.js} +30 -30
- package/dist/{dist-CZNBPI6A.js → dist-653H5YTV.js} +9 -9
- package/dist/{dist-ZJCX2EDP.js → dist-D2LKDDWO.js} +2 -2
- package/dist/{doctor-Y2HSNKRA.js → doctor-MIR7OXRP.js} +9 -9
- package/dist/{dotEnv-3XMUX3U6.js → dotEnv-ZPSOMSOP.js} +3 -3
- package/dist/{energy-7OXUOWH5.js → energy-H5SUZGZT.js} +10 -10
- package/dist/{events-EFOWGVWG.js → events-LXKVJNED.js} +12 -12
- package/dist/{events-C6EY6OJ5.js → events-T3ALKAW6.js} +5 -5
- package/dist/{events-2NABTDY4.js → events-Z4LW2Q7K.js} +2 -2
- package/dist/{execute-3ZQSB2IX.js → execute-EY26E6OZ.js} +24 -24
- package/dist/{extract-V36OHCDI.js → extract-5OMVLJS6.js} +10 -10
- package/dist/{face-27NDWNOT.js → face-3CA2ELZF.js} +7 -7
- package/dist/{face-UJ22O2MN.js → face-C3EYNUI7.js} +10 -10
- package/dist/{feedback-K6BSCEV7.js → feedback-JVZM3H3Y.js} +11 -11
- package/dist/{ffmpeg-YNZQRQCJ.js → ffmpeg-SHN36SBB.js} +5 -5
- package/dist/{figma-LIWR7AJJ.js → figma-GFBJK253.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-4CSSTFJP.js → frames-VUKOJHMC.js} +11 -11
- package/dist/{generate-4Q37PFXG.js → generate-LBZ7YBAJ.js} +22 -22
- package/dist/{get-AV65OF23.js → get-XG6EMYSN.js} +8 -8
- package/dist/{gpuPolicy-Y6OVUHUV.js → gpuPolicy-EPYGPUWY.js} +5 -5
- package/dist/{grade-compare-MBA4VG7M.js → grade-compare-QEAK2WAN.js} +30 -30
- package/dist/{hands-2I2HWDTL.js → hands-D5FFNG7P.js} +11 -11
- package/dist/{heifImagePrep-JC3TQ4IG.js → heifImagePrep-EPHLAUQS.js} +6 -6
- package/dist/{help-JOQIPFII.js → help-RGE2WSYV.js} +1 -1
- package/dist/{history-TLE2CGTY.js → history-6AR7FJP6.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -66
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-3HMZZAAV.js → info-ID4PL6UT.js} +11 -11
- package/dist/{init-Y7FGDZUZ.js → init-SHB3DP6L.js} +25 -25
- package/dist/{ink-K4JHETG5.js → ink-I7LJRWCL.js} +10 -10
- package/dist/{inspect-STYYLKV6.js → inspect-5WQ44QNB.js} +34 -34
- package/dist/{installer-SRPSC2X7.js → installer-X4QZF2DI.js} +4 -4
- package/dist/{keyframes-S6RFXNAA.js → keyframes-4E3RRUEE.js} +11 -11
- package/dist/{lambda-YDA3ROVC.js → lambda-2TQJLXU6.js} +10 -10
- package/dist/{launch-5UBQEKDH.js → launch-E3YGINZ4.js} +6 -6
- package/dist/{layout-LVDEEUDY.js → layout-2HS6DI7K.js} +34 -34
- package/dist/{lint-4OELSC7I.js → lint-KM2IBX4H.js} +8 -8
- package/dist/{list-5TBQYNHD.js → list-TK67T6NQ.js} +8 -8
- package/dist/{localPage-NEVG3XFX.js → localPage-FKCJ56LM.js} +5 -5
- package/dist/{login-IWDL4RDU.js → login-KNXZW6TL.js} +8 -8
- package/dist/{logout-ZTTDB46G.js → logout-RTMUK5GM.js} +4 -4
- package/dist/{look-J5XK73IV.js → look-3MW776RP.js} +10 -10
- package/dist/{manager-SNMVD5EK.js → manager-TOFBFPBV.js} +6 -6
- package/dist/{measure-COGDPBLB.js → measure-FYVTCZOB.js} +12 -12
- package/dist/{media-PYSX3S7F.js → media-TZ62KQW4.js} +6 -6
- package/dist/{media-treatment-HR3X5LCP.js → media-treatment-E63ULHVY.js} +11 -11
- package/dist/{media-use-RHUAYJ66.js → media-use-FMUH7ZUS.js} +7 -7
- package/dist/{models-Z6RV3WVR.js → models-TN7Q6LHX.js} +9 -9
- package/dist/{motionShot-DFOO4EQ3.js → motionShot-BQDN72EP.js} +15 -15
- package/dist/{normalize-audio-DV3OPHTW.js → normalize-audio-UCFVXTIJ.js} +8 -8
- package/dist/{oauth-EZ2ZQ4XR.js → oauth-NRCCRSM7.js} +2 -2
- package/dist/{open-UOR7EZ5U.js → open-V4ZVSII2.js} +12 -12
- package/dist/{parakeetRunner-DTHAZ5YS.js → parakeetRunner-2CAJDREF.js} +10 -10
- package/dist/{pipeline-IO437FLW.js → pipeline-FPO2KBRR.js} +8 -8
- package/dist/{plan-NJNZYLV3.js → plan-UVCFCV2Y.js} +16 -16
- package/dist/{play-S6G25SBX.js → play-Q5K56OLI.js} +20 -20
- package/dist/{preflight-WQQIKPKE.js → preflight-LWGJARUS.js} +6 -6
- package/dist/{present-KTL4QWTR.js → present-YYOXFE4M.js} +16 -16
- package/dist/{preview-T6HZZTTI.js → preview-HZNQXLLA.js} +17 -17
- package/dist/{privateProjectFile-EPXXPIEV.js → privateProjectFile-HR24FBS3.js} +2 -2
- package/dist/{probe-QVXQWQGR.js → probe-Q3CAECJE.js} +10 -10
- package/dist/{producer-7YJ4HGWN.js → producer-NUMTF4NV.js} +1 -1
- package/dist/{projectConfig-ORBFL2ON.js → projectConfig-MTV36AK5.js} +6 -6
- package/dist/{publication-CFIXSMO5.js → publication-RYPB4ECT.js} +2 -2
- package/dist/{publish-OLO5DOLH.js → publish-6LEWK7PW.js} +15 -15
- package/dist/{receivedRecordFollow-K2WHSMQL.js → receivedRecordFollow-IOWRQGUZ.js} +5 -5
- package/dist/{refresh-FYXJG2PX.js → refresh-26TY6T3T.js} +4 -4
- package/dist/{remove-background-CGJDVLEN.js → remove-background-WTNU2B6P.js} +9 -9
- package/dist/{render-U7GWG4G2.js → render-2CMNV3HD.js} +5 -5
- package/dist/{render-ODVFUS2P.js → render-2D2UAKFF.js} +35 -35
- package/dist/{render-JF4YUCUQ.js → render-AKSYGATG.js} +26 -26
- package/dist/{render-batch-GFCU3E6Q.js → render-batch-PJJ2IAXB.js} +5 -5
- package/dist/{resolver-7HNGNUD3.js → resolver-EOLWQUXN.js} +4 -4
- package/dist/{reverse-R4GX3IZN.js → reverse-JYB76V4W.js} +1 -1
- package/dist/{run-JRDVPXZK.js → run-GROTBG7F.js} +6 -6
- package/dist/{screenshotCapture-332Y4ROA.js → screenshotCapture-MBE35AZB.js} +7 -7
- package/dist/{service-FB4AF4RM.js → service-KPPBDSXJ.js} +11 -11
- package/dist/{share-YSLQ7PGY.js → share-4XINQNHQ.js} +14 -14
- package/dist/{sherpa-7RMA3KRP.js → sherpa-2AN24GHU.js} +9 -9
- package/dist/{skills-F5S4ISKO.js → skills-EMPTMUD4.js} +8 -8
- package/dist/{skillsUpdateCheck-MAMDFQR5.js → skillsUpdateCheck-2EBTDXQK.js} +3 -3
- package/dist/{snapshot-3GN5M7A4.js → snapshot-OGWDPVEW.js} +38 -38
- package/dist/{snapshotHeldVideos-NNAZHPYK.js → snapshotHeldVideos-L5G4BJMS.js} +6 -6
- package/dist/{src-SHRAI2Y4.js → src-RG4SCSGS.js} +8 -8
- package/dist/{src-WKQLHMUG.js → src-UG2WAJ4N.js} +4 -4
- package/dist/{start-XXU5LDBV.js → start-6O2YSEDG.js} +20 -20
- package/dist/{staticProjectServer-RBNNFU6T.js → staticProjectServer-V63BNPSM.js} +17 -17
- package/dist/{status-CTL4EWQC.js → status-2WOIELO6.js} +13 -13
- package/dist/studio/assets/{hyperframes-player-Dl0dFOXO.js → hyperframes-player-nG4__A3B.js} +1 -1
- package/dist/studio/assets/{index-DPzReVPd.js → index-C5iAFIqv.js} +165 -165
- package/dist/studio/assets/{index-DbMtST5n.js → index-kDyUffRn.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-CCAL8jtm.js → pausedVideoDecoder-IQoJJyyF.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-2AOIQOEV.js → studio-api-4GYCLMID.js} +9 -9
- package/dist/{studioServer-R6ADUV52.js → studioServer-QX63XIEQ.js} +57 -57
- package/dist/subCompositionWorker.js +3 -3
- package/dist/{sync-C4DLMXLD.js → sync-Z7IBEP3C.js} +10 -10
- package/dist/{telemetry-PCNSNJZE.js → telemetry-SLK6NDNI.js} +5 -5
- package/dist/{templates-LPGMBERL.js → templates-AUPWONXJ.js} +13 -13
- package/dist/{textOverFace-WYPZHM6O.js → textOverFace-GWO5YXHJ.js} +3 -3
- package/dist/{timeline-KTEBNLHM.js → timeline-7RPZOK45.js} +17 -17
- package/dist/{tokens-WP5ZRTJ3.js → tokens-JMQW7UGW.js} +4 -4
- package/dist/{transcribe-463K32RT.js → transcribe-5DBUPMYG.js} +8 -8
- package/dist/{transcribe-L65PBQ4S.js → transcribe-TKI4KIJK.js} +24 -24
- package/dist/{tts-DDVJVSD4.js → tts-ZXYMSDHK.js} +2 -2
- package/dist/{update-6HCOMJ7L.js → update-YP3YCDUJ.js} +9 -9
- package/dist/{updateCheck-RFRITDJM.js → updateCheck-INFKS2YR.js} +2 -2
- package/dist/{upgrade-BOQF5LPW.js → upgrade-HDDWKPJM.js} +3 -3
- package/dist/{urlDownloader-MNYASBMV.js → urlDownloader-VP7QI3OV.js} +4 -4
- package/dist/{validate-RZNELWBT.js → validate-DPETQTM3.js} +24 -24
- package/dist/{video-FEMS6YLC.js → video-H2JJ32WV.js} +6 -6
- package/dist/{voices-LADMSNKC.js → voices-J6PWVAVA.js} +20 -20
- package/dist/warmCheck.js +40 -40
- package/package.json +1 -1
- package/dist/chunk-Y2D2KZC2.js +0 -5146
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var HyperframesPlayer=(()=>{var Xe=Object.defineProperty;var Ei=Object.getOwnPropertyDescriptor;var Ti=Object.getOwnPropertyNames;var Ri=Object.prototype.hasOwnProperty;var xi=(t,e)=>{for(var n in e)Xe(t,n,{get:e[n],enumerable:!0})},wi=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Ti(e))!Ri.call(t,r)&&r!==n&&Xe(t,r,{get:()=>e[r],enumerable:!(i=Ei(e,r))||i.enumerable});return t};var ki=t=>wi(Xe({},"__esModule",{value:!0}),t);var Mo={};xi(Mo,{HyperframesPlayer:()=>qe,SPEED_PRESETS:()=>ft,formatSpeed:()=>W,formatTime:()=>Oe});var Wt=t=>t!==null&&Number.isFinite(t)&&t>0;function Ke(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Wt(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Wt);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 Mi="http://www.w3.org/1999/xhtml";function $t(t){return t!=null&&t.nodeType===1}function Ze(t){return $t(t)&&t.namespaceURI===Mi}function Je(t,e){return Ze(t)&&t.localName===e}function Ci(t){return Je(t,"video")}function Ii(t){return Je(t,"audio")}function P(t){return Ci(t)||Ii(t)}function Bt(t){return Je(t,"img")}function Te(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 Ze(e)?e:t.querySelector("[data-composition-id]")}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),No=Object.freeze([z.start,z.duration,z.trackIndex]),Oo=Object.freeze([z.derivedEnd]),Fo=Object.freeze([z.derivedEnd,z.legacyTrack]);function Qe(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var zt=t=>{let e=Qe(t);return e!==null&&e>=0?e:null};function Re(t){return zt(t("data-playback-start"))??zt(t("data-media-start"))??0}var te=.1,ne=10;function et(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function Gt(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return et(Number.isFinite(n)&&n>0?n:e)}function tt(t){let e=Qe(t("data-duration"));return e!==null&&e>0?e:null}function jt(t,e){let n=tt(t);if(n!==null)return n;let i=Qe(t("data-end"));return i!==null?i-e:null}var Di=3;function nt(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/et(n):null}function it(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:Di,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=nt(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var Pi="data-fx-chain",Ho=Pi.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}),rt=(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}),xe=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),qt={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."},Yt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[xe(-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),xe(-40,40,0),rt(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),xe(-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),xe(-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),rt(.707),qt],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),rt(.707),qt],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"}],Vo=new Map(Yt.map(t=>[t.id,t]));var Wo=Yt.map(t=>t.id);function Li(t){return 10**(t/20)}var Xt=Li(12);var Kt="data-automation",Jo=Kt.slice(5),ot=1,Ni=512,L=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},we="volume",ke="rate";function Zt(t){if(t===we)return{kind:"volume"};if(t===ke)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===Oi){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 Oi="preset";var Fi={min:0,max:Xt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Ui={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 Hi(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Jt(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 Vi(t){let e=Hi(t?.curve),n=Jt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Wi(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,...Vi(t)}}function $i(t,e){let n=t.map(r=>Wi(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,Ni)}function Bi(t){let e=[];for(let n of t.lanes){if(!Zt(n.target))continue;let i=n.target===we?Fi:n.target===ke?Ui:null,r=$i(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:ot,lanes:e}}function Qt(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!==ot)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"||!Zt(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 Bi({version:ot,lanes:i})}function zi(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Gi(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 ji(t,e,n){let{cx:i,cy:r,w:o}=Gi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=qi(s,l,t),m=1-u,h=m*m+2*o*u*m+u*u;return h>0?(2*o*r*u*m+u*u)/h:t}function qi(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 Yi(t,e){let n=Jt(e.viaX,e.viaY);return n?ji(Math.min(1,Math.max(0,t)),n.x,n.y):zi(t,e.curve)}function Xi(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 Me(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],m=u.t-l.t;return m<=0?u.v:Xi(l.v,u.v,Yi((e-l.t)/m,l),n)}var Ce=new Map,Ki=64;function en(t,e=we){let n=`${e}\0${t}`,i=Ce.get(n);if(i!==void 0)return i;let r=null;try{r=Qt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return Ce.size>Ki&&Ce.clear(),Ce.set(n,r),r}var tn=48,nn=new WeakMap;function Zi(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 m=Me(t,u,"log");r.push(l),o.push(o[o.length-1]+(m+Me(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,m=e[l].t;if(!(m<=0))for(let h=1;h<=tn;h+=1)a(Math.max(u,0)+(m-u)*h/tn)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function Ji(t){let e=nn.get(t);return e||(e=Zi(t),nn.set(t,e)),e}function Qi(t){return typeof t!="number"&&t.points.length>0}function er(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 rn(t,e){if(typeof t=="number")return e/t;if(!Qi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=Ji(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:er(i,n,e)}function tr(t){return t?en(t,ke):null}function on(t,e){return tr(t)??e}var oa=[{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 b=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),sa=Object.freeze([b.start,b.duration,b.trackIndex]),la=Object.freeze([b.derivedEnd]),ua=Object.freeze([b.derivedEnd,b.legacyTrack]);function N(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var ln=/^[A-Za-z0-9_.:-]+$/;function un(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function an(t,e){let n=e;for(;n>=0&&un(t,n);)n--;return n}function nr(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function ir(t){let e=t.length-1;if(!un(t,e))return null;let n=an(t,e);return t[n]==="."&&(n=an(t,n-1)),n+1}function rr(t){let e=ir(t);if(e==null)return null;let n=nr(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!ln.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(ln.test(e))return{kind:"reference",refId:e,offset:0};let i=rr(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 or(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",b.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",b.start,e),null):Math.max(0,r+t.offset)}var ar=1e-9;function sr(t,e){return Math.abs(t-e)<=ar}function lr(t,e,n){let i=N(t);if(i==null){x(n,"deprecated-end",b.derivedEnd,t),x(n,"invalid-end",b.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",b.derivedEnd,t);return}sr(i,e)||(x(n,"deprecated-end",b.derivedEnd,t),x(n,"conflicting-end",b.derivedEnd,t))}function ur(t,e,n){let i=N(t);return i==null||i<0?(x(n,"invalid-duration",b.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function dr(t,e,n){x(n,"deprecated-end",b.derivedEnd,t);let i=N(t);return i==null?(x(n,"invalid-end",b.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",b.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function cr(t,e,n){let i=t.getAttribute(b.duration),r=t.getAttribute(b.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:dr(r,e,n);let o=ur(i,e,n);return r!=null&&lr(r,o.end,n),o}function sn(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 mr(t,e){let n=t.getAttribute(b.trackIndex),i=t.getAttribute(b.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",b.legacyTrack,i),sn(i,b.legacyTrack,"legacy-layer",e);let r=sn(n??"",b.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",b.legacyTrack,i);let o=N(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",b.legacyTrack,i),r}function at(t,e={}){let n=[],i=t.getAttribute(b.start),r=oe(i),o=or(r,i,e,n),a=cr(t,o,n),s=mr(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return N(t)}function st(t){return Gt(e=>t.getAttribute(e),P(t)?t.defaultPlaybackRate:1)}function pr(t){return on(t.getAttribute("data-automation"),st(t))}function lt(t){return Re(e=>t.getAttribute(e))}function ae(t,e){return hr(e,lt(t),pr(t))}function ut(t){let e=it({tag:"video",authoredDurationSeconds:tt(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:lt(t),playbackRate:st(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Ie(t,e=0){return!Bt(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:it({tag:"img",authoredDurationSeconds:jt(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function hr(t,e,n){return typeof n=="number"?nt(t,e,n):Number.isFinite(t)?rn(n,Math.max(0,t-e)):null}function dn(){return globalThis}function dt(t,e){if(typeof window>"u")return;let n=dn(),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 fr=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(fr));return Number.isFinite(i)?i:null}catch(e){return dt("runtime.timelineDuration",e),null}}var cn="data-hf-authored-duration",mn="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 De(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 G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Ta=Object.freeze([G.start,G.duration,G.trackIndex]),Ra=Object.freeze([G.derivedEnd]),xa=Object.freeze([G.derivedEnd,G.legacyTrack]);function gr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var pn=t=>{let e=gr(t);return e!==null&&e>=0?e:null};function br(t){return pn(t("data-playback-start"))??pn(t("data-media-start"))??0}var hn="data-hf-media-start-basis";function fn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function _r(t){return fn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function gn(t){return _n(t)?_r({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function bn(t){return _n(t)&&fn(t.basis)==="global"}function _n(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function ct(t){return br(e=>t.getAttribute(e))}function yn(t,e){return t-ct(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 g=s(f);if(g){for(let C of g.querySelectorAll(`[id="${d}"]`))if(s(C)===g)return C}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(C=>C.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,m=d=>De({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??De({start:k(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,y=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},v=d=>{let f=o.get(d);if(f!==void 0)return f;let g=m(d)??h(P(d)?ae(d,d.duration):null)??h(Ie(d))??y(d);return o.set(d,g),g},E="[data-composition-src], [data-composition-id], [data-composition-file]",S=d=>d.matches(E),T=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${E}`)??null,_=(d,f)=>yn(k(d,f),T(d)??d),w=(d,f)=>{let g=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return g?_(g,f):0},H=(d,f)=>{let g=oe(d.getAttribute("data-start"));if(!g){let Q=T(d);return Q?k(Q,f):f}if(g.kind==="absolute")return w(d,f)+Math.max(0,g.value);let R=l(g.refId,d);if(!R)return f;let C=k(R,0),ve=v(R)??0,Se=Math.min(0,w(d,0));return Math.max(Se,C+ve+g.offset)},k=(d,f)=>{let g=r.get(d);if(g!==void 0)return g??f;if(a.has(d))return f;a.add(d);try{let R=H(d,f);return r.set(d,R),R}finally{a.delete(d)}},I=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?_(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(hn)}};return{resolveStartForElement:(d,f=0)=>k(d,Math.max(0,f)),resolveDurationForElement:d=>v(d),resolveMediaStartForElement:d=>{let f=I(d);return gn({...f,ordinaryStart:()=>k(d,f.hostStart)})},resolveHostStartForElement:d=>w(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let g=d.parentElement;g;g=g.parentElement){if(!S(g)||T(g)||ct(g)<=0)continue;let R=k(g,0),C=m(g);f.push({start:R,end:C?R+C:1/0})}return f},isRootGlobalMediaStartForElement:d=>P(d)&&bn(I(d))}}function vn(){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 Sn=7200,mt=1/60,de=t=>t!==null&&t>mt?t:null;function yr(t){return{width:Te(t.getAttribute("data-width")),height:Te(t.getAttribute("data-height"))}}function vr(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<=mt)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 Sr(t,e){return vr(t,e)?.seconds??null}function Ar(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(Ke({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var Er=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function Tr(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)||Er(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=Ke({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function Rr(t){return xr(t).seconds}function xr(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>mt?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=Sn&&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 m=t.derived();return{seconds:m>0?m:0,from:"derived",floorIndex:null}}function An(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=Rr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[Sr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:ut}),Ar(e,n)],fallback:0,derived:()=>Tr(e,n,{unregisteredLottie:!1}).seconds??0});return{...yr(e),fps:vn().canonicalFps,durationSeconds:i}}function Pe(t){return t+1e-5}function En(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function Le(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var wr="hyperframes-studio-preview";var pt="data-hf-player-frame";function kr(t){return Le()&&t.defaultView?.frameElement?.hasAttribute(pt)===!0}function Tn(t){return t.querySelector(`meta[name="${wr}"]`)!==null||kr(t)}var Rn="__hfPreviewErrors";function xn(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function wn(t){return j(t)&&typeof t.getDuration=="function"}function kn(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.68/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 Mr(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 Cr(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Ne=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=Cr(Reflect.get(n,Rn));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(xn({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?An(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:Mr(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 kn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(wn(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var Mn=`
|
|
1
|
+
"use strict";var HyperframesPlayer=(()=>{var Xe=Object.defineProperty;var Ei=Object.getOwnPropertyDescriptor;var Ti=Object.getOwnPropertyNames;var Ri=Object.prototype.hasOwnProperty;var xi=(t,e)=>{for(var n in e)Xe(t,n,{get:e[n],enumerable:!0})},wi=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Ti(e))!Ri.call(t,r)&&r!==n&&Xe(t,r,{get:()=>e[r],enumerable:!(i=Ei(e,r))||i.enumerable});return t};var ki=t=>wi(Xe({},"__esModule",{value:!0}),t);var Mo={};xi(Mo,{HyperframesPlayer:()=>qe,SPEED_PRESETS:()=>ft,formatSpeed:()=>W,formatTime:()=>Oe});var Wt=t=>t!==null&&Number.isFinite(t)&&t>0;function Ke(t){let e=t.clipEndsSeconds.filter(i=>i===null).length;if(Wt(t.authoredDurationSeconds))return{seconds:t.authoredDurationSeconds,source:"authored",pendingClips:e};let n=t.clipEndsSeconds.filter(Wt);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 Mi="http://www.w3.org/1999/xhtml";function $t(t){return t!=null&&t.nodeType===1}function Ze(t){return $t(t)&&t.namespaceURI===Mi}function Je(t,e){return Ze(t)&&t.localName===e}function Ci(t){return Je(t,"video")}function Ii(t){return Je(t,"audio")}function P(t){return Ci(t)||Ii(t)}function Bt(t){return Je(t,"img")}function Te(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 Ze(e)?e:t.querySelector("[data-composition-id]")}var z=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),No=Object.freeze([z.start,z.duration,z.trackIndex]),Oo=Object.freeze([z.derivedEnd]),Fo=Object.freeze([z.derivedEnd,z.legacyTrack]);function Qe(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var zt=t=>{let e=Qe(t);return e!==null&&e>=0?e:null};function Re(t){return zt(t("data-playback-start"))??zt(t("data-media-start"))??0}var te=.1,ne=10;function et(t){return Number.isFinite(t)&&t>0?Math.max(te,Math.min(ne,t)):1}function Gt(t,e=1){let n=Number.parseFloat(t("data-playback-rate")??"");return et(Number.isFinite(n)&&n>0?n:e)}function tt(t){let e=Qe(t("data-duration"));return e!==null&&e>0?e:null}function jt(t,e){let n=tt(t);if(n!==null)return n;let i=Qe(t("data-end"));return i!==null?i-e:null}var Di=3;function nt(t,e,n){return Number.isFinite(t)?Math.max(0,t-e)/et(n):null}function it(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:Di,source:"default"};if(i===null)return{seconds:null,source:"pending",reason:"source duration not yet probed"};let a=nt(i,r,o);return a===null?{seconds:null,source:"pending",reason:"source reported a non-finite duration"}:{seconds:a,source:"media"}}var Pi="data-fx-chain",Ho=Pi.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}),rt=(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}),xe=(t=-40,e=40,n=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:t,max:e,step:.1,default:n,automatable:!0}),qt={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."},Yt=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[xe(-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),xe(-40,40,0),rt(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),xe(-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),xe(-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),rt(.707),qt],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),rt(.707),qt],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"}],Vo=new Map(Yt.map(t=>[t.id,t]));var Wo=Yt.map(t=>t.id);function Li(t){return 10**(t/20)}var Xt=Li(12);var Kt="data-automation",Jo=Kt.slice(5),ot=1,Ni=512,L=class extends Error{constructor(e){super(e),this.name="AudioAutomationError"}},we="volume",ke="rate";function Zt(t){if(t===we)return{kind:"volume"};if(t===ke)return{kind:"rate"};let e=t.split(".");if(e.length===3&&e[0]==="fx"&&e[1]===Oi){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 Oi="preset";var Fi={min:0,max:Xt,step:.01,unit:"",label:"Volume",scale:"linear",default:1};var Ui={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 Hi(t){let e=re(t);return e===null||e===0?0:Math.min(1,Math.max(-1,e))}function Jt(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 Vi(t){let e=Hi(t?.curve),n=Jt(t?.viaX,t?.viaY);return{...e?{curve:e}:{},...n?{viaX:n.x,viaY:n.y}:{}}}function Wi(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,...Vi(t)}}function $i(t,e){let n=t.map(r=>Wi(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,Ni)}function Bi(t){let e=[];for(let n of t.lanes){if(!Zt(n.target))continue;let i=n.target===we?Fi:n.target===ke?Ui:null,r=$i(n.points??[],i);r.length>0&&e.push({target:n.target,points:r})}return{version:ot,lanes:e}}function Qt(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!==ot)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"||!Zt(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 Bi({version:ot,lanes:i})}function zi(t,e){return e?Math.pow(t,Math.pow(2,2*e)):t}function Gi(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 ji(t,e,n){let{cx:i,cy:r,w:o}=Gi(e,n),a=2-2*o,s=t*a-1+2*o*i,l=-t*a-2*o*i,u=qi(s,l,t),m=1-u,h=m*m+2*o*u*m+u*u;return h>0?(2*o*r*u*m+u*u)/h:t}function qi(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 Yi(t,e){let n=Jt(e.viaX,e.viaY);return n?ji(Math.min(1,Math.max(0,t)),n.x,n.y):zi(t,e.curve)}function Xi(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 Me(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],m=u.t-l.t;return m<=0?u.v:Xi(l.v,u.v,Yi((e-l.t)/m,l),n)}var Ce=new Map,Ki=64;function en(t,e=we){let n=`${e}\0${t}`,i=Ce.get(n);if(i!==void 0)return i;let r=null;try{r=Qt(t).lanes.find(o=>o.target===e)??null}catch{r=null}return Ce.size>Ki&&Ce.clear(),Ce.set(n,r),r}var tn=48,nn=new WeakMap;function Zi(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 m=Me(t,u,"log");r.push(l),o.push(o[o.length-1]+(m+Me(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,m=e[l].t;if(!(m<=0))for(let h=1;h<=tn;h+=1)a(Math.max(u,0)+(m-u)*h/tn)}return{ts:Float64Array.from(r),ss:Float64Array.from(o),firstRate:n,lastRate:i}}function Ji(t){let e=nn.get(t);return e||(e=Zi(t),nn.set(t,e)),e}function Qi(t){return typeof t!="number"&&t.points.length>0}function er(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 rn(t,e){if(typeof t=="number")return e/t;if(!Qi(t))return e;let{ts:n,ss:i,firstRate:r,lastRate:o}=Ji(t),a=n.length-1;return e<=0?e/r:e>=i[a]?n[a]+(e-i[a])/o:er(i,n,e)}function tr(t){return t?en(t,ke):null}function on(t,e){return tr(t)??e}var oa=[{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 b=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),sa=Object.freeze([b.start,b.duration,b.trackIndex]),la=Object.freeze([b.derivedEnd]),ua=Object.freeze([b.derivedEnd,b.legacyTrack]);function N(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var ln=/^[A-Za-z0-9_.:-]+$/;function un(t,e){let n=t.charCodeAt(e);return n>=48&&n<=57}function an(t,e){let n=e;for(;n>=0&&un(t,n);)n--;return n}function nr(t,e){let n=e;for(;n>=0&&(t[n]??"").trim()==="";)n--;return n}function ir(t){let e=t.length-1;if(!un(t,e))return null;let n=an(t,e);return t[n]==="."&&(n=an(t,n-1)),n+1}function rr(t){let e=ir(t);if(e==null)return null;let n=nr(t,e-1),i=t[n];if(i!=="+"&&i!=="-")return null;let r=t.slice(0,n).trim();if(!ln.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(ln.test(e))return{kind:"reference",refId:e,offset:0};let i=rr(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 or(t,e,n,i){if(e==null||e.trim()==="")return n.defaultStart===void 0?0:n.defaultStart;if(!t)return x(i,"invalid-start",b.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",b.start,e),null):Math.max(0,r+t.offset)}var ar=1e-9;function sr(t,e){return Math.abs(t-e)<=ar}function lr(t,e,n){let i=N(t);if(i==null){x(n,"deprecated-end",b.derivedEnd,t),x(n,"invalid-end",b.derivedEnd,t);return}if(e==null){x(n,"deprecated-end",b.derivedEnd,t);return}sr(i,e)||(x(n,"deprecated-end",b.derivedEnd,t),x(n,"conflicting-end",b.derivedEnd,t))}function ur(t,e,n){let i=N(t);return i==null||i<0?(x(n,"invalid-duration",b.duration,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i,end:e==null?null:e+i,durationSource:"duration"}}function dr(t,e,n){x(n,"deprecated-end",b.derivedEnd,t);let i=N(t);return i==null?(x(n,"invalid-end",b.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):e==null?{duration:null,end:i,durationSource:"legacy-end"}:i<e?(x(n,"end-before-start",b.derivedEnd,t),{duration:null,end:null,durationSource:"invalid"}):{duration:i-e,end:i,durationSource:"legacy-end"}}function cr(t,e,n){let i=t.getAttribute(b.duration),r=t.getAttribute(b.derivedEnd);if(i==null)return r==null?{duration:null,end:null,durationSource:"missing"}:dr(r,e,n);let o=ur(i,e,n);return r!=null&&lr(r,o.end,n),o}function sn(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 mr(t,e){let n=t.getAttribute(b.trackIndex),i=t.getAttribute(b.legacyTrack);if(n==null&&i==null)return{trackIndex:0,trackSource:"default"};if(n==null&&i!=null)return x(e,"deprecated-layer",b.legacyTrack,i),sn(i,b.legacyTrack,"legacy-layer",e);let r=sn(n??"",b.trackIndex,"track-index",e);if(i==null)return r;x(e,"deprecated-layer",b.legacyTrack,i);let o=N(i);return o!=null&&o!==r.trackIndex&&x(e,"conflicting-layer",b.legacyTrack,i),r}function at(t,e={}){let n=[],i=t.getAttribute(b.start),r=oe(i),o=or(r,i,e,n),a=cr(t,o,n),s=mr(t,n);return{startExpression:r,start:o,...a,...s,diagnostics:n}}function V(t){return N(t)}function st(t){return Gt(e=>t.getAttribute(e),P(t)?t.defaultPlaybackRate:1)}function pr(t){return on(t.getAttribute("data-automation"),st(t))}function lt(t){return Re(e=>t.getAttribute(e))}function ae(t,e){return hr(e,lt(t),pr(t))}function ut(t){let e=it({tag:"video",authoredDurationSeconds:tt(n=>t.getAttribute(n)),sourceDurationSeconds:Number.isFinite(t.duration)?t.duration:null,mediaStartSeconds:lt(t),playbackRate:st(t)});return e.source==="media"?ae(t,t.duration):e.seconds}function Ie(t,e=0){return!Bt(t)||!t.hasAttribute("data-start")&&!t.hasAttribute("data-track-index")?null:it({tag:"img",authoredDurationSeconds:jt(n=>t.getAttribute(n),e),sourceDurationSeconds:null,mediaStartSeconds:0,playbackRate:1}).seconds}function hr(t,e,n){return typeof n=="number"?nt(t,e,n):Number.isFinite(t)?rn(n,Math.max(0,t-e)):null}function dn(){return globalThis}function dt(t,e){if(typeof window>"u")return;let n=dn(),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 fr=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(fr));return Number.isFinite(i)?i:null}catch(e){return dt("runtime.timelineDuration",e),null}}var cn="data-hf-authored-duration",mn="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 De(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 G=Object.freeze({start:"data-start",duration:"data-duration",trackIndex:"data-track-index",derivedEnd:"data-end",legacyTrack:"data-layer"}),Ta=Object.freeze([G.start,G.duration,G.trackIndex]),Ra=Object.freeze([G.derivedEnd]),xa=Object.freeze([G.derivedEnd,G.legacyTrack]);function gr(t){if(t==null||t.trim()==="")return null;let e=Number(t);return Number.isFinite(e)?e:null}var pn=t=>{let e=gr(t);return e!==null&&e>=0?e:null};function br(t){return pn(t("data-playback-start"))??pn(t("data-media-start"))??0}var hn="data-hf-media-start-basis";function fn(t){return t?.trim().toLowerCase()==="global"?"global":"local"}function _r(t){return fn(t.basis)==="global"?t.authoredStart:t.hostStart+t.authoredStart}function gn(t){return _n(t)?_r({authoredStart:t.authoredStart,hostStart:t.hostStart,basis:t.basis}):t.ordinaryStart()}function bn(t){return _n(t)&&fn(t.basis)==="global"}function _n(t){return!t.hasAutoStart&&t.authoredStart!=null&&t.hostStart!==0}function ct(t){return br(e=>t.getAttribute(e))}function yn(t,e){return t-ct(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 g=s(f);if(g){for(let C of g.querySelectorAll(`[id="${d}"]`))if(s(C)===g)return C}let R=i.getElementById(d);return R||(Array.from(i.querySelectorAll("[data-composition-id]")).find(C=>C.getAttribute("data-composition-id")===d)??null)},u=(d,f)=>n?d.getAttribute(f):null,m=d=>De({start:0,duration:d.getAttribute("data-duration"),authoredDuration:u(d,"data-hf-authored-duration")})?.duration??De({start:k(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,y=d=>{let f=d.getAttribute("data-composition-id");return f?h(se(e[f])):null},v=d=>{let f=o.get(d);if(f!==void 0)return f;let g=m(d)??h(P(d)?ae(d,d.duration):null)??h(Ie(d))??y(d);return o.set(d,g),g},E="[data-composition-src], [data-composition-id], [data-composition-file]",S=d=>d.matches(E),T=d=>!d.hasAttribute("data-composition-id")||oe(d.getAttribute("data-start"))?null:d.parentElement?.closest(`[data-start], ${E}`)??null,_=(d,f)=>yn(k(d,f),T(d)??d),w=(d,f)=>{let g=d.hasAttribute("data-composition-id")?d.parentElement?.closest("[data-composition-id]"):d.closest("[data-composition-id]");return g?_(g,f):0},H=(d,f)=>{let g=oe(d.getAttribute("data-start"));if(!g){let Q=T(d);return Q?k(Q,f):f}if(g.kind==="absolute")return w(d,f)+Math.max(0,g.value);let R=l(g.refId,d);if(!R)return f;let C=k(R,0),ve=v(R)??0,Se=Math.min(0,w(d,0));return Math.max(Se,C+ve+g.offset)},k=(d,f)=>{let g=r.get(d);if(g!==void 0)return g??f;if(a.has(d))return f;a.add(d);try{let R=H(d,f);return r.set(d,R),R}finally{a.delete(d)}},I=d=>{let f=d.closest("[data-composition-id]");return{authoredStart:V(d.getAttribute("data-start")),hostStart:f?_(f,0):0,hasAutoStart:d.hasAttribute("data-hf-auto-start"),basis:d.getAttribute(hn)}};return{resolveStartForElement:(d,f=0)=>k(d,Math.max(0,f)),resolveDurationForElement:d=>v(d),resolveMediaStartForElement:d=>{let f=I(d);return gn({...f,ordinaryStart:()=>k(d,f.hostStart)})},resolveHostStartForElement:d=>w(d,0),resolveHostSlotsForElement:d=>{let f=[];for(let g=d.parentElement;g;g=g.parentElement){if(!S(g)||T(g)||ct(g)<=0)continue;let R=k(g,0),C=m(g);f.push({start:R,end:C?R+C:1/0})}return f},isRootGlobalMediaStartForElement:d=>P(d)&&bn(I(d))}}function vn(){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 Sn=7200,mt=1/60,de=t=>t!==null&&t>mt?t:null;function yr(t){return{width:Te(t.getAttribute("data-width")),height:Te(t.getAttribute("data-height"))}}function vr(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<=mt)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 Sr(t,e){return vr(t,e)?.seconds??null}function Ar(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(Ke({authoredDurationSeconds:null,clipEndsSeconds:[i,...n]}).seconds)}var Er=t=>t.hasAttribute("data-composition-id")||t.hasAttribute("data-composition-src");function Tr(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)||Er(o))&&i.push(null)}(n||t.querySelector("[data-lottie-src]"))&&i.push(null);let r=Ke({authoredDurationSeconds:null,clipEndsSeconds:i});return r.pendingClips>0?{...r,seconds:null,source:"unresolved",reason:"a clip's length is pending"}:r}function Rr(t){return xr(t).seconds}function xr(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>mt?t.fallback:0,o=Math.max(i,r),s=e!==null&&e>=Sn&&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 m=t.derived();return{seconds:m>0?m:0,from:"derived",floorIndex:null}}function An(t){let e=ee(t);if(!e)return null;let n=ue({timelineRegistry:{},includeAuthoredTimingAttrs:!0,documentRef:t}),i=Rr({declared:V(e.getAttribute("data-duration")),timeline:()=>null,floors:()=>[Sr(t,{mediaStart:n.resolveMediaStartForElement,mediaDuration:ut}),Ar(e,n)],fallback:0,derived:()=>Tr(e,n,{unregisteredLottie:!1}).seconds??0});return{...yr(e),fps:vn().canonicalFps,durationSeconds:i}}function Pe(t){return t+1e-5}function En(){let{userAgent:t,maxTouchPoints:e}=navigator;return/iP(hone|ad|od)/.test(t)||/Macintosh/.test(t)&&e>1}function Le(){let{userAgent:t}=navigator;return/AppleWebKit/.test(t)&&!/Chrom(e|ium)\/|Edg\/|Android/.test(t)}var wr="hyperframes-studio-preview";var pt="data-hf-player-frame";function kr(t){return Le()&&t.defaultView?.frameElement?.hasAttribute(pt)===!0}function Tn(t){return t.querySelector(`meta[name="${wr}"]`)!==null||kr(t)}var Rn="__hfPreviewErrors";function xn(t){return t.hasRuntime||t.runtimeInjected?!1:!!(t.hasNestedCompositions||t.hasTimelines&&t.attempts>=5)}function j(t){return typeof t=="object"&&t!==null}function wn(t){return j(t)&&typeof t.getDuration=="function"}function kn(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.69/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 Mr(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 Cr(t){return Array.isArray(t)?t.find(e=>typeof e=="string"&&e.trim()!==""&&e!=="[object Event]")??null:null}var Ne=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=Cr(Reflect.get(n,Rn));if(i!==null)return{kind:"error",message:i};let r=this._iframe.contentDocument,o=Reflect.get(n,"__timelines"),a=this.hasRuntimeBridge(n);if(xn({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?An(n)?.durationSeconds??0:0}return r<=0?null:{duration:r,adapter:{...i,getDuration:()=>r},compositionSize:Mr(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 kn(a)?a:null}_resolvePlaybackDurationAdapter(e){let n=Reflect.get(e,"__player");if(wn(n))return{kind:"runtime",getDuration:()=>n.getDuration()};let i=this._resolveDirectTimelineAdapterFromWindow(e);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}};var Mn=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
10
|
import {
|
|
11
11
|
heardClips
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-PGRXYVKK.js";
|
|
13
|
+
import "./chunk-V7W64LZY.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveProject
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ARZI5CTG.js";
|
|
17
|
+
import "./chunk-64HSIFOR.js";
|
|
18
|
+
import "./chunk-FPLH6C55.js";
|
|
19
19
|
import "./chunk-PXVQOMKL.js";
|
|
20
20
|
import "./chunk-NGRWDXRZ.js";
|
|
21
21
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -31,20 +31,20 @@ import "./chunk-54HJ63Q2.js";
|
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-JCNPHRGX.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-E5UU5MU2.js";
|
|
35
35
|
import "./chunk-Z5J67X44.js";
|
|
36
36
|
import "./chunk-33JUCUTM.js";
|
|
37
37
|
import "./chunk-3GXQPCJC.js";
|
|
38
38
|
import "./chunk-LKHH4BUW.js";
|
|
39
39
|
import "./chunk-5S7W3TUO.js";
|
|
40
40
|
import "./chunk-D54ZDCZR.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-6WPMMYRT.js";
|
|
42
42
|
import "./chunk-NIEOUHVQ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-QEXNYXWZ.js";
|
|
44
44
|
import "./chunk-LIHELBPB.js";
|
|
45
45
|
import {
|
|
46
46
|
isHtmlElement
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-VDZP4BZ5.js";
|
|
48
48
|
import "./chunk-PWRUMN7B.js";
|
|
49
49
|
import {
|
|
50
50
|
terminalText
|
|
@@ -73,7 +73,7 @@ import "./chunk-4NTCQF3L.js";
|
|
|
73
73
|
import "./chunk-KUJJJBV2.js";
|
|
74
74
|
import {
|
|
75
75
|
withMeta
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-YEMCMFL7.js";
|
|
77
77
|
import "./chunk-BR2JQQC5.js";
|
|
78
78
|
import "./chunk-AWD2MWWL.js";
|
|
79
79
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -82,7 +82,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
82
82
|
import "./chunk-U7M4SZUB.js";
|
|
83
83
|
import "./chunk-CPHQTXP5.js";
|
|
84
84
|
import "./chunk-QBXDU24O.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-RDNVSDFY.js";
|
|
86
86
|
import "./chunk-E63BDV4Z.js";
|
|
87
87
|
import "./chunk-LW33P24U.js";
|
|
88
88
|
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-OB3SAKXM.js";
|
|
13
13
|
import {
|
|
14
14
|
shellArg
|
|
15
15
|
} from "./chunk-IEESWUIQ.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-OH3MUFZG.js";
|
|
30
30
|
import {
|
|
31
31
|
initialModelForLanguage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DRB5UK2D.js";
|
|
33
33
|
import "./chunk-SDOVSUQP.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-OUXG24ZI.js";
|
|
35
35
|
import {
|
|
36
36
|
DEFAULT_MODEL,
|
|
37
37
|
hasFFmpeg
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2IWNTFTH.js";
|
|
39
39
|
import "./chunk-RZ6CXJ56.js";
|
|
40
40
|
import "./chunk-6B2TH52B.js";
|
|
41
41
|
import "./chunk-JJ47LVJ7.js";
|
|
@@ -53,12 +53,12 @@ import {
|
|
|
53
53
|
findFFmpeg,
|
|
54
54
|
findFFprobe,
|
|
55
55
|
getFFmpegInstallHint
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-W74TM3NV.js";
|
|
57
57
|
import "./chunk-EHZESMRB.js";
|
|
58
58
|
import {
|
|
59
59
|
trackInitTemplate
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-64HSIFOR.js";
|
|
61
|
+
import "./chunk-FPLH6C55.js";
|
|
62
62
|
import "./chunk-PXVQOMKL.js";
|
|
63
63
|
import "./chunk-NGRWDXRZ.js";
|
|
64
64
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -66,12 +66,12 @@ import {
|
|
|
66
66
|
listRegistryItems,
|
|
67
67
|
loadAllItems,
|
|
68
68
|
resolveItemWithDependencies
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-IL4LPAZQ.js";
|
|
70
70
|
import "./chunk-XFF4XJZO.js";
|
|
71
71
|
import {
|
|
72
72
|
installItem
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-SQBVJUBS.js";
|
|
74
|
+
import "./chunk-KKJRKVZ5.js";
|
|
75
75
|
import "./chunk-AWDFDFI3.js";
|
|
76
76
|
import "./chunk-662337AC.js";
|
|
77
77
|
import "./chunk-D3UCUI7G.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
c,
|
|
89
89
|
isColorSupported
|
|
90
90
|
} from "./chunk-JCNPHRGX.js";
|
|
91
|
-
import "./chunk-
|
|
91
|
+
import "./chunk-E5UU5MU2.js";
|
|
92
92
|
import "./chunk-Z5J67X44.js";
|
|
93
93
|
import "./chunk-33JUCUTM.js";
|
|
94
94
|
import "./chunk-3GXQPCJC.js";
|
|
@@ -97,11 +97,11 @@ import "./chunk-5S7W3TUO.js";
|
|
|
97
97
|
import {
|
|
98
98
|
decodableAudioStream
|
|
99
99
|
} from "./chunk-D54ZDCZR.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-6WPMMYRT.js";
|
|
101
101
|
import "./chunk-NIEOUHVQ.js";
|
|
102
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-QEXNYXWZ.js";
|
|
103
103
|
import "./chunk-LIHELBPB.js";
|
|
104
|
-
import "./chunk-
|
|
104
|
+
import "./chunk-VDZP4BZ5.js";
|
|
105
105
|
import "./chunk-PWRUMN7B.js";
|
|
106
106
|
import {
|
|
107
107
|
terminalText
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
import "./chunk-QBXDU24O.js";
|
|
151
151
|
import {
|
|
152
152
|
VERSION
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-RDNVSDFY.js";
|
|
154
154
|
import "./chunk-E63BDV4Z.js";
|
|
155
155
|
import "./chunk-LW33P24U.js";
|
|
156
156
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -776,7 +776,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
776
776
|
"utf-8"
|
|
777
777
|
);
|
|
778
778
|
if (!existsSync2(resolve(destDir, "hyperframes.json"))) {
|
|
779
|
-
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-
|
|
779
|
+
const { createProjectConfig, DEFAULT_PROJECT_CONFIG } = await import("./projectConfig-MTV36AK5.js");
|
|
780
780
|
const { normalizeSkillSlug } = await import("./skill-ZHVLH7KX.js");
|
|
781
781
|
const skill = normalizeSkillSlug(authoringSkill);
|
|
782
782
|
createProjectConfig(
|
|
@@ -797,7 +797,7 @@ async function scaffoldProject(destDir, name, templateId, media, tailwind = fals
|
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
async function keepSkillsCurrent(destDir) {
|
|
800
|
-
const { updateSkills } = await import("./skills-
|
|
800
|
+
const { updateSkills } = await import("./skills-EMPTMUD4.js");
|
|
801
801
|
console.log();
|
|
802
802
|
console.log(c.bold("Checking AI coding skills against GitHub..."));
|
|
803
803
|
try {
|
|
@@ -995,17 +995,17 @@ var init_default = defineCommand({
|
|
|
995
995
|
if (audioPath) {
|
|
996
996
|
sourceFilePath2 = audioPath;
|
|
997
997
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir2, basename(audioPath)));
|
|
998
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
998
|
+
const { getMediaDurationSeconds } = await import("./transcribe-5DBUPMYG.js");
|
|
999
999
|
videoDuration2 = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
1000
1000
|
console.log(`Audio: ${basename(audioPath)}`);
|
|
1001
1001
|
}
|
|
1002
1002
|
if (sourceFilePath2 && !skipTranscribe) {
|
|
1003
1003
|
try {
|
|
1004
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
1004
|
+
const { ensureWhisper, ensureModel } = await import("./manager-TOFBFPBV.js");
|
|
1005
1005
|
await ensureWhisper();
|
|
1006
1006
|
await ensureModel(initialTranscriptionModel);
|
|
1007
1007
|
console.log("Transcribing...");
|
|
1008
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
1008
|
+
const { transcribe: runTranscribe } = await import("./transcribe-5DBUPMYG.js");
|
|
1009
1009
|
const result = await runTranscribe(sourceFilePath2, destDir2, {
|
|
1010
1010
|
model: modelFlag,
|
|
1011
1011
|
language: languageFlag
|
|
@@ -1155,7 +1155,7 @@ var init_default = defineCommand({
|
|
|
1155
1155
|
mkdirSync(destDir, { recursive: true });
|
|
1156
1156
|
sourceFilePath = audioPath;
|
|
1157
1157
|
copyIntoProjectUnlessAlreadyThere(audioPath, resolve(destDir, basename(audioPath)));
|
|
1158
|
-
const { getMediaDurationSeconds } = await import("./transcribe-
|
|
1158
|
+
const { getMediaDurationSeconds } = await import("./transcribe-5DBUPMYG.js");
|
|
1159
1159
|
videoDuration = getMediaDurationSeconds(audioPath) ?? void 0;
|
|
1160
1160
|
R.info(`Audio copied to ${c.accent(basename(audioPath))}`);
|
|
1161
1161
|
}
|
|
@@ -1165,7 +1165,7 @@ var init_default = defineCommand({
|
|
|
1165
1165
|
initialValue: true
|
|
1166
1166
|
});
|
|
1167
1167
|
if (!q(transcribeChoice) && transcribeChoice) {
|
|
1168
|
-
const { findWhisper } = await import("./manager-
|
|
1168
|
+
const { findWhisper } = await import("./manager-TOFBFPBV.js");
|
|
1169
1169
|
const needsInstall = findWhisper() === void 0;
|
|
1170
1170
|
if (needsInstall) {
|
|
1171
1171
|
R.info(c.dim("whisper-cpp not found \u2014 installing automatically..."));
|
|
@@ -1175,7 +1175,7 @@ var init_default = defineCommand({
|
|
|
1175
1175
|
needsInstall ? "Installing whisper-cpp (this may take a moment)..." : "Preparing transcription..."
|
|
1176
1176
|
);
|
|
1177
1177
|
try {
|
|
1178
|
-
const { ensureWhisper, ensureModel } = await import("./manager-
|
|
1178
|
+
const { ensureWhisper, ensureModel } = await import("./manager-TOFBFPBV.js");
|
|
1179
1179
|
await ensureWhisper({
|
|
1180
1180
|
onProgress: (msg) => spin2.message(msg)
|
|
1181
1181
|
});
|
|
@@ -1183,7 +1183,7 @@ var init_default = defineCommand({
|
|
|
1183
1183
|
onProgress: (msg) => spin2.message(msg)
|
|
1184
1184
|
});
|
|
1185
1185
|
spin2.message("Transcribing audio...");
|
|
1186
|
-
const { transcribe: runTranscribe } = await import("./transcribe-
|
|
1186
|
+
const { transcribe: runTranscribe } = await import("./transcribe-5DBUPMYG.js");
|
|
1187
1187
|
const transcribeResult = await runTranscribe(sourceFilePath, destDir, {
|
|
1188
1188
|
model: modelFlag,
|
|
1189
1189
|
language: languageFlag,
|
|
@@ -1261,7 +1261,7 @@ ${c.dim("Use --example blank for offline use.")}`
|
|
|
1261
1261
|
}
|
|
1262
1262
|
R.info("Opening studio preview...");
|
|
1263
1263
|
try {
|
|
1264
|
-
const previewCmd = await import("./preview-
|
|
1264
|
+
const previewCmd = await import("./preview-HZNQXLLA.js").then((m) => m.default);
|
|
1265
1265
|
await runCommand(previewCmd, { rawArgs: [destDir] });
|
|
1266
1266
|
} catch {
|
|
1267
1267
|
}
|
|
@@ -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-7QV5IJB7.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
num,
|
|
@@ -14,30 +14,30 @@ import {
|
|
|
14
14
|
runMeasure,
|
|
15
15
|
videoAndRoi,
|
|
16
16
|
videoArg
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MKSJX4I6.js";
|
|
18
18
|
import {
|
|
19
19
|
Fix,
|
|
20
20
|
readFrameAt
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-CKLS2RVS.js";
|
|
22
|
+
import "./chunk-W74TM3NV.js";
|
|
23
23
|
import "./chunk-244FN6TG.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
27
27
|
import "./chunk-S3S4TGEH.js";
|
|
28
28
|
import "./chunk-JCNPHRGX.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-E5UU5MU2.js";
|
|
30
30
|
import "./chunk-Z5J67X44.js";
|
|
31
31
|
import "./chunk-33JUCUTM.js";
|
|
32
32
|
import "./chunk-3GXQPCJC.js";
|
|
33
33
|
import "./chunk-LKHH4BUW.js";
|
|
34
34
|
import "./chunk-5S7W3TUO.js";
|
|
35
35
|
import "./chunk-D54ZDCZR.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-6WPMMYRT.js";
|
|
37
37
|
import "./chunk-NIEOUHVQ.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-QEXNYXWZ.js";
|
|
39
39
|
import "./chunk-LIHELBPB.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-VDZP4BZ5.js";
|
|
41
41
|
import "./chunk-PWRUMN7B.js";
|
|
42
42
|
import "./chunk-OGL5VQGT.js";
|
|
43
43
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -58,7 +58,7 @@ import "./chunk-NTGTWXAO.js";
|
|
|
58
58
|
import "./chunk-WFQJ6EJ6.js";
|
|
59
59
|
import "./chunk-4NTCQF3L.js";
|
|
60
60
|
import "./chunk-KUJJJBV2.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-YEMCMFL7.js";
|
|
62
62
|
import "./chunk-BR2JQQC5.js";
|
|
63
63
|
import "./chunk-AWD2MWWL.js";
|
|
64
64
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -67,7 +67,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
67
67
|
import "./chunk-U7M4SZUB.js";
|
|
68
68
|
import "./chunk-CPHQTXP5.js";
|
|
69
69
|
import "./chunk-QBXDU24O.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-RDNVSDFY.js";
|
|
71
71
|
import "./chunk-E63BDV4Z.js";
|
|
72
72
|
import "./chunk-LW33P24U.js";
|
|
73
73
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -6,52 +6,52 @@ 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-CBJDDSLN.js";
|
|
10
10
|
import "./chunk-TQBQYO4L.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MAFH2AJE.js";
|
|
12
|
+
import "./chunk-3TSD7EQ2.js";
|
|
13
|
+
import "./chunk-BBCXLNFM.js";
|
|
14
|
+
import "./chunk-DJWBK4UK.js";
|
|
15
|
+
import "./chunk-5ZJVIDUI.js";
|
|
16
16
|
import "./chunk-X7MTZ4T2.js";
|
|
17
17
|
import "./chunk-XUHOIDKG.js";
|
|
18
18
|
import "./chunk-X7MTZ4T2.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HUF42U37.js";
|
|
20
|
+
import "./chunk-KCUSOXKM.js";
|
|
21
|
+
import "./chunk-HJAB3JOG.js";
|
|
22
22
|
import "./chunk-X7MTZ4T2.js";
|
|
23
23
|
import "./chunk-262C25DQ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-VPZDUCSM.js";
|
|
25
25
|
import "./chunk-YGGZ23BB.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-UHEM6SYQ.js";
|
|
27
|
+
import "./chunk-VPIA3GTO.js";
|
|
28
28
|
import "./chunk-CPQTWPMM.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-FG3DCSJ4.js";
|
|
30
|
+
import "./chunk-LAQLTWMD.js";
|
|
31
|
+
import "./chunk-4OW5VENT.js";
|
|
32
32
|
import "./chunk-4WUTXBRK.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-PGQEXWKK.js";
|
|
34
|
+
import "./chunk-WMOQ57TW.js";
|
|
35
|
+
import "./chunk-ARZI5CTG.js";
|
|
36
36
|
import "./chunk-7FIJRDUG.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-F272XKKS.js";
|
|
38
|
+
import "./chunk-AEH6I3VA.js";
|
|
39
|
+
import "./chunk-A3G5SSWK.js";
|
|
40
40
|
import "./chunk-XT7X6QCP.js";
|
|
41
41
|
import "./chunk-GGY5M6BU.js";
|
|
42
42
|
import "./chunk-HVW7ABXD.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-W74TM3NV.js";
|
|
44
44
|
import "./chunk-EHZESMRB.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-64HSIFOR.js";
|
|
46
|
+
import "./chunk-FPLH6C55.js";
|
|
47
47
|
import "./chunk-PXVQOMKL.js";
|
|
48
48
|
import "./chunk-NGRWDXRZ.js";
|
|
49
49
|
import "./chunk-DMW5SSUN.js";
|
|
50
50
|
import "./chunk-244FN6TG.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-IL4LPAZQ.js";
|
|
52
52
|
import "./chunk-XFF4XJZO.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-SQBVJUBS.js";
|
|
54
|
+
import "./chunk-KKJRKVZ5.js";
|
|
55
55
|
import "./chunk-AWDFDFI3.js";
|
|
56
56
|
import "./chunk-662337AC.js";
|
|
57
57
|
import "./chunk-D3UCUI7G.js";
|
|
@@ -62,10 +62,10 @@ import "./chunk-64O3DG3E.js";
|
|
|
62
62
|
import "./chunk-54HJ63Q2.js";
|
|
63
63
|
import "./chunk-YAROSZMP.js";
|
|
64
64
|
import "./chunk-JCNPHRGX.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-Q7CZZWPB.js";
|
|
66
66
|
import "./chunk-ZB2XGJSP.js";
|
|
67
67
|
import "./chunk-HLVNKNSW.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-E5UU5MU2.js";
|
|
69
69
|
import "./chunk-Z5J67X44.js";
|
|
70
70
|
import "./chunk-33JUCUTM.js";
|
|
71
71
|
import "./chunk-P2ZMVHTF.js";
|
|
@@ -75,13 +75,13 @@ import "./chunk-3GXQPCJC.js";
|
|
|
75
75
|
import "./chunk-LKHH4BUW.js";
|
|
76
76
|
import "./chunk-5S7W3TUO.js";
|
|
77
77
|
import "./chunk-D54ZDCZR.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-6WPMMYRT.js";
|
|
79
79
|
import "./chunk-D37I36FY.js";
|
|
80
80
|
import "./chunk-F6PI5O3H.js";
|
|
81
81
|
import "./chunk-NIEOUHVQ.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-QEXNYXWZ.js";
|
|
83
83
|
import "./chunk-LIHELBPB.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-VDZP4BZ5.js";
|
|
85
85
|
import "./chunk-PWRUMN7B.js";
|
|
86
86
|
import "./chunk-OGL5VQGT.js";
|
|
87
87
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -103,7 +103,7 @@ import "./chunk-NTGTWXAO.js";
|
|
|
103
103
|
import "./chunk-WFQJ6EJ6.js";
|
|
104
104
|
import "./chunk-4NTCQF3L.js";
|
|
105
105
|
import "./chunk-KUJJJBV2.js";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-YEMCMFL7.js";
|
|
107
107
|
import "./chunk-BR2JQQC5.js";
|
|
108
108
|
import "./chunk-AWD2MWWL.js";
|
|
109
109
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -112,7 +112,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
112
112
|
import "./chunk-U7M4SZUB.js";
|
|
113
113
|
import "./chunk-CPHQTXP5.js";
|
|
114
114
|
import "./chunk-QBXDU24O.js";
|
|
115
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-RDNVSDFY.js";
|
|
116
116
|
import "./chunk-E63BDV4Z.js";
|
|
117
117
|
import "./chunk-LW33P24U.js";
|
|
118
118
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
prepareItem,
|
|
11
11
|
publishItem,
|
|
12
12
|
recordRewrittenInstall
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-SQBVJUBS.js";
|
|
14
|
+
import "./chunk-KKJRKVZ5.js";
|
|
15
15
|
import "./chunk-AWDFDFI3.js";
|
|
16
16
|
import "./chunk-662337AC.js";
|
|
17
17
|
import "./chunk-D3UCUI7G.js";
|
|
18
18
|
import "./chunk-HYQ6S7R6.js";
|
|
19
19
|
import "./chunk-NIEOUHVQ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-QEXNYXWZ.js";
|
|
21
21
|
import "./chunk-LIHELBPB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VDZP4BZ5.js";
|
|
23
23
|
import "./chunk-PWRUMN7B.js";
|
|
24
24
|
import "./chunk-OGL5VQGT.js";
|
|
25
25
|
import "./chunk-RQVDTPGD.js";
|