hyperframes 0.8.160 → 0.8.161
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-OGBTJCU4.js → add-7U5TQGSQ.js} +5 -5
- package/dist/{asset-DKQFFGPP.js → asset-N3JO5LHY.js} +2 -2
- package/dist/audio-QNPSENQR.js +1131 -0
- package/dist/{auth-AQMRAFXN.js → auth-HINUM4A7.js} +1 -1
- package/dist/{autoUpdate-NFQB7V2X.js → autoUpdate-AAMND4XK.js} +2 -2
- package/dist/{backgroundChecks-7JKE2FIU.js → backgroundChecks-FXIEHPND.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/beats-UZNREIRU.js +239 -0
- package/dist/{benchmark-RRU67WEY.js → benchmark-YM3QXPH6.js} +5 -5
- package/dist/{browser-K4TP4ZM2.js → browser-SD3T2XMH.js} +3 -3
- package/dist/{capture-T2TBROMS.js → capture-GUO23PVN.js} +1 -1
- package/dist/{catalog-IMIHQ4KX.js → catalog-6PF7KZAZ.js} +5 -5
- package/dist/{catch-up-UY5MJWOG.js → catch-up-5LTQTD3X.js} +4 -4
- package/dist/{check-6NAJSJHQ.js → check-NE2YXJR2.js} +18 -18
- package/dist/{checkBrowser-JWNQFYTY.js → checkBrowser-XDTXDEYO.js} +14 -14
- package/dist/{chunk-VD7WQYTO.js → chunk-5YSHR4XC.js} +5 -5
- package/dist/{chunk-FRGYHRP6.js → chunk-7ZKEOQ5N.js} +1 -1
- package/dist/{chunk-D46G5IQH.js → chunk-AHNJMWMU.js} +7 -7
- package/dist/{chunk-D2WGLWIK.js → chunk-AY2FEJDR.js} +2 -2
- package/dist/{chunk-V2FQQILJ.js → chunk-CGOGEA62.js} +1 -1
- package/dist/chunk-FFJ5TDRD.js +1181 -0
- package/dist/{chunk-GOASXWDD.js → chunk-G5AZMSQP.js} +1 -1
- package/dist/{chunk-PINFPWRV.js → chunk-GIPNECWL.js} +12 -10
- package/dist/{chunk-4VYNMVMC.js → chunk-H4VXLZ6O.js} +4 -4
- package/dist/{chunk-KRE55WLI.js → chunk-HM4PLNTX.js} +1 -1
- package/dist/{chunk-MYGXKD7A.js → chunk-I6CVW5CA.js} +2 -2
- package/dist/{chunk-VZ6LCTOZ.js → chunk-IL6C7T5X.js} +1 -1
- package/dist/{chunk-ICZVCVD3.js → chunk-KZPG4DXX.js} +1 -1
- package/dist/{chunk-6MCASYIS.js → chunk-ON2HYNGB.js} +4 -4
- package/dist/{chunk-IGTGLGML.js → chunk-PYMYGIZ4.js} +2 -2
- package/dist/{chunk-7OFNPEKR.js → chunk-PZH7FTRZ.js} +2 -2
- package/dist/{chunk-GOTCGKX6.js → chunk-RGYEL7QD.js} +1 -1
- package/dist/{chunk-3XPVZLAR.js → chunk-SAS6XBY5.js} +1 -1
- package/dist/{chunk-KWRBEDJI.js → chunk-TXG6W4X4.js} +2 -2
- package/dist/{chunk-TTFDAWCS.js → chunk-VYTGK5YA.js} +1 -1
- package/dist/{chunk-37LNY2EC.js → chunk-WDUEIP22.js} +1 -1
- package/dist/{chunk-TU2CQJO3.js → chunk-WNXVPPMV.js} +2 -2
- package/dist/{chunk-SHVDJON6.js → chunk-XWWYGXJ5.js} +1 -1
- package/dist/{clean-RRE6PMKZ.js → clean-4Y4G3YV3.js} +6 -6
- package/dist/cli.js +49 -49
- package/dist/{cloud-OIR6K7TS.js → cloud-BWXJB2B7.js} +4 -4
- package/dist/{compare-E57W737I.js → compare-OLLJBVNL.js} +11 -11
- package/dist/{component-I2O4AX56.js → component-ULSAC45J.js} +3 -3
- package/dist/{compositions-B6NKZHIN.js → compositions-G2JTQBTJ.js} +5 -5
- package/dist/{delete-DTUNBC6K.js → delete-BONV4XUI.js} +2 -2
- package/dist/{doctor-SCNB73Z3.js → doctor-EMLC4VZ4.js} +3 -3
- package/dist/{events-6LQNRKHZ.js → events-LF2J436R.js} +3 -3
- package/dist/{events-Q37UJL36.js → events-ZFGAA5UD.js} +2 -2
- package/dist/{feedback-FOEBE2OW.js → feedback-WKCUQE6T.js} +5 -5
- package/dist/{figma-54MRTBKH.js → figma-VJKG252Z.js} +3 -3
- package/dist/fontLocalizeCli.js +1 -1
- package/dist/{get-EPGHM2SA.js → get-OINAGI2B.js} +2 -2
- package/dist/{grade-compare-LOJWX6SK.js → grade-compare-DY5VFXPK.js} +11 -11
- package/dist/{help-6FPZI3WP.js → help-HHB7JRZA.js} +1 -1
- package/dist/{history-GRXSUA5R.js → history-D44JJBBC.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-LV7DFCLD.js → info-2WZLISAR.js} +5 -5
- package/dist/{init-3J7BSAC3.js → init-UYZS2WXQ.js} +6 -6
- package/dist/{inspect-5RON554C.js → inspect-IEFCB4PT.js} +13 -13
- package/dist/{keyframes-KHXTHI5C.js → keyframes-FS43QHM2.js} +6 -6
- package/dist/{layout-DVWWT2TR.js → layout-AK2A7Q46.js} +13 -13
- package/dist/{lint-Q5WFB5ST.js → lint-JRJUSZO7.js} +6 -6
- package/dist/{list-RFEUTW6N.js → list-BKKGPT7E.js} +2 -2
- package/dist/{login-WBHWA4M2.js → login-QJZTUDDO.js} +4 -4
- package/dist/{media-treatment-WRHVNWLS.js → media-treatment-473OM7G7.js} +6 -6
- package/dist/{motionShot-BZLRN3SS.js → motionShot-C2YDYRNB.js} +5 -5
- package/dist/{normalize-audio-4YXE3RIF.js → normalize-audio-M3KVTFTQ.js} +4 -4
- package/dist/{open-MCGYEFML.js → open-363TDMEP.js} +4 -4
- package/dist/{play-WXOV3BD7.js → play-2UB33EGB.js} +9 -9
- package/dist/{present-RVG4J6CJ.js → present-F3ASSDJX.js} +9 -9
- package/dist/{preview-PDUQR2JQ.js → preview-EF76WIHK.js} +5 -5
- package/dist/publish-VX5OH4ST.js +1 -1
- package/dist/{render-JNJVFBFF.js → render-GL72Z2W2.js} +6 -6
- package/dist/{render-5BGU3FXU.js → render-GUBYSVQD.js} +7 -7
- package/dist/skills/hyperframes-cli/references/beats.md +2 -6
- package/dist/{skills-LKJA27ZN.js → skills-7XI4DHLN.js} +5 -5
- package/dist/{skillsUpdateCheck-RFZJKZC4.js → skillsUpdateCheck-34WOCMHV.js} +3 -3
- package/dist/{snapshot-EOYA4MLG.js → snapshot-SGTO2OQ4.js} +13 -13
- package/dist/{staticProjectServer-S3NK3V4S.js → staticProjectServer-4CQ3KDQK.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-CXL23NEv.js → hyperframes-player-C8VFb4NS.js} +1 -1
- package/dist/studio/assets/{index-D7BvLHtZ.js → index-J8Bpbg6o.js} +118 -118
- package/dist/studio/assets/{index-CejKvBNw.js → index-RZnZPb-B.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YM5HLXUS.js → studio-api-RYCDLEOR.js} +3 -3
- package/dist/{studioServer-CEXJK5TC.js → studioServer-VIIVGFZH.js} +9 -9
- package/dist/{telemetry-7AWYECPL.js → telemetry-YKVYLJSB.js} +3 -3
- package/dist/{timeline-G7H373XX.js → timeline-LDRA7QZ3.js} +8 -8
- package/dist/{tokens-GYH7NXXA.js → tokens-ZAOFRU55.js} +2 -2
- package/dist/{transcribe-CIC7WAT5.js → transcribe-CJXUHTAS.js} +3 -3
- package/dist/{updateCheck-MQ44KGUR.js → updateCheck-TIRFQBSI.js} +2 -2
- package/dist/{upgrade-OL47SID3.js → upgrade-7R5G3MNO.js} +2 -2
- package/dist/{validate-TDCH6X3C.js → validate-VGEPWGQO.js} +11 -11
- package/package.json +2 -3
- package/dist/audio-GK4OVVTH.js +0 -2086
- package/dist/beat-analyzer.global.js +0 -341
- package/dist/beats-C3ZSK2R2.js +0 -322
- package/dist/lib-TPG2ZMAX.js +0 -128
- package/dist/studio/assets/index-Bl_xrA5T.js +0 -1
- /package/dist/{capture-ZPRK3TOZ.js → capture-M5ZAD3BI.js} +0 -0
- /package/dist/{lambda-4KCSMIM6.js → lambda-RAJA6ZNA.js} +0 -0
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
inProcessAnswer,
|
|
9
9
|
serveStaticProjectHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RGYEL7QD.js";
|
|
11
11
|
import "./chunk-X7MTZ4T2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XWWYGXJ5.js";
|
|
13
13
|
import "./chunk-XUHOIDKG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-C6TPGUWD.js";
|
|
14
|
+
import "./chunk-5YSHR4XC.js";
|
|
15
|
+
import "./chunk-GIPNECWL.js";
|
|
17
16
|
import "./chunk-6JR2XUEE.js";
|
|
17
|
+
import "./chunk-C6TPGUWD.js";
|
|
18
18
|
import "./chunk-4ID635FL.js";
|
|
19
19
|
import "./chunk-JGYHWVXQ.js";
|
|
20
20
|
import "./chunk-FFDC5OWV.js";
|
package/dist/studio/assets/{hyperframes-player-CXL23NEv.js → hyperframes-player-C8VFb4NS.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as We,s as ze,g as ge,F as ye}from"./index-
|
|
1
|
+
var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as We,s as ze,g as ge,F as ye}from"./index-J8Bpbg6o.js";function $e(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function x(r){return typeof r=="object"&&r!==null}function je(r){return x(r)&&typeof r.getDuration=="function"}function Be(r){return x(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function qe(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const W=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:qe("0.0.0-dev");function $(r){if(r===null)return null;const i=Number.parseInt(r,10);return Number.isFinite(i)&&i>0?i:null}function Ge(r){const i=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!i)return null;const e=$(i.getAttribute("data-width")),t=$(i.getAttribute("data-height"));return e!==null&&t!==null?{width:e,height:t}:null}function Ye(r){return Array.isArray(r)?r.find(i=>typeof i=="string"&&i.trim()!==""&&i!=="[object Event]")??null:null}class Xe{constructor(i,e){l(this,"_interval",null);l(this,"_runtimeInjected",!1);l(this,"_runtimeScript",null);l(this,"_failure",null);this._iframe=i,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{i++;let e=null;try{e=this._poll(i)}catch(t){t instanceof DOMException&&t.name==="SecurityError"||(e={kind:"error",message:t instanceof Error?t.message:String(t)})}if(e){this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result);return}i>=40&&(this.stop(),this._failure={document:this._iframe.contentDocument},this._callbacks.onError("Composition timeline not found after 8s"))},200)}_poll(i){const e=this._iframe.contentWindow;if(!e)return null;const t=Ye(Reflect.get(e,Oe));if(t!==null)return{kind:"error",message:t};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if($e({hasRuntime:o,hasTimelines:x(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:i}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(i,e){var n;const t=this._resolvePlaybackDurationAdapter(i)??{kind:"document",getDuration:()=>0};let s=t.getDuration();if(!Number.isFinite(s)||s<=0){if(t.kind==="direct-timeline")return null;s=e?((n=Ne(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...t,getDuration:()=>s},compositionSize:Ge(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const i=this._iframe.contentWindow;return i?this._resolveDirectTimelineAdapterFromWindow(i):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(i){return this._resolveDirectTimelineAdapterFromWindow(i)}hasRuntimeBridge(i){return x(Reflect.get(i,"__player"))}_injectRuntime(){var i,e,t,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(i=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(i))??W,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(t=this._callbacks).onRuntimeInjected)==null||s.call(t)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!x(e))return null;const t=Object.keys(e);if(t.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:t[t.length-1],o=e[n];return Be(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Ze=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|