@hyperframes/producer 0.9.101 → 0.9.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.
@@ -498,7 +498,7 @@ function servedPath(urlPath) {
498
498
  }
499
499
 
500
500
  // src/generated/hf-early-stub-inline.ts
501
- var HF_EARLY_STUB_IIFE = '"use strict";(()=>{var x=100,b=[],s=[],c=!1,w=!1,h=new Set;function _(n){let o=window.__HF_VIRTUAL_TIME__?.originalRequestAnimationFrame;return typeof o=="function"?o(n):requestAnimationFrame(n)}function O(n){let o=window.__HF_VIRTUAL_TIME__?.originalSetTimeout;if(typeof o=="function"){o(n,0);return}setTimeout(n,0)}function v(n){return n!==null&&typeof n=="object"&&"__hfIsProxy"in n?n.__hfReal:n}function m(n,o){n!=="add"&&A(o)}function p(n){if(n===null||typeof n!="object"||Array.isArray(n))return!1;let o=n;return"rotationX"in o||"rotationY"in o||"transformPerspective"in o}var d=new Set;function A(n){let o=n[0];if(o==null)return;let e=window;d.has(o)||(d.add(o),e.__hfAllTweenTargets=Array.from(d)),(p(n[1])||p(n[2]))&&(h.add(o),e.__hf3dTweenTargets=Array.from(h))}function y(n){let o=n.proxy.__hfReal,e=o[n.method];if(typeof e=="function"){let i=n.method==="add"?n.args.map(v):n.args;e.call(o,...i)}}function l(n,o,e){m(o,e);let i={proxy:n,method:o,args:e};return n.__hfQueue.push(i),s.push(i),R(),n}function g(n){let o=n.proxy.__hfQueue.indexOf(n);o>=0&&n.proxy.__hfQueue.splice(o,1)}function t(){for(;s.length>0;){let n=s.shift();n&&(g(n),y(n))}S()}function k(){w=!1,window.__hfTimelinesBuilding=!1;try{window.dispatchEvent(new CustomEvent("hf-timelines-built"))}catch{}}function S(){w||(w=!0,O(()=>{s.length===0?k():w=!1}))}function P(){c=!1;let n=s.splice(0,x);for(let o of n)g(o),y(o);s.length>0?(c=!0,_(P)):k()}function R(){c||(c=!0,window.__hfTimelinesBuilding=!0,_(P))}var I=new Set(["to","from","fromTo","set","add"]);function G(n,o){let e=o;for(;e!==null&&e!==Object.prototype;){for(let i of Object.getOwnPropertyNames(e)){if(i==="constructor"||i==="then"||i in n||I.has(i)||i.charAt(0)==="_")continue;let a=Object.getOwnPropertyDescriptor(e,i);if(!a||typeof a.value!="function")continue;let u=a.value;n[i]=function(...r){t();let f=u.call(o,...r);return f===o?n:f}}e=Object.getPrototypeOf(e)}}function B(n){let o={__hfReal:n,__hfQueue:[],__hfIsProxy:!0,to(...e){return l(o,"to",e)},from(...e){return l(o,"from",e)},fromTo(...e){return l(o,"fromTo",e)},set(...e){return l(o,"set",e)},add(...e){return l(o,"add",e)},pause(...e){return t(),n.pause(...e),o},play(...e){return t(),n.play(...e),o},seek(...e){return t(),n.seek(...e),o},totalTime(...e){return t(),e.length>0?(n.totalTime(...e),o):n.totalTime()},time(...e){return t(),e.length>0?(n.time(...e),o):n.time()},duration(...e){return t(),e.length>0?(n.duration(...e),o):n.duration()},getChildren(...e){t();let i=n.getChildren(...e);return Array.isArray(i)?i:[]},paused(...e){return t(),e.length>0?(n.paused(...e),o):n.paused()},timeScale(...e){return t(),e.length>0?(n.timeScale(...e),o):n.timeScale()},kill(){t(),n.kill()}};return G(o,n),b.push(o),o}if(typeof window<"u"){window.__hf||(window.__hf={}),window.__hfTimelinesBuilding=!1,window.__hfFlushSync=()=>{t(),s.length===0&&window.__hfTimelinesBuilding&&k()};let n=null,o=new WeakSet;try{Object.defineProperty(window,"gsap",{configurable:!0,enumerable:!0,get(){return n},set(e){if(n=e,!e||typeof e.timeline!="function"||o.has(e))return;o.add(e);let i=e.timeline.bind(e);e.timeline=u=>B(i(u));for(let u of["to","from","set"]){let r=e[u];if(typeof r!="function")continue;let f=r.bind(e);e[u]=(...T)=>(m(u,T),f(...T))}let a=e.fromTo;if(typeof a=="function"){let u=a.bind(e);e.fromTo=(...r)=>(m("fromTo",r),u(...r))}}})}catch{}}})();\n';
501
+ var HF_EARLY_STUB_IIFE = '"use strict";(()=>{var b=100,A=[],s=[],c=!1,l=!1,k=new Set;function h(n){let e=window.__HF_VIRTUAL_TIME__?.originalRequestAnimationFrame;return typeof e=="function"?e(n):requestAnimationFrame(n)}function P(n){let e=window.__HF_VIRTUAL_TIME__?.originalSetTimeout;if(typeof e=="function"){e(n,0);return}setTimeout(n,0)}function v(n){return n!==null&&typeof n=="object"&&"__hfIsProxy"in n?n.__hfReal:n}function d(n,e){n!=="add"&&x(e)}function T(n){if(n===null||typeof n!="object"||Array.isArray(n))return!1;let e=n;return"rotationX"in e||"rotationY"in e||"transformPerspective"in e}var w=new Set;function x(n){let e=n[0];if(e==null)return;let o=window;w.has(e)||(w.add(e),o.__hfAllTweenTargets=Array.from(w)),(T(n[1])||T(n[2]))&&(k.add(e),o.__hf3dTweenTargets=Array.from(k))}function _(n){let e=n.proxy.__hfReal,o=e[n.method];if(typeof o=="function"){let i=n.method==="add"?n.args.map(v):n.args;o.call(e,...i)}}function S(n,e,o){d(e,o);let i={proxy:n,method:e,args:o};return n.__hfQueue.push(i),s.push(i),E(),n}function y(n){let e=n.proxy.__hfQueue.indexOf(n);e>=0&&n.proxy.__hfQueue.splice(e,1)}function a(){for(;s.length>0;){let n=s.shift();n&&(y(n),_(n))}R()}function m(){l=!1,window.__hfTimelinesBuilding=!1;try{window.dispatchEvent(new CustomEvent("hf-timelines-built"))}catch{}}function R(){l||(l=!0,P(()=>{s.length===0?m():l=!1}))}function g(){c=!1;let n=s.splice(0,b);for(let e of n)y(e),_(e);s.length>0?(c=!0,h(g)):m()}function E(){c||(c=!0,window.__hfTimelinesBuilding=!0,h(g))}var O=["to","from","fromTo","set","add"],I=new Set(O),C=["pause","play","seek"],G=["totalTime","time","duration","paused","timeScale"];function B(n,e){let o=e;for(;o!==null&&o!==Object.prototype;){for(let i of Object.getOwnPropertyNames(o)){if(i==="constructor"||i==="then"||i in n||I.has(i)||i.charAt(0)==="_")continue;let u=Object.getOwnPropertyDescriptor(o,i);if(!u||typeof u.value!="function")continue;let r=u.value;n[i]=function(...t){a();let f=r.call(e,...t);return f===e?n:f}}o=Object.getPrototypeOf(o)}}function M(n){let e={__hfReal:n,__hfQueue:[],__hfIsProxy:!0};for(let o of O)typeof n[o]=="function"&&(e[o]=(...i)=>S(e,o,i));for(let o of C)typeof n[o]=="function"&&(e[o]=(...i)=>(a(),n[o].apply(n,i),e));for(let o of G)typeof n[o]=="function"&&(e[o]=(...i)=>{a();let u=n[o];return i.length>0?(u.apply(n,i),e):u.call(n)});return typeof n.getChildren=="function"&&(e.getChildren=(...o)=>{a();let i=n.getChildren(...o);return Array.isArray(i)?i:[]}),typeof n.kill=="function"&&(e.kill=()=>{a(),n.kill()}),B(e,n),A.push(e),e}if(typeof window<"u"){window.__hf||(window.__hf={}),window.__hfTimelinesBuilding=!1,window.__hfFlushSync=()=>{a(),s.length===0&&window.__hfTimelinesBuilding&&m()};let n=null,e=new WeakSet;try{Object.defineProperty(window,"gsap",{configurable:!0,enumerable:!0,get(){return n},set(o){if(n=o,!o||typeof o.timeline!="function"||e.has(o))return;e.add(o);let i=o.timeline.bind(o);o.timeline=r=>{let t=i(r);return t&&(typeof t=="object"||typeof t=="function")?M(t):t};for(let r of["to","from","set"]){let t=o[r];if(typeof t!="function")continue;let f=t.bind(o);o[r]=(...p)=>(d(r,p),f(...p))}let u=o.fromTo;if(typeof u=="function"){let r=u.bind(o);o.fromTo=(...t)=>(d("fromTo",t),r(...t))}}})}catch{}}})();\n';
502
502
  function getHfEarlyStub() {
503
503
  return HF_EARLY_STUB_IIFE;
504
504
  }
