1import{J as A,W as u,a1 as h,r as i,a6 as C,$ as V,z as k,y as x,ab as l}from"./index-dt5w-xvv.js";function E(...t){const s=!Array.isArray(t[0]),e=s?0:-1,n=t[0+e],o=t[1+e],r=t[2+e],c=t[3+e],a=A(o,r,c);return s?a(n):a}function b(t){const s=u(()=>h(t)),{isStatic:e}=i.useContext(C);if(e){const[,n]=i.useState(t);i.useEffect(()=>s.on("change",n),[])}return s}function d(t,s){const e=b(s()),n=()=>e.set(s());return n(),V(()=>{const o=()=>x.preRender(n,!1,!0),r=t.map(c=>c.on("change",o));return()=>{r.forEach(c=>c()),k(n)}}),e}function L(t){l.current=[],t();const s=d(l.current,t);return l.current=void 0,s}function p(t,s,e,n){if(typeof t=="function")return L(t);if(e!==void 0&&!Array.isArray(e)&&typeof s!="function")return I(t,s,e,n);const c=typeof s=="function"?s:E(s,e,n),a=Array.isArray(t)?y(t,c):y([t],([m])=>c(m)),f=Array.isArray(t)?void 0:t.accelerate;return f&&!f.isTransformed&&typeof s!="function"&&Array.isArray(e)&&n?.clamp!==!1&&(a.accelerate={...f,times:s,keyframes:e,isTransformed:!0}),a}function y(t,s){const e=u(()=>[]);return d(t,()=>{e.length=0;const n=t.length;for(let o=0;o<n;o++)e[o]=t[o].get();return s(e)})}function I(t,s,e,n){const o=u(()=>Object.keys(e)),r=u(()=>({}));for(const c of o)r[c]=p(t,s,e[c],n);return r}export{b as a,p as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.