hyperframes 0.8.224 → 0.8.225

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 (168) hide show
  1. package/dist/{add-JEPKJ2F4.js → add-ZGNY2AXJ.js} +5 -5
  2. package/dist/{agentPromptGenerator-ZBNWLX5D.js → agentPromptGenerator-GG4FFZH7.js} +2 -2
  3. package/dist/{animatedGifPrep-43LLMTN5.js → animatedGifPrep-NVDUG2CD.js} +2 -2
  4. package/dist/api.js +15 -15
  5. package/dist/{asset-M6SH6PUW.js → asset-UC3OQBB3.js} +2 -2
  6. package/dist/{assetCataloger-BLQ7UVJ5.js → assetCataloger-WQTNJMZU.js} +3 -3
  7. package/dist/{audio-J3QREJK4.js → audio-T6RWZHAA.js} +7 -7
  8. package/dist/{auth-7TRCBCKA.js → auth-FSXEGF3B.js} +2 -2
  9. package/dist/{autoUpdate-WTFSYLTK.js → autoUpdate-LOBHDWAA.js} +2 -2
  10. package/dist/{backgroundChecks-YZW7AMMJ.js → backgroundChecks-RBFWIWBP.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{beats-JWUADKHV.js → beats-WFPPVM6N.js} +4 -4
  13. package/dist/{benchmark-QOQZ7UGD.js → benchmark-7MYD5S26.js} +6 -6
  14. package/dist/{billing-3GVNEE56.js → billing-2BJTLFDX.js} +1 -1
  15. package/dist/{browser-4HNCSPUR.js → browser-6C4IDYQE.js} +3 -3
  16. package/dist/{bundleWithLocalizedFonts-GTKHB45M.js → bundleWithLocalizedFonts-ARTT664T.js} +1 -1
  17. package/dist/{capture-XSRWYHAM.js → capture-7TFC65RN.js} +3 -3
  18. package/dist/{capture-5OYZNIOR.js → capture-TWZ5DQHP.js} +7 -7
  19. package/dist/{captureCompositionFrame-4F7PPQKB.js → captureCompositionFrame-EMP6R3F6.js} +5 -5
  20. package/dist/{catalog-4FVQSID5.js → catalog-W4RJO4FE.js} +5 -5
  21. package/dist/{catch-up-KQVK2QZC.js → catch-up-OOCJH3O6.js} +4 -4
  22. package/dist/{check-3YHLB6FM.js → check-BPPHG2CF.js} +20 -20
  23. package/dist/{checkAudio-7ZSZVBSJ.js → checkAudio-QEGCKX2V.js} +4 -4
  24. package/dist/{checkBrowser-VX5CHNQS.js → checkBrowser-4JDYYAVA.js} +14 -14
  25. package/dist/{chunk-5KAGTSLY.js → chunk-2EH3WQCS.js} +2 -2
  26. package/dist/{chunk-BTK3T4HJ.js → chunk-2YZD6CAF.js} +1 -1
  27. package/dist/{chunk-ZLZXGJ63.js → chunk-3E2BO3L3.js} +1 -1
  28. package/dist/{chunk-RU7KMDFL.js → chunk-3HRQI6LJ.js} +1 -1
  29. package/dist/{chunk-QK6ZNEBW.js → chunk-3XQQLL3G.js} +1 -1
  30. package/dist/{chunk-2QQO3J3B.js → chunk-4A643C3B.js} +1 -1
  31. package/dist/{chunk-JMP52GTN.js → chunk-4K6AS5TX.js} +5 -5
  32. package/dist/{chunk-W7MJPKBJ.js → chunk-4VTXUGDR.js} +1 -1
  33. package/dist/{chunk-J7FVF73D.js → chunk-4Z2SU2VC.js} +17 -17
  34. package/dist/{chunk-NFUR6NNT.js → chunk-5HGS5MGD.js} +42 -15
  35. package/dist/{chunk-E2ZY4GWH.js → chunk-5I6XEO4W.js} +1 -1
  36. package/dist/{chunk-ODJ2WBZX.js → chunk-5KADQQ6S.js} +1 -1
  37. package/dist/{chunk-6QIYQ43G.js → chunk-6IV2N527.js} +2 -2
  38. package/dist/{chunk-HDPW7THH.js → chunk-ACUVSKUI.js} +8 -8
  39. package/dist/{chunk-QOI46C6F.js → chunk-ADOBHVHW.js} +1 -1
  40. package/dist/{chunk-VPMHRLJH.js → chunk-AF3EN5XS.js} +1 -1
  41. package/dist/{chunk-F7T57BZZ.js → chunk-BKHBSFEO.js} +2 -2
  42. package/dist/{chunk-2KDHJCH2.js → chunk-BTDKWWND.js} +1 -1
  43. package/dist/{chunk-VCJE7IMY.js → chunk-CXVFPIOM.js} +1 -1
  44. package/dist/{chunk-MA5AQK7T.js → chunk-EEBIHQF2.js} +2 -2
  45. package/dist/{chunk-L4ULTWCD.js → chunk-EECV7SDN.js} +1 -1
  46. package/dist/{chunk-2M6B2JKZ.js → chunk-EIIMWDZW.js} +4 -4
  47. package/dist/{chunk-HANNA5JJ.js → chunk-FPWCICAI.js} +1 -1
  48. package/dist/{chunk-3ZDOAVZM.js → chunk-G6Z47UQP.js} +125 -13
  49. package/dist/{chunk-52B3AOIV.js → chunk-GI42ZB52.js} +1 -1
  50. package/dist/{chunk-MOXNAVCW.js → chunk-GZPGTGRV.js} +1 -1
  51. package/dist/{chunk-D4M37ATV.js → chunk-HMS6UHUW.js} +1 -1
  52. package/dist/{chunk-JKLWWGE6.js → chunk-HW6HTTBZ.js} +1 -1
  53. package/dist/{chunk-GQ2QER6M.js → chunk-IB7I5IEC.js} +1 -1
  54. package/dist/{chunk-53JEHQBW.js → chunk-IJWDVOIO.js} +2 -2
  55. package/dist/{chunk-JUF43Q7Q.js → chunk-K73PYNON.js} +1 -1
  56. package/dist/{chunk-3NHCTTLP.js → chunk-KDF67KEB.js} +9 -9
  57. package/dist/{chunk-LRS4FV5W.js → chunk-KVBOJJ5R.js} +1 -1
  58. package/dist/{chunk-GLTSINRP.js → chunk-LWTT7I7X.js} +1 -1
  59. package/dist/{chunk-JK2KNL6F.js → chunk-LZB5AHFD.js} +1 -1
  60. package/dist/{chunk-53TKUWDX.js → chunk-M3WOI7BU.js} +1 -1
  61. package/dist/{chunk-THL3N377.js → chunk-M4NN4AHH.js} +8 -8
  62. package/dist/{chunk-5N5FYE5K.js → chunk-NLELDFX7.js} +1 -1
  63. package/dist/{chunk-JIF347PW.js → chunk-O3MGHHJO.js} +3 -3
  64. package/dist/{chunk-NI35PAVN.js → chunk-PICDT6ZW.js} +1 -1
  65. package/dist/{chunk-IYYQRNIZ.js → chunk-R6JPOEDZ.js} +1 -1
  66. package/dist/{chunk-4ZAOAPWP.js → chunk-RDLJSUI4.js} +8 -8
  67. package/dist/{chunk-2WVQ3CCN.js → chunk-SIYDHVN2.js} +1 -1
  68. package/dist/{chunk-H6APAFKE.js → chunk-SVGHIMPQ.js} +2 -2
  69. package/dist/{chunk-O2VKGYSK.js → chunk-SXHSNLEC.js} +1 -1
  70. package/dist/{chunk-F3CTUCFD.js → chunk-T5KG6H6L.js} +2 -2
  71. package/dist/{chunk-K3QT232E.js → chunk-TRPNLI6V.js} +1 -1
  72. package/dist/{chunk-HIPW4JXL.js → chunk-UBH2R663.js} +2 -2
  73. package/dist/{chunk-POOLZTMZ.js → chunk-UBXKKXXR.js} +3 -3
  74. package/dist/{chunk-Y5HVDK7X.js → chunk-UQWOOANM.js} +2 -2
  75. package/dist/{chunk-BAXL3U3T.js → chunk-VHL26GNQ.js} +2 -2
  76. package/dist/{chunk-VXRBPWVW.js → chunk-W464PHF3.js} +7 -7
  77. package/dist/{chunk-F34GYYXO.js → chunk-WQCVZEXH.js} +1 -1
  78. package/dist/{chunk-PKMAWQUI.js → chunk-XM5KYLIE.js} +2 -2
  79. package/dist/{chunk-34GAW4GO.js → chunk-Y5OSQXGZ.js} +5 -5
  80. package/dist/{chunk-SGMCQAYU.js → chunk-Z57RQBIA.js} +2 -2
  81. package/dist/{clean-SXEI6FT4.js → clean-XWDDXLRP.js} +7 -7
  82. package/dist/cli.js +55 -55
  83. package/dist/{cloud-SKN6FWAZ.js → cloud-SETWVGKH.js} +4 -4
  84. package/dist/{compare-RTXF2NSK.js → compare-FWMFV7A7.js} +10 -10
  85. package/dist/{component-2NPF5PA6.js → component-HGEIXY3U.js} +3 -3
  86. package/dist/{compositions-AZRVHGBT.js → compositions-2TXJLBWE.js} +6 -6
  87. package/dist/{curve-QSFEGBUH.js → curve-SSFKIA2L.js} +6 -6
  88. package/dist/{cuts-6AWEJH2H.js → cuts-BWXHTOOP.js} +7 -7
  89. package/dist/{delete-NOHFVICL.js → delete-F5RDWZEJ.js} +2 -2
  90. package/dist/{deploy-UFRADJOA.js → deploy-OH4SMYTG.js} +1 -1
  91. package/dist/{describeProject-F43LI3YQ.js → describeProject-B7H4T5PW.js} +2 -2
  92. package/dist/{diff-3WS6NMSE.js → diff-6JFFTFKR.js} +16 -16
  93. package/dist/{doctor-F4VJYQXC.js → doctor-XQCZB5BY.js} +6 -6
  94. package/dist/{energy-BN3QD6Y7.js → energy-MEMYSTFT.js} +7 -7
  95. package/dist/{events-YJ3XSIPL.js → events-T7OLH6MW.js} +3 -3
  96. package/dist/{events-PZH4C7VA.js → events-U6PXJI34.js} +2 -2
  97. package/dist/{events-5W7ETFWR.js → events-ZU2ATKWK.js} +8 -8
  98. package/dist/{extract-S34DWGAD.js → extract-25TUTGCA.js} +7 -7
  99. package/dist/{face-3SCJADG4.js → face-KMLYOE5H.js} +7 -7
  100. package/dist/{feedback-3K6NSKIC.js → feedback-FE7GQTBH.js} +4 -4
  101. package/dist/{ffmpeg-2RBDDMHU.js → ffmpeg-CXYPYIZK.js} +2 -2
  102. package/dist/{figma-NWAJYMAI.js → figma-QMKU7M7T.js} +3 -3
  103. package/dist/fontLocalizeCli.js +5 -5
  104. package/dist/{frames-6UARLPLK.js → frames-2NPBO6LB.js} +8 -8
  105. package/dist/{generate-KBVWFVXN.js → generate-I6E3V7PU.js} +10 -10
  106. package/dist/{get-SEZZMLQ3.js → get-JJWBP5NB.js} +2 -2
  107. package/dist/{gpuPolicy-VIZAJ3GY.js → gpuPolicy-2OMDU74V.js} +2 -2
  108. package/dist/{grade-compare-PMAK4PJD.js → grade-compare-QCA3VIKQ.js} +11 -11
  109. package/dist/{heifImagePrep-6NYIR7WN.js → heifImagePrep-P53GG4GF.js} +3 -3
  110. package/dist/{help-4UPSHWI2.js → help-COSONWFD.js} +1 -1
  111. package/dist/{history-VNAZEQDE.js → history-CWKF5AXI.js} +6 -6
  112. package/dist/hyperframes-player.global.js +1 -1
  113. package/dist/{info-OREET5PM.js → info-SD74Y6V5.js} +5 -5
  114. package/dist/{init-K7AEJBAL.js → init-XAYQNTVF.js} +18 -18
  115. package/dist/{inspect-STME5DNY.js → inspect-Y5IIQBIW.js} +12 -12
  116. package/dist/{keyframes-JQWZ235Q.js → keyframes-MNPCJZYU.js} +6 -6
  117. package/dist/{lambda-RJNLW2EO.js → lambda-PMI6IDVN.js} +3 -3
  118. package/dist/{layout-MTZWBPNZ.js → layout-6IM6R6LX.js} +12 -12
  119. package/dist/{lint-AQWTSL75.js → lint-6VUHVHFF.js} +6 -6
  120. package/dist/{list-ZEBZ5DB5.js → list-XXTAS744.js} +2 -2
  121. package/dist/{localPage-CQ3H4N2N.js → localPage-2UHUS6LM.js} +2 -2
  122. package/dist/{login-VHCZHENV.js → login-KM3LPYQ7.js} +4 -4
  123. package/dist/{look-25TSRPSV.js → look-3CD3ZSXY.js} +7 -7
  124. package/dist/{manager-57SX7D5G.js → manager-C6GVT3EI.js} +3 -3
  125. package/dist/{measure-Y2R3G5OJ.js → measure-DWZX4YAK.js} +10 -10
  126. package/dist/{media-treatment-3G2IVS64.js → media-treatment-IIUPGQIX.js} +7 -7
  127. package/dist/{media-use-LUAOZJNV.js → media-use-HLHUEFDK.js} +1 -1
  128. package/dist/{models-NT56FKRG.js → models-IWHY5V6N.js} +6 -6
  129. package/dist/{motionShot-P4NTFKYS.js → motionShot-4NKHFUS7.js} +7 -7
  130. package/dist/{normalize-audio-2DUTZ6QK.js → normalize-audio-M2RS5Q23.js} +4 -4
  131. package/dist/{open-OATYOOR7.js → open-U7CCHUBO.js} +4 -4
  132. package/dist/{parakeetRunner-UASHW3A4.js → parakeetRunner-ZHG3S6GY.js} +7 -7
  133. package/dist/{pipeline-GGAYP5Q6.js → pipeline-66JR7EC7.js} +5 -5
  134. package/dist/{play-GHXBJS3T.js → play-5COR53D2.js} +4 -4
  135. package/dist/{preflight-6VOP3IOI.js → preflight-OKAO5NPW.js} +3 -3
  136. package/dist/{present-M7UYHVEZ.js → present-YKFQC22R.js} +4 -4
  137. package/dist/{preview-YWT5WA3W.js → preview-3YNKJZME.js} +8 -8
  138. package/dist/{probe-CQAGZJLP.js → probe-QMPDGKU5.js} +6 -6
  139. package/dist/{producer-OU2BCMLY.js → producer-WBVDP3IV.js} +1 -1
  140. package/dist/{remove-background-A5KJUH6W.js → remove-background-ELC7V7KT.js} +6 -6
  141. package/dist/{render-Z5IS4AUP.js → render-R7E7TTNE.js} +8 -8
  142. package/dist/{render-EMW4I6C6.js → render-WH7MPRZD.js} +19 -19
  143. package/dist/{sherpa-SAY3I7PK.js → sherpa-FP6HX5KK.js} +6 -6
  144. package/dist/{skills-YWQ5XKH6.js → skills-JLNDM2KP.js} +5 -5
  145. package/dist/{skillsUpdateCheck-ST5ZFEET.js → skillsUpdateCheck-WS5M25TN.js} +3 -3
  146. package/dist/{snapshot-57YYYE5J.js → snapshot-VPN6GA7U.js} +16 -16
  147. package/dist/{src-LNSJHD25.js → src-AP7B27MZ.js} +1 -1
  148. package/dist/{src-7MEBCSTP.js → src-RGQFYVHO.js} +4 -4
  149. package/dist/{staticProjectServer-TTJSAB2Q.js → staticProjectServer-YA6XOSFY.js} +2 -2
  150. package/dist/{status-FGXBUX2T.js → status-Y5ZBFJ53.js} +1 -1
  151. package/dist/studio/assets/{hyperframes-player-Bzcd9O2g.js → hyperframes-player-Do2ZF6Lp.js} +1 -1
  152. package/dist/studio/assets/{index-LW6kxYVF.js → index-CK4_IJ8G.js} +1 -1
  153. package/dist/studio/assets/{index-CZI-XmnO.js → index-Dxb7fTWf.js} +4 -4
  154. package/dist/studio/index.html +1 -1
  155. package/dist/{studioServer-2AIRUNBA.js → studioServer-EVMF3HHL.js} +23 -23
  156. package/dist/{sync-52GUXEYZ.js → sync-ASUBSVGQ.js} +7 -7
  157. package/dist/{telemetry-RVY6RSCD.js → telemetry-YON45KT4.js} +3 -3
  158. package/dist/{timeline-MMZF4AX3.js → timeline-OQWDGV7L.js} +7 -7
  159. package/dist/{tokens-WGWCYFTY.js → tokens-NMPY673W.js} +2 -2
  160. package/dist/{transcribe-6BF5FFPV.js → transcribe-C6FKVSRR.js} +14 -14
  161. package/dist/{transcribe-YYDHXRQW.js → transcribe-HSYXT5TZ.js} +5 -5
  162. package/dist/{updateCheck-AAR5LLUF.js → updateCheck-B7PAAPCJ.js} +2 -2
  163. package/dist/{upgrade-Y7CIRL4B.js → upgrade-BOECDD5S.js} +2 -2
  164. package/dist/{urlDownloader-KZOD7EWX.js → urlDownloader-KC2SS457.js} +1 -1
  165. package/dist/{validate-K3PHAA2E.js → validate-LEEBUIIH.js} +11 -11
  166. package/dist/{video-Z6EBVCAT.js → video-JJAEISDH.js} +3 -3
  167. package/dist/warmCheck.js +20 -20
  168. package/package.json +1 -1
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  pageUrl,
18
18
  readPlan
19
- } from "./chunk-JUF43Q7Q.js";
19
+ } from "./chunk-K73PYNON.js";
20
20
  import "./chunk-BEMGUGGJ.js";
21
21
  import {
22
22
  AuthClient,
@@ -1,4 +1,4 @@
1
- var We=Object.defineProperty;var ze=(r,t,e)=>t in r?We(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var u=(r,t,e)=>ze(r,typeof t!="symbol"?t+"":t,e);import{S as $e,r as je,a as be,b as Ae,i as Be,c as A,d as we,p as qe,e as Ge,f as Ye,g as Xe,s as Ke,h as Se,F as Ee}from"./index-CZI-XmnO.js";function Ze(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function Je(r){return F(r)&&typeof r.getDuration=="function"}function Qe(r){return F(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function et(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 B=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:et("0.0.0-dev");function Y(r){if(r===null)return null;const t=Number.parseInt(r,10);return Number.isFinite(t)&&t>0?t:null}function tt(r){const t=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!t)return null;const e=Y(t.getAttribute("data-width")),i=Y(t.getAttribute("data-height"));return e!==null&&i!==null?{width:e,height:i}:null}function it(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class st{constructor(t,e){u(this,"_interval",null);u(this,"_runtimeInjected",!1);u(this,"_runtimeScript",null);u(this,"_failure",null);this._iframe=t,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let t=0;this._interval=setInterval(()=>{t++;let e=null;try{e=this._poll(t)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(e={kind:"error",message:i instanceof Error?i.message:String(i)})}e??(e=this._deadlineOutcome(t)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(t){var e,i;return t<40||(i=(e=this._callbacks).hostOwnsDeadline)!=null&&i.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(t){const e=this._iframe.contentWindow;if(!e)return null;const i=it(Reflect.get(e,$e));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(Ze({hasRuntime:o,hasTimelines:F(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:t}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(t,e){var n;const i=this._resolvePlaybackDurationAdapter(t)??{kind:"document",getDuration:()=>0};let s=i.getDuration();if(!Number.isFinite(s)||s<=0){if(i.kind==="direct-timeline")return null;s=e?((n=je(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:tt(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const t=this._iframe.contentWindow;return t?this._resolveDirectTimelineAdapterFromWindow(t):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(t){return this._resolveDirectTimelineAdapterFromWindow(t)}hasRuntimeBridge(t){return F(Reflect.get(t,"__player"))}_injectRuntime(){var t,e,i,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(t=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(t))??B,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(i=this._callbacks).onRuntimeInjected)==null||s.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(t){var a,c;if(this.hasRuntimeBridge(t))return null;const e=Reflect.get(t,"__timelines");if(!F(e))return null;const i=Object.keys(e);if(i.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:i[i.length-1],o=e[n];return Qe(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(Je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const rt=`
1
+ var We=Object.defineProperty;var ze=(r,t,e)=>t in r?We(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var u=(r,t,e)=>ze(r,typeof t!="symbol"?t+"":t,e);import{S as $e,r as je,a as be,b as Ae,i as Be,c as A,d as we,p as qe,e as Ge,f as Ye,g as Xe,s as Ke,h as Se,F as Ee}from"./index-Dxb7fTWf.js";function Ze(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function Je(r){return F(r)&&typeof r.getDuration=="function"}function Qe(r){return F(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function et(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 B=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:et("0.0.0-dev");function Y(r){if(r===null)return null;const t=Number.parseInt(r,10);return Number.isFinite(t)&&t>0?t:null}function tt(r){const t=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!t)return null;const e=Y(t.getAttribute("data-width")),i=Y(t.getAttribute("data-height"));return e!==null&&i!==null?{width:e,height:i}:null}function it(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class st{constructor(t,e){u(this,"_interval",null);u(this,"_runtimeInjected",!1);u(this,"_runtimeScript",null);u(this,"_failure",null);this._iframe=t,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let t=0;this._interval=setInterval(()=>{t++;let e=null;try{e=this._poll(t)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(e={kind:"error",message:i instanceof Error?i.message:String(i)})}e??(e=this._deadlineOutcome(t)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(t){var e,i;return t<40||(i=(e=this._callbacks).hostOwnsDeadline)!=null&&i.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(t){const e=this._iframe.contentWindow;if(!e)return null;const i=it(Reflect.get(e,$e));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(Ze({hasRuntime:o,hasTimelines:F(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:t}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(t,e){var n;const i=this._resolvePlaybackDurationAdapter(t)??{kind:"document",getDuration:()=>0};let s=i.getDuration();if(!Number.isFinite(s)||s<=0){if(i.kind==="direct-timeline")return null;s=e?((n=je(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:tt(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const t=this._iframe.contentWindow;return t?this._resolveDirectTimelineAdapterFromWindow(t):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(t){return this._resolveDirectTimelineAdapterFromWindow(t)}hasRuntimeBridge(t){return F(Reflect.get(t,"__player"))}_injectRuntime(){var t,e,i,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(t=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(t))??B,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(i=this._callbacks).onRuntimeInjected)==null||s.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(t){var a,c;if(this.hasRuntimeBridge(t))return null;const e=Reflect.get(t,"__timelines");if(!F(e))return null;const i=Object.keys(e);if(i.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:i[i.length-1],o=e[n];return Qe(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(Je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const rt=`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{n as Qi}from"./index-CZI-XmnO.js";/*!
1
+ import{n as Qi}from"./index-Dxb7fTWf.js";/*!
2
2
  * Copyright (c) 2026-present, Vanilagy and contributors
3
3
  *
4
4
  * This Source Code Form is subject to the terms of the Mozilla Public