hyperframes 0.8.101 → 0.8.103

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.
Files changed (98) hide show
  1. package/dist/{add-M5KBSDPJ.js → add-7YNDDJZM.js} +5 -5
  2. package/dist/{asset-2NJUOCPI.js → asset-QQGUOKN7.js} +2 -2
  3. package/dist/{auth-423RKRS6.js → auth-ITO2U4DF.js} +1 -1
  4. package/dist/{autoUpdate-HCAC6VDI.js → autoUpdate-YA7T35TP.js} +2 -2
  5. package/dist/{backgroundChecks-JIDPHRJ2.js → backgroundChecks-C6JEBKPE.js} +3 -3
  6. package/dist/backgroundChecksWorker.js +3 -3
  7. package/dist/{beats-R6V7WZG4.js → beats-P6S6UEOR.js} +4 -4
  8. package/dist/{benchmark-3VGFAD46.js → benchmark-JIZAHWG4.js} +5 -5
  9. package/dist/{browser-5SLUGL46.js → browser-GFQ45FKN.js} +3 -3
  10. package/dist/{catalog-PNNGLZDM.js → catalog-RPJ3NWVH.js} +5 -5
  11. package/dist/{check-YPOAHNJC.js → check-BJU7NGBL.js} +12 -12
  12. package/dist/{checkBrowser-TNHECLLW.js → checkBrowser-OXJCECZI.js} +10 -10
  13. package/dist/{chunk-VAX7B75N.js → chunk-2DHH45NV.js} +1 -1
  14. package/dist/{chunk-YBDVWFXZ.js → chunk-2QRIIMGS.js} +3 -3
  15. package/dist/{chunk-WBAU2ZER.js → chunk-3XNY2WK4.js} +1 -1
  16. package/dist/{chunk-XL2CUGEG.js → chunk-7QGIB2E6.js} +5 -6
  17. package/dist/{chunk-HT4EXFB7.js → chunk-A4UUULN3.js} +3 -3
  18. package/dist/{chunk-QH3XIWBC.js → chunk-A5QSC7DM.js} +2 -2
  19. package/dist/{chunk-KT72ISZW.js → chunk-ASSVFGUL.js} +1 -1
  20. package/dist/{chunk-VOHOVOIF.js → chunk-CDLT2S5Y.js} +2 -2
  21. package/dist/{chunk-QKRI7R7S.js → chunk-E3JCMLAF.js} +1 -1
  22. package/dist/{chunk-MCABWC2G.js → chunk-E5HKS3CE.js} +1 -1
  23. package/dist/{chunk-VBTX4DPW.js → chunk-ELDDZYIJ.js} +1 -1
  24. package/dist/{chunk-Z5E4I37A.js → chunk-G4WCIV45.js} +2 -2
  25. package/dist/{chunk-YIVWMI2I.js → chunk-IHMR2L3L.js} +1 -1
  26. package/dist/{chunk-RCXGMESW.js → chunk-J5MQ3GPK.js} +2 -2
  27. package/dist/{chunk-CU67AYDW.js → chunk-P77GUHVY.js} +1 -1
  28. package/dist/{chunk-WV5HXMVM.js → chunk-PQL3VANN.js} +2 -2
  29. package/dist/{chunk-DQPLITE6.js → chunk-SFXDX5F6.js} +2 -2
  30. package/dist/{chunk-DXA3NT4O.js → chunk-VQOZ3JO6.js} +1 -1
  31. package/dist/{clean-G7NQCBM3.js → clean-FPXQNQQ2.js} +4 -4
  32. package/dist/cli.js +44 -44
  33. package/dist/{cloud-52R7HCW5.js → cloud-BFMMRGJL.js} +4 -4
  34. package/dist/{compare-CBQXDLWD.js → compare-IKBMRXHF.js} +7 -7
  35. package/dist/{component-7ALRLLD5.js → component-RN32W42O.js} +3 -3
  36. package/dist/{compositions-JDEN5OQG.js → compositions-O2WKG7BC.js} +5 -5
  37. package/dist/{delete-J4SAQYES.js → delete-EF2RARRV.js} +2 -2
  38. package/dist/{doctor-FMO7BK6A.js → doctor-L6CV6YXV.js} +3 -3
  39. package/dist/{events-7K4NY4PI.js → events-M76TNXYH.js} +2 -2
  40. package/dist/{events-TUTMBJQH.js → events-ZCO6M2G6.js} +3 -3
  41. package/dist/{feedback-5DZLRPOS.js → feedback-2ACKQBUF.js} +4 -4
  42. package/dist/{figma-SGQGEZ2E.js → figma-KZC2I2K7.js} +3 -3
  43. package/dist/fontLocalizeCli.js +1 -1
  44. package/dist/{get-XM6A2IAO.js → get-HSREOXQC.js} +2 -2
  45. package/dist/{grade-compare-EX2DWA6T.js → grade-compare-HN5IRGL5.js} +7 -7
  46. package/dist/{help-BYZET5LF.js → help-ACSFM5ZX.js} +1 -1
  47. package/dist/{history-KDMR56PG.js → history-THD5S55X.js} +6 -6
  48. package/dist/hyperframes-player.global.js +1 -1
  49. package/dist/{info-DWER3M4R.js → info-JGRSYW7U.js} +5 -5
  50. package/dist/{init-52NPEJD4.js → init-WULQFAB7.js} +6 -6
  51. package/dist/{inspect-D2SO6CR5.js → inspect-QPT6PESN.js} +9 -9
  52. package/dist/{keyframes-TYQUMARP.js → keyframes-MD5JHEQG.js} +6 -6
  53. package/dist/{layout-WPTFL7PL.js → layout-SAA5WUEQ.js} +9 -9
  54. package/dist/{lint-Y7XKAY6I.js → lint-3TPZORDF.js} +6 -6
  55. package/dist/{list-5IUCPJ5F.js → list-AURXVOVG.js} +2 -2
  56. package/dist/{login-TYGLKBKQ.js → login-GTLUEY2W.js} +4 -4
  57. package/dist/{media-treatment-R22MNQKD.js → media-treatment-5S22MP33.js} +5 -5
  58. package/dist/{motionShot-XRSPP3G6.js → motionShot-TGJGSYGV.js} +1 -1
  59. package/dist/{normalize-audio-VPDMEDFY.js → normalize-audio-JSYJFSDX.js} +4 -4
  60. package/dist/{play-PYPQ5BX5.js → play-HVM27UXW.js} +7 -7
  61. package/dist/{present-EGIEW2QS.js → present-UKH4JT6K.js} +7 -7
  62. package/dist/{preview-MOKQFMZS.js → preview-IJ27BKQK.js} +5 -5
  63. package/dist/{render-3DDDZIRS.js → render-7QYVDEZ3.js} +5 -5
  64. package/dist/{render-3UAZC5BG.js → render-Q4IVNLDA.js} +5 -5
  65. package/dist/{skills-KJATAPZG.js → skills-2UKBANDP.js} +5 -5
  66. package/dist/{skillsUpdateCheck-XSVUFHU4.js → skillsUpdateCheck-Z7D7NR3G.js} +3 -3
  67. package/dist/{snapshot-WFYVYTAY.js → snapshot-CJCGJCK2.js} +7 -7
  68. package/dist/{staticProjectServer-TEVGFDXU.js → staticProjectServer-QDLEH37G.js} +3 -3
  69. package/dist/studio/assets/{hyperframes-player-CFJLrHRF.js → hyperframes-player-DG795Hwu.js} +1 -1
  70. package/dist/studio/assets/{index-BBNVnnyH.js → index-BPJRf2X9.js} +119 -119
  71. package/dist/studio/assets/{index-CJOzbslX.js → index-BiEtDkae.js} +1 -1
  72. package/dist/studio/assets/{index-xB5O0hPw.css → index-CQN3M56N.css} +1 -1
  73. package/dist/studio/assets/{index-C33EDBL2.js → index-DuCZ3pQw.js} +1 -1
  74. package/dist/studio/{chunk-MTAVNAGW.js → chunk-46XP7J3B.js} +2 -2
  75. package/dist/studio/{chunk-S65AQH6M.js → chunk-DI4LCJHL.js} +3 -2
  76. package/dist/studio/chunk-DI4LCJHL.js.map +1 -0
  77. package/dist/studio/{chunk-7X4XRP3L.js → chunk-HIGHVWYD.js} +2 -2
  78. package/dist/studio/{domEditingLayers-NU6Z5QWA.js → domEditingLayers-AQBDFNUC.js} +3 -3
  79. package/dist/studio/index.d.ts +13 -3
  80. package/dist/studio/index.html +2 -2
  81. package/dist/studio/index.js +932 -850
  82. package/dist/studio/index.js.map +1 -1
  83. package/dist/studio/player.js +2 -2
  84. package/dist/studio/styles.css +1 -1
  85. package/dist/{studio-api-VNIEVFVL.js → studio-api-RMDM77U2.js} +1 -1
  86. package/dist/{studioServer-TX22I3X6.js → studioServer-DBBVNNRM.js} +5 -5
  87. package/dist/{telemetry-ICRURYFF.js → telemetry-36QQ3MV6.js} +3 -3
  88. package/dist/{timeline-4BYN4LEL.js → timeline-JFW5OBO4.js} +6 -6
  89. package/dist/{tokens-YKDAFFM6.js → tokens-A3UY3JEB.js} +2 -2
  90. package/dist/{transcribe-QRDNNU7W.js → transcribe-C3KOJRCZ.js} +3 -3
  91. package/dist/{updateCheck-BQ3MSJWJ.js → updateCheck-CM5G6C4C.js} +2 -2
  92. package/dist/{upgrade-3AGGX5TW.js → upgrade-BHLYQC6T.js} +2 -2
  93. package/dist/{validate-LHZX5HXO.js → validate-SKGTQ6MA.js} +6 -6
  94. package/package.json +1 -1
  95. package/dist/studio/chunk-S65AQH6M.js.map +0 -1
  96. /package/dist/studio/{chunk-MTAVNAGW.js.map → chunk-46XP7J3B.js.map} +0 -0
  97. /package/dist/studio/{chunk-7X4XRP3L.js.map → chunk-HIGHVWYD.js.map} +0 -0
  98. /package/dist/studio/{domEditingLayers-NU6Z5QWA.js.map → domEditingLayers-AQBDFNUC.js.map} +0 -0
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  serveStaticProjectHtml
9
- } from "./chunk-VBTX4DPW.js";
9
+ } from "./chunk-ELDDZYIJ.js";
10
10
  import "./chunk-XUHOIDKG.js";