@@ -1596,6 +1596,7 @@ function encoderFailureError(prefix, result) {
1596
1596
  }
1597
1597
 
1598
1598
  // src/services/render/artifactTransaction.ts
1599
+ import { toWin32LongPath as toWin32LongPath2 } from "@hyperframes/core/atomic-file";
1599
1600
  import { HLS_MASTER_PLAYLIST, HLS_VIDEO_PLAYLIST, renameWithRetry } from "@hyperframes/engine";
1600
1601
 
1601
1602
  // src/utils/ffprobe.ts
@@ -1607,7 +1608,7 @@ import {
1607
1608
 
1608
1609
  // src/services/render/renderDirOwner.ts
1609
1610
  import { RENDER_TEMP_DIR } from "@hyperframes/core/project-folders";
1610
- import { createStagingDir } from "@hyperframes/core/atomic-file";
1611
+ import { createStagingDir, toWin32LongPath } from "@hyperframes/core/atomic-file";
1611
1612
 
1612
1613
  // src/services/render/capturePlan.ts
1613
1614
  function assertWorkerCount(workerCount) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.1.0",
3
3
  "buildId": "dev",
4
- "sha256": "ba89b0ec91cb37669dd57c124c2b9184ada67e695f7c0e8d9dcb1af9880cceb2",
4
+ "sha256": "6eec9f9bfd167db402bd46587d42f6a367082aa2db1227ad28a2b716470871f1",
5
5
  "artifacts": {
6
6
  "iife": "hyperframe.runtime.iife.js",
7
7
  "esm": "hyperframe.runtime.mjs"