11
- import "./chunk-MCABWC2G.js";
11
+ import "./chunk-E5HKS3CE.js";
12
12
  import "./chunk-X7MTZ4T2.js";
13
- import "./chunk-XL2CUGEG.js";
13
+ import "./chunk-7QGIB2E6.js";
14
14
  import "./chunk-M4KS6MJN.js";
15
15
  import "./chunk-4Z5O7BTD.js";
16
16
  import "./chunk-O5TBFZ7X.js";
@@ -1,4 +1,4 @@
1
- var xe=Object.defineProperty;var ke=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var h=(r,i,e)=>ke(r,typeof i!="symbol"?i+"":i,e);import{r as fe,i as Ie,a as w,b as _e,p as Oe,c as Ne,d as Fe,s as Ve,e as ge,F as ye}from"./index-BBNVnnyH.js";function He(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function z(r){return typeof r=="object"&&r!==null}function Ue(r){return z(r)&&typeof r.getDuration=="function"}function We(r){return z(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function ze(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const U=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:ze("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 $e(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}class je{constructor(i,e){h(this,"_interval",null);h(this,"_runtimeInjected",!1);this._iframe=i,this._callbacks=e}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{var e;i++;try{const t=this._iframe.contentWindow;if(!t)return;const s=!!(t.__hf||t.__player),n=!!(t.__timelines&&Object.keys(t.__timelines).length>0),o=!!((e=this._iframe.contentDocument)!=null&&e.querySelector("[data-composition-src]"));if(He({hasRuntime:s,hasTimelines:n,hasNestedCompositions:o,runtimeInjected:this._runtimeInjected,attempts:i})){this._injectRuntime();return}if(this._runtimeInjected&&!s)return;const a=this._resolvePlaybackDurationAdapter(t);if(a&&a.getDuration()>0){this.stop();const c=$e(this._iframe.contentDocument);this._callbacks.onReady({duration:a.getDuration(),adapter:a,compositionSize:c});return}}catch{}i>=40&&(this.stop(),this._callbacks.onError("Composition timeline not found after 8s"))},200)}stop(){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 Reflect.get(i,"__hf")!==void 0||z(Reflect.get(i,"__player"))}_injectRuntime(){var i,e;this._runtimeInjected=!0;try{const t=this._iframe.contentDocument;if(!t)return;const s=t.createElement("script");s.src=U,(t.head||t.documentElement).appendChild(s),(e=(i=this._callbacks).onRuntimeInjected)==null||e.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!z(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 We(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(Ue(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Be=`
1
+ var xe=Object.defineProperty;var ke=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var h=(r,i,e)=>ke(r,typeof i!="symbol"?i+"":i,e);import{r as fe,i as Ie,a as w,b as _e,p as Oe,c as Ne,d as Fe,s as Ve,e as ge,F as ye}from"./index-BPJRf2X9.js";function He(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function z(r){return typeof r=="object"&&r!==null}function Ue(r){return z(r)&&typeof r.getDuration=="function"}function We(r){return z(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function ze(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const U=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:ze("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 $e(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}class je{constructor(i,e){h(this,"_interval",null);h(this,"_runtimeInjected",!1);this._iframe=i,this._callbacks=e}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{var e;i++;try{const t=this._iframe.contentWindow;if(!t)return;const s=!!(t.__hf||t.__player),n=!!(t.__timelines&&Object.keys(t.__timelines).length>0),o=!!((e=this._iframe.contentDocument)!=null&&e.querySelector("[data-composition-src]"));if(He({hasRuntime:s,hasTimelines:n,hasNestedCompositions:o,runtimeInjected:this._runtimeInjected,attempts:i})){this._injectRuntime();return}if(this._runtimeInjected&&!s)return;const a=this._resolvePlaybackDurationAdapter(t);if(a&&a.getDuration()>0){this.stop();const c=$e(this._iframe.contentDocument);this._callbacks.onReady({duration:a.getDuration(),adapter:a,compositionSize:c});return}}catch{}i>=40&&(this.stop(),this._callbacks.onError("Composition timeline not found after 8s"))},200)}stop(){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 Reflect.get(i,"__hf")!==void 0||z(Reflect.get(i,"__player"))}_injectRuntime(){var i,e;this._runtimeInjected=!0;try{const t=this._iframe.contentDocument;if(!t)return;const s=t.createElement("script");s.src=U,(t.head||t.documentElement).appendChild(s),(e=(i=this._callbacks).onRuntimeInjected)==null||e.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!z(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 We(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(Ue(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Be=`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